WO2020158837A1 - Present number of people measuring system, portable device, and program - Google Patents

Present number of people measuring system, portable device, and program Download PDF

Info

Publication number
WO2020158837A1
WO2020158837A1 PCT/JP2020/003302 JP2020003302W WO2020158837A1 WO 2020158837 A1 WO2020158837 A1 WO 2020158837A1 JP 2020003302 W JP2020003302 W JP 2020003302W WO 2020158837 A1 WO2020158837 A1 WO 2020158837A1
Authority
WO
WIPO (PCT)
Prior art keywords
response
request
unit
representative
remote controller
Prior art date
Application number
PCT/JP2020/003302
Other languages
French (fr)
Japanese (ja)
Inventor
大樹 小林
篤 岡里
啓太 齊藤
朋興 浮穴
智祐 成井
裕希 川野
利宏 妻鹿
修一 村山
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2020003009A external-priority patent/JP7030859B2/en
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Publication of WO2020158837A1 publication Critical patent/WO2020158837A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Definitions

  • the present invention relates to grasping the number of people who are present in a space in which an occupancy measurement system, portable devices and programs, in particular, air conditioners are installed.
  • the heat generated from the person in the room or equipment used by the person in the room when the power is turned on, such as a PC or an OA device, may be a cause of fluctuations in the indoor thermal environment.
  • the number of people in the room has a great influence on the indoor comfort.
  • a technique has been proposed in which air conditioning is controlled according to the number of people in the room (for example, Patent Documents 1 and 2).
  • a remote control for operating an air conditioner is usually installed in each room of an office. Employees usually carry mobile devices such as smartphones. Alternatively, it is possible to provide a mobile device to carry. Therefore, it is conceivable that the remote controller is equipped with a short-range wireless communication function and the remote controller communicates with a portable device carried by a person in the room to grasp the number of people in the room.
  • the remote controller is generally installed near a wall near the entrance of a room. For this reason, the entire room does not always fall within the communicable range of the remote controller. That is, the remote controller may not be able to communicate with the mobile device carried by all the people in the room.
  • the purpose of the present invention is to make it possible to accurately grasp the number of people present in the space even if the entire space does not fall within the communicable range of the remote controller.
  • the presence measuring system is installed in a space in which an air conditioner is installed, and has a remote control of the air conditioner having a short-distance wireless communication function, and is carried by each user located in the space to perform short-distance wireless communication.
  • a portable device having a function, and the remote controller is a device for collecting request number transmitting means for transmitting a device number collection delegation request, and a device number information returned from the portable device in response to the device number collection delegation request.
  • the portable device receives a unit number collection delegation request sent from the remote controller, the portable device operates as a representative device to send a response request and collects the number of units information.
  • Representative device function processing means for returning device number information including device identification information of its own device in response to the delegation request and device identification information returned from the other portable device in response to the response request, and transmission from the remote controller
  • the self device In response to the response request transmitted from the other mobile device that operates as the representative device without receiving the requested number collection delegation request, the self device operates as a non-representative device in response to the response request.
  • the representative device function processing means collects a response request transmission unit that transmits a response request in response to the number-of-units collection delegation request, and device identification information returned from another portable device in response to the response request.
  • Device identification information collection unit, and device number information that generates and returns device number information including the device identification information of its own device and the device identification information collected by the device identification information collection unit in response to the number collection delegation request And a reply section.
  • the representative device function processing means when the maximum number of relays is set in the number collection commission request, a route setting processing unit for transmitting a route setting request, and a predetermined time after receiving the unit collection commission request.
  • a response request transmission unit for transmitting a response request after a lapse of time
  • a device identification information collection unit for collecting device identification information returned from the other portable device in response to the response request transmitted by the response request transmission unit
  • a device number information reply unit for generating and returning device number information including the device identification information of the own device and the device identification information collected by the device identification information collecting unit in response to the number collection commission request.
  • the non-representative device function processing means When the non-representative device function processing means receives a route setting request from another portable device, the non-representative device function processing means identifies the source of the received route setting request as a response destination to the response request, and the own device is the maximum from the representative device. If the position of the number of relays has not been reached, the own device is moved from the representative device to the position of the maximum number of relays in response to the route setting request handling processing unit that issues a route setting request and the response request received from the other portable device. If not, it sends a response request and returns the device identification information of its own device and the device identification information returned from the other portable device in response to the sent response request, and the own device relays the maximum from the representative device. If the number of positions is reached, a response request handling processing unit that returns the device identification information of its own device.
  • the route setting request handling processing unit identifies the transmission source of the route setting request having a large number of relays from the representative device as a response destination to the response request.
  • the remote controllers when a plurality of the remote controllers are provided in the air conditioner, it has a providing means for providing a common identification code to each of the remote controllers.
  • a portable device is a portable device carried by a user located in a space where an air conditioner and a remote controller of the air conditioner having a short-range wireless communication function are installed, and the number of devices collected from the remote controller is delegated.
  • a request is received, a response request is transmitted by operating the device itself as a representative device, and the device identification information of the device itself according to the number collection delegation request and another portable device according to the response request.
  • Representative device function processing means for returning the number-of-devices information including the returned device identification information, and transmission from the other portable device that operates as the representative device without receiving the number-collection delegation request transmitted from the remote controller
  • a non-representative device function processing means for returning the device identification information of the self device in response to the response request by operating the self device as a non-representative device.
  • the program according to the present invention is transmitted from the remote controller to a computer installed in a portable device carried by a user located in a space where a remote controller of the air conditioner and a remote controller of the air conditioner having a short-range wireless communication function is installed.
  • a response request is transmitted by operating the own device as a representative device, and at the same time, the device identification information of the own device in response to the number collection delegation request and another response according to the response request.
  • the device functions as non-representative device function processing means for returning device identification information of the device in response to the response request. It is a thing.
  • the present invention even if the entire space is out of the communicable range of the remote controller, it is possible to accurately grasp the number of people located in the entire space.
  • FIG. 1 is a diagram showing an overall configuration of an air conditioning system in a first embodiment. It is a figure which shows the block configuration of the air conditioning system in Embodiment 1.
  • FIG. 6 is a diagram showing an example of a data configuration of a control table in the first embodiment.
  • FIG. 3 is a diagram showing an example of a data configuration exchanged between devices in the first embodiment.
  • 7 is a flowchart showing a process performed by a remote controller in the number of people measuring process in the first embodiment.
  • 7 is a flowchart showing a process performed by a mobile device in the number of people measuring process according to the first embodiment.
  • 7 is a flowchart showing a process performed by the air conditioner in the number of people measuring process in the first embodiment.
  • FIG. 10 is a flowchart showing a process performed by a mobile device in the number of people measuring process according to the second embodiment.
  • 7 is a flowchart showing a device ID collection process in the second embodiment.
  • FIG. 16 is a diagram showing a configuration in which the functions of the devices that make up the occupancy measurement system according to the third embodiment are realized by hardware.
  • FIG. 1 is a diagram showing the overall configuration of the air conditioning system in the present embodiment.
  • an air conditioner an air conditioner is also referred to as an air conditioner or an air conditioner
  • an air conditioner an air conditioner (hereinafter, referred to as an air conditioner) installed in a room 1 and a remote controller that operates the air conditioner 2
  • a remote controller 3 which is a remote controller will be referred to as a remote controller
  • the remote controller 3 has a short-range wireless communication function and is fixedly installed on the wall near the doorway 5 of the room 1 where the air conditioner 2 is installed.
  • the short-range wireless communication function is realized by BLE (Bluetooth (registered trademark) Low Energy) having a communicable range of about 5 to 10 m.
  • BLE Bluetooth (registered trademark) Low Energy) having a communicable range of about 5 to 10 m.
  • the communicable range 6 of the remote controller 3 is indicated by a broken line.
  • the mobile device 4 is a mobile information device carried by a user such as a smartphone.
  • the mobile device 4 has a short-range wireless function capable of communicating with the remote controller 3.
  • the communicable range 7 of the portable device 4 carried by the person A in the room is indicated by a dashed line.
  • the same portable device 4 is also carried by other persons in the room.
  • mobile device 4 since only the users in the room 1 are targeted, “user” and “resident” are synonymous. In addition, it is assumed that the person in the room always carries the mobile device 4. In addition, when the mobile devices 4 are collectively referred to without distinction, they are described as “mobile device 4 ”. However, in the case of indicating the mobile device 4 carried by a specific user, for example, when the mobile device 4 carried by the “user A” is specified and described, the description will be given as “mobile device A”.
  • the communicable range 6 of the remote controller 3 by short-range wireless communication does not cover the entire area of the room 1. Even if the remote controller 3 is a portable type and the remote controller 3 is carried to the center of the room 1, the communicable range 6 of the remote controller 3 carried to the center does not cover the entire area of the room 1. To do.
  • Each of the air conditioner 2, the remote controller 3, and the mobile device 4 has a built-in computer, and can be realized with a conventional general-purpose hardware configuration. That is, the air conditioner 2, the remote controller 3, and the portable device 4 (hereinafter, the air conditioner 2, the remote controller 3, and the portable device 4 are referred to as the respective devices 2, 3, and 4), which are the respective devices, include a CPU (Central Processing Unit), a ROM (Read It has at least an Only Memory) and a RAM (Random Access Memory).
  • a communication interface for performing near field communication is an essential component.
  • the air conditioner 2 is assumed to be connected to the remote controller 3 by wire.
  • each of the devices 2, 3 and 4 may be separately provided with a storage means such as a storage for temporarily storing data to be communicated.
  • FIG. 2 is a block configuration diagram of the air conditioning system in the present embodiment. It should be noted that FIG. 2 shows components necessary for explaining the present embodiment.
  • each of the devices 2, 3 and 4 has a constituent element that is originally provided for exhibiting its function but is not shown in the figure not used for explaining the present embodiment. ing. Further, when there are a plurality of mobile devices 4 in the room, each mobile device 4 needs to have the same configuration, so only one is shown in FIG. The same applies to the embodiments described later.
  • the air conditioner 2 has an air conditioning control unit 21 and a control table 22.
  • the air conditioning control unit 21 performs air conditioning control according to the number of people in the room.
  • the air conditioning control unit 21 in the present embodiment particularly performs air conditioning control according to the setting contents of the control table 22.
  • FIG. 3 is a diagram showing a data configuration example of the control table 22 in the present embodiment.
  • “elapsed time” and “control content” are associated with “number of people” and set.
  • “Number of people” is the difference between the newly measured number of people in the room and the number of people in the room measured immediately before, that is, the number of people who have increased or decreased.
  • the “control content” indicates the content of the air conditioning control when the number of persons is reached.
  • the “elapsed time” is the elapsed time from when the difference in the number of people in the room is obtained to when the air conditioning control is started with the control content.
  • the “control content” will be described together with the operation description.
  • the air conditioning control unit 21 is realized by the cooperative operation of the CPU mounted on the air conditioner 2 and the program operating on the CPU. Further, the control table 22 is realized by a storage unit such as a RAM mounted on the air conditioner 2.
  • the remote controller 3 in FIG. 2 has a communication unit 31, a collection delegation transmission unit 32, a device list collection unit 33, an in-occupancy number calculation unit 34, and a storage unit 35.
  • the communication unit 31 is realized by a communication interface equipped with a short-range wireless communication function, and performs short-range wireless communication with the mobile device 4.
  • the collection delegation transmitting unit 32 periodically transmits a collection delegation (corresponding to a “unit number collection delegation request”) to the mobile device 4.
  • the device list collection unit 33 collects a device list (corresponding to “device number information”) returned from the mobile device 4 in response to the delegation of collection.
  • the occupancy calculation section 34 measures the number of users in the room 1, that is, the occupancy based on the device list collected by the device list collection section 33.
  • the storage unit 35 stores the device list transmitted from the mobile device 4.
  • the components 31 to 34 in FIG. 2 are realized by the cooperative operation of the CPU mounted on the remote controller 3 and the program running on the CPU.
  • the storage unit 35 is realized by a storage unit such as a RAM mounted on the remote controller 3.
  • the mobile device 4 in FIG. 2 has a communication unit 41, a representative device function processing unit 42, a non-representative device function processing unit 43, a control unit 44, and a storage unit 45.
  • the communication unit 41 is realized by a communication interface equipped with a short-range wireless communication function, and performs short-range wireless communication with the remote controller 3 and another mobile device 4.
  • the representative device function processing unit 42 realizes a processing function when the own device operates as a representative device.
  • the non-representative device function processing unit 43 realizes a processing function when the own device does not operate as the representative device.
  • the “representative device” is the portable device 4 located within a range where short-distance wireless communication can be performed with the remote controller 3, and receives the data transmitted by the remote controller 3, that is, the data of the collection delegation in the present embodiment.
  • the mobile device 4 that has received the collection delegation is placed in the position of the representative device.
  • the mobile devices A, B, and C located within the communicable range 6 of the remote controller 3 correspond to representative devices.
  • the mobile devices 4 other than the mobile devices A, B, and C are not representative devices.
  • another portable device 4 located near the own device (a certain portable device 4) and in a range communicable with the own device is referred to as a “neighboring device”.
  • the mobile devices B, C, D, and E located within the communicable range 7 of the mobile device A are neighboring devices of the mobile device A.
  • the mobile devices 4 located in their respective communicable ranges are neighboring devices.
  • the portable device 4 is located within the communicable range 6 of the remote controller 3 and causes the representative device function processing unit 42 to perform processing when receiving the collection delegation transmitted from the remote controller 3. That is, the mobile device 4 operates its own device as a representative device.
  • the representative device function processing unit 42 in this embodiment has a response request transmission unit 421, a device ID collection unit 422, and a device list transmission unit 423.
  • the response request transmission unit 421 transmits a response request (corresponding to “response request”) to the other mobile device 4 according to the collection delegation.
  • the device ID collection unit 422 collects the device IDs returned from the other mobile devices 4 (corresponding to the above “neighboring device”) in response to the response request, and stores the device IDs in the storage unit 45.
  • the device ID is device identification information unique to each mobile device 4, and is, for example, an IP address (Internet Protocol Address) or the like.
  • the device list transmission unit 423 generates a device list including the device ID of its own device and the device ID collected by the device ID collection unit 422 according to the collection delegation, and sends it back to the remote controller 3.
  • the mobile device 4 does not receive the collection delegation transmitted from the remote controller 3.
  • the non-representative device function processing unit 43 is caused to perform processing. That is, the mobile device 4 that has received the response request operates its own device as a device other than the representative device (non-representative device).
  • the non-representative device function processing unit 43 in the present embodiment has a device ID transmission unit 431 that returns the device ID of its own device in response to a response request.
  • the control unit 44 is responsible for a part of the process of measuring the number of people in the room in cooperation with other components such as the operation control of the representative device function processing unit 42 and the non-representative device function processing unit 43 described above.
  • the storage unit 45 stores the device ID transmitted from the other mobile device 4 when measuring the number of people in the room.
  • Each of the constituent elements 41 to 44 of the mobile device 4 is realized by the cooperative operation of the CPU mounted on the mobile device 4 and the program operating on the CPU. Further, the storage unit 45 is realized by a storage unit such as a RAM mounted on the mobile device 4.
  • the program used in the present embodiment can be provided not only by communication means but also by being stored in a computer-readable recording medium such as a USB memory.
  • the program provided from the communication unit or the recording medium is installed in the computer, and the CPU of the computer sequentially executes the program to realize various processes.
  • FIG. 4 is a diagram showing a data configuration example exchanged between the remote controller 3 and the mobile device (representative device) 4 and between the mobile devices 4 in the present embodiment.
  • a code for identifying the type of data to be transmitted/received is set in the communication type.
  • the collection delegation is periodically sent by the remote controller 3, and the time ID is set to an identifier capable of specifying the time when the collection delegation was sent. Based on the time ID, it is possible to discriminate between a collection commission and another collection commission.
  • the remote controller ID is set to the identifier of the remote controller 3 that has transmitted the collection delegation.
  • the identifier of the mobile device 4 that transmits the data is set in the device ID. The number of hops will be described in an embodiment described later.
  • the short-range wireless communicable range 6 of the remote controller does not necessarily cover the entire area of the room 1. Therefore, there is no guarantee that the remote controller 3 alone can accurately measure the person in the room 1.
  • a portable device 4 such as a smartphone or a tablet terminal. Some companies provide the mobile device 4 to all employees.
  • the mobile device 4 is equipped with a short-range wireless communication function as a standard feature.
  • the mobile device 4 is equipped with Wi-Fi (registered trademark) (Wireless Fidelity) having a communicable range of about 100 m.
  • Wi-Fi registered trademark
  • Wi-Fi Wi-Fi
  • the number of mobile devices 4 detected in the room 1 is regarded as the number of people in the room to perform measurement. Further, the present embodiment is characterized in that the remote controller 3 installed in the room 1 delegates to the mobile device 4 to detect the number of the mobile devices 4 in the room 1.
  • the remote controller 3 executes the process shown in FIG. 5 by activating a predetermined application at regular intervals.
  • the collection delegation transmission unit 32 broadcasts (sends) the collection delegation via the communication unit 31 (step 301).
  • the collection delegation is generated according to the data structure shown in FIG. More specifically, a code (CR) indicating collection authorization is set in the communication type.
  • a code (identifier) generated based on the current time is set in the time ID.
  • the identifier of the own device is set in the remote control ID. Other items may be blank.
  • the remote controller 3 sets a timer for the first predetermined period after transmitting the collection delegation. As the first predetermined period, for example, a timer of 1 minute is set, and the process proceeds to the process of receiving the device list so that the device list is received from the portable device 4, that is, the representative device in 1 minute.
  • the user needs to activate a predetermined application of the mobile device 4 at least when he/she is in the room so that the processing shown in FIG. 6 can be executed at all times.
  • the mobile device 4 when the application is activated, the mobile device 4 enters a data reception waiting state (N in step 401).
  • the control unit 44 if the received data is the collection delegation transmitted from the remote controller 3 (Y in Step 402), the representative The device function processing unit 42 is operated.
  • the response request transmission unit 421 in the representative device function processing unit 42 broadcasts (transmits) a response request via the communication unit 41 (step 403).
  • the response request is generated by the response request transmission unit 421 according to the data structure shown in FIG. More specifically, the response request transmission unit 421 sets a code (AR) indicating a response request in the communication type.
  • AR code
  • the time ID set in the collection delegation is set in the time ID.
  • the remote controller ID is set to the remote controller ID set for collection delegation.
  • the device ID is set to the identifier of the device itself. Other items may be blank.
  • the representative device function processing unit 42 sets a timer for the second predetermined period, for example, a timer for 30 seconds as the second predetermined period, and the other portable device 4, that is, the neighbor, for 30 seconds. The process moves to the process of receiving the response so as to receive the response (device ID) from the device.
  • the second predetermined period is preferably set to a time shorter than the first predetermined period described above.
  • the mobile device 4 enters a data reception waiting state (N in step 401).
  • data is received via the communication unit 41 (Y in step 401) and the received data is a response request transmitted from another mobile device 4, that is, the representative device (N in step 402)
  • control is performed.
  • the unit 44 operates the non-representative device function processing unit 43 in order to operate the own device as a neighboring device of the representative device and as a non-representative device.
  • the device ID transmission unit 431 in the non-representative device function processing unit 43 responds to the response request (step 408).
  • This response is generated according to the data structure shown in FIG. More specifically, a code (ACK) indicating a response is set for the communication type.
  • ACK code
  • the time ID set in the response request is set in the time ID.
  • the remote control ID set in the response request is set in the remote control ID.
  • the device ID is set to the identifier of the device itself (device ID). Other items may be blank.
  • the mobile device 4 which is a representative device, is in the process of receiving a response (device ID) from a neighboring device for a second predetermined period by setting a timer.
  • the device ID collection unit 422 of the mobile device 4 corresponding to the representative device stores the received response in the storage unit 45 (step 405).
  • the response waiting time (“second predetermined period” above) has not elapsed (N in step 406), a waiting state for receiving a response from a neighboring device other than the neighboring device that received the response in step 404. (Step 404).
  • the device list transmission unit 423 reads the device ID stored in the storage unit 45 and generates a device list together with the device ID of its own device.
  • the device list transmission unit 423 transmits the generated device list to the remote controller 3 (step 407).
  • the device list transmission unit 423 refers to the time ID included in the response in order to more reliably generate the device list corresponding to one collection delegation, and the device list transmission unit 423 includes the same time ID in the response. You may process so that the apparatus ID which exists may be read.
  • the representative device collects the device ID from the neighboring device according to the collection delegation from the remote controller 3. Then, the collected device ID includes the device ID of its own device, and returns the request to the remote controller 3 as the request source.
  • the representative device function processing unit 42 performs the time counting process in the portable device 4 asynchronously with the process of collecting the device ID, and cancels the reception waiting state when the response waiting time has elapsed even in the reception waiting state in step 404. Then, it is necessary to shift to step 407.
  • the device list is generated according to the format shown in FIG. More specifically, a code (RR) indicating a delegation response is set in the communication type.
  • the time ID set in the collection delegation is set in the time ID.
  • the remote control ID set to the collection delegation is set to the remote control ID.
  • the identifier of the device itself is set in the device ID. Then, the device list is set in the other items.
  • the remote controller 3 shifts to a process of receiving a device list from a representative device for a first predetermined period by setting a timer.
  • the device list collection unit 33 stores the received device list in the storage unit 35 (step 303). Then, if the collection time (the above-mentioned “first predetermined period”) has not elapsed (N in step 304), the process returns to the state of waiting for the reception of the device list from other representative devices (step 302). Then, when the collection time has elapsed (Y in step 304), the process proceeds to the process of grasping the number of people in the room by the number of people in room calculation unit 34 (step 305). In the remote controller 3, it is necessary to perform the time counting process asynchronously with the device list collecting process, cancel the reception waiting state and move to step 305 even if the collection waiting time has elapsed in the reception waiting state in step 302.
  • the in-room number calculating unit 34 totals the device list and grasps the number of people in the room (step 305).
  • the number of device IDs included in the device list collected from the representative device is the number of people in the room.
  • the mobile device 4 may be redundantly detected. For example, according to FIG. 1, the mobile device B is a representative device, but since it is also a neighboring device of the mobile device A, the device IDs of the mobile device B are redundantly collected. Therefore, the occupancy calculation unit 34 compares the device IDs collected from the representative devices, and totals the device IDs so that the same mobile device 4 is not counted twice. Then, since the total number of device IDs is the number of people in the room 1, the total number of people in the room is transmitted to the air conditioner 2. The number of people present in the room is reported by transmitting the number of people present in the air conditioner 2 (step 306).
  • a predetermined application is activated so that the air conditioning control unit 21 can always perform processing.
  • the air conditioning control unit 21 of the air conditioner 2 waits for reception of the number of people in the room from the remote controller 3 as shown in FIG. 7 (N in step 201).
  • the air-conditioning control unit 21 receives the number of people in the room by the report from the remote controller 3 (Y in step 201)
  • the number of people in the room received is not 0, that is, if there is a person in the room (step 202).
  • the number of people in the room received this time is compared with the number of people in the room received and stored in the immediately preceding process.
  • the air-conditioning control unit 21 calculates the increased/decreased number of people in the room by comparing the number of people (step 203).
  • the air-conditioning control unit 21 controls the air-conditioning according to the number of people in the room according to the setting contents of the control table 22 (step 204).
  • the air conditioning control unit 21 refers to the setting of “+1” in the control table 22 shown in FIG. 3 and increases the driving capacity at the present time by 10% for 60 seconds. Let me drive. In this way, the comfort level inside the room temporarily deteriorates as the number of people in the room increases. For example, in summer, the room temperature is expected to rise, so the cooling capacity is automatically increased. Further, for example, when the number of persons in the room decreases by two, the driving capacity is reduced by 15% for 90 seconds from the current driving capacity by referring to the setting of "-2" in the control table 22 shown in FIG. As described above, since the number of people in the room decreases, continuous operation with the current driving capacity may result in excessive driving, so that it is possible to obtain an energy saving effect by suppressing the driving capacity.
  • control table 22 shown in FIG. 3 is an example, and may be set as appropriate according to the size of the room 1, the performance of the air conditioner 2, and the like. Further, instead of simply increasing or decreasing the number of people in the room, the number of people in the room at the present time may be referred to and set in the control table 22 in detail according to the number of people in the room.
  • the air-conditioning control unit 21 performs air-conditioning control as described above and stores the number of people in the room received this time internally so that it can be compared with the number of people in the room to be received next time (step 205). Of course, if the history of the number of people in the room is to be recorded, it may be recorded in the storage means (not shown).
  • the air conditioning control unit 21 controls the air conditioning according to the setting contents of the control table 22.
  • the air conditioning control unit 21 stops the operation of the air conditioner 2 after 30 seconds (step 206). In this way, by performing the air conditioning control based on the number of people in the room, the air conditioner 2 can be automatically stopped when there are no more people in the room. Since the air conditioner 2 can be automatically stopped, useless power consumption can be suppressed and the energy saving effect can be improved even when the last person who forgets to turn it off.
  • control table 22 is not set when the number of people in the room does not change. That is, when the number of people in the room does not change, the air conditioning control unit 21 does not perform the air conditioning control based on the number of people present in the room, but performs the air conditioning control based on the existing setting.
  • the short-range wireless communicable range 6 of the remote controller 3 cannot cover the entire area of the room 1.
  • the number of people in the room can be accurately measured.
  • the user may carry a plurality of mobile devices 4.
  • the duplicated person count may be avoided by restricting the application program to be installed in only one mobile device 4 for each user.
  • the number of people in the room is measured periodically. Therefore, the time ID is set to the data to be transmitted/received so as not to be confused with other measurements, especially the measurements performed before and after.
  • the time when the measurement is performed can be specified by using the time.
  • a unique character string or the like may be generated and used instead of the time.
  • the room for which the number of people in the room is to be measured is assumed to be an office room or a conference room where employees are engaged.
  • a space such as a hall or a gymnasium where the number of people in the room is very wide, or when the mobile device 4 uses only BLE as a short-range wireless communication function (that is, the communicable range is relative to the space
  • the entire area of the room 1 cannot be included in the communicable range only with the remote controller 3 and the representative device (for example, in the case of a relatively narrow space). Therefore, in the present embodiment, the number of people in the room can be measured in cooperation with the mobile device 4 so that it can be applied to a large space.
  • FIG. 8 is a block configuration diagram of the air conditioning system in the present embodiment.
  • the same components as those in the first embodiment are designated by the same reference numerals and the description thereof will be omitted as appropriate.
  • the present embodiment differs from the first embodiment in that a plurality of remote controllers 3 are connected to the air conditioner 2 and the time server 10 is provided in terms of system configuration.
  • the time ID included in the data exchanged between the devices 3 and 4 is generated using the time set in the remote controller 3.
  • different time IDs may be generated unless the times on the respective remote controllers 3 are completely the same. Then, if the device IDs collected at one measurement of the number of people in the room are not collected at the same timing, there is a possibility that the device IDs may be mistakenly recognized. Therefore, in this embodiment, since the time server 10 is provided, each remote controller 3 can use a common time.
  • any one remote controller 3 notifies the other remote controller 3 of its own time so that each remote controller 3 uses the same time for time ID generation. It may be configured as follows.
  • the time is used to discriminate one measurement, in other words, to prevent it from being mixed with other measurements (particularly, the preceding and succeeding measurements).
  • a means for generating may be used.
  • the air conditioner 2 has the configuration of the first embodiment, and in the first embodiment, has the occupant number calculation unit 23 provided in the remote controller 3.
  • the remote controller 3 is provided with a device list transmission unit 36 for passing the collected device list to the air conditioner 2 when the processing function of the occupancy calculation unit 34 is moved to the air conditioner 2.
  • the components of the mobile device 4 are the same as those of the first embodiment, but the internal configurations of the representative device function processing unit 42 and the non-representative device function processing unit 43 are different.
  • the representative device function processing unit 42 has a configuration in which a test request transmission unit 424 is added to the configuration of the first embodiment.
  • the test request transmission unit 424 transmits a test request (corresponding to “route setting request”) when the maximum number of relays is set in the received collection delegation.
  • the “maximum number of relays” is the number of mobile devices 4 that relay data (“test request” described later) from the device (representative device) that is the starting point.
  • the non-representative device function processing unit 43 includes a test request response processing unit 432 and a response request response processing unit 433.
  • the test request response processing unit 432 When the test request response processing unit 432 receives a test request from another mobile device 4, the test request response processing unit 432 identifies the transmission source of the received test request as the response destination for the response request received after the reception of the test request. In addition, if the own device does not reach the position of the maximum number of relays from the representative device, in other words, the number of reception hops of the collection delegation received, the test request is transmitted.
  • the “position of the maximum number of relays” means the number of the mobile devices 4 scattered in the position farther from the representative device and in the position where the device ID can be collected. That is.
  • the response request handling processing unit 433 In response to the response request received from the other mobile device 4, the response request handling processing unit 433 sends a response request unless the own device has reached the maximum number of relay positions from the representative device. In addition, the device ID of the own device and the device ID returned from the other mobile device 4 in response to the transmitted response request are returned. If the own device has reached the position of the maximum number of relays from the representative device, the device ID of the own device is returned.
  • the response request handling processing unit 433 has the same function as the device ID transmission unit 431 of the first embodiment in that the device ID of the own device is returned in response to the response request.
  • the remote controller 3 starts processing when a predetermined application is activated and broadcasts the collection delegation.
  • the flowchart shown in FIG. 5 is executed with the notification of the time from the time server 10 as a trigger. Therefore, the remote controller 3 starts operating when a predetermined application is activated, and is in a waiting state for receiving the time from the time server 10. Since the time server 10 periodically transmits the time to each remote controller 3, the collection delegation transmitting unit 32 in each remote controller 3 sends the time ID included in the collection delegation to the time sent from the time server 10. Based on. Therefore, each remote controller 3 generates the same time ID, and one measurement can be specified. Note that all the remote controllers 3 execute the same processing.
  • the collection delegation transmitting unit 32 in the present embodiment sets the number of hops (see FIG. 4) for the collection delegation, but sets the above-mentioned maximum number of relays as the number of hops.
  • the maximum number of relays may be different depending on the remote controller 3.
  • the remote controller 3 generates and transmits the data of the collection commission.
  • a timer for 1 minute is set as the first predetermined period, and the process proceeds to the process of receiving the device list so as to receive the device list from the portable device 4, that is, the representative device, in 1 minute.
  • the mobile device 4 in the present embodiment collects the device ID of the mobile device 4 in a two-step process. Characteristic processing in this embodiment will be described with reference to the flowcharts shown in FIGS. The same processes as those in the first embodiment are given the same step numbers, and description thereof will be omitted as appropriate.
  • the mobile device 4 sets the number of hops internally stored in the mobile device 4 (hereinafter, “stored hop number”) to 0 and sets the response destination to the response request. Initialized to unset (step 421). Then, although a data reception waiting state is set (N in step 401), when data is received (Y in step 401), the process branches depending on the type of the received data.
  • the control unit 44 operates the representative device function processing unit 42.
  • the test request transmission unit 424 in the representative device function processing unit 42 broadcasts (transmits) the test request via the communication unit 41 as the first stage processing (step 422).
  • the test request is generated according to the data structure shown in FIG. More specifically, a code (ER) indicating a test request is set for the communication type.
  • Each item data set for collection delegation is set to the time ID, remote control ID, and hop count.
  • the identifier of the device itself is set in the device ID. Other items may be blank.
  • a timer is set to wait for a third predetermined period, that is, the time required to determine the collection route, for example, 15 seconds, and then the process proceeds to the second stage.
  • the control unit 44 operates the non-representative device function processing unit 43. Then, the test request handling processing unit 432 in the non-representative device function processing unit 43 subtracts 1 from the number of hops set in the received test request (hereinafter, “reception hop number”) (step 434). Subsequently, the test request handling unit 432 compares the number of received hops with the number of hops stored therein (hereinafter, “stored hop number”). The number of stored hops at this point is the number of hops initialized in step 421.
  • the device ID of the portable device 4 that is the transmission source of the received test request is stored in the response destination (initially in step 421). (Step 425). If the response destination has already been set, the response destination will be changed. If the number of received hops is less than or equal to the number of stored hops (N in step 424), the process moves to step 426. That is, in this processing, the device ID of the mobile device 4 that has transmitted a large number of hops is held as the response destination of the response request.
  • the stored hop number is updated with the number of reception hops (step 427), and the test request is broadcast (transmitted). (Step 428).
  • the mobile device 4 that has received the test request transmitted from the other mobile device 4 itself transmits the test request is called “relay”.
  • test request For the test request, set a code (ER) indicating the test request for the communication type.
  • ER code
  • Each item data set in the received test request is set in the time ID and the remote control ID.
  • the identifier of the device itself is set in the device ID.
  • the stored hop count updated in step 427 is set in the hop count. Other items may be blank. In this way, the portable device 4 that has received the test request holds the stored hop count and the response destination internally, and broadcasts the test request until the hop count becomes 0, thereby receiving the test request from the representative device. It will be relayed.
  • the representative device may also receive the test request sent by the neighboring device.
  • the fact that the device itself has become the representative device is held internally so that it does not respond to a test request from a neighboring device.
  • Mobile device 4 other than the representative device may receive the test request from other mobile devices 4 multiple times.
  • the response destination which is the destination corresponding to the response request described later, is limited to the single portable device 4 held in step 425.
  • changing the response destination to the response request enables the self device to relay the device IDs of more mobile devices 4. That is, it becomes possible to collect the device IDs of the portable devices 4 scattered in a range farther from the representative device.
  • the mobile device 4 located away from the representative device receives the test request including the subtracted hop number, and the test request is relayed, so that the test request having the hop number of 1 (reception hop in step 434).
  • the mobile device 4 that receives the test request (the number of which is 0) appears.
  • the test request is not relayed.
  • the device ID of the mobile device of the test request transmission source is set as the response destination (step 429). In this way, the portable device 4 corresponding to the response request is set as the response destination of the non-representative device, and the collection route of the device ID is determined.
  • the route for collecting the device ID can be determined as described above.
  • the representative device exists at the highest position on the route, in the following description, the portable device 4 at the end position on the route will be referred to as a “terminal device”.
  • the mobile device 4 located between the representative device and the terminal device is referred to as an "intermediate device”. I will decide.
  • the process of the second stage is a process of collecting the device IDs of the mobile devices in the room 1 described in the first embodiment.
  • the response request transmission unit 421 in the representative device function processing unit 42 executes a device ID collection process as shown in FIG. 9 to request a response (step 423).
  • the device ID collection process is basically the same as the process (steps 403 to 407) described in the first embodiment. That is, the response request transmission unit 421 broadcasts (transmits) a response request via the communication unit 41, as shown in FIG. 10 (step 451).
  • the response request may be the same as in the first embodiment.
  • the number of hops set in the response request is used in the first stage process and is not necessary in the second stage process.
  • a timer is set as a second predetermined period, for example, for 30 seconds, and the response is received so that the response (device ID) is received from another portable device 4, that is, a neighboring device in 30 seconds. Move to processing.
  • the second predetermined period is a time shorter than the first predetermined period described above.
  • the response request handling processing unit 433 in the non-representative device function processing unit 43 determines the sender of the response request. Check. If the source of the response request does not match the internally stored response destination (N in step 430), the mobile device 4 has received the response request from the mobile device 4 that is not in the device ID collection path. , Without returning to the received response request, returns to the waiting state for receiving the next data (step 401).
  • the response request handling processing unit 433 confirms the stored hop count stored internally, and determines the hop count. Is not 1 or more, that is, when the number of stored hops is 0 (N in step 431), the own device can be determined to be the mobile device 4 at the end on the route, that is, the end device. Therefore, the response request handling unit 433 responds to the response request (step 433). That is, the device ID of its own device is returned in response to the response request.
  • the response request handling processing unit 433 executes the device ID collection processing in response to the response request (step 432).
  • the device ID collection process is basically the same as the process described in the first embodiment. That is, the response request handling unit 433 broadcasts (transmits) a response request via the communication unit 41, as shown in FIG. 10 (step 451).
  • the response request may be the same as in the first embodiment.
  • the number of hops set in the response request is used in the process of the first stage and is not necessary in the process of the second stage.
  • a timer for 20 seconds is set as the fourth predetermined period, and the process proceeds to receive a response so that a response (device ID) is received from another portable device 4 for 20 seconds.
  • the fourth predetermined period is preferably set to a time shorter than the second predetermined period set by the representative device for collecting the device ID.
  • step 452 the mobile device 4 (representative device or intermediate device, which is assumed here to be an intermediate device) waiting for a response from the other mobile device 4 is
  • the device ID of the portable device 4 is received from the terminal device (step 452). If the other mobile device 4 is an intermediate device, the device list is received. When a response from another mobile device 4 is received, the device ID included in the response (or the device ID included in the device list) is stored in the storage unit 45 (step 453).
  • the process returns to the waiting state for receiving a response from the other mobile device 4 (step 452). Then, when the response waiting time has elapsed (Y in step 454), the response request handling processing unit 433 reads the device ID stored in the storage unit 45 and generates a device list together with the device ID of the self device. , And transmits to the mobile device 4 of the higher rank (step 455).
  • the high-order mobile device 4 is the representative device or the mobile device 4 (intermediate device) that is the source of the response request.
  • the mobile device 4 which is a representative device, is in the process of receiving a response (device ID) from a neighboring device for a second predetermined period by setting a timer.
  • the portable device 4 corresponding to the representative device stores the device ID (or the device list) included in the response in the storage unit 45 (step 453). If the response waiting time (the “second predetermined period” above) has not elapsed (N in step 454), the process returns to the state of waiting for a response from another neighboring device (step 452).
  • the device list transmission unit 423 reads the device ID stored in the storage unit 45, generates a device list together with the device ID of its own device, and performs remote control. 3 (step 455).
  • the remote controller 3 shifts to the process of receiving the device list from the representative device for the first predetermined period by setting the timer.
  • the collection/delegation transmitting unit 32 stores the received device list in the storage unit 35 as shown in FIG. 5 (step 303).
  • the process returns to the state of waiting for the reception of the device list from other representative devices (step 302).
  • the air conditioner 2 is notified of the device list (device ID) stored in the storage unit 35 with the time ID added.
  • the air conditioner 2 receives the device list from each remote controller 3 after the collection time has elapsed. Thereby, the occupancy calculation unit 23 takes out the device IDs from the device list to which the same time ID is added, and totals the same device IDs so as not to be counted twice. The number of device IDs thus obtained is the number of people in the room 1.
  • the air conditioner 2 When the number of people present in the room can be measured, the air conditioner 2 performs air conditioning control according to the setting contents of the control table 22 as in the first embodiment.
  • a server or the like above the air conditioner 2 collects the device list from each air conditioner 2 or the remote controller 3 connected to each air conditioner 2 and duplicates the same device ID included in the collected device list. It is necessary to add up so as not to count.
  • Embodiment 3 supplements the hardware configurations of the air conditioner 2, the remote controller 3, and the portable device 4 that constitute the occupancy measurement system of the first and second embodiments.
  • the functions of the air conditioner 2, the remote controller 3, and the mobile device 4 which form the people counting system described in the first and second embodiments are realized by a program.
  • the functions of the air conditioner 2, the remote controller 3, and the mobile device 4 may be realized by hardware.
  • FIG. 11 is a diagram showing a configuration in which the functions of the air conditioner 2, the remote controller 3, and the mobile device 4 which form the occupancy measurement system are realized by hardware.
  • the electronic circuit 90 of FIG. 11 includes an air-conditioning control unit 21 of the air conditioner 2 that constitutes the occupancy measurement system, an occupancy calculation unit 23, a collection delegation transmission unit 32 of the remote controller 3, a device list collection unit 33, and an occupancy calculation. It is a dedicated electronic circuit that realizes the functions of the unit 34 and the communication unit 31.
  • the electronic circuit 90 is connected to the signal line 91.
  • the electronic circuit 90 is specifically a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA.
  • GA is an abbreviation for Gate Array.
  • ASIC is an abbreviation for Application Specific Integrated Circuit.
  • FPGA is Field-Programmable Abbreviation for Gate Array.
  • the functions of the components of the air conditioner 2, the remote controller 3, and the mobile device 4 that make up the number-of-people measurement system may be realized by one electronic circuit or may be realized by being distributed to a plurality of electronic circuits.
  • some functions of the components of the air conditioner 2, the remote controller 3, and the mobile device 4 which form the occupancy measurement system may be realized by an electronic circuit, and the remaining functions may be realized by software.
  • Each of the CPU and the electronic circuit 90 is also called a processing circuit.
  • the functions of the test request response processing unit 432 and the response request response processing unit 433 may be realized by the processing circuitry.
  • the components of the air conditioner 2, the remote controller 3 and the portable device 4 that compose the occupancy measurement system described in the first and second embodiments correspond to respective means and units as follows. Please note. (1)
  • the collection delegation transmission unit 32 corresponds to a request transmission unit.
  • the device list collection unit 33 corresponds to device number information collection means.
  • the representative device function processing unit 42 corresponds to a representative device function processing means.
  • the non-representative device function processing unit 43 corresponds to non-representative device function processing means.
  • the occupancy calculation section 34 corresponds to occupancy calculation means.
  • the response request transmission unit 421 corresponds to the response request transmission unit.
  • the device ID collection unit 422 corresponds to the device identification information collection unit.
  • the device list transmission unit 423 corresponds to the device number information reply unit.
  • the test request transmission unit 424 corresponds to the route setting processing unit.
  • the test request handling unit 432 corresponds to the route setting request handling unit.
  • the response request handling processing unit 433 corresponds to the response request handling processing unit.
  • the time server 10 corresponds to a providing means.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The purpose of the present invention is to enable accurate prehension of number of people presenting in a space even when the entire space is not within a range communicable by a remote controller. A portable device (4) comprises: a response request transmitting unit (421) that transmits a response request by operating as a representative device when receiving collection trust transmitted from a remote controller (3); a device ID transmission unit (431) that sends a device ID of its own device in response to the response request received from the representative device when the device is not a representative device; and a device list transmission unit (423) that generates a device list including device IDs transmitted from other portable device (4) in response to the response request together with the device ID of its own device and sends the device list back to the remote controller (3) in response to the collection trust. The remote controller (3) has an in-room people number calculation unit (34) that aggregates the device IDs included in the device list collected from the representative device so as not to redundantly count the same device IDs and calculates the aggregated value as the number of in-room people.

Description

所在人数測定システム、携帯機器及びプログラムNumber of people measurement system, mobile device and program
 本発明は、所在人数測定システム、携帯機器及びプログラム、特に空調機が設置された空間内に所在する人数の把握に関する。 The present invention relates to grasping the number of people who are present in a space in which an occupancy measurement system, portable devices and programs, in particular, air conditioners are installed.
 在室者や在室者が電源を投入して使用する機器、例えばPCやOA機器等からの発熱は、室内における温熱環境の変動要因となり得る。つまり、在室人数が室内の快適性に与える影響が大きいということになる。従来では、室内環境を快適とするために、在室人数に応じて空調制御を行う技術が提案されている(例えば、特許文献1,2等)。 The heat generated from the person in the room or equipment used by the person in the room when the power is turned on, such as a PC or an OA device, may be a cause of fluctuations in the indoor thermal environment. In other words, the number of people in the room has a great influence on the indoor comfort. Conventionally, in order to make the indoor environment comfortable, a technique has been proposed in which air conditioning is controlled according to the number of people in the room (for example, Patent Documents 1 and 2).
特開2001-201139号公報JP 2001-201139 A 特許第4922001号明細書Patent No. 4922001 特許第6140214号明細書Patent No. 6140214 特許第5864297号明細書Patent No. 5864297 特許第4453679号明細書Patent No. 4453679 特許第5559519号明細書Patent No. 5559519
 在室人数に応じて空調制御を行う場合、在室人数を正確に把握することが望まれる。事業所における各部屋には、通常、空調機を操作するリモコンが設置されている。また、従業員は、通常、スマートフォン等の携帯機器を携行している。あるいは、携行させるべく携帯機器を支給することが可能である。従って、リモコンに近距離無線通信機能を搭載し、リモコンを在室者が携行する携帯機器と通信させることで在室人数を把握することが考えられる。 When performing air conditioning control according to the number of people in the room, it is desirable to accurately grasp the number of people in the room. A remote control for operating an air conditioner is usually installed in each room of an office. Employees usually carry mobile devices such as smartphones. Alternatively, it is possible to provide a mobile device to carry. Therefore, it is conceivable that the remote controller is equipped with a short-range wireless communication function and the remote controller communicates with a portable device carried by a person in the room to grasp the number of people in the room.
 しかしながら、リモコンの通信可能な範囲に全ての携帯機器が存在しなければ在室人数を正確に把握することができない。特に、リモコンは、部屋の出入口近傍等の壁際に設置されていることが一般的である。このことから、部屋全域がリモコンの通信可能な範囲に入るとは限らない。つまり、リモコンが、在室者全員が携行する携帯機器と通信ができるとは限らない。 However, it is not possible to accurately grasp the number of people in the room unless all mobile devices are present within the communicable range of the remote controller. In particular, the remote controller is generally installed near a wall near the entrance of a room. For this reason, the entire room does not always fall within the communicable range of the remote controller. That is, the remote controller may not be able to communicate with the mobile device carried by all the people in the room.
 本発明は、空間全域がリモコンの通信可能な範囲に入らない場合でも空間内に所在する人数を正確に把握できるようにすることを目的とする。 The purpose of the present invention is to make it possible to accurately grasp the number of people present in the space even if the entire space does not fall within the communicable range of the remote controller.
 本発明に係る所在人数測定システムは、空調機が設置された空間に設置され、近距離無線通信機能を有する前記空調機のリモコンと、前記空間に所在する各ユーザに携帯され、近距離無線通信機能を有する携帯機器と、を有し、前記リモコンは、台数収集委任要求を発信する要求発信手段と、前記台数収集委任要求に応じて前記携帯機器から返信されてきた機器台数情報を収集する機器台数情報収集手段と、を有し、前記携帯機器は、前記リモコンから発信された台数収集委任要求を受信した場合、自機器を代表機器として動作させることで応答要求を発信すると共に、前記台数収集委任要求に応じて自機器の機器識別情報及び前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を含む機器台数情報を返信する代表機器機能処理手段と、前記リモコンから発信された台数収集委任要求を受信することなく前記代表機器として動作する他の前記携帯機器から発信された応答要求を受信した場合、自機器を非代表機器として動作させることで前記応答要求に応じて自機器の機器識別情報を返信する非代表機器機能処理手段と、を有し、前記機器台数情報収集手段が収集した機器台数情報に基づき前記空間の所在人数を計算する在室人数計算手段を有するものである。 The presence measuring system according to the present invention is installed in a space in which an air conditioner is installed, and has a remote control of the air conditioner having a short-distance wireless communication function, and is carried by each user located in the space to perform short-distance wireless communication. A portable device having a function, and the remote controller is a device for collecting request number transmitting means for transmitting a device number collection delegation request, and a device number information returned from the portable device in response to the device number collection delegation request. When the portable device receives a unit number collection delegation request sent from the remote controller, the portable device operates as a representative device to send a response request and collects the number of units information. Representative device function processing means for returning device number information including device identification information of its own device in response to the delegation request and device identification information returned from the other portable device in response to the response request, and transmission from the remote controller In response to the response request transmitted from the other mobile device that operates as the representative device without receiving the requested number collection delegation request, the self device operates as a non-representative device in response to the response request. A non-representative device function processing means for returning device identification information of its own device, and an in-room number calculating means for calculating the number of people in the space based on the number-of-devices information collected by the number-of-devices information collecting means. It is a thing.
 また、前記代表機器機能処理手段は、前記台数収集委任要求に応じて応答要求を発信する応答要求発信部と、前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を収集する機器識別情報収集部と、前記台数収集委任要求に応じて、自機器の機器識別情報及び前記機器識別情報収集部が収集した機器識別情報を含む機器台数情報を生成して返信する機器台数情報返信部と、を有するものである。 Further, the representative device function processing means collects a response request transmission unit that transmits a response request in response to the number-of-units collection delegation request, and device identification information returned from another portable device in response to the response request. Device identification information collection unit, and device number information that generates and returns device number information including the device identification information of its own device and the device identification information collected by the device identification information collection unit in response to the number collection delegation request And a reply section.
 また、前記代表機器機能処理手段は、前記台数収集委任要求に最大中継数が設定されている場合、経路設定要求を発信する経路設定処理部と、前記台数収集委任要求を受信してから所定時間経過後に応答要求を発信する応答要求発信部と、前記応答要求発信部が発信した応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を収集する機器識別情報収集部と、前記台数収集委任要求に応じて、自機器の機器識別情報及び前記機器識別情報収集部が収集した機器識別情報を含む機器台数情報を生成して返信する機器台数情報返信部と、を有し、前記非代表機器機能処理手段は、他の前記携帯機器から経路設定要求を受信した場合、受信した経路設定要求の送信元を、応答要求に対する応答先と特定すると共に、自機器が前記代表機器から最大中継数の位置に達していなければ経路設定要求を発信する経路設定要求対応処理部と、他の前記携帯機器から受信した応答要求に応じて、自機器が前記代表機器から最大中継数の位置に達していなければ応答要求を発信すると共に自機器の機器識別情報及び発信した応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を返信し、自機器が前記代表機器から最大中継数の位置に達していれば自機器の機器識別情報を返信する応答要求対応処理部と、を有するものである。 Further, the representative device function processing means, when the maximum number of relays is set in the number collection commission request, a route setting processing unit for transmitting a route setting request, and a predetermined time after receiving the unit collection commission request. A response request transmission unit for transmitting a response request after a lapse of time, a device identification information collection unit for collecting device identification information returned from the other portable device in response to the response request transmitted by the response request transmission unit, and A device number information reply unit for generating and returning device number information including the device identification information of the own device and the device identification information collected by the device identification information collecting unit in response to the number collection commission request. When the non-representative device function processing means receives a route setting request from another portable device, the non-representative device function processing means identifies the source of the received route setting request as a response destination to the response request, and the own device is the maximum from the representative device. If the position of the number of relays has not been reached, the own device is moved from the representative device to the position of the maximum number of relays in response to the route setting request handling processing unit that issues a route setting request and the response request received from the other portable device. If not, it sends a response request and returns the device identification information of its own device and the device identification information returned from the other portable device in response to the sent response request, and the own device relays the maximum from the representative device. If the number of positions is reached, a response request handling processing unit that returns the device identification information of its own device.
 また、前記経路設定要求対応処理部は、複数の経路設定要求を受信した場合、前記代表機器からの中継数が大きい経路設定要求の送信元を、応答要求に対する応答先と特定するものである。 Further, when the plurality of route setting requests are received, the route setting request handling processing unit identifies the transmission source of the route setting request having a large number of relays from the representative device as a response destination to the response request.
 また、複数の前記リモコンが前記空調機に設けられている場合、前記各リモコンに対して共通の識別コードを提供する提供手段を有するものである。 Further, when a plurality of the remote controllers are provided in the air conditioner, it has a providing means for providing a common identification code to each of the remote controllers.
 本発明に係る携帯機器は、空調機及び近距離無線通信機能を有する前記空調機のリモコンが設置されている空間に所在するユーザにより携行される携帯機器において、前記リモコンから発信された台数収集委任要求を受信した場合、自機器を代表機器として動作させることで応答要求を発信すると共に、前記台数収集委任要求に応じて自機器の機器識別情報及び前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を含む機器台数情報を返信する代表機器機能処理手段と、前記リモコンから発信された台数収集委任要求を受信することなく前記代表機器として動作する他の前記携帯機器から発信された応答要求を受信した場合、自機器を非代表機器として動作させることで前記応答要求に応じて自機器の機器識別情報を返信する非代表機器機能処理手段と、を有するものである。 A portable device according to the present invention is a portable device carried by a user located in a space where an air conditioner and a remote controller of the air conditioner having a short-range wireless communication function are installed, and the number of devices collected from the remote controller is delegated. When a request is received, a response request is transmitted by operating the device itself as a representative device, and the device identification information of the device itself according to the number collection delegation request and another portable device according to the response request. Representative device function processing means for returning the number-of-devices information including the returned device identification information, and transmission from the other portable device that operates as the representative device without receiving the number-collection delegation request transmitted from the remote controller And a non-representative device function processing means for returning the device identification information of the self device in response to the response request by operating the self device as a non-representative device.
 本発明に係るプログラムは、空調機及び近距離無線通信機能を有する前記空調機のリモコンが設置されている空間に所在するユーザにより携行される携帯機器に搭載されるコンピュータを、前記リモコンから発信された台数収集委任要求を受信した場合、自機器を代表機器として動作させることで応答要求を発信すると共に、前記台数収集委任要求に応じて自機器の機器識別情報及び前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を含む機器台数情報を返信する代表機器機能処理手段、前記リモコンから発信された台数収集委任要求を受信することなく前記代表機器として動作する他の前記携帯機器から発信された応答要求を受信した場合、自機器を非代表機器として動作させることで前記応答要求に応じて自機器の機器識別情報を返信する非代表機器機能処理手段、として機能させるためのものである。 The program according to the present invention is transmitted from the remote controller to a computer installed in a portable device carried by a user located in a space where a remote controller of the air conditioner and a remote controller of the air conditioner having a short-range wireless communication function is installed. When receiving the number collection delegation request, a response request is transmitted by operating the own device as a representative device, and at the same time, the device identification information of the own device in response to the number collection delegation request and another response according to the response request. Representative device function processing means for returning device number information including device identification information returned from the portable device, and the other portable device that operates as the representative device without receiving a request for collecting number of devices delegating request from the remote controller. When a response request sent from a device is received, by operating the device as a non-representative device, the device functions as non-representative device function processing means for returning device identification information of the device in response to the response request. It is a thing.
 本発明によれば、空間全域がリモコンの通信可能な範囲に入らない場合でも、空間全域内に所在する人数を正確に把握することができる。 According to the present invention, even if the entire space is out of the communicable range of the remote controller, it is possible to accurately grasp the number of people located in the entire space.
実施の形態1における空調システムの全体構成を示す図である。FIG. 1 is a diagram showing an overall configuration of an air conditioning system in a first embodiment. 実施の形態1おける空調システムのブロック構成を示す図である。It is a figure which shows the block configuration of the air conditioning system in Embodiment 1. 実施の形態1における制御テーブルのデータ構成例を示す図である。FIG. 6 is a diagram showing an example of a data configuration of a control table in the first embodiment. 実施の形態1において機器間でやり取りされるデータ構成例を示す図である。FIG. 3 is a diagram showing an example of a data configuration exchanged between devices in the first embodiment. 実施の形態1における人数測定処理においてリモコンが実施する処理を示すフローチャートである。7 is a flowchart showing a process performed by a remote controller in the number of people measuring process in the first embodiment. 実施の形態1における人数測定処理において携帯機器が実施する処理を示すフローチャートである。7 is a flowchart showing a process performed by a mobile device in the number of people measuring process according to the first embodiment. 実施の形態1における人数測定処理においてエアコンが実施する処理を示すフローチャートである。7 is a flowchart showing a process performed by the air conditioner in the number of people measuring process in the first embodiment. 実施の形態2おける空調システムのブロック構成を示す図である。It is a figure which shows the block configuration of the air conditioning system in Embodiment 2. 実施の形態2における人数測定処理において携帯機器が実施する処理を示すフローチャートである。10 is a flowchart showing a process performed by a mobile device in the number of people measuring process according to the second embodiment. 実施の形態2における機器ID収集処理を示すフローチャートである。7 is a flowchart showing a device ID collection process in the second embodiment. 実施の形態3における所在人数測定システムを構成する機器の機能がハードウェアで実現される構成を示す図である。FIG. 16 is a diagram showing a configuration in which the functions of the devices that make up the occupancy measurement system according to the third embodiment are realized by hardware.
 以下、図面に基づいて、本発明の好適な実施の形態について説明する。 Hereinafter, a preferred embodiment of the present invention will be described with reference to the drawings.
実施の形態1.
 図1は、本実施の形態における空調システムの全体構成を示す図である。図1には、部屋1に設置されるエアコンディショナー(以下、エアコンディショナーをエアコンと称する)であるエアコン(エアコンは空気調和機または、空調機とも称する)2と、エアコン2を操作するリモートコントローラー(以下、リモートコントローラーをリモコンと称する)であるリモコン3と、在室者が所持する携帯機器4と、が示されている。リモコン3は、近距離無線通信機能を搭載し、エアコン2が設置されている部屋1の出入口5の近傍の壁に固定設置されている。本実施の形態では、通信可能範囲が5~10m程度のBLE(Bluetooth(登録商標) Low Energy)により近距離無線通信機能が実現されることを想定している。図1では、リモコン3の通信可能範囲6を破線にて示している。
Embodiment 1.
FIG. 1 is a diagram showing the overall configuration of the air conditioning system in the present embodiment. In FIG. 1, an air conditioner (an air conditioner is also referred to as an air conditioner or an air conditioner) 2 that is an air conditioner (hereinafter, referred to as an air conditioner) installed in a room 1 and a remote controller that operates the air conditioner 2 ( Hereinafter, a remote controller 3 which is a remote controller will be referred to as a remote controller) and a portable device 4 carried by a person in the room are shown. The remote controller 3 has a short-range wireless communication function and is fixedly installed on the wall near the doorway 5 of the room 1 where the air conditioner 2 is installed. In the present embodiment, it is assumed that the short-range wireless communication function is realized by BLE (Bluetooth (registered trademark) Low Energy) having a communicable range of about 5 to 10 m. In FIG. 1, the communicable range 6 of the remote controller 3 is indicated by a broken line.
 携帯機器4は、スマートフォン等ユーザに携行される携帯型の情報機器である。携帯機器4は、リモコン3と通信可能な近距離無線機能を搭載している。図1では、在室者Aが携行する携帯機器4の通信可能範囲7を一点破線にて示している。他の在室者においても同様の携帯機器4を携行している。 The mobile device 4 is a mobile information device carried by a user such as a smartphone. The mobile device 4 has a short-range wireless function capable of communicating with the remote controller 3. In FIG. 1, the communicable range 7 of the portable device 4 carried by the person A in the room is indicated by a dashed line. The same portable device 4 is also carried by other persons in the room.
 なお、本実施の形態では、部屋1にいるユーザのみを対象としていることから、「ユーザ」と「在室者」とは同義である。また、在室者は必ず携帯機器4を携行することを前提としている。なお、携帯機器4を区別することなく総称する場合には、「携帯機器4」と記載する。ただし、特定のユーザが携行する携帯機器4を示す場合、例えば「ユーザA」が携行する携帯機器4を特定して説明する場合は、「携帯機器A」と記載することにする。 In addition, in the present embodiment, since only the users in the room 1 are targeted, “user” and “resident” are synonymous. In addition, it is assumed that the person in the room always carries the mobile device 4. In addition, when the mobile devices 4 are collectively referred to without distinction, they are described as “mobile device 4 ”. However, in the case of indicating the mobile device 4 carried by a specific user, for example, when the mobile device 4 carried by the “user A” is specified and described, the description will be given as “mobile device A”.
 図1に示すように、リモコン3の近距離無線通信による通信可能範囲6は、部屋1の全域を覆っていない。仮に、リモコン3が持ち運び可能なタイプで、リモコン3が部屋1の中心まで持ち運ばれたとしても、中心まで持ち運ばれたリモコン3の通信可能範囲6は、部屋1の全域を覆わないものとする。 As shown in FIG. 1, the communicable range 6 of the remote controller 3 by short-range wireless communication does not cover the entire area of the room 1. Even if the remote controller 3 is a portable type and the remote controller 3 is carried to the center of the room 1, the communicable range 6 of the remote controller 3 carried to the center does not cover the entire area of the room 1. To do.
 エアコン2、リモコン3及び携帯機器4は、それぞれコンピュータを内蔵しており、従前からある汎用的なハードウェア構成で実現できる。すなわち、各機器であるエアコン2,リモコン3,携帯機器4(以下、エアコン2,リモコン3,携帯機器4を各機器2,3,4と称する)は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)を少なくとも有している。リモコン3及び携帯機器4においては、近距離無線通信を行うための通信インタフェースは必須な構成である。エアコン2は、リモコン3と有線にて接続されていることを想定している。しかし、エアコン2がリモコン3と無線により通信を行う場合には、エアコン2は、リモコン3と近距離無線通信を行うための通信インタフェースを有する必要がある。また、各機器2,3,4は、通信対象とするデータを一時記憶するストレージ等の記憶手段を別途備えてもよい。 Each of the air conditioner 2, the remote controller 3, and the mobile device 4 has a built-in computer, and can be realized with a conventional general-purpose hardware configuration. That is, the air conditioner 2, the remote controller 3, and the portable device 4 (hereinafter, the air conditioner 2, the remote controller 3, and the portable device 4 are referred to as the respective devices 2, 3, and 4), which are the respective devices, include a CPU (Central Processing Unit), a ROM (Read It has at least an Only Memory) and a RAM (Random Access Memory). In the remote controller 3 and the mobile device 4, a communication interface for performing near field communication is an essential component. The air conditioner 2 is assumed to be connected to the remote controller 3 by wire. However, when the air conditioner 2 wirelessly communicates with the remote controller 3, the air conditioner 2 needs to have a communication interface for short-range wireless communication with the remote controller 3. Further, each of the devices 2, 3 and 4 may be separately provided with a storage means such as a storage for temporarily storing data to be communicated.
 図2は、本実施の形態における空調システムのブロック構成図である。なお、図2には、本実施の形態の説明に必要な構成要素を示している。図2では、各機器2,3,4において、それぞれの機能を発揮するために本来持っている構成要素であっても、本実施の形態の説明に用いない構成要素については、図示を省略している。また、携帯機器4が室内に複数存在する場合、各携帯機器4は同等の構成を有していればよいので、図2には1台のみ図示した。後述する実施の形態においても同様である。 FIG. 2 is a block configuration diagram of the air conditioning system in the present embodiment. It should be noted that FIG. 2 shows components necessary for explaining the present embodiment. In FIG. 2, each of the devices 2, 3 and 4 has a constituent element that is originally provided for exhibiting its function but is not shown in the figure not used for explaining the present embodiment. ing. Further, when there are a plurality of mobile devices 4 in the room, each mobile device 4 needs to have the same configuration, so only one is shown in FIG. The same applies to the embodiments described later.
 エアコン2は、空調制御部21及び制御テーブル22を有している。空調制御部21は、在室人数に応じた空調制御を行う。本実施の形態における空調制御部21は、特に制御テーブル22の設定内容に従って空調制御を行う。 The air conditioner 2 has an air conditioning control unit 21 and a control table 22. The air conditioning control unit 21 performs air conditioning control according to the number of people in the room. The air conditioning control unit 21 in the present embodiment particularly performs air conditioning control according to the setting contents of the control table 22.
 図3は、本実施の形態における制御テーブル22のデータ構成例を示す図である。制御テーブル22には、「人数」に「経過時間」及び「制御内容」を対応付けして設定される。「人数」は、新たに測定された在室人数と直前に測定されたときの在室人数との差分、すなわち増減した人数である。「制御内容」は、当該人数となったときの空調制御の内容を示す。「経過時間」は、在室人数の差分が求められてから当該制御内容にて空調制御を開始するまでの経過時間である。「制御内容」については、動作の説明と合わせて説明する。 FIG. 3 is a diagram showing a data configuration example of the control table 22 in the present embodiment. In the control table 22, “elapsed time” and “control content” are associated with “number of people” and set. “Number of people” is the difference between the newly measured number of people in the room and the number of people in the room measured immediately before, that is, the number of people who have increased or decreased. The “control content” indicates the content of the air conditioning control when the number of persons is reached. The “elapsed time” is the elapsed time from when the difference in the number of people in the room is obtained to when the air conditioning control is started with the control content. The “control content” will be described together with the operation description.
 空調制御部21は、エアコン2に搭載されたCPUと、CPUで動作するプログラムとの協調動作により実現される。また、制御テーブル22は、エアコン2に搭載されたRAM等の記憶手段にて実現される。 The air conditioning control unit 21 is realized by the cooperative operation of the CPU mounted on the air conditioner 2 and the program operating on the CPU. Further, the control table 22 is realized by a storage unit such as a RAM mounted on the air conditioner 2.
 図2のリモコン3は、通信部31、収集委任発信部32、機器リスト収集部33、在室人数算出部34及び記憶部35を有している。通信部31は、近距離無線通信機能を搭載する通信インタフェースにより実現され、携帯機器4との間で近距離無線通信を行う。収集委任発信部32は、収集委任(「台数収集委任要求」に相当)を定周期的に携帯機器4に向けて発信する。機器リスト収集部33は、収集委任に応じて携帯機器4から返信されてきた機器リスト(「機器台数情報」に相当)を収集する。在室人数算出部34は、機器リスト収集部33が収集した機器リストに基づき部屋1にいるユーザの人数、すなわち在室人数を測定する。記憶部35は、携帯機器4から送信されてきた機器リストを記憶する。 The remote controller 3 in FIG. 2 has a communication unit 31, a collection delegation transmission unit 32, a device list collection unit 33, an in-occupancy number calculation unit 34, and a storage unit 35. The communication unit 31 is realized by a communication interface equipped with a short-range wireless communication function, and performs short-range wireless communication with the mobile device 4. The collection delegation transmitting unit 32 periodically transmits a collection delegation (corresponding to a “unit number collection delegation request”) to the mobile device 4. The device list collection unit 33 collects a device list (corresponding to “device number information”) returned from the mobile device 4 in response to the delegation of collection. The occupancy calculation section 34 measures the number of users in the room 1, that is, the occupancy based on the device list collected by the device list collection section 33. The storage unit 35 stores the device list transmitted from the mobile device 4.
 図2の構成要素31~34は、リモコン3に搭載されたCPUと、CPUで動作するプログラムとの協調動作により実現される。また、記憶部35は、リモコン3に搭載されたRAM等の記憶手段にて実現される。 The components 31 to 34 in FIG. 2 are realized by the cooperative operation of the CPU mounted on the remote controller 3 and the program running on the CPU. The storage unit 35 is realized by a storage unit such as a RAM mounted on the remote controller 3.
 図2の携帯機器4は、通信部41、代表機器機能処理部42、非代表機器機能処理部43、制御部44及び記憶部45を有している。通信部41は、近距離無線通信機能を搭載する通信インタフェースにより実現され、リモコン3及び他の携帯機器4との間で近距離無線通信を行う。代表機器機能処理部42は、自機器が代表機器として動作する際の処理機能を実現する。代表機器機能処理部42に対し、非代表機器機能処理部43は、自機器が代表機器として動作しない場合の処理機能を実現する。 The mobile device 4 in FIG. 2 has a communication unit 41, a representative device function processing unit 42, a non-representative device function processing unit 43, a control unit 44, and a storage unit 45. The communication unit 41 is realized by a communication interface equipped with a short-range wireless communication function, and performs short-range wireless communication with the remote controller 3 and another mobile device 4. The representative device function processing unit 42 realizes a processing function when the own device operates as a representative device. In contrast to the representative device function processing unit 42, the non-representative device function processing unit 43 realizes a processing function when the own device does not operate as the representative device.
 ここで、「代表機器」というのは、リモコン3と近距離無線通信が可能な範囲に位置する携帯機器4であって、リモコン3が発信するデータ、本実施の形態では収集委任のデータを受信する携帯機器4のことをいう。換言すると、収集委任を受信することで、収集委任を受信した携帯機器4が代表機器という立場に置かれることになる。例えば、図1においては、リモコン3の通信可能範囲6内に位置する携帯機器A,B,Cが代表機器に該当する。携帯機器A,B,C以外の携帯機器4は、代表機器とはならない。また、本実施の形態では、自機器(ある携帯機器4)の近傍に位置し、自機器と通信可能な範囲にある他の携帯機器4のことを「近隣機器」と称することにする。例えば、図1において、携帯機器Aの通信可能範囲7内に位置する携帯機器B,C,D,Eが携帯機器Aの近隣機器となる。なお、携帯機器B,C,D,Eにおいても、それぞれの通信可能な範囲に位置する携帯機器4は近隣機器となる。 Here, the “representative device” is the portable device 4 located within a range where short-distance wireless communication can be performed with the remote controller 3, and receives the data transmitted by the remote controller 3, that is, the data of the collection delegation in the present embodiment. The portable device 4 that operates. In other words, by receiving the collection delegation, the mobile device 4 that has received the collection delegation is placed in the position of the representative device. For example, in FIG. 1, the mobile devices A, B, and C located within the communicable range 6 of the remote controller 3 correspond to representative devices. The mobile devices 4 other than the mobile devices A, B, and C are not representative devices. Further, in the present embodiment, another portable device 4 located near the own device (a certain portable device 4) and in a range communicable with the own device is referred to as a “neighboring device”. For example, in FIG. 1, the mobile devices B, C, D, and E located within the communicable range 7 of the mobile device A are neighboring devices of the mobile device A. In the mobile devices B, C, D, and E, the mobile devices 4 located in their respective communicable ranges are neighboring devices.
 携帯機器4は、リモコン3の通信可能範囲6内に位置し、リモコン3から発信された収集委任を受信した場合、代表機器機能処理部42に処理をさせる。すなわち、携帯機器4は、自機器を代表機器として動作させる。本実施の形態における代表機器機能処理部42は、応答要請発信部421、機器ID収集部422及び機器リスト送信部423を有している。応答要請発信部421は、収集委任に応じて応答要請(「応答要求」に相当)を他の携帯機器4に向けて発信する。機器ID収集部422は、応答要請に応じて他の携帯機器4(上記「近隣機器」が該当)から返信されてきた機器IDを収集し、記憶部45に保存する。機器IDは、各携帯機器4に固有の機器識別情報であり、例えば、IPアドレス(Internet Protocol Address)等である。機器リスト送信部423は、収集委任に応じて、自機器の機器ID及び機器ID収集部422が収集した機器IDを含む機器リストを生成して、リモコン3へ返信する。 The portable device 4 is located within the communicable range 6 of the remote controller 3 and causes the representative device function processing unit 42 to perform processing when receiving the collection delegation transmitted from the remote controller 3. That is, the mobile device 4 operates its own device as a representative device. The representative device function processing unit 42 in this embodiment has a response request transmission unit 421, a device ID collection unit 422, and a device list transmission unit 423. The response request transmission unit 421 transmits a response request (corresponding to “response request”) to the other mobile device 4 according to the collection delegation. The device ID collection unit 422 collects the device IDs returned from the other mobile devices 4 (corresponding to the above “neighboring device”) in response to the response request, and stores the device IDs in the storage unit 45. The device ID is device identification information unique to each mobile device 4, and is, for example, an IP address (Internet Protocol Address) or the like. The device list transmission unit 423 generates a device list including the device ID of its own device and the device ID collected by the device ID collection unit 422 according to the collection delegation, and sends it back to the remote controller 3.
 携帯機器4は、リモコン3の通信可能範囲6内に位置しない場合は、リモコン3から発信された収集委任を受信しない。しかし、代表機器から発信された応答要請を受信した場合は、非代表機器機能処理部43に処理をさせる。すなわち、応答要請を受信した携帯機器4は、自機器を代表機器以外の機器(非代表機器)として動作させる。本実施の形態における非代表機器機能処理部43は、応答要請に応じて自機器の機器IDを返信する機器ID送信部431を有している。 If the mobile device 4 is not located within the communicable range 6 of the remote controller 3, the mobile device 4 does not receive the collection delegation transmitted from the remote controller 3. However, when the response request transmitted from the representative device is received, the non-representative device function processing unit 43 is caused to perform processing. That is, the mobile device 4 that has received the response request operates its own device as a device other than the representative device (non-representative device). The non-representative device function processing unit 43 in the present embodiment has a device ID transmission unit 431 that returns the device ID of its own device in response to a response request.
 制御部44は、前述した代表機器機能処理部42及び非代表機器機能処理部43の動作制御等、他の構成要素と連携して在室人数を測定する処理の一部を担う。記憶部45は、在室人数を測定する際に他の携帯機器4から送信されてきた機器IDを記憶する。 The control unit 44 is responsible for a part of the process of measuring the number of people in the room in cooperation with other components such as the operation control of the representative device function processing unit 42 and the non-representative device function processing unit 43 described above. The storage unit 45 stores the device ID transmitted from the other mobile device 4 when measuring the number of people in the room.
 携帯機器4における各構成要素41~44は、携帯機器4に搭載されたCPUと、CPUで動作するプログラムとの協調動作により実現される。また、記憶部45は、携帯機器4に搭載されたRAM等の記憶手段にて実現される。 Each of the constituent elements 41 to 44 of the mobile device 4 is realized by the cooperative operation of the CPU mounted on the mobile device 4 and the program operating on the CPU. Further, the storage unit 45 is realized by a storage unit such as a RAM mounted on the mobile device 4.
 本実施の形態で用いるプログラムは、通信手段により提供することはもちろん、USBメモリ等のコンピュータ読み取り可能な記録媒体に格納して提供することも可能である。通信手段や記録媒体から提供されたプログラムはコンピュータにインストールされ、コンピュータのCPUがプログラムを順次実行することで各種処理が実現される。 The program used in the present embodiment can be provided not only by communication means but also by being stored in a computer-readable recording medium such as a USB memory. The program provided from the communication unit or the recording medium is installed in the computer, and the CPU of the computer sequentially executes the program to realize various processes.
 図4は、本実施の形態においてリモコン3と携帯機器(代表機器)4との間、及び、携帯機器4間でやり取りされるデータ構成例を示す図である。図4において、通信種別には、送受信されるデータの種類を識別するコードが設定される。本実施の形態では、リモコン3により収集委任が定周期的に発信されるが、時刻IDには、収集委任が発信された時刻が特定可能な識別子が設定される。時刻IDによって、ある収集委任とその他の収集委任とを、判別できる。リモコンIDには、収集委任を発信したリモコン3の識別子が設定される。機器IDには、データを送信する携帯機器4の識別子が設定される。ホップ数については、後述する実施の形態において説明する。 FIG. 4 is a diagram showing a data configuration example exchanged between the remote controller 3 and the mobile device (representative device) 4 and between the mobile devices 4 in the present embodiment. In FIG. 4, a code for identifying the type of data to be transmitted/received is set in the communication type. In the present embodiment, the collection delegation is periodically sent by the remote controller 3, and the time ID is set to an identifier capable of specifying the time when the collection delegation was sent. Based on the time ID, it is possible to discriminate between a collection commission and another collection commission. The remote controller ID is set to the identifier of the remote controller 3 that has transmitted the collection delegation. The identifier of the mobile device 4 that transmits the data is set in the device ID. The number of hops will be described in an embodiment described later.
 前述したように、リモコンの近距離無線通信可能範囲6が部屋1の全域を覆っているとは限らない。従って、リモコン3が単独では部屋1の在室者を正確に測定できる保証はない。一方、近年では、スマートフォンやタブレット端末などの携帯機器4を所持している人がほとんどである。携帯機器4を従業員全員に支給している企業もある。そして、携帯機器4には、近距離無線通信機能が標準装備されている。携帯機器4には、近距離無線通信機能としてBLEに加え、通信可能範囲が100m程度のWi-Fi(登録商標)(Wireless Fidelity)が搭載されている。本実施の形態では、在室者が建物内を移動する際には、携帯機器4を常に携行していることを前提とする。また、部屋1の中で検出した携帯機器4の台数を在室人数とみなすことで測定する。また、本実施の形態では、部屋1に設置されたリモコン3が、部屋1にある携帯機器4の台数を検出することを、携帯機器4に委任することを特徴としている。 As mentioned above, the short-range wireless communicable range 6 of the remote controller does not necessarily cover the entire area of the room 1. Therefore, there is no guarantee that the remote controller 3 alone can accurately measure the person in the room 1. On the other hand, in recent years, most people have a portable device 4 such as a smartphone or a tablet terminal. Some companies provide the mobile device 4 to all employees. The mobile device 4 is equipped with a short-range wireless communication function as a standard feature. In addition to BLE as a short-range wireless communication function, the mobile device 4 is equipped with Wi-Fi (registered trademark) (Wireless Fidelity) having a communicable range of about 100 m. In the present embodiment, it is assumed that the portable device 4 is always carried when a person in the room moves in the building. In addition, the number of mobile devices 4 detected in the room 1 is regarded as the number of people in the room to perform measurement. Further, the present embodiment is characterized in that the remote controller 3 installed in the room 1 delegates to the mobile device 4 to detect the number of the mobile devices 4 in the room 1.
 次に、本実施の形態における人数測定処理について、図5乃至図7に示すフローチャートを用いて説明する。 Next, the number-of-people measurement process in the present embodiment will be described using the flowcharts shown in FIGS. 5 to 7.
 図5において、リモコン3は、所定のアプリケーションを定周期的に起動することによって図5に示す処理を実行する。まず、アプリケーションが起動されると、収集委任発信部32は、通信部31を介して収集委任をブロードキャスト(発信)する(ステップ301)。収集委任は、図4に示すデータ構成に従って生成される。より具体的には、通信種別に、収集委任を示すコード(CR)を設定する。時刻IDに、現在時刻に基づき生成したコード(識別子)を設定する。リモコンIDに、自機器の識別子を設定する。その他の項目は、ブランクでよい。リモコン3は、収集委任の発信後、第1の所定期間のタイマを設定する。第1の所定期間として、例えば1分間のタイマを設定し、1分間に携帯機器4、すなわち代表機器から機器リストを受信するよう、機器リストを受信する処理に移行する。 In FIG. 5, the remote controller 3 executes the process shown in FIG. 5 by activating a predetermined application at regular intervals. First, when the application is activated, the collection delegation transmission unit 32 broadcasts (sends) the collection delegation via the communication unit 31 (step 301). The collection delegation is generated according to the data structure shown in FIG. More specifically, a code (CR) indicating collection authorization is set in the communication type. A code (identifier) generated based on the current time is set in the time ID. The identifier of the own device is set in the remote control ID. Other items may be blank. The remote controller 3 sets a timer for the first predetermined period after transmitting the collection delegation. As the first predetermined period, for example, a timer of 1 minute is set, and the process proceeds to the process of receiving the device list so that the device list is received from the portable device 4, that is, the representative device in 1 minute.
 ユーザは、少なくとも在室しているときには、携帯機器4の所定のアプリケーションを起動して、図6に示す処理を常時実施可能な状態にしておく必要がある。 The user needs to activate a predetermined application of the mobile device 4 at least when he/she is in the room so that the processing shown in FIG. 6 can be executed at all times.
 図6において、アプリケーションが起動されると、携帯機器4は、データの受信待ち状態になる(ステップ401でN)。ステップ401で、通信部41を介してデータが受信されると(ステップ401でY)、制御部44は、受信したデータがリモコン3から発信された収集委任の場合(ステップ402でY)、代表機器機能処理部42を動作させる。そして、代表機器機能処理部42における応答要請発信部421は、通信部41を介して応答要請をブロードキャスト(発信)する(ステップ403)。応答要請は、図4に示すデータ構成に従って応答要請発信部421により生成される。より具体的には、応答要請発信部421は、通信種別に応答要請を示すコード(AR)を設定する。また、時刻IDに、収集委任に設定されている時刻IDを設定する。また、リモコンIDに、収集委任に設定されているリモコンIDを設定する。また、機器IDに自機器の識別子を設定する。その他の項目は、ブランクでよい。時刻ID及びリモコンIDに、収集委任に設定されている項目データを設定されることで、どのリモコン3からのどの時点の収集委任に従って送受信されるデータなのかが、特定される。応答要請の発信後、代表機器機能処理部42は第2の所定期間のタイマを設定し、例えば第2の所定期間として30秒間のタイマを設定し、30秒間に他の携帯機器4、すなわち近隣機器から応答(機器ID)を受信するよう、応答を受信する処理に移行する。第2の所定期間は、前述した第1の所定期間より短い時間に設定するのが好ましい。 In FIG. 6, when the application is activated, the mobile device 4 enters a data reception waiting state (N in step 401). When the data is received via the communication unit 41 in Step 401 (Y in Step 401), the control unit 44, if the received data is the collection delegation transmitted from the remote controller 3 (Y in Step 402), the representative The device function processing unit 42 is operated. Then, the response request transmission unit 421 in the representative device function processing unit 42 broadcasts (transmits) a response request via the communication unit 41 (step 403). The response request is generated by the response request transmission unit 421 according to the data structure shown in FIG. More specifically, the response request transmission unit 421 sets a code (AR) indicating a response request in the communication type. Further, the time ID set in the collection delegation is set in the time ID. Further, the remote controller ID is set to the remote controller ID set for collection delegation. Further, the device ID is set to the identifier of the device itself. Other items may be blank. By setting the item data set in the collection delegation to the time ID and the remote control ID, it is possible to specify from which remote control 3 which data is transmitted and received according to the collection delegation. After transmitting the response request, the representative device function processing unit 42 sets a timer for the second predetermined period, for example, a timer for 30 seconds as the second predetermined period, and the other portable device 4, that is, the neighbor, for 30 seconds. The process moves to the process of receiving the response so as to receive the response (device ID) from the device. The second predetermined period is preferably set to a time shorter than the first predetermined period described above.
 前述したように、アプリケーションが起動されると、携帯機器4は、データの受信待ち状態になる(ステップ401でN)。ここで、通信部41を介してデータが受信され(ステップ401でY)、受信されたデータが他の携帯機器4、すなわち代表機器から発信された応答要請の場合(ステップ402でN)、制御部44は、自機器を代表機器の近隣機器として、また非代表機器として動作させるために非代表機器機能処理部43を動作させる。そして、非代表機器機能処理部43における機器ID送信部431は、応答要請に応答する(ステップ408)。この応答は、図4に示すデータ構成に従って生成される。より具体的には、通信種別に応答を示すコード(ACK)を設定する。時刻IDに応答要請に設定されている時刻IDを設定する。リモコンIDに応答要請に設定されているリモコンIDを設定する。機器IDに自機器の識別子(機器ID)を設定する。その他の項目はブランクでよい。時刻ID及びリモコンIDに、応答要請に設定されている項目データを設定することで、どのリモコン3からのどの時点の収集委任に従って送受信されるデータなのかが特定される。 As described above, when the application is activated, the mobile device 4 enters a data reception waiting state (N in step 401). Here, when data is received via the communication unit 41 (Y in step 401) and the received data is a response request transmitted from another mobile device 4, that is, the representative device (N in step 402), control is performed. The unit 44 operates the non-representative device function processing unit 43 in order to operate the own device as a neighboring device of the representative device and as a non-representative device. Then, the device ID transmission unit 431 in the non-representative device function processing unit 43 responds to the response request (step 408). This response is generated according to the data structure shown in FIG. More specifically, a code (ACK) indicating a response is set for the communication type. The time ID set in the response request is set in the time ID. The remote control ID set in the response request is set in the remote control ID. The device ID is set to the identifier of the device itself (device ID). Other items may be blank. By setting the item data set in the response request to the time ID and the remote controller ID, it is possible to specify from which remote controller 3 which data is transmitted and received according to the collection commission.
 代表機器に相当する携帯機器4は、タイマの設定により第2の所定期間、近隣機器から応答(機器ID)を受信する処理に移行している。代表機器に相当する携帯機器4の機器ID収集部422は、近隣機器からの応答を受信すると(ステップ404)、受信した応答を記憶部45に保存する(ステップ405)。そして、応答待ち時間(上記「第2の所定期間」)が経過していなければ(ステップ406でN)、ステップ404で応答を受信した近隣機器以外の他の近隣機器からの応答の受信待ち状態に戻る(ステップ404)。そして、応答待ち時間が経過すると(ステップ406でY)、機器リスト送信部423は、記憶部45に保存されている機器IDを読み出し、自機器の機器IDと合わせて機器リストを生成する。機器リスト送信部423は、生成した機器リストをリモコン3へ送信する(ステップ407)。なお、機器リスト送信部423は、1回の収集委任に応じた機器リストをより確実に生成するために、応答に含まれている時刻IDを参照して、同じ時刻IDの応答に含まれている機器IDを読み出すように処理してもよい。 The mobile device 4, which is a representative device, is in the process of receiving a response (device ID) from a neighboring device for a second predetermined period by setting a timer. Upon receiving the response from the neighboring device (step 404), the device ID collection unit 422 of the mobile device 4 corresponding to the representative device stores the received response in the storage unit 45 (step 405). Then, if the response waiting time (“second predetermined period” above) has not elapsed (N in step 406), a waiting state for receiving a response from a neighboring device other than the neighboring device that received the response in step 404. (Step 404). Then, when the response waiting time elapses (Y in step 406), the device list transmission unit 423 reads the device ID stored in the storage unit 45 and generates a device list together with the device ID of its own device. The device list transmission unit 423 transmits the generated device list to the remote controller 3 (step 407). It should be noted that the device list transmission unit 423 refers to the time ID included in the response in order to more reliably generate the device list corresponding to one collection delegation, and the device list transmission unit 423 includes the same time ID in the response. You may process so that the apparatus ID which exists may be read.
 このようにして、代表機器は、リモコン3からの収集委任に応じて、近隣機器から機器IDを収集する。そして、収集した機器IDに自機器の機器IDを含めて、要求元のリモコン3に返信する。 In this way, the representative device collects the device ID from the neighboring device according to the collection delegation from the remote controller 3. Then, the collected device ID includes the device ID of its own device, and returns the request to the remote controller 3 as the request source.
 なお、代表機器機能処理部42は、携帯機器4における計時処理を、機器IDを収集する処理と非同期に実施し、ステップ404において受信待ちの状態でも、応答待ち時間が経過すると受信待ち状態を解消して、ステップ407に移行させる必要がある。 The representative device function processing unit 42 performs the time counting process in the portable device 4 asynchronously with the process of collecting the device ID, and cancels the reception waiting state when the response waiting time has elapsed even in the reception waiting state in step 404. Then, it is necessary to shift to step 407.
 機器リストは、図4に示すフォーマットに従って生成される。より具体的には、通信種別に委任応答を示すコード(RR)を設定する。時刻IDに収集委任に設定されていた時刻IDを設定する。リモコンIDに収集委任に設定されているリモコンIDを設定する。機器IDに自機器の識別子を設定する。そして、その他の項目に、機器リストを設定する。 The device list is generated according to the format shown in FIG. More specifically, a code (RR) indicating a delegation response is set in the communication type. The time ID set in the collection delegation is set in the time ID. The remote control ID set to the collection delegation is set to the remote control ID. The identifier of the device itself is set in the device ID. Then, the device list is set in the other items.
 リモコン3は、図5に示すように、タイマの設定により第1の所定期間、代表機器から機器リストを受信する処理に移行している。リモコン3は、代表機器から機器リストを受信すると(ステップ302)、機器リスト収集部33は、受信した機器リストを記憶部35に保存する(ステップ303)。そして、収集時間(上記「第1の所定期間」)が経過していなければ(ステップ304でN)、その他の代表機器からの機器リストの受信待ち状態に戻る(ステップ302)。そして、収集時間が経過すると(ステップ304でY)、在室人数算出部34による在室人数を把握する処理に移行する(ステップ305)。なお、リモコン3では、計時処理を機器リストの収集処理と非同期に実施し、ステップ302において受信待ちの状態でも収集時間が経過すると受信待ち状態を解消してステップ305に移行させる必要がある。 As shown in FIG. 5, the remote controller 3 shifts to a process of receiving a device list from a representative device for a first predetermined period by setting a timer. When the remote controller 3 receives the device list from the representative device (step 302), the device list collection unit 33 stores the received device list in the storage unit 35 (step 303). Then, if the collection time (the above-mentioned “first predetermined period”) has not elapsed (N in step 304), the process returns to the state of waiting for the reception of the device list from other representative devices (step 302). Then, when the collection time has elapsed (Y in step 304), the process proceeds to the process of grasping the number of people in the room by the number of people in room calculation unit 34 (step 305). In the remote controller 3, it is necessary to perform the time counting process asynchronously with the device list collecting process, cancel the reception waiting state and move to step 305 even if the collection waiting time has elapsed in the reception waiting state in step 302.
 リモコン3が代表機器から機器リストを収集すると、在室人数算出部34は、機器リストを集計して在室人数を把握する(ステップ305)。代表機器が1台の場合、その代表機器から収集した機器リストに含まれている機器IDの数が在室人数となる。複数の代表機器から機器リストを収集した場合、重複して携帯機器4が検出されている場合がある。例えば、図1によると、携帯機器Bは、代表機器であるが、携帯機器Aの近隣機器でもあることから携帯機器Bの機器IDは重複して収集されていることになる。従って、在室人数算出部34は、各代表機器から収集された機器IDを比較しながら、同一の携帯機器4を重複してカウントしないように機器IDを集計する。そして、集計した機器IDの数が部屋1における在室人数となるので、集計した在室人数をエアコン2に送信する。在室人数をエアコン2に送信することによって、現時点における在室人数を報告する(ステップ306)。 When the remote controller 3 collects the device list from the representative devices, the in-room number calculating unit 34 totals the device list and grasps the number of people in the room (step 305). When there is one representative device, the number of device IDs included in the device list collected from the representative device is the number of people in the room. When the device list is collected from a plurality of representative devices, the mobile device 4 may be redundantly detected. For example, according to FIG. 1, the mobile device B is a representative device, but since it is also a neighboring device of the mobile device A, the device IDs of the mobile device B are redundantly collected. Therefore, the occupancy calculation unit 34 compares the device IDs collected from the representative devices, and totals the device IDs so that the same mobile device 4 is not counted twice. Then, since the total number of device IDs is the number of people in the room 1, the total number of people in the room is transmitted to the air conditioner 2. The number of people present in the room is reported by transmitting the number of people present in the air conditioner 2 (step 306).
 エアコン2では、稼働が開始されると、所定のアプリケーションを起動して空調制御部21が常時処理を実施可能な状態にしておく。 When the operation of the air conditioner 2 is started, a predetermined application is activated so that the air conditioning control unit 21 can always perform processing.
 アプリケーションが起動されると、エアコン2の空調制御部21は、図7に示すように、リモコン3からの在室人数の受信待ち状態になる(ステップ201でN)。ここで、空調制御部21は、リモコン3からの報告により在室人数を受信すると(ステップ201でY)、受信した在室人数が0人でない場合、すなわち在室者がいる場合(ステップ202でN)、今回受信した在室人数を、直前の処理で受信し記憶しておいた在室人数と比較する。空調制御部21は人数を比較することで、在室者の増減人数を算出する(ステップ203)。そして、空調制御部21は、制御テーブル22の設定内容に従い在室人数の増減人数に応じて空調制御を行う(ステップ204)。 When the application is activated, the air conditioning control unit 21 of the air conditioner 2 waits for reception of the number of people in the room from the remote controller 3 as shown in FIG. 7 (N in step 201). Here, when the air-conditioning control unit 21 receives the number of people in the room by the report from the remote controller 3 (Y in step 201), if the number of people in the room received is not 0, that is, if there is a person in the room (step 202). N), the number of people in the room received this time is compared with the number of people in the room received and stored in the immediately preceding process. The air-conditioning control unit 21 calculates the increased/decreased number of people in the room by comparing the number of people (step 203). Then, the air-conditioning control unit 21 controls the air-conditioning according to the number of people in the room according to the setting contents of the control table 22 (step 204).
 例えば、在室人数が1人増加している場合、空調制御部21は、図3に示す制御テーブル22の「+1」の設定を参照して、現時点の運転能力から60秒の間10%アップさせて運転する。このように、在室人数が増えることで室内の快適性が一時的に悪化する。例えば夏期の場合、室温の上昇が見込まれるので、冷房能力を自動的に増加させるようにする。また、例えば、在室人数が2人減少した場合、図3に示す制御テーブル22の「-2」の設定を参照して、現時点の運転能力から90秒の間15%ダウンさせて運転する。このように、在室人数が減ることで現時点の運転能力で継続運転すると過剰運転となる可能性があることから、運転能力を抑えることによって省エネ効果を得ることが可能となる。 For example, when the number of persons in the room is increased by one, the air conditioning control unit 21 refers to the setting of “+1” in the control table 22 shown in FIG. 3 and increases the driving capacity at the present time by 10% for 60 seconds. Let me drive. In this way, the comfort level inside the room temporarily deteriorates as the number of people in the room increases. For example, in summer, the room temperature is expected to rise, so the cooling capacity is automatically increased. Further, for example, when the number of persons in the room decreases by two, the driving capacity is reduced by 15% for 90 seconds from the current driving capacity by referring to the setting of "-2" in the control table 22 shown in FIG. As described above, since the number of people in the room decreases, continuous operation with the current driving capacity may result in excessive driving, so that it is possible to obtain an energy saving effect by suppressing the driving capacity.
 なお、図3に示す制御テーブル22の数値例は一例であって、部屋1の広さやエアコン2の性能等に応じて適宜設定すればよい。また、在室人数の単なる増減人数ではなく現時点の在室人数をも参照し、在室人数に応じて細かく制御テーブル22に設定するようにしてもよい。 Note that the numerical example of the control table 22 shown in FIG. 3 is an example, and may be set as appropriate according to the size of the room 1, the performance of the air conditioner 2, and the like. Further, instead of simply increasing or decreasing the number of people in the room, the number of people in the room at the present time may be referred to and set in the control table 22 in detail according to the number of people in the room.
 空調制御部21は、以上のようにして空調制御を行うと共に、今回受信した在室人数を次回受信する在室人数と比較できるように、内部に保存する(ステップ205)。もちろん、在室人数の履歴を記録しておきたければ、記憶手段(図示せず)に記録するようにしてもよい。 The air-conditioning control unit 21 performs air-conditioning control as described above and stores the number of people in the room received this time internally so that it can be compared with the number of people in the room to be received next time (step 205). Of course, if the history of the number of people in the room is to be recorded, it may be recorded in the storage means (not shown).
 一方、在室人数が0人、すなわち部屋1にユーザが不在の場合(ステップ202でY)、空調制御部21は、制御テーブル22の設定内容に従って空調制御する。図3の制御テーブル22の設定例によると、在室者が0の場合、空調制御部21は、30秒後にエアコン2の動作を停止することになる(ステップ206)。このように、在室人数に基づく空調制御を行うことで、在室者がいなくなったときには、エアコン2を自動停止できる。エアコン2を自動停止できるので、最終退出者が消し忘れした場合でも、無駄な電力消費を抑えることができ、省エネ効果を向上させることが可能となる。 On the other hand, when the number of people in the room is 0, that is, when there is no user in the room 1 (Y in step 202), the air conditioning control unit 21 controls the air conditioning according to the setting contents of the control table 22. According to the setting example of the control table 22 of FIG. 3, when the number of persons in the room is 0, the air conditioning control unit 21 stops the operation of the air conditioner 2 after 30 seconds (step 206). In this way, by performing the air conditioning control based on the number of people in the room, the air conditioner 2 can be automatically stopped when there are no more people in the room. Since the air conditioner 2 can be automatically stopped, useless power consumption can be suppressed and the energy saving effect can be improved even when the last person who forgets to turn it off.
 なお、本実施の形態においては、在室人数に変化がない場合について制御テーブル22に設定していない。すなわち、在室人数に変化がない場合、空調制御部21は、在室人数に基づく空調制御を行わず、既存の設定に基づく空調制御を行うことになる。 In this embodiment, the control table 22 is not set when the number of people in the room does not change. That is, when the number of people in the room does not change, the air conditioning control unit 21 does not perform the air conditioning control based on the number of people present in the room, but performs the air conditioning control based on the existing setting.
 本実施の形態によれば、在室人数の把握を在室者が携行する携帯機器4に委任するようにしたので、リモコン3の近距離無線通信可能範囲6では部屋1の全域を覆えない場合でも、在室人数を正確に測定することができる。 According to the present embodiment, since the grasp of the number of persons in the room is delegated to the portable device 4 carried by the person in the room, the short-range wireless communicable range 6 of the remote controller 3 cannot cover the entire area of the room 1. However, the number of people in the room can be accurately measured.
 なお、ユーザは、複数の携帯機器4を携行する場合がある。この場合は、ユーザ毎に1台の携帯機器4のみにアプリケーションプログラムをインストールできるように制限することによって、重複した人数カウントを回避するようにしてもよい。 Note that the user may carry a plurality of mobile devices 4. In this case, the duplicated person count may be avoided by restricting the application program to be installed in only one mobile device 4 for each user.
 また、本実施の形態では、定周期的に在室人数を測定している。そのため、その他の測定、特に前後に実施される測定と混同しないように送受信するデータに時刻IDを設定するようにした。また、時刻を利用することで測定が実施された時刻が特定できる。ただ、1回の測定を識別するためには、時刻でなくても、例えばユニークな文字列等を生成して用いるようにしてもよい。 Also, in the present embodiment, the number of people in the room is measured periodically. Therefore, the time ID is set to the data to be transmitted/received so as not to be confused with other measurements, especially the measurements performed before and after. In addition, the time when the measurement is performed can be specified by using the time. However, in order to identify one measurement, a unique character string or the like may be generated and used instead of the time.
実施の形態2.
 上記実施の形態1において在室人数を測定する対象となる部屋は、従業員が従事する事務室や会議室等を想定していた。しかし、ホールや体育館など在室人数を測定する範囲が非常に広い空間の場合、あるいは携帯機器4が近距離無線通信機能としてBLEのみを使用する場合(つまり、通信可能な範囲が空間に対して相対的に非常に狭い場合)等、リモコン3及び代表機器だけでは、部屋1の全域を通信可能な範囲に収められない場合も想定しうる。そこで、本実施の形態では、広い空間の場合にも対応できるように、携帯機器4を連携させて在室人数を測定できるようにした。
Embodiment 2.
In the first embodiment, the room for which the number of people in the room is to be measured is assumed to be an office room or a conference room where employees are engaged. However, in a space such as a hall or a gymnasium where the number of people in the room is very wide, or when the mobile device 4 uses only BLE as a short-range wireless communication function (that is, the communicable range is relative to the space It is possible to assume that the entire area of the room 1 cannot be included in the communicable range only with the remote controller 3 and the representative device (for example, in the case of a relatively narrow space). Therefore, in the present embodiment, the number of people in the room can be measured in cooperation with the mobile device 4 so that it can be applied to a large space.
 図8は、本実施の形態における空調システムのブロック構成図である。なお、実施の形態1と同じ構成要素には同じ符号を付け、説明を適宜省略する。本実施の形態では、エアコン2に複数のリモコン3が接続されることと、時刻サーバ10が設けられていることがシステム構成上、実施の形態1と異なっている。 FIG. 8 is a block configuration diagram of the air conditioning system in the present embodiment. The same components as those in the first embodiment are designated by the same reference numerals and the description thereof will be omitted as appropriate. The present embodiment differs from the first embodiment in that a plurality of remote controllers 3 are connected to the air conditioner 2 and the time server 10 is provided in terms of system configuration.
 上記実施の形態1において説明したように、機器3,4間でやり取りするデータに含める時刻IDは、リモコン3に設定されている時刻を用いて生成される。本実施の形態のように、複数のリモコン3が存在すると、各リモコン3での時刻が完全に一致していなければ、異なる時刻IDが生成される可能性が生じてくる。そうすると、1回の在室人数の測定時に収集された機器IDが、同じタイミングで収集されていないと、誤認される可能性が生じてくる。そこで、本実施の形態では、時刻サーバ10を設けるようにしたので、各リモコン3は、共通した時刻を用いることができる。 As described in the first embodiment, the time ID included in the data exchanged between the devices 3 and 4 is generated using the time set in the remote controller 3. When there are a plurality of remote controllers 3 as in the present embodiment, different time IDs may be generated unless the times on the respective remote controllers 3 are completely the same. Then, if the device IDs collected at one measurement of the number of people in the room are not collected at the same timing, there is a possibility that the device IDs may be mistakenly recognized. Therefore, in this embodiment, since the time server 10 is provided, each remote controller 3 can use a common time.
 なお、本実施の形態では、時刻サーバ10を設けたが、いずれか1つのリモコン3が自己の時刻を他のリモコン3に通知して、各リモコン3において時刻ID生成に用いる時刻を同一にするように構成してもよい。また、時刻は、1回の測定を判別するため、換言すると他の測定(特に、前後の測定)と混合しないようにするために用いるので、時刻でなくても、例えばユニークな文字列等を発生する手段を用いるようにしてもよい。 Although the time server 10 is provided in the present embodiment, any one remote controller 3 notifies the other remote controller 3 of its own time so that each remote controller 3 uses the same time for time ID generation. It may be configured as follows. In addition, the time is used to discriminate one measurement, in other words, to prevent it from being mixed with other measurements (particularly, the preceding and succeeding measurements). A means for generating may be used.
 エアコン2は、実施の形態1の構成に、実施の形態1ではリモコン3に設けた在室人数算出部23を有している。リモコン3は、在室人数算出部34の処理機能をエアコン2に移動させたことに伴い、収集した機器リストをエアコン2に渡すための機器リスト送信部36を設けている。 The air conditioner 2 has the configuration of the first embodiment, and in the first embodiment, has the occupant number calculation unit 23 provided in the remote controller 3. The remote controller 3 is provided with a device list transmission unit 36 for passing the collected device list to the air conditioner 2 when the processing function of the occupancy calculation unit 34 is moved to the air conditioner 2.
 携帯機器4は、構成要素は実施の形態1と同じであるが、代表機器機能処理部42及び非代表機器機能処理部43の内部構成が異なる。代表機器機能処理部42は、実施の形態1の構成に試験要請発信部424を追加した構成を有している。試験要請発信部424は、受信した収集委任に最大中継数が設定されている場合、試験要請(「経路設定要求」に相当)を発信する。「最大中継数」というのは、起点となる機器(代表機器)からデータ(後述する「試験要請」)を中継させる携帯機器4の数である。非代表機器機能処理部43は、試験要請対応処理部432及び応答要請対応処理部433を有している。試験要請対応処理部432は、他の携帯機器4から試験要請を受信した場合、受信した試験要請の送信元を、試験要請の受信以降に受信する応答要請に対する応答先と特定する。加えて、自機器が代表機器から最大中継数の位置、換言すると受信した収集委任の受信ホップ数が0に達していなければ、試験要請を発信する。ここでは、「最大中継数の位置」とは、代表機器からより離れた範囲の位置に散在する携帯機器4であって、機器IDが収集可能な範囲の位置に存在する携帯機器4の数のことである。応答要請対応処理部433は、他の携帯機器4から受信した応答要請に応じて、自機器が代表機器から最大中継数の位置に達していなければ応答要請を発信する。加えて、自機器の機器ID及び発信した応答要請に応じて他の携帯機器4から返信されてきた機器IDを返信する。また、自機器が代表機器から最大中継数の位置に達していれば自機器の機器IDを返信する。応答要請対応処理部433は、応答要請に応じて自機器の機器IDを返信する点で、実施の形態1の機器ID送信部431と同様の機能を有している。 The components of the mobile device 4 are the same as those of the first embodiment, but the internal configurations of the representative device function processing unit 42 and the non-representative device function processing unit 43 are different. The representative device function processing unit 42 has a configuration in which a test request transmission unit 424 is added to the configuration of the first embodiment. The test request transmission unit 424 transmits a test request (corresponding to “route setting request”) when the maximum number of relays is set in the received collection delegation. The “maximum number of relays” is the number of mobile devices 4 that relay data (“test request” described later) from the device (representative device) that is the starting point. The non-representative device function processing unit 43 includes a test request response processing unit 432 and a response request response processing unit 433. When the test request response processing unit 432 receives a test request from another mobile device 4, the test request response processing unit 432 identifies the transmission source of the received test request as the response destination for the response request received after the reception of the test request. In addition, if the own device does not reach the position of the maximum number of relays from the representative device, in other words, the number of reception hops of the collection delegation received, the test request is transmitted. Here, the “position of the maximum number of relays” means the number of the mobile devices 4 scattered in the position farther from the representative device and in the position where the device ID can be collected. That is. In response to the response request received from the other mobile device 4, the response request handling processing unit 433 sends a response request unless the own device has reached the maximum number of relay positions from the representative device. In addition, the device ID of the own device and the device ID returned from the other mobile device 4 in response to the transmitted response request are returned. If the own device has reached the position of the maximum number of relays from the representative device, the device ID of the own device is returned. The response request handling processing unit 433 has the same function as the device ID transmission unit 431 of the first embodiment in that the device ID of the own device is returned in response to the response request.
 次に、本実施の形態における在室人数の測定処理について説明する。なお、実施の形態1と同じ処理については、説明を適宜省略する。 Next, the measurement process of the number of people in the room in the present embodiment will be described. The description of the same processes as those in the first embodiment will be appropriately omitted.
 実施の形態1では、リモコン3は、所定のアプリケーションが起動されることによって処理を開始して、収集委任をブロードキャストしていた。本実施の形態では、時刻サーバ10からの時刻の通知をトリガとして図5に示すフローチャートが実行される。そのために、リモコン3は、所定のアプリケーションが起動されると動作を開始し、時刻サーバ10からの時刻の受信待ち状態になる。時刻サーバ10は、定周期的に時刻を各リモコン3に対して送信するので、各リモコン3における収集委任発信部32は、収集委任に含まれる時刻IDを、時刻サーバ10から送られてきた時刻に基づき生成する。このため、各リモコン3は共に、同じ時刻IDを生成することになり、1回の測定が特定できる。なお、全てのリモコン3は、同じ処理を実行する。 In the first embodiment, the remote controller 3 starts processing when a predetermined application is activated and broadcasts the collection delegation. In the present embodiment, the flowchart shown in FIG. 5 is executed with the notification of the time from the time server 10 as a trigger. Therefore, the remote controller 3 starts operating when a predetermined application is activated, and is in a waiting state for receiving the time from the time server 10. Since the time server 10 periodically transmits the time to each remote controller 3, the collection delegation transmitting unit 32 in each remote controller 3 sends the time ID included in the collection delegation to the time sent from the time server 10. Based on. Therefore, each remote controller 3 generates the same time ID, and one measurement can be specified. Note that all the remote controllers 3 execute the same processing.
 更に、本実施の形態における収集委任発信部32は、収集委任にホップ数(図4参照)を設定するが、ホップ数として前述した最大中継数を設定する。最大中継数は、リモコン3によって異ならせてもよい。以上のようにして、リモコン3は、収集委任のデータを生成して発信する。収集委任の発信後、第1の所定期間として例えば1分間のタイマを設定して、1分間に携帯機器4、すなわち代表機器から機器リストを受信するよう、機器リストを受信する処理に移行する。 Further, the collection delegation transmitting unit 32 in the present embodiment sets the number of hops (see FIG. 4) for the collection delegation, but sets the above-mentioned maximum number of relays as the number of hops. The maximum number of relays may be different depending on the remote controller 3. As described above, the remote controller 3 generates and transmits the data of the collection commission. After issuing the collection delegation, a timer for 1 minute, for example, is set as the first predetermined period, and the process proceeds to the process of receiving the device list so as to receive the device list from the portable device 4, that is, the representative device, in 1 minute.
 本実施の形態における携帯機器4は、収集委任を受信すると、2段階の処理にて携帯機器4の機器IDを収集する。この本実施の形態において特徴的な処理について、図9,10に示すフローチャートを用いて説明する。なお、実施の形態1と同じ処理には同じステップ番号を付けて、説明を適宜省略する。 Upon receiving the collection delegation, the mobile device 4 in the present embodiment collects the device ID of the mobile device 4 in a two-step process. Characteristic processing in this embodiment will be described with reference to the flowcharts shown in FIGS. The same processes as those in the first embodiment are given the same step numbers, and description thereof will be omitted as appropriate.
 図9に示すように、携帯機器4は、アプリケーションが起動されると、携帯機器4が内部に記憶しているホップ数(以下、「記憶ホップ数」)を0に、応答要請に対する応答先を未設定に、それぞれ初期化する(ステップ421)。そして、データの受信待ち状態になるが(ステップ401でN)、データが受信されると(ステップ401でY)、その受信されるデータの種別によって処理が分岐する。 As shown in FIG. 9, when the application is activated, the mobile device 4 sets the number of hops internally stored in the mobile device 4 (hereinafter, “stored hop number”) to 0 and sets the response destination to the response request. Initialized to unset (step 421). Then, although a data reception waiting state is set (N in step 401), when data is received (Y in step 401), the process branches depending on the type of the received data.
 ここでは、第1段階の処理、すなわち、機器IDの収集経路を決定する処理について説明する。 Here, the process of the first stage, that is, the process of determining the collection route of the device ID will be described.
 図9において、まず、受信したデータが収集委任の場合(ステップ402で「収集委任」)、制御部44は、代表機器機能処理部42を動作させる。そして、代表機器機能処理部42における試験要請発信部424は、第1段階の処理として、通信部41を介して試験要請をブロードキャスト(発信)する(ステップ422)。試験要請は、図4に示すデータ構成に従って生成される。より具体的には、通信種別に試験要請を示すコード(ER)を設定する。時刻ID、リモコンID及びホップ数に、収集委任に設定されている各項目データを設定する。機器IDに自機器の識別子を設定する。その他の項目はブランクでよい。時刻ID及びリモコンIDに、収集委任に設定されている項目データを設定することで、どのリモコン3からのどの時点の収集委任に従って送受信されるデータなのかを特定できる。試験要請の発信後、タイマを設定して第3の所定期間、つまり収集経路の決定に要する時間、例えば15秒間待機してから第2段階の処理に移行する。 In FIG. 9, first, when the received data is a collection delegation (“collection delegation” in step 402), the control unit 44 operates the representative device function processing unit 42. Then, the test request transmission unit 424 in the representative device function processing unit 42 broadcasts (transmits) the test request via the communication unit 41 as the first stage processing (step 422). The test request is generated according to the data structure shown in FIG. More specifically, a code (ER) indicating a test request is set for the communication type. Each item data set for collection delegation is set to the time ID, remote control ID, and hop count. The identifier of the device itself is set in the device ID. Other items may be blank. By setting the item data set in the collection delegation to the time ID and the remote control ID, it is possible to specify from which remote control 3 which data is transmitted and received according to the collection delegation. After the test request is transmitted, a timer is set to wait for a third predetermined period, that is, the time required to determine the collection route, for example, 15 seconds, and then the process proceeds to the second stage.
 携帯機器4において、受信したデータが試験要請の場合(ステップ402で「試験要請」)、制御部44は、非代表機器機能処理部43を動作させる。そして、非代表機器機能処理部43における試験要請対応処理部432は、受信した試験要請に設定されているホップ数(以下、「受信ホップ数」)を1減算する(ステップ434)。続いて、試験要請対応処理部432は、受信ホップ数と、内部に記憶しているホップ数(以下、「記憶ホップ数」)とを比較する。なお、この時点の記憶ホップ数は、ステップ421で初期化されたホップ数である。ここで、受信ホップ数が記憶ホップ数より大きい場合(ステップ424でY)、受信した試験要請の送信元となる携帯機器4の機器IDを、内部に記憶している応答先(ステップ421で初期化した応答先)に設定する(ステップ425)。応答先がすでに設定されている場合には、応答先を変更することになる。受信ホップ数が記憶ホップ数以下の場合(ステップ424でN)、ステップ426に移行する。つまり、ここの処理では、大きいホップ数を送信してきた携帯機器4の機器IDを応答要請の応答先として保持するようにしている。 In the mobile device 4, when the received data is a test request (“test request” in step 402), the control unit 44 operates the non-representative device function processing unit 43. Then, the test request handling processing unit 432 in the non-representative device function processing unit 43 subtracts 1 from the number of hops set in the received test request (hereinafter, “reception hop number”) (step 434). Subsequently, the test request handling unit 432 compares the number of received hops with the number of hops stored therein (hereinafter, “stored hop number”). The number of stored hops at this point is the number of hops initialized in step 421. If the number of received hops is larger than the number of stored hops (Y in step 424), the device ID of the portable device 4 that is the transmission source of the received test request is stored in the response destination (initially in step 421). (Step 425). If the response destination has already been set, the response destination will be changed. If the number of received hops is less than or equal to the number of stored hops (N in step 424), the process moves to step 426. That is, in this processing, the device ID of the mobile device 4 that has transmitted a large number of hops is held as the response destination of the response request.
 続いて、受信した試験要請に設定されている受信ホップ数が1以上の場合(ステップ426でY)、記憶ホップ数を受信ホップ数で更新して(ステップ427)、試験要請をブロードキャスト(発信)する(ステップ428)。このように、他の携帯機器4から発信された試験要請を受信した携帯機器4も自ら試験要請を発信することを、本実施の形態では「中継」と称している。 Subsequently, when the number of reception hops set in the received test request is 1 or more (Y in step 426), the stored hop number is updated with the number of reception hops (step 427), and the test request is broadcast (transmitted). (Step 428). As described above, in the present embodiment, the mobile device 4 that has received the test request transmitted from the other mobile device 4 itself transmits the test request is called “relay”.
 試験要請は、通信種別に試験要請を示すコード(ER)を設定する。時刻ID及びリモコンIDに、受信した試験要請に設定されている各項目データを設定する。機器IDに自機器の識別子を設定する。ホップ数にステップ427で更新した記憶ホップ数を設定する。その他の項目はブランクでよい。このように、試験要請を受信した携帯機器4は、記憶ホップ数と応答先を内部に保持すると共に、ホップ数が0になるまでは試験要請をブロードキャストすることで、代表機器からの試験要請を中継することになる。 For the test request, set a code (ER) indicating the test request for the communication type. Each item data set in the received test request is set in the time ID and the remote control ID. The identifier of the device itself is set in the device ID. The stored hop count updated in step 427 is set in the hop count. Other items may be blank. In this way, the portable device 4 that has received the test request holds the stored hop count and the response destination internally, and broadcasts the test request until the hop count becomes 0, thereby receiving the test request from the representative device. It will be relayed.
 なお、代表機器も近隣機器が発信する試験要請を受信するかもしれない。しかし、例えば、自機器が代表機器となったことを内部に保持しておき、近隣機器からの試験要請に対して対応しないようにする。 Note that the representative device may also receive the test request sent by the neighboring device. However, for example, the fact that the device itself has become the representative device is held internally so that it does not respond to a test request from a neighboring device.
 代表機器以外の携帯機器4(非代表機器)は、他の携帯機器4から試験要請を複数回受信する可能性がある。しかし、後述する応答要請に対応する先となる応答先は、ステップ425で保持したただ1つの携帯機器4に限定される。また、受信ホップ数が記憶ホップ数より大きい場合に、応答要請に対する応答先を変更するということは、自機器がより多くの携帯機器4の機器IDを中継できるようになる。つまり、代表機器からより離れた範囲に散在する携帯機器4の機器IDを収集可能となる。 Mobile device 4 (non-representative device) other than the representative device may receive the test request from other mobile devices 4 multiple times. However, the response destination, which is the destination corresponding to the response request described later, is limited to the single portable device 4 held in step 425. Further, when the number of received hops is larger than the number of stored hops, changing the response destination to the response request enables the self device to relay the device IDs of more mobile devices 4. That is, it becomes possible to collect the device IDs of the portable devices 4 scattered in a range farther from the representative device.
 代表機器から離れた位置にある携帯機器4は、減算されたホップ数を含む試験要請を受信することになり、試験要請が中継されることによってホップ数が1の試験要請(ステップ434において受信ホップ数が0となる試験要請)を受信する携帯機器4が現れてくる。受信ホップ数が0になると(ステップ426でN)、試験要請を中継しないようになる。このとき、試験要請をはじめて受信した携帯機器4においては、応答先が未設定のままなので、試験要請送信元の携帯機器の機器IDを応答先として設定する(ステップ429)。このようにして、非代表機器の応答先には、応答要請に対応する携帯機器4が設定されることになり、機器IDの収集経路が決定される。 The mobile device 4 located away from the representative device receives the test request including the subtracted hop number, and the test request is relayed, so that the test request having the hop number of 1 (reception hop in step 434). The mobile device 4 that receives the test request (the number of which is 0) appears. When the number of received hops becomes 0 (N in step 426), the test request is not relayed. At this time, in the mobile device 4 which has received the test request for the first time, since the response destination remains unset, the device ID of the mobile device of the test request transmission source is set as the response destination (step 429). In this way, the portable device 4 corresponding to the response request is set as the response destination of the non-representative device, and the collection route of the device ID is determined.
 第1段階の処理では、以上のようにして機器IDを収集する経路を決定することができる。経路上の最上位は代表機器が存在するが、以降の説明では、経路上の末端の位置にある携帯機器4を「末端機器」と称することにする。そして、代表機器と末端機器との間には、0以上3以下の携帯機器4が存在しうるが、この代表機器と末端機器の間に位置する携帯機器4のことを「中間機器」と称することにする。 In the first stage processing, the route for collecting the device ID can be determined as described above. Although the representative device exists at the highest position on the route, in the following description, the portable device 4 at the end position on the route will be referred to as a “terminal device”. Although there can be 0 to 3 mobile devices 4 between the representative device and the terminal device, the mobile device 4 located between the representative device and the terminal device is referred to as an "intermediate device". I will decide.
 次に、第2段階の処理について説明する。第2段階の処理は、実施の形態1で説明した、部屋1にある携帯機器の機器IDを収集する処理である。 Next, the second stage processing will be explained. The process of the second stage is a process of collecting the device IDs of the mobile devices in the room 1 described in the first embodiment.
 第3の所定期間が経過すると、代表機器機能処理部42における応答要請発信部421は、応答要請をするために、図9に示すように、機器ID収集処理を実行する(ステップ423)。機器ID収集処理は、基本的には実施の形態1で説明した処理(ステップ403~407)と同様である。すなわち、応答要請発信部421は、図10に示すように、通信部41を介して応答要請をブロードキャスト(発信)する(ステップ451)。応答要請は、実施の形態1と同じでよい。応答要請に設定されるホップ数は、第1段階の処理で用いるので、第2段階の処理では不要である。応答要請の発信後、第2の所定期間として例えば30秒間のタイマを設定して、30秒間に他の携帯機器4、すなわち近隣機器から応答(機器ID)を受信するように、応答を受信する処理に移行する。第2の所定期間は、前述した第1の所定期間より短い時間である。 When the third predetermined period has elapsed, the response request transmission unit 421 in the representative device function processing unit 42 executes a device ID collection process as shown in FIG. 9 to request a response (step 423). The device ID collection process is basically the same as the process (steps 403 to 407) described in the first embodiment. That is, the response request transmission unit 421 broadcasts (transmits) a response request via the communication unit 41, as shown in FIG. 10 (step 451). The response request may be the same as in the first embodiment. The number of hops set in the response request is used in the first stage process and is not necessary in the second stage process. After transmitting the response request, a timer is set as a second predetermined period, for example, for 30 seconds, and the response is received so that the response (device ID) is received from another portable device 4, that is, a neighboring device in 30 seconds. Move to processing. The second predetermined period is a time shorter than the first predetermined period described above.
 次に、図9に示すように、受信したデータが応答要請の場合(ステップ402で「応答要請」)、非代表機器機能処理部43における応答要請対応処理部433は、応答要請の送信元を確認する。応答要請の送信元が内部に保持している応答先と一致しない場合(ステップ430でN)、機器IDの収集経路にない携帯機器4から応答要請を受信したことになるので、携帯機器4は、受信した応答要請に応じることなく、次のデータの受信待ち状態に戻る(ステップ401)。 Next, as shown in FIG. 9, when the received data is a response request (“response request” in step 402), the response request handling processing unit 433 in the non-representative device function processing unit 43 determines the sender of the response request. Check. If the source of the response request does not match the internally stored response destination (N in step 430), the mobile device 4 has received the response request from the mobile device 4 that is not in the device ID collection path. , Without returning to the received response request, returns to the waiting state for receiving the next data (step 401).
 一方、応答要請の送信元が内部に保持している応答先と一致する場合(ステップ430でY)、応答要請対応処理部433は、内部に記憶している記憶ホップ数を確認し、ホップ数が1以上でない場合、すなわち記憶ホップ数が0の場合(ステップ431でN)、自機器は、経路上の末端にある携帯機器4、すなわち末端機器と判断できる。従って、応答要請対応処理部433は、応答要請に応答する(ステップ433)。つまり、応答要請に対して自機器の機器IDを返信する。 On the other hand, when the transmission source of the response request matches the internally stored response destination (Y in step 430), the response request handling processing unit 433 confirms the stored hop count stored internally, and determines the hop count. Is not 1 or more, that is, when the number of stored hops is 0 (N in step 431), the own device can be determined to be the mobile device 4 at the end on the route, that is, the end device. Therefore, the response request handling unit 433 responds to the response request (step 433). That is, the device ID of its own device is returned in response to the response request.
 一方、記憶ホップ数が1以上の場合(ステップ431でY)、自機器は、経路上の途中にある携帯機器4、すなわち中間機器と判断できる。従って、応答要請対応処理部433は、応答要請に応じて機器ID収集処理を実行する(ステップ432)。機器ID収集処理は、基本的には実施の形態1で説明した処理と同様である。すなわち、応答要請対応処理部433は、図10のように、通信部41を介して応答要請をブロードキャスト(発信)する(ステップ451)。応答要請は、実施の形態1と同じでよい。応答要請に設定するホップ数は、第1段階の処理で用いるので、第2段階の処理では不要である。応答要請の発信後、第4の所定期間として例えば20秒間のタイマを設定して、20秒間に他の携帯機器4から応答(機器ID)を受信するように、応答を受信する処理に移行する。第4の所定期間は、前述した代表機器が機器IDの収集に設定した第2の所定期間より短い時間に設定するのが好ましい。 On the other hand, when the number of stored hops is 1 or more (Y in step 431), the self device can be determined to be the mobile device 4 on the way on the route, that is, the intermediate device. Therefore, the response request handling processing unit 433 executes the device ID collection processing in response to the response request (step 432). The device ID collection process is basically the same as the process described in the first embodiment. That is, the response request handling unit 433 broadcasts (transmits) a response request via the communication unit 41, as shown in FIG. 10 (step 451). The response request may be the same as in the first embodiment. The number of hops set in the response request is used in the process of the first stage and is not necessary in the process of the second stage. After the response request is sent, a timer for 20 seconds, for example, is set as the fourth predetermined period, and the process proceeds to receive a response so that a response (device ID) is received from another portable device 4 for 20 seconds. .. The fourth predetermined period is preferably set to a time shorter than the second predetermined period set by the representative device for collecting the device ID.
 ステップ452において、他の携帯機器4からの応答を待っていた携帯機器4(代表機器又は中間機器、ここでは中間機器を想定して説明する)は、他の携帯機器4が末端機器の場合、その末端機器から当該携帯機器4の機器IDを受信する(ステップ452)。他の携帯機器4が中間機器の場合は、機器リストを受信することになる。他の携帯機器4からの応答を受信すると、その応答に含まれている機器ID(あるいは機器リストに含まれている機器ID)を記憶部45に保存する(ステップ453)。 In step 452, the mobile device 4 (representative device or intermediate device, which is assumed here to be an intermediate device) waiting for a response from the other mobile device 4 is The device ID of the portable device 4 is received from the terminal device (step 452). If the other mobile device 4 is an intermediate device, the device list is received. When a response from another mobile device 4 is received, the device ID included in the response (or the device ID included in the device list) is stored in the storage unit 45 (step 453).
 そして、応答待ち時間(上記「第4の所定期間」)が経過していなければ(ステップ454でN)、その他の携帯機器4からの応答の受信待ち状態に戻る(ステップ452)。そして、応答待ち時間が経過すると(ステップ454でY)、応答要請対応処理部433は、記憶部45に保存されている機器IDを読み出し、自機器の機器IDと合わせて機器リストを生成して、上位の携帯機器4へ送信する(ステップ455)。上位の携帯機器4というのは、代表機器又は応答要請送信元の携帯機器4(中間機器)である。 If the response waiting time (the “fourth predetermined period” above) has not elapsed (N in step 454), the process returns to the waiting state for receiving a response from the other mobile device 4 (step 452). Then, when the response waiting time has elapsed (Y in step 454), the response request handling processing unit 433 reads the device ID stored in the storage unit 45 and generates a device list together with the device ID of the self device. , And transmits to the mobile device 4 of the higher rank (step 455). The high-order mobile device 4 is the representative device or the mobile device 4 (intermediate device) that is the source of the response request.
 代表機器に相当する携帯機器4は、タイマの設定により第2の所定期間、近隣機器から応答(機器ID)を受信する処理に移行している。代表機器に相当する携帯機器4は、近隣機器からの応答を受信すると(ステップ452)、その応答に含まれている機器ID(あるいは機器リスト)を記憶部45に保存する(ステップ453)。そして、応答待ち時間(上記「第2の所定期間」)が経過していなければ(ステップ454でN)、その他の近隣機器からの応答の受信待ち状態に戻る(ステップ452)。そして、応答待ち時間が経過すると(ステップ454でY)、機器リスト送信部423は、記憶部45に保存されている機器IDを読み出し、自機器の機器IDと合わせて機器リストを生成してリモコン3へ送信する(ステップ455)。 The mobile device 4, which is a representative device, is in the process of receiving a response (device ID) from a neighboring device for a second predetermined period by setting a timer. Upon receiving the response from the neighboring device (step 452), the portable device 4 corresponding to the representative device stores the device ID (or the device list) included in the response in the storage unit 45 (step 453). If the response waiting time (the “second predetermined period” above) has not elapsed (N in step 454), the process returns to the state of waiting for a response from another neighboring device (step 452). Then, when the response waiting time elapses (Y in step 454), the device list transmission unit 423 reads the device ID stored in the storage unit 45, generates a device list together with the device ID of its own device, and performs remote control. 3 (step 455).
 リモコン3は、タイマの設定により第1の所定期間、代表機器から機器リストを受信する処理に移行している。リモコン3は、代表機器から機器リストを受信すると、収集委任発信部32は、図5に示すように、受信した機器リストを記憶部35に保存する(ステップ303)。そして、収集時間(上記「第1の所定期間」)が経過していなければ(ステップ304でN)、その他の代表機器からの機器リストの受信待ち状態に戻る(ステップ302)。そして、収集時間が経過すると(ステップ304でY)、記憶部35に保存していた機器リスト(機器ID)を、時刻IDを付加してエアコン2に通知する。 The remote controller 3 shifts to the process of receiving the device list from the representative device for the first predetermined period by setting the timer. When the remote controller 3 receives the device list from the representative device, the collection/delegation transmitting unit 32 stores the received device list in the storage unit 35 as shown in FIG. 5 (step 303). Then, if the collection time (the above-mentioned “first predetermined period”) has not elapsed (N in step 304), the process returns to the state of waiting for the reception of the device list from other representative devices (step 302). When the collection time has elapsed (Y in step 304), the air conditioner 2 is notified of the device list (device ID) stored in the storage unit 35 with the time ID added.
 エアコン2に接続されているリモコン3は、上記説明したように動作するので、エアコン2は、収集時間経過後に各リモコン3からそれぞれ機器リストを受信することになる。これにより、在室人数算出部23は、同一の時刻IDが付加されている機器リストの中から機器IDを取り出し、同じ機器IDを重複してカウントしないように集計する。このようにして得られた機器IDの数が、部屋1の在室人数となる。 Since the remote controller 3 connected to the air conditioner 2 operates as described above, the air conditioner 2 receives the device list from each remote controller 3 after the collection time has elapsed. Thereby, the occupancy calculation unit 23 takes out the device IDs from the device list to which the same time ID is added, and totals the same device IDs so as not to be counted twice. The number of device IDs thus obtained is the number of people in the room 1.
 現時点の在室人数が測定できると、エアコン2は、実施の形態1と同様に制御テーブル22の設定内容に従って空調制御を行う。 When the number of people present in the room can be measured, the air conditioner 2 performs air conditioning control according to the setting contents of the control table 22 as in the first embodiment.
 以上説明したように、本実施の形態によれば、エアコン2に複数のリモコン3が接続されている場合でも、各測定時点において在室人数を正確に測定することができる。 As described above, according to the present embodiment, even when a plurality of remote controllers 3 are connected to the air conditioner 2, it is possible to accurately measure the number of people in the room at each measurement time point.
 なお、部屋1に複数のエアコン2が設置されている場合、実施の形態1で説明した構成を複数組み合わせて実現できる。ただ、この場合、エアコン2の上位にあるサーバ等が各エアコン2若しくは各エアコン2に接続されるリモコン3から機器リストを収集して、収集した機器リストに含まれている同じ機器IDを重複してカウントしないように、集計する必要がある。 Note that when a plurality of air conditioners 2 are installed in the room 1, it can be realized by combining a plurality of configurations described in the first embodiment. However, in this case, a server or the like above the air conditioner 2 collects the device list from each air conditioner 2 or the remote controller 3 connected to each air conditioner 2 and duplicates the same device ID included in the collected device list. It is necessary to add up so as not to count.
実施の形態3.
 実施の形態3によって、実施の形態1、実施の形態2の所在人数測定システムを構成するエアコン2、リモコン3及び携帯機器4のハードウェア構成を補足する。
Embodiment 3.
The third embodiment supplements the hardware configurations of the air conditioner 2, the remote controller 3, and the portable device 4 that constitute the occupancy measurement system of the first and second embodiments.
 実施の形態1、実施の形態2で述べた所在人数測定システムを構成するエアコン2、リモコン3及び携帯機器4の機能は、プログラムで実現される。しかし、エアコン2、リモコン3及び携帯機器4の機能が、ハードウェアで実現されてもよい。 The functions of the air conditioner 2, the remote controller 3, and the mobile device 4 which form the people counting system described in the first and second embodiments are realized by a program. However, the functions of the air conditioner 2, the remote controller 3, and the mobile device 4 may be realized by hardware.
 図11は、所在人数測定システムを構成するエアコン2、リモコン3及び携帯機器4の機能がハードウェアで実現される構成を示す図である。図11の電子回路90は、所在人数測定システムを構成するエアコン2の空調制御部21、及び在室人数算出部23、リモコン3の収集委任発信部32、機器リスト収集部33、在室人数算出部34、及び通信部31の機能を実現する専用の電子回路である。また、携帯機器4の代表機器機能処理部42、応答要請発信部421、機器ID収集部422、機器リスト送信部423、試験要請発信部424、非代表機器機能処理部43、機器ID送信部431、制御部44、通信部41、試験要請対応処理部432、及び、応答要請対応処理部433の機能を実現する専用の電子回路である。
 電子回路90は、信号線91に接続している。電子回路90は、具体的には、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA、ASIC、または、FPGAである。GAは、Gate Arrayの略語である。ASICは、Application Specific Integrated Circuitの略語である。FPGAは、Field-Programmable
 Gate Arrayの略語である。
FIG. 11 is a diagram showing a configuration in which the functions of the air conditioner 2, the remote controller 3, and the mobile device 4 which form the occupancy measurement system are realized by hardware. The electronic circuit 90 of FIG. 11 includes an air-conditioning control unit 21 of the air conditioner 2 that constitutes the occupancy measurement system, an occupancy calculation unit 23, a collection delegation transmission unit 32 of the remote controller 3, a device list collection unit 33, and an occupancy calculation. It is a dedicated electronic circuit that realizes the functions of the unit 34 and the communication unit 31. In addition, the representative device function processing unit 42, the response request transmission unit 421, the device ID collection unit 422, the device list transmission unit 423, the test request transmission unit 424, the non-representative device function processing unit 43, and the device ID transmission unit 431 of the mobile device 4. , A control unit 44, a communication unit 41, a test request response processing unit 432, and a response request response processing unit 433.
The electronic circuit 90 is connected to the signal line 91. The electronic circuit 90 is specifically a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA. GA is an abbreviation for Gate Array. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is Field-Programmable
Abbreviation for Gate Array.
 所在人数測定システムを構成するエアコン2、リモコン3及び携帯機器4の構成要素の機能は、1つの電子回路で実現されてもよいし、複数の電子回路に分散して実現されてもよい。また、所在人数測定システムを構成するエアコン2、リモコン3及び携帯機器4の構成要素の一部の機能が電子回路で実現され、残りの機能がソフトウェアで実現されてもよい。 The functions of the components of the air conditioner 2, the remote controller 3, and the mobile device 4 that make up the number-of-people measurement system may be realized by one electronic circuit or may be realized by being distributed to a plurality of electronic circuits. In addition, some functions of the components of the air conditioner 2, the remote controller 3, and the mobile device 4 which form the occupancy measurement system may be realized by an electronic circuit, and the remaining functions may be realized by software.
 CPUと電子回路90の各々は、プロセッシングサーキットリとも呼ばれる。エアコン2の空調制御部21、在室人数算出部23と、リモコン3の収集委任発信部32、機器リスト収集部33、在室人数算出部34、通信部31と、携帯機器4の代表機器機能処理部42、応答要請発信部421、機器ID収集部422、機器リスト送信部423、試験要請発信部424、非代表機器機能処理部43、機器ID送信部431、制御部44、通信部41、試験要請対応処理部432、応答要請対応処理部433との機能を実現する専用の電子回路である。エアコン2の空調制御部21、在室人数算出部23と、リモコン3の収集委任発信部32、機器リスト収集部33、在室人数算出部34、通信部31と、携帯機器4の代表機器機能処理部42、応答要請発信部421、機器ID収集部422、機器リスト送信部423、試験要請発信部424、非代表機器機能処理部43、機器ID送信部431、制御部44、通信部41、試験要請対応処理部432、応答要請対応処理部433との機能が、プロセッシングサーキットリにより実現されてもよい。 Each of the CPU and the electronic circuit 90 is also called a processing circuit. Air-conditioning control unit 21 of air conditioner 2, occupancy calculation unit 23, collection delegation transmission unit 32 of remote controller 3, device list collection unit 33, occupancy calculation unit 34, communication unit 31, and representative device function of portable device 4. The processing unit 42, the response request transmission unit 421, the device ID collection unit 422, the device list transmission unit 423, the test request transmission unit 424, the non-representative device function processing unit 43, the device ID transmission unit 431, the control unit 44, the communication unit 41, It is a dedicated electronic circuit that realizes the functions of the test request response processing unit 432 and the response request response processing unit 433. Air-conditioning control unit 21 of air conditioner 2, occupancy calculation unit 23, collection delegation transmission unit 32 of remote controller 3, device list collection unit 33, occupancy calculation unit 34, communication unit 31, and representative device function of portable device 4. The processing unit 42, the response request transmission unit 421, the device ID collection unit 422, the device list transmission unit 423, the test request transmission unit 424, the non-representative device function processing unit 43, the device ID transmission unit 431, the control unit 44, the communication unit 41, The functions of the test request response processing unit 432 and the response request response processing unit 433 may be realized by the processing circuitry.
 なお、実施の形態1、実施の形態2で説明した所在人数測定システムを構成するエアコン2、リモコン3及び携帯機器4の各構成要素は、以下のように、各手段及び各部に相当することを述べておく。
(1)収集委任発信部32は、要求発信手段に相当する。
(2)機器リスト収集部33は、機器台数情報収集手段に相当する。
(3)代表機器機能処理部42は、代表機器機能処理手段に相当する。
(4)非代表機器機能処理部43は、非代表機器機能処理手段に相当する。
(5)在室人数算出部34は、在室人数計算手段に相当する。
(6)応答要請発信部421は、応答要求発信部に相当する。
(7)機器ID収集部422は、機器識別情報収集部に相当する。
(8)機器リスト送信部423は、機器台数情報返信部に相当する。
(9)試験要請発信部424は、経路設定処理部に相当する。
(10)試験要請対応処理部432は、経路設定要求対応処理部に相当する。
(11)応答要請対応処理部433は、応答要求対応処理部に相当する。
(12)時刻サーバ10は、提供手段に相当する。
The components of the air conditioner 2, the remote controller 3 and the portable device 4 that compose the occupancy measurement system described in the first and second embodiments correspond to respective means and units as follows. Please note.
(1) The collection delegation transmission unit 32 corresponds to a request transmission unit.
(2) The device list collection unit 33 corresponds to device number information collection means.
(3) The representative device function processing unit 42 corresponds to a representative device function processing means.
(4) The non-representative device function processing unit 43 corresponds to non-representative device function processing means.
(5) The occupancy calculation section 34 corresponds to occupancy calculation means.
(6) The response request transmission unit 421 corresponds to the response request transmission unit.
(7) The device ID collection unit 422 corresponds to the device identification information collection unit.
(8) The device list transmission unit 423 corresponds to the device number information reply unit.
(9) The test request transmission unit 424 corresponds to the route setting processing unit.
(10) The test request handling unit 432 corresponds to the route setting request handling unit.
(11) The response request handling processing unit 433 corresponds to the response request handling processing unit.
(12) The time server 10 corresponds to a providing means.
 1 部屋、2 エアコン、3 リモコン、4 携帯機器、5 出入口、6,7 通信可能範囲、10 時刻サーバ、21 空調制御部、22 制御テーブル、23 在室人数算出部、31,41 通信部、32 収集委任発信部、33 機器リスト収集部、34 在室人数算出部、35,45 記憶部、36 機器リスト送信部、42 代表機器機能処理部、43 非代表機器機能処理部、44 制御部、90 電子回路、91 信号線、421 応答要請発信部、422 機器ID収集部、423 機器リスト送信部、424 試験要請発信部、431 機器ID送信部、432 試験要請対応処理部、433 応答要請対応処理部。 1 room, 2 air conditioner, 3 remote controller, 4 portable device, 5 entrance, 6 and 7 communication range, 10 time server, 21 air conditioning control unit, 22 control table, 23 occupancy calculation unit, 31, 41 communication unit, 32 Collection delegation transmission unit, 33 device list collection unit, 34 occupancy calculation unit, 35, 45 storage unit, 36 device list transmission unit, 42 representative device function processing unit, 43 non-representative device function processing unit, 44 control unit, 90 Electronic circuit, 91 signal line, 421 response request transmission unit, 422 device ID collection unit, 423 device list transmission unit, 424 test request transmission unit, 431 device ID transmission unit, 432 test request response processing unit, 433 response request response processing unit ..

Claims (7)

  1.  空調機が設置された空間に設置され、近距離無線通信機能を有する前記空調機のリモコンと、
     前記空間に所在する各ユーザに携帯され、近距離無線通信機能を有する携帯機器と、
     を有し、
     前記リモコンは、
     台数収集委任要求を発信する要求発信手段と、
     前記台数収集委任要求に応じて前記携帯機器から返信されてきた機器台数情報を収集する機器台数情報収集手段と、
     を有し、
     前記携帯機器は、
     前記リモコンから発信された台数収集委任要求を受信した場合、自機器を代表機器として動作させることで応答要求を発信すると共に、前記台数収集委任要求に応じて自機器の機器識別情報及び前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を含む機器台数情報を返信する代表機器機能処理手段と、
     前記リモコンから発信された台数収集委任要求を受信することなく前記代表機器として動作する他の前記携帯機器から発信された応答要求を受信した場合、自機器を非代表機器として動作させることで前記応答要求に応じて自機器の機器識別情報を返信する非代表機器機能処理手段と、
     を有し、
     前記機器台数情報収集手段が収集した機器台数情報に基づき前記空間の所在人数を計算する在室人数計算手段を有することを特徴とする所在人数測定システム。
    A remote controller for the air conditioner, which is installed in a space where the air conditioner is installed and has a short-range wireless communication function,
    A mobile device carried by each user located in the space and having a short-range wireless communication function,
    Have
    The remote control is
    A request transmission means for transmitting a number collection commission request,
    A device number information collecting means for collecting the device number information returned from the portable device in response to the number collection commission request,
    Have
    The portable device is
    When receiving the unit number collection delegation request sent from the remote controller, the self-device operates as a representative device to send a response request, and in response to the unit number collection delegation request, the device identification information of the own device and the response request. Representative device function processing means for returning device number information including device identification information returned from the other portable device according to
    When receiving a response request transmitted from the other portable device that operates as the representative device without receiving the number collection delegation request transmitted from the remote controller, the response is obtained by operating the own device as a non-representative device. A non-representative device function processing means for returning device identification information of its own device in response to a request,
    Have
    An occupancy measuring system comprising an occupancy calculation unit for calculating the occupancy of the space based on the device number information collected by the device number information collecting unit.
  2.  前記代表機器機能処理手段は、
     前記台数収集委任要求に応じて応答要求を発信する応答要求発信部と、
     前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を収集する機器識別情報収集部と、
     前記台数収集委任要求に応じて、自機器の機器識別情報及び前記機器識別情報収集部が収集した機器識別情報を含む機器台数情報を生成して返信する機器台数情報返信部と、
     を有することを特徴とする請求項1に記載の所在人数測定システム。
    The representative device function processing means,
    A response request transmission unit for transmitting a response request in response to the number collection commission request,
    A device identification information collection unit that collects device identification information returned from the other mobile device in response to the response request,
    In response to the number-of-units collection delegation request, a unit-number information reply unit that generates and returns unit number information including the unit identification information of the own unit and the unit identification information collected by the unit identification information collection unit,
    The occupancy measurement system according to claim 1, further comprising:
  3.  前記代表機器機能処理手段は、
     前記台数収集委任要求に最大中継数が設定されている場合、経路設定要求を発信する経路設定処理部と、
     前記台数収集委任要求を受信してから所定時間経過後に応答要求を発信する応答要求発信部と、
     前記応答要求発信部が発信した応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を収集する機器識別情報収集部と、
     前記台数収集委任要求に応じて、自機器の機器識別情報及び前記機器識別情報収集部が収集した機器識別情報を含む機器台数情報を生成して返信する機器台数情報返信部と、
     を有し、
     前記非代表機器機能処理手段は、
     他の前記携帯機器から経路設定要求を受信した場合、受信した経路設定要求の送信元を、応答要求に対する応答先と特定すると共に、自機器が前記代表機器から最大中継数の位置に達していなければ経路設定要求を発信する経路設定要求対応処理部と、
     他の前記携帯機器から受信した応答要求に応じて、自機器が前記代表機器から最大中継数の位置に達していなければ応答要求を発信すると共に自機器の機器識別情報及び発信した応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を返信し、自機器が前記代表機器から最大中継数の位置に達していれば自機器の機器識別情報を返信する応答要求対応処理部と、
     を有することを特徴とする請求項1に記載の所在人数測定システム。
    The representative device function processing means,
    When the maximum number of relays is set in the number collection delegation request, a route setting processing unit that issues a route setting request,
    A response request transmission unit for transmitting a response request after a predetermined time has elapsed after receiving the number-of-units collection delegation request,
    A device identification information collection unit that collects device identification information returned from the other portable device in response to the response request transmitted by the response request transmission unit,
    In response to the number-of-units collection delegation request, a unit-number information reply unit that generates and returns unit number information including the unit identification information of the own unit and the unit identification information collected by the unit identification information collection unit,
    Have
    The non-representative device function processing means,
    When a route setting request is received from another portable device, the source of the received route setting request must be specified as the response destination for the response request, and the own device must reach the position of the maximum number of relays from the representative device. For example, a route setting request handling unit that sends a route setting request,
    In response to the response request received from the other portable device, if the own device does not reach the position of the maximum number of relays from the representative device, the response request is transmitted and the device identification information of the own device and the transmitted response request are transmitted. And a response request response processing unit that returns the device identification information returned from the other portable device, and returns the device identification information of the own device if the own device has reached the position of the maximum number of relays from the representative device. ,
    The occupancy measurement system according to claim 1, further comprising:
  4.  前記経路設定要求対応処理部は、複数の経路設定要求を受信した場合、前記代表機器からの中継数が大きい経路設定要求の送信元を、応答要求に対する応答先と特定することを特徴とする請求項3に記載の所在人数測定システム。 The route setting request handling processing unit, when receiving a plurality of route setting requests, specifies a transmission source of the route setting request having a large number of relays from the representative device as a response destination to the response request. The number-of-people measuring system according to Item 3.
  5.  複数の前記リモコンが前記空調機に設けられている場合、前記各リモコンに対して共通の識別コードを提供する提供手段を有することを特徴とする請求項1に記載の所在人数測定システム。 The occupancy measurement system according to claim 1, further comprising: providing means for providing a common identification code to each of the remote controls when a plurality of the remote controls are provided in the air conditioner.
  6.  空調機及び近距離無線通信機能を有する前記空調機のリモコンが設置されている空間に所在するユーザにより携行される携帯機器において、
     前記リモコンから発信された台数収集委任要求を受信した場合、自機器を代表機器として動作させることで応答要求を発信すると共に、前記台数収集委任要求に応じて自機器の機器識別情報及び前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を含む機器台数情報を返信する代表機器機能処理手段と、
     前記リモコンから発信された台数収集委任要求を受信することなく前記代表機器として動作する他の前記携帯機器から発信された応答要求を受信した場合、自機器を非代表機器として動作させることで前記応答要求に応じて自機器の機器識別情報を返信する非代表機器機能処理手段と、
     を有することを特徴とする携帯機器。
    In a portable device carried by a user located in a space where an air conditioner and a remote controller for the air conditioner having a short-range wireless communication function are installed,
    When receiving the unit number collection delegation request sent from the remote controller, the self-device operates as a representative device to send a response request, and in response to the unit number collection delegation request, the device identification information of the own device and the response request. Representative device function processing means for returning device number information including device identification information returned from the other portable device according to
    When receiving a response request transmitted from the other portable device that operates as the representative device without receiving the number collection delegation request transmitted from the remote controller, the response is obtained by operating the own device as a non-representative device. A non-representative device function processing means for returning device identification information of its own device in response to a request,
    A mobile device comprising:
  7.  空調機及び近距離無線通信機能を有する前記空調機のリモコンが設置されている空間に所在するユーザにより携行される携帯機器に搭載されるコンピュータを、
     前記リモコンから発信された台数収集委任要求を受信した場合、自機器を代表機器として動作させることで応答要求を発信すると共に、前記台数収集委任要求に応じて自機器の機器識別情報及び前記応答要求に応じて他の前記携帯機器から返信されてきた機器識別情報を含む機器台数情報を返信する代表機器機能処理手段、
     前記リモコンから発信された台数収集委任要求を受信することなく前記代表機器として動作する他の前記携帯機器から発信された応答要求を受信した場合、自機器を非代表機器として動作させることで前記応答要求に応じて自機器の機器識別情報を返信する非代表機器機能処理手段、
     として機能させるためのプログラム。
    A computer mounted on a portable device carried by a user located in a space where a remote controller of the air conditioner and a remote controller of the air conditioner having a short-range wireless communication function is installed,
    When receiving the unit number collection delegation request sent from the remote controller, the self-device operates as a representative device to send a response request, and in response to the unit number collection delegation request, the device identification information of the own device and the response request. Representative device function processing means for returning the number-of-devices information including the device identification information returned from the other portable device according to
    When receiving a response request transmitted from the other portable device that operates as the representative device without receiving the number collection delegation request transmitted from the remote controller, the response is obtained by operating the own device as a non-representative device. Non-representative device function processing means for returning the device identification information of its own device in response to a request,
    Program to function as.
PCT/JP2020/003302 2019-02-01 2020-01-30 Present number of people measuring system, portable device, and program WO2020158837A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2019-016952 2019-02-01
JP2019016952 2019-02-01
JP2020-003009 2020-01-10
JP2020003009A JP7030859B2 (en) 2019-02-01 2020-01-10 Location measurement system, mobile devices and programs

Publications (1)

Publication Number Publication Date
WO2020158837A1 true WO2020158837A1 (en) 2020-08-06

Family

ID=71841434

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/003302 WO2020158837A1 (en) 2019-02-01 2020-01-30 Present number of people measuring system, portable device, and program

Country Status (1)

Country Link
WO (1) WO2020158837A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112283897A (en) * 2020-09-18 2021-01-29 海信(山东)空调有限公司 Air conditioner and control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005257129A (en) * 2004-03-10 2005-09-22 Matsushita Electric Works Ltd Air conditioner
JP2010038375A (en) * 2008-07-31 2010-02-18 Mitsubishi Electric Corp Air conditioning controller and air conditioning control method
JP2016023808A (en) * 2014-07-16 2016-02-08 アズビル株式会社 System and method for counting number of persons remaining in room

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005257129A (en) * 2004-03-10 2005-09-22 Matsushita Electric Works Ltd Air conditioner
JP2010038375A (en) * 2008-07-31 2010-02-18 Mitsubishi Electric Corp Air conditioning controller and air conditioning control method
JP2016023808A (en) * 2014-07-16 2016-02-08 アズビル株式会社 System and method for counting number of persons remaining in room

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112283897A (en) * 2020-09-18 2021-01-29 海信(山东)空调有限公司 Air conditioner and control method

Similar Documents

Publication Publication Date Title
EP3237811B1 (en) Occupancy sensing and building control using mobile devices
US9516474B2 (en) Passive indoor occupancy detection and location tracking
JP4453679B2 (en) Equipment control system and equipment control apparatus
JP4989702B2 (en) Equipment control terminal, equipment control system, equipment control method and program
US20140277763A1 (en) System for Controlling Building Services Based on Occupant
JPWO2012053230A1 (en) Air conditioning control device, air conditioning control method and program
JP2017187195A (en) Air conditioning control device, air conditioning control system, air conditioning control method and program
US20210067595A1 (en) Determining a location context of a device
US11297592B2 (en) Electronic beacon for a localization system
US10979962B2 (en) Wireless system configuration of master zone devices based on signal strength analysis
WO2020158837A1 (en) Present number of people measuring system, portable device, and program
JP2020125898A (en) Number-of-persons measuring system, mobile device, and program
JP6972371B2 (en) Air conditioning system
JP4535042B2 (en) Demand control apparatus, demand control system, demand control method, and demand control program
JP7228461B2 (en) Air conditioning control system and air conditioning control method
JP4803287B2 (en) Lighting communication system
EP3859221B1 (en) Air conditioning system and application program
CN102301655A (en) Network system
JP5520176B2 (en) Partition information collection system and method
JP2017015577A (en) Wireless communication device, position estimation method, and position estimation program
JP2004293944A (en) Air-conditioning control system
JP5471430B2 (en) Location management system
US11849155B2 (en) Thermostat, system and method for providing awareness in a hospitality environment
US20240134983A1 (en) Malware detection method, malware detection device, and recording medium
US20240126877A1 (en) Malware detection method, malware detection device, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20749380

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20749380

Country of ref document: EP

Kind code of ref document: A1