JP4654711B2 - IP network communication device and boot program update method - Google Patents

IP network communication device and boot program update method Download PDF

Info

Publication number
JP4654711B2
JP4654711B2 JP2005050434A JP2005050434A JP4654711B2 JP 4654711 B2 JP4654711 B2 JP 4654711B2 JP 2005050434 A JP2005050434 A JP 2005050434A JP 2005050434 A JP2005050434 A JP 2005050434A JP 4654711 B2 JP4654711 B2 JP 4654711B2
Authority
JP
Japan
Prior art keywords
identification information
boot program
storage area
unique identification
unique
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
JP2005050434A
Other languages
Japanese (ja)
Other versions
JP2006236044A (en
Inventor
秀一 石坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2005050434A priority Critical patent/JP4654711B2/en
Publication of JP2006236044A publication Critical patent/JP2006236044A/en
Application granted granted Critical
Publication of JP4654711B2 publication Critical patent/JP4654711B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)
  • Stored Programmes (AREA)

Description

本発明は、各装置固有の固有識別情報を有しこの固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置およびブートプログラム更新方法に関するものである。   The present invention relates to an IP network communication device that has unique identification information unique to each device and performs IP network communication based on the unique identification information, and a boot program update method.

IP技術を使用したネットワーク上の装置(ノード)は、ネットワークにおける各ノードを識別させるための情報を備えていなければならない。装置(ノード)の提供者はネットワークに接続される各装置に対して、重複しない固有識別情報を付与し、エンドユーザが容易に変更できないように設定している。IP通信(OSI階層の第3レイヤ相当)で用いるプロトコルレイヤよりハードウェアよりのネットワーク構成(OSI階層の第2レイヤ相当)がイーサネット(登録商標)の場合、識別IDとしてMACアドレスが提供される。   A device (node) on the network using the IP technology must have information for identifying each node in the network. The provider of the device (node) gives unique identification information that does not overlap each device connected to the network so that the end user cannot easily change it. When the network configuration by hardware (equivalent to the second layer of the OSI layer) is Ethernet (registered trademark) from the protocol layer used in IP communication (equivalent to the third layer of the OSI layer), a MAC address is provided as an identification ID.

識別情報の設定方法としては、従来、BIOS(ブートプログラム)が格納されるROMに識別情報格納部を設け、そこに上記のネットワークで固有の識別IDを格納する方法が提案されている(特許文献1参照)。   As a method for setting identification information, a method has been proposed in which an identification information storage unit is provided in a ROM in which a BIOS (boot program) is stored, and an identification ID unique to the network is stored therein (Patent Literature). 1).

従来の構内交換機は、専用内線電話機を含めて世界各国に輸出される場合に、各国ごとに電話特性規格(例えば、アメリカであればFCC規格、ドイツであればETSI規格)に適合しなければならない。場合によっては市場からの要請で異なった電話特性にする必要もある。このため専用内線電話機を含めて構内交換機のハードウェアを変更して対応しなければならなかった。従って、同一機種を仕向け地ごとに複数の製品として製造する必要が生じ、開発コスト、製造コスト及び製品流通の面で非常に負担がかかっていた。   Conventional private branch exchanges must conform to telephone characteristics standards (for example, the FCC standard in the United States and the ETSI standard in Germany) for each country when exported to countries around the world, including private extension telephones. . In some cases, different phone characteristics may be required depending on market demands. For this reason, it was necessary to change the hardware of the private branch exchange including the dedicated extension telephone. Therefore, it is necessary to manufacture the same model as a plurality of products for each destination, and this is very burdensome in terms of development cost, manufacturing cost, and product distribution.

そこで、各国に輸出する際、その輸出国に適合した初期値データ(トーン種別、リンガー音種別、複数電話機の呼び出し周期間隔、LCD表示言語データ等)を含むデータを構内交換機のROMに書き込み、ディップスイッチで選択する構内交換機が提案された(例えば、特許文献2参照)。
特開平11−327679号公報 特開2001−169318号公報
Therefore, when exporting to each country, data including initial value data (tone type, ringer sound type, multiple telephone ringing intervals, LCD display language data, etc.) suitable for the exporting country is written to the private branch exchange ROM and dip A private branch exchange selected by a switch has been proposed (for example, see Patent Document 2).
JP-A-11-327679 JP 2001-169318 A

しかしながら、識別情報の設定に用いる設定端末との通信手段として、シリアル、赤外線、USB、IPネットワークなどが考えられるが、構内交換機の製造工程の最終工程まではネットワーク上でのノードの識別に利用される識別情報が未設定状態のためIPネットワーク以外の通信手段で識別情報の設定を行う必要がある。そのため、設定のためだけのハードウェアが必要となりコスト削減と省スペース化を実現することが困難であるという第1の未解決の課題を有している。   However, serial, infrared, USB, IP network, etc. can be considered as communication means with the setting terminal used for setting identification information, but it is used for node identification on the network until the final step of the private branch exchange manufacturing process. Since the identification information to be set is not set, it is necessary to set the identification information by a communication means other than the IP network. Therefore, there is a first unsolved problem that hardware only for setting is required and it is difficult to realize cost reduction and space saving.

また、構内交換機は、運用プログラムを起動するための必用最低限度の機能に限定されたブートプログラムと構内交換機の運用時に用いられ多種機能を持った運用プログラムで構成されており、運用プログラムは機能の拡張などでバージョンアップを行う頻度がブートプログラムより多い。図8は、従来のフラッシュメモリの利用状態におけるメモリマップを説明する図である。構内交換機を構成するフラッシュメモリは、図8に示すように複数のセクタ(ブロック)で構成されている。そのサイズは数Kbyteであることが一般的である。そして、EEPROMでは1byte単位での消去と書き込みが可能であるが、フラッシュメモリはブロック単位の消去と1byte単位の書き込みが可能である。   The private branch exchange is composed of a boot program that is limited to the minimum necessary functions for starting the operation program and an operation program that has various functions that are used during the operation of the private branch exchange. The frequency of version upgrades such as expansion is more frequent than the boot program. FIG. 8 is a diagram for explaining a memory map in a usage state of a conventional flash memory. The flash memory constituting the private branch exchange is composed of a plurality of sectors (blocks) as shown in FIG. The size is generally several Kbytes. The EEPROM can be erased and written in units of 1 byte, but the flash memory can be erased in units of blocks and written in units of 1 byte.

このようなことから、フラッシュメモリの格納している情報を更新したい場合は、一旦、対応するセクタ(ブロック)を消去した後にデータ格納しなければならない。上記識別情報はイーサネット(登録商標)の場合12バイトであるが、その識別情報のために1セクタ(ブロック)を割り当てることはメモリ使用効率を悪くしてしまう。そのため、更新頻度の少ないブートプログラムの格納領域の一部に識別情報の格納領域を配置することが一般的である。   For this reason, when it is desired to update the information stored in the flash memory, the data must be stored after erasing the corresponding sector (block). The identification information is 12 bytes in the case of Ethernet (registered trademark), but allocating one sector (block) for the identification information deteriorates the memory use efficiency. For this reason, it is common to place a storage area for identification information in a part of a storage area for a boot program with a low update frequency.

ここで、構内交換機の運用中に、ブートプログラムを更新する必要が発生した場合、フラッシュメモリの対応する領域を更新するためには一旦フラッシュメモリのブートプログラムの格納されている領域を消去しなければならないため、装置に設定されている識別情報も消去されてしまうという第2の未解決の課題を有している。   Here, if it is necessary to update the boot program during operation of the private branch exchange, the flash memory boot program storage area must be erased once in order to update the corresponding area of the flash memory. Therefore, there is a second unsolved problem that the identification information set in the apparatus is also erased.

本発明は上記第1および第2の課題のうち、第2の課題を解決しようとするものであり、各装置固有の固有識別情報を有し、この固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置に関し、特に、このIPネットワーク通信装置に関連する、ブートプログラム更新方法、ブートプログラム更新プログラム等において、運用中のブートプログラムの更新において、装置固有に設定されている識別情報を特に意識して入出力することなく装置内に保持しながらブートプログラムの更新を行うことを可能とすることを目的としている。 The present invention intends to solve the second problem among the first and second problems , has unique identification information unique to each device, and performs IP network communication based on the unique identification information. With regard to the IP network communication device, in particular, in the boot program update method, the boot program update program, etc. related to the IP network communication device, the identification information set specifically for the device in updating the boot program in operation is particularly conscious. Therefore, it is an object of the present invention to update the boot program while holding it in the apparatus without input / output.

上述した第2の課題を解決し、第2の目的を達成するために、本発明のIPネットワーク通信装置は、各装置固有の固有識別情報を有し固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置であって、IPネットワーク通信装置のブートプログラムと固有識別情報を格納する識別情報格納領域とを含むブートプログラム格納領域と、ブートプログラム格納領域外に固有識別情報のコピーを格納する識別情報コピー格納領域とを有するフラッシュメモリと、ブートプログラムの更新時にフラッシュメモリの識別情報格納領域から固有識別情報を取得する識別情報取り出し手段と、取得した固有識別情報を識別情報コピー格納領域に待避させる識別情報コピー手段と、フラッシュメモリのブートプログラムおよび固有識別情報を含むブートプログラム格納領域を消去するフラッシュメモリ消去手段と、外部から更新ブートプログラムを取得するブートプログラム取得手段と、取得した更新ブートプログラムをブートプログラム格納領域に格納するブートプログラム格納手段と、待避させた固有識別情報を識別情報コピー格納領域から識別情報格納領域へコピーする識別情報格納手段とを有することを特徴とする。 In order to solve the second problem and achieve the second object, the IP network communication device of the present invention has unique identification information unique to each device and performs IP network communication based on the unique identification information. An IP network communication apparatus, a boot program storage area including a boot program of the IP network communication apparatus and an identification information storage area for storing unique identification information, and an identification for storing a copy of the unique identification information outside the boot program storage area A flash memory having an information copy storage area; identification information extracting means for acquiring unique identification information from the identification information storage area of the flash memory when the boot program is updated; and saving the acquired unique identification information in the identification information copy storage area Identification information copy means, flash memory boot program and unique identifier A flash memory erasing unit for erasing a boot program storage area including information; a boot program acquiring unit for acquiring an updated boot program from outside; a boot program storage unit for storing the acquired updated boot program in the boot program storage region; And identifying information storage means for copying the identified unique identification information from the identification information copy storage area to the identification information storage area .

本発明によれば、IPネットワーク通信装置は、運用中のブートプログラムの更新においても装置固有に設定されている識別情報を保持したままブートプログラムを更新することが可能であるという利点がある。   According to the present invention, there is an advantage that the IP network communication device can update the boot program while retaining the identification information set unique to the device even when updating the boot program in operation.

本発明の第の発明におけるIPネットワーク通信装置は、各装置固有の固有識別情報を有し固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置であって、IPネットワーク通信装置のブートプログラムと固有識別情報を格納する識別情報格納領域とを含むブートプログラム格納領域と、ブートプログラム格納領域外に固有識別情報のコピーを格納する識別情報コピー格納領域とを有するフラッシュメモリと、ブートプログラムの更新時にフラッシュメモリの識別情報格納領域から固有識別情報を取得する識別情報取り出し手段と、取得した固有識別情報を識別情報コピー格納領域に待避させる識別情報コピー手段と、フラッシュメモリブートプログラムおよび固有識別情報を含むブートプログラム格納領域を消去するフラッシュメモリ消去手段と、外部から更新ブートプログラムを取得するブートプログラム取得手段と、取得した更新ブートプログラムをブートプログラム格納領域に格納するブートプログラム格納手段と、待避させた固有識別情報を識別情報コピー格納領域から識別情報格納領域へコピーする識別情報格納手段とを有する。この構成により、ブートプログラムの更新等によりブートプログラム格納領域を消去する際、識別情報格納領域が消去されてしまう場合に、固有識別情報を識別情報コピー格納領域に待避することができるとともに、ブートプログラムの更新後、待避させておいた固有識別情報を識別情報格納領域に戻すことができるという作用を有する。 An IP network communication apparatus according to a first aspect of the present invention is an IP network communication apparatus that has unique identification information unique to each apparatus and performs IP network communication based on the unique identification information, and a boot program for an IP network communication apparatus a flash memory having the identification information copy storage area for storing a copy of the unique identification information and the boot program storage area including the identification information storage area for storing unique identification information, out of the boot program storage area and the updating of the boot program flash and identification information extraction means for acquiring a unique identification information from the identification information storage region of the memory, the acquired identification information copying means for retracting the unique identification information in the identification information copy storage area, boot program and unique identification information of the flash memory when Boot program storage area including The flash memory erasing means to be erased, the boot program obtaining means for obtaining the updated boot program from the outside, the boot program storage means for storing the obtained updated boot program in the boot program storage area, and the saved unique identification information as identification information Identification information storage means for copying from the copy storage area to the identification information storage area. With this configuration, when the boot program storage area is erased by updating the boot program or the like, if the identification information storage area is erased, the unique identification information can be saved in the identification information copy storage area. After the update, the unique identification information that has been saved can be returned to the identification information storage area.

本発明の第の発明におけるブートプログラム更新方法は、各装置固有の固有識別情報を有し固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置のブートプログラム更新方法であって、IPネットワーク通信装置のブートプログラムと固有識別情報を格納する識別情報格納領域とを含むブートプログラム格納領域と、ブートプログラム格納領域外に固有識別情報のコピーを格納する識別情報コピー格納領域とをフラッシュメモリに配置し、ブートプログラムの更新時にフラッシュメモリの識別情報格納領域から固有識別情報を取得し、取得した固有識別情報を識別情報コピー格納領域に待避させ、フラッシュメモリブートプログラムおよび固有識別情報を含むブートプログラム格納領域を消去し、外部から更新ブートプログラムを取得し、取得した更新ブートプログラムをブートプログラム格納領域に格納し、待避させた固有識別情報を識別情報コピー格納領域から識別情報格納領域へコピーする。この構成により、固有識別情報を識別情報コピー格納領域に待避することができるとともに、ブートプログラムの更新後、待避させておいた固有識別情報を識別情報格納領域に戻すことができるという作用を有する。 A boot program update method according to a second aspect of the present invention is a boot program update method for an IP network communication device that has unique identification information unique to each device and performs IP network communication based on the unique identification information. A boot program storage area including a boot program for the communication device and an identification information storage area for storing unique identification information, and an identification information copy storage area for storing a copy of the unique identification information outside the boot program storage area are arranged in the flash memory. When the boot program is updated, the unique identification information is acquired from the identification information storage area of the flash memory , the acquired unique identification information is saved in the identification information copy storage area, and the boot program including the flash memory boot program and the unique identification information is stored. Erase storage area and update from outside Get the over preparative program, and stores the update boot program acquired in the boot program storage area, copying the unique identification information is retracted from the identification information copy storage area to the identification information storage region. With this configuration, the unique identification information can be saved in the identification information copy storage area, and after the boot program is updated, the saved unique identification information can be returned to the identification information storage area.

本発明の第の発明におけるブートプログラム更新プログラムは、各装置固有の固有識別情報を有し固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置に搭載される記憶装置に記憶され、前記IPネットワーク通信装置のブートプログラム更新するブートプログラム更新プログラムであって、ブートプログラムと固有識別情報を格納する識別情報格納領域とを含むブートプログラム格納領域と、ブートプログラム格納領域外に固有識別情報のコピーを格納する識別情報コピー格納領域とを有するフラッシュメモリの識別情報格納領域から固有識別情報を取得する識別情報取り出し手段と、 取得した固有識別情報を識別情報コピー格納領域に待避させる識別情報コピー手段と、 フラッシュメモリブートプログラムおよび固有識別情報を含むブートプログラム格納領域を消去するフラッシュメモリ消去手段と、外部から更新ブートプログラムを取得するブートプログラム取得手段と、取得した更新ブートプログラムをブートプログラム格納領域に格納するブートプログラム格納手段と、待避させた固有識別情報を識別情報コピー格納領域から識別情報格納領域へコピーする識別情報格納手段とを有する。この構成により、このブートプログラム更新プログラムを記憶装置に記憶したIPネットワーク通信装置は、ブートプログラムの更新等によりブートプログラム格納領域を消去する際、識別情報格納領域が消去されてしまう場合に、固有識別情報を識別情報コピー格納領域に待避することができるとともに、ブートプログラムの更新後、待避させておいた固有識別情報を識別情報格納領域に戻すことができるという作用を有する。 Boot program update program in the third aspect of the present invention is stored in a storage device mounted on an IP network communication apparatus for performing IP network communication based on the unique identification information has the device-specific unique identification information, wherein A boot program update program for updating a boot program of an IP network communication device, including a boot program storage area including a boot program and an identification information storage area for storing unique identification information, and unique identification information outside the boot program storage area Identification information extracting means for acquiring unique identification information from the identification information storage area of the flash memory having an identification information copy storage area for storing a copy, and identification information copying means for saving the acquired unique identification information in the identification information copy storage area And the flash memory boot program Flash memory erasing means for erasing the boot program storage area including the program and unique identification information, boot program obtaining means for obtaining an updated boot program from the outside, and boot program storage for storing the obtained updated boot program in the boot program storage area And identification information storage means for copying the saved unique identification information from the identification information copy storage area to the identification information storage area. With this configuration, the IP network communication device storing the boot program update program in the storage device has a unique identification when the identification information storage region is erased when the boot program storage region is erased by updating the boot program or the like. Information can be saved in the identification information copy storage area, and the saved unique identification information can be returned to the identification information storage area after the boot program is updated.

以下に、本発明にかかるIPネットワーク通信装置の実施の形態を図面に基づいて詳細に説明する。なお、以下の実施の形態では、IPネットワーク通信装置の一例として、構内交換機を挙げて説明するが、これによりこの発明が限定されるものではない。   Embodiments of an IP network communication apparatus according to the present invention will be described below in detail with reference to the drawings. In the following embodiments, a private branch exchange will be described as an example of an IP network communication device, but the present invention is not limited thereby.

(実施の形態1)
以下、本発明の実施の形態について、各図に基づいて説明する。図1は実施の形態1のIPネットワーク通信装置である構内交換機のブロック図である。IPネットワーク通信装置としての構内交換機100は、図1に示された構成を成している。図1において、101は中央演算処理装置、102はプログラムやデータを保存する読み書き可能な不揮発性メモリであるフラッシュメモリ、103はプログラムやデータを格納する書き換え可能なランダムアクセスメモリ、104はリセットを行うリセットボタンや運転モードを設定するモードスイッチ等の入力部、105は構内交換機の運転モードやエラー表示などの表示に使用されるLEDやLCD等で構成される出力部、106はコネクタ等を介してバスに接続されデータを読み書きされるSDカード、コンパクトフラッシュ(登録商標)およびスマートメディアなどの外部記憶装置、107は外部の設定端末112とイーサネット(登録商標)やシリアル、USBなどの媒介を使用して通信を行う通信制御部、108は電話の接続された内線や網回線の信号制御を行う回線制御部である。それぞれの構成要素は、バス114を介して接続されている。
(Embodiment 1)
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a private branch exchange which is an IP network communication apparatus according to the first embodiment. A private branch exchange 100 as an IP network communication apparatus has the configuration shown in FIG. In FIG. 1, 101 is a central processing unit, 102 is a flash memory which is a readable / writable nonvolatile memory for storing programs and data, 103 is a rewritable random access memory for storing programs and data, and 104 is reset. An input unit such as a reset button or a mode switch for setting an operation mode, 105 is an output unit composed of an LED, an LCD or the like used for displaying an operation mode or error display of the private branch exchange, and 106 is connected via a connector or the like An external storage device 107 such as an SD card, CompactFlash (registered trademark), or smart media connected to the bus for reading and writing data, and an external setting terminal 112 and an intermediary such as Ethernet (registered trademark), serial, and USB are used. Communication control unit for communication, 108 is a telephone connection The a line control unit for performing signal controlling extension and nets line. Each component is connected via a bus 114.

フラッシュメモリ102内には、電源ONまたはリセット時に最初に実行されシステム全体を立ち上げるために必要最低限の機能を制御するブートプログラムを保存しておくブートプログラム格納領域109と、運用時に用いられ構内交換機100の必要とされるすべての機能を制御するプログラムを保存しておく運用プログラム格納領域110とが設けられている。また、ランダムアクセスメモリ103内には、プログラムや更新される可能性のあるデータを保存しておくプログラム・データ格納領域111と、固有識別情報を一時的に格納する識別情報一時格納領域113とが設けられている。なお、112は構内交換機の固有識別情報の設定を行う為に用いる外部に設けられた設定端末である。   The flash memory 102 includes a boot program storage area 109 for storing a boot program that is executed first when the power is turned on or reset, and controls the minimum functions necessary for starting up the entire system, and a local area used during operation. An operation program storage area 110 for storing a program for controlling all necessary functions of the exchange 100 is provided. The random access memory 103 includes a program / data storage area 111 for storing programs and data that may be updated, and an identification information temporary storage area 113 for temporarily storing unique identification information. Is provided. Reference numeral 112 denotes a setting terminal provided outside for use in setting the unique identification information of the private branch exchange.

図2は図1のフラッシュメモリのメモリマップを示す図である。図2において、フラッシュメモリ102内には、ブートプログラム格納領域201と運用プログラム格納領域202の大きく2つの領域が設けられている。そして、ブートプログラム格納領域201には、電源ONまたはリセット時に最初に実行されシステム全体を立ち上げるために必要最低限の機能を制御するブートプログラムが、そのまま動作するプログラム形式または圧縮したバイナリ形式にて格納されている。一方、運用プログラム格納領域202内には、構内交換機の運用時に用いられ構内交換機の必要とされるすべての機能を制御するプログラムが、そのまま動作するプログラム形式または圧縮したバイナリ形式で格納されている。   FIG. 2 is a diagram showing a memory map of the flash memory of FIG. In FIG. 2, the flash memory 102 includes two areas, a boot program storage area 201 and an operation program storage area 202. In the boot program storage area 201, a boot program that is executed first when the power is turned on or reset and controls the minimum functions necessary to start up the entire system is stored in a program format that operates as it is or in a compressed binary format. Stored. On the other hand, in the operation program storage area 202, a program that is used when the private branch exchange is operated and that controls all functions required by the private branch exchange is stored in a program format that operates as it is or in a compressed binary format.

ブートプログラム格納領域201内には、その一部に、ネットワークにおける各ノードを識別するために用意され、エンドユーザが基本的に変更することのできない固有識別情報を格納する識別情報格納領域203が設けられている。また、運用プログラム格納領域202内には、識別情報格納領域203に固有識別情報が設定されていないときに一時的に利用される設定用識別情報格納領域204が設けられている。   In the boot program storage area 201, an identification information storage area 203 is provided, which is prepared for identifying each node in the network and stores unique identification information that cannot be basically changed by the end user. It has been. In the operation program storage area 202, a setting identification information storage area 204 that is temporarily used when the unique identification information is not set in the identification information storage area 203 is provided.

なお、設定用識別情報格納領域204の設定場所は、ブートプログラム上に設けられてもよい。また、ブートプログラム格納領域201と運用プログラム格納領域202は別チップのフラッシュメモリに配置してもよい。コスト削減と省スペース化の観点で考えれば1つのチップにブートプログラム格納領域201と運用プログラム格納領域202を配置するのが望ましい。また、ブートプログラム格納領域201に格納されているブートプログラム及び運用プログラム格納領域202に格納されている運用プログラムはフラッシュメモリ上で直接動作してもよいし、ランダムアクセスメモリ103上にコピーまたは伸長しながらコピーし、ランダムアクセスメモリ103上で動作させてもよい。   The setting location of the setting identification information storage area 204 may be provided on the boot program. Further, the boot program storage area 201 and the operation program storage area 202 may be arranged in a flash memory of another chip. From the viewpoint of cost reduction and space saving, it is desirable to arrange the boot program storage area 201 and the operation program storage area 202 on one chip. The boot program stored in the boot program storage area 201 and the operation program stored in the operation program storage area 202 may directly operate on the flash memory, or may be copied or expanded on the random access memory 103. However, copying may be performed on the random access memory 103.

図3は図1の構内交換機の識別情報セットプログラムのフローチャートである。ここでは、構内交換機100にネットワークにおける各ノードを識別するための固有識別情報(例えば、ネットワークがイーサネット(登録商標)の場合は12バイトのデータで構成されているMACアドレスが固有識別情報である)を設定する場合を例にして説明する。   FIG. 3 is a flowchart of the identification information set program of the private branch exchange shown in FIG. Here, unique identification information for identifying each node in the network to the private branch exchange 100 (for example, if the network is Ethernet (registered trademark), a MAC address composed of 12-byte data is unique identification information). An example of setting the value will be described.

固有識別情報を設定する際には、まず、外部に存在する設定端末112を構内交換機100と通信できる状態にする。構内交換機100は電源投入またはリセット後、まず最初にブートプログラムが起動される。ブートプログラムは、装置全体が起動できるか否かチェックするためハードウェアの診断、および、ソフトウェアである運用プログラムの破損チェックなどを行い、構内交換機100が正しく動作可能であるかをチェックし、動作可能と判断した場合は処理を運用プログラムに移す。   When setting the unique identification information, first, the setting terminal 112 existing outside is brought into a state where it can communicate with the private branch exchange 100. After the private branch exchange 100 is powered on or reset, the boot program is first started. The boot program checks whether the private branch exchange 100 can operate correctly by performing hardware diagnosis and checking for damage to the operation program that is software in order to check whether or not the entire apparatus can be started. If it is determined, the process is transferred to the operation program.

運用プログラムにおいては、初期の段階で、構内交換機100が動作するための一連の初期化手順を行う。この初期化手順のなかでも通信制御部107の初期化を行う際に、運用プログラムは、図3のフローチャートに示す識別情報セットプログラムの動作をする。まず、識別情報セットプログラムは、識別情報格納領域203から固有識別情報を取得する(ステップS301)。次に、ランダムアクセスメモリ103上の識別情報一時格納領域113に、この固有識別情報を格納する(ステップS302)。   In the operation program, a series of initialization procedures for operating the private branch exchange 100 is performed at an early stage. In the initialization procedure, when the communication control unit 107 is initialized, the operation program operates as the identification information set program shown in the flowchart of FIG. First, the identification information set program acquires unique identification information from the identification information storage area 203 (step S301). Next, the unique identification information is stored in the identification information temporary storage area 113 on the random access memory 103 (step S302).

その後、識別情報一時格納領域113に格納された固有識別情報が正常に設定されたものであるか、未設定のものであるか確認(例えば、フラッシュメモリに何もデータが書き込まれていないときの値であるか確認)され(ステップS303)、設定されている場合はステップS306へジャンプし、設定されていない場合は、設定用識別情報格納領域204に格納されている設定用識別情報を取得する(ステップS304)。   Thereafter, it is confirmed whether the unique identification information stored in the identification information temporary storage area 113 is normally set or not set (for example, when no data is written in the flash memory If it is set, the process jumps to step S306. If it is not set, the setting identification information stored in the setting identification information storage area 204 is acquired. (Step S304).

そして、ランダムアクセスメモリ103上の識別情報一時格納領域113に設定用識別情報を格納する(ステップS305)。この時点で、識別情報一時格納領域113にはネットワークで各ノードを識別するために使用される識別情報(固有識別情報或いは設定用識別情報)が格納されたことになる。   Then, the setting identification information is stored in the identification information temporary storage area 113 on the random access memory 103 (step S305). At this point, identification information (unique identification information or setting identification information) used to identify each node in the network is stored in the identification information temporary storage area 113.

次に、識別情報一時格納領域113に格納されているデータを通信制御部に設定し(ステップS306)。その後、通信制御部を通信できる状態にセットアップする(ステップS307)。そして、この状態で設定端末112を用いてネットワーク通信を行うことが可能となる。これにより、以後、ネットワーク経由で識別情報格納領域203に、個別識別情報(MACアドレスなど)を設定する。   Next, the data stored in the identification information temporary storage area 113 is set in the communication control unit (step S306). Thereafter, the communication control unit is set up in a communicable state (step S307). In this state, network communication can be performed using the setting terminal 112. Thereby, individual identification information (such as a MAC address) is subsequently set in the identification information storage area 203 via the network.

図4は図1の構内交換機の識別情報セットプログラムの機能ブロック図である。図4において、本実施の形態の識別情報セットプログラムは、識別情報取り出し手段401、識別情報判断手段402、設定用識別情報取り出し手段403、通信制御部設定手段404および通信制御手段405を有している。これらは、それぞれ中央演算処理装置101にローディングされて動作する。   FIG. 4 is a functional block diagram of the identification information set program of the private branch exchange shown in FIG. In FIG. 4, the identification information set program of this embodiment has an identification information extraction unit 401, an identification information determination unit 402, a setting identification information extraction unit 403, a communication control unit setting unit 404, and a communication control unit 405. Yes. These are loaded into the central processing unit 101 and operate.

識別情報取り出し手段401は、初期起動時にフラッシュメモリ102上の識別情報格納領域203から固有識別情報を取得する。識別情報判断手段402は、識別情報格納領域203から取得された固有識別情報が未設定データかどうか判断する。設定用識別情報取り出し手段403は、フラッシュメモリ102上の設定用識別情報格納領域204から設定用の固有識別情報を取得する。通信制御部設定手段404は、固有識別情報または設定用識別情報のいずれかを通信制御部107に設定することによってネットワーク通信を可能とする。通信制御手段405は、ネットワークでの通信機能を提供する。   The identification information extraction unit 401 acquires unique identification information from the identification information storage area 203 on the flash memory 102 at the time of initial activation. The identification information determination unit 402 determines whether the unique identification information acquired from the identification information storage area 203 is unset data. The setting identification information extraction unit 403 acquires the setting specific identification information from the setting identification information storage area 204 on the flash memory 102. The communication control unit setting unit 404 enables network communication by setting either the unique identification information or the setting identification information in the communication control unit 107. The communication control unit 405 provides a network communication function.

このように本実施の形態においては、識別情報格納領域203に未だ固有識別情報が設定されていない場合でもネットワーク通信を行うことができ、このネットワーク通信により、識別情報格納領域203に固有識別情報を設定することができる。つまり、識別情報格納領域203に未だ固有識別情報が設定されていない場合でも、シリアル、赤外線、USBなどの他の通信手段を用いることなく固有識別情報の格納が可能となる。これにより、コスト削減と省スペース化を実現することが可能となる利点を提供することができる。また、記憶媒体で提供することによりバージョンアップが容易で秘匿性の高いシステムを簡単に構築することができる。   As described above, in the present embodiment, network communication can be performed even when unique identification information is not yet set in the identification information storage area 203, and the unique identification information is stored in the identification information storage area 203 by this network communication. Can be set. That is, even when unique identification information is not yet set in the identification information storage area 203, unique identification information can be stored without using other communication means such as serial, infrared, and USB. As a result, it is possible to provide an advantage that cost reduction and space saving can be realized. In addition, by providing a storage medium, it is possible to easily construct a system that can be easily upgraded and has high secrecy.

(実施の形態2)
以下、本発明に係るIPネットワーク通信装置の実施の形態2について、各図に基づいて説明する。本実施の形態もIPネットワーク通信装置として構内交換機を例に挙げて説明するがこれに限定されるものではない。本実施の形態のIPネットワーク通信装置としての構内交換機のハードウェアの構成は、図1に示す実施の形態1のものと同様である。
(Embodiment 2)
Embodiment 2 of an IP network communication apparatus according to the present invention will be described below with reference to the drawings. Although this embodiment will be described by taking a private branch exchange as an example of the IP network communication device, it is not limited to this. The hardware configuration of the private branch exchange as the IP network communication apparatus of the present embodiment is the same as that of the first embodiment shown in FIG.

図5は実施の形態2のフラッシュメモリのメモリマップを示す図である。本実施の形態のフラッシュメモリ102には、格納領域202の領域に、新たに識別情報コピー格納領域501が追加されている。識別情報コピー格納領域501は、ブートプログラムを更新する際に、識別情報格納領域203に格納されている固有識別情報を構内交換機に保持しておくために、固有識別情報のコピーを一時的に格納する固有識別情報コピー格納領域である。その他のハード構成は、実施の形態1と同様である。   FIG. 5 is a diagram showing a memory map of the flash memory according to the second embodiment. In the flash memory 102 according to the present embodiment, an identification information copy storage area 501 is newly added to the storage area 202. The identification information copy storage area 501 temporarily stores a copy of the unique identification information in order to hold the unique identification information stored in the identification information storage area 203 in the private branch exchange when the boot program is updated. This is a unique identification information copy storage area. Other hardware configurations are the same as those in the first embodiment.

なお、固有識別情報コピー格納領域501は、ブートプログラムの更新時(消去時)の影響を受けないようにブートプログラム格納領域201以外のメモリ領域にあればよく、運用プログラム格納領域202やランダムアクセスメモリ103上に格納されてもよい。ただし、固有識別情報はネットワークに接続される各装置(ノード)に対して、重複しない固有の固有識別情報であり、エンドユーザが容易に変更できないものである。そのため、ブートプログラム更新時に何らかの原因で電源がOFFになってもできるだけ情報が失われないような配慮が必要である。このようなことから、識別情報コピー格納領域501は不揮発性メモリであるフラッシュメモリ102に格納されるのが望ましい。   The unique identification information copy storage area 501 may be in a memory area other than the boot program storage area 201 so as not to be affected by the update (erasure) of the boot program. 103 may be stored. However, the unique identification information is unique unique identification information that does not overlap with each device (node) connected to the network and cannot be easily changed by the end user. Therefore, it is necessary to consider that information is not lost as much as possible even when the power is turned off for some reason when updating the boot program. For this reason, the identification information copy storage area 501 is preferably stored in the flash memory 102 which is a nonvolatile memory.

図6は実施の形態2の構内交換機のブートプログラム更新プログラムのフローチャートである。ここでは、構内交換機100にネットワークにおける各ノードを識別するための固有識別情報(例えば、ネットワークがイーサネット(登録商標)の場合は12バイトのデータで構成されているMACアドレスが固有識別情報である)を構内交換機に保持したままブートプログラムを更新する場合を例に挙げて説明する。   FIG. 6 is a flowchart of the boot program update program of the private branch exchange according to the second embodiment. Here, unique identification information for identifying each node in the network to the private branch exchange 100 (for example, if the network is Ethernet (registered trademark), a MAC address composed of 12-byte data is unique identification information). An example will be described in which the boot program is updated while the private branch exchange is maintained.

まず、設定端末112を構内交換機と通信できる状態にし、ブートプログラムの更新要求を行う。運用中の運用プログラムにおいて、ブートプログラム更新機能を起動すると、ブートプログラム更新プログラムが動作する。なお、識別情報コピー格納領域501がフラッシュメモリ102内に配置されているものとして説明する。   First, the setting terminal 112 is made communicable with the private branch exchange, and a boot program update request is made. When the boot program update function is activated in the operation program in operation, the boot program update program operates. It is assumed that the identification information copy storage area 501 is arranged in the flash memory 102.

ブートプログラム更新プログラムは、まず、フラッシュメモリ102のブートプログラム格納領域201内に存在する識別情報格納領域203から固有識別情報を取得する(ステップS601)。次に、フラッシュメモリ102にある識別情報コピー格納領域501にデータを書き込めるか判断するために、この識別情報コピー格納領域501からデータを取得する(ステップS602)。   First, the boot program update program acquires unique identification information from the identification information storage area 203 existing in the boot program storage area 201 of the flash memory 102 (step S601). Next, in order to determine whether data can be written in the identification information copy storage area 501 in the flash memory 102, data is acquired from the identification information copy storage area 501 (step S602).

次に、取得したデータが未設定のものか否かを判断する(ステップS603)。ここで注意することは、識別情報コピー格納領域501に格納されているデータが、前回のブートプログラム更新時に設定した固有識別情報が今回の処理までそのまま残った状態のものであるか、或いは、ブートプログラムによる運用プログラム更新時に識別情報コピー格納領域501内のデータを空き状態にしたかのどちらかしかないということである。各装置(ノード)に対して、重複しない固有の値である固有識別情報がブートプログラム更新の度に異なる値に設定されることはないからである。   Next, it is determined whether or not the acquired data is unset (step S603). Note that the data stored in the identification information copy storage area 501 is in a state where the unique identification information set at the time of the previous boot program update remains as it is until the current processing, or the boot This means that the data in the identification information copy storage area 501 has only become empty when the operation program is updated by the program. This is because the unique identification information, which is a unique value that does not overlap each device (node), is not set to a different value every time the boot program is updated.

ステップS603の判断結果が未設定状態の場合は、フラッシュメモリ上の識別情報コピー格納領域501に固有識別情報が格納されておらずデータを書き込めるということなのでステップS601で取得した固有識別情報を識別情報コピー格納領域501へ格納する。つまり、固有識別情報を識別情報コピー格納領域501へ一端待避させておく(ステップS604)。一方、ステップS603の判断結果が設定状態であれば同じ値の固有識別情報を格納する必要はないためステップS604の処理は行わずステップS605にジャンプする。   If the determination result in step S603 is not set, the identification information copy storage area 501 on the flash memory is not stored with the unique identification information, so that data can be written. Therefore, the unique identification information acquired in step S601 is used as the identification information. Store in the copy storage area 501. That is, the unique identification information is temporarily saved in the identification information copy storage area 501 (step S604). On the other hand, if the determination result in step S603 is the setting state, it is not necessary to store the unique identification information having the same value, and the process jumps to step S605 without performing the process in step S604.

ここまでの動作にて、識別情報コピー格納領域501に固有識別情報が格納(待避)された状態になったので、次にブートプログラムの更新のためにフラッシュメモリ102上のブートプログラム格納領域201を消去する(ステップS605)。ブートプログラム格納領域201の消去の後は、SDカードやコンパクトフラッシュ(登録商標)などを読み書きできる外部記憶装置106経由か通信制御部107を経由して更新すべきバージョンの更新ブートプログラムをランダムアクセスメモリ103上のプログラム・データ格納領域111に取得する(ステップS606)。その後、フラッシュメモリ102上のブートプログラム格納領域201に更新ブートプログラムを格納する(ステップS607)。   The unique identification information has been stored (saved) in the identification information copy storage area 501 through the operations up to this point, so that the boot program storage area 201 on the flash memory 102 is next stored in order to update the boot program. Erasing is performed (step S605). After erasing the boot program storage area 201, a version of the updated boot program to be updated via the external storage device 106 that can read and write to an SD card, a compact flash (registered trademark), or the communication control unit 107 is stored in the random access memory. 103 is acquired in the program / data storage area 111 on the server 103 (step S606). Thereafter, the updated boot program is stored in the boot program storage area 201 on the flash memory 102 (step S607).

ステップS607の終了後、格納した更新ブートプログラムが正しく格納されているかをチェックする(ステップS608)。更新ブートプログラムが正しく格納されていない時はステップS605から処理をやり直す。更新ブートプログラムが正しく格納されている場合は、識別情報コピー格納領域501に格納した固有識別情報を取得する(ステップS609)。その後、更新ブートプログラム格納領域201上にある識別情報格納領域203は未設定状態のはずなので書き込み可能であり、ステップS609で取得した固有識別情報を識別情報格納領域203に格納する。つまり、識別情報コピー格納領域501へ一端待避させておいた固有識別情報を識別情報格納領域203に戻す(ステップS610)。   After step S607 ends, it is checked whether the stored updated boot program is stored correctly (step S608). If the updated boot program is not stored correctly, the process is repeated from step S605. If the updated boot program is correctly stored, the unique identification information stored in the identification information copy storage area 501 is acquired (step S609). Thereafter, the identification information storage area 203 on the updated boot program storage area 201 should be in an unset state, so that it can be written, and the unique identification information acquired in step S609 is stored in the identification information storage area 203. That is, the unique identification information once saved in the identification information copy storage area 501 is returned to the identification information storage area 203 (step S610).

なお、識別情報コピー格納領域501がランダムアクセスメモリ(RAM)上に配置されている場合は、必ず固有識別情報を対応する領域に書き込めるためステップS602およびステップS603の処理は必要ない。この場合ステップS601の処理の後にステップS604に実行を移してよい。   If the identification information copy storage area 501 is arranged on the random access memory (RAM), the unique identification information can always be written in the corresponding area, so that the processing in steps S602 and S603 is not necessary. In this case, execution may be shifted to step S604 after the process of step S601.

また、フラッシュメモリ102が1チップで構成され、ブートプログラムと運用プログラムの両方が同一チップに格納されているときは、ステップS605にて、ブートプログラムを消去する際、ブートプログラムに対応するセクタ(ブロック)のみを消去する。一方、フラッシュメモリ102が複数チップで構成されており、ブートプログラムと運用プログラムが別チップで構成されているときはブートプログラムの格納されているフラッシュメモリの内容をすべて消去してもかまわない。   Further, when the flash memory 102 is composed of one chip and both the boot program and the operation program are stored in the same chip, when erasing the boot program in step S605, the sector (block) corresponding to the boot program is erased. ) Only. On the other hand, when the flash memory 102 is composed of a plurality of chips and the boot program and the operation program are composed of separate chips, the entire contents of the flash memory storing the boot program may be erased.

ステップS607にて、更新ブートプログラムをプログラム・データ格納領域111を介して、ブートプログラム格納領域201に格納する。更新ブートプログラムのサイズがプログラム・データ格納領域111より大きい場合は、プログラム・データ格納領域111のサイズを超えないサイズ単位でステップS606とステップS607を交互に繰り返し実行してもよい。   In step S607, the updated boot program is stored in the boot program storage area 201 via the program / data storage area 111. If the size of the updated boot program is larger than the program / data storage area 111, step S606 and step S607 may be alternately executed in units of size not exceeding the size of the program / data storage area 111.

図7は図6のブートプログラム更新プログラムの要部の機能ブロック図である。図7において、ブートプログラム更新プログラムは、識別情報取り出し手段701、識別情報コピー手段702、フラッシュメモリ消去手段703、ブートプログラム取得手段704、ブートプログラム格納手段705、識別情報格納手段706を有している。これらは、それぞれ中央演算処理装置101にローディングされて動作する。   FIG. 7 is a functional block diagram of the main part of the boot program update program of FIG. In FIG. 7, the boot program update program includes an identification information extracting unit 701, an identification information copying unit 702, a flash memory erasing unit 703, a boot program acquisition unit 704, a boot program storage unit 705, and an identification information storage unit 706. . These are loaded into the central processing unit 101 and operate.

識別情報取り出し手段701は、フラッシュメモリ102の識別情報格納領域203から固有識別情報を取得する。識別情報コピー手段702は、識別情報取り出し手段701が取得した固有識別情報を識別情報コピー格納領域501にコピーする。フラッシュメモリ消去手段703は、フラッシュメモリ102のブートプログラム格納領域201を消去する。ブートプログラム取得手段704は、更新ブートプログラムを取得する。ブートプログラム格納手段705は、ブートプログラム取得手段704が取得した更新ブートプログラムをフラッシュメモリ102のブートプログラム格納領域201に格納する。識別情報格納手段706は、識別情報コピー手段702が待避(格納)させておいた固有識別情報を識別情報格納領域203へコピーする。なお、更新ブートプログラムを、記憶媒体で提供することによりバージョンアップが容易で秘匿性の高いシステムを簡単に構築することができる。   The identification information extraction unit 701 acquires unique identification information from the identification information storage area 203 of the flash memory 102. The identification information copy unit 702 copies the unique identification information acquired by the identification information extraction unit 701 to the identification information copy storage area 501. The flash memory erasing unit 703 erases the boot program storage area 201 of the flash memory 102. The boot program acquisition unit 704 acquires an updated boot program. The boot program storage unit 705 stores the updated boot program acquired by the boot program acquisition unit 704 in the boot program storage area 201 of the flash memory 102. The identification information storage unit 706 copies the unique identification information saved (stored) by the identification information copy unit 702 to the identification information storage area 203. By providing the updated boot program in a storage medium, it is possible to easily construct a highly confidential system that can be upgraded easily.

このように本実施の形態においては、構内交換機の運用中においても装置固有に設定されている固有識別情報を保持したままブートプログラムを更新することが可能であるという利点を有するものである。   As described above, the present embodiment has an advantage that the boot program can be updated while retaining the unique identification information set unique to the apparatus even during operation of the private branch exchange.

(実施の形態3)
本実施の形態は、上述の実施の形態1および実施の形態2において、識別情報格納領域203に格納される固有識別情報が、ネットワークにおける各ノードを識別する情報だけでなく、構内交換機に必要な仕向け地状態を含んでいる。仕向け地データとは、専用内線電話機を含めて世界各国に輸出される場合に、各国ごとに電話特性規格に適合しなければならないデータであり、場合によっては市場からの要請による異なった電話特性のデータであり、具体的にはトーン種別、リンガー音種別、複数電話機の呼び出し周期間隔、LCD表示言語データ等)を含むデータを指している。
(Embodiment 3)
In the present embodiment, the unique identification information stored in the identification information storage area 203 in the first and second embodiments described above is necessary not only for identifying each node in the network but also for the private branch exchange. The destination state is included. Destination data is data that must conform to telephone characteristics standards for each country when exported to countries around the world, including dedicated extension telephones. Data, specifically, data including tone type, ringer type, multiple telephone ringing interval, LCD display language data, and the like.

このような仕向け地情報は、ブートプログラムや運用プログラムとは関係なく存在することができる。実施の形態1および実施の形態2で述べた識別情報格納領域203に仕向け地情報も格納することによって、仕向け地それぞれに対応するプログラムを作成する必要がなくなりプログラムを共有することができる。   Such destination information can exist regardless of the boot program or the operation program. By storing the destination information in the identification information storage area 203 described in the first embodiment and the second embodiment, it is not necessary to create a program corresponding to each destination, and the program can be shared.

これにより、同一機種を仕向け地ごとに複数の製品として製造する必要がなくなり、開発コスト、製造コスト及び製品流通の面で非常に有利となる。また、書き込みは出荷時の一回だけのため、製品の横流し(価格の安い国へ輸出した製品を別国に再輸出し、正規ルートより安く販売する)による正規ルートで構内交換機を購入した販売店ディーラが不利益を被ることがない。   This eliminates the need to manufacture the same model as a plurality of products for each destination, which is very advantageous in terms of development cost, manufacturing cost, and product distribution. In addition, since the writing is done only once at the time of shipment, the sale that purchased the private branch exchange on the regular route by cross-flowing the product (re-exporting the product exported to a cheap country to another country and selling it cheaper than the regular route) Store dealers do not suffer from disadvantages.

また、識別情報格納領域に1つの固有識別情報だけでなく複数の固有識別情報を格納することにより、構内交換機をルータのように運用することもできるし、呼制御シーケンス制御用のブロック(呼制御用CPU)に呼制御専用の固有識別情報を割り当て、音声パケット(RTPパケット)処理ブロック(RTPパケット処理用CPU)に別の固有識別情報を割り当てることによりシステムの負荷を分散させることも可能となる。   Further, by storing not only one unique identification information but also a plurality of unique identification information in the identification information storage area, the private branch exchange can be operated like a router, and a call control sequence control block (call control It is also possible to distribute the system load by assigning unique identification information dedicated to call control to the CPU and assigning another unique identification information to the voice packet (RTP packet) processing block (RTP packet processing CPU). .

本発明は、各装置固有の固有識別情報を有して、この固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置に適用されて有益なものであり、特に構内交換機に好適なものである。   The present invention is useful when applied to an IP network communication apparatus that has unique identification information unique to each apparatus and performs IP network communication based on the unique identification information, and is particularly suitable for a private branch exchange. is there.

実施の形態1のIPネットワーク通信装置である構内交換機のブロック図Block diagram of a private branch exchange which is an IP network communication apparatus according to the first embodiment 図1のフラッシュメモリのメモリマップを示す図The figure which shows the memory map of the flash memory of FIG. 図1の構内交換機の識別情報セットプログラムのフローチャートFlowchart of identification information set program for private branch exchange in FIG. 図1の構内交換機の識別情報セットプログラムの機能ブロック図Functional block diagram of the identification information set program of the private branch exchange shown in FIG. 実施の形態2のフラッシュメモリのメモリマップを示す図The figure which shows the memory map of the flash memory of Embodiment 2. 実施の形態2の構内交換機のブートプログラム更新プログラムのフローチャートFlowchart of a boot program update program for a private branch exchange according to the second embodiment 図6のブートプログラム更新プログラムの要部の機能ブロック図Functional block diagram of the main part of the boot program update program of FIG. 従来のフラッシュメモリの利用状態におけるメモリマップを説明する図The figure explaining the memory map in the use condition of the conventional flash memory

符号の説明Explanation of symbols

100 構内交換機(IPネットワーク通信装置)
101 中央演算処理装置
102 フラッシュメモリ(読み書き可能な不揮発性メモリ)
103 ランダムアクセスメモリ
104 入力部
105 出力部
106 外部記憶装置
107 通信制御部
108 回線制御部
109、201 ブートプログラム格納領域
110、202 運用プログラム格納領域
111 プログラム・データ格納領域
112 設定端末
113 識別情報一時格納領域
114 バス
203 識別情報格納領域
204 設定用識別情報格納領域
401 識別情報取り出し手段
402 識別情報判断手段
403 設定用識別情報取り出し手段
404 通信制御設定手段
405 通信制御手段
501 識別情報コピー格納領域
701 識別情報取り出し手段
702 識別情報コピー手段
703 フラッシュメモリ消去手段
704 ブートプログラム取得手段
705 ブートプログラム格納手段
706 識別情報格納手段
100 Private branch exchange (IP network communication device)
101 Central processing unit 102 Flash memory (read-write nonvolatile memory)
103 Random Access Memory 104 Input Unit 105 Output Unit 106 External Storage Device 107 Communication Control Unit 108 Line Control Unit 109, 201 Boot Program Storage Area 110, 202 Operation Program Storage Area 111 Program / Data Storage Area 112 Setting Terminal 113 Identification Information Temporary Storage Area 114 Bus 203 Identification information storage area 204 Setting identification information storage area 401 Identification information extraction means 402 Identification information determination means 403 Setting identification information extraction means 404 Communication control setting means 405 Communication control means 501 Identification information copy storage area 701 Identification information Extraction means 702 Identification information copy means 703 Flash memory erasure means 704 Boot program acquisition means 705 Boot program storage means 706 Identification information storage means

Claims (3)

各装置固有の固有識別情報を有し固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置であって、
前記IPネットワーク通信装置のブートプログラムと前記固有識別情報を格納する識別情報格納領域とを含むブートプログラム格納領域と、前記ブートプログラム格納領域外に前記固有識別情報のコピーを格納する識別情報コピー格納領域とを有するフラッシュメモリと、
前記ブートプログラムの更新時に前記フラッシュメモリの識別情報格納領域から前記固有識別情報を取得する識別情報取り出し手段と、
取得した前記固有識別情報を識別情報コピー格納領域に待避させる識別情報コピー手段と、
前記フラッシュメモリブートプログラムおよび固有識別情報を含む前記ブートプログラム格納領域を消去するフラッシュメモリ消去手段と、
外部から更新ブートプログラムを取得するブートプログラム取得手段と、
取得した更新ブートプログラムを前記ブートプログラム格納領域に格納するブートプログラム格納手段と、
待避させた前記固有識別情報を前記識別情報コピー格納領域から前記識別情報格納領域へコピーする識別情報格納手段とを有することを特徴とするIPネットワーク通信装置。
An IP network communication device that has unique identification information unique to each device and performs IP network communication based on the unique identification information,
And the boot program storage area including the identification information storage area for storing the unique identification information and the boot program of the IP network communication apparatus, identification information copy storage area for storing a copy of said unique identification information to the outside of the boot program storage area A flash memory having
Identification information extracting means for acquiring the unique identification information from the identification information storage area of the flash memory when the boot program is updated ;
An identification information copy means for saving the acquired unique identification information in an identification information copy storage area;
A flash memory erasing means for erasing the boot program storage area including a boot program and a unique identification information of the flash memory,
A boot program acquisition means for acquiring an updated boot program from the outside;
Boot program storage means for storing the acquired updated boot program in the boot program storage area;
An IP network communication apparatus comprising: identification information storage means for copying the saved unique identification information from the identification information copy storage area to the identification information storage area.
各装置固有の固有識別情報を有し固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置のブートプログラム更新方法であって、
前記IPネットワーク通信装置のブートプログラムと前記固有識別情報を格納する識別情報格納領域とを含むブートプログラム格納領域と、前記ブートプログラム格納領域外に前記固有識別情報のコピーを格納する識別情報コピー格納領域とをフラッシュメモリに配置し
前記ブートプログラムの更新時に前記フラッシュメモリの識別情報格納領域から前記固有識別情報を取得し、
取得した前記固有識別情報を識別情報コピー格納領域に待避させ、
前記フラッシュメモリブートプログラムおよび固有識別情報を含む前記ブートプログラム格納領域を消去し、
外部から更新ブートプログラムを取得し、
取得した更新ブートプログラムを前記ブートプログラム格納領域に格納し、
待避させた前記固有識別情報を前記識別情報コピー格納領域から前記識別情報格納領域へコピーすることを特徴とするIPネットワーク通信装置のブートプログラム更新方法。
A boot program update method for an IP network communication device that has unique identification information unique to each device and performs IP network communication based on the unique identification information,
A boot program storage area including a boot program of the IP network communication device and an identification information storage area for storing the unique identification information; and an identification information copy storage area for storing a copy of the unique identification information outside the boot program storage area And place it in flash memory ,
Obtaining the unique identification information from the identification information storage area of the flash memory when updating the boot program ;
The acquired unique identification information is saved in the identification information copy storage area,
Erasing the boot program storage area including the boot program and unique identification information of the flash memory ,
Obtain an updated boot program from the outside,
Store the obtained update boot program in the boot program storage area,
A boot program update method for an IP network communication apparatus, wherein the saved unique identification information is copied from the identification information copy storage area to the identification information storage area.
各装置固有の固有識別情報を有し固有識別情報に基づいてIPネットワーク通信を行うIPネットワーク通信装置に搭載される記憶装置に記憶され、前記IPネットワーク通信装置のブートプログラム更新するブートプログラム更新プログラムであって、
前記ブートプログラムと前記固有識別情報を格納する識別情報格納領域とを含むブートプログラム格納領域と、前記ブートプログラム格納領域外に前記固有識別情報のコピーを格納する識別情報コピー格納領域とを有するフラッシュメモリ前記識別情報格納領域から前記固有識別情報を取得する識別情報取り出し手段と、
取得した前記固有識別情報を識別情報コピー格納領域に待避させる識別情報コピー手段と、
前記フラッシュメモリブートプログラムおよび固有識別情報を含む前記ブートプログラム格納領域を消去するフラッシュメモリ消去手段と、
外部から更新ブートプログラムを取得するブートプログラム取得手段と、
取得した更新ブートプログラムを前記ブートプログラム格納領域に格納するブートプログラム格納手段と、
待避させた前記固有識別情報を前記識別情報コピー格納領域から前記識別情報格納領域へコピーする識別情報格納手段とを有することを特徴とするブートプログラム更新プログラム。
A boot program update program that has unique identification information unique to each device and is stored in a storage device mounted on an IP network communication device that performs IP network communication based on the unique identification information, and updates a boot program of the IP network communication device Because
A flash memory having a boot program storage area including the boot program and an identification information storage area for storing the unique identification information, and an identification information copy storage area for storing a copy of the unique identification information outside the boot program storage area the identification information extraction means from the identification information storage region and acquires the unique identification information,
An identification information copy means for saving the acquired unique identification information in an identification information copy storage area;
A flash memory erasing means for erasing the boot program storage area including a boot program and a unique identification information of the flash memory,
A boot program acquisition means for acquiring an updated boot program from the outside;
Boot program storage means for storing the acquired updated boot program in the boot program storage area;
A boot program update program, comprising: identification information storage means for copying the saved unique identification information from the identification information copy storage area to the identification information storage area.
JP2005050434A 2005-02-25 2005-02-25 IP network communication device and boot program update method Expired - Fee Related JP4654711B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005050434A JP4654711B2 (en) 2005-02-25 2005-02-25 IP network communication device and boot program update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005050434A JP4654711B2 (en) 2005-02-25 2005-02-25 IP network communication device and boot program update method

Publications (2)

Publication Number Publication Date
JP2006236044A JP2006236044A (en) 2006-09-07
JP4654711B2 true JP4654711B2 (en) 2011-03-23

Family

ID=37043620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005050434A Expired - Fee Related JP4654711B2 (en) 2005-02-25 2005-02-25 IP network communication device and boot program update method

Country Status (1)

Country Link
JP (1) JP4654711B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03135130A (en) * 1989-10-19 1991-06-10 Brother Ind Ltd Electronic device
JPH05300152A (en) * 1992-04-22 1993-11-12 Seiichi Miyazaki Address setter
JPH0695988A (en) * 1992-09-11 1994-04-08 Nippon Telegr & Teleph Corp <Ntt> Program file updating system
JPH06214926A (en) * 1992-11-18 1994-08-05 Canon Inf Syst Inc Discrimination device, remote storage method, remote change method, remote storage device and write device
JPH10271138A (en) * 1997-01-21 1998-10-09 Nittan Co Ltd Transmission system
JP2000250746A (en) * 1999-02-25 2000-09-14 Fujitsu Ltd Data conversion system for exchange

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03135130A (en) * 1989-10-19 1991-06-10 Brother Ind Ltd Electronic device
JPH05300152A (en) * 1992-04-22 1993-11-12 Seiichi Miyazaki Address setter
JPH0695988A (en) * 1992-09-11 1994-04-08 Nippon Telegr & Teleph Corp <Ntt> Program file updating system
JPH06214926A (en) * 1992-11-18 1994-08-05 Canon Inf Syst Inc Discrimination device, remote storage method, remote change method, remote storage device and write device
JPH10271138A (en) * 1997-01-21 1998-10-09 Nittan Co Ltd Transmission system
JP2000250746A (en) * 1999-02-25 2000-09-14 Fujitsu Ltd Data conversion system for exchange

Also Published As

Publication number Publication date
JP2006236044A (en) 2006-09-07

Similar Documents

Publication Publication Date Title
KR100880415B1 (en) Storage device
CN103377689B (en) Storage device and wireless communication control method thereof
JP4888742B2 (en) Information processing apparatus and method, and program
JP2002099441A (en) Communication terminal apparatus and its operating method
JP2000222292A (en) Data managing method utilizing flash memory
JP2007206895A (en) Ic card
JP4654711B2 (en) IP network communication device and boot program update method
US8694138B2 (en) Sound data processing appartus
CN107423075A (en) The register method and user terminal of driving
WO2012088785A1 (en) Data access method and mobile terminal
KR100743253B1 (en) Method and apparatus for correcting code data error
KR100811559B1 (en) Method and apparatus managing data storage partitions for non-volatile memory
KR100316584B1 (en) Flash Memory To Share With Booting And Main Operation Program In System And Upgrade Method In That Memory
KR100662291B1 (en) Module program realization method in mobile terminal
WO2018233258A1 (en) Data storage method and device, multifunctional card, storage medium
TWI406175B (en) Memory card and method for memory card
JP6325355B2 (en) Portable electronic device
JPH10108230A (en) Radio selective call receiver
JP2001092713A (en) Device and method for writing data
TWI779437B (en) File reading method and non-transitory computer readable storage medium
JP2003281487A (en) Portable electronic device, and method for providing application and data area in memory
KR100622816B1 (en) System software update method and system in mobile terminal
JP3668204B2 (en) Portable electronic device and data area allocation method
JP2004227306A (en) Ic card with download program erasing function and download program erasing method with the same
JP3764385B2 (en) Telephone exchange equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080201

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080312

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100802

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

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

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees