JP6583833B2 - Server apparatus and communication method - Google Patents

Server apparatus and communication method Download PDF

Info

Publication number
JP6583833B2
JP6583833B2 JP2017197071A JP2017197071A JP6583833B2 JP 6583833 B2 JP6583833 B2 JP 6583833B2 JP 2017197071 A JP2017197071 A JP 2017197071A JP 2017197071 A JP2017197071 A JP 2017197071A JP 6583833 B2 JP6583833 B2 JP 6583833B2
Authority
JP
Japan
Prior art keywords
unit
router
terminal
address
smartphone
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.)
Active
Application number
JP2017197071A
Other languages
Japanese (ja)
Other versions
JP2018050302A (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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management 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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2017197071A priority Critical patent/JP6583833B2/en
Publication of JP2018050302A publication Critical patent/JP2018050302A/en
Application granted granted Critical
Publication of JP6583833B2 publication Critical patent/JP6583833B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Interconnected Communication Systems, Intercoms, And Interphones (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、サーバー装置、および、通信方法に関する。   The present invention relates to a server device and a communication method.

従来、住宅等において、例えば、宅外の玄関先に設置された玄関子機(以下、単に「子機」という)と、子機に接続される宅内の宅内親機(以下、単に「親機」という)とからなるドアホンシステムが一般に普及している。   2. Description of the Related Art Conventionally, in homes and the like, for example, an entrance slave unit (hereinafter simply referred to as “slave unit”) installed at a front door outside the home and a home master unit (hereinafter simply referred to as “master unit”) connected to the slave unit. The door phone system consisting of

近年、情報通信技術の発展に伴い、上記のようなドアホンシステムを発展させたシステムが検討されている。例えば、子機から呼び出しがあったときに、宅内が不在であると、親機が予め登録された携帯端末に子機からの呼び出しを転送し、子機と携帯端末との通話を転送するシステムが検討されている(例えば、特許文献1参照)。   In recent years, with the development of information communication technology, a system in which the above door phone system is developed has been studied. For example, when a call is made from a child device, if the home is absent, the parent device transfers the call from the child device to a pre-registered portable terminal and transfers the call between the child device and the portable terminal (For example, refer to Patent Document 1).

特許文献1には、親機がアダプタおよびルーターを介してインターネット等の公衆網に接続され、また、携帯電話機が公衆網に接続されるシステムであって、不在時に子機からの呼び出しがあった場合、子機と携帯電話機とが、親機、アダプタ、ルーター等を介して通信可能となるシステムが開示されている。   Patent Document 1 is a system in which a parent device is connected to a public network such as the Internet via an adapter and a router, and a mobile phone is connected to the public network, and there is a call from a child device in the absence. In this case, a system is disclosed in which a slave unit and a mobile phone can communicate with each other via a master unit, an adapter, a router, and the like.

特開2014−200056号公報JP 2014-200056 A

携帯電話機のユーザーが車または電車等で移動中である場合、一般的な移動体通信システムでは、携帯電話機が接続するルーター(無線基地局)が切り替わり、切り替わった先のルーターがそれまでの通信を引き継ぐハンドオーバーが行われる。しかしながら、上述した特許文献1に開示のシステムでは、親機と携帯電話機との通信中におけるハンドオーバーについては検討されていなかった。   When a mobile phone user is moving by car or train, in a general mobile communication system, the router (wireless base station) to which the mobile phone is connected is switched, and the router to which the switch is made communicates up to that point. Handing over is performed. However, in the system disclosed in Patent Document 1 described above, handover during communication between the parent device and the mobile phone has not been studied.

本発明の目的は、ドアホン親機と宅外の携帯端末装置とが通信中にハンドオーバーを行うサーバー装置、および、通信方法を提供することである。   An object of the present invention is to provide a server device and a communication method for performing a handover during communication between a doorphone parent device and a portable terminal device outside the home.

本発明の一態様に係るサーバー装置は、携帯端末装置に第1のルータを介して、音声データおよび/または映像データを含むメディアデータを送信し、前記メディアデータの送信中に、前記携帯端末装置から定期的に送信されるIPアドレス通知を前記第1のルータを介して受信し、前記携帯端末装置が移動したことによって前記第1のルータから前記第1のルータとは異なる第2のルータにハンドオーバーした場合、前記第2のルータを介して受信した前記IPアドレス通知に含まれるIPアドレスを用いて前記第2のルータを特定し、前記携帯端末装置に前記第2のルータを介して前記メディアデータを送信する構成を採る。 The server device according to an aspect of the present invention transmits media data including audio data and / or video data to the mobile terminal device via the first router, and the mobile terminal device during the transmission of the media data The IP address notification periodically transmitted from the first router is received via the first router, and the portable terminal device moves to the second router different from the first router due to the movement. When a handover is performed, the second router is identified using the IP address included in the IP address notification received via the second router, and the portable terminal device is identified via the second router. A configuration for transmitting media data is adopted.

本発明の一態様に係る通信方法は、サーバー装置は、携帯端末装置に第1のルータを介して、音声データおよび/または映像データを含むメディアデータを送信し、前記サーバー装置は、前記メディアデータの送信中に、前記携帯端末装置から定期的に送信されるIPアドレス通知を前記第1のルータを介して受信し、前記携帯端末装置が移動したことによって前記第1のルータから前記第1のルータとは異なる第2のルータにハンドオーバーした場合、前記サーバー装置は、前記第2のルータを介して受信した前記IPアドレス通知に含まれるIPアドレスを用いて前記第2のルータを特定し、前記サーバー装置は、前記携帯端末装置に前記第2のルータを介して前記メディアデータを送信するようにした。 In the communication method according to one aspect of the present invention, the server device transmits media data including audio data and / or video data to the mobile terminal device via the first router, and the server device transmits the media data. The IP address notification periodically transmitted from the mobile terminal device is received via the first router during the transmission of the mobile terminal device , and the first router sends the first notification when the mobile terminal device moves. When handed over to a second router different from the router, the server device identifies the second router using an IP address included in the IP address notification received via the second router; The server device transmits the media data to the mobile terminal device via the second router.

本発明によれば、ドアホン親機と宅外の携帯端末装置とが通信中にハンドオーバーを行うことができる。   ADVANTAGE OF THE INVENTION According to this invention, a handset can be handed over during communication between the doorphone master unit and the portable terminal device outside the home.

本発明の実施の形態1に係るドアホンシステムの構成を示す模式図The schematic diagram which shows the structure of the door phone system which concerns on Embodiment 1 of this invention. スマートフォンがハンドオーバーした場合の通信手順を示すシーケンス図Sequence diagram showing the communication procedure when the smartphone is handed over 親機の構成の一例を示すブロック図Block diagram showing an example of the configuration of the base unit スマートフォンの構成の一例を示すブロック図Block diagram showing an example of the configuration of a smartphone 親機がメディアデータの送信先IPアドレスを更新するための手順を示すフロー図Flow chart showing a procedure for the master unit to update the destination IP address of the media data 本発明の実施の形態2に係るドアホンシステムの構成を示す模式図The schematic diagram which shows the structure of the door phone system which concerns on Embodiment 2 of this invention. スマートフォンがハンドオーバーした場合の通信手順を示すシーケンス図Sequence diagram showing the communication procedure when the smartphone is handed over リレーサーバーの構成の一例を示すブロック図Block diagram showing an example of relay server configuration リレーサーバーがメディアデータの送信先IPアドレスを更新するための手順を示すフロー図Flow chart showing a procedure for the relay server to update the destination IP address of the media data

以下、本発明の実施の形態について、図面を参照して詳細に説明する。ただし、実施の形態において、同一の機能を有する構成には同一の符号を付し、重複する説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. However, in the embodiment, configurations having the same functions are denoted by the same reference numerals, and redundant description is omitted.

(実施の形態1)
<システムの概要>
図1は、本発明の実施の形態1に係るドアホンシステム100の構成を示す模式図である。ドアホンシステム100は、図1に示すように、ドアホン親機(以下、単に「親機」という)200、玄関子機(以下、単に「子機」という)300、親機側ルーター400、端末側ルーター500−1〜500−n(nは1以上)、携帯端末装置としてのスマートフォン600を備える。なお、親機側ルーター400と端末側ルーター500−1〜500−nとの間は公衆網(ここでは、インターネットとする)によって接続されている。
(Embodiment 1)
<System overview>
FIG. 1 is a schematic diagram showing a configuration of a door phone system 100 according to Embodiment 1 of the present invention. As shown in FIG. 1, the door phone system 100 includes a door phone parent device (hereinafter simply referred to as “parent device”) 200, an entrance child device (hereinafter simply referred to as “child device”) 300, a parent device side router 400, and a terminal side. A router 500-1 to 500-n (n is 1 or more) and a smartphone 600 as a mobile terminal device are provided. Note that the parent router 400 and the terminal routers 500-1 to 500-n are connected by a public network (here, the Internet).

親機200は、例えば、住宅等の宅内に設けられ、壁に固定されたり、テーブルまたは台の上などに載置されたりする。親機200は、子機300と有線または無線によって接続し、子機300と音声データおよび制御データを送受信し、子機300から映像データを受信する。また、親機200は、親機側ルーター400と有線または無線によって接続し、親機側ルーター400およびインターネットを介して端末側ルーター500に接続する。親機200は、子機300が呼出操作を受け、子機300から呼出信号を受信する。宅内が不在である場合、親機200は、着信通知を親機側ルーター400に送信する。親機200は、スマートフォン600から送信されたIPアドレス通知を管理し、IPアドレス通知の送信元に音声データおよび映像データ等を含むメディアデータを送信する。なお、本実施の形態では、親機200は、子機300と有線によって接続し、親機側ルーター400と無線によって接続するものとする。   Base device 200 is provided in a home such as a house, and is fixed to a wall or placed on a table or a table. Master device 200 is connected to slave device 300 in a wired or wireless manner, transmits and receives audio data and control data to and from slave device 300, and receives video data from slave device 300. Base unit 200 is connected to base unit side router 400 by wire or wirelessly, and is connected to base unit side router 400 and terminal side router 500 via the Internet. Base unit 200 receives a call operation from slave unit 300 and receives a call signal from slave unit 300. When the home is absent, base unit 200 transmits an incoming call notification to base unit side router 400. Master device 200 manages the IP address notification transmitted from smartphone 600 and transmits media data including audio data and video data to the transmission source of the IP address notification. In the present embodiment, it is assumed that base unit 200 is connected to slave unit 300 by wire and is connected to base unit side router 400 by radio.

子機300は、例えば、住宅等の玄関先に設けられる。子機300は、親機200と有線によって接続し、親機200と音声データおよび制御データを送受信する。なお、本実施の形態では、子機300は、親機200と有線によって接続するが無線によって接続してもよい。子機300は、呼出操作を受けると、呼出信号を親機200に送信する。また、子機300は、カメラを備え、呼出操作を受けると、カメラが玄関先の画像を撮像し、映像データを親機200に送信する。   The subunit | mobile_unit 300 is provided in entrances, such as a house, for example. The slave device 300 is connected to the master device 200 via a cable, and transmits and receives audio data and control data to and from the master device 200. In the present embodiment, handset 300 is connected to base unit 200 by wire, but may be connected wirelessly. When receiving the call operation, slave device 300 transmits a call signal to master device 200. In addition, slave unit 300 includes a camera, and when a call operation is received, the camera captures an image of the entrance and transmits video data to master unit 200.

親機側ルーター400は、親機200と無線によって接続し、また、インターネットを介して端末側ルーター500−1〜500−nと接続する。   The master router 400 is connected to the master 200 wirelessly and to the terminal routers 500-1 to 500-n via the Internet.

端末側ルーター500−1〜500−nは、インターネットを介して親機側ルーター400と接続し、また、スマートフォン600と無線によって接続する。   The terminal-side routers 500-1 to 500-n are connected to the parent device-side router 400 via the Internet, and are connected to the smartphone 600 wirelessly.

スマートフォン600は、端末側ルーター500−1〜500−nと接続し、接続している端末側ルーター500−1〜500−nに自身のIPアドレスを含むIPアドレス通知を親機200に向けて定期的に送信する。   The smartphone 600 is connected to the terminal side routers 500-1 to 500-n, and periodically sends an IP address notification including its own IP address to the connected terminal side routers 500-1 to 500-n to the parent device 200. To send.

<システムの動作>
次に、上述したドアホンシステム100において、スマートフォン600がハンドオーバーした場合の通信手順について図2を用いて説明する。
<System operation>
Next, a communication procedure when the smartphone 600 is handed over in the door phone system 100 described above will be described with reference to FIG.

ステップS11において、子機300は、訪問者から呼出操作を受け、呼出信号を親機200に送信する。   In step S <b> 11, handset 300 receives a call operation from a visitor and transmits a call signal to base unit 200.

ステップS12において、親機200は、親機側ルーター400にUPnP(Universal Plug and Play)設定要求を送信する。ステップS13において、親機側ルーター400は、UPnP設定応答にて自身のグローバルIPアドレス(ここでは、アドレスA)を親機200に通知する。   In step S12, base unit 200 transmits a UPnP (Universal Plug and Play) setting request to base unit side router 400. In step S13, the parent router 400 notifies the parent device 200 of its own global IP address (in this case, address A) in the UPnP setting response.

ステップS14において、親機200は、子機300からの呼び出しがあったことを通知する着信通知をウェブサーバー(図1に示さず)に送信する。着信通知には、予め取得しておいた親機200のローカルIPアドレスと、親機側ルーター400のグローバルIPアドレスが含まれる。ステップS15において、ウェブサーバーは、着信通知をスマートフォン600に送信する。   In step S <b> 14, base unit 200 transmits an incoming call notification notifying that there is a call from slave unit 300 to a web server (not shown in FIG. 1). The incoming call notification includes the local IP address of the parent device 200 acquired in advance and the global IP address of the parent device side router 400. In step S <b> 15, the web server transmits an incoming call notification to the smartphone 600.

ステップS16において、スマートフォン600は、親機200に向けて自身のIPアドレスを通知するIPアドレス通知を端末側ルーター500−1に送信する。ステップS17において、端末側ルーター500−1は、スマートフォン600から受信したIPアドレス通知を親機側ルーター400に送信する。ステップS18において、親機側ルーター400は、端末側ルーター500−1から受信したIPアドレス通知を親機200に送信する。   In step S <b> 16, the smartphone 600 transmits an IP address notification that notifies the parent device 200 of its own IP address to the terminal router 500-1. In step S <b> 17, the terminal router 500-1 transmits the IP address notification received from the smartphone 600 to the parent router 400. In step S18, the parent router 400 transmits the IP address notification received from the terminal router 500-1 to the parent device 200.

ステップS19において、親機200は、受信したIPアドレス通知がたどってきたルートを用いて、音声データおよび映像データ等のメディアデータを親機側ルーター400に送信する。ステップS20において、親機側ルーター400は、親機200から受信したメディアデータを端末側ルーター500−1に送信する。ステップS21において、端末側ルーター500−1は、親機側ルーター400から受信したメディアデータをスマートフォン600に送信する。   In step S19, base unit 200 transmits media data such as audio data and video data to base unit side router 400 using the route that the received IP address notification has taken. In step S20, the parent device side router 400 transmits the media data received from the parent device 200 to the terminal side router 500-1. In step S <b> 21, the terminal router 500-1 transmits the media data received from the parent router 400 to the smartphone 600.

ここで、スマートフォン600が端末側ルーター500−1から端末側ルーター500−nにハンドオーバーしたとする。このとき、それまでスマートフォン600に宛てて送られていたメディアデータは、スマートフォン600に届かなくなる。   Here, it is assumed that the smartphone 600 is handed over from the terminal router 500-1 to the terminal router 500-n. At this time, the media data that has been sent to the smartphone 600 until then does not reach the smartphone 600.

ステップS22において、スマートフォン600は、親機200に向けてIPアドレス通知をハンドオーバー先の端末側ルーター500−nに送信する。ステップS23において、端末側ルーター500−nは、スマートフォン600から受信したIPアドレス通知を親機側ルーター400に送信する。ステップS24において、親機側ルーター400は、端末側ルーター500−nから受信したIPアドレス通知を親機200に送信する。   In step S <b> 22, the smartphone 600 transmits an IP address notification to the handover destination terminal router 500-n toward the parent device 200. In step S23, the terminal router 500-n transmits the IP address notification received from the smartphone 600 to the parent router 400. In step S24, the parent router 400 transmits the IP address notification received from the terminal router 500-n to the parent device 200.

ステップS25において、親機200は、親機側ルーター400から受信したIPアドレス通知がステップS18で受信したIPアドレス通知と異なると判定し、メディアデータの送信先IPアドレスを変更して、メディアデータを親機側ルーター400に送信する。ステップS26において、親機側ルーター400は、親機200から受信したメディアデータを端末側ルーター500−nに送信する。ステップS27において、端末側ルーター500−nは、親機側ルーター400から受信したメディアデータをスマートフォン600に送信する。   In step S25, base unit 200 determines that the IP address notification received from base unit side router 400 is different from the IP address notification received in step S18, changes the destination IP address of the media data, and sets the media data. Transmit to the base router 400. In step S26, the parent router 400 transmits the media data received from the parent device 200 to the terminal router 500-n. In step S <b> 27, the terminal router 500-n transmits the media data received from the parent device router 400 to the smartphone 600.

このように、スマートフォン600が端末側ルーター500−1から端末側ルーター500−nにハンドオーバーした場合でも、スマートフォン600はIPアドレス通知を定期的に親機200に送信することにより、親機200からメディアデータを受信することができる。   As described above, even when the smartphone 600 is handed over from the terminal router 500-1 to the terminal router 500-n, the smartphone 600 periodically transmits an IP address notification to the parent device 200. Media data can be received.

<親機の構成>
図3は、親機200の構成の一例を示すブロック図である。
<Configuration of base unit>
FIG. 3 is a block diagram illustrating an example of the configuration of base unit 200.

図3において、親機200は、親機側ケーブル接続部210、親機側キー入力部220、親機側スピーカ202、親機側マイク203、親機側音声I/F部230、および親機側ディスプレイ部240を有する。また、親機200は、情報格納部241、親機無線部242、親機側制御部250、親機側パケット構成部260、親機側送信ドライバ270、親機側受信ドライバ280、および、親機側データ抽出部290を有する。   In FIG. 3, base unit 200 includes base unit side cable connection unit 210, base unit side key input unit 220, base unit side speaker 202, base unit side microphone 203, base unit side audio I / F unit 230, and base unit. A side display unit 240 is included. Base unit 200 includes information storage unit 241, base unit radio unit 242, base unit side control unit 250, base unit side packet configuration unit 260, base unit side transmission driver 270, base unit side reception driver 280, A machine-side data extraction unit 290 is included.

親機側ケーブル接続部210は、例えば2線ケーブル用の接続端子を含み、2線ケーブルの室内側の一端と、親機側送信ドライバ270および親機側受信ドライバ280との間を、信号を伝送可能な状態で接続する。   The base unit side cable connection unit 210 includes, for example, a connection terminal for a two-wire cable, and transmits a signal between one end on the indoor side of the two-wire cable and the base unit side transmission driver 270 and the base unit side reception driver 280. Connect in a state where transmission is possible.

親機側キー入力部220は、応答ボタンを含み、応答ボタンが操作された時、その旨を示す信号を親機側制御部250へ出力する。   Base unit side key input unit 220 includes a response button, and when the response button is operated, outputs a signal indicating that to base unit side control unit 250.

親機側スピーカ202は、親機側音声I/F部230から出力されたアナログ音声データを、音声に変換して出力する。   The base unit side speaker 202 converts the analog voice data output from the base unit side voice I / F unit 230 into voice and outputs the voice.

親機側マイク203は、周囲の音声を集音してアナログ音声データに変換し、親機側音声I/F部230へ出力する。   Base unit side microphone 203 collects ambient sound, converts it to analog sound data, and outputs the analog sound data to base unit side sound I / F unit 230.

親機側音声I/F部230は、親機側制御部250から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、親機側スピーカ202へ出力する。また、親機側音声I/F部230は、親機側マイク203から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、親機側制御部250へ出力する。このアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。   Base unit side sound I / F unit 230 converts the digital sound data output from base unit side control unit 250 into analog sound data, adjusts the signal level, and outputs the analog sound data to base unit side speaker 202. Further, base unit side audio I / F unit 230 adjusts the signal level of analog audio data output from base unit side microphone 203, converts it into digital audio data, and outputs it to base unit side control unit 250. . This analog / digital conversion is performed by an A / D, D / A converter (not shown).

なお、親機側音声I/F部230は、親機側マイク203から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして親機側制御部250へ出力してもよい。また、親機側音声I/F部230は、親機側制御部250から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行ってもよい。   The base-side audio I / F unit 230 converts the data obtained by performing a predetermined audio compression process on the data obtained by digitally converting the analog audio data output from the base-side microphone 203 into digital audio data. May be output to the parent device side control unit 250. In addition, when the digital audio data output from base unit side control unit 250 is data obtained by performing a predetermined audio compression process, base unit side audio I / F unit 230 performs a predetermined process on the data. Digital / analog conversion may be performed after the voice expansion processing.

親機側ディスプレイ部240は、液晶ディスプレイを含み、親機側制御部250から出力されたデジタル映像データを再生し、玄関の映像を表示する。なお、親機側制御部250から出力されたデジタル映像データが所定の動画圧縮処理を行って得られたデータである場合、当該データに対して所定の動画伸張処理を行って、映像表示を行う。   Base unit side display unit 240 includes a liquid crystal display, reproduces the digital video data output from base unit side control unit 250, and displays the video of the entrance. If the digital video data output from the base-side controller 250 is data obtained by performing a predetermined video compression process, the video is displayed by performing a predetermined video expansion process on the data. .

情報格納部241は、子機300との通話を行う権限を有するスマートフォン600との間で予め交換された、MAC(Media Access Control)アドレス等のID情報、鍵情報、パスワード等のログイン情報を格納する。また、情報格納部241は、スマートフォン600から送信されたIPアドレス通知を格納する。   The information storage unit 241 stores ID information such as a MAC (Media Access Control) address, key information, and login information such as a password exchanged in advance with the smartphone 600 having the authority to make a call with the child device 300. To do. Further, the information storage unit 241 stores the IP address notification transmitted from the smartphone 600.

親機無線部242は、無線通信回路およびアンテナを含み、無線通信回線により親機側ルーター400と通信可能に接続する。そして、親機無線部242は、親機側ルーター400、端末側ルーター500−1〜500−nを介して、スマートフォン600と通信可能に接続する。   Base unit wireless unit 242 includes a wireless communication circuit and an antenna, and is connected to base unit side router 400 through a wireless communication line so as to be communicable. The base unit wireless unit 242 connects to the smartphone 600 through the base unit side router 400 and the terminal side routers 500-1 to 500-n so as to communicate with each other.

親機側制御部250は、子機300から呼出信号を受信した時、親機側スピーカ202から所定の呼出音を出力させる。呼出音の出力は、例えば、親機側制御部250が、所定の呼出音のデジタル音声信号を親機側音声I/F部230へ出力することにより行われる。   When receiving a call signal from handset 300, base unit side control unit 250 causes base unit side speaker 202 to output a predetermined ringing tone. The ringing tone is output, for example, by the base unit side control unit 250 outputting a digital voice signal of a predetermined ringing tone to the base unit side voice I / F unit 230.

更に、親機側制御部250は、映像付き通話を実現するための所定の制御処理を開始する。この制御処理は、親機側音声I/F部230から出力されたデジタル音声データを、子機300へ送信することにより行われる。また、この制御処理は、子機300から受信したデジタル音声データおよびデジタル映像データを、親機側音声I/F部230および親機側ディスプレイ部240へ出力することにより行われる。   Furthermore, the base-side controller 250 starts a predetermined control process for realizing a call with video. This control process is performed by transmitting the digital audio data output from the parent device side audio I / F unit 230 to the child device 300. Further, this control process is performed by outputting the digital audio data and digital video data received from the child device 300 to the parent device side sound I / F unit 230 and the parent device side display unit 240.

ただし、親機側制御部250は、親機側キー入力部220から、応答ボタンが操作された旨を示す信号が出力されるまでは、デジタル音声データの子機300への送信を行わないことが望ましい。   However, base unit side control unit 250 does not transmit digital audio data to handset 300 until a signal indicating that the response button has been operated is output from base unit side key input unit 220. Is desirable.

なお、親機側制御部250は、呼出信号を受信した時、または、着信通知を送信した時に、親機側スピーカ202、親機側マイク203、親機側音声I/F部230、および親機側ディスプレイ部240の動作を開始させるように制御してもよい。   When receiving the call signal or transmitting the incoming call notification, the parent device side control unit 250 receives the parent device speaker 202, the parent device microphone 203, the parent device voice I / F unit 230, and the parent device. You may control to start the operation | movement of the machine side display part 240. FIG.

また、親機側制御部250は、親機200の動作または子機300の動作に関する制御データを、子機300へ送信してもよい。この制御データは、例えば、親機200から子機300のカメラ動作(データレート、パン、チルト、ライト、シャッタ、およびフィルター等の動作)や、子機300に備えられた各種センサデバイスの動作を制御するための制御信号を含む。   Further, the parent device side control unit 250 may transmit control data related to the operation of the parent device 200 or the operation of the child device 300 to the child device 300. This control data includes, for example, camera operations (operations such as data rate, pan, tilt, light, shutter, and filter) from the parent device 200 to the child device 300 and operations of various sensor devices included in the child device 300. Control signals for controlling are included.

親機側制御部250は、着信通知部251において、子機300から呼出信号を受信した時、情報格納部241からローカルIPアドレスと、スマートフォン600のグローバルIPアドレスを取得し、取得したローカルIPアドレスと、グローバルIPアドレスを含む着信通知を生成する。着信通知部251は、スマートフォン600に対する着信通知の送信を行う。   When the incoming call notification unit 251 receives a call signal from the child device 300, the parent device side control unit 250 acquires the local IP address and the global IP address of the smartphone 600 from the information storage unit 241, and the acquired local IP address And an incoming call notification including the global IP address. The incoming call notification unit 251 transmits an incoming call notification to the smartphone 600.

親機側制御部250は、スマートフォン600から送信されたIPアドレス通知を親機無線部242を介して受信し、情報格納部241に格納された前回のIPアドレス通知と今回のIPアドレス通知の送信元アドレスを比較する。送信元アドレスが異なる場合、親機側制御部250は、デジタル音声データとデジタル映像データを含むメディアデータの送信先IPアドレスを今回のIPアドレスの送信元に更新する。すなわち、親機側制御部250は、最新のIPアドレス通知の送信元を送信先に設定する。   Base unit side control unit 250 receives the IP address notification transmitted from smartphone 600 via base unit wireless unit 242 and transmits the previous IP address notification and the current IP address notification stored in information storage unit 241. Compare original addresses. When the transmission source addresses are different, the base-side controller 250 updates the transmission destination IP address of the media data including the digital audio data and the digital video data to the transmission source of the current IP address. That is, base unit side control unit 250 sets the transmission source of the latest IP address notification as the transmission destination.

親機側制御部250の通話中継部252は、スマートフォン600から応答指示を受信すると、子機300とスマートフォン600との間で映像付き通話を実現するための通話中継処理を開始する。この通話中継処理は、スマートフォン600から受信したデジタル音声データを、子機300へ送信し、子機300から受信したデジタル音声データおよびデジタル映像データを、スマートフォン600へ送信することにより行われる。   When the call relay unit 252 of the parent device-side control unit 250 receives a response instruction from the smartphone 600, the call relay unit 252 starts a call relay process for realizing a call with video between the child device 300 and the smartphone 600. This call relay process is performed by transmitting the digital audio data received from the smartphone 600 to the slave device 300 and transmitting the digital audio data and digital video data received from the slave device 300 to the smartphone 600.

ただし、通話中継部252は、スマートフォン600から応答指示を受信するまでは、スマートフォン600から受信したデジタル音声データの子機300への送信を行わないことが望ましい。   However, it is desirable that the call relay unit 252 does not transmit the digital audio data received from the smartphone 600 to the child device 300 until a response instruction is received from the smartphone 600.

親機側パケット構成部260は、親機側制御部250から出力されたデジタル音声データ(および制御データ)を、適宜分割してパケット化し、生成されたパケットデータを符号化して、下り信号を生成する。親機側パケット構成部260は、生成された下り信号を、親機側送信ドライバ270へ出力する。   Base unit side packet configuration unit 260 divides the digital audio data (and control data) output from base unit side control unit 250 into packets, encodes the generated packet data, and generates a downlink signal. To do. Base unit side packet configuration section 260 outputs the generated downlink signal to base unit side transmission driver 270.

親機側送信ドライバ270は、親機側パケット構成部260から出力された下り信号をバッファしてゲイン調整を行い、親機側ケーブル接続部210を介して子機300へと送信する。   Base unit side transmission driver 270 buffers the downlink signal output from base unit side packet configuration section 260 to perform gain adjustment, and transmits the result to slave unit 300 via base unit side cable connection section 210.

親機側受信ドライバ280は、親機側ケーブル接続部210を介して子機300から送られてくる上り信号を、ゲイン調整を行ってバッファし、親機側データ抽出部290へ出力する。   The base-side reception driver 280 buffers the uplink signal sent from the handset 300 via the base-side cable connection unit 210 by performing gain adjustment, and outputs the buffered signal to the base-side data extraction unit 290.

親機側データ抽出部290は、親機側受信ドライバ280から出力された上り信号から、上り信号に含まれる子機300のデジタル音声データおよびデジタル映像データを抽出し、親機側制御部250へ出力する。   Base unit-side data extraction section 290 extracts the digital audio data and digital video data of slave unit 300 included in the upstream signal from the upstream signal output from base unit-side reception driver 280, and sends it to base unit-side control unit 250. Output.

なお、上述の親機側制御部250による子機300との間の各種情報の送受信は、親機側パケット構成部260、親機側送信ドライバ270、親機側ケーブル接続部210、親機側受信ドライバ280、および親機側データ抽出部290を介して行われる。   In addition, transmission / reception of various information between the above-mentioned base unit side control unit 250 and the base unit 300 is performed by the base unit side packet configuration unit 260, the base unit side transmission driver 270, the base unit side cable connection unit 210, and the base unit side. This is performed via the reception driver 280 and the parent device side data extraction unit 290.

ただし、親機側制御部250は、子機300と親機200との間の時分割複信における、それぞれの送信タイミングおよび受信タイミングを規定する情報である送信制御情報を予め保持している。親機側制御部250は、送信制御情報に基づいて、下り信号の送信と上り信号の受信とが時分割で行われるように、親機側送信ドライバ270の動作を制御する。   However, base unit side control unit 250 holds in advance transmission control information that is information defining the respective transmission timing and reception timing in the time division duplex between slave unit 300 and base unit 200. Based on the transmission control information, base unit side control section 250 controls the operation of base unit side transmission driver 270 such that transmission of the downlink signal and reception of the uplink signal are performed in a time division manner.

また、上述の親機側制御部250によるスマートフォン600との間の各種情報の送受信は、親機無線部242を介して行われる。   In addition, transmission / reception of various information to / from the smartphone 600 by the above-described parent device side control unit 250 is performed via the parent device wireless unit 242.

また、親機200の上記各部の間のデータの受け渡しは、親機側スピーカ202および親機側マイク203と親機側音声I/F部230との間を除き、デジタル伝送により行われる。   In addition, data exchange between the above-described units of the base unit 200 is performed by digital transmission except between the base unit side speaker 202 and the base unit side microphone 203 and the base unit side audio I / F unit 230.

このような構成により、親機200は、スマートフォン600から受信したIPアドレス通知が前回と異なる場合、デジタル音声データとデジタル映像データの送信先となるIPアドレスを更新して、これらのデータをスマートフォン600に送信する。   With this configuration, when the IP address notification received from the smartphone 600 is different from the previous time, the base device 200 updates the IP address that is the transmission destination of the digital audio data and the digital video data, and transmits these data to the smartphone 600. Send to.

<スマートフォンの構成>
図4は、スマートフォン600の構成の一例を示すブロック図である。
<Configuration of smartphone>
FIG. 4 is a block diagram illustrating an example of the configuration of the smartphone 600.

図4において、スマートフォン600は、端末無線部610、端末スピーカ620、端末マイク630、端末音声I/F部640、端末ディスプレイ部650、タッチパネル部660、および端末制御部670を有する。   In FIG. 4, the smartphone 600 includes a terminal wireless unit 610, a terminal speaker 620, a terminal microphone 630, a terminal voice I / F unit 640, a terminal display unit 650, a touch panel unit 660, and a terminal control unit 670.

端末無線部610は、無線通信回路およびアンテナを含み、無線通信回線により公衆網に接続された端末側ルーター500−1〜500−nと通信可能に接続する。   The terminal radio unit 610 includes a radio communication circuit and an antenna, and is communicably connected to the terminal side routers 500-1 to 500-n connected to the public network via a radio communication line.

端末スピーカ620は、端末音声I/F部640から出力されたアナログ音声データを、音声に変換して出力する。   The terminal speaker 620 converts the analog voice data output from the terminal voice I / F unit 640 into voice and outputs the voice.

端末マイク630は、周囲の音声を集音してアナログ音声データに変換し、端末音声I/F部640へ出力する。   The terminal microphone 630 collects surrounding sounds, converts them into analog sound data, and outputs the analog sound data to the terminal sound I / F unit 640.

端末音声I/F部640は、端末制御部670から出力されたデジタル音声データを、アナログ音声データに変換し、信号レベルを調整して、端末スピーカ620へ出力する。また、端末音声I/F部640は、端末マイク630から出力されたアナログ音声データを、信号レベルを調整し、デジタル音声データに変換して、端末制御部670へ出力する。このアナログ/デジタル変換は、A/D,D/A変換器(図示せず)により行われる。   The terminal audio I / F unit 640 converts the digital audio data output from the terminal control unit 670 into analog audio data, adjusts the signal level, and outputs the analog audio data to the terminal speaker 620. Terminal audio I / F unit 640 adjusts the signal level of analog audio data output from terminal microphone 630, converts it to digital audio data, and outputs the digital audio data to terminal control unit 670. This analog / digital conversion is performed by an A / D, D / A converter (not shown).

なお、端末音声I/F部640は、端末マイク630から出力されたアナログ音声データをデジタル変換したデータに対して、所定の音声圧縮処理を行って得られるデータを、デジタル音声データとして端末制御部670へ出力してもよい。また、端末音声I/F部640は、端末制御部670から出力されたデジタル音声データが所定の音声圧縮処理を行って得られたデータである場合、当該データに対して所定の音声伸張処理を行ってから、デジタル/アナログ変換を行ってもよい。   Note that the terminal audio I / F unit 640 uses, as digital audio data, data obtained by performing predetermined audio compression processing on data obtained by digitally converting analog audio data output from the terminal microphone 630 as a terminal audio control unit. You may output to 670. In addition, when the digital audio data output from the terminal control unit 670 is data obtained by performing predetermined audio compression processing, the terminal audio I / F unit 640 performs predetermined audio expansion processing on the data. After that, digital / analog conversion may be performed.

端末ディスプレイ部650は、タッチパネル付液晶ディスプレイの液晶ディスプレイ部分を含み、端末制御部670から出力されたデジタル映像データを再生して映像表示を行う。なお、端末制御部670から出力されたデジタル映像データが所定の動画圧縮処理を行って得られたデータである場合、当該データに対して所定の動画伸張処理を行って、映像表示を行う。また、端末ディスプレイ部650は、端末制御部670からの制御に従って、端末応答ボタンおよび確認ボタンを表示する。   The terminal display unit 650 includes a liquid crystal display portion of a liquid crystal display with a touch panel, and reproduces digital video data output from the terminal control unit 670 to display an image. When the digital video data output from the terminal control unit 670 is data obtained by performing a predetermined moving image compression process, the predetermined video expansion process is performed on the data to display a video. Further, the terminal display unit 650 displays a terminal response button and a confirmation button according to control from the terminal control unit 670.

タッチパネル部660は、スマートフォン600に対する各種操作を受け付ける。例えば、タッチパネル部660は、端末ディスプレイ部650に端末応答ボタンまたは確認ボタンが表示されている時、これらに対するタッチ操作を受け付け、この操作が行われた時、その旨を端末制御部670へ通知する。   Touch panel unit 660 accepts various operations on smartphone 600. For example, when the terminal response button or the confirmation button is displayed on the terminal display unit 650, the touch panel unit 660 accepts a touch operation on these buttons, and notifies the terminal control unit 670 of this when the operation is performed. .

端末制御部670の端末情報出力部671は、ウェブサーバーから着信通知を受信した時、玄関に訪問者が来たことを示す呼出音を端末スピーカ620から出力させ、また、玄関に訪問者が来たことを示す表示を端末ディスプレイ部650に出力させる。なお、音声出力は、例えば、端末情報出力部671が、呼出音のデジタル音声信号を、端末音声I/F部640へ出力することにより行われる。   When the terminal information output unit 671 of the terminal control unit 670 receives an incoming notification from the web server, the terminal information output unit 671 outputs a ringing sound indicating that a visitor has come to the entrance from the terminal speaker 620, and the visitor has come to the entrance. The terminal display unit 650 is caused to output a display indicating this. The voice output is performed, for example, when the terminal information output unit 671 outputs a digital voice signal of the ringing tone to the terminal voice I / F unit 640.

これにより、端末情報出力部671は、玄関に訪問者が居る旨を、スマートフォン600のユーザーに通知する。更に、端末情報出力部671は、端末ディスプレイ部650に、上述の端末応答ボタンを表示させる。   Thereby, the terminal information output unit 671 notifies the user of the smartphone 600 that there is a visitor at the entrance. Further, the terminal information output unit 671 causes the terminal display unit 650 to display the above-described terminal response button.

また、端末制御部670の通話制御部672は、着信通知を受信し、スマートフォン600においてユーザーによって応答操作が行われた時、親機200に対して応答指示を送信し、親機200を介してスマートフォン600と子機300との間の通話を開始させる。応答操作は、例えば、端末ディスプレイ部650に表示された端末応答ボタンに対するタッチ操作である。   Further, the call control unit 672 of the terminal control unit 670 receives an incoming call notification, and when a response operation is performed by the user on the smartphone 600, transmits a response instruction to the parent device 200, and via the parent device 200 A call between the smartphone 600 and the child device 300 is started. The response operation is, for example, a touch operation on the terminal response button displayed on the terminal display unit 650.

また、端末制御部670は、定期的にIPアドレス通知を生成し、生成したIPアドレス通知を端末無線部610から親機200に向けて送信する。   In addition, terminal control unit 670 periodically generates an IP address notification, and transmits the generated IP address notification from terminal wireless unit 610 to base unit 200.

なお、端末制御部670のこれらの機能部は、例えば、スマートフォン600に予めインストールされた専用のアプリケーションソフトウェアにより実現される。また、上述の端末制御部670によるウェブサーバーおよび親機200との間の各種情報の送受信は、端末無線部610を介して行われる。   Note that these functional units of the terminal control unit 670 are realized by, for example, dedicated application software installed in the smartphone 600 in advance. In addition, transmission / reception of various kinds of information between the web server and the parent device 200 by the terminal control unit 670 described above is performed via the terminal wireless unit 610.

このような構成により、スマートフォン600は、定期的にIPアドレス通知を親機200に向けて送信する。   With such a configuration, the smartphone 600 periodically transmits an IP address notification to the parent device 200.

<親機の動作>
図5は、親機200がメディアデータの送信先IPアドレスを更新するための手順を示すフロー図である。ステップS701において、親機側制御部250は、スマートフォン600から送信されたIPアドレス通知を受信する。ステップS702において、親機側制御部250は、IPアドレス通知の送信元が有効な権限または資格のある正しい機器であるか否かを判定し、正しい機器である場合(YES)、ステップS703に移行し、正しい機器ではない場合(NO)、処理を終了する。
<Operation of main unit>
FIG. 5 is a flowchart showing a procedure for the master device 200 to update the media data transmission destination IP address. In step S <b> 701, base unit control unit 250 receives the IP address notification transmitted from smartphone 600. In step S702, the base-side controller 250 determines whether or not the IP address notification transmission source is a valid device with valid authority or qualification, and if it is the correct device (YES), the process proceeds to step S703. If the device is not correct (NO), the process is terminated.

ステップS703において、親機側制御部250は、情報格納部241を検索し、IPアドレス通知を受信済みであるか否かを判定し、受信済みである場合(YES)、ステップS704に移行し、受信済みではない場合(NO)、ステップS705に移行する。   In step S703, the base-side control unit 250 searches the information storage unit 241, determines whether the IP address notification has been received, and if it has been received (YES), proceeds to step S704, If not received (NO), the process proceeds to step S705.

ステップS704において、親機側制御部250は、ステップS701において受信したIPアドレス通知の送信元アドレスが、情報格納部241に格納された前回受信したIPアドレス通知の送信元アドレスと異なるか否かを判定し、異なる場合(YES)、ステップS705に移行し、異ならない場合(NO)、処理を終了する。   In step S704, base unit side control unit 250 determines whether or not the source address of the IP address notification received in step S701 is different from the source address of the previously received IP address notification stored in information storage unit 241. If the determination is different (YES), the process proceeds to step S705. If not (NO), the process ends.

ステップS705において、親機側制御部250は、ステップS701において受信したIPアドレス通知の送信元アドレスをメディアデータの送信先IPアドレスに更新し、メディアデータを送信する。   In step S705, the base-side controller 250 updates the transmission source address of the IP address notification received in step S701 to the transmission destination IP address of the media data, and transmits the media data.

このように、実施の形態1によれば、スマートフォン600が自身のIPアドレスを含むIPアドレス通知を接続中の端末側ルーター500−1〜500−nを介して親機200に向けて定期的に送信し、親機200は受信した最新のIPアドレスの送信元をメディアデータの送信先に設定することにより、親機200とスマートフォン600とが通信中にスマートフォン600がハンドオーバーを行った場合でも、通信を継続することができる。   As described above, according to the first embodiment, the smartphone 600 periodically transmits the IP address notification including its own IP address to the parent device 200 via the terminal-side routers 500-1 to 500-n to which the smartphone 600 is connected. Even if the smartphone 600 performs a handover while the parent device 200 and the smartphone 600 are communicating by setting the transmission source of the latest IP address received as the transmission destination of the media data, Communication can be continued.

(実施の形態2)
図6は、本発明の実施の形態2に係るドアホンシステム150の構成を示す模式図である。図6が図1と異なる点は、リレーサーバー800を追加した点である。
(Embodiment 2)
FIG. 6 is a schematic diagram showing a configuration of a door phone system 150 according to Embodiment 2 of the present invention. 6 is different from FIG. 1 in that a relay server 800 is added.

リレーサーバー800は、インターネット上に設けられたサーバーであり、親機側ルーター400と端末側ルーター500−1〜500−nとを接続するために介在する。また、リレーサーバー800は、スマートフォン600から送信されたIPアドレス通知を管理し、IPアドレス通知の送信元、すなわち、IPアドレス通知のたどったルートを用いて、親機200から受信した音声データおよび映像データ等を含むメディアデータを送信する。   The relay server 800 is a server provided on the Internet, and is interposed to connect the parent router 400 and the terminal routers 500-1 to 500-n. The relay server 800 manages the IP address notification transmitted from the smartphone 600, and uses the source of the IP address notification, that is, the route followed by the IP address notification, to receive the audio data and video received from the parent device 200. Send media data including data etc.

リレーサーバー800の設置により、本発明の実施の形態2に係る親機200は、実施の形態1において説明した親機200から上記の機能が省略される。   By installing relay server 800, base unit 200 according to Embodiment 2 of the present invention omits the above functions from base unit 200 described in Embodiment 1.

次に、上述したドアホンシステム150において、スマートフォン600がハンドオーバーした場合の通信手順について図7を用いて説明する。   Next, a communication procedure when the smartphone 600 is handed over in the door phone system 150 described above will be described with reference to FIG.

ステップS11において、子機300は、訪問者から呼出操作を受け、呼出信号を親機200に送信する。   In step S <b> 11, handset 300 receives a call operation from a visitor and transmits a call signal to base unit 200.

ステップS51において、親機200は、リレーサーバー800に使用要求を送信する。ステップS52において、リレーサーバー800は、使用応答にて自身のグローバルIPアドレス(ここでは、アドレスS、アドレスT)を親機200に通知する。   In step S51, base unit 200 transmits a use request to relay server 800. In step S52, relay server 800 notifies base unit 200 of its own global IP address (in this case, address S and address T) as a usage response.

ステップS53において、親機200は、子機300からの呼び出しがあったことを通知する着信通知をウェブサーバー(図6に示さず)に送信する。着信通知には、予め取得しておいた親機200のローカルIPアドレスと、リレーサーバー800のグローバルIPアドレスが含まれる。ステップS54において、ウェブサーバーは、着信通知をスマートフォン600に送信する。   In step S53, base unit 200 transmits an incoming call notification notifying that there is a call from slave unit 300 to a web server (not shown in FIG. 6). The incoming call notification includes the local IP address of parent device 200 acquired in advance and the global IP address of relay server 800. In step S <b> 54, the web server transmits an incoming call notification to the smartphone 600.

ステップS55において、スマートフォン600は、リレーサーバー800に向けて自身のIPアドレスを通知するIPアドレス通知を端末側ルーター500−1に送信する。ステップS56において、端末側ルーター500−1は、スマートフォン600から受信したIPアドレス通知をリレーサーバー800に送信する。   In step S55, the smartphone 600 transmits an IP address notification for notifying its own IP address to the relay server 800 to the terminal-side router 500-1. In step S <b> 56, the terminal side router 500-1 transmits the IP address notification received from the smartphone 600 to the relay server 800.

ステップS57において、親機200は、音声データおよび映像データ等のメディアデータを親機側ルーター400に送信する。ステップS58において、親機側ルーター400は、親機200から受信したメディアデータをリレーサーバー800に送信する。   In step S57, base unit 200 transmits media data such as audio data and video data to base unit side router 400. In step S <b> 58, base unit router 400 transmits the media data received from base unit 200 to relay server 800.

ステップS59において、リレーサーバー800は、親機側ルーター400から受信したメディアデータをIPアドレス通知の送信元に向けて端末側ルーター500−1に送信する。ステップS60において、端末側ルーター500−1は、リレーサーバー800から受信したメディアデータをスマートフォン600に送信する。   In step S59, the relay server 800 transmits the media data received from the parent device side router 400 to the terminal side router 500-1 toward the transmission source of the IP address notification. In step S <b> 60, the terminal side router 500-1 transmits the media data received from the relay server 800 to the smartphone 600.

ここで、スマートフォン600が端末側ルーター500−1から端末側ルーター500−nにハンドオーバーしたとする。このとき、それまでスマートフォン600に宛てて送られていたメディアデータは、スマートフォン600に届かなくなる。   Here, it is assumed that the smartphone 600 is handed over from the terminal router 500-1 to the terminal router 500-n. At this time, the media data that has been sent to the smartphone 600 until then does not reach the smartphone 600.

ステップS61において、スマートフォン600は、親機200に向けてIPアドレス通知をハンドオーバー先の端末側ルーター500−nに送信する。ステップS62において、端末側ルーター500−nは、スマートフォン600から受信したIPアドレス通知をリレーサーバー800に送信する。このとき、リレーサーバー800は、端末側ルーター500−nから受信したIPアドレス通知がステップS56で受信したIPアドレス通知と異なると判定し、メディアデータの送信先IPアドレスを変更する。   In step S61, the smartphone 600 transmits an IP address notification to the handover destination terminal-side router 500-n toward the parent device 200. In step S <b> 62, the terminal side router 500-n transmits the IP address notification received from the smartphone 600 to the relay server 800. At this time, the relay server 800 determines that the IP address notification received from the terminal-side router 500-n is different from the IP address notification received in step S56, and changes the destination IP address of the media data.

ステップS63において、親機200は、メディアデータを親機側ルーター400に送信する。ステップS64において、親機側ルーター400は、親機200から受信したメディアデータをリレーサーバー800に送信する。   In step S63, base unit 200 transmits the media data to base unit side router 400. In step S <b> 64, base unit side router 400 transmits the media data received from base unit 200 to relay server 800.

ステップS65において、リレーサーバー800は、親機側ルーター400から受信したメディアデータを端末側ルーター500−nに送信する。ステップS66において、端末側ルーター500−nは、リレーサーバー800から受信したメディアデータをスマートフォン600に送信する。   In step S65, the relay server 800 transmits the media data received from the parent router 400 to the terminal router 500-n. In step S <b> 66, the terminal side router 500-n transmits the media data received from the relay server 800 to the smartphone 600.

このように、スマートフォン600が端末側ルーター500−1から端末側ルーター500−nにハンドオーバーした場合でも、スマートフォン600はIPアドレス通知を定期的にリレーサーバー800に送信することにより、親機200からメディアデータをリレーサーバー800を経由して受信することができる。   Thus, even when the smartphone 600 is handed over from the terminal side router 500-1 to the terminal side router 500-n, the smartphone 600 periodically transmits an IP address notification to the relay server 800, so that the parent device 200 Media data can be received via the relay server 800.

図8は、リレーサーバー800の構成の一例を示すブロック図である。   FIG. 8 is a block diagram illustrating an example of the configuration of the relay server 800.

図8において、リレーサーバー800は、送受信部810、サーバー側制御部830、および記憶部850を有する。   In FIG. 8, the relay server 800 includes a transmission / reception unit 810, a server-side control unit 830, and a storage unit 850.

送受信部810は、インターネットを介して、親機側ルーター400および端末側ルーター500−1〜500−nと通信可能に接続する。   The transmission / reception unit 810 is communicably connected to the parent router 400 and the terminal routers 500-1 to 500-n via the Internet.

サーバー側制御部830は、リレー接続管理部831および接続部835を有し、リレーサーバー800全体を制御する。   The server-side control unit 830 includes a relay connection management unit 831 and a connection unit 835, and controls the entire relay server 800.

リレー接続管理部831は、接続可能機器認証部832、接続機器認証情報生成部833およびIPアドレス割当処理部834を有する。リレー接続管理部831は、親機200からの使用要求を受けると、親機側ルーター400および端末側ルーター500−1〜500−nそれぞれにグローバルIPアドレスを割り当てる。   The relay connection management unit 831 includes a connectable device authentication unit 832, a connected device authentication information generation unit 833, and an IP address assignment processing unit 834. When receiving a use request from the parent device 200, the relay connection management unit 831 assigns a global IP address to each of the parent device side router 400 and the terminal side routers 500-1 to 500-n.

接続可能機器認証部832は、親機200からの使用要求に対し、使用要求のあった親機200がその権限または資格のある正しい機器であるのかの認証を、記憶部850に記憶された接続可能機器認証情報データベース(DB)851に基づいて行う。接続可能機器認証部832は、認証結果を接続機器認証情報生成部833に出力する。   The connectable device authentication unit 832 is a connection stored in the storage unit 850 for authenticating whether the parent device 200 that has requested use is a correct device having the authority or qualification in response to a use request from the parent device 200. This is performed based on a possible device authentication information database (DB) 851. The connectable device authentication unit 832 outputs the authentication result to the connected device authentication information generation unit 833.

接続機器証情報生成部833は、接続可能機器認証部832から正しい認証結果を取得すると、使用要求のあった親機200との間で確立するリレー接続セッションに対する認証情報(接続機器認証情報)を生成する。この認証情報は、使用要求のあった親機200からスマートフォン600へ通知されて使用される。なお、親機200においても、接続機器認証情報を生成する。   When the connected device certificate information generation unit 833 acquires the correct authentication result from the connectable device authentication unit 832, the connection device certificate information generation unit 833 obtains authentication information (connected device authentication information) for the relay connection session established with the parent device 200 that has requested use. Generate. This authentication information is used by being notified to the smartphone 600 from the parent device 200 that has requested use. Note that the parent device 200 also generates connected device authentication information.

IPアドレス割当処理部834は、サーバーリソースであるグローバルIPアドレスを、親機側ルーター400および端末側ルーター500−1〜500−nそれぞれに割り当てる。   The IP address assignment processing unit 834 assigns a global IP address, which is a server resource, to each of the parent router 400 and the terminal routers 500-1 to 500-n.

接続部835は、接続機器認証部836、IPパケット転送先リスト管理部837およびパケット転送処理部838を有する。接続部835は、リレー接続管理部831によって割り当てられたグローバルIPアドレスの、親機側ルーター400に届いたIPパケットを端末側ルーター500−1〜500−nへ、端末側ルーター500−1〜500−nに届いたIPパケットを親機側ルーター400へそれぞれ転送する。これにより、ネットワーク上におけるIPパケットリレー機能を実現する。   The connection unit 835 includes a connection device authentication unit 836, an IP packet transfer destination list management unit 837, and a packet transfer processing unit 838. The connection unit 835 sends an IP packet of the global IP address assigned by the relay connection management unit 831 to the base router 500 to the terminal routers 500-1 to 500-n and the terminal routers 500-1 to 500-n. The IP packets that have arrived at -n are transferred to the router 400 on the parent side. Thereby, the IP packet relay function on the network is realized.

接続機器認証部836は、リレー接続管理部831によって割り当てられたグローバルIPアドレス宛に届いたIPパケットを、接続機器認証情報生成部833によって生成された認証情報を用いて認証する。   The connected device authentication unit 836 authenticates the IP packet that has arrived at the global IP address assigned by the relay connection management unit 831 using the authentication information generated by the connected device authentication information generation unit 833.

IPパケット転送先リスト管理部837は、端末側ルーター500−1〜500−nのグローバルIPアドレスにスマートフォン600から届いたIPパケットの送信元アドレスを、親機側ルーター400のグローバルIPアドレスに親機200から届いたIPパケットの転送先に紐づけたリストを管理する。   The IP packet transfer destination list management unit 837 sets the source address of the IP packet received from the smartphone 600 to the global IP addresses of the terminal side routers 500-1 to 500-n as the global IP address of the base side router 400. A list associated with the forwarding destination of the IP packet received from 200 is managed.

パケット転送処理部838は、IPパケット転送先リスト管理部837の管理するリストに基づいて、親機200から受信したパケットをスマートフォン600に向けて転送し、スマートフォン600から受信したパケットを親機200に向けて転送する処理を行う。   The packet transfer processing unit 838 transfers the packet received from the parent device 200 to the smartphone 600 based on the list managed by the IP packet transfer destination list management unit 837, and the packet received from the smartphone 600 is transferred to the parent device 200. Process to forward.

記憶部850は、接続可能機器認証情報データベース851、および、接続機器認証情報データベース852を有する。これらのデータベースは、リレー接続管理部831によって該当する認証情報が登録され、必要に応じて認証情報が読み出される。   The storage unit 850 includes a connectable device authentication information database 851 and a connected device authentication information database 852. In these databases, corresponding authentication information is registered by the relay connection management unit 831, and the authentication information is read out as necessary.

図9は、リレーサーバー800がメディアデータの送信先IPアドレスを更新するための手順を示すフロー図である。ステップS901において、サーバー側制御部830は、スマートフォン600から送信されたIPアドレス通知を受信する。ステップS902において、サーバー側制御部830は、IPアドレス通知の送信元が有効な権限または資格のある正しい機器であるか否かを判定し、正しい機器である場合(YES)、ステップS903に移行し、正しい機器ではない場合(NO)、処理を終了する。   FIG. 9 is a flowchart showing a procedure for the relay server 800 to update the destination IP address of the media data. In step S <b> 901, the server side control unit 830 receives the IP address notification transmitted from the smartphone 600. In step S902, the server-side control unit 830 determines whether the source of the IP address notification is a valid device with valid authority or qualification. If it is the correct device (YES), the server-side control unit 830 proceeds to step S903. If the device is not correct (NO), the process is terminated.

ステップS903において、サーバー側制御部830は、IPパケット転送先リスト管理部837を検索し、IPアドレス通知を受信済みであるか否かを判定し、受信済みである場合(YES)、ステップS904に移行し、受信済みではない場合(NO)、ステップS905に移行する。   In step S903, the server-side control unit 830 searches the IP packet transfer destination list management unit 837 to determine whether or not the IP address notification has been received. If YES in step S903, the process advances to step S904. If it has not been received (NO), the process proceeds to step S905.

ステップS904において、サーバー側制御部830は、ステップS901において受信したIPアドレス通知の送信元アドレスが、Pパケット転送先リスト管理部837に格納された前回受信したIPアドレス通知の送信元アドレスと異なるか否かを判定し、異なる場合(YES)、ステップS905に移行し、異ならない場合(NO)、処理を終了する。   In step S904, the server-side control unit 830 determines whether the IP address notification source address received in step S901 is different from the previously received IP address notification source address stored in the P packet transfer destination list management unit 837. If not (YES), the process proceeds to step S905. If not (NO), the process ends.

ステップS905において、サーバー側制御部830は、ステップS901において受信したIPアドレス通知の送信元アドレスをメディアデータの送信先IPアドレスに更新し、メディアデータを送信する。   In step S905, the server-side control unit 830 updates the transmission source address of the IP address notification received in step S901 to the transmission destination IP address of the media data, and transmits the media data.

このように、実施の形態2によれば、スマートフォン600が自身のIPアドレスを含むIPアドレス通知を接続中の端末側ルーター500−1〜500−nを介してリレーサーバー800に向けて定期的に送信し、リレーサーバー800は受信した最新のIPアドレスの送信元を親機200からのメディアデータの転送先に設定することにより、親機200とスマートフォン600とが通信中にスマートフォン600がハンドオーバーを行った場合でも、通信を継続することができる。   As described above, according to the second embodiment, the smartphone 600 periodically sends the IP address notification including its own IP address to the relay server 800 via the terminal-side routers 500-1 to 500-n to which the smartphone 600 is connected. The relay server 800 sets the transmission source of the latest IP address received as the transfer destination of the media data from the parent device 200, so that the smartphone 600 performs a handover while the parent device 200 and the smartphone 600 are communicating. Even if it is done, communication can be continued.

なお、上記各実施の形態では、携帯端末装置としてスマートフォンを一例に挙げて説明したが、本発明はこれに限るものではない。例えば、携帯端末装置として、タブレット型端末、ノートパソコン、ウェアラブル端末などでもよく、少なくとも通話機能とプッシュ通知受信機能を備える端末であればよい。   In each of the above-described embodiments, a smartphone has been described as an example of the mobile terminal device, but the present invention is not limited to this. For example, the portable terminal device may be a tablet-type terminal, a notebook computer, a wearable terminal, or the like, as long as the terminal has at least a call function and a push notification reception function.

また、本実施の形態では、親機と通信可能な装置を玄関子機として説明したが、本発明はこれに限るものではなく、例えば、親機と通信可能な装置としてセキュリティカメラ装置または録画装置を適用してもよい。セキュリティカメラ装置または録画装置を適用した場合、これらの装置においてあるイベントが生じたことにより親機と宅外の携帯端末装置とが接続され、その後に宅外の携帯端末装置がハンドオーバーを行った場合でも、親機と宅外の携帯端末装置との通信を継続することができる。   Further, in the present embodiment, the device that can communicate with the parent device has been described as an entrance child device. However, the present invention is not limited to this, for example, a security camera device or a recording device as a device that can communicate with the parent device. May be applied. When a security camera device or a recording device is applied, the base unit and the mobile terminal device outside the home are connected when an event occurs in these devices, and then the mobile terminal device outside the home performs a handover. Even in this case, communication between the parent device and the portable terminal device outside the home can be continued.

本発明は、ドアホン親機と宅外の携帯端末装置とが通信中にハンドオーバーを行うのに有用である。   INDUSTRIAL APPLICABILITY The present invention is useful for performing a handover during communication between a doorphone parent device and a portable terminal device outside the home.

100、150 ドアホンシステム
200 親機
202 親機側スピーカ
203 親機側マイク
210 親機側ケーブル接続部
220 親機側キー入力部
230 親機側音声I/F部
240 親機側ディスプレイ部
241 情報格納部
242 親機無線部
250 親機側制御部
251 着信通知部
252 通話中継部
260 親機側パケット構成部
270 親機側送信ドライバ
280 親機側受信ドライバ
290 親機側データ抽出部
300 子機
400 親機側ルーター
500−1〜500−n 端末側ルーター
600 スマートフォン
610 端末無線部
620 端末スピーカ
630 端末マイク
640 端末音声I/F部
650 端末ディスプレイ部
660 タッチパネル部
670 端末制御部
671 端末情報出力部
672 通話制御部
800 リレーサーバー
810 送受信部
830 サーバー側制御部
831 リレー接続管理部
832 接続可能機器認証部
833 接続機器認証情報生成部
834 IPアドレス割当処理部
835 接続部
836 接続機器認証部
837 IPパケット転送先リスト管理部
838 パケット転送処理部
850 記憶部
851 接続可能機器認証情報データベース
852 接続機器認証情報データベース
100, 150 Door phone system 200 Master unit 202 Master unit side speaker 203 Master unit side microphone 210 Master unit side cable connection unit 220 Master unit side key input unit 230 Master unit side audio I / F unit 240 Master unit side display unit 241 Information storage Unit 242 Base unit radio unit 250 Base unit side control unit 251 Incoming notification unit 252 Call relay unit 260 Base unit side packet configuration unit 270 Base unit side transmission driver 280 Base unit side reception driver 290 Base unit side data extraction unit 300 Slave unit 400 Base router 500-1 to 500-n Terminal router 600 Smartphone 610 Terminal wireless unit 620 Terminal speaker 630 Terminal microphone 640 Terminal voice I / F unit 650 Terminal display unit 660 Touch panel unit 670 Terminal control unit 671 Terminal information output unit 672 Call control unit 800 relay service Bar 810 Transmission / reception unit 830 Server side control unit 831 Relay connection management unit 832 Connectable device authentication unit 833 Connected device authentication information generation unit 834 IP address assignment processing unit 835 Connection unit 836 Connected device authentication unit 837 IP packet transfer destination list management unit 838 Packet transfer processing unit 850 storage unit 851 connectable device authentication information database 852 connected device authentication information database

Claims (2)

携帯端末装置に第1のルータを介して、音声データおよび/または映像データを含むメディアデータを送信し、
前記メディアデータの送信中に、前記携帯端末装置から定期的に送信されるIPアドレス通知を前記第1のルータを介して受信し、
前記携帯端末装置が移動したことによって前記第1のルータから前記第1のルータとは異なる第2のルータにハンドオーバーした場合、前記第2のルータを介して受信した前記IPアドレス通知に含まれるIPアドレスを用いて前記第2のルータを特定し、
前記携帯端末装置に前記第2のルータを介して前記メディアデータを送信する、
サーバー装置。
Media data including audio data and / or video data is transmitted to the mobile terminal device via the first router,
During the transmission of the media data, an IP address notification periodically transmitted from the mobile terminal device is received via the first router ,
Included in the IP address notification received via the second router when the portable terminal device has moved from the first router to a second router different from the first router due to movement Identifying the second router using an IP address;
Transmitting the media data to the mobile terminal device via the second router;
Server device.
サーバー装置は、携帯端末装置に第1のルータを介して、音声データおよび/または映像データを含むメディアデータを送信し、
前記サーバー装置は、前記メディアデータの送信中に、前記携帯端末装置から定期的に送信されるIPアドレス通知を前記第1のルータを介して受信し、
前記携帯端末装置が移動したことによって前記第1のルータから前記第1のルータとは異なる第2のルータにハンドオーバーした場合、前記サーバー装置は、前記第2のルータを介して受信した前記IPアドレス通知に含まれるIPアドレスを用いて前記第2のルータを特定し、
前記サーバー装置は、前記携帯端末装置に前記第2のルータを介して前記メディアデータを送信する、
通信方法。
The server device transmits media data including audio data and / or video data to the mobile terminal device via the first router,
The server device receives an IP address notification periodically transmitted from the mobile terminal device through the first router during the transmission of the media data,
When the mobile terminal device has moved to the second router different from the first router due to the movement of the mobile terminal device, the server device receives the IP received via the second router. Identifying the second router using the IP address included in the address notification;
The server device transmits the media data to the mobile terminal device via the second router;
Communication method.
JP2017197071A 2017-10-10 2017-10-10 Server apparatus and communication method Active JP6583833B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017197071A JP6583833B2 (en) 2017-10-10 2017-10-10 Server apparatus and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017197071A JP6583833B2 (en) 2017-10-10 2017-10-10 Server apparatus and communication method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015211050A Division JP6233664B2 (en) 2015-10-27 2015-10-27 Doorphone master unit and communication method

Publications (2)

Publication Number Publication Date
JP2018050302A JP2018050302A (en) 2018-03-29
JP6583833B2 true JP6583833B2 (en) 2019-10-02

Family

ID=61766616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017197071A Active JP6583833B2 (en) 2017-10-10 2017-10-10 Server apparatus and communication method

Country Status (1)

Country Link
JP (1) JP6583833B2 (en)

Also Published As

Publication number Publication date
JP2018050302A (en) 2018-03-29

Similar Documents

Publication Publication Date Title
JP5273053B2 (en) PAIRING SYSTEM, PAIRING MANAGEMENT DEVICE, PAIRING METHOD AND PROGRAM
JP6304604B2 (en) Door phone system, door phone master unit, communication method and program
US10321516B2 (en) Communication device, system, and computer program product
US20180069726A1 (en) Communication device, communication method, communication system, and computer program product
WO2007104212A1 (en) Network terminal door bell device, system and method
JP6210420B2 (en) Doorphone system, doorphone master unit, and communication method
CN104468966A (en) Incoming call silencing method and system for mobile terminal
JP5033171B2 (en) Intercom system
JP2006238330A (en) Communication system and communication service shift method
JP6233664B2 (en) Doorphone master unit and communication method
JP6187882B2 (en) Door phone system, server device, and program
JP6583833B2 (en) Server apparatus and communication method
US20130107697A1 (en) Network Connection System of Network Electronic Device and Method to Solve Terminal Device Unable to Reach Electronic Device Caused by Router Not Supporting NAT Loopback
JP6778892B2 (en) Camera system, hub, and communication method
JP6621071B2 (en) Portable terminal device and program for portable terminal device
JP6607362B2 (en) Doorphone system, doorphone master unit, and communication method
JP4783615B2 (en) Mobile communication system
JP2017117182A (en) Door phone system, door phone master machine and security management method
KR101545587B1 (en) Video conference system and method thereof
JP5810359B1 (en) Intercom system and program
JP6145844B2 (en) Residential information board, intercom system, and portable radio terminal program
JPWO2009022502A1 (en) Data communication system and data communication method
JP6213883B2 (en) Doorphone system, doorphone master unit, and communication method
JP6573202B2 (en) Doorphone system, doorphone master unit, and communication method
JP2017204717A (en) Home network system, telephone system and connection destination synchronization method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190514

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20190625

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190813

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190826

R150 Certificate of patent or registration of utility model

Ref document number: 6583833

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

SZ03 Written request for cancellation of trust registration

Free format text: JAPANESE INTERMEDIATE CODE: R313Z03

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350