JP6426634B2 - Data manipulation method and data manipulation method program - Google Patents

Data manipulation method and data manipulation method program Download PDF

Info

Publication number
JP6426634B2
JP6426634B2 JP2016012989A JP2016012989A JP6426634B2 JP 6426634 B2 JP6426634 B2 JP 6426634B2 JP 2016012989 A JP2016012989 A JP 2016012989A JP 2016012989 A JP2016012989 A JP 2016012989A JP 6426634 B2 JP6426634 B2 JP 6426634B2
Authority
JP
Japan
Prior art keywords
data
record
deletion
deletion candidate
flag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016012989A
Other languages
Japanese (ja)
Other versions
JP2017134560A (en
Inventor
正嗣 大西
正嗣 大西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016012989A priority Critical patent/JP6426634B2/en
Publication of JP2017134560A publication Critical patent/JP2017134560A/en
Application granted granted Critical
Publication of JP6426634B2 publication Critical patent/JP6426634B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、利用者端末から入力されるデータを蓄積してサービスを提供するシステムのデータ操作方法とデータ操作方法プログラムに関する。   The present invention relates to a data operation method and a data operation method program of a system which provides data by storing data input from a user terminal.

利用者端末から入力されるデータを蓄積してサービスを提供するシステムとしては、例えばNTT東日本(東日本日本電信電話株式会社)が提供している「災害用伝言ダイヤル」が知られている(非特許文献1)。この「災害用伝言ダイヤル」における利用者からのデータは、音声である。   As a system for accumulating data input from user terminals and providing services, for example, "Disaster Message Dial" provided by NTT East (East Japan Nippon Telegraph and Telephone Corporation) is known (non-patent Literature 1). The data from the user in this "disaster message dial" is voice.

「災害用伝言ダイヤル」は、電話網上の蓄積型音声サービスの一種であり、利用者が電話機から「171番」にダイヤルすると、電話網に設けられた伝言ダイヤルセンタから、「こちらは災害用伝言ダイヤルです。録音される方は1、再生される方は2、…」というガイダンス音声が利用者の電話機へ送出され、ガイダンス音声に従ってダイヤルすることにより、災害伝言の録音、或いは再生を行うことができる。   "Disaster message dial" is a type of stored voice service on the telephone network, and when the user dials "171" from the telephone, from the message dial center provided in the telephone network, "This is for disaster A guidance voice is sent to the user's phone, and the disaster message can be recorded or played back by dialing according to the guidance voice. Can.

[平成28年1月4日検索]、インターネット<URL:https://www.ntt-east.co.jp/saigai/voice171/>[January 4, 2016 search], Internet <URL: https://www.ntt-east.co.jp/saigai/voice171/> [平成28年1月4日検索]、インターネット<URL:https://www.nttdocomo.co.jp/info/disaster/disaster_voice/>[January 4, 2016 search], Internet <URL: https://www.nttdocomo.co.jp/info/disaster/disaster_voice/>

従来の災害用伝言ダイヤルでは、伝言の保存期間と一つの電話番号で録音できる伝言数に制限を設けている。保存期間は一律に48時間に制限されており、保存期間が満了すると自動的に消去される。録音できる蓄積伝言数の上限が決まっており、上限を超えた場合には古いメッセージから順に上書きされる。また、システムの制限により録音できる総蓄積伝言数に上限があり(例えば800万)、総伝言数の上限を越えれば、一つの電話番号で録音できる伝言数が上限以下であっても古いメッセージから順に上書きされる。伝言の保存期間は、状況に応じてNTTが設定し、設定した期間を超えると、手動或いは自動で消去される。   In the conventional disaster message dial, a limitation is placed on the storage period of messages and the number of messages that can be recorded with one telephone number. The retention period is uniformly limited to 48 hours and is automatically erased when the retention period expires. The upper limit of the number of stored messages that can be recorded is determined, and when the upper limit is exceeded, old messages are overwritten in order. Also, due to system limitations, there is an upper limit to the total number of messages that can be recorded (for example, 8 million), and if the total number of messages exceeds the upper limit, old messages can be recorded even if the number of messages that can be recorded with one telephone number is below the upper limit It will be overwritten in order. The message retention period is set by NTT according to the situation, and is deleted manually or automatically when the set period is exceeded.

しかし、災害時における伝言の数は数百万と膨大な数になる。したがって、膨大な数の伝言削除処理は、システムのCPUに負担をかけるので新たな伝言の蓄積や伝言提供に影響を与える場合がある。例えば、システムのCPU負荷が大きい時に伝言削除処理を行うと削除しきれずに古い伝言が残る場合がある。また、古い伝言が残ると蓄積できる伝言数に制限があるため、新規の伝言を登録できない場合がある。   However, the number of messages at the time of disaster will be millions and millions. Therefore, a huge number of message deletion processes may burden the CPU of the system, which may affect the accumulation of new messages and the provision of messages. For example, when the message deletion process is performed when the CPU load on the system is large, old messages may remain without being deleted. In addition, when old messages remain, there is a limit to the number of messages that can be stored, so it may not be possible to register new messages.

本発明は、これらの課題に鑑みてなされたものであり、データの削除処理に関するシステムの負荷を軽減させるデータ操作方法とデータ操作プログラムを提供することを目的とする。   The present invention has been made in view of these problems, and it is an object of the present invention to provide a data operation method and a data operation program that reduce the load on a system related to data deletion processing.

本発明のデータ操作方法は、データ蓄積装置が行うデータ操作方法であって、前記データ蓄積装置は、複数のデータを蓄積するデータ格納部と、各々の前記データのファイル名と前記データの属性情報とを対応付けたレコードを含むテーブルとを備え、運用管理装置から検索キーを含む削除候補選択要求を受信して、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、削除候補であることを表す削除候補フラグを付与する削除候補選択ステップと、利用者端末から検索キーを含むデータ送信要求を受信し、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、前記削除候補フラグが付与されているか否かを判定する削除候補判定ステップと、前記削除候補フラグが付与されていない場合は、当該レコードに対応するファイル名のデータを前記データ送信要求の送信元に送信し、前記削除候補フラグが付与されている場合は、前記データの送信を行わないデータ送信ステップと、運用管理装置から検索キーを含む削除予約要求を受信して、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、削除予約フラグを付与する削除予約ステップと、
バックグラウンド処理で、前記テーブルの前記削除予約フラグが付与されているレコードを検索し、前記レコードに対応するファイル名のデータを前記データ格納部から削除する削除ステップとを行い、前記レコードの属性情報は、前記データ蓄積装置にデータの蓄積要求をした要求元の所在地を表す所在地情報を含み、前記所在地情報が一致するそれぞれのレコードに対応するファイル名のデータのデータ量を、所定のタイミングで所在地情報ごとに算出し、算出したデータ量の変化率を監視する変化率監視ステップを行い、前記削除ステップにおいて、前記変化率が閾値より小さいデータを、前記変化率が前記閾値より大きいデータより先に削除することを要旨とする。
The data manipulation method according to the present invention is a data manipulation method performed by a data storage device, and the data storage device includes a data storage unit for storing a plurality of data, a file name of each data, and attribute information of the data. And a table including a record associated with the table, and the deletion candidate selection request including the search key is received from the operation management apparatus, and when there is a record of attribute information matching the search key in the table, the record A deletion candidate selection step of adding a deletion candidate flag indicating deletion candidate, a data transmission request including a search key from the user terminal, and a record of attribute information matching the search key is present in the table In this case, a deletion candidate determination step of determining whether or not the deletion candidate flag is added to the record, and the deletion candidate flag The data transmission step of transmitting the data of the file name corresponding to the record to the transmission source of the data transmission request if not given, and not transmitting the data if the deletion candidate flag is given. And a deletion reservation step of receiving a deletion reservation request including a search key from the operation management apparatus, and adding a deletion reservation flag to the record when there is a record of attribute information matching the search key in the table;
In background processing, to find records that the deletion reserved flag in the table is applied, have rows and deletion step of deleting the data file name corresponding to the record from the data storage unit, the record of the attribute The information includes location information indicating the location of a request source that has made a data storage request to the data storage device, and the data amount of the data of the file name corresponding to each record where the location information matches, at a predetermined timing. The rate of change monitoring step of calculating the rate of change of the calculated data amount calculated for each location information is performed, and in the deleting step, data having the rate of change smaller than a threshold is preceded by data having a rate of change greater than the threshold. The point is to delete it.

また、本発明のデータ操作方法プログラムは、上記のデータ操作方法をコンピュータに実行させるようにしたものである。   Further, a data manipulation method program of the present invention causes a computer to execute the above data manipulation method.

本発明によれば、データの削除処理に関するシステムの負荷を軽減させるデータ操作方法を提供することができる。   According to the present invention, it is possible to provide a data manipulation method that reduces the load on the system related to data deletion processing.

本発明のデータ操作方法を適用したシステム1の構成例を示す図である。It is a figure which shows the structural example of the system 1 to which the data operation method of this invention is applied. システム1を構成するデータ蓄積装置10の動作フローを示す図である。FIG. 2 is a diagram showing an operation flow of a data storage device 10 configuring the system 1; 運用管理装置20に表示される処理メニューの例を示す図である。FIG. 6 is a diagram showing an example of a processing menu displayed on the operation management device 20. 運用管理装置20に表示される削除候補表示の例を示す図である。FIG. 6 is a diagram showing an example of deletion candidate display displayed on the operation management device 20. データ蓄積装置10が具備するテーブル15の例を示す図である。It is a figure which shows the example of the table 15 which the data storage apparatus 10 comprises. 運用管理装置20に表示される削除候補解除表示の例を示す図である。FIG. 7 is a diagram showing an example of deletion candidate cancellation display displayed on the operation management device 20. 運用管理装置20に表示される削除予約表示の例を示す図である。FIG. 6 is a diagram showing an example of deletion reservation display displayed on the operation management device 20. データ蓄積装置10の変化率監視ステップの動作フローを示す図である。FIG. 6 is a diagram showing an operation flow of a change rate monitoring step of the data storage device 10; 利用者端末30とデータ蓄積装置10の動作シーケンスを示す図である。FIG. 6 is a diagram showing an operation sequence of the user terminal 30 and the data storage device 10.

以下、本発明の実施形態について図面を用いて説明する。複数の図面中同一のものには
同じ参照符号を付し、説明は繰り返さない。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. The same reference numerals are given to the same components in the drawings, and the description will not be repeated.

〔システム〕
図1に、本発明のデータ操作方法を適用したシステム1の構成例を示す。システム1は、データ蓄積装置10と運用管理装置20とを備える。データ蓄積装置10と利用者端末30とは、ネットワーク40を介して接続される。ネットワーク40は、例えば電話網である。
〔system〕
FIG. 1 shows a configuration example of a system 1 to which the data manipulation method of the present invention is applied. The system 1 includes a data storage device 10 and an operation management device 20. The data storage device 10 and the user terminal 30 are connected via the network 40. The network 40 is, for example, a telephone network.

データ蓄積装置10と運用管理装置20とは、例えばLANケーブル等を用いて直接接続される。なお、運用管理装置20は、ネットワーク40を介してデータ蓄積装置10と接続するようにしても良い。   The data storage device 10 and the operation management device 20 are directly connected using, for example, a LAN cable or the like. The operation management device 20 may be connected to the data storage device 10 via the network 40.

利用者端末30は、複数の参照符号30a,30b,…で示す様に多数存在する。利用者端末30とデータ蓄積装置10とは、ネットワーク40を介して接続する。なお、以降において特に必要がある場合を除き、利用者端末30の参照符号は30として説明する。   There are a large number of user terminals 30 as indicated by a plurality of reference numerals 30a, 30b,. The user terminal 30 and the data storage device 10 are connected via the network 40. In the following, the reference numeral of the user terminal 30 will be described as 30 unless it is particularly necessary.

データ蓄積装置10と運用管理装置20とは、例えばROM、RAM、CPU等で構成されるコンピュータに所定のプログラムが読み込まれて、CPUがそのプログラムを実行することで実現されるものである。   The data storage device 10 and the operation management device 20 are realized by, for example, a predetermined program being read into a computer including a ROM, a RAM, a CPU and the like, and the CPU executing the program.

データ蓄積装置10は、データ処理部11とデータ格納部17とで構成される。データ格納部17は、多数の音声伝言を蓄積する。   The data storage device 10 includes a data processing unit 11 and a data storage unit 17. The data storage unit 17 stores a large number of voice messages.

データ処理部11は、更に、データ登録部12と、データ送信部13と、データ削除部14と、テーブル15と、フラグ管理部16とで構成される。テーブル15は、データ格納部17に蓄積された各々の音声伝言(データ)のファイル名と、データの属性情報とを対応付けたレコードを含むテーブルである。   The data processing unit 11 further includes a data registration unit 12, a data transmission unit 13, a data deletion unit 14, a table 15, and a flag management unit 16. The table 15 is a table including a record in which the file name of each voice message (data) stored in the data storage unit 17 is associated with the attribute information of the data.

フラグ管理部16は、運用管理装置20からの要求に対してテーブル15のレコードにフラグを付与又は削除する。データ蓄積装置10は、当該フラグの状態に応じてデータ格納部17に蓄積されたデータの扱いを変える。テーブル15と、そのレコードのフラグの状態によるデータの扱いについて詳しくは後述する。   The flag management unit 16 adds or deletes a flag to the record of the table 15 in response to a request from the operation management apparatus 20. The data storage device 10 changes the handling of data stored in the data storage unit 17 according to the state of the flag. Details of handling of data according to the table 15 and the state of the flag of the record will be described later.

システム1の動作を簡単に説明する。システム1は、例えば上記の「災害用伝言ダイヤル」として機能し、上記の伝言ダイヤルセンタに相当する機能を担う。以降の説明において、データは音声データであり、データ格納部17に蓄積されるデータは、利用者端末30から入力される音声伝言(以降データ)であるとして説明する。   The operation of system 1 will be briefly described. The system 1 functions as, for example, the above-mentioned "disaster message dial", and bears a function corresponding to the above-mentioned message dial center. In the following description, it is assumed that data is voice data, and data stored in the data storage unit 17 is voice message (hereinafter data) input from the user terminal 30.

例えば、利用者端末30aの所在地が被災したと仮定する。被災した利用者aは、利用者端末30aからデータ蓄積装置10に接続してデータを蓄積する。利用者端末30aから入力されたデータは、ネットワーク40とデータ登録部12を介してデータ格納部17に蓄積される。   For example, it is assumed that the location of the user terminal 30a suffers. The afflicted user a connects to the data storage device 10 from the user terminal 30a and stores data. The data input from the user terminal 30 a is stored in the data storage unit 17 via the network 40 and the data registration unit 12.

その後、利用者aの安否を心配する被災地以外の遠隔地に住む利用者nは、図示しない利用者端末30nを使用し、利用者端末30aの電話番号を含むデータ送信要求をデータ蓄積装置10に送信する。そして、利用者端末30nは、データ蓄積装置10のデータ格納部17に蓄積された利用者aのデータを、データ送信部13とネットワーク40とを介して取得する。   Thereafter, the user n who lives in a remote place other than the afflicted area concerned about the safety of the user a uses the user terminal 30n (not shown), and sends a data transmission request including the telephone number of the user terminal 30a to the data storage device 10 Send to Then, the user terminal 30 n acquires the data of the user a stored in the data storage unit 17 of the data storage device 10 via the data transmission unit 13 and the network 40.

図2に、データ蓄積装置10の動作フローを示す。データ蓄積装置10のデータ操作方法には、削除候補選択マーキングスレッドS2と削除候補解除マーキングスレッドS4と削除予約マーキングスレッドS6とが含まれる。スレッド(thread)とは、CPU利用の単位のことである。   The operation flow of the data storage device 10 is shown in FIG. The data manipulation method of the data storage device 10 includes a deletion candidate selection marking thread S2, a deletion candidate cancellation marking thread S4, and a deletion reservation marking thread S6. A thread is a unit of CPU usage.

削除候補選択マーキングスレッドS2は、運用管理装置20から入力される検索キーを含む削除候補選択要求を受信して、当該検索キーと一致する属性情報のレコードがテーブル15にある場合、当該レコードに、削除候補であることを表す削除候補フラグを付与する。ここで検索キーとは、利用者端末30を識別する電話番号や、利用者端末30の所在地を表す所在地情報や、伝言を蓄積してからの経過時間である蓄積時間や、伝言を蓄積した日時等のことであり、データの属性の一態様を決めるものである。   The deletion candidate selection marking thread S2 receives the deletion candidate selection request including the search key input from the operation management apparatus 20, and when there is a record of the attribute information matching the search key in the table 15, the record A deletion candidate flag indicating that it is a deletion candidate is added. Here, the search key means a telephone number for identifying the user terminal 30, location information indicating the location of the user terminal 30, storage time which is an elapsed time after storing the message, date and time when the message is stored Etc., which determine one aspect of the data attribute.

なお、削除候補解除マーキングスレッドS4と削除予約マーキングスレッドS6については後述する。   The deletion candidate cancellation marking thread S4 and the deletion reservation marking thread S6 will be described later.

本実施形態のデータ操作方法には、更に削除候補判定ステップS8とデータ送信ステップS9とが含まれる。削除候補判定ステップS8とデータ送信ステップS9は、上記の利用者端末30nからのデータ送信要求に対する処理である。ここでは、削除候補判定ステップS8とデータ送信ステップS9とについて説明し、データ蓄積装置10の他の処理ステップについての説明は後述する。   The data manipulation method of the present embodiment further includes a deletion candidate determination step S8 and a data transmission step S9. The deletion candidate determination step S8 and the data transmission step S9 are processing for the data transmission request from the user terminal 30n. Here, the deletion candidate determination step S8 and the data transmission step S9 will be described, and the other processing steps of the data storage device 10 will be described later.

削除候補判定ステップS8は、データ蓄積装置10が、利用者端末30から検索キーを含むデータ送信要求を受信し、検索キーと一致する属性情報のレコードがテーブル15にある場合、当該レコードに、削除候補フラグが含まれているか否かを判定する。ここでデータ送信要求に含まれる検索キーとは、各々の利用者端末30を識別する電話番号を含み、データ格納部17に蓄積されたデータの属性の一態様を決めるものである。   In the deletion candidate determination step S8, when the data storage device 10 receives a data transmission request including a search key from the user terminal 30, and there is a record of attribute information matching the search key in the table 15, the deletion is made in the record It is determined whether a candidate flag is included. Here, the search key included in the data transmission request includes a telephone number for identifying each user terminal 30, and determines one aspect of the attribute of the data stored in the data storage unit 17.

データ送信ステップS9は、削除候補判定ステップS8で判定した結果、当該レコードに、削除候補フラグが付与されていない場合は、当該レコードに対応するファイル名のデータをデータ送信要求の送信元に送信する。そして、削除候補フラグが付与されている場合は、当該レコードに対応するファイル名のデータをデータ送信要求の送信元に送信しない。データ送信要求の送信元とは、例えば上記の利用者端末30nのことである。   When it is determined in the deletion candidate determination step S8 that the deletion candidate flag is not attached to the record, the data transmission step S9 transmits the data of the file name corresponding to the record to the transmission source of the data transmission request. . Then, when the deletion candidate flag is added, the data of the file name corresponding to the record is not transmitted to the transmission source of the data transmission request. The transmission source of the data transmission request is, for example, the above-mentioned user terminal 30 n.

以上のように動作する本実施形態のデータ操作方法によれば、削除候補フラグを付与したレコードに対応するファイル名のデータは、データ格納部17に蓄積されたまま残っているが、利用者端末30に送信されない。   According to the data manipulation method of the present embodiment operating as described above, the data of the file name corresponding to the record to which the deletion candidate flag is added remains as it is stored in the data storage unit 17, but the user terminal Not sent to 30.

つまり、本実施形態のデータ操作方法によれば、削除候補選択フラグをレコードに付与した時点では、データを削除する削除処理を行わずデータの削除を仮想的に行ったものとして動作する。その結果、システム1のCPU負荷が大きな場合において、データの削除処理が中断することで生じる不要な伝言の残留や、新規なデータの蓄積(録音)が出来ない等の蓄積データを操作する上での課題を生じさせない。   That is, according to the data manipulation method of the present embodiment, when the deletion candidate selection flag is added to the record, it operates as virtually deleting data without performing deletion processing for deleting data. As a result, when the CPU load of the system 1 is large, when operating the stored data, such as the unnecessary message remaining due to the interruption of the data deletion processing and the new data being not stored (recorded), etc. Not create the problem of

図3に、運用管理装置20に表示される処理メニューを示す。図2と図3を参照して更に詳しく本実施形態のデータ操作方法について説明する。   FIG. 3 shows a processing menu displayed on the operation management apparatus 20. The data manipulation method of this embodiment will be described in more detail with reference to FIGS. 2 and 3.

運用管理装置20が動作を開始すると、図3に示す処理メニューが表示される。図3に示す処理メニューの例は、削除候補選択200、削除候補解除201、削除予約202の3つで示す。それぞれの処理メニューは、削除候補選択マーキングスレッドS2、削除候補解除マーキングスレッドS4、削除予約マーキングスレッドS6に対応する。   When the operation management apparatus 20 starts operation, a processing menu shown in FIG. 3 is displayed. The example of the processing menu shown in FIG. 3 is indicated by three choices of deletion candidate selection 200, deletion candidate cancellation 201 and deletion reservation 202. The respective processing menus correspond to the deletion candidate selection marking thread S2, the deletion candidate cancellation marking thread S4, and the deletion reservation marking thread S6.

〔削除候補選択〕
運用管理者が、削除候補選択200を選択する(ステップS1のYes)と、運用管理装置20は、検索キーを含む削除候補選択要求をデータ蓄積装置10に送信する。データ蓄積装置10は、削除候補選択要求を受信すると、削除候補選択マーキングスレッドS2を起動する。削除候補選択マーキングスレッドS2が起動すると、データ蓄積装置10は、運用管理装置20に図4に示す削除候補選択表示を表示させる。そして、データ蓄積装置10は、削除候補選択要求に含まれる検索キーと一致する属性情報のレコードがテーブル15にある場合、当該レコードに、削除候補であることを表す削除候補フラグを付与する(ステップS2a)。
[Selection of deletion candidate]
When the operation manager selects the deletion candidate selection 200 (Yes in step S1), the operation management device 20 transmits a deletion candidate selection request including a search key to the data storage device 10. When the data storage device 10 receives the deletion candidate selection request, it activates the deletion candidate selection marking thread S2. When the deletion candidate selection marking thread S2 is activated, the data storage device 10 causes the operation management device 20 to display the deletion candidate selection display shown in FIG. Then, when there is a record of attribute information matching the search key included in the deletion candidate selection request in the table 15, the data storage device 10 adds a deletion candidate flag indicating that the record is a deletion candidate (step S2a).

削除候補選択表示(図4)の1列目は行を選択したことを表すチェックボックである。2列目は削除候補表示の削除単位203、3列目は設定値204である。削除単位203と設定値204は、データの属性を表す属性情報である。なお、総蓄積伝言数の時系列205と総蓄積伝言数の予測時系列206については後述する。   The first column of the deletion candidate selection display (FIG. 4) is a check box indicating that a row has been selected. The second column is the deletion unit 203 of the deletion candidate display, and the third column is the setting value 204. The deletion unit 203 and the setting value 204 are attribute information indicating attributes of data. The total storage message number time series 205 and the total storage message number prediction time series 206 will be described later.

削除単位203として、例えば、データを蓄積してからの経過時間である蓄積時間203aと、削除候補の対象とするデータを登録した利用者端末30の所在地203bと、データを登録した登録日時203cとを表示している。そして、それぞれの削除単位203の設定値として「24時間203a1」、「北海道203b1」、「2014年10月1日午前10時00分から2014年10月2日午前10時00まで203c1」を表示している。   As deletion unit 203, for example, accumulation time 203a which is an elapsed time after accumulation of data, location 203b of user terminal 30 which registered data targeted for deletion candidate, registration date and time 203c when data were registered, Is displayed. Then, “24 hours 203a1”, “Hokkaido 203 b1”, “October 1 2014 from 10:00 am to 2 October 2014 10:00 am 203 c1” are displayed as the setting values of the respective deletion units 203. ing.

蓄積時間203aの設定値は、例えば、24時間、32時間、40時間、任意の時間、の何れかが選択できる。蓄積時間203aは、この例では選択していないので、蓄積時間203aに対応する設定値は無効であり、何れの設定値のラジオボタンも点灯していない。   For example, any of 24 hours, 32 hours, 40 hours, and any time can be selected as the setting value of the accumulation time 203a. Since the accumulation time 203a is not selected in this example, the setting value corresponding to the accumulation time 203a is invalid, and the radio button of any setting value is not lighted.

一方、削除単位203として選択した所在地203bの設定値204は、「北海道203b1」のチェックボックスにチェックが入っている。また、もう一つの削除単位203として選択した登録日時203cの設定値204には、「2014年10月1日午前10時00分から2014年10月2日午前10時00まで203c1」が入力されている。このように設定値は、予め設定した固定値であっても良いし、テキスト情報で入力するようにしても良い。   On the other hand, the set value 204 of the location 203b selected as the deletion unit 203 is checked in the "Hokkaido 203b1" check box. In addition, "203c1 from 10:00 am on October 1, 2014 to 10:00 am on October 2, 2014" is input to the setting value 204 of the registration date 203c selected as another deletion unit 203. There is. As described above, the setting value may be a preset fixed value, or may be input as text information.

運用管理装置20で削除単位203と設定値204を指定(データの属性を指定)すると、データ蓄積装置10はテーブル15を検索する。この例では、登録電話番号の所在地が「北海道203b1」であり、登録日時203cが「2014年10月1日午前10時から10月2日の午前10時まで」に登録したデータのファイル名を含むテーブル15のレコードを検索する。つまり、データ蓄積装置10は、検索キーを「北海道203b1」と当該登録日時としてテーブル15を検索する。そして、検索キーの一致するテーブル15のレコードに削除候補フラグを付与する。なお、レコードを検索してフラグを付与する主体は、フラグ管理部16である。   When the deletion unit 203 and the setting value 204 are designated (the data attribute is designated) by the operation management apparatus 20, the data storage apparatus 10 searches the table 15. In this example, the location of the registered phone number is “Hokkaido 203b1”, and the file name of the data registered in the registration date and time 203c from “10:00 am on October 1, 2014 to 10:00 on October 2” The records of the table 15 included are searched. That is, the data storage device 10 searches the table 15 with the search key "Hokkaido 203b1" and the registration date and time. Then, the deletion candidate flag is added to the record of the table 15 in which the search key matches. The subject that searches for a record and gives a flag is the flag management unit 16.

図5に、テーブル15のレコードの例を示す。テーブル15のレコードは、図5に示す2行目以降の1行で表せる。この例では5個のレコード150〜154が表示されている。1つのレコードは、例えば、蓄積しているデータの登録者の電話番号207、登録電話番号の所在地203b、登録日時203c、データのファイル名208、パスワード209、ストレージ格納先210、削除候補フラグ211、削除予約フラグ212から構成される。   FIG. 5 shows an example of the record of the table 15. The records of the table 15 can be represented by one line after the second line shown in FIG. In this example, five records 150 to 154 are displayed. One record is, for example, the telephone number 207 of the registrant of the stored data, the location 203b of the registered telephone number, the registration date and time 203c, the file name 208 of the data, the password 209, the storage storage destination 210, the deletion candidate flag 211, It consists of a deletion reservation flag 212.

レコード150は、電話番号207に「031234567」、所在地203bに「北海道203b1」、登録日時203cに「2014年10月1日20時20分」、パスワード209に「1234」を記憶している。レコード151以降については、記憶している情報の表記を省略している。パスワード209は、パスワードを用いたデータ送信の際に用いる
図5に示すレコード150の属性情報は、上記の検索キーの条件例に一致している。したがって、データ蓄積装置10は、当該レコード150に削除候補フラグ211を付与する(○)。
The record 150 stores “031234567” in the telephone number 207, “Hokkaido 203 b 1” in the location 203 b, “20:20 on October 1, 2014” in the registration date 203 c, and “1234” in the password 209. The information stored is omitted for the record 151 and thereafter. The password 209 is used when transmitting data using a password. The attribute information of the record 150 shown in FIG. 5 matches the above-described condition example of the search key. Therefore, the data storage device 10 assigns the deletion candidate flag 211 to the record 150 (○).

次に、データ蓄積装置10は、削除候補フラグ211が付与されたレコードに対応するファイル名のデータ格納部17に蓄積されたデータをデータ量として算出せず、削除候補フラグ211が付与されていないレコードに対応するファイル名のデータをデータ量として算出する(図2、ステップS2b)。この時、後述する削除予約フラグ212が付与されているレコードに対応するファイル名のデータもデータ量として算出しない。データ量の算出は、テーブル15に対してSQLのカウント文を適用することで容易に行える。   Next, the data storage device 10 does not calculate the data amount stored in the data storage unit 17 of the file name corresponding to the record to which the deletion candidate flag 211 is attached as the data amount, and the deletion candidate flag 211 is not attached. The data of the file name corresponding to the record is calculated as the data amount (FIG. 2, step S2b). At this time, the data of the file name corresponding to the record to which the deletion reservation flag 212 described later is added is not calculated as the data amount. The calculation of the amount of data can be easily performed by applying a SQL count statement to the table 15.

データ蓄積装置10は、ステップS2bを実行すると、算出したデータ量を、例えば総蓄積伝言数の時系列情報205(以降、時系列205)として出力し、運用管理装置20に表示させる。時系列205の横軸は時間であり、縦軸はデータ数(伝言数)である。時系列205の横軸の右端が、削除単位203と設定値204を指定した時刻に相当する。削除単位203と設定値204を指定した時刻、つまり、検索するデータの属性を指定した時刻とは、削除単位203と設定値204を指定した後に、例えば、運用管理装置20のEnterキー、或いは運用管理装置20に表示されるボタンを操作した時刻である。   When step S2b is executed, the data storage device 10 outputs the calculated data amount as, for example, time-series information 205 (hereinafter, time-series 205) of the total number of stored messages, and causes the operation management device 20 to display it. The horizontal axis of the time series 205 is time, and the vertical axis is the number of data (number of messages). The right end of the horizontal axis of the time series 205 corresponds to the time when the deletion unit 203 and the setting value 204 are designated. The time when the deletion unit 203 and the setting value 204 are specified, that is, the time when the attribute of the data to be searched is specified is, for example, the Enter key of the operation management apparatus 20 or the operation after specifying the deletion unit 203 and the setting value 204 It is the time when the button displayed on the management device 20 is operated.

また、運用管理装置20に、総蓄積伝言数の予測値の時系列情報206(以降、時系列206)も同時に表示させても良い。時系列206の横軸と縦軸は、時系列205と同じであるが表示される時間が未来である点と、件数が予測値である点で異なる。例えば時系列206の原点の時刻が、例えば検索するデータの属性を指定した時刻である。   Further, the operation management apparatus 20 may simultaneously display time-series information 206 (hereinafter, time-series 206) of the predicted value of the total number of stored messages. The horizontal axis and the vertical axis of the time series 206 are the same as the time series 205, but differ in that the displayed time is the future and the number of cases is a predicted value. For example, the time at the origin of the time series 206 is, for example, a time at which an attribute of data to be searched is designated.

なお、総蓄積伝言数の予測値は、例えば過去の同時期の同じ検索条件でのデータ量の推移を表示する。又は、時系列205から何らかの予測手法を用いて計算して求めても良い。   The predicted value of the total number of stored messages indicates, for example, the transition of the data amount under the same search condition in the past and the same period. Alternatively, it may be calculated from the time series 205 using any prediction method.

運用管理者は、表示されている時系列205と206とから、削除単位203と設定値204をどの程度にすれば良いかを判断する。そして、それぞれの項目を決定する。   The operation manager determines from the displayed time series 205 and 206 how much the deletion unit 203 and the setting value 204 should be made. Then, determine each item.

例えば、関東地方で災害が発生した時には、関東地方を優先し、他の地方は非優先と考え、他の地方のチェックボックスをチェックする。登録日時を削除候補単位として選択する場合には、登録日時のチェックボックスにチェックを入れ、登録日時を入力する。   For example, when a disaster occurs in the Kanto region, priority is given to the Kanto region, and other regions are considered as non-priority, and checkboxes in other regions are checked. To select the registration date and time as a deletion candidate unit, check the registration date check box and enter the registration date and time.

利用者端末30nから、データの送信要求があった場合、削除候補フラグ211を付与したレコードに対応するファイル名のデータは、利用差端末30nに送信しない。つまり、削除候補フラグ211を付与したレコードに対応するファイル名のデータは、上記の利用者端末30nからのデータ送信要求の対象にならない。   When there is a data transmission request from the user terminal 30n, the data of the file name corresponding to the record to which the deletion candidate flag 211 is added is not transmitted to the usage difference terminal 30n. That is, the data of the file name corresponding to the record to which the deletion candidate flag 211 is added is not the target of the data transmission request from the user terminal 30n.

したがって、削除候補選択200の時点では、削除候補フラグ211を付与したレコードに対応するファイル名のデータは、存在しないものとして扱われる。ただし、この時点では、当該データは削除されていない。   Therefore, at the time of deletion candidate selection 200, the data of the file name corresponding to the record to which the deletion candidate flag 211 is added is treated as nonexistent. However, the data has not been deleted at this point.

このように削除候補選択200が動作することで、ファイル削除処理に要する多大な時間とCPU過負荷によって生じる課題を解決するのと同時に、きめ細やかなデータ管理を実現することができる。なお、一度付与した削除候補フラグ211は、削除することができる。次に、削除候補フラグ211を削除する削除候補解除マーキングスレッドについて説明する。   By thus operating the deletion candidate selection 200, it is possible to realize fine data management at the same time as solving a large amount of time required for file deletion processing and a problem caused by CPU overload. Note that the deletion candidate flag 211 once assigned can be deleted. Next, a deletion candidate cancellation marking thread for deleting the deletion candidate flag 211 will be described.

〔削除候補解除〕
運用管理者が、削除候補解除201を選択する(ステップS3のYes)と、運用管理装置20は、検索キーを含む削除候補解除要求をデータ蓄積装置10に送信する。データ蓄積装置10は、削除候補解除要求を受信すると、削除候補解除マーキングスレッドS4を起動する。削除候補解除マーキングスレッドS4が起動すると、運用管理装置20に、図6に示す削除候補選択表示を表示させる。
[Delete candidate cancellation]
When the operation manager selects the deletion candidate cancellation 201 (Yes in step S3), the operation management device 20 transmits a deletion candidate cancellation request including the search key to the data storage device 10. When receiving the deletion candidate cancellation request, the data storage device 10 activates the deletion candidate cancellation marking thread S4. When the deletion candidate cancellation marking thread S4 is activated, the operation management apparatus 20 displays the deletion candidate selection display shown in FIG.

そして、データ蓄積装置10は、削除候補解除要求に含まれる検索キーと一致する属性情報のレコードがテーブル15にある場合、当該レコードの削除候補フラグ211を解除する(ステップS4a)。削除候補フラグ211を解除するとは、図5に示す削除候補フラグ211の○を削除することである。   Then, when there is a record of the attribute information matching the search key included in the deletion candidate cancellation request in the table 15, the data storage device 10 cancels the deletion candidate flag 211 of the record (step S4a). To release the deletion candidate flag 211 is to delete ○ of the deletion candidate flag 211 shown in FIG.

図6に示す例は、図4に示した削除候補表示を、全て解除した削除候補解除表示を示している。削除候補解除の表示は、例えばチェックボクスの点灯(■)で表示されている。   The example shown in FIG. 6 shows a deletion candidate cancellation display in which all the deletion candidate displays shown in FIG. 4 have been canceled. The display of the deletion candidate cancellation is displayed, for example, by lighting of the check box (■).

次に、データ蓄積装置10は、削除候補フラグ211が付与されているレコード(削除候補フラグが削除されていないレコード)を検索し、当該レコードに対応するファイル名のデータ格納部17に蓄積されたデータのデータ量を算出(ステップS4b)し、算出したデータ量を、データを蓄積した時刻と関連付けて時系列205として出力する。出力した時系列205は、運用管理装置20に表示される。ステップS4bは、上記のステップS2bと同じ処理である。   Next, the data storage device 10 searches for a record (a record for which the deletion candidate flag is not deleted) to which the deletion candidate flag 211 is added, and the data storage unit 17 stores the file name corresponding to the record. The data amount of data is calculated (step S4b), and the calculated data amount is output as a time series 205 in association with the time when the data is stored. The output time series 205 is displayed on the operation management apparatus 20. Step S4b is the same process as step S2b above.

運用管理者は、時系列205によって、データ量がどのくらい増加するかを知ることができる。この時、総蓄積伝言数の予測値の時系列206も表示しても良い。時系列206の求め方は上記の方法と同じである。   The operation manager can know how much the amount of data increases by the time series 205. At this time, the time series 206 of predicted values of the total number of stored messages may be displayed. The method of obtaining the time series 206 is the same as the method described above.

削除候補解除201によれば、一度削除候補フラグ211を付与したレコードの削除候補フラグ211を削除することができる。削除候補フラグ211が削除されたレコードに対応するファイル名のデータは、存在するものとして処理される。つまり、削除候補フラグ211を削除したレコードに対応するファイル名のデータは、上記の利用者端末30nからのデータ送信要求の対象になる。   According to the deletion candidate cancellation 201, the deletion candidate flag 211 of the record to which the deletion candidate flag 211 is once attached can be deleted. The data of the file name corresponding to the record from which the deletion candidate flag 211 is deleted is processed as existing. That is, the data of the file name corresponding to the record from which the deletion candidate flag 211 is deleted is the target of the data transmission request from the user terminal 30n.

運用管理者は、削除候補選択200と削除候補解除201とによって、システム1のデータ管理を容易に行うことができる。次に、データの削除を予約する削除予約マーキングスレッドS6について説明する。   The operation manager can easily perform data management of the system 1 by the deletion candidate selection 200 and the deletion candidate cancellation 201. Next, the deletion reservation marking thread S6 which reserves deletion of data will be described.

〔削除予約〕
運用管理者が、削除予約202を選択する(ステップS5のYes)と、運用管理装置20は、検索キーを含む削除予約要求をデータ蓄積装置10に送信する。データ蓄積装置10は、削除予約要求を受信すると、削除予約マーキングスレッドS6を起動する。削除予約マーキングスレッドS6が起動すると、データ蓄積装置10は、運用管理装置20に、図7に示す削除予約表示を表示させる。
[Deletion reservation]
When the operation manager selects the deletion reservation 202 (Yes in step S5), the operation management device 20 transmits a deletion reservation request including the search key to the data storage device 10. When the data storage device 10 receives the deletion reservation request, it activates the deletion reservation marking thread S6. When the deletion reservation marking thread S6 is activated, the data storage device 10 causes the operation management device 20 to display the deletion reservation display shown in FIG.

そして、データ蓄積装置10は、削除予約要求に含まれる検索キーと一致する属性情報のレコードがテーブル15にある場合、当該レコードに削除予約フラグ212を付与する(○)(ステップS6a)。   Then, when there is a record of attribute information matching the search key included in the deletion reservation request in the table 15, the data storage device 10 assigns the deletion reservation flag 212 to the record (() (step S6a).

図7に示す例は、図4に示した削除候補表示を、全て削除することを示している。削除予約の表示は、例えばチェックボクスの点滅(■)で表示されている。   The example shown in FIG. 7 indicates that all deletion candidate displays shown in FIG. 4 are deleted. The display of the deletion reservation is displayed, for example, by blinking of a check box (■).

次に、データ蓄積装置10は、削除予約フラグ212が付与されていないレコードを検索し、当該レコードに対応するファイル名のデータ格納部17に蓄積されたデータをデータ量として算出する。算出したデータ量は、データを蓄積した時刻と関連付けた時系列情報として出力する。時系列情報は、例えば上記の時系列205と同様に、運用管理装置20に表示させても良い。   Next, the data storage device 10 searches for a record to which the deletion reservation flag 212 is not attached, and calculates data stored in the data storage unit 17 of the file name corresponding to the record as the data amount. The calculated data amount is output as time-series information associated with the time when the data is stored. The time-series information may be displayed on the operation management apparatus 20, for example, as in the above-described time-series 205.

なお、この時、削除予約フラグが付与されたレコードを検索し、削減するデータ量を求め、CPU使用率がどのくらい増加するかを表示するようにしても良い。その表示は、例えば時系列205の縦軸をCPU使用率にしたものが考えられる。   At this time, a record to which a deletion reservation flag is added may be searched to determine the amount of data to be reduced, and to display how much the CPU utilization rate increases. The display may be, for example, one in which the vertical axis of the time series 205 is the CPU usage rate.

データ蓄積装置10は、所定時間が経過する度に(ステップS10)、テーブル15の削除予約フラグ212が付与されているレコードを検索し、当該レコードに対応するファイル名のデータを削除する(ステップS11)。ステップS10の所定時間の計時を、運用管理装置20と利用者端末30の一方からデータの操作要求が有った場合に例えばリセットすると、データの削除(ステップS8)は、データの操作要求の無い時間帯に行われる。   Every time a predetermined time elapses (step S10), the data storage device 10 searches for a record to which the deletion reservation flag 212 of the table 15 is added, and deletes data of a file name corresponding to the record (step S11). ). For example, when there is a data operation request from one of the operation management device 20 and the user terminal 30 when time measurement of the predetermined time in step S10 is reset, data deletion (step S8) does not require the data operation request. It takes place in a time zone.

データの操作要求の無い状態とは、例えば、災害が沈静化して総蓄積伝言数が減少し、システム1のCPU負荷に余裕が生じた状態である。このように削除予約202で削除予約フラグ212を付加したレコードに対応するファイル名のデータは、バックグラウンド処理で定期的に削除される。   The state in which there is no request for data operation is, for example, a state in which the disaster has calmed down, the total number of stored messages has decreased, and the CPU load of the system 1 has a margin. The data of the file name corresponding to the record to which the deletion reservation flag 212 is added in the deletion reservation 202 as described above is periodically deleted in the background processing.

なお、データの削除(ステップS8)は、データ蓄積装置10にデータの蓄積要求をした要求元の所在地を表す所在地情報に応じて行うようにしても良い。例えば、関東地方で災害が発生した場合には、他の地方のデータの削除を優先して行うようにしても良い。   Note that data deletion (step S8) may be performed according to location information indicating the location of the request source that has made a data storage request to the data storage device 10. For example, when a disaster occurs in the Kanto region, deletion of data in other regions may be prioritized.

図8に、所在地情報に応じてデータの削除を行うようにしたデータ蓄積装置10の動作フローを示す。データ蓄積装置10は、所定時間が経過する度に、テーブル15のレコードごとに所在地情報がレコード間で一致するレコードに対応するファイル名のデータのデータ量を、所在地情報ごとに算出し、算出したデータ量の変化率を監視する変化率監視ステップを行う(ステップS12)。データ量の変化率とは、所定時間の間隔でデータ蓄積装置10に蓄積されたデータ量の変化の度合いである。この変化率は、上記の時系列205と同様の方法で求めることができる。   FIG. 8 shows an operation flow of the data storage apparatus 10 in which data is deleted according to the location information. The data storage device 10 calculates and calculates, for each location information, the data amount of the file name data corresponding to the record in which the location information matches between the records every time a predetermined time elapses. A change rate monitoring step is performed to monitor the change rate of the data amount (step S12). The change rate of the data amount is the degree of change of the data amount stored in the data storage device 10 at predetermined time intervals. The rate of change can be determined in the same manner as the above time series 205.

データ量の変化率は、例えば被災地方とその他の地方とで差が出ると考えられる。また、データ量は被災地方に多く、その他の地方に少なく割当て、データの削除をその他の地方を優先して行うようにしても良い。   The rate of change in the amount of data is considered to differ, for example, between the affected areas and other areas. Also, the amount of data may be large for the affected area and less for other areas, and deletion of data may be prioritized for the other areas.

つまり、データの削除は、データ量の変化率が閾値より小さいデータを、当該変化率が前記閾値より大きいデータより先に削除するようにしても良い(ステップS13)。そうすることで、必要性の高い所在地の利用者端末30に、多くのデータ量を分配することも可能である。   That is, in the data deletion, data whose change rate of data amount is smaller than the threshold may be deleted before data whose change rate is larger than the threshold (step S13). By doing so, it is also possible to distribute a large amount of data to the user terminals 30 located in high need.

〔利用者端末とデータ蓄積装置〕
図9に、データ蓄積装置10と利用者端末30の動作シーケンスを示す。図9を参照して、利用者端末30とデータ蓄積装置10の動作を詳しく説明する。
[User terminal and data storage device]
The operation | movement sequence of the data storage apparatus 10 and the user terminal 30 is shown in FIG. The operations of the user terminal 30 and the data storage device 10 will be described in detail with reference to FIG.

利用者端末30を操作する利用者が、データ蓄積装置10に対してデータの蓄積要求を行うと(ステップS14のYes)、利用者端末30はデータ蓄積装置10に蓄積要求を送信する(ステップS15)。   When the user operating the user terminal 30 requests the data storage device 10 to store data (Yes in step S14), the user terminal 30 transmits the storage request to the data storage device 10 (step S15). ).

データ蓄積装置10は、データの蓄積要求を受信すると(ステップS16のYes)、該当利用端末(例えば30a)からの蓄積伝言総数と総蓄積伝言数が、蓄積数上限を超えているか否かを判定する(ステップS17)。例えば、1電話番号当たり10件以下及び総蓄積伝言数800万件以下の何れか一方を満たさない場合を、蓄積不可と判定する。判定は、テーブル15のレコードを検索して件数等を数えることで行える。   When the data storage device 10 receives the data storage request (Yes in step S16), the data storage device 10 determines whether the total number of stored messages and the total number of stored messages from the corresponding user terminal (for example 30a) exceeds the storage number upper limit. (Step S17). For example, it is determined that storage is not possible if one or less of 10 or less than the total number of stored messages of 8 million is not satisfied per telephone number. The determination can be performed by searching the records of the table 15 and counting the number of items.

該当利用者端末(例えば30a)の蓄積伝言総数と総蓄積伝言数とが蓄積数上限以下で有る場合(ステップS17の可)、データ蓄積装置10は蓄積可能応答を利用者端末30aに送信する(ステップS18)。   When the total number of stored messages and the total number of stored messages of the corresponding user terminal (for example, 30a) is less than or equal to the upper limit of the stored number (Yes in step S17), the data storage device 10 transmits a storable response to the user terminal 30a ( Step S18).

蓄積可能応答を受信した利用者端末30aは、データの登録が可能であることを利用者aに知らせる。データの登録が可の場合(ステップS19のYes)、利用者端末30aは、データをデータ蓄積装置10に蓄積する目的で送信する(ステップS20)。   The user terminal 30a having received the storable response notifies the user a that data registration is possible. If the data registration is possible (Yes in step S19), the user terminal 30a transmits the data in order to store the data in the data storage device 10 (step S20).

データを受信したデータ蓄積装置10は、データ登録部12を介してデータ格納部17にデータを蓄積する(ステップS21)。蓄積したデータの属性情報は、テーブル15のレコードに記録される。蓄積したデータの属性情報とは、上記の利用者の登録電話番号、伝言蓄積時間、登録電話番号の所在地、登録日時、音声伝言のファイル名、パスワード等である。   The data storage device 10 having received the data stores the data in the data storage unit 17 via the data registration unit 12 (step S21). The attribute information of the accumulated data is recorded in the record of the table 15. The attribute information of the stored data includes the registered telephone number of the user, the message storage time, the location of the registered telephone number, the registered date and time, the file name of the voice message, the password, and the like.

蓄積不可と判定された場合、データ蓄積装置10は何も出力しない(ステップS17の否、ステップS7のNo)。この場合、データ蓄積装置10は、利用者端末30aにデータの蓄積が出来ないことを通知するようにしても良い。   If it is determined that the data can not be stored, the data storage device 10 outputs nothing (No at Step S17, No at Step S7). In this case, the data storage device 10 may notify the user terminal 30a that data can not be stored.

利用者端末30nを操作する利用者nが、データ蓄積装置10に対してデータの送信要求を行うと(ステップS22のYes)、利用者端末30nはデータ蓄積装置10にデータの送信要求を送信する(ステップS23)。送信要求は、データの送信を要求する相手の電話番号を指定して行う。例えば、所在地が北海道札幌市の利用者端末mの電話番号「001*******」を入力して行う。   When the user n who operates the user terminal 30 n makes a data transmission request to the data storage device 10 (Yes in step S 22), the user terminal 30 n transmits the data transmission request to the data storage device 10. (Step S23). The transmission request is made by designating the telephone number of the other party requesting transmission of data. For example, it is performed by inputting the telephone number "001 *****" of the user terminal m whose location is Sapporo City, Hokkaido.

送信要求を受信したデータ蓄積装置10は、テーブル15を参照して相手の電話番号に対応するデータを検索する。そして、検索したデータの削除候補フラグ211の有無を確認する。検索したデータに削除候補フラグ211が付与されていない場合は、当該レコードに対応するファイル名のデータ格納部17に蓄積されたデータを、送信要求の有った利用者端末30nに送信する。   The data storage apparatus 10 having received the transmission request searches the data corresponding to the telephone number of the other party by referring to the table 15. Then, the presence or absence of the deletion candidate flag 211 of the retrieved data is confirmed. If the deletion candidate flag 211 is not attached to the retrieved data, the data stored in the data storage unit 17 of the file name corresponding to the record is transmitted to the user terminal 30 n that has made a transmission request.

削除候補フラグ211が付与されている場合は、データ格納部17に蓄積されている当該データを利用者端末30nに送信しない。この場合、データ蓄積装置10は、利用者端末30nにデータ送信不可情報を送信しても良い。或いは、データ蓄積装置10は、利用者端末30nにデータを送信しないまま動作を終了しても良い。   If the deletion candidate flag 211 is attached, the data stored in the data storage unit 17 is not transmitted to the user terminal 30 n. In this case, the data storage device 10 may transmit data transmission impossibility information to the user terminal 30 n. Alternatively, the data storage device 10 may end the operation without transmitting data to the user terminal 30 n.

以上説明したようにテーブル15に、削除候補フラグ211と削除予約フラグ212とを設け、削除候補フラグ211が付加されたデータは存在しないものとして処理する。したがって、システム1は、データの削除処理が高速に行われたものとして動作することができる。   As described above, the deletion candidate flag 211 and the deletion reservation flag 212 are provided in the table 15, and it is processed as if there is no data to which the deletion candidate flag 211 is added. Thus, the system 1 can operate as if the data deletion process was performed at high speed.

また、削除予約フラグ212が付与されたデータは、運用管理装置20又は利用者端末30からのデータ操作要求が無い期間に削除される。つまり、例えば災害が沈静化し、総蓄積データ数が減少し、システム1のCPU負荷に余裕が出て来た時に、データ蓄積装置10は削除予約フラグ212が付与されたデータを削除する。したがって、データの削除処理に要する多大な時間とCPU過負荷によって生じる利便性の低下を解決することができる。   Further, the data to which the deletion reservation flag 212 is assigned is deleted during a period in which there is no data operation request from the operation management apparatus 20 or the user terminal 30. That is, for example, when the disaster calms down, the total number of accumulated data decreases, and the CPU load of the system 1 comes to an end, the data storage device 10 deletes the data to which the deletion reservation flag 212 is attached. Therefore, it is possible to solve the deterioration of the convenience caused by the large amount of time required for the data deletion process and the CPU overload.

なお、上記した実施形態ではデータ格納部17に記録するデータを音声伝言の例を示したが、本発明はこの例に限定されない。データはテキストでも画像データであっても本実施形態のデータ操作方法を適用することが可能である。   In the embodiment described above, an example of voice message in which data to be recorded in the data storage unit 17 is shown, but the present invention is not limited to this example. Whether the data is text or image data, it is possible to apply the data manipulation method of the present embodiment.

また、本実施形態のデータ操作方法を、データ蓄積装置10が行う例で説明を行ったが、データ操作方法の処理ステップは複数の装置(サーバ)に分散させても良い。このように本発明は、上記の実施形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。   In addition, although the data manipulation method according to the present embodiment is described as an example performed by the data storage device 10, the processing steps of the data manipulation method may be distributed to a plurality of devices (servers). As described above, the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the invention.

1:システム
10:データ蓄積装置
11:データ処理部
12:データ登録部
13:データ送信部
14:データ削除部
15:テーブル
16:フラグ管理部
17:データ格納部
20:運用管理装置
30:利用者端末
40:ネットワーク
1: System 10: Data storage device 11: Data processing unit 12: Data registration unit 13: Data transmission unit 14: Data deletion unit 15: Table 16: Flag management unit 17: Data storage unit 20: Operation management device 30: User Terminal 40: Network

Claims (4)

データ蓄積装置が行うデータ操作方法であって、
前記データ蓄積装置は、複数のデータを蓄積するデータ格納部と、各々の前記データのファイル名と前記データの属性情報とを対応付けたレコードを含むテーブルとを備え、
運用管理装置から検索キーを含む削除候補選択要求を受信して、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、削除候補であることを表す削除候補フラグを付与する削除候補選択ステップと、
利用者端末から検索キーを含むデータ送信要求を受信し、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、前記削除候補フラグが付与されているか否かを判定する削除候補判定ステップと、
前記削除候補フラグが付与されていない場合は、当該レコードに対応するファイル名のデータを前記データ送信要求の送信元に送信し、前記削除候補フラグが付与されている場合は、前記データの送信を行わないデータ送信ステップと
運用管理装置から検索キーを含む削除予約要求を受信して、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、削除予約フラグを付与する削除予約ステップと、
バックグラウンド処理で、前記テーブルの前記削除予約フラグが付与されているレコードを検索し、前記レコードに対応するファイル名のデータを前記データ格納部から削除する削除ステップと
を行い、
前記レコードの属性情報は、前記データ蓄積装置にデータの蓄積要求をした要求元の所在地を表す所在地情報を含み、
前記所在地情報が一致するそれぞれのレコードに対応するファイル名のデータのデータ量を、所定のタイミングで所在地情報ごとに算出し、算出したデータ量の変化率を監視する変化率監視ステップを行い、
前記削除ステップにおいて、前記変化率が閾値より小さいデータを、前記変化率が前記閾値より大きいデータより先に削除することを特徴とするデータ操作方法。
A data manipulation method performed by the data storage device,
The data storage device includes a data storage unit for storing a plurality of data, and a table including a record in which a file name of each data is associated with attribute information of the data.
When a deletion candidate selection request including a search key is received from the operation management apparatus and a record of attribute information matching the search key is present in the table, a deletion candidate flag indicating that the record is a deletion candidate is added to the record. Delete candidate selection step
When a data transmission request including a search key is received from the user terminal and a record of attribute information matching the search key is present in the table, it is determined whether the deletion candidate flag is added to the record A deletion candidate determination step;
If the deletion candidate flag is not attached, the data of the file name corresponding to the record is transmitted to the transmission source of the data transmission request, and if the deletion candidate flag is attached, transmission of the data is performed. and a data transmission step is not performed,
A deletion reservation step of receiving a deletion reservation request including a search key from the operation management apparatus and adding a deletion reservation flag to the record when there is a record of attribute information matching the search key in the table;
In background processing, to find records that the deletion reserved flag in the table is applied, have rows and deletion step of deleting the data file name corresponding to the record from the data storage unit,
The attribute information of the record includes location information representing a location of a request source that has requested the data storage device to store data;
Calculating a data amount of data of a file name corresponding to each record where the location information matches, for each location information at a predetermined timing, and performing a change rate monitoring step of monitoring a change rate of the calculated data amount;
A data manipulation method characterized in that in the deletion step, data whose change rate is smaller than a threshold is deleted before data whose change rate is larger than the threshold .
データ蓄積装置が行うデータ操作方法であって、
前記データ蓄積装置は、複数のデータを蓄積するデータ格納部と、各々の前記データのファイル名と前記データの属性情報とを対応付けたレコードを含むテーブルとを備え、
運用管理装置から検索キーを含む削除候補選択要求を受信して、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、削除候補であることを表す削除候補フラグを付与する削除候補選択ステップと、
利用者端末から検索キーを含むデータ送信要求を受信し、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、前記削除候補フラグが付与されているか否かを判定する削除候補判定ステップと、
前記削除候補フラグが付与されていない場合は、当該レコードに対応するファイル名のデータを前記データ送信要求の送信元に送信し、前記削除候補フラグが付与されている場合は、前記データの送信を行わないデータ送信ステップと、
運用管理装置から検索キーを含む削除候補解除要求を受信して、前記検索キーと一致する属性情報のレコードが前記テーブルにあり、且つ、当該レコードに前記削除候補フラグが付与されている場合、当該削除候補フラグを削除する削除候補解除ステップと、
運用管理装置から検索キーを含む削除予約要求を受信して、前記検索キーと一致する属性情報のレコードが前記テーブルにある場合、当該レコードに、削除予約フラグを付与する削除予約ステップと、
バックグラウンド処理で、前記テーブルの前記削除予約フラグが付与されているレコードを検索し、前記レコードに対応するファイル名のデータを前記データ格納部から削除する削除ステップと
を行い、
前記レコードの属性情報は、前記データ蓄積装置にデータの蓄積要求をした要求元の所在地を表す所在地情報を含み、
前記所在地情報が一致するそれぞれのレコードに対応するファイル名のデータのデータ量を、所定のタイミングで所在地情報ごとに算出し、算出したデータ量の変化率を監視する変化率監視ステップを行い、
前記削除ステップにおいて、前記変化率が閾値より小さいデータを、前記変化率が前記閾値より大きいデータより先に削除することを特徴とするデータ操作方法。
A data manipulation method performed by the data storage device,
The data storage device includes a data storage unit for storing a plurality of data, and a table including a record in which a file name of each data is associated with attribute information of the data.
When a deletion candidate selection request including a search key is received from the operation management apparatus and a record of attribute information matching the search key is present in the table, a deletion candidate flag indicating that the record is a deletion candidate is added to the record. Delete candidate selection step
When a data transmission request including a search key is received from the user terminal and a record of attribute information matching the search key is present in the table, it is determined whether the deletion candidate flag is added to the record A deletion candidate determination step;
If the deletion candidate flag is not attached, the data of the file name corresponding to the record is transmitted to the transmission source of the data transmission request, and if the deletion candidate flag is attached, transmission of the data is performed. Data transmission step not performed
When a deletion candidate cancellation request including a search key is received from the operation management apparatus, and a record of attribute information matching the search key is present in the table, and the deletion candidate flag is added to the record, A deletion candidate cancellation step of deleting a deletion candidate flag ;
A deletion reservation step of receiving a deletion reservation request including a search key from the operation management apparatus and adding a deletion reservation flag to the record when there is a record of attribute information matching the search key in the table;
A deletion step of searching for a record to which the deletion reservation flag is added in the table in background processing, and deleting data of a file name corresponding to the record from the data storage unit;
Do,
The attribute information of the record includes location information representing a location of a request source that has requested the data storage device to store data;
Calculating a data amount of data of a file name corresponding to each record where the location information matches, for each location information at a predetermined timing, and performing a change rate monitoring step of monitoring a change rate of the calculated data amount;
A data manipulation method characterized in that in the deletion step, data whose change rate is smaller than a threshold is deleted before data whose change rate is larger than the threshold .
請求項1又は2に記載したデータ操作方法において、
前記削除候補フラグ又は削除予約フラグが付与されていないレコードを検索し、前記レコードに対応するファイル名のデータのデータ量を算出し、算出したデータ量を、前記データを蓄積した時刻と関連付けた時系列情報として出力する時系列出力ステップを行うことを特徴とするデータ操作方法。
In the data manipulation method according to claim 1 or 2 ,
When a record without the deletion candidate flag or deletion reservation flag is searched, the data amount of data of the file name corresponding to the record is calculated, and the calculated data amount is associated with the time when the data is stored A data manipulation method characterized by performing a time-series output step of outputting as sequence information.
請求項1乃至の何れかに記載したデータ操作方法を、コンピュータに実行させるためのデータ操作方法プログラム。 A data manipulation method program for causing a computer to execute the data manipulation method according to any one of claims 1 to 3 .
JP2016012989A 2016-01-27 2016-01-27 Data manipulation method and data manipulation method program Active JP6426634B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016012989A JP6426634B2 (en) 2016-01-27 2016-01-27 Data manipulation method and data manipulation method program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016012989A JP6426634B2 (en) 2016-01-27 2016-01-27 Data manipulation method and data manipulation method program

Publications (2)

Publication Number Publication Date
JP2017134560A JP2017134560A (en) 2017-08-03
JP6426634B2 true JP6426634B2 (en) 2018-11-21

Family

ID=59504887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016012989A Active JP6426634B2 (en) 2016-01-27 2016-01-27 Data manipulation method and data manipulation method program

Country Status (1)

Country Link
JP (1) JP6426634B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4083997B2 (en) * 2001-04-16 2008-04-30 株式会社日立製作所 Rental storage service method and rental storage system
JP4623917B2 (en) * 2002-03-28 2011-02-02 日本電気株式会社 Database construction method and database construction system
JP2006285467A (en) * 2005-03-31 2006-10-19 Nifty Corp Answering service system
JP2008083989A (en) * 2006-09-27 2008-04-10 Sony Corp Data management system
JP4772644B2 (en) * 2006-11-01 2011-09-14 株式会社エヌ・ティ・ティ・ドコモ Message message distribution system and message message distribution method
JP2009027560A (en) * 2007-07-20 2009-02-05 Nippon Telegr & Teleph Corp <Ntt> Message server device and its operating method, program for use in the message server device and its recording medium
JP5191434B2 (en) * 2009-04-20 2013-05-08 日本電信電話株式会社 Database scale-out method, apparatus and program
JP2011019199A (en) * 2009-07-10 2011-01-27 Konica Minolta Business Technologies Inc Information processor
US8924663B2 (en) * 2010-09-09 2014-12-30 Nec Corporation Storage system, computer-readable medium, and data management method having a duplicate storage elimination function
JP5871583B2 (en) * 2011-11-22 2016-03-01 キヤノン株式会社 Document management apparatus, control method therefor, and program
JP5914375B2 (en) * 2013-02-07 2016-05-11 日本電信電話株式会社 Data providing method and service system

Also Published As

Publication number Publication date
JP2017134560A (en) 2017-08-03

Similar Documents

Publication Publication Date Title
US10028011B2 (en) Predictive storage of broadcast content
JP6875900B2 (en) Information processing equipment, information processing methods, and programs
CN109982034B (en) Access request processing method and device in video monitoring system
CN104754505A (en) Number information pushing method, quickly dialing method, device and system
US9398316B2 (en) Temporary storage of recorded content on a cloud storage server
JP6426634B2 (en) Data manipulation method and data manipulation method program
US20130031167A1 (en) Information distribution system
JP2019185108A (en) Communication support apparatus and communication support program
JP6520222B2 (en) Server apparatus, image sharing control method, and image sharing control program
US20160269316A1 (en) Acceptance device,acceptance system, acceptance method, and program
US10785602B2 (en) Information processing method and apparatus
US20140351703A1 (en) Communication system, gui apparatus, and service apparatus
KR101586031B1 (en) Spam call blocking apparatus for providing information of spam call and method thereof
JP6872444B2 (en) Servers and programs
WO2016042555A2 (en) System and method for device availability signaling
JP4268144B2 (en) Resource management apparatus and method
KR100802118B1 (en) Method for providing location information searching service and apparatus for thereof
JP2020095434A (en) Communication device, communication method, and communication program
JP6070086B2 (en) Call center server, call center system, call center server control method, and call center server program
JP7367483B2 (en) Electronic payment method, electronic payment device
JP7338865B2 (en) Garbage Bring-in Support Device, Garbage Bring-in Support Method, Program, and Recording Medium
JP2012103837A (en) Information mediation device, method, program, and system
JP6702044B2 (en) Information processing equipment
EP3664400A1 (en) Rich communication suite (rcs)-based contact management method and apparatus, and storage medium
KR100677306B1 (en) Short message storing method for mobile communication terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181009

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181025

R150 Certificate of patent or registration of utility model

Ref document number: 6426634

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150