JP5689666B2 - History management apparatus and method - Google Patents

History management apparatus and method Download PDF

Info

Publication number
JP5689666B2
JP5689666B2 JP2010275514A JP2010275514A JP5689666B2 JP 5689666 B2 JP5689666 B2 JP 5689666B2 JP 2010275514 A JP2010275514 A JP 2010275514A JP 2010275514 A JP2010275514 A JP 2010275514A JP 5689666 B2 JP5689666 B2 JP 5689666B2
Authority
JP
Japan
Prior art keywords
history information
room
status
occupancy status
survey
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
JP2010275514A
Other languages
Japanese (ja)
Other versions
JP2012123707A (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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2010275514A priority Critical patent/JP5689666B2/en
Publication of JP2012123707A publication Critical patent/JP2012123707A/en
Application granted granted Critical
Publication of JP5689666B2 publication Critical patent/JP5689666B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)

Description

本発明は、入退室管理技術に関し、特に入退室の履歴情報に基づいて過去の在室状況を再現する履歴管理技術に関する。   The present invention relates to entry / exit management technology, and more particularly to history management technology for reproducing past occupancy status based on entry / exit history information.

一般に、施設や建物では、特定の管理区域について部外者に対するセキュリティが必要な場合、入退室管理システムを用いて各部屋における利用者の入退室を厳重に管理するものとなっている。例えば、特定の部屋の出入口にリーダと電気錠を設け、ユーザが所持するIDカードからリーダで読み取ったユーザ識別情報に基づき、予め記憶部に保存されている入退室判定情報を参照して、入退室の可否を判定して電気錠を制御するものとなっている。   Generally, in facilities and buildings, when security for outsiders is required for a specific management area, entry / exit of users in each room is strictly managed using an entrance / exit management system. For example, a reader and an electric lock are provided at the entrance and exit of a specific room, and on the basis of user identification information read by the reader from an ID card possessed by the user, the entrance / exit determination information stored in the storage unit in advance is referred to, The electric lock is controlled by determining whether or not the user can leave the room.

このような入退室管理システムでは、IDカードを各部屋に設置されたリーダにセットして入退室する際に、IDカードと操作端末に設定されている情報に基づいて、入退室に関する履歴情報を記録する機能が設けられている(例えば、特許文献1など参照)。この履歴情報としては、例えば、入退室が行われた日時、入退室した人の個人情報、操作ステータス(入室・退室)が記録される。   In such an entrance / exit management system, when entering / leaving an ID card set in a reader installed in each room, history information relating to the entrance / exit is based on information set in the ID card and the operation terminal. A recording function is provided (see, for example, Patent Document 1). As this history information, for example, the date and time when the room was entered, the personal information of the person who entered and exited, and the operation status (room entry / exit) were recorded.

特開2000−172895号公報JP 2000-172895 A

このような従来の入退室管理システムでは、所望の日時から現時点までに記録したすべての履歴情報を検証すれば、過去に遡って、所望の検査日時に誰がどの部屋に在室していたかを示す在室状況や、所望の検査期間に特定の部屋に対して誰が入室したかを示す入室状況などの再現情報を生成することができる。   In such a conventional entrance / exit management system, if all the history information recorded from the desired date and time to the present time is verified, it is shown in the room which person was in the room at the desired examination date and time. Reproduction information such as the occupancy status and the occupancy status indicating who entered a specific room during a desired inspection period can be generated.

通常、このような再現情報を生成する場合、現時点から所望の日時までの期間における膨大なデータ量を検証する必要があるため、極めて大きな処理時間が発生する。したがって、ビル建物のような多くの部屋と人を管理するような入退室管理システムでは、ある時点を基点として、その前後の履歴情報から所望の日時における在室状況を再現する再現処理方法が用いられる。これにより、履歴情報のうち検証が必要なデータ量を大幅に削減でき、処理時間を短縮することができる。   Usually, when such reproduction information is generated, it is necessary to verify an enormous amount of data in a period from the present time to a desired date and time, and thus a very long processing time is generated. Therefore, in an entrance / exit management system that manages many rooms and people such as buildings, a reproduction processing method that reproduces the occupancy status at a desired date and time from the history information before and after a certain point in time is used. It is done. As a result, the amount of data that needs to be verified in the history information can be greatly reduced, and the processing time can be shortened.

しかしながら、このような再現情報の生成方法では、基点においてすべての部屋に誰も在室していないという前提を用いることになるため、得られた在室状況や入室状況などの再現情報には曖昧さを含むという問題点があった。
本発明はこのような課題を解決するためのものであり、短い処理時間で正確な再現情報を生成できる履歴管理技術を提供することを目的としている。
However, since such a reproduction information generation method uses the premise that no one is present in all rooms at the base point, the reproduction information such as occupancy status and entry status obtained is ambiguous. There was a problem that it included.
An object of the present invention is to provide a history management technique capable of generating accurate reproduction information in a short processing time.

このような目的を達成するために、本発明にかかる履歴管理装置は、各部屋における利用者の入退室を管理する入退室管理装置から通知された、入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、入退室の履歴情報として記憶部へ順次保存する履歴管理部と、履歴情報に基づいて各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した最新在室状況を記録在室状況として記憶部へ保存する在室状況更新部と、記録在室状況のうち在室調査の対象となる調査日時以前に更新した直近の記録在室状況からなる基点在室状況と、履歴情報のうち基点在室状況が更新された基点日時から調査日時までの再現期間における履歴情報からなる再現用履歴情報とを、記憶部から取得する情報取得部と、基点在室状況を初期の在室状況とした後、各再現用履歴情報に記録されている入退室に関する情報に基づいて在室状況を順次更新することにより、調査日時における各利用者の在室状況を示す再現在室状況を生成する在室状況再現部とを備えている。   In order to achieve such an object, the history management device according to the present invention provides the date and time of entry / exit, room, and user's information notified from the entrance / exit management device that manages the entrance / exit of the user in each room. A history management unit that sequentially stores information identifying each in the storage unit as entry / exit history information, and the latest occupancy status that indicates the latest room in which each user is present based on the history information The occupancy status update unit that saves the updated latest occupancy status as the recorded occupancy status in the storage unit, and the latest recorded occupancy updated before the survey date and time of the occupancy survey in the recorded occupancy status An information acquisition unit that acquires, from the storage unit, the base occupancy status composed of the status and the history information for reproduction including the history information in the reproduction period from the base date / time when the base occupancy status is updated to the survey date / time among the history information And the base room After the status is changed to the initial occupancy status, the occupancy status of each user at the survey date and time is indicated by sequentially updating the occupancy status based on the information related to the entrance / exit recorded in each reproduction history information. The occupancy status reproduction unit for generating the current status of the room is provided.

また、本発明にかかる他の履歴管理装置は、各部屋における利用者の入退室を管理する入退室管理装置から通知された、入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、入退室の履歴情報として記憶部へ順次保存する履歴管理部と、履歴情報に基づいて各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した最新在室状況を記録在室状況として記憶部へ保存する在室状況更新部と、記録在室状況のうち在室調査の対象となる第1の調査期間の開始日時以前に更新した直近の記録在室状況からなる基点在室状況と、履歴情報のうち基点在室状況が更新された基点日時から第1の調査期間の開始日時までの第1の再現期間における履歴情報からなる第1の再現用履歴情報と、履歴情報のうち第1の調査期間の開始日時から終了日時までの期間における履歴情報からなる第1の集計用履歴情報とを、記憶部から取得する情報取得部と、基点在室状況を初期の在室状況とした後、各第1の再現用履歴情報に記録されている入退室に関する情報に基づいて在室状況を順次更新することにより、第1の調査日時の開始日時における各利用者の在室状況を示す第1の再現在室状況を生成する在室状況再現部と、各第1の集計用履歴情報に記録されている、在室調査の対象となる対象部屋への入室者に関する情報に基づいて第1の再現在室状況を順次更新することにより、第1の調査期間に対象部屋へ入室した利用者の入室状況を含む第1の入室状況を生成する入室状況生成部とを備えている。   In addition, the other history management device according to the present invention includes information specifying each of the date / time, room, and user regarding entry / exit notified from the entrance / exit management device that manages the entrance / exit of the user in each room. The history management unit that sequentially stores the history information of entering and exiting the storage unit, and the latest occupancy status indicating the latest room in which each user is present based on the history information are sequentially updated, and the updated latest The occupancy status update unit that saves the room status as the recorded occupancy status in the storage unit, and the latest recorded occupancy updated before the start date and time of the first survey period that is the subject of the occupancy survey of the recorded occupancy status The first histories for reproduction composed of the base point occupancy status composed of the situation and the history information in the first reproduction period from the base point date and time when the base point occupancy state of the history information is updated to the start date and time of the first survey period Information and the first of the history information After the first acquisition history information consisting of history information in the period from the start date to the end date of the examination period, the information acquisition unit that acquires from the storage unit, and the base occupancy status as the initial occupancy status, A first indicating the occupancy status of each user at the start date / time of the first survey date / time by sequentially updating the occupancy status based on the information relating to the entrance / exit recorded in the first history information for reproduction. Based on the information on the occupancy status reproduction unit for generating the re-current room status and the information on the occupants of the target room to be subject to the occupancy survey recorded in each first totaling history information And a room entry status generation unit that generates a first room entrance status including a room entrance status of a user who entered the target room during the first survey period by sequentially updating the current room status.

この際、情報取得部で、在室調査の対象として第1の調査期間から不連続で第2の調査期間が指定されている場合、履歴情報のうち第1の調査期間の終了日時から第2の調査期間の開始日時までの第2の再現期間における履歴情報からなる第2の再現用履歴情報と、履歴情報のうち第2の調査期間の開始日時から終了日時までの期間における履歴情報からなる第2の集計用履歴情報とを、記憶部から取得し、在室状況再現部で、各第2の再現用履歴情報に記録されている入退室に関する情報に基づいて第1の入室状況を順次更新することにより、第2の調査期間の開始日時における各利用者の在室状況を示す第2の再現在室状況を生成し、入室状況生成部で、各第2の集計用履歴情報に記録されている対象部屋への入室者に関する情報に基づいて第2の再現在室状況を順次更新することにより、第1および第2の調査期間に対象部屋へ入室した利用者の入室状況を含む第2の入室状況を生成するようにしてもよい。   At this time, in the information acquisition unit, when the second survey period is specified discontinuously from the first survey period as the subject of the occupancy survey, the second from the end date and time of the first survey period in the history information. Second reproduction history information consisting of history information in the second reproduction period until the start date and time of the survey period, and history information in the period from the start date and time to the end date and time of the second investigation period in the history information. The second total history information is acquired from the storage unit, and the occupancy status reproduction unit sequentially determines the first room entry status based on the information related to the entry / exit recorded in each second reproduction history information. By updating, the second re-current room status indicating the occupancy status of each user at the start date and time of the second survey period is generated, and recorded in the second history information for aggregation by the room entrance status generation unit Based on information about the person entering the target room Te by sequentially updating the second reproduction occupancy status, may be generated a second entrance conditions including entry status of the user who has entered the target room to the first and second study period.

また、本発明にかかる履歴管理方法は、履歴管理部が、各部屋における利用者の入退室を管理する入退室管理装置から通知された、入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、入退室の履歴情報として記憶部へ順次保存する履歴管理ステップと、在室状況更新部が、履歴情報に基づいて各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した最新在室状況を記録在室状況として記憶部へ保存する在室状況更新ステップと、情報取得部が、記録在室状況のうち在室調査の対象となる調査日時以前に更新した直近の記録在室状況からなる基点在室状況と、履歴情報のうち基点在室状況が更新された基点日時から調査日時までの再現期間における履歴情報からなる再現用履歴情報とを、記憶部から取得する情報取得ステップと、在室状況再現部が、基点在室状況を初期の在室状況とした後、各再現用履歴情報に記録されている入退室に関する情報に基づいて在室状況を順次更新することにより、調査日時における各利用者の在室状況を示す再現在室状況を生成する在室状況再現ステップとを備えている。   Further, in the history management method according to the present invention, the history management unit identifies each of the date / time, room, and user regarding entry / exit notified from the entrance / exit management device that manages the entrance / exit of the user in each room. The history management step that sequentially saves the information to be stored as entry / exit history information to the storage unit, and the occupancy status update unit indicates the latest room in which each user is occupying based on the history information The status update step that updates the status sequentially and saves the updated latest occupancy status to the storage unit as the recorded occupancy status, and the date and time that the information acquisition unit is subject to the occupancy survey in the recorded occupancy status The base occupancy status consisting of the most recent recorded occupancy status that has been updated before, and the history information for reproduction consisting of history information in the reproduction period from the base date and time when the base occupancy status was updated to the survey date of the history information. Or memory The information acquisition step to be acquired and the occupancy status reproduction unit set the base occupancy status to the initial occupancy status, and then sequentially determine the occupancy status based on the information related to entering and leaving the room recorded in each reproduction history information A occupancy status reproduction step for generating a re-current occupancy status indicating the occupancy status of each user at the survey date by updating.

また、本発明にかかる他の履歴管理方法は、履歴管理部が、各部屋における利用者の入退室を管理する入退室管理装置から通知された、入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、入退室の履歴情報として記憶部へ順次保存する履歴管理ステップと、在室状況更新部が、履歴情報に基づいて各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した最新在室状況を記録在室状況として記憶部へ保存する在室状況更新ステップと、情報取得部が、記録在室状況のうち在室調査の対象となる第1の調査期間の開始日時以前に更新した直近の記録在室状況からなる基点在室状況と、履歴情報のうち基点在室状況が更新された基点日時から第1の調査期間の開始日時までの第1の再現期間における履歴情報からなる第1の再現用履歴情報と、履歴情報のうち第1の調査期間の開始日時から終了日時までの期間における履歴情報からなる第1の集計用履歴情報とを、記憶部から取得する情報取得ステップと、在室状況再現部が、基点在室状況を初期の在室状況とした後、各第1の再現用履歴情報に記録されている入退室に関する情報に基づいて在室状況を順次更新することにより、第1の調査日時の開始日時における各利用者の在室状況を示す第1の再現在室状況を生成する在室状況再現ステップと、入室状況生成部が、各第1の集計用履歴情報に記録されている、在室調査の対象となる対象部屋への入室者に関する情報に基づいて第1の再現在室状況を順次更新することにより、第1の調査期間に対象部屋へ入室した利用者の入室状況を含む第1の入室状況を生成する入室状況生成ステップと備えている。   Further, according to another history management method according to the present invention, the history management unit notifies each of the date / time, room, and user regarding entry / exit, notified from the entrance / exit management device that manages the entrance / exit of the user in each room. The history management step for sequentially storing information for identifying the entry / exit history information in the storage unit and the occupancy status update unit indicate the latest room in which each user is present based on the history information The occupancy status update step that sequentially updates the occupancy status and saves the updated updated occupancy status in the storage unit as the recorded occupancy status, and the information acquisition unit is subject to the occupancy survey in the recorded occupancy status From the most recent recorded occupancy status updated before the start date / time of the first survey period and from the base date / time when the base occupancy status was updated in the history information to the start date / time of the first survey period During the first reproduction period First history information for reproduction consisting of information and first aggregation history information consisting of history information in the period from the start date to the end date of the first survey period in the history information are acquired from the storage unit. After the information acquisition step and the occupancy status reproduction unit set the base occupancy status to the initial occupancy status, the occupancy status is determined based on the information related to the entry / exit recorded in each of the first reproduction history information. By sequentially updating, the occupancy status reproduction step for generating the first recurrent room status indicating the occupancy status of each user at the start date and time of the first survey date and time, and the entrance status generation unit Targeted during the first survey period by sequentially updating the first recurrent room status based on the information about the occupants in the target room subject to the occupancy survey recorded in the history information for Including the entrance status of users who entered the room It includes a entry-situation generating step of generating a first entry situation.

この際、情報取得ステップに、在室調査の対象として第1の調査期間から不連続で第2の調査期間が指定されている場合、履歴情報のうち第1の調査期間の終了日時から第2の調査期間の開始日時までの第2の再現期間における履歴情報からなる第2の再現用履歴情報と、履歴情報のうち第2の調査期間の開始日時から終了日時までの期間における履歴情報からなる第2の集計用履歴情報とを、記憶部から取得するステップを含み、在室状況再現ステップに、各第2の再現用履歴情報に記録されている入退室に関する情報に基づいて第1の入室状況を順次更新することにより、第2の調査期間の開始日時における各利用者の在室状況を示す第2の再現在室状況を生成するステップを含み、入室状況生成ステップに、各第2の集計用履歴情報に記録されている対象部屋への入室者に関する情報に基づいて第2の再現在室状況を順次更新することにより、第1および第2の調査期間に対象部屋へ入室した利用者の入室状況を含む第2の入室状況を生成するステップを含むようにしてもよい。   At this time, in the information acquisition step, when the second survey period is specified discontinuously from the first survey period as the target of the occupancy survey, the second from the end date / time of the first survey period in the history information. Second reproduction history information consisting of history information in the second reproduction period until the start date and time of the survey period, and history information in the period from the start date and time to the end date and time of the second investigation period in the history information. Including a step of acquiring the second totaling history information from the storage unit, and in the occupancy status reproduction step, the first entry based on the information related to the entry / exit recorded in each second reproduction history information A step of generating a second re-current room status indicating the occupancy status of each user at the start date and time of the second survey period by sequentially updating the status; In history information for aggregation Including the entry status of users who entered the target room during the first and second survey periods by sequentially updating the second recurrent room status based on the recorded information about the person entering the target room You may make it include the step which produces | generates a 2nd entrance condition.

本発明によれば、過去の調査日時における在室状況を再現する際、実際の記録在室状況を基点在室状況として用いることができる。このため、履歴情報に基づいて再現情報を生成する際、従来のように、ある基点においてすべての部屋に誰も在室していないという前提を用いる必要がなくなる。したがって、再現された在室状況などの再現情報に曖昧さを含まなくなり、短い処理時間で極めて正確な再現情報を生成することが可能となる。   According to the present invention, when reproducing the occupancy status at the past survey date and time, the actual recorded occupancy status can be used as the base occupancy status. For this reason, when the reproduction information is generated based on the history information, it is not necessary to use the premise that no one is present in all the rooms at a certain base point as in the past. Accordingly, ambiguity is not included in the reproduced information such as the occupancy status, and extremely accurate reproduction information can be generated in a short processing time.

第1の実施の形態にかかる履歴管理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the log | history management apparatus concerning 1st Embodiment. 履歴情報の構成例である。It is an example of composition of history information. 行先判定テーブルの構成例である。It is a structural example of a destination determination table. 在室状況の構成例である。It is a structural example of a occupancy condition. 第1の実施の形態にかかる履歴管理装置の在室状況更新処理を示すフローチャートである。It is a flowchart which shows the occupancy status update process of the log | history management apparatus concerning 1st Embodiment. 第1の実施の形態にかかる履歴管理装置の在室状況再現処理を示すフローチャートである。It is a flowchart which shows the occupancy status reproduction process of the log | history management apparatus concerning 1st Embodiment. 第1の実施の形態にかかる履歴管理装置の在室状況再現動作を示す説明図である。It is explanatory drawing which shows the occupancy status reproduction operation | movement of the log | history management apparatus concerning 1st Embodiment. 第2の実施の形態にかかる履歴管理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the log | history management apparatus concerning 2nd Embodiment. 入室状況の構成例である。It is a structural example of an entrance situation. 第2の実施の形態にかかる履歴管理装置の入室状況生成処理を示すフローチャートである。It is a flowchart which shows the room entrance condition production | generation process of the log | history management apparatus concerning 2nd Embodiment. 第2の実施の形態にかかる履歴管理装置の入室状況生成処理(続き)を示すフローチャートである。It is a flowchart which shows the room entrance condition production | generation process (continuation) of the log | history management apparatus concerning 2nd Embodiment. 第2の実施の形態にかかる履歴管理装置の入室状況生成動作を示す説明図である。It is explanatory drawing which shows the room entrance condition production | generation operation | movement of the log | history management apparatus concerning 2nd Embodiment. 第3の実施の形態にかかる履歴管理装置の入室状況生成処理を示すフローチャートである。It is a flowchart which shows the room entrance condition production | generation process of the log | history management apparatus concerning 3rd Embodiment. 第3の実施の形態にかかる履歴管理装置の入室状況生成処理(続き)を示すフローチャートである。It is a flowchart which shows the room entrance condition production | generation process (continuation) of the log | history management apparatus concerning 3rd Embodiment. 第3の実施の形態にかかる履歴管理装置の入室状況生成動作を示す説明図である。It is explanatory drawing which shows the room entrance condition production | generation operation | movement of the log | history management apparatus concerning 3rd Embodiment.

次に、本発明の実施の形態について図面を参照して説明する。
[第1の実施の形態]
まず、図1を参照して、本発明の第1の実施の形態にかかる履歴管理装置について説明する。図1は、第1の実施の形態にかかる履歴管理装置の構成を示すブロック図である。
履歴管理装置10は、全体としてサーバー装置などの情報処理装置からなり、各部屋における利用者の入退室を管理する入退室管理システム1で用いられて、入退室に関する履歴情報を保存して管理する機能を有している。
Next, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
First, a history management apparatus according to a first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a history management apparatus according to the first embodiment.
The history management device 10 is composed of an information processing device such as a server device as a whole, and is used in the entrance / exit management system 1 that manages entry / exit of users in each room, and stores and manages history information related to entrance / exit. It has a function.

リーダ21は、カードリーダなどの情報読取装置からなり、入退室を管理する部屋Rの出入口に設けられて、部屋Rを出入りする利用者のIDカード23からユーザ識別情報を取得する機能と、制御バスBSを介して入退室管理装置20へユーザ識別情報を送信する機能とを有する。
電気錠22は、部屋Rの出入口のドアに設けられた電気式の錠前からなり、制御バスBSを介して入退室管理装置20からの錠制御指示を受信する機能と、受信した錠制御指示に基づいて当該ドアの施錠や解錠を行う機能とを有している。
The reader 21 is composed of an information reading device such as a card reader, and is provided at the entrance / exit of the room R that manages entry / exit, and has a function of acquiring user identification information from the ID card 23 of the user entering / exiting the room R, and control. And a function of transmitting user identification information to the entrance / exit management device 20 via the bus BS.
The electric lock 22 includes an electric lock provided at the door of the entrance of the room R, and has a function of receiving a lock control instruction from the entrance / exit management device 20 via the control bus BS, and a received lock control instruction. The door has a function of locking and unlocking the door.

入退室管理装置20は、全体としてコンピュータを用いて制御バスBSに接続された各種機器を制御するコントローラなどの機器制御装置からなり、制御バスBSを介して各部屋Rのリーダ21や電気錠22とデータ通信可能に接続されている。
この入退室管理装置20は、各部屋Rのリーダ21から制御バスBSを介して受信したユーザ識別情報に対して、入退室判定情報に基づき当該部屋Rへの入退室可否を判定する機能と、この判定結果に基づく錠制御指示を当該部屋Rの電気錠22へ制御バスBSを介して送信する機能とを有している。
The entrance / exit management device 20 includes a device control device such as a controller for controlling various devices connected to the control bus BS using a computer as a whole, and the reader 21 and electric lock 22 of each room R via the control bus BS. And data communication is possible.
The room entry / exit management device 20 has a function of determining whether or not the room R can be entered / exited based on the entry / exit determination information for the user identification information received from the reader 21 of each room R via the control bus BS, The lock control instruction based on the determination result is transmitted to the electric lock 22 in the room R via the control bus BS.

また、入退室管理装置20は、通信回線Lを介して履歴管理装置10とデータ通信を行う機能と、入退室管理装置20で判定した部屋Rにおける利用者の入退室ごとに、その入退室に関する日時と、部屋および利用者の情報とを含む履歴情報を、履歴管理装置10へ通知する機能とを有している。   Further, the entrance / exit management device 20 relates to the function of performing data communication with the history management device 10 via the communication line L, and the entrance / exit for each user entry / exit in the room R determined by the entrance / exit management device 20. It has a function of notifying the history management apparatus 10 of history information including the date and time and room and user information.

本実施の形態は、履歴管理装置10において、各部屋における利用者の入退室を管理する入退室管理装置20から通知された、入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、入退室の履歴情報として記憶部へ順次保存し、これら履歴情報に基づいて各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した最新在室状況を記録在室状況として当該更新日時とともに記憶部へ保存し、記録在室状況のうち在室調査の対象となる調査日時以前に更新した直近の記録在室状況からなる基点在室状況と、履歴情報のうち基点在室状況が更新された基点日時から調査日時までの再現期間における履歴情報からなる再現用履歴情報とを、記憶部から取得し、基点在室状況を初期の在室状況とした後、各再現用履歴情報に記録されている入退室に関する情報に基づいて在室状況を順次更新することにより、調査日時における各利用者の在室状況を示す再現在室状況を生成するようにしたものである。   In the present embodiment, in the history management device 10, information specifying each of the date / time, room, and user regarding entry / exit notified from the entrance / exit management device 20 that manages the entrance / exit of the user in each room. , And store it in the storage unit as history information of entering and leaving the room, update the latest occupancy status indicating the latest room in which each user is present based on the history information, and update the updated occupancy status Recorded occupancy status along with the updated date and time in the storage unit, and recorded base occupancy status from the latest recorded occupancy status before the survey date and time of the occupancy survey of the recorded occupancy status, and history information After acquiring the history information for reproduction consisting of history information in the reproduction period from the base date and time when the base occupancy status was updated to the survey date and time from the storage unit, and making the base occupancy status the initial occupancy status , Each reproduction By sequentially updating the occupancy status based on the information on entering and leaving recorded in the history information is obtained so as to produce a reproduction occupancy status indicating occupancy status of each user in the survey date.

次に、図1を参照して、本実施の形態にかかる履歴管理装置10の構成について詳細に説明する。
履歴管理装置10には、主な機能部として、通信インターフェース部(以下、通信I/F部という)11、操作入力部12、画面表示部13、記憶部14、履歴管理部15、在室状況更新部16、情報取得部17、および在室状況再現部18が設けられており、内部バスを介して相互にデータやり取り可能に接続されている。
Next, the configuration of the history management apparatus 10 according to the present embodiment will be described in detail with reference to FIG.
The history management apparatus 10 includes, as main functional units, a communication interface unit (hereinafter referred to as a communication I / F unit) 11, an operation input unit 12, a screen display unit 13, a storage unit 14, a history management unit 15, and an occupancy status. An update unit 16, an information acquisition unit 17, and an occupancy status reproduction unit 18 are provided, and are connected so as to be able to exchange data with each other via an internal bus.

通信I/F部11は、専用のデータ通信回路からなり、通信回線Lを介して入退室管理装置20などの外部装置との間でデータ通信を行う機能を有している。
操作入力部12は、キーボードやマウスなどの操作入力装置からなり、オペレータの操作を検出して各機能部へ出力する機能を有している。
画面表示部13は、LCDなどの画面表示装置からなり、各機能部から出力された情報を画面表示する機能を有している。
The communication I / F unit 11 includes a dedicated data communication circuit, and has a function of performing data communication with an external device such as the entrance / exit management device 20 via the communication line L.
The operation input unit 12 includes an operation input device such as a keyboard and a mouse, and has a function of detecting an operator operation and outputting the operation to each function unit.
The screen display unit 13 includes a screen display device such as an LCD, and has a function of displaying information output from each functional unit on the screen.

記憶部14は、ハードディスクや半導体メモリなどの記憶装置からなり、各機能部での処理動作に用いる各種処理情報やプログラムを記憶する機能を有している。
記憶部14で記憶する主な処理情報として、履歴情報、行先判定テーブル、および在室状況がある。
The storage unit 14 includes a storage device such as a hard disk or a semiconductor memory, and has a function of storing various processing information and programs used for processing operations in each functional unit.
The main processing information stored in the storage unit 14 includes history information, a destination determination table, and an occupancy status.

図2は、履歴情報の構成例である。履歴情報は、入退室管理装置20で処理された入退室ごとに通知された情報を順次保存したものである。ここでは、入退室管理装置20で処理された入退室ごとに、入退室があった日時、入退室した利用者、入退室操作が行われたリーダを示すリーダID、および入退/退室の区別を示す状況が組として登録されている。   FIG. 2 is a configuration example of history information. The history information is information that is sequentially stored for each entry / exit processed by the entry / exit management device 20. Here, for each entry / exit processed by the entry / exit management device 20, the date / time when the entry / exit occurred, the user who entered / exited, the reader ID indicating the reader where the entry / exit operation was performed, and the distinction of entry / exit Is registered as a set.

図3は、行先判定テーブルの構成例である。行先判定テーブルは、履歴情報に含まれるリーダIDから、当該入退室における入室元や入室先の部屋を特定するためのテーブルである。ここでは、各部屋の出入口に設置されたリーダを識別するリーダIDごとに、当該リーダを操作して利用者が入退室した際における、入室元部屋および入室先部屋が組として登録されている。   FIG. 3 is a configuration example of the destination determination table. The destination determination table is a table for identifying the room of entry / exit in the entry / exit from the reader ID included in the history information. Here, for each reader ID that identifies a reader installed at the entrance of each room, the entry source room and the entry destination room when the user enters and leaves the room by operating the reader is registered as a set.

図4は、在室状況の構成例である。在室状況は、履歴情報から生成した、各利用者が在室している部屋を示す情報である。ここでは、利用者ごとに在室部屋と入室日時が組として登録されている。この在室状況には、各利用者の最新の在室状況を示す最新在室状況と、この最新在室状況を一定周期などの保存タイミングごとに順次保存した記録在室状況とがある。   FIG. 4 is a configuration example of the occupancy status. The occupancy status is information generated from the history information and indicating the room in which each user is present. Here, the occupancy room and the entry date and time are registered as a set for each user. The occupancy status includes a latest occupancy status indicating the latest occupancy status of each user and a recorded occupancy status in which the latest occupancy status is sequentially stored at each storage timing such as a fixed period.

履歴管理部15は、通信回線Lを介して通信I/F部11で受信した、入退室管理装置20からの履歴情報を、記憶部14へ順次保存する機能を有している。
在室状況更新部16は、入退室管理装置20から通知された履歴情報と記憶部14の行先判断テーブルとに基づいて、各利用者が在室している最新の部屋を示す最新在室状況を順次更新する機能と、保存タイミングの到来に応じて在室状況を記録在室状況(スナップショット)としてその更新日時とともに記憶部14へ保存する機能とを有している。
The history management unit 15 has a function of sequentially storing history information from the entrance / exit management device 20 received by the communication I / F unit 11 via the communication line L in the storage unit 14.
The occupancy status update unit 16 indicates the latest occupancy status indicating the latest room in which each user is occupying based on the history information notified from the entrance / exit management device 20 and the destination determination table of the storage unit 14. And a function to save the occupancy status as a recording occupancy status (snapshot) in the storage unit 14 together with the update date and time according to the arrival of the storage timing.

情報取得部17は、任意の調査日時における各利用者の在室状況を再現する際、記憶部14に保存されている記録在室状況のうち、記録在室状況の更新日時に基づいて、入力された在室調査の対象となる調査日時以前に更新した記録在室状況であって、調査日時から直近に記録した記録在室状況からなる基点在室状況を、記憶部14から取得する機能と、記憶部14に保存されている履歴情報のうち、履歴情報に記録されている入退室の日時に基づいて、基点在室状況が更新された基点日時から調査日時までの再現期間における入退室を示す履歴情報からなる再現用履歴情報を記憶部14から取得する機能とを有している。   When the information acquisition unit 17 reproduces the occupancy status of each user at an arbitrary survey date and time, an input is made based on the update date and time of the recorded occupancy status among the recorded occupancy statuses stored in the storage unit 14 A function of acquiring from the storage unit 14 a base occupancy status that is a recorded occupancy status that has been updated before the survey date and time that is the subject of the occupancy survey performed and that is recorded most recently from the survey date and time Based on the entry / exit date recorded in the history information among the history information stored in the storage unit 14, the entry / exit in the reproduction period from the base point date / time when the base point occupancy status is updated to the survey date / time is performed. And a function of acquiring history information for reproduction including the history information shown from the storage unit 14.

在室状況再現部18は、情報取得部17で取得された基点在室状況を、再現する調査日時の在室状況の初期の在室状況とすることにより、再現在室状況を基点在室状況で初期化する機能と、同じく情報取得部17で取得された各再現用履歴情報に記録されている入退室に関する情報と記憶部14の行先判断テーブルとに基づいて、初期化した在室状況を順次更新することにより、調査日時における在室状況を示す再現在室状況を生成する機能とを有している。   The occupancy status reproduction unit 18 sets the current occupancy status as the base occupancy status by setting the base occupancy status acquired by the information acquisition unit 17 as the initial occupancy status of the occupancy status of the survey date and time to be reproduced. The room occupancy status initialized based on the function to be initialized in step S3, the information related to the entry / exit recorded in each reproduction history information acquired by the information acquisition unit 17 and the destination determination table in the storage unit 14 are also displayed. By sequentially updating, it has a function of generating a recurrent room status indicating the occupancy status at the survey date and time.

履歴管理装置10における各機能部のうち、履歴管理部15、在室状況更新部16、情報取得部17、および在室状況再現部18は、記憶部14のプログラムで動作するCPUなどのマイクロプロセッサからなる演算処理部で実現されている。   Among the functional units in the history management apparatus 10, the history management unit 15, occupancy status update unit 16, information acquisition unit 17, and occupancy status reproduction unit 18 are microprocessors such as CPUs that operate according to programs in the storage unit 14. This is realized by an arithmetic processing unit consisting of

[第1の実施の形態の動作]
次に、本実施の形態にかかる履歴管理装置10の動作について説明する。ここでは、履歴管理装置10における主な動作として、在室状況更新動作と在室状況再現動作について、それぞれ個別に説明する。
[Operation of First Embodiment]
Next, the operation of the history management apparatus 10 according to the present embodiment will be described. Here, the occupancy status update operation and the occupancy status reproduction operation will be individually described as main operations in the history management apparatus 10.

[在室状況更新動作]
まず、図5を参照して、本実施の形態にかかる履歴管理装置10の在室状況更新動作について説明する。図5は、第1の実施の形態にかかる履歴管理装置の在室状況更新処理を示すフローチャートである。
[Availability update operation]
First, the occupancy status update operation of the history management apparatus 10 according to the present embodiment will be described with reference to FIG. FIG. 5 is a flowchart illustrating the occupancy status update process of the history management apparatus according to the first embodiment.

履歴管理装置10の在室状況更新部16は、通信I/F部11により、入退室管理装置20から新たな履歴情報を受け取った場合(ステップ100:YES)、その履歴情報に含まれる、入退室に関する部屋を特定する情報に基づいて、利用者の新たな在室場所を特定する(ステップ101)。   The occupancy status update unit 16 of the history management device 10 receives new history information from the entry / exit management device 20 via the communication I / F unit 11 (step 100: YES). A new occupancy location of the user is specified based on the information specifying the room related to leaving (step 101).

前述した図2の履歴情報には、入退室に関する部屋を特定する情報として、入退室操作が行われたリーダのリーダIDが含まれている。このリーダIDは各リーダに固有の識別情報であり、このリーダIDに基づいて、図3に示した行先判断テーブルを参照すれば、当該リーダを操作して入退室する場合の入室元および入室先となる部屋を特定することができる。したがって、例えば履歴情報に含まれているリーダIDが「リーダ1」である場合、図3の行先判断テーブルから、その利用者の移動先、すなわち新たな在室場所が「会議室A」であることが特定できる。   The history information in FIG. 2 described above includes the reader ID of the reader that has performed the entry / exit operation as information for specifying a room related to entry / exit. The reader ID is identification information unique to each reader. Based on the reader ID, referring to the destination determination table shown in FIG. 3, the entry source and the entry destination when the reader is operated to enter and leave the room. Can be identified. Therefore, for example, when the reader ID included in the history information is “Reader 1”, the destination of the user, that is, the new location is “conference room A” from the destination determination table of FIG. Can be identified.

次に、在室状況更新部16は、記憶部14の最新在室状況のうち、履歴情報に含まれる利用者に関する在室部屋と入室日時を、前述のようにして特定した新たな在室部屋と履歴情報に含まれる入退室日時により更新し(ステップ102)、ステップ100へ戻る。   Next, the occupancy status update unit 16 newly identifies the occupancy room and the entry date and time related to the user included in the history information in the latest occupancy status of the storage unit 14 as described above. And the entry / exit date and time included in the history information is updated (step 102), and the process returns to step 100.

一方、在室状況の保存タイミングが到来した場合(ステップ103:YES)、在室状況更新部16は、記憶部14の最新在室状況を記録在室状況として、その最終更新日時とともに記憶部14へ保存し(ステップ104)、ステップ100へ戻る。保存タイミングとしては、特定の時刻情報で設定してもよく、保存周期で設定してもよい。   On the other hand, when the occupancy status storage timing has arrived (step 103: YES), the occupancy status update unit 16 sets the latest occupancy status in the storage unit 14 as the recorded occupancy status together with its last update date and time. (Step 104) and return to step 100. The storage timing may be set with specific time information or may be set with a storage cycle.

[在室状況再現動作]
次に、図6を参照して、本実施の形態にかかる履歴管理装置10の在室状況再現動作について説明する。図6は、第1の実施の形態にかかる履歴管理装置の在室状況再現処理を示すフローチャートである。
記憶部14に保存している履歴情報に基づいて、過去の任意の調査日時における各利用者の在室状況を再現する場合、履歴管理装置10において、図6に示すような在室状況再現処理が実行される。
[Resident behavior reproduction]
Next, the occupancy status reproduction operation of the history management apparatus 10 according to the present embodiment will be described with reference to FIG. FIG. 6 is a flowchart illustrating the occupancy status reproduction process of the history management apparatus according to the first embodiment.
When reproducing the occupancy status of each user at any past survey date and time based on the history information stored in the storage unit 14, the occupancy status reproduction process as shown in FIG. Is executed.

まず、操作入力部12は、オペレータにより操作入力された在室調査の対象となる調査日時を取得する(ステップ110)。
続いて、情報取得部17は、記憶部14に保存されている記録在室状況のうち、調査日時以前に更新した直近の記録在室状況からなる基点在室状況を、記憶部14から取得し(ステップ111)、記憶部14に保存されている履歴情報のうち、基点在室状況の日時から調査日時までの再現期間における入退室に関する履歴情報からなる再現用履歴情報を、記憶部14から取得する(ステップ112)。
First, the operation input unit 12 acquires the survey date and time that is the target of the occupancy survey input by the operator (step 110).
Subsequently, the information acquisition unit 17 acquires, from the storage unit 14, the base occupancy status including the latest recorded occupancy status updated before the survey date and time among the recorded occupancy status saved in the storage unit 14. (Step 111), of the history information stored in the storage unit 14, the reproduction history information including the history information related to the entry / exit in the reproduction period from the date and time of the base occupancy status to the survey date and time is acquired from the storage unit 14 (Step 112).

次に、在室状況再現部18は、情報取得部17で取得した基点在室状況を各利用者の初期の在室状況とすることにより、基点在室状況で在室状況を初期化する(ステップ113)。
この後、在室状況再現部18は、再現用履歴情報のうちから未処理の履歴情報を時系列順に1つ選択する(ステップ114)。
Next, the occupancy status reproduction unit 18 initializes the occupancy status with the base occupancy status by setting the base occupancy status acquired by the information acquisition unit 17 as the initial occupancy status of each user ( Step 113).
Thereafter, the occupancy status reproduction unit 18 selects one piece of unprocessed history information from the reproduction history information in chronological order (step 114).

続いて、在室状況再現部18は、選択履歴情報に記録されている、入退室操作が行われたリーダのリーダIDと記憶部14の行先判断テーブルとに基づいて、利用者の新たな在室場所を特定し(ステップ115)、再現在室状況のうち、当該利用者に関する在室場所と入室日時とを、特定した新たな在室場所と選択履歴情報に含まれる入退室日時とにより更新する(ステップ116)。   Subsequently, the occupancy status reproduction unit 18 creates a new presence of the user on the basis of the reader ID of the reader where the room entry / exit operation has been performed and the destination determination table of the storage unit 14 recorded in the selection history information. The room location is identified (step 115), and the occupancy location and the entry date / time for the user are updated with the identified new occupancy location and the entry / exit date / time included in the selection history information in the re-current room status. (Step 116).

この後、再現用履歴情報のうち未処理の履歴情報がまだある場合(ステップ117:YES)、在室状況再現部18は、ステップ114へ戻って次の履歴情報による再現在室状況の更新処理を繰り返す。
一方、再現用履歴情報のすべての履歴情報の処理が終了した場合(ステップ117:NO)、一連の在室状況再現処理を終了する。
Thereafter, when there is still unprocessed history information among the reproduction history information (step 117: YES), the occupancy status reproduction unit 18 returns to step 114 to update the recurrent room status using the next history information. repeat.
On the other hand, when the processing of all the history information of the reproduction history information is completed (step 117: NO), the series of occupancy status reproduction processing is ended.

図7は、第1の実施の形態にかかる履歴管理装置の在室状況再現動作を示す説明図である。前述した在室状況再現処理の全体的な動作は、図7のようになる。
図7において、日時Tは現在日時であり、日時TXが在室状況を再現したい調査日時である。
FIG. 7 is an explanatory diagram illustrating the occupancy status reproduction operation of the history management device according to the first embodiment. The overall operation of the occupancy status reproduction process described above is as shown in FIG.
In FIG. 7, date and time T is the current date and time, and date and time TX is the survey date and time when it is desired to reproduce the occupancy status.

記憶部14には、記録在室状況31が一定期間tsごとに保存されており、これら記録在室状況31のうち、調査日時TX以前に更新した直近の記録在室状況が、基点在室状況31Pとして記憶部14から取得される。
また、記憶部14の履歴情報32のうち、基点在室状況31Pが更新された日時である基点日時TPから調査日時TXまでの再現期間tpにおける履歴情報が、再現用履歴情報33として記憶部14から取得される。
In the storage unit 14, the recorded occupancy status 31 is stored for each fixed period ts. Among these recorded occupancy statuses 31, the latest recorded occupancy status updated before the survey date TX is the base occupancy status. It is acquired from the storage unit 14 as 31P.
Of the history information 32 in the storage unit 14, the history information in the reproduction period tp from the base date / time TP to the survey date / time TX, which is the date and time when the base occupancy status 31 </ b> P is updated, is stored as the reproduction history information 33. Obtained from.

この後、再現在室状況35が基点在室状況31Pにより初期化され、初期化された再現在室状況35Pが、再現用履歴情報33に含まれる各履歴情報と記憶部14の行先判断テーブルとにより順次更新される。これにより、調査日時TXにおいて各利用者が在室している部屋を示す、図4に示したような、再現在室状況35Aが生成されることになる。   Thereafter, the re-current room state 35 is initialized by the base point room state 31P, and the initialized re-current room state 35P includes the history information included in the reproduction history information 33, the destination determination table of the storage unit 14, and Are updated sequentially. As a result, a re-current room situation 35A as shown in FIG. 4 indicating the room in which each user is present at the survey date TX is generated.

[第1の実施の形態の効果]
このように、本実施の形態は、在室状況更新部16で、最新在室状況を記録在室状況として記憶部14へ保存しておき、在室調査の対象となる調査日時における在室状況を再現する場合には、情報取得部17で、調査日時以前に更新した直近の記録在室状況からなる基点在室状況と、基点在室状況が更新された基点日時から調査日時までの再現期間における履歴情報からなる再現用履歴情報とを、記憶部14から取得し、在室状況再現部18で、基点在室状況を初期の在室状況とした後、各再現用履歴情報に記録されている入退室に基づいて在室状況を順次更新することにより、調査日時における各利用者の在室状況を示す再現在室状況を生成するようにしたものである。
[Effect of the first embodiment]
As described above, in the present embodiment, the occupancy status update unit 16 stores the latest occupancy status in the storage unit 14 as the recorded occupancy status, and the occupancy status at the survey date and time that is the subject of the occupancy survey. Is reproduced by the information acquisition unit 17 from the latest recorded occupancy status updated before the survey date and the reproduction period from the base date and time when the base occupancy status was updated to the survey date The history information for reproduction consisting of the history information in the above is acquired from the storage unit 14, and the occupancy status reproduction unit 18 sets the base occupancy status to the initial occupancy status, and then is recorded in each reproduction history information. By sequentially updating the occupancy status based on the entrance / exit, the re-current room status indicating the occupancy status of each user at the survey date and time is generated.

これにより、過去の調査日時における在室状況を再現する際、実際の記録在室状況を基点在室状況として用いることができる。このため、履歴情報に基づいて再現情報を生成する際、従来のように、ある基点においてすべての部屋に誰も在室していないという前提を用いる必要がなくなる。したがって、再現された在室状況などの再現情報に曖昧さを含まなくなり、短い処理時間で極めて正確な再現情報を生成することが可能となる。   Thereby, when reproducing the occupancy status at the past survey date and time, the actual recorded occupancy status can be used as the base occupancy status. For this reason, when the reproduction information is generated based on the history information, it is not necessary to use the premise that no one is present in all the rooms at a certain base point as in the past. Accordingly, ambiguity is not included in the reproduced information such as the occupancy status, and extremely accurate reproduction information can be generated in a short processing time.

また、本実施の形態では、在室調査において、すべての利用者あるいはすべての部屋の在室状況を再現する場合を例として説明したが、在室調査において、対象部屋の在室状況のみを再現すればよい場合もある。このような場合には、調査日時と同様にしてオペレータにより操作入力された対象部屋に関する履歴情報のみに基づいて、再現在室状況を生成すればよい。これにより、在室調査における処理データ量を削減でき、在室調査に要する処理所要時間を短縮することができる。   In this embodiment, the case where the occupancy status of all users or all the rooms is reproduced in the occupancy survey is described as an example. However, only the occupancy status of the target room is reproduced in the occupancy survey. There are cases where it may be sufficient. In such a case, the re-current room situation may be generated based on only the history information related to the target room that has been input by the operator in the same manner as the survey date and time. Thereby, the amount of processing data in the occupancy survey can be reduced, and the processing time required for the occupancy survey can be shortened.

具体的には、前述した図6のステップ116において、選択履歴情報に記録されている入退室に関する情報に基づいて、入退室した利用者の在室場所と入室日時を更新する際、少なくとも当該利用者が対象部屋について入室あるいは退室した場合にのみ、その在室場所と入室日時を更新すればよい。
例えば、ステップ115の後、選択履歴情報に記録されている入退室の入出元あるいは入室先が対象部屋と一致するか否かを判定し、一致した場合にのみステップ116を実行して在室場所と入室日時を更新すればよい。この場合、入出元としては、在室状況から取得した、更新の対象となる利用者の更新前の在室場所を用いてもよい。
Specifically, in step 116 of FIG. 6 described above, at least when using the room location and the date and time of entry of the user who has entered or exited the room based on the information related to the room entry / exit recorded in the selection history information. Only when the person enters or leaves the target room, the room location and the date and time of entry may be updated.
For example, after step 115, it is determined whether the entry / exit source or entry destination recorded in the selection history information matches the target room. You should update the room entry date and time. In this case, as the entry / exit source, the occupancy location before update of the user to be updated acquired from the occupancy status may be used.

また、このように図6のステップ114〜117の処理ループ内で更新要否を判定するのではなく、情報取得部17により、再現用履歴情報を記憶部14から取得する際、入出元あるいは入室先が対象部屋と一致する履歴情報のみを予め選択して取得してもよい。これにより、上記処理ループ内で更新要否を判定する必要がなくなる。   Further, instead of determining whether or not the update is necessary in the processing loop of steps 114 to 117 in FIG. 6, when the information acquisition unit 17 acquires the reproduction history information from the storage unit 14, Only history information whose destination matches the target room may be selected and acquired in advance. Thereby, it is not necessary to determine whether or not the update is necessary in the processing loop.

[第2の実施の形態]
次に、図8を参照して、本発明の第2の実施の形態にかかる履歴管理装置10について説明する。図8は、第2の実施の形態にかかる履歴管理装置の構成を示すブロック図であり、前述の図1と同じまたは同等部分には同一符号を付してある。
[Second Embodiment]
Next, with reference to FIG. 8, a history management apparatus 10 according to the second exemplary embodiment of the present invention will be described. FIG. 8 is a block diagram showing the configuration of the history management apparatus according to the second embodiment. The same reference numerals are given to the same or equivalent parts as in FIG.

第1の実施の形態では、過去の任意の調査時点における在室状況を再現する場合を例として説明した。本実施の形態では、このような第1の実施の形態を用いて再現した、過去の任意の調査期間の開始日時における在室状況に基づいて、当該調査期間において、対象部屋へ入室した入室者の入室状況を生成する場合について説明する。   In 1st Embodiment, the case where the occupancy condition in the past arbitrary investigation time was reproduced was demonstrated as an example. In the present embodiment, based on the occupancy status at the start date and time of any past survey period reproduced using the first embodiment, the occupants who entered the target room during the survey period The case where the room entrance situation is generated will be described.

第1の実施の形態と比較して、本実施の形態にかかる履歴管理装置10には、入室状況生成部19が追加されている。
入室状況生成部19は、情報取得部17で取得した集計用履歴情報(第1の集計用履歴情報)に記録されている対象部屋への入室者に関する情報に基づいて、在室状況再現部18で生成された再現在室状況(第1の再現在室状況)を順次更新することにより、調査期間(第1の調査期間)に対象部屋へ入室した利用者の入室状況を含む入室状況(第1の入室状況)を生成する機能と、生成した入室状況のうちから対象部屋へ入室した利用者のみに関する選択入室状況を生成する機能とを有している。
Compared to the first embodiment, a room entry status generation unit 19 is added to the history management apparatus 10 according to the present embodiment.
The occupancy status generation unit 19 is based on the information related to the person entering the target room recorded in the total history information (first total history information) acquired by the information acquisition unit 17, and the occupancy status reproduction unit 18. The re-existing room status (first re-current room status) generated in step 1 is updated sequentially, so that the entrance status including the entrance status of users who entered the target room during the survey period (first survey period) 1) and a function of generating a selective entry situation relating only to the user who entered the target room from the generated entry situation.

図9は、入室状況の構成例である。ここでは、利用者ごとに、在室部屋、入室日時、および登録判定フラグが組として登録されている。登録判定フラグは、調査期間における対象部屋への入室有無を示すフラグである。この登録判定フラグがONの利用者は、調査期間において対象部屋へ入室していること示しており、在室部屋として対象部屋が記録されており、入室日時として調査期間のうち対象部屋へ最初に入室した日時が記録されている。一方、登録判定フラグがOFFの利用者は、調査期間において対象部屋へ入室していないことを示しており、在室部屋として調査期間の開始日時に在室していた部屋が記録されており、入室日時として当該部屋へ入室した日時が記録されている。   FIG. 9 is a configuration example of the room entry situation. Here, the occupancy room, the entry date and time, and the registration determination flag are registered as a set for each user. The registration determination flag is a flag indicating whether or not the target room is entered during the survey period. A user whose registration determination flag is ON indicates that the user has entered the target room during the survey period, and the target room is recorded as an occupancy room. The date and time of entry is recorded. On the other hand, the user whose registration determination flag is OFF indicates that the user has not entered the target room during the survey period, and the room that was present at the start date and time of the survey period is recorded as the room present. The date and time when the user entered the room is recorded as the entry date and time.

一般的には、入退室管理システムにおいて実際に用いられる入室状況には、利用者ごとに、調査期間における対象部屋への入室有無を示す登録判定フラグなどの情報が、少なくとも記録されていればよい。本実施の形態では、これに加えて、利用者が調査期間のうち最初に対象部屋へ入室した最初入室日時も記録する場合を例として説明する。なお、入室状況の内容については、登録判定フラグや最初入室日時に限定されるものではなく、最初入室日時以降に再度対象部屋へ入室した入室日時や対象部屋から退出した退出日時などの情報を含めても良い。   In general, in the entrance situation actually used in the entrance / exit management system, at least information such as a registration determination flag indicating whether or not to enter the target room during the survey period should be recorded for each user. . In the present embodiment, in addition to this, an example will be described in which the first entry date and time when the user first entered the target room during the survey period is recorded. The contents of the room entry status are not limited to the registration determination flag or the first entry date / time, but include information such as the entry date / time when the user entered the target room again after the first entry date / time and the exit date / time when the user left the target room. May be.

また、情報取得部17は、記録在室状況のうち入力された調査期間(第1の調査期間)の開始日時以前に更新した基点在室状況であって、その開始日時から直近に記録した記録在室状況からなる基点在室状況を記憶部14から取得する機能と、履歴情報のうち基点在室状況の日時から調査期間の開始日時までの再現期間(第1の再現期間)における履歴情報からなる再現用履歴情報(第1の再現用履歴情報)を記憶部14から取得する機能と、履歴情報のうち調査期間の開始日時から終了日時までの調査期間(第1の調査期間)における履歴情報からなる集計用履歴情報(第1の集計用履歴情報)を記憶部14から取得する機能とを有している。   In addition, the information acquisition unit 17 is the base occupancy status updated before the start date / time of the input survey period (first survey period) in the recorded occupancy status, and the record recorded most recently from the start date / time From the function of acquiring the occupancy status consisting of the occupancy status from the storage unit 14 and the history information in the reproduction period (first reproduction period) from the date and time of the occupancy status to the start date and time of the survey period in the history information The history information for reproduction (first reproduction history information) to be obtained from the storage unit 14 and the history information in the investigation period (first investigation period) from the start date to the end date of the investigation period in the history information And a function of acquiring the history information for aggregation (first history information for aggregation) from the storage unit 14.

また、在室状況再現部18は、情報取得部17で取得した基点在室状況を初期の在室状況とすることにより、基点在室状況で在室状況を初期化する機能と、各再現用履歴情報(第1の再現用履歴情報)に記録されている入退室に関する情報と記憶部14の行先判断テーブルとに基づいて在室状況を順次更新することにより、調査期間の開始日時における各利用者の在室状況を示す再現在室状況(第1の再現在室状況)を生成する機能とを有している。
本実施の形態にかかる履歴管理装置10のうち、これら以外の構成については、第1の実施の形態と同様であり、ここでの詳細な説明は省略する。
Further, the occupancy status reproduction unit 18 sets the base occupancy status acquired by the information acquisition unit 17 as an initial occupancy status, thereby initializing the occupancy status with the base occupancy status, and for each reproduction. Each use at the start date and time of the survey period by sequentially updating the occupancy status based on the information related to the entry / exit recorded in the history information (first reproduction history information) and the destination determination table of the storage unit 14 And a function of generating a re-current room state (first re-current room state) indicating a person's occupancy state.
In the history management apparatus 10 according to the present embodiment, configurations other than these are the same as those in the first embodiment, and detailed description thereof is omitted here.

[第2の実施の形態の動作]
次に、図10および図11を参照して、本実施の形態にかかる履歴管理装置10の入室状況生成動作について説明する。図10は、第2の実施の形態にかかる履歴管理装置の入室状況生成処理を示すフローチャートである。図11は、第2の実施の形態にかかる履歴管理装置の入室状況生成処理(続き)を示すフローチャートである。
記憶部14に保存している履歴情報に基づいて、過去の任意の調査期間における対象部屋へ入室した利用者の入室状況を再生する場合、履歴管理装置10において、図10および図11に示すような入室状況生成処理が実行される。
[Operation of Second Embodiment]
Next, with reference to FIG. 10 and FIG. 11, the room entrance state generation operation of the history management apparatus 10 according to the present embodiment will be described. FIG. 10 is a flowchart illustrating a room entry status generation process of the history management apparatus according to the second embodiment. FIG. 11 is a flowchart illustrating room entry status generation processing (continued) of the history management apparatus according to the second embodiment.
As shown in FIG. 10 and FIG. 11 in the history management apparatus 10 when reproducing the room entry status of the user who entered the target room in the past arbitrary survey period based on the history information stored in the storage unit 14. The room entry status generation process is executed.

まず、操作入力部12は、オペレータにより操作入力された調査期間と調査対象となる対象部屋とを取得する(ステップ200)。
続いて、情報取得部17は、記憶部14に保存されている記録在室状況のうち、調査期間開始日時以前に更新した直近の記録在室状況からなる基点在室状況を、記憶部14から取得し(ステップ201)、記憶部14に保存されている履歴情報のうち、基点在室状況の日時から調査期間の開始日時までの再現期間における入退室に関する履歴情報からなる再現用履歴情報と、調査期間の開始日時から終了日時までの調査期間における入退室に関する履歴情報からなる集計用履歴情報とを、記憶部14から取得する(ステップ202)。
First, the operation input unit 12 acquires a survey period and a target room to be surveyed, which are input by the operator (step 200).
Subsequently, the information acquisition unit 17 obtains, from the storage unit 14, the base occupancy status including the latest recorded occupancy status updated before the survey period start date / time from the recorded occupancy status stored in the storage unit 14. Retrieval history information consisting of history information about entry / exit in the reproduction period from the date and time of the base occupancy status to the start date and time of the survey period, among the history information acquired (step 201) and stored in the storage unit 14, The history information for aggregation consisting of the history information related to the entrance / exit in the survey period from the start date to the end date of the survey period is acquired from the storage unit 14 (step 202).

次に、在室状況再現部18は、情報取得部17で取得した基点在室状況を各利用者の初期の在室状況とすることにより、基点在室状況で在室状況を初期化するとともに(ステップ203)、各利用者の登録判定フラグをOFFで初期化する(ステップ204)。
この後、在室状況再現部18は、再現用履歴情報のうちから未処理の履歴情報を時系列順に1つ選択する(ステップ205)。
Next, the occupancy status reproduction unit 18 initializes the occupancy status with the base occupancy status by setting the base occupancy status acquired by the information acquisition unit 17 as the initial occupancy status of each user. (Step 203), the registration determination flag of each user is initialized to OFF (Step 204).
Thereafter, the occupancy status reproduction unit 18 selects one unprocessed history information from the reproduction history information in chronological order (step 205).

続いて、在室状況再現部18は、選択履歴情報に記録されている、入退室操作が行われたリーダのリーダIDと記憶部14の行先判断テーブルとに基づいて、利用者の新たな在室場所を特定し(ステップ206)、再現在室状況のうち、選択履歴情報に記録されている利用者に関する在室場所と入室日時を、特定した新たな在室場所と選択履歴情報に含まれる入退室日時とにより更新する(ステップ207)、   Subsequently, the occupancy status reproduction unit 18 creates a new presence of the user on the basis of the reader ID of the reader where the room entry / exit operation has been performed and the destination determination table of the storage unit 14 recorded in the selection history information. The room location is identified (step 206), and the occupancy location and entry date / time regarding the user recorded in the selection history information among the re-current room status are included in the identified new occupancy location and selection history information. Update with the entry / exit date (step 207),

この後、再現用履歴情報のうち未処理の履歴情報がまだある場合(ステップ208:YES)、在室状況再現部18は、ステップ204へ戻って次の履歴情報による再現在室状況の更新処理を繰り返す。
一方、再現用履歴情報のすべての履歴情報の処理が終了した場合(ステップ208:NO)、入室状況生成部19は、在室状況再現部18で得られた再現在室状況のうち対象部屋に在室している各利用者の登録判定フラグをONに設定する(ステップ209)。
Thereafter, when there is still unprocessed history information among the reproduction history information (step 208: YES), the occupancy status reproduction unit 18 returns to step 204 to update the re-current room status with the next history information. repeat.
On the other hand, when the processing of all the history information of the reproduction history information is completed (step 208: NO), the room entrance status generation unit 19 sets the target room among the recurrent room status obtained by the occupancy status reproduction unit 18. The registration determination flag for each user in the room is set to ON (step 209).

続いて、入室状況生成部19は、集計用履歴情報のうちから未処理の履歴情報を時系列順に1つ選択し(ステップ210)、選択履歴情報に記録されている、入退室操作が行われたリーダのリーダIDと記憶部14の行先判断テーブルとに基づいて、利用者の新たな在室場所を特定し(ステップ211)、新たな在室場所が対象部屋と一致するかどうか確認する(ステップ212)。   Subsequently, the room entry status generation unit 19 selects one piece of unprocessed history information from the total history information in chronological order (step 210), and the entry / exit operation recorded in the selection history information is performed. Based on the reader ID of the reader and the destination determination table in the storage unit 14, the user's new room location is specified (step 211), and it is confirmed whether the new room location matches the target room (step 211). Step 212).

ここで、新たな在室場所が対象部屋と一致する場合(ステップ212:YES)、入室状況生成部19は、当該利用者の登録判定フラグを確認して入室状況に登録済みか否か判定し(ステップ213)、登録判定フラグがOFFで未登録である場合(ステップ213:YES)、入室状況のうち当該利用者の在室場所および入室日時を更新するとともに(ステップ214)、当該利用者の登録判定フラグをONに設定した後(ステップ215)、後述のステップ216へ移行する。
なお、新たな在室場所が対象部屋と一致しない場合(ステップ212:NO)、あるいは当該利用者の登録判定フラグがONで入室状況に登録済みの場合(ステップ213:NO)、入室状況を更新せずに、後述のステップ216へ移行する。
Here, when the new occupancy location matches the target room (step 212: YES), the occupancy status generation unit 19 confirms the registration determination flag of the user and determines whether or not it has been registered in the occupancy status. (Step 213) When the registration determination flag is OFF and not registered (Step 213: YES), the user's occupancy location and entry date / time are updated in the room entry status (Step 214), and the user's After setting the registration determination flag to ON (step 215), the process proceeds to step 216 described later.
If the new occupancy location does not match the target room (step 212: NO), or if the user's registration determination flag is ON and registered in the room entry status (step 213: NO), the room entry status is updated. Instead, the process proceeds to step 216 described later.

この後、集計用履歴情報のうち未処理の履歴情報がまだある場合(ステップ216:YES)、入室状況生成部19は、ステップ210へ戻って次の履歴情報による入室状況の更新処理を繰り返す。
一方、集計用履歴情報のすべての履歴情報の処理が終了した場合(ステップ216:NO)、入室状況生成部19は、ステップ210〜216で得られた入室状況を記憶部14へ保存するとともに、この入室状況のうちから登録判定フラグがONの利用者に関する選択入室状況を生成して記憶部14へ保存し(ステップ217)、一連の入室状況生成処理を終了する。
Thereafter, when there is still unprocessed history information among the totaling history information (step 216: YES), the room entrance status generation unit 19 returns to step 210 and repeats the process of updating the room entrance status with the next history information.
On the other hand, when the processing of all the history information of the total history information is completed (step 216: NO), the room entrance status generation unit 19 stores the room entrance status obtained in steps 210 to 216 in the storage unit 14, From this room entry situation, a selection room entry situation relating to a user whose registration determination flag is ON is generated and stored in the storage unit 14 (step 217), and a series of room entry situation generation processing is terminated.

図12は、第2の実施の形態にかかる履歴管理装置の入室状況生成動作を示す説明図である。前述した入室状況生成処理の全体的な動作は、図12のようになる。
図12において、日時Tは現在日時であり、日時TXが入室状況を生成したい調査期間tcの開始日時であり、日時TYが調査期間tcの終了日時である。
FIG. 12 is an explanatory diagram illustrating a room entrance state generation operation of the history management apparatus according to the second embodiment. The overall operation of the room entry status generation process described above is as shown in FIG.
In FIG. 12, date and time T is the current date and time, date and time TX is the start date and time of the survey period tc for which a room entry situation is to be generated, and date and time TY is the end date and time of the survey period tc.

記憶部14には、記録在室状況31が一定期間tsごとに保存されており、これら記録在室状況31のうち、調査開始日時TX以前に更新した直近の記録在室状況が、基点在室状況31Pとして記憶部14から取得される。   In the storage unit 14, the recorded occupancy status 31 is stored for each fixed period ts, and the latest recorded occupancy status updated before the survey start date and time TX among the recorded occupancy statuses 31 is the base occupancy status. It is acquired from the storage unit 14 as the situation 31P.

また、記憶部14の履歴情報32のうち、基点在室状況31Pが更新された日時である基点日時TPから調査開始日時TXまでの再現期間tpにおける履歴情報が、再現用履歴情報33として記憶部14から取得され、調査開始日時TXから調査終了日時TYまでの調査期間tcにおける履歴情報が集計用履歴情報34として取得される。   Of the history information 32 in the storage unit 14, the history information in the reproduction period tp from the base date / time TP to the survey start date / time TX, which is the date and time when the base occupancy status 31 </ b> P is updated, is stored as the reproduction history information 33. 14, the history information in the survey period tc from the survey start date and time TX to the survey end date and time TY is acquired as totaling history information 34.

この後、再現在室状況35が基点在室状況31Pにより初期化され、初期化された再現在室状況35Pが、再現用履歴情報33に含まれる各履歴情報と記憶部14の行先判断テーブルとにより順次更新される。これにより、調査開始日時TXにおいて各利用者が在室している部屋を示す、図4に示したような、再現在室状況35Aが再現されることになる。   Thereafter, the re-current room state 35 is initialized by the base point room state 31P, and the initialized re-current room state 35P includes the history information included in the reproduction history information 33, the destination determination table of the storage unit 14, and Are updated sequentially. As a result, the re-current room situation 35A as shown in FIG. 4 showing the room where each user is present at the survey start date and time TX is reproduced.

次に、再現在室状況35Aが、集計用履歴情報34に含まれる各履歴情報のうち、対象部屋への入室を示す履歴情報と記憶部14の行先判断テーブルとにより順次更新される。これにより、図9に示したような、調査期間tcにおいて対象部屋に入室した利用者の入室状況を含む入室状況36Aが生成される。
この際、得られた入室状況36Aには、対象部屋に入室していない利用者の調査期間tc以前における入室状況も含まれている。したがって、登録判定フラグがONであり、対象部屋に入室した利用者のみに関する入室状況を、入室状況36Aのうちから選択することにより選択入室状況36Sを生成してもよい。
Next, the re-current room status 35A is sequentially updated by history information indicating entry into the target room among the history information included in the total history information 34 and the destination determination table of the storage unit 14. As a result, as shown in FIG. 9, an entrance situation 36A including the entrance situation of the user who entered the target room in the survey period tc is generated.
At this time, the obtained entrance situation 36A includes the entrance situation before the survey period tc of the user who has not entered the target room. Accordingly, the selected entry situation 36S may be generated by selecting the entry situation relating to only the user who entered the target room from among the entry situations 36A with the registration determination flag being ON.

[第2の実施の形態の効果]
このように、本実施の形態は、前述した第1の実施の形態と同様にして再現した、過去の任意の調査期間の開始日時における再現在室状況により、入室状況生成部19で入室状況を初期化し、情報取得部17により記憶部14から取得した、調査期間の開始日時から終了日時までの期間における履歴情報からなる集計用履歴情報に記録されている対象部屋への入室者に関する情報に基づいて、入室状況生成部19で入室状況を更新することにより、調査期間に対象部屋へ入室した利用者の入室状況を生成するようにしたものである。
[Effect of the second embodiment]
As described above, this embodiment reproduces the same as the above-described first embodiment, and the entrance status generation unit 19 displays the entrance status based on the re-present room status at the start date and time of any past survey period. Based on the information related to the person entering the target room recorded in the history information for aggregation that is initialized and acquired from the storage unit 14 by the information acquisition unit 17 and includes history information in the period from the start date to the end date of the survey period. Thus, the room entry status is updated by the room entrance status generation unit 19 to generate the room entrance status of the user who entered the target room during the survey period.

これにより、過去の調査期間における入室状況を生成する際、実際の記録在室状況を基点在室状況として用いることができる。このため、従来のように、ある基点においてすべての部屋に誰も在室していないという前提を用いる必要がなくなる。したがって、生成された入室状況に曖昧さを含まなくなり、短い処理時間で極めて正確な入室状況を生成することが可能となる。   Thereby, when the room entrance situation in the past survey period is generated, the actual recorded room situation can be used as the base room presence situation. For this reason, it is not necessary to use the premise that no one is present in all the rooms at a certain base point as in the prior art. Therefore, the generated entry situation does not include ambiguity, and it is possible to generate an extremely accurate entry situation in a short processing time.

また、本実施の形態では、在室状況を再現する際、すべての利用者あるいはすべての部屋の在室状況を再現する場合を例として説明したが、実際には、この在室状況のうちの対象部屋に関する在室状況のみを、その後の入室状況の生成処理で用いている。したがって、対象部屋に関する履歴情報のみに基づいて、再現在室状況を生成するようにしてもよい。これにより、在室調査における処理データ量を削減でき、在室調査に要する処理所要時間を短縮することができる。なお、対象部屋のみの在室状況を生成する具体例については、第1の実施の形態で説明した方法を利用すればよい。   Moreover, in this embodiment, when reproducing the occupancy status, the case where the occupancy status of all users or all the rooms is reproduced is described as an example. Only the occupancy status relating to the target room is used in the subsequent process of generating the entrance status. Therefore, the re-current room situation may be generated based only on the history information about the target room. Thereby, the amount of processing data in the occupancy survey can be reduced, and the processing time required for the occupancy survey can be shortened. As a specific example of generating the occupancy status of only the target room, the method described in the first embodiment may be used.

また、本実施の形態では、入室状況を生成するための履歴情報として調査期間におけるすべての履歴情報を集計用履歴情報として取得しているが、実際には集計用履歴情報のうち対象部屋に関する履歴のみあればよい。したがって、情報取得部17において、記憶部14から集計用履歴情報を取得する際、調査期間における履歴情報のうちから、行先判断テーブルに基づいて、対象部屋に関する履歴情報のみを選択して取得するようにしてもよい。これにより、入室状況の生成における処理データ量を削減でき、入室状況の生成処理所要時間を短縮することができる。   Moreover, in this embodiment, all history information in the survey period is acquired as history information for the survey period as history information for generating the room entry status. I need only. Therefore, when the information acquisition unit 17 acquires the history information for aggregation from the storage unit 14, only the history information related to the target room is selected and acquired from the history information in the survey period based on the destination determination table. It may be. Accordingly, it is possible to reduce the amount of processing data in the generation of the room entry status, and it is possible to shorten the time required for the process for generating the room entrance status.

[第3の実施の形態]
次に、本発明の第3の実施の形態にかかる履歴管理装置10について説明する。
第2の実施の形態では、1つの調査期間において、対象部屋へ入室した入室者の入室状況を生成する場合について説明した。本実施の形態では、時間的に不連続な複数の調査期間において、対象部屋へ入室した入室者の入室状況を生成する場合について説明する。
ここでは、在室調査の対象として第1の調査期間から不連続で第2の調査期間が指定されている場合を例として説明する。なお、本実施の形態にかかる履歴管理装置10は、第2の実施の形態と同様の構成に対して、次のような構成をさらに備えているものとする。
[Third Embodiment]
Next, the history management apparatus 10 according to the third exemplary embodiment of the present invention will be described.
In the second embodiment, a case has been described in which the entry status of a person who entered the target room is generated in one survey period. In the present embodiment, a case will be described in which a room entry situation of a room entrant entering a target room is generated in a plurality of survey periods that are discontinuous in time.
Here, a case where the second survey period is specified as a subject of the occupancy survey discontinuously from the first survey period will be described as an example. The history management apparatus 10 according to the present embodiment is assumed to further include the following configuration in addition to the configuration similar to that of the second embodiment.

情報取得部17は、履歴情報のうち第1の調査期間の終了日時から第2の調査期間の開始日時までの第2の再現期間における履歴情報からなる第2の再現用履歴情報を、記憶部14から取得する機能と、履歴情報のうち第2の調査期間の開始日時から終了日時までの期間における履歴情報からなる第2の集計用履歴情報とを、記憶部14から取得する機能とを有している。   The information acquisition unit 17 stores, in the storage unit, second reproduction history information including history information in the second reproduction period from the end date / time of the first investigation period to the start date / time of the second investigation period. 14 and a function for acquiring, from the storage unit 14, the second history information for aggregation composed of history information in the period from the start date to the end date of the second survey period. doing.

在室状況再現部18は、各第2の再現用履歴情報に記録されている入退室に関する情報に基づいて第1の入室状況を順次更新することにより、第2の調査期間の開始日時における各利用者の在室状況を示す第2の再現在室状況を生成する機能を有している。   The occupancy status reproduction unit 18 sequentially updates the first occupancy status based on the information related to the entry / exit recorded in each second reproduction history information, thereby enabling each occupancy status reproduction unit 18 at the start date and time of the second survey period. It has a function of generating a second recurrent room status indicating the user's occupancy status.

入室状況生成部19は、在室状況再現部18で生成した第2の再現在室状況のうち対象部屋に在室している利用者を初期の入室状況とする機能と、各第2の集計用履歴情報に記録されている対象部屋への入室者に関する情報に基づいて第1の入室状況を順次更新することにより、第1および第2の調査期間に対象部屋へ入室した利用者の入室状況を含む第2の入室状況を生成する機能と、生成した入室状況のうちから対象部屋へ入室した利用者のみに関する選択入室状況を生成する機能とを有している。   The room entry status generation unit 19 has a function of setting a user who is present in the target room among the second recurrent room statuses generated by the room presence status reproduction unit 18 as an initial room entry status, and each second count. The entrance status of users who entered the target room during the first and second survey periods by sequentially updating the first entrance status based on the information related to the person entering the target room recorded in the historical information And a function of generating a selected entry situation relating only to a user who entered the target room from the generated entry situation.

[第3の実施の形態の動作]
次に、図13および図14を参照して、本実施の形態にかかる履歴管理装置10の入室状況生成動作について説明する。図13は、第3の実施の形態にかかる履歴管理装置の入室状況生成処理を示すフローチャートである。図14は、第3の実施の形態にかかる履歴管理装置の入室状況生成処理(続き)を示すフローチャートである。
記憶部14に保存している履歴情報に基づいて、過去の任意の調査期間における対象部屋へ入室した利用者の入室状況を再生する場合、履歴管理装置10において、図13および図14に示すような入室状況生成処理が実行される。
[Operation of Third Embodiment]
Next, with reference to FIG. 13 and FIG. 14, the room entrance state generation operation of the history management apparatus 10 according to the present embodiment will be described. FIG. 13 is a flowchart illustrating room entry status generation processing of the history management apparatus according to the third embodiment. FIG. 14 is a flowchart illustrating room entry status generation processing (continued) of the history management device according to the third embodiment.
When reproducing the room entry status of the user who entered the target room in any past survey period based on the history information stored in the storage unit 14, the history management apparatus 10, as shown in FIGS. 13 and 14, The room entry status generation process is executed.

まず、操作入力部12は、オペレータにより操作入力された第1および第2の調査期間と調査対象となる対象部屋とを取得する(ステップ300)。
続いて、情報取得部17は、記憶部14に保存されている記録在室状況のうち、各調査期間の最初に位置する第1の調査期間の開始日時以前に更新した直近の記録在室状況からなる基点在室状況を、記憶部14から取得し(ステップ301)、この基点在室状況を各利用者の初期の在室状況とすることにより、基点在室状況で在室状況を初期化する(ステップ302)。
First, the operation input unit 12 acquires the first and second survey periods input by the operator and the target room to be surveyed (step 300).
Subsequently, the information acquisition unit 17 has the latest recorded occupancy status updated before the start date and time of the first survey period located at the beginning of each survey period among the recorded occupancy statuses stored in the storage unit 14. Is acquired from the storage unit 14 (step 301), and the initial occupancy status is initialized as the occupancy status of each user by setting the base occupancy status as the initial occupancy status of each user. (Step 302).

次に、入室状況生成部19は、利用者ごとに割り当てた登録判定フラグをOFFで初期化する(ステップ303)。登録判定フラグは、当該利用者が入室状況にすでに登録されているか否かを判定するためのフラグ情報であり、記憶部14に保存される。   Next, the room entrance status generation unit 19 initializes the registration determination flag assigned for each user to OFF (step 303). The registration determination flag is flag information for determining whether or not the user is already registered in the room entry status, and is stored in the storage unit 14.

この後、入室状況生成部19は、複数の調査期間のうちから、時系列順で未処理の調査期間を1つ選択する(ステップ310)。
情報取得部17は、記憶部14に保存されている履歴情報のうち、選択調査期間に対応する再現期間における履歴情報からなる再現用履歴情報と、選択調査期間の開始日時から終了日時までの調査期間における入退室に関する履歴情報からなる集計用履歴情報とを、記憶部14から取得する(ステップ311)。
Thereafter, the room entry status generation unit 19 selects one unprocessed survey period in time series order from among the plurality of survey periods (step 310).
The information acquisition unit 17 includes, for history information stored in the storage unit 14, reproduction history information including history information in a reproduction period corresponding to a selection investigation period, and investigation from a start date to an end date of the selection investigation period. The history information for aggregation consisting of the history information related to entering and leaving the room during the period is acquired from the storage unit 14 (step 311).

選択調査期間が最初の調査期間(第1の調査期間)である場合には、基点在室状況の日時から調査期間の開始日時までが再現期間(第1の再現期間)となる。また、選択調査期間が2つ目以降の調査期間(第2の調査期間)である場合には、当該選択調査期間の直前に位置する調査期間の終了日時から選択調査期間の開始日時までが再現期間(第2の再現期間)となる。   When the selected survey period is the first survey period (first survey period), the reproduction period (first reproduction period) is from the date / time of the base room presence status to the start date / time of the survey period. If the selected survey period is the second or later survey period (second survey period), the period from the end date / time of the survey period located immediately before the selected survey period to the start date / time of the selected survey period is reproduced. This is a period (second reproduction period).

次に、在室状況再現部18は、再現用履歴情報のうちから未処理の履歴情報を時系列順に1つ選択して(ステップ312)、選択履歴情報に記録されている、入退室操作が行われたリーダのリーダIDと記憶部14の行先判断テーブルとに基づいて、利用者の新たな在室場所を特定し(ステップ313)、当該利用者の登録判定フラグを参照して、当該利用者が入室状況に登録済みか否か判定する(ステップ314)。   Next, the occupancy status reproduction unit 18 selects one piece of unprocessed history information from the reproduction history information in chronological order (step 312), and the entry / exit operation recorded in the selection history information is performed. Based on the reader ID of the reader that has been performed and the destination determination table in the storage unit 14, the user's new location is specified (step 313), and the user's registration determination flag is referred to to determine the usage. It is determined whether the person has been registered in the room entry status (step 314).

ここで、登録判定フラグがOFFで当該利用者が入室状況に登録されていない場合(ステップ314:YES)、在室状況再現部18は、再現在室状況のうち、利用者に関する在室場所と入室日時を、特定した新たな在室場所と選択履歴情報に含まれる入退室日時とにより更新する(ステップ315)。
一方、登録判定フラグがONで当該利用者が入室状況に登録されている場合(ステップ314:NO)、入室状況へ登録せずに、後述のステップ316へ移行する。
Here, when the registration determination flag is OFF and the user is not registered in the room entry status (step 314: YES), the occupancy status reproduction unit 18 determines the occupancy location relating to the user among the recurrent room status. The room entry date / time is updated with the specified new room location and the room entry / exit date / time included in the selection history information (step 315).
On the other hand, if the registration determination flag is ON and the user is registered in the room entry status (step 314: NO), the process proceeds to step 316 described later without registering in the room entrance status.

この後、再現用履歴情報のうち未処理の履歴情報がまだある場合(ステップ316:YES)、在室状況再現部18は、ステップ312へ戻って次の履歴情報による再現在室状況の更新処理を繰り返す。
一方、再現用履歴情報のすべての履歴情報の処理が終了した場合(ステップ316:NO)、入室状況生成部19は、得られた入室状況のうち在室部屋が対象部屋と一致するすべての利用者の登録判定フラグを登録済みに設定する(ステップ317)。
Thereafter, when there is still unprocessed history information among the reproduction history information (step 316: YES), the occupancy status reproduction unit 18 returns to step 312 to update the recurrent room status with the next history information. repeat.
On the other hand, when the processing of all the history information of the reproduction history information has been completed (step 316: NO), the room entrance status generation unit 19 uses all of the obtained room entrance statuses where the occupancy room matches the target room. The registration determination flag of the user is set to registered (step 317).

続いて、入室状況生成部19は、集計用履歴情報のうちから未処理の履歴情報を時系列順に1つ選択し(ステップ320)、選択履歴情報に記録されている、入退室操作が行われたリーダのリーダIDと記憶部14の行先判断テーブルとに基づいて、利用者の新たな在室場所を特定し(ステップ321)、新たな在室場所が対象部屋と一致するかどうか確認する(ステップ322)。   Subsequently, the room entry status generation unit 19 selects one piece of unprocessed history information from the total history information in chronological order (step 320), and the entry / exit operation recorded in the selection history information is performed. Based on the reader ID of the reader and the destination determination table of the storage unit 14, the user's new room location is specified (step 321), and it is confirmed whether the new room location matches the target room (step 321). Step 322).

ここで、新たな在室場所が対象部屋と一致する場合(ステップ322:YES)、入室状況生成部19は、当該利用者の登録判定フラグを参照して、当該利用者が入室状況に登録済みか否か判定し(ステップ323)、登録判定フラグがOFFで未登録である場合(ステップ323:YES)、入室状況のうち当該利用者の在室場所および入室日時を更新するとともに(ステップ324)、当該利用者の登録判定フラグをONに設定した後(ステップ325)、後述のステップ326へ移行する。   Here, when the new occupancy location matches the target room (step 322: YES), the entrance status generation unit 19 refers to the registration determination flag of the user and the user has already been registered in the entrance status. (Step 323), and if the registration determination flag is OFF and not registered (step 323: YES), the room location and the date and time of entry of the user are updated in the room entry status (step 324). Then, after setting the registration determination flag of the user to ON (step 325), the process proceeds to step 326 described later.

なお、新たな在室場所が対象部屋と一致しない場合(ステップ322:NO)、あるいは当該利用者の登録判定フラグがONで入室状況に登録済みの場合(ステップ323:NO)、入室状況を更新せずに、後述のステップ326へ移行する。
この後、集計用履歴情報のうち未処理の履歴情報がまだある場合(ステップ326:YES)、入室状況生成部19は、ステップ320へ戻って次の履歴情報による入室状況の更新処理を繰り返す。
If the new room location does not match the target room (step 322: NO), or if the user's registration determination flag is ON and the room is already registered (step 323: NO), the room entry status is updated. Instead, the process proceeds to step 326 described later.
Thereafter, when there is still unprocessed history information among the totaling history information (step 326: YES), the room entrance status generation unit 19 returns to step 320 and repeats the process of updating the room entrance status with the next history information.

一方、集計用履歴情報のすべての履歴情報の処理が終了した場合(ステップ326:NO)、入室状況生成部19は、ステップ320〜326の処理により得られた入室状況を、これまでの各調査期間における入室状況として記憶部14へ保存し、未処理の調査期間がまだある場合(ステップ330:YES)、図13のステップ310へ戻って、次の調査期間における入室状況の生成処理を繰り返す。   On the other hand, when the processing of all the history information of the history information for aggregation is completed (step 326: NO), the room entrance status generation unit 19 examines the room entrance status obtained by the processing of steps 320 to 326 for each of the previous surveys. When the room entry status in the period is stored in the storage unit 14 and there is still an unprocessed survey period (step 330: YES), the process returns to step 310 in FIG. 13 to repeat the process of generating the room status in the next survey period.

また、すべての調査期間の処理が終了した場合(ステップ330:NO)、記憶部14に保存されている入室状況のうちから登録判定フラグがONの利用者に関する選択入室状況を生成して記憶部14へ保存し(ステップ331)、一連の入室状況生成処理を終了する。   Further, when the processing for all the survey periods is completed (step 330: NO), the storage unit 14 generates a selected entry situation regarding the user whose registration determination flag is ON from among the entry conditions stored in the storage unit 14. 14 (step 331), and a series of room entrance status generation processing is terminated.

図15は、第3の実施の形態にかかる履歴管理装置の入室状況生成動作を示す説明図である。前述した入室状況生成処理の全体的な動作は、図15のようになる。
図15において、日時Tは現在日時であり、日時TXAが入室状況を生成したい第1の調査期間tcAの開始日時であり、日時TYAが調査期間tcAの終了日時である。また、日時TXBが入室状況を生成したい第2の調査期間tcBの開始日時であり、日時TYBが調査期間tcBの終了日時である。
FIG. 15 is an explanatory diagram illustrating a room entrance state generation operation of the history management apparatus according to the third embodiment. The overall operation of the entry status generation process described above is as shown in FIG.
In FIG. 15, the date and time T is the current date and time, the date and time TXA is the start date and time of the first survey period tcA for which a room entry situation is to be generated, and the date and time TYA is the end date and time of the survey period tcA. Further, the date and time TXB is the start date and time of the second survey period tcB for which it is desired to generate the room entry status, and the date and time TYB is the end date and time of the survey period tcB.

記憶部14には、記録在室状況31が一定期間tsごとに保存されており、これら記録在室状況31のうち、最初の調査期間tcAの調査開始日時TXA以前に更新した直近の記録在室状況が、基点在室状況31Pとして記憶部14から取得される。   The storage unit 14 stores the recording occupancy status 31 for each fixed period ts. Among these recording occupancy statuses 31, the latest recording occupancy updated before the survey start date and time TXA of the first survey period tcA. The situation is acquired from the storage unit 14 as the base room presence situation 31P.

この後、第1の調査期間tcAにおける入室状況の生成処理が開始される。
まず、記憶部14の履歴情報32のうち、基点在室状況31Pが更新された日時である基点日時TPから調査開始日時TXAまでの第1の再現期間tpAにおける履歴情報が、第1の再現用履歴情報33Aとして記憶部14から取得され、調査開始日時TXAから調査終了日時TYAまでの調査期間tcAにおける履歴情報が第1の集計用履歴情報34Aとして取得される。
Thereafter, the room entrance situation generation process in the first survey period tcA is started.
First, in the history information 32 of the storage unit 14, history information in the first reproduction period tpA from the base date / time TP, which is the date / time when the base point occupancy status 31P is updated, to the survey start date / time TXA is used for the first reproduction. The history information 33A is acquired from the storage unit 14, and the history information in the survey period tcA from the survey start date and time TXA to the survey end date and time TYA is acquired as the first tabulation history information 34A.

この後、再現在室状況35が基点在室状況31Pにより初期化され、初期化された再現在室状況35Pが、再現用履歴情報33Aに含まれる各履歴情報と記憶部14の行先判断テーブルとにより順次更新される。これにより、図4に示したような、調査開始日時TXAにおいて各利用者が在室している部屋を示す、第1の再現在室状況35Aが再現されることになる。   Thereafter, the re-current room state 35 is initialized by the base point room state 31P, and the initialized re-current room state 35P includes the history information included in the reproduction history information 33A and the destination determination table of the storage unit 14. Are updated sequentially. As a result, as shown in FIG. 4, the first recurrent room situation 35A indicating the room where each user is present at the survey start date and time TXA is reproduced.

次に、再現在室状況35Aが、集計用履歴情報34Aに含まれる各履歴情報のうち、対象部屋への入室を示す履歴情報と記憶部14の行先判断テーブルとにより順次更新される。これにより、図9に示したような、調査期間tcAにおいて対象部屋に入室した利用者の入室状況を含む第1の入室状況36Aが生成される。   Next, the re-current room status 35A is sequentially updated by history information indicating entry into the target room among the history information included in the total history information 34A and the destination determination table in the storage unit 14. As a result, as shown in FIG. 9, a first entry situation 36A including the entry situation of the user who entered the target room in the survey period tcA is generated.

続いて、第2の調査期間tcBにおける入室状況の生成処理が開始される。
まず、記憶部14の履歴情報32のうち、直前の調査期間tcAの調査終了日時TYAから調査開始日時TXBまでの第2の再現期間tpBにおける履歴情報が、第2の再現用履歴情報33Bとして記憶部14から取得され、調査開始日時TXBから調査終了日時TYBまでの調査期間tcBにおける履歴情報が第2の集計用履歴情報34Bとして取得される。
Subsequently, the process for generating the room entry status in the second survey period tcB is started.
First, of the history information 32 in the storage unit 14, history information in the second reproduction period tpB from the survey end date TYA to the survey start date TXB in the immediately previous survey period tcA is stored as second reproduction history information 33B. The history information in the survey period tcB from the survey start date and time TXB to the survey end date and time TYB is acquired as the second tabulation history information 34B.

この後、第1の入室状況36Aが、再現用履歴情報33Bに含まれる各履歴情報と記憶部14の行先判断テーブルとにより順次更新される。これにより、調査開始日時TXBにおいて各利用者が在室している部屋を示す、図4に示したような、第2の再現在室状況35Bが再現されることになる。   Thereafter, the first room entry status 36A is sequentially updated by the history information included in the reproduction history information 33B and the destination determination table of the storage unit 14. As a result, the second re-current room situation 35B as shown in FIG. 4 showing the room where each user is present at the survey start date and time TXB is reproduced.

次に、第2の再現在室状況35Bが、集計用履歴情報34Bに含まれる各履歴情報のうち、対象部屋への入室を示す履歴情報と記憶部14の行先判断テーブルとにより順次更新される。これにより、図9に示したような、調査期間tcAおよび調査期間tcBにおいて対象部屋に入室した利用者の入室状況を含む、第2の入室状況36Bが生成される。
この際、得られた入室状況36Bには、対象部屋に入室していない利用者の調査期間tcB以前における入室状況も含まれている。したがって、登録判定フラグがONであり、対象部屋に入室した利用者のみに関する入室状況を、入室状況36Bのうちから選択することにより選択入室状況36Sを生成してもよい。
Next, the second recurrent room situation 35B is sequentially updated by the history information indicating entry into the target room and the destination determination table in the storage unit 14 among the pieces of history information included in the history information 34B for aggregation. . As a result, as shown in FIG. 9, a second room entry state 36 </ b> B including the room entry state of the user who entered the target room during the research period tcA and the research period tcB is generated.
At this time, the obtained entrance situation 36B includes the entrance situation before the survey period tcB of the users who have not entered the target room. Therefore, the selected entry situation 36S may be generated by selecting the entry situation relating to only the user who entered the target room from among the entry situations 36B when the registration determination flag is ON.

[第3の実施の形態の効果]
このように、本実施の形態は、第2の実施の形態で説明した入室状況の生成処理を、調査期間ごとに繰り返し実行し、2つ目以降の調査期間(第2の調査期間)については、直前の調査期間での入室状況生成処理で得られた入室状況を、新たな再現用履歴情報の初期値として用いるようにしたので、時間的に不連続な複数の調査期間が指定された場合でも、調査期間における対象部屋へ入室した入室者の入室状況を容易に生成することができる。
[Effect of the third embodiment]
As described above, in the present embodiment, the room entrance state generation process described in the second embodiment is repeatedly performed for each survey period, and the second and subsequent survey periods (second survey periods) are executed. Since the entry status obtained from the entry status generation process in the immediately preceding survey period is used as the initial value of the new reproduction history information, multiple discontinuous survey periods are specified However, it is possible to easily generate the room entry status of the person who entered the target room during the survey period.

また、本実施の形態では、第2の実施の形態と同様に、在室状況を再現する際、すべての利用者あるいはすべての部屋の在室状況を再現する場合を例として説明したが、実際には、この在室状況のうちの対象部屋に関する在室状況のみを、その後の入室状況の生成処理で用いている。したがって、対象部屋に関する履歴情報のみに基づいて、再現在室状況を生成するようにしてもよい。これにより、在室調査における処理データ量を削減でき、在室調査に要する処理所要時間を短縮することができる。なお、対象部屋のみの在室状況を生成する具体例については、第1の実施の形態で説明した方法を利用すればよい。   Further, in the present embodiment, as in the second embodiment, when reproducing the occupancy status, the case of reproducing the occupancy status of all users or all rooms has been described as an example. In this room status, only the room status relating to the target room is used in the subsequent process of generating the room status. Therefore, the re-current room situation may be generated based only on the history information about the target room. Thereby, the amount of processing data in the occupancy survey can be reduced, and the processing time required for the occupancy survey can be shortened. As a specific example of generating the occupancy status of only the target room, the method described in the first embodiment may be used.

また、本実施の形態では、第2の実施の形態と同様に、入室状況を生成するための履歴情報として調査期間におけるすべての履歴情報を集計用履歴情報として取得しているが、実際には集計用履歴情報のうち対象部屋に関する履歴のみあればよい。したがって、情報取得部17において、記憶部14から集計用履歴情報を取得する際、調査期間における履歴情報のうちから、行先判断テーブルに基づいて、対象部屋に関する履歴情報のみを選択して取得するようにしてもよい。これにより、入室状況の生成における処理データ量を削減でき、入室状況の生成処理所要時間を短縮することができる。   Moreover, in this embodiment, as in the second embodiment, all history information in the survey period is acquired as history information for tabulation as history information for generating the room entry status. Only the history related to the target room among the history information for aggregation is sufficient. Therefore, when the information acquisition unit 17 acquires the history information for aggregation from the storage unit 14, only the history information related to the target room is selected and acquired from the history information in the survey period based on the destination determination table. It may be. Accordingly, it is possible to reduce the amount of processing data in the generation of the room entry status, and it is possible to shorten the time required for the process for generating the room entrance status.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。
[Extended embodiment]
The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

また、各実施の形態では、入退室における利用者の新たな在室場所を特定する際、履歴情報に含まれるリーダIDと記憶部14の行先判断テーブルとから得られた移動先部屋を、利用者の新たな在室場所として特定する場合について説明したが、これに限定されるものではない。例えば、入退室管理装置20から受け取った履歴情報に移動先の部屋を示す部屋名や部屋IDなどの移動先部屋情報が含まれている場合には、その移動先部屋情報をそのまま用いればよい。   Further, in each embodiment, when specifying a new occupancy location of the user in the entrance / exit, the destination room obtained from the reader ID included in the history information and the destination determination table of the storage unit 14 is used. Although the case where it specified as a new occupancy place of a person was demonstrated, it is not limited to this. For example, when the history information received from the entrance / exit management device 20 includes destination room information such as a room name or a room ID indicating the destination room, the destination room information may be used as it is.

また、各実施の形態では、在室状況や入室状況を生成する場合、利用者の新たな在室場所を、部屋名で特定して処理する場合を例として説明したが、利用者の新たな在室場所を示す情報としては、部屋名に限定されるものではない。例えば、部屋名に代えて各部屋に個別に割り当てた部屋IDを用いてもよく、さらにはリーダIDそのものを用いてもよい。これらIDを用いた場合には、得られた再現在室状況や入室状況を最終的にオペレータへ画面表示する際、あるいは外部装置へデータとして出力する際に、行先判断テーブルで変換して出力すればよい。   Further, in each embodiment, when generating the occupancy status and the entrance status, the case where the user's new occupancy location is specified and processed by the room name has been described as an example. The information indicating the occupancy location is not limited to the room name. For example, instead of a room name, a room ID assigned to each room may be used, or a reader ID itself may be used. When these IDs are used, when the current re-current room status or room entrance status is finally displayed on the screen for the operator or when it is output as data to an external device, it is converted and output in the destination determination table. That's fine.

1…入退室管理システム、10…履歴管理装置、11…通信I/F部、12…操作入力部、13…画面表示部、14…記憶部、15…履歴管理部、16…在室状況更新部、17…情報取得部、18…在室状況再現部、19…入室状況生成部、20…入退室管理装置、21…リーダ、22…電気錠、23…IDカード、31…記録在室状況、31P…基点在室状況、32…履歴情報、33…再現用履歴情報、33A…再現用履歴情報(第1の再現用履歴情報)、33B…再現用履歴情報(第2の再現用履歴情報)、34…集計用履歴情報、34A…集計用履歴情報(第1の集計用履歴情報)、34B…集計用履歴情報(第2の集計用履歴情報)、35…再現在室状況、35P…基点在室状況、35A…基点在室状況(第1の基点在室状況)、35B…基点在室状況(第2の基点在室状況)、36…入室状況、36A…入室状況(第1の入室状況)、36B…入室状況(第2の入室状況)、36S…全入室状況、L…通信回線、BS…制御バス、R…部屋、TP…基点日時、TX,TXA,TXB…開始日時、TY,TYA,TYB…終了日時、tp…再現期間、tpA…再現期間(第1の再現期間)、tpB…再現期間(第2の再現期間)、tc…調査期間、tcA…調査期間(第1の調査期間)、tcB…調査期間(第2の調査期間)。   DESCRIPTION OF SYMBOLS 1 ... Entrance / exit management system, 10 ... History management apparatus, 11 ... Communication I / F part, 12 ... Operation input part, 13 ... Screen display part, 14 ... Memory | storage part, 15 ... History management part, 16 ... Update of occupancy status , 17 ... Information acquisition unit, 18 ... Occupancy status reproduction unit, 19 ... Occupancy status generation unit, 20 ... Entrance / exit management device, 21 ... Reader, 22 ... Electric lock, 23 ... ID card, 31 ... Recording occupancy status , 31P ... base point occupancy status, 32 ... history information, 33 ... reproduction history information, 33A ... reproduction history information (first reproduction history information), 33B ... reproduction history information (second reproduction history information) ), 34... Aggregation history information, 34 A... Aggregation history information (first aggregation history information), 34 B... Aggregation history information (second aggregation history information), 35. Base point occupancy status, 35A ... Base point occupancy status (first base point occupancy status), 3 B ... Base room status (second base room status), 36 ... Entrance status, 36A ... Entrance status (first entrance status), 36B ... Entrance status (second entrance status), 36S ... All entrance status , L ... communication line, BS ... control bus, R ... room, TP ... base date / time, TX, TXA, TXB ... start date / time, TY, TYA, TYB ... end date / time, tp ... reproduction period, tpA ... reproduction period (first) Reproduction period), tpB ... reproduction period (second reproduction period), tc ... investigation period, tcA ... investigation period (first investigation period), tcB ... investigation period (second investigation period).

Claims (6)

各部屋における利用者の入退室を管理する入退室管理装置から通知された、前記入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、前記入退室の履歴情報として記憶部へ順次保存する履歴管理部と、
前記履歴情報に基づいて前記各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した前記最新在室状況を記録在室状況として前記記憶部へ保存する在室状況更新部と、
前記記録在室状況のうち前記在室調査の対象となる調査日時以前に更新した直近の記録在室状況からなる基点在室状況と、前記履歴情報のうち前記基点在室状況が更新された基点日時から前記調査日時までの再現期間における履歴情報からなる再現用履歴情報とを、前記記憶部から取得する情報取得部と、
前記基点在室状況を初期の在室状況とした後、前記各再現用履歴情報に記録されている入退室に関する情報に基づいて前記在室状況を順次更新することにより、前記調査日時における前記各利用者の在室状況を示す再現在室状況を生成する在室状況再現部と
を備えることを特徴とする履歴管理装置。
Information specifying the date / time, room, and user related to the entry / exit notified from the entry / exit management device that manages the entry / exit of the user in each room is sequentially stored in the storage unit as the entry / exit history information. The history management section to save,
Based on the history information, the latest occupancy status indicating the latest room in which each user is present is sequentially updated, and the updated latest occupancy status is stored in the storage unit as a recorded occupancy status. A room status update department;
Of the recorded occupancy status, the base occupancy status composed of the latest recorded occupancy status updated before the survey date and time subject to the occupancy survey, and the base point where the base occupancy status was updated among the history information A history information for reproduction consisting of history information in a reproduction period from the date and time to the survey date and time, an information acquisition unit for acquiring from the storage unit;
After making the base occupancy status the initial occupancy status, by sequentially updating the occupancy status based on the information on the entrance / exit recorded in the reproduction history information, A history management apparatus comprising: a occupancy status reproduction unit that generates a current occupancy status indicating a user's occupancy status.
各部屋における利用者の入退室を管理する入退室管理装置から通知された、前記入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、前記入退室の履歴情報として記憶部へ順次保存する履歴管理部と、
前記履歴情報に基づいて前記各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した前記最新在室状況を記録在室状況として前記記憶部へ保存する在室状況更新部と、
前記記録在室状況のうち前記在室調査の対象となる第1の調査期間の開始日時以前に更新した直近の記録在室状況からなる基点在室状況と、前記履歴情報のうち前記基点在室状況が更新された基点日時から前記第1の調査期間の開始日時までの第1の再現期間における履歴情報からなる第1の再現用履歴情報と、前記履歴情報のうち前記第1の調査期間の開始日時から終了日時までの期間における履歴情報からなる第1の集計用履歴情報とを、前記記憶部から取得する情報取得部と、
前記基点在室状況を初期の在室状況とした後、前記各第1の再現用履歴情報に記録されている入退室に関する情報に基づいて前記在室状況を順次更新することにより、前記第1の調査日時の開始日時における前記各利用者の在室状況を示す第1の再現在室状況を生成する在室状況再現部と、
前記各第1の集計用履歴情報に記録されている、前記在室調査の対象となる対象部屋への入室者に関する情報に基づいて前記第1の再現在室状況を順次更新することにより、前記第1の調査期間に前記対象部屋へ入室した利用者の入室状況を含む第1の入室状況を生成する入室状況生成部と
を備えることを特徴とする履歴管理装置。
Information specifying the date / time, room, and user related to the entry / exit notified from the entry / exit management device that manages the entry / exit of the user in each room is sequentially stored in the storage unit as the entry / exit history information. The history management section to save,
Based on the history information, the latest occupancy status indicating the latest room in which each user is present is sequentially updated, and the updated latest occupancy status is stored in the storage unit as a recorded occupancy status. A room status update department;
Of the recorded occupancy status, the base occupancy status composed of the latest recorded occupancy status updated before the start date and time of the first survey period that is the subject of the occupancy survey, and the base occupancy status among the history information First reproduction history information consisting of history information in a first reproduction period from a base date and time when the situation is updated to a start date and time of the first investigation period, and of the first investigation period of the history information An information acquisition unit that acquires, from the storage unit, first aggregation history information including history information in a period from a start date to an end date;
The first occupancy status is changed to the initial occupancy status, and then the occupancy status is sequentially updated based on the information relating to the entry / exit recorded in the first reproduction history information. An occupancy status reproduction unit that generates a first recurrent room status indicating the occupancy status of each user at the start date and time of the survey date;
By sequentially updating the first recurrent room status based on the information about the occupants of the target room to be subject to the occupancy survey, which is recorded in each of the first totaling history information, A history management apparatus, comprising: an entrance status generation unit that generates a first entrance status including an entrance status of a user who entered the target room during a first survey period.
請求項2に記載の履歴管理装置において、
前記情報取得部は、前記在室調査の対象として前記第1の調査期間から不連続で第2の調査期間が指定されている場合、前記履歴情報のうち前記第1の調査期間の終了日時から前記第2の調査期間の開始日時までの第2の再現期間における履歴情報からなる第2の再現用履歴情報と、前記履歴情報のうち前記第2の調査期間の開始日時から終了日時までの期間における履歴情報からなる第2の集計用履歴情報とを、前記記憶部から取得し、
前記在室状況再現部は、前記各第2の再現用履歴情報に記録されている入退室に関する情報に基づいて前記第1の入室状況を順次更新することにより、前記第2の調査期間の開始日時における前記各利用者の在室状況を示す第2の再現在室状況を生成し、
前記入室状況生成部は、前記各第2の集計用履歴情報に記録されている前記対象部屋への入室者に関する情報に基づいて前記第2の再現在室状況を順次更新することにより、前記第1および第2の調査期間に前記対象部屋へ入室した利用者の入室状況を含む第2の入室状況を生成する
ことを特徴とする履歴管理装置。
In the history management device according to claim 2,
When the second survey period is specified discontinuously from the first survey period as the occupancy survey target, the information acquisition unit starts from the end date and time of the first survey period in the history information. Second reproduction history information consisting of history information in a second reproduction period until the start date and time of the second survey period, and a period from the start date and time to the end date and time of the second survey period in the history information 2nd history information for aggregation consisting of history information in
The occupancy status reproduction unit starts the second survey period by sequentially updating the first occupancy status based on information related to the entry / exit recorded in the second reproduction history information. Generating a second re-current room status indicating the occupancy status of each user at the date and time;
The room entry status generation unit sequentially updates the second recurrent room status based on information related to a person entering the target room recorded in the second total history information. A history management apparatus that generates a second entry situation including an entry situation of a user who entered the target room during the first and second survey periods.
履歴管理部が、各部屋における利用者の入退室を管理する入退室管理装置から通知された、前記入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、前記入退室の履歴情報として記憶部へ順次保存する履歴管理ステップと、
在室状況更新部が、前記履歴情報に基づいて前記各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した前記最新在室状況を記録在室状況として前記記憶部へ保存する在室状況更新ステップと、
情報取得部が、前記記録在室状況のうち前記在室調査の対象となる調査日時以前に更新した直近の記録在室状況からなる基点在室状況と、前記履歴情報のうち前記基点在室状況が更新された基点日時から前記調査日時までの再現期間における履歴情報からなる再現用履歴情報とを、前記記憶部から取得する情報取得ステップと、
在室状況再現部が、前記基点在室状況を初期の在室状況とした後、前記各再現用履歴情報に記録されている入退室に関する情報に基づいて前記在室状況を順次更新することにより、前記調査日時における前記各利用者の在室状況を示す再現在室状況を生成する在室状況再現ステップと
を備えることを特徴とする履歴管理方法。
The history management unit notifies the entry / exit history information about the entry / exit date / time, room, and user, notified from the entrance / exit management device that manages the entrance / exit of the user in each room. History management step for sequentially saving to the storage unit as,
The occupancy status update unit sequentially updates the latest occupancy status indicating the latest room in which each user is occupying based on the history information, and the updated latest occupancy status is recorded as the occupancy status Occupancy status update step to be stored in the storage unit;
The information acquisition unit includes a base occupancy status composed of the latest recorded occupancy status updated before the survey date and time of the occupancy survey among the recorded occupancy status, and the base occupancy status of the history information Information acquisition step for acquiring history information for reproduction consisting of history information in a reproduction period from the base date and time to the survey date and time updated from the storage unit,
The occupancy status reproduction unit sequentially updates the occupancy status based on the information related to the entry / exit recorded in each of the reproduction history information after setting the base occupancy status to the initial occupancy status. And a occupancy status reproduction step of generating a recurrent occupancy status indicating the occupancy status of each of the users at the survey date and time.
履歴管理部が、各部屋における利用者の入退室を管理する入退室管理装置から通知された、前記入退室に関する日時、部屋、および利用者のそれぞれを特定する情報を、前記入退室の履歴情報として記憶部へ順次保存する履歴管理ステップと、
在室状況更新部が、前記履歴情報に基づいて前記各利用者が在室している最新の部屋を示す最新在室状況を順次更新し、更新した前記最新在室状況を記録在室状況として前記記憶部へ保存する在室状況更新ステップと、
情報取得部が、前記記録在室状況のうち前記在室調査の対象となる第1の調査期間の開始日時以前に更新した直近の記録在室状況からなる基点在室状況と、前記履歴情報のうち前記基点在室状況が更新された基点日時から前記第1の調査期間の開始日時までの第1の再現期間における履歴情報からなる第1の再現用履歴情報と、前記履歴情報のうち前記第1の調査期間の開始日時から終了日時までの期間における履歴情報からなる第1の集計用履歴情報とを、前記記憶部から取得する情報取得ステップと、
在室状況再現部が、前記基点在室状況を初期の在室状況とした後、前記各第1の再現用履歴情報に記録されている入退室に関する情報に基づいて前記在室状況を順次更新することにより、前記第1の調査日時の開始日時における前記各利用者の在室状況を示す第1の再現在室状況を生成する在室状況再現ステップと、
入室状況生成部が、前記各第1の集計用履歴情報に記録されている、前記在室調査の対象となる対象部屋への入室者に関する情報に基づいて前記第1の再現在室状況を順次更新することにより、前記第1の調査期間に前記対象部屋へ入室した利用者の入室状況を含む第1の入室状況を生成する入室状況生成ステップと
を備えることを特徴とする履歴管理方法。
The history management unit notifies the entry / exit history information about the entry / exit date / time, room, and user, notified from the entrance / exit management device that manages the entrance / exit of the user in each room. History management step for sequentially saving to the storage unit as,
The occupancy status update unit sequentially updates the latest occupancy status indicating the latest room in which each user is occupying based on the history information, and the updated latest occupancy status is recorded as the occupancy status Occupancy status update step to be stored in the storage unit;
The information acquisition unit includes a base point occupancy status including the latest recorded occupancy status updated before the start date and time of the first survey period to be the subject of the occupancy survey among the recorded occupancy status, and the history information Of the history information, the first history information for reproduction consisting of history information in the first reproduction period from the base date and time when the base point occupancy status is updated to the start date and time of the first survey period, An information acquisition step of acquiring, from the storage unit, first aggregation history information consisting of history information in a period from the start date to the end date of one survey period;
The occupancy status reproduction unit sequentially updates the occupancy status based on the information related to the entry / exit recorded in each of the first reproduction history information after setting the base occupancy status to the initial occupancy status A occupancy status reproduction step of generating a first recurrent room status indicating the occupancy status of each user at the start date and time of the first survey date and time,
The room entry status generation unit sequentially determines the first recurrent room status based on information about a person who has entered the target room to be subject to the occupancy survey, which is recorded in each of the first aggregation history information. A history management method, comprising: an entry status generation step that generates a first entry status including an entry status of a user who entered the target room during the first survey period by updating.
請求項5に記載の履歴管理方法において、
前記情報取得ステップは、前記在室調査の対象として前記第1の調査期間から不連続で第2の調査期間が指定されている場合、前記履歴情報のうち前記第1の調査期間の終了日時から前記第2の調査期間の開始日時までの第2の再現期間における履歴情報からなる第2の再現用履歴情報と、前記履歴情報のうち前記第2の調査期間の開始日時から終了日時までの期間における履歴情報からなる第2の集計用履歴情報とを、前記記憶部から取得するステップを含み、
前記在室状況再現ステップは、前記各第2の再現用履歴情報に記録されている入退室に関する情報に基づいて前記第1の入室状況を順次更新することにより、前記第2の調査期間の開始日時における前記各利用者の在室状況を示す第2の再現在室状況を生成するステップを含み、
前記入室状況生成ステップは、前記各第2の集計用履歴情報に記録されている前記対象部屋への入室者に関する情報に基づいて前記第2の再現在室状況を順次更新することにより、前記第1および第2の調査期間に前記対象部屋へ入室した利用者の入室状況を含む第2の入室状況を生成するステップを含む
ことを特徴とする履歴管理方法。
The history management method according to claim 5,
In the case where the second survey period is specified discontinuously from the first survey period as the occupancy survey target, the information acquisition step starts from the end date / time of the first survey period in the history information. Second reproduction history information consisting of history information in a second reproduction period until the start date and time of the second survey period, and a period from the start date and time to the end date and time of the second survey period in the history information Including the step of obtaining from the storage unit second history information for aggregation consisting of history information in
The occupancy status reproduction step starts the second survey period by sequentially updating the first occupancy status based on information related to the entry / exit recorded in the second reproduction history information. Generating a second recurrent room status indicating the occupancy status of each user at a date and time;
In the room entry status generation step, the second recurrent room status is sequentially updated based on information related to a person entering the target room recorded in the second total history information. A history management method comprising: generating a second entry situation including an entry situation of a user who entered the target room during the first and second survey periods.
JP2010275514A 2010-12-10 2010-12-10 History management apparatus and method Active JP5689666B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010275514A JP5689666B2 (en) 2010-12-10 2010-12-10 History management apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010275514A JP5689666B2 (en) 2010-12-10 2010-12-10 History management apparatus and method

Publications (2)

Publication Number Publication Date
JP2012123707A JP2012123707A (en) 2012-06-28
JP5689666B2 true JP5689666B2 (en) 2015-03-25

Family

ID=46505060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010275514A Active JP5689666B2 (en) 2010-12-10 2010-12-10 History management apparatus and method

Country Status (1)

Country Link
JP (1) JP5689666B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5170982B2 (en) * 2006-05-26 2013-03-27 パナソニック株式会社 Entrance / exit information device

Also Published As

Publication number Publication date
JP2012123707A (en) 2012-06-28

Similar Documents

Publication Publication Date Title
KR101750429B1 (en) Document editing system and method for collaborative editing
CN102804144A (en) Remotely locating and commanding a mobile device
JP6388702B1 (en) Information processing program, information processing method, and information processing terminal
TW201317933A (en) Systems and methods for event attendance notification
CN111598428A (en) Method and device for managing process nodes, storage medium and server
US9361004B2 (en) Indicating organization of visitor on user interface of user engaged in collaborative activity with visitor
US9912620B2 (en) Method, system and device for implementing an instant messaging application
CN113254153B (en) Method and device for processing flow task, computer equipment and storage medium
JP5689666B2 (en) History management apparatus and method
JP7279334B2 (en) Business management device, business management method, and program
KR20180129374A (en) Method and system for managing attendance using messenger
CN102984193A (en) Reception terminal, information processing method, server, transmission terminal, and information processing system
JP2017182293A (en) Information processing device, information processing method, and program
KR20200121064A (en) Method, system, and non-transitory computer readable record medium for p managing event messages
US20180331840A1 (en) Information processing apparatus, information processing system, and information processing method
US20170011482A1 (en) License number management system and license number management method
JP6552162B2 (en) Information processing apparatus, information processing method, and program
JP7315511B2 (en) Information processing method, information processing system, information processing apparatus, and program
CN113806383A (en) Schedule real-time synchronization method and device
JP2017084284A (en) Web conference system and control method of the same, and program
JP2019204561A (en) Cleaning work management server, cleaning work management system, and control method thereof and program
WO2022113589A1 (en) Server, terminal device, information processing program, management system, and management method
JP7414128B2 (en) Conversation control program, conversation control method, and information processing device
WO2017119070A1 (en) Itinerary planning assistance program, itinerary planning assistance method, and itinerary planning assistance device
JP6684934B1 (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140701

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150129

R150 Certificate of patent or registration of utility model

Ref document number: 5689666

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150