CN106603984A - Server-free dialing algorithm under visual intercommunication local area network environment - Google Patents

Server-free dialing algorithm under visual intercommunication local area network environment Download PDF

Info

Publication number
CN106603984A
CN106603984A CN201611200132.4A CN201611200132A CN106603984A CN 106603984 A CN106603984 A CN 106603984A CN 201611200132 A CN201611200132 A CN 201611200132A CN 106603984 A CN106603984 A CN 106603984A
Authority
CN
China
Prior art keywords
dialing
mode
server
tcp
sip
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
CN201611200132.4A
Other languages
Chinese (zh)
Other versions
CN106603984B (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.)
SHENZHEN EISEN VAIL TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN EISEN VAIL 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 SHENZHEN EISEN VAIL TECHNOLOGY Co Ltd filed Critical SHENZHEN EISEN VAIL TECHNOLOGY Co Ltd
Priority to CN201611200132.4A priority Critical patent/CN106603984B/en
Publication of CN106603984A publication Critical patent/CN106603984A/en
Application granted granted Critical
Publication of CN106603984B publication Critical patent/CN106603984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • H04N7/186Video door telephones
    • 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/1069Session establishment or de-establishment
    • 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/1104Session initiation protocol [SIP]

Landscapes

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

Abstract

The invention discloses a server-free dialing algorithm under a visual intercommunication local area network environment; more than one visual intercommunication outdoor unit, a wireless router, more than one mobile phone and more than one visual intercommunication indoor unit can form a visible dialogue system; if all terminals are in a same LAN environment, dialing dialogue can be realized between the terminals without changing a dialing mode and using the server; in dialing, the system can automatically select a server dialing mode or a server-free dialing mode. The communication algorithm using TCP and small amount of multicast can allow conversational both parties to realize dialing dialogue under the same LAN without using a server and changing the dialing mode; the multicast and TCP mixed communication mode can maximumly prevent communication packet loss problems caused by using only the multicast mode; in dialing, the system can automatically identify the LAN and an external network environment, thus automatically selecting the optical mode for dialing.

Description

A kind of algorithm that serverless backup dialing is carried out under video intercom LAN environment
Technical field
The present invention relates to computer realm, and in particular to one kind carries out serverless backup under video intercom LAN environment and dials Number algorithm.
Background technology
Video intercom has self-defining communication protocol based on TCP/IP, this kind of video intercom, also has s ip etc. famous Communication protocol, no matter using what communication protocol, visible dialogue system is generally provided with server to manage account, number simultaneously Call terminal is assisted to carry out audio/video flow transmission.In the case where communicating without server or server, call terminal energy It is enough to be dialled by manually entering ip addresses, but do so is difficult to know and remember the ip addresses of other side, not to mention have A little terminals ip addresses of starting shooting every time all can change.
Can there is shortcoming described below in above-mentioned visible dialogue system:
First, dialing intercommunication cannot be carried out by number in the case of without server;
2nd, other side ip addresses can be obtained by specific process, then dialing intercommunication is carried out with ip addresses, but this method is not General, sometimes other side ip addresses are changes;
3rd, with pure multicast mode dynamic access other party number, then dialing intercommunication is carried out with ip addresses, cast communication is adopted UDP modes, UDP communication modes have certain packet loss in communication environments such as WIFI, so as to cause dialing failure.
The content of the invention
The technical problem to be solved is to provide one kind by server, adopts TCP in LAN and coordinates The communication mode of a small amount of multicast is by the algorithm that dialing intercommunication is carried out between terminal.
The present invention is achieved through the following technical solutions:One kind is carried out without service under video intercom LAN environment The algorithm of device dialing, by the video intercom off-premises station of more than, wireless router, the mobile phone of more than and more than one Visual intercommunicating indoor set composition visible dialogue system;
If all terminals are in same LAN environment, then not by server, dial mode is constant, between terminal Dialing intercommunication can be carried out, during dialing, system automatically selects the dial mode with or without server, and sip phone loops are described below The implementation method and step of program under border:
(1) a particular port is monitored with tcp services when dialing party starts, is sent with specific multicast mode during dialing and is connect The sip numbers of the side of listening and the ip address informations of itself;
(2) all sides of answering add in advance specific multicast, be received in compliance with the side of answering of the number itself ip address with Response to dialing party, the side of answering gets dialing party to sip listening ports information tcp modes in the cast communication for starting Tcp information on services;
(3) dialing party builds special sip numbers, such as " sip in tcp services with the ip addresses and port numbers that receive: 192.168.1.111:5060;
(4) local dialing, the similar routine dial mode of subsequent process are carried out with above-mentioned number;
(5) when dialling, internal system first attempts to use serverless backup mode, makes again when certain time-out cannot dial With there is server dial mode.
The invention has the beneficial effects as follows:By the present invention in that with TCP and coordinating the communication of algorithms of a small amount of multicast, solve following Problem:
(1) in the case of without server, both call sides can also carry out dialing intercommunication, and dialing party under LAN Formula constant (without being input into ip addresses);
(2) with multicast and TCP mixed communication modes, avoid to greatest extent all with the communication packet loss problem of multicast mode;
(3) when dialling, system automatic identification LAN, outer network environment are dialled from optimum way automatically.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the system diagram of the present invention.
Specific embodiment
All features disclosed in this specification, or disclosed all methods or during the step of, except mutually exclusive Feature and/or step beyond, can combine by any way.
Any feature disclosed in this specification (including any accessory claim, summary and accompanying drawing), except non-specifically is chatted State, can alternative features equivalent by other or with similar purpose replaced.I.e., unless specifically stated otherwise, each feature It is an example in a series of equivalent or similar characteristics.
As shown in figure 1, mobile phone, visual intercommunicating indoor set, video intercom off-premises station are all the call ends of visible dialogue system End.If all terminals are in same LAN environment, then not by server, dial mode is constant (without manually inputting ip Address), dialing intercommunication can also be carried out between terminal, during dialing, system automatically selects the dial mode with or without server, under Face describes the implementation method and step of program under sip telephony environments:
A particular port is monitored with tcp services when dialing party starts, the side of answering is sent with specific multicast mode during dialing Sip numbers and the ip address informations of itself, the prior addition specific multicast in all sides of answering, be received in compliance with the side of answering of the number Itself ip address and sip listening ports information, with tcp modes, response to dialing party, (side of answering is in the cast communication for starting Get dialing party tcp information on services), dialing party builds special sip in tcp services with the ip addresses and port numbers that receive Number (such as " sip:192.168.1.111:5060 "), local dialing is then carried out with this number, subsequent process is similar conventional to be dialled Number mode.
During dialing, internal system is first attempted using serverless backup mode, and when certain time-out cannot dial clothes have been reused Business device dial mode.
The invention has the beneficial effects as follows:By the present invention in that with TCP and coordinate the communication of algorithms of a small amount of multicast, without clothes In the case of business device, both call sides can also carry out dialing intercommunication under LAN, and dial mode is constant;
With multicast and TCP mixed communication modes, avoid to greatest extent all with the communication packet loss problem of multicast mode, dialing When, system automatic identification LAN, outer network environment are dialled from optimum way automatically.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any The change or replacement expected without creative work, all should be included within the scope of the present invention.Therefore, it is of the invention The protection domain that protection domain should be limited by claims is defined.

Claims (1)

1. a kind of algorithm that serverless backup dialing is carried out under video intercom LAN environment, it is characterised in that:By more than one Video intercom off-premises station, wireless router, the visual intercommunicating indoor set composition of the mobile phone of more than and more than Visible dialogue system;
If all terminals are in same LAN environment, then not by server, dial mode is constant, can also between terminal Dialing intercommunication is carried out, during dialing, system automatically selects the dial mode with or without server, under sip telephony environments are described below The implementation method and step of program:
(1) particular port is monitored with tcp services when dialing party starts, the side of answering is sent with specific multicast mode during dialing Sip numbers and the ip address informations of itself;
(2) all sides of answering add in advance specific multicast, and itself ip address and sip are supervised by the side of answering for being received in compliance with the number Listen port number information tcp mode response to dialing party, the side of answering gets dialing party tcp services in the cast communication for starting Information;
(3) dialing party builds special sip numbers, such as " sip in tcp services with the ip addresses and port numbers that receive: 192.168.1.111:5060;
(4) local dialing, the similar routine dial mode of subsequent process are carried out with above-mentioned number;
(5) when dialling, internal system first attempts to use serverless backup mode, has reused when certain time-out cannot dial Server dial mode.
CN201611200132.4A 2016-12-22 2016-12-22 A method of carrying out serverless backup dialing under video intercom LAN environment Active CN106603984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611200132.4A CN106603984B (en) 2016-12-22 2016-12-22 A method of carrying out serverless backup dialing under video intercom LAN environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611200132.4A CN106603984B (en) 2016-12-22 2016-12-22 A method of carrying out serverless backup dialing under video intercom LAN environment

Publications (2)

Publication Number Publication Date
CN106603984A true CN106603984A (en) 2017-04-26
CN106603984B CN106603984B (en) 2019-06-14

Family

ID=58602743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611200132.4A Active CN106603984B (en) 2016-12-22 2016-12-22 A method of carrying out serverless backup dialing under video intercom LAN environment

Country Status (1)

Country Link
CN (1) CN106603984B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805396A (en) * 2006-01-20 2006-07-19 杭州华为三康技术有限公司 Method for implementing network access through broadband router
US20070274327A1 (en) * 2006-05-23 2007-11-29 Kari Kaarela Bridging between AD HOC local networks and internet-based peer-to-peer networks
CN101478835A (en) * 2009-01-09 2009-07-08 深圳信息职业技术学院 VoWLAN system based on 1X EvDO-WiFi wireless router
CN101577808A (en) * 2008-05-07 2009-11-11 程维成 Visible tackback capable of transmitting advertising information and transmitting method thereof
US7702726B1 (en) * 2002-04-10 2010-04-20 3Com Corporation System and methods for providing presence services in IP network
US7826442B2 (en) * 2006-11-28 2010-11-02 Samsung Electronics Co., Ltd. VoIP terminal supporting optimal intercom service and session connecting method thereof
CN103957391A (en) * 2014-05-23 2014-07-30 无锡矽太恒科电子有限公司 Method and system for displaying videos of all parties at same time during multi-party call in video intercom
CN104837076A (en) * 2015-04-03 2015-08-12 深圳市安恩达科技有限公司 Building talk-back information system and interaction method thereof
CN204787032U (en) * 2015-06-03 2015-11-18 陕西华汇能源科技有限公司 Household central air -conditioner
CN105245597A (en) * 2015-10-09 2016-01-13 深圳电器公司 Communication method and device
CN105451001A (en) * 2015-12-31 2016-03-30 慧锐通智能科技股份有限公司 Visible dialogue system and method based on cloud technology
US20160277261A9 (en) * 2006-12-29 2016-09-22 Prodea Systems, Inc. Multi-services application gateway and system employing the same

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702726B1 (en) * 2002-04-10 2010-04-20 3Com Corporation System and methods for providing presence services in IP network
CN1805396A (en) * 2006-01-20 2006-07-19 杭州华为三康技术有限公司 Method for implementing network access through broadband router
US20070274327A1 (en) * 2006-05-23 2007-11-29 Kari Kaarela Bridging between AD HOC local networks and internet-based peer-to-peer networks
US7826442B2 (en) * 2006-11-28 2010-11-02 Samsung Electronics Co., Ltd. VoIP terminal supporting optimal intercom service and session connecting method thereof
US20160277261A9 (en) * 2006-12-29 2016-09-22 Prodea Systems, Inc. Multi-services application gateway and system employing the same
CN101577808A (en) * 2008-05-07 2009-11-11 程维成 Visible tackback capable of transmitting advertising information and transmitting method thereof
CN101478835A (en) * 2009-01-09 2009-07-08 深圳信息职业技术学院 VoWLAN system based on 1X EvDO-WiFi wireless router
CN103957391A (en) * 2014-05-23 2014-07-30 无锡矽太恒科电子有限公司 Method and system for displaying videos of all parties at same time during multi-party call in video intercom
CN104837076A (en) * 2015-04-03 2015-08-12 深圳市安恩达科技有限公司 Building talk-back information system and interaction method thereof
CN204787032U (en) * 2015-06-03 2015-11-18 陕西华汇能源科技有限公司 Household central air -conditioner
CN105245597A (en) * 2015-10-09 2016-01-13 深圳电器公司 Communication method and device
CN105451001A (en) * 2015-12-31 2016-03-30 慧锐通智能科技股份有限公司 Visible dialogue system and method based on cloud technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
巫立华.: "基于IP网络的家庭医疗智能终端可视对讲系统的研发", 《中国硕士研究生优秀毕业论文库》 *
腾旺,刘金石.: "一种多方式远程控制门禁系统的构想与实现", 《软件导刊》 *

Also Published As

Publication number Publication date
CN106603984B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
US7965706B2 (en) Communication control apparatus
US20080081627A1 (en) Automated reconnection of interrupted voice call session
CN102546998A (en) Communication method fusing voice over Internet phone (VoIP) technology with telecommunication network voice call technology
US20080253548A1 (en) Systems and Methods for Facilitating Teleconferencing without Pre-Reservation of Conference Resources
KR100473722B1 (en) pervasive voice handset system
US20030118003A1 (en) Private communications network including connected public communications devices and method of operation thereof
US20120263170A1 (en) System and method for switching between public switched telephone networks and voice over internet protocol networks
CN101360213B (en) Method and apparatus for caller audio and video transmission before incoming call answering for visual telephone service
CN109218542B (en) Method, apparatus and computer-readable storage medium for call management
CN1288874C (en) PHS system authentication method
CN111787496A (en) Method and equipment for switching calls between mobile phones
CN102355713A (en) Calling method in voice communication and mobile terminal
CN104469034A (en) Call forwarding method and system
WO2016177010A1 (en) System combining adsl wireless router with telephone system processor
CN105959498A (en) Communication method and system based on customer service system
CN106603984A (en) Server-free dialing algorithm under visual intercommunication local area network environment
JP3206362U (en) IP phone system
CN105120524A (en) Method for establishing communication connection and electronic device
CN103179691A (en) Fixed-line telephone mobile device and system
CN110505356A (en) System is established in call method for building up and call
CN104506409A (en) Router and method for controlling voice communication in instant messaging tool of router
CN102625270B (en) Method and system capable of achieving one-phone multi-number function based on client software mode
US20050249147A1 (en) Wireless network telecommunications system
TWI617174B (en) Network telephone system
KR100608625B1 (en) Selective call method by call group of Internet phone

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