The present disclosure relates to a communication system, an illumination system, and a communication method.
Conventionally, for example, an illumination system has been disclosed in which an illumination device having received a predetermined key operation from a remote controller device transmits identification information of the own device to the remote controller device, and in a case where control information including the identification information of the own device is received from the remote controller device, the illumination device performs operation (for example, lighting) in accordance with the control information (refer to Japanese Patent No. 5119791, for example). In addition, for example, a wireless communication system has been disclosed in which connection with a user device having transmitted a pairing signal in a duration other than an effective pairing duration is not performed to lower the probability of connection with an unexpected user device, thereby achieving secure connection (refer to Japanese Patent Application Laid-open Publication No. 2012-209758 (JP-A-2012-209758), for example). Moreover, for example, a wireless communication system has been disclosed in which connection control for Bluetooth (registered trademark) communication is performed between a master device and a slave device, and specifically, when having received an operation signal during pairing, the slave device transmits a security number to the master device and then data indicating the security number and control contents is communicated, which makes it possible to easily achieve pairing with high security (refer to Japanese Patent Application Laid-open Publication No. 2015-211322 (JP-A-2015-211322), for example).
In Japanese Patent No. 5119791 described above, when registering the identification information of the illumination device to the remote controller device, the user needs to perform a predetermined key operation different from normal operations. In JP-A-2012-209758 described above, wireless communication using Bluetooth (registered trademark) is assumed and adaptation to other communication standards is not considered. In JP-A-2015-211322 described above, since the security number (S/ID) of the slave device is transmitted to the master device that executes pairing, exclusive communication may not always be achieved.
For the foregoing reasons, there is a need for providing a communication system, an illumination system, and a communication method capable of implementing a secure communication connection environment without depending on communication platforms and user operations.
According to an aspect, a communication system includes a slave device, and a master device configured to control the slave device. The communication system is configured to transmit and receive control data between the master device and the slave device. The slave device generates a first key code and a first security code in which a plurality of random number data corresponding to respective address data are assigned. In first processing after communication connection between the slave device and the master device is established, the slave device transmits the first key code and the first security code to the master device, and the master device retains the first key code as a second key code and retains the first security code as a second security code. In second processing after the first processing, the master device transmits an address code and a second code to the slave device, the address code is generated based on the second security code, the second code is generated based on the address code and the second key code. And the slave device terminates the communication connection with the master device in a case where a first code and the second code received from the master device do not match, the first code is generated based on the address code, the first key code, and the first security code.
According to another aspect, an illumination system includes a light source, an illumination device, and a control device. The illumination device is provided on an optical axis of the light source and including an optical element capable of setting a light distribution state of light emitted from the light source. The control device is capable of changing the light distribution state. And the illumination device generates a first key code and a first security code in which a plurality of random number data corresponding to respective address data are assigned.
In first processing after communication connection between the illumination device and the control device is established, the illumination device transmits the first key code and the first security code to the control device. And the control device retains the first key code as a second key code and retains the first security code as a second security code. In second processing after the first processing, the control device transmits an address code and a second code to the illumination device, the address code is generated based on the second security code, the second code is generated based on the address code and the second key code. And the illumination device terminates the communication connection with the control device in a case where a first code and the second code received from the control device do not match, the first code is generated based on the address code, the first key code, and the first security code.
Aspects (embodiments) of the present disclosure will be described below in detail with reference to the accompanying drawings. Contents described below in the embodiments do not limit the present disclosure. Components described below include those that could be easily thought of by the skilled person in the art and those that are identical in effect. Components described below may be combined as appropriate. What is disclosed herein is merely exemplary, and any modification that could be easily thought of by the skilled person in the art as appropriate without departing from the gist of the disclosure is contained in the scope of the present disclosure. For clearer description, the drawings are schematically illustrated for the width, thickness, shape, and the like of each component as compared to an actual aspect in some cases, but the drawings are merely exemplary and do not limit interpretation of the present disclosure. In the present specification and drawings, any element same as that already described with reference to an already described drawing is denoted by the same reference sign, and detailed description thereof is omitted as appropriate in some cases.
In
The first liquid crystal cell 2_1, the second liquid crystal cell 2_2, the third liquid crystal cell 2_3, and the fourth liquid crystal cell 2_4 each have the same configuration. In the present disclosure, the first liquid crystal cell 2_1 and the fourth liquid crystal cell 2_4 are liquid crystal cells for p-wave polarization. The second liquid crystal cell 2_2 and the third liquid crystal cell 2_3 are liquid crystal cells for s-wave polarization. Hereinafter, the first liquid crystal cell 2_1, the second liquid crystal cell 2_2, the third liquid crystal cell 2_3, and the fourth liquid crystal cell 2_4 are also collectively referred to as “liquid crystal cells 2”.
Each liquid crystal cell 2 includes a first substrate 5 and a second substrate 6.
As illustrated in
The liquid crystal layer 8 modulates light passing through the liquid crystal layer 8 in accordance with the state of electric field. As liquid crystal molecules, positive-type nematic liquid crystals are used, but other liquid crystals with the same effects may be used.
As illustrated in
As illustrated in
The drive electrodes 10 and 13 are light-transmitting electrodes formed of a light-transmitting conductive material (light-transmitting conductive oxide) such as indium tin oxide (ITO). The first substrate 5 and the second substrate 6 are light-transmitting substrates of glass, resin, or the like. The first metal wires 11 and the second metal wires 14 are formed of at least one metallic material among aluminum (Al), copper (Cu), silver (Ag), molybdenum (Mo), and alloys thereof. The first metal wires 11 and the second metal wires 14 may be each formed of one or more of these metallic materials as a multilayered body of a plurality of layers. The at least one metallic material among aluminum (Al), copper (Cu), silver (Ag), molybdenum (Mo), and alloys thereof has a resistance lower than that of light-transmitting conductive oxide such as ITO.
The metal wire 11c of the first substrate 5 and the metal wire 14a of the second substrate 6 are coupled by a conduction part 15a made of, for example, conductive paste. The metal wire 11d of the first substrate 5 and the metal wire 14b of the second substrate 6 are coupled by a conduction part 15b made of, for example, conductive paste.
Coupling (Flex-on-Board) terminal parts 16a and 16b coupled to non-illustrated flexible printed circuits (FPC) are provided in a region on the first substrate 5 that does not overlap the second substrate 6 in the Dz direction. The coupling terminal parts 16a and 16b each include four coupling terminals corresponding to the metal wires 11a, 11b, 11c, and 11d.
The coupling terminal parts 16a and 16b are provided in the wiring layer of the first substrate 5. Drive voltage to be applied to the drive electrodes 10a and 10b on the first substrate 5 and to the drive electrodes 13a and 13b on the second substrate 6 is supplied to the liquid crystal cell 2 from an FPC coupled to the coupling terminal part 16a or the coupling terminal part 16b. Hereinafter, the coupling terminal parts 16a and 16b are simply referred to as “coupling terminal parts 16” in some cases.
As illustrated in
As illustrated in
As illustrated in
A mechanism for changing the shape of light by using the liquid crystal cells 2 (the first liquid crystal cell 2_1, the second liquid crystal cell 2_2, the third liquid crystal cell 2_3, and the fourth liquid crystal cell 2_4) will be described below.
As illustrated in
In each liquid crystal cell 2, the orientation directions of the orientation films on the first substrate 5 side and the second substrate 6 side intersect each other as illustrated in
As illustrated in
In addition, when potential difference is generated between the drive electrodes 13a and 13b on the second substrate 6 side in the first liquid crystal cell 2_1, refractive index distribution is formed in the Dy direction on the second substrate 6 side, and accordingly, the s-polarized light component diffuses in the Dy direction on the second substrate 6 side. That is, the polarized light component having changed from a p-polarized component to an s-polarized light component during passing through the liquid crystal layer 8 in the first liquid crystal cell 2_1 diffuses in the Dy direction as well. However, the s-polarized light component at incidence on the first liquid crystal cell 2_1 optically rotates during passing through the liquid crystal layer 8 but intersects each refractive index distribution, and accordingly, only optically rotates without diffusing and passes through the first liquid crystal cell 2_1.
The s-polarized light component at incidence on the first liquid crystal cell 2_1 changes to a p-polarized component after passing through the first liquid crystal cell 2_1, and the second liquid crystal cell 2_2 acts on this p-polarized component. Specifically, as illustrated in
As illustrated in
As illustrated in
The diffusion degree of light in each direction depends on the potential difference between the drive electrodes 10a and 10b (or between the drive electrodes 13a and 13b) adjacent to each other. The spread of light in the direction is maximum (100(%)) in a case where the potential difference between the drive electrodes 10a and 10b (or between the drive electrodes 13a and 13b) is maximum potential difference (for example, 30 (V)) defined in advance, and no spread of light (0(%)) occurs in the direction in a case where no potential difference is generated. Alternatively, the spread of light in the direction is 50(%) in a case where the potential difference between the drive electrodes 10a and 10b (or between the drive electrodes 13a and 13b) is 50(%) (for example, 15 (V)) of the above-described maximum potential difference. Note that, in a case where the relation between voltage difference and light spread is not linear, it is possible to set another potential difference instead of 15 (V).
In each liquid crystal cell 2, the interval (also referred to as a cell gap) between its substrates (between the first substrate 5 and the second substrate 6) is large at 10 μm to 50 μm approximately, more preferably at 15 μm to 35 μm approximately, and accordingly, influence of an electric field formed in one of the substrates on the other substrate side is suppressed as much as possible. It goes without saying that drive voltage that generates potential difference between the drive electrodes 10a and 10b (or between the drive electrodes 13a and 13b) adjacent to each other is what is called alternating-current square wave, thereby preventing burn-in of the liquid crystal molecules.
The orientation directions of the orientation films, the extending directions of the drive electrodes on the substrates, and the angle between them may be modified as appropriate for the entire optical element 100 or each liquid crystal cell 2 in accordance with the characteristics of liquid crystals to be employed and optical specifications to be intentionally obtained.
In the present embodiment, description is made on the configuration of the optical element 100 in which the four liquid crystal cells of the first liquid crystal cell 2_1, the second liquid crystal cell 2_2, the third liquid crystal cell 2_3, and the fourth liquid crystal cell 2_4 are stacked, but the optical element 100 is not limited to this configuration and may employ, for example, a configuration in which two or three liquid crystal cells 2 are stacked or a configuration in which a plurality of liquid crystal cells 2, five or more liquid crystal cells 2, are stacked.
In the present disclosure, in the illumination device 1 with the above-described configuration, light incident on the optical element from the light source 4 is controlled in the two directions of the Dx direction (direction of horizontal diffusion) and the Dy direction (direction of vertical diffusion) by controlling drive voltage of each liquid crystal cell 2. The above-described vertical diffusion and horizontal diffusion may be collectively referred to as light diffusion. Accordingly, the shape of light emitted from the optical element is changed. The shape of light is a light shape that appears on a plane parallel to an emission surface of the optical element, and this may be referred to as a light distribution shape. Hereinafter, control of the light diffusion degree in the present disclosure will be described below with reference to
As described above, the orientation direction of the liquid crystal molecules 17 in the liquid crystal layer 8 is controlled by drive voltage being supplied to the drive electrodes 10 and 13 of each liquid crystal cell 2 of the optical element 100 provided on the optical axis of the light source 4. Accordingly, the light distribution shape of light emitted from the optical element 100 is controlled.
Specifically, for example, the light distribution shape in the Dx direction changes in accordance with drive voltage applied to the drive electrodes 10 or drive electrodes 13 extending in the Dy direction in each liquid crystal cell 2 as described above (horizontal diffusion). The light distribution shape in the Dy direction changes in accordance with drive voltage applied to the drive electrodes 10 or drive electrodes 13 extending in the Dx direction in the first to fourth liquid crystal cells (vertical diffusion).
In the present disclosure, the minimum diffusion degrees of the horizontal diffusion and the vertical diffusion are 0(%) and the maximum diffusion degrees thereof are 100(%). More specifically, in a case where the horizontal diffusion degree is 0(%), drive electrodes (for example, the drive electrodes 10 extending in the Dy direction on the first substrate 5 in the first liquid crystal cell 2_1) functioning to expand the light distribution state in the Dx direction do not act on the refractive index distribution of the liquid crystal layer 8. In this case, no potential difference is present between the adjacent drive electrodes 10a and 10b or no potential is supplied to the electrodes. On the other hand, in a case where the horizontal diffusion degree is 100(%), drive electrodes (for example, the drive electrodes 10 extending in the Dy direction on the first substrate 5 in the first liquid crystal cell 2_1) functioning to expand the light distribution state in the Dx direction maximumly act on the refractive index distribution of the liquid crystal layer 8. In this case, the potential difference between the adjacent drive electrodes 10a and 10b is set to the maximum potential difference (for example, 30 (V)) in the optical element 100. In a case where the horizontal diffusion degree is larger than 0(%) and smaller than 100(%), potential for which the potential difference between the adjacent drive electrodes 10a and 10b is modulated to be larger than 0 (V) and smaller than the maximum potential difference (for example, 30 (V)) is applied to the electrodes. The same applies to the vertical diffusion.
Outline “a” illustrated in
In this manner, in the illumination device 1 with the above-described configuration, it is possible to control the horizontal and vertical diffusion degrees of emission light from the optical element 100 by performing drive voltage control of each liquid crystal cell 2. Accordingly, it is possible to change the light distribution shape of emission light from the illumination device 1. Hereinafter, control that changes the light distribution shape of emission light from the illumination device 1 is also referred to as “light distribution control”.
Note that the illumination device 1 capable of light distribution control in the two directions of the Dx and Dy directions is exemplarily described in the present disclosure, but controllable parameters of the illumination device 1 is not limited to light distribution (light spread). For example, the illumination device 1 may be capable of light modulation control. In this case, controllable parameters of the illumination device 1 may include light modulation (brightness). Note that in the following description, the Dx direction is referred to as an H direction (first direction), and the Dy direction is referred to as a V direction (second direction).
Data and various command signals are transmitted and received between the illumination devices 1 (1_1, 1_2, . . . 1_N) and the control device 200 through a communication means 300. In the present disclosure, the communication means 300 is a wireless communication means including, for example, Bluetooth (registered trademark) or WiFi (registered trademark). Wireless communication may be performed between the illumination devices 1 (1_1, 1_2, . . . 1_N) and the control device 200 through a predetermined network such as a mobile communication network. Alternatively, the illumination devices 1 (1_1, 1_2, . . . , 1_N) and the control device 200 may be coupled to each other in a wired manner to perform wired communication therebetween.
Note that, although the illumination devices 1 (1_1, 1_2, . . . , 1_N) are registered in the example illustrated in
In the above-described illumination system, the control device 200 can change the light distribution state of the illumination device 1 in the H and V directions. The following describes the control device 200 of the illumination system according to the embodiment.
The display panel 20 is what is called an in-cell or hybrid device in which the touch sensor 30 is built and integrated. Building and integrating the touch sensor 30 in the display panel 20 includes, for example, sharing some members such as substrates and electrodes used as the display panel 20 and some members such as substrates and electrodes used as the touch sensor 30. The display panel 20 may be what is called an on-cell device in which the touch sensor 30 is mounted on a display device.
The display panel 20 is, for example, a liquid crystal display panel including a liquid crystal display element. The display panel 20 is not limited thereto but may be, for example, an organic EL display panel (OLED: organic light emitting diode) or an inorganic EL display panel (micro LED or mini LED).
The touch sensor 30 is, for example, a capacitive touch sensor. The touch sensor 30 is not limited thereto but may be, for example, a touch sensor of a resistance film scheme or a touch sensor of an ultrasonic wave scheme or an optical scheme.
In the example illustrated in
The light distribution shape object OBJ is a pictorial image corresponding to the light distribution state of light emitted from the illumination device 1.
The first slider S1 and the second slider S2 are, for example, pictorial images displayed on the display region DA, which a user can touch and move (drag operation) with a finger.
The shape of the light distribution shape object OBJ can be changed by moving the first slider S1 in the H direction. Simultaneously, the light distribution state of the illumination device 1 in the H direction (in other words, horizontal diffusion) is controlled. The shape of the light distribution shape object OBJ can be changed by moving the second slider S2 in the V direction.
Simultaneously, the light distribution state of the illumination device 1 in the V direction (in other words, vertical diffusion) is controlled.
In the present disclosure, the shape of the light distribution shape object OBJ on the setting change screen becomes a circular or elliptical shape in accordance with the light distribution value Sh in the H direction and the light distribution value Sv in the V direction. In other words, the shape of the light distribution shape object OBJ changes to a circular or elliptical shape with movement of the first slider S1 and the second slider S2.
The first slider S1 can be moved in the H direction between the position on the outline of the light distribution shape object OBJ in a case where the light distribution value Sh in the H direction is 0(%) and the position on the outline of the light distribution shape object OBJ in a case where the light distribution value Sh in the H direction is 100(%).
The second slider S2 can be moved in the V direction between the position on the outline of the light distribution shape object OBJ in a case where the light distribution value Sv in the V direction is 0(%) and the position on the outline of the light distribution shape object OBJ in a case where the light distribution value Sv in the V direction is 100(%).
On the setting change screen of the control device 200, the light distribution value Sh of the illumination device 1 in the H direction can be set by the movement amount of a position h of an intersection point of the H axis of the HV plane and the outline of the light distribution shape object OBJ.
In the present disclosure, the position h of the intersection point of the H axis and the outline of the light distribution shape object OBJ is the central point of the first slider S1. In other words, a position ho of the first slider S1 on the display region DA overlaps the position h of the intersection point of the H axis and the outline of the light distribution shape object OBJ. Accordingly, the light distribution value Sh of the illumination device 1 in the H direction can be changed by touching the first slider S1 and moving the first slider S1 in the H direction. In
On the setting change screen of the control device 200, the light distribution value Sv of the illumination device 1 in the V direction can be set by the movement amount of a position v of an intersection point of the V axis of the HV plane and the outline of the light distribution shape object OBJ.
In the present disclosure, the position v of the intersection point of the V axis and the outline of the light distribution shape object OBJ is the central point of the second slider S2. In other words, a position vo of the second slider S2 on the display region DA overlaps the position v of the intersection point of the V axis and the outline of the light distribution shape object OBJ. Accordingly, the light distribution value Sv of the illumination device 1 in the V direction can be changed by touching the second slider S2 and moving the second slider S2 in the V direction. In
As illustrated in
The detection circuit 211 is a circuit that detects existence or absence of a touch on the touch sensor 30 based on a detection signal output from each detection element 31 of the touch sensor 30.
The processing circuit 212 is a circuit that executes conversion processing of the position of touch detection by the detection circuit 211 into various setting values (in the present disclosure, light distribution values) of the illumination device 1. In the present disclosure, the processing circuit 212 has a function to execute conversion processing of the position of touch detection by the detection circuit 211, that is the position of a touched object (pictorial image), into operation states on various screens. The processing circuit 212 is a component implemented in, for example, the CPU of the smartphone or tablet constituting the control device 200.
The storage circuit 223 is constituted by, for example, the RAM, EEPROM, and ROM of the smartphone or tablet constituting the control device 200. In the present disclosure, the storage circuit 223 stores various setting values (in the present disclosure, light distribution values) of the illumination device 1.
The transmission-reception circuit 225 transmits and receives various setting values (in the present disclosure, light distribution values) to and from the illumination device 1. Specifically, the transmission-reception circuit 225 transmits the light distribution value Sh in the H direction and the light distribution value Sv in the V direction, which are set by the control device 200, to the illumination device 1 as light distribution setting values Sh and S1v, respectively. In addition, the transmission-reception circuit 225 receives the light distribution setting values S0h and S0v transmitted from the illumination device 1.
The display control circuit 231 executes display control processing for displaying the above-described setting change screen on the display panel 20. The display control circuit 231 performs display control of the display panel 20 based on various setting values (in the present disclosure, light distribution values) and pictorial image position information stored in the storage circuit 223.
The following describes the illumination device in the above-described illumination system.
As illustrated in
The transmission-reception circuit 111 transmits and receives various setting values (in the present disclosure, light distribution setting values) to and from the control device 200. Specifically, the transmission-reception circuit 111 receives the light distribution setting values S1h and S1v transmitted from the control device 200. The transmission-reception circuit 111 transmits the light distribution setting values S0h and S0v stored in the storage region of the storage circuit 113 to the control device 200.
In the present disclosure, at activation of the illumination device 1, the transmission-reception circuit 111 transmits the light distribution setting values S0h and S0v stored in the storage region of the storage circuit 113 to the control device 200, and stores the light distribution setting values S1h and S1v transmitted from the control device 200 in the storage region of the storage circuit 113 as new light distribution setting values S0h and S0v. Accordingly, as the light distribution setting values S1h and S1v are transmitted from the control device 200 to the illumination device 1, the light distribution setting values S0h and S0v in the storage region of the storage circuit 113 are updated to the light distribution setting values S1h and S1v. Note that the illumination device 1 initially stores no light distribution setting values S0h and S0v (the light distribution setting values S0h and S0v are both 0(%)). In this case, as the light distribution setting values S1h and S1v are transmitted from the control device 200, the light distribution setting values S0h and S0v in the storage region of the storage circuit 113 are stored. Note that the present disclosure is not limited to the above description, and predetermined values such as 50(%) may be stored in advance for the initial light distribution setting values S0h and S0v.
The electrode drive circuit 112 supplies drive voltage to the drive electrodes 10 and 13 of each liquid crystal cell 2 of the optical element 100 based on the result of processing at the processing circuit 114.
The storage circuit 113 includes, for example, an internal memory mounted in the microcomputer constituting the processing circuit 114. In the present disclosure, a light distribution setting value S0h in the H direction and a light distribution setting value S0v in the V direction for the illumination device 1 are stored in a storage region of the storage circuit 113.
The light distribution setting value S0h in the H direction and the light distribution setting value S0v in the V direction, which are stored in the storage region of the storage circuit 113 may be, for example, setting values stored in the storage region of the storage circuit 113 during the previous operation of the illumination device 1 or may be transmitted from the control device 200 and stored in the storage region of the storage circuit 113.
The following describes a communication system for implementing a communication connection environment ensuring security between the control device 200 and the illumination device 1, without depending on communication platforms and user operations, in the illumination system with the above-described configuration, and a connection establishment method and a data transmission-reception method in the communication system.
The main entity performing processing in the slave device 50 is, for example, a microcomputer constituting the illumination device 1 according to the embodiment. More specifically, processing in the slave device 50 may be executed by the processing circuit 114 illustrated in
The slave device 50 includes a first storage 51. The first storage 51 includes, for example, an internal memory implemented in a microcomputer. More specifically, the first storage 51 may be a common component with the storage circuit 113 illustrated in
The main entity performing processing in the master device 60 is, for example, a CPU of a smartphone, a tablet, or the like constituting the control device 200 according to the embodiment. More specifically, processing in the master device 60 may be executed by a processing circuit 212 illustrated in
The master device 60 includes a second storage 61. The second storage 61 is constituted by, for example, a RAM, EEPROM, or ROM of a smartphone, a tablet, or the like. More specifically, the second storage 61 may be a common component with the storage circuit 223 illustrated in
In the present embodiment, the first storage 51 and the second storage 61 store connection codes, key codes, security codes, and the like generated in connection establishment processing to be described later.
In the present embodiment, the communication means 70 will be described below with Bluetooth as an example, but the communication means 70 may be a different wireless communication means such as WiFi, universal asynchronous receiver/transmitter (UART), or infrared data association (IrDA). Moreover, the communication means 70 is not limited to wireless communication, but the slave device 50 and the master device 60 may be coupled by wiring to perform wired communication. The present embodiment will be described below with an example of an aspect in which one slave device 50 and the master device 60 are coupled through the communication means 70 as illustrated in
The connection establishment processing illustrated in
In the activation processing of the slave device 50 illustrated in
Subsequently, the slave device 50 determines whether key code (A) (first key code) is stored in the first storage 51 (step S101b). In a case where key code (A) is not stored in the first storage 51 (No at step S101b), the slave device 50 generates a random multi-byte key code (A) by using a random number table or the like stored in, for example, a storage region of the first storage 51 (step S102b), and stores the key code (A) in the first storage 51 (step S103b).
Subsequently, the slave device 50 determines whether security code (A) (first security code) is stored in the first storage 51 (step S101c). In a case where security code (A) is not stored in the first storage 51 (No at step S101c), the slave device 50 generates a random security code (A) in which a plurality of random number data corresponding to respective address data are assigned by using a random number table or the like stored in, for example, a storage region of the first storage 51 (step S102c), and stores the security code (A) in the first storage 51 (step S103c).
Although security code (A) illustrated in
When having stored connection code (A) (first connection code), key code (A) (first key code), and security code (A) (first security code) in the first storage 51 (steps S103a, S103b, and S103c), the slave device 50 transitions to pairing standby state (a) (step S104). At this time, the slave device 50 retains, in the first storage 51, that the slave device 50 is in pairing standby state (a), and ends the activation processing.
Note that, at factory shipment of the slave device 50, connection code (A), key code (A), and security code (A) are not set in the first storage 51. More specifically, as described above, they are set to their initial values, for example, “Null value”. Through the initial activation processing after factory shipment of the slave device 50, connection code (A), key code (A), and security code (A) are set to random values by using a random number table or the like stored in, for example, a storage region of the first storage 51. Accordingly, in the second or subsequent activation processing after factory shipment of the slave device 50, connection code (A), key code (A), and security code (A) of values different from their initial set values are set in the first storage 51.
In a case where connection code (A), key code (A), and security code (A) of values different from their initial set values are set (Yes at step S101b), the slave device 50 does not execute the initial activation processing at and after step S102a but transitions to pairing standby state (b) (step S105). At this time, the slave device 50 retains, in the first storage 51, that the slave device 50 is in pairing standby state (b), and ends the activation processing.
Note that connection code (A), key code (A), and security code (A) stored in the first storage 51 can be erased by predetermined initializing processing. Specifically, in a case where transition is made to pairing standby state (a) in the above-described activation processing of the slave device 50 (step S104), connection code (A), key code (A), and security code (A) have their initial set values (for example, “Null value”), indicating that the current activation processing is the initial processing after factory shipment or after initialization. In a case where transition is made to pairing standby state (b) in the above-described activation processing of the slave device 50 (step S105), connection code (A), key code (A), and security code (A) are set to random values before the activation processing, indicating that the current activation processing is the second or subsequent processing after factory shipment or after initialization. Processing after execution of pairing between the slave device 50 and the master device 60 differs in accordance with whether the current activation processing is the initial activation processing after factory shipment or after initialization (pairing standby state (a)) or the second or subsequent activation processing after factory shipment or after initialization (pairing standby state (b)).
After pairing between the slave device 50 and the master device 60 is executed (step S200 in
In the first processing of the master device 60 illustrated in
Meanwhile, in the first processing of the slave device 50 illustrated in
In a case where the slave device 50 is in pairing standby state (a) (Yes at step S402), in other words, in a case where the above-described activation processing is the initial activation processing after factory shipment or after initialization of the slave device 50, the slave device 50 determines whether the connection code request transmitted from the master device 60 has been received (step S403a). In a case where the connection code request has been received (Yes at step S403a), the slave device 50 reads the connection code (A) (first connection code) stored in the first storage 51 and transmits the connection code (A) to the master device 60 (step S404a).
The master device 60 determines whether the connection code (A) transmitted from the slave device 50 has been received (step S303a). In a case where the connection code (A) has been received from the slave device 50 (Yes at step S303a), the master device 60 stores the received connection code (A) (first connection code) as connection code (B) (second connection code) in the second storage 61 (step S304a).
Subsequently, the master device 60 transmits a key code request to the slave device 50 for requesting the transmission of key code (A) (step S302b).
The slave device 50 determines whether the key code request transmitted from the master device 60 has been received (step S403b). In a case where the key code request has been received (Yes at step S403b), the slave device 50 reads the key code (A) (first key code) stored in the first storage 51 and transmits the key code (A) to the master device 60 (step S404b).
The master device 60 determines whether the key code (A) transmitted from the slave device 50 has been received (step S303b). In a case where the key code (A) has been received from the slave device 50 (Yes at step S303b), the master device 60 stores the received key code (A) (first key code) as key code (B) (second key code) in the second storage 61 (step S304b).
Subsequently, the master device 60 transmits a security code request to the slave device 50 for requesting the transmission of security code (A) (step S302c).
The slave device 50 determines whether the security code request transmitted from the master device 60 has been received (step S403c). In a case where the security code request has been received from the master device 60 (Yes at step S403c), the slave device 50 reads security code (A) (first security code) stored in the first storage 51 and transmits the security code (A) to the master device 60 (step S404c).
The master device 60 determines whether the security code (A) transmitted from the slave device 50 has been received (step S303c). In a case where the security code (A) has been received from the slave device 50 (Yes at step S303c), the master device 60 stores the received security code (A) (first security code) as the security code (B) (second security code) in the second storage 61 (step S304c).
Subsequently, the master device 60 determines whether the first timer t1 is equal to or larger than a first timer threshold T1 (for example, 10 [sec]) (step S305). In a case where the first timer t1 is smaller than the first timer threshold T1 (No at step S305), the master device 60 repeatedly executes the processing at and after step S302a and transmits connection code (B) (second connection code) to the slave device 50 when the first timer t1 has become equal to or larger than the first timer threshold T1 (step S306).
In a case where the connection code request, the key code request, and the security code request transmitted from the master device 60 have not been received (No at step S403a; No at step S403b; No at step S403c) or in a case where the connection code (B) has not been received from the master device 60 (No at step S405), the slave device 50 determines whether the second timer t2 is equal to or larger than a second timer threshold T2 (for example, 10 [sec]) (step S408). In a case where the second timer t2 is smaller than the second timer threshold T2 (No at step S408), the slave device 50 repeatedly executes the processing at and after step S403a.
The slave device 50 determines whether the connection code (B) transmitted from the master device 60 has been received (step S405). In a case where the connection code (B) has been received from the master device 60 (Yes at step S405), the slave device 50 reads the connection code (A) (first connection code) stored in the first storage 51 and determines whether the connection code (A) (first connection code) and the connection code (B) (second connection code) received from the master device 60 match (connection code (A)=connection code (B); step S406).
In a case where the connection code (A) (first connection code) and the connection code (B) (second connection code) match (Yes at step S406), the slave device 50 transitions to a standby state. Specifically, for example, in a case where the slave device 50 is the illumination device 1 according to the embodiment, the slave device 50 transitions to a setting change standby state for various setting values (in the present disclosure, light distribution values) of the illumination device 1 and the like (step S407) to end the first processing of the slave device 50 illustrated in
In a case where the second timer t2 is equal to or larger than the second timer threshold T2 (Yes at step S408) or connection code (A) (first connection code) and connection code (B) (second connection code) do not match (No at step S406), the slave device 50 transmits, to the master device 60, a connection termination command for terminating pairing between the slave device 50 and the master device 60 (step S409).
The master device 60 determines whether the connection termination command transmitted from the slave device 50 has been received (step S307). In a case where the connection termination command has not been received from the slave device 50 (No at step S307), the master device 60 transitions to a standby state. Specifically, for example, in a case where the master device 60 is the control device 200 for controlling the illumination device 1 according to the embodiment, the master device 60 transitions to an operation standby state for various setting values (in the present disclosure, light distribution values) of the illumination device 1 and the like (step S308) to end the first processing of the master device 60 illustrated in
In a case where the connection termination command has been transmitted from the slave device 50 (step S409) and the master device 60 has received the connection termination command from the slave device 50 (Yes at step S307), pairing between the slave device 50 and the master device 60 is terminated (step S309 and step S410) to end the first processing of the master device 60 illustrated in
In a case where the slave device 50 is in pairing standby state (b) (No at step S402), in other words, in a case where the above-described activation processing is the second or subsequent activation processing after factory shipment or after initialization of the slave device 50, the slave device 50 transitions to step S405 and determines whether connection code (B) transmitted from the master device 60 has been received. Subsequent processing is the same as in the case of pairing standby state (a).
Cases corresponding to “a case where the slave device 50 is in pairing standby state (b) (No at step S402), in other words, a case where the above-described activation processing is the second or subsequent activation processing after factory shipment or after initialization of the slave device 50” are assumed to be two cases, namely, “a case where the master device 60 currently executing the connection establishment processing is the same as the master device 60 having previously executed the connection establishment processing including the initial activation processing after factory shipment or after initialization of the slave device 50” and “a case where the master device 60 currently executing the connection establishment processing is different from the master device 60 having previously executed the connection establishment processing including the initial activation processing after factory shipment or after initialization of the slave device 50”.
In “a case where the master device 60 currently executing the connection establishment processing is the same as the master device 60 having previously executed the connection establishment processing including the initial activation processing after factory shipment or after initialization of the slave device 50”, as illustrated in
In “a case where the master device 60 currently executing the connection establishment processing is different from the master device 60 having previously executed the connection establishment processing including the initial activation processing after factory shipment or after initialization of the slave device 50”, as illustrated in
Note that, even in “a case where the master device 60 currently executing the connection establishment processing is different from the master device 60 having previously executed the connection establishment processing including the initial activation processing after factory shipment or after initialization of the slave device 50”, for example, connection code (A) (first connection code) stored in the first storage 51 of the slave device 50 is hacked by malicious users or software and the slave device 50 and the master device 60 each unjustly transition to a standby state (step S308 and step S407), potentially resulting in a state in which normal control cannot be performed.
The data transmission-reception processing illustrated in
In the second processing of the master device 60 illustrated in
In a case where the setting change operation of the slave device 50 (illumination device 1) has been performed (Yes at step S501), the master device 60 (control device 200) reads the security code (B) (second security code) stored in the second storage 61 (step S502), randomly selects a plurality of address data from the security code (B) (step S503), and arranges the address data in the selection order to generate an address code (step S504).
Then, the master device 60 extracts, from the security code (B), random number data corresponding to the respective address data included in the generated address code (step S505), and arranges the extracted random number data in the order of selected address data to generate selected security code (B) (second selected security code) (step S506).
In the example illustrated in
Subsequently, the master device 60 reads key code (B) (second key code) stored in the second storage 61 (step S507) and performs an XOR operation on the selected security code (B) (second selected security code) generated at step S506 using the key code (B) (second key code) read at step S507 to calculate XOR code (B) (second code) (step S508).
Then, the master device 60 generates control data in which the address code generated at step S504 and the XOR code (B) (second code) calculated at step S508 are added to setting values of the slave device 50 (for example, the illumination device 1) (step S509), and transmits the control data to the slave device 50 (step S510).
The slave device 50 (illumination device 1) repeatedly executes determination processing (step S601) of determining whether the control data from the master device 60 (control device 200) to the own device has been received, while the control data from the master device 60 is not received (No at step S601).
In a case where the control data from the master device 60 has been received (Yes at step S601), the slave device 50 reads security code (A) (first security code) stored in the first storage 51 (step S602), extracts, in the arrangement order of a plurality of address data included in the address code added to the setting values included in the control data received from the master device 60, random number data corresponding to the respective address data from the read security code (A) (step S603), and generates first selected security code (A) (step S604).
In the example illustrated in
Subsequently, the slave device 50 reads key code (A) (first key code) stored in the first storage 51 (step S605) and calculates an XOR code (A) (first code) through an XOR operation on the selected security code (A) (first selected security code) generated at step S604 using the key code (A) (first key code) read at step S605 (step S606).
In a case where the XOR code (A) (first code) and the XOR code (B) (second code) match (Yes at step S607), the slave device 50 executes setting change of the own device based on the setting values included in the control data received from the master device 60 (step S608), and transitions to a standby state. Specifically, for example, in a case where the slave device 50 is the illumination device 1 according to the embodiment, the slave device 50 executes setting change of various setting values (in the present disclosure, light distribution values) of the illumination device 1 and the like (step S608), and then transitions to a setting change standby state (step S609) to end the second processing of the slave device 50 illustrated in
In a case where the XOR code (A) (first code) and the XOR code (B) (second code) do not match (No at step S607), the slave device 50 transmits, to the master device 60, a connection termination command for terminating pairing between the slave device 50 and the master device 60 (step S610).
The master device 60 determines whether the connection termination command transmitted from the slave device 50 has been received (step S511). In a case where the connection termination command has not been received from the slave device 50 (No at step S511), the master device 60 transitions to a standby state. Specifically, for example, in a case where the master device 60 is the control device 200 for controlling the illumination device 1 according to the embodiment, the master device 60 transitions to an operation standby state for various setting values (in the present disclosure, light distribution values) of the illumination device 1 and the like (step S512) to end the second processing of the master device 60 illustrated in
In a case where the connection termination command has been transmitted from the slave device 50 (step S610) and the master device 60 has received the connection termination command from the slave device 50 (Yes at step S511), pairing between the slave device 50 and the master device 60 is terminated (step S513 and step S611) to end the second processing of the master device 60 illustrated in
In the present embodiment, in the data transmission-reception processing when control data of various setting values and the like is transmitted and received, in addition to the above-described connection establishment processing, XOR code (B) (second code) is calculated through an XOR operation on selected security code (B) (second selected security code) generated based on an address code generated by the master device 60 and security code (B) (second security code) retained by the master device 60, using key code (B) retained by the master device 60, and is added to the setting values together with the address code and transmitted to the slave device 50, XOR code (A) (first code) is calculated through an XOR operation on selected security code (A) (first selected security code) generated based on the address code received from the master device 60 and security code (A) (first security code) retained by the slave device 50, using key code (A) retained by the slave device 50, and is subjected to match determination with XOR code (B) (second code) received from the master device 60, and communication connection between the slave device 50 and the master device 60 is disconnected in a case where the codes do not match.
Accordingly, in the connection establishment processing, for example, even in a case where connection code (A) (first connection code) stored in the first storage 51 of the slave device 50 is hacked by malicious users and/or software, and communication connection to a network between the slave device 50 and the master device 60 is unjustly made from the outside, further encryption is implemented in the data transmission-reception processing of transmitting and receiving control data of various setting values and the like, which enables realization of a more secure communication connection environment.
Note that, in the aspect described above in the present embodiment, connection codes are exchanged between the slave device 50 and the master device 60 in the connection establishment processing, but the present disclosure is not limited thereto. That is, connection codes may not be exchanged between the slave device 50 and the master device 60 in the connection establishment processing. In this case as well, a secure communication connection environment can be realized in the above-described data transmission-reception processing when control data of various setting values and the like is transmitted and received.
Similarly to the first embodiment, the connection establishment processing illustrated in
After pairing between the slave device 50 and the master device 60 is executed (step S200 in
In the first processing of the master device 60 illustrated in
Meanwhile, in the first processing of the slave device 50 illustrated in
In a case where the slave device 50 is in pairing standby state (a) (Yes at step S402), in other words, in a case where the above-described activation processing is the initial activation processing after factory shipment or after initialization of the slave device 50, the slave device 50 determines whether the connection code request transmitted from the master device 60 has been received (step S403a). In a case where the connection code request has been received (Yes at step S403a), the slave device 50 reads connection code (A) (first connection code) stored in the first storage 51 and transmits the connection code (A) to the master device 60 (step S404a).
The master device 60 determines whether the connection code (A) transmitted from the slave device 50 has been received (step S303a). In a case where the connection code (A) has been received from the slave device 50 (Yes at step S303a), the master device 60 stores the received connection code (A) (first connection code) as connection code (B) (second connection code) in the second storage 61 (step S304a).
Subsequently, the master device 60 determines whether the first timer t1 is equal to or larger than a first timer threshold T1 (for example, 10 [sec]) (step S305). In a case where the first timer t1 is smaller than the first timer threshold T1 (No at step S305), the master device 60 repeatedly executes the processing at and after step S302a and transmits connection code (B) (second connection code) to the slave device 50 when the first timer t1 has become equal to or larger than the first timer threshold T1 (step S306).
In a case where the connection code request transmitted from the master device 60 has not been received (No at step S403a) or in a case where connection code (B) has not been received from the master device 60 (No at step S405), the slave device 50 determines whether the second timer t2 is equal to or larger than a second timer threshold T2 (for example, 10 [sec]) (step S408). In a case where the second timer t2 is smaller than the second timer threshold T2 (No at step S408), the slave device 50 repeatedly executes the processing at and after step S403a.
The slave device 50 determines whether the connection code (B) transmitted from the master device 60 has been received (step S405). In a case where the connection code (B) has been received from the master device 60 (Yes at step S405), the slave device 50 reads connection code (A) (first connection code) stored in the first storage 51 and determines whether the connection code (A) (first connection code) and the connection code (B) (second connection code) received from the master device 60 match (connection code (A)=connection code (B); step S406).
In a case where the connection code (A) (first connection code) and the connection code (B) (second connection code) match (Yes at step S406), the slave device 50 transitions to step S403b.
In a case where the second timer t2 is equal to or larger than the second timer threshold T2 (Yes at step S408) or connection code (A) (first connection code) and connection code (B) (second connection code) do not match (No at step S406), the slave device 50 transmits, to the master device 60, a connection termination command for terminating pairing between the slave device 50 and the master device 60 (step S409).
The master device 60 determines whether the connection termination command transmitted from the slave device 50 has been received (step S307).
In a case where the connection termination command has been transmitted from the slave device 50 (step S409) and the master device 60 has received the connection termination command from the slave device 50 (Yes at step S307), pairing between the slave device 50 and the master device 60 is terminated (step S309 and step S410) to end the first processing of the master device 60 illustrated in
In a case where the connection termination command has not been received from the slave device 50 (No at step S307), the master device 60 subsequently transmits a key code request for requesting the slave device 50 to transmit key code (A) (step S302b).
In a case where the key code request has been received (Yes at step S403b), the slave device 50 reads key code (A) (first key code) stored in the first storage 51 and transmits the key code (A) to the master device 60 (step S404b).
The master device 60 determines whether the key code (A) transmitted from the slave device 50 has been received (step S303b). In a case where the key code (A) has been received from the slave device 50 (Yes at step S303b), the master device 60 stores the received key code (A) (first key code) as key code (B) (second key code) in the second storage 61 (step S304b).
Subsequently, the master device 60 transmits a security code request to the slave device 50 for requesting the transmission of security code (A) (step S302c).
The slave device 50 determines whether the security code request transmitted from the master device 60 has been received (step S403c). In a case where the security code request has been received from the master device 60 (Yes at step S403c), the slave device 50 reads security code (A) (first security code) stored in the first storage 51, transmits the security code (A) to the master device 60 (step S404c), and transitions to a standby state. Specifically, for example, in a case where the slave device 50 is the illumination device 1 according to the embodiment, the slave device 50 transitions to a setting change standby state for various setting values (in the present disclosure, light distribution values) of the illumination device 1 and the like (step S407) to end the first processing of the slave device 50 illustrated in
The master device 60 determines whether the security code (A) transmitted from the slave device 50 has been received (step S303c). In a case where the security code (A) has been received from the slave device 50 (Yes at step S303c), stores the received security code (A) (first security code) as security code (B) (second security code) in the second storage 61 (step S304c), and transitions to a standby state. Specifically, for example, in a case where the master device 60 is the control device 200 for controlling the illumination device 1 according to the embodiment, the master device 60 transitions to an operation standby state for various setting values (in the present disclosure, light distribution values) of the illumination device 1 and the like (step S308) to end the first processing of the master device 60 illustrated in
In a case where the slave device 50 is in pairing standby state (b) (No at step S402), in other words, in a case where the above-described activation processing is the second or subsequent activation processing after factory shipment or after initialization of the slave device 50, the slave device 50 transitions to step S405 and determines whether connection code (B) transmitted from the master device 60 has been received. Subsequent processing is the same as in the case where the slave device 50 is in pairing standby state (a).
In the connection establishment processing of the second embodiment, connection code (A) (first connection code) retained by the slave device 50 and connection code (B) (second connection code) received from the master device 60 are subjected to match determination, and exchange of key codes and security codes is executed in a case where the codes match. In other words, in a case where connection code (A) (first connection code) retained by the slave device 50 and connection code (B) (second connection code) received from the master device 60 do not match, communication connection between the slave device 50 and the master device 60 is disconnected without executing exchange of key codes and security codes.
Accordingly, in the connection establishment processing, in “a case where the master device 60 currently executing the connection establishment processing is different from the master device 60 having previously executed the connection establishment processing including the initial activation processing after factory shipment or after initialization of the slave device 50”, it is possible to reduce the amount of communication until communication connection between the slave device 50 and the master device 60 is disconnected in a case where connection code (A) (first connection code) retained by the slave device 50 and connection code (B) (second connection code) received from the master device 60 do not match.
The preferable embodiments of the present disclosure are described above, but the present disclosure is not limited to the embodiments. Contents disclosed in the embodiments are merely exemplary and may be modified in various kinds of manners without departing from the scope of the present disclosure. Appropriate modifications made without departing from the scope of the present disclosure naturally belong to the technical scope of the present disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2022-163223 | Oct 2022 | JP | national |
This application claims the benefit of priority from Japanese Patent Application No. 2022-163223 filed on Oct. 11, 2022 and International Patent Application No. PCT/JP2023/034404 filed on Sep. 22, 2023, the entire contents of which are incorporated herein by reference.
| Number | Date | Country | |
|---|---|---|---|
| Parent | PCT/JP2023/034404 | Sep 2023 | WO |
| Child | 19173504 | US |