Travel distance calculation method, travel distance calculation device, and travel distance calculation program
The method and device use a minimal sensor setup to accurately calculate travel distances within a residence by analyzing detection sequences and referencing a distance table, addressing sensor errors and cost issues in existing technologies.
Patent Information
- Application Number
- JP2022508101
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-15
- Filing Date
- 2021-01-25
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2041-01-25
AI Technical Summary
Existing technologies fail to accurately calculate the distance traveled by individuals in a residence due to erroneous sensor reactions and the high cost of installing multiple sensors in each room, particularly when measuring longer distances within the residence.
A method and device that utilize a minimal setup of sensors, including a first, second, and third sensor in each space, to determine travel distance by analyzing detection information sequences and referencing a distance table for sensor combinations, thereby accounting for potential sensor errors and reducing installation costs.
This approach allows for accurate calculation of travel distances within a residence, even with sensor errors, while minimizing the number of sensors required, thus reducing installation costs and enhancing the ability to track movement between spaces.
Smart Images

Figure 0007607631000001 
Figure 0007607631000002 
Figure 0007607631000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for calculating the distance traveled by a person in a residence. [Background technology]
[0002] Care recipients who live alone have fewer opportunities to go out and tend to have less physical activity and exercise. The decrease in physical activity and exercise affects various daily activities such as eating, drinking, sleeping, and excretion. Therefore, caregivers and care managers measure the amount of activity of care recipients to help support their daily lives.
[0003] In order to measure the amount of activity in daily life, the care recipient needs to wear an activity meter themselves. However, there are cases where the care recipient forgets to wear the activity meter or does not wear it because it is troublesome to operate, making it difficult to accurately measure the amount of activity.
[0004] Therefore, technology is being developed that can measure activity levels without requiring the care recipient to wear an activity meter.
[0005] For example, in Patent Document 1, the amount of movement of a human body indoors is calculated using human body position information sensed by multiple passive sensors installed in each indoor room and arranged at regular intervals on the vertical and horizontal axes when viewed in a plan view of the room.
[0006] However, the above-mentioned conventional technology does not take into consideration erroneous responses of the sensor, and further improvement is required. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2008-99843 A Summary of the Invention
[0008] The present disclosure has been made to solve the above problems, and aims to provide a technology that can calculate the distance a person has moved even if a false response occurs in the sensor.
[0009] A travel distance calculation method according to one aspect of the present disclosure is a travel distance calculation method in a travel distance calculation device that calculates a travel distance of a person in a residence, the method comprising: acquiring first detection information indicating that the person has been detected by a first sensor provided in a first space in the residence; second detection information indicating that the person has been detected by a second sensor provided in a second space in the residence different from the first space; and third detection information indicating that the person has been detected by a third sensor provided in a third space in the residence connecting the first space and the second space; and calculating, based on the first detection information and the third detection information, a case in which the person has been detected by the third sensor after the person has been detected by the first sensor, or a case in which the person has been detected by the first sensor after the person has been detected by the third sensor. In this case, if the person is detected by the third sensor after being detected by the second sensor, or if the person is detected by the second sensor after being detected by the third sensor, based on the second detection information and the third detection information, the distance between the second sensor and the third sensor is added to the moving distance; and if the person is detected by the second sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the second sensor, based on the first detection information and the second detection information, the distance between the first sensor and the second sensor is not added to the moving distance, and the added moving distance is output.
[0010] According to the present disclosure, even if a false reaction occurs in the sensor, the moving distance of a person can be calculated. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing a configuration of a travel distance calculation system according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram showing an example of a floor plan of a house in which a main sensor and a hub sensor are installed in the first embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of a distance table stored in a distance table storage unit in the first embodiment. [Figure 4] 4 is a first flowchart for illustrating a travel distance calculation process in the travel distance calculation device according to the first embodiment of the present disclosure. [Diagram 5] 11 is a second flowchart for illustrating the travel distance calculation process in the travel distance calculation device according to the first embodiment of the present disclosure. [Figure 6] FIG. 11 is a diagram showing the main sensors and hub sensors that output detection information, arranged in chronological order, when the main sensors and hub sensors normally detect a person in the first embodiment. [Figure 7] FIG. 11 is a diagram showing, in chronological order, main sensors and hub sensors that output detection information when a hub sensor does not normally detect a person in the first embodiment. [Figure 8] FIG. 11 is a diagram showing main sensors and hub sensors that output detection information in a case where the main sensor erroneously detects a person in the first embodiment, arranged in chronological order. [Figure 9] FIG. 11 is a block diagram showing a configuration of a travel distance calculation system according to a second embodiment of the present disclosure. [Figure 10] FIG. 11 is a diagram showing an example of a layout of a house in which a main sensor, a hub sensor, and a sub-sensor are installed in the second embodiment. [Figure 11] FIG. 11 is a diagram showing an example of a distance table stored in a distance table storage unit in the second embodiment. [Figure 12] 11 is a first flowchart illustrating a travel distance calculation process in a travel distance calculation device according to a second embodiment of the present disclosure. [Figure 13] 13 is a second flowchart illustrating a travel distance calculation process in the travel distance calculation device according to the second embodiment of the present disclosure. [Figure 14] 13 is a third flowchart for illustrating a travel distance calculation process in a travel distance calculation device 2A according to the second embodiment of the present disclosure. [Figure 15] 13 is a fourth flowchart for illustrating a travel distance calculation process in a travel distance calculation device 2A according to the second embodiment of the present disclosure. [Figure 16] 13 is a fifth flowchart for illustrating a travel distance calculation process in a travel distance calculation device 2A according to the second embodiment of the present disclosure. [Figure 17] FIG. 11 is a diagram showing the main sensor, hub sensor, and sub-sensor that output detection information, arranged in chronological order, when the main sensor, hub sensor, and sub-sensor normally detect a person in the second embodiment. [Figure 18] FIG. 11 is a diagram showing the main sensor, hub sensor, and sub-sensor that output detection information in a case where the main sensor erroneously detects a person in the second embodiment, arranged in chronological order. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] (Findings on which this disclosure is based) The above-mentioned conventional technology does not take into consideration erroneous responses of the sensor, and when an erroneous response occurs in the sensor, it is difficult to calculate the distance traveled by a person.
[0013] In addition, the above conventional technology requires multiple sensors for each room indoors, and the installation of multiple sensors is costly. In particular, the conventional technology focuses on capturing human activity in a room by installing multiple sensors in a single space. Therefore, while the conventional technology measures relatively short distances, there is a problem in that it is very costly to install multiple sensors when measuring relatively long distances such as movement between rooms indoors.
[0014] In order to solve the above problems, a travel distance calculation method according to one embodiment of the present disclosure is a travel distance calculation method in a travel distance calculation device that calculates a travel distance of a person in a residence, the travel distance calculation method including: acquiring first detection information indicating that the person has been detected by a first sensor provided in a first space in the residence; second detection information indicating that the person has been detected by a second sensor provided in a second space in the residence different from the first space; and third detection information indicating that the person has been detected by a third sensor provided in a third space in the residence connecting the first space and the second space; and calculating a distance from the person to the first sensor when the person has been detected by the third sensor after being detected by the first sensor or when the person has been detected by the third sensor after being detected by the first sensor based on the first detection information and the third detection information. is detected, add the distance between the first sensor and the third sensor to the moving distance; if, based on the second detection information and the third detection information, the person is detected by the third sensor after being detected by the second sensor or the person is detected by the second sensor after being detected by the third sensor, add the distance between the second sensor and the third sensor to the moving distance; if, based on the first detection information and the second detection information, the person is detected by the second sensor after being detected by the first sensor or the person is detected by the first sensor after being detected by the second sensor, do not add the distance between the first sensor and the second sensor to the moving distance, and output the added moving distance.
[0015] According to this configuration, a person cannot move from the first space to the second space without passing through the third space in the residence that connects the first space and the second space. Therefore, when the third sensor provided in the third space detects a person after the first sensor provided in the first space detects a person, or when the first sensor provided in the first space detects a person after the third sensor provided in the third space detects a person, the distance between the first sensor and the third sensor is added to the moving distance. Also, when the third sensor provided in the third space detects a person after the second sensor provided in the second space detects a person, or when the second sensor provided in the second space detects a person after the third sensor provided in the third space detects a person, the distance between the second sensor and the third sensor is added to the moving distance. Furthermore, if a first sensor provided in a first space detects a person and then a second sensor provided in a second space detects a person, or if a second sensor provided in a second space detects a person and then a first sensor provided in a first space detects a person, the distance between the first sensor and the second sensor is not added to the traveled distance.
[0016] Therefore, for example, if a first sensor installed in a first space detects a person and then a second sensor installed in a second space detects a person, the person does not pass through a third space and the movement line of the person is not correctly captured, so the distance between the first sensor and the second sensor is not added to the movement distance. Therefore, the movement line of the person is taken into consideration and the distance between the sensors is added to the movement distance, so that the movement distance of the person can be calculated even if a sensor generates a false response.
[0017] In addition, by providing one each of the first, second and third sensors in the first, second and third spaces, it is not necessary to provide multiple sensors for each space, and the cost of installing multiple sensors can be reduced. Also, relatively long movements such as movements between spaces in a residence can be captured at low cost.
[0018] Further, in the above-mentioned movement distance calculation method, when the person is detected by the third sensor after being detected by the first sensor, or when the person is detected by the first sensor after being detected by the third sensor, a combination of the installation locations of the first sensor and the third sensor is associated with the distance between the first sensor and the third sensor, and the combination of the installation locations of the second sensor and the third sensor is associated with the distance between the second sensor and the third sensor, and the distance associated with the combination of the installation locations of the first sensor and the third sensor is read from a table that associates the combination of the installation locations of the second sensor and the third sensor with the distance between the second sensor and the third sensor, and added to the movement distance; and when the person is detected by the third sensor after being detected by the second sensor, or when the person is detected by the second sensor after being detected by the third sensor, the distance associated with the combination of the installation locations of the second sensor and the third sensor is read from the table and added to the movement distance.
[0019] According to this configuration, the table associates a combination of the locations where the two sensors are installed with the distance between the two sensors, and therefore, by reading the distance associated with the combination of the locations where the two sensors are installed from the table, the distance traveled by a person can be easily calculated.
[0020] In addition, the table does not need to associate a combination of the installation location of the first sensor and the installation location of the second sensor with the distance between the first sensor and the second sensor. In this case, even if the second sensor detects a person after the first sensor detects a person, the distance is not read from the table because the table does not have a distance associated with the combination of the installation location of the first sensor and the installation location of the second sensor. Therefore, only the distance associated with the table is added to the moving distance, so that the process of adding the distance between the sensors to the moving distance can be reduced.
[0021] In addition, in the above-mentioned movement distance calculation method, fourth detection information indicating that the person has been detected by a fourth sensor provided at a position different from the position where the first sensor is provided in the first space may be acquired, and further, based on the first detection information and the fourth detection information, if the person is detected by the fourth sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the fourth sensor, the distance between the first sensor and the fourth sensor may be added to the movement distance.
[0022] According to this configuration, in addition to the first sensor, a fourth sensor is provided in a position different from the position where the first sensor is provided in the first space, and the distance between the first sensor and the fourth sensor in the first space is added to the movement distance, thereby making it possible to calculate the movement distance of a person more accurately.
[0023] Furthermore, in the above-mentioned movement distance calculation method, if the person is detected by the third sensor and then by the second sensor, the person is detected by the first sensor and then by the second sensor, and the person is detected by the first sensor and then by at least one of the first sensor and the fourth sensor three or more consecutive times, the distance between the third sensor and the second sensor may not be added to the movement distance, but the distance between the third sensor and the first sensor may be added to the movement distance.
[0024] According to this configuration, if a person is detected by the first sensor and then detected three or more times in succession by at least one of the first and fourth sensors, it is estimated that the person is in the first space. Therefore, if the second sensor detects a person after the third sensor detects a person, the first sensor detects a person after the second sensor detects a person, and at least one of the first and fourth sensors detects a person three or more times in succession after the first sensor detects a person, it can be estimated that the second sensor has generated a false response, and that the person has not moved from the third space to the second space, but has moved from the third space to the first space. Therefore, even if a false response occurs in the sensor, the moving distance of the person can be calculated more accurately.
[0025] In addition, in the above-mentioned movement distance calculation method, if the person is detected at the same time by any two of the first sensor, the second sensor, and the third sensor, it is not necessary to calculate the movement distance.
[0026] When multiple people are present in the residence, it is difficult to calculate the distance traveled by only the person whose distance is to be calculated. Therefore, when any two of the first sensor, the second sensor, and the third sensor detect a person at the same time, the calculation of the distance traveled may be stopped. As a result, when a person other than the person whose distance is to be calculated is present in the residence, the distance traveled is not calculated, so that the distance traveled by only the person whose distance is to be calculated can be calculated.
[0027] The present disclosure can be realized not only as a travel distance calculation method that executes the characteristic processing as described above, but also as a travel distance calculation device having a characteristic configuration corresponding to the characteristic method executed by the travel distance calculation method. Also, the present disclosure can be realized as a computer program that causes a computer to execute the characteristic processing included in such a travel distance calculation method. Therefore, the same effect as the above travel distance calculation method can be achieved in the following other aspects as well.
[0028] A travel distance calculation device according to another aspect of the present disclosure is a travel distance calculation device that calculates a travel distance of a person in a residence, the travel distance calculation device including an acquisition unit that acquires first detection information indicating that the person has been detected by a first sensor provided in a first space in the residence, second detection information indicating that the person has been detected by a second sensor provided in a second space in the residence different from the first space, and third detection information indicating that the person has been detected by a third sensor provided in a third space in the residence connecting the first space and the second space, and a second detection unit that acquires, based on the first detection information and the third detection information, detects a person in a space adjacent to the first sensor when the person is detected by the third sensor after being detected by the first sensor or when the person is detected by the first sensor after being detected by the third sensor. a movement distance calculation unit that adds the distance between the second sensor and the third sensor to the movement distance, and adds the distance between the second sensor and the third sensor to the movement distance if the person is detected by the third sensor after the person is detected by the second sensor or the person is detected by the second sensor after the person is detected by the third sensor based on the second detection information and the third detection information, and does not add the distance between the first sensor and the second sensor to the movement distance if the person is detected by the second sensor after the person is detected by the first sensor or the person is detected by the first sensor after the person is detected by the second sensor based on the first detection information and the second detection information, and an output unit that outputs the added movement distance.
[0029] A movement distance calculation program according to another aspect of the present disclosure is a movement distance calculation program for calculating a movement distance of a person in a residence, the movement distance calculation program acquiring first detection information indicating that the person has been detected by a first sensor provided in a first space in the residence, second detection information indicating that the person has been detected by a second sensor provided in a second space in the residence different from the first space, and third detection information indicating that the person has been detected by a third sensor provided in a third space in the residence connecting the first space and the second space, and calculating a movement distance of the person in the first sensor based on the first detection information and the third detection information, when the person is detected by the third sensor after being detected by the first sensor, or when the person is detected by the first sensor after being detected by the third sensor, the movement distance calculation program and, based on the second detection information and the third detection information, if the person is detected by the third sensor after the second sensor or the person is detected by the second sensor after the third sensor, add the distance between the second sensor and the third sensor to the moving distance; and, based on the first detection information and the second detection information, if the person is detected by the second sensor after the first sensor or the person is detected by the first sensor after the second sensor, do not add the distance between the first sensor and the second sensor to the moving distance, and output the added moving distance.
[0030] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. Note that the following embodiments are examples of the present disclosure and do not limit the technical scope of the present disclosure.
[0031] (Embodiment 1) FIG. 1 is a block diagram showing a configuration of a travel distance calculation system according to a first embodiment of the present disclosure.
[0032] The travel distance calculation system shown in FIG. 1 includes a first main sensor M1, a second main sensor M2, a hub sensor H1, and a travel distance calculation device 2.
[0033] The first main sensor M1 is provided in a first space 101 in the residence 100 and detects a person in the first space 101. The first main sensor M1 is, for example, a human presence sensor or a door opening / closing sensor provided at an entrance to the first space 101. The first space 101 is, for example, a room in the residence 100 such as a living room, a dining room, a bedroom, a toilet, or a washroom. When the first main sensor M1 detects a person in the first space 101, it transmits first detection information indicating that a person has been detected to the travel distance calculation device 2. The first detection information includes time information indicating the time when the person was detected.
[0034] The second main sensor M2 is provided in a second space 102 in the residence 100 different from the first space 101, and detects a person in the second space 102. The second main sensor M2 is, for example, a human presence sensor or a door opening / closing sensor provided at an entrance to the second space 102. The second space 102 is, for example, a room in the residence 100, such as a living room, a dining room, a bedroom, a toilet, or a washroom. When the second main sensor M2 detects a person in the second space 102, it transmits second detection information indicating that a person has been detected to the travel distance calculation device 2. The second detection information includes time information indicating the time when the person was detected.
[0035] The hub sensor H1 is provided in a third space 103 in the residence 100 that connects the first space 101 and the second space 102, and detects a person in the third space 103. The hub sensor H1 is, for example, a human presence sensor. The third space 103 is, for example, a corridor, which is a place through which a person passes when moving between the first space 101 and the second space 102. When the hub sensor H1 detects a person in the third space 103, it transmits third detection information indicating that a person has been detected to the travel distance calculation device 2. The third detection information includes time information indicating the time when the person was detected.
[0036] The first main sensor M1 is an example of a first sensor, the second main sensor M2 is an example of a second sensor, and the hub sensor H1 is an example of a third sensor.
[0037] 1 includes a first space 101, a second space 102, and a third space 103, but the present disclosure is not particularly limited thereto and may include four or more spaces. Also, a main sensor or a hub sensor may be installed in each of the four or more spaces. Either the main sensor or the hub sensor is installed in each space.
[0038] Furthermore, multiple hub sensors H1 may be installed in the third space. This is effective when the third space is large and one hub sensor H1 cannot detect people in the third space. Furthermore, the location where the hub sensor H1 is installed is not limited to a hallway, and the hub sensor H1 may be installed in a room where people frequently pass through. Furthermore, the hub sensor H1 may be installed in each of multiple spaces.
[0039] The travel distance calculation device 2 calculates the travel distance of a person in the residence 100. The travel distance calculation device 2 is, for example, a server. The travel distance calculation device 2 is connected to each of the first main sensor M1, the second main sensor M2, and the hub sensor H1 via a network 4 so as to be able to communicate with each other. The network 4 is, for example, the Internet.
[0040] The travel distance calculation device 2 includes a processor 21, a memory 22, and a communication unit .
[0041] The communication unit 23 receives the first detection information transmitted by the first main sensor M1, the second detection information transmitted by the second main sensor M2, and the third detection information transmitted by the hub sensor H1.
[0042] The memory 22 is a storage device capable of storing various information, such as a random access memory (RAM), a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc. The memory 22 includes a detection information storage unit 221, a distance table storage unit 222, and a travel distance storage unit 223.
[0043] The detection information storage unit 221 stores the first detection information transmitted by the first main sensor M1, the second detection information transmitted by the second main sensor M2, and the third detection information transmitted by the hub sensor H1.
[0044] The distance table memory unit 222 stores a distance table that associates a combination of the installation location of the first main sensor M1 and the installation location of the hub sensor H1 with the distance between the first main sensor M1 and the hub sensor H1, and also associates a combination of the installation location of the second main sensor M2 and the installation location of the hub sensor H1 with the distance between the second main sensor M2 and the hub sensor H1.
[0045] The travel distance storage unit 223 stores the travel distance of the resident of the residence 100. The travel distance storage unit 223 may store the travel distance for each residence 100, or may store the travel distance for each resident.
[0046] The processor 21 is, for example, a central processing unit (CPU). The processor 21 realizes a detection information acquisition unit 211, a travel distance calculation unit 212, and a travel distance output unit 213.
[0047] The detection information acquisition unit 211 acquires first detection information indicating that a person has been detected by a first main sensor M1 provided in a first space 101 in the residence 100, second detection information indicating that a person has been detected by a second main sensor M2 provided in a second space 102 in the residence 100 different from the first space 101, and third detection information indicating that a person has been detected by a hub sensor H1 provided in a third space 103 in the residence 100 connecting the first space 101 and the second space 102. The detection information acquisition unit 211 reads out the first detection information, the second detection information, and the third detection information stored in the detection information storage unit 221.
[0048] The travel distance calculation unit 212 arranges the first detection information, the second detection information, and the third detection information output from each sensor in a predetermined period in chronological order. The predetermined period is, for example, one day.
[0049] Based on the first detection information and the third detection information, the travel distance calculation unit 212 adds the distance between the first main sensor M1 and the hub sensor H1 to the travel distance when a person is detected by the first main sensor M1 and then by the hub sensor H1, or when a person is detected by the first main sensor M1 and then by the hub sensor H1.
[0050] In addition, based on the second detection information and the third detection information, when a person is detected by the second main sensor M2 and then by the hub sensor H1, or when a person is detected by the second main sensor M2 and then by the hub sensor H1, the travel distance calculation unit 212 adds the distance between the second main sensor M2 and the hub sensor H1 to the travel distance.
[0051] In addition, based on the first detection information and the second detection information, if a person is detected by the first main sensor M1 and then by the second main sensor M2, or if a person is detected by the first main sensor M1 and then by the second main sensor M2, the travel distance calculation unit 212 does not add the distance between the first main sensor M1 and the second main sensor M2 to the travel distance.
[0052] That is, if a person is detected by the hub sensor H1 after being detected by the first main sensor M1, it is presumed that the person has moved from the first space 101 to the third space 103, and the distance between the first main sensor M1 and the hub sensor H1 is added to the moving distance. On the other hand, if a person is detected by the second main sensor M2 after being detected by the first main sensor M1, it is presumed that the second main sensor M2 has erroneously detected the person because the person has not passed through the third space 103 that he or she should have passed when moving from the first space 101 to the second space 102, and the distance between the first main sensor M1 and the second main sensor M2 is not added to the moving distance.
[0053] When a person is detected by the first main sensor M1 and then by the hub sensor H1, or when a person is detected by the first main sensor M1 and then by the hub sensor H1, the travel distance calculation unit 212 reads out a distance associated with the combination of the installation location of the first main sensor M1 and the installation location of the hub sensor H1 from the distance table stored in the distance table memory unit 222, and adds it to the travel distance.
[0054] When a person is detected by the hub sensor H1 after being detected by the second main sensor M2, or when a person is detected by the second main sensor M2 after being detected by the hub sensor H1, the travel distance calculation unit 212 reads out a distance associated with the combination of the installation location of the second main sensor M2 and the installation location of the hub sensor H1 from the distance table stored in the distance table memory unit 222, and adds it to the travel distance.
[0055] In addition, when a person is detected by the first main sensor M1 after being detected by the first main sensor M1, the movement distance calculation unit 212 does not add the distance between the first main sensor M1 and the first main sensor M1 to the movement distance. This is because, when a person is detected by the first main sensor M1 after being detected by the first main sensor M1, it is estimated that the person has not moved from the first space 101. Similarly, when a person is detected by the second main sensor M2 after being detected by the second main sensor M2, the movement distance calculation unit 212 does not add the distance between the second main sensor M2 and the second main sensor M2 to the movement distance. In addition, when a person is detected by the hub sensor H1 after being detected by the hub sensor H1, the movement distance calculation unit 212 does not add the distance between the hub sensor H1 and the hub sensor H1 to the movement distance.
[0056] The distance table does not associate a combination of the installation location of the first main sensor M1 and the installation location of the second main sensor M2 with a distance between the first main sensor M1 and the second main sensor M2. Therefore, when a person is detected by the first main sensor M1 and then by the second main sensor M2, or when a person is detected by the first main sensor M1 and then by the second main sensor M2, the distance between the first main sensor M1 and the second main sensor M2 is not added to the movement distance because there is no distance associated with the combination of the installation location of the first main sensor M1 and the installation location of the second main sensor M2 in the distance table.
[0057] The distance table may associate a combination of the installation location of the first main sensor M1 and the installation location of the second main sensor M2 with 0 meters. As a result, when a person is detected by the first main sensor M1 and then by the second main sensor M2, or when a person is detected by the first main sensor M1 and then by the second main sensor M2, 0 meters is added to the travel distance, and therefore the distance between the first main sensor M1 and the second main sensor M2 is not added to the travel distance.
[0058] The travel distance output unit 213 outputs the travel distance added by the travel distance calculation unit 212. The travel distance output unit 213 may output the travel distance of the person in the predetermined period to the memory 22 and store the travel distance in the travel distance storage unit 223. The travel distance output unit 213 may also output the travel distance of the person in the predetermined period to the communication unit 23. In this case, the communication unit 23 may transmit the travel distance of the person in the predetermined period to an information terminal (not shown). The information terminal is, for example, a smartphone, a tablet computer, or a personal computer. The information terminal is used, for example, by a resident of the residence 100, a caregiver of the resident of the residence 100, or a care manager of the resident of the residence 100.
[0059] FIG. 2 is a diagram showing an example of a layout of a house in which a main sensor and a hub sensor are installed in the first embodiment.
[0060] 2, the first to eighth main sensors M1 to M8 and the hub sensor H1 are installed in each room in the residence 100. The first to eighth main sensors M1 to M8 are installed in the dining room, living room, bedroom, Western-style room, storeroom, toilet, washroom, and entrance, respectively, and the hub sensor H1 is installed in the hallway. When a person moves from a room where a main sensor is installed to another room where another main sensor is installed, they need to pass through the hallway where the hub sensor H1 is installed.
[0061] FIG. 3 is a diagram showing an example of a distance table stored in distance table storage section 222 in the first embodiment.
[0062] 3, a distance is associated with the combination of the hallway in which the hub sensor H1 is installed and each room in which the first to eighth main sensors M1 to M8 are installed. For example, the combination of the hallway and the dining room is associated with 4 meters, which is the distance between the hub sensor H1 and the first main sensor M1. For example, when a person moves from the dining room to the hallway, 4 meters is added to the movement distance.
[0063] The first detection information may include information indicating the installation location of the first main sensor M1 (dining room), the second detection information may include information indicating the installation location of the second main sensor M2 (living room), and the third detection information may include information indicating the installation location of the hub sensor H1 (hallway), thereby making it possible to identify the installation locations from the detection information.
[0064] The first detection information may include identification information for identifying the first main sensor M1, the second detection information may include identification information for identifying the second main sensor M2, and the third detection information may include identification information for identifying the hub sensor H1. In this case, the memory 22 may store a table that associates the identification information of each sensor with the installation location of each sensor. This makes it possible to identify the installation location from the detection information.
[0065] Fig. 4 is a first flowchart for explaining the travel distance calculation process in the travel distance calculation device 2 according to the first embodiment of the present disclosure, and Fig. 5 is a second flowchart for explaining the travel distance calculation process in the travel distance calculation device 2 according to the first embodiment of the present disclosure. In the following explanation, the main sensor MN is a general term for the first to eighth main sensors M1 to M8.
[0066] First, in step S1, the detection information acquisition unit 211 acquires from the detection information storage unit 221 a plurality of pieces of detection information output by the main sensor MN and the hub sensor H1.
[0067] For example, the travel distance calculation process shown in Fig. 4 and Fig. 5 is performed once a day. The detection information acquisition unit 211 acquires one day's worth of detection information, for example, at midnight. The time at which the detection information is acquired is not limited to midnight. The travel distance calculation process shown in Fig. 4 and Fig. 5 is not limited to once a day, and may be performed multiple times a day, once a week, or at predetermined intervals.
[0068] Next, in step S2, the travel distance calculation unit 212 arranges the multiple pieces of detection information acquired by the detection information acquisition unit 211 in chronological order.
[0069] Next, in step S3, the travel distance calculation unit 212 judges whether or not a person was first detected by the main sensor MN based on the chronologically arranged detection information. If it is judged that a person was not first detected by the main sensor MN, that is, if a person was first detected by the hub sensor H1 (NO in step S3), the process proceeds to step S9.
[0070] On the other hand, if it is determined that a person was first detected by the main sensor MN (YES in step S3), in step S4, the travel distance calculation unit 212 determines, based on the detection information arranged in chronological order, whether a person was detected by the hub sensor H1 after the person was detected by the main sensor MN.
[0071] Here, if it is determined that the hub sensor H1 has not detected a person after the main sensor MN has detected a person, that is, if it is determined that the main sensor MN has detected a person after the main sensor MN has detected a person (NO in step S4), in step S5, the travel distance calculation unit 212 determines whether or not the determination of all acquired detection information has been completed. Here, if it is determined that the determination of all acquired detection information has been completed (YES in step S5), in step S6, the travel distance output unit 213 outputs the travel distance added by the travel distance calculation unit 212. For example, the travel distance output unit 213 outputs the travel distance to the travel distance storage unit 223. The travel distance storage unit 223 stores the travel distance output by the travel distance output unit 213.
[0072] On the other hand, if it is determined that the judgment of all the acquired detection information has not been completed (NO in step S5), the process returns to step S4. In this way, if a person is detected consecutively by the same main sensor MN, it is presumed that the person has not moved from the room in which the main sensor MN is installed, so the distance between the two main sensors is not added to the moving distance. Also, if a person is detected consecutively by different main sensors MN, it is presumed that the subsequent main sensor MN has erroneously detected a person, so the distance between the two main sensors is not added to the moving distance.
[0073] Furthermore, if it is determined that a person has been detected by the hub sensor H1 after being detected by the main sensor MN (YES in step S4), in step S7, the travel distance calculation unit 212 adds the distance between the main sensor MN and the hub sensor H1 to the travel distance. At this time, the travel distance calculation unit 212 reads out a distance associated with the combination of the installation location of the main sensor MN and the installation location of the hub sensor H1 from the distance table stored in the distance table storage unit 222, and adds it to the travel distance.
[0074] Next, in step S8, the moving distance calculation unit 212 judges whether or not the judgment of all the acquired detection information has been completed. If it is judged that the judgment of all the acquired detection information has been completed (YES in step S8), the process proceeds to step S6.
[0075] On the other hand, if it is determined that evaluation of all acquired detection information has not been completed (NO in step S8), in step S9, the travel distance calculation unit 212 determines, based on the detection information arranged in chronological order, whether a person was detected by the main sensor MN after a person was detected by the hub sensor H1.
[0076] When it is determined that the main sensor MN has not detected a person after the hub sensor H1 has detected a person, that is, when it is determined that the hub sensor H1 has detected a person after the hub sensor H1 has detected a person (NO in step S9), in step S10, the travel distance calculation unit 212 determines whether or not the determination of all acquired detection information has been completed. Here, when it is determined that the determination of all acquired detection information has been completed (YES in step S10), in step S11, the travel distance output unit 213 outputs the travel distance added by the travel distance calculation unit 212. For example, the travel distance output unit 213 outputs the travel distance to the travel distance storage unit 223. The travel distance storage unit 223 stores the travel distance output by the travel distance output unit 213.
[0077] On the other hand, if it is determined that evaluation of all acquired detection information has not been completed (NO in step S10), the process returns to step S9. In this way, when a person is continuously detected by the same hub sensor H1, it is presumed that the person has not moved from the room in which the hub sensor H1 is installed, so the distance between the two hub sensors is not added to the movement distance.
[0078] Furthermore, if it is determined that a person has been detected by the main sensor MN after being detected by the hub sensor H1 (YES in step S9), then in step S12, the travel distance calculation unit 212 adds the distance between the hub sensor H1 and the main sensor MN to the travel distance. At this time, the travel distance calculation unit 212 reads out a distance associated with the combination of the installation location of the hub sensor H1 and the installation location of the main sensor MN from the distance table stored in the distance table storage unit 222, and adds it to the travel distance.
[0079] Next, in step S13, the moving distance calculation unit 212 judges whether or not the judgment of all the acquired detection information has been completed. If it is judged that the judgment of all the acquired detection information has been completed (YES in step S13), the process proceeds to step S11.
[0080] On the other hand, if it is determined that the determination of all acquired detection information has not been completed (NO in step S13), the process returns to step S4.
[0081] FIG. 6 is a diagram showing, in chronological order, the main sensors and hub sensors that output detection information when the main sensors and hub sensors normally detect a person in the first embodiment.
[0082] After the first main sensor M1 detects a person at time t1, the hub sensor H1 detects a person at time t2, so the distance between the first main sensor M1 and the hub sensor H1 is added to the travel distance. Also, after the hub sensor H1 detects a person at time t2, the second main sensor M2 detects a person at time t3, so the distance between the hub sensor H1 and the second main sensor M2 is added to the travel distance. Also, after the second main sensor M2 detects a person at time t3, the hub sensor H1 detects a person at time t4, so the distance between the second main sensor M2 and the hub sensor H1 is added to the travel distance.
[0083] In addition, since the hub sensor H1 detects a person at time t4, and then the first main sensor M1 detects a person at time t5, the distance between the hub sensor H1 and the first main sensor M1 is added to the moving distance. In addition, since the first main sensor M1 detects a person at time t5, and then the first main sensor M1 detects a person at time t6, the distance between the first main sensor M1 and the first main sensor M1 is not added to the moving distance. This is because it is estimated that the person has not moved from the first space 101.
[0084] Moreover, since the first main sensor M1 detects a person at time t6, and then the hub sensor H1 detects a person at time t7, the distance between the first main sensor M1 and the hub sensor H1 is added to the travel distance. Moreover, since the hub sensor H1 detects a person at time t7, and then the first main sensor M1 detects a person at time t8, the distance between the hub sensor H1 and the first main sensor M1 is added to the travel distance.
[0085] FIG. 7 is a diagram showing, in chronological order, main sensors and hub sensors that output detection information when a hub sensor does not normally detect a person in the first embodiment.
[0086] 7, the hub sensor H1 does not normally detect a person at time t2, and after the first main sensor M1 detects a person at time t1, the second main sensor M2 detects a person at time t3. In this case, since the person is detected by the first main sensor M1 and then by the second main sensor M2, the distance between the first main sensor M1 and the second main sensor M2 is not added to the travel distance.
[0087] FIG. 8 is a diagram showing, in chronological order, the main sensors and hub sensors that output detection information when the main sensor erroneously detects a person in the first embodiment.
[0088] In FIG. 8, the third main sensor M3 erroneously detects a person at time t3. Therefore, after the hub sensor H1 detects a person at time t2, the third main sensor M3 detects a person at time t3. In this case, the person is detected by the third main sensor M3 after the person is detected by the hub sensor H1, so the distance between the hub sensor H1 and the third main sensor M3 is added to the travel distance. On the other hand, after the third main sensor M3 detects a person at time t3, the second main sensor M2 detects a person at time t4. In this case, the person is detected by the third main sensor M3 and then the second main sensor M2 detects a person, so the distance between the third main sensor M3 and the second main sensor M2 is not added to the travel distance.
[0089] In this way, for example, if the first main sensor M1 provided in the first space 101 detects a person and then the second main sensor M2 provided in the second space 102 detects a person, the person does not pass through the third space 103 and the movement line of the person is not correctly captured, so the distance between the first main sensor M1 and the second main sensor M2 is not added to the movement distance. Therefore, the movement line of the person is taken into consideration and the distance between the sensors is added to the movement distance, so that the movement distance of the person can be calculated even if a sensor generates a false response.
[0090] Furthermore, by providing one first main sensor M1, one second main sensor M2, and one hub sensor H1 in each of the first space 101, the second space 102, and the third space 103, respectively, there is no need to provide multiple sensors for each space, and the cost of installing multiple sensors can be reduced.
[0091] In the first embodiment, if a person is detected by any two of the first main sensor M1, the second main sensor M2, and the hub sensor H1 at the same time, the moving distance calculation unit 212 may not calculate the moving distance. For example, if a caregiver visits the residence of the care recipient while the moving distance calculation device 2 is calculating the moving distance of the resident who is a care recipient, the main sensor and the hub sensor detect not only the care recipient but also the caregiver, and it becomes impossible to calculate the accurate moving distance of the care recipient. Therefore, if a person is detected by any two of the multiple main sensors and the hub sensor at the same time, the moving distance calculation unit 212 may presume that multiple people are in the residence and stop calculating the moving distance. As a result, if a person other than the target person (resident) for whom the moving distance is to be calculated is in the residence, the moving distance is not calculated, so that only the moving distance of the target person can be calculated.
[0092] (Embodiment 2) In the above-described first embodiment, one main sensor or hub sensor is installed in each space in the residence 100. In contrast, in the second embodiment, in addition to the main sensor or hub sensor installed in each space, at least one sub-sensor is installed.
[0093] FIG. 9 is a block diagram showing a configuration of a travel distance calculation system according to the second embodiment of the present disclosure.
[0094] 9 includes a first main sensor M1, a second main sensor M2, a hub sensor H1, sub-sensors SA1 and SB1, and a travel distance calculation device 2A. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof will be omitted.
[0095] The first main sensor M1 is provided at a first position in a first space 101 in the residence 100, and detects a person at the first position in the first space 101. The first position is, for example, an entrance to the first space 101. When the first main sensor M1 detects a person at the first position in the first space 101, it transmits first detection information indicating that a person has been detected to the travel distance calculation device 2A. The first detection information includes time information indicating the time when the person was detected.
[0096] The sub-sensor SA1 is provided at a second position different from the first position where the first main sensor M1 is provided in the first space 101, and detects a person at the second position. The sub-sensor SA1 is, for example, a human presence sensor or a door opening / closing sensor of an electric device provided at the second position in the first space 101. When the sub-sensor SA1 detects a person at the second position in the first space 101, it transmits fourth detection information indicating that a person has been detected to the travel distance calculation device 2A. The fourth detection information includes time information indicating the time when the person was detected.
[0097] The second main sensor M2 is provided at a first position in a second space 102 in the residence 100 that is different from the first space 101, and detects a person at the first position in the second space 102. The first position is, for example, an entrance to the second space 102. When the second main sensor M2 detects a person at the first position in the second space 102, it transmits second detection information indicating that a person has been detected to the travel distance calculation device 2A. The second detection information includes time information indicating the time when the person was detected.
[0098] The sub-sensor SB1 is provided at a second position different from the first position where the second main sensor M2 is provided in the second space 102, and detects a person at the second position. The sub-sensor SB1 is, for example, a human presence sensor or a door opening / closing sensor of an electric device provided at the second position in the second space 102. When the sub-sensor SB1 detects a person at the second position in the second space 102, it transmits fourth detection information indicating that a person has been detected to the travel distance calculation device 2A. The fourth detection information includes time information indicating the time when the person was detected.
[0099] The sub-sensors SA1 and SB1 are an example of a fourth sensor. The number of sub-sensors installed in one space is not limited to one, and multiple sub-sensors may be installed in one space.
[0100] The travel distance calculation device 2A is connected to the first main sensor M1, the second main sensor M2, the hub sensor H1, and the sub-sensors SA1 and SB1 via the network 4 so as to be able to communicate with each other.
[0101] The travel distance calculation device 2A includes a processor 21A, a memory 22A, and a communication unit 23A.
[0102] The communication unit 23A receives the first detection information transmitted by the first main sensor M1, the second detection information transmitted by the second main sensor M2, the third detection information transmitted by the hub sensor H1, and the fourth detection information transmitted by the sub-sensors SA1 and SB1.
[0103] The memory 22A is a storage device capable of storing various types of information, such as a RAM, a HDD, an SSD, a flash memory, etc. The memory 22A includes a detection information storage unit 221A, a distance table storage unit 222A, and a travel distance storage unit 223.
[0104] The detection information memory unit 221A stores the first detection information transmitted by the first main sensor M1, the second detection information transmitted by the second main sensor M2, the third detection information transmitted by the hub sensor H1, and the fourth detection information transmitted by the sub-sensors SA1, SB1.
[0105] The distance table memory unit 222A stores a distance table that associates a combination of the installation location of the first main sensor M1 and the installation location of the hub sensor H1 with the distance between the first main sensor M1 and the hub sensor H1, and also associates a combination of the installation location of the second main sensor M2 and the installation location of the hub sensor H1 with the distance between the second main sensor M2 and the hub sensor H1.
[0106] The distance table also associates a combination of the installation location of the first main sensor M1 and the installation location of the sub-sensor SA1 with the distance between the first main sensor M1 and the sub-sensor SA1. When multiple sub-sensors are installed in the first space 101, the distance table may associate a combination of the installation location of the first main sensor M1 and the installation locations of each sub-sensor with the distance between the first main sensor M1 and each sub-sensor, and may also associate a combination of the installation locations of two sub-sensors with the distance between the two sub-sensors.
[0107] Furthermore, the distance table associates a combination of the installation location of the second main sensor M2 and the installation location of the sub-sensor SB1 with the distance between the second main sensor M2 and the sub-sensor SB1. When multiple sub-sensors are installed in the second space 102, the distance table may associate a combination of the installation location of the second main sensor M2 and the installation location of each sub-sensor with the distance between the second main sensor M2 and each sub-sensor, and may also associate a combination of the installation locations of the two sub-sensors with the distance between the two sub-sensors.
[0108] The processor 21A is, for example, a CPU. A detection information acquisition unit 211A, a travel distance calculation unit 212A, and a travel distance output unit 213 are realized by the processor 21A.
[0109] The detection information acquisition unit 211A acquires first detection information indicating that a person has been detected by the first main sensor M1, second detection information indicating that a person has been detected by the second main sensor M2, and third detection information indicating that a person has been detected by the hub sensor H1 provided in the third space 103. The detection information acquisition unit 211A reads out the first detection information, the second detection information, and the third detection information stored in the detection information storage unit 221A.
[0110] Furthermore, the detection information acquisition unit 211A acquires fourth detection information indicating that a person has been detected by the sub-sensor SA1 provided at a position different from the position where the first main sensor M1 is provided in the first space 101. The detection information acquisition unit 211A reads out the fourth detection information stored in the detection information storage unit 221A.
[0111] The travel distance calculation unit 212A arranges the first detection information, the second detection information, the third detection information, and the fourth detection information output from each sensor in a predetermined period in chronological order. The predetermined period is, for example, one day.
[0112] Based on the first detection information and the third detection information, the travel distance calculation unit 212A adds the distance between the first main sensor M1 and the hub sensor H1 to the travel distance when a person is detected by the first main sensor M1 and then by the hub sensor H1, or when a person is detected by the first main sensor M1 and then by the hub sensor H1.
[0113] In addition, based on the second detection information and the third detection information, when a person is detected by the second main sensor M2 and then by the hub sensor H1, or when a person is detected by the second main sensor M2 and then by the hub sensor H1, the travel distance calculation unit 212A adds the distance between the second main sensor M2 and the hub sensor H1 to the travel distance.
[0114] In addition, based on the first detection information and the second detection information, if a person is detected by the first main sensor M1 and then by the second main sensor M2, or if a person is detected by the first main sensor M1 and then by the second main sensor M2, the travel distance calculation unit 212A does not add the distance between the first main sensor M1 and the second main sensor M2 to the travel distance.
[0115] In addition, based on the first detection information and the fourth detection information, when a person is detected by the first main sensor M1 and then by the sub-sensor SA1 in the first space 101, or when a person is detected by the first main sensor M1 and then by the sub-sensor SA1 in the first space 101, the movement distance calculation unit 212A adds the distance between the first main sensor M1 and the sub-sensor SA1 to the movement distance.
[0116] In addition, based on the second detection information and the fourth detection information, when a person is detected by the sub-sensor SB1 of the second space 102 after a person is detected by the second main sensor M2, or when a person is detected by the sub-sensor SB1 of the second space 102 after a person is detected by the sub-sensor SB1 of the second space 102, the movement distance calculation unit 212A adds the distance between the second main sensor M2 and the sub-sensor SB1 to the movement distance.
[0117] In addition, based on the first detection information and the fourth detection information, if a person is detected by the sub-sensor SB1 of the second space 102 after being detected by the first main sensor M1, or if a person is detected by the first main sensor M1 after being detected by the sub-sensor SB1 of the second space 102, the movement distance calculation unit 212A does not add the distance between the first main sensor M1 and the sub-sensor SB1 to the movement distance.
[0118] In addition, based on the second detection information and the fourth detection information, if a person is detected by the sub-sensor SA1 of the first space 101 after being detected by the second main sensor M2, or if a person is detected by the second main sensor M2 after being detected by the sub-sensor SA1 of the first space 101, the movement distance calculation unit 212A does not add the distance between the second main sensor M2 and the sub-sensor SA1 to the movement distance.
[0119] When a person is detected by the sub-sensor SA1 of the first space 101 after a person is detected by the first main sensor M1, or when a person is detected by the first main sensor M1 after a person is detected by the sub-sensor SA1 of the first space 101, the moving distance calculation unit 212A calculates the moving distance by the distance table storage unit 222. A The distance associated with the combination of the installation location of the first main sensor M1 and the installation location of the sub-sensor SA1 is read from the distance table stored in and added to the movement distance.
[0120] In addition, when a person is detected by the sub-sensor SB1 of the second space 102 after a person is detected by the second main sensor M2, or when a person is detected by the second main sensor M2 after a person is detected by the sub-sensor SB1 of the second space 102, the movement distance calculation unit 212A calculates the distance table storage unit 222 A The distance associated with the combination of the installation location of the second main sensor M2 and the installation location of the sub-sensor SB1 is read from the distance table stored in and added to the movement distance.
[0121] Furthermore, if a person is detected by the hub sensor H1 and then by the second main sensor M2, and if a person is detected by the second main sensor M2 and then by at least one of the first main sensor M1 and the sub-sensor SA1 of the first space 101 three or more consecutive times after a person is detected by the second main sensor M2, the travel distance calculation unit 212A does not add the distance between the hub sensor H1 and the second main sensor M2 to the travel distance, but adds the distance between the hub sensor H1 and the first main sensor M1 to the travel distance.
[0122] That is, when the hub sensor H1, the second main sensor M2, and the first main sensor M1 detect a person in order, the hub sensor H1 does not detect a person after the second main sensor M2, so there is a possibility that either the second main sensor M2 or the first main sensor M1 has detected a person erroneously. Here, when at least one of the first main sensor M1 and the sub-sensor SA1 of the first space 101 detects a person three or more times in succession after the second main sensor M2 detects a person, it can be estimated that the person has not moved from the third space 103 to the second space 102, but has moved from the third space 103 to the first space 101. Therefore, the moving distance calculation unit 212A adds the distance between the hub sensor H1 and the first main sensor M1 to the moving distance, rather than adding the distance between the hub sensor H1 and the second main sensor M2 to the moving distance.
[0123] FIG. 10 is a diagram showing an example of a floor plan of a house in which a main sensor, a hub sensor, and a sub-sensor are installed in the second embodiment.
[0124] As shown in Fig. 10, the first to eighth main sensors M1 to M8 and the hub sensor H1 are installed in each room in the residence 100. The first to eighth main sensors M1 to M8 are installed in the dining room, living room, bedroom, Western-style room, storeroom, toilet, washroom, and entrance, respectively, and the hub sensor H1 is installed in the corridor. In particular, the first main sensor M1 is installed at the entrance to the dining room, and the second main sensor M2 is installed at the entrance to the living room. When a person moves from a room where a main sensor is installed to another room where another main sensor is installed, he or she needs to pass through the corridor where the hub sensor H1 is installed.
[0125] The sub-sensors SA1 to SA4 are installed at positions different from the position where the first main sensor M1 in the dining room is installed. Specifically, the sub-sensor SA1 is a human presence sensor installed near the table and detects a person at the table. The sub-sensor SA2 is an opening / closing sensor installed on the refrigerator door and detects a person who opens and closes the refrigerator door. The sub-sensor SA3 is an opening / closing sensor installed on the microwave door and detects a person who opens and closes the microwave door. The sub-sensor SA4 is a human presence sensor installed near the kitchen and detects a person in the kitchen.
[0126] The sub-sensor SB1 is installed at a position different from the position where the second main sensor M2 in the living room is installed. Specifically, the sub-sensor SB1 is a human sensor installed near the sofa and detects a person sitting on the sofa.
[0127] FIG. 11 is a diagram showing an example of a distance table stored in distance table storage section 222A in the second embodiment.
[0128] 11, a distance is associated with the combination of the hallway in which the hub sensor H1 is installed and each of the rooms in which the first to eighth main sensors M1 to M8 are installed. For example, the combination of the hallway and the dining room is associated with 4 meters, which is the distance between the hub sensor H1 and the first main sensor M1. For example, when a person moves from the dining room to the hallway, 4 meters is added to the movement distance.
[0129] Furthermore, the first main sensor M1 is installed at the entrance of the dining room, and the second main sensor M2 is installed at the entrance of the living room. A distance is associated with each combination of the location where the first main sensor M1 is installed (the entrance of the dining room) and each location where the sub-sensors SA1 to SA4 are installed (the table, the refrigerator, the microwave, or the kitchen). For example, the combination of the entrance of the dining room and the table is associated with 6 meters, which is the distance between the first main sensor M1 and the sub-sensor SA1. For example, when a person moves from the entrance of the dining room to the table, 6 meters is added to the movement distance.
[0130] Distances are also associated with combinations of two sub-sensors. For example, a combination of a table and a refrigerator is associated with 2 meters, which is the distance between sub-sensor SA1 and sub-sensor SA2. For example, if a person moves from the dining room table to the refrigerator, 2 meters is added to the movement distance.
[0131] The first detection information may include information indicating the installation location of the first main sensor M1 (dining room), the second detection information may include information indicating the installation location of the second main sensor M2 (living room), the third detection information may include information indicating the installation location of the hub sensor H1 (hallway), and the fourth detection information may include information indicating the installation locations of the sub-sensors SA1 to SA4. This makes it possible to identify the installation locations from the detection information.
[0132] The first detection information may include identification information for identifying the first main sensor M1, the second detection information may include identification information for identifying the second main sensor M2, the third detection information may include identification information for identifying the hub sensor H1, and the fourth detection information may include identification information for identifying the sub-sensors SA1 to SA4. In this case, the memory 22 may store a table in which the identification information of each sensor corresponds to the installation location of each sensor. This makes it possible to identify the installation location from the detection information.
[0133] Fig. 12 is a first flowchart for explaining the movement distance calculation process in the movement distance calculation device 2A according to the second embodiment of the present disclosure, Fig. 13 is a second flowchart for explaining the movement distance calculation process in the movement distance calculation device 2A according to the second embodiment of the present disclosure, Fig. 14 is a third flowchart for explaining the movement distance calculation process in the movement distance calculation device 2A according to the second embodiment of the present disclosure, Fig. 15 is a fourth flowchart for explaining the movement distance calculation process in the movement distance calculation device 2A according to the second embodiment of the present disclosure, and Fig. 16 is a fifth flowchart for explaining the movement distance calculation process in the movement distance calculation device 2A according to the second embodiment of the present disclosure. In the following description, the main sensor MN is a general term for the first to eighth main sensors M1 to M8, and the sub-sensor SN is a general term for the sub-sensors SA1 to SA4, SB1.
[0134] The processing in steps S21 and S22 is the same as the processing in steps S1 and S2 shown in FIG. 4, and therefore a description thereof will be omitted.
[0135] Next, in step S23, the travel distance calculation unit 212A judges whether or not a person is first detected by the main sensor MN. If it is judged that a person is not first detected by the main sensor MN, that is, if a person is first detected by the hub sensor H1 or the sub-sensor SN (NO in step S23), in step S27, the travel distance calculation unit 212A judges whether or not a person is first detected by the hub sensor H1.
[0136] If it is determined that a person is detected by the hub sensor H1 for the first time (YES in step S27), the process proceeds to step S28. If it is determined that a person is not detected by the hub sensor H1 for the first time, that is, if a person is detected by the sub-sensor SN for the first time (NO in step S27), the process proceeds to step S41.
[0137] On the other hand, if it is determined that a person was detected first by the main sensor MN (YES in step S23), in step S24, the movement distance calculation unit 212A determines whether or not a person was detected by the hub sensor H1 after the person was detected by the main sensor MN, based on the detection information arranged in chronological order. Here, if it is determined that a person was not detected by the hub sensor H1 after the person was detected by the main sensor MN, that is, if it is determined that a person was detected by the main sensor MN or the sub-sensor SN after the person was detected by the main sensor MN (NO in step S24), the process proceeds to step S37.
[0138] On the other hand, if it is determined that a person has been detected by the hub sensor H1 after being detected by the main sensor MN (YES in step S24), in step S25, the travel distance calculation unit 212A adds the distance between the main sensor MN and the hub sensor H1 to the travel distance. At this time, the travel distance calculation unit 212A reads out a distance associated with the combination of the installation location of the main sensor MN and the installation location of the hub sensor H1 from the distance table stored in the distance table storage unit 222A, and adds it to the travel distance.
[0139] Next, in step S26, the travel distance calculation unit 212A judges whether or not the judgment of all the acquired detection information has been completed. If it is judged that the judgment of all the acquired detection information has been completed (YES in step S26), in step S51, the travel distance output unit 213 outputs the travel distance added by the travel distance calculation unit 212. For example, the travel distance output unit 213 outputs the travel distance to the travel distance storage unit 223. The travel distance storage unit 223 stores the travel distance output by the travel distance output unit 213.
[0140] If it is determined that the determination of all acquired detection information has not been completed (NO in step S26), or if it is determined that a person was detected first by the hub sensor H1 (YES in step S27), in step S28, the travel distance calculation unit 212A determines whether or not a person was detected by the main sensor MN after the person was detected by the hub sensor H1, based on the detection information arranged in chronological order. Here, if it is determined that a person was not detected by the main sensor MN after the person was detected by the hub sensor H1, that is, if a person was detected by the hub sensor H1 or the sub-sensor SN after the person was detected by the hub sensor H1 (NO in step S28), in step S29, the travel distance calculation unit 212A determines whether or not a person was detected by the sub-sensor SN after the person was detected by the hub sensor H1, based on the detection information arranged in chronological order.
[0141] If it is determined that the sub-sensor SN has not detected a person after the hub sensor H1 has detected a person, i.e., if the hub sensor H1 detects a person after the hub sensor H1 detects a person (NO in step S29), in step S30, the movement distance calculation unit 212A determines whether or not the determination of all acquired detection information has been completed. If it is determined that the determination of all acquired detection information has not been completed (NO in step S30), the process returns to step S28. In this way, if a person is detected consecutively by the same hub sensor H1, it is estimated that the person has not moved from the room in which the hub sensor H1 is installed, and therefore the distance between the two hub sensors is not added to the movement distance.
[0142] On the other hand, if it is determined that the determination of all the acquired detection information has been completed (YES in step S30), the process proceeds to step S51.
[0143] If it is determined that a person is detected by the sub-sensor SN after the hub sensor H1 detects a person (YES in step S29), the moving distance calculation unit 212A determines in step S31 whether or not the determination of all acquired detection information has been completed. If it is determined that the determination of all acquired detection information has been completed (YES in step S31), the process proceeds to step S51.
[0144] On the other hand, if it is determined that the determination of all the acquired detection information has not been completed (NO in step S31), the process proceeds to step S41.
[0145] Furthermore, if it is determined that a person has been detected by the main sensor MN after being detected by the hub sensor H1 (YES in step S28), in step S32, the travel distance calculation unit 212A determines, based on the detection information arranged in chronological order, whether or not a person has been detected by another main sensor MN after being detected by the main sensor MN. In other words, if a person is detected by the main sensor MN after being detected by the hub sensor H1, the distance between the hub sensor H1 and the main sensor MN is not added to the travel distance, but rather it is determined whether or not a person has been detected by another main sensor MN after being detected by the main sensor MN.
[0146] Here, if it is determined that a person has not been detected by other main sensors MN after the main sensor MN has detected a person (NO in step S32), in step S35, the travel distance calculation unit 212A adds the distance between the hub sensor H1 and the main sensor MN to the travel distance. At this time, the travel distance calculation unit 212A reads out a distance associated with the combination of the installation location of the hub sensor H1 and the installation location of the main sensor MN from the distance table stored in the distance table storage unit 222A, and adds it to the travel distance.
[0147] Next, in step S36, the moving distance calculation unit 212A judges whether or not the judgment of all the acquired detection information has been completed. If it is judged that the judgment of all the acquired detection information has been completed (YES in step S36), the process proceeds to step S51.
[0148] On the other hand, if it is determined that the determination of all acquired detection information has not been completed (NO in step S36), the process returns to step S24.
[0149] Furthermore, if it is determined that a person has been detected by another main sensor MN after the main sensor MN has detected a person (YES in step S32), in step S33, the movement distance calculation unit 212A determines whether or not a person has been detected three or more times in succession by the other main sensor MN or a sub-sensor SN in the same space as the other main sensor MN, based on the detection information arranged in chronological order. Here, if it is determined that a person has not been detected three or more times in succession by the other main sensor MN or a sub-sensor SN in the same space as the other main sensor MN (NO in step S33), the process proceeds to step S35.
[0150] On the other hand, if it is determined that a person has been detected three or more times in succession by another main sensor MN or a sub-sensor SN in the same space as the other main sensor MN (YES in step S33), in step S34, the travel distance calculation unit 212A adds the distance between the hub sensor H1 and the other main sensor MN to the travel distance. At this time, the travel distance calculation unit 212A reads out a distance associated with a combination of the installation location of the hub sensor H1 and the installation location of the other main sensor MN from the distance table stored in the distance table storage unit 222A, and adds it to the travel distance. In this case, the travel distance calculation unit 212A adds the distance between the other main sensor MN that detected a person next to the main sensor MN and the hub sensor H1 to the travel distance, rather than the distance between the main sensor MN that detected a person next to the hub sensor H1 and the hub sensor H1.
[0151] If a person is detected three consecutive times by the same other main sensor MN in step S33, the travel distance calculation unit 212A may add the distance between the hub sensor H1 and the other main sensor MN to the travel distance. Also, if a person is detected two consecutive times by the same sub-sensor SN in the same space as the other main sensor MN after the person is detected by the other main sensor MN in step S33, the travel distance calculation unit 212A may add the distance between the hub sensor H1 and the other main sensor MN to the travel distance.
[0152] Next, in step S37, the moving distance calculation unit 212A judges whether or not a person is detected by the sub-sensor SN in the same space after a person is detected by the main sensor MN based on the detection information arranged in chronological order. Here, if it is judged that a person is not detected by the sub-sensor SN in the same space after a person is detected by the main sensor MN, that is, if a person is detected by the main sensor MN or a sub-sensor SN in another space after a person is detected by the main sensor MN (NO in step S37), in step S38, the moving distance calculation unit 212A judges whether or not a person is detected by the sub-sensor SN in another space after a person is detected by the main sensor MN based on the detection information arranged in chronological order. If it is judged that a person is detected by the sub-sensor SN in another space after a person is detected by the main sensor MN (YES in step S38), the process proceeds to step S40.
[0153] On the other hand, if it is determined that a person is not detected by a sub-sensor SN in another space after a person is detected by the main sensor MN, i.e., if a person is detected by the main sensor MN after a person is detected by the main sensor MN (NO in step S38), processing proceeds to step S43.
[0154] Furthermore, if it is determined that a person is detected by the sub-sensor SN in the same space after the main sensor MN detects a person (YES in step S37), in step S39, the travel distance calculation unit 212A adds the distance between the main sensor MN and the sub-sensor SN to the travel distance. At this time, the travel distance calculation unit 212A reads out a distance associated with the combination of the installation location of the main sensor MN and the installation location of the sub-sensor SN from the distance table stored in the distance table storage unit 222A, and adds it to the travel distance.
[0155] Next, in step S40, the moving distance calculation unit 212A judges whether or not the judgment of all the acquired detection information has been completed. If it is judged that the judgment of all the acquired detection information has been completed (YES in step S40), the process proceeds to step S51.
[0156] On the other hand, if it is determined that the judgment of all the acquired detection information has not been completed (NO in step S40), in step S41, the moving distance calculation unit 212A judges whether or not a person is detected by the main sensor MN in the same space after a person is detected by the sub-sensor SN based on the detection information arranged in chronological order. Here, if it is determined that a person is detected by the main sensor MN in the same space after a person is detected by the sub-sensor SN (YES in step S41), in step S42, the moving distance calculation unit 212A adds the distance between the sub-sensor SN and the main sensor MN to the moving distance. At this time, the moving distance calculation unit 212A reads out the distance associated with the combination of the installation location of the sub-sensor SN and the installation location of the main sensor MN from the distance table stored in the distance table storage unit 222A, and adds it to the moving distance.
[0157] Next, in step S43, the moving distance calculation unit 212A judges whether or not the judgment of all the acquired detection information has been completed. If it is judged that the judgment of all the acquired detection information has been completed (YES in step S43), the process proceeds to step S51.
[0158] On the other hand, if it is determined that the determination of all acquired detection information has not been completed (NO in step S43), the process returns to step S24.
[0159] Also, when it is determined that a person is not detected by the main sensor MN in the same space after a person is detected by the sub-sensor SN, that is, when a person is detected by the main sensor MN in another space, another sub-sensor SN in the same space, a sub-sensor SN in another space, or the hub sensor H1 after a person is detected by the sub-sensor SN (NO in step S41), in step S44, the moving distance calculation unit 212A judges whether or not a person is detected by another sub-sensor SN in the same space after a person is detected by the sub-sensor SN based on the detection information arranged in chronological order. Here, when it is determined that a person is detected by another sub-sensor SN in the same space after a person is detected by the sub-sensor SN (YES in step S44), in step S45, the moving distance calculation unit 212A adds the distance between the sub-sensor SN and the other sub-sensor SN to the moving distance. At this time, the moving distance calculation unit 212A reads out the distance associated with the combination of the installation location of the sub-sensor SN and the installation location of the other sub-sensor SN from the distance table stored in the distance table storage unit 222A, and adds it to the moving distance.
[0160] Next, in step S46, the moving distance calculation unit 212A judges whether or not the judgment of all the acquired detection information has been completed. If it is judged that the judgment of all the acquired detection information has been completed (YES in step S46), the process proceeds to step S51.
[0161] On the other hand, if it is determined that the determination of all acquired detection information has not been completed (NO in step S46), the process returns to step S41.
[0162] Furthermore, if it is determined that a person has not been detected by another sub-sensor SN in the same space after a person has been detected by a sub-sensor SN, i.e., if a person has been detected by the same sub-sensor SN in the same space, a main sensor MN in another space, a sub-sensor SN in another space, or a hub sensor H1 (NO in step S44), in step S47, the movement distance calculation unit 212A determines whether or not a person has been detected by the same sub-sensor SN in the same space after a person has been detected by a sub-sensor SN, based on the detection information arranged in chronological order. Here, if it is determined that a person has been detected by the same sub-sensor SN in the same space after a person has been detected by a sub-sensor SN (NO in step S 47 In other words, if a person is continuously detected by the same sub-sensor SN, it is estimated that the person is not moving, so the distance is not added and the process returns to step S41.
[0163] On the other hand, if it is determined that a person is not detected by the same sub-sensor SN in the same space after a person is detected by the sub-sensor SN, that is, if a person is detected by the main sensor MN in another space, a sub-sensor SN in another space, or the hub sensor H1 (step S 47 If NO in step S48, the movement distance calculation unit 212A determines whether or not a person was detected by the hub sensor H1 after a person was detected by the sub-sensor SN, based on the detection information arranged in chronological order. If it is determined that a person was detected by the hub sensor H1 after a person was detected by the sub-sensor SN (YES in step S48), the process returns to step S28.
[0164] On the other hand, if it is determined that a person is not detected by the hub sensor H1 after the sub-sensor SN detects a person, i.e., if a person is detected by the main sensor MN in another space or a sub-sensor SN in another space after the sub-sensor SN detects a person (NO in step S48), in step S49, the movement distance calculation unit 212A determines whether or not a person is detected by the sub-sensor SN in another space after the person is detected by the sub-sensor SN, based on the detection information arranged in chronological order. Here, if it is determined that a person is not detected by the sub-sensor SN in another space after the person is detected by the sub-sensor SN, i.e., if a person is detected by the main sensor MN in another space after the person is detected by the sub-sensor SN (NO in step S49), the process returns to step S24.
[0165] Also, if it is determined that a person is detected by a sub-sensor SN in another space after the person is detected by the sub-sensor SN (YES in step S49), it is determined in step S50 whether or not the determination of all acquired detection information has been completed. If it is determined that the determination of all acquired detection information has been completed (YES in step S50), the process proceeds to step S51.
[0166] On the other hand, if it is determined that the determination of all acquired detection information has not been completed (NO in step S50), the process returns to step S41.
[0167] FIG. 17 is a diagram showing the main sensor, hub sensor, and sub-sensor that output detection information, arranged in chronological order, when the main sensor, hub sensor, and sub-sensor normally detect a person in the second embodiment.
[0168] First, the first main sensor M1 detects a person at time t1, and then the hub sensor H1 detects a person at time t2, so the distance between the first main sensor M1 and the hub sensor H1 is added to the travel distance. Also, after the hub sensor H1 detects a person at time t2, the second main sensor M2 detects a person at time t3, so the distance between the hub sensor H1 and the second main sensor M2 is added to the travel distance. Also, after the second main sensor M2 detects a person at time t3, the sub-sensor SB1 installed in the same space as the second main sensor M2 detects a person at time t4, so the distance between the second main sensor M2 and the sub-sensor SB1 is added to the travel distance.
[0169] In addition, since the sub-sensor SB1 detects a person at time t4, and then the second main sensor M2 detects a person at time t5, the distance between the sub-sensor SB1 and the second main sensor M2 is added to the travel distance. In addition, since the hub sensor H1 detects a person at time t6, and then the second main sensor M2 detects a person at time t5, the distance between the second main sensor M2 and the hub sensor H1 is added to the travel distance.
[0170] In addition, since the hub sensor H1 detects a person at time t6, and then the first main sensor M1 detects a person at time t7, the distance between the hub sensor H1 and the first main sensor M1 is added to the moving distance. In addition, since the first main sensor M1 detects a person at time t7, and then the first main sensor M1 detects a person at time t8, the distance between the first main sensor M1 and the first main sensor M1 is not added to the moving distance. This is because it is estimated that the person has not moved from the first space 101.
[0171] Moreover, since the first main sensor M1 detects a person at time t8, and then the hub sensor H1 detects a person at time t9, the distance between the first main sensor M1 and the hub sensor H1 is added to the travel distance. Moreover, since the hub sensor H1 detects a person at time t9, and then the first main sensor M1 detects a person at time t10, the distance between the hub sensor H1 and the first main sensor M1 is added to the travel distance.
[0172] FIG. 18 is a diagram showing, in chronological order, the main sensors, hub sensors, and sub-sensors that output detection information when the main sensor erroneously detects a person in the second embodiment.
[0173] First, the first main sensor M1 detects a person at time t1, and then the hub sensor H1 detects a person at time t2, so the distance between the first main sensor M1 and the hub sensor H1 is added to the travel distance. Also, after the hub sensor H1 detects a person at time t2, the first main sensor M1 detects a person at time t3, but since it is not known whether the first main sensor M1 detected the person correctly, the distance between the hub sensor H1 and the first main sensor M1 is not added to the travel distance at this point.
[0174] Next, after the first main sensor M1 detects a person at time t3, the second main sensor M2 detects a person at time t4, the sub-sensor SB1 installed in the same space as the second main sensor M2 detects a person at time t5, and the second main sensor M2 detects a person at time t6. That is, after the first main sensor M1 detects a person, the second main sensor M2, the sub-sensor SB1 in the second space 102, and the second main sensor M2 successively detect a person, so it can be estimated that the person did not move from the third space 103 to the first space 101, but moved from the third space 103 to the second space 102. In this way, since at least one of the second main sensor M2 and the sub-sensor SB1 in the second space 102 detects a person three or more times in succession after the first main sensor M1 detects a person, the distance between the hub sensor H1 and the second main sensor M2 is added to the movement distance, not the distance between the hub sensor H1 and the first main sensor M1. Therefore, even if a sensor produces a false reaction, the movement distance of the person can be calculated more accurately.
[0175] In addition, when a person is detected by the first main sensor M1 installed in the first space 101 and then detected by the sub-sensors installed in the second space 102 at least three consecutive times, the movement distance calculation unit 212A may determine that the person is in the second space 102 and add the distance between the hub sensor H1 and the second main sensor M2 installed in the second space 102 to the movement distance. In addition, the sub-sensors that have detected a person at least three consecutive times may include the same sub-sensor or may include different sub-sensors.
[0176] In each of the above embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory. In addition, the program may be executed by another independent computer system by recording the program on a recording medium and transferring the program, or by transferring the program via a network.
[0177] A part or all of the functions of the device according to the embodiment of the present disclosure are typically realized as an LSI (Large Scale Integration), which is an integrated circuit. These may be individually integrated into one chip, or may be integrated into one chip that includes some or all of the functions. The integrated circuit is not limited to an LSI, and may be realized by a dedicated circuit or a general-purpose processor. An FPGA (Field Programmable Gate Array) that can be programmed after the LSI is manufactured, or a reconfigurable processor that can reconfigure the connections and settings of circuit cells inside the LSI, may be used.
[0178] Furthermore, some or all of the functions of the device according to the embodiment of the present disclosure may be realized by a processor such as a CPU executing a program.
[0179] Furthermore, all the numbers used above are merely examples for the purpose of specifically explaining the present disclosure, and the present disclosure is not limited to the numbers exemplified.
[0180] In addition, the order in which each step is performed shown in the above flowchart is merely an example for specifically explaining the present disclosure, and an order other than the above may be used as long as the same effect is obtained. In addition, some of the steps may be performed simultaneously (in parallel) with other steps. [Industrial Applicability]
[0181] The technology disclosed herein is useful as a technology for calculating the distance traveled by a person within a residence, since it can calculate the distance traveled by a person even if a false reaction occurs in the sensor.
Claims
1. A movement distance calculation method for a movement distance calculation device that calculates the movement distance of a person in a residence, comprising: obtain first detection information indicating that the person has been detected by a first sensor provided in a first space in the residence, second detection information indicating that the person has been detected by a second sensor provided in a second space in the residence different from the first space, third detection information indicating that the person has been detected by a third sensor provided in a third space in the residence connecting the first space and the second space, and fourth detection information indicating that the person has been detected by a fourth sensor provided at a position in the first space different from the position at which the first sensor is provided; based on the first detection information and the third detection information, if the person is detected by the third sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the third sensor, a distance between the first sensor and the third sensor is added to the moving distance; based on the second detection information and the third detection information, if the person is detected by the third sensor after being detected by the second sensor, or if the person is detected by the second sensor after being detected by the third sensor, a distance between the second sensor and the third sensor is added to the moving distance; based on the first detection information and the second detection information, if the person is detected by the second sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the second sensor in the case where, based on the first detection information and the fourth detection information, if the person is detected by the fourth sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the fourth sensor, the distance between the first sensor and the fourth sensor is added to the movement distance; in the case where the person is detected by the second sensor after being detected by the third sensor, the person is detected by the first sensor after being detected by the second sensor, and the person is detected by at least one of the first sensor and the fourth sensor three or more times consecutively after being detected by the first sensor, the distance between the third sensor and the second sensor is not added to the movement distance, and the distance between the third sensor and the first sensor is added to the movement distance; outputting the added movement distance; How to calculate travel distance.
2. when the person is detected by the third sensor after the first sensor has detected the person, or when the person is detected by the first sensor after the third sensor has detected the person, a combination of the installation locations of the first sensor and the third sensor is associated with a distance between the first sensor and the third sensor, and the distance associated with the combination of the installation locations of the first sensor and the third sensor is read from a table in which the combination of the installation locations of the second sensor and the third sensor is associated with the distance between the second sensor and the third sensor, and the distance associated with the combination of the installation locations of the first sensor and the third sensor is added to the movement distance; when the person is detected by the third sensor after the second sensor has detected the person, or when the person is detected by the second sensor after the third sensor has detected the person, reads out the distance associated with a combination of the installation location of the second sensor and the installation location of the third sensor from the table, and adds the distance to the movement distance. The travel distance calculation method according to claim 1 .
3. Furthermore, when the person is detected at the same time by any two of the first sensor, the second sensor, and the third sensor, the moving distance is not calculated. The travel distance calculation method according to claim 1 or 2.
4. A movement distance calculation device for calculating a movement distance of a person in a residence, an acquisition unit that acquires first detection information indicating that the person has been detected by a first sensor provided in a first space in the residence, second detection information indicating that the person has been detected by a second sensor provided in a second space in the residence different from the first space, third detection information indicating that the person has been detected by a third sensor provided in a third space in the residence connecting the first space and the second space, and fourth detection information indicating that the person has been detected by a fourth sensor provided at a position in the first space different from the position at which the first sensor is provided; If, based on the first detection information and the third detection information, the person is detected by the third sensor after being detected by the first sensor, or the person is detected by the first sensor after being detected by the third sensor, a distance between the first sensor and the third sensor is added to the moving distance; if, based on the second detection information and the third detection information, the person is detected by the third sensor after being detected by the second sensor, or the person is detected by the second sensor after being detected by the third sensor, a distance between the second sensor and the third sensor is added to the moving distance; if, based on the first detection information and the second detection information, the person is detected by the second sensor after being detected by the first sensor, or the person is detected by the first sensor after being detected by the second sensor, a distance between the second sensor and the third sensor is added to the moving distance; a movement distance calculation unit that does not add a distance between the first sensor and the second sensor to the movement distance, and adds a distance between the first sensor and the fourth sensor to the movement distance when the person is detected by the fourth sensor after being detected by the first sensor, or when the person is detected by the first sensor after being detected by the fourth sensor, based on the first detection information and the fourth detection information, and does not add a distance between the third sensor and the second sensor to the movement distance, and adds a distance between the third sensor and the first sensor to the movement distance when the person is detected by the second sensor after being detected by the third sensor, the person is detected by the first sensor after being detected by the second sensor, and the person is detected three or more times consecutively by at least one of the first sensor and the fourth sensor after being detected by the first sensor; an output unit that outputs the added moving distance; A travel distance calculation device comprising:
5. A movement distance calculation program for calculating a movement distance of a person in a residence, obtain first detection information indicating that the person has been detected by a first sensor provided in a first space in the residence, second detection information indicating that the person has been detected by a second sensor provided in a second space in the residence different from the first space, third detection information indicating that the person has been detected by a third sensor provided in a third space in the residence connecting the first space and the second space, and fourth detection information indicating that the person has been detected by a fourth sensor provided at a position in the first space different from the position at which the first sensor is provided; based on the first detection information and the third detection information, if the person is detected by the third sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the third sensor, a distance between the first sensor and the third sensor is added to the moving distance; based on the second detection information and the third detection information, if the person is detected by the third sensor after being detected by the second sensor, or if the person is detected by the second sensor after being detected by the third sensor, a distance between the second sensor and the third sensor is added to the moving distance; based on the first detection information and the second detection information, if the person is detected by the second sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the second sensor in the case where, based on the first detection information and the fourth detection information, if the person is detected by the fourth sensor after being detected by the first sensor, or if the person is detected by the first sensor after being detected by the fourth sensor, the distance between the first sensor and the fourth sensor is added to the movement distance; in the case where the person is detected by the second sensor after being detected by the third sensor, the person is detected by the first sensor after being detected by the second sensor, and the person is detected by at least one of the first sensor and the fourth sensor three or more times consecutively after being detected by the first sensor, the distance between the third sensor and the second sensor is not added to the movement distance, and the distance between the third sensor and the first sensor is added to the movement distance; and causing the computer to function to output the added movement distance. Travel distance calculation program.
Citation Information
Patent Citations
Home type automatic exercise volume calculating system
JP2008099843A
Protection object management system with binary parameters
JP2017164462A
Method of distinguishing the presence of a single versus multiple persons
US20040183667A1
