WO2013113201A1 - Procédé et dispositif d'acquisition de l'adresse d'un serveur sip - Google Patents

Procédé et dispositif d'acquisition de l'adresse d'un serveur sip Download PDF

Info

Publication number
WO2013113201A1
WO2013113201A1 PCT/CN2012/076821 CN2012076821W WO2013113201A1 WO 2013113201 A1 WO2013113201 A1 WO 2013113201A1 CN 2012076821 W CN2012076821 W CN 2012076821W WO 2013113201 A1 WO2013113201 A1 WO 2013113201A1
Authority
WO
WIPO (PCT)
Prior art keywords
sip server
address
domain name
dns
obtaining
Prior art date
Application number
PCT/CN2012/076821
Other languages
English (en)
Chinese (zh)
Inventor
陈辉
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013113201A1 publication Critical patent/WO2013113201A1/fr

Links

Classifications

    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for obtaining a SIP (Initial Session Protocol) server address.
  • SIP Initial Session Protocol
  • the xPON (passive optical network) home gateway device that is being used gradually is connected to the central office device through the optical fiber, which provides users with wider bandwidth and enables users to enjoy better services.
  • the home gateway device can also replace the traditional voice service.
  • voice calls can be made to implement various voice services.
  • the SIP protocol is used between the voice module of the home gateway device and the SIP server deployed on the network to implement mutual interaction and complete the voice call function, as shown in Figure 1.
  • the SIP server address used by the voice module of the home gateway device is manually configured in advance, and the voice module is connected to the configured fixed SIP server. If the address of the SIP server changes, or if you need to switch to another SIP server, you need to reset the SIP address of the home gateway device. Since the home gateway devices are distributed in different places, it is inconvenient to reset the SIP server address, which brings great trouble to the use of the voice function of the home gateway device. Summary of the invention
  • the main purpose of the present invention is to provide a method and device for obtaining a SIP server address to automatically obtain an address of a SIP server to ensure normal operation of a voice module of a home gateway device.
  • a method for obtaining an initial session protocol SIP server address includes: obtaining an option 120 in a DHCP message of a dynamic host allocation protocol, processing the domain name information, and obtaining domain name information for obtaining a SIP server address;
  • the domain name system DNS request is initiated according to the domain name information used to obtain the SIP server address, and the address of the SIP server is obtained accordingly.
  • the process of processing the domain name information is:
  • the process of initiating a DNS request and obtaining an address of the SIP server includes: invoking a domain name query interface provided by a DNS module of the home gateway device to send a query message for the service location SRV record to the DNS server, and processing the DNS server according to the query The response packet returned by the packet, from which the IP address of the required SIP server is obtained.
  • the voice module of the home gateway device is initialized, and the voice module corresponds to the acquired new SIP server address.
  • the SIP server is built.
  • the home gateway device is configured with a DHCP-type wide area network WAN connection capable of obtaining required information from the OPTION 120 item in the DHCP acknowledgement ACK message.
  • the method further includes:
  • a device for obtaining a SIP server address the device comprising a WAN connection module and a DNS module; wherein
  • the WAN connection module is configured to obtain an OPTION 120 item in a DHCP message, process the domain name information in the DHCP message, and obtain domain name information used to obtain a SIP server address;
  • the DNS module is configured to initiate a DNS request according to the domain name information obtained by the WAN connection module, and obtain an address of the SIP server accordingly.
  • the WAN connection module is configured to: when processing the domain name information: Binary string processing according to the format of the OPTION 120 item to obtain the required domain name.
  • the DNS module is configured to: when initiating a DNS request and obtaining an address of the SIP server:
  • the domain name query interface provided by the DNS module is sent to the DNS server to send an inquiry message for the SRV record, and the DNS server processes the response message returned by the DNS server according to the query message, and obtains the IP address of the required SIP server. .
  • the device further includes a voice module, configured to re-initialize when the DNS module obtains the address of the SIP server;
  • the voice module is further configured to establish a chain with a SIP server corresponding to the acquired new SIP server address.
  • the home gateway device is configured with a DHCP type WAN connection capable of acquiring required information from the OPTION 120 item in the DHCP ACK message; and/or,
  • the home gateway device For the function of obtaining the SIP server address, the home gateway device is provided with a function switch for turning on or off the function.
  • the device is disposed in the home gateway device.
  • the technology for obtaining the address of the SIP server can automatically obtain and update the address of the SIP server, and can also automatically switch the home gateway device to the SIP server corresponding to the address, thereby ensuring the normal operation of the voice module of the home gateway device.
  • FIG. 1 is a schematic diagram of a connection relationship between a voice module of a home gateway device and a SIP server
  • FIG. 2 is a schematic diagram of a SIP module switching of a voice module of a home gateway device according to an embodiment of the present invention
  • FIG. 3 is a flowchart of automatically obtaining an address of a SIP server according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of obtaining an address of a SIP server according to an embodiment of the present invention. detailed description
  • the information provided by the 120 items in the DHCP (Dynamic Host Assignment Protocol) message can be processed to automatically obtain the address of the SIP server, thereby implementing automatic switching between the SIP servers. as shown in picture 2.
  • DHCP Dynamic Host Assignment Protocol
  • ⁇ 120 items are usually composed of binary strings.
  • binary string processing can be performed according to the format of the OPTION 120 item to obtain the required domain name.
  • the corresponding function switch can be set for the above-mentioned acquisition function of the SIP server address to enable or disable this function as needed.
  • a DHCP type WAN (Wide Area Network) connection can be established on the home gateway device to obtain the required information content from the OPTION 120 item in the DHCPACK acknowledgement message.
  • the content of the OPTION 120 item can be parsed by the WAN connection module of the home gateway device, and the domain name information is obtained and sent to the voice module of the home gateway device.
  • the DNS of the home gateway device is invoked.
  • the domain name query interface provided by the (Domain Name System) module sends a query message for the SRV (Service Location) record to the DNS server, and processes the response message returned by the DNS server according to the query message, and obtains the required SIP from the DNS server.
  • the voice module When the address of the new SIP server is obtained through the voice module of the home gateway device, the voice module may be re-initialized, and the voice module and the acquired SIP server corresponding to the new SIP server address are chained to ensure voice call.
  • the function is functioning normally.
  • the home gateway device After the system is initialized, the home gateway device needs to be configured as follows: Enable the function of automatically obtaining the SIP server address.
  • FIG. 3 is a flowchart of automatically obtaining an address of a SIP server according to an embodiment of the present invention, where the process includes the following steps: Step 301: The WAN connection module of the home gateway device initiates a WAN connection request, and sends a request message to the DHCP module of the home gateway device.
  • Step 302 The DHCP module sends a discover message to the DHCP server, where ⁇ 120 request information is added.
  • the OPTION 120 request information may also be carried in other communication messages and sent to the DHCP server.
  • Step 303 The DHCP server sends an offer (provided) message to the DHCP module of the home gateway device.
  • Step 304 The DHCP module of the home gateway device sends a request (Request) message to the DHCP module of the home gateway device, and the ⁇ 120 request information is added to the request message.
  • Step 305 The DHCP server sends an ack packet to the DHCP module of the home gateway device, where the ack packet carries an IP address and 120 items.
  • Step 306 The WAN connection module of the home gateway device obtains the content of the OPTION 120 item from the DHCP module and parses the domain name information.
  • Step 307 The WAN connection module of the home gateway device sends the domain name information to the voice module.
  • Step 308 the voice module adds the prefix of "_sip._udp.” to the received domain name information to obtain the domain name of the SIP server, and invokes the domain name query interface provided by the DNS module according to the domain name;
  • Step 309 the DNS module of the home gateway device Initiating a DNS request according to the domain name information, for example, constructing an inquiry message corresponding to the SRV record of the DNS, and sending the query message to the DNS server;
  • Step 310 The DNS server sends a response packet to the DNS module of the home gateway device, where the packet carries the address of the SIP server that is queried according to the query message.
  • Step 311 After obtaining the response message, the DNS module of the home gateway device parses the IP address of the SIP server, and returns the IP address to the voice module. At this point, the voice module obtains the address of the SIP server. If the address of the SIP server changes, the voice module is initialized, and the voice module establishes a link with the address of the new SIP server.
  • the operation of the present invention for obtaining a SIP server address may represent the process shown in FIG. 4, and the process includes the following steps:
  • Step 410 Obtain ⁇ 120 entries in the DHCP message.
  • Step 420 Process domain name information in the OPTION 120 item, and obtain domain name information used to obtain a SIP server address.
  • Step 430 Initiate a DNS request according to the domain name information used to obtain the SIP server address, and obtain the address of the SIP server accordingly.
  • the method for obtaining the SIP server address can automatically acquire and update the address of the SIP server, and can also automatically switch the home gateway device to the address, whether it is a method or a device such as a home gateway device supporting the method.
  • the corresponding SIP server can ensure the normal operation of the voice module of the home gateway device.

Landscapes

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

Abstract

L'invention concerne un procédé et un dispositif d'acquisition de l'adresse d'un serveur SIP, capables d'acquérir un article OPTION120 dans un paquet DHCP ; de traiter les informations de nom de domaine figurant dans l'article OPTION120 pour obtenir les informations de nom de domaine servant à acquérir l'adresse du serveur SIP ; et de lancer une demande de DNS en fonction des informations de nom de domaine servant à acquérir l'adresse du serveur SIP, acquérant ainsi l'adresse du serveur SIP. La technologie d'acquisition de l'adresse d'un serveur SIP selon la présente invention peut acquérir et mettre à jour automatiquement l'adresse du serveur SIP, et peut également faire passer automatiquement un dispositif de passerelle résidentielle sur le serveur SIP correspondant à l'adresse, garantissant ainsi le fonctionnement normal du module vocal du dispositif de passerelle résidentielle.
PCT/CN2012/076821 2012-01-31 2012-06-13 Procédé et dispositif d'acquisition de l'adresse d'un serveur sip WO2013113201A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210021844.5 2012-01-31
CN201210021844.5A CN103227842B (zh) 2012-01-31 2012-01-31 一种获取sip服务器地址的方法和装置

Publications (1)

Publication Number Publication Date
WO2013113201A1 true WO2013113201A1 (fr) 2013-08-08

Family

ID=48838098

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/076821 WO2013113201A1 (fr) 2012-01-31 2012-06-13 Procédé et dispositif d'acquisition de l'adresse d'un serveur sip

Country Status (2)

Country Link
CN (1) CN103227842B (fr)
WO (1) WO2013113201A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130259879A1 (en) * 2011-02-21 2013-10-03 Curevac Gmbh Vaccine composition comprising complexed immunostimulatory nucleic acids and antigens packaged with disulfide-linked polyethyleneglycol/peptide conjugates
JP2021161993A (ja) * 2020-04-02 2021-10-11 三菱パワー株式会社 制御装置、制御方法及びプログラム

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878313A (zh) * 2017-02-24 2017-06-20 宁波联视网络科技有限公司 云视频协作信令控方法
TWI664847B (zh) * 2017-10-27 2019-07-01 中華電信股份有限公司 會話發起協定閘道器、其發話方法及其受話方法
CN108712516B (zh) * 2018-05-21 2021-04-02 平安科技(深圳)有限公司 获取sip服务器地址的方法、装置、设备和存储介质
CN110445641A (zh) * 2019-07-11 2019-11-12 烽火通信科技股份有限公司 Dns代理服务器的主备切换方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855820A (zh) * 2005-04-29 2006-11-01 华为技术有限公司 一种根据终端类型进行业务发放的方法
CN1859437A (zh) * 2005-04-30 2006-11-08 华为技术有限公司 用户终端获取接入位置信息的方法及用户终端和相应设备
CN1859440A (zh) * 2005-10-20 2006-11-08 华为技术有限公司 基于终端标识发放业务的方法
WO2009104999A1 (fr) * 2008-02-18 2009-08-27 Telefonaktiebolaget L M Ericsson (Publ) Découverte de serveur sip dans un système wlan/ims interfonctionnant

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855820A (zh) * 2005-04-29 2006-11-01 华为技术有限公司 一种根据终端类型进行业务发放的方法
CN1859437A (zh) * 2005-04-30 2006-11-08 华为技术有限公司 用户终端获取接入位置信息的方法及用户终端和相应设备
CN1859440A (zh) * 2005-10-20 2006-11-08 华为技术有限公司 基于终端标识发放业务的方法
WO2009104999A1 (fr) * 2008-02-18 2009-08-27 Telefonaktiebolaget L M Ericsson (Publ) Découverte de serveur sip dans un système wlan/ims interfonctionnant

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130259879A1 (en) * 2011-02-21 2013-10-03 Curevac Gmbh Vaccine composition comprising complexed immunostimulatory nucleic acids and antigens packaged with disulfide-linked polyethyleneglycol/peptide conjugates
US9421255B2 (en) * 2011-02-21 2016-08-23 Curevac Ag Vaccine composition comprising complexed immunostimulatory nucleic acids and antigens packaged with disulfide-linked polyethyleneglycol/peptide conjugates
US10568958B2 (en) 2011-02-21 2020-02-25 Curevac Ag Vaccine composition comprising complexed immunostimulatory nucleic acids and antigens packaged with disulfide-linked polyethyleneglycol/peptide conjugates
JP2021161993A (ja) * 2020-04-02 2021-10-11 三菱パワー株式会社 制御装置、制御方法及びプログラム
US11828225B2 (en) 2020-04-02 2023-11-28 Mitsubishi Heavy Industries, Ltd. Control device, control method, and program
JP7422592B2 (ja) 2020-04-02 2024-01-26 三菱重工業株式会社 制御装置、制御方法及びプログラム

Also Published As

Publication number Publication date
CN103227842A (zh) 2013-07-31
CN103227842B (zh) 2016-09-28

Similar Documents

Publication Publication Date Title
US8787200B2 (en) Device, system, and method for automatically configuring application terminals in home network
US8451826B2 (en) Method, system and apparatus for verifying validity of location information in a packet-switched network
JP4706542B2 (ja) 通信装置
US20050278646A1 (en) Spontaneous discovery of remote service profiles
WO2013113201A1 (fr) Procédé et dispositif d'acquisition de l'adresse d'un serveur sip
RU2010101108A (ru) СПОСОБ И УСТРОЙСТВО ДЛЯ ОБНОВЛЕНИЯ СИСТЕМЫ DNS, ИНИЦИИРУЕМОГО ПОСРЕДСТВОМ ОБЪЯВЛЕНИЯ СОСЕДНЕГО УЗЛА ПО ПРОТОКОЛУ IPv6
JP5331655B2 (ja) 通信システム、制御サーバ
JP2011205642A5 (fr)
WO2015018069A1 (fr) Procédé, dispositif et système pour acquérir un service par un terminal de réseau
WO2010025670A1 (fr) Procédé et dispositif de transmission d’adresse, procédé et dispositif pour établir une connexion, et système de communication
WO2011098039A1 (fr) PROCÉDÉ, SYSTÈME ET DISPOSITIF D'ACQUISITION D'INFORMATION SUR LA CONFIGURATION DE L'IPv6 DANS UN RÉSEAU DE TRANSITION IPv6
EP2765743A1 (fr) Procédé, appareil et système d'interconnexion de la couche 2 basés sur ipv6
JP4186733B2 (ja) 通信システム、端末及びアドレス生成方法
WO2014110737A1 (fr) Procédé, dispositif et système permettant de configurer un dispositif dans un réseau
US7836150B2 (en) Point-to-point communication using UPnP protocol
WO2014117727A1 (fr) Système, appareil et procédé de transfert de supports
WO2017161866A1 (fr) Procédé et dispositif de connexion à un réseau
JP2019518382A5 (fr)
WO2015139397A1 (fr) Procédé d'acquisition de ressources nat64 et appareil d'acquisition/distribution
WO2009024064A1 (fr) Procédé d'accès de client à un serveur tiers, dispositif et son système utilisant le procédé
WO2014090194A1 (fr) Procédé de composition de numéro de dispositif terminal, et dispositif d'accès
EP2999162A1 (fr) Dispositifs d'un réseau local (LAN) de gestion à distance par un serveur d'auto-configuration
KR100650978B1 (ko) 동적 주소 변경 감지에 따른 위치정보 갱신 기능을 가지는홈 네트워크 장치와 홈 네트워크 단말 및 그 방법
JP2010268356A (ja) ゲートウェイ装置、中継方法、中継プログラム及び記録媒体
JP5057124B1 (ja) 通信装置、ルータ、通信システム、並びに通信装置及びルータの制御方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12867049

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12867049

Country of ref document: EP

Kind code of ref document: A1