JPH05313970A - Electronic bulletin board device - Google Patents
Electronic bulletin board deviceInfo
- Publication number
- JPH05313970A JPH05313970A JP4115734A JP11573492A JPH05313970A JP H05313970 A JPH05313970 A JP H05313970A JP 4115734 A JP4115734 A JP 4115734A JP 11573492 A JP11573492 A JP 11573492A JP H05313970 A JPH05313970 A JP H05313970A
- Authority
- JP
- Japan
- Prior art keywords
- file
- exclusive control
- bulletin board
- database
- message
- 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.)
- Pending
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、データベースを介した
電子掲示板装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic bulletin board device via a database.
【0002】[0002]
【従来の技術】図5は従来の掲示板管理図である。掲示
板管理51にはデータベース管理52とファイル管理5
3がある。データベース管理52では、各掲示板の情報
および書き込まれたメッセージに関する管理情報の管理
をおこなう。ファイル管理53では、メッセージファイ
ルの管理をおこなう。2. Description of the Related Art FIG. 5 is a conventional bulletin board management chart. The bulletin board management 51 includes database management 52 and file management 5
There are three. The database management 52 manages information about each bulletin board and management information about written messages. The file management 53 manages message files.
【0003】以下に従来の掲示板管理の排他制御につい
て説明する。図6は従来のメッセージ書き込み処理の排
他制御を示したものである。図6において、排他制御開
始61により排他制御を開始する。ファイル保存62は
書き込まれたメッセージを保存する。データベースの更
新63はデータベースの更新処理をする。排他制御終了
64は排他制御を終了させる。ファイル削除65はデー
タベースの更新63で失敗したときにファイル保存62
によって保存したメッセージを削除する処理である。6
6の処理は、データベースの持つ機能であり、排他制御
開始以降のデータベースの修正を取り消し、変更する前
の状態に戻す機能である。The conventional exclusive control of bulletin board management will be described below. FIG. 6 shows the exclusive control of the conventional message writing process. In FIG. 6, exclusive control is started by exclusive control start 61. The file save 62 saves the written message. The database update 63 performs a database update process. The exclusive control end 64 ends the exclusive control. File deletion 65 is file saving 62 when the database update 63 fails.
This is a process of deleting the message saved by. 6
The process of 6 is a function of the database and is a function of canceling the modification of the database after the start of the exclusive control and returning to the state before the modification.
【0004】図6による構成において、排他制御により
他者からアクセスできない時間である排他制御時間は排
他制御開始61から排他制御終了64、あるいはデータ
ベースを処理前の状態に戻す66の処理が終るまでとな
る。In the configuration shown in FIG. 6, the exclusive control time, which is the time during which the access cannot be accessed by others by the exclusive control, is from the exclusive control start 61 to the exclusive control end 64, or until the processing of returning the database to the state before processing 66 is completed. Become.
【0005】図7は従来のメッセージ削除処理の排他制
御を示したものである。図7において、ファイル削除7
3は指定されたメッセージファイルを削除する。FIG. 7 shows exclusive control of a conventional message deletion process. In FIG. 7, file deletion 7
3 deletes the specified message file.
【0006】図7による構成において、排他制御時間は
排他制御開始71から排他制御終了74、あるいはデー
タベースを処理前の状態に戻す75の処理が終るまでと
なる。In the configuration shown in FIG. 7, the exclusive control time is from the exclusive control start 71 to the exclusive control end 74, or until the processing of returning the database to the state before processing 75 is completed.
【0007】[0007]
【発明が解決しようとする課題】従来の構成では、ファ
イル管理を排他制御に含めているため、排他制御時間が
長くなるという課題を有していた。In the conventional configuration, since the file management is included in the exclusive control, there is a problem that the exclusive control time becomes long.
【0008】本発明では、上記従来の課題を解決するも
ので、排他制御時間を短くすることを目的とする。The present invention solves the above-mentioned conventional problems, and an object thereof is to shorten the exclusive control time.
【0009】[0009]
【課題を解決するための手段】この目的を解決するため
に本発明は、掲示板に関する情報を管理するデータベー
ス管理部と、掲示板に表示すべきファイルを管理するフ
ァイル管理部と、前記データベースと前記ファイル管理
部とを管理する掲示板管理部とを備え、前記データベー
ス管理部に登録された削除すべきファイルの名前を削除
前に前記データベースに登録された名前と異なる名前に
変更し、前記データベースへのアクセスを開放した後
に、前記ファイル管理部が前記ファイルを削除すること
を特徴とするものである。In order to solve this object, the present invention provides a database management unit for managing information about a bulletin board, a file management unit for managing files to be displayed on the bulletin board, the database and the file. And a bulletin board management unit for managing the management unit, and changes the name of the file to be deleted registered in the database management unit to a name different from the name registered in the database before deletion, and accesses the database. Is released, the file management unit deletes the file.
【0010】[0010]
【作用】上記構成により、掲示板管理におけるファイル
管理に要する排他制御時間を短くし、掲示板利用者の待
ち時間を短縮することができる。With the above configuration, the exclusive control time required for file management in the bulletin board management can be shortened, and the waiting time of the bulletin board user can be shortened.
【0011】[0011]
(実施例1)以下本発明の一実施例を図表を参照しなが
ら説明する。図1はメッセージ削除時の実施例である。
削除するファイルを一時ファイルにリネーム13はすぐ
にメッセージファイルを削除するのではなく、一時ファ
イルにリネームする。一時ファイル削除15は排他制御
が正常終了した場合に一時ファイルを削除する。一時フ
ァイルを元のファイルに戻す16は排他制御が正常終了
しなかった場合に一時ファイルを元のメッセージファイ
ルに戻す。排他制御開始11から排他制御終了14、あ
るいはデータベースを処理前の状態に戻す17までが排
他制御時間となる。(Embodiment 1) An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment when deleting a message.
Rename file to be deleted to temporary file 13 does not immediately delete the message file, but renames it to a temporary file. The temporary file deletion 15 deletes the temporary file when the exclusive control ends normally. Returning the temporary file to the original file 16 returns the temporary file to the original message file when the exclusive control is not normally completed. The exclusive control time is from the exclusive control start 11 to the exclusive control end 14 or from 17 to return the database to the state before processing.
【0012】以上のように本実施例によれば、削除する
メッセージを一時ファイルにリネーム13の処理をおこ
なうことにより、一時ファイル削除15を排他制御から
外すことができる。また、ファイルを削除するよりリネ
ームしたほうが処理時間が短いので、排他制御時間が短
くなる。ファイル削除15は排他制御に含まないので掲
示板管理図に表すと図2のようになる。つまり、ファイ
ル管理23に対応する処理である削除するメッセージを
一時ファイルにリネーム13、一時ファイル削除15、
一時ファイルを元のファイルに戻す16のうち、一部の
みが排他制御になるので排他制御時間が短くなる。As described above, according to this embodiment, the temporary file deletion 15 can be removed from the exclusive control by renaming the message to be deleted to the temporary file. Further, since the processing time is shorter when the file is renamed than when the file is deleted, the exclusive control time becomes shorter. Since the file deletion 15 is not included in the exclusive control, it is shown in the bulletin board management chart as shown in FIG. That is, the message to be deleted, which is a process corresponding to the file management 23, is renamed to a temporary file 13, the temporary file is deleted 15,
The exclusion control time is shortened because only a part of the 16 files that return the temporary file to the original file is in the exclusion control.
【0013】(実施例2)以下本発明の第2の実施例に
ついて説明する。図3は大量のメッセージ削除時の実施
例である。大量のメッセージを削除する処理としてエク
スパイヤがある。エクスパイヤは、各掲示板ごとに設定
されたメッセージ保存期間とメッセージの書き込み日を
メッセージごとに比較し、保存期間を過ぎていればその
メッセージを削除する機能である。データベースの更新
32でエクスパイヤの対象となるメッセージを決定し、
データベースから該当する管理情報を削除する。ファイ
ル削除34は削除の対象となるメッセージファイルを削
除する。(Second Embodiment) A second embodiment of the present invention will be described below. FIG. 3 shows an embodiment when deleting a large number of messages. There is an explorer as a process for deleting a large number of messages. The expirer is a function that compares the message retention period set for each bulletin board with the message writing date for each message and deletes the message if the retention period has passed. Update 32 of the database determines the messages to be targeted by the exploiter,
Delete the relevant management information from the database. The file delete 34 deletes the message file to be deleted.
【0014】大量のメッセージ削除時は実施例1と比較
すると時間がかかるが、以上のように本実施例によれば
データベースの更新32においてメッセージの管理情報
を削除することにより、その時点でメッセージファイル
にアクセスできなくなっている。また、図3のエクスパ
イヤの排他制御図を掲示板管理図に表すと図4のように
なり、ファイル管理43を排他制御から外しているため
排他制御時間が短くなる。When deleting a large number of messages, it takes time as compared with the first embodiment. As described above, according to the present embodiment, by deleting the management information of the message in the update 32 of the database, the message file at that point is deleted. Is no longer accessible. Further, the exclusive control diagram of the explorer in FIG. 3 is shown in the bulletin board management diagram as shown in FIG. 4, and the exclusive control time is shortened because the file management 43 is excluded from the exclusive control.
【0015】[0015]
【発明の効果】以上のように本発明は、メッセージの書
き込み、メッセージの削除、あるいは大量のメッセージ
を削除するとき、ファイル管理の一部または全てを排他
制御から外すことによって排他制御時間を短くすること
ができ、掲示板利用者の待ち時間を短縮することができ
る。As described above, according to the present invention, when writing a message, deleting a message, or deleting a large number of messages, a part or all of the file management is removed from the exclusive control to shorten the exclusive control time. Therefore, the waiting time of the bulletin board users can be shortened.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の第1の実施例におけるメッセージ削除
時の排他制御図FIG. 1 is an exclusive control diagram when deleting a message according to a first embodiment of this invention.
【図2】本発明の第1の実施例におけるメッセージの削
除時の掲示板管理図FIG. 2 is a bulletin board management diagram when deleting a message according to the first embodiment of this invention.
【図3】本発明の第2の実施例におけるエクスパイヤの
排他制御図FIG. 3 is an exclusive control diagram of an explorer according to the second embodiment of the present invention.
【図4】本発明の第2の実施例におけるエクスパイヤの
掲示板管理図FIG. 4 is a bulletin board management diagram of an explorer according to the second embodiment of the present invention.
【図5】従来の掲示板管理図[Fig. 5] Conventional board management diagram
【図6】従来のメッセージ書き込み時の排他制御図FIG. 6 is a conventional exclusive control diagram when writing a message.
【図7】従来のメッセージ削除時の排他制御図FIG. 7: Exclusive control diagram when deleting a message
21 掲示板管理 22 データベース管理 23 ファイル管理 24 排他制御部 21 bulletin board management 22 database management 23 file management 24 exclusive control unit
Claims (1)
ース管理部と、掲示板に表示すべきファイルを管理する
ファイル管理部と、前記データベースと前記ファイル管
理部とを管理する掲示板管理部とを備え、前記データベ
ース管理部に登録された削除すべきファイルの名前を削
除前に前記データベースに登録された名前と異なる名前
に変更し、前記データベースへのアクセスを開放した後
に、前記ファイル管理部が前記ファイルを削除すること
を特徴とする電子掲示板装置。1. A database management unit that manages information about a bulletin board, a file management unit that manages files to be displayed on the bulletin board, a bulletin board management unit that manages the database and the file management unit, and the database. The file management unit deletes the file after changing the name of the file to be deleted registered in the management unit to a name different from the name registered in the database before deletion and opening the access to the database. An electronic bulletin board device characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4115734A JPH05313970A (en) | 1992-05-08 | 1992-05-08 | Electronic bulletin board device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4115734A JPH05313970A (en) | 1992-05-08 | 1992-05-08 | Electronic bulletin board device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05313970A true JPH05313970A (en) | 1993-11-26 |
Family
ID=14669772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4115734A Pending JPH05313970A (en) | 1992-05-08 | 1992-05-08 | Electronic bulletin board device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05313970A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015210679A (en) * | 2014-04-25 | 2015-11-24 | キヤノン株式会社 | Information processing apparatus, control method, and program |
-
1992
- 1992-05-08 JP JP4115734A patent/JPH05313970A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015210679A (en) * | 2014-04-25 | 2015-11-24 | キヤノン株式会社 | Information processing apparatus, control method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE69516538T2 (en) | STORAGE OF COMPUTER DATA | |
JPH05313970A (en) | Electronic bulletin board device | |
JP2000155706A (en) | Method and device for mapping object-oriented and relational data base and its storage medium | |
JPH04125743A (en) | Method for managing validity term of file by file name and its data processor | |
JP3279247B2 (en) | Database management apparatus and method, and recording medium recording this method | |
JPH08314786A (en) | File access control system | |
JPH09198283A (en) | File deleting method on recording medium volume | |
JPH0319044A (en) | Automatic file deletion system | |
JPH04188343A (en) | Data update informing method in data analysis system data base | |
JPH0635779A (en) | File control system | |
JPH06214856A (en) | Data backup system | |
JPH0293959A (en) | File management system | |
JPH0322152A (en) | File restoring system | |
JPH04107653A (en) | File saving system | |
JP2746952B2 (en) | Image processing method | |
JPH04188339A (en) | Control system for deleted record | |
JPH02187827A (en) | Patch applying system for terminal program | |
KR940017573A (en) | Data memory management method in real time database management system (DBMS) | |
JPH05334141A (en) | File management system | |
JPH1165903A (en) | Method and device for data base management, and storage medium stored with data base management program | |
JPH07160565A (en) | Data base reorganization system while job processing is being performed | |
JPH04195559A (en) | Subfile management system | |
JPH06195274A (en) | Electronic bulletin board device | |
JPH05216927A (en) | Transaction journal system | |
JPH03212745A (en) | Simultaneous access control system |