CN103297564A - Method for automatically switching address of external proxy server - Google Patents
Method for automatically switching address of external proxy server Download PDFInfo
- Publication number
- CN103297564A CN103297564A CN201310275783XA CN201310275783A CN103297564A CN 103297564 A CN103297564 A CN 103297564A CN 201310275783X A CN201310275783X A CN 201310275783XA CN 201310275783 A CN201310275783 A CN 201310275783A CN 103297564 A CN103297564 A CN 103297564A
- Authority
- CN
- China
- Prior art keywords
- address
- proxy server
- domain name
- external proxy
- registration
- 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
Links
Images
Abstract
The invention relates to the field of network voice communication terminals, in particular to a method for automatically switching an address of an external proxy server. In step 4, if a domain name address of the external proxy server is not a domain name, an IP (internet protocol) address is used for registration, and if registration succeeds, calling is made. In step 5, if the registration of the address fails or no response is received during calling, the address of the external proxy server is switched; if a plurality of IP addresses are stored, the address is switched to the next, but if the currently-used address is the last one, domain name resolution is performed again to acquire the address. The method has the advantages that when one external proxy server breaks down, the address of the external proxy server is not required to be configured and modified manually, so that the circumstance that all the agent equipment cannot be used due to failure of one external proxy server is avoided.
Description
Technical field
The present invention relates to network voice communication (voice over internet protocol is called for short VOIP) terminal field, relate in particular to a kind of method of the external proxy server address of automaticallying switch.
Background technology
Along with popularizing of communication and network, this talking mode that is different from traditional public switched telephone network (Public Switched Telephone Network is called for short PSTN) of VOIP has obtained increasing application chance.Particularly under the policy of country " light advances copper and moves back " and country's " unification of three nets " was guided, the VOIP technology had obtained unprecedented development opportunity, and the VOIP phone also begins to enter huge numbers of families.
The VOIP phone is the function that realizes by principal and subordinate's form, will register to server earlier before use, only under situation about succeeding in registration, a series of associative operation such as just can call.All directly be sent to registrar and acting server if register and call, then the task of this two server is just heavy especially, in order to alleviate the task of this two server, then sets an external proxy server in a specific region and handles this type of event.When we initiate registration and call out, send to external proxy server earlier, handled by external proxy server again, transmit.The final realization registered and called out.
In present practical application, as Fig. 1, this external proxy server address, all be to use with the form of domain name, after setting, just be inconvenient to change, if run under the situation that acting server breaks down, then by this external proxy server agency's all devices cisco unity malfunction all, influence big especially.May have standby external proxy server or have other external proxy server to exist this time, if the normal merit work of the equipment that will use this section can only be served the product configuration item by manually going the external agent who revises each client.
Summary of the invention
The object of the present invention is to provide a kind of method of the external proxy server address of automaticallying switch, solved and be inconvenient to change the problem that the coverage that breaks down is too big after present external proxy server address sets.
For addressing the above problem, the technical solution used in the present invention is:
A kind of method of the external proxy server address of automaticallying switch may further comprise the steps:
Step 1 disposes a fixed outer acting server domain name addresses that can parse a plurality of IP;
Step 2 judges whether the external proxy server domain name addresses is domain name;
Step 3 if the external proxy server domain name addresses is domain name, is then carried out address resolution to domain name, chooses the address of limit priority as the external proxy server address that is used for initiating registration;
Step 4 if the external proxy server domain name addresses is not domain name, is then gone registration with this IP address, if succeed in registration, makes a call;
Step 5 if address registration is failed or do not obtained responding, is then carried out the external proxy server address switchover when making a call, the IP address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then carries out domain name mapping again and obtain the address.
Further technical scheme is, in the described step 3, it is unsuccessful that domain name is carried out address resolution, then carry out the external proxy server address switchover, the external agent address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then switch to first external proxy server address again.
The method that a kind of VOIP terminal system automatic switchover external proxy server is initiated registration and called out may further comprise the steps:
Step 1 disposes a fixed outer acting server domain name addresses that can parse a plurality of IP;
Step 2 judges whether the external proxy server domain name addresses is domain name;
Step 3, if the external proxy server domain name addresses is domain name, then domain name is carried out address resolution and the priority orders of a plurality of IP address of this domain name correspondence when returning preserved, choose the address of limit priority as the external proxy server address that is used for initiating registration;
Step 4 if the external proxy server domain name addresses is not domain name, is then gone registration with this IP address, if succeed in registration, makes a call;
Step 5, if address registration is failed or is not obtained responding when making a call, if this moment, IP also had remaining IP address to use in lining up, if have then from tabulation, obtain next IP address and be set to current external proxy server address, do not switch if then carry out external proxy server, the IP address of preserving this moment has a plurality of, then switches to the next one, if the address of using has been last now, then carries out domain name mapping again and obtain the address.
Further technical scheme is, in the described step 3, it is unsuccessful that domain name is carried out address resolution, then carry out the external proxy server address switchover, the external agent address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then switch to first external proxy server address again.
The beneficial effect that adopts technique scheme to produce is: the present invention can be therein under external proxy server situation about breaking down, manually configure is revised the external proxy server address, but the mode by domain name, allow a fixed domain name address resolution become a plurality of IP, when a corresponding acting server of IP breaks down, can switch to next IP address automatically registers and makes a call, can not influence client's normal use like this, avoided making all out of use problems of its all devices of acting on behalf of because an external proxy server breaks down.Description of drawings
Fig. 1 is the schematic flow sheet that a kind of VOIP terminal system automatic switchover external proxy server is initiated the method for registration and calling.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
Embodiment of method of a kind of external proxy server address of automaticallying switch according to the present invention: a kind of method of the external proxy server address of automaticallying switch may further comprise the steps:
Step 1 disposes a fixed outer acting server domain name addresses that can parse a plurality of IP;
Step 2 judges whether the external proxy server domain name addresses is domain name;
Step 3 if the external proxy server domain name addresses is domain name, is then carried out address resolution to domain name, chooses the address of limit priority as the external proxy server address that is used for initiating registration;
Step 4 if the external proxy server domain name addresses is not domain name, is then gone registration with this IP address, if succeed in registration, makes a call;
Step 5 if address registration is failed or do not obtained responding, is then carried out the external proxy server address switchover when making a call, the IP address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then carries out domain name mapping again and obtain the address.
Another embodiment of a kind of method of the external proxy server address of automaticallying switch according to the present invention, in the described step 3, it is unsuccessful that domain name is carried out address resolution, then carry out the external proxy server address switchover, the external agent address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then switch to first external proxy server address again.Here the external agent address may have a plurality ofly, and address style may be IP, also may be domain name, if domain name, can resolve when then resolving in the back becomes a plurality of IP, if IP then can not carry out domain name mapping, the back by that analogy.
Show the method that a kind of VOIP terminal system of the present invention automatic switchover external proxy server is initiated registration and called out as Fig. 1, may further comprise the steps:
Step 1 disposes a fixed outer acting server domain name addresses that can parse a plurality of IP;
Step 2 judges whether the external proxy server domain name addresses is domain name;
Step 3, if the external proxy server domain name addresses is domain name, then domain name is carried out address resolution and the priority orders of a plurality of IP address of this domain name correspondence when returning preserved, choose the address of limit priority as the external proxy server address that is used for initiating registration;
Step 4 if the external proxy server domain name addresses is not domain name, is then gone registration with this IP address, if succeed in registration, makes a call;
Step 5, if address registration is failed or is not obtained responding when making a call, if this moment, IP also had remaining IP address to use in lining up, if have then from tabulation, obtain next IP address and be set to current external proxy server address, do not switch if then carry out external proxy server, the IP address of preserving this moment has a plurality of, then switches to the next one, if the address of using has been last now, then carries out domain name mapping again and obtain the address.
Further technical scheme is, in the described step 3, it is unsuccessful that domain name is carried out address resolution, then carry out the external proxy server address switchover, it is unsuccessful that domain name is carried out address resolution, then carries out the external proxy server address switchover, the external agent address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then switch to first external proxy server address again.
Claims (4)
1. method of external proxy server address that automaticallyes switch is characterized in that: may further comprise the steps:
Step 1 disposes a fixed outer acting server domain name addresses that can parse a plurality of IP;
Step 2 judges whether the external proxy server domain name addresses is domain name;
Step 3 if the external proxy server domain name addresses is domain name, is then carried out address resolution to domain name, chooses the address of limit priority as the external proxy server address that is used for initiating registration;
Step 4 if the external proxy server domain name addresses is not domain name, is then gone registration with this IP address, if succeed in registration, makes a call;
Step 5 if address registration is failed or do not obtained responding, is then carried out the external proxy server address switchover when making a call, the IP address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then carries out domain name mapping again and obtain the address.
2. the method for a kind of external proxy server address of automaticallying switch according to claim 1, it is characterized in that: in the described step 3, it is unsuccessful that domain name is carried out address resolution, then carry out the external proxy server address switchover, the external agent address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then switch to first external proxy server address again.
3. the VOIP terminal system automatic switchover external proxy server method initiating registration and call out is characterized in that:
May further comprise the steps:
Step 1 disposes a fixed outer acting server domain name addresses that can parse a plurality of IP;
Step 2 judges whether the external proxy server domain name addresses is domain name;
Step 3, if the external proxy server domain name addresses is domain name, then domain name is carried out address resolution and the priority orders of a plurality of IP address of this domain name correspondence when returning preserved, choose the address of limit priority as the external proxy server address that is used for initiating registration;
Step 4 if the external proxy server domain name addresses is not domain name, is then gone registration with this IP address, if succeed in registration, makes a call;
Step 5, if address registration is failed or is not obtained responding when making a call, if this moment, IP also had remaining IP address to use in lining up, if have then from tabulation, obtain next IP address and be set to current external proxy server address, do not switch if then carry out external proxy server, the IP address of preserving this moment has a plurality of, then switches to the next one, if the address of using has been last now, then carries out domain name mapping again and obtain the address.
4. a kind of VOIP terminal system according to claim 3 is initiated the method for registration and calling to external proxy server, it is characterized in that: in the described step 3, it is unsuccessful that domain name is carried out address resolution, then carry out the external proxy server address switchover, the external agent address that preserve this moment has a plurality of, then switch to the next one, if the address of using has been last now, then switch to first external proxy server address again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310275783.XA CN103297564B (en) | 2013-07-03 | 2013-07-03 | A kind of method of external proxy server address of automatically switching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310275783.XA CN103297564B (en) | 2013-07-03 | 2013-07-03 | A kind of method of external proxy server address of automatically switching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103297564A true CN103297564A (en) | 2013-09-11 |
CN103297564B CN103297564B (en) | 2016-12-28 |
Family
ID=49097864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310275783.XA Active CN103297564B (en) | 2013-07-03 | 2013-07-03 | A kind of method of external proxy server address of automatically switching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103297564B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092785A (en) * | 2014-06-05 | 2014-10-08 | 汉柏科技有限公司 | Method for domain name registration and resolution, and resource access method and resource access device based on domain name |
CN104320488A (en) * | 2014-11-11 | 2015-01-28 | 携程计算机技术(上海)有限公司 | Proxy server system and proxy service method |
CN105450593A (en) * | 2014-08-07 | 2016-03-30 | 青岛海尔智能家电科技有限公司 | Method and device for registration |
CN109743197A (en) * | 2018-12-24 | 2019-05-10 | 中信百信银行股份有限公司 | A kind of firewall deployment system and method based on priority configuration |
CN110995542A (en) * | 2019-12-16 | 2020-04-10 | 金蝶智慧科技(深圳)有限公司 | Network state detection method, system and related equipment |
CN111414208A (en) * | 2020-03-13 | 2020-07-14 | 百度在线网络技术(北京)有限公司 | Application program starting method, device and equipment |
CN114465982A (en) * | 2021-11-12 | 2022-05-10 | 中山大学 | Autonomous defense method and device for disappearing risk of authoritative domain name |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631133A (en) * | 2008-07-15 | 2010-01-20 | 华为技术有限公司 | Domain name analyzing system, equipment and method |
CN101764739A (en) * | 2008-12-23 | 2010-06-30 | 康佳集团股份有限公司 | Mobile management system based on mobile network |
CN102111406A (en) * | 2010-12-20 | 2011-06-29 | 杭州华三通信技术有限公司 | Authentication method, system and DHCP proxy server |
US20110295940A1 (en) * | 2010-06-01 | 2011-12-01 | Qualcomm Incorporated | Fallback procedures for domain name server update in a mobile ip registration |
CN102624920A (en) * | 2012-03-31 | 2012-08-01 | 奇智软件(北京)有限公司 | Method and device for performing access through proxy server |
-
2013
- 2013-07-03 CN CN201310275783.XA patent/CN103297564B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631133A (en) * | 2008-07-15 | 2010-01-20 | 华为技术有限公司 | Domain name analyzing system, equipment and method |
CN101764739A (en) * | 2008-12-23 | 2010-06-30 | 康佳集团股份有限公司 | Mobile management system based on mobile network |
US20110295940A1 (en) * | 2010-06-01 | 2011-12-01 | Qualcomm Incorporated | Fallback procedures for domain name server update in a mobile ip registration |
CN102111406A (en) * | 2010-12-20 | 2011-06-29 | 杭州华三通信技术有限公司 | Authentication method, system and DHCP proxy server |
CN102624920A (en) * | 2012-03-31 | 2012-08-01 | 奇智软件(北京)有限公司 | Method and device for performing access through proxy server |
Non-Patent Citations (1)
Title |
---|
王洪涛: "《代理服务器的组建、维护与管理技术》", 《电脑知识与技术》, vol. 5, no. 26, 30 September 2009 (2009-09-30) * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092785A (en) * | 2014-06-05 | 2014-10-08 | 汉柏科技有限公司 | Method for domain name registration and resolution, and resource access method and resource access device based on domain name |
CN105450593A (en) * | 2014-08-07 | 2016-03-30 | 青岛海尔智能家电科技有限公司 | Method and device for registration |
CN105450593B (en) * | 2014-08-07 | 2018-09-25 | 青岛海尔智能家电科技有限公司 | A kind of method and apparatus for registration |
CN104320488A (en) * | 2014-11-11 | 2015-01-28 | 携程计算机技术(上海)有限公司 | Proxy server system and proxy service method |
CN109743197A (en) * | 2018-12-24 | 2019-05-10 | 中信百信银行股份有限公司 | A kind of firewall deployment system and method based on priority configuration |
CN109743197B (en) * | 2018-12-24 | 2022-07-01 | 中信百信银行股份有限公司 | Firewall deployment system and method based on priority configuration |
CN110995542A (en) * | 2019-12-16 | 2020-04-10 | 金蝶智慧科技(深圳)有限公司 | Network state detection method, system and related equipment |
CN110995542B (en) * | 2019-12-16 | 2022-04-22 | 金蝶智慧科技(深圳)有限公司 | Network state detection method, system and related equipment |
CN111414208A (en) * | 2020-03-13 | 2020-07-14 | 百度在线网络技术(北京)有限公司 | Application program starting method, device and equipment |
CN111414208B (en) * | 2020-03-13 | 2023-08-01 | 百度在线网络技术(北京)有限公司 | Application program starting method, device and equipment |
CN114465982A (en) * | 2021-11-12 | 2022-05-10 | 中山大学 | Autonomous defense method and device for disappearing risk of authoritative domain name |
Also Published As
Publication number | Publication date |
---|---|
CN103297564B (en) | 2016-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103297564A (en) | Method for automatically switching address of external proxy server | |
US7558254B2 (en) | Method and apparatus for call routing via gateway brokering | |
US20080186955A1 (en) | Systems, methods, and computer program products for registering enhanced 911 (e911) information using the session initiation protocol (sip) | |
WO2015124045A1 (en) | Channel establishing method and apparatus | |
US8693464B2 (en) | Method and apparatus for processing calls | |
US20200153874A1 (en) | Voice Service Restoration After IMS Element Failure | |
EP3348046A1 (en) | Method and system for routing of inbound toll-free communications | |
CN104426816B (en) | A kind of virtual machine communication method and device | |
CN103891255A (en) | A method for SIP proxy failover | |
CN103813038B (en) | A kind of method realizing multiple VOIP service by single voice physical port | |
WO2018161827A1 (en) | Address self-learning method and device, and switch | |
US10819856B2 (en) | Systems and methods for identifying virtual communication platform users | |
CN105791456B (en) | Device, system and method for realizing mobile terminal addressing between circuit domain and packet domain | |
CN109769242A (en) | Communication means, system, MMTel and computer readable storage medium | |
US20130185409A1 (en) | Method and system for determining ip bearer optimization based on virtual media gateway | |
CN103414715B (en) | A kind of method that VOIP phone serves as SIP-Server | |
CN110784943B (en) | Processing method and device for VoWiFi voice service disconnection and reconnection | |
US7885253B2 (en) | Synchronization of session-initiation-protocol proxy databases | |
CN106161817B (en) | Communication method and communication system based on VOIP platform | |
CN107302485B (en) | Method, equipment and device for interconnecting equipment in different networks | |
CN106063220B (en) | A kind of voice service register method and digital terminal | |
CN103166967A (en) | Centerless exchange communication system and communication method thereof | |
CN106686570A (en) | Terminal trunking registration method, device, system and core network device | |
WO2015070556A1 (en) | Method for transmitting information using service broker and service broker | |
CN108833434B (en) | Method for realizing cross-network video call system based on IP bidirectional network set top box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |