JP4381788B2 - Adapter device, program, and recording medium storing the program - Google Patents

Adapter device, program, and recording medium storing the program Download PDF

Info

Publication number
JP4381788B2
JP4381788B2 JP2003401641A JP2003401641A JP4381788B2 JP 4381788 B2 JP4381788 B2 JP 4381788B2 JP 2003401641 A JP2003401641 A JP 2003401641A JP 2003401641 A JP2003401641 A JP 2003401641A JP 4381788 B2 JP4381788 B2 JP 4381788B2
Authority
JP
Japan
Prior art keywords
input
output terminal
adapter device
software
restart
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.)
Expired - Fee Related
Application number
JP2003401641A
Other languages
Japanese (ja)
Other versions
JP2005165535A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2003401641A priority Critical patent/JP4381788B2/en
Publication of JP2005165535A publication Critical patent/JP2005165535A/en
Application granted granted Critical
Publication of JP4381788B2 publication Critical patent/JP4381788B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、電話回線やディジタル回線などに収容されることが可能であって、電話機やその他の端末を収容することが可能であるアダプタ装置に関し、特に、そのアダプタ装置を機能させるためのソフトウェアを外部ネットワークからダウンロードして自動的にバージョンアップすることが可能なアダプタ装置に関する。 The present invention relates to an adapter device that can be accommodated in a telephone line, a digital line, etc., and can accommodate a telephone or other terminal, and in particular, software for causing the adapter device to function. The present invention relates to an adapter device that can be downloaded from an external network and automatically upgraded.

電話回線やディジタル回線などのネットワーク(網)回線に収容可能でありそのネットワークに電話機やPC(パーソナルコンピュータ)などを接続するために用いられるアダプタ装置としては、例えば、アナログ電話回線用のモデムやISDN回線用のターミナルアダプタが挙げられ、さらには、そのようなネットワーク回線に接続する機能を有するルータなどが挙げられる。こうしたアダプタ装置は、インターネットなどへのネットワークへの接続の要求が高まるにつれて、広く利用されるようになってきた。   As an adapter device that can be accommodated in a network line such as a telephone line or a digital line and is used for connecting a telephone or a PC (personal computer) to the network, for example, a modem for an analog telephone line or an ISDN is used. Examples thereof include a terminal adapter for a line, and a router having a function of connecting to such a network line. Such adapter devices have become widely used as demand for connection to a network such as the Internet increases.

古くはこのようなアダプタ装置は、大量の個別の電子部品を使用しハードウェアだけの動作で実現されていた。近年では、アダプタ装置は、マイクロプロセッサなどを内蔵し、いわゆるファームウェアと呼ばれるソフトウェアや、その他のアプリケーションソフトウェアなどによって、その機能が決定され、動作が制御されるようになってきた。   In the old days, such an adapter device has been realized by the operation of only hardware using a large number of individual electronic components. In recent years, an adapter device has a built-in microprocessor and the like, and its function is determined and controlled by software called so-called firmware and other application software.

以下の説明においては、電話回線やディジタル回線などのネットワーク回線を収容可能な装置のことをアダプタ装置と称する。また、電話機やパーソナルコンピュータなど、アダプタ装置に接続されるユーザインタフェースを有する装置を総じて入出力端末と称し、アダプタ装置において入出力端末を接続することが可能なインタフェースを入出力端末接続インタフェースと称し、アダプタ装置に内蔵されたファームウェアやアプリケーションなどのソフトウェアやプログラムを総じてソフトウェアと称し、アダプタ装置の利用者をユーザと称する。さらに、装置の電源を一度切断した後に起動する動作や、装置の電源は切断せずに起動しているソフトウェアを一旦停止させて別のソフトウェアに入れ替えて再度ソフトウェアを起動する動作を総じて再起動と称する。   In the following description, a device that can accommodate a network line such as a telephone line or a digital line is referred to as an adapter device. Further, a device having a user interface connected to an adapter device such as a telephone or a personal computer is generally referred to as an input / output terminal, and an interface capable of connecting the input / output terminal in the adapter device is referred to as an input / output terminal connection interface. Software and programs such as firmware and applications built in the adapter device are generally referred to as software, and a user of the adapter device is referred to as a user. In addition, the operation that starts after the device is turned off once, and the operation that starts the software without stopping the device power and temporarily replaces it with another software and starts the software again are generally restarted. Called.

上述したようにアダプタ装置は、一般にソフトウェアによってその機能が規定され動作が制御されるものであるが、新機能の導入、ネットワーク回線側での仕様変更への対応、バグフィックスなどを目的として、アダプタ装置のソフトウェアのバージョンアップを実施する場合がある。アダプタ装置がソフトウェアのバージョンアップを実施する場合、アダプタ装置の全体の再起動を必要とする例が多々ある。すなわち、単にバージョンアップデータをアダプタ装置内の不揮発性メモリ(記憶装置)などに格納しただけではバージョンアップが完結したことにはならず、その後、アダプタ装置を再起動してバージョンアップ後のソフトウェアに基づいてアダプタ装置が新規に動作を開始するようにする必要が生じることが多い。この際、アダプタ装置が一切処理を行っていないタイミングやユーザがアダプタ装置を利用していないタイミングで再起動が実行されれば、問題なくアダプタ装置の再起動が実行できる。しかしながら、アダプタ装置が利用されている状態かどうかを判定することはできるものの、ユーザが通信を開始しようとした場合にアダプタ装置の再起動が実行されていると、ユーザの通信を確立することができないといった事象が発生してしまう。   As described above, the adapter device is generally one whose functions are defined and controlled by software, but for the purpose of introducing new functions, responding to changes in specifications on the network line side, bug fixes, etc. There is a case where the software version of the apparatus is upgraded. When the adapter device performs software upgrade, there are many examples that require the entire adapter device to be restarted. That is, simply storing the upgrade data in a nonvolatile memory (storage device) in the adapter device does not mean that the upgrade is complete, and then restarting the adapter device and based on the software after the upgrade. In many cases, the adapter device needs to start a new operation. At this time, if the restart is executed at a timing when the adapter device is not performing any processing or when the user is not using the adapter device, the adapter device can be restarted without any problem. However, although it can be determined whether or not the adapter device is being used, if the user tries to start communication and the adapter device is restarted, the user's communication may be established. An event that cannot be done occurs.

そこで、従来の技術では、再起動のタイミングをユーザからの操作や指示によって実行させたり、予め設定された深夜などの決まった時刻にアダプタ装置の再実行を実行させたりするなどしていた。しかしながら、前者の手法は、ユーザの操作を介することが必要であって、完全に自動的なソフトウェアのバージョンアップを実現することができないといった問題を有する。また後者の手法は、例えばユーザの生活時間帯を仮定して再起動の時刻を設定しているが、必ずしもその設定された時刻がユーザがアダプタ装置を使って通信を開始する可能性が低い時間帯であるとは限らない、といった問題を有する。   Therefore, in the conventional technology, the restart timing is executed by an operation or an instruction from the user, or the adapter device is re-executed at a predetermined time such as midnight set in advance. However, the former method requires a user's operation and has a problem that it is not possible to realize a fully automatic software upgrade. In the latter method, for example, the restart time is set assuming the user's life time zone, but the set time is not necessarily a time when the user is likely to start communication using the adapter device. There is a problem that it is not necessarily a belt.

なお、アプリケーションやシステムの再起動に関するものとしては、以下のような先行技術が知られている。特開平6−202861号公報(特許文献1)には、システム再起動時の終了処理時に、異常終了か否かを判別し、システムの立ち上げに支障がないかどうかのフラグを制御することによって、電源再投入時の再起動の是非を自動的に判別することが開示されている。特開平8−286779号公報(特許文献2)には、マルチタスクアプリケーションを前提として、アプリケーションの終了および起動と、システム全体の終了および起動を別プロセスで実行することによって、異常終了か否かを判別して、システムを自動再起動する手順を円滑に実行できるようにすることが開示されている。特開2000−207070号公報には、停電後の復電関知をトリガーにしてシステムを起動する再起動方法が開示されている。
特開平6−202861 特開平8−286779 特開2000−207080
The following prior arts are known as related to restarting applications and systems. Japanese Patent Laid-Open No. 6-202861 (Patent Document 1) determines whether or not an abnormal termination has occurred during termination processing at the time of system restart, and controls a flag indicating whether or not there is any problem in starting up the system. It is disclosed to automatically determine whether or not to restart when power is turned on again. In Japanese Patent Laid-Open No. 8-286679 (Patent Document 2), on the premise of a multitasking application, whether or not an abnormal termination occurs by executing the termination and activation of the application and the termination and activation of the entire system in separate processes. It is disclosed that it is possible to smoothly execute the procedure of determining and automatically restarting the system. Japanese Laid-Open Patent Publication No. 2000-207070 discloses a restart method for starting a system with a power recovery function after a power failure as a trigger.
JP-A-6-202861 Japanese Patent Laid-Open No. 8-286679 JP 2000-207080 A

上述したように、アダプタ装置におけるソフトウェアのバージョンアップに関し、それを自動的に実行するとともに、ユーザによるアダプタ装置の使用を制限することなくバージョンアップ後のアダプタ装置の自動再起動を実現する方法がないのが現状である。   As described above, there is no method of automatically executing the software upgrade in the adapter device and realizing automatic restart of the adapter device after the upgrade without restricting the use of the adapter device by the user. is the current situation.

そこで本発明の目的は、ユーザによるアダプタ装置の使用を阻害することなくアダプタ装置のソフトウェアのバージョンアップを行うことができるソフトウェアバージョンアップ方法を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a software upgrade method that can upgrade the software of an adapter device without hindering the user from using the adapter device.

本発明の別の目的は、ユーザの操作や指示を必要とせずに、アダプタ装置を再起動すべきかどうかを判別して自動再起動を可能にするソフトウェアバージョンアップ方法を提供することにある。   Another object of the present invention is to provide a software version upgrade method that enables automatic restart by determining whether or not an adapter device should be restarted without requiring user operation or instructions.

本発明のさらに別の目的は、上述したソフトウェアバージョンアップ方法に基づいてソフトウェアのバージョンアップを行うことができるアダプタ装置を提供することにある。   Still another object of the present invention is to provide an adapter device capable of performing software upgrade based on the above-described software upgrade method.

本発明のアダプタ装置は、ネットワーク回線に接続可能であるとともに入出力端末を接続し、ソフトウェアによって動作が制御されて入出力端末をネットワーク回線に接続するために用いられるアダプタ装置であって、新しいバージョンのソフトウェアをネットワーク回線から取得しソフトウェアのバージョンアップを実行するバージョンアップ手段と、新しいバージョンのソフトウェアの取得後に、アダプタ装置内に設けられた再起動可能判定フラグを参照し、再起動可能判定フラグの値に基づいて再起動の可否を判定し、再起動が可と判定された場合にアダプタ装置を自動的に再起動する再起動制御手段と、入出力端末が接続される入出力端末接続インタフェースへの接続の有無を監視し、入出力端末が1つでも入出力端末接続インタフェースに接続されていれば再起動可能判定フラグを再起動不可に設定し、入出力端末が1つも入出力端末接続インタフェースに接続されていなければ再起動可能判定フラグを再起動可に設定するフラグ設定手段と、を有する。
An adapter device according to the present invention is an adapter device that can be connected to a network line, connects an input / output terminal, is controlled by software, and is used to connect the input / output terminal to the network line. The version upgrade means for acquiring the software from the network line and executing the software upgrade, and after obtaining the new version of the software, refer to the restartability determination flag provided in the adapter device, and To the input / output terminal connection interface to which the input / output terminal is connected, and restart control means for automatically restarting the adapter device when it is determined that restart is possible based on the value The presence or absence of the connection of the input / output terminal is monitored. If no input / output terminal is connected to the input / output terminal connection interface, the restartability determination flag is set to restartable. Flag setting means.

本発明では、アダプタ装置内部に再起動可能判定フラグを保持し、アダプタ装置のユーザの利用履歴や入出力端末接続インタフェースへの機器接続状況等からこのフラグを操作することで、アダプタ装置の再起動を含めた自動的なバージョンアップを実行し、その際のユーザの装置利用への影響を軽減する。すなわち本発明は、システムとしての継続利用に支障がないときに、機能追加時等のファームウェアバージョンアップなどを再起動を伴って実行したい場合に、ユーザのシステム利用に可能な限り障害を与えないタイミングで再起動を実行するものである。   In the present invention, a determination flag for restartability is held inside the adapter device, and the adapter device is restarted by operating this flag based on the usage history of the user of the adapter device or the device connection status to the input / output terminal connection interface, etc. Automatic version upgrade is performed, and the influence on the user's use of the device at that time is reduced. In other words, the present invention provides a timing that does not cause as much trouble as possible to the user's system use when it is desired to execute firmware upgrades when adding functions or the like with restart when there is no problem in continuous use as a system. To restart.

本発明は、アダプタ装置に搭載されたソフトウェアのバージョンアップにおいて、再起動可能判定フラグを活用し、アダプタ装置およびその周辺端末についての各種の情報に基づいてそのフラグを操作することで、再起動を伴う自動的なソフトウェアバージョンアップの実行によるユーザのアダプタ装置利用への影響を軽減することが可能となる、という効果がある。   The present invention utilizes a restartable determination flag in version upgrade of software installed in an adapter device, and operates the flag based on various types of information about the adapter device and its peripheral terminals to restart the software. Accordingly, there is an effect that it is possible to reduce the influence on the use of the adapter device by the user due to the execution of the accompanying automatic software version upgrade.

次に、本発明の好ましい実施の形態について、図面を参照して説明する。図1は、アダプタ装置の構成を示すブロック図であり、アダプタ装置と入出力端末との関係も示している。   Next, a preferred embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the adapter device, and also shows the relationship between the adapter device and the input / output terminal.

アダプタ装置1は、電話回線網などのネットワーク回線2に接続しており、入出力端末を接続するための複数の入出力端末接続インタフェース(I/F)4,5を備えている。図示したものでは、入出力端末接続インタフェース4には、電話機6が入出力端末として接続されており、入出力端末接続インタフェース5には、パーソナルコンピュータ(PC)7が入出力端末として接続されている。電話機6には、不在通知用のいわゆる「留守ボタン」が設けられている。このアダプタ装置1は、内蔵したファームウェアやアプリケーションなどのソフトウェアの新しいバージョンを自動的に取得できるように構成されている。   The adapter device 1 is connected to a network line 2 such as a telephone line network, and includes a plurality of input / output terminal connection interfaces (I / F) 4 and 5 for connecting input / output terminals. In the illustrated example, a telephone 6 is connected to the input / output terminal connection interface 4 as an input / output terminal, and a personal computer (PC) 7 is connected to the input / output terminal connection interface 5 as an input / output terminal. . The telephone 6 is provided with a so-called “answering button” for absence notification. The adapter device 1 is configured to automatically acquire a new version of software such as built-in firmware or application.

さらにこのアダプタ装置1には、アダプタ装置全体の制御を行う制御部10と、アダプタ装置1の機能を規定し動作を制御するファームウェアなどのソフトウェアが格納される記憶部11と、記憶部11に記憶されるソフトウェアのバージョンアップを行うバージョンアップ部12と、バージョンアップ後のアダプタ装置1の再起動を制御する再起動制御部14と、再起動制御部14に付属し、再起動可能判定フラグを保持するフラグ記憶部15と、再起動可能判定フラグを操作するフラグ設定部16と、を備えている。制御部10は、記憶部11に格納されたソフトウェアに応じて、アダプタ装置1の動作を制御するようになっている。また、バージョンアップ部12は、ネットワーク回線2からバージョンアップデータを得て、記憶部11内のソフトウェアをバージョンアップするように構成されている。もっとも、バージョンアップデータは、例えば、パーソナルコンピュータ7からバージョンアップ部12に与えられるようにしてもよい。   Further, the adapter device 1 includes a control unit 10 that controls the entire adapter device, a storage unit 11 that stores software such as firmware that defines the functions of the adapter device 1 and controls operations, and stores in the storage unit 11. The upgrade unit 12 that upgrades the software to be upgraded, the restart control unit 14 that controls the restart of the adapter device 1 after the upgrade, and the restart control unit 14 that retains a restartable determination flag And a flag setting unit 16 for operating a restartable determination flag. The control unit 10 controls the operation of the adapter device 1 in accordance with software stored in the storage unit 11. The version upgrade unit 12 is configured to obtain version upgrade data from the network line 2 and upgrade the software in the storage unit 11. However, the upgrade data may be given from the personal computer 7 to the upgrade unit 12, for example.

以下、このようなアダプタ装置におけるソフトウェアバージョンアップについて、さらに詳しく説明する。   Hereinafter, the software version upgrade in such an adapter device will be described in more detail.

図2は、本発明の実施の一形態における処理の流れを説明するフローチャートである。本実施形態では、再起動制御部14は、フラグ記憶部15に記憶された再起動可能判定フラグの値に応じてアダプタ装置1の再起動の動作を実行する。すなわち本実施形態は、再起動可能判定フラグを用いた再起動可能判定によるバージョンアップ方法と、このフラグの操作及び検知に基づく早急なバージョンアップの実行と、に関するものである。   FIG. 2 is a flowchart for explaining the flow of processing in one embodiment of the present invention. In the present embodiment, the restart control unit 14 executes the restart operation of the adapter device 1 according to the value of the restart possibility determination flag stored in the flag storage unit 15. That is, the present embodiment relates to a version upgrade method based on a restartability determination using a restartability determination flag, and an immediate version upgrade based on the operation and detection of this flag.

再起動可能判定フラグは、通常時には“FALSE(偽)”に設定されるものであるとともに、後述するような各条件が満たされた場合にフラグ設定部16によって“TRUE(真)”に操作されるものである。再起動制御部14は、アダプタ装置1の再起動が必要な状況にあってかつ再起動可能判定フラグが“TRUE”であれば、再起動の処理を実行する。   The restartable determination flag is normally set to “FALSE (false)”, and is operated to “TRUE (true)” by the flag setting unit 16 when each condition described later is satisfied. Is. The restart control unit 14 executes restart processing when the adapter device 1 needs to be restarted and the restart enable determination flag is “TRUE”.

まず、バージョンアップ部12による新バージョンソフトウェアの取得と記憶部11への格納が完了すると(ステップ201)、再起動制御部14は、そのソフトウェアバージョンアップがアダプタ装置1の全体の再起動を必要とするものかどうかを判断する(ステップ202)。再起動が必要ないと判断された場合には、ステップ207に移行し、そのままバージョンアップの処理は終了する。これに対しステップ202において、全体の再起動が必要である、と判断された場合には、ステップ203において、再起動制御部14は、再起動可能判定フラグの値をチェックし、それが“TRUE”であれば、再起動を実行し(ステップ206)、その後、ステップ207に移行してバージョンアップ処理は終了となる。なお、ステップ206において再起動を実行する際には、再起動対象のアダプタ装置1において回線が空き状態であるなどの、実行待機状態であることを確認する必要がある。ステップ203において再起動可能判定フラグが“FALSE”であれば、ステップ204に移行し、再起動可能判定フラグの監視を実施し、その後、フラグの状態に変化を検知した際(ステップ205)には、ステップ203へ移行し、再びフラグのチェックを実行する。この動作を繰り返すことで、早急な再起動によるバージョンアップ完了を可能とする。   First, when the acquisition of the new version software by the version upgrade unit 12 and the storage to the storage unit 11 are completed (step 201), the restart control unit 14 requires that the entire adapter device 1 be restarted for the software upgrade. It is determined whether or not to perform (step 202). If it is determined that restart is not necessary, the process proceeds to step 207, and the version upgrade process is terminated. On the other hand, if it is determined in step 202 that the entire restart is necessary, in step 203, the restart control unit 14 checks the value of the restart possible determination flag, which is “TRUE”. If ", restart is executed (step 206), and then the process proceeds to step 207, where the version upgrade process ends. When executing the restart in step 206, it is necessary to confirm that the adapter device 1 to be restarted is in an execution standby state such as an empty line. If the restart possibility determination flag is “FALSE” in step 203, the process proceeds to step 204, and the restart possibility determination flag is monitored. Thereafter, when a change in the flag state is detected (step 205). Then, the process proceeds to step 203 and the flag is checked again. By repeating this operation, it is possible to complete the upgrade by quick restart.

以下、再起動可能判定フラグの設定条件について説明する。   Hereinafter, the setting conditions of the restartable determination flag will be described.

《設定例1》
ここではアダプタ装置1の入出力端末接続インタフェース4,5への入出力端末の接続状態に応じて、再起動可能判定フラグが“TRUE”に設定されるようにしたものである。図3は、この設定例1でのフラグ設定の処理を示すフローチャートである。すなわちこの設定例では、アダプタ装置1の入出力端末接続インタフェース4,5への配線の接続の有無を監視し、その情報によって再起動可能判定フラグが操作されるようにしている。
<< Setting Example 1 >>
Here, the restartability determination flag is set to “TRUE” in accordance with the connection state of the input / output terminal to the input / output terminal connection interfaces 4 and 5 of the adapter device 1. FIG. 3 is a flowchart showing the flag setting process in setting example 1. That is, in this setting example, the presence / absence of connection of the wiring to the input / output terminal connection interfaces 4 and 5 of the adapter device 1 is monitored, and the restartability determination flag is operated by the information.

まず、ステップ301においてアダプタ装置1が起動すると、フラグ設定部16は、入出力端末接続インタフェース4,5での配線接続状態を確認する(ステップ302)。複数の入出力端末接続インタフェースのうち1つでもそこに接続する端末があるかどうかを判別し(ステップ303)、そのような接続端末がある場合には、ステップ304において再起動可能判定フラグを“FALSE”に設定し、どの入出力端末接続インタフェースにも端末が接続していない場合には、ステップ303において再起動可能判定フラグを“TRUE”に設定する。その後、ステップ305において、フラグ設定部16は、入出力端末接続インタフェース4,5の接続状態を監視し、入出力端末接続インタフェースの接続状態に変化を検知した場合(ステップ306)、ステップ302に戻って、配線接続状態の確認を再度実行する。   First, when the adapter device 1 is activated in step 301, the flag setting unit 16 confirms the wiring connection state in the input / output terminal connection interfaces 4 and 5 (step 302). It is determined whether or not there is a terminal connected to any one of the plurality of input / output terminal connection interfaces (step 303). If there is such a connection terminal, a restartable determination flag is set to “ If it is set to “FALSE” and no terminal is connected to any input / output terminal connection interface, the restart enable determination flag is set to “TRUE” in step 303. Thereafter, in step 305, the flag setting unit 16 monitors the connection state of the input / output terminal connection interfaces 4 and 5, and if a change is detected in the connection state of the input / output terminal connection interface (step 306), the process returns to step 302. Then, check the wiring connection status again.

このようにして再起動可能判定フラグが設定されると、上述の図2に示した手順により、再起動可能判定フラグの操作検知によって処理が実行されることで、自動的な再起動実行によるソフトウェアバージョンアップが実現される。   When the restartable determination flag is set in this way, the process is executed by detecting the operation of the restartable determination flag according to the procedure shown in FIG. Version upgrade is realized.

《設定例2》
ここでは、アダプタ装置1の入出力端末接続インタフェース4,5に接続された入出力端末からのイベント信号によって、再起動可能判定フラグの操作が行われる例を説明する。図4は、この設定例2でのフラグ設定の処理を示すフローチャートである。すなわちこの設定例では、フラグ設定部16は、アダプタ装置1の入出力端末接続インタフェース4に接続された入出力端末(電話機6)に設置された留守ボタンのオン(ON)/オフ(OFF)情報を取得し、その情報によって再起動可能判定フラグを操作する。
<< Setting example 2 >>
Here, an example in which the restartable determination flag is operated by an event signal from an input / output terminal connected to the input / output terminal connection interfaces 4 and 5 of the adapter device 1 will be described. FIG. 4 is a flowchart showing the flag setting process in setting example 2. In other words, in this setting example, the flag setting unit 16 turns on / off information of the answering button installed in the input / output terminal (telephone 6) connected to the input / output terminal connection interface 4 of the adapter device 1. And the restartable determination flag is operated according to the information.

まず、ステップ401においてアダプタ装置1が起動すると、フラグ設定部16は、初期設定値として再起動可能判定フラグを“FALSE”に設定し(ステップ402)、アダプタ装置1に接続された入出力端末からのイベント信号の入力を待機する(ステップ403)。ここで、例えば入出力端末である電話機6からの留守ボタン押下などのイベント信号が通知された場合(ステップ404)、フラグ設定部16は、ステップ405において、通知されたイベント信号の内容をチェックし、再起動可能判定フラグを“TRUE”に設定しても構わない状態に遷移したかどうかを判断する。再起動可能判定フラグを“TRUE”に設定しても構わない状態に遷移したと判断した場合には、ステップ407において再起動可能判定フラグを“TRUE”に設定し、それに対して“TRUE”へ設定できない状態に遷移したと判断した場合には、ステップ406において、再起動可能判定フラグを“FALSE”に設定する。その後、ステップ403に戻って、以上の処理を繰り返す。   First, when the adapter device 1 is activated in step 401, the flag setting unit 16 sets a restartable determination flag as “FALSE” as an initial setting value (step 402), and from the input / output terminal connected to the adapter device 1 The input of the event signal is awaited (step 403). Here, for example, when an event signal such as an answering button press from the telephone 6 that is an input / output terminal is notified (step 404), the flag setting unit 16 checks the content of the notified event signal in step 405. Then, it is determined whether or not the restartable determination flag is set to “TRUE”. If it is determined that the restartable determination flag is set to “TRUE”, the restartable determination flag is set to “TRUE” in step 407, and to “TRUE”. If it is determined that the state has changed to a state where it cannot be set, in step 406, the restart enable determination flag is set to “FALSE”. Thereafter, the process returns to step 403 and the above processing is repeated.

このようにして再起動可能判定フラグが設定されると、上述の図2に示した手順により、再起動可能判定フラグの操作検知によって処理が実行されることで、自動的な再起動実行によるソフトウェアバージョンアップが実現される。   When the restartable determination flag is set in this way, the process is executed by detecting the operation of the restartable determination flag according to the procedure shown in FIG. Version upgrade is realized.

《設定例3》
ここでは、アダプタ装置1についての入出力端末の利用履歴を監視することによってアダプタ装置1の利用が少ない時間帯を抽出し、抽出された時間帯データによって再起動可能判定フラグの操作が行われる例を説明する。図5は、この設定例3でのフラグ設定の処理を示すフローチャートである。すなわちこの設定例では、フラグ設定部16は、入出力端末1の利用履歴を格納するテーブル(すなわち表19)を常時参照し、その利用履歴からアダプタ装置1が最も利用されていない時間帯を選択し、その時間帯に再起動可能判定フラグを操作する。
<< Setting example 3 >>
In this example, the usage history of the input / output terminal for the adapter device 1 is monitored to extract a time zone in which the adapter device 1 is less used, and the restartable determination flag is operated based on the extracted time zone data. Will be explained. FIG. 5 is a flowchart showing a flag setting process in setting example 3. In other words, in this setting example, the flag setting unit 16 always refers to the table storing the usage history of the input / output terminal 1 (ie, Table 19), and selects the time zone when the adapter device 1 is not used most from the usage history. Then, the restartable determination flag is operated during that time period.

まず、ステップ501においてアダプタ装置1が起動すると、フラグ設定部16は、初期設定値として再起動可能判定フラグを“FALSE”に設定し(ステップ502)、ステップ503において、入出力端末によるアダプタ装置1の利用履歴をフラグ設定部16内に記録する。そしてフラグ設定部16は、ステップ503において記録された利用履歴に基づいて、ステップ504において、利用履歴のチェックを実行する。この際、フラグ設定部16は、利用の少ない曜日と時間帯の組み合わせ等を抽出し、表19のような形態で保持する。その後、フラグ設定部16は、ステップ505において時刻監視に入り、ステップ506において、監視した時刻が表19に保持された時間帯に該当するかをチェックする。該当する場合は、ステップS508において、再起動可能判定フラグをTRUE”に設定し、該当しない場合は、ステップ507において、再起動可能判定フラグを“FALSE”に設定する。この場合、フラグ設定部16が時刻監視を行う間隔は任意である。 First, when the adapter device 1 is activated in step 501, the flag setting unit 16 sets a restartable determination flag as “FALSE” as an initial setting value (step 502), and in step 503, the adapter device 1 by an input / output terminal. Is used in the flag setting unit 16. Based on the usage history recorded in step 503, the flag setting unit 16 checks the usage history in step 504. At this time, the flag setting unit 16 extracts combinations of days of the week and time periods that are less used, and holds them in the form shown in Table 19. Thereafter, the flag setting unit 16 enters time monitoring in step 505, and in step 506 checks whether the monitored time corresponds to the time zone held in Table 19. If applicable, the restart enable determination flag is set to TRUE” in step S508, and if not applicable, the restart enable determination flag is set to “FALSE” in step 507. In this case, the interval at which the flag setting unit 16 performs time monitoring is arbitrary.

その後、フラグ設定部16は、ステップ509において、入出力端末による利用履歴に変更が生じたかを検知し、変更があった場合には、ステップ510において時間帯抽出を再度実行し、表19を更新する。変更がなかった場合には特に処理は実行しない。なお、ステップ510および511の処理は、任意のタイミングでも実行可能とする。その後、ステップ505の時刻監視に戻り、上述した処理を繰り返す。   Thereafter, in step 509, the flag setting unit 16 detects whether or not the usage history of the input / output terminal has changed. If there is a change, the flag setting unit 16 executes time zone extraction again in step 510 and updates the table 19 To do. If there is no change, no processing is executed. It should be noted that the processing of steps 510 and 511 can be executed at any timing. Thereafter, the process returns to the time monitoring in step 505, and the above-described processing is repeated.

このようにして再起動可能判定フラグが設定されると、上述の図2に示した手順により、再起動可能判定フラグの操作検知によって処理が実行されることで、自動的な再起動実行によるソフトウェアバージョンアップが実現される。   When the restartable determination flag is set in this way, the process is executed by detecting the operation of the restartable determination flag according to the procedure shown in FIG. Version upgrade is realized.

以上説明したアダプタ装置1は、一般的には、そのハードウェア構成として、マイクロプロセッサを含んたものとして構成される。そして、制御部10、バージョンアップ部12、再起動制御部14及びフラグ設定部16は、そのマイクロプロセッサ上で動作するソフトウェアとして実現でき、また記憶部11及びフラグ記憶部15は、マイクロプロセッサに接続した記憶装置あるいはマイクロプロセッサ内の記憶領域として実現することができる。このようにアダプタ装置がマイクロプロセッサを有して構成される場合には、上述したソフトウェアバージョンアップ方法を実現するためのプログラムを、アダプタ装置内の適当な記憶装置に読み込ませ、そのプログラムをマイクロプロセッサが実行することによって、このアダプタ装置1は、上述した手順でのソフトウェアバージョンアップを実行することができる。したがって、上述したようにソフトウェアバージョンアップを実行するためのプログラム自体も、バージョンアップの対象となりうるものである。   The adapter device 1 described above is generally configured to include a microprocessor as its hardware configuration. The control unit 10, the upgrade unit 12, the restart control unit 14, and the flag setting unit 16 can be realized as software operating on the microprocessor, and the storage unit 11 and the flag storage unit 15 are connected to the microprocessor. It can be realized as a storage area in a storage device or a microprocessor. When the adapter device is configured to have a microprocessor as described above, a program for realizing the above-described software version upgrade method is read into an appropriate storage device in the adapter device, and the program is loaded into the microprocessor. This adapter device 1 can execute the software version upgrade in the above-described procedure. Therefore, as described above, the program itself for executing the software version upgrade can be the target of the version upgrade.

いずれにせよ、マイクロプロセッサ及び記憶装置からなるアダプタ装置1は、ソフトウェアによって制御されるという点では一般のコンピュータと変わらないものであり、したがって、本発明のソフトウェアバージョンアップ方法を実行するためのプログラムは、ネットワークを介して、あるいはICカードなどの取り外し可能な記憶媒体を介して、アダプタ装置内の記憶装置(あるいは記憶領域)に読み込まれる。そしてそのプログラムをマイクロプロセッサが実行することにより、このアダプタ装置1において、上述した手順によるソフトウェアバージョンアップが実行されることになる。   In any case, the adapter device 1 composed of a microprocessor and a storage device is the same as a general computer in that it is controlled by software. Therefore, a program for executing the software version upgrade method of the present invention is as follows. The data is read into a storage device (or storage area) in the adapter device via a network or a removable storage medium such as an IC card. When the program is executed by the microprocessor, the adapter device 1 performs software upgrade according to the above-described procedure.

本発明のアダプタ装置のソフトウェアバージョンアップ方法は、アダプタ装置のファームウェアを頻繁に更新する可能性がある回線接続サービス業、通信サービス業などにおいて特に有効であり、また、アダプタ装置製造業などにおいても有効である。   The adapter device software version upgrade method of the present invention is particularly effective in the line connection service industry, the communication service industry, etc. that may frequently update the firmware of the adapter device, and also effective in the adapter device manufacturing industry, etc. It is.

アダプタ装置の構成を示すブロック図である。It is a block diagram which shows the structure of an adapter apparatus. 新バージョンのソフトウェア取得後、バージョンアップの完了までの処理を示すフローチャートである。It is a flowchart which shows the process until the completion of version upgrade after acquisition of the software of a new version. 入出力端末インタフェースの接続状態監視による再起動可能判定フラグの操作を説明するフローチャートである。It is a flowchart explaining operation of the restart possibility determination flag by the connection state monitoring of the input / output terminal interface. 入出力端末からのイベント信号による再起動可能判定フラグの操作を説明するフローチャートである。It is a flowchart explaining operation of the restart possible determination flag by the event signal from an input / output terminal. 入出力端末の利用履歴を参照することによる再起動可能判定フラグの操作を説明するフローチャートである。It is a flowchart explaining operation of the restart possibility determination flag by referring to the usage history of the input / output terminal.

符号の説明Explanation of symbols

1 アダプタ装置
2 ネットワーク回線
4,5 入出力端末接続インタフェース
6 電話機
7 パーソナルコンピュータ
10 制御部
11 記憶部
12 バージョンアップ部
14 再起動制御部
15 フラグ記憶部
16 フラグ設定部
19 表
DESCRIPTION OF SYMBOLS 1 Adapter apparatus 2 Network line 4, 5 Input / output terminal connection interface 6 Telephone 7 Personal computer 10 Control part 11 Storage part 12 Version upgrade part 14 Restart control part 15 Flag storage part 16 Flag setting part 19 Table

Claims (3)

ネットワーク回線に接続可能であるとともに入出力端末を接続し、ソフトウェアによって動作が制御され前記入出力端末を前記ネットワーク回線に接続するために用いられるアダプタ装置であって、
新しいバージョンのソフトウェアを前記ネットワーク回線から取得し前記ソフトウェアのバージョンアップを実行するバージョンアップ手段と、
前記新しいバージョンのソフトウェアの取得後に、前記アダプタ装置内に設けられた再起動可能判定フラグを参照し、該再起動可能判定フラグの値に基づいて再起動の可否を判定し、再起動が可と判定された場合に前記アダプタ装置を自動的に再起動する再起動制御手段と、
前記入出力端末が接続される入出力端末接続インタフェースへの接続の有無を監視し、入出力端末が1つでも前記入出力端末接続インタフェースに接続されていれば前記再起動可能判定フラグを再起動不可に設定し、入出力端末が1つも前記入出力端末接続インタフェースに接続されていなければ前記再起動可能判定フラグを再起動可に設定するフラグ設定手段と、
を有するアダプタ装置。
An adapter device that is connectable to a network line and connected to an input / output terminal, the operation of which is controlled by software and used to connect the input / output terminal to the network line,
A version upgrade means for acquiring a new version of software from the network line and executing a version upgrade of the software;
After the acquisition of the new version of software, referring to the restartability determination flag provided in the adapter device, it is determined whether restart is possible based on the value of the restartability determination flag, and restart is possible. Restart control means for automatically restarting the adapter device when determined,
Monitors the presence / absence of connection to the input / output terminal connection interface to which the input / output terminal is connected, and restarts the restartability determination flag if at least one input / output terminal is connected to the input / output terminal connection interface. Flag setting means for setting the restartability determination flag to be restartable if no input / output terminal is connected to the input / output terminal connection interface;
An adapter device.
ネットワーク回線に接続可能であるとともに入出力端末を接続可能であり、前記入出力端末を前記ネットワーク回線に接続するために用いられ、前記入出力端末が接続される入出力端末接続インタフェースと記憶装置とマイクロプロセッサとを備えるコンピュータを、
新しいバージョンのソフトウェアを前記ネットワーク回線から取得し前記ソフトウェアのバージョンアップを実行するバージョンアップ手段、
前記新しいバージョンのソフトウェアの取得後に、前記記憶装置内に記憶された再起動可能判定フラグを参照し、該再起動可能判定フラグの値に基づいて再起動の可否を判定し、再起動が可と判定された場合に前記コンピュータを自動的に再起動する再起動制御手段、
前記入出力端末接続インタフェースへの接続の有無を監視し、入出力端末が1つでも前記入出力端末接続インタフェースに接続されていれば前記再起動可能判定フラグを再起動不可に設定し、入出力端末が1つも前記入出力端末接続インタフェースに接続されていなければ前記再起動可能判定フラグを再起動可に設定するフラグ設定手段、
として機能させるためのプログラム。
An input / output terminal connection interface and a storage device that are connectable to a network line and connectable to an input / output terminal, are used to connect the input / output terminal to the network line, and to which the input / output terminal is connected A computer comprising a microprocessor,
A version upgrade means for acquiring a new version of software from the network line and executing a version upgrade of the software;
After the acquisition of the new version of software, refer to the restartability determination flag stored in the storage device, determine whether restart is possible based on the value of the restartability determination flag, and allow restarting Restart control means for automatically restarting the computer when it is determined;
The presence / absence of connection to the input / output terminal connection interface is monitored, and if at least one input / output terminal is connected to the input / output terminal connection interface, the restart enable determination flag is set to disable restart, Flag setting means for setting the restartability determination flag to be restartable if no terminal is connected to the input / output terminal connection interface;
Program to function as.
コンピュータが読み取り可能な記録媒体であって、請求項に記載のプログラムを格納した記録媒体。 A computer-readable recording medium that stores the program according to claim 2 .
JP2003401641A 2003-12-01 2003-12-01 Adapter device, program, and recording medium storing the program Expired - Fee Related JP4381788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003401641A JP4381788B2 (en) 2003-12-01 2003-12-01 Adapter device, program, and recording medium storing the program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003401641A JP4381788B2 (en) 2003-12-01 2003-12-01 Adapter device, program, and recording medium storing the program

Publications (2)

Publication Number Publication Date
JP2005165535A JP2005165535A (en) 2005-06-23
JP4381788B2 true JP4381788B2 (en) 2009-12-09

Family

ID=34725507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003401641A Expired - Fee Related JP4381788B2 (en) 2003-12-01 2003-12-01 Adapter device, program, and recording medium storing the program

Country Status (1)

Country Link
JP (1) JP4381788B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007072863A (en) * 2005-09-08 2007-03-22 Sony Corp Power control device and method, program, and recording/reproducing device
JP4812683B2 (en) * 2007-04-24 2011-11-09 日本電信電話株式会社 Relay device, restart method, restart program, and storage medium storing restart program
JP5486946B2 (en) * 2010-02-03 2014-05-07 ソフトバンクBb株式会社 Communication device and firmware upgrade method for communication device
JP5418442B2 (en) 2010-08-18 2014-02-19 株式会社リコー Information processing apparatus, electronic device, update processing support method, update processing support program, and update processing support system
JP6096716B2 (en) * 2014-06-06 2017-03-15 Necプラットフォームズ株式会社 Electronics
JP6345128B2 (en) * 2015-01-27 2018-06-20 三菱電機株式会社 Binary state information processing method and communication apparatus

Also Published As

Publication number Publication date
JP2005165535A (en) 2005-06-23

Similar Documents

Publication Publication Date Title
US10114655B2 (en) Rapid start up method for electronic equipment
TWI386847B (en) Method of safe and recoverable firmware update and device using the same
EP2375323A1 (en) Firmware image update and management
US5987625A (en) Method and apparatus for testing network bootable devices
CN111367743A (en) Method and system for diagnosing power failure of server in cycle restart test process
JP4381788B2 (en) Adapter device, program, and recording medium storing the program
JP5167936B2 (en) Information processing device
CN108829442B (en) Program starting method and device
CN110908733A (en) Working mode determining method and device, and control method and device
JP4635993B2 (en) Startup diagnostic method, startup diagnostic method and program
JP2008052354A (en) External basic input/output system device
CN111209143B (en) Recovery method and device of embedded system, embedded device and storage medium
CN113918407A (en) Method and device for managing service process and readable storage medium
CN111475339A (en) BIOS firmware updating method, device, equipment and storage medium
CN112395121A (en) Drive loading processing method and device, storage medium and computer equipment
KR100588199B1 (en) Method for recovering download mode in program download fail state of portable terminal, and portable terminal employing it
CN112685086B (en) Information processing method and electronic equipment
CN116932010B (en) System firmware upgrading method, device and server
WO2011001305A1 (en) A method, apparatus and computer program for loading files during a boot- up process
JPH10105407A (en) Autonomous program fault restoring system
CN115562745A (en) Method and system for realizing desktop service
CN115454762A (en) System monitoring and upgrading method, electronic device and computer readable storage medium
CN112231149A (en) Upgrading failure processing method and device and electronic equipment
CN117215854A (en) Method, system, equipment and storage medium for testing AMT (automated mechanical transmission) of server
CN115469935A (en) Starting method of intelligent terminal and related equipment

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050621

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090701

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090820

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090916

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4381788

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees