[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110636029A - Communication method and communication device - Google Patents

Communication method and communication device Download PDF

Info

Publication number
CN110636029A
CN110636029A CN201810644721.4A CN201810644721A CN110636029A CN 110636029 A CN110636029 A CN 110636029A CN 201810644721 A CN201810644721 A CN 201810644721A CN 110636029 A CN110636029 A CN 110636029A
Authority
CN
China
Prior art keywords
communication
address
terminal
video
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810644721.4A
Other languages
Chinese (zh)
Other versions
CN110636029B (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 CN201810644721.4A priority Critical patent/CN110636029B/en
Publication of CN110636029A publication Critical patent/CN110636029A/en
Application granted granted Critical
Publication of CN110636029B publication Critical patent/CN110636029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2521Translation architectures other than single NAT servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1106Call signalling protocols; H.323 and related
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a communication method and a communication device, which are applied to a video network, wherein the video network comprises the following steps: the method comprises the following steps that the video network terminal, the video network server, an H323 protocol conversion server, an application layer gateway address converter and an external network H323 protocol terminal are connected, and the method comprises the following steps: the H323 protocol conversion server receives a communication request of the video network terminal; the H323 protocol conversion server forwards the communication request to the call target IP address and receives a communication response message; the application layer gateway address converter judges whether the communication terminal corresponding to the communication response message is an external network H323 protocol terminal; if not, establishing communication connection through the video networking server; if so, the application layer gateway address converter replaces the return destination IP address with the IP address of the video network terminal so as to establish communication connection through the video network server. The problem that the video network terminal and the internet terminal cannot communicate in the prior art is solved.

Description

Communication method and communication device
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a communication method and a communication apparatus.
Background
With the popularization and development of the video networking service in the whole country, the video networking high-definition video networking interaction technology plays a significant role in other industries already in government departments. The video networking adopts the most advanced worldwide Vision Vera real-time high-definition video exchange technology, realizes the real-time transmission of the whole-network high-definition video which cannot be realized by the current Internet, integrates dozens of services such as high-definition video conferences, video monitoring, remote training, intelligent monitoring analysis, emergency command, video telephone, live broadcast, television mails, information distribution and the like into a system platform, and realizes the real-time interconnection and intercommunication of high-definition quality video communication through various terminal devices.
However, although the video phone using the video network terminal to perform peer-to-peer communication with the internet H323 video conference terminal device is already implemented, the application scenario of the user of the video network terminal is not satisfied within an organization or a local area network, and they may require that the video network conference terminal in the local area network private network can call the H323 internet device in the public network or the external network, and it is able to satisfy the requirement that NAT mapping is performed by a router, so that the communication between the video network terminal and the internet terminal cannot be implemented.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a communication method and a corresponding communication apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a communication method, which is applied to a video network, where the video network includes: a video network terminal, a video network server, an H323 protocol conversion server, an application layer gateway address converter, an external network H323 protocol terminal, the application layer gateway address converter is arranged in the H323 protocol conversion server, the method includes:
the H323 protocol conversion server receives a communication request initiated by the video network terminal through the video network server; the communication request comprises an IP address of a video networking terminal and a calling target IP address;
the H323 protocol conversion server forwards the communication request to the call target IP address and receives a communication response message returned by the call target IP address;
the H323 protocol conversion server judges whether the communication terminal corresponding to the communication response message is an external network H323 protocol terminal or not through the application layer gateway address converter, wherein the communication response message comprises a return destination IP address;
if the communication terminal is not an external network H323 protocol terminal, establishing communication connection through the video network server;
if the communication terminal is an external network H323 protocol terminal, the application layer gateway address converter replaces the return destination IP address with the video network terminal IP address so as to establish communication connection through the video network server.
Optionally, the H323 protocol conversion server determines, by the application layer gateway address converter, whether the communication terminal corresponding to the communication response message is an extranet H323 protocol terminal, where the communication response message includes a step of returning a destination IP address, and includes:
the H323 protocol conversion server saves the IP address of the video network terminal and the IP address of the call target through the gateway address converter of the application layer;
the application layer gateway address converter sends the communication request to a communication terminal corresponding to the call target IP address, and receives a communication response message returned by the communication terminal, wherein the communication response message also comprises a communication terminal IP address;
and if the returned destination IP address is not consistent with the IP address of the video networking terminal, the communication terminal is an external network H323 protocol terminal.
Optionally, if the communication terminal is an external network H323 protocol terminal, the step of replacing the return destination IP address with the IP address of the video network terminal by the application layer gateway address converter to establish a communication connection through the video network server includes:
if the communication terminal is an external network H323 protocol terminal, the application layer gateway address converter sends the communication request to a video network router;
the router of the video network maps the calling target IP address into an external network IP address through a Network Address Translation (NAT) function;
the video networking router sends the communication request to a corresponding external network H323 protocol terminal according to the external network IP address;
the video network router receives a communication response message, wherein the communication response message comprises an IP address of an external network H323 protocol terminal and a return destination IP address;
the video network router sends the IP address of the external network H323 protocol terminal and the return destination IP address to the application layer gateway address converter;
and the application layer gateway address converter replaces the return destination IP address with the IP address of the video network terminal so as to establish communication connection through the video network server.
Optionally, the step of establishing a communication connection through the internet of view server includes:
the application layer gateway address converter encapsulates the replaced return destination IP address into communication reply information and sends the communication reply information to the H323 protocol conversion server;
the H323 protocol conversion server converts the communication reply message into a communication message conforming to a video networking protocol and sends the communication message to the video networking server;
and the video network server sends the communication information to the video network terminal to establish communication connection.
Optionally, if the communication terminal is not an external network H323 protocol terminal, the step of establishing a communication connection through the video networking server includes:
if the communication terminal is not an external network H323 protocol terminal, the application layer gateway address converter encapsulates the returned destination IP address into communication reply information and sends the communication reply information to the H323 protocol conversion server;
the H323 protocol conversion server converts the communication reply message into a communication message conforming to a video networking protocol and sends the communication message to the video networking server;
and the video network server sends the communication information to the video network terminal to establish communication connection.
The embodiment of the invention also discloses a communication device, which is applied to the video network, and the video network comprises: the device comprises a video network terminal, a video network server, an H323 protocol conversion server, an application layer gateway address converter and an external network H323 protocol terminal, wherein the application layer gateway address converter is arranged in the H323 protocol conversion server, and the device comprises:
a communication request receiving module, configured to receive, by the H323 protocol conversion server, a communication request initiated by the video networking terminal through the video networking server; the communication request comprises an IP address of a video networking terminal and a calling target IP address;
a communication response message receiving module, configured to forward the communication request to the call target IP address by the H323 protocol conversion server, and receive a communication response message returned by the call target IP address;
a judging module, configured to judge, by the H323 protocol conversion server through the application layer gateway address converter, whether a communication terminal corresponding to the communication response message is an extranet H323 protocol terminal, where the communication response message includes a return destination IP address;
the communication module is used for establishing communication connection through the video networking server if the communication terminal is not an external network H323 protocol terminal;
and the address replacement module is used for replacing the return destination IP address with the IP address of the video network terminal by the application layer gateway address converter if the communication terminal is an external network H323 protocol terminal so as to establish communication connection through the video network server.
Optionally, the determining module includes:
the address saving submodule is used for saving the IP address of the video networking terminal and the IP address of a calling target by the H323 protocol conversion server through the application layer gateway address converter;
a response message receiving submodule, configured to send the communication request to the communication terminal corresponding to the call target IP address by the application layer gateway address converter, and receive a communication response message returned by the communication terminal, where the communication response message further includes a communication terminal IP address;
and the judging submodule is used for judging that the communication terminal is an external network H323 protocol terminal if the returned destination IP address is not consistent with the IP address of the video networking terminal.
Optionally, the address replacement module includes:
the communication request forwarding submodule is used for sending the communication request to a router of the video network by the application layer gateway address converter if the communication terminal is an external network H323 protocol terminal;
the address mapping submodule is used for mapping the calling target IP address into an external network IP address by the video network router through a Network Address Translation (NAT) function;
the communication request forwarding submodule is used for the video network router to send the communication request to a corresponding external network H323 protocol terminal according to the external network IP address;
the response information receiving submodule is used for receiving a communication response message by the video network router, wherein the communication response message comprises an IP address of an external network H323 protocol terminal and a return destination IP address;
a response information forwarding submodule, configured to send, by the video networking router, the IP address of the external network H323 protocol terminal and the return destination IP address to the application layer gateway address converter;
and the address replacement submodule is used for replacing the returned destination IP address with the IP address of the video network terminal by the application layer gateway address converter so as to establish communication connection through the video network server.
Optionally, the address replacement submodule includes:
a replacement address encapsulation unit, configured to encapsulate, by the application layer gateway address translator, the replaced return destination IP address as a communication reply message, and send the communication reply message to the H323 protocol conversion server;
the replacement address forwarding unit is used for converting the communication reply information into communication information conforming to the video networking protocol by the H323 protocol conversion server and sending the communication information to the video networking server;
and the communication unit is used for the video networking server to send the communication information to the video networking terminal and establish communication connection.
Optionally, the communication module includes:
the address encapsulation submodule is used for encapsulating the returned destination IP address into communication reply information by the application layer gateway address converter and sending the communication reply information to the H323 protocol conversion server if the communication terminal is not an external network H323 protocol terminal;
the replacement address forwarding submodule is used for converting the communication reply information into communication information conforming to the video networking protocol by the H323 protocol conversion server and sending the communication information to the video networking server;
and the communication submodule is used for the video networking server to send the communication information to the video networking terminal and establish communication connection.
The embodiment of the invention has the following advantages:
the added application layer gateway address converter in the H323 protocol conversion gateway server can lead a video network conference terminal in the local area network to carry out point-to-point calling on the video conference terminal in the H323 protocol of the external network through the cooperation of the protocol conversion server, and the point-to-point calling can only be carried out in the local area network before. The problem that communication between the video networking terminal and the internet terminal cannot be achieved due to the fact that the video networking terminal cannot communicate with the internet terminal in the prior art is solved, and the beneficial effect that communication between the video networking terminal and an external network device can be achieved under the condition that an application environment is not limited is achieved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of the steps of one embodiment of a method of communication of the present invention;
FIG. 5A is a schematic diagram of a video networking end-point communication system framework of the present invention;
FIG. 5B is a schematic diagram of the video networking end-point communication data flow of the present invention;
fig. 6 is a block diagram of a communication apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Address Translation (NAT): with the popularization of IP networks, the IP addresses of IPv4 versions widely used at present are seriously insufficient, and the more devices operating TCP/IP protocols are, the more devices are, the less the NAT network address translation is required for each device to have an IP address, which is also called an address proxy, to realize the translation between private network addresses and public network addresses.
ALG application layer gateway: abbreviated as "ALG" (also called application-layer firewall or application-layer proxy firewall), whose process name is alg.exe in windows, application-layer gateways are often described as third-generation firewalls. When the ALG is used as the NAT penetrating application, because the traditional NAT can not change the IP address in the application layer, the ALG is used for directly changing the IP address of the application layer, and the public network address is directly bound when the private address of the terminal is obtained, so that the preparation for possible related intercommunication is made.
Network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the video network, one of the core concepts of the embodiments of the present invention is proposed, and browser proxy is performed on part of the function modules of the application, while browser proxy is not performed on other function modules, in compliance with the protocol of the video network.
Referring to fig. 5, a flow chart of steps of an embodiment of a communication method of the present invention is shown, which may be applied in a video network comprising: the device comprises a video network terminal, a video network server, an H323 protocol conversion server, an application layer gateway address converter and an external network H323 protocol terminal, wherein the application layer gateway address converter is arranged in the H323 protocol conversion server and specifically comprises the following steps:
step 501, the H323 protocol conversion server receives a communication request initiated by the video network terminal through the video network server; the communication request comprises an IP address of the video networking terminal and a calling target IP address.
In the embodiment of the invention, when the H323 protocol conversion server is successfully configured, and after a virtual terminal is generated to access the video network, the video network terminal sends a communication request, the communication request is firstly sent to the video network server, the video network server converts the request into a request which can be read and understood by the H323 protocol conversion server, and the request is continuously forwarded to the H323 protocol conversion server, wherein the communication request comprises an intranet IP address of the video network terminal initiating the communication request and an IP address of a calling target.
Step 502, the H323 protocol conversion server forwards the communication request to the call target IP address, and receives a communication response message returned by the call target IP address.
In the embodiment of the invention, after the H323 protocol conversion server receives the communication request sent by the video network terminal, the intranet IP address of the video network terminal and the IP address of the call target are obtained and stored through the built-in application layer gateway address converter.
Step 503, the H323 protocol conversion server determines, through the application layer gateway address converter, whether the communication terminal corresponding to the communication response message is an extranet H323 protocol terminal, where the communication response message includes a return destination IP address;
in the embodiment of the invention, an H323 protocol conversion server sends a communication request to a communication terminal corresponding to an IP address of a called target through a built-in application layer gateway address converter, and judges whether the communication terminal is an extranet communication device or not through response information returned by the communication terminal, wherein the specific judgment process is as follows:
preferably, step 503 specifically includes: substeps A1-A3;
sub-step A1, the H323 protocol conversion server stores the IP address of the video network terminal and the IP address of the call destination through the application layer gateway address converter.
Specifically, the H323 protocol converts the call request sent by the video networking device into a call request of H225.0 in the H323 protocol cluster, and sends the call request to the called device, where the source IP address of the request is the internet IP address of the H323 protocol, and the destination address is the IP address of the called H323 terminal. This request is then sent by the H323 protocol server to an application layer gateway address translator (ALG module) which records this pair of source and destination addresses and then forwards the request to the router.
And a substep a2, sending the communication request to the communication terminal corresponding to the call target IP address by the application layer gateway address converter, and receiving a communication response message returned by the communication terminal, wherein the communication response message further includes the communication terminal IP address.
Specifically, when the call passes through the router, according to the range of the call target IP address, if the IP address range does not belong to the intranet address range of the internet of view, the router performs NAT address translation to translate the H323-coordinated internet IP address in the intranet into the IP address of the extranet.
And a substep A3, if the return destination IP address is not consistent with the IP address of the video networking terminal, the communication terminal is an external network H323 protocol terminal.
Specifically, the router sends the request to the called H323 communication terminal, the H323 communication terminal replies a call response of H225.0 to the router, the source address in the response message is the IP address of the H323 communication terminal, the destination address is the IP address of the H323 protocol, the router sends the response reply to the ALG module of the H323 protocol server, the ALG module records the source and destination IP in the reply data packet, and compares whether the destination IP of the reply is the IP address of the video network terminal which just sent the request, that is, whether the destination IP address of the reply is consistent with the IP address of the video network terminal which initiated the communication request, if not, the H323 communication terminal is an external network H323 protocol terminal, otherwise, the H323 communication terminal is the video network H323 protocol terminal.
Step 504, if the communication terminal is not an external network H323 protocol terminal, establishing a communication connection through the video network server.
In the embodiment of the invention, if the H323 communication terminal is a video network H323 protocol terminal, the response reply message is forwarded to the video network server, the reply message is converted into the reply message which can be identified by the video network server through the video network server, the video network terminal which initiates the call confirms the communication connection, and the video network terminal which initiates the call establishes the communication connection with the video network terminal which initiates the call.
Preferably, step 504 specifically includes: substeps C1-C3;
and a substep C1, if the communication terminal is not an external network H323 protocol terminal, the application layer gateway address converter encapsulates the return destination IP address into a communication reply message, and sends the communication reply message to the H323 protocol conversion server.
Specifically, if the communication terminal is not an external network H323 protocol terminal, the IP of the source video network terminal in the request needs to be used to replace the destination IP address in the reply, so as to ensure that the H323 protocol conversion server in the internal network can normally receive the reply sent by the H323 terminal in the external network.
And a substep C2, converting the communication reply message into a communication message conforming to the video network protocol by the H323 protocol conversion server, and sending the communication message to the video network server.
Specifically, the H323 protocol conversion server sends the destination IP address in the response message to the internet of view server.
And a substep C3, sending the communication information to the video network terminal by the video network server, and establishing communication connection.
Specifically, after the reply information is converted into reply information which can be identified by the video network terminal through the video network server, the video network terminal which initiates the call confirms the communication connection, and then the video network terminal which initiates the call establishes the communication connection with the video network terminal which initiates the call.
And 505, if the communication terminal is an external network H323 protocol terminal, the application layer gateway address converter replaces the return destination IP address with the video network terminal IP address, so as to establish communication connection through the video network server.
Preferably, step 505 specifically includes: substeps B1-B6;
substep B1, if the communication terminal is an extranet H323 protocol terminal, the application layer gateway address translator sends the communication request to a video network router;
substep B2, the router maps the call destination IP address to an external IP address through a NAT function;
substep B3, the router of the video network sends the communication request to the corresponding external network H323 protocol terminal according to the external network IP address;
sub-step B4, the video network router receives a communication response message, the communication response message including the extranet H323 protocol terminal IP address and the return destination IP address.
Substep B5, the router of the visual network sends the IP address of the external network H323 protocol terminal and the return destination IP address to the address converter of the gateway of the application layer;
sub-step B6, the application layer gateway address translator replacing the return destination IP address with the internet of view terminal IP address to establish a communication connection through the internet of view server.
Preferably, step 505 further comprises:
substep B7, the application layer gateway address translator encapsulates the replaced return destination IP address as a communication reply message, and sends the communication reply message to the H323 protocol conversion server;
substep B8, the H323 protocol conversion server converts the communication reply message into a communication message conforming to the video network protocol, and sends the communication message to the video network server;
and a substep B9, sending the communication information to the video network terminal by the video network server, and establishing communication connection.
As shown in fig. 5A, in the structure diagram of the specific implementation apparatus, 8186 is a video network terminal, which is connected to a video network server and forwards a communication request to the H323 protocol server through the switch 1, and the H323 protocol server forwards the communication request to a video network router through the switch 2 and sends the communication request to an extranet Polycom device.
The specific implementation steps are as shown in fig. 5B, (1) an H323 protocol conversion server is configured first, and the virtual terminal generated by the protocol conversion is made to access the network. The aurora 8168 then begins to call the Polycom conference terminal at the external network. 8168 sends the internet of view call request to the internet of view server, which converts 8e01 to 8e02 and sends it to the H323 corotation server.
(2) The H323 protocol translates the 8e02 request into call request signaling Cs during the H225 call: setup call request to ALG module of protocol server.
(3) After receiving the request, the ALG module records the source IP address and the destination IP address in the request signaling data packet, and then sends the request to the router.
(4) Since the router by default maps the IP address negotiated by the intranet H323 to the external network IP address of the router through the NAT function, it is on the polycom device of the external network to which the mapping will be sent after the request.
(5) The called polycom device, upon receiving the request, replies Cs: calling, Cs: alerting, Cs: connect, because the source IP address of the request data packet received by the polycom is the router IP after NAT, the destination IP of the reply signaling is the external network IP of the route, the reply signaling is firstly sent to the router and then transferred to the H323 coordinated ALG module,
(6) after receiving the reply signaling data packet, the ALG module acquires the source IP and the destination IP from the data packet, records the source IP and the destination IP, and then compares the destination IP in the reply data packet with the source IP address recorded in the previous request sending process.
(7) When the ALG module finds that the two IPs are not the same due to the NAT conversion relationship, the source IP address in the request packet replaces the destination IP address in the reply signaling, so that the reply signaling can be ensured to be sent to the H323 protocol conversion server of the intranet.
(8) After receiving the reply signaling, the H323 protocol converts the reply signaling into a reply 8e01callRespond of the video networking protocol, and sends the reply to the video networking server.
(9) The video network server converts 8e01callRespond into 8e02callRespond and sends the 8e02callRespond to the 8168 aurora terminal, and the aurora terminal sends 8e01 callResponddack to the video network server to confirm the connection reply.
(10) Therefore, even if a call operation from the intranet equipment to the extranet equipment is completed, the H323 protocol is a protocol cluster and comprises an H225 call, an H245 capability negotiation and an RTP protocol audio and video transmission, so that the ALG module can monitor signaling in the H225 call and hang-up process, signaling related to the H245 negotiation communication capability and an audio and video data packet in the RTP protocol audio and video transmission process to perform the conversion of the intranet and extranet addresses, and ensure that the call can be normally carried out.
(11) The principles of ip-to-ip address translation associated with H245 and RTP are the same as those of the H225 call process and will not be described here again. See in particular the signalling conversion procedure in the figure
In the embodiment of the invention, the H323 protocol conversion server receives a communication request initiated by the video network terminal through the video network server; the communication request comprises an IP address of a video networking terminal and a calling target IP address; the H323 protocol conversion server forwards the communication request to the call target IP address and receives a communication response message returned by the call target IP address; the H323 protocol conversion server judges whether the communication terminal corresponding to the communication response message is an external network H323 protocol terminal or not through the application layer gateway address converter, wherein the communication response message comprises a return destination IP address; if the communication terminal is not an external network H323 protocol terminal, establishing communication connection through the video network server; if the communication terminal is an external network H323 protocol terminal, the application layer gateway address converter replaces the return destination IP address with the video network terminal IP address so as to establish communication connection through the video network server. The problem that communication between the video networking terminal and the internet terminal cannot be achieved due to the fact that the video networking terminal cannot communicate with the internet terminal in the prior art is solved, and the beneficial effect that communication between the video networking terminal and an external network device can be achieved under the condition that an application environment is not limited is achieved. In addition, when the communication terminal is determined to be the video network terminal, the communication connection can be established directly through the video network server.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, there is shown a block diagram of an embodiment of a communication apparatus of the present invention, the apparatus is applied to a video network, the video network includes: the device comprises a video network terminal, a video network server, an H323 protocol conversion server, an application layer gateway address converter and an external network H323 protocol terminal, wherein the application layer gateway address converter device is in the H323 protocol conversion server, and specifically comprises:
a communication request receiving module 601, configured to receive, by the H323 protocol conversion server, a communication request initiated by the video network terminal through the video network server; the communication request comprises an IP address of a video networking terminal and a calling target IP address;
a communication response message receiving module 602, configured to forward the communication request to the call target IP address by the H323 protocol conversion server, and receive a communication response message returned by the call target IP address;
a judging module 603, configured to judge, by the H323 protocol conversion server through the application layer gateway address converter, whether a communication terminal corresponding to the communication response message is an extranet H323 protocol terminal, where the communication response message includes a return destination IP address;
preferably, the determining module 603 includes:
the address saving submodule is used for saving the IP address of the video networking terminal and the IP address of a calling target by the H323 protocol conversion server through the application layer gateway address converter;
a response message receiving submodule, configured to send the communication request to the communication terminal corresponding to the call target IP address by the application layer gateway address converter, and receive a communication response message returned by the communication terminal, where the communication response message further includes a communication terminal IP address;
and the judging submodule is used for judging that the communication terminal is an external network H323 protocol terminal if the returned destination IP address is not consistent with the IP address of the video networking terminal.
A communication module 604, configured to establish a communication connection through the video networking server if the communication terminal is not an external network H323 protocol terminal;
preferably, the communication module 604 includes:
the address encapsulation submodule is used for encapsulating the returned destination IP address into communication reply information by the application layer gateway address converter and sending the communication reply information to the H323 protocol conversion server if the communication terminal is not an external network H323 protocol terminal;
the replacement address forwarding submodule is used for converting the communication reply information into communication information conforming to the video networking protocol by the H323 protocol conversion server and sending the communication information to the video networking server;
and the communication submodule is used for the video networking server to send the communication information to the video networking terminal and establish communication connection.
An address replacement module 605, configured to, if the communication terminal is an external network H323 protocol terminal, replace, by the application layer gateway address translator, the return destination IP address with the video network terminal IP address, so as to establish a communication connection through the video network server.
Preferably, the address replacement module 605 includes:
the communication request forwarding submodule is used for sending the communication request to a router of the video network by the application layer gateway address converter if the communication terminal is an external network H323 protocol terminal;
the address mapping submodule is used for mapping the calling target IP address into an external network IP address by the video network router through a Network Address Translation (NAT) function;
the communication request forwarding submodule is used for the video network router to send the communication request to a corresponding external network H323 protocol terminal according to the external network IP address;
the response information receiving submodule is used for receiving a communication response message by the video network router, wherein the communication response message comprises an IP address of an external network H323 protocol terminal and a return destination IP address;
a response information forwarding submodule, configured to send, by the video networking router, the IP address of the external network H323 protocol terminal and the return destination IP address to the application layer gateway address converter;
and the address replacement submodule is used for replacing the returned destination IP address with the IP address of the video network terminal by the application layer gateway address converter so as to establish communication connection through the video network server.
Preferably, the address replacement submodule includes:
a replacement address encapsulation unit, configured to encapsulate, by the application layer gateway address translator, the replaced return destination IP address as a communication reply message, and send the communication reply message to the H323 protocol conversion server;
the replacement address forwarding unit is used for converting the communication reply information into communication information conforming to the video networking protocol by the H323 protocol conversion server and sending the communication information to the video networking server;
and the communication unit is used for the video networking server to send the communication information to the video networking terminal and establish communication connection.
In the embodiment of the invention, the H323 protocol conversion server receives a communication request initiated by the video network terminal through the video network server; the communication request comprises an IP address of a video networking terminal and a calling target IP address; the H323 protocol conversion server forwards the communication request to the call target IP address and receives a communication response message returned by the call target IP address; the H323 protocol conversion server judges whether the communication terminal corresponding to the communication response message is an external network H323 protocol terminal or not through the application layer gateway address converter, wherein the communication response message comprises a return destination IP address; if the communication terminal is not an external network H323 protocol terminal, establishing communication connection through the video network server; if the communication terminal is an external network H323 protocol terminal, the application layer gateway address converter replaces the return destination IP address with the video network terminal IP address so as to establish communication connection through the video network server. The limitation that the prior video networking equipment can only carry out point-to-point calling on equipment with an H323 protocol in the same local area network is solved, the requirements in real life and projects often meet the requirement of cross-network calling from intranet equipment to public network equipment, and the ALG module is added in the protocol conversion server, so that one part of a user in calling is ensured to be in the protection of the local area network environment, and the attack of malicious software on the network is reduced.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, 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 present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a communication method and a communication device, and the principle and the implementation of the present invention are explained by applying specific examples, and the above descriptions of the embodiments are only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A communication method is applied to a video network, and the video network comprises the following steps: a video network terminal, a video network server, an H323 protocol conversion server, an application layer gateway address converter, an external network H323 protocol terminal, the application layer gateway address converter is arranged in the H323 protocol conversion server, the method includes:
the H323 protocol conversion server receives a communication request initiated by the video network terminal through the video network server; the communication request comprises an IP address of a video networking terminal and a calling target IP address;
the H323 protocol conversion server forwards the communication request to the call target IP address and receives a communication response message returned by the call target IP address;
the H323 protocol conversion server judges whether the communication terminal corresponding to the communication response message is an external network H323 protocol terminal or not through the application layer gateway address converter, wherein the communication response message comprises a return destination IP address;
if the communication terminal is not an external network H323 protocol terminal, establishing communication connection through the video network server;
if the communication terminal is an external network H323 protocol terminal, the application layer gateway address converter replaces the return destination IP address with the video network terminal IP address so as to establish communication connection through the video network server.
2. The method according to claim 1, wherein the H323 protocol conversion server determines, through the application layer gateway address converter, whether the communication terminal corresponding to the communication response message is an extranet H323 protocol terminal, and the communication response message includes a step of returning a destination IP address, including:
the H323 protocol conversion server saves the IP address of the video network terminal and the IP address of the call target through the gateway address converter of the application layer;
the application layer gateway address converter sends the communication request to a communication terminal corresponding to the call target IP address, and receives a communication response message returned by the communication terminal, wherein the communication response message also comprises a communication terminal IP address;
and if the returned destination IP address is not consistent with the IP address of the video networking terminal, the communication terminal is an external network H323 protocol terminal.
3. The method according to claim 1, wherein if the communication terminal is an extranet H323 protocol terminal, the step of replacing the return destination IP address with the internet-of-view terminal IP address by the application layer gateway address translator to establish a communication connection through the internet-of-view server comprises:
if the communication terminal is an external network H323 protocol terminal, the application layer gateway address converter sends the communication request to a video network router;
the router of the video network maps the calling target IP address into an external network IP address through a Network Address Translation (NAT) function;
the video networking router sends the communication request to a corresponding external network H323 protocol terminal according to the external network IP address;
the video network router receives a communication response message, wherein the communication response message comprises an IP address of an external network H323 protocol terminal and a return destination IP address;
the video network router sends the IP address of the external network H323 protocol terminal and the return destination IP address to the application layer gateway address converter;
and the application layer gateway address converter replaces the return destination IP address with the IP address of the video network terminal so as to establish communication connection through the video network server.
4. The method of claim 3, wherein the step of establishing a communication connection via the video networking server comprises:
the application layer gateway address converter encapsulates the replaced return destination IP address into communication reply information and sends the communication reply information to the H323 protocol conversion server;
the H323 protocol conversion server converts the communication reply message into a communication message conforming to a video networking protocol and sends the communication message to the video networking server;
and the video network server sends the communication information to the video network terminal to establish communication connection.
5. The method according to claim 1, wherein the step of establishing a communication connection through the video network server if the communication terminal is not an extranet H323 protocol terminal comprises:
if the communication terminal is not an external network H323 protocol terminal, the application layer gateway address converter encapsulates the returned destination IP address into communication reply information and sends the communication reply information to the H323 protocol conversion server;
the H323 protocol conversion server converts the communication reply message into a communication message conforming to a video networking protocol and sends the communication message to the video networking server;
and the video network server sends the communication information to the video network terminal to establish communication connection.
6. A communications apparatus, the apparatus being used in a video network, the video network comprising: the device comprises a video network terminal, a video network server, an H323 protocol conversion server, an application layer gateway address converter and an external network H323 protocol terminal, wherein the application layer gateway address converter is arranged in the H323 protocol conversion server, and the device comprises:
a communication request receiving module, configured to receive, by the H323 protocol conversion server, a communication request initiated by the video networking terminal through the video networking server; the communication request comprises an IP address of a video networking terminal and a calling target IP address;
a communication response message receiving module, configured to forward the communication request to the call target IP address by the H323 protocol conversion server, and receive a communication response message returned by the call target IP address;
a judging module, configured to judge, by the H323 protocol conversion server through the application layer gateway address converter, whether a communication terminal corresponding to the communication response message is an extranet H323 protocol terminal, where the communication response message includes a return destination IP address;
the communication module is used for establishing communication connection through the video networking server if the communication terminal is not an external network H323 protocol terminal;
and the address replacement module is used for replacing the return destination IP address with the IP address of the video network terminal by the application layer gateway address converter if the communication terminal is an external network H323 protocol terminal so as to establish communication connection through the video network server.
7. The apparatus of claim 6, wherein the determining module comprises:
the address saving submodule is used for saving the IP address of the video networking terminal and the IP address of a calling target by the H323 protocol conversion server through the application layer gateway address converter;
a response message receiving submodule, configured to send the communication request to the communication terminal corresponding to the call target IP address by the application layer gateway address converter, and receive a communication response message returned by the communication terminal, where the communication response message further includes a communication terminal IP address;
and the judging submodule is used for judging that the communication terminal is an external network H323 protocol terminal if the returned destination IP address is not consistent with the IP address of the video networking terminal.
8. The apparatus of claim 6, wherein the address replacement module comprises:
the communication request forwarding submodule is used for sending the communication request to a router of the video network by the application layer gateway address converter if the communication terminal is an external network H323 protocol terminal;
the address mapping submodule is used for mapping the calling target IP address into an external network IP address by the video network router through a Network Address Translation (NAT) function;
the communication request forwarding submodule is used for the video network router to send the communication request to a corresponding external network H323 protocol terminal according to the external network IP address;
the response information receiving submodule is used for receiving a communication response message by the video network router, wherein the communication response message comprises an IP address of an external network H323 protocol terminal and a return destination IP address;
a response information forwarding submodule, configured to send, by the video networking router, the IP address of the external network H323 protocol terminal and the return destination IP address to the application layer gateway address converter;
and the address replacement submodule is used for replacing the returned destination IP address with the IP address of the video network terminal by the application layer gateway address converter so as to establish communication connection through the video network server.
9. The apparatus of claim 8, wherein the address replacement submodule comprises:
a replacement address encapsulation unit, configured to encapsulate, by the application layer gateway address translator, the replaced return destination IP address as a communication reply message, and send the communication reply message to the H323 protocol conversion server;
the replacement address forwarding unit is used for converting the communication reply information into communication information conforming to the video networking protocol by the H323 protocol conversion server and sending the communication information to the video networking server;
and the communication unit is used for the video networking server to send the communication information to the video networking terminal and establish communication connection.
10. The apparatus of claim 6, wherein the communication module comprises:
the address encapsulation submodule is used for encapsulating the returned destination IP address into communication reply information by the application layer gateway address converter and sending the communication reply information to the H323 protocol conversion server if the communication terminal is not an external network H323 protocol terminal;
the replacement address forwarding submodule is used for converting the communication reply information into communication information conforming to the video networking protocol by the H323 protocol conversion server and sending the communication information to the video networking server;
and the communication submodule is used for the video networking server to send the communication information to the video networking terminal and establish communication connection.
CN201810644721.4A 2018-06-21 2018-06-21 Communication method and communication device Active CN110636029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810644721.4A CN110636029B (en) 2018-06-21 2018-06-21 Communication method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810644721.4A CN110636029B (en) 2018-06-21 2018-06-21 Communication method and communication device

Publications (2)

Publication Number Publication Date
CN110636029A true CN110636029A (en) 2019-12-31
CN110636029B CN110636029B (en) 2022-02-25

Family

ID=68966560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810644721.4A Active CN110636029B (en) 2018-06-21 2018-06-21 Communication method and communication device

Country Status (1)

Country Link
CN (1) CN110636029B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245478A (en) * 2020-09-07 2022-03-25 海能达通信股份有限公司 Call processing method, terminal and device with storage function
CN115550591A (en) * 2022-09-02 2022-12-30 深圳市华运通科技股份有限公司 Video communication system, video communication method and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090180476A1 (en) * 2006-04-24 2009-07-16 Lee Jang-Won Inter working system between ip networks using different ip address format, application layer gateway (alg) server, stun server, network address translator, interworking method thereof, and sip message routing method thereof
CN102377632A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Method and system compatible with Ethernet
CN102377636A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Service communication method of access network device and system thereof
CN106331581A (en) * 2015-07-06 2017-01-11 北京视联动力国际信息技术有限公司 Method and device for communication between mobile terminal and video networking terminal
CN106549912A (en) * 2015-09-17 2017-03-29 北京视联动力国际信息技术有限公司 A kind of player method and system of video data
CN107968928A (en) * 2016-10-19 2018-04-27 北京视联动力国际信息技术有限公司 A kind of method and apparatus of terminal communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090180476A1 (en) * 2006-04-24 2009-07-16 Lee Jang-Won Inter working system between ip networks using different ip address format, application layer gateway (alg) server, stun server, network address translator, interworking method thereof, and sip message routing method thereof
CN102377632A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Method and system compatible with Ethernet
CN102377636A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Service communication method of access network device and system thereof
CN106331581A (en) * 2015-07-06 2017-01-11 北京视联动力国际信息技术有限公司 Method and device for communication between mobile terminal and video networking terminal
CN106549912A (en) * 2015-09-17 2017-03-29 北京视联动力国际信息技术有限公司 A kind of player method and system of video data
CN107968928A (en) * 2016-10-19 2018-04-27 北京视联动力国际信息技术有限公司 A kind of method and apparatus of terminal communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245478A (en) * 2020-09-07 2022-03-25 海能达通信股份有限公司 Call processing method, terminal and device with storage function
CN115550591A (en) * 2022-09-02 2022-12-30 深圳市华运通科技股份有限公司 Video communication system, video communication method and storage medium

Also Published As

Publication number Publication date
CN110636029B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN109194660B (en) Network access method and device of mobile terminal
CN109547417B (en) Code stream transmission method and device
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN110035005B (en) Data processing method and device
CN110022306B (en) Method and device for calling conference of video conference
CN108881796B (en) Video data processing method and video networking protocol conversion server
CN109547163B (en) Method and device for controlling data transmission rate
CN108462589A (en) A kind of method for connecting network and device of terminal
CN110266577B (en) Tunnel establishment method and video networking system
CN109347844B (en) Method and device for accessing equipment to Internet
CN110545244A (en) message distribution method and device
CN110636029B (en) Communication method and communication device
CN110740087B (en) Message transmission method, terminal, gateway device, electronic device and storage medium
CN110336796B (en) Communication method and communication device
CN110336710B (en) Terminal testing method, system and device and storage medium
CN109889516B (en) Method and device for establishing session channel
CN110417792B (en) Communication method, system, gateway device and storage medium
CN110493149B (en) Message processing method and device
CN109922300B (en) Method and server for inviting video network MCU conference to Internet MCU conference
CN109862439B (en) Data processing method and device
CN109769012B (en) Web server access method and device
CN109889755B (en) Communication connection method and video networking terminal
CN110830751B (en) Method and device for accessing video networking terminal to conference
CN110099025B (en) Call method and device based on video networking
CN108881148B (en) Data acquisition method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013

Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address