+

CN101834874A - Multimedia network communication method capable of penetrating firewall - Google Patents

Multimedia network communication method capable of penetrating firewall Download PDF

Info

Publication number
CN101834874A
CN101834874A CN 201010179193 CN201010179193A CN101834874A CN 101834874 A CN101834874 A CN 101834874A CN 201010179193 CN201010179193 CN 201010179193 CN 201010179193 A CN201010179193 A CN 201010179193A CN 101834874 A CN101834874 A CN 101834874A
Authority
CN
China
Prior art keywords
client
information
public servicer
destination
public
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.)
Pending
Application number
CN 201010179193
Other languages
Chinese (zh)
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN 201010179193 priority Critical patent/CN101834874A/en
Publication of CN101834874A publication Critical patent/CN101834874A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention is applicable in the field of network multimedia communication, and provides a multimedia network communication method capable of penetrating a firewall. The method can well solve the multimedia real-time communication problem between two terminals under different private networks by using a host with a public IP as a server to finish establishment of a point-to-point communication line between the terminals under the different private networks and meanwhile using the management function on the terminals.

Description

A kind of multimedia network communication method of energy firewall-penetrating
Technical field
The invention belongs to the network multimedia communication field, relate in particular to a kind of multimedia network communication method of energy firewall-penetrating.
Background technology
At present, the employed procotol in the Internet is IPV4, and the IP address of the network terminal is based on 32, and therefore, the IP address of the Internet is very deficient, can not an IP address all be arranged every station terminal.Therefore a kind of technology that is called as the network address translation (being called for short NAT) of most of network using solves this problem, its effect is exactly to represent all computers in the network, the computer in this network all to pass through a NAT main frame with a public IP address to communicate by letter with extraneous.But this has also occurred some problems simultaneously, this NAT main frame also possesses the function of fire compartment wall simultaneously, this has come very big problem for the terminal room communication under the different private networks, as: an extraneous terminal how could accurately locating in certain network? how could certain interior terminal of network therewith initiatively carry out point-to-point multimedia realtime communication.
Summary of the invention
The objective of the invention is to: a kind of multimedia network communication method of energy firewall-penetrating is provided, is intended to solve in the existing internet communication, can't carry out the problem of point-to-point multimedia communication between the client under the different private networks without barrier.
The object of the present invention is achieved like this:
A kind of multimedia network communication method of energy firewall-penetrating, described method comprises the steps:
A, set up public servicer, this server has the public IP address, client terminal under the different private networks is opened one group of totally three port separately at least, be respectively the control command port, transmit FPDP and receive FPDP, and send the log messages of band log-in command by these ports to public servicer;
B, desire are initiated the client of communication and are obtained the address information of the destination client under another private network from public servicer, and directly send information to the destination client;
C, initiation client send request to public servicer, and the request public servicer is forwarded to the destination client with information, also includes the address information of destination client in this solicited message;
D, public servicer receive that the request back sends information to the destination client, includes the address information of initiating client in this information;
The information content that transmit according to public servicer E, destination client, its port initiatively sends information to the corresponding port of initiating client, finish and initiate the foundation of the communication line between the corresponding port of client, and by described communication line transmitting multimedia data.
The client that described desire initiates to communicate by letter is obtained the address information of the destination client under another private network from public servicer specific implementation method is: the client that desire is initiated communication sends specific request to public servicer, all client-side informations of registering that the address information of all clients of acquisition request, public servicer will include the destination client address information return to the initiation client.
The information content that transmit according to public servicer described destination client, its port initiatively is specially to the corresponding port transmission information of initiating client: include the control command port of initiating client in the information that public servicer is transmitted, then the control command port of destination client will initiatively send information to the control command port of initiating client; Include the transmission FPDP of initiating client in the information that public servicer is transmitted, then the reception FPDP of destination client will initiatively send information to the transmission FPDP of initiating client; Include the reception FPDP of initiating client in the information that public servicer is transmitted, then the transmission FPDP of destination client will initiatively send information to the reception FPDP of initiating client.
Initiate client for one and set up communication line with a plurality of destination clients respectively, the multimedia communication between realization and a plurality of destination client by opening many group ports.
Described method further comprises: public servicer regularly sends pulse information to each registered client, after receiving, client needs the echo reply order, sending when public servicer under N time the situation and all do not receiving acknowledgement command, then this client is being deleted from the online client tabulation; Otherwise prove that this client is online, described N is the natural number greater than 1.
Outstanding advantage of the present invention is: the present invention has the main frame of public IP as server by utilization, finish the foundation of the point-to-point communication circuit of the terminal room under the different private networks, have management function simultaneously concurrently, can well solve the multimedia realtime communication problem of two terminal rooms under different private networks terminal.
Description of drawings
Fig. 1 be the embodiment of the invention provide can firewall-penetrating the network topology figure of multimedia network communication method;
Fig. 2 be the embodiment of the invention provide can firewall-penetrating the sequential chart of multimedia network communication method.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, for two terminals that belong in the different private networks, because their IP address can't be discerned on public network, serve as public servicer so increase a main frame that possesses public IP, as shown in Figure 1, wherein, initiate client and destination client and be the terminal that belongs under private network 1 and the private network 2, NAT1 is the server host of the band fire compartment wall of private network 1, NAT2 is the server host of the band fire compartment wall of private network 2, before initiating to set up the passage of transmission data between client and destination client, these two terminals all will realize the transmission of information by public servicer, in case passage is set up successfully, these two terminals just can realize point-to-point data communication by NAT separately.
Fig. 2 shows that the embodiment of the invention provides can firewall-penetrating the sequential flow process of multimedia network communication method, details are as follows:
1, at first initiates client and destination client and need send log messages, be used for registration to public servicer.
Initiate client and destination client and open three ports separately: control command port (as: cmdPort, Socket is cmdSockfd), transmit FPDP (as: sendPort, Socket is sendSockfd), receive FPDP (as: recvPort, Socket are recvSockfd).
When three ports all when public servicer sends log-in command, NAT server is separately passed through in the capital, therefore IP and port can be mapped to the IP and three different port numbers of corresponding NAT at the public servicer place, since public servicer can with each NAT server communication, so mailing to the data of issuing these three ports on the NAT server all can be received by client, certainly public servicer also can be noted these three through the port numbers after the NAT server mappings, has so just finished the registered task of each client.At this moment, initiating client can communicate by letter with public servicer with the destination client.
Directly send information to the destination client if 2 initiate client wants, he can obtain the public network address of destination client from public servicer there so.Concrete acquisition methods is as follows:
Initiate client and send a specific request to public servicer, as: the address information of obtaining all clients, public servicer will return to the initiation client to all client-side informations of registering so, initiates client like this and has just known the address information of destination client.
If initiate client and directly send information to the destination client 3 this moment, message can not be received in the destination client, because if send information like this, NAT2 can abandon this information (because such information is self-invited, for safety, most of NAT can carry out and abandon action).However, initiating client still wants directly to send information to the destination client earlier, the purpose of this step is the transmission record of initiating client in order to stay in NAT1, includes the information (comprising address, port etc.) of destination client in this recorded content.
4, next, send request by initiating client to public servicer, the request public servicer is forwarded to the destination client with information, also includes the address information of destination client in this solicited message.
5, public servicer is by resolving solicited message, know and initiate the information content that client sends, and the address information of destination client, can directly send information then to the destination client, include the address information (comprising IP and port) of initiating client in this information, the address information of initiating client also can be known in the destination client like this.
6, after the solicited message of public servicer forwarding is received in the destination client, its port can initiatively send information to the corresponding port of initiating client, for example, include the control command port of initiating client in the solicited message of receiving, then the control command port of destination client will initiatively send information to the control command port of initiating client; Include the transmission FPDP of initiating client in the solicited message of receiving, then the reception FPDP of destination client will initiatively send information to the transmission FPDP of initiating client; Include the reception FPDP of initiating client in the solicited message of receiving, then the transmission FPDP of destination client will initiatively send information to the reception FPDP of initiating client.
7, since before had the client of initiation among the NAT1 and sent recording of information to the destination client, information for the transmission of above-mentioned destination client, NAT1 can not abandon this information, but send to the initiation client, initiate so just to have set up communication line between the corresponding port of client and destination client, thereby can carry out the communication of multimedia messagess such as audio frequency and video, can not tackled by NAT fire compartment wall separately again.
In embodiments of the present invention, when initiating successfully to have set up 2 communication lines that can transmit audio/video data between client and the destination client, then can satisfy and initiate the mutual simultaneously audio/video data that sends of client and destination client, can realize dialogue function, Voice ﹠ Video data sharing communication line, the transmission of staggering the time.Simultaneously, can carry out real-time control and management to the communication lines of two transmission audio/video datas by the passage between the control command port of initiating client and destination client, as: stop/beginning transmitting data, real-time report switching between current state and operation, user or the like to the other side or system oneself.
Based on above principle method, can expand to a multimedia communication of initiating client to a plurality of destination clients, to communicate by letter with 2 destination clients is example, only need to set up communication line with the 2nd destination client and get final product initiating to open again on the client one group (3 ports), certainly this need be guaranteed with the network bandwidth be prerequisite.
Carry out multimedia communication between a plurality of clients for having, manage current all online client states by public servicer.In embodiments of the present invention, can regularly send pulse information by public servicer to each registered client, after receiving, client must return an acknowledgement command, if public servicer is not all received acknowledgement command under the situation that sends repeatedly (for example 3 times), prove that then this client is not online, just the deletion from the online client tabulation of this client; Otherwise prove that this client user is online.This state-detection process is used the control command passage, can not influence the transmission of multi-medium data.
The multimedia network communication method of the energy firewall-penetrating that the embodiment of the invention provides has the main frame of public IP as server by utilization, finish the foundation of the point-to-point communication circuit of the terminal room under the different private networks, have management function simultaneously concurrently to terminal, the multimedia realtime communication problem of two terminal rooms under different private networks be can well solve, the real-time Transmission of remote monitoring product, long-range audio frequency and video and Play System can be used for and other relates to a lot of application scenarios that penetrate network firewall.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. the multimedia network communication method of an energy firewall-penetrating is characterized in that, described method comprises the steps:
A, set up public servicer, this server has the public IP address, client terminal under the different private networks is opened one group of totally three port separately at least, be respectively the control command port, transmit FPDP and receive FPDP, and send the log messages of band log-in command by these ports to public servicer;
B, desire are initiated the client of communication and are obtained the address information of the destination client under another private network from public servicer, and directly send information to the destination client;
C, initiation client send request to public servicer, and the request public servicer is forwarded to the destination client with information, also includes the address information of destination client in this solicited message;
D, public servicer receive that the request back sends information to the destination client, includes the address information of initiating client in this information;
The information content that transmit according to public servicer E, destination client, its port initiatively sends information to the corresponding port of initiating client, finish and initiate the foundation of the communication line between the corresponding port of client, and by described communication line transmitting multimedia data.
2. the multimedia network communication method of energy firewall-penetrating as claimed in claim 1, it is characterized in that, the client that described desire initiates to communicate by letter is obtained the address information of the destination client under another private network from public servicer specific implementation method is: the client that desire is initiated communication sends specific request to public servicer, all client-side informations of registering that the address information of all clients of acquisition request, public servicer will include the destination client address information return to the initiation client.
3. the multimedia network communication method of energy firewall-penetrating as claimed in claim 1, it is characterized in that, the information content that transmit according to public servicer described destination client, its port initiatively is specially to the corresponding port transmission information of initiating client: include the control command port of initiating client in the information that public servicer is transmitted, then the control command port of destination client will initiatively send information to the control command port of initiating client; Include the transmission FPDP of initiating client in the information that public servicer is transmitted, then the reception FPDP of destination client will initiatively send information to the transmission FPDP of initiating client; Include the reception FPDP of initiating client in the information that public servicer is transmitted, then the transmission FPDP of destination client will initiatively send information to the reception FPDP of initiating client.
4. the multimedia network communication method of energy firewall-penetrating as claimed in claim 1, it is characterized in that, initiate client for one and set up communication line with a plurality of destination clients respectively, the multimedia communication between realization and a plurality of destination client by opening many group ports.
5. the multimedia network communication method of energy firewall-penetrating as claimed in claim 1, it is characterized in that, described method further comprises: public servicer regularly sends pulse information to each registered client, after receiving, client needs the echo reply order, sending when public servicer under N time the situation and all do not receiving acknowledgement command, then this client is being deleted from the online client tabulation; Otherwise prove that this client is online, described N is the natural number greater than 1.
CN 201010179193 2010-05-21 2010-05-21 Multimedia network communication method capable of penetrating firewall Pending CN101834874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010179193 CN101834874A (en) 2010-05-21 2010-05-21 Multimedia network communication method capable of penetrating firewall

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010179193 CN101834874A (en) 2010-05-21 2010-05-21 Multimedia network communication method capable of penetrating firewall

Publications (1)

Publication Number Publication Date
CN101834874A true CN101834874A (en) 2010-09-15

Family

ID=42718803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010179193 Pending CN101834874A (en) 2010-05-21 2010-05-21 Multimedia network communication method capable of penetrating firewall

Country Status (1)

Country Link
CN (1) CN101834874A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546559A (en) * 2010-12-29 2012-07-04 北京新媒传信科技有限公司 Method, equipment and system for end-to-end transmission of data in challenged network
CN102957750A (en) * 2012-11-14 2013-03-06 四川长虹电器股份有限公司 Remote control method of computers
CN103002041A (en) * 2012-12-17 2013-03-27 南京天溯自动化控制系统有限公司 Communication method of equipment under network address translation (NAT) environment
CN103023858A (en) * 2011-09-20 2013-04-03 佳都新太科技股份有限公司 Method for solving normal call under network address translation (NAT) network environment in session initiation protocol (SIP) network system
CN103379182A (en) * 2012-04-19 2013-10-30 阿里巴巴集团控股有限公司 Data transmission method and client sides
CN103702062A (en) * 2013-12-27 2014-04-02 Tcl集团股份有限公司 Audio and video communication method, device and system
CN104125201A (en) * 2013-04-26 2014-10-29 达创科技股份有限公司 Communication transmission system and method
CN104580346A (en) * 2014-09-11 2015-04-29 奇点新源国际技术开发(北京)有限公司 Data transmission method and device
CN105681330A (en) * 2016-02-29 2016-06-15 四川长虹电器股份有限公司 Telecommunication internal network remote access method
CN110138852A (en) * 2019-05-09 2019-08-16 深圳市宏电技术股份有限公司 A kind of long-range connection method, remote connecting device and remotely connect system
CN110192382A (en) * 2018-06-07 2019-08-30 关迟 A network communication method, peer and system
CN110677291A (en) * 2019-09-26 2020-01-10 广州兰德视讯有限公司 Method and device for reducing server load and network bandwidth in multipoint communication
CN112600832A (en) * 2015-05-05 2021-04-02 伊帕莱夫股份公司 Establishing media paths in real-time communications
CN114007193A (en) * 2021-12-31 2022-02-01 亿次网联(杭州)科技有限公司 Communication method and system for distributed network nodes

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531290A (en) * 2003-03-10 2004-09-22 上海傲威通信技术有限公司 Method for realizing realtime multimedia bi-directional communication by NAT
US20050100001A1 (en) * 2003-11-12 2005-05-12 Chung-Fan Liu Routing method and SIP server using the same
CN101369959A (en) * 2007-08-14 2009-02-18 中兴通讯股份有限公司 Network address conversion traversing method supporting point-to-point service
CN101478493A (en) * 2009-02-10 2009-07-08 杭州华三通信技术有限公司 Method and device for NAT through communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531290A (en) * 2003-03-10 2004-09-22 上海傲威通信技术有限公司 Method for realizing realtime multimedia bi-directional communication by NAT
US20050100001A1 (en) * 2003-11-12 2005-05-12 Chung-Fan Liu Routing method and SIP server using the same
CN101369959A (en) * 2007-08-14 2009-02-18 中兴通讯股份有限公司 Network address conversion traversing method supporting point-to-point service
CN101478493A (en) * 2009-02-10 2009-07-08 杭州华三通信技术有限公司 Method and device for NAT through communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《军事通信技术》 20090925 刘镇瑜等 P2P穿越NAT的几种实现方式研究 第37-40页 1-5 第30卷, 第3期 2 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546559A (en) * 2010-12-29 2012-07-04 北京新媒传信科技有限公司 Method, equipment and system for end-to-end transmission of data in challenged network
CN102546559B (en) * 2010-12-29 2015-10-28 北京新媒传信科技有限公司 The method, apparatus and system of end-to-end transmission data in limited network
CN103023858B (en) * 2011-09-20 2015-07-22 佳都新太科技股份有限公司 Method for solving normal call under network address translation (NAT) network environment in session initiation protocol (SIP) network system
CN103023858A (en) * 2011-09-20 2013-04-03 佳都新太科技股份有限公司 Method for solving normal call under network address translation (NAT) network environment in session initiation protocol (SIP) network system
CN103379182A (en) * 2012-04-19 2013-10-30 阿里巴巴集团控股有限公司 Data transmission method and client sides
CN102957750A (en) * 2012-11-14 2013-03-06 四川长虹电器股份有限公司 Remote control method of computers
CN103002041A (en) * 2012-12-17 2013-03-27 南京天溯自动化控制系统有限公司 Communication method of equipment under network address translation (NAT) environment
CN103002041B (en) * 2012-12-17 2015-06-17 南京天溯自动化控制系统有限公司 Communication method of equipment under network address translation (NAT) environment
CN104125201A (en) * 2013-04-26 2014-10-29 达创科技股份有限公司 Communication transmission system and method
CN103702062A (en) * 2013-12-27 2014-04-02 Tcl集团股份有限公司 Audio and video communication method, device and system
CN104580346A (en) * 2014-09-11 2015-04-29 奇点新源国际技术开发(北京)有限公司 Data transmission method and device
CN104580346B (en) * 2014-09-11 2018-06-08 奇点新源国际技术开发(北京)有限公司 Data transmission method and device
CN112600832A (en) * 2015-05-05 2021-04-02 伊帕莱夫股份公司 Establishing media paths in real-time communications
CN112600832B (en) * 2015-05-05 2023-05-19 伊帕莱夫股份公司 Method and system for direct media path rather than through gateway
CN105681330A (en) * 2016-02-29 2016-06-15 四川长虹电器股份有限公司 Telecommunication internal network remote access method
CN110192382A (en) * 2018-06-07 2019-08-30 关迟 A network communication method, peer and system
CN110192382B (en) * 2018-06-07 2021-08-31 关迟 A network communication method, peer and system
CN110138852A (en) * 2019-05-09 2019-08-16 深圳市宏电技术股份有限公司 A kind of long-range connection method, remote connecting device and remotely connect system
CN110677291A (en) * 2019-09-26 2020-01-10 广州兰德视讯有限公司 Method and device for reducing server load and network bandwidth in multipoint communication
CN114007193A (en) * 2021-12-31 2022-02-01 亿次网联(杭州)科技有限公司 Communication method and system for distributed network nodes
CN114007193B (en) * 2021-12-31 2022-05-13 亿次网联(杭州)科技有限公司 Communication method and system for distributed network nodes

Similar Documents

Publication Publication Date Title
CN101834874A (en) Multimedia network communication method capable of penetrating firewall
CN101141420B (en) Method and system for performing data communication between private network and public network
EP2039127B1 (en) Method for enabling communication between two network nodes via a network address translation device (nat)
EP2273722B1 (en) Upnp device for preventing network address conflict in consideration of remote access and method thereof
CN104811371B (en) A kind of brand-new instantaneous communication system
CN103414799B (en) Relay address interoperability methods and terminal and system
CN103108089A (en) Connection establishment management method of network system and related system thereof
CN103763407A (en) Method for achieving address resolution protocol proxy through two-layer virtual local area network and local area network system
CN101431511A (en) Method for establishing online channel between network terminal devices by penetrating firewall
CN101960777B (en) Universal plug and play method and device for providing remote access service
CN102546646A (en) System and method for realizing voice talkback function
US11665132B2 (en) Client-server connections over wide area network
CN105262847B (en) Communication means and system between terminal device
CN101834775A (en) Media stream transmission method, system and user terminal
CN102739815A (en) Method for reducing system time delaying of network address translation of video conference system
CN111314481B (en) Data transmission method, device, equipment and readable storage medium
CN104518959B (en) A kind of method and device of communication between devices
US10204098B2 (en) Method and system to communicate between devices through natural language using instant messaging applications and interoperable public identifiers
CN102035655A (en) Implementation method for end-to-end instant messaging, and end-to-end instant messaging terminal and system
CN101904148B (en) Method and arrangement for network roaming of corporate extension identities
CN103023818A (en) Method and device for media access control forced forwarding of address resolution protocol (ARP) message
CN114710461A (en) Multi-terminal audio and video instant messaging method and system
CN104660728B (en) NAT penetrating methods based on intelligent home control system
CN104168302A (en) Device control realizing method, device control realizing system and proxy gateway
CN109639565B (en) Decentralized instant messaging multi-service node interconnection and intercommunication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100915

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载