The present invention relates to techniques of a decision device, a decision method, a mobile terminal, a control method, a position notification system, and a position notification method.
With the development of an outdoor position estimation technology using a global positioning system (GPS), we can know our outdoor positions. Further, in order to grasp an indoor position, there is a demand for a system that makes notification of the position. Techniques used in the system that makes notification of a position are, for example, a technique using geomagnetism, a technique using Wi-Fi (registered trademark), and a technique using visible light (see, for example, Non Patent Literature 1).
In the technique using visible light, a dedicated lighting device is used as a lighting device placed on a ceiling. The dedicated lighting device is an LED light including, for example, a driver circuit for modulating IDs and thus is more expensive than a normal LED light. The dedicated lighting device can transmit identification information such as ID information by changing light or color. A mobile terminal can acquire the identification information from intensity information of the received light. A position of the dedicated lighting device is associated with the identification information, and thus it is possible to estimate a position of the mobile terminal.
In the technique using visible light, it is necessary to use the dedicated lighting devices in an entire indoor space. This increases a cost required for the lighting devices. Therefore, in the related arts, it is difficult to economically build a system that makes notification of a position.
In view of the above circumstances, an object of the present invention is to provide a technique capable of economically building a system that makes notification of a position.
One aspect of the present invention is a decision device that decides an installation position of a lighting device having a transmission function of transmitting information by changing an output mode of light, the decision device including: a position information acquisition unit that acquires position information indicating a position where the lighting device is installable and an irradiation target region that is irradiated with light in a case where the lighting device is installed at the position; an adjacency information acquisition unit that acquires adjacency information indicating an adjacency relationship of the irradiation target region on the basis of the position information acquired by the position information acquisition unit; and a decision unit that decides the installation position of the lighting device on the basis of the adjacency information acquired by the adjacency information acquisition unit such that non-irradiation target regions are not adjacent to each other, the non-irradiation target regions being not irradiated with light whose output mode changes due to non-installation of the lighting devices.
One aspect of the present invention is a decision method of deciding an installation position of a lighting device having a transmission function of transmitting information by changing an output mode of light, the decision method including: a position information acquisition step of acquiring position information indicating a position where the lighting device is installable and an irradiation target region that is irradiated with light in a case where the lighting device is installed at the position; an adjacency information acquisition step of acquiring adjacency information indicating an adjacency relationship of the irradiation target region on the basis of the position information acquired in the position information acquisition step; and a decision step of deciding the installation position of the lighting device on the basis of the adjacency information acquired in the adjacency information acquisition step such that non-irradiation target regions are not adjacent to each other, the non-irradiation target regions being not irradiated with light whose output mode changes due to non-installation of the lighting devices.
One aspect of the present invention is a mobile terminal including: a detection unit that detects a moving direction of the mobile terminal; a determination unit that determines whether or not position specification information transmitted from a lighting device by changing an output mode of light is acquirable; and a moving direction acquisition unit that acquires the moving direction detected by the detection unit in a case where the determination unit determines that the position specification information is not acquirable; and a position derivation unit that derives a position of the mobile terminal on the basis of the position specification information acquired before the determination unit determines that the position specification information is not acquirable and the moving direction acquired by the moving direction acquisition unit.
One aspect of the present invention is a control method of a mobile terminal, the control method including: a detection step of detecting a moving direction of the mobile terminal; a determination step of determining whether or not position specification information transmitted from a lighting device by changing an output mode of light is acquirable; a moving direction acquisition step of acquiring the moving direction detected in the detection step in a case where it is determined in the determination step that the position specification information is not acquirable; and a position derivation step of deriving a position of the mobile terminal on the basis of the position specification information acquired before it is determined in the determination step that the position specification information is not acquirable and the moving direction acquired in the moving direction acquisition step.
One aspect of the present invention is a position notification system including a mobile terminal and a server, in which: the mobile terminal includes a detection unit that detects a moving direction of the mobile terminal, a determination unit that determines whether or not position specification information transmitted from a lighting device by changing an output mode of light is acquirable, and a moving direction acquisition unit that acquires the moving direction detected by the detection unit in a case where the determination unit determines that the position specification information is not acquirable; and the server includes a position derivation unit that derives a position of the mobile terminal on the basis of the position specification information acquired before the determination unit determines that the position specification information is not acquirable and the moving direction acquired by the moving direction acquisition unit.
One aspect of the present invention is a position notification method in a position notification system including a mobile terminal and a server, the position notification method including: a detection step of causing the mobile terminal to detect a moving direction of the mobile terminal; a determination step of causing the mobile terminal to determine whether or not position specification information transmitted from a lighting device by changing an output mode of light is acquirable; and a moving direction acquisition step of causing the mobile terminal to acquire the moving direction detected in the detection step in a case where it is determined in the determination step that the position specification information is not acquirable; and a position derivation step of causing the server to derive a position of the mobile terminal on the basis of the position specification information acquired before it is determined in the determination step that the position specification information is not acquirable and the moving direction acquired in the moving direction acquisition step.
According to the present invention, it is possible to economically build a system that makes notification of a position.
An embodiment of the present invention will be described in detail with reference to the drawings. In the present embodiment, there will be described a decision phase for deciding an installation position of a lighting device and a derivation phase for a mobile terminal deriving a position by using the installed lighting device.
Each lighting device 20 is an LED light and irradiates a floor surface 30 with light. The lighting device 20 can transmit a signal to a mobile terminal 40 by changing an output mode (blinking pattern in the present embodiment) of light corresponding to identification information (hereinafter, referred to as “ID”). The ID is uniquely allocated to an irradiation target region, and the lighting device 20 transmits a signal to the mobile terminal 40 by using a blinking pattern indicating the ID. Therefore, when the ID is acquired, the irradiation target region is specified on the basis of the ID, and thus it is found that the mobile terminal 40 is located at any position in the irradiation target region.
When the lighting device 20 is installed, the mobile terminal 40 can acquire an ID in an irradiation target region irradiated with light of the lighting device 20. Meanwhile, the mobile terminal 40 cannot acquire an ID in an irradiation target region that is not irradiated with light because no lighting device 20 is installed. As illustrated in
In
All or some functions of the control unit 120 and the area ID storage unit 141 may be implemented by using hardware such as an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a field programmable gate array (FPGA). The control program may be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include portable media such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, and a semiconductor storage device (e.g. a solid-state drive (SSD)) and storage devices such as a hard disk built in a computer system. The control program may be transmitted via an electrical communication line.
The area ID storage unit 141 includes a storage device such as a semiconductor storage device or a magnetic hard disk device. The area ID storage unit 141 stores an area ID database.
The position indicates coordinates of an installation position when the ceiling 10 is regarded as the XY plane. The floor surface 30 is also regarded as the XY plane, and coordinates at which a perpendicular line from the coordinates of the installation position to the floor surface 30 intersects the floor surface 30 have the same XY components as the coordinates on the ceiling 10. The radius is a radius of a circle centered on the coordinates, and the circle indicates the irradiation target region. The position and the radius in the area ID storage unit 141 are examples of position information.
The conformity information indicates whether or not the installation position is suitable for installation of the lighting device. “Suitable” indicates that the installation position is suitable for the installation thereof, and “unsuitable” indicates that the installation position is not suitable for the installation thereof. The fact that the installation position is not suitable for the installation of the lighting device indicates that the lighting device 20 is installable, but the installation position is not very preferable in terms of operation, such as an irradiation target region in which an appliance or the like is installed or an irradiation target region in which it is difficult to confirm whether or not the mobile terminal 40 can acquire a position because the irradiation target region is far from the entrance. A degree of conformity may be indicated in stages. For example, the degree of conformity may be set as five stages. The installation position is less suitable as the stage is higher, and the lighting device may not be installed as the installation position is less suitable.
Returning to the description of
The position information acquisition unit 121 acquires, from the area ID storage unit 141, position information indicating a position where the lighting device 20 is installable and an irradiation target region that is irradiated with light in a case where the lighting device 20 is installed at the position. Based on the position information, the adjacency information acquisition unit 122 acquires adjacency information indicating an adjacency relationship of the irradiation target region. Based on the adjacency information, the decision unit 123 decides an installation position of the lighting device 20 such that irradiation target regions that are not irradiated with light because no lighting devices 20 are installed are not adjacent to each other.
There will be described an example where the above adjacency information acquisition unit 122 determines whether or not two irradiation target regions A and B are adjacent to each other. The adjacency information acquisition unit 122 first acquires a distance between a position of A and a position of B on the basis of
The adjacency information acquisition unit 122 acquires the adjacency information as, for example, a two-dimensional array N[i][j]. Here, i and j (i<j) represent IDs. In a case where irradiation target regions having the IDs i and j are adjacent to each other, N[i][j]=1 is set, whereas, in a case where the irradiation target regions are not adjacent to each other, N[i][j]=0 is set.
The decision unit 123 searches for an installation position where k non-ID areas are not adjacent to each other (step S104). The decision unit 123 determines whether or not the installation position has been searched for (step S105). Here, in a case where at least one installation position has been searched for, it is determined that the installation position has been searched for. In a case where the installation position has been searched for (step S105: YES), the decision unit 123 increments k by 1 (step S106) and performs the search again in step S104. That is, the decision unit 123 adds a non-ID area and searches for an installation position where the non-ID areas are not adjacent to each other.
In a case where the installation position has not been searched for (step S105: NO), the decision unit 123 searches for an installation position on the basis of conformity information among installation positions where k−1 non-ID areas are not adjacent to each other (step S107). That is, the decision unit 123 searches for an installation position where the number at which irradiation target regions having “unsuitable” conformity information become non-ID areas is largest.
The decision unit 123 decides the installation position where the number at which irradiation target regions having “unsuitable” conformity information become non-ID areas is largest as the installation position of the lighting device 20 (step S108) and ends the processing.
Because the installation position where the number at which irradiation target regions become non-ID areas is largest is decided as described above, it is possible to reduce the number of lighting devices 20. This makes it possible to economically build a system that makes notification of a position. Further, based on the conformity information, it is possible to reduce, for example, the irradiation target region where an appliance or the like is present and the irradiation target region where it is difficult to confirm whether or not the mobile terminal 40 can acquire a position. This makes it possible to reduce a cost required for installation and to perform suitable operation.
Next, there will be described the derivation phase in which the mobile terminal 40 derives its own position by using the lighting device 20 installed at the installation position decided in the decision phase. The mobile terminal 40 is assumed to be a smartphone.
All or some of functions of the control unit 200, the area storage unit 241, and the direction storage unit 242 may be implemented by using hardware such as an ASIC, a PLD, or an FPGA. The derivation program may be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include portable media such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, and a semiconductor storage device (e.g. SSD) and storage devices such as a hard disk built in a computer system. The derivation program may be transmitted via an electrical communication line.
The area storage unit 241 includes a storage device such as a semiconductor storage device or a magnetic hard disk device. The area storage unit 241 stores an area database.
The direction storage unit 242 includes a storage device such as a semiconductor storage device or a magnetic hard disk device. The direction storage unit 242 stores a direction database.
The direction database indicates which area exists in the north, south, east, and west directions of the ID area. Here, NULL indicates that there is no area. In
Returning to
The control unit 200 in
The detection unit 201 detects the moving direction of the mobile terminal 40 detected by the acceleration sensor 224. The determination unit 202 determines whether or not position specification information transmitted from the lighting device 20 by using light is acquirable. The ID is an example of the position specification information.
In a case where the determination unit 202 determines that the position specification information is not acquirable, the moving direction acquisition unit 203 acquires the moving direction detected by the detection unit 201. Here, the moving direction before it is determined that the position specification information is not acquirable is acquired. For example, the detection unit 201 detects the moving direction each time a predetermined time arrives and stores a time at which the detection has been performed and the moving direction at that time. Therefore, the moving direction acquisition unit 203 can acquire an immediately previous moving direction.
The position derivation unit 204 derives a position of the mobile terminal 40 on the basis of the position specification information acquired before the determination unit 202 determines that the position specification information is not acquirable and the moving direction acquired by the moving direction acquisition unit. For example, in a case where the position specification information acquired before it is determined that the position specification information is not acquirable is 4 and the acquired moving direction is north, the position derivation unit 204 derives the area 1 as a current position by using the direction database.
In
When the ID is not acquirable (step S202: NO), the moving direction acquisition unit 203 acquires the moving direction stored by the detection unit 201 (step S203). Here, the moving direction before it is determined that the ID is not acquirable is acquired. The position derivation unit 204 acquires the ID stored in step S207. Therefore, it is possible to acquire the ID of the irradiation target region where the mobile terminal 40 has been located before it is determined that the ID is not acquirable. The position derivation unit 204 derives the current position of the mobile terminal 40 on the basis of the moving direction and the ID by using the direction database (step S205), displays the derived position on the display operation unit 223 (step S206), and returns to step S201.
In this way, it is possible to derive the current position even in a case where a non-ID area is provided. Therefore, it is possible to reduce the number of lighting devices 20. This makes it possible to economically build a system that makes notification of a position. Note that part of the processing may be performed by a server provided in a cloud.
In a normal sequence, when receiving light and acquiring an ID, the mobile terminal 40 transmits an ID notification to the server 500. The server 500 acquires the ID from the ID notification and stores the ID. The mobile terminal 40 displays a position corresponding to the acquired ID. In the normal sequence, those processing steps are repeatedly performed.
When it is determined that the ID is not acquirable (step S301), the mobile terminal 40 acquires a moving direction before it is determined that the ID is not acquirable (step S302). The mobile terminal 40 transmits a non-availability notification to the server 500 (step S303). The non-availability notification includes the moving direction acquired in step S302.
The server 500 derives the current position of the mobile terminal 40 by using the direction database on the basis of the stored ID and the moving direction received from the non-availability notification (step S304). The server 500 transmits a position notification to the mobile terminal 40 (step S305). The position notification includes the derived position. The mobile terminal 40 displays the position received from the position notification on the display operation unit 223 (step S306).
In this way, it is possible to reduce a processing load of the mobile terminal 40, as compared with a case where the processing in the flowchart of
In the above embodiment, the direction database has only four directions, i.e., north, south, east, and west, but the present invention is not limited thereto. For example, assuming that a maximum error of direction detection accuracy is 30°, it is possible to specify a currently belonging area by defining 30°×2n to 30°×(2n+1) as ID areas and 30°×(2n+1) to 30°×(2n+2) as non-ID areas around the own area (n is an integer of 0 or more) even in a case where an area is divided into 360/30=12 directions. By increasing the number of directions to be estimated as described above, it is possible to apply the present invention even in a case where the shape of the area is other than the circle or square used in the above examples.
In the present embodiment, the installation position is decided such that non-ID areas are not adjacent to each other, but the present invention is not limited thereto. For example, the non-ID areas may be slightly adjacent to each other depending on required accuracy. For example, when an ID of a first position is stored, even if the ID cannot be acquired thereafter, an approximate position can be acquired on the basis of the direction detected by the detection unit 201, although accuracy is not high. Therefore, the number of non-ID areas allowed to be adjacent to each other may be flexibly changed according to the required accuracy. Accordingly, it is possible to further reduce the number of lighting devices 20. This makes it possible to economically build a system that makes notification of a position.
Light emitted by the lighting device 20 is not limited to visible light and may be near-infrared light or the like as long as the light can be received by an illuminance sensor or camera. In the above embodiment, information is transmitted by using a blinking pattern, but a color change or intensity of light may be used, instead of the blinking pattern.
While the embodiments of the present invention have been described in detail with reference to the drawings, specific configurations are not limited to these embodiments, and include designs and the like without departing from the spirit of the present invention.
The present invention is applicable to a position notification system that makes notification of an indoor position.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/019107 | 5/20/2021 | WO |