JP2010212990A - Call control unit, method, and program - Google Patents

Call control unit, method, and program Download PDF

Info

Publication number
JP2010212990A
JP2010212990A JP2009056895A JP2009056895A JP2010212990A JP 2010212990 A JP2010212990 A JP 2010212990A JP 2009056895 A JP2009056895 A JP 2009056895A JP 2009056895 A JP2009056895 A JP 2009056895A JP 2010212990 A JP2010212990 A JP 2010212990A
Authority
JP
Japan
Prior art keywords
call control
write
station data
information
updated
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.)
Granted
Application number
JP2009056895A
Other languages
Japanese (ja)
Other versions
JP5304338B2 (en
Inventor
Kenryo Kobayashi
健了 小林
Toshiyuki Yoshida
敏之 吉田
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.)
Oki Networks Co Ltd
Original Assignee
Oki Networks 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 Oki Networks Co Ltd filed Critical Oki Networks Co Ltd
Priority to JP2009056895A priority Critical patent/JP5304338B2/en
Publication of JP2010212990A publication Critical patent/JP2010212990A/en
Application granted granted Critical
Publication of JP5304338B2 publication Critical patent/JP5304338B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Exchange Systems With Centralized Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow call control applications and call control information updated in a main memory to be stored in nonvolatile memory. <P>SOLUTION: A call control unit generates a RAM disk region section on a volatile memory, loads call control applications and call control information stored in a nonvolatile memory to the volatile memory for call processing, and stores write information to the nonvolatile memory in the RAM disk region. The call control unit includes an update detection processing means for detecting write information to a region in the nonvolatile memory for storing the call control application and call control information loaded to the volatile memory by call processing from write information of a RAM disk region, and a write processing means for writing write information to regions of call control applications and call control information out of write information in a RAM disk region to the nonvolatile memory, based on detection by the update detection processing means. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、呼制御装置、方法及びプログラムに関し、例えば、交換機のメインメモリで更新された呼制御情報(例えば、局データ、加入者データ等)及び呼制御アプリケーションを適宜に不揮発性メモリに記憶する呼制御装置、方法及びプログラムに適用し得るものである。   The present invention relates to a call control apparatus, method, and program, and for example, appropriately stores call control information (for example, station data, subscriber data, etc.) updated in a main memory of a switch and a call control application in a nonvolatile memory. The present invention can be applied to call control apparatuses, methods, and programs.

旧来の電子交換機では、交換システムで動作させる呼制御アプリケーション及び局データを、揮発性メモリに格納した状態で運用する構成をとるのが一般的である。   Conventional electronic exchanges generally have a configuration in which a call control application and station data that are operated in an exchange system are stored in a volatile memory.

電子交換機に電源を投入すると、呼制御アプリケーション及び局データが、不揮発性メモリから揮発性メモリに呼び込まれる。そのため、電子交換機の呼制御アプリケーション及び局データの更新を行う際に、運用中のデータ更新のための揮発性メモリへの更新作業と、次回の電子交換機の起動の際に読み出されることとなる不揮発性メモリへの更新作業の2つの更新作業が必要になる。   When the electronic switch is turned on, the call control application and station data are loaded from the non-volatile memory into the volatile memory. Therefore, when updating the call control application and station data of the electronic exchange, the update work to the volatile memory for data update in operation and the nonvolatile data to be read at the next startup of the electronic exchange Two update operations, that is, an update operation to the volatile memory are required.

また、現代の電子交換機として、揮発性メモリとしてのDIMM(Dual Inline Memory Module)や不揮発性メモリとしてのSSD(Solid State Drive)の採用、RAMディスクによる揮発性メモリ及び不揮発性メモリの管理方法の適用がある。   In addition, as a modern electronic exchange, adopting DIMM (Dual Inline Memory Module) as volatile memory and SSD (Solid State Drive) as nonvolatile memory, application of volatile memory and nonvolatile memory management method by RAM disk There is.

現代の電子交換機においても、呼制御アプリケーション及び局データの更新の際には、揮発性メモリと不揮発性メモリとの双方の更新が必要である。   Even in a modern electronic exchange, when a call control application and station data are updated, it is necessary to update both the volatile memory and the nonvolatile memory.

例えば、特許文献1に記載の技術は、操作者が保守コンソールから交換機のメモリ書き込みプログラム及びメモリ読み出しプログラムを制御し、メモリから情報を出し入れするという技術が記載されている。   For example, the technique described in Patent Document 1 describes a technique in which an operator controls a memory write program and a memory read program of an exchange from a maintenance console and puts information in and out of the memory.

さらに、現代の電子交換機の構成としては、例えば汎用的なPC/AT互換のMB(Main Bord)で外部記憶装置としてSSDを有し、メインメモリとしてDIMMを有するものが挙げられる。   Further, as a configuration of a modern electronic exchange, for example, a general-purpose PC / AT compatible MB (Main Bord) having an SSD as an external storage device and having a DIMM as a main memory can be cited.

この場合、DIMM上にRAMディスクを形成し、DIMMを記憶装置のように扱える仮想ディスク(Virtual Disk)の技術が利用されることがある。ところが、RAMディスク領域は揮発性メモリ(DIMM)内に生成した仮装ディスク領域なので、例えば停電などにより交換機への給電が絶たれシステムダウンすると、RAMディスク上のデータは、交換機のリセットに伴い消去されるため、適宜、RAMディスクの内容をSSDに反映する必要がある。   In this case, there is a case in which a RAM disk is formed on the DIMM and a virtual disk technology that can handle the DIMM like a storage device may be used. However, since the RAM disk area is a virtual disk area created in volatile memory (DIMM), for example, if the power supply to the exchange is cut off due to a power failure or the like, the data on the RAM disk is erased when the exchange is reset. For this reason, it is necessary to appropriately reflect the contents of the RAM disk on the SSD.

このRAMディスクに適用される仮想ディスクの技術としてEWF(Enhanced Write Filter)等が存在し、例えば特許文献2には、RAMディスクの内容をDMA転送で磁気ディスクに書き込む方法が示されている。   As a virtual disk technology applied to the RAM disk, there is EWF (Enhanced Write Filter) and the like. For example, Patent Document 2 shows a method of writing the contents of a RAM disk to a magnetic disk by DMA transfer.

特開平5−300229号公報Japanese Patent Laid-Open No. 5-300229 特開平2−39342号公報JP-A-2-39342

ところで、汎用的なMBに、不揮発性メモリのSSDの記憶装置、揮発性メモリのDIMMのメモリを有し、DIMM上にRAMディスクを形成して動作する交換機において、電源が投入されOSが起動すると、例えばOS状態情報、OS起動ログ、ネットワークからのアクセスログ、呼制御アプリケーションの起動ログ、呼制御により発生する課金情報等を記憶するためにディスクI/Oが発生する。このディスクI/Oは、EWFの仕組みでRAMディスク領域に書き込み情報として保存される。   By the way, in a general-purpose MB which has a nonvolatile memory SSD storage device and a volatile memory DIMM memory and operates by forming a RAM disk on the DIMM, when the power is turned on and the OS starts up For example, disk I / O is generated to store OS status information, OS startup log, network access log, call control application startup log, billing information generated by call control, and the like. This disk I / O is stored as write information in the RAM disk area by the EWF mechanism.

また、例えばバグの修正や機能追加等のために作業者がSSD内に記憶されている呼制御アプリケーションをバージョンアップする場合や、例えば交換機の収容端末の増減に伴って局データを更新する場合にもディスクI/Oが行われ、ディスクI/OがEWFの仕組みでRAMディスク領域に書き込み情報として保存される。   In addition, for example, when a worker upgrades a call control application stored in the SSD to correct a bug or add a function, or when updating station data as the number of terminals accommodated in an exchange increases or decreases, for example. Also, disk I / O is performed, and the disk I / O is stored as write information in the RAM disk area by the EWF mechanism.

しかしながら、呼制御アプリケーション及び局データは、交換機として最低限必要な要素であり、直ちにSSDに記憶する必要がある。   However, the call control application and the station data are the minimum necessary elements for the exchange and need to be immediately stored in the SSD.

また、記憶装置として適用される不揮発性メモリのSSDは、その書き込み・削除回数に限界があるため(例えば10万回)、なるべくSSDへの書き込み・削除回数を減らし、SSDの寿命を延命させることが望まれる。   Further, since the SSD of a nonvolatile memory applied as a storage device has a limit in the number of times of writing / deleting (for example, 100,000 times), the number of times of writing / deleting to the SSD is reduced as much as possible to extend the life of the SSD. Is desired.

そのため、呼制御アプリケーションと呼制御情報(例えば局データなど)が更新されたときに、RAMディスク領域に保存される不揮発性メモリに対する書き込み情報の内容が不揮発性メモリ上に反映させることができ、かつ、書き込み・削除回数が限定されている不揮発性メモリの寿命を延命させることができる呼制御装置、方法及びプログラムが求められている。   Therefore, when the call control application and call control information (for example, station data) are updated, the content of the write information to the nonvolatile memory stored in the RAM disk area can be reflected on the nonvolatile memory, and Therefore, there is a need for a call control device, method, and program that can extend the life of a nonvolatile memory that has a limited number of write / delete operations.

第1の本発明の呼制御装置は、揮発性メモリ上にRAMディスク領域部を生成しておき、不揮発性メモリに格納される呼制御アプリケーション及び呼制御情報を揮発性メモリにローディングして呼処理を行い、不揮発性メモリに対する書き込み情報をRAMディスク領域に格納する呼制御装置において、(1)RAMディスク領域の書き込み情報から、呼処理により揮発性メモリにローディングされた呼制御アプリケーション及び又は呼制御情報を格納する不揮発性メモリの領域に対する書き込み情報を検知する更新検知処理手段と、(2)更新検知処理手段の検知に基づいてRAMディスク領域の書き込み情報のうち呼制御アプリケーション及び又は呼制御情報の領域に対する書き込み情報の不揮発性メモリへの書き込みを行う書き込み処理手段を備えることを特徴とする。   The call control device according to the first aspect of the present invention generates a RAM disk area on a volatile memory, loads a call control application and call control information stored in the nonvolatile memory into the volatile memory, and performs call processing. In the call control device that stores the write information to the nonvolatile memory in the RAM disk area, (1) the call control application and / or call control information loaded into the volatile memory by call processing from the write information in the RAM disk area Update detection processing means for detecting write information to the area of the non-volatile memory storing (2) a call control application and / or call control information area of the write information in the RAM disk area based on detection by the update detection processing means Write processing for writing write information to non-volatile memory Characterized in that it comprises means.

第2の本発明の呼制御方法は、揮発性メモリ上にRAMディスク領域部を生成しておき、不揮発性メモリに格納される呼制御アプリケーション及び呼制御情報を揮発性メモリにローディングして呼処理を行い、不揮発性メモリに対する書き込み情報をRAMディスク領域に格納する呼制御装置の呼制御方法において、(1)更新検知処理手段が、RAMディスク領域の書き込み情報から呼処理により揮発性メモリにローディングされた呼制御アプリケーション及び又は呼制御情報を格納する不揮発性メモリの領域に対する書き込み情報を検知する更新検知処理工程と、(2)書き込み処理手段が、更新検知処理手段の検知に基づいてRAMディスク領域の書き込み情報のうち呼制御アプリケーション及び又は呼制御情報の領域に対する書き込み情報の不揮発性メモリへの書き込みを行う書き込み処理工程を有することを特徴とする。   The call control method according to the second aspect of the present invention creates a RAM disk area on a volatile memory, loads a call control application and call control information stored in the nonvolatile memory into the volatile memory, and performs call processing. In the call control method of the call control device for storing the write information for the nonvolatile memory in the RAM disk area, (1) the update detection processing means is loaded into the volatile memory by the call process from the write information in the RAM disk area. An update detection processing step for detecting write information to the area of the non-volatile memory for storing the call control application and / or call control information, and (2) the write processing means Write to the call control application and / or call control information area of the write information It characterized in that it has a write process to write to the nonvolatile memory information.

第3の本発明の呼制御プログラムは、揮発性メモリ上にRAMディスク領域部を生成しておき、不揮発性メモリに格納される呼制御アプリケーション及び呼制御情報を揮発性メモリにローディングして呼処理を行い、不揮発性メモリに対する書き込み情報をRAMディスク領域に格納する呼制御装置を、(1)RAMディスク領域の書き込み情報から、呼処理により揮発性メモリにローディングされた呼制御アプリケーション及び又は呼制御情報を格納する不揮発性メモリの領域に対する書き込み情報を検知する更新検知処理手段と、(2)更新検知処理手段の検知に基づいてRAMディスク領域の書き込み情報のうち呼制御アプリケーション及び又は呼制御情報の領域に対する書き込み情報の不揮発性メモリへの書き込みを行う書き込み処理手段として機能させることを特徴とする。   A call control program according to a third aspect of the present invention generates a RAM disk area on a volatile memory, loads a call control application and call control information stored in the nonvolatile memory into the volatile memory, and performs call processing. And (1) a call control application and / or call control information loaded into the volatile memory by call processing from the write information in the RAM disk area. Update detection processing means for detecting write information to the area of the non-volatile memory storing (2) a call control application and / or call control information area of the write information in the RAM disk area based on detection by the update detection processing means Write processing for writing write information to non-volatile memory Characterized in that to function as a unit.

本発明によれば、呼制御アプリケーションと呼制御情報(例えば局データなど)が更新されたときに、RAMディスク領域に格納される書き込み情報の内容が不揮発性メモリ上に反映させることができ、かつ、書き込み・削除回数が限定されている不揮発性メモリの寿命を延命させることができる。   According to the present invention, when the call control application and call control information (for example, station data) are updated, the contents of the write information stored in the RAM disk area can be reflected on the nonvolatile memory, and Thus, the lifetime of the nonvolatile memory in which the number of writing / deleting is limited can be extended.

第1〜第5の実施形態の交換機の内部構成を示す構成図である。It is a block diagram which shows the internal structure of the exchange of the 1st-5th embodiment. 第1〜第5の実施形態の通話システムの構成を示す構成図である。It is a block diagram which shows the structure of the telephone system of 1st-5th embodiment. 第1の実施形態の交換機において、フラッシュメモリ部への書き込み処理を示すフローチャートである。4 is a flowchart illustrating a writing process to a flash memory unit in the exchange according to the first embodiment. 第1の実施形態の交換機においてフラッシュメモリ部への書き込み処理示すフローチャートである。4 is a flowchart illustrating a writing process to a flash memory unit in the exchange according to the first embodiment. 第1の実施形態の書き込み処理の機能部の構成を示すブロック図である。It is a block diagram which shows the structure of the function part of the write-in process of 1st Embodiment. フラッシュメモリ部への書き込み処理を説明する説明図である。It is explanatory drawing explaining the write-in process to a flash memory part. 第2の実施形態の書き込み処理の機能部の構成を示すブロック図である。It is a block diagram which shows the structure of the function part of the write-in process of 2nd Embodiment. 第2の実施形態の交換機においてフラッシュメモリ部への書き込み処理示すフローチャートである。10 is a flowchart illustrating a writing process to a flash memory unit in the exchange according to the second embodiment. 第3の実施形態の書き込み処理の機能部の構成を示すブロック図である。It is a block diagram which shows the structure of the function part of the write-in process of 3rd Embodiment. 第3の実施形態の交換機においてフラッシュメモリ部への書き込み処理示すフローチャートである。14 is a flowchart illustrating a writing process to a flash memory unit in the exchange according to the third embodiment. フラッシュメモリ部の保存領域の構成と、局データ及び呼制御プログラムの書き換えとを説明する説明図である。It is explanatory drawing explaining the structure of the preservation | save area | region of a flash memory part, and rewriting of station data and a call control program. 第4の実施形態のフラッシュメモリ部への書き込みを判断する判断テーブルの構成を示す構成図である。It is a block diagram which shows the structure of the judgment table which judges the writing to the flash memory part of 4th Embodiment. 第5の実施形態のフラッシュメモリ部への書き込みを判断する判断テーブルの構成を示す構成図である。It is a block diagram which shows the structure of the judgment table which judges the writing to the flash memory part of 5th Embodiment.

(A)第1の実施形態
以下では、本発明の呼制御装置、方法及びプログラムの第1の実施形態について、図面を参照しながら説明する。
(A) First Embodiment Hereinafter, a first embodiment of a call control device, method, and program of the present invention will be described with reference to the drawings.

第1の実施形態は、揮発性メモリ上にRAMディスク領域を生成しておき、不揮発性メモリに格納される呼制御アプリケーション及び呼制御情報(局データ、加入者データ等)を揮発性メモリにローディングして呼制御を行い、不揮発性メモリに対する書き込み情報をRAMディスク領域に格納する呼制御装置に、本発明を適用する実施形態を説明する。   In the first embodiment, a RAM disk area is generated on a volatile memory, and a call control application and call control information (station data, subscriber data, etc.) stored in the nonvolatile memory are loaded into the volatile memory. An embodiment in which the present invention is applied to a call control apparatus that performs call control and stores write information to a nonvolatile memory in a RAM disk area will be described.

(A−1)第1の実施形態の構成
図2は、第1の実施形態の通話システムの全体構成を示す全体構成図である。また、図1は、第1の実施形態の交換機の構成を示す構成図である。
(A-1) Configuration of the First Embodiment FIG. 2 is an overall configuration diagram showing the overall configuration of the call system of the first embodiment. FIG. 1 is a configuration diagram showing the configuration of the exchange according to the first embodiment.

図2において、第1の実施形態の通話システム10は、交換機1、電話端末2−1〜2−n(nは正の整数)を有して構成される。   In FIG. 2, the call system 10 of the first embodiment includes an exchange 1 and telephone terminals 2-1 to 2-n (n is a positive integer).

図1において、第1の実施形態の交換機1は、制御部11、通信部12、RAM部13、フラッシュメモリ部15を少なくとも有して構成される。   In FIG. 1, the exchange 1 according to the first embodiment includes at least a control unit 11, a communication unit 12, a RAM unit 13, and a flash memory unit 15.

通信部12は、接続する通信回線との間で、所定の通信方式に従って情報の送受信を行うものである。通信部12の接続回線は、例えばアナログ回線、IP(インターネットプロトコル)回線、ディジタル回線、光回線等を適用することができ、又通信方式は、種々の方式を適用することができる。   The communication unit 12 transmits / receives information to / from a communication line to be connected according to a predetermined communication method. As the connection line of the communication unit 12, for example, an analog line, an IP (Internet protocol) line, a digital line, an optical line, or the like can be applied, and various communication methods can be applied.

制御部11は、交換機1の呼制御機能を司るものであり、例えばCPU等が該当する。   The control unit 11 controls the call control function of the exchange 1 and corresponds to, for example, a CPU.

RAM部13は、揮発性メモリであり、DIMMを適用することができる。また、RAM部13は、メモリ領域上の一部にRAMディスク部14を形成するものである。   The RAM unit 13 is a volatile memory, and a DIMM can be applied. The RAM unit 13 forms a RAM disk unit 14 in a part of the memory area.

RAMディスク部14は、フラッシュメモリ部15に対する書き込み情報を格納する領域である。   The RAM disk unit 14 is an area for storing write information for the flash memory unit 15.

フラッシュメモリ部15は、不揮発性メモリであり、例えばSSDを適用することができる。また、フラッシュメモリ部15は、制御部11の制御を受けて、RAMディスク部14に格納される書き込み情報の内容を保存するものである。さらに、フラッシュメモリ部15は、OS(オペレーティングシステム)16、呼制御アプリケーション17、局データ18を格納する。この呼制御アプリケーション17と局データ18を、制御部11がRAM13に呼び込み(ローディング)呼制御に利用する。   The flash memory unit 15 is a nonvolatile memory, and for example, an SSD can be applied. The flash memory unit 15 stores the contents of the write information stored in the RAM disk unit 14 under the control of the control unit 11. Further, the flash memory unit 15 stores an OS (Operating System) 16, a call control application 17, and station data 18. The control unit 11 calls the call control application 17 and the station data 18 into the RAM 13 and uses it for loading call control.

OS16は、RAM部13上に生成されたRAMディスク部14を使用可能にするオペレーティングシステムであり、例えば、Microsoft(登録商標) Windows(登録商標) embeddedが適用できる。   The OS 16 is an operating system that allows the RAM disk unit 14 generated on the RAM unit 13 to be used. For example, Microsoft (registered trademark) Windows (registered trademark) embedded is applicable.

続いて、交換機1において、RAM部13にローディングされた呼制御アプリケーション17及び局データ18のいずれか又は両方を格納するフラッシュメモリ部15の領域に対する書き込み情報を検知する場合に、その検知に基づいてRAMディスク部14の書き込み情報のうち呼制御アプリケーション17及び局データ18のいずれか又は両方の書き込み情報の内容を、フラッシュメモリ部15に書き込みを行う書き込み処理の機能部を説明する。   Subsequently, in the exchange 1, when detecting write information to the area of the flash memory unit 15 storing either or both of the call control application 17 and the station data 18 loaded in the RAM unit 13, based on the detection. A description will be given of a functional unit of a writing process for writing the contents of the writing information of either or both of the call control application 17 and the station data 18 among the writing information of the RAM disk unit 14 to the flash memory unit 15.

なお、以下では、局データ18が更新された場合に、更新された局データ18をフラッシュメモリ部15に書き込む場合を例示するが、呼制御アプリケーション17の更新の場合も基本的には同様に機能する。   In the following, a case where the updated station data 18 is written in the flash memory unit 15 when the station data 18 is updated will be exemplified. However, the function is basically the same when the call control application 17 is updated. To do.

図5は、RAMディスク部14の内容をフラッシュメモリ部15に書き込み行う書き込み処理を実現する機能部の構成を示すブロック図である。   FIG. 5 is a block diagram illustrating a configuration of a functional unit that realizes a writing process for writing the contents of the RAM disk unit 14 to the flash memory unit 15.

図5に示すように、第1の実施形態の書き込み処理を実現する機能部としては、局データ更新検知部21、局データ呼び込み制御部22、局データ復旧部23、CPU使用率確認部24、書き込み制御部25がある。   As shown in FIG. 5, the functional units for realizing the writing process of the first embodiment include a station data update detecting unit 21, a station data calling control unit 22, a station data restoring unit 23, a CPU usage rate checking unit 24, There is a write controller 25.

局データ更新検知部21は、呼制御の開始後に、RAMディスク部14に格納される書き込み情報から、RAM部13にローディングされた局データ18を格納するフラッシュメモリ部15の領域に対する書き込み情報を検知することで局データ18が更新されたか否かを検知するものである。   The station data update detection unit 21 detects the write information for the area of the flash memory unit 15 that stores the station data 18 loaded in the RAM unit 13 from the write information stored in the RAM disk unit 14 after the call control is started. Thus, it is detected whether or not the station data 18 has been updated.

ここで、局データ18の更新検知方法としては、例えば、フラッシュメモリ部15に格納された局データ18のファイル名に対する書き込み情報を検知する方法等を適用することができる。このファイル名は、OS16がフラッシュメモリ部15をマウントした際のファイルシステムに基づくファイル名で、ファイルシステム中に存在するファイルの領域を特定する識別子である。また、ファイル名の表し方としては、単にファイル名を示す場合と、ファイルシステム中のディレクトリ構造を含めた絶対パス又は相対パスで示す場合が適用できる。   Here, as the update detection method of the station data 18, for example, a method of detecting write information for the file name of the station data 18 stored in the flash memory unit 15 can be applied. The file name is a file name based on the file system when the OS 16 mounts the flash memory unit 15, and is an identifier that identifies an area of the file existing in the file system. In addition, as a way of representing the file name, a case where the file name is simply indicated and a case where the file name is indicated by an absolute path or a relative path including a directory structure in the file system can be applied.

また、局データ更新検知部21は、局データ18を格納するフラッシュメモリ部15の領域に対する書き込み情報を検知するために、局データ18がローディングされるときに局データ18のファイル名を保持しておく。   Further, the station data update detection unit 21 holds the file name of the station data 18 when the station data 18 is loaded in order to detect write information to the area of the flash memory unit 15 that stores the station data 18. deep.

また、呼制御アプリケーション17の更新検知方法としては、上記のファイル名に対する書き込み情報を検知する方法に加え、例えば、呼制御アプリケーション18のバージョン変化を検知する方法等を適用することができる。この場合、局データ更新検知部21は、呼制御アプリケーション17を格納するフラッシュメモリ部15の領域に対する書き込み情報を検知するために、呼制御アプリケーション17がローディングされるときに呼制御アプリケーション17のファイル名又はバージョンを保持しておく。バージョンの情報は、呼制御アプリケーション17を呼び込んだ結果、出力する自律メッセージから受け取ることで取得できるものである。   As an update detection method for the call control application 17, for example, a method for detecting a change in the version of the call control application 18 or the like can be applied in addition to the method for detecting write information for the file name. In this case, the station data update detection unit 21 detects the write information to the area of the flash memory unit 15 in which the call control application 17 is stored, so that the file name of the call control application 17 is loaded when the call control application 17 is loaded. Or keep the version. The version information can be acquired by receiving from the autonomous message output as a result of calling the call control application 17.

局データ呼び込み制御部22は、局データ更新検知部21が局データ18の更新を検知した場合に、呼制御アプリケーション17に対して、更新された局データ18を呼び込ませるものである。   The station data call control unit 22 causes the call control application 17 to call the updated station data 18 when the station data update detection unit 21 detects the update of the station data 18.

局データ復旧部23は、呼制御アプリケーション17が更新された局データ18を呼び込む際に、更新された局データ18の呼び込みが失敗したときに、それ以前の局データ18を復旧するものである。   When the call control application 17 calls the updated station data 18, the station data recovery unit 23 recovers the previous station data 18 when the call of the updated station data 18 fails.

CPU使用率確認部24は、呼制御アプリケーション17により更新された局データ18の呼び込みが正常に行われた場合に、CPU使用率が閾値を超えているか否かを確認するものである。   The CPU usage rate confirmation unit 24 confirms whether or not the CPU usage rate exceeds a threshold value when the station data 18 updated by the call control application 17 is normally called.

書き込み制御部25は、RAMディスク部14に格納されている内容を、フラッシュメモリ部15に書き込み制御するものである。   The write control unit 25 controls to write the contents stored in the RAM disk unit 14 to the flash memory unit 15.

ここで、後述するフラッシュメモリ部15(例えばSSD)は、書き込み制限が設けられている(例えば10万回)。従って、最新の呼制御アプリケーション17及び局データ18を正しくフラッシュメモリ部15に効率的かつ有効に保存するために、第1の実施形態の書き込み制御部25は、フラッシュメモリ部15への書き込み制限を掛けながら行う。   Here, a flash memory unit 15 (for example, SSD), which will be described later, is provided with a write restriction (for example, 100,000 times). Therefore, in order to save the latest call control application 17 and the station data 18 correctly and efficiently in the flash memory unit 15, the write control unit 25 of the first embodiment restricts writing to the flash memory unit 15. Do it while hanging.

書き込み制御部25は、例えば、Enhanced Write Filter(以下、EWFという)を利用する。このEWFは、Microsoft Windows embeddedのOSに特有の機能であり、OSランタイムイメージへの書き込み制限を行う機能である。   The write control unit 25 uses, for example, an enhanced write filter (hereinafter referred to as EWF). This EWF is a function specific to the OS of Microsoft Windows embedding, and is a function that restricts writing to the OS runtime image.

これにより、RAM部13上のRAMディスク部14を保護パティーションに対する書き込み情報をリダイレクトする領域とし、RAMディスク部14に格納された書き込み情報をフラッシュメモリ部15の空き領域に格納することができる。つまり、リダイレクトする領域であるRAMディスク部14はEWFの仕組におけるオーバーレイの領域で、オーバーレイの領域にはディスクI/Oがリダイレクトされ書き込みI/O後のディスクの状態(I/O結果)を表すI/Oキャッシュ(ディスクイメージ)が保存される。したがって、このリダイレクトとはフラッシュメモリ部15に対するすべての書き込み情報をRAMディスク部14にキャッシュを格納し保存することである。   As a result, the RAM disk unit 14 on the RAM unit 13 can be used as an area for redirecting write information for the protection partition, and the write information stored in the RAM disk unit 14 can be stored in an empty area of the flash memory unit 15. That is, the RAM disk unit 14 which is an area to be redirected is an overlay area in the EWF mechanism, and the disk I / O is redirected to the overlay area and indicates the state of the disk after the write I / O (I / O result). An I / O cache (disk image) is stored. Therefore, this redirection means storing all the write information for the flash memory unit 15 in the RAM disk unit 14 in a cache.

そのため、図6に示すように、フラッシュメモリ部(SSD)15からのデータ読み込みや、RAMディスク部(オーバレイ)14へのデータ書き込み又は再読み込みが可能となる。再読み込みについては、RAMディスク部14に書き込み情報がある場合にはRAMディスク部14から書き込み情報に基づいて読み込みを行い、書き込み情報がない場合にはフラッシュメモリ部15から読み込みを行うことで再読込みを行う。   Therefore, as shown in FIG. 6, it is possible to read data from the flash memory unit (SSD) 15 and write or reread data to the RAM disk unit (overlay) 14. Rereading is performed by reading from the RAM disk unit 14 based on the written information when there is write information in the RAM disk unit 14, and by reading from the flash memory unit 15 when there is no written information. I do.

また、RAMディスク部14は、揮発性メモリであるRAM部13上に形成された領域なので、リブートするとRAMディスク部14の格納内容は破棄される。   Further, since the RAM disk unit 14 is an area formed on the RAM unit 13 which is a volatile memory, the contents stored in the RAM disk unit 14 are discarded upon reboot.

さらに、第1の実施形態では、RAMディスク部14に格納される書き込み情報から局データ18の更新を検知し、更新した場合にフラッシュメモリ部15に書き込むようにし、直接フラッシュメモリ部15への書き込まれないようにしたので、フラッシュメモリ部15への書き込み回数を削減することができる。   Furthermore, in the first embodiment, the update of the station data 18 is detected from the write information stored in the RAM disk unit 14, and when it is updated, the update is performed in the flash memory unit 15, and the write to the flash memory unit 15 is performed directly. Thus, the number of times of writing to the flash memory unit 15 can be reduced.

さらに、急な電源断(例えば、PKG抜去、交換機1の電源OFF等)に対してシステムを保護することができる。   Furthermore, the system can be protected against a sudden power interruption (for example, removal of PKG, power-off of the exchange 1).

(A−2)第1の実施形態の動作
次に、第1の実施形態の交換機1において、RAMディスク部14の内容をフラッシュメモリ部15に書き込みを行う処理の動作を、図面を参照しながら説明する。
(A-2) Operation of the First Embodiment Next, in the exchange 1 of the first embodiment, the operation of processing for writing the contents of the RAM disk unit 14 to the flash memory unit 15 will be described with reference to the drawings. explain.

以下では、図1において、最初に電話端末2−1及び電話端末2−2のみが交換機1と接続しており、その後新たに電話端末2−nが追加され、この追加に伴い局データ18を更新する場合を例示して説明する。   In the following, in FIG. 1, only the telephone terminal 2-1 and the telephone terminal 2-2 are initially connected to the exchange 1, and then a new telephone terminal 2-n is added. A case of updating will be described as an example.

なお、以下では、局データ18の更新の場合を例示するが、呼制御アプリケーション17の更新の場合にも基本的な処理は同様の処理で実現できる。   In the following, the case of updating the station data 18 is exemplified, but the basic processing can be realized by the same processing also in the case of updating the call control application 17.

ただし、図4のステップS41では、局データ18の場合と呼制御アプリケーション17の場合とで具体的な処理が異なるので、この点について後で詳細に説明する。   However, in step S41 of FIG. 4, the specific processing differs between the case of the station data 18 and the case of the call control application 17, and this will be described in detail later.

図3は、第1の実施形態の交換機1における局データが更新されない場合の処理を示すフローチャートである。また、図4は、第1の実施形態の交換機1における局データの更新後の処理を示すフローチャートである。   FIG. 3 is a flowchart illustrating processing when the station data is not updated in the exchange 1 according to the first embodiment. FIG. 4 is a flowchart showing a process after updating the station data in the exchange 1 according to the first embodiment.

まず、交換機1に電源が投入されて起動すると、交換機1は呼制御を開始できるよう準備する。   First, when the exchange 1 is powered on and activated, the exchange 1 prepares to start call control.

具体的には、交換機1において、OS16が起動し(ステップS31)、RAM部13の領域にRAMディスク部14が構築され(ステップS32)、呼制御アプリケーション17の起動(ステップS33)及び局データ18の呼び込み(ステップS34)が行われ、かかる後に呼制御を開始(ステップS35)する。ここで、OS16はRAMディスク部14を構築する機能を有しており、これを使用することでRAM部13の領域にRAMディスク部14を構築することができる。RAMディスク部14の構築後は、OS状態情報、OS起動ログ、ネットワークからのアクセスログ、呼制御アプリケーションの起動ログ、呼制御により発生する課金情報等を記憶するためのフラッシュメモリ部15に対する書き込みは、RAMディスク部14に書き込み情報として格納される。
ステップS36で、交換機1が電話端末2−1及び電話端末2−2間の呼制御を開始した後、局データ18の更新がない場合であって、交換機1においてシャットダウンした場合(ステップS37)、RAMディスク部14の内容をフラッシュメモリ部15に書き込み(ステップS38)、この書き込み終了後に、交換機1が停止する。
Specifically, in the exchange 1, the OS 16 is activated (step S31), the RAM disk unit 14 is constructed in the area of the RAM unit 13 (step S32), the call control application 17 is activated (step S33), and the station data 18 Is called (step S34), and then call control is started (step S35). Here, the OS 16 has a function of constructing the RAM disk unit 14. By using this, the RAM disk unit 14 can be constructed in the area of the RAM unit 13. After the RAM disk unit 14 is constructed, writing to the flash memory unit 15 for storing OS status information, OS startup log, network access log, call control application startup log, billing information generated by call control, etc. And stored as write information in the RAM disk unit 14.
In step S36, after the exchange 1 starts the call control between the telephone terminal 2-1 and the telephone terminal 2-2, when the station data 18 is not updated and the exchange 1 is shut down (step S37), The contents of the RAM disk unit 14 are written into the flash memory unit 15 (step S38), and the exchange 1 stops after the completion of the writing.

ステップS38において、フラッシュメモリ部15への書き込みについては、OS16のシャットダウン処理の一環として実行されるため、書き込みの際には、CPU使用率は参照されない。このステップS38は、RAMディスク部14のすべての内容をフラッシュメモリ部15に書き込むものである。   In step S38, writing to the flash memory unit 15 is executed as part of the shutdown process of the OS 16, and therefore the CPU usage rate is not referred to when writing. In this step S38, all the contents of the RAM disk unit 14 are written into the flash memory unit 15.

なお、ステップS36において局データの更新がなく、さらに交換機1がシャットダウンしない場合(ステップS37)には、通常の運用中であるとみなし、フラッシュメモリ部15への書き込みアクセスを行わない。   If the station data is not updated in step S36 and the exchange 1 does not shut down (step S37), it is considered that the normal operation is being performed, and write access to the flash memory unit 15 is not performed.

ステップS36において、交換機1で呼制御が行われている状態で、局データ18が更新されたことを検出した際の動作について図4を参照しながら説明する。   The operation when it is detected in step S36 that the station data 18 has been updated in a state where the call control is being performed in the exchange 1 will be described with reference to FIG.

例えば、交換機1が新たに電話端末2−nを収容することに伴い、局データ18が更新されると(ステップS36)、ステップS41に遷移する。   For example, when the exchange 1 is newly accommodated with the telephone terminal 2-n and the station data 18 is updated (step S36), the process proceeds to step S41.

ここで、更新された局データ18はRAMディスク部14に書き込み情報として格納される。   Here, the updated station data 18 is stored in the RAM disk unit 14 as write information.

なお、ここでの事例では1台の電話端末の追加を例示しているが、長時間に亘る大容量の局データ18の更新作業を考慮して、局データ18の更新を検知した後に、一定時間待ち状態とし、この待ち状態の間に局データ18が更新されなかった場合に局データ18の更新作業が終了したとみなして処理ステップS41に遷移させるようにしてもよい。   In this example, the addition of one telephone terminal is exemplified. However, in consideration of the updating operation of the large-capacity station data 18 over a long period of time, the update of the station data 18 is detected and then fixed. A time waiting state may be set, and if the station data 18 is not updated during this waiting state, it is considered that the updating operation of the station data 18 has been completed, and the process proceeds to processing step S41.

この場合、待ち状態の間に局データ18が更新された場合には、局データ18の更新作業が継続する可能性があると判断し、局データ18の更新作業が終了するまでステップS41への処理に遷移させることを保留させる。   In this case, if the station data 18 is updated during the waiting state, it is determined that there is a possibility that the update operation of the station data 18 may continue, and the process proceeds to step S41 until the update operation of the station data 18 is completed. Defer transition to processing.

ステップS41では、呼制御アプリケーション17が、局データ18を正常に呼び込めることを確認する。そして、呼制御アプリケーション17が局データ18の呼び込みに成功した場合は前記局データ18をフラッシュメモリ部15に書き込み可能と判断し、ステップS42に遷移する。   In step S41, the call control application 17 confirms that the station data 18 can be called normally. If the call control application 17 has successfully called the station data 18, it is determined that the station data 18 can be written to the flash memory unit 15, and the process proceeds to step S42.

ここで、呼び込む局データ18は更新された局データ18であるから、呼制御アプリケーション17はRAMディスク部14の書き込み情報に基づいて再読み込みし、局データ18を呼び込む。   Here, since the station data 18 to be called is the updated station data 18, the call control application 17 rereads based on the write information in the RAM disk unit 14 and calls the station data 18.

なお、局データ18の呼び出し方法としては、例えば、更新されたデータのみを呼び込む方法(例えば、新たな電話端末2−nに関する局データ18のみを呼び出す方法等)、局データ18全体を呼び込む方法等を適用することができる。   In addition, as a calling method of the station data 18, for example, a method of calling only updated data (for example, a method of calling only the station data 18 related to the new telephone terminal 2-n), a method of calling the entire station data 18, etc. Can be applied.

呼制御アプリケーション17が正常に局データ18を呼び込めない場合、ステップS37に遷移して通常の運用状態に戻り、RAMディスク部14の内容をフラッシュメモリ部15に書き込まないようにする(ステップS41)。   If the call control application 17 cannot normally call the station data 18, the process goes to step S37 to return to the normal operation state, and the contents of the RAM disk unit 14 are not written to the flash memory unit 15 (step S41).

ここで、上述したように、局データ18の呼び込みの正常性判断の具体的な方法と、呼制御アプリケーション17の呼び込みの正常性判断の具体的な方法とは異なるので、この点について詳細に説明する。   Here, as described above, the specific method of determining the normality of the call of the station data 18 is different from the specific method of determining the normality of the call of the call control application 17, so this point will be described in detail. To do.

(ア)局データ18の呼び込みの正常性判断の方法
呼制御アプリケーション17による局データ18の呼び込みの正常性判断の方法としては、次の2つのいずれか又は双方を適用することができる。なお、次の2つのいずれか又は双方を適用するか否かは予め交換機1に設定しておくことで実現できる。
(A) Method for determining normality of calling of station data 18 As a method of determining the normality of calling of station data 18 by the call control application 17, either or both of the following two can be applied. Whether or not to apply one or both of the following two can be realized by setting in the exchange 1 in advance.

第1の方法は、呼制御アプリケーション17が局データ18を呼び込むためのルーチン(routine)のリターンコードで正常に呼び込めたか否かを判断する方法である。リターンコード0のとき正常に呼び込みができたことを示し、リターンコード1のとき正常に呼び込みができなかったことを示す。この場合、制御部11は、呼制御アプリケーションからリターンコードを受け取るインタフェースを有することが必要であり、このインタフェースを介して受け取ったリターンコードから判断することで実現できる。   The first method is a method for determining whether or not the call control application 17 has been normally called by a routine return code for calling the station data 18. A return code of 0 indicates that the call was successful, and a return code of 1 indicates that the call was not successful. In this case, the control unit 11 needs to have an interface for receiving a return code from the call control application, and can be realized by making a determination from the return code received via this interface.

第2の方法は、呼制御アプリケーション17が局データ18を呼び込んだ結果、出力する自律メッセージにより正常に呼び込んだか否かを判断する方法である。呼制御アプリケーション17は、局データ18を呼び込んだ際、正常に呼び込めたか否かを自律メッセージに出力する。この自律メッセージはログファイルに出力される場合と、OSの標準出力に出力される場合とを適用できる。この場合、制御部11は、ログファイルにアクセスするインタフェース又は標準出力を受け取るインタフェースを有することが必要であり、制御部11がログの内容から正常に呼び込めたか否かを判断する。具体的には、制御部11はログの内容から、自律メッセージのタイプが通常メッセージであることを示す「#・・」を検索できた場合、局データ18のローディングが成功して出力されていることを判断し、局データ18を正常に呼び込めたものと判断し、通常メッセージを示す「#・・」を検索できなかった場合、局データ18のローディングが成功して出力されていないと判断し、局データ18の呼び込みが正常でないと判断することができる。   The second method is a method of determining whether or not the call control application 17 has called normally by the output autonomous message as a result of calling the station data 18. When the call control application 17 calls the station data 18, the call control application 17 outputs to the autonomous message whether or not it has been normally called. The case where this autonomous message is output to a log file and the case where it is output to the standard output of the OS can be applied. In this case, the control unit 11 needs to have an interface for accessing the log file or an interface for receiving the standard output, and determines whether the control unit 11 has successfully called from the log contents. Specifically, when the control unit 11 is able to search “#...” Indicating that the type of the autonomous message is a normal message from the contents of the log, the loading of the station data 18 has been successfully output. If it is determined that the station data 18 has been successfully called and “#...” Indicating a normal message cannot be retrieved, it is determined that the loading of the station data 18 has not been successfully performed. Therefore, it can be determined that the calling of the station data 18 is not normal.

ここで、自律メッセージには、例えば、重要度により最緊急メッセージ、緊急メッセージ、エラーメッセージおよび通常メッセージの4つのタイプがある。   Here, there are four types of autonomous messages, for example, the most urgent message, the urgent message, the error message, and the normal message depending on the importance.

例えば、最緊急メッセージはメッセージの冒頭に「***」が付与されるもので、呼制御アプリケーションのシステム動作確認により装置のハード及びソフトを含めて障害の状態と検出し、呼処理を再開できないシステムダウンの状態を示すものである。緊急メッセージはメッセージの冒頭に「**・」が付与されるもので、呼制御アプリケーションのシステム動作確認は行っていないが装置が故障の状態であり、故障状態で強制的に呼処理を継続しシステムダウンに至る恐れがある状態を示すものである。エラーメッセージはメッセージの冒頭に「*・・」が付与されるもので、呼処理エラーやプログラムエラーの状態を示すものである。通常メッセージはメッセージの冒頭に「#・・」が付与されるもので、局データのローディングの成功、回線接続成功、PKG挿抜、PKG制御などの状態を示すものである。   For example, the most urgent message is given “***” at the beginning of the message, and the call control application cannot detect the failure status including the hardware and software of the device by checking the system operation of the call control application and resume the call processing. Indicates a system down state. The emergency message is prefixed with “**.”, And the system operation check of the call control application has not been performed, but the device is in a failure state, and call processing is forcibly continued in the failure state. This indicates a state where there is a risk of system down. The error message is given with “* ..” at the beginning of the message, and indicates the status of a call processing error or a program error. The normal message is given “#...” At the beginning of the message and indicates the status of station data loading success, line connection success, PKG insertion / removal, PKG control, and the like.

なお、第1の実施形態では、第1の方法により、制御部11が、呼制御アプリケーション17による局データ18の呼び込みが正常に行われたことを判断する場合を示す。   In the first embodiment, a case where the control unit 11 determines that the call of the station data 18 by the call control application 17 has been normally performed by the first method is shown.

また、呼制御アプリケーション17が局データ18の呼び込みに失敗した場合、その局データ18を以前の局データ18に復旧するようにしても良い。   If the call control application 17 fails to call the station data 18, the station data 18 may be restored to the previous station data 18.

この局データ18の復旧方法としては、例えば、フラッシュメモリ部15から局データ18を再度RAM部13に呼び込んで復旧する方法を適用したりRAM部13で以前の局データ18を保持しておき、新しい局データ18の呼び出しに失敗した場合に、その更新前の局データ18に切り戻す方法等を適用することができる。   As a method for restoring the station data 18, for example, a method of recalling the station data 18 from the flash memory unit 15 to the RAM unit 13 again and applying the method of restoring the station data 18 or holding the previous station data 18 in the RAM unit 13, When calling of the new station data 18 fails, a method of switching back to the station data 18 before the update can be applied.

(イ)呼制御アプリケーションデータ17の呼び込みの正常性判断の方法
呼制御アプリケーション17を呼び込んだ結果、出力する自律メッセージにより正常に呼び込めたか否かを判断する方法である。呼制御アプリケーション17は、自身が呼び込まれた際、呼び込みにより自身が障害や異常を検出すると自律メッセージに出力する。この自律メッセージはログファイルに出力される場合と、OSの標準出力に出力される場合とを適用できる。この場合、制御部11は、ログファイルにアクセスするインタフェース又は標準出力を受け取るインタフェースを有することが必要であり、制御部11がログの内容から正常に呼び込めたか否かを判断する。具体的には、交換機1で呼制御アプリケーション17を呼び込み障害や異常を検出せず呼処理をし、更新により新たな呼制御アプリケーション17を呼び込み障害や異常を検出し自律メッセージに出力すれば、新たな呼制御アプリケーション17は正常でないと判断できる。
(A) Method of determining normality of call of call control application data 17 This is a method of determining whether or not the call control application 17 has been normally called by the output autonomous message as a result of calling the call control application 17. When the call control application 17 is called, when the call control application 17 detects a failure or abnormality by the call, the call control application 17 outputs an autonomous message. The case where this autonomous message is output to a log file and the case where it is output to the standard output of the OS can be applied. In this case, the control unit 11 needs to have an interface for accessing the log file or an interface for receiving the standard output, and determines whether the control unit 11 has successfully called from the log contents. Specifically, if the exchange 1 performs the call processing without detecting the call failure or abnormality in the exchange 1 and detects the failure or abnormality of the new call control application 17 by update and outputs it as an autonomous message, It can be determined that the call control application 17 is not normal.

したがって、制御部11はログの内容から、「***」を検索し自律メッセージの最緊急メッセージが出力されていないことを判断することで障害や異常あるか否かを判断することができる。   Therefore, the control unit 11 can determine whether there is a failure or abnormality by searching for “***” from the contents of the log and determining that the most urgent message of the autonomous message has not been output.

ステップS42では、交換機1のCPU使用率がある閾値以下になった時点で、RAMディスク部14に保存される書き込み情報の内容をフラッシュメモリ部15に書き込めるようにし(ステップS43)、ステップS37に遷移する。   In step S42, when the CPU usage rate of the exchange 1 falls below a certain threshold, the contents of the write information stored in the RAM disk unit 14 can be written to the flash memory unit 15 (step S43), and the process proceeds to step S37. To do.

ステップS42を実行する時点でのCPU使用率が閾値より大きい場合、再度ステップS42に遷移し、CPU使用率が閾値を下回るまで待つ。   When the CPU usage rate at the time of executing step S42 is larger than the threshold value, the process proceeds to step S42 again and waits until the CPU usage rate falls below the threshold value.

ここで、CPU使用率の閾値の決定方法としては、交換機1の環境に応じて適宜決定することができるが、例えばWindows(登録商標)をOSに使用する場合においては、CPU使用率を80%以内の状態でコンピュータを動作させることを推奨することがあり、この推奨値からの猶予を見て、閾値を70%とする。他のOSによるRAMディスク部14からフラッシュメモリ部15への書き込み処理においても、同様にして閾値を決定することが可能であり、70%以外の値を設定可能であることは当然である。   Here, as a method for determining the threshold value of the CPU usage rate, it can be appropriately determined according to the environment of the exchange 1. For example, when Windows (registered trademark) is used for the OS, the CPU usage rate is set to 80%. In some cases, it is recommended to operate the computer within the range, and the threshold is set to 70% in view of the grace period from the recommended value. In the writing process from the RAM disk unit 14 to the flash memory unit 15 by another OS, it is possible to determine the threshold value in the same manner, and it is natural that a value other than 70% can be set.

ステップS43で、RAMディスク部14に格納される書き込み情報の内容をフラッシュメモリ部15に書き込めるようにしてステップS37に遷移し、交換機1が通常の動作をすれば、RAMディスク部14の内容が、フラッシュメモリ部15に書き込まれる。このステップS43は、RAMディスク部14に格納される書き込み情報のうち更新された局データ18の書き込み情報の内容をフラッシュメモリ部15に書き込むものである。   In step S43, the content of the write information stored in the RAM disk unit 14 can be written to the flash memory unit 15 so that the process proceeds to step S37, and if the exchange 1 operates normally, the content of the RAM disk unit 14 is The data is written in the flash memory unit 15. This step S43 is for writing the contents of the updated writing information of the station data 18 among the writing information stored in the RAM disk unit 14 into the flash memory unit 15.

なお、ステップS36の局データ18の更新の検知で、フラッシュメモリ部15に格納された局データ18のファイル名に対する書き込み情報を検知するので、ステップS43の書き込みの際、RAMディスク部14に格納される書き込み情報のうち更新された局データ18に関わる書き込み情報とそれ以外の書き込み情報を区別できるものである。   In addition, since the writing information for the file name of the station data 18 stored in the flash memory unit 15 is detected by detecting the update of the station data 18 in step S36, it is stored in the RAM disk unit 14 when writing in step S43. Among the write information, the write information related to the updated station data 18 and the other write information can be distinguished.

(A−3)第1の実施形態の効果
以上のように、第1の実施形態によれば、フラッシュメモリ部15に更新後の局データ18以外を書き込まない制限をしつつ、局データ18の更新要求のみで、RAMディスク部14に対してのみならず、フラッシュメモリ部15に対して更新後の局データ18を保存することができる。
(A-3) Effects of the First Embodiment As described above, according to the first embodiment, the station data 18 can be stored in the flash memory unit 15 while restricting other than the updated station data 18 from being written. The updated station data 18 can be stored not only in the RAM disk unit 14 but also in the flash memory unit 15 only by the update request.

これにより、局データ18の更新手順の簡素化、局データ18のフラッシュメモリ部15への更新漏れの防止、交換機1の故障によるRAMディスク部14の局データ18の消失に対する救済策の提供が可能となる。   As a result, it is possible to simplify the update procedure of the station data 18, prevent the update of the station data 18 from being updated in the flash memory unit 15, and provide a remedy for the loss of the station data 18 in the RAM disk unit 14 due to the failure of the exchange 1. It becomes.

(B)第2の実施形態
次に、本発明の呼制御装置、方法及びプログラムの第2の実施形態について図面を参照しながら説明する。
(B) Second Embodiment Next, a second embodiment of the call control device, method and program of the present invention will be described with reference to the drawings.

第1の実施形態では、局データ(又は呼制御アプリケーション)の更新があった場合に、局データの呼び込みが正常に行えたか否かを判断した後に、RAMディスク部に格納される書き込み情報の内容をフラッシュメモリ部に書き込む実施形態を例示した。   In the first embodiment, when the station data (or call control application) is updated, the content of the write information stored in the RAM disk unit is determined after determining whether the station data has been normally called. An embodiment is described in which is written in the flash memory unit.

しかしながら、更新後の局データのシンタックスが正常であるために、呼制御アプリケーションが呼び込みに成功できたとしても、実際の交換システムで正しく動作する保証は必ずしもない。   However, since the updated station data syntax is normal, there is no guarantee that the call control application will operate correctly in an actual switching system even if the call control application can be successfully called.

このような場合に、フラッシュメモリ部15への書き込みを許容すると、正しく動作し得ない局データをフラッシュメモリ部15に保存することになる。また、この余分な書き込み作業により書き込み回数を消費することにもなる。   In such a case, if writing to the flash memory unit 15 is allowed, station data that cannot operate correctly is stored in the flash memory unit 15. Further, this extra writing operation consumes the number of times of writing.

そこで、第2の実施形態は、局データの更新があった場合に、呼制御に成功したか否かを判断した後に、RAMディスク部に格納される書き込み情報の内容をフラッシュメモリ部に書き込む実施形態を例示する。   Therefore, in the second embodiment, when the station data is updated, after determining whether or not the call control is successful, the contents of the write information stored in the RAM disk unit are written in the flash memory unit. The form is illustrated.

(B−1)第2の実施形態の構成
第2の実施形態が第1の実施形態の構成と異なる点は、フラッシュメモリ部15への書き込み処理を実現する機能部である。そこで、第2の実施形態では、この書き込み処理の機能部の構成について詳細に説明し、第1の実施形態で既に説明した構成の説明については省略する。
(B-1) Configuration of Second Embodiment The second embodiment is different from the configuration of the first embodiment in the functional unit that realizes the writing process to the flash memory unit 15. Therefore, in the second embodiment, the configuration of the functional unit of the writing process will be described in detail, and the description of the configuration already described in the first embodiment will be omitted.

図7は、第2の実施形態のフラッシュメモリ部15への書き込みを行う書き込み処理の機能部の構成を示す構成図である。図7において、第2の実施形態の書き込み処理機能部は、局データ更新検知部21、局データ呼び込み制御部22、局データ復旧部23、CPU使用率確認部24、呼制御確認部26、呼制御エラー発生状況確認部27、異常通知部28、書き込み制御部25を有する。   FIG. 7 is a configuration diagram illustrating a configuration of a functional unit of a writing process for performing writing to the flash memory unit 15 of the second embodiment. In FIG. 7, the write processing function unit of the second embodiment includes a station data update detection unit 21, a station data call control unit 22, a station data recovery unit 23, a CPU usage rate confirmation unit 24, a call control confirmation unit 26, a call control unit 26, A control error occurrence status check unit 27, an abnormality notification unit 28, and a write control unit 25 are included.

なお、局データ更新検知部21、局データ呼び込み制御部22、局データ復旧部23、CPU使用率確認部24、書き込み制御部25は、第1の実施形態で説明した機能と同じであるので、ここでの説明を省略する。   The station data update detection unit 21, the station data call control unit 22, the station data restoration unit 23, the CPU usage rate confirmation unit 24, and the write control unit 25 have the same functions as those described in the first embodiment. The description here is omitted.

呼制御確認部26は、局データ18又は呼制御アプリケーション17が更新された後、当該交換機1がその更新された局データ18を用いて呼制御を行い、その呼制御が成功するか否かを確認するものである。   After the station data 18 or the call control application 17 is updated, the call control confirmation unit 26 performs call control using the updated station data 18 and determines whether or not the call control is successful. It is to confirm.

呼制御エラー発生状況確認部27は、呼制御確認部26により呼制御が失敗したと判断した場合に、局データ18又は呼制御アプリケーション17の更新から現時点までの呼制御エラーの発生状況を確認するものである。   The call control error occurrence status check unit 27 checks the call control error occurrence status from the update of the station data 18 or the call control application 17 to the current time when the call control check unit 26 determines that the call control has failed. Is.

異常通知部28は、呼制御のエラーが頻繁に発生するような場合に、交換機1の作業者に対し、更新後の局データ18又は呼制御アプリケーション17に異常があったこと、かかる異常に付随するエラーログ、更新後の局データ18又は呼制御アプリケーション17のフラッシュメモリ部15への書き込みが行われないこと、局データ18又は呼制御アプリケーション17への更新を破棄する旨のいずれか又はこれらを組み合わせた情報を通知するものである。エラーログの情報は、呼制御アプリケーション17を呼び込んだ結果、出力する自律メッセージから受け取ることで取得できるものである。   The abnormality notification unit 28 indicates that the updated station data 18 or the call control application 17 is abnormal to the operator of the exchange 1 when a call control error frequently occurs. The error log to be updated, the updated station data 18 or the writing of the call control application 17 to the flash memory unit 15 is not performed, or the update to the station data 18 or the call control application 17 is discarded or these It notifies the combined information. The error log information can be acquired by receiving from the autonomous message that is output as a result of calling the call control application 17.

(B−2)第2の実施形態の動作
次に、第2の実施形態の交換機1において、RAMディスク部14に格納される書き込み情報の内容をフラッシュメモリ部15に書き込みを行う書き込み処理の動作を図面を参照しながら説明する。
(B-2) Operation of Second Embodiment Next, in the exchange 1 of the second embodiment, an operation of a writing process for writing the contents of write information stored in the RAM disk unit 14 to the flash memory unit 15 Will be described with reference to the drawings.

第2の実施形態は、局データ18の更新後の処理が第1の実施形態と異なる。従って、局データ18が更新されない場合の処理(図3に示す処理)は、第1の実施形態と同じであるので、ここでの再度の説明は省略する。   The second embodiment differs from the first embodiment in the processing after updating the station data 18. Accordingly, the process when the station data 18 is not updated (the process shown in FIG. 3) is the same as that in the first embodiment, and thus the description thereof is omitted here.

なお、局データ18の更新の場合を例示するが、呼制御アプリケーション17の更新の場合を同様にして適用できる。   Although the case of updating the station data 18 is illustrated, the case of updating the call control application 17 can be applied in the same manner.

図8は、第2の実施形態の局データの更新後の処理を示すフローチャートである。   FIG. 8 is a flowchart illustrating processing after updating the station data according to the second embodiment.

まず、交換機1において呼制御の開始後、局データ18が更新するとステップS51に遷移する。   First, after the call control is started in the exchange 1, when the station data 18 is updated, the process proceeds to step S51.

ステップS51では、呼制御アプリケーション17が更新後の局データ18を呼び込むことにより、更新後の局データ18の正常性を確認すると(ステップS51)、呼制御アプリケーション17は、更新後の局データ18を使用して呼制御の実行を待つ(ステップS52)。   In step S51, when the call control application 17 confirms the normality of the updated station data 18 by calling the updated station data 18 (step S51), the call control application 17 reads the updated station data 18 into the updated station data 18. It is used to wait for execution of call control (step S52).

ステップS52において、例えば交換機1が電話端末2−nからの通話要求を受信する場合に、その呼制御が成功したとき、制御部11は、CPU使用率が閾値以下であるか否かを確認して閾値以下であれば(ステップS55)、RAMディスク部14に格納される書き込み情報の内容をフラッシュメモリ部15に書き込む(ステップS56)。   In step S52, for example, when the exchange 1 receives a call request from the telephone terminal 2-n and the call control is successful, the control unit 11 checks whether the CPU usage rate is equal to or less than a threshold value. If it is below the threshold value (step S55), the contents of the write information stored in the RAM disk unit 14 are written into the flash memory unit 15 (step S56).

ここで、実際の交換システム10の運用における呼制御確認のタイミングとしては、例えば、保守作業の確認時としても良いし、局データ18の更新後に最初のオペレータが発呼するタイミングとしても良い。すなわち、必ずしもリアルタイムに呼制御の確認を行う必要はない。   Here, the timing of the call control confirmation in the actual operation of the switching system 10 may be, for example, at the time of confirmation of maintenance work, or may be the timing at which the first operator makes a call after the station data 18 is updated. That is, it is not always necessary to confirm call control in real time.

一方、ステップS52では、例えば、着信先の無応答や着信先の話中といった発呼のタイミングにより解決可能な呼制御エラーや、また例えば、更新後の局データ18の内容と電話端末情報の相違の存在や、呼制御アプリケーション17やOS16の不具合といった、交換機1に起因する呼制御エラーが発生し得る。このような呼制御に関するエラーが生じた場合、呼制御に失敗したとして、ステップS53に遷移する。   On the other hand, in step S52, for example, a call control error that can be solved by the timing of the call such as no answer at the call destination or busy at the call destination, or the difference between the contents of the updated station data 18 and the telephone terminal information, for example May cause a call control error caused by the exchange 1, such as the presence of a problem or a malfunction of the call control application 17 or the OS 16. If such an error relating to call control occurs, it is determined that call control has failed and the process proceeds to step S53.

ステップS53では、局データ18の更新後から現時点までの、呼制御エラーの発生状況を確認する(ステップS53)。   In step S53, the occurrence state of the call control error from the update of the station data 18 to the present time is confirmed (step S53).

ここで、呼制御エラーの発生状況の確認としては、例えば、過去のエラー発生回数が少ない(閾値以下である場合)又はエラー発生頻度が低い(閾値以下である場合)には、直近の呼制御エラーは一時的な事象であるとみなし、ステップS52に遷移し、処理を繰り返す。   Here, as the confirmation of the occurrence status of the call control error, for example, when the number of past error occurrences is small (when it is less than the threshold) or the error occurrence frequency is low (when it is less than the threshold), the most recent call control is performed. The error is regarded as a temporary event, the process proceeds to step S52, and the process is repeated.

一方、過去の呼制御エラー発生回数が多い(閾値を超えている場合)又はエラー発生頻度が高い(閾値を超えている場合)、直近の局データ18の更新により呼制御を正常に行えなくなったとみなし、ステップS54に遷移する。   On the other hand, if the number of call control errors in the past is large (when the threshold value is exceeded) or the frequency of error occurrence is high (when the threshold value is exceeded), call control cannot be performed normally due to the latest update of the station data 18. Regardless, the process proceeds to step S54.

ここで、ステップS53におけるエラー発生状況の確認方法としては、種々の方法を適用できるが、例えば、所定時間の間に、所定回数以上の呼制御エラーが発生しているかどうかを確認する方法や、同種類の呼制御エラーが所定回数以上発生しているか否かを確認する方法や、ステップS52における全ての呼制御エラーが所定回数以上発生しているかどうかを確認する方法を適用することができる。   Here, various methods can be applied as the error occurrence status confirmation method in step S53, for example, a method for confirming whether or not a call control error has occurred a predetermined number of times during a predetermined time, A method for confirming whether or not the same type of call control error has occurred a predetermined number of times or a method for confirming whether or not all call control errors in step S52 have occurred a predetermined number of times or more can be applied.

なお、ステップS53からステップS54に遷移する場合には、制御部11は、交換機1の作業者に対し、更新後の局データ18に異常があったこと、かかる異常に付随するエラーログ、更新後の局データ18のフラッシュメモリ部15への書き込みが行われないこと、及び又は、局データ18への更新を破棄する旨を通知するようにしてもよい。   When the process proceeds from step S53 to step S54, the control unit 11 notifies the operator of the exchange 1 that there is an abnormality in the updated station data 18, an error log associated with the abnormality, and after the update. It may be notified that the station data 18 is not written to the flash memory unit 15 and / or the update to the station data 18 is discarded.

ステップS54では、直近の局データ18の更新を破棄し、更新直前の局データ18にロールバックして、図3のステップS37に遷移する(ステップS54)。   In step S54, the update of the latest station data 18 is discarded, the station data 18 immediately before the update is rolled back, and the process proceeds to step S37 in FIG. 3 (step S54).

このように、呼制御が正常に行われた後に、RAMディスク部14に格納される書き込み情報の内容をフラッシュメモリ部15に書き込むようにしたので、呼制御を正常に行えない局データ18をフラッシュメモリ部15に書き込むことを防ぐことができる。   As described above, since the contents of the write information stored in the RAM disk unit 14 are written in the flash memory unit 15 after the call control is normally performed, the station data 18 which cannot perform the call control normally is flashed. Writing to the memory unit 15 can be prevented.

また、局データ18の更新により呼制御が正常に行われなくなった場合であっても、過去の正常に動作することを保証された局データ18への回復及び回復後の局データ18を用いた交換機1の稼動、及び交換機1が稼動状態に復帰可能であることにより、局データ18の更新の失敗後であっても、局データ18に対する新たなデータ更新を受理することが可能となる。   Further, even when the call control is not normally performed due to the update of the station data 18, recovery to the station data 18 guaranteed to operate normally in the past and the station data 18 after the recovery are used. Since the switch 1 can be operated and the switch 1 can be returned to the operating state, it is possible to accept a new data update for the station data 18 even after the update of the station data 18 has failed.

(B−3)第2の実施形態の効果
以上のように、第2の実施形態では、第1の実施形態により得られる効果に加えて、実際に呼制御が可能な局データ18のみをRAMディスク部14の書き込み情報の内容からフラッシュメモリ部15に書き込むことが可能になった。
(B-3) Effects of the Second Embodiment As described above, in the second embodiment, in addition to the effects obtained by the first embodiment, only the station data 18 that can be actually controlled by the call is stored in the RAM. It is possible to write to the flash memory unit 15 from the contents of the write information in the disk unit 14.

これにより、交換機1として正常に動作する局データ18のみを選別してフラッシュメモリ部15に書き込むことが可能になる。   As a result, only the station data 18 that normally operates as the exchange 1 can be selected and written to the flash memory unit 15.

さらに、第2の実施形態によれば、呼制御に供することができない局データのフラッシュメモリ部15への書き込み処理による、フラッシュメモリ部15の書き込み回数の延命が可能になる。   Furthermore, according to the second embodiment, it is possible to extend the number of times of writing to the flash memory unit 15 by writing the station data that cannot be used for call control into the flash memory unit 15.

(C)第3の実施形態
次に、本発明の呼制御装置、方法及びプログラムの第3の実施形態について図面を参照しながら説明する。
(C) Third Embodiment Next, a third embodiment of the call control device, method and program of the present invention will be described with reference to the drawings.

第3の実施形態は、局データの更新があるときに、直ちにフラッシュメモリ部15に書き込みをした後にシステムを再起動又はシャットダウンする実施形態を例示して説明する。   The third embodiment will be described by exemplifying an embodiment in which, when station data is updated, the system is restarted or shut down immediately after writing to the flash memory unit 15.

(C−1)第3の実施形態の構成
第3の実施形態が第1の実施形態の構成と異なる点は、フラッシュメモリ部15への書き込みを行う書き込み処理の機能部の構成であるので、以下では、第3の実施形態の書き込み処理機能部の構成を詳細に説明し、第1の実施形態で既に説明した構成の説明については省略する。
(C-1) Configuration of the Third Embodiment The third embodiment is different from the configuration of the first embodiment in that the configuration of the functional unit of the write process that writes to the flash memory unit 15 is used. Hereinafter, the configuration of the write processing function unit of the third embodiment will be described in detail, and the description of the configuration already described in the first embodiment will be omitted.

図9は、第3の実施形態の書き込み処理の機能部の構成を示す構成図である。図9において、第3の実施形態の書き込み機能部は、局データ更新検知部21、局データ呼び込み制御部22、局データ復旧部23、CPU使用率確認部24、書き込み制御部25、再起動部29を有する。   FIG. 9 is a configuration diagram illustrating a configuration of a functional unit of the writing process according to the third embodiment. In FIG. 9, the write function unit of the third embodiment includes a station data update detection unit 21, a station data call control unit 22, a station data restoration unit 23, a CPU usage rate confirmation unit 24, a write control unit 25, and a restart unit. 29.

なお、局データ更新検知部21、局データ呼び込み制御部22、局データ復旧部23、CPU使用率確認部24、書き込み制御部25は、第1の実施形態で説明した機能と同じであるので、ここでの説明を省略する。   The station data update detection unit 21, the station data call control unit 22, the station data restoration unit 23, the CPU usage rate confirmation unit 24, and the write control unit 25 have the same functions as those described in the first embodiment. The description here is omitted.

再起動部29は、局データ18の更新があるときに、直ちにフラッシュメモリ部15に書き込みをした後にシステムを再起動又はシャットダウンするものである。   The restart unit 29 is for restarting or shutting down the system after immediately writing to the flash memory unit 15 when the station data 18 is updated.

(C−2)第3の実施形態の動作
次に、第3の実施形態の交換機1において、RAMディスク部14に格納される書き込み情報の内容をフラッシュメモリ部15に書き込みを行う書き込み処理の動作を、図面を参照しながら説明する。
(C-2) Operation of the Third Embodiment Next, in the exchange 1 of the third embodiment, the operation of the writing process for writing the contents of the write information stored in the RAM disk unit 14 to the flash memory unit 15 Will be described with reference to the drawings.

図10は、第3の実施形態の交換機1における処理を示すフローチャートである。図10において、図3に示す処理と同一の処理については、同一の番号を付与する。   FIG. 10 is a flowchart illustrating processing in the exchange 1 according to the third embodiment. In FIG. 10, the same processes as those shown in FIG.

交換機1においてOSが起動し、呼制御が開始した後(ステップS31〜S35)、呼制御アプリケーション17は、局データ18の更新を監視し、局データ18の更新がない限り、通常の交換機1を運用する(ステップS61)。   After the OS is activated and the call control is started in the exchange 1 (steps S31 to S35), the call control application 17 monitors the update of the station data 18, and the normal exchange 1 is not updated unless the station data 18 is updated. Operate (step S61).

ステップS61において、局データ18の更新処理が検知されると、ステップS62に遷移する。ステップS62では、RAMディスク部14に格納される書き込み情報の内容が、フラッシュメモリ部15に書き込まれる(ステップS62)。   If the update process of the station data 18 is detected in step S61, the process proceeds to step S62. In step S62, the contents of the write information stored in the RAM disk unit 14 are written in the flash memory unit 15 (step S62).

なお、局データ18の更新検知方法や、局データ18のフラッシュメモリ部15への書き込み方法は、第1の実施形態と同様の処理を適用できる。   Note that the same processing as in the first embodiment can be applied to the update detection method of the station data 18 and the method of writing the station data 18 to the flash memory unit 15.

また、ステップS61からステップS62に遷移する前に、第1又は第2の実施形態で説明した処理を適用することができる。   Further, before the transition from step S61 to step S62, the processing described in the first or second embodiment can be applied.

つまり、制御部11において監視しているCPU使用率が閾値を下回るまで待機させることも可能であること(図4におけるステップS42の挿入)、呼制御アプリケーション17が更新後の局データ18を呼び込み、かかる呼び込みが成功した場合にのみステップS62に遷移し、RAMディスク部14に格納された局データ18をフラッシュメモリ部15に書き込むことも可能であること(図4におけるステップS41の挿入)、および実際の呼制御が成功した場合にのみステップS62に遷移し、RAMディスク部14に格納された局データ18をフラッシュメモリ部15に書き込むことも可能であること(図8におけるステップS52の挿入)は当然である。   That is, it is possible to wait until the CPU usage rate monitored by the control unit 11 falls below the threshold (insertion of step S42 in FIG. 4), the call control application 17 calls the updated station data 18, Only when the call is successful, the process proceeds to step S62, and the station data 18 stored in the RAM disk unit 14 can be written to the flash memory unit 15 (insertion of step S41 in FIG. 4). Only when the call control is successful, the process proceeds to step S62, and the station data 18 stored in the RAM disk unit 14 can be written into the flash memory unit 15 (insertion of step S52 in FIG. 8). It is.

次に、ステップS63では、RAMディスク部14に格納された局データ18のフラッスメモリ部15への書き込み処理の終了後に、OS16は交換機1をシャットダウン又はリブートする。   Next, in step S63, the OS 16 shuts down or reboots the exchange 1 after the process of writing the station data 18 stored in the RAM disk unit 14 to the flash memory unit 15 is completed.

このように、OS16がシャットダウン又はリブートすることにより、RAMディスク部14を開放し、起動時に再度構築することで、RAMディスク部14のクリーンアップを行い、新たな局データ18をローディングした呼制御アプリケーション17で呼制御を行うことができる。   As described above, when the OS 16 is shut down or rebooted, the RAM disk unit 14 is released, and the RAM disk unit 14 is rebuilt at the time of startup, thereby cleaning up the RAM disk unit 14 and loading the new station data 18. 17 can perform call control.

また、交換機1がリブートされた場合、ステップS31に遷移し、再度呼制御を提供できる状態となる。   When the exchange 1 is rebooted, the process proceeds to step S31, where the call control can be provided again.

(C−3)第3の実施形態の効果
以上のように、第3の実施形態によれば、第1の実施形態の効果に加えて、更新された局データをフラッシュメモリ部15に書き込みした後に、OSが再起動することにより、再度RAMディスク部14をクリーンアップして再構築することができ、新たな局データ18で呼制御を行うことができる。
(C-3) Effects of Third Embodiment As described above, according to the third embodiment, in addition to the effects of the first embodiment, updated station data is written to the flash memory unit 15. Later, when the OS is restarted, the RAM disk unit 14 can be cleaned up again and rebuilt, and call control can be performed with the new station data 18.

(D)第4の実施形態
次の本発明の呼制御装置、方法及びプログラムの第4の実施形態を、図面を参照しながら説明する。
(D) Fourth Embodiment A call control apparatus, method and program according to a fourth embodiment of the present invention will be described with reference to the drawings.

第4の実施形態は、RAMディスク部14に格納される書き込み情報の内容をフラッシュメモリ部15に書き込む際、フラッシュメモリ部15の空き領域を判断した後に書き込みを行う実施形態を例示する。   The fourth embodiment exemplifies an embodiment in which, when the contents of write information stored in the RAM disk unit 14 are written to the flash memory unit 15, writing is performed after determining an empty area of the flash memory unit 15.

図11(A)は、フラッシュメモリ部15の保存領域を説明する説明図である。図11に示すように、フラッシュメモリ部15の保存領域の構成を見ると、OS16等の保存領域、呼制御アプリケーション17の保存領域、局データ18の保存領域があり、この他に空きの保存領域が存在する。   FIG. 11A is an explanatory diagram for explaining a storage area of the flash memory unit 15. As shown in FIG. 11, the configuration of the storage area of the flash memory unit 15 includes a storage area of the OS 16 and the like, a storage area of the call control application 17, and a storage area of the station data 18. In addition to this, there is an empty storage area. Exists.

このとき、局データ18又は呼制御アプリケーション17をフラッシュメモリ部15に書き込む際、この書き込みを許容するためには、空きの保存領域の容量を考慮する必要がある。   At this time, when the station data 18 or the call control application 17 is written in the flash memory unit 15, it is necessary to consider the capacity of an empty storage area in order to allow the writing.

つまり、図11(B)に示すように、新たにフラッシュメモリ部15に書き込みを行う局データ18の保存領域の容量は、現在の局データ18の保存領域の容量に、現在の局データ18の空きの保存領域の容量を加えた範囲内であることが望ましい。この点については、呼制御プログラムの場合も同様である。   That is, as shown in FIG. 11B, the capacity of the storage area of the station data 18 to be newly written to the flash memory unit 15 is equal to the capacity of the storage area of the current station data 18. It is desirable to be within a range including the capacity of an empty storage area. This also applies to the call control program.

そこで、第4の実施形態では、フラッシュメモリ部15に更新後の局データ18又は呼制御アプリケーション17を書き込む際に、空きの保存領域も判断する。   Therefore, in the fourth embodiment, when the updated station data 18 or the call control application 17 is written in the flash memory unit 15, an empty storage area is also determined.

書き込み制御部25は、第1〜第3の実施形態と同様の処理を行うと共に、フラッッ種メモリ部15への書き込みの際に、更新後の局データ18の保存領域の容量と、現在の局データ18の保存領域及び空き領域の容量とを比較して、その比較結果に応じて更新後の局データ18の書き込みをするか否かの判断を行う。   The write control unit 25 performs the same processing as in the first to third embodiments, and at the time of writing to the flat seed memory unit 15, the capacity of the storage area of the updated station data 18 and the current station The storage area of the data 18 and the capacity of the free area are compared, and it is determined whether or not to write the updated station data 18 according to the comparison result.

そして、書き込み制御部25は、書き込みOKと判断した場合、更新後の局データ18をフラッシュメモリ部18に書き込み、そうでない場合、更新後の局データ18の書き込みを行わない。なお、書き込み制御部25は、呼制御アプリケーション17の場合も同様に行う。   If the write control unit 25 determines that the write is OK, the updated station data 18 is written to the flash memory unit 18; otherwise, the updated station data 18 is not written. Note that the write control unit 25 performs the same for the call control application 17.

また、第3の実施形態ではフラッシュメモリ部15への書き込み終了後に、リブートなどを行う場合を説明したが、その場合でも、更新後の局データ18(又は呼制御アプリケーション17)をフラッシュメモリ部15に書き込んだ後にリブート等を行うため、更新後の局データ18等を担保することができる。つまり更新した最新の局データ(もしくは呼制御プログラム)をフラッシュメモリに記憶しつつ運用を継続ができる。   In the third embodiment, the case where rebooting or the like is performed after writing to the flash memory unit 15 has been described. Even in this case, the updated station data 18 (or the call control application 17) is stored in the flash memory unit 15 as well. Since the reboot or the like is performed after writing in the data, the updated station data 18 and the like can be secured. That is, operation can be continued while storing the latest updated station data (or call control program) in the flash memory.

この書き込み制御部25による判断方法としては、例えば、図12に示す判断テーブルを用いて行う。   As a determination method by the write control unit 25, for example, a determination table shown in FIG. 12 is used.

図12において、新たな呼制御アプリケーション17の保存領域の容量が、現在の呼制御プログラムの保存領域に空き領域を加えた保存領域の容量を超越する場合、書き込み制御部25は、新たな呼制御アプリケーション17のフラッシュメモリ部15への書き込みを行わない。   In FIG. 12, when the capacity of the storage area of the new call control application 17 exceeds the capacity of the storage area obtained by adding the empty area to the storage area of the current call control program, the write control unit 25 performs the new call control. The application 17 does not write to the flash memory unit 15.

一方、新たな呼制御アプリケーション17の保存領域の容量が、現在の呼制御プログラムの保存領域に空き領域を加えた保存領域の容量以下である場合、書き込み制御部25は、新たな呼制御アプリケーション17のフラッシュメモリ部15への書き込みを行う。   On the other hand, when the capacity of the storage area of the new call control application 17 is equal to or smaller than the capacity of the storage area obtained by adding the empty area to the storage area of the current call control program, the write control unit 25 sets the new call control application 17. Is written to the flash memory unit 15.

局データ18の場合も同様に、新たな局データ18の保存領域の容量が、現在の局データ18の保存領域に空き領域を加えた保存領域の容量を超越する場合、書き込み制御部25は、新たな局データ18のフラッシュメモリ部15への書き込みを行わない。   Similarly, in the case of the station data 18, when the capacity of the storage area of the new station data 18 exceeds the capacity of the storage area obtained by adding the empty area to the storage area of the current station data 18, the write control unit 25 The new station data 18 is not written to the flash memory unit 15.

一方、新たな局データ18の保存領域の容量が、現在の局データ18の保存領域に空き領域を加えた保存領域の容量以下である場合、書き込み制御部25は、新たな局データ18のフラッシュメモリ部15への書き込みを行う。   On the other hand, when the capacity of the storage area of the new station data 18 is equal to or less than the capacity of the storage area obtained by adding the empty area to the current storage area of the station data 18, the write control unit 25 flushes the new station data 18. Writing to the memory unit 15 is performed.

新たな局データ18及び呼制御アプリケーション17を、フラッシュメモリ部15に書き込みを行わない場合、RAMディスク部14上にキャッシュとして残る。しかし、再起動すると、その新たな局データ18及び呼制御アプリケーション17はフラッシュメモリ部15に保存されていないので、更新後の局データ18及び呼制御アプリケーション17を担保することはできない。つまり更新した最新の局データ(もしくは呼制御プログラム)で単に運用を継続する。   When the new station data 18 and the call control application 17 are not written in the flash memory unit 15, they remain as a cache on the RAM disk unit 14. However, when restarted, the new station data 18 and the call control application 17 are not stored in the flash memory unit 15, and therefore the updated station data 18 and the call control application 17 cannot be secured. In other words, the operation is simply continued with the updated latest station data (or call control program).

こうすることで、フラッシュメモリ部15の空き容量があるときに適宜にRAMディスク部14上の内容がフラッシュメモリ部15上に反映され、書き込み・削除回数の限定されているフラッシュメモリ部15の寿命を延命することができる。   By doing so, the contents of the RAM disk unit 14 are appropriately reflected on the flash memory unit 15 when there is free space in the flash memory unit 15, and the lifetime of the flash memory unit 15 with a limited number of write / delete operations Can prolong life.

例えば、WindowsなどのOSで、100MBの空き容量があるHDDに、300MBのファイルを書き込もうとするとき、300MBのうち100MB書き込みを行い101MBの書き込みを行うときにHDDの空き容量が無いという警告のポップアップウインドウが表示される。   For example, when trying to write a 300 MB file to an HDD with 100 MB of free space on an OS such as Windows, a pop-up warning that there is no free space on the HDD when writing 100 MB out of 300 MB and writing 101 MB A window is displayed.

このとき、HDDでは100MBの空き容量に100MBを書き込み、(HDDの空き容量が無いという警告のポップアップウインドウを作業者に表示し)その後、書き込んだ100MBを削除する処理をする。HDDがSSDである場合も同じであるから、書き込み・削除回数が限定されているSSDの寿命が目減りしてしまう。   At this time, the HDD writes 100 MB to 100 MB of free space (displays a warning pop-up window indicating that there is no free space on the HDD to the operator), and then deletes the written 100 MB. Since the same applies to the case where the HDD is an SSD, the life of the SSD having a limited number of writing / deleting operations is reduced.

しかし、第4の実施形態によれば、更新後の局データ18等の容量が、保存領域の容量を超えている場合には、その局データ18等の書き込み自体を行わないので、書き込み回数を減らすことができ、フラッシュメモリ部15の寿命を延命できる。   However, according to the fourth embodiment, when the capacity of the updated station data 18 or the like exceeds the capacity of the storage area, the station data 18 or the like is not written, so the number of times of writing is reduced. The life of the flash memory unit 15 can be extended.

(E)第5の実施形態
次に、本発明の呼制御装置、方法及びプログラムの第5の実施形態を、図面を参照しながら説明する。
(E) Fifth Embodiment Next, a fifth embodiment of the call control device, method and program of the present invention will be described with reference to the drawings.

第4の実施形態では、フラッシュメモリ部15への書き込みを行う際に、フラッシュメモリ部15の空き領域の容量を判断することとした。   In the fourth embodiment, the capacity of the free area of the flash memory unit 15 is determined when writing to the flash memory unit 15 is performed.

第5の実施形態では、第4の実施形態において、局データ18と呼制御アプリケーション17の双方が更新されたときに、フラッシュメモリ部15の空き領域に対し、局データ18と呼制御アプリケーション17の双方が書き込めるか否かの判断をし、書き込みをする実施形態を説明する。   In the fifth embodiment, when both the station data 18 and the call control application 17 are updated in the fourth embodiment, the station data 18 and the call control application 17 are compared with the free space in the flash memory unit 15. A description will be given of an embodiment in which it is determined whether or not both can write, and writing is performed.

書き込み制御部25は、第1〜第4の実施形態で説明した処理の他に、更新後の局データ18と更新後の呼制御アプリケーション17の双方を、フラッシュメモリ部15に書き込む際に、更新後の局データ18及び呼制御プログラムの双方の容量と、それぞれの空き領域の容量とを比較して、これら更新後の局データ18及び呼制御プログラムの書き込みを行うかどうかを判断するものである。   In addition to the processing described in the first to fourth embodiments, the write control unit 25 updates both the updated station data 18 and the updated call control application 17 when writing to the flash memory unit 15. The capacity of both the later station data 18 and the call control program is compared with the capacity of each free area, and it is determined whether or not to write the updated station data 18 and the call control program. .

この書き込み制御部25の判断方法としては、例えば、図13に示す判断テーブルを用いて判断する。   As a determination method of the write control unit 25, for example, the determination is performed using a determination table shown in FIG.

例えば、図3及び図4において、作業者により局データ18の更新が行われると、図3のステップS36から、図4のステップS41及びS42を経て、ステップS43に至る。このとき、ステップS43では、更新後の局データ18の容量が、フラッシュメモリ部15の空き領域の容量を超えるか又は容量以下であるかを判断し、所定時間の待ち状態となる。   For example, in FIG. 3 and FIG. 4, when the station data 18 is updated by the operator, the process goes from step S36 in FIG. 3 to step S43 through steps S41 and S42 in FIG. At this time, in step S43, it is determined whether the capacity of the updated station data 18 exceeds the capacity of the free area of the flash memory unit 15 or less than the capacity, and enters a waiting state for a predetermined time.

また、この待ち状態のあいだに、作業者により呼制御アプリケーション17の更新が行われると、図3のステップS36から、図4のステップS41及びS42を経て、ステップS43に至る。このときも、ステップS43では、呼制御アプリケーション17の容量が、フラッシュメモリ部15の空き領域の容量を用いた判断を行う。   If the operator updates the call control application 17 during this waiting state, the process goes from step S36 in FIG. 3 to steps S43 through steps S41 and S42 in FIG. Also at this time, in step S43, the call control application 17 capacity is determined using the capacity of the free area of the flash memory unit 15.

上記のような状況の場合、書き込み制御部25は、図13に示す判断テーブルを用いて判断を行う。   In the situation as described above, the write control unit 25 makes a determination using the determination table shown in FIG.

例えば、図13に示すように、「新たな局データ18の容量が空き領域の容量以下」で「新たな呼制御アプリケーション17の容量が空き領域の容量以下」の場合は、新たな局データ18及び呼制御アプリケーション17を、フラッシュメモリ部15に書き込みを行う。つまり、更新した最新の局データ18及び呼制御アプリケーション17を、フラッシュメモリ部15に記憶しつつ運用を継続する。   For example, as shown in FIG. 13, when “the capacity of the new station data 18 is equal to or less than the capacity of the free area” and “the capacity of the new call control application 17 is equal to or less than the capacity of the free area”, the new station data 18 The call control application 17 is written in the flash memory unit 15. That is, the updated latest station data 18 and the call control application 17 are stored in the flash memory unit 15 and the operation is continued.

一方、「新たな局データ18の容量が空き領域の容量を超え」で「新たな呼制御アプリケーション17の容量が空き領域の容量を超える」の場合は、新たな局データ18及び呼制御アプリケーション17のフラッシュメモリ部15への書き込みは行わない。   On the other hand, when “the capacity of the new station data 18 exceeds the capacity of the free area” and “the capacity of the new call control application 17 exceeds the capacity of the free area”, the new station data 18 and the call control application 17 Is not written to the flash memory unit 15.

ところで、図13に示すように、例えば、「新たな呼制御アプリケーション17の容量が空き領域の容量を超え」の条件で、「新たな局データ17の容量が空き領域の容量以下」となる場合、新たな局データ17は、空き容量以下であるから書き込みが可能だが、ここではNGの判断をし、書き込みを行わない。逆に、
これは、交換機特有の理由があるからである。旧来のD60形自動交換機などのディジタル交換機は、交換用プログラムと局データが備えられ、これらにより電話の接続処理をしている。この交換用プログラムはプログラムごとに局データの構成が異なっている。なぜなら交換用プログラムのシステムデータで信号形式やサービス条件が決定し、信号形式やサービス条件が決定したこの交換用プログラムを含む局の局条件としてハード構成や課金条件や番号計画などを決定するものが局データだからである。
By the way, as shown in FIG. 13, for example, when “the capacity of the new call control application 17 exceeds the capacity of the free area” and “the capacity of the new station data 17 is equal to or less than the capacity of the free area”. The new station data 17 can be written because it is less than the free capacity, but here, NG is determined and writing is not performed. vice versa,
This is because there are reasons specific to the exchange. Conventional digital exchanges such as the D60 type automatic exchange are provided with an exchange program and office data, and perform telephone connection processing using these programs. This exchange program has a different station data structure for each program. This is because the signal format and service conditions are determined by the system data of the replacement program, and the hardware configuration, billing conditions, numbering plan, etc. are determined as the station conditions of the station including the replacement program determined by the signal format and service conditions. Because it is station data.

交換用プログラムごとに局データの構成が異なるから、単に新たな局データを生成し、これを更新したとしても、交換用プログラムの信号形式やサービス条件に見合った構成の局データでなければ、この局データは交換用プログラムで利用できない。   Since the configuration of station data is different for each replacement program, even if new station data is simply generated and updated, if the station data is not configured in accordance with the signal format and service conditions of the replacement program, this Station data is not available in the replacement program.

また、単に新たな交換用プログラムを生成し、これを更新したとしても、新たな交換用プログラムの信号形式やサービス条件に見合った構成の局データがなければ、この交換用プログラムは利用できない。つまり、交換用プログラムと局データは双方が利用できるものを対にしておく必要がある。   Even if a new exchange program is simply generated and updated, this exchange program cannot be used unless there is station data having a configuration that matches the signal format and service conditions of the new exchange program. In other words, it is necessary to pair the exchange program and the station data that can be used by both.

したがって、第5の実施形態でも同様に、例えば図13の左の列の最上段から一つ下の段で「新たな呼制御プログラムが空き容量以上」の条件で、右から2列目の最上段から二つ下の段で「新たな局データが空き領域以下」となっている場合、新たな局データ18は空き容量以下であるから書き込みが可能だが、新たな呼制御アプリケーション17が空き容量以上なので、結局のところ新たな局データ18しか書き込めず、交換機1として動作できなくなる可能性が生じ得る。   Therefore, similarly in the fifth embodiment, for example, the second row from the right in the second row from the right under the condition that “the new call control program is free capacity or more” in the lower row from the uppermost row in FIG. If “new station data is less than the free area” in the two stages from the top, the new station data 18 can be written because it is less than the free capacity, but the new call control application 17 has a free capacity. Thus, after all, only new station data 18 can be written, and there is a possibility that the exchange 1 cannot be operated.

そのため、ここでは、局データ18及び呼制御アプリケーション17の書き込みを行わない。   Therefore, the station data 18 and the call control application 17 are not written here.

なお、ステップS43での待ち時間のあいだに、作業者による更新がないと第4の実施形態と同様の動作になる。   If there is no update by the operator during the waiting time in step S43, the operation is the same as in the fourth embodiment.

また、図13で、NGの判断のときは書き込みを行わず、RAMディスク上にキャッシュとして残るのみである。書き込みを行いませんので装置が再起動すると更新した局データおよび呼制御プログラムは担保されない。つまり更新した最新の局データおよび呼制御プログラムで単に運用を継続する。   Further, in FIG. 13, when NG is determined, writing is not performed, but only the cache remains on the RAM disk. Since writing is not performed, the updated station data and call control program are not secured when the device is restarted. That is, the operation is simply continued with the updated latest station data and call control program.

(F)他の実施形態
(F−1)第1〜第5の実施形態では、局データ18の更新を契機に、RAMディスク部14上の更新後の局データ18の内容をフラッシュメモリ部15に書き込む動作を説明したが、更新後の呼制御アプリケーション17の更新動作についても、同様の処理によりフラッシュメモリ部15に書き込むことができる。
(F) Other Embodiments (F-1) In the first to fifth embodiments, when the station data 18 is updated, the contents of the updated station data 18 on the RAM disk unit 14 are stored in the flash memory unit 15. However, the updated operation of the call control application 17 can also be written to the flash memory unit 15 by the same process.

(F−2)本発明は、アナログ電話に限定せず、IP電話等にも適用可能である。 (F-2) The present invention is not limited to an analog telephone but can be applied to an IP telephone or the like.

また、本発明は、交換機1のコンソールを経由した局データ18の更新、電話端末を経由した局データ18の更新、自動実行による局データ18の更新においても適用可能である。また、交換機1のコンソールについては、ローカルアクセス、リモートアクセスの別を問わない。   The present invention can also be applied to the update of the station data 18 via the console of the exchange 1, the update of the station data 18 via the telephone terminal, and the update of the station data 18 by automatic execution. Further, regarding the console of the exchange 1, it does not matter whether it is local access or remote access.

(F−3)第1〜第5の実施形態で、局データ18をフラッシュメモリ部15(SSD)に更新すると同時に、交換機1において重要な情報となる、呼処理するごとにRAMディスク領域の課金情報のファイル(データ)の書き込み情報の内容もフラッシュメモリ部15(SSD)に反映するようにしてもよい。 (F-3) In the first to fifth embodiments, the station data 18 is updated to the flash memory unit 15 (SSD), and at the same time, it becomes important information in the exchange 1, and the RAM disk area is charged every time call processing is performed. The contents of the write information in the information file (data) may also be reflected in the flash memory unit 15 (SSD).

(F−4)第5の実施形態においては、呼制御アプリケーション17と局データ18の双方を判断しましたが、主装置が加入者データを記憶する場合は、呼制御アプリケーションと局データと加入者データの3つの書き込みが行えるか否かの判断をしてもよい。 (F-4) In the fifth embodiment, both the call control application 17 and the station data 18 are determined. However, when the main unit stores the subscriber data, the call control application, the station data, and the subscriber It may be determined whether or not three data can be written.

ここで、加入者データは加入者に対するサービス条件をいう。これは、呼制御アプリケーションが決定すると局データの構成が決定し、局データの構成が決定すると加入者データの構成が決定する関係にある。   Here, subscriber data refers to service conditions for subscribers. This is a relationship in which the configuration of the station data is determined when the call control application is determined, and the configuration of the subscriber data is determined when the configuration of the station data is determined.

1…交換機、11…制御部、12…通信部、13…RAM部、14…RAMディスク部、
15…フラッシュメモリ部、16…OS、17…呼制御アプリケーション、
18…局データ、2−1〜2−n…電話端末、10…通話システム。
DESCRIPTION OF SYMBOLS 1 ... Switch, 11 ... Control part, 12 ... Communication part, 13 ... RAM part, 14 ... RAM disk part,
15 ... Flash memory section, 16 ... OS, 17 ... Call control application,
18 ... station data, 2-1 to 2-n ... telephone terminal, 10 ... call system.

Claims (11)

揮発性メモリ上にRAMディスク領域部を生成しておき、不揮発性メモリに格納される呼制御アプリケーション及び呼制御情報を上記揮発性メモリにローディングして呼処理を行い、上記不揮発性メモリに対する書き込み情報をRAMディスク領域に格納する呼制御装置において、
上記RAMディスク領域の書き込み情報から、呼処理により上記揮発性メモリにローディングされた上記呼制御アプリケーション及び又は上記呼制御情報を格納する上記不揮発性メモリの領域に対する書き込み情報を検知する更新検知処理手段と、
上記更新検知処理手段の検知に基づいて上記RAMディスク領域の書き込み情報のうち上記呼制御アプリケーション及び又は上記呼制御情報の領域に対する書き込み情報の不揮発性メモリへの書き込みを行う書き込み処理手段と
を備えることを特徴とする呼制御装置。
The RAM disk area is generated on the volatile memory, the call control application and the call control information stored in the nonvolatile memory are loaded into the volatile memory to perform call processing, and the write information to the nonvolatile memory Is stored in the RAM disk area,
Update detection processing means for detecting, from the write information in the RAM disk area, the call control application loaded into the volatile memory by call processing and / or the write information to the non-volatile memory area storing the call control information; ,
Write processing means for writing the call control application and / or the call control information area into the nonvolatile memory based on the detection of the update detection processing means. A call control device.
上記書き込み処理手段は、更新された上記呼制御アプリケーション及び又は上記呼制御情報の正常性を確認した後に、その更新された上記呼制御アプリケーション及び又は上記呼制御情報の上記不揮発性メモリへの書き込みを行うことを特徴とする請求項1に記載の呼制御装置。   The write processing means confirms the normality of the updated call control application and / or the call control information, and then writes the updated call control application and / or the call control information to the nonvolatile memory. The call control device according to claim 1, wherein the call control device performs the call control. 上記書き込み処理手段が、さらに当該呼制御装置のCPU使用率が閾値以下である場合に、その更新された上記呼制御アプリケーション及び又は上記呼制御情報の上記不揮発性メモリへの書き込みを行うことを特徴とする請求項2に記載の呼制御装置。   The write processing means further writes the updated call control application and / or the call control information to the nonvolatile memory when the CPU usage rate of the call control device is equal to or less than a threshold value. The call control device according to claim 2. 上記書き込み処理手段は、更新された上記呼制御アプリケーション及び又は上記呼制御情報を用いた呼制御処理が成功した後に、その更新された上記呼制御アプリケーション及び又は上記呼制御情報の上記不揮発性メモリへの書き込みを行うことを特徴とする請求項1〜3のいずれかに記載の呼制御装置。   The write processing means stores the updated call control application and / or the call control information in the nonvolatile memory after the call control process using the updated call control application and / or the call control information is successful. The call control device according to claim 1, wherein the call control device performs the following writing. 上記書き込み処理手段は、更新された上記呼制御アプリケーション及び又は上記呼制御情報を用いた呼制御処理が失敗した場合、更新前の上記呼制御アプリケーション及び又は上記呼制御情報を復旧させ、これを用いて再開させることを特徴とする請求項4に記載の呼制御装置。   If the call control process using the updated call control application and / or the call control information fails, the write processing means restores the call control application and / or the call control information before the update, and uses this The call control device according to claim 4, wherein the call control device is restarted. 上記書き込み処理手段が、更新された上記呼制御アプリケーション及び又は上記呼制御情報の上記不揮発性メモリへの書き込み後、直ちに再起動を行う請求項1〜5のいずれかに記載の呼制御装置。   The call control device according to claim 1, wherein the write processing unit restarts immediately after writing the updated call control application and / or the call control information into the nonvolatile memory. 上記書き込み処理手段が、上記不揮発性メモリに書き込みを行う前に、更新された上記呼制御アプリケーション又は上記呼制御情報の容量と、上記不揮発性メモリ上の空き領域の容量とを比較して保存領域の容量以下の場合に、上記不揮発性メモリへの書き込みを許容することを特徴とする請求項1〜6のいずれかに記載の呼制御装置。   The write processing means compares the updated capacity of the call control application or the call control information with the capacity of the free area on the non-volatile memory before writing to the non-volatile memory. The call control device according to claim 1, wherein writing to the nonvolatile memory is permitted when the capacity is equal to or less than a predetermined capacity. 上記書き込み処理手段が、更新された上記呼制御アプリケーションと上記呼制御情報との双方を上記不揮発性メモリに書き込みを行う前に、更新された上記呼制御アプリケーションの容量と空き領域の容量との比較、及び、更新された上記呼制御情報の容量と空き領域の容量との比較により、上記不揮発性メモリへの書き込みをするか否かを判断することを特徴とする請求項1〜7のいずれかに記載の呼制御装置。   Before the write processing means writes both the updated call control application and the call control information to the non-volatile memory, the updated capacity of the call control application is compared with the capacity of the free space. And determining whether or not to write to the non-volatile memory by comparing the capacity of the updated call control information with the capacity of a free area. The call control device according to 1. 上記書き込み処理手段が、更新された上記呼制御アプリケーション又は上記呼制御情報のいずれかの容量が空き領域の容量以下であっても、更新された上記呼制御情報又は上記呼制御アプリケーションが空き領域を超越している場合、上記不揮発性メモリへの書き込みを抑制することを特徴とする請求項8に記載の呼制御装置。   Even if the capacity of either the updated call control application or the call control information is less than or equal to the capacity of the free area, the updated processing means or the call control application does not store the free area. 9. The call control device according to claim 8, wherein writing to the non-volatile memory is suppressed when the time is exceeded. 揮発性メモリ上にRAMディスク領域部を生成しておき、不揮発性メモリに格納される呼制御アプリケーション及び呼制御情報を上記揮発性メモリにローディングして呼処理を行い、上記不揮発性メモリに対する書き込み情報を上記RAMディスク領域に格納する呼制御装置の呼制御方法において、
更新検知処理手段が、上記RAMディスク領域の書き込み情報から、呼処理により上記揮発性メモリにローディングされた上記呼制御アプリケーション及び又は上記呼制御情報を格納する上記不揮発性メモリの領域に対する書き込み情報を検知する更新検知処理工程と、
書き込み処理手段が、上記更新検知処理手段の検知に基づいて上記RAMディスク領域の書き込み情報のうち上記呼制御アプリケーション及び又は上記呼制御情報の領域に対する書き込み情報の上記不揮発性メモリへの書き込みを行う書き込み処理工程と
を有することを特徴とする呼制御方法。
The RAM disk area is generated on the volatile memory, the call control application and the call control information stored in the nonvolatile memory are loaded into the volatile memory to perform call processing, and the write information to the nonvolatile memory In the call control method of the call control device for storing the data in the RAM disk area,
Update detection processing means detects from the write information in the RAM disk area, the call control application loaded in the volatile memory by call processing and / or the write information to the non-volatile memory area for storing the call control information. Update detection processing step to perform,
Write processing means for writing write information to the call control application and / or call control information area of the RAM disk area based on detection by the update detection processing means to the nonvolatile memory. A call control method comprising: a processing step.
揮発性メモリ上にRAMディスク領域部を生成しておき、不揮発性メモリに格納される呼制御アプリケーション及び呼制御情報を上記揮発性メモリにローディングして呼処理を行い、上記不揮発性メモリに対する書き込み情報を上記RAMディスク領域に格納する呼制御装置を、
上記RAMディスク領域の書き込み情報から、呼処理により上記揮発性メモリにローディングされた上記呼制御アプリケーション及び又は上記呼制御情報を格納する上記不揮発性メモリの領域に対する書き込み情報を検知する更新検知処理手段、
上記更新検知処理手段の検知に基づいて上記RAMディスク領域の書き込み情報のうち上記呼制御アプリケーション及び又は上記呼制御情報の領域に対する書き込み情報の上記不揮発性メモリへの書き込みを行う書き込み処理手段
として機能させることを特徴とする呼制御プログラム。
The RAM disk area is generated on the volatile memory, the call control application and the call control information stored in the nonvolatile memory are loaded into the volatile memory to perform call processing, and the write information to the nonvolatile memory Is stored in the RAM disk area,
Update detection processing means for detecting, from the write information in the RAM disk area, the call control application loaded into the volatile memory by call processing and / or the write information to the nonvolatile memory area for storing the call control information;
Based on the detection of the update detection processing means, it functions as a write processing means for writing the write information for the call control application and / or the call control information area in the RAM disk area into the nonvolatile memory. A call control program characterized by the above.
JP2009056895A 2009-03-10 2009-03-10 Call control apparatus, control method, and control program Active JP5304338B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009056895A JP5304338B2 (en) 2009-03-10 2009-03-10 Call control apparatus, control method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009056895A JP5304338B2 (en) 2009-03-10 2009-03-10 Call control apparatus, control method, and control program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013131646A Division JP2013257881A (en) 2013-06-24 2013-06-24 Information processing device and program

Publications (2)

Publication Number Publication Date
JP2010212990A true JP2010212990A (en) 2010-09-24
JP5304338B2 JP5304338B2 (en) 2013-10-02

Family

ID=42972722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009056895A Active JP5304338B2 (en) 2009-03-10 2009-03-10 Call control apparatus, control method, and control program

Country Status (1)

Country Link
JP (1) JP5304338B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0239342A (en) * 1988-07-29 1990-02-08 Fujitsu Ltd Memory ensuring system for ram disk
JPH05173965A (en) * 1991-12-24 1993-07-13 Hitachi Denshi Ltd System for rewriting terminal station program
JP2001333186A (en) * 2000-05-22 2001-11-30 Nec Eng Ltd Station data loading system
JP2002281126A (en) * 2001-03-19 2002-09-27 Ricoh Co Ltd Information processing system and information terminal equipment, and information recorder/reproducer and storage medium
JP2005260460A (en) * 2004-03-10 2005-09-22 Nec Infrontia Corp Program update method of key telephone set and key telephone system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0239342A (en) * 1988-07-29 1990-02-08 Fujitsu Ltd Memory ensuring system for ram disk
JPH05173965A (en) * 1991-12-24 1993-07-13 Hitachi Denshi Ltd System for rewriting terminal station program
JP2001333186A (en) * 2000-05-22 2001-11-30 Nec Eng Ltd Station data loading system
JP2002281126A (en) * 2001-03-19 2002-09-27 Ricoh Co Ltd Information processing system and information terminal equipment, and information recorder/reproducer and storage medium
JP2005260460A (en) * 2004-03-10 2005-09-22 Nec Infrontia Corp Program update method of key telephone set and key telephone system

Also Published As

Publication number Publication date
JP5304338B2 (en) 2013-10-02

Similar Documents

Publication Publication Date Title
US7340638B2 (en) Operating system update and boot failure recovery
JP5113700B2 (en) Firmware update apparatus and method
US20070055969A1 (en) System and method for updating firmware
JP5093259B2 (en) Communication path strengthening method between BIOS and BMC, apparatus and program thereof
JP2003256225A (en) Computer system, failure countermeasure and program for making computer system function
US11314665B2 (en) Information processing system, information processing device, BIOS updating method for information processing device, and BIOS updating program for information processing device
CN104734979A (en) Control method for storage device externally connected with router
CN104915226A (en) Network device software starting method, device and network device
CN109614130A (en) A kind of cloud broadcast upgrade method and system with trial operation, self-check
JP2010224847A (en) Computer system and setting management method
CN103902399A (en) Software system repair processing method and software system repair processing device
US20100217751A1 (en) Method and system for safely deleting information from a computer
CN111581021A (en) Method, device and equipment for repairing application program starting abnormity and storage medium
TW201510995A (en) Method for maintaining file system of computer system
CN113626262A (en) BMC recovery method, system, equipment and medium
JP5387767B2 (en) Update technology for running programs
JP2017078998A (en) Information processor, log management method, and computer program
US11630656B2 (en) Communication device and information processing method
JP5304338B2 (en) Call control apparatus, control method, and control program
JP2011053780A (en) Restoration system, restoration method and backup control system
JP2013257881A (en) Information processing device and program
JP2010146436A (en) Monitoring system, control method and program
WO2024000535A1 (en) Partition table update method and apparatus, and electronic device and storage medium
JP5290064B2 (en) Software switching device, software switching method and program thereof
CN118069205A (en) Rollback method, device, equipment and storage medium of programmable logic device version

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111104

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120813

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130426

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130610

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5304338

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150