Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5974630B2 - Information management apparatus, information management method, and information management program - Google Patents
[go: Go Back, main page]

JP5974630B2 - Information management apparatus, information management method, and information management program - Google Patents

Information management apparatus, information management method, and information management program Download PDF

Info

Publication number
JP5974630B2
JP5974630B2 JP2012117362A JP2012117362A JP5974630B2 JP 5974630 B2 JP5974630 B2 JP 5974630B2 JP 2012117362 A JP2012117362 A JP 2012117362A JP 2012117362 A JP2012117362 A JP 2012117362A JP 5974630 B2 JP5974630 B2 JP 5974630B2
Authority
JP
Japan
Prior art keywords
communication
information
switching
external device
path
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
JP2012117362A
Other languages
Japanese (ja)
Other versions
JP2013247378A (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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2012117362A priority Critical patent/JP5974630B2/en
Publication of JP2013247378A publication Critical patent/JP2013247378A/en
Application granted granted Critical
Publication of JP5974630B2 publication Critical patent/JP5974630B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、情報管理装置、情報管理方法および情報管理プログラムに関し、特に、通信回線を介して外部装置と情報の送受信を行う情報管理装置、情報管理方法および情報管理プログラムに関する。   The present invention relates to an information management device, an information management method, and an information management program, and more particularly, to an information management device, an information management method, and an information management program that transmit and receive information to and from an external device via a communication line.

従来、家庭内のエアコン、照明または冷蔵庫など複数の家電機器を相互連携させて操作するためのホームネットワークシステムが知られている。例えば、複数の家電機器を、ホームゲートウェイを介して外部インターネットに接続させることにより、ユーザは、外出先から自宅のコンテンツにアクセスして、家庭内の複数の家電機器を相互連携させて操作することができる(例えば、非特許文献1参照。)。   2. Description of the Related Art Conventionally, home network systems for operating a plurality of home appliances such as an air conditioner, a lighting, a refrigerator, etc. in a home are known. For example, by connecting a plurality of home appliances to the external Internet via a home gateway, the user can access home content from the outside and operate a plurality of home appliances in a home (For example, refer nonpatent literature 1.).

“1−1−3 基盤技術/ホームネットワーク・インフラ技術/ホームゲートウェイ”、[online]、[平成24年1月30日検索]、インターネット〈URL:http://www.jpo.go.jp/shiryou/s_sonota/hyoujun_gijutsu/web-base/1-1-3.pdf〉“1-1-3 Basic Technology / Home Network / Infrastructure Technology / Home Gateway”, [online], [searched on January 30, 2012], Internet <URL: http://www.jpo.go.jp/ shiryou / s_sonota / hyoujun_gijutsu / web-base / 1-1-3.pdf>

例えば、このようなホームネットワークにおいて、ケーブルの切断またはネットワーク障害などにより外部のサーバとの間の通信回線に異常が生じた場合、ホームネットワーク内の各家電機器は正常に動作していても、各家電機器は、外部のサーバまたは端末と正常な通信を行うことができない。また、ホームゲートウェイと外部のサーバ等の外部装置との間の通信回線を二重化することも考えられるが、ホームゲートウェイ自体が故障等で停止した場合、やはり各家電機器と外部装置との間の通信が困難になってしまう。   For example, in such a home network, when an abnormality occurs in a communication line with an external server due to cable disconnection or network failure, each home appliance in the home network is operating normally. The home appliance cannot communicate normally with an external server or terminal. It is also possible to duplicate the communication line between the home gateway and an external device such as an external server. However, if the home gateway itself stops due to a failure or the like, communication between each home appliance and the external device is also possible. Will become difficult.

このような場合、ホームネットワーク内の各家電機器などの被管理端末に関する情報が収集されていても、収集された情報が外部装置へ送信されないため、当該外部装置によるサービスをユーザは利用できなくなってしまう。   In such a case, even if information about the managed terminal such as each home appliance in the home network is collected, the collected information is not transmitted to the external device, so the user cannot use the service provided by the external device. End up.

この発明は、上述の課題を解決するためになされたもので、その目的は、被管理端末に関する情報を送信するための送信経路の障害耐性を向上させることができる情報管理装置、情報管理方法および情報管理プログラムを提供することである。   This invention was made in order to solve the above-mentioned subject, The objective is the information management apparatus which can improve the fault tolerance of the transmission route for transmitting the information regarding a managed terminal, an information management method, and To provide an information management program.

(1)上記課題を解決するために、この発明のある局面に係わる情報管理装置は、外部ネットワークとの通信を中継する通信中継装置を経由して上記外部ネットワークにおける外部装置と接続するための第1経路、または上記通信中継装置を経由せずに前記外部装置と接続するための第2経路を用いて上記外部装置と通信すると共に、1または複数の被管理端末と通信するための通信部と、上記外部装置との通信が可能であるか否かを判断し、判断結果を上記通信部に通知するための情報処理部とを備え、上記通信部は、上記情報処理部から通知された上記判断結果に基づいて、上記被管理端末に関する情報を上記外部装置へ送信する送信経路を、上記第1経路と上記2経路との間で切り替える。   (1) In order to solve the above-described problem, an information management apparatus according to an aspect of the present invention is configured to connect to an external apparatus in the external network via a communication relay apparatus that relays communication with the external network. A communication unit for communicating with the external device using one route or a second route for connecting to the external device without going through the communication relay device, and communicating with one or more managed terminals; An information processing unit for determining whether or not communication with the external device is possible and notifying the communication unit of the determination result, wherein the communication unit is notified from the information processing unit Based on the determination result, the transmission path for transmitting information on the managed terminal to the external device is switched between the first path and the two paths.

ここで、外部装置とは、例えば、情報管理装置との間で通信を行う外部のサーバである。このように、情報管理装置において、情報処理部が通信に不具合が生じていることを判断し、通信部がこの判断結果を受けて被管理端末に関する情報の送信に用いる送信経路を自動的に切り替える構成により、被管理端末に関する情報を送信するための送信経路の障害耐性を向上させることができる。   Here, the external device is, for example, an external server that communicates with the information management device. As described above, in the information management apparatus, the information processing unit determines that a communication failure has occurred, and the communication unit receives the determination result and automatically switches the transmission path used for transmitting information about the managed terminal. According to the configuration, it is possible to improve the fault tolerance of the transmission path for transmitting information related to the managed terminal.

また、通常、情報管理装置は、ホームゲートウェイ等の通信中継装置を介して外部装置との間で情報の送受信を行うが、情報管理装置が外部装置へ正常に情報を送信するためには、送信経路がホームゲートウェイを含むか否かにかかわらず、情報管理装置と外部装置との間における通信が確保されることで足りる。このため、情報管理装置と外部装置との間における被管理端末に関する情報の送信に用いられる送信経路を切り替えて通信を確保するという本発明に係る情報管理装置は、外部装置へ情報を送信することによって当該外部装置によるサービスをユーザに提供する情報管理装置において、一層有効である。   Also, normally, the information management device transmits and receives information to and from an external device via a communication relay device such as a home gateway. However, in order for the information management device to normally transmit information to the external device, transmission is performed. Regardless of whether the route includes the home gateway or not, it is sufficient to ensure communication between the information management device and the external device. For this reason, the information management apparatus according to the present invention, which secures communication by switching the transmission path used for transmitting information about the managed terminal between the information management apparatus and the external apparatus, transmits information to the external apparatus. Therefore, it is more effective in the information management apparatus that provides the user with the service provided by the external apparatus.

(2)好ましくは、上記情報処理部は、上記第1経路を用いた上記外部装置との通信が可能であるか否かを判断し、上記通信部は、上記第1経路を用いた上記外部装置との通信が可能でないと前記情報処理部によって判断された場合に、上記送信経路を上記第1経路から上記第2経路へ切り替える。   (2) Preferably, the information processing unit determines whether or not communication with the external device using the first route is possible, and the communication unit uses the first route for the external device. When the information processing unit determines that communication with the apparatus is not possible, the transmission path is switched from the first path to the second path.

このように、通信中継装置を経由する経路を用いた通信が可能であるか否かを情報処理部が監視する構成により、情報処理部の処理の簡易化を図ることができる。   As described above, the processing of the information processing unit can be simplified by the configuration in which the information processing unit monitors whether or not communication using a route passing through the communication relay device is possible.

(3)好ましくは、上記通信部は、上記送信経路の切り替えを行った後、切り替え元の経路を経由した上記外部装置との通信が可能であるか否かを確認し、可能である場合には、切り替え先の経路から上記切り替え元の経路への切り替えを行う。   (3) Preferably, the communication unit confirms whether or not communication with the external device via the switching source path is possible after switching the transmission path, and when it is possible Switches from the switching destination path to the switching source path.

このように、通信部が送信経路を切り替えた後も、切り替え元の経路を用いた通信の可否を確認することにより、当該通信が可能になった場合に、切り替え元の経路へ切り戻すことができる。また、通信部が切り替え元の経路を用いた通信の可否を直接確認することにより、例えば情報処理部が通信部を介して当該通信の可否を確認する場合と比較して、情報処理部における処理負荷の低減および当該確認処理の簡易化を図ることができる。   As described above, even after the communication unit switches the transmission route, by checking whether or not communication using the switching source route is possible, when the communication becomes possible, it is possible to switch back to the switching source route. it can. In addition, when the communication unit directly confirms whether communication using the switching source route is possible, for example, compared with the case where the information processing unit confirms whether communication is possible via the communication unit, the processing in the information processing unit It is possible to reduce the load and simplify the confirmation process.

(4)好ましくは、上記情報管理装置は、さらに、上記送信経路に優先度を設定するための優先度設定部を備え、上記通信部は、優先度の高い上記送信経路から優先度の低い上記送信経路への切り替えを行った場合に上記確認を行い、優先度の低い上記送信経路から優先度の高い上記送信経路への切り替えを行った場合には上記確認を行わない。   (4) Preferably, the information management apparatus further includes a priority setting unit for setting a priority to the transmission path, and the communication unit starts from the transmission path with a higher priority and has a lower priority. The above confirmation is performed when switching to a transmission path is performed, and the above confirmation is not performed when switching from the above transmission path with a low priority to the above transmission path with a high priority.

このような構成により、例えば、通信料金が低額である通信回線など、ユーザにとって都合の良い通信回線を優先的に利用することができる。   With such a configuration, for example, a communication line convenient for the user, such as a communication line with a low communication charge, can be used preferentially.

(5)好ましくは、上記第1経路は、固定網における通信回線を含み、上記第2経路は、携帯電話網における通信回線を含み、上記優先度設定部は、上記第1経路に高い優先度を設定し、上記第2経路に低い優先度を設定する。   (5) Preferably, the first route includes a communication line in a fixed network, the second route includes a communication line in a mobile phone network, and the priority setting unit has a high priority on the first route. And a low priority is set for the second route.

このような構成により、通信料金が必要である場合の多い携帯電話網における通信回線よりも、通信料金が不要である場合の多い固定網における通信回線が優先的に利用されるため、通信料を低く抑えることができる。   With such a configuration, the communication line in the fixed network where the communication fee is often unnecessary is preferentially used over the communication line in the mobile phone network where the communication fee is often required. It can be kept low.

(6)好ましくは、上記情報処理部は、上記情報管理装置が複数の上記外部装置と通信する場合、上記外部装置ごとに、上記外部装置との通信が可能であるか否かを判断し、判断結果を上記通信部に通知し、上記通信部は、上記情報処理部から通知された上記判断結果に基づいて、上記外部装置ごとに上記送信経路の切り替えを行う。   (6) Preferably, the information processing unit determines whether or not communication with the external device is possible for each external device when the information management device communicates with the plurality of external devices. The determination result is notified to the communication unit, and the communication unit switches the transmission path for each external device based on the determination result notified from the information processing unit.

このように、サーバごとに送信経路の切り替えを行う構成により、例えば、固定網における通信回線を介して通信を正常に行うことができないサーバについてのみ携帯電話網における通信回線に切り替えて通信料金の増加を抑えることができるなど、ユーザにとって一層都合のよいサービスを提供することができる。   In this way, by switching the transmission path for each server, for example, only a server that cannot perform communication normally via a communication line in a fixed network is switched to a communication line in a mobile phone network to increase communication charges. Service that is more convenient for the user can be provided.

(7)好ましくは、上記情報処理部は、上記外部装置を示す宛先情報を上記通信部へ出力し、上記通信部は、上記情報処理部から受けた上記宛先情報に基づいて、上記切り替え元の経路を経由した上記外部装置との通信が可能であるか否かの確認を行う。   (7) Preferably, the information processing unit outputs destination information indicating the external device to the communication unit, and the communication unit receives the switching source based on the destination information received from the information processing unit. It is confirmed whether or not communication with the external device via the route is possible.

このような構成により、通信部は、送信経路の切り替えを行った後、切り替え元の経路を経由する通信の可否を判断する際に切り替え元の経路を経由する通信の接続先を情報処理部に確認する必要がないため、円滑な処理を行うことができる。特に、通信部が複数の外部装置との間で通信を行う場合には、通信部は、複数の外部装置の中から上記接続先を確認する必要がないため、このような構成が一層有効である。   With such a configuration, after switching the transmission path, the communication unit determines the connection destination of the communication via the switching source path to the information processing unit when determining whether communication via the switching source path is possible. Since there is no need to confirm, smooth processing can be performed. In particular, when the communication unit performs communication with a plurality of external devices, the communication unit does not need to confirm the connection destination from among the plurality of external devices, and thus such a configuration is more effective. is there.

(8)好ましくは、上記情報管理装置は複数レイヤを有する通信プロトコルに従って動作し、上記情報処理部は、上記複数レイヤのうち第1のレイヤに従い、上記外部装置との通信が可能であるか否かを判断し、判断結果を上記通信部に通知し、上記通信部は、上記第1のレイヤよりも下位の第2のレイヤに従い、上記情報処理部から通知された上記判断結果に基づいて、上記送信経路の切り替えを行う。   (8) Preferably, the information management device operates according to a communication protocol having a plurality of layers, and the information processing unit is capable of communicating with the external device according to a first layer of the plurality of layers. And the communication unit notifies the communication unit of the determination result, and the communication unit follows the second layer lower than the first layer, based on the determination result notified from the information processing unit, The transmission path is switched.

このように、外部装置との間における通信が可能であるか否かの判断を上位レイヤにおいて行い、送信経路の切り替えを下位レイヤにおいて行う構成により、レイヤ間で適切な役割分担を図ることができる。   In this way, it is possible to achieve appropriate division of roles between layers by determining whether communication with an external device is possible in the upper layer and switching the transmission path in the lower layer. .

(9)上記課題を解決するために、この発明のある局面に係わる情報管理方法は、外部ネットワークとの通信を中継する通信中継装置を経由して上記外部ネットワークにおける外部装置と接続するための第1経路、または上記通信中継装置を経由せずに上記外部装置と接続するための第2経路を用いて上記外部装置と通信し、複数レイヤを有する通信プロトコルに従って動作する情報管理装置における情報管理方法であって、情報管理装置が、上記複数レイヤのうちの第1のレイヤに従い、上記外部装置との通信が可能であるか否かを判断するステップと、情報管理装置が、上記複数レイヤのうち、上記第1のレイヤよりも下位の第2のレイヤに従い、判断した結果に基づいて、1または複数の被管理端末に関する情報を上記外部装置へ送信する送信経路を、上記第1経路と上記2経路との間で切り替えるステップとを含む。   (9) In order to solve the above-described problem, an information management method according to an aspect of the present invention provides a first method for connecting to an external device in the external network via a communication relay device that relays communication with the external network. An information management method in an information management apparatus that communicates with the external apparatus using a first path or a second path for connecting to the external apparatus without going through the communication relay apparatus and operates according to a communication protocol having a plurality of layers The information management device determines whether or not communication with the external device is possible according to the first layer of the plurality of layers; In accordance with the second layer lower than the first layer, based on the determination result, information on one or more managed terminals is transmitted to the external device The transmission path that includes a step of switching between the first path and the second path.

このように、本発明に係る情報管理方法によれば、第1のレイヤに従い、通信に不具合が生じていることを判断し、第1のレイヤよりも下位の第2のレイヤに従い、この判断結果を受けて被管理端末に関する情報の送信に用いる送信経路を自動的に切り替える方法により、被管理端末に関する情報を送信するための送信経路の障害耐性を向上させることができる。   As described above, according to the information management method of the present invention, it is determined that there is a communication failure according to the first layer, and this determination result is determined according to the second layer lower than the first layer. In response to this, it is possible to improve the fault tolerance of the transmission path for transmitting the information related to the managed terminal by the method of automatically switching the transmission path used for transmitting the information related to the managed terminal.

また、このように、外部装置との間における通信が可能であるか否かの判断を上位レイヤにおいて行い、送信経路の切り替えを下位レイヤにおいて行う構成により、レイヤ間で適切な役割分担を図ることができる。   In addition, in this way, it is determined whether or not communication with an external device is possible in the upper layer, and transmission roles are switched in the lower layer, so that appropriate roles are divided between layers. Can do.

また、通常、情報管理装置は、ホームゲートウェイ等の通信中継装置を介して外部装置との間で情報の送受信を行うが、情報管理装置が外部装置へ正常に情報を送信するためには、送信経路がホームゲートウェイを含むか否かにかかわらず、情報管理装置と外部装置との間における通信が確保されることで足りる。このため、情報管理装置と外部装置との間における被管理端末に関する情報の送信に用いられる送信経路を切り替えて通信を確保するという本発明に係る情報管理装置は、外部装置へ情報を送信することによって当該外部装置によるサービスをユーザに提供する情報管理装置において、一層有効である。   Also, normally, the information management device transmits and receives information to and from an external device via a communication relay device such as a home gateway. However, in order for the information management device to normally transmit information to the external device, transmission is performed. Regardless of whether the route includes the home gateway or not, it is sufficient to ensure communication between the information management device and the external device. For this reason, the information management apparatus according to the present invention, which secures communication by switching the transmission path used for transmitting information about the managed terminal between the information management apparatus and the external apparatus, transmits information to the external apparatus. Therefore, it is more effective in the information management apparatus that provides the user with the service provided by the external apparatus.

(10)上記課題を解決するために、この発明のある局面に係わる情報管理プログラムは、外部ネットワークとの通信を中継する通信中継装置を経由して上記外部ネットワークにおける外部装置と接続するための第1経路、または上記通信中継装置を経由せずに上記外部装置と接続するための第2経路を用いて上記外部装置と通信し、複数レイヤを有する通信プロトコルに従って動作する情報管理装置に用いられる情報管理プログラムであって、コンピュータに、上記複数レイヤのうちの第1のレイヤに従い、上記外部装置との通信が可能であるか否かを判断するステップと、上記複数レイヤのうち、上記第1のレイヤよりも下位の第2のレイヤに従い、判断した結果に基づいて、1または複数の被管理端末に関する情報を上記外部装置へ送信する送信経路を、上記第1経路と上記2経路との間で切り替えるステップとを実行させるためのプログラムである。   (10) In order to solve the above-described problem, an information management program according to an aspect of the present invention is a first program for connecting to an external device in the external network via a communication relay device that relays communication with the external network. Information used for an information management device that communicates with the external device using one route or a second route for connecting to the external device without going through the communication relay device and operates according to a communication protocol having a plurality of layers A management program that determines whether the computer can communicate with the external device according to the first layer of the plurality of layers; and the first of the plurality of layers. Information on one or more managed terminals is sent to the external device based on the determined result according to the second layer lower than the layer. A transmission path that is a program for executing a step of switching between the first path and the second path.

このように、本発明に係る情報管理プログラムによれば、情報管理装置が、第1のレイヤに従い、通信に不具合が生じていることを判断し、第1のレイヤよりも下位の第2のレイヤに従い、この判断結果を受けて被管理端末に関する情報の送信に用いる送信経路を自動的に切り替えるため、被管理端末に関する情報を送信するための送信経路の障害耐性を向上させることができる。   As described above, according to the information management program of the present invention, the information management apparatus determines that there is a problem in communication according to the first layer, and the second layer lower than the first layer. Accordingly, the transmission path used for transmission of information related to the managed terminal is automatically switched in response to this determination result, so that the fault tolerance of the transmission path for transmitting information related to the managed terminal can be improved.

また、このように、外部装置との間における通信が可能であるか否かの判断を上位レイヤにおいて行い、送信経路の切り替えを下位レイヤにおいて行う構成により、レイヤ間で適切な役割分担を図ることができる。   In addition, in this way, it is determined whether or not communication with an external device is possible in the upper layer, and transmission roles are switched in the lower layer, so that appropriate roles are divided between layers. Can do.

また、通常、情報管理装置は、ホームゲートウェイ等の通信中継装置を介して外部装置との間で情報の送受信を行うが、情報管理装置が外部装置へ正常に情報を送信するためには、送信経路がホームゲートウェイを含むか否かにかかわらず、情報管理装置と外部装置との間における通信が確保されることで足りる。このため、情報管理装置と外部装置との間における被管理端末に関する情報の送信に用いられる送信経路を切り替えて通信を確保するという本発明に係る情報管理装置は、外部装置へ情報を送信することによって当該外部装置によるサービスをユーザに提供する情報管理装置において、一層有効である。   Also, normally, the information management device transmits and receives information to and from an external device via a communication relay device such as a home gateway. However, in order for the information management device to normally transmit information to the external device, transmission is performed. Regardless of whether the route includes the home gateway or not, it is sufficient to ensure communication between the information management device and the external device. For this reason, the information management apparatus according to the present invention, which secures communication by switching the transmission path used for transmitting information about the managed terminal between the information management apparatus and the external apparatus, transmits information to the external apparatus. Therefore, it is more effective in the information management apparatus that provides the user with the service provided by the external apparatus.

本発明によれば、被管理端末に関する情報を送信するための送信経路の障害耐性を向上させることができる。   ADVANTAGE OF THE INVENTION According to this invention, the fault tolerance of the transmission path | route for transmitting the information regarding a managed terminal can be improved.

本発明の実施の形態に係る汎用宅内端末を備えるホームネットワークシステムの構成を示す図である。It is a figure which shows the structure of a home network system provided with the general purpose premises terminal which concerns on embodiment of this invention. 本発明の実施の形態に係る汎用宅内端末のソフトウェア構成を示すブロック図である。It is a block diagram which shows the software structure of the general purpose home terminal which concerns on embodiment of this invention. 本発明の実施の形態に係る汎用宅内端末のOSの構成例を示すブロック図である。It is a block diagram which shows the structural example of OS of the general purpose home terminal which concerns on embodiment of this invention. 本発明の実施の形態に係る汎用宅内端末におけるイーサネット回線の確立状態、および、3G回線の確立状態の遷移を示す図である。It is a figure which shows the establishment state of the Ethernet line in the general purpose home terminal which concerns on embodiment of this invention, and the transition of the establishment state of a 3G line | wire. 図4のSTATE1の状態における、本発明の実施の形態に係る汎用宅内端末のアプリケーションおよびOSによる通信回線の切り替え動作手順を示すフローチャートである。5 is a flowchart showing a communication line switching operation procedure by an application and an OS of the general-purpose home terminal according to the embodiment of the present invention in the state of STATE 1 in FIG. 4. 図4のSTATE2の状態における、本発明の実施の形態に係る汎用宅内端末のアプリケーションおよびOSによる通信回線の切り替え動作手順を示すフローチャートである。6 is a flowchart showing a communication line switching operation procedure by an application and an OS of the general-purpose home terminal according to the embodiment of the present invention in the state of STATE 2 in FIG. 4. 図4のSTATE3の状態における、本発明の実施の形態に係る汎用宅内端末のアプリケーションおよびOSによる通信回線の切り替え動作手順を示すフローチャートである。5 is a flowchart showing a communication line switching operation procedure by an application and an OS of a general-purpose home terminal according to the embodiment of the present invention in the state of STATE 3 in FIG. 4. 図4のSTATE4の状態における、本発明の実施の形態に係る汎用宅内端末のアプリケーションおよびOSによる通信回線の切り替え動作手順を示すフローチャートである。6 is a flowchart showing a communication line switching operation procedure by an application and an OS of the general-purpose home terminal according to the embodiment of the present invention in the state of STATE 4 in FIG. 4. 図4のSTATE1からSTATE4までの各状態と、各状態において本発明の実施の形態に係る汎用宅内端末の切り替え管理部により選択される通信回線との対応関係を示す図である。FIG. 5 is a diagram illustrating a correspondence relationship between each state from STATE 1 to STATE 4 in FIG. 4 and a communication line selected by the switching management unit of the general-purpose home terminal according to the embodiment of the present invention in each state.

以下、本発明の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

[構成および基本動作]
(ホームネットワークシステムの構成)
図1は、本発明の実施の形態に係る汎用宅内端末10を備えるホームネットワークシステム100の構成を示す図である。
[Configuration and basic operation]
(Home network system configuration)
FIG. 1 is a diagram showing a configuration of a home network system 100 including a general-purpose home terminal 10 according to an embodiment of the present invention.

図1を参照して、ホームネットワークシステム100は、汎用宅内端末10と、ホームゲートウェイ(HGW)11と、PC(Personal Computer)12と、家電機器13とを備えている。さらに、ホームネットワークシステム100は、汎用宅内端末10に取り外し可能に接続されるかまたは汎用宅内端末10に内蔵された1または複数のセンサ16を備えている。   Referring to FIG. 1, home network system 100 includes a general-purpose home terminal 10, a home gateway (HGW) 11, a PC (Personal Computer) 12, and a home appliance 13. Furthermore, the home network system 100 includes one or more sensors 16 that are detachably connected to the general-purpose home terminal 10 or built in the general-purpose home terminal 10.

汎用宅内端末10は、たとえば、複数のセンサ16を介して、家庭内のエアコン、照明または冷蔵庫などの複数の家電機器13のような被管理端末から情報を取得する情報管理装置である。例えば、汎用宅内端末10は、予めダウンロードされたアプリケーションを搭載しており、このアプリケーションが、複数のセンサ16を介して複数の家電機器13の使用電力量など被管理端末に関する情報を収集する。   The general-purpose home terminal 10 is an information management device that acquires information from a plurality of managed terminals such as a plurality of home appliances 13 such as an air conditioner, a light, or a refrigerator in the home via a plurality of sensors 16. For example, the general-purpose home terminal 10 has an application downloaded in advance, and this application collects information related to the managed terminal such as the power consumption of the plurality of home appliances 13 via the plurality of sensors 16.

また、汎用宅内端末10に搭載されたアプリケーションは、ホームネットワークシステム100の外部ネットワークのサーバ群21のうち、情報の付与先または情報の取得元であるサーバのURL(Uniform Resource Locator)またはIPアドレスを予め取得している。そして、汎用宅内端末10は、当該URLまたはIPアドレスに基づいてサーバを特定し、ホームゲートウェイ11および外部ネットワークにおけるネットワーク20を介して当該サーバと接続する。そして、汎用宅内端末10は、収集した被管理端末に関する情報をこのサーバのような外部装置に送信する。   The application installed in the general-purpose home terminal 10 uses the URL (Uniform Resource Locator) or IP address of the server to which the information is added or the information is acquired from the server group 21 of the external network of the home network system 100. Obtained in advance. Then, the general-purpose home terminal 10 identifies the server based on the URL or IP address, and connects to the server via the home gateway 11 and the network 20 in the external network. The general-purpose home terminal 10 transmits the collected information on the managed terminal to an external device such as this server.

なお、本発明の実施の形態において、ネットワーク20は、特定の事業者のネットワークであり、このネットワーク20に特定の事業者のサーバ群21が接続されている。このネットワーク20およびホームゲートウェイ11を介する、汎用宅内端末10とサーバとを接続する経路であって、汎用宅内端末10が被管理端末に関する情報をサーバへ送信するために用いられる通信経路(第1経路)は、固定網における通信回線を含む。ここでは、汎用宅内端末10は、固定網における通信回線として例えばイーサネット(登録商標)規格に従って通信が行われる通信回線(以下、「イーサネット回線」と称する)を利用するものとする。   In the embodiment of the present invention, the network 20 is a network of a specific business operator, and a server group 21 of the specific business operator is connected to the network 20. A path for connecting the general-purpose home terminal 10 and the server via the network 20 and the home gateway 11 and used for the general-purpose home terminal 10 to transmit information related to the managed terminal to the server (first path) ) Includes a communication line in a fixed network. Here, it is assumed that the general-purpose home terminal 10 uses a communication line (hereinafter referred to as “Ethernet line”) through which communication is performed in accordance with, for example, the Ethernet (registered trademark) standard as a communication line in a fixed network.

サーバ群21の各サーバにはアプリケーションが搭載されている。例えば、サーバ群21のうちのあるサーバには、家電機器13の使用電力量の情報に基づいて管理情報を作成するためのアプリケーションが搭載されている。各サーバに搭載されたアプリケーションは、使用電力量の情報またはその管理情報を利用したサービスをユーザに提供する。例えば家電機器13の遠隔制御のようなサービスをユーザが受ける場合、アプリケーションは、汎用宅内端末10から送信された情報を取得し、取得した情報に基づいて管理情報等を作成し、作成した管理情報等を汎用宅内端末10に送信する。   Each server of the server group 21 is loaded with an application. For example, an application for creating management information based on information on the amount of power used by the home appliance 13 is mounted on a server in the server group 21. An application installed in each server provides a user with a service using information on the amount of power used or management information thereof. For example, when the user receives a service such as remote control of the home appliance 13, the application acquires information transmitted from the general-purpose home terminal 10, creates management information based on the acquired information, and creates the created management information To the general-purpose home terminal 10.

具体的には、汎用宅内端末10から使用電力量の情報が送信された場合、サーバに搭載されたアプリケーションは、汎用宅内端末10から送信された使用電力量の情報を取得し、取得した情報に基づいて管理情報を作成し、作成した管理情報を汎用宅内端末10に送信する。そして、汎用宅内端末10は、取得した管理情報に基づいて、センサ16を介して各家電機器13の動作制御などを行う。また、汎用宅内端末10は、使用電力量またはその統計情報をユーザがPC12から閲覧可能なように、管理情報等をPC12に送信してもよい。   Specifically, when information on the amount of power used is transmitted from the general-purpose home terminal 10, the application installed in the server acquires the information on the amount of power used transmitted from the general-purpose home terminal 10, and adds the acquired information to the acquired information. Management information is created based on this, and the created management information is transmitted to the general-purpose home terminal 10. The general-purpose home terminal 10 performs operation control of each home appliance 13 via the sensor 16 based on the acquired management information. Further, the general-purpose home terminal 10 may transmit management information or the like to the PC 12 so that the user can view the power consumption or the statistical information thereof from the PC 12.

また、汎用宅内端末10は、複数のアプリケーションを搭載することが可能であり、例えば、サーバから送信された管理情報に基づいて、家庭内のセキュリティー管理などの他のサービスをユーザに提供するためのアプリケーションを搭載することもできる。   The general-purpose home terminal 10 can be equipped with a plurality of applications. For example, based on the management information transmitted from the server, other services such as home security management are provided to the user. Applications can also be installed.

ホームゲートウェイ11は、内部ネットワーク、すなわちホームネットワークシステム100に設けられ、内部ネットワークにおける機器と外部ネットワークとの通信を中継する通信中継装置である。具体的には、ホームゲートウェイ11は、汎用宅内端末10またはPC12など家庭内の種々の装置と接続されており、これらの装置間の接続およびこれらの装置と外部ネットワークにおける外部装置との接続を行う。例えば、ユーザがPC12を操作することにより、ユーザは、ホームゲートウェイ11を介して汎用宅内端末10を操作することができる。   The home gateway 11 is a communication relay device that is provided in the internal network, that is, the home network system 100 and relays communication between a device in the internal network and the external network. Specifically, the home gateway 11 is connected to various devices in the home such as the general-purpose home terminal 10 or the PC 12, and connects these devices and connects these devices to external devices in an external network. . For example, when the user operates the PC 12, the user can operate the general-purpose home terminal 10 via the home gateway 11.

ここで、汎用宅内端末10は、イーサネット回線だけでなく、イーサネット回線に異常が生じた場合に他の通信回線を用いることにより、サーバ群21との間の情報の送受信を行うことができる。すなわち、汎用宅内端末10は、イーサネット回線を介してサーバとの間における通信が可能であるか否か、すなわちサーバへの情報の付与およびサーバからの情報の取得を正常に行えているか否かを判断する。そして、例えば、ケーブルの切断またはネットワーク障害などにより、イーサネット回線側に異常が生じた場合に、汎用宅内端末10は、被管理端末に関する情報の送信に用いる送信経路を、イーサネット回線を利用する通信経路から他の通信経路へ切り替える。   Here, the general-purpose home terminal 10 can transmit / receive information to / from the server group 21 by using another communication line when an abnormality occurs not only in the Ethernet line but also in the Ethernet line. That is, the general-purpose home terminal 10 determines whether or not communication with the server is possible via the Ethernet line, that is, whether or not information is normally given to the server and information is acquired from the server. to decide. Then, for example, when an abnormality occurs on the Ethernet line side due to cable disconnection or network failure, the general-purpose home terminal 10 uses a communication path that uses the Ethernet line as a transmission path used to transmit information about the managed terminal. To another communication path.

具体的には、汎用宅内端末10は、ホームゲートウェイ11を介さない他の通信経路として、たとえば一般の公衆回線である携帯電話網における通信回線を利用する通信経路(第2経路)を用いて家電機器13に関する情報を送信する。ここでは、ホームゲートウェイ11を介さない第2経路は、携帯電話網における通信回線として例えば3GPP(3rd Generation Partnership Project)規格に従って通信が行われる通信回線(以下、「3G回線」と称する)を含む。   Specifically, the general-purpose home terminal 10 uses a communication path (second path) that uses a communication line in a mobile phone network, which is a general public line, as another communication path that does not pass through the home gateway 11. Information related to the device 13 is transmitted. Here, the second route not passing through the home gateway 11 includes a communication line (hereinafter referred to as “3G line”) in which communication is performed in accordance with, for example, the 3GPP (3rd Generation Partnership Project) standard as a communication line in the mobile phone network.

詳細には、汎用宅内端末10は、イーサネット回線を介したサーバとのコネクション確立を正常に行えていないと判断した場合に、3G回線を利用してインターネット22と接続する。そして、汎用宅内端末10は、たとえば移動通信事業者網における基地局など、外部ネットワークにおける通信中継装置およびインターネット22を介してネットワーク20と接続し、ネットワーク20に接続されているサーバ群21のサーバとの間で情報の送受信を行う。このような汎用宅内端末10による通信回線の切り替えに関する詳細な説明については後述する。   Specifically, the general-purpose home terminal 10 connects to the Internet 22 using the 3G line when it is determined that the connection with the server via the Ethernet line cannot be normally established. The general-purpose home terminal 10 is connected to the network 20 via a communication relay device in the external network, such as a base station in a mobile communication carrier network, and the Internet 22, and a server of the server group 21 connected to the network 20 Send and receive information. Detailed description regarding switching of communication lines by the general-purpose home terminal 10 will be described later.

(汎用宅内端末の詳細な構成)
図2は、本発明の実施の形態に係る汎用宅内端末10のソフトウェア構成を示すブロック図である。
(Detailed configuration of general-purpose home terminal)
FIG. 2 is a block diagram showing a software configuration of the general-purpose home terminal 10 according to the embodiment of the present invention.

図2を参照して、汎用宅内端末10のソフトウェアは、アプリケーション30と、OSGi(Open Service Gateway initiative)31と、Java(登録商標)仮想マシン(Java VM(Java Virtual Machine))32と、OS(Operating System)33とを含む。ここでは、アプリケーション30が情報処理部として機能し、OS33が通知部として機能する。   With reference to FIG. 2, the software of the general-purpose home terminal 10 includes an application 30, an OSGi (Open Service Gateway initiative) 31, a Java (registered trademark) virtual machine (Java VM (Java Virtual Machine)) 32, and an OS ( Operating System) 33. Here, the application 30 functions as an information processing unit, and the OS 33 functions as a notification unit.

汎用宅内端末10は、複数レイヤを有するプロトコルに従って動作し、アプリケーション30は、複数レイヤのうち第1のレイヤに従って動作する。ここでは、アプリケーション30は複数のアプリケーションを有し、各アプリケーションは、それぞれサーバ群21のうち対応するサーバへ付与すべき情報を作成し、かつ、対応するサーバから取得した情報を処理する。   The general-purpose home terminal 10 operates according to a protocol having a plurality of layers, and the application 30 operates according to a first layer among the plurality of layers. Here, the application 30 has a plurality of applications, and each application creates information to be given to a corresponding server in the server group 21 and processes information acquired from the corresponding server.

具体的には、アプリケーション30は、メッセージサービスMSと、専用アプリケーションA1,A2,A3・・・とを有する。専用アプリケーションA1,A2,A3・・・は、それぞれ異なるサービスを提供するためのアプリケーションであり、家電機器13から情報を取得し、取得した情報に基づいて対応するサーバへ付与すべき情報を作成する。   Specifically, the application 30 includes a message service MS and dedicated applications A1, A2, A3,. Dedicated applications A1, A2, A3,... Are applications for providing different services, acquire information from home appliances 13, and create information to be given to the corresponding server based on the acquired information .

また、専用アプリケーションA1,A2,A3・・・は、サーバに搭載されたアプリケーションにより作成された情報を取得し、取得した情報を処理して家電機器13の動作制御等を行うことができる。   Also, the dedicated applications A1, A2, A3,... Can acquire information created by an application installed in the server, process the acquired information, and perform operation control of the home appliance 13 or the like.

また、専用アプリケーションA1,A2,A3・・・は、それぞれ対応するサーバの宛先情報であるURL等をメッセージサービスMSに通知する。   Further, the dedicated applications A1, A2, A3,... Notify the message service MS of URLs or the like as destination information of the corresponding servers.

メッセージサービスMSは、専用アプリケーションA1,A2,A3・・・からそれぞれ取得したURL等に従い、対応するサーバとのコネクションを確立できるかどうか判断し、その判断結果およびURL等をOS33に出力する。   The message service MS determines whether a connection with the corresponding server can be established according to the URLs acquired from the dedicated applications A1, A2, A3,..., And outputs the determination result and the URL to the OS 33.

OSGi31は、OSGiアライアンスによる標準化技術であり、Java(登録商標)言語に基づいたオープンなソフトウェア部品化技術に基づいて作成されたソフトウェア部品の実行環境を提供するソフトウェアプラットフォームである。ここでのOSGi31は、アプリケーション(バンドル)30の実行基盤であるOSGiフレームワークである。汎用宅内端末10は、このOSGi31上において、アプリケーション30の各アプリケーションを単独に、または連携して実行させることができる。   The OSGi 31 is a standardized technology by the OSGi Alliance, and is a software platform that provides an execution environment for software components created based on an open software componentization technology based on the Java (registered trademark) language. The OSGi 31 here is an OSGi framework that is an execution base of the application (bundle) 30. The general-purpose home terminal 10 can execute each application of the application 30 independently or in cooperation on the OSGi 31.

なお、アプリケーション30の専用アプリケーションA1,A2,A3・・・を実行させるためのソフトウェアプラットフォームとしては、OSGi31およびJava仮想マシン32に限定されず、他のアプリケーション実行環境を採用してもよい。   The software platform for executing the dedicated applications A1, A2, A3,... Of the application 30 is not limited to the OSGi 31 and the Java virtual machine 32, and other application execution environments may be adopted.

OS33は、上記第1のレイヤよりも下位の第2のレイヤに従って動作する。OS33は、アプリケーション30のメッセージサービスMSからの通知である判断結果およびURL等に基づいて、対応するサーバとの間における情報の送受信に用いるための通信回線の切り替えを行う。以下、OS33のより詳細な構成について説明する。   The OS 33 operates according to a second layer lower than the first layer. The OS 33 performs switching of a communication line used for transmission / reception of information with a corresponding server based on a determination result, a URL, and the like that are notifications from the message service MS of the application 30. Hereinafter, a more detailed configuration of the OS 33 will be described.

(OSの詳細な構成)
図3は、本発明の実施の形態に係る汎用宅内端末10のOS33の構成例を示すブロック図である。
(Detailed configuration of OS)
FIG. 3 is a block diagram showing a configuration example of the OS 33 of the general-purpose home terminal 10 according to the embodiment of the present invention.

図3を参照して、ここでのOS33は、OSアプリケーション40と、OSカーネル41とを有する。OSアプリケーション40とOSカーネル41との間の通信または情報授受のため、この例ではソケット44とルート制御部45とが設けられている。OSアプリケーション40は、OSネイティブのアプリケーションであり、OSカーネル41及びソケット44を用いて、アプリケーション30およびサーバ群21と通信する。OSアプリケーション40は、切り替え管理部42(優先度設定部)と、モニタ処理部43とを有する。OSカーネル41は、ルーティング処理部46を有し、イーサネットポート47と、3Gポート48とを管理する。   Referring to FIG. 3, the OS 33 here has an OS application 40 and an OS kernel 41. In this example, a socket 44 and a route control unit 45 are provided for communication or information exchange between the OS application 40 and the OS kernel 41. The OS application 40 is an OS native application, and communicates with the application 30 and the server group 21 using the OS kernel 41 and the socket 44. The OS application 40 includes a switching management unit 42 (priority setting unit) and a monitor processing unit 43. The OS kernel 41 has a routing processing unit 46 and manages the Ethernet port 47 and the 3G port 48.

切り替え管理部42は、サーバ群21との情報の送受信に用いる通信回線の制御を行う。本発明の実施の形態に係る汎用宅内端末10は、イーサネット回線または3G回線を情報の送受信用の通信回線として利用する。以下では、それぞれの回線を用いる場合に分けて、OS33の構成および基本動作について説明する。   The switching management unit 42 controls a communication line used for transmission / reception of information with the server group 21. The general-purpose home terminal 10 according to the embodiment of the present invention uses an Ethernet line or a 3G line as a communication line for transmitting and receiving information. Hereinafter, the configuration and basic operation of the OS 33 will be described separately for each line.

(a)イーサネット回線を利用する場合
切り替え管理部42は、まず、イーサネットポート47とホームゲートウェイ11とを接続するイーサネット回線(リンク)が確立されているか否かの確認を行う。なお、ここでの通信回線が確立している状態とは、ホームゲートウェイ11との間で物理的に通信回線が接続されている状態であって、サーバ群21との情報の送受信を正常に行うことができるとは限らない状態である。
(A) When Using an Ethernet Line The switching management unit 42 first checks whether an Ethernet line (link) that connects the Ethernet port 47 and the home gateway 11 is established. Note that the state where the communication line is established here is a state where the communication line is physically connected to the home gateway 11, and information is normally transmitted / received to / from the server group 21. It is not always possible.

そして、切り替え管理部42は、イーサネット回線が確立されていることを確認した場合、イーサネット回線が確立されていることを示す情報をモニタ処理部43に出力する。   When the switching management unit 42 confirms that the Ethernet line is established, the switching management unit 42 outputs information indicating that the Ethernet line is established to the monitor processing unit 43.

また、切り替え管理部42は、メッセージサービスMSから専用アプリケーションA1,A2,A3・・・にそれぞれ対応するサーバのURL等を取得する。そして、切り替え管理部42は、イーサネット回線が確立されていることを示す情報とともに、サーバのURL等をモニタ処理部43に出力する。   Further, the switching management unit 42 acquires URLs and the like of servers respectively corresponding to the dedicated applications A1, A2, A3... From the message service MS. Then, the switching management unit 42 outputs the server URL and the like to the monitor processing unit 43 together with information indicating that the Ethernet line is established.

モニタ処理部43は、切り替え管理部42からイーサネット回線が確立されていることを示す情報を取得した場合に、イーサネット回線を用いてサーバ群21との情報の送受信を正常に行うことができるか否かを監視する。   Whether the monitor processing unit 43 can normally transmit / receive information to / from the server group 21 using the Ethernet line when acquiring information indicating that the Ethernet line has been established from the switching management unit 42. To monitor.

具体的には、モニタ処理部43は、例えばTCP/IP(Transmission Control Protocol/Internet Protocol)における3ウェイ・ハンドシェイクにより、取得したURL等に基づいて、イーサネット回線を利用してサーバ群21の対応するサーバに所定の間隔でパケットを送信する。イーサネット回線を用いてサーバ群21との情報の送受信を正常に行うことができる状態であれば、このモニタ処理部43から送信されるパケットは、ソケット44、ルーティング処理部46、イーサネットポート47、ホームゲートウェイ11およびネットワーク20を介して、サーバ群21の対応するサーバに送信される。   Specifically, the monitor processing unit 43 responds to the server group 21 using an Ethernet line based on an acquired URL or the like by, for example, three-way handshake in TCP / IP (Transmission Control Protocol / Internet Protocol). Packets are transmitted to the server that performs a predetermined interval. As long as information can be normally transmitted / received to / from the server group 21 using the Ethernet line, the packet transmitted from the monitor processing unit 43 includes the socket 44, the routing processing unit 46, the Ethernet port 47, the home The data is transmitted to the corresponding server in the server group 21 via the gateway 11 and the network 20.

モニタ処理部43は、送信したパケットに対するサーバ群21からの正常な応答を受けるか否かを確認することにより、イーサネット回線を用いてサーバ群21との情報の送受信を正常に行うことができるか否かを監視することができる。そして、モニタ処理部43は、監視結果をメッセージサービスMSへ出力する。そして、メッセージサービスMSは、この監視結果に基づいて、サーバとの通信が可能であるか否かを判断し、判断結果を切り替え管理部42に通知する。   Whether the monitor processing unit 43 can normally transmit / receive information to / from the server group 21 using the Ethernet line by checking whether or not a normal response is received from the server group 21 to the transmitted packet. Whether or not can be monitored. Then, the monitor processing unit 43 outputs the monitoring result to the message service MS. Then, the message service MS determines whether or not communication with the server is possible based on the monitoring result, and notifies the switching management unit 42 of the determination result.

より詳細には、メッセージサービスMSは、モニタ処理部43による監視結果を受けて、サーバ群21との情報の送受信を正常に行うことができるか否かを示すイベントを生成し、生成したイベントを切り替え管理部42に通知する。具体的には、メッセージサービスMSは、サーバ群21との情報の送受信を正常に行うことができる場合には「CONNECTED」を切り替え管理部42に通知し、サーバ群21との情報の送受信を正常に行うことができない場合には「DISCONNECTED」を切り替え管理部42に通知する。   More specifically, the message service MS receives the monitoring result from the monitor processing unit 43, generates an event indicating whether or not information can be normally transmitted and received with the server group 21, and the generated event is displayed. The change management unit 42 is notified. Specifically, when the message service MS can normally transmit / receive information to / from the server group 21, the message service MS notifies the switching management unit 42 of “CONNECTED”, and normally transmits / receives information to / from the server group 21. If it cannot be performed, “DISCONNECTED” is notified to the switching management unit 42.

切り替え管理部42は、メッセージサービスMSからのイベントの通知を受けて、このイベントの内容に従って、イーサネット回線または3G回線を情報の送受信に用いる通信回線として選択する。そして、切り替え管理部42は、通信回線の選択情報をルート制御部45に出力し、ルート制御部45は、この選択情報に基づいて通信回線のセッティングを行う。   Upon receiving the event notification from the message service MS, the switching management unit 42 selects an Ethernet line or a 3G line as a communication line used for information transmission / reception according to the contents of the event. Then, the switching management unit 42 outputs the communication line selection information to the route control unit 45, and the route control unit 45 sets the communication line based on the selection information.

ルーティング処理部46は、ルート制御部45によってセッティングされた通信回線に基づいて、イーサネットポート47または3Gポート48のうちいずれかのポートを情報の送受信に用いるポートとして決定する。   The routing processing unit 46 determines one of the Ethernet port 47 and the 3G port 48 as a port used for information transmission / reception based on the communication line set by the route control unit 45.

ルーティング処理部46により決定されたポートがイーサネットポート47である場合には、アプリケーション30の専用アプリケーションA1,A2,A3・・・から送信される情報および専用アプリケーションA1,A2,A3・・・により取得される情報は、イーサネットポート47を介して送受信される。   When the port determined by the routing processing unit 46 is the Ethernet port 47, the information transmitted from the dedicated applications A1, A2, A3... Of the application 30 and the dedicated applications A1, A2, A3. The transmitted information is transmitted / received via the Ethernet port 47.

具体的には、専用アプリケーションA1は、例えば家電機器13から取得した使用電力量に関する情報を、ソケット44に出力する。OS33は、ソケット44を通じて、切り替え管理部42から対応するサーバのURLを取得し、当該URLに基づいて、取得した情報をルーティング処理部46、イーサネットポート47、ホームゲートウェイ11およびネットワーク20を介してサーバ群21の対応するサーバに送信する。   Specifically, the dedicated application A <b> 1 outputs, for example, information on the power consumption acquired from the home appliance 13 to the socket 44. The OS 33 acquires the URL of the corresponding server from the switching management unit 42 through the socket 44, and based on the URL, acquires the acquired information via the routing processing unit 46, the Ethernet port 47, the home gateway 11, and the network 20. It transmits to the corresponding server of group 21.

そして、対応するサーバに搭載されているアプリケーションは、使用電力量に関する情報を受信すると、受信した情報に基づいて管理情報を作成する。そして、当該サーバは、作成した管理情報を、ネットワーク20およびホームゲートウェイ11を介して汎用宅内端末10のOS33に送信する。   And the application mounted in the corresponding server will produce management information based on the received information, if the information regarding power consumption is received. Then, the server transmits the created management information to the OS 33 of the general-purpose home terminal 10 via the network 20 and the home gateway 11.

OS33は、当該サーバから送信された管理情報をイーサネットポート47から取得すると、ルーティング処理部46およびソケット44を介して当該管理情報を対応する専用アプリケーションA1に出力する。これにより、専用アプリケーションA1は、取得した管理情報に基づいて家電機器13の動作制御などを行う。   When the OS 33 acquires the management information transmitted from the server from the Ethernet port 47, the OS 33 outputs the management information to the corresponding dedicated application A1 via the routing processing unit 46 and the socket 44. Thereby, the dedicated application A1 performs operation control of the home appliance 13 based on the acquired management information.

また、上記のような、専用アプリケーションA1,A2,A3・・・およびサーバ間のイーサネットポート47を介した情報の送受信と並行して、切り替え管理部42は、イーサネット回線を介したホームゲートウェイ11とのIP接続の状況、すなわちコネクションが保持されているか、または、切断されたかを定期的に確認する。   Further, in parallel with the transmission / reception of information via the dedicated application A1, A2, A3... And the Ethernet port 47 between the servers as described above, the switching management unit 42 is connected to the home gateway 11 via the Ethernet line. The IP connection status, i.e., whether the connection is held or disconnected is periodically checked.

そして、切り替え管理部42は、コネクションが保持されている場合、コネクションが保持されていることを示す情報をモニタ処理部43に出力する。モニタ処理部43は、この情報を受けて、イーサネット回線を用いてサーバ群21との情報の送受信を正常に行うことができるか否かを再び監視する。   When the connection is held, the switching management unit 42 outputs information indicating that the connection is held to the monitor processing unit 43. Upon receiving this information, the monitor processing unit 43 monitors again whether or not information can be normally transmitted and received with the server group 21 using the Ethernet line.

そして、モニタ処理部43は、監視結果をメッセージサービスMSに出力し、メッセージサービスMSは、モニタ処理部43から受けた監視結果に基づいて、切り替え管理部42に通知するイベントを生成する。   Then, the monitor processing unit 43 outputs the monitoring result to the message service MS, and the message service MS generates an event to be notified to the switching management unit 42 based on the monitoring result received from the monitor processing unit 43.

そして、切り替え管理部42は、取得したイベントの示す「CONNECTED」または「DISCONNECTED」に基づいて、再び、情報の送受信に用いる通信回線の選択を行う。   Then, the switching management unit 42 again selects a communication line used for information transmission / reception based on “CONNECTED” or “DISCONNECTED” indicated by the acquired event.

また、たとえば、切り替え管理部42は、複数の通信回線に予め優先度を設定する。切り替え管理部42は、たとえばイーサネット回線に高い優先度(priority=2)を設定し、3G回線に低い優先度(priority=1)を設定する。   For example, the switching management unit 42 sets priorities for a plurality of communication lines in advance. The switching management unit 42 sets, for example, a high priority (priority = 2) for the Ethernet line and a low priority (priority = 1) for the 3G line.

そして、切り替え管理部42は、優先度の高いイーサネット回線を用いて情報の送受信が行われている状況において、「CONNECTED」を取得した場合は、通信回線の切り替えを行わず、イーサネット回線の使用を継続させる。   Then, in a situation where information is transmitted and received using a high-priority Ethernet line, the switching management unit 42 does not switch the communication line and does not use the Ethernet line when acquiring “CONNECTED”. Let it continue.

一方、切り替え管理部42は、優先度の高いイーサネット回線を用いて情報の送受信が行われている状況において、「DISCONNECTED」を取得した場合は、3Gポート48とインターネット22とを接続する優先度の低い3G回線を使用回線として選択し、当該回線を確立させる。   On the other hand, in the situation where information is transmitted and received using a high-priority Ethernet line, the switching management unit 42 obtains “DISCONNECTED” and sets the priority for connecting the 3G port 48 and the Internet 22. A low 3G line is selected as a used line and the line is established.

このように3G回線が確立された状況において、切り替え管理部42は、イーサネット回線が確立されたか否かの確認を行う。そして、切り替え管理部42は、イーサネット回線が確立されていることを確認した場合、イーサネット回線が確立されていることを示す情報をモニタ処理部43に出力する。   In such a situation where the 3G line is established, the switching management unit 42 checks whether or not the Ethernet line is established. When the switching management unit 42 confirms that the Ethernet line is established, the switching management unit 42 outputs information indicating that the Ethernet line is established to the monitor processing unit 43.

そして、モニタ処理部43は、イーサネット回線を用いてサーバ群21との情報の送受信を正常に行うことができるか否かを監視し、監視結果をメッセージサービスMSに出力する。そして、メッセージサービスMSは、この監視結果に基づいて生成したイベントを切り替え管理部42に出力する。そして、切り替え管理部42は、再びイベントの通知内容に従って、情報の送受信に用いる通信回線を選択する。すなわち、切り替え管理部42は、3G回線が確立された状況において、イーサネット回線を用いて情報の送受信を正常に行うことができることを示すイベントを取得した場合には、再び、イーサネット回線を情報の送受信に用いる通信回線として選択する。   Then, the monitor processing unit 43 monitors whether or not information can be normally transmitted and received with the server group 21 using the Ethernet line, and outputs the monitoring result to the message service MS. Then, the message service MS outputs an event generated based on the monitoring result to the switching management unit 42. Then, the switching management unit 42 again selects a communication line used for information transmission / reception in accordance with the event notification content. That is, when the switching management unit 42 obtains an event indicating that information can be normally transmitted / received using the Ethernet line in a situation where the 3G line is established, the information is transmitted / received to / from the Ethernet line again. Select as the communication line used for.

一方、切り替え管理部42は、3G回線が確立された状況において、イーサネット回線を用いて情報の送受信を正常に行えないことを示すイベントを取得した場合には、情報の送受信に用いる通信回線として3G回線を用いる。   On the other hand, when the switching management unit 42 acquires an event indicating that information cannot be normally transmitted / received using the Ethernet line in a situation where the 3G line is established, the switching management unit 42 uses 3G as a communication line used for information transmission / reception. Use a line.

(b)3G回線を利用する場合
切り替え管理部42により3G回線が選択された場合、イーサネット回線が選択された場合と同様に、切り替え管理部42は、通信回線の選択情報をルート制御部45に出力し、ルート制御部45は、選択情報に基づいて通信回線のセッティングを行う。そして、ルーティング処理部46は、ルート制御部45によってセッティングされた通信回線に基づいて、イーサネットポート47または3Gポート48のうちいずれかのポートを情報の送受信に用いるポートとして決定する。
(B) When a 3G line is used When a 3G line is selected by the switching management unit 42, the switching management unit 42 sends the communication line selection information to the route control unit 45 in the same manner as when the Ethernet line is selected. The route control unit 45 sets the communication line based on the selection information. Then, based on the communication line set by the route control unit 45, the routing processing unit 46 determines one of the Ethernet port 47 and the 3G port 48 as a port used for information transmission / reception.

そして、ルーティング処理部46により決定されたポートが3Gポート48である場合には、アプリケーション30の専用アプリケーションA1,A2,A3・・・から送信される情報および専用アプリケーションA1,A2,A3・・・により取得される情報は、3Gポート48を介して送受信される。   When the port determined by the routing processing unit 46 is the 3G port 48, information transmitted from the dedicated applications A1, A2, A3... Of the application 30 and the dedicated applications A1, A2, A3. The information acquired by is transmitted and received via the 3G port 48.

また、切り替え管理部42は、優先度の高いイーサネット回線から優先度の低い3G回線への切り替えを行った場合に、3G回線を介した情報の送受信と並行して、切り替え元のイーサネット回線が確立されているか否かの確認を行う。そして、切り替え管理部42は、イーサネット回線が確立されていることを確認した場合、イーサネット回線が確立されていることを示す情報をモニタ処理部43に出力する。   In addition, when switching from a high priority Ethernet line to a low priority 3G line, the switching management unit 42 establishes a switching source Ethernet line in parallel with transmission / reception of information through the 3G line. Confirm whether or not When the switching management unit 42 confirms that the Ethernet line is established, the switching management unit 42 outputs information indicating that the Ethernet line is established to the monitor processing unit 43.

そして、この場合、モニタ処理部43は、3G回線を介した情報の送受信と並行して、イーサネット回線を用いて情報の送受信を正常に行うことができるか否かを監視し、監視結果をメッセージサービスMSに出力する。そして、メッセージサービスMSは、監視結果を受け、切り替え管理部42に通知するイベントを生成する。そして、切り替え管理部42は、イーサネット回線を用いて情報の送受信を正常に行うことができることを示すイベントを取得した場合には、イーサネット回線を情報の送受信に用いる通信回線として再び選択する。   In this case, the monitor processing unit 43 monitors whether or not information can be normally transmitted / received using the Ethernet line in parallel with the transmission / reception of information via the 3G line, and displays the monitoring result as a message. Output to service MS. Then, the message service MS receives the monitoring result and generates an event to notify the switching management unit 42. Then, when acquiring an event indicating that information can be normally transmitted / received using the Ethernet line, the switching management unit 42 selects the Ethernet line again as a communication line used for information transmission / reception.

一方、切り替え管理部42は、イーサネット回線が確立していると判断したにも関わらず、イーサネット回線を用いて情報の送受信を正常に行えないことを示すイベントを取得した場合には、3G回線の使用を継続させるとともに、イーサネット回線を用いて情報の送受信を正常に行うことができるか否かを定期的に監視する。   On the other hand, when the switching management unit 42 obtains an event indicating that information cannot be normally transmitted / received using the Ethernet line although it is determined that the Ethernet line is established, the switching management unit 42 Continue to use and periodically monitor whether information can be sent and received normally using the Ethernet line.

[動作]
次に、本発明の実施の形態に係る汎用宅内端末10のOS33による通信回線の切り替え動作について説明する。
[Operation]
Next, a communication line switching operation by the OS 33 of the general-purpose home terminal 10 according to the embodiment of the present invention will be described.

図4は、本発明の実施の形態に係る汎用宅内端末10におけるイーサネット回線の確立状態、および、3G回線の確立状態の遷移を示す図である。   FIG. 4 is a diagram showing transition of the established state of the Ethernet line and the established state of the 3G line in the general-purpose home terminal 10 according to the embodiment of the present invention.

図4を参照して、汎用宅内端末10の状態は、イーサネット回線(リンク)および3G回線(リンク)が、それぞれ確立されているか否かによって、STATE1、STATE2、STATE3およびSTATE4の状態に分けることができる。STATE1では、イーサネット回線および3G回線がいずれも確立されていない(以下、この状態を「イーサネット回線DOWN,3G回線DOWN」とも称する)。また、STATE2では、イーサネット回線のみが確立されており、3G回線が確立されていない(以下、この状態を「イーサネット回線UP,3G回線DOWN」とも称する)。また、STATE3では、イーサネット回線が確立されておらず、3G回線のみが確立されている(以下、この状態を「イーサネット回線DOWN,3G回線UP」とも称する)。また、STATE4では、イーサネット回線および3G回線の双方が確立されている(以下、この状態を「イーサネット回線UP,3G回線UP」とも称する)。   Referring to FIG. 4, the state of general-purpose home terminal 10 can be divided into the states of STATE1, STATE2, STATE3, and STATE4 depending on whether an Ethernet line (link) and a 3G line (link) are established. it can. In STATE1, neither the Ethernet line nor the 3G line is established (hereinafter, this state is also referred to as “Ethernet line DOWN, 3G line DOWN”). In STATE2, only the Ethernet line is established, and the 3G line is not established (hereinafter, this state is also referred to as “Ethernet line UP, 3G line DOWN”). In STATE 3, the Ethernet line is not established, and only the 3G line is established (hereinafter, this state is also referred to as “Ethernet line DOWN, 3G line UP”). In STATE 4, both the Ethernet line and the 3G line are established (hereinafter, this state is also referred to as “Ethernet line UP, 3G line UP”).

以下、STATE1からSTATE4のそれぞれの状態に分けて、汎用宅内端末10のアプリケーション30およびOS33による通信回線の切り替え動作について説明する。   Hereinafter, the communication line switching operation by the application 30 and the OS 33 of the general-purpose home terminal 10 will be described separately for each state of STATE 1 to STATE 4.

(STATE1)
図5は、図4のSTATE1における、本発明の実施の形態に係る汎用宅内端末10のアプリケーション30およびOS33による通信回線の切り替え動作手順を示すフローチャートである。
(STATE1)
FIG. 5 is a flowchart showing a communication line switching operation procedure by the application 30 and the OS 33 of the general-purpose home terminal 10 according to the embodiment of the present invention in STATE 1 of FIG.

図5を参照して、汎用宅内端末10を起動させると、イーサネット回線および3G回線はいずれも確立していない状態である。そして、汎用宅内端末10の起動後、アプリケーション30およびOS33が起動すると、まず、OS33の切り替え管理部42が、イーサネット回線が確立されているか否かを確認する(ステップS11)。   Referring to FIG. 5, when general-purpose home terminal 10 is activated, neither the Ethernet line nor the 3G line has been established. When the application 30 and the OS 33 are started after the general-purpose home terminal 10 is started, first, the switching management unit 42 of the OS 33 checks whether an Ethernet line is established (step S11).

次に、切り替え管理部42が、イーサネット回線が確立されていると判断した場合には(ステップS11において「YES」)、STATE2へ移行する。   Next, when the switching management unit 42 determines that an Ethernet line has been established (“YES” in step S11), the process proceeds to STATE2.

一方、切り替え管理部42が、イーサネット回線が確立されていないと判断した場合には(ステップS11において「NO」)、3G回線を確立させてSTATE3へ移行する。   On the other hand, when the switching management unit 42 determines that the Ethernet line has not been established (“NO” in step S11), the 3G line is established and the process proceeds to STATE3.

(STATE2)
図6は、図4のSTATE2における、本発明の実施の形態に係る汎用宅内端末10のアプリケーション30およびOS33による通信回線の切り替え動作手順を示すフローチャートである。
(STATE2)
FIG. 6 is a flowchart showing a communication line switching operation procedure by the application 30 and the OS 33 of the general-purpose home terminal 10 according to the embodiment of the present invention in STATE 2 of FIG.

図6を参照して、まず、切り替え管理部42が、STATE1において確立が確認されたイーサネット回線が切断されていないかどうかを確認する(ステップS21)。   With reference to FIG. 6, first, the switching management unit 42 checks whether or not the Ethernet line whose establishment has been confirmed in STATE 1 has not been disconnected (step S21).

そして、切り替え管理部42が、イーサネット回線が切断されていると判断した場合には(ステップS21において「YES」)、STATE1へ移行する。   When the switching management unit 42 determines that the Ethernet line is disconnected (“YES” in step S21), the process proceeds to STATE1.

一方、切り替え管理部42が、イーサネット回線が切断されていないと判断した場合には(ステップS21において「NO」)、切り替え管理部42からモニタ処理部43に判断結果が出力され、モニタ処理部43が、イーサネット回線を用いて情報の送受信を正常に行うことができるか否かを監視し、監視結果をメッセージサービスMSに出力する。そして、メッセージサービスMSは、監視結果を受けてイベントを生成して切り替え管理部42に出力する(ステップS22)。   On the other hand, when the switching management unit 42 determines that the Ethernet line is not disconnected (“NO” in step S21), the determination result is output from the switching management unit 42 to the monitor processing unit 43, and the monitor processing unit 43 Monitors whether or not information can be normally sent and received using the Ethernet line, and outputs the monitoring result to the message service MS. Then, the message service MS receives the monitoring result, generates an event, and outputs it to the switching management unit 42 (step S22).

そして、切り替え管理部42が、イーサネット回線を用いて情報の送受信を正常に行うことができることを示すイベントを取得した場合には(ステップS22において「YES」)、情報の送受信に用いる通信回線としてイーサネット回線を選択する。そして、汎用宅内端末10に搭載されたアプリケーション30と、サーバ群21に搭載されたアプリケーションとの間における情報の送受信が、イーサネット回線を介して行われる(ステップS23)。   When the switching management unit 42 acquires an event indicating that information can be normally transmitted / received using the Ethernet line (“YES” in step S22), Ethernet is used as a communication line used for information transmission / reception. Select a line. Then, transmission / reception of information between the application 30 installed in the general-purpose home terminal 10 and the application installed in the server group 21 is performed via the Ethernet line (step S23).

次に、モニタ処理部43は、イーサネット回線を用いてサーバ群21との情報の送受信を正常に行うことができるか否かを監視して、監視結果をメッセージサービスMSに出力する。そして、メッセージサービスMSは、監視結果に基づいてサーバ群21との通信が可能であるか否かを判断し、「CONNECTED」または「DISCONNECTED」を示すイベントを切り替え管理部42に出力する(ステップS24)。   Next, the monitor processing unit 43 monitors whether or not information can be normally transmitted / received to / from the server group 21 using the Ethernet line, and outputs the monitoring result to the message service MS. Then, the message service MS determines whether communication with the server group 21 is possible based on the monitoring result, and outputs an event indicating “CONNECTED” or “DISCONNECTED” to the switching management unit 42 (step S24). ).

次に、切り替え管理部42が、メッセージサービスMSから「CONNECTED」を取得しているか、または「DISCONNECTED」を取得しているかを確認する(ステップS25)。切り替え管理部42は、「CONNECTED」を取得した場合には、イーサネット回線の使用を継続し、イーサネット回線を介した情報の送受信を継続し(ステップS23)、上述の動作が繰り返される。   Next, the switching management unit 42 confirms whether “CONNECTED” is acquired from the message service MS or “DISCONNECTED” is acquired from the message service MS (step S25). When acquiring “CONNECTED”, the switching management unit 42 continues to use the Ethernet line, continues to transmit / receive information via the Ethernet line (step S23), and the above-described operation is repeated.

一方、切り替え管理部42が、「DISCONNECTED」を取得した場合には、3G回線を確立させて、STATE4へ移行する。   On the other hand, when the switching management unit 42 acquires “DISCONNECTED”, it establishes a 3G line and proceeds to STATE 4.

また、汎用宅内端末10に搭載されたアプリケーション30と、サーバ群21に搭載されたアプリケーションとの間におけるイーサネット回線を介した情報の送受信(ステップS23)が行われるよりも前に、切り替え管理部42が、イーサネット回線を用いて情報の送受信を正常に行えないことを示すイベントを取得した場合(ステップS22において「NO」)も、上記と同様に、3G回線を確立させて、STATE4へ移行する。   In addition, before the transmission / reception of information (step S23) between the application 30 installed in the general-purpose home terminal 10 and the application installed in the server group 21 via the Ethernet line is performed, the switching management unit 42 However, when an event indicating that information cannot be normally transmitted / received using the Ethernet line is acquired (“NO” in step S22), the 3G line is established and the process proceeds to STATE 4 as described above.

(STATE3)
図7は、図4のSTATE3における、本発明の実施の形態に係る汎用宅内端末10のアプリケーション30およびOS33による通信回線の切り替え動作手順を示すフローチャートである。
(STATE3)
FIG. 7 is a flowchart showing a communication line switching operation procedure by the application 30 and the OS 33 of the general-purpose home terminal 10 according to the embodiment of the present invention in STATE 3 of FIG.

図7を参照して、まず、汎用宅内端末10に搭載されたアプリケーション30と、サーバ群31に搭載されたアプリケーションとの間における情報の送受信が、3G回線を利用して行われる(ステップS31)。   Referring to FIG. 7, first, transmission / reception of information between an application 30 installed in general-purpose home terminal 10 and an application installed in server group 31 is performed using a 3G line (step S31). .

次に、モニタ処理部43は、3G回線を用いてサーバ群21との情報の送受信を正常に行うことができるか否かを監視して、監視結果をメッセージサービスMSに出力する。そして、メッセージサービスMSは、監視結果に基づいてサーバ群21との通信が可能であるか否かを判断し、「CONNECTED」または「DISCONNECTED」を切り替え管理部42に出力する(ステップS32)。   Next, the monitor processing unit 43 monitors whether or not information can be normally transmitted and received with the server group 21 using the 3G line, and outputs the monitoring result to the message service MS. Then, the message service MS determines whether or not communication with the server group 21 is possible based on the monitoring result, and outputs “CONNECTED” or “DISCONNECTED” to the switching management unit 42 (step S32).

また、3G回線を利用した情報の送受信と並行して、切り替え管理部42が、イーサネット回線が確立されているか否かの監視を定期的に行う(ステップS33)。そして、切り替え管理部42が、イーサネット回線が確立されていると判断した場合には(ステップS33において「YES」)、STATE4へ移行する。   In parallel with the transmission / reception of information using the 3G line, the switching management unit 42 periodically monitors whether or not the Ethernet line is established (step S33). If the switching management unit 42 determines that an Ethernet line has been established (“YES” in step S33), the process proceeds to STATE 4.

一方、切り替え管理部42が、イーサネット回線が確立されていないと判断した場合には(ステップS33において「NO」)、メッセージサービスMSから「CONNECTED」を取得しているか、または「DISCONNECTED」を取得しているかを確認する(ステップS34)。   On the other hand, when the switching management unit 42 determines that the Ethernet line has not been established (“NO” in step S33), it acquires “CONNECTED” from the message service MS or acquires “DISCONNECTED”. (Step S34).

例えば、3G回線に異常が生じて情報の送受信が正常に行われない場合には、メッセージサービスMSから切り替え管理部42へ「DISCONNECTED」が出力される。このような場合には、切り替え管理部42が3G回線を切断させてSTATE1へ移行する。   For example, when an abnormality occurs in the 3G line and information transmission / reception is not normally performed, “DISCONNECTED” is output from the message service MS to the switching management unit 42. In such a case, the switching management unit 42 disconnects the 3G line and shifts to STATE1.

一方、メッセージサービスMSから切り替え管理部42へ「CONNECTED」が出力された場合には、切り替え管理部42が、3G回線を選択し、3G回線を介した情報の送受信処理を継続し(ステップS31)、上述の動作が繰り返される。   On the other hand, when “CONNECTED” is output from the message service MS to the switching management unit 42, the switching management unit 42 selects the 3G line and continues the information transmission / reception process via the 3G line (step S31). The above operation is repeated.

(STATE4)
図8は、図4のSTATE4における、本発明の実施の形態に係る汎用宅内端末10のアプリケーション30およびOS33による通信回線の切り替え動作手順を示すフローチャートである。
(STATE4)
FIG. 8 is a flowchart showing a communication line switching operation procedure by the application 30 and the OS 33 of the general-purpose home terminal 10 according to the embodiment of the present invention in STATE 4 of FIG.

図8を参照して、まず、汎用宅内端末10に搭載されたアプリケーション30と、サーバ群31に搭載されたアプリケーションとの間における情報の送受信が、3G回線を利用して行われる(ステップS41)。   Referring to FIG. 8, first, transmission / reception of information between application 30 installed in general-purpose home terminal 10 and an application installed in server group 31 is performed using a 3G line (step S41). .

また、3G回線を利用した情報の送受信と並行して、切り替え管理部42が、STATE1またはSTATE3において確立が確認されたイーサネット回線が切断されていないかどうかを確認する(ステップS42)。   In parallel with the transmission / reception of information using the 3G line, the switching management unit 42 confirms whether the Ethernet line confirmed to be established in STATE 1 or STATE 3 is disconnected (step S42).

そして、切り替え管理部42によりイーサネット回線が切断されていると判断された場合には(ステップS42において「YES」)、STATE3へ移行する。   When the switching management unit 42 determines that the Ethernet line is disconnected (“YES” in step S42), the process proceeds to STATE3.

一方、切り替え管理部42によりイーサネット回線が切断されていないと判断された場合には(ステップS42において「NO」)、モニタ処理部43が、イーサネット回線を介した情報の送受信を正常に行うことができるか否かを確認する(ステップS43)。   On the other hand, if the switching management unit 42 determines that the Ethernet line is not disconnected ("NO" in step S42), the monitor processing unit 43 may normally transmit and receive information via the Ethernet line. It is confirmed whether or not it is possible (step S43).

そして、モニタ処理部43によりイーサネット回線を介した情報の送受信を正常に行うことができるか否かを示す監視結果がメッセージサービスMSに出力され、メッセージサービスMSは、この監視結果に基づいてイベントを生成する。そして、イーサネット回線を介した情報の送受信を正常に行うことができることを示すイベントが、メッセージサービスMSから切り替え管理部42へ出力された場合には(ステップS43において「YES」)、STATE2へ移行する。   Then, a monitoring result indicating whether or not information can be normally transmitted and received through the Ethernet line by the monitor processing unit 43 is output to the message service MS, and the message service MS sends an event based on the monitoring result. Generate. When an event indicating that information can be normally transmitted / received via the Ethernet line is output from the message service MS to the switching management unit 42 (“YES” in step S43), the process proceeds to STATE2. .

なお、STATE4からSTATE2への移行は上述した場合に限られず、例えば、OS33が、OSGi31の機能に異常が生じたことを検知した場合、または、専用アプリケーションA1,A2,A3・・・自体に異常が生じたなどの要因によりOS33が専用アプリケーションA1,A2,A3・・・から所定時間以上情報を取得しない場合も、STATE4からSTATE2へ移行するように設定することができる。   Note that the transition from STATE 4 to STATE 2 is not limited to the case described above. For example, when the OS 33 detects that an abnormality has occurred in the function of the OSGi 31, or the dedicated applications A1, A2, A3,. Even if the OS 33 does not acquire information from the dedicated applications A1, A2, A3,... For a predetermined time or more due to factors such as the occurrence of the problem, it can be set to shift from STATE4 to STATE2.

一方、イーサネット回線を介した情報の送受信を正常に行うことができないことを示すイベントが、メッセージサービスMSから切り替え管理部42へ出力された場合には(ステップS43において「NO」)、切り替え管理部42が、3G回線の使用を継続し、3G回線を介した情報の送受信処理を継続し(ステップS41)、上述の動作が繰り返される。   On the other hand, when an event indicating that information cannot be normally transmitted / received via the Ethernet line is output from the message service MS to the switching management unit 42 (“NO” in step S43), the switching management unit 42 continues to use the 3G line and continues to transmit and receive information via the 3G line (step S41), and the above-described operation is repeated.

なお、本発明の実施の形態においては、モニタ処理部43が、3G回線を介した情報の送受信と並行して、イーサネット回線を用いた情報の送受信を正常に行うことができるか否かを監視する場合、監視結果をメッセージサービスMSに出力して、メッセージサービスMSが、この監視結果を受けて生成したイベントを切り替え管理部42に出力する。しかしながら、このような形態に限定されず、たとえば、モニタ処理部43は、当該監視結果を、メッセージサービスMSを介することなく切り替え管理部42に出力することも可能である。   In the embodiment of the present invention, the monitor processing unit 43 monitors whether or not information can be normally transmitted and received using the Ethernet line in parallel with information transmission and reception via the 3G line. In this case, the monitoring result is output to the message service MS, and the message service MS outputs an event generated in response to the monitoring result to the switching management unit 42. However, the present invention is not limited to such a form. For example, the monitor processing unit 43 can output the monitoring result to the switching management unit 42 without using the message service MS.

図9は、図4のSTATE1からSTATE4までの各状態と、各状態において本発明の実施の形態に係る汎用宅内端末10の切り替え管理部42により選択される通信回線との対応関係を示す図である。   FIG. 9 is a diagram showing a correspondence relationship between each state from STATE 1 to STATE 4 in FIG. 4 and a communication line selected by the switching management unit 42 of the general-purpose home terminal 10 according to the embodiment of the present invention in each state. is there.

図9を参照して、汎用宅内端末10が上述のような動作を行うことにより、STATE1からSTATE4までの各状態において、情報の送受信に用いられる通信回線が決定される。   Referring to FIG. 9, when general-purpose home terminal 10 performs the above-described operation, a communication line used for transmission / reception of information is determined in each state from STATE 1 to STATE 4.

すなわち、STATE1では、イーサネット回線および3G回線がいずれも確立されていない状態、すなわち「イーサネット回線DOWN,3G回線DOWN」の状態であるため、情報の送受信を行うための適切な通信回線(IP default route)が存在しない。また、STATE2では、イーサネット回線のみが確立されている状態、すなわち「イーサネット回線UP,3G回線DOWN」の状態であるため、イーサネット回線が情報の送受信を行うための通信回線として用いられる。   That is, in STATE 1, since neither the Ethernet line nor the 3G line is established, that is, the state of “Ethernet line DOWN, 3G line DOWN”, an appropriate communication line (IP default route) for transmitting and receiving information is used. ) Does not exist. In STATE 2, since only the Ethernet line is established, that is, “Ethernet line UP, 3G line DOWN”, the Ethernet line is used as a communication line for transmitting and receiving information.

また、STATE3では、3G回線のみが確立されている状態、すなわち「イーサネット回線DOWN,3G回線UP」の状態であるため、3G回線が情報の送受信を行うための通信回線として用いられる。また、STATE4では、イーサネット回線および3G回線の双方が確立されている状態、すなわち「イーサネット回線UP,3G回線UP」の状態であるが、イーサネット回線を介した情報の送受信を正常に行うことができない状態であるため、3G回線が情報の送受信を行うための通信回線として用いられる。   In STATE 3, since only the 3G line is established, that is, the state of “Ethernet line DOWN, 3G line UP”, the 3G line is used as a communication line for transmitting and receiving information. In STATE 4, both the Ethernet line and the 3G line are established, that is, the state of "Ethernet line UP, 3G line UP", but information cannot be normally transmitted / received via the Ethernet line. Since this is a state, the 3G line is used as a communication line for transmitting and receiving information.

このように、汎用宅内端末10により、情報の送受信に用いられる通信回線が切り替えられることにより、STATE1からSTATE4までのいずれかの状態へ遷移して、汎用宅内端末10とサーバ群21との間の通信がおこわなれる。   As described above, when the communication line used for transmission / reception of information is switched by the general-purpose home terminal 10, the state shifts to any state from STATE 1 to STATE 4, and between the general-purpose home terminal 10 and the server group 21. Communication can take place.

ところで、ホームネットワークにおいて、ケーブルの切断またはネットワーク障害などにより外部のサーバとの間の通信回線に異常が生じた場合、ホームネットワーク内の各家電機器は正常に動作していても、各家電機器は、外部のサーバまたは端末と正常な通信を行うことができない。また、ホームゲートウェイと外部のサーバ等の外部装置との間の通信回線を二重化することも考えられるが、ホームゲートウェイ自体が故障等で停止した場合、やはり各家電機器と外部装置との間の通信が困難になってしまう。   By the way, in a home network, when an abnormality occurs in a communication line with an external server due to cable disconnection or network failure, each home appliance in the home network is operating normally. Normal communication with an external server or terminal cannot be performed. It is also possible to duplicate the communication line between the home gateway and an external device such as an external server. However, if the home gateway itself stops due to a failure or the like, communication between each home appliance and the external device is also possible. Will become difficult.

このような場合、ホームネットワーク内の各家電機器などの被管理端末に関する情報が収集されていても、収集された情報が外部装置へ送信されないため、当該外部装置によるサービスをユーザは利用できなくなってしまう。   In such a case, even if information about the managed terminal such as each home appliance in the home network is collected, the collected information is not transmitted to the external device, so the user cannot use the service provided by the external device. End up.

これに対して、本発明の実施の形態に係る汎用宅内端末10では、OS33は、外部ネットワークとの通信を中継するホームゲートウェイ11を経由して外部ネットワークにおけるサーバと接続するための第1経路、またはホームゲートウェイ11を経由せずにサーバと接続するための第2経路を用いて上記サーバと通信すると共に、1または複数の家電機器13と通信する。また、アプリケーション30は、サーバとの通信が可能であるか否かを判断し、判断結果をOS33に通知する。そして、OS33は、アプリケーション30から通知された判断結果に基づいて、家電機器13に関する情報をサーバへ送信する送信経路を、第1経路と2経路との間で切り替える。   On the other hand, in the general-purpose home terminal 10 according to the embodiment of the present invention, the OS 33 is connected to a server in the external network via the home gateway 11 that relays communication with the external network. Or it communicates with the said server using the 2nd path | route for connecting with a server, without going through the home gateway 11, and communicates with the 1 or several household appliances 13. FIG. Further, the application 30 determines whether or not communication with the server is possible, and notifies the OS 33 of the determination result. And OS33 switches the transmission path | route which transmits the information regarding the household appliances 13 to a server based on the determination result notified from the application 30 between a 1st path | route and a 2 path | route.

このように、本発明に係る汎用宅内端末10において、アプリケーション30が通信に不具合が生じていることを判断し、OS33がこの判断結果を受けて家電機器13に関する情報の送信に用いる送信経路を自動的に切り替える構成により、家電機器13に関する情報を送信するための送信経路の障害耐性を向上させることができる。   As described above, in the general-purpose home terminal 10 according to the present invention, the application 30 determines that a communication failure has occurred, and the OS 33 automatically receives the determination result and automatically transmits a transmission path used for transmitting information related to the home appliance 13. Thus, the fault tolerance of the transmission path for transmitting information related to the home appliance 13 can be improved.

また、通常、汎用宅内端末10は、ホームゲートウェイ11等の通信中継装置を介してサーバとの間で情報の送受信を行うが、汎用宅内端末10がサーバへ正常に情報を送信するためには、送信経路がホームゲートウェイを含むか否かにかかわらず、汎用宅内端末10とサーバとの間における通信が確保されることで足りる。このため、汎用宅内端末10とサーバとの間における家電機器13に関する情報の送信に用いられる送信経路を切り替えて通信を確保するという本発明に係る汎用宅内端末10は、サーバへ情報を送信することによって当該サーバによるサービスをユーザに提供する汎用宅内端末において、一層有効である。   In addition, the general-purpose home terminal 10 normally transmits and receives information to and from the server via a communication relay device such as the home gateway 11. In order for the general-purpose home terminal 10 to normally transmit information to the server, Regardless of whether or not the transmission path includes a home gateway, it is sufficient to ensure communication between the general-purpose home terminal 10 and the server. For this reason, the general-purpose home terminal 10 according to the present invention, which secures communication by switching the transmission path used for transmission of information regarding the home appliance 13 between the general-purpose home terminal 10 and the server, transmits information to the server. Therefore, it is more effective in a general-purpose home terminal that provides a user with a service provided by the server.

また、本発明の実施の形態に係る汎用宅内端末10では、アプリケーション30は、第1経路を用いたサーバとの通信が可能であるか否かを判断し、OS33は、第1経路を用いたサーバとの通信が可能でないと前記情報処理部によって判断された場合に、送信経路を第1経路から第2経路へ切り替える。   In the general-purpose home terminal 10 according to the embodiment of the present invention, the application 30 determines whether or not communication with the server using the first route is possible, and the OS 33 uses the first route. When the information processing unit determines that communication with the server is not possible, the transmission path is switched from the first path to the second path.

このように、通信中継装置を経由する経路を用いた通信が可能であるか否かをアプリケーション30が監視する構成により、アプリケーション30の処理の簡易化を図ることができる。   As described above, the configuration in which the application 30 monitors whether or not communication using a route passing through the communication relay device is possible can simplify the processing of the application 30.

また、本発明の実施の形態に係る汎用宅内端末10では、OS33は、送信経路の切り替えを行った後、切り替え元の経路を経由した外部装置との通信が可能であるか否かを確認し、可能である場合には、切り替え先の経路から切り替え元の経路への切り替えを行う。   In the general-purpose home terminal 10 according to the embodiment of the present invention, after switching the transmission path, the OS 33 confirms whether communication with the external device via the switching source path is possible. If possible, switching from the switching destination path to the switching source path is performed.

このように、OS33が送信経路を切り替えた後も、切り替え元の経路を用いた通信の可否を確認することにより、当該通信が可能になった場合に、切り替え元の経路へ切り戻すことができる。また、例えばOS33が切り替え元の経路を用いた通信の可否を直接確認することにより、例えばアプリケーション30がOS33を介して当該通信の可否を確認する場合と比較して、アプリケーション30における処理負荷の低減および当該確認処理の簡易化を図ることができる。   As described above, even after the OS 33 switches the transmission path, it is possible to switch back to the switching source path when the communication becomes possible by checking whether or not the communication using the switching path is possible. . Further, for example, when the OS 33 directly confirms whether communication using the switching source path is possible, the processing load on the application 30 is reduced as compared with, for example, the case where the application 30 confirms whether communication is possible via the OS 33. In addition, the confirmation process can be simplified.

また、本発明の実施の形態に係る汎用宅内端末10では、切り替え管理部42は、複数の送信経路に優先度を設定する。また、OS33は、優先度の高い送信経路から優先度の低い通信回線への切り替えを行った場合に、切り替え元の送信経路を経由したサーバとの間の通信が可能であるか否かの確認を行い、優先度の低い送信経路から優先度の高い送信経路への切り替えを行った場合には当該確認を行わない。   In the general-purpose home terminal 10 according to the embodiment of the present invention, the switching management unit 42 sets priorities for a plurality of transmission paths. In addition, when switching from a transmission path with a high priority to a communication line with a low priority, the OS 33 checks whether communication with the server via the transmission path of the switching source is possible. The above confirmation is not performed when switching from a transmission path having a low priority to a transmission path having a high priority is performed.

このような構成により、例えば、通信料金が低額である通信回線など、ユーザにとって都合の良い通信回線を優先的に利用することができる。   With such a configuration, for example, a communication line convenient for the user, such as a communication line with a low communication charge, can be used preferentially.

また、本発明の実施の形態に係る汎用宅内端末10において、第1経路は、固定網における通信回線を含み、第2経路は、携帯電話網における通信回線を含む。また、切り替え管理部42は、第1経路に高い優先度を設定し、第2経路に低い優先度を設定する。   In the general-purpose home terminal 10 according to the embodiment of the present invention, the first route includes a communication line in a fixed network, and the second route includes a communication line in a mobile phone network. The switching management unit 42 sets a high priority for the first route and sets a low priority for the second route.

このような構成により、通信料金が必要である場合の多い3G回線よりも、通信料金が不要である場合の多いイーサネット回線が優先的に利用されるため、通信料を低く抑えることができる。   With such a configuration, an Ethernet line that often does not require a communication fee is used preferentially over a 3G line that often requires a communication fee, so the communication fee can be kept low.

また、本発明の実施の形態に係る汎用宅内端末10では、アプリケーション30は、サーバを示す宛先情報であるURLをOS33へ出力する。また、OS33は、アプリケーション30から受けたURLに基づいて、切り替え元の経路を経由したサーバとの通信が可能であるか否かの確認を行う。   In the general-purpose home terminal 10 according to the embodiment of the present invention, the application 30 outputs a URL, which is destination information indicating a server, to the OS 33. Further, the OS 33 confirms whether or not communication with the server via the switching source path is possible based on the URL received from the application 30.

このような構成により、OS33は、送信経路の切り替えを行った後、切り替え元の経路を経由する通信の可否を判断する際に切り替え元の経路を経由する通信の接続先をアプリケーション30に確認する必要がないため、円滑な処理を行うことができる。特に、OS33が複数のサーバとの間で情報の送受信を行う場合には、OS33は、複数のサーバの中から上記接続先を確認する必要がないため、このような構成が一層有効である。   With such a configuration, after switching the transmission path, the OS 33 confirms the connection destination of the communication via the switching source path with the application 30 when determining whether communication via the switching source path is possible. Since there is no need, smooth processing can be performed. In particular, when the OS 33 transmits / receives information to / from a plurality of servers, the OS 33 does not need to confirm the connection destination from among the plurality of servers, and thus such a configuration is more effective.

また、本発明の実施の形態に係る汎用宅内端末10は複数レイヤを有する通信プロトコルに従って動作し、アプリケーション30は、複数レイヤのうち第1のレイヤに従い、サーバとの通信が可能であるか否かを判断し、判断結果をOS33に通知する。また、OS33は、第1のレイヤよりも下位の第2のレイヤに従い、アプリケーション30から通知された判断結果に基づいて、送信経路の切り替えを行う。   Further, the general-purpose home terminal 10 according to the embodiment of the present invention operates according to a communication protocol having a plurality of layers, and whether the application 30 can communicate with the server according to the first layer among the plurality of layers. And notifies the OS 33 of the determination result. Further, the OS 33 switches the transmission path based on the determination result notified from the application 30 in accordance with the second layer lower than the first layer.

このように、サーバとの間における通信が可能であるか否かの判断を上位レイヤにおいて行い、送信経路の切り替えを下位レイヤにおいて行う構成により、レイヤ間で適切な役割分担を図ることができる。   As described above, by determining whether communication with the server is possible in the upper layer and switching the transmission path in the lower layer, it is possible to appropriately share roles between the layers.

(変形例)
以下、本発明の実施の形態の変形例について説明する。本発明の実施の形態の変形例に係る汎用宅内端末10は、専用アプリケーションA1,A2,A3・・・に対応するサーバごとに、家電機器13に関する情報の送信に用いる送信経路の切り替えを行うものである。
(Modification)
Hereinafter, modifications of the embodiment of the present invention will be described. The general-purpose home terminal 10 according to the modification of the embodiment of the present invention switches the transmission path used for transmitting information related to the home appliance 13 for each server corresponding to the dedicated applications A1, A2, A3. It is.

すなわち、本発明の実施の形態の変形例に係る汎用宅内端末10において、専用アプリケーションA1,A2,A3・・・は、それぞれ、対応するサーバへの情報の付与および対応するサーバからの情報の取得が正常に行えているか否かを判断し、判断結果をメッセージサービスMSに通知する。そして、メッセージサービスMSは、専用アプリケーションA1,A2,A3・・・から取得した判断結果ごとに「CONNECTED」または「DISCONNECTED」をOS33の切り替え管理部42に出力する。   That is, in the general-purpose home terminal 10 according to the modification of the embodiment of the present invention, each of the dedicated applications A1, A2, A3,... Provides information to the corresponding server and acquires information from the corresponding server. Is determined normally, and the determination result is notified to the message service MS. Then, the message service MS outputs “CONNECTED” or “DISCONNECTED” to the switching management unit 42 of the OS 33 for each determination result acquired from the dedicated applications A1, A2, A3.

そして、切り替え管理部42は、メッセージサービスMSから出力された「CONNECTED」または「DISCONNECTED」に基づいて、専用アプリケーションA1,A2,A3・・・に対応するサーバごとに、情報の送受信に用いる通信回線を制御する。   Then, the switching management unit 42 uses a communication line used for transmission / reception of information for each server corresponding to the dedicated applications A1, A2, A3,... Based on “CONNECTED” or “DISCONNECTED” output from the message service MS. To control.

例えば、切り替え管理部42は、サーバ群21の中のサーバのうち、イーサネット回線を介した情報の送受信を正確に行うことができるサーバについては、イーサネット回線を用いた情報の送受信が行われるように設定する。そして、切り替え管理部42は、イーサネット回線を介した情報の送受信を正確に行うことができないサーバについてのみ、3G回線を用いた情報の送受信が行われるように通信回線を切り替える。   For example, among the servers in the server group 21, the switching management unit 42 transmits and receives information using the Ethernet line for servers that can accurately transmit and receive information via the Ethernet line. Set. Then, the switching management unit 42 switches the communication line so that information transmission / reception using the 3G line is performed only for a server that cannot accurately transmit / receive information via the Ethernet line.

このように、本発明の実施の形態の変形例に係る汎用宅内端末10では、アプリケーション30は、汎用宅内端末10が複数のサーバと通信する場合、サーバごとに、サーバとの通信が可能であるか否かを判断し、判断結果をOS33に通知する。また、OS33は、アプリケーション30から通知された判断結果に基づいて、サーバごとに送信経路の切り替えを行う。   As described above, in the general-purpose home terminal 10 according to the modification of the embodiment of the present invention, when the general-purpose home terminal 10 communicates with a plurality of servers, the application 30 can communicate with the server for each server. Or not, and notifies the OS 33 of the determination result. Further, the OS 33 switches the transmission path for each server based on the determination result notified from the application 30.

このように、サーバごとに送信経路の切り替えを行う構成により、例えば、イーサネット回線を介して通信を正常に行うことができないサーバについてのみ3G回線に切り替えて通信料金の増加を抑えることができるなど、ユーザにとって一層都合のよいサービスを提供することができる。   In this way, by switching the transmission path for each server, for example, it is possible to suppress an increase in communication charges by switching to a 3G line only for servers that cannot communicate normally via an Ethernet line. A service more convenient for the user can be provided.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The above embodiment should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

10 汎用宅内端末(情報管理装置)
11 ホームゲートウェイ(通信中継装置)
12 PC
13 家電機器(被管理端末)
16 センサ
20 ネットワーク(外部ネットワーク)
21 サーバ群(外部装置)
22 インターネット
30 アプリケーション (情報処理部)
31 OSGi
32 Java仮想マシン
33 OS(通信部)
40 OSアプリケーション
41 OSカーネル
42 切り替え管理部(優先度設定部)
43 モニタ処理部
44 ソケット
45 ルート制御部
46 ルーティング処理部
47 イーサネットポート
48 3Gポート
A1,A2,A3 専用アプリケーション
MS メッセージサービス
10 General-purpose home terminal (information management device)
11 Home gateway (communication relay device)
12 PC
13 Home appliances (managed terminals)
16 sensors 20 network (external network)
21 Server group (external device)
22 Internet 30 Application (Information Processing Department)
31 OSGi
32 Java Virtual Machine 33 OS (Communication Department)
40 OS application 41 OS kernel 42 Switching management unit (priority setting unit)
43 Monitor processing unit 44 Socket 45 Route control unit 46 Routing processing unit 47 Ethernet port 48 3G port A1, A2, A3 Dedicated application MS message service

Claims (9)

外部ネットワークとの通信を中継する通信中継装置を経由して前記外部ネットワークにおける外部装置と接続するための第1経路、または前記通信中継装置を経由せずに前記外部装置と接続するための第2経路を用いて前記外部装置と通信すると共に、1または複数の被管理端末と通信するための通信部と、
前記外部装置との通信が可能であるか否かを判断し、判断結果を前記通信部に通知するための情報処理部とを備え、
前記通信部は、前記情報処理部から通知された前記判断結果に基づいて、前記被管理端末に関する情報を前記外部装置へ送信する送信経路を、前記第1経路と前記2経路との間で切り替え、
前記通信部は、前記送信経路の切り替えを行った後、切り替え元の経路を経由した前記外部装置との通信が可能であるか否かを確認し、可能である場合には、切り替え先の経路から前記切り替え元の経路への切り替えを行う、情報管理装置。
A first route for connecting to an external device in the external network via a communication relay device that relays communication with an external network, or a second route for connecting to the external device without going through the communication relay device A communication unit for communicating with the external device using a path and communicating with one or a plurality of managed terminals;
An information processing unit for determining whether or not communication with the external device is possible, and notifying the communication unit of a determination result;
The communication unit switches a transmission path for transmitting information on the managed terminal to the external device between the first path and the two paths based on the determination result notified from the information processing section. ,
After switching the transmission path, the communication unit checks whether communication with the external device via the switching source path is possible, and if possible, the switching destination path An information management device for switching from the switching source route to the switching source route.
前記情報処理部は、前記第1経路を用いた前記外部装置との通信が可能であるか否かを判断し、
前記通信部は、前記第1経路を用いた前記外部装置との通信が可能でないと前記情報処理部によって判断された場合に、前記送信経路を前記第1経路から前記第2経路へ切り替える、請求項1に記載の情報管理装置。
The information processing unit determines whether communication with the external device using the first path is possible,
The communication unit switches the transmission route from the first route to the second route when the information processing unit determines that communication with the external device using the first route is not possible. Item 14. The information management device according to Item 1.
前記情報管理装置は、さらに、
前記送信経路に優先度を設定するための優先度設定部を備え、
前記通信部は、優先度の高い前記送信経路から優先度の低い前記送信経路への切り替えを行った場合に前記確認を行い、優先度の低い前記送信経路から優先度の高い前記送信経路への切り替えを行った場合には前記確認を行わない、請求項1または請求項2に記載の情報管理装置。
The information management device further includes:
A priority setting unit for setting a priority in the transmission path;
The communication unit performs the confirmation when switching from the transmission path having a high priority to the transmission path having a low priority, and from the transmission path having a low priority to the transmission path having a high priority. The information management apparatus according to claim 1, wherein the confirmation is not performed when switching is performed.
前記第1経路は、固定網における通信回線を含み、
前記第2経路は、携帯電話網における通信回線を含み、
前記優先度設定部は、前記第1経路に高い優先度を設定し、前記第2経路に低い優先度を設定する、請求項3に記載の情報管理装置。
The first path includes a communication line in a fixed network,
The second path includes a communication line in a mobile phone network,
The information management apparatus according to claim 3, wherein the priority setting unit sets a high priority for the first route and sets a low priority for the second route.
前記情報処理部は、前記情報管理装置が複数の前記外部装置と通信する場合、前記外部装置ごとに、前記外部装置との通信が可能であるか否かを判断し、判断結果を前記通信部に通知し、
前記通信部は、前記情報処理部から通知された前記判断結果に基づいて、前記外部装置ごとに前記送信経路の切り替えを行う、請求項1から請求項4のいずれか1項に記載の情報管理装置。
When the information management device communicates with a plurality of external devices, the information processing unit determines, for each external device, whether or not communication with the external device is possible, and the determination result is transmitted to the communication unit. Notify
5. The information management according to claim 1, wherein the communication unit performs switching of the transmission path for each of the external devices based on the determination result notified from the information processing unit. apparatus.
前記情報処理部は、前記外部装置を示す宛先情報を前記通信部へ出力し、
前記通信部は、前記情報処理部から受けた前記宛先情報に基づいて、前記切り替え元の経路を経由した前記外部装置との通信が可能であるか否かの確認を行う、請求項1から請求項4のいずれか1項に記載の情報管理装置。
The information processing unit outputs destination information indicating the external device to the communication unit,
The communication unit checks whether communication with the external device via the switching source path is possible based on the destination information received from the information processing unit. Item 5. The information management device according to any one of items 4 to 4.
前記情報管理装置は複数レイヤを有する通信プロトコルに従って動作し、
前記情報処理部は、前記複数レイヤのうち第1のレイヤに従い、前記外部装置との通信が可能であるか否かを判断し、判断結果を前記通信部に通知し、
前記通信部は、前記第1のレイヤよりも下位の第2のレイヤに従い、前記情報処理部から通知された前記判断結果に基づいて、前記送信経路の切り替えを行う、請求項1から請求項6のいずれか1項に記載の情報管理装置。
The information management device operates according to a communication protocol having a plurality of layers,
The information processing unit determines whether communication with the external device is possible according to a first layer among the plurality of layers, and notifies the communication unit of a determination result,
The communication unit performs switching of the transmission path based on the determination result notified from the information processing unit according to a second layer lower than the first layer. The information management device according to any one of the above.
外部ネットワークとの通信を中継する通信中継装置を経由して前記外部ネットワークにおける外部装置と接続するための第1経路、または前記通信中継装置を経由せずに前記外部装置と接続するための第2経路を用いて前記外部装置と通信する通信部と、情報処理部とを備え、複数レイヤを有する通信プロトコルに従って動作する情報管理装置における情報管理方法であって、
前記情報処理部が、前記複数レイヤのうちの第1のレイヤに従い、前記外部装置との通信が可能であるか否かを判断し、判断結果を前記通信部に通知するステップと、
前記通信部が、前記複数レイヤのうち、前記第1のレイヤよりも下位の第2のレイヤに従い、前記情報処理部から通知された前記判断結果に基づいて、1または複数の被管理端末に関する情報を前記外部装置へ送信する送信経路を、前記第1経路と前記2経路との間で切り替えるステップと、
前記通信部が、前記送信経路の切り替えを行った後、前記第2のレイヤに従い、切り替え元の経路を経由した前記外部装置との通信が可能であるか否かを確認し、可能である場合には、切り替え先の経路から前記切り替え元の経路への切り替えを行うステップとを含む、情報管理方法。
A first route for connecting to an external device in the external network via a communication relay device that relays communication with an external network, or a second route for connecting to the external device without going through the communication relay device An information management method in an information management apparatus comprising a communication unit that communicates with the external device using a path and an information processing unit, and operating according to a communication protocol having a plurality of layers,
The information processing unit determines whether communication with the external device is possible according to a first layer of the plurality of layers, and notifies the communication unit of a determination result ;
Information the communication unit, among the plurality of layers, in accordance with the first lower second layer than the layer, based on the judgment result notified from the information processing unit, for one or more of the managed terminal Switching a transmission path for transmitting a message to the external device between the first path and the two paths;
When the communication unit confirms whether or not communication with the external device via the switching source path is possible according to the second layer after switching the transmission path. Includes a step of switching from the switching destination path to the switching source path.
外部ネットワークとの通信を中継する通信中継装置を経由して前記外部ネットワークにおける外部装置と接続するための第1経路、または前記通信中継装置を経由せずに前記外部装置と接続するための第2経路を用いて前記外部装置と通信する通信部と、情報処理部とを備え、複数レイヤを有する通信プロトコルに従って動作する情報管理装置に用いられる情報管理プログラムであって、
コンピュータに、
前記情報処理部が、前記複数レイヤのうちの第1のレイヤに従い、前記外部装置との通信が可能であるか否かを判断し、判断結果を前記通信部に通知するステップと、
前記通信部が、前記複数レイヤのうち、前記第1のレイヤよりも下位の第2のレイヤに従い、前記情報処理部から通知された前記判断結果に基づいて、1または複数の被管理端末に関する情報を前記外部装置へ送信する送信経路を、前記第1経路と前記2経路との間で切り替えるステップと、
前記通信部が、前記送信経路の切り替えを行った後、前記第2のレイヤに従い、切り替え元の経路を経由した前記外部装置との通信が可能であるか否かを確認し、可能である場合には、切り替え先の経路から前記切り替え元の経路への切り替えを行うステップとを実行させるための、情報管理プログラム。
A first route for connecting to an external device in the external network via a communication relay device that relays communication with an external network, or a second route for connecting to the external device without going through the communication relay device An information management program that is used in an information management device that includes a communication unit that communicates with the external device using a path and an information processing unit and operates according to a communication protocol having a plurality of layers,
On the computer,
The information processing unit determines whether communication with the external device is possible according to a first layer of the plurality of layers, and notifies the communication unit of a determination result ;
Information the communication unit, among the plurality of layers, in accordance with the first lower second layer than the layer, based on the judgment result notified from the information processing unit, for one or more of the managed terminal Switching a transmission path for transmitting a message to the external device between the first path and the two paths;
When the communication unit confirms whether or not communication with the external device via the switching source path is possible according to the second layer after switching the transmission path. An information management program for executing a step of switching from the switching destination path to the switching source path.
JP2012117362A 2012-05-23 2012-05-23 Information management apparatus, information management method, and information management program Active JP5974630B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012117362A JP5974630B2 (en) 2012-05-23 2012-05-23 Information management apparatus, information management method, and information management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012117362A JP5974630B2 (en) 2012-05-23 2012-05-23 Information management apparatus, information management method, and information management program

Publications (2)

Publication Number Publication Date
JP2013247378A JP2013247378A (en) 2013-12-09
JP5974630B2 true JP5974630B2 (en) 2016-08-23

Family

ID=49846876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012117362A Active JP5974630B2 (en) 2012-05-23 2012-05-23 Information management apparatus, information management method, and information management program

Country Status (1)

Country Link
JP (1) JP5974630B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003249950A (en) * 2002-02-22 2003-09-05 Laycom:Kk Automatic line switching method and apparatus, computer program
JP2003304275A (en) * 2002-04-10 2003-10-24 Meidensha Corp Transmission line backup system of transmitter

Also Published As

Publication number Publication date
JP2013247378A (en) 2013-12-09

Similar Documents

Publication Publication Date Title
US8914449B2 (en) Push messaging platform with high scalability and high availability
EP2448217B1 (en) System and method for mixed-mesh wireless networking
CN103973728B (en) The method and device of load balancing under a kind of multiple data centers environment
CN101180852A (en) Method and system for remotely managing a machine via an IP link of an IP multimedia subsystem IMS
CN106470117B (en) Transmission switching method, equipment and the system of LTE broadband cluster system
WO2016034575A1 (en) Wan control failover broker for vhgw
CN105450779B (en) The method of one household appliance connection multiserver
CN103095749A (en) Method and system used for achieving discovery of cross-network-segment equipment
EP2911340B1 (en) Method and system for removing fault of internet of things gateway
CN104967560A (en) Method and device for realizing linkage with devices managed by a gateway
CN106411585A (en) Server switching method, adapter, server and scheduling device
JP2018092565A (en) Cloud relay device, cloud connection processing method, and program
CN104935484A (en) A method and device for invoking home appliance services through a gateway
CN104580346B (en) Data transmission method and device
CN103001822B (en) The processing method of Network Abnormal and device
CN103441944A (en) Data processing method based on load balancing equipment and load balancing equipment
CN105072148B (en) Method and device for establishing connection with terminal
CN104935485A (en) Home appliance service calling method, home appliance service calling request forwarding method and device
CN104283968A (en) Intelligent household electrical appliance backstage management system
CN102984145B (en) With the method for serial communication and the communication equipment with multiple extension set
JP5974630B2 (en) Information management apparatus, information management method, and information management program
KR20110016525A (en) Communication terminal and its control method, P2P server system and its control method
US20050216578A1 (en) Methods, devices and computer program products using a node affiliation protocol for monitoring and/or controlling networkable devices
JP2019040579A (en) Message push system, client device and message push method therefor
JP5781272B2 (en) Communication device, master-slave determination method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150422

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160317

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20160408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160606

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: 20160621

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160704

R150 Certificate of patent or registration of utility model

Ref document number: 5974630

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250