JP6835414B2 - Communication control device, communication control system, communication system, communication control method, and control program - Google Patents

Communication control device, communication control system, communication system, communication control method, and control program Download PDF

Info

Publication number
JP6835414B2
JP6835414B2 JP2018136546A JP2018136546A JP6835414B2 JP 6835414 B2 JP6835414 B2 JP 6835414B2 JP 2018136546 A JP2018136546 A JP 2018136546A JP 2018136546 A JP2018136546 A JP 2018136546A JP 6835414 B2 JP6835414 B2 JP 6835414B2
Authority
JP
Japan
Prior art keywords
communication
unit
program
communication control
control
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
JP2018136546A
Other languages
Japanese (ja)
Other versions
JP2020013441A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2018136546A priority Critical patent/JP6835414B2/en
Publication of JP2020013441A publication Critical patent/JP2020013441A/en
Application granted granted Critical
Publication of JP6835414B2 publication Critical patent/JP6835414B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本開示は、通信制御装置、通信制御システム、通信システム、通信制御方法、及び制御プログラムに関する。 The present disclosure relates to communication control devices, communication control systems, communication systems, communication control methods, and control programs.

昨今、Internet of Thing(IoT)により全ての物がインターネットに繋がり、物から得た情報を管理するサービスが急速に増加している。これらの物は、情報を送信するための送信部を備えるとともに、その情報を取得するセンサ等を備えており、電子機器或いは単にデバイスと称することができる。上記サービスとしては、デバイスで得られた情報をインターネット上のサーバ装置に蓄積し、それらの情報を解析するようなサービスが存在する。 In recent years, Internet of Things (IoT) has enabled all things to be connected to the Internet, and services for managing information obtained from things are rapidly increasing. These objects include a transmission unit for transmitting information and a sensor or the like for acquiring the information, and can be referred to as an electronic device or simply a device. As the above-mentioned service, there is a service that stores information obtained by a device in a server device on the Internet and analyzes the information.

このようなサービスでは、上述のような情報は、ホームゲートウェイ等のゲートウェイ装置を介してサーバ装置に蓄積されるようなシステムが採用されている。そして、このようなサービスでは、できるだけ多くの情報を蓄積することが望ましいため、いかなる状況においてもデバイスで得られる情報を欠落なくサーバ装置に格納できるようなシステムが望まれている。 In such a service, a system is adopted in which the above-mentioned information is stored in a server device via a gateway device such as a home gateway. Since it is desirable to store as much information as possible in such a service, a system that can store the information obtained by the device in the server device without omission is desired in any situation.

特許文献1には、ネットワーク家電の通信が終了するまで待ってから再起動するゲートウェイが開示されている。また、特許文献2には、通信装置内部の一時的に記憶されたデータを退避する通信装置が開示されている。 Patent Document 1 discloses a gateway that waits until the communication of network home appliances is completed and then restarts. Further, Patent Document 2 discloses a communication device that saves temporarily stored data inside the communication device.

特開2009−193152号公報JP-A-2009-193152 特開2016−076820号公報Japanese Unexamined Patent Publication No. 2016-076820

ところで、ゲートウェイ装置では、セキュリティ上の脆弱性への対応や機能の強化などのために内部のプログラムが更新されることがあり、更新を反映させるために再起動を要することがある。そして、その間は、デバイスで得られた情報をサーバ装置へ格納する機能が一時的に停止されることになり、一時停止期間中に得られたデバイス情報はデバイスによる蓄積機能がない場合にはサーバ装置に格納できないことになる。 By the way, in the gateway device, the internal program may be updated in order to deal with security vulnerabilities or enhance the function, and a restart may be required to reflect the update. During that time, the function of storing the information obtained by the device in the server device is temporarily stopped, and the device information obtained during the suspension period is stored in the server if the device does not have the storage function. It cannot be stored in the device.

特許文献1に記載のゲートウェイでは、ネットワーク家電の通信が終了するまで待ってから再起動することができるが、再起動中はネットワーク家電との通信ができないため、このような問題を解決できるものではない。 The gateway described in Patent Document 1 can wait until the communication of the network home appliance is completed and then restart, but since communication with the network home appliance cannot be performed during the restart, such a problem cannot be solved. Absent.

また、特許文献2に記載の通信装置は、通信装置内部の一時的に記憶されたデータを退避することができるが、プログラム更新時及び再起動時にデバイスで得られた情報を記憶することができないため、上述のような問題を解決できるものではない。 Further, the communication device described in Patent Document 2 can save the temporarily stored data inside the communication device, but cannot store the information obtained by the device at the time of program update and restart. Therefore, the above-mentioned problems cannot be solved.

本開示の目的は、上述した課題を解決する通信制御装置、通信制御システム、通信システム、通信制御方法、及び制御プログラムを提供することにある。上記課題は、通信制御装置のプログラム更新時及び再起動時に、通信制御装置に接続された電子機器で得られた情報を、サーバ装置に格納することができないというものである。 An object of the present disclosure is to provide a communication control device, a communication control system, a communication system, a communication control method, and a control program that solve the above-mentioned problems. The problem is that the information obtained by the electronic device connected to the communication control device cannot be stored in the server device when the program of the communication control device is updated and restarted.

本開示の第1の態様に係る通信制御装置は、
プログラムを実行する制御部と、
サーバ装置及び電子機器と通信する通信部と、
前記通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、一時的に記憶する記憶部と、
を備え、
前記記憶部は、前記プログラムを更新している間、前記通信部を介して前記情報を受信し、受信した前記情報を記憶し、
前記制御部は、前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記通信部を介して転送する、ものである。
The communication control device according to the first aspect of the present disclosure is
The control unit that executes the program and
Communication unit that communicates with server devices and electronic devices,
A storage unit that temporarily stores information obtained by the electronic device for storing in the server device via the communication unit, and a storage unit.
With
While updating the program, the storage unit receives the information via the communication unit, stores the received information, and stores the received information.
After updating and restarting the program, the control unit transfers the information stored in the storage unit to the server device via the communication unit.

本開示の第2の態様に係る通信制御システムは、
プログラムを実行する制御部と、サーバ装置にネットワークを介して接続するための第1通信部と、他のサーバ装置及び電子機器に他のネットワークを介して接続するための第2通信部と、を備えた通信制御装置と、
前記他のサーバ装置と、
を備え、
前記他のサーバ装置は、前記第1通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、前記プログラムを更新している間、前記第2通信部を介して受信し、受信した前記情報を一時的に記憶する記憶部を有し、
前記制御部は、前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記第1通信部を介して転送する、ものである。
The communication control system according to the second aspect of the present disclosure is
A control unit that executes a program, a first communication unit for connecting to a server device via a network, and a second communication unit for connecting to another server device and an electronic device via another network. With a communication control device
With the other server device
With
The other server device uses the second communication unit to update the information obtained by the electronic device for storing in the server device via the first communication unit while updating the program. It has a storage unit that receives and temporarily stores the received information.
The control unit updates the program, restarts the program, and then transfers the information stored in the storage unit to the server device via the first communication unit.

本開示の第3の態様に係る通信制御方法は、
プログラムを実行する制御部と、サーバ装置及び電子機器と通信する通信部と、を備えた通信制御装置における通信制御方法であって、
前記プログラムを更新している間、前記通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、前記通信部を介して受信し、受信した前記情報を一時的に前記通信制御装置の内部又は外部の記憶部に記憶するステップと、
前記制御部は、前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記通信部を介して転送するステップと、
を有する、ものである。
The communication control method according to the third aspect of the present disclosure is
A communication control method in a communication control device including a control unit that executes a program and a communication unit that communicates with a server device and an electronic device.
While updating the program, the information obtained by the electronic device for storing in the server device via the communication unit is received via the communication unit, and the received information is temporarily received. A step of storing in an internal or external storage unit of the communication control device, and
The control unit updates the program, restarts the program, and then transfers the information stored in the storage unit to the server device via the communication unit.
Has.

本開示の第4の態様に係る制御プログラムは、
プログラムを実行する制御部と、サーバ装置及び電子機器と通信する通信部と、を備えた通信制御装置における前記制御部に実行させるための制御プログラムであって、
前記制御部に、
前記プログラムを更新している間、前記通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、前記通信部を介して受信し、受信した前記情報を一時的に前記通信制御装置の内部又は外部の記憶部に記憶するステップと、
前記制御部は、前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記通信部を介して転送するステップと、
を実行させるための制御プログラムである。
The control program according to the fourth aspect of the present disclosure is
A control program for being executed by the control unit in a communication control device including a control unit for executing a program and a communication unit for communicating with a server device and an electronic device.
In the control unit
While updating the program, the information obtained by the electronic device for storing in the server device via the communication unit is received via the communication unit, and the received information is temporarily received. A step of storing in an internal or external storage unit of the communication control device, and
The control unit updates the program, restarts the program, and then transfers the information stored in the storage unit to the server device via the communication unit.
It is a control program for executing.

本開示により、上記課題を解決する通信制御装置、通信制御システム、通信システム、通信制御方法、及び制御プログラムを提供することができる。即ち、本開示によれば、通信制御装置のプログラム更新時及び再起動時に、通信制御装置に接続された電子機器で得られた情報を、サーバ装置に格納することができるようになる。 According to the present disclosure, it is possible to provide a communication control device, a communication control system, a communication system, a communication control method, and a control program that solve the above problems. That is, according to the present disclosure, the information obtained by the electronic device connected to the communication control device can be stored in the server device when the program of the communication control device is updated and restarted.

実施形態1に係る通信制御装置の一構成例を示すブロック図である。It is a block diagram which shows one configuration example of the communication control device which concerns on Embodiment 1. FIG. 比較例に係る通信制御装置を備えた通信システムを示す図である。It is a figure which shows the communication system which provided the communication control device which concerns on a comparative example. 実施形態2に係るゲートウェイを備えた通信システムの一構成例を示す図である。It is a figure which shows one configuration example of the communication system provided with the gateway which concerns on Embodiment 2. 図3の通信システムにおけるゲートウェイの一構成例を示す機能ブロック図である。It is a functional block diagram which shows one configuration example of the gateway in the communication system of FIG. 図4のゲートウェイにおける通信制御方法の一例を説明するためのフロー図である。It is a flow diagram for demonstrating an example of the communication control method in the gateway of FIG. 実施形態3に係る通信制御システムを備えた通信システムの一構成例を示す図である。It is a figure which shows one configuration example of the communication system provided with the communication control system which concerns on Embodiment 3. 通信制御装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware configuration of a communication control device.

以下、図面を参照して、実施形態について説明する。なお、実施形態において、同一又は同等の要素には、同一の符号を付し、重複する説明は省略される。 Hereinafter, embodiments will be described with reference to the drawings. In the embodiment, the same or equivalent elements are designated by the same reference numerals, and duplicate description is omitted.

<実施形態1>
図1は、実施形態1に係る通信制御装置の一構成例を示すブロック図である。
図1に示すように、本実施形態に係る通信制御装置1は、制御部1a、記憶部1b、及び通信部1cを有する。通信制御装置1は、通信を中継することができる、ゲートウェイ装置(以下、ゲートウェイ)等の装置であり、通信部1cは、そのための通信ポート(通信インタフェース)等を有することができる。
<Embodiment 1>
FIG. 1 is a block diagram showing a configuration example of a communication control device according to the first embodiment.
As shown in FIG. 1, the communication control device 1 according to the present embodiment includes a control unit 1a, a storage unit 1b, and a communication unit 1c. The communication control device 1 is a device such as a gateway device (hereinafter, gateway) capable of relaying communication, and the communication unit 1c can have a communication port (communication interface) or the like for that purpose.

通信部1cは、図示しないサーバ装置と通信するとともに、1又は複数の電子機器(以下、デバイス)とも通信を行う。ここで、サーバ装置は、サーバコンピュータ等とすることができ、また、インターネット等のネットワークを介して通信制御装置1に接続しておくことができる。なお、デバイスの種類は問わない。デバイスは、家電と称されるような各種機器をはじめ、気温や湿度等の環境情報又は位置情報等の各種情報を収集するセンサ、PC(Personal Computer)、携帯電話機(スマートフォンと称されるものも含む)等とすることもできる。また、通信制御装置1、デバイス、及びサーバ装置により通信システムを構築することができる。 The communication unit 1c communicates with a server device (not shown) and also communicates with one or a plurality of electronic devices (hereinafter, devices). Here, the server device can be a server computer or the like, and can be connected to the communication control device 1 via a network such as the Internet. The type of device does not matter. Devices include various devices called home appliances, sensors that collect various information such as environmental information such as temperature and humidity or location information, PCs (Personal Computers), and mobile phones (some are called smartphones). Including), etc. Further, a communication system can be constructed by the communication control device 1, the device, and the server device.

そして、本実施形態における制御部1aは、プログラムを実行することで通信制御装置1の制御を行う。このプログラムは、ソフトウェア又はファームウェアと称されるプログラムであり、基本的にこれにより通信制御装置1の全体が制御される。後述の説明から分かるように当該プログラムの更新時等には当該プログラムとは独立して動作する部位もある。 Then, the control unit 1a in the present embodiment controls the communication control device 1 by executing the program. This program is a program called software or firmware, and basically the entire communication control device 1 is controlled by the program. As can be seen from the explanation described later, there are some parts that operate independently of the program when the program is updated.

また、本実施形態における記憶部1bは、デバイスで得られた情報を、一時的に記憶する。この情報は、通信部1cを介してサーバ装置に格納するための情報とする。この情報は、デバイスで得られた様々な情報とすることができ、その種類は問わず、以下、デバイス情報と称する。デバイス情報は、デバイスがもつID等の固有の情報又はユーザ情報を含むことができる。 Further, the storage unit 1b in the present embodiment temporarily stores the information obtained by the device. This information is information to be stored in the server device via the communication unit 1c. This information can be various information obtained by the device, and regardless of the type, hereinafter referred to as device information. The device information can include unique information such as an ID of the device or user information.

特に、記憶部1bは、上記プログラムを更新している間、通信部1cを介してデバイス情報を受信し、受信したデバイス情報を記憶する。つまり、プログラム更新の間、デバイス情報は、記憶部1bに一時的に保管されることになる。 In particular, the storage unit 1b receives the device information via the communication unit 1c while updating the program, and stores the received device information. That is, the device information is temporarily stored in the storage unit 1b during the program update.

制御部1a(又は制御部1a及び記憶部1b)は、例えば、集積回路(Integrated Circuit)によって実現することができる。また、制御部1aは、例えば、CPU(Central Processing Unit)、作業用メモリ、及び通信制御装置1の全体を制御するための上記プログラムを記憶した不揮発性の記憶装置などによって実現することもできる。記憶部1bは、例えば半導体メモリによって実現することができ、例えばバッファメモリとして使用されるようなメモリとすることもできる。 The control unit 1a (or the control unit 1a and the storage unit 1b) can be realized by, for example, an integrated circuit. Further, the control unit 1a can also be realized by, for example, a CPU (Central Processing Unit), a working memory, and a non-volatile storage device that stores the above program for controlling the entire communication control device 1. The storage unit 1b can be realized by, for example, a semiconductor memory, and can be a memory used as, for example, a buffer memory.

そして、制御部1aは、上記プログラムを更新して再起動した後、記憶部1bに記憶されたデバイス情報をサーバ装置に通信部1cを介して転送する。サーバ装置は、転送されたデバイス情報を内部に設けられた記憶部に記憶して管理する。なお、サーバ装置は、プログラム更新時以外についても通信制御装置1から送信されたデバイス情報を内部に設けられた記憶部に記憶して管理する。 Then, after updating the program and restarting the control unit 1a, the control unit 1a transfers the device information stored in the storage unit 1b to the server device via the communication unit 1c. The server device stores and manages the transferred device information in a storage unit provided inside. The server device stores and manages the device information transmitted from the communication control device 1 in a storage unit provided internally even when the program is not updated.

このような更新中及び再起動中においてもデバイスとの通信を可能とする構成により、通信制御装置1は、上記プログラムを更新して再起動した後、デバイス情報を欠落なく、インターネット等のネットワーク上のサーバ装置へ格納することができる。このように、本実施形態に係る通信制御装置1によれば、通信制御装置1のプログラム更新時及び再起動時に、通信制御装置1に接続されたデバイスで得られたデバイス情報を、サーバ装置に格納することができるようになる。つまり、本実施形態に係る通信制御装置1によれば、プログラムを更新している間においてもデバイス情報を欠落させることなく、最終的にサーバ装置に格納することができる。さらに、本実施形態では、このような効果を得るためにデバイスを特別に改良する必要がなく、デバイスに対して特別な作りこみを要することがない。 With such a configuration that enables communication with the device even during the update and restart, the communication control device 1 updates the above program and restarts, and then the device information is not lost on the network such as the Internet. Can be stored in the server device of. As described above, according to the communication control device 1 according to the present embodiment, the device information obtained by the device connected to the communication control device 1 is transmitted to the server device when the program of the communication control device 1 is updated and restarted. You will be able to store it. That is, according to the communication control device 1 according to the present embodiment, the device information can be finally stored in the server device without losing the device information even while the program is being updated. Further, in the present embodiment, it is not necessary to specially improve the device in order to obtain such an effect, and no special fabrication is required for the device.

<実施形態2>
実施形態2について、図2〜図5を併せて参照しながら、実施形態1との相違点を中心に説明するが、実施形態1で説明した様々な例が適用できる。図2は、比較例に係る通信制御装置を備えた通信システムを示す図である。図3は、実施形態2に係る通信制御装置の一例であるゲートウェイを備えた通信システムの一構成例を示す図である。図4は、図3の通信システムにおけるゲートウェイの一構成例を示す機能ブロック図である。
<Embodiment 2>
The second embodiment will be described mainly on the differences from the first embodiment with reference to FIGS. 2 to 5, but various examples described in the first embodiment can be applied. FIG. 2 is a diagram showing a communication system provided with a communication control device according to a comparative example. FIG. 3 is a diagram showing a configuration example of a communication system including a gateway, which is an example of the communication control device according to the second embodiment. FIG. 4 is a functional block diagram showing an example of a gateway configuration in the communication system of FIG.

まず、図2を参照しながら、比較例に係る通信制御装置及びそれを備えた通信システムについて簡単に説明する。図2に示す比較例に係る通信システムは、通信制御装置の例としてのゲートウェイ100にデバイス3,4が接続されるとともにサーバ装置(以下、サーバ)2がインターネットNを介して接続される。 First, with reference to FIG. 2, a communication control device according to a comparative example and a communication system provided with the communication control device will be briefly described. In the communication system according to the comparative example shown in FIG. 2, the devices 3 and 4 are connected to the gateway 100 as an example of the communication control device, and the server device (hereinafter, server) 2 is connected via the Internet N.

ゲートウェイ100は、図2の太線矢印で示すように、デバイス3及びデバイス4で得られたデバイス情報を、インターネットN上のサーバ2に格納する。このように、比較例に係る通信システムは、デバイス3,4がもつ情報の蓄積を行うようなシステム、若しくは、これらの情報の蓄積及び蓄積した情報からのデータ解析等を行うようなシステムとすることができる。 As shown by the thick arrow in FIG. 2, the gateway 100 stores the device information obtained by the device 3 and the device 4 in the server 2 on the Internet N. As described above, the communication system according to the comparative example is a system that accumulates information possessed by the devices 3 and 4, or a system that accumulates such information and analyzes data from the accumulated information. be able to.

このような通信システムでは、できるだけ多くの情報を蓄積したいため、いかなる状況においてもデバイス情報をサーバ2へ格納できることが期待される。しかしながらセキュリティ脆弱性の対応や、機能強化等の要因でゲートウェイ100は、自身を動作させるためのプログラムを更新する場合があり、且つ更新を反映させるために再起動を要する場合がある。その間、ゲートウェイ100は、デバイスがもつデバイス情報をサーバ2へ格納する機能を一時停止することになり、一時停止期間中に得られたデバイス情報はデバイス3,4自身が蓄積機能を有していない場合にはサーバ2に格納できないことになる。 In such a communication system, since it is desired to accumulate as much information as possible, it is expected that device information can be stored in the server 2 under any circumstances. However, the gateway 100 may update the program for operating itself due to factors such as security vulnerabilities and functional enhancements, and may require a restart to reflect the update. During that time, the gateway 100 suspends the function of storing the device information of the device in the server 2, and the devices 3 and 4 themselves do not have the storage function of the device information obtained during the suspension period. In that case, it cannot be stored in the server 2.

本実施形態に係る通信システムは、実施形態1に係る通信システムと同様に、このような問題を解決することができるシステムである。まず、本実施形態に係る通信システムについて、図3及び図4を参照しながら説明する。 The communication system according to the present embodiment is a system capable of solving such a problem as in the communication system according to the first embodiment. First, the communication system according to the present embodiment will be described with reference to FIGS. 3 and 4.

図3に示すように、本実施形態に係る通信システムは、ゲートウェイ10、サーバ2、及びデバイス3,4を有することができる。ここで、ゲートウェイ10は、デバイス3,4に接続されるとともにサーバ2にインターネットNを介して接続されることができる。なお、実施形態1で説明したように、デバイス3,4の種類は問わず、また、ゲートウェイ10に接続されるデバイスの数は2つに限らず、1以上であればよい。 As shown in FIG. 3, the communication system according to the present embodiment can include a gateway 10, a server 2, and devices 3 and 4. Here, the gateway 10 can be connected to the devices 3 and 4 and can be connected to the server 2 via the Internet N. As described in the first embodiment, the types of devices 3 and 4 are not limited, and the number of devices connected to the gateway 10 is not limited to two and may be one or more.

ゲートウェイ10は、デバイス3及びデバイス4で得られたデバイス情報を、インターネットN上のサーバ2に格納する。格納されるデバイス情報は、各デバイス3,4の内部のメモリに記憶(保持又は所持)されている情報であってもよいが、リアルタイムにゲートウェイ10に自発的に送信される情報、或いはリアルタイムにゲートウェイ10から取得される情報であってもよい。このように、本実施形態に係る通信システムも比較例に係る通信システムと同様に、デバイス3,4がもつ情報の蓄積を行うようなシステム、若しくは、これらの情報の蓄積及び蓄積した情報からのデータ解析等を行うようなシステムとすることができる。 The gateway 10 stores the device information obtained by the device 3 and the device 4 in the server 2 on the Internet N. The stored device information may be information stored (retained or possessed) in the internal memory of each device 3 or 4, but is information spontaneously transmitted to the gateway 10 in real time or in real time. It may be the information acquired from the gateway 10. As described above, the communication system according to the present embodiment is also a system that accumulates the information possessed by the devices 3 and 4, like the communication system according to the comparative example, or the accumulation of such information and the accumulated information. It can be a system that performs data analysis and the like.

ゲートウェイ10は、図1の通信制御装置1に対応する装置であり、図4にゲートウェイ10の内部構成例を示すような構成を有することができる。即ち、ゲートウェイ10は、メモリ11、CPU12、ソフトウェア格納部13、及びスイッチ部14を有することができる。また、ゲートウェイ10は、WAN(Wide Area Network)インターフェース15及びLAN(Local Area Network)インターフェース16,17を有することができる。 The gateway 10 is a device corresponding to the communication control device 1 of FIG. 1, and may have a configuration as shown in FIG. 4 as an example of the internal configuration of the gateway 10. That is, the gateway 10 can have a memory 11, a CPU 12, a software storage unit 13, and a switch unit 14. Further, the gateway 10 can have a WAN (Wide Area Network) interface 15 and LAN (Local Area Network) interfaces 16 and 17.

メモリ11は、図1における記憶部1bの一例である。CPU12、ソフトウェア格納部13、及びスイッチ部14は、図1における制御部1aの一例とすることができる。WANインターフェース15及びLANインターフェース16,17は、図1における通信部1cの一例とすることができる。 The memory 11 is an example of the storage unit 1b in FIG. The CPU 12, the software storage unit 13, and the switch unit 14 can be used as an example of the control unit 1a in FIG. The WAN interface 15 and the LAN interfaces 16 and 17 can be used as an example of the communication unit 1c in FIG.

本実施形態では、図1における通信部1cは、次のような構成を有する例を挙げる。即ち、通信部1cは、サーバ2にインターネットN等のネットワークを介して接続するための第1通信部と、デバイス3,4にLAN等の他のネットワークを介して接続するための第2通信部と、を有することができる。第1通信部の一例がWANインターフェース15で、第2通信部の一例が2つのLANインターフェース16,17であり、以下ではこの例を挙げて説明する。 In the present embodiment, an example in which the communication unit 1c in FIG. 1 has the following configuration is given. That is, the communication unit 1c has a first communication unit for connecting to the server 2 via a network such as the Internet N and a second communication unit for connecting to the devices 3 and 4 via another network such as a LAN. And can have. An example of the first communication unit is the WAN interface 15, and an example of the second communication unit is the two LAN interfaces 16 and 17, which will be described below with reference to this example.

メモリ11は、サーバ2へ格納するためのデバイス情報を一時保管するために設けられている。CPU12は、基本的にゲートウェイ10の全体の動作を司る。ソフトウェア格納部13は、CPU12を動作させるためのプログラム(以下、ソフトウェア)を格納する半導体メモリ等の記憶部である。WANインターフェース15は、インターネットNと接続するためのインターフェースである。LANインターフェース16,17は、Ethernet(登録商標;以下同様)ケーブルにてゲートウェイ10とデバイス3,4を接続するためのインターフェースである。 The memory 11 is provided for temporarily storing device information for storing in the server 2. The CPU 12 basically controls the overall operation of the gateway 10. The software storage unit 13 is a storage unit such as a semiconductor memory that stores a program (hereinafter, software) for operating the CPU 12. The WAN interface 15 is an interface for connecting to the Internet N. The LAN interfaces 16 and 17 are interfaces for connecting the gateway 10 and the devices 3 and 4 with an Ethernet (registered trademark; the same applies hereinafter) cable.

ここでは、ゲートウェイ10とデバイス3,4とをEthernetケーブルで接続した例を挙げている。但し、ゲートウェイ10は、デバイス3,4とそのほかの接続方法、例えばBluetooth(登録商標)等の近距離無線通信方式やWi−Fi(登録商標)などの無線通信方式で接続することもできる。また、ゲートウェイ10には、デバイス毎に異なる接続方法で接続されることもできる。 Here, an example in which the gateway 10 and the devices 3 and 4 are connected by an Ethernet cable is given. However, the gateway 10 can also be connected to the devices 3 and 4 by other connection methods, such as a short-range wireless communication method such as Bluetooth (registered trademark) or a wireless communication method such as Wi-Fi (registered trademark). Further, the gateway 10 can be connected to the gateway 10 by a different connection method for each device.

スイッチ部14は、パケットのMAC(Media Access Control)アドレスをモニタして、パケットの転送ルートを制御する。LANインターフェース16,17は、CPU12及びメモリ11にスイッチ部14を介して接続されている。また、CPU12は、メモリ11、ソフトウェア格納部13、及びWANインターフェース15に接続されている。 The switch unit 14 monitors the MAC (Media Access Control) address of the packet and controls the forwarding route of the packet. The LAN interfaces 16 and 17 are connected to the CPU 12 and the memory 11 via the switch unit 14. Further, the CPU 12 is connected to the memory 11, the software storage unit 13, and the WAN interface 15.

本実施形態において、スイッチ部14は、ソフトウェアを更新している間、CPU12とLANインターフェース16,17との間(図1における制御部1aと通信部1cのデバイス側との接続に関する部位との間に対応)を接続状態から非接続状態に切り替える。さらに、スイッチ部14は、ソフトウェアを更新している間、メモリ11とLANインターフェース16,17との間を非接続状態から接続状態に切り替えるように構成しておくこともできる。なお、メモリ11とLANインターフェース16,17との間は、図1における記憶部1bと通信部1cのデバイス側との接続に関する部位との間に対応する。なお、このような切り替えを実行するために、スイッチ部14は、CPU12とLANインターフェース16,17との間及びメモリ11とLANインターフェース16,17との間を、接続状態と非接続状態との間で切り替えることが可能に構成されている。 In the present embodiment, the switch unit 14 is used between the CPU 12 and the LAN interfaces 16 and 17 (between the parts related to the connection between the control unit 1a and the communication unit 1c on the device side in FIG. 1) while updating the software. (Corresponding to) is switched from the connected state to the disconnected state. Further, the switch unit 14 may be configured to switch between the memory 11 and the LAN interfaces 16 and 17 from the non-connected state to the connected state while the software is being updated. The memory 11 and the LAN interfaces 16 and 17 correspond to a portion related to the connection between the storage unit 1b and the communication unit 1c on the device side in FIG. In order to execute such switching, the switch unit 14 switches between the CPU 12 and the LAN interfaces 16 and 17 and between the memory 11 and the LAN interfaces 16 and 17 between the connected state and the non-connected state. It is configured so that it can be switched with.

さらに、本実施形態では、ゲートウェイ10aの制御部は、ソフトウェアの更新を開始する際に(実際の更新が開始される前に)、スイッチ部14を通常モードから更新モード(以下、バージョンアップモード)に移行させることができる。なお、以下、この制御部の例としてのCPU12が実行する場合について説明する。このような移行を採用する場合、CPU12は、ソフトウェアの更新を終えて再起動された後に、スイッチ部14をバージョンアップモードから通常モードへ戻すものとする。 Further, in the present embodiment, the control unit of the gateway 10a changes the switch unit 14 from the normal mode to the update mode (hereinafter, version upgrade mode) when the software update is started (before the actual update is started). Can be migrated to. Hereinafter, a case where the CPU 12 is executed as an example of this control unit will be described. When adopting such a transition, the CPU 12 shall return the switch unit 14 from the version upgrade mode to the normal mode after the software has been updated and restarted.

ここで、通常モードは、CPU12側に送信されるべきパケットをそのままCPU12側に転送する動作モードを指し、バージョンアップモードは、CPU12側に送信されるべきパケットをメモリ11に転送する動作モードを指す。LANインターフェース16,17のいずれかで受信したパケットの送信先(宛先)は、そのパケット内で指定されたMACアドレス等の宛先とすることができる。これらの動作モードは、CPU12側に送信されるべきパケット以外のパケットについては、例えば、基本的に宛先に従って転送を行うようにしておけばよい。或いは、バージョンアップモードでは、全てのパケットをメモリ11に転送する動作モードとすることもできる。 Here, the normal mode refers to an operation mode in which a packet to be transmitted to the CPU 12 side is transferred to the CPU 12 side as it is, and the version upgrade mode refers to an operation mode in which a packet to be transmitted to the CPU 12 side is transferred to the memory 11. .. The destination (destination) of the packet received by any of the LAN interfaces 16 and 17 can be the destination such as the MAC address specified in the packet. In these operation modes, for packets other than the packet to be transmitted to the CPU 12 side, for example, the packet may be basically transferred according to the destination. Alternatively, in the version upgrade mode, an operation mode in which all packets are transferred to the memory 11 can be set.

なお、このような動作モードの切り替えを採用しない場合には、例えば、スイッチ部14は、CPU12宛てのパケットを常にメモリ11に記憶するようにコピーを作成して転送するなどの処理を行うことができる。但し、その場合、メモリ11に記憶されたデバイス情報をサーバ2又はCPU12で判定して重複分を削除するなどの処理が必要となる。 When such operation mode switching is not adopted, for example, the switch unit 14 may perform processing such as creating a copy and transferring the packet addressed to the CPU 12 so as to always store the packet in the memory 11. it can. However, in that case, processing such as determining the device information stored in the memory 11 by the server 2 or the CPU 12 and deleting the duplicated portion is required.

次に、上述のようなゲートウェイ10の動作例について説明する。この動作例では、前提として、ゲートウェイ10のソフトウェア更新中及び再起動中は、CPU12とスイッチ部14の接続が切れるものとする。この接続は、CPU12とLANインターフェース16,17との接続を切断することで切ることができ、この切断によってもスイッチ部14の他の部位の動作は継続するものとする。また、ゲートウェイ10が再起動中、スイッチ部14、メモリ11、及びLANインターフェース16,17は動作を継続するものとする。 Next, an operation example of the gateway 10 as described above will be described. In this operation example, it is assumed that the connection between the CPU 12 and the switch unit 14 is disconnected during the software update and restart of the gateway 10. This connection can be cut by disconnecting the connection between the CPU 12 and the LAN interfaces 16 and 17, and the operation of other parts of the switch unit 14 is continued even by this disconnection. Further, it is assumed that the switch unit 14, the memory 11, and the LAN interfaces 16 and 17 continue to operate while the gateway 10 is restarting.

全体の動作を説明する前に、まずスイッチ部14の動作例について説明する。
スイッチ部14は、CPU12から、通常モードとバージョンアップモードのいずれかの動作モードを指示されることで、通常モードとバージョンアップモードを切り替える。
Before explaining the overall operation, first, an operation example of the switch unit 14 will be described.
The switch unit 14 switches between the normal mode and the version upgrade mode by being instructed by the CPU 12 to operate either the normal mode or the version upgrade mode.

通常モードでは、スイッチ部14は、LANインターフェース16,17のいずれかで受信したパケットを、パケット内の宛先MACアドレスで指定された宛先に従い、転送先を決定する。例えば、スイッチ部14は、LANインターフェース16から受信したパケット内の宛先が、CPU12宛である場合(この例ではWANインターフェース15を介して外部に送信されるパケットである場合)、CPU12へパケットを転送することになる。ゲートウェイ10がソフトウェア更新中及び再起動中の場合で且つスイッチ部14が通常モードである場合、CPU12とスイッチ部14の接続が切れているため、CPU12宛のパケットは全て廃棄されることになる。 In the normal mode, the switch unit 14 determines the forwarding destination of the packet received by any of the LAN interfaces 16 and 17 according to the destination specified by the destination MAC address in the packet. For example, when the destination in the packet received from the LAN interface 16 is addressed to the CPU 12 (in this example, the packet is transmitted to the outside via the WAN interface 15), the switch unit 14 transfers the packet to the CPU 12. Will be done. When the gateway 10 is updating software and restarting, and the switch unit 14 is in the normal mode, all packets addressed to the CPU 12 are discarded because the connection between the CPU 12 and the switch unit 14 is disconnected.

バージョンアップモードでは、スイッチ部14は、LANインターフェース16,17のいずれかで受信したパケットのうち、CPU12宛てのパケット(この例ではWANインターフェース15を介して外部に送信されるパケット)を、メモリ11に記憶させる。バージョンアップモードの場合、スイッチ部14は、CPU12宛のパケットを全てメモリ11へ格納する。また、スイッチ部14は、CPU12との接続が切れた場合も、CPU12宛のパケットをメモリ11へ格納し続ける。上述した通り、バージョンアップモードは、CPU12宛のパケットに対する処理が通常モードと異なるが、それ以外の動作については通常モードと同じとすることができる。 In the version upgrade mode, the switch unit 14 stores the packet addressed to the CPU 12 (in this example, the packet transmitted to the outside via the WAN interface 15) among the packets received by any of the LAN interfaces 16 and 17 into the memory 11. To memorize. In the version upgrade mode, the switch unit 14 stores all the packets addressed to the CPU 12 in the memory 11. Further, the switch unit 14 continues to store the packet addressed to the CPU 12 in the memory 11 even when the connection with the CPU 12 is cut off. As described above, in the version upgrade mode, the processing for the packet addressed to the CPU 12 is different from the normal mode, but the other operations can be the same as the normal mode.

次に、図5を併せて参照しながら、CPU12の動作例として、本実施形態に係るゲートウェイ10における通信制御方法の一例を説明する。図5は、図4のゲートウェイにおける通信制御方法の一例を説明するためのフロー図である。 Next, an example of the communication control method in the gateway 10 according to the present embodiment will be described as an operation example of the CPU 12 with reference to FIG. FIG. 5 is a flow chart for explaining an example of the communication control method in the gateway of FIG.

CPU12は、通常動作を実行し(ステップS1)、その間、例えば定期的にゲートウェイ10のソフトウェア更新が必要か否かを判定する(ステップS2)。ステップS2でYESの場合、つまりソフトウェア更新が必要な場合、CPU12は、スイッチ部14に対して、動作モードを通常モードからバージョンアップ(VerUp)モードへ変更するよう指示する(ステップS3)。CPU12は、ソフトウェアの更新を、例えばWANインターフェース15等を介して得た更新プログラムなどにより実行(実施)する(ステップS4)。そして、CPU12は、ゲートウェイ10を再起動する(ステップS5)。 The CPU 12 executes a normal operation (step S1), and during that time, for example, periodically determines whether or not software update of the gateway 10 is required (step S2). If YES in step S2, that is, if software update is required, the CPU 12 instructs the switch unit 14 to change the operation mode from the normal mode to the version upgrade (VerUp) mode (step S3). The CPU 12 executes (executes) software updates by, for example, an update program obtained via a WAN interface 15 or the like (step S4). Then, the CPU 12 restarts the gateway 10 (step S5).

CPU12は、ステップS5の後、スイッチ部14に対して、動作モードをバージョンアップモードから通常モードへ変更するよう指示する(ステップS6)。CPU12は、メモリ11からパケットを引き取り(ステップS7)、引き取ったパケットを、WANインターフェース15を介して、ネットワーク上のサーバ2へ転送する(ステップS8)。 After step S5, the CPU 12 instructs the switch unit 14 to change the operation mode from the version upgrade mode to the normal mode (step S6). The CPU 12 picks up a packet from the memory 11 (step S7), and transfers the picked up packet to the server 2 on the network via the WAN interface 15 (step S8).

このような動作により、図3の太線矢印で示すように、ゲートウェイ10はソフトウェアを更新している間、インターネット上のサーバ2へ格納するデバイス情報をゲートウェイ内部のメモリ11に一次保管する。そして、ソフトウェア更新後に、ゲートウェイ10が再起動する間も、メモリ部分の動作を継続して、デバイス情報を格納できるようにする。ソフトウェアの更新が終了した後に、図3の太線矢印で示すように、メモリ11に格納したデバイス情報をサーバ2へ格納することで、ソフトウェア更新及び再起動時に生じるデバイス情報の欠落を防ぐことが可能となる。このように、ゲートウェイ10は、ソフトウェアの更新中及び再起動中でも、デバイス情報を欠落なく、サーバ2へ格納することが可能となる。 As a result of such an operation, as shown by the thick arrow in FIG. 3, the gateway 10 temporarily stores the device information stored in the server 2 on the Internet in the memory 11 inside the gateway while updating the software. Then, after the software update, the operation of the memory portion is continued even while the gateway 10 is restarted so that the device information can be stored. After the software update is completed, as shown by the thick arrow in FIG. 3, by storing the device information stored in the memory 11 in the server 2, it is possible to prevent the device information from being lost when the software is updated and restarted. It becomes. In this way, the gateway 10 can store the device information in the server 2 without missing it even during the software update and restart.

以上に説明した本実施形態に係るゲートウェイ10によれば、ゲートウェイ10のプログラム更新時及び再起動時に、ゲートウェイ10に接続されたデバイス3,4等で得られたデバイス情報を、再起動後にサーバ2に格納することができるようになる。つまり、本実施形態に係るゲートウェイ10によれば、ソフトウェアを更新している間においてもデバイス情報を欠落させることなく、最終的にサーバ2に格納することができる。さらに、本実施形態では、このような効果を得るためにデバイス3,4を特別に改良する必要がなく、デバイス3,4に対して特別な作りこみを要することがない。 According to the gateway 10 according to the present embodiment described above, the device information obtained by the devices 3 and 4 connected to the gateway 10 at the time of program update and restart of the gateway 10 is obtained by the server 2 after the restart. Will be able to store in. That is, according to the gateway 10 according to the present embodiment, the device information can be finally stored in the server 2 without losing the device information even while the software is being updated. Further, in the present embodiment, it is not necessary to specially improve the devices 3 and 4 in order to obtain such an effect, and no special fabrication is required for the devices 3 and 4.

また、以上の説明では、ゲートウェイ10aのソフトウェア更新中及び再起動中について説明したが、それ以外の条件でも、CPU12とスイッチ部14との間が非接続状態になる場合(遮断する場合)に対して、同様の効果が得られる。 Further, in the above description, the software updating and restarting of the gateway 10a has been described, but even under other conditions, the case where the CPU 12 and the switch unit 14 are disconnected (when the switch unit 14 is disconnected) The same effect can be obtained.

<実施形態3>
実施形態3について、図6を併せて参照し、その効果も含めた実施形態2との相違点を中心に説明する。但し、実施形態3は、実施形態1,2で説明した様々な例が適用できる。図6は、実施形態3に係る通信制御システムを備えた通信システムの一構成例を示す図である。
<Embodiment 3>
The third embodiment will be described with reference to FIG. 6, focusing on the differences from the second embodiment including its effects. However, various examples described in the first and second embodiments can be applied to the third embodiment. FIG. 6 is a diagram showing a configuration example of a communication system including the communication control system according to the third embodiment.

本実施形態に係る通信制御システムは、ゲートウェイ10aで例示する通信制御装置と、ローカルサーバ5で例示する他のサーバ装置と、を備える。この通信制御システム、デバイス3,4等のデバイス、及びサーバ2により、本実施形態に係る通信システムを構築することができる。 The communication control system according to the present embodiment includes a communication control device exemplified by the gateway 10a and another server device exemplified by the local server 5. The communication system according to the present embodiment can be constructed by the communication control system, devices such as devices 3 and 4, and the server 2.

ゲートウェイ10aは、図1で示した通信制御装置1においてデバイス情報の一時保管用の記憶部1bを備えず、通信部1cが上述した第1通信部及び第2通信部を備えた通信制御装置の一例である。よって、ゲートウェイ10aは、例えば、図4のゲートウェイ10においてメモリ11を備えないように構成することができる。一時保管用の記憶部1bは、ローカルサーバ5側に備えられており、ここではメモリ51で例示する。 The gateway 10a does not include a storage unit 1b for temporarily storing device information in the communication control device 1 shown in FIG. 1, and the communication unit 1c includes the above-mentioned first communication unit and second communication unit. This is an example. Therefore, the gateway 10a can be configured not to include the memory 11 in the gateway 10 of FIG. 4, for example. The storage unit 1b for temporary storage is provided on the local server 5 side, and is illustrated here by the memory 51.

つまり、ローカルサーバ5は、第1通信部を介してサーバ2に格納するためのデバイス3,4で得られたデバイス情報を、ソフトウェアを更新している間、第2通信部を介して受信し、受信したデバイス情報を一時的に記憶するメモリ51を有することができる。ゲートウェイ10aの制御部(CPU12に相当する部位)は、ソフトウェアを更新して再起動した後、メモリ51に記憶されたデバイス情報を読み出して(引き取り)、サーバ2に第1通信部を介して転送する。 That is, the local server 5 receives the device information obtained by the devices 3 and 4 for storing in the server 2 via the first communication unit via the second communication unit while updating the software. , The memory 51 that temporarily stores the received device information can be provided. The control unit (part corresponding to the CPU 12) of the gateway 10a reads (takes) the device information stored in the memory 51 after updating the software and restarting, and transfers the device information to the server 2 via the first communication unit. To do.

実施形態2ではゲートウェイ10の内部のメモリ11にパケットを一時保管していたが、本実施形態に係る通信制御システムでは、ローカルサーバ5の内部のメモリ51にパケットを一時保管している。本実施形態では実施形態1,2とデバイス情報の保管先が異なるが、本実施形態に係る通信制御システムにおいても、実施形態1,2で説明したような効果と同様の効果を奏する。 In the second embodiment, the packet is temporarily stored in the memory 11 inside the gateway 10, but in the communication control system according to the present embodiment, the packet is temporarily stored in the memory 51 inside the local server 5. In the present embodiment, the storage location of the device information is different from that of the first and second embodiments, but the communication control system according to the present embodiment also has the same effect as that described in the first and second embodiments.

<他の実施形態>
[a]
実施形態1では、図1に示す通信制御装置1の制御部1a、記憶部1b、及び通信部1cの機能について説明したが、通信制御装置1としてこれらの機能が実現できればよい。同様に、実施形態2では、図4に示すゲートウェイ10又はメモリ11を除いた図6のゲートウェイ10a内の各構成要素の機能について説明したが、通信制御装置としてこれらの機能が実現できればよい。
<Other embodiments>
[A]
In the first embodiment, the functions of the control unit 1a, the storage unit 1b, and the communication unit 1c of the communication control device 1 shown in FIG. 1 have been described, but it is sufficient that these functions can be realized as the communication control device 1. Similarly, in the second embodiment, the functions of the respective components in the gateway 10a of FIG. 6 excluding the gateway 10 shown in FIG. 4 or the memory 11 have been described, but it is sufficient if these functions can be realized as a communication control device.

[b]
実施形態1〜3に係る通信制御装置は、次のようなハードウェア構成を有していてもよい。図7は、実施形態1〜3に係る通信制御装置のハードウェア構成の一例を示す図である。なお、上記他の実施形態[a]についても同様である。
[B]
The communication control device according to the first to third embodiments may have the following hardware configuration. FIG. 7 is a diagram showing an example of the hardware configuration of the communication control device according to the first to third embodiments. The same applies to the other embodiment [a].

図7に示す通信制御装置70は、プロセッサ71、メモリ72、メモリ73、及び通信インターフェース(I/F)74を有する。実施形態1〜3で説明した通信制御装置1、ゲートウェイ10,10aの制御部又はそれに相当する部位の機能は、プロセッサ71がメモリ72に記憶されたプログラム(ソフトウェア等)及び制御プログラムを読み込んで実行することにより実現される。このプログラムが実施形態1〜3で説明した更新対象のプログラムに相当し、この制御プログラムが更新時に稼働するプログラムに相当する。この制御プログラムの実行により、プログラム更新時等におけるデバイス情報はメモリ73に一時保管されることになる。なお、プロセッサ71は更新対象のプログラムを実行する部位と上記制御プログラムを実行する部位(例えばスイッチ部14で説明した部分)とで分けておくことができる。また、通信I/F74は、通信部1c又は、WANインターフェース15及びLANインターフェース16,17で例示したものである。 The communication control device 70 shown in FIG. 7 includes a processor 71, a memory 72, a memory 73, and a communication interface (I / F) 74. The functions of the control unit of the communication control device 1, the gateways 10, 10a or the corresponding parts described in the first to third embodiments are executed by the processor 71 reading the program (software or the like) stored in the memory 72 and the control program. It is realized by doing. This program corresponds to the program to be updated described in the first to third embodiments, and corresponds to the program in which this control program operates at the time of update. By executing this control program, the device information at the time of updating the program or the like is temporarily stored in the memory 73. The processor 71 can be divided into a portion for executing the program to be updated and a portion for executing the control program (for example, the portion described with the switch unit 14). Further, the communication I / F 74 is exemplified by the communication unit 1c or the WAN interface 15 and the LAN interfaces 16 and 17.

上記制御プログラムは、通信制御装置における制御部に実行させるための制御プログラムであって、次の記憶ステップ及び転送ステップを実行させるための制御プログラムとすることができる。この記憶ステップは、上記制御部に、上記プログラムを更新している間、デバイス情報を、通信部を介して受信し、受信したデバイス情報を一時的に上記通信制御装置の内部又は外部の記憶部に記憶するステップである。また、上記転送ステップは、上記プログラムを更新して再起動した後、上記記憶部に記憶されたデバイス情報を上記サーバ装置に通信部を介して転送するステップである。なお、その他の例については、上述した様々な実施形態で説明した通りである。 The control program is a control program for being executed by a control unit in a communication control device, and can be a control program for executing the next storage step and transfer step. In this storage step, the device information is received by the control unit via the communication unit while the program is being updated, and the received device information is temporarily stored in the internal or external storage unit of the communication control device. It is a step to memorize in. Further, the transfer step is a step of transferring the device information stored in the storage unit to the server device via the communication unit after updating and restarting the program. Other examples are as described in the various embodiments described above.

上述の例において、制御プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)を含む。さらに、この例は、CD−ROM(Read Only Memory)、CD−R、CD−R/Wを含む。さらに、この例は、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 In the above example, the control program can be stored and supplied to the computer using various types of non-transitory computer readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-temporary computer-readable media include magnetic recording media (eg, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg, magneto-optical disks). Further, this example includes CD-ROM (Read Only Memory), CD-R, CD-R / W. Further, this example includes semiconductor memories (eg, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be supplied to the computer by various types of transient computer readable media. Examples of temporary computer-readable media include electrical, optical, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.

[c]
さらに、上述した様々な実施形態において、通信制御装置又は通信制御システムにおける通信制御方法の手順を例示したように、本開示は、通信制御方法としての形態も採り得る。この通信制御方法は、プログラムを実行する制御部と、サーバ装置及び電子機器と通信する通信部と、を備えた通信制御装置における通信制御方法である。そして、この通信制御方法は、次のような、記憶ステップ及び転送ステップを有する。記憶ステップは、上記プログラムを更新している間、上記通信部を介して上記サーバ装置に格納するための上記電子機器で得られた情報を、上記通信部を介して受信し、受信した上記情報を一時的に上記通信制御装置の内部又は外部の記憶部に記憶する。転送ステップは、上記プログラムを更新して再起動した後、上記記憶部に記憶された上記情報を上記サーバ装置に上記通信部を介して転送する。なお、その他の例については、上述した様々な実施形態で説明した通りである。
[C]
Further, as illustrated in the various embodiments described above, the procedure of the communication control method in the communication control device or the communication control system, the present disclosure may also take the form of the communication control method. This communication control method is a communication control method in a communication control device including a control unit that executes a program and a communication unit that communicates with a server device and an electronic device. Then, this communication control method has the following storage step and transfer step. In the storage step, while updating the program, the information obtained by the electronic device for storing in the server device via the communication unit is received via the communication unit, and the received information is received. Is temporarily stored in the internal or external storage unit of the communication control device. In the transfer step, after updating and restarting the program, the information stored in the storage unit is transferred to the server device via the communication unit. Other examples are as described in the various embodiments described above.

なお、本開示は上記実施形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。また、本開示は、それぞれの実施形態を適宜組み合わせて実施されてもよい。 The present disclosure is not limited to the above embodiment, and can be appropriately modified without departing from the spirit. Further, the present disclosure may be carried out by appropriately combining the respective embodiments.

1、70 通信制御装置
1a 制御部
1b 記憶部
1c 通信部
2 サーバ
3、4 デバイス
5 ローカルサーバ
10 ゲートウェイ
11、51 メモリ
12 CPU
13 ソフトウェア格納部
14 スイッチ部
15 WANインターフェース
16、17 LANインターフェース
51 メモリ
71 プロセッサ
72、73 メモリ
74 通信インターフェース
N インターネット
1,70 Communication control device 1a Control unit 1b Storage unit 1c Communication unit 2 Server 3, 4 Device 5 Local server 10 Gateway 11, 51 Memory 12 CPU
13 Software storage 14 Switch 15 WAN interface 16, 17 LAN interface 51 Memory 71 Processor 72, 73 Memory 74 Communication interface N Internet

Claims (8)

プログラムを実行する制御部と、
サーバ装置及び電子機器と通信する通信部と、
前記通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、一時的に記憶する記憶部と、
を備え、
前記記憶部は、前記プログラムを更新している間、前記通信部を介して前記情報を受信し、受信した前記情報を記憶し、
前記制御部は、前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記通信部を介して転送する、
通信制御装置。
The control unit that executes the program and
Communication unit that communicates with server devices and electronic devices,
A storage unit that temporarily stores information obtained by the electronic device for storing in the server device via the communication unit, and a storage unit.
With
While updating the program, the storage unit receives the information via the communication unit, stores the received information, and stores the received information.
After updating and restarting the program, the control unit transfers the information stored in the storage unit to the server device via the communication unit.
Communication control device.
前記通信部は、前記サーバ装置にネットワークを介して接続するための第1通信部と、前記電子機器に他のネットワークを介して接続するための第2通信部と、を有し、
前記通信制御装置は、前記プログラムを更新している間、前記制御部と前記第2通信部との間を接続状態から非接続状態に切り替えるスイッチ部をさらに備えた、
請求項1に記載の通信制御装置。
The communication unit has a first communication unit for connecting to the server device via a network and a second communication unit for connecting to the electronic device via another network.
The communication control device further includes a switch unit that switches between the control unit and the second communication unit from a connected state to a disconnected state while updating the program.
The communication control device according to claim 1.
前記制御部は、
前記プログラムの更新を開始する際に、前記スイッチ部を、前記制御部側に送信されるべきパケットを前記制御部側に転送する通常モードから、前記制御部側に送信されるべきパケットを前記記憶部に転送する更新モードへ移行させ、
前記プログラムの更新を終えて再起動された後に、前記スイッチ部を前記更新モードから前記通常モードへ戻す、
請求項2に記載の通信制御装置。
The control unit
When the update of the program is started, the switch unit stores the packet to be transmitted to the control unit side from the normal mode in which the packet to be transmitted to the control unit side is transferred to the control unit side. Move to the update mode to transfer to the department,
After the program has been updated and restarted, the switch unit is returned from the update mode to the normal mode.
The communication control device according to claim 2.
請求項1から3のいずれか1項に記載の通信制御装置と、
前記電子機器と、
前記サーバ装置と、
を備えた、通信システム。
The communication control device according to any one of claims 1 to 3.
With the electronic device
With the server device
A communication system equipped with.
プログラムを実行する制御部と、サーバ装置にネットワークを介して接続するための第1通信部と、他のサーバ装置及び電子機器に他のネットワークを介して接続するための第2通信部と、を備えた通信制御装置と、
前記他のサーバ装置と、
を備え、
前記他のサーバ装置は、前記第1通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、前記プログラムを更新している間、前記第2通信部を介して受信し、受信した前記情報を一時的に記憶する記憶部を有し、
前記制御部は、前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記第1通信部を介して転送する、
通信制御システム。
A control unit that executes a program, a first communication unit for connecting to a server device via a network, and a second communication unit for connecting to another server device and an electronic device via another network. With a communication control device
With the other server device
With
The other server device uses the second communication unit to update the information obtained by the electronic device for storing in the server device via the first communication unit while updating the program. It has a storage unit that receives and temporarily stores the received information.
After updating and restarting the program, the control unit transfers the information stored in the storage unit to the server device via the first communication unit.
Communication control system.
請求項5に記載の通信制御システムと、
前記電子機器と、
前記サーバ装置と、
を備えた、通信システム。
The communication control system according to claim 5 and
With the electronic device
With the server device
A communication system equipped with.
プログラムを実行する制御部と、サーバ装置及び電子機器と通信する通信部と、を備えた通信制御装置における通信制御方法であって、
前記プログラムを更新している間、前記通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、前記通信部を介して受信し、受信した前記情報を一時的に前記通信制御装置の内部又は外部の記憶部に記憶するステップと、
前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記通信部を介して転送するステップと、
を有する、
通信制御方法。
A communication control method in a communication control device including a control unit that executes a program and a communication unit that communicates with a server device and an electronic device.
While updating the program, the information obtained by the electronic device for storing in the server device via the communication unit is received via the communication unit, and the received information is temporarily received. A step of storing in an internal or external storage unit of the communication control device, and
A step of transferring the information stored in the storage unit to the server device via the communication unit after updating and restarting the program.
Have,
Communication control method.
プログラムを実行する制御部と、サーバ装置及び電子機器と通信する通信部と、を備えた通信制御装置における前記制御部に実行させるための制御プログラムであって、
前記制御部に、
前記プログラムを更新している間、前記通信部を介して前記サーバ装置に格納するための前記電子機器で得られた情報を、前記通信部を介して受信し、受信した前記情報を一時的に前記通信制御装置の内部又は外部の記憶部に記憶するステップと、
前記プログラムを更新して再起動した後、前記記憶部に記憶された前記情報を前記サーバ装置に前記通信部を介して転送するステップと、
を実行させるための制御プログラム。
A control program for being executed by the control unit in a communication control device including a control unit for executing a program and a communication unit for communicating with a server device and an electronic device.
In the control unit
While updating the program, the information obtained by the electronic device for storing in the server device via the communication unit is received via the communication unit, and the received information is temporarily received. A step of storing in an internal or external storage unit of the communication control device, and
A step of transferring the information stored in the storage unit to the server device via the communication unit after updating and restarting the program.
A control program for executing.
JP2018136546A 2018-07-20 2018-07-20 Communication control device, communication control system, communication system, communication control method, and control program Active JP6835414B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018136546A JP6835414B2 (en) 2018-07-20 2018-07-20 Communication control device, communication control system, communication system, communication control method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018136546A JP6835414B2 (en) 2018-07-20 2018-07-20 Communication control device, communication control system, communication system, communication control method, and control program

Publications (2)

Publication Number Publication Date
JP2020013441A JP2020013441A (en) 2020-01-23
JP6835414B2 true JP6835414B2 (en) 2021-02-24

Family

ID=69170000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018136546A Active JP6835414B2 (en) 2018-07-20 2018-07-20 Communication control device, communication control system, communication system, communication control method, and control program

Country Status (1)

Country Link
JP (1) JP6835414B2 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06311199A (en) * 1993-04-26 1994-11-04 Nippon Telegr & Teleph Corp <Ntt> Uninterrupted communication control software changing method
JP2007219571A (en) * 2006-02-14 2007-08-30 Hitachi Ltd Storage controller and storage system
JP4486609B2 (en) * 2006-03-31 2010-06-23 富士通株式会社 Storage device, storage control firmware active program replacement method for storage device, and storage control firmware active program replacement program
JP5871644B2 (en) * 2012-02-07 2016-03-01 株式会社Nttファシリティーズ RESTART CONTROL SYSTEM, RESTART CONTROL METHOD, AND PROGRAM
JP5612012B2 (en) * 2012-03-27 2014-10-22 株式会社日立製作所 Information processing system and processing method thereof
JP2014178893A (en) * 2013-03-14 2014-09-25 Ricoh Co Ltd Cooperation processor, program and software updating method
JP2015079321A (en) * 2013-10-16 2015-04-23 三菱電機株式会社 Software upgrade method
JP5914616B1 (en) * 2014-10-23 2016-05-11 西日本電信電話株式会社 Network system, firmware update method, station side termination device, and subscriber side termination device
JP2018005457A (en) * 2016-06-30 2018-01-11 日本電気株式会社 Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP2020013441A (en) 2020-01-23

Similar Documents

Publication Publication Date Title
JP5915454B2 (en) Network system
KR101099822B1 (en) Redundant routing capabilities for a network node cluster
US9401958B2 (en) Method, apparatus, and system for migrating user service
JP6388955B2 (en) Graceful restart processing method of OpenFlow switch and OpenFlow controller
US20090213862A1 (en) Method and system for migrating a peer in a distributed bgp system
JPWO2010123140A1 (en) Packet communication system, packet communication apparatus, packet communication method, and computer-readable recording medium recording packet communication program
JP2015523747A (en) Computer system, communication control server, communication control method and program
JP6835414B2 (en) Communication control device, communication control system, communication system, communication control method, and control program
JP6951014B2 (en) Communication control devices, communication systems, communication control methods, and programs
US8837506B2 (en) Data transfer device
KR101650691B1 (en) Method and apparatus for operating distributed controllers of software defined network
JP5941442B2 (en) Virtual host live migration method and network device
CN109412943B (en) SDN controller cluster flow processing method, device, equipment and storage medium
CN109995678B (en) Message transmission method and device
JP6953713B2 (en) Communication nodes, communication systems, communication methods and programs
JP2013229924A (en) Virtual network system, configuration change method, tunnel termination device, tunnel connection device, and program
JP6741256B2 (en) Communication relay device, wireless communication system, communication relay device control method, and control program
KR101628219B1 (en) Method and apparatus for operating controller of software defined network
CA2781932A1 (en) Relay device
JP6311265B2 (en) Communication relay device, communication relay system, relay definition information update method, and update program
CN114338505B (en) Route calculation method, device, storage medium and computer equipment
JP2006005611A (en) Non-interrupt switching device in stp
WO2021259171A1 (en) Operation state switching method and device, master/standby management system, and network system
JP2018201113A (en) Information processor, method for processing information, and information processing program
JP2017022579A (en) Communication system, communication node and substitution processing method for communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210128

R150 Certificate of patent or registration of utility model

Ref document number: 6835414

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150