WO2018180760A1 - Radio communication device, radio communication program and repeater - Google Patents

Radio communication device, radio communication program and repeater Download PDF

Info

Publication number
WO2018180760A1
WO2018180760A1 PCT/JP2018/011015 JP2018011015W WO2018180760A1 WO 2018180760 A1 WO2018180760 A1 WO 2018180760A1 JP 2018011015 W JP2018011015 W JP 2018011015W WO 2018180760 A1 WO2018180760 A1 WO 2018180760A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
processing unit
registration
response
party
Prior art date
Application number
PCT/JP2018/011015
Other languages
French (fr)
Japanese (ja)
Inventor
堅太 後藤
誠示 二村
Original Assignee
パナソニックIpマネジメント株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by パナソニックIpマネジメント株式会社 filed Critical パナソニックIpマネジメント株式会社
Publication of WO2018180760A1 publication Critical patent/WO2018180760A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to a wireless communication apparatus, a wireless communication program, and a repeater having a function of searching for a communication partner.
  • a wireless communication system in which a wireless communication device having a function of searching for a communication partner is used.
  • a parent device and a child device register communication partners with each other before starting normal communication.
  • a so-called active scan in which the child device searches for the parent device is executed.
  • a standard having a standard for searching for a parent device by a child device for example, there is a standard used by the Wi-SUN Alliance.
  • the slave unit performs an active scan on the master unit when registering the communication partner before starting communication. Specifically, the slave unit broadcasts a response request signal (Enhanced Beacon Request). At this time, the child device searches for the parent device by sequentially using each of a plurality of channels, for example, 14 channels, until a response signal (Enhanced Beacon) is received from the parent device (see Patent Document 1). When the slave unit receives a response signal from the master unit using any one of the plurality of channels, the slave unit transmits a PCI (Peripheral Component-Interconnect) signal to the master unit that transmitted the response signal. . As a result, each of the slave unit and the master unit performs PANA (Protocol carrying authentication Authentication for Network Access) authentication of the communication partner, and then completes registration of the communication partner for which authentication has been completed.
  • PANA Protocol carrying authentication Authentication for Network Access
  • the registration time of the slave unit becomes very long.
  • the efficiency of the initial setting work before the start of use by the contractor or user of the master unit and the slave unit in each home or the like is reduced.
  • An object of the present invention is to provide a wireless communication device and a relay that can increase the possibility of reducing the time required for registration in a communication system in which one wireless communication device searches and registers the other wireless communication device. And providing a program for wireless communication.
  • the wireless communication apparatus searches for a communication partner using any one of a plurality of communication channels having different radio wave frequencies.
  • a connection processing unit for executing processing for transmitting, a transmission processing unit for transmitting a response request signal to the other party of communication based on an instruction from the connection processing unit, and a response request signal from the other party of communication A reception processing unit that notifies the connection processing unit when a response signal is received, and the connection processing unit registers the other party of the communication based on a registration start instruction input from the outside In the search for the other party of communication, even if a predetermined response waiting time for registration has elapsed, if the reception processing unit has not received the response signal from the other party of communication, The registration response waiting time elapses again using any one of the plurality of communication channels that have not been used yet after the search for the communication partner for recording is started.
  • the reception processing unit receives the response signal from the other party of the communication, the process for performing the registration of the other party of the communication is performed, and after the process for the registration is completed, In the search for the other party of communication in the case of normal communication, even if a predetermined response waiting time during normal communication has elapsed, the reception processing unit receives the response from the other party of communication. If no signal is received, any one communication channel of the plurality of communication channels that has not been used yet after the search for the communication partner for the normal communication is started.
  • the process for searching for the other party of communication is executed until the response waiting time during normal communication passes again, while any one of the above is performed until the response waiting time during normal communication passes.
  • the reception processing unit receives the response signal from the other party of communication using two communication channels, the process for performing the normal communication with the other party of communication is performed, and the response for registration The waiting time is shorter than the response waiting time during normal communication.
  • the program for wireless communication according to the second aspect of the present invention is a process for searching for a communication partner using any one of a plurality of communication channels having different radio wave frequencies.
  • a connection processing unit that executes a response, a transmission processing unit that transmits a response request signal to the other party of communication based on an instruction from the connection processing unit, and a response signal corresponding to the response request signal received from the other party of communication
  • a wireless communication program for operating as a reception processing unit for notifying the connection processing unit, wherein the connection processing unit is configured to communicate with the other party of the communication based on a registration start instruction input from the outside.
  • the reception processing unit If no response signal has been received, any one of the plurality of communication channels that have not been used yet after the search for the other party of communication for the registration is started. Using the processing for searching for the communication partner until the registration response waiting time elapses again, while the registration response waiting time elapses.
  • the process for registering the other party of communication is performed, and the registration In the search for the other party of communication when performing normal communication with the other party of communication after the processing for the If the reception processing unit has not received the response signal from the communication partner, the plurality of communication units that have not been used yet after the search for the communication partner for the normal communication is started.
  • a process for searching for the other party of communication is performed until the response waiting time during normal communication passes again, while waiting for a response during normal communication
  • the reception processing unit receives the response signal from the other party of communication using the one of the communication channels before the time elapses the normal communication is performed with the other party of communication.
  • the registration response waiting time is shorter than the normal communication response waiting time.
  • a repeater is a communication system including a first wireless communication device and a second wireless communication device, wherein the repeater between the first wireless communication device and the second wireless communication device.
  • a relay that relays communication information between the first wireless communication device and a determination unit that determines whether the first wireless communication device is registered or the second wireless communication device is registered.
  • the function for registering the wireless communication apparatus of the first aspect described above is exhibited.
  • the present invention in a communication system in which one wireless communication device searches for and registers the other wireless communication device, it is possible to increase the possibility of reducing the time required for mutual registration.
  • the communication system includes a parent device 10, a repeater 20, and a plurality of child devices 30 each functioning as a wireless communication device.
  • the base unit 10 is, for example, a HEMS (Home Energy Management System) management device.
  • mobile_unit 30 is a household apparatus in HEMS. Specifically, the subunit
  • the repeater 20 is a device that relays communication information by relaying radio waves between the parent device 10 and the child device 30 in the wireless communication system.
  • the repeater 20 is used when the distance between the parent device 10 and the child device 30 is large and radio waves emitted from at least one of the parent device 10 and the child device 30 do not reach the other.
  • the repeater 20 is installed at a position where radio communication with the base unit 10 can be performed using radio waves and radio communication with the slave unit 30 using radio waves can be performed.
  • a plurality of repeaters 20 are selected according to the distance between the parent device 10 and the child device 30 and the radio wave arrival distance from each of the parent device 10 and the child device 30.
  • signals are sequentially transmitted in series between the master unit 10 and the slave unit 30.
  • the active scan in the lower layer that is, the search for the master unit 10 or the repeater 20 by the slave unit 30 will be described.
  • the slave unit 30 When a registration button provided on the slave unit 30 is pressed, the slave unit 30 sends a response signal from the master unit 10 in order to search for the master unit 10 installed at a position within a range where radio waves reach from the slave unit 30. Until a response request signal is transmitted to the surrounding environment while sequentially changing the frequency.
  • mobile_unit 30 receives the response signal corresponding to the response request signal from the main
  • the repeater 20 is the only device installed within the range of the radio wave reach from the slave unit 30.
  • the slave unit 30 receives a response signal corresponding to the response request signal from the repeater 20 that has received the response request signal, and when the authentication of the repeater 20 is completed, the repeater 20 is set as a communication partner. sign up.
  • the parent device 10 registers the child device 30 installed at a position within a range where radio waves reach from the parent device 10. Waits for a predetermined period (registration timeout) until receiving a response request signal. During this standby period, base unit 10 receives a response request signal from slave unit 30, and when authentication of slave unit 30 is completed, it registers slave unit 30 as a communication partner. Further, when receiving the response request signal from slave unit 30, master unit 10 returns a response signal corresponding to the response request signal to slave unit 30.
  • the base unit 10 receives the response request signal from the repeater 20 within the waiting period (registration timeout) and completes the authentication of the repeater 20, and causes the repeater 20 to communicate. Register as an opponent. Further, when receiving the response request signal from repeater 20, base unit 10 returns a response signal corresponding to the response request signal to repeater 20.
  • the repeater 20 has both the function of the parent device 10 and the function of the child device 30 as functions for registration of the communication partner.
  • the repeater 20 performs the same function as that of the slave unit 30 in relation to the master unit 10 while searching for the partner of communication and registration of the partner of communication, while the master unit in the relationship with the slave unit 30.
  • the same function as 10 functions is exhibited.
  • authentication and key distribution between the parent device 10 and the child device 30 authentication and key distribution between the parent device 10 and the relay device 20, and the relay device 20 and the child device 30 in the upper layer. Authentication and key distribution with each other, or authentication and key distribution between the repeaters 20 are performed.
  • the slave unit 30 responds from the master unit 10 using any one of a plurality of channels. Receive a signal.
  • the slave unit 30 transmits a PCI (Peripheral Component Interconnect) signal to the master unit 10.
  • PCI Peripheral Component Interconnect
  • the master unit 10 and the slave unit 30 mutually perform PANA (Protocol carrying authentication Authentication for network Access) authentication, and then complete registration of the communication partner.
  • PANA Protocol carrying authentication Authentication for network Access
  • the slave unit 30 performs an active scan on the master unit 10. Specifically, the slave unit 30 broadcasts a response request signal to the surrounding environment so that the response request signal reaches the master unit 10 set at a position where the response request signal can be received. Accordingly, the slave unit 30 sequentially searches each of the 14 channels until a response signal is received from the master unit 10. For example, in the Wi-SUN B route, the search for the parent device 10 by the child device 30 is executed in each of all 14 channels at intervals of 400 kHz from 922.5 MHz to 922.7 MHz. The scan time (Scan Duration) waiting for reception of the response signal (Enhanced Beacon) at this time is a predetermined value.
  • Scan Duration waiting for reception of the response signal (Enhanced Beacon) at this time is a predetermined value.
  • the contractor or user of the communication system pushes down the registration button of the parent device 10. Accordingly, when the base unit 10 receives a response request signal from the handset 30 using any one of the 14 channels, the base unit 10 returns a response signal to the handset 30. In the example of FIG. 3, the parent device 10 returns a response signal to the child device 30 on the fourteenth channel.
  • the slave unit 30 can receive the response signal transmitted by the master unit 10 within a predetermined response waiting time for waiting for the response signal from the master unit 10 to be received. If exceeded, even if the base unit 10 transmits a response signal, the response signal cannot be received.
  • the time until the base unit 10 finishes transmitting the response signal after receiving the response request signal is the waiting time after the end of the communication when another wireless communication device is communicating with the handset 30. It depends heavily on some backoff time.
  • the back-off time is a time selected at random from a time equal to or less than a predetermined upper limit value.
  • the back-off time of the parent device 10 is long, the parent device 10 may not be able to transmit a response signal even if the response waiting time of the child device 30 is exceeded. In this case, the subunit
  • the configuration of the handset 30 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
  • wireless communication apparatus has the antenna 31, the reception process part 32, the connection process part 33, the communication parameter management part 34, the application control part 35, the registration information storage part 36, the transmission process part 37, and the alerting
  • the antenna 31 receives radio waves and transmits them to the reception processing unit 32.
  • the reception processing unit 32 notifies the connection processing unit 33 of the received information.
  • the reception processing unit 32 notifies the connection processing unit 33 of the response signal (Enhanced Beacon) received by the antenna 31.
  • the connection processing unit 33 performs processing for searching for a communication partner by using any one of a plurality of communication channels having different radio wave frequencies.
  • the connection processing unit 33 notifies the application control unit 35 that the response signal has been received.
  • the application control unit 35 starts PANA authentication for registration of the parent device 10 that has transmitted the response signal.
  • the application control unit 35 stores information related to the parent device 10 in the registration information storage unit 36.
  • the application control unit 35 executes control for exhibiting the function of the slave unit 30 as a product.
  • the connection processing unit 33 receives the command signal from the application control unit 35 and executes control for communicating with the parent device 10.
  • the application control unit 35 causes the notification unit 38 to notify information related to registration of the parent device 10.
  • the communication parameter management unit 34 stores a plurality of communication channels through which the connection processing unit 33 can transmit a response request signal.
  • the communication parameter management unit 34 stores a scan time coefficient.
  • the communication parameter management unit 34 stores the scan time coefficient Y and the scan time (Scan ⁇ Duration) waiting for reception of the response signal corresponding to the response request signal in association with each other.
  • the transmission processing unit 37 receives a command signal from the connection processing unit 33 and transmits a response request signal (Enhanced Beacon Request) from the antenna 31. That is, the transmission processing unit 37 transmits a response request signal to the other party of communication based on an instruction from the connection processing unit 33.
  • a response request signal Enhanced Beacon Request
  • the notification unit 38 is a display unit that displays an image, for example, a liquid crystal display.
  • the notification unit 38 may generate sound.
  • the information notified by the notification unit 38 is, for example, registration failure or success.
  • wireless communication apparatus is provided with the computer.
  • the computer executes the wireless communication program, the functions of the connection processing unit 33, the transmission processing unit 37, the reception processing unit 32, and the like are realized.
  • the computer includes a processor that operates according to a program as a main hardware configuration.
  • the processor may be of any type as long as the function can be realized by executing the program.
  • the processor is composed of one or a plurality of electronic circuits including a semiconductor integrated circuit (IC) or an LSI (large scale integration).
  • the plurality of electronic circuits may be integrated on one chip or provided on a plurality of chips.
  • the program is recorded on a non-transitory recording medium such as a ROM, an optical disk, or a hard disk drive that can be read by a computer.
  • the program may be stored in advance in a storage medium included in the child device 30, or may be installed in the child device 30 from a server such as the cloud on the Internet, or may be external to the child device 30 such as a stick memory.
  • the slave unit 30 may be installed from the recording medium.
  • the scan time increases as the scan time coefficient Y increases.
  • the scan time is 633.6 ms per channel.
  • the communication parameter management unit 34 of the slave unit 30 stores 15 types of scan times corresponding to the 15 types of scan time coefficients Y, respectively.
  • FIG. 5 exemplifies the relationship between the scan time coefficient Y of the Wi-SUN B route and the scan time, which is currently clear, only to explain the relationship between the scan time coefficient Y and the scan time.
  • the scan time coefficient Y is 5 seconds.
  • the scan time of Wi-SUN HAN is assumed to be considerably longer than the scan time of Wi-SUN B route in any scan time coefficient Y.
  • a control process executed by the slave unit 30 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
  • the connection processing unit 33 selects the X channel from the plurality of communication channels stored in the communication parameter management unit 34 in step S301. Thereafter, in step S302, the connection processing unit 33 sets the scan time coefficient Y of the communication parameter management unit 34 to an initial value, for example, “1”.
  • the slave unit 30 searches for the master unit 10 only for the scan time corresponding to the initial value of the scan time coefficient Y in FIG.
  • the scan time corresponding to the initial value of the scan time coefficient Y is shorter than the scan time corresponding to the scan time coefficient Y used during normal communication.
  • the scan time coefficient Y is a recommended value from “1” one by one, for example, , “5”. However, the scan time coefficient Y may be increased from the initial value other than “1” to the recommended value one by one. Further, the scan time coefficient Y may be increased from the initial value to the recommended value at once.
  • the connection processing unit 33 is set in a state of waiting for the reception processing unit 32 to receive a response signal corresponding to the response request signal.
  • the reception processing unit 32 of the slave unit 30 cannot receive the response signal.
  • the time during which the reception processing unit 32 of the slave unit 30 is waiting for reception of the response signal is the scan time of the master unit 10 by the slave unit 30 as described above.
  • step S303 the connection processing unit 33 causes the transmission processing unit 37 to execute processing for transmitting the response request signal using the X channel. Thereby, a response request signal is transmitted from the antenna 31.
  • step S304 the connection processing unit 33 determines whether or not the reception processing unit 32 has received the response signal transmitted by the base unit 10.
  • step S304 if the reception processing unit 32 has received the response signal, the connection processing unit 33 starts PANA authentication of the parent device 10 in step S305. Thereafter, in step S306, the connection processing unit 33 determines whether the PANA authentication is successful.
  • step S306 if the PANA authentication is successful, the application control unit 35 is notified of it. Accordingly, in step S307, the application control unit 35 stores information related to the parent device 10 in the registration information storage unit 36, and displays that the registration of the parent device 10 is successful on the notification unit 38, for example, a display. Thereafter, in step S313, the scan time coefficient Y stored in the communication parameter management unit 34 is set to a recommended value “5” used in normal communication. Therefore, during normal communication, the slave unit 30 searches for the master unit 10 by active scan using each channel for a scan time longer than the scan time during registration communication.
  • step S312 is executed.
  • the process of step S312 is a process when registration fails, and the process will be described later.
  • step S304 if the reception processing unit 32 has not received a response signal, the connection processing unit 33 switches the communication channel in step S308. Specifically, the communication channel number increases from channel X to channel X + 1 by one channel. Each time step S308 is repeated, the communication channel number increases by one.
  • step S309 the connection processing unit 33 determines whether or not the search (scan) of the parent device 10 has been completed in all channels. If it is determined in step S309 that scanning has not been completed for all channels, the processing in step S303 is executed again.
  • step S309 it may be determined that the search for base unit 10 has been completed in all channels.
  • the connection processing unit 33 considers that the communication partner cannot be detected in the current channel, and the connection processing unit 33 scans the scan time coefficient stored in the communication parameter management unit 34 in step S310. Increase Y by one.
  • the search for base unit 10 is executed for a scan time longer than the scan time of the previous search.
  • the scan time coefficient Y is sequentially incremented from “0” to “5”, and the slave unit 30 searches for the master unit 10 only for the scan time corresponding to each scan time coefficient Y.
  • the application control unit 35 may cause the connection processing unit 33 to automatically repeat the process for registering the master device 10. Further, when the slave unit 30 fails to register the master unit 10, the application control unit 35 registers the master unit 10 in the connection processing unit 33 based on the pressing of the registration button of the contractor or the user's slave unit 30 again. You may repeat the process for.
  • step S313 the scan time coefficient Y is set to “5” as a recommended value used for normal communication.
  • connection processing unit 33 executes the following process in searching for a communication partner in the case of registering the communication partner based on a registration start instruction input from the outside.
  • step S304 even if a predetermined registration response waiting time elapses, the reception processing unit 32 may not receive a response signal from the communication partner.
  • step S308 the connection processing unit 33 selects any one of the plurality of communication channels that have not been used yet after the search for the communication partner for registration has started. Use. Thereby, the connection processing unit 33 executes a process for searching for a communication partner until the registration response waiting time elapses again.
  • step S304 when the reception processing unit 32 receives a response signal from the other party of communication using any one of the plurality of communication channels before the registration response waiting time elapses in step S304. There is. In this case, in step S306, the connection processing unit 33 executes a process for registering the other party.
  • step S309 in any of the plurality of communication channels, the reception processing unit 32 may not receive a response signal from the communication partner until the registration response waiting time elapses.
  • the connection processing unit 33 searches for a communication partner in step S310 using another registration response waiting time longer than the registration response waiting time. According to this, the registration response waiting time can be gradually increased. Accordingly, it is possible to gradually increase the possibility of success of the active scan while gradually increasing the registration response waiting time.
  • the connection processing unit 33 may change the registration response waiting time to the normal communication response waiting time, and re-execute the search for the communication partner. According to this, by increasing the registration response waiting time to the normal communication response waiting time, the possibility of success of the active scan can be increased at a stroke.
  • FIG. 7 is a flowchart for explaining control processing at the time of normal communication executed by the slave unit 30 as the wireless communication device in the communication system according to the embodiment.
  • normal communication means all communication executed after communication for registration in the present embodiment.
  • the connection processing unit 33 selects the X channel from the plurality of communication channels stored in the communication parameter management unit 34 in step S ⁇ b> 351. Keep the state selected. Thereafter, in step S352, the connection processing unit 33 maintains a state in which the scan time coefficient Y of the communication parameter management unit 34 is set to the recommended value “5”. The scan time corresponding to the recommended value “5” is longer than the scan time corresponding to the scan time coefficient Y used in the registration process. Accordingly, the slave unit 30 searches the master unit 10 only for the scan time corresponding to the recommended value “5” of the scan time coefficient Y in FIG.
  • the scan time coefficient “5” is not changed. However, in this case as well, the scan time coefficient “5” may be changed and increased from 5 to the maximum value one by one. Further, the scan time coefficient may be increased from the recommended value “5” to the maximum value at once.
  • the connection processing unit 33 of the slave unit 30 sets the reception processing unit 32 in a standby state for receiving a response signal corresponding to the response request signal.
  • the reception processing unit 32 of the slave unit 30 cannot receive the response signal.
  • the time during which the reception processing unit 32 of the slave unit 30 is waiting for reception of the response signal is the scan time of the master unit 10 by the slave unit 30 as described above.
  • step S353 the connection processing unit 33 causes the transmission processing unit 37 to execute processing for transmitting a response request signal using the X channel. Thereby, a response request signal is transmitted from the antenna 31.
  • step S354 the connection processing unit 33 determines whether or not the reception processing unit 32 has received the response signal.
  • step S354 if the reception processing unit 32 has received the response signal, the connection processing unit 33 performs normal communication with the parent device 10 in step S355. If the handset 30 can communicate with the base unit 10, the processing from step S351 to step S355 is repeated.
  • step S354 if the reception processing unit 32 has not received a response signal, the connection processing unit 33 switches the communication channel in step S356. Specifically, the communication channel number increases from channel X to channel X + 1 by one channel. Each time step S356 is repeated, the communication channel number increases by one.
  • step S357 the connection processing unit 33 determines whether or not the search (scan) of the parent device 10 has been completed in all channels. If it is determined in step S357 that scanning has not been completed for all channels, the process of step S353 is executed again.
  • step S357 it may be determined that the search for base unit 10 has been completed in all channels.
  • step S358 the connection processing unit 33 determines that the communication has failed, and notifies the application control unit 35 to that effect. Thereby, the application control unit 35 causes the notification unit 38, for example, the display unit to display that the communication has failed.
  • the scan time coefficient Y is maintained at “5” as a recommended value.
  • connection processing unit 33 executes the following process in searching for a communication partner when performing normal communication with the communication partner after the registration process is completed.
  • the reception processing unit 32 may not receive a response signal from the other party of communication.
  • the connection processing unit 33 uses any one of a plurality of communication channels that have not been used yet after the search for a communication partner for normal communication is started. To do. Thereby, the connection processing unit 33 executes processing for searching for a communication partner until the normal communication response waiting time elapses again.
  • the reception processing unit 32 may receive a response signal from the other party of communication by using any one communication channel before the response waiting time during normal communication elapses.
  • the connection processing unit 33 executes processing for performing normal communication with the communication partner.
  • the response waiting time for registration is larger than the response waiting time during normal communication. short. Therefore, according to the slave unit 30 of the present embodiment, when searching and registering a communication partner by active scan, the possibility that the time required for registration can be shortened can be increased.
  • base unit 10 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
  • a base unit 10 as a wireless communication device includes an antenna 11, a reception processing unit 12, a connection processing unit 13, a communication parameter management unit 14, an application control unit 15, a registration information storage unit 16, a transmission processing unit 17, and a notification unit 18. I have.
  • the antenna 11 receives radio waves and transmits them to the reception processing unit 12.
  • the reception processing unit 12 notifies the connection processing unit 13 of the received information.
  • the reception processing unit 12 includes a reception processing unit 12 that notifies the connection processing unit 13 when the antenna 11 receives a response request signal (Enhanced Beacon Request) from a communication partner. Yes.
  • the connection processing unit 13 receives the command signal from the application control unit 15 and executes control for communicating with the slave unit 30.
  • the connection processing unit 13 executes processing for registering a communication partner.
  • the application control unit 15 executes control for exhibiting the function of the parent device 10 as a product.
  • the application control unit 15 causes the notification unit 18 to notify the information.
  • the application control unit 15 causes the registration information storage unit 16 to store information related to registration of the slave unit 30.
  • the connection processing unit 13 uses a certain communication channel to execute processing for registering a communication partner when the reception processing unit 12 receives a response request signal. That is, when the reception processing unit 12 receives the response request signal from the slave unit 30, the connection processing unit 13 notifies the application control unit 15 that the response request signal has been received. Thereby, the application control unit 15 causes the transmission processing unit 17 to execute a process of transmitting a response signal through the connection processing unit 13. As a result, a response signal is transmitted from the antenna 11. Further, the application control unit 15 starts PANA authentication for registration of the slave unit 30 that has transmitted the response request signal. If the PANA authentication of the child device 30 is successful, the application control unit 15 stores the child device 30 in the registration information storage unit 16.
  • the communication parameter management unit 14 stores an upper limit value of a plurality of backoff times.
  • the maximum value of the upper limit value of backoff time (MacMaxBE (Back-off Exponent)) and the minimum value of the upper limit value of backoff time (MacMinBE) are the same.
  • the transmission processing unit 17 transmits a response signal (Enhanced Beacon) corresponding to the response request signal from the antenna 11 based on an instruction from the connection processing unit 13.
  • the transmission processing unit 17 transmits a response signal corresponding to the response request signal to a communication partner using a certain communication channel based on an instruction from the connection processing unit 13.
  • the notification unit 18 is a display unit that displays an image, for example, a liquid crystal display.
  • the notification unit 18 may generate sound.
  • the information notified by the notification unit 18 is, for example, registration failure or success.
  • the master unit 10 as a wireless communication device includes a computer.
  • the computer executes the wireless communication program, thereby realizing the functions of the connection processing unit 13, the transmission processing unit 17, the reception processing unit 12, and the like.
  • the computer includes a processor that operates according to a program as a main hardware configuration.
  • the processor may be of any type as long as the function can be realized by executing the program.
  • the processor is composed of one or a plurality of electronic circuits including a semiconductor integrated circuit (IC) or an LSI (large scale integration).
  • the plurality of electronic circuits may be integrated on one chip or provided on a plurality of chips.
  • the program is recorded on a non-transitory recording medium such as a ROM, an optical disk, or a hard disk drive that can be read by a computer.
  • the program may be stored in advance in a storage medium included in the parent device 10, installed from a server such as a cloud on the Internet to the parent device 10, or external to the parent device 10 such as a stick memory. It may be installed in the parent device 10 from a recording medium.
  • the connection processing unit 13 selects the X channel from the plurality of communication channels of the communication parameter management unit 14 in step S101. Thereafter, in step S102, the connection processing unit 13 sets the back-off time of the communication parameter management unit 14 to the initial value “3”.
  • the initial value “3” of the back-off time is a value corresponding to a back-off time shorter than the back-off time used during normal communication. Therefore, base unit 10 waits for a back-off time shorter than the back-off time during normal communication when transmitting a certain signal.
  • the connection processing unit 13 sets the reception processing unit 12 to be in a standby state for receiving a response request signal.
  • the reception processing unit 12 of the parent device 10 receives the response request signal during a time other than the time when the reception processing unit 12 of the parent device 10 waits for reception of the response request signal (registration timeout). I can't.
  • the time (registration timeout) that the reception processing unit 12 of the base unit 10 is waiting for receiving the response request signal is determined in advance.
  • step S103 the connection processing unit 13 causes the reception processing unit 12 to start receiving a response request signal on the X channel. That is, the connection processing unit 13 causes the reception processing unit 12 to wait for reception of a response request signal. Thereafter, in step S104, the connection processing unit 13 determines whether or not the reception processing unit 12 has received the response request signal transmitted by the slave unit 30.
  • step S104 if the connection processing unit 13 determines that the reception processing unit 12 has received the response request signal, the connection processing unit 13 transmits a response signal corresponding to the response request signal in step S105. Thereby, the subunit
  • step S106 the connection processing unit 13 of the parent device 10 determines whether the PANA authentication is successful. If it is determined in step S106 that the PANA authentication has been successful, the connection processing unit 13 notifies the application control unit 15 to that effect. Thereby, in step S107, the application control unit 15 stores information related to the child device 30 that has transmitted the response request signal in the registration information storage unit 16, and notifies the notification unit 18, for example, the display unit, that the registration is successful. Display.
  • step S104 if the connection processing unit 13 does not determine that the response request signal has been received by the reception processing unit 12 within the registration timeout, in step S108, it is considered that the registration of the slave unit 30 has failed. Thereby, the connection processing unit 13 notifies the application control unit 15 that the registration has failed. As a result, the application control unit 15 causes the notification unit 18 to display that registration has failed. Thereafter, in step S109, the connection processing unit 13 sets the upper limit value of the back-off time to “8”.
  • FIG. 10 is a flowchart for explaining control processing during normal communication executed by base unit 10 as a wireless communication device in the communication system according to the embodiment.
  • step S151 the connection processing unit 13 of the base unit 10 maintains a state in which the communication channel of the communication parameter management unit 14 is set to the X channel.
  • step S152 the connection processing unit 13 maintains a state in which the backoff time of the communication parameter management unit 14 is set to the recommended value “8”.
  • This recommended value “8” of the back-off time is a value corresponding to a back-off time longer than the back-off time used in the control process for normal registration.
  • connection processing unit 13 sets the reception processing unit 12 to be in a standby state for receiving a response request signal for the registration timeout period. Even in this case, during the time other than the time (registration timeout) when the reception processing unit 12 of the base unit 10 is waiting for the reception of the response request signal, the reception processing unit 12 of the base unit 10 Can not receive.
  • step S153 the connection processing unit 13 causes the reception processing unit 12 to start receiving a response request signal using the X channel. Thereafter, in step S154, the connection processing unit 13 determines whether or not the reception processing unit 12 has received the response request signal transmitted by the slave unit 30.
  • step S154 if the connection processing unit 13 determines that the reception processing unit 12 has received the response request signal, the connection processing unit 13 transmits a response signal corresponding to the response request signal in step S155. Thereafter, in step S156, communication with the slave unit 30 is executed. On the other hand, in step S154, if the connection processing unit 13 does not determine that the response request signal has been received by the reception processing unit 12, the connection processing unit 13 considers that communication has failed in step S157. Thereby, the connection processing unit 13 notifies the application control unit 15 that the communication has failed. As a result, the application control unit 15 causes the notification unit 18 to display that the communication has failed.
  • connection processing unit 13 of the base unit 10 randomly detects that a certain communication channel is not being used by another wireless communication device, and then starts from a time equal to or shorter than the upper limit value of the back-off time. Wait for the selected backoff time. Thereafter, the connection processing unit 13 of the parent device 10 causes the transmission processing unit 17 to transmit a response signal.
  • the upper limit value of the back-off time when registering the communication partner is smaller than the upper limit value of the back-off time when performing normal communication with the communication partner after the process for registering the communication partner is completed.
  • the child device 30 searches for and registers the parent device 10
  • a certain communication channel being used by another wireless communication device is detected by the base unit 10 itself receiving a radio wave transmitted by the other wireless communication device.
  • the registration process may not be completed within the registration timeout.
  • the connection processing unit 13 determines the upper limit value of the back-off time when performing normal communication with the communication partner from the upper limit value of the back-off time when registering the communication partner. Change to value. According to this, it is possible to prevent the occurrence of problems due to the continuous use of the upper limit value of the back-off time for the processing for registration.
  • the configuration of the repeater 20 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
  • the repeater 20 has the configuration and function of both the parent device 10 and the child device 30 regarding the control processing for registration.
  • the application control unit 25 of the repeater 20 includes both the application control unit 15 of the parent device 10 and the application control unit 35 of the child device 30, and the application control unit 15 of the parent device 10 and the application of the child device 30. Both functions of the control unit 35 are exhibited.
  • the connection processing unit 23 of the repeater 20 has both the configuration of the connection processing unit 13 of the parent device 10 and the connection processing unit 33 of the child device 30, and the connection between the connection processing unit 13 of the parent device 10 and the child device 30. Both functions of the processing unit 33 are exhibited.
  • the registration information storage unit 26 of the repeater 20 includes information on the communication partner stored in the registration information storage unit 16 of the parent device 10 and information on the communication partner stored in the registration information storage unit 36 of the child device 30. Both can be memorized.
  • the communication parameter management unit 24 of the repeater 20 stores both the parameters stored in the communication parameter management unit 14 of the parent device 10 and the parameters managed by the communication parameter management unit 34 of the child device 30.
  • the transmission processing unit 27 of the repeater 20 exhibits the same function as the transmission processing unit 17 of the parent device 10 and the same function as the function of the transmission processing unit 37 of the child device 30.
  • the reception processing unit 22 of the repeater 20 exhibits a function similar to the function of the reception processing unit 12 of the parent device 10 and also exhibits a function similar to the function of the reception processing unit 32 of the child device 30.
  • the antenna 21 of the repeater 20 can transmit and receive a response request signal and a response signal in the same manner as the antenna 11 of the parent device 10 and the antenna 31 of the child device 30.
  • the notification unit 28 of the repeater 20 displays either the success or failure of registration, similarly to the notification unit 38 of the child device 30 and the notification unit 18 of the parent device 10.
  • step S201 when the repeater 20 registers a communication partner, first, the connection processing unit 23 is in a stage in which one of the parent device 10 and the child device 30 should be registered. It is determined whether. If it is determined in step S201 that the child device 30 is to be registered, the connection processing unit 23 executes a process for registering the child device 30 in step S202. On the other hand, if it is determined in step S201 that the parent device 10 is to be registered, the connection processing unit 23 executes a process for registering the parent device 10 in step S203.
  • the parent device 10 is registered first, and then the child device 30 is registered. Therefore, in the first determination process of step S201, it is determined that the parent device 10 should be registered, and in the subsequent determination process of step S201, it is determined that the child device 30 should be registered.
  • the determination method of which of the parent device 10 and the child device 30 should be registered and the order of their registration may be any.
  • the repeater 20 Since the repeater 20 functions as a slave when registering the master 10 in step S203, the repeater 20 executes a process similar to the control process executed by the slave 30 described in FIG. 6 and FIG. On the other hand, since the repeater 20 functions as a parent device when registering the child device 30 in step S202, the repeater 20 executes a process similar to the control process executed by the parent device 10 shown in FIGS.
  • the repeater 20 of the embodiment includes a slave unit 30 in a communication system including a slave unit 30 as a first wireless communication device and a master unit 10 as a second wireless communication device. Relays communication information with base unit 10.
  • the repeater 20 includes a determination unit (step S201) that determines whether to register the child device 30 or to register the parent device 10. Thereby, when the determination unit determines that the base unit 10 should be registered, the repeater 20 performs the function for registering the slave unit 30 described above, or the determination unit registers the slave unit 30. When it is determined that it should be performed, the above-described function for registering the parent device 10 is exhibited. According to this, confusion of control of the repeater 20 can be prevented.
  • wireless communication apparatus is provided with the connection process part 33, the transmission process part 37, and the reception process part 32.
  • FIG. 1 The subunit
  • the connection processing unit 33 performs processing for searching for a communication partner by using any one of a plurality of communication channels having different radio wave frequencies.
  • the transmission processing unit 37 transmits a response request signal to the other party of communication based on an instruction from the connection processing unit 33.
  • the reception processing unit 32 notifies the connection processing unit 33 when a response signal corresponding to the response request signal is received from the communication partner.
  • the connection processing unit 33 performs the following processing in searching for a communication partner when registering the communication partner based on an instruction to start registration input from the outside.
  • the reception processing unit may not receive a response signal from the communication partner.
  • the connection processing unit 33 uses any one of a plurality of communication channels that have not been used yet after the search for a communication partner for registration is started. Thereby, the connection processing unit 33 executes a process for searching for a communication partner until the registration response waiting time elapses again.
  • the reception processing unit 32 may receive a response signal from the other party of communication by using any one of the plurality of communication channels before the registration response waiting time elapses. In this case, the connection processing unit 33 executes a process for registering a communication partner.
  • the connection processing unit 33 performs the following process in searching for a communication partner when performing normal communication with the communication partner after the registration process is completed.
  • the reception processing unit 32 may not receive a response signal from the other party of communication.
  • the connection processing unit 33 uses any one of a plurality of communication channels that have not been used yet after the search for a communication partner for normal communication is started. To do. Thereby, the connection processing unit 33 executes processing for searching for a communication partner until the normal communication response waiting time elapses again.
  • the reception processing unit 32 may receive a response signal from the other party of communication using any one communication channel before the normal communication response waiting time elapses. In this case, the connection processing unit 33 executes processing for performing normal communication with the communication partner.
  • the response waiting time for registration is shorter than the response waiting time during normal communication. According to this, in the communication system in which one wireless communication device searches for and registers the other wireless communication device, it is possible to increase the possibility of shortening the time required for mutual registration.
  • the reception processing unit 32 sends a response signal from the communication partner before the registration response waiting time elapses in any of the plurality of communication channels. You may not receive.
  • the connection processing unit 33 may perform another search for a communication partner using another registration response waiting time longer than the registration response waiting time. According to this, the registration response waiting time can be gradually increased.
  • Other registration response wait time may be a normal communication response wait time. According to this, the response waiting time for registration can be increased at a stretch to the response waiting time during normal communication.
  • the wireless communication program of the embodiment is for operating a computer as the connection processing unit 33, the transmission processing unit 37, and the reception processing unit 32 of the slave unit 30 as the above-described wireless communication device. is there.
  • the repeater 20 of the embodiment includes a slave unit 30 and a master unit 10 in a communication system including a slave unit 30 as a first radio communication device and a master unit 10 as a second radio communication device.
  • Relay communication information between The repeater 20 includes a determination unit (step S201) that determines whether to register the child device 30 or to register the parent device 10. Accordingly, when the determination unit determines that the parent device 10 should be registered, the above-described function for registering the child device 30 is exhibited. According to this, confusion of control of the repeater 20 can be prevented.

Abstract

If a receiving processing unit (32) has not received a response signal from a communication partner even though a predefined registration response wait time has elapsed, then a connection processing unit (33) uses one communication channel of multiple communication channels still unused since starting the search for a communication partner for registration, and performs processing for searching for a communication partner until the registration response wait time has elapsed again. The aforementioned registration response wait time is shorter than the normal communication response wait time which is used during normal communication.

Description

無線通信装置、無線通信用プログラム、および中継器Wireless communication device, wireless communication program, and repeater
 本発明は、通信の相手方を探索する機能を有する無線通信装置、無線通信用プログラム、および中継器に関する。 The present invention relates to a wireless communication apparatus, a wireless communication program, and a repeater having a function of searching for a communication partner.
 従来から、通信の相手方を探索する機能を有する無線通信装置が用いられている無線通信システムが存在する。このような通信システムにおいては、たとえば、無線通信装置としての親機と子機とが、通常の通信を開始する前に、互いに通信の相手方を登録する。このとき、子機が親機を探索する、いわゆるアクティブスキャンが実行される。子機による親機の探索に関する基準を有している規格としては、たとえば、Wi-SUNアライアンスが使用している規格がある。 Conventionally, there is a wireless communication system in which a wireless communication device having a function of searching for a communication partner is used. In such a communication system, for example, a parent device and a child device as wireless communication devices register communication partners with each other before starting normal communication. At this time, a so-called active scan in which the child device searches for the parent device is executed. As a standard having a standard for searching for a parent device by a child device, for example, there is a standard used by the Wi-SUN Alliance.
 現在公開されているWi-SUN Bルートにおいては、通信を開始する前の通信の相手方の登録時には、子機は、親機に対してアクティブスキャンを行う。具体的には、子機は、応答要求信号(Enhanced Beacon Request)をブロードキャスト送信する。このとき、子機は、親機から応答信号(Enhanced Beacon)を受信するまで、複数のチャネル、たとえば、14チャネルのそれぞれを順次利用して、親機を探索する(特許文献1参照)。子機は、複数のチャネルのうちのいずれか1つのチャネルを利用して、親機から応答信号を受信した場合に、その応答信号を送信した親機へPCI(Peripheral Component Interconnect)信号を送信する。これにより、子機および親機は、それぞれ、通信の相手方のPANA(Protocol for carrying Authentication for Network Access)認証を行った上で、認証が完了した通信の相手方の登録を完了する。 In the currently released Wi-SUN B route, the slave unit performs an active scan on the master unit when registering the communication partner before starting communication. Specifically, the slave unit broadcasts a response request signal (Enhanced Beacon Request). At this time, the child device searches for the parent device by sequentially using each of a plurality of channels, for example, 14 channels, until a response signal (Enhanced Beacon) is received from the parent device (see Patent Document 1). When the slave unit receives a response signal from the master unit using any one of the plurality of channels, the slave unit transmits a PCI (Peripheral Component-Interconnect) signal to the master unit that transmitted the response signal. . As a result, each of the slave unit and the master unit performs PANA (Protocol carrying authentication Authentication for Network Access) authentication of the communication partner, and then completes registration of the communication partner for which authentication has been completed.
特開2016-146662号公報Japanese Unexamined Patent Publication No. 2016-14662
 上記したWi-SUN Bルート以外に、Wi-SUN HANという新たな規格が現在策定中である。このWi-SUN HANにおけるアクティブスキャンの場合には、14チャネルのうちの1チャネルあたりの応答信号の受信を待っている応答待ち時間が5秒であると想定されている。そのため、14チャネルの全てを探索する必要がある最悪のケースにおいては、応答待ち時間の合計値は、5秒×14チャネル=70秒程度になることが予想される。 In addition to the Wi-SUN B route described above, a new standard called Wi-SUN HAN is currently being formulated. In the case of this active scan in Wi-SUN HAN, it is assumed that the response waiting time waiting for receiving a response signal per channel out of 14 channels is 5 seconds. Therefore, in the worst case where it is necessary to search all 14 channels, the total value of the response waiting time is expected to be about 5 seconds × 14 channels = 70 seconds.
 したがって、親機がいくつかの子機を登録する必要がある場合には、子機の登録時間が非常に長くなってしまう。その結果、たとえば、ホームエリアネットワークの場合、各家庭等での親機および子機の施工業者またはユーザによる使用開始前の初期設定作業の効率が低下してしまうことが懸念されている。 Therefore, when the master unit needs to register several slave units, the registration time of the slave unit becomes very long. As a result, for example, in the case of a home area network, there is a concern that the efficiency of the initial setting work before the start of use by the contractor or user of the master unit and the slave unit in each home or the like is reduced.
 本発明は、このような従来技術の有する課題に鑑みてなされたものである。そして、本発明の目的は、一方の無線通信装置が他方の無線通信装置を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる無線通信装置、中継器、および無線通信用プログラムを提供することである。 The present invention has been made in view of such problems of the conventional technology. An object of the present invention is to provide a wireless communication device and a relay that can increase the possibility of reducing the time required for registration in a communication system in which one wireless communication device searches and registers the other wireless communication device. And providing a program for wireless communication.
 上記課題を解決するために、本発明の第1の態様に係る無線通信装置は、電波の周波数が異なる複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、通信の相手方を探索するための処理を実行する接続処理部と、前記接続処理部から指示に基づいて、前記通信の相手方へ応答要求信号を送信する送信処理部と、前記通信の相手方から前記応答要求信号に対応する応答信号を受信した場合に、前記接続処理部に通知する受信処理部と、を備え、前記接続処理部は、外部から入力された登録の開始の指示に基づいて前記通信の相手方を登録する場合の前記通信の相手方の探索においては、予め定められた登録用応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記登録のための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記登録用応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を実行する一方、前記登録用応答待ち時間が経過するまでに、前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方の前記登録をするための処理を実行し、前記登録のための処理が終了した後に前記通信の相手方と通常の通信をする場合の前記通信の相手方の探索においては、予め定められた通常通信時応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記通常の通信をするための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記通常通信時応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を実行する一方、前記通常通信時応答待ち時間が経過するまでに、前記いずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方と前記通常の通信をするための処理を実行し、前記登録用応答待ち時間は、前記通常通信時応答待ち時間よりも短い。 In order to solve the above-described problem, the wireless communication apparatus according to the first aspect of the present invention searches for a communication partner using any one of a plurality of communication channels having different radio wave frequencies. A connection processing unit for executing processing for transmitting, a transmission processing unit for transmitting a response request signal to the other party of communication based on an instruction from the connection processing unit, and a response request signal from the other party of communication A reception processing unit that notifies the connection processing unit when a response signal is received, and the connection processing unit registers the other party of the communication based on a registration start instruction input from the outside In the search for the other party of communication, even if a predetermined response waiting time for registration has elapsed, if the reception processing unit has not received the response signal from the other party of communication, The registration response waiting time elapses again using any one of the plurality of communication channels that have not been used yet after the search for the communication partner for recording is started. Until the registration response waiting time elapses, using any one of the plurality of communication channels until the registration response waiting time elapses, When the reception processing unit receives the response signal from the other party of the communication, the process for performing the registration of the other party of the communication is performed, and after the process for the registration is completed, In the search for the other party of communication in the case of normal communication, even if a predetermined response waiting time during normal communication has elapsed, the reception processing unit receives the response from the other party of communication. If no signal is received, any one communication channel of the plurality of communication channels that has not been used yet after the search for the communication partner for the normal communication is started. The process for searching for the other party of communication is executed until the response waiting time during normal communication passes again, while any one of the above is performed until the response waiting time during normal communication passes. When the reception processing unit receives the response signal from the other party of communication using two communication channels, the process for performing the normal communication with the other party of communication is performed, and the response for registration The waiting time is shorter than the response waiting time during normal communication.
 本発明の第2の態様に係る無線通信用プログラムは、コンピュータを、電波の周波数が異なる複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、通信の相手方を探索するための処理を実行する接続処理部、前記接続処理部から指示に基づいて、前記通信の相手方へ応答要求信号を送信する送信処理部、および前記通信の相手方から前記応答要求信号に対応する応答信号を受信した場合に、前記接続処理部に通知する受信処理部、として動作させるための無線通信用プログラムであって、前記接続処理部は、外部から入力された登録の開始の指示に基づいて前記通信の相手方を登録する場合の前記通信の相手方の探索においては、予め定められた登録用応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記登録のための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記登録用応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を実行する一方、前記登録用応答待ち時間が経過するまでに、前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方の前記登録をするための処理を実行し、前記登録のための処理が終了した後に前記通信の相手方と通常の通信をする場合の前記通信の相手方の探索においては、予め定められた通常通信時応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記通常の通信をするための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記通常通信時応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を実行する一方、前記通常通信時応答待ち時間が経過するまでに、前記いずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方と前記通常の通信をするための処理を実行し、前記登録用応答待ち時間は、前記通常通信時応答待ち時間よりも短い。 The program for wireless communication according to the second aspect of the present invention is a process for searching for a communication partner using any one of a plurality of communication channels having different radio wave frequencies. A connection processing unit that executes a response, a transmission processing unit that transmits a response request signal to the other party of communication based on an instruction from the connection processing unit, and a response signal corresponding to the response request signal received from the other party of communication A wireless communication program for operating as a reception processing unit for notifying the connection processing unit, wherein the connection processing unit is configured to communicate with the other party of the communication based on a registration start instruction input from the outside. In the search for the other party of communication in the case of registering, even if a predetermined response waiting time for registration elapses, the reception processing unit If no response signal has been received, any one of the plurality of communication channels that have not been used yet after the search for the other party of communication for the registration is started. Using the processing for searching for the communication partner until the registration response waiting time elapses again, while the registration response waiting time elapses. When the reception processing unit receives the response signal from the other party of communication using any one of the communication channels, the process for registering the other party of communication is performed, and the registration In the search for the other party of communication when performing normal communication with the other party of communication after the processing for the If the reception processing unit has not received the response signal from the communication partner, the plurality of communication units that have not been used yet after the search for the communication partner for the normal communication is started. Using any one of the communication channels, a process for searching for the other party of communication is performed until the response waiting time during normal communication passes again, while waiting for a response during normal communication When the reception processing unit receives the response signal from the other party of communication using the one of the communication channels before the time elapses, the normal communication is performed with the other party of communication. The registration response waiting time is shorter than the normal communication response waiting time.
 本発明の第3の態様に係る中継器は、第1の無線通信装置と第2の無線通信装置とを含む通信システムにおいて、前記第1の無線通信装置と前記第2の無線通信装置との間の通信情報を中継する中継器であって、前記第1の無線通信装置を登録する場合かそれとも前記第2の無線通信装置を登録する場合かを判定する判定部を備え、前記判定部が前記第1の無線通信装置を登録すべきと判定した場合に、前述の第1の態様の無線通信装置の登録のための機能を発揮する。 A repeater according to a third aspect of the present invention is a communication system including a first wireless communication device and a second wireless communication device, wherein the repeater between the first wireless communication device and the second wireless communication device. A relay that relays communication information between the first wireless communication device and a determination unit that determines whether the first wireless communication device is registered or the second wireless communication device is registered. When it is determined that the first wireless communication apparatus should be registered, the function for registering the wireless communication apparatus of the first aspect described above is exhibited.
 本発明によれば、一方の無線通信装置が他方の無線通信装置を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる。 According to the present invention, in a communication system in which one wireless communication device searches for and registers the other wireless communication device, it is possible to increase the possibility of reducing the time required for mutual registration.
本発明の実施の形態の通信システムの概略構成を説明するための図である。It is a figure for demonstrating schematic structure of the communication system of embodiment of this invention. 本発明の実施の形態の通信システムの通信の上位層と下位層とを説明するための図である。It is a figure for demonstrating the upper layer and lower layer of communication of the communication system of embodiment of this invention. 本発明の実施の形態の通信システムにおけるアクティブスキャンを説明するための図である。It is a figure for demonstrating the active scan in the communication system of embodiment of this invention. 本発明の実施の形態の通信システムにおける無線通信装置(子機)の構成を説明するための図である。It is a figure for demonstrating the structure of the radio | wireless communication apparatus (slave unit) in the communication system of embodiment of this invention. 本発明の実施の形態の通信システムにおけるアクティブスキャンのスキャン時間係数とスキャン時間との関係を説明するための図である。It is a figure for demonstrating the relationship between the scan time coefficient of active scan and scan time in the communication system of embodiment of this invention. 本発明の通信システムにおける無線通信装置(子機)が実行する登録のための制御処理を説明するためのフローチャートである。It is a flowchart for demonstrating the control processing for the registration which the radio | wireless communication apparatus (slave unit) in the communication system of this invention performs. 本発明の実施の形態の通信システムにおける無線通信装置(子機)が実行する通常の通信時の制御処理を説明するためのフローチャートである。It is a flowchart for demonstrating the control processing at the time of normal communication which the radio | wireless communication apparatus (slave machine) in the communication system of embodiment of this invention performs. 本発明の通信システムにおける無線通信装置(親機)の構成を説明するための図である。It is a figure for demonstrating the structure of the radio | wireless communication apparatus (master | base_unit) in the communication system of this invention. 本発明の実施の形態の通信システムにおける無線通信装置(親機)が実行する登録のための制御処理を説明するためのフローチャートである。It is a flowchart for demonstrating the control processing for the registration which the radio | wireless communication apparatus (master | base_unit) performs in the communication system of embodiment of this invention. 本発明の実施の形態の通信システムにおける無線通信装置(親機)が実行する通常の通信時の制御処理を説明するためのフローチャートである。It is a flowchart for demonstrating the control processing at the time of normal communication which the radio | wireless communication apparatus (master | base_unit) in the communication system of embodiment of this invention performs. 本発明の実施の形態の通信システムにおける無線通信装置(中継器)の構成を説明するための図である。It is a figure for demonstrating the structure of the radio | wireless communication apparatus (relay device) in the communication system of embodiment of this invention. 本発明の実施の形態の通信システムにおける無線通信装置(中継器)が実行する登録のための制御処理を説明するためのフローチャートである。It is a flowchart for demonstrating the control processing for the registration which the radio | wireless communication apparatus (relay device) in the communication system of embodiment of this invention performs.
 図1を用いて、実施の形態の通信システムの概略構成を説明する。 The schematic configuration of the communication system according to the embodiment will be described with reference to FIG.
 図1に示されるように、実施の形態の通信システムは、それぞれが無線通信装置として機能する親機10、中継器20、および複数の子機30を備えている。親機10は、たとえば、HEMS(Home Energy Management System)の管理装置である。子機30は、HEMSにおける家庭用の機器である。具体的には、子機30は、たとえば、照明機器、空気調和機、テレビ、洗濯機、冷蔵庫、太陽電池パネル、または電力メータ等である。中継器20は、無線通信システムにおいて、親機10と子機30との間で、電波を中継することにより、通信情報を中継する機器である。 As shown in FIG. 1, the communication system according to the embodiment includes a parent device 10, a repeater 20, and a plurality of child devices 30 each functioning as a wireless communication device. The base unit 10 is, for example, a HEMS (Home Energy Management System) management device. The subunit | mobile_unit 30 is a household apparatus in HEMS. Specifically, the subunit | mobile_unit 30 is an illumination device, an air conditioner, a television, a washing machine, a refrigerator, a solar cell panel, or an electric power meter etc., for example. The repeater 20 is a device that relays communication information by relaying radio waves between the parent device 10 and the child device 30 in the wireless communication system.
 本実施の形態の通信システムにおいては、親機10と子機30とが直接通信するルートと、親機10と子機30とが中継器20を経由して間接的に通信するルートとがある。中継器20は、親機10と子機30との間の距離が大きく、親機10および子機30の少なくとも一方が発した電波が他方に届かない場合に使用される。中継器20は、親機10と電波による無線通信を実行でき、かつ、子機30と電波による無線通信を実行できる位置に設置される。 In the communication system according to the present embodiment, there are a route through which the parent device 10 and the child device 30 communicate directly, and a route through which the parent device 10 and the child device 30 communicate indirectly via the repeater 20. . The repeater 20 is used when the distance between the parent device 10 and the child device 30 is large and radio waves emitted from at least one of the parent device 10 and the child device 30 do not reach the other. The repeater 20 is installed at a position where radio communication with the base unit 10 can be performed using radio waves and radio communication with the slave unit 30 using radio waves can be performed.
 なお、図1には示されていないが、親機10と子機30との間の距離、ならびに、親機10および子機30のそれぞれからの電波到達距離に応じて、複数の中継器20が親機10と子機30との間に直列的に信号を順次伝送する場合もある。 Although not shown in FIG. 1, a plurality of repeaters 20 are selected according to the distance between the parent device 10 and the child device 30 and the radio wave arrival distance from each of the parent device 10 and the child device 30. However, there is a case where signals are sequentially transmitted in series between the master unit 10 and the slave unit 30.
 図2を用いて、実施の形態の通信システムの通信の上位層と下位層とを説明する。 The upper layer and the lower layer of communication of the communication system according to the embodiment will be described with reference to FIG.
 まず、下位層でのアクティブスキャン、すなわち、子機30による親機10または中継器20の探索を説明する。 First, the active scan in the lower layer, that is, the search for the master unit 10 or the repeater 20 by the slave unit 30 will be described.
 子機30に設けられた登録釦が押下されると、子機30は子機30から電波が届く範囲内の位置に設置されている親機10を探索するために、親機10から応答信号を受信するまで、周波数を順次変更しながら、周辺環境へ応答要求信号を送信する。子機30は、前述の応答要求信号を受信した親機10からその応答要求信号に対応する応答信号を受信し、親機10の認証が完了すると、親機10を通信の相手方として登録する。 When a registration button provided on the slave unit 30 is pressed, the slave unit 30 sends a response signal from the master unit 10 in order to search for the master unit 10 installed at a position within a range where radio waves reach from the slave unit 30. Until a response request signal is transmitted to the surrounding environment while sequentially changing the frequency. The subunit | mobile_unit 30 receives the response signal corresponding to the response request signal from the main | base station 10 which received the above-mentioned response request signal, and if the authentication of the main | base station 10 is completed, it will register the main | base station 10 as a communication other party.
 ただし、図2には示されていないが、子機30から電波が届く距離の範囲内に設置されている機器が中継器20のみである場合がある。この場合には、子機30は、応答要求信号を受信した中継器20からその応答要求信号に対応する応答信号を受信し、中継器20の認証が完了すると、中継器20を通信の相手方として登録する。 However, although not shown in FIG. 2, there is a case where the repeater 20 is the only device installed within the range of the radio wave reach from the slave unit 30. In this case, the slave unit 30 receives a response signal corresponding to the response request signal from the repeater 20 that has received the response request signal, and when the authentication of the repeater 20 is completed, the repeater 20 is set as a communication partner. sign up.
 一方、親機10に設けられた登録釦が押下されると、親機10は、親機10から電波が届く範囲内の位置に設置されている子機30を登録するために、子機30から応答要求信号を受信するまで所定期間(登録タイムアウト)だけ待機する。親機10は、この待機している期間に、子機30から応答要求信号を受信し、子機30の認証が完了すると、子機30を通信の相手方として登録する。また、親機10は、子機30から応答要求信号を受信すると、その応答要求信号に対応する応答信号を子機30へ返信する。 On the other hand, when a registration button provided in the parent device 10 is pressed, the parent device 10 registers the child device 30 installed at a position within a range where radio waves reach from the parent device 10. Waits for a predetermined period (registration timeout) until receiving a response request signal. During this standby period, base unit 10 receives a response request signal from slave unit 30, and when authentication of slave unit 30 is completed, it registers slave unit 30 as a communication partner. Further, when receiving the response request signal from slave unit 30, master unit 10 returns a response signal corresponding to the response request signal to slave unit 30.
 ただし、図2には示されていないが、親機10から電波が届く範囲内の位置に、子機30ではなく中継器20が設置されている場合がある。この場合には、親機10は、前述の待機している期間(登録タイムアウト)内に、中継器20から応答要求信号を受信し、中継器20の認証を完了すると、中継器20を通信の相手方として登録する。また、親機10は、中継器20から応答要求信号を受信すると、その応答要求信号に対応する応答信号を中継器20へ返信する。 However, although not shown in FIG. 2, there is a case where the repeater 20 is installed instead of the slave unit 30 at a position within a range where radio waves reach from the master unit 10. In this case, the base unit 10 receives the response request signal from the repeater 20 within the waiting period (registration timeout) and completes the authentication of the repeater 20, and causes the repeater 20 to communicate. Register as an opponent. Further, when receiving the response request signal from repeater 20, base unit 10 returns a response signal corresponding to the response request signal to repeater 20.
 上記から分かるように、中継器20は、通信の相手方の登録のための機能としては、親機10の機能と子機30の機能との双方を有している。中継器20は、通信の相手方の探索および通信の相手方の登録に関しては、親機10との関係では子機30の機能と同一の機能を発揮する一方で、子機30との関係では親機10の機能と同一の機能を発揮する。 As can be seen from the above, the repeater 20 has both the function of the parent device 10 and the function of the child device 30 as functions for registration of the communication partner. The repeater 20 performs the same function as that of the slave unit 30 in relation to the master unit 10 while searching for the partner of communication and registration of the partner of communication, while the master unit in the relationship with the slave unit 30. The same function as 10 functions is exhibited.
 次に、上位層における、親機10と子機30との間での認証および鍵の配布、親機10と中継器20との間での認証および鍵の配布、中継器20と子機30との間での認証および鍵の配布、または中継器20同士の間での認証および鍵の配布が行われる。 Next, authentication and key distribution between the parent device 10 and the child device 30, authentication and key distribution between the parent device 10 and the relay device 20, and the relay device 20 and the child device 30 in the upper layer. Authentication and key distribution with each other, or authentication and key distribution between the repeaters 20 are performed.
 たとえば、子機30と親機10との間での互いの登録のための処理においては、子機30は、複数のチャネルのうちのいずれか1つのチャネルを利用して、親機10から応答信号を受信する。この場合には、子機30は、親機10へPCI(Peripheral Component Interconnect)信号を送信する。それにより、親機10および子機30は、互いに、PANA(Protocol for carrying Authentication for Network Access)認証を行った後、通信の相手方の登録を完了する。 For example, in the process for mutual registration between the slave unit 30 and the master unit 10, the slave unit 30 responds from the master unit 10 using any one of a plurality of channels. Receive a signal. In this case, the slave unit 30 transmits a PCI (Peripheral Component Interconnect) signal to the master unit 10. Thereby, the master unit 10 and the slave unit 30 mutually perform PANA (Protocol carrying authentication Authentication for network Access) authentication, and then complete registration of the communication partner.
 図3を用いて、実施の形態の通信システムにおけるアクティブスキャンを説明する。 The active scan in the communication system according to the embodiment will be described with reference to FIG.
 図3に示されるように、親機10と子機30との通信の開始前の互いの登録時には、通信システムの施工業者またはユーザが、子機30の登録釦を押下する。それにより、子機30は、親機10に対してアクティブスキャンを行う。具体的には、子機30は、応答要求信号を受信可能な位置に設定されている親機10へ応答要求信号が到達するように、周辺環境に対して応答要求信号をブロードキャスト送信する。それにより、子機30は、親機10から応答信号を受信するまで、14チャネルのそれぞれを順次探索する。たとえば、Wi-SUN Bルートでは、922.5MHzから922.7MHzまで、400kHz間隔で全14チャネルのそれぞれにおいて、子機30による親機10の探索が実行される。このときの応答信号(Enhanced Beacon)の受信を待っているスキャン時間(Scan Duration)は、予め定められた値である。 As shown in FIG. 3, at the time of mutual registration before the start of communication between the parent device 10 and the child device 30, the contractor or user of the communication system presses the registration button of the child device 30. Thereby, the slave unit 30 performs an active scan on the master unit 10. Specifically, the slave unit 30 broadcasts a response request signal to the surrounding environment so that the response request signal reaches the master unit 10 set at a position where the response request signal can be received. Accordingly, the slave unit 30 sequentially searches each of the 14 channels until a response signal is received from the master unit 10. For example, in the Wi-SUN B route, the search for the parent device 10 by the child device 30 is executed in each of all 14 channels at intervals of 400 kHz from 922.5 MHz to 922.7 MHz. The scan time (Scan Duration) waiting for reception of the response signal (Enhanced Beacon) at this time is a predetermined value.
 図3に示されるように、通信システムの施工業者またはユーザが、親機10の登録釦を押し下げる。それにより、親機10は、14チャネルのうちのいずれか1つのチャネルを利用して、子機30から応答要求信号を受信した場合には、子機30へ応答信号を返信する。図3の例では、第14番目のチャネルで親機10が子機30へ応答信号を返信している。 As shown in FIG. 3, the contractor or user of the communication system pushes down the registration button of the parent device 10. Accordingly, when the base unit 10 receives a response request signal from the handset 30 using any one of the 14 channels, the base unit 10 returns a response signal to the handset 30. In the example of FIG. 3, the parent device 10 returns a response signal to the child device 30 on the fourteenth channel.
 子機30は、親機10からの応答信号の受信を待っているための予め定められた応答待ち時間内であれば、親機10が送信した応答信号を受信できるが、この応答待ち時間を超えると、親機10が応答信号を送信しても、その応答信号を受信できない。 The slave unit 30 can receive the response signal transmitted by the master unit 10 within a predetermined response waiting time for waiting for the response signal from the master unit 10 to be received. If exceeded, even if the base unit 10 transmits a response signal, the response signal cannot be received.
 応答要求信号を受信した後の親機10が応答信号を送信し終えるまでの時間は、他の無線通信装置が子機30と通信している場合には、その通信の終了後の待ち時間であるバックオフ時間に大きく依存している。バックオフ時間は、予め定められた上限値以下の時間からランダムに選択された時間である。親機10のバックオフ時間が長い場合、子機30の応答待ち時間を超えても、親機10が応答信号を送信できない場合がある。この場合、子機30は、応答信号を受信できない。したがって、親機10と子機30との互いの認証および登録を実行することができない。このことから、バックオフ時間の上限値は、信号同士の衝突を防止できる限り、より小さいことが好ましいと言える。 The time until the base unit 10 finishes transmitting the response signal after receiving the response request signal is the waiting time after the end of the communication when another wireless communication device is communicating with the handset 30. It depends heavily on some backoff time. The back-off time is a time selected at random from a time equal to or less than a predetermined upper limit value. When the back-off time of the parent device 10 is long, the parent device 10 may not be able to transmit a response signal even if the response waiting time of the child device 30 is exceeded. In this case, the subunit | mobile_unit 30 cannot receive a response signal. Therefore, mutual authentication and registration between the parent device 10 and the child device 30 cannot be executed. From this, it can be said that the upper limit value of the back-off time is preferably smaller as long as collision between signals can be prevented.
 図4を用いて、実施の形態の通信システムにおける無線通信装置としての子機30の構成を説明する。 The configuration of the handset 30 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
 無線通信装置としての子機30は、アンテナ31、受信処理部32、接続処理部33、通信パラメータ管理部34、アプリケーション制御部35、登録情報記憶部36、送信処理部37、および報知部38を備えている。 The subunit | mobile_unit 30 as a radio | wireless communication apparatus has the antenna 31, the reception process part 32, the connection process part 33, the communication parameter management part 34, the application control part 35, the registration information storage part 36, the transmission process part 37, and the alerting | reporting part 38. I have.
 アンテナ31は電波を受信し、受信処理部32へ伝達する。受信処理部32は、受信した情報を接続処理部33へ通知する。本実施の形態においては、受信処理部32は、アンテナ31が受信した応答信号(Enhanced Beacon)を接続処理部33へ通知する。 The antenna 31 receives radio waves and transmits them to the reception processing unit 32. The reception processing unit 32 notifies the connection processing unit 33 of the received information. In the present embodiment, the reception processing unit 32 notifies the connection processing unit 33 of the response signal (Enhanced Beacon) received by the antenna 31.
 接続処理部33は、電波の周波数が異なる複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、通信の相手方を探索するための処理を実行する。接続処理部33は、受信処理部32が応答待ち時間内に親機10から応答信号を受信すると、アプリケーション制御部35へ応答信号を受信したことを通知する。それにより、アプリケーション制御部35は、応答信号を送信した親機10の登録のためのPANA認証を開始する。アプリケーション制御部35は、親機10のPANA認証が成功した場合には、親機10に関する情報を登録情報記憶部36に記憶させる。 The connection processing unit 33 performs processing for searching for a communication partner by using any one of a plurality of communication channels having different radio wave frequencies. When the reception processing unit 32 receives the response signal from the parent device 10 within the response waiting time, the connection processing unit 33 notifies the application control unit 35 that the response signal has been received. Thereby, the application control unit 35 starts PANA authentication for registration of the parent device 10 that has transmitted the response signal. When the PANA authentication of the parent device 10 is successful, the application control unit 35 stores information related to the parent device 10 in the registration information storage unit 36.
 アプリケーション制御部35は、子機30の製品としての機能を発揮するための制御を実行する。接続処理部33は、アプリケーション制御部35から指令信号を受信して親機10と通信するための制御を実行する。アプリケーション制御部35は、親機10の登録に関する情報を報知部38に報知させる。 The application control unit 35 executes control for exhibiting the function of the slave unit 30 as a product. The connection processing unit 33 receives the command signal from the application control unit 35 and executes control for communicating with the parent device 10. The application control unit 35 causes the notification unit 38 to notify information related to registration of the parent device 10.
 通信パラメータ管理部34は、接続処理部33が応答要求信号を送信することができる複数の通信チャネルを記憶している。通信パラメータ管理部34は、スキャン時間係数を記憶している。通信パラメータ管理部34は、スキャン時間係数Yと、応答要求信号に対応する応答信号の受信のために待機しているスキャン時間(Scan Duration)とを対応させて記憶している。 The communication parameter management unit 34 stores a plurality of communication channels through which the connection processing unit 33 can transmit a response request signal. The communication parameter management unit 34 stores a scan time coefficient. The communication parameter management unit 34 stores the scan time coefficient Y and the scan time (Scan し Duration) waiting for reception of the response signal corresponding to the response request signal in association with each other.
 送信処理部37は、接続処理部33からの指令信号を受けてアンテナ31から応答要求信号(Enhanced Beacon Request)を送信する。つまり、送信処理部37は、接続処理部33からの指示に基づいて、通信の相手方へ応答要求信号を送信する。 The transmission processing unit 37 receives a command signal from the connection processing unit 33 and transmits a response request signal (Enhanced Beacon Request) from the antenna 31. That is, the transmission processing unit 37 transmits a response request signal to the other party of communication based on an instruction from the connection processing unit 33.
 報知部38は、本実施の形態においては、画像を表示する表示部、たとえば、液晶ディスプレイである。ただし、報知部38は、音声を発生するものであってもよい。報知部38によって報知される情報は、たとえば、登録の失敗または成功等である。 In the present embodiment, the notification unit 38 is a display unit that displays an image, for example, a liquid crystal display. However, the notification unit 38 may generate sound. The information notified by the notification unit 38 is, for example, registration failure or success.
 無線通信装置としての子機30は、コンピュータを備えている。このコンピュータが、無線通信用プロクラムを実行することによって、上記した接続処理部33、送信処理部37、および受信処理部32等、の機能が実現される。コンピュータは、プログラムに従って動作するプロセッサを主なハードウェア構成として備える。プロセッサは、プログラムを実行することによって機能を実現することができれば、その種類は問わない。プロセッサは、半導体集積回路(IC)、又はLSI(large scale integration)を含む一つ又は複数の電子回路で構成される。複数の電子回路は、一つのチップに集積されてもよいし、複数のチップに設けられてもよい。プログラムは、コンピュータが読み取り可能なROM、光ディスク、ハードディスクドライブなどの非一時的記録媒体に記録される。プログラムは、子機30が備える記憶媒体に予め格納されていてもよいし、インターネット上のクラウド等のサーバから子機30へインストールされてもよく、また、スティックメモリ等の子機30の外部の記録媒体から子機30へインストールされてもよい。 The subunit | mobile_unit 30 as a radio | wireless communication apparatus is provided with the computer. When the computer executes the wireless communication program, the functions of the connection processing unit 33, the transmission processing unit 37, the reception processing unit 32, and the like are realized. The computer includes a processor that operates according to a program as a main hardware configuration. The processor may be of any type as long as the function can be realized by executing the program. The processor is composed of one or a plurality of electronic circuits including a semiconductor integrated circuit (IC) or an LSI (large scale integration). The plurality of electronic circuits may be integrated on one chip or provided on a plurality of chips. The program is recorded on a non-transitory recording medium such as a ROM, an optical disk, or a hard disk drive that can be read by a computer. The program may be stored in advance in a storage medium included in the child device 30, or may be installed in the child device 30 from a server such as the cloud on the Internet, or may be external to the child device 30 such as a stick memory. The slave unit 30 may be installed from the recording medium.
 図5を用いて、実施の形態の通信システムにおけるアクティブスキャンのスキャン時間係数(Scan Time Factor)Yと1チャネルあたりのスキャン時間(Scan Duration)との関係を説明する。 The relationship between the scan time coefficient (Scan の Factor) Y of active scan and the scan time per channel (Scan Duration) in the communication system of the embodiment will be described with reference to FIG.
 図5から分かるように、スキャン時間係数Yが増加するにしたがって、スキャン時間が増加している。たとえば、スキャン時間係数Yが5である場合、スキャン時間は、1チャネル当たり633.6msである。図5の例では、子機30の通信パラメータ管理部34には、15種類のスキャン時間係数Yにそれぞれ対応する15種類のスキャン時間が記憶されている。 As can be seen from FIG. 5, the scan time increases as the scan time coefficient Y increases. For example, when the scan time coefficient Y is 5, the scan time is 633.6 ms per channel. In the example of FIG. 5, the communication parameter management unit 34 of the slave unit 30 stores 15 types of scan times corresponding to the 15 types of scan time coefficients Y, respectively.
 図5は、スキャン時間係数Yとスキャン時間との関係を説明するためだけに、現在明らかとなっているWi-SUN Bルートのスキャン時間係数Yとスキャン時間との関係を例示している。一方、Wi-SUN HANの場合には、スキャン時間係数Yが5である場合、スキャン時間が5秒であると想定されている。また、Wi-SUN HANのスキャン時間は、いずれのスキャン時間係数Yの場合においても、Wi-SUN Bルートのスキャン時間よりもかなり長いと想定されている。 FIG. 5 exemplifies the relationship between the scan time coefficient Y of the Wi-SUN B route and the scan time, which is currently clear, only to explain the relationship between the scan time coefficient Y and the scan time. On the other hand, in the case of Wi-SUN HAN, when the scan time coefficient Y is 5, it is assumed that the scan time is 5 seconds. Further, the scan time of Wi-SUN HAN is assumed to be considerably longer than the scan time of Wi-SUN B route in any scan time coefficient Y.
 図6を用いて、実施の形態の通信システムにおける無線通信装置としての子機30が実行する制御処理を説明する。 A control process executed by the slave unit 30 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
 図6に示されるように、子機30の登録釦が押し下げられると、ステップS301において、接続処理部33が通信パラメータ管理部34に記憶されている複数の通信チャネルからXチャネルを選択する。その後、ステップS302において、接続処理部33は、通信パラメータ管理部34のスキャン時間係数Yを初期値、たとえば、「1」に設定する。これにより、登録のための制御処理においては、図5におけるスキャン時間係数Yの初期値に対応するスキャン時間だけ、子機30は親機10を探索する。このスキャン時間係数Yの初期値に対応するスキャン時間は、通常の通信のときに使用されるスキャン時間係数Yに対応するスキャン時間よりも短い。 As shown in FIG. 6, when the registration button of the slave unit 30 is pressed, the connection processing unit 33 selects the X channel from the plurality of communication channels stored in the communication parameter management unit 34 in step S301. Thereafter, in step S302, the connection processing unit 33 sets the scan time coefficient Y of the communication parameter management unit 34 to an initial value, for example, “1”. As a result, in the control process for registration, the slave unit 30 searches for the master unit 10 only for the scan time corresponding to the initial value of the scan time coefficient Y in FIG. The scan time corresponding to the initial value of the scan time coefficient Y is shorter than the scan time corresponding to the scan time coefficient Y used during normal communication.
 本実施の形態においては、子機30が親機10からの応答信号を14チャネルのいずれにおいてもスキャン時間内に受信できない場合、スキャン時間係数Yは、「1」から1つずつ推奨値、たとえば、「5」まで増加される。しかしながら、スキャン時間係数Yは、「1」以外の初期値から1つずつ推奨値まで増加されてもよい。また、スキャン時間係数Yは、初期値から一気に推奨値まで増加されてもよい。 In the present embodiment, when the handset 30 cannot receive the response signal from the base unit 10 in any of the 14 channels within the scan time, the scan time coefficient Y is a recommended value from “1” one by one, for example, , “5”. However, the scan time coefficient Y may be increased from the initial value other than “1” to the recommended value one by one. Further, the scan time coefficient Y may be increased from the initial value to the recommended value at once.
 また、子機30の登録釦が押し下げられると、接続処理部33は、受信処理部32を応答要求信号に対応する応答信号の受信のために待機している状態に設定されている。この子機30の受信処理部32が応答信号の受信のために待機している時間以外の時間においては、子機30の受信処理部32は、応答信号を受信することができない。この子機30の受信処理部32が応答信号の受信のために待機している時間が、前述のように、子機30による親機10のスキャン時間である。 Further, when the registration button of the slave unit 30 is pushed down, the connection processing unit 33 is set in a state of waiting for the reception processing unit 32 to receive a response signal corresponding to the response request signal. During a time other than the time when the reception processing unit 32 of the slave unit 30 is waiting for reception of the response signal, the reception processing unit 32 of the slave unit 30 cannot receive the response signal. The time during which the reception processing unit 32 of the slave unit 30 is waiting for reception of the response signal is the scan time of the master unit 10 by the slave unit 30 as described above.
 ステップS303において、接続処理部33は、送信処理部37にXチャネルを利用して応答要求信号の送信のための処理を実行させる。それにより、アンテナ31から応答要求信号が送信される。アンテナ31から応答要求信号が送信されると、ステップS304において、接続処理部33は、親機10によって送信された応答信号を受信処理部32が受信したか否かを判定する。 In step S303, the connection processing unit 33 causes the transmission processing unit 37 to execute processing for transmitting the response request signal using the X channel. Thereby, a response request signal is transmitted from the antenna 31. When the response request signal is transmitted from the antenna 31, in step S304, the connection processing unit 33 determines whether or not the reception processing unit 32 has received the response signal transmitted by the base unit 10.
 ステップS304において、受信処理部32が応答信号を受信していれば、接続処理部33は、ステップS305において、親機10のPANA認証を開始する。その後、ステップS306において、接続処理部33は、PANA認証が成功したか否かを判定する。 In step S304, if the reception processing unit 32 has received the response signal, the connection processing unit 33 starts PANA authentication of the parent device 10 in step S305. Thereafter, in step S306, the connection processing unit 33 determines whether the PANA authentication is successful.
 ステップS306において、PANA認証が成功していれば、それをアプリケーション制御部35に通知する。それにより、ステップS307において、アプリケーション制御部35は、登録情報記憶部36に親機10に関する情報を記憶させ、報知部38、たとえば、ディスプレイに親機10の登録が成功したことを表示させる。その後、ステップS313において、通信パラメータ管理部34に記憶されているスキャン時間係数Yが、通常の通信において用いられる推奨値「5」に設定される。したがって、通常の通信のときには、登録のための通信のときのスキャン時間よりも長いスキャン時間だけ、子機30はそれぞれのチャネルを利用して親機10をアクティブスキャンによって探索する。 In step S306, if the PANA authentication is successful, the application control unit 35 is notified of it. Accordingly, in step S307, the application control unit 35 stores information related to the parent device 10 in the registration information storage unit 36, and displays that the registration of the parent device 10 is successful on the notification unit 38, for example, a display. Thereafter, in step S313, the scan time coefficient Y stored in the communication parameter management unit 34 is set to a recommended value “5” used in normal communication. Therefore, during normal communication, the slave unit 30 searches for the master unit 10 by active scan using each channel for a scan time longer than the scan time during registration communication.
 一方、ステップS306において、PANA認証が成功していなければ、ステップS312の処理が実行される。ステップS312の処理は、登録が失敗したときの処理であり、その処理は後述される。 On the other hand, if the PANA authentication is not successful in step S306, the process of step S312 is executed. The process of step S312 is a process when registration fails, and the process will be described later.
 ステップS304において、受信処理部32が応答信号を受信していなければ、接続処理部33は、ステップS308において、通信チャネルを切り替える。具体的には、通信チャネルの番号が、チャネルXからチャネルX+1へ1チャネルだけ増加する。ステップS308が繰り返されるごとに、通信チャネルの番号が1ずつ増加する。 In step S304, if the reception processing unit 32 has not received a response signal, the connection processing unit 33 switches the communication channel in step S308. Specifically, the communication channel number increases from channel X to channel X + 1 by one channel. Each time step S308 is repeated, the communication channel number increases by one.
 次に、ステップS309において、接続処理部33は、全チャネルで親機10の探索(スキャン)が完了しているか否かを判定する。ステップS309において、全てのチャネルでスキャンが完了していないと判定されれば、ステップS303の処理が再び実行される。 Next, in step S309, the connection processing unit 33 determines whether or not the search (scan) of the parent device 10 has been completed in all channels. If it is determined in step S309 that scanning has not been completed for all channels, the processing in step S303 is executed again.
 一方、ステップS309において、全てのチャネルで親機10の探索が完了していると判定される場合がある。この場合、接続処理部33は、現在のチャネルでは、通信の相手方を検出することができないとみなして、接続処理部33は、ステップS310において、通信パラメータ管理部34に記憶されているスキャン時間係数Yを1つ増加させる。それにより、前回の探索のスキャン時間よりも長いスキャン時間だけ、親機10の探索が実行される。 On the other hand, in step S309, it may be determined that the search for base unit 10 has been completed in all channels. In this case, the connection processing unit 33 considers that the communication partner cannot be detected in the current channel, and the connection processing unit 33 scans the scan time coefficient stored in the communication parameter management unit 34 in step S310. Increase Y by one. As a result, the search for base unit 10 is executed for a scan time longer than the scan time of the previous search.
 つまり、スキャン時間係数Yは、「0」~「5」まで順次繰り上げられ、それぞれのスキャン時間係数Yに対応するスキャン時間だけ、子機30による親機10の探索が実行される。 That is, the scan time coefficient Y is sequentially incremented from “0” to “5”, and the slave unit 30 searches for the master unit 10 only for the scan time corresponding to each scan time coefficient Y.
 ステップS311において、接続処理部33は、スキャン時間係数(Scan Duration=0~8)Yが、通常の通信に使用される推奨値としての「5」よりも1つ大きな「6」になっているか否かを判定する。ステップS311において、スキャン時間係数Yが「6」になっていれば、ステップS312において、接続処理部33は、登録が失敗したことが決定する。それにより、アプリケーション制御部35は、報知部38、たとえば、表示部に登録が失敗したことを表示させる。つまり、複数の通信チャネルのいずれにおいても、登録用応答待ち時間が経過するまでに、受信処理部32が通信の相手方から応答信号を受信しなかった場合には、報知部38にその旨を報知させるための処理を実行する。これによれば、登録に失敗したことを施工業者またはユーザに知らせることができる。なお、子機30が親機10の登録に失敗した場合、アプリケーション制御部35が自動的に接続処理部33に親機10の登録のための処理を繰り返させてもよい。また、子機30が親機10の登録に失敗した場合、施工業者またはユーザの子機30の登録釦の再度の押下に基づいて、アプリケーション制御部35が接続処理部33に親機10の登録のための処理を繰り返させてもよい。 In step S311, the connection processing unit 33 determines that the scan time coefficient (Scan Duration = 0 to 8) Y is “6”, which is one larger than “5” as a recommended value used for normal communication. Determine whether or not. If the scan time coefficient Y is “6” in step S311, the connection processing unit 33 determines in step S312 that registration has failed. Thereby, the application control unit 35 causes the notification unit 38, for example, the display unit to display that the registration has failed. That is, in any of the plurality of communication channels, if the reception processing unit 32 does not receive a response signal from the other party of communication before the registration response waiting time elapses, the notification unit 38 is notified of the fact. Execute the process to make it happen. According to this, it is possible to notify the contractor or the user that registration has failed. If the slave device 30 fails to register the master device 10, the application control unit 35 may cause the connection processing unit 33 to automatically repeat the process for registering the master device 10. Further, when the slave unit 30 fails to register the master unit 10, the application control unit 35 registers the master unit 10 in the connection processing unit 33 based on the pressing of the registration button of the contractor or the user's slave unit 30 again. You may repeat the process for.
 その後、ステップS313において、スキャン時間係数Yが通常の通信に用いられる推奨値としての「5」に設定される。 Thereafter, in step S313, the scan time coefficient Y is set to “5” as a recommended value used for normal communication.
 上記のことをまとめると、接続処理部33は、外部から入力された登録の開始の指示に基づいて通信の相手方を登録する場合の通信の相手方の探索においては、次の処理を実行する。 Summarizing the above, the connection processing unit 33 executes the following process in searching for a communication partner in the case of registering the communication partner based on a registration start instruction input from the outside.
 ステップS304において、予め定められた登録用応答待ち時間が経過しても、受信処理部32が通信の相手方から応答信号を受信していない場合がある。この場合には、ステップS308において、接続処理部33は、登録のための通信の相手方の探索が開始された後に未だ利用されたことがない複数の通信チャネルのうちのいずれか1つの通信チャネルを利用する。それにより、接続処理部33は、登録用応答待ち時間が再び経過するまで、通信の相手方を探索するための処理を実行する。 In step S304, even if a predetermined registration response waiting time elapses, the reception processing unit 32 may not receive a response signal from the communication partner. In this case, in step S308, the connection processing unit 33 selects any one of the plurality of communication channels that have not been used yet after the search for the communication partner for registration has started. Use. Thereby, the connection processing unit 33 executes a process for searching for a communication partner until the registration response waiting time elapses again.
 一方、ステップS304において、登録用応答待ち時間が経過するまでに、複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、受信処理部32が通信の相手方から応答信号を受信する場合がある。この場合には、ステップS306において、接続処理部33は、相手方の登録をするための処理を実行する。 On the other hand, when the reception processing unit 32 receives a response signal from the other party of communication using any one of the plurality of communication channels before the registration response waiting time elapses in step S304. There is. In this case, in step S306, the connection processing unit 33 executes a process for registering the other party.
 ステップS309において、複数の通信チャネルのいずれにおいても、登録用応答待ち時間が経過するまでに、受信処理部32が通信の相手方から応答信号を受信しない場合がある。この場合、つまり、ステップS309においてYESの場合、接続処理部33は、ステップS310において、登録用応答待ち時間よりも長い他の登録用応答待ち時間を用いて、通信の相手方の探索を実行する。これによれば、登録用応答待ち時間を徐々に増加させることができる。したがって、登録用応答待ち時間を徐々に長くしながら、アクティブスキャンの成功の可能性を徐々に高めることができる。 In step S309, in any of the plurality of communication channels, the reception processing unit 32 may not receive a response signal from the communication partner until the registration response waiting time elapses. In this case, that is, in the case of YES in step S309, the connection processing unit 33 searches for a communication partner in step S310 using another registration response waiting time longer than the registration response waiting time. According to this, the registration response waiting time can be gradually increased. Accordingly, it is possible to gradually increase the possibility of success of the active scan while gradually increasing the registration response waiting time.
 ただし、この場合には、ステップS309においてYESの場合、接続処理部33は、登録用応答待ち時間を通常通信時応答待ち時間に変更して、通信の相手方の探索を再度実行してもよい。これによれば、登録用応答待ち時間を一気に通常通信時応答待ち時間までに増加させることにより、アクティブスキャンの成功の可能性を一気に高めることができる。 However, in this case, if YES in step S309, the connection processing unit 33 may change the registration response waiting time to the normal communication response waiting time, and re-execute the search for the communication partner. According to this, by increasing the registration response waiting time to the normal communication response waiting time, the possibility of success of the active scan can be increased at a stroke.
 図7は、実施の形態の通信システムにおける無線通信装置としての子機30が実行する通常の通信時の制御処理を説明するためのフローチャートである。本実施の形態において、通常の通信とは、本実施の形態においては、登録のための通信の後に実行される全ての通信を意味する。 FIG. 7 is a flowchart for explaining control processing at the time of normal communication executed by the slave unit 30 as the wireless communication device in the communication system according to the embodiment. In the present embodiment, normal communication means all communication executed after communication for registration in the present embodiment.
 図7に示されるように、子機30の親機10の登録のための処理が終了すると、ステップS351において、接続処理部33が通信パラメータ管理部34に記憶された複数の通信チャネルからXチャネルを選択している状態を維持する。その後、ステップS352において、接続処理部33は、通信パラメータ管理部34のスキャン時間係数Yを推奨値である「5」に設定されている状態を維持する。この推奨値「5」に対応するスキャン時間は、登録のための処理のときに使用されるスキャン時間係数Yに対応するスキャン時間よりも長い。これにより、図5におけるスキャン時間係数Yの推奨値「5」に対応するスキャン時間だけ、子機30は親機10を探索する。 As illustrated in FIG. 7, when the process for registering the parent device 10 of the child device 30 is completed, the connection processing unit 33 selects the X channel from the plurality of communication channels stored in the communication parameter management unit 34 in step S <b> 351. Keep the state selected. Thereafter, in step S352, the connection processing unit 33 maintains a state in which the scan time coefficient Y of the communication parameter management unit 34 is set to the recommended value “5”. The scan time corresponding to the recommended value “5” is longer than the scan time corresponding to the scan time coefficient Y used in the registration process. Accordingly, the slave unit 30 searches the master unit 10 only for the scan time corresponding to the recommended value “5” of the scan time coefficient Y in FIG.
 なお、通常の通信の場合、子機30が親機10からの応答信号を14チャネルのいずれにおいてもスキャン時間内に受信できない場合、スキャン時間係数「5」は、変更されない。しかしながら、この場合も、スキャン時間係数「5」が変更され、5から1つずつ最大値まで増加されてもよい。また、スキャン時間係数は、推奨値「5」から一気に最大値まで増加されてもよい。 In the case of normal communication, if the slave unit 30 cannot receive the response signal from the master unit 10 in any of the 14 channels within the scan time, the scan time coefficient “5” is not changed. However, in this case as well, the scan time coefficient “5” may be changed and increased from 5 to the maximum value one by one. Further, the scan time coefficient may be increased from the recommended value “5” to the maximum value at once.
 また、通常の通信のときにおいても、子機30の接続処理部33は、受信処理部32を応答要求信号に対応する応答信号の受信のために待機している状態に設定している。この子機30の受信処理部32が応答信号の受信のために待機している時間以外の時間においては、子機30の受信処理部32は、応答信号を受信することができない。この子機30の受信処理部32が応答信号の受信のために待機している時間が、前述のように、子機30による親機10のスキャン時間である。 Further, even during normal communication, the connection processing unit 33 of the slave unit 30 sets the reception processing unit 32 in a standby state for receiving a response signal corresponding to the response request signal. During a time other than the time when the reception processing unit 32 of the slave unit 30 is waiting for reception of the response signal, the reception processing unit 32 of the slave unit 30 cannot receive the response signal. The time during which the reception processing unit 32 of the slave unit 30 is waiting for reception of the response signal is the scan time of the master unit 10 by the slave unit 30 as described above.
 ステップS353において、接続処理部33は、送信処理部37にXチャネルで応答要求信号の送信のための処理を実行させる。それにより、アンテナ31から応答要求信号が送信される。アンテナ31から応答要求信号が送信されると、ステップS354において、接続処理部33は、受信処理部32が応答信号を受信したか否かを判定する。 In step S353, the connection processing unit 33 causes the transmission processing unit 37 to execute processing for transmitting a response request signal using the X channel. Thereby, a response request signal is transmitted from the antenna 31. When the response request signal is transmitted from the antenna 31, in step S354, the connection processing unit 33 determines whether or not the reception processing unit 32 has received the response signal.
 ステップS354において、受信処理部32が応答信号を受信していれば、ステップS355において、接続処理部33は、親機10と通常の通信を実行する。子機30が親機10と通信可能な場合には、このステップS351からステップS355の処理は繰り返される。 In step S354, if the reception processing unit 32 has received the response signal, the connection processing unit 33 performs normal communication with the parent device 10 in step S355. If the handset 30 can communicate with the base unit 10, the processing from step S351 to step S355 is repeated.
 ステップS354において、受信処理部32が応答信号を受信していなければ、接続処理部33は、ステップS356において、通信チャネルを切り替える。具体的には、通信チャネルの番号が、チャネルXからチャネルX+1へ1チャネルだけ増加する。ステップS356が繰り返されるごとに、通信チャネルの番号が1ずつ増加する。 In step S354, if the reception processing unit 32 has not received a response signal, the connection processing unit 33 switches the communication channel in step S356. Specifically, the communication channel number increases from channel X to channel X + 1 by one channel. Each time step S356 is repeated, the communication channel number increases by one.
 次に、ステップS357において、接続処理部33は、全チャネルで親機10の探索(スキャン)が完了しているか否かを判定する。ステップS357において、全てのチャネルでスキャンが完了していないと判定されれば、ステップS353の処理が再び実行される。 Next, in step S357, the connection processing unit 33 determines whether or not the search (scan) of the parent device 10 has been completed in all channels. If it is determined in step S357 that scanning has not been completed for all channels, the process of step S353 is executed again.
 一方、ステップS357において、全てのチャネルで親機10の探索が完了していると判定される場合がある。この場合には、ステップS358において、接続処理部33は、通信が失敗したことが決定し、その旨をアプリケーション制御部35へ通知する。それにより、アプリケーション制御部35は、報知部38、たとえば、表示部に通信が失敗したことを表示させる。この場合、スキャン時間係数Yは、推奨値としての「5」に維持される。 On the other hand, in step S357, it may be determined that the search for base unit 10 has been completed in all channels. In this case, in step S358, the connection processing unit 33 determines that the communication has failed, and notifies the application control unit 35 to that effect. Thereby, the application control unit 35 causes the notification unit 38, for example, the display unit to display that the communication has failed. In this case, the scan time coefficient Y is maintained at “5” as a recommended value.
 上記のように、接続処理部33は、登録のための処理が終了した後に通信の相手方と通常の通信をする場合の通信の相手方の探索においては、次の処理を実行する。 As described above, the connection processing unit 33 executes the following process in searching for a communication partner when performing normal communication with the communication partner after the registration process is completed.
 予め定められた通常通信時応答待ち時間が経過しても、受信処理部32が通信の相手方から応答信号を受信していない場合がある。この場合には、接続処理部33は、通常の通信をするための通信の相手方の探索が開始された後に未だ利用されたことがない複数の通信チャネルのうちのいずれか1つの通信チャネルを利用する。それにより、接続処理部33は、通常通信時応答待ち時間が再び経過するまで、通信の相手方を探索するための処理を実行する。 Even if a predetermined response waiting time during normal communication elapses, the reception processing unit 32 may not receive a response signal from the other party of communication. In this case, the connection processing unit 33 uses any one of a plurality of communication channels that have not been used yet after the search for a communication partner for normal communication is started. To do. Thereby, the connection processing unit 33 executes processing for searching for a communication partner until the normal communication response waiting time elapses again.
 一方、通常通信時応答待ち時間が経過するまでに、いずれか1つの通信チャネルを利用して、受信処理部32が通信の相手方から応答信号を受信する場合がある。この場合には、接続処理部33は、通信の相手方と通常の通信をするための処理を実行する。 On the other hand, the reception processing unit 32 may receive a response signal from the other party of communication by using any one communication channel before the response waiting time during normal communication elapses. In this case, the connection processing unit 33 executes processing for performing normal communication with the communication partner.
 図6に示された登録のための制御処理と図7に示された通常の通信のための制御処理とを比較すると分かるように、登録用応答待ち時間は、通常通信時応答待ち時間よりも短い。したがって、本実施の形態の子機30によれば、アクティブスキャンにより通信の相手方を探索して登録する場合に、登録に要する時間を短縮することができる可能性を高めることができる。 As can be seen by comparing the control process for registration shown in FIG. 6 with the control process for normal communication shown in FIG. 7, the response waiting time for registration is larger than the response waiting time during normal communication. short. Therefore, according to the slave unit 30 of the present embodiment, when searching and registering a communication partner by active scan, the possibility that the time required for registration can be shortened can be increased.
 図8を用いて、実施の形態の通信システムにおける無線通信装置としての親機10の構成を説明する。 The configuration of base unit 10 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
 無線通信装置としての親機10は、アンテナ11、受信処理部12、接続処理部13、通信パラメータ管理部14、アプリケーション制御部15、登録情報記憶部16、送信処理部17、および報知部18を備えている。 A base unit 10 as a wireless communication device includes an antenna 11, a reception processing unit 12, a connection processing unit 13, a communication parameter management unit 14, an application control unit 15, a registration information storage unit 16, a transmission processing unit 17, and a notification unit 18. I have.
 アンテナ11は電波を受信し、受信処理部12へ伝達する。受信処理部12は、受信した情報を接続処理部13へ通知する。本実施の形態においては、受信処理部12は、アンテナ11が通信の相手方から応答要求信号(Enhanced Beacon Request)を受信した場合に、それを接続処理部13へ通知する受信処理部12を備えている。 The antenna 11 receives radio waves and transmits them to the reception processing unit 12. The reception processing unit 12 notifies the connection processing unit 13 of the received information. In the present embodiment, the reception processing unit 12 includes a reception processing unit 12 that notifies the connection processing unit 13 when the antenna 11 receives a response request signal (Enhanced Beacon Request) from a communication partner. Yes.
 接続処理部13は、アプリケーション制御部15から指令信号を受信して子機30と通信するための制御を実行する。接続処理部13は、受信処理部12が応答要求信号を受信した場合に、通信の相手方を登録するための処理を実行する。 The connection processing unit 13 receives the command signal from the application control unit 15 and executes control for communicating with the slave unit 30. When the reception processing unit 12 receives a response request signal, the connection processing unit 13 executes processing for registering a communication partner.
 アプリケーション制御部15は、親機10の製品としての機能を発揮するための制御を実行する。アプリケーション制御部15は、情報を報知部18に報知させる。アプリケーション制御部15は、子機30の登録に関する情報等を登録情報記憶部16に記憶させる。 The application control unit 15 executes control for exhibiting the function of the parent device 10 as a product. The application control unit 15 causes the notification unit 18 to notify the information. The application control unit 15 causes the registration information storage unit 16 to store information related to registration of the slave unit 30.
 接続処理部13は、ある1つの通信チャネルを利用して、受信処理部12が応答要求信号を受信した場合に、通信の相手方を登録するための処理を実行する。つまり、接続処理部13は、受信処理部12が子機30から応答要求信号を受信すると、アプリケーション制御部15へ応答要求信号を受信したことを通知する。それにより、アプリケーション制御部15は、接続処理部13を通じて送信処理部17に応答信号を送信する処理を実行させる。その結果、アンテナ11から応答信号が送信される。また、アプリケーション制御部15は、応答要求信号を送信した子機30の登録のためのPANA認証を開始する。アプリケーション制御部15は、子機30のPANA認証が成功した場合には、登録情報記憶部16に子機30を記憶する。 The connection processing unit 13 uses a certain communication channel to execute processing for registering a communication partner when the reception processing unit 12 receives a response request signal. That is, when the reception processing unit 12 receives the response request signal from the slave unit 30, the connection processing unit 13 notifies the application control unit 15 that the response request signal has been received. Thereby, the application control unit 15 causes the transmission processing unit 17 to execute a process of transmitting a response signal through the connection processing unit 13. As a result, a response signal is transmitted from the antenna 11. Further, the application control unit 15 starts PANA authentication for registration of the slave unit 30 that has transmitted the response request signal. If the PANA authentication of the child device 30 is successful, the application control unit 15 stores the child device 30 in the registration information storage unit 16.
 通信パラメータ管理部14は、複数のバックオフ時間の上限値を記憶する。なお、Wi-SUN HANにおいては、バックオフ時間の上限値の最大値(MacMaxBE(Back-off Exponent))とバックオフ時間の上限値の最小値(MacMinBE)とは、同一になっている。 The communication parameter management unit 14 stores an upper limit value of a plurality of backoff times. In Wi-SUN HAN, the maximum value of the upper limit value of backoff time (MacMaxBE (Back-off Exponent)) and the minimum value of the upper limit value of backoff time (MacMinBE) are the same.
 送信処理部17は、接続処理部13からの指示に基づいて、アンテナ11から応答要求信号に対応する応答信号(Enhanced Beacon)を通信の相手方へ送信する。本実施の形態においては、送信処理部17は、接続処理部13からの指示に基づいて、ある1つの通信チャネルを利用して応答要求信号に対応する応答信号を通信の相手方へ送信する。 The transmission processing unit 17 transmits a response signal (Enhanced Beacon) corresponding to the response request signal from the antenna 11 based on an instruction from the connection processing unit 13. In the present embodiment, the transmission processing unit 17 transmits a response signal corresponding to the response request signal to a communication partner using a certain communication channel based on an instruction from the connection processing unit 13.
 報知部18は、本実施の形態においては、画像を表示する表示部、たとえば、液晶ディスプレイである。ただし、報知部18は、音声を発生するものであってもよい。報知部18によって報知される情報は、たとえば、登録の失敗または成功等である。 In the present embodiment, the notification unit 18 is a display unit that displays an image, for example, a liquid crystal display. However, the notification unit 18 may generate sound. The information notified by the notification unit 18 is, for example, registration failure or success.
 無線通信装置としての親機10は、コンピュータを備えている。このコンピュータが、無線通信用プロクラムを実行することによって、上記した接続処理部13、送信処理部17、および受信処理部12等の機能が実現される。コンピュータは、プログラムに従って動作するプロセッサを主なハードウェア構成として備える。プロセッサは、プログラムを実行することによって機能を実現することができれば、その種類は問わない。プロセッサは、半導体集積回路(IC)、又はLSI(large scale integration)を含む一つ又は複数の電子回路で構成される。複数の電子回路は、一つのチップに集積されてもよいし、複数のチップに設けられてもよい。プログラムは、コンピュータが読み取り可能なROM、光ディスク、ハードディスクドライブなどの非一時的記録媒体に記録される。プログラムは、親機10が備える記憶媒体に予め格納されていてもよいし、インターネット上のクラウド等のサーバから親機10へインストールされてもよく、また、スティックメモリ等の親機10の外部の記録媒体から親機10へインストールされてもよい。 The master unit 10 as a wireless communication device includes a computer. The computer executes the wireless communication program, thereby realizing the functions of the connection processing unit 13, the transmission processing unit 17, the reception processing unit 12, and the like. The computer includes a processor that operates according to a program as a main hardware configuration. The processor may be of any type as long as the function can be realized by executing the program. The processor is composed of one or a plurality of electronic circuits including a semiconductor integrated circuit (IC) or an LSI (large scale integration). The plurality of electronic circuits may be integrated on one chip or provided on a plurality of chips. The program is recorded on a non-transitory recording medium such as a ROM, an optical disk, or a hard disk drive that can be read by a computer. The program may be stored in advance in a storage medium included in the parent device 10, installed from a server such as a cloud on the Internet to the parent device 10, or external to the parent device 10 such as a stick memory. It may be installed in the parent device 10 from a recording medium.
 図9を用いて、実施の形態の通信システムにおける無線通信装置として親機10が実行する制御処理を説明する。 Referring to FIG. 9, a control process executed by the parent device 10 as a wireless communication device in the communication system according to the embodiment will be described.
 図9に示されるように、親機10の登録釦が押し下げられると、ステップS101において、接続処理部13が通信パラメータ管理部14の複数の通信チャネルからXチャネルを選択する。その後、ステップS102において、接続処理部13は、通信パラメータ管理部14のバックオフ時間を初期値「3」に設定する。バックオフ時間の初期値「3」は、通常の通信のときに利用されるバックオフ時間より短いバックオフ時間に対応する値である。そのため、親機10は、ある信号を送信するときに、通常の通信のときのバックオフ時間よりも短いバックオフ時間だけ待機する。 As shown in FIG. 9, when the registration button of the base unit 10 is pressed, the connection processing unit 13 selects the X channel from the plurality of communication channels of the communication parameter management unit 14 in step S101. Thereafter, in step S102, the connection processing unit 13 sets the back-off time of the communication parameter management unit 14 to the initial value “3”. The initial value “3” of the back-off time is a value corresponding to a back-off time shorter than the back-off time used during normal communication. Therefore, base unit 10 waits for a back-off time shorter than the back-off time during normal communication when transmitting a certain signal.
 また、親機10の登録釦が押し下げられると、接続処理部13は、受信処理部12を応答要求信号の受信のために待機している状態に設定している。この親機10の受信処理部12が応答要求信号の受信のために待機している時間(登録タイムアウト)以外の時間においては、親機10の受信処理部12は、応答要求信号を受信することができない。この親機10の受信処理部12が応答要求信号の受信のために待機している時間(登録タイムアウト)は、予め定められている。 In addition, when the registration button of the base unit 10 is pressed, the connection processing unit 13 sets the reception processing unit 12 to be in a standby state for receiving a response request signal. The reception processing unit 12 of the parent device 10 receives the response request signal during a time other than the time when the reception processing unit 12 of the parent device 10 waits for reception of the response request signal (registration timeout). I can't. The time (registration timeout) that the reception processing unit 12 of the base unit 10 is waiting for receiving the response request signal is determined in advance.
 ステップS103において、接続処理部13は、受信処理部12にXチャネルで応答要求信号の受信を開始させる。つまり、接続処理部13は、受信処理部12を応答要求信号の受信待ちの状態にさせる。その後、ステップS104において、接続処理部13は、受信処理部12が子機30によって送信された応答要求信号を受信したか否かを判定する。 In step S103, the connection processing unit 13 causes the reception processing unit 12 to start receiving a response request signal on the X channel. That is, the connection processing unit 13 causes the reception processing unit 12 to wait for reception of a response request signal. Thereafter, in step S104, the connection processing unit 13 determines whether or not the reception processing unit 12 has received the response request signal transmitted by the slave unit 30.
 ステップS104において、接続処理部13は、受信処理部12が応答要求信号を受信したと判定すれば、ステップS105において、応答要求信号に対応する応答信号を送信する。これにより、子機30は、応答信号を受信できた場合には、PANA認証を開始している。また、この応答要求信号の受信に基づいて、親機10は、PANA認証を開始している。 In step S104, if the connection processing unit 13 determines that the reception processing unit 12 has received the response request signal, the connection processing unit 13 transmits a response signal corresponding to the response request signal in step S105. Thereby, the subunit | mobile_unit 30 has started PANA authentication, when a response signal can be received. Further, based on the reception of this response request signal, base unit 10 has started PANA authentication.
 親機10の接続処理部13は、ステップS106において、PANA認証が成功したか否かを判定する。接続処理部13は、ステップS106において、PANA認証が成功したと判定されていれば、アプリケーション制御部15にその旨を通知する。それにより、ステップS107において、アプリケーション制御部15は、登録情報記憶部16に応答要求信号を送信してきた子機30に関する情報を記憶させ、登録が成功したことを報知部18、たとえば、表示部に表示させる。 In step S106, the connection processing unit 13 of the parent device 10 determines whether the PANA authentication is successful. If it is determined in step S106 that the PANA authentication has been successful, the connection processing unit 13 notifies the application control unit 15 to that effect. Thereby, in step S107, the application control unit 15 stores information related to the child device 30 that has transmitted the response request signal in the registration information storage unit 16, and notifies the notification unit 18, for example, the display unit, that the registration is successful. Display.
 一方、ステップS104において、接続処理部13は、登録タイムアウト内において、受信処理部12によって応答要求信号が受信されたと判定しなければ、ステップS108において、子機30の登録が失敗したものとみなす。それにより、接続処理部13は、アプリケーション制御部15に登録が失敗したことを通知する。その結果、アプリケーション制御部15は、報知部18に登録が失敗したことを表示させる。その後、ステップS109において、接続処理部13は、バックオフ時間の上限値を「8」に設定する。 On the other hand, in step S104, if the connection processing unit 13 does not determine that the response request signal has been received by the reception processing unit 12 within the registration timeout, in step S108, it is considered that the registration of the slave unit 30 has failed. Thereby, the connection processing unit 13 notifies the application control unit 15 that the registration has failed. As a result, the application control unit 15 causes the notification unit 18 to display that registration has failed. Thereafter, in step S109, the connection processing unit 13 sets the upper limit value of the back-off time to “8”.
 図10は、実施の形態の通信システムにおける無線通信装置としての親機10が実行する通常の通信時の制御処理を説明するためのフローチャートである。 FIG. 10 is a flowchart for explaining control processing during normal communication executed by base unit 10 as a wireless communication device in the communication system according to the embodiment.
 登録のための制御処理が終了すると、ステップS151において、親機10の接続処理部13が通信パラメータ管理部14の通信チャネルをXチャネルに設定している状態を維持する。その後、ステップS152において、接続処理部13は、通信パラメータ管理部14のバックオフ時間を推奨値である「8」に設定している状態を維持する。このバックオフ時間の推奨値「8」は、通常の登録のための制御処理のときに使用されるバックオフ時間より長いバックオフ時間に対応する値である。これにより、親機10は、他の無線通信装置がXチャネルを使用している場合に、他の無線通信装置がXチャネルを使用しなくなった後、登録のための制御処理のときのバックオフ時間よりも長いバックオフ時間だけ待機する。 When the control process for registration is completed, in step S151, the connection processing unit 13 of the base unit 10 maintains a state in which the communication channel of the communication parameter management unit 14 is set to the X channel. Thereafter, in step S152, the connection processing unit 13 maintains a state in which the backoff time of the communication parameter management unit 14 is set to the recommended value “8”. This recommended value “8” of the back-off time is a value corresponding to a back-off time longer than the back-off time used in the control process for normal registration. Thereby, when the other wireless communication device is using the X channel, the base unit 10 can backoff at the time of the control processing for registration after the other wireless communication device stops using the X channel. Wait for a backoff time longer than the time.
 また、親機10の通常の通信のときにも、接続処理部13は、登録タイムアウトの期間だけ、受信処理部12を応答要求信号の受信のために待機している状態に設定している。この場合においても、親機10の受信処理部12が応答要求信号の受信のために待機している時間(登録タイムアウト)以外の時間においては、親機10の受信処理部12は、応答要求信号を受信することができない。 Also, during normal communication of the base unit 10, the connection processing unit 13 sets the reception processing unit 12 to be in a standby state for receiving a response request signal for the registration timeout period. Even in this case, during the time other than the time (registration timeout) when the reception processing unit 12 of the base unit 10 is waiting for the reception of the response request signal, the reception processing unit 12 of the base unit 10 Can not receive.
 ステップS153において、接続処理部13は、受信処理部12にXチャネルを利用して応答要求信号の受信を開始させる。その後、ステップS154において、接続処理部13は、受信処理部12が子機30によって送信された応答要求信号を受信したか否かを判定する。 In step S153, the connection processing unit 13 causes the reception processing unit 12 to start receiving a response request signal using the X channel. Thereafter, in step S154, the connection processing unit 13 determines whether or not the reception processing unit 12 has received the response request signal transmitted by the slave unit 30.
 ステップS154において、接続処理部13は、受信処理部12が応答要求信号を受信したと判定すれば、ステップS155において、応答要求信号に対応する応答信号を送信する。その後、ステップS156において、子機30との通信を実行する。一方、ステップS154において、接続処理部13は、受信処理部12によって応答要求信号が受信されたと判定しなければ、ステップS157において、通信が失敗したものとみなす。それにより、接続処理部13はアプリケーション制御部15に通信が失敗したことを通知する。その結果、アプリケーション制御部15は、報知部18に通信が失敗したことを表示させる。 In step S154, if the connection processing unit 13 determines that the reception processing unit 12 has received the response request signal, the connection processing unit 13 transmits a response signal corresponding to the response request signal in step S155. Thereafter, in step S156, communication with the slave unit 30 is executed. On the other hand, in step S154, if the connection processing unit 13 does not determine that the response request signal has been received by the reception processing unit 12, the connection processing unit 13 considers that communication has failed in step S157. Thereby, the connection processing unit 13 notifies the application control unit 15 that the communication has failed. As a result, the application control unit 15 causes the notification unit 18 to display that the communication has failed.
 上記から分かるように、ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出される場合がある。この場合には、親機10の接続処理部13は、ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出されなくなった後、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機する。その後、親機10の接続処理部13は、応答信号を送信処理部17に送信させる。通信の相手方を登録する場合のバックオフ時間の上限値は、通信の相手方の登録のための処理が完了した後に通信の相手方と通常の通信をする場合のバックオフ時間の上限値よりも小さい。これによれば、子機30が親機10を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる。なお、ある1つの通信チャネルが他の無線通信装置によって利用されていることは、親機10自身が他の無線通信装置が送信した電波を受信していることによって検出される。 As can be seen from the above, it may be detected that a certain communication channel is being used by another wireless communication device. In this case, the connection processing unit 13 of the base unit 10 randomly detects that a certain communication channel is not being used by another wireless communication device, and then starts from a time equal to or shorter than the upper limit value of the back-off time. Wait for the selected backoff time. Thereafter, the connection processing unit 13 of the parent device 10 causes the transmission processing unit 17 to transmit a response signal. The upper limit value of the back-off time when registering the communication partner is smaller than the upper limit value of the back-off time when performing normal communication with the communication partner after the process for registering the communication partner is completed. According to this, in the communication system in which the child device 30 searches for and registers the parent device 10, it is possible to increase the possibility of reducing the time required for mutual registration. Note that a certain communication channel being used by another wireless communication device is detected by the base unit 10 itself receiving a radio wave transmitted by the other wireless communication device.
 また、上記から分かるように、登録タイムアウト内に登録のための処理を完了することができない場合がある。この場合には、接続処理部13は、バックオフ時間の上限値を、通信の相手方を登録する場合のバックオフ時間の上限値から通信の相手方と通常の通信をする場合のバックオフ時間の上限値へ変更する。これによれば、登録のための処理のバックオフ時間の上限値が使用され続けることによる問題の発生を防止することができる。 Also, as can be seen from the above, the registration process may not be completed within the registration timeout. In this case, the connection processing unit 13 determines the upper limit value of the back-off time when performing normal communication with the communication partner from the upper limit value of the back-off time when registering the communication partner. Change to value. According to this, it is possible to prevent the occurrence of problems due to the continuous use of the upper limit value of the back-off time for the processing for registration.
 図11を用いて、実施の形態の通信システムにおける無線通信装置としての中継器20の構成を説明する。 The configuration of the repeater 20 as a wireless communication device in the communication system according to the embodiment will be described with reference to FIG.
 中継器20は、登録のための制御処理に関しては、親機10と子機30との双方の構成および機能を有している。中継器20のアプリケーション制御部25は、親機10のアプリケーション制御部15と子機30のアプリケーション制御部35との双方の構成を有し、親機10のアプリケーション制御部15と子機30のアプリケーション制御部35との双方の機能を発揮する。中継器20の接続処理部23は、親機10の接続処理部13と子機30の接続処理部33との双方の構成を有し、親機10の接続処理部13と子機30の接続処理部33との双方の機能を発揮する。 The repeater 20 has the configuration and function of both the parent device 10 and the child device 30 regarding the control processing for registration. The application control unit 25 of the repeater 20 includes both the application control unit 15 of the parent device 10 and the application control unit 35 of the child device 30, and the application control unit 15 of the parent device 10 and the application of the child device 30. Both functions of the control unit 35 are exhibited. The connection processing unit 23 of the repeater 20 has both the configuration of the connection processing unit 13 of the parent device 10 and the connection processing unit 33 of the child device 30, and the connection between the connection processing unit 13 of the parent device 10 and the child device 30. Both functions of the processing unit 33 are exhibited.
 中継器20の登録情報記憶部26は、親機10の登録情報記憶部16が記憶している通信の相手方に関する情報と子機30の登録情報記憶部36が記憶している通信の相手方に関する情報との双方を記憶することができる。中継器20の通信パラメータ管理部24は、親機10の通信パラメータ管理部14が記憶しているパラメータと子機30の通信パラメータ管理部34が管理しているパラメータとの双方の記憶している。中継器20の送信処理部27は、親機10の送信処理部17と同様の機能を発揮するとともに、子機30の送信処理部37の機能と同様の機能を発揮する。中継器20の受信処理部22は、親機10の受信処理部12の機能と同様の機能を発揮するとともに、子機30の受信処理部32の機能と同様の機能を発揮する。中継器20のアンテナ21は、親機10のアンテナ11および子機30のアンテナ31と同様に応答要求信号および応答信号を送受信することができる。中継器20の報知部28は、子機30の報知部38および親機10の報知部18と同様に、登録の成功および失敗のいずれかを表示する。 The registration information storage unit 26 of the repeater 20 includes information on the communication partner stored in the registration information storage unit 16 of the parent device 10 and information on the communication partner stored in the registration information storage unit 36 of the child device 30. Both can be memorized. The communication parameter management unit 24 of the repeater 20 stores both the parameters stored in the communication parameter management unit 14 of the parent device 10 and the parameters managed by the communication parameter management unit 34 of the child device 30. . The transmission processing unit 27 of the repeater 20 exhibits the same function as the transmission processing unit 17 of the parent device 10 and the same function as the function of the transmission processing unit 37 of the child device 30. The reception processing unit 22 of the repeater 20 exhibits a function similar to the function of the reception processing unit 12 of the parent device 10 and also exhibits a function similar to the function of the reception processing unit 32 of the child device 30. The antenna 21 of the repeater 20 can transmit and receive a response request signal and a response signal in the same manner as the antenna 11 of the parent device 10 and the antenna 31 of the child device 30. The notification unit 28 of the repeater 20 displays either the success or failure of registration, similarly to the notification unit 38 of the child device 30 and the notification unit 18 of the parent device 10.
 図12を用いて、実施の形態の通信システムにおける無線通信装置としての中継器20が実行する登録開始のための制御処理を説明する。 Referring to FIG. 12, a control process for starting registration executed by the repeater 20 as the wireless communication device in the communication system according to the embodiment will be described.
 図12に示されるように、ステップS201において、中継器20は、通信の相手方を登録するときには、まず、接続処理部23が親機10および子機30のうちのいずれを登録すべき段階であるのかを判定する。ステップS201において、子機30を登録すべき段階であると判断されると、接続処理部23は、ステップS202において、子機30の登録するための処理を実行する。一方、ステップS201において、親機10を登録すべき段階であると判断されると、接続処理部23は、ステップS203において、親機10の登録するための処理を実行する。 As shown in FIG. 12, in step S201, when the repeater 20 registers a communication partner, first, the connection processing unit 23 is in a stage in which one of the parent device 10 and the child device 30 should be registered. It is determined whether. If it is determined in step S201 that the child device 30 is to be registered, the connection processing unit 23 executes a process for registering the child device 30 in step S202. On the other hand, if it is determined in step S201 that the parent device 10 is to be registered, the connection processing unit 23 executes a process for registering the parent device 10 in step S203.
 本実施の形態においては、先に親機10を登録し、その後、子機30を登録するものとする。そのため、最初のステップS201の判定処理においては、親機10を登録すべきと判定され、その後のステップS201の判定処理においては、子機30を登録すべきと判定される。ただし、親機10および子機30のうちいずれを登録すべきかの判定手法およびそれらの登録の順序は、いかなるものであってもよい。 In this embodiment, the parent device 10 is registered first, and then the child device 30 is registered. Therefore, in the first determination process of step S201, it is determined that the parent device 10 should be registered, and in the subsequent determination process of step S201, it is determined that the child device 30 should be registered. However, the determination method of which of the parent device 10 and the child device 30 should be registered and the order of their registration may be any.
 中継器20は、ステップS203において親機10を登録するときには、子機として機能するため、図6および図7に記載された子機30が実行する制御処理と同様の処理を実行する。一方、中継器20は、ステップS202において子機30を登録するときには、親機として機能するため、図9および図10に記載の親機10が実行する制御処理と同様の処理を実行する。 Since the repeater 20 functions as a slave when registering the master 10 in step S203, the repeater 20 executes a process similar to the control process executed by the slave 30 described in FIG. 6 and FIG. On the other hand, since the repeater 20 functions as a parent device when registering the child device 30 in step S202, the repeater 20 executes a process similar to the control process executed by the parent device 10 shown in FIGS.
 図12から分かるように、実施の形態の中継器20は、第1の無線通信装置としての子機30と第2の無線通信装置としての親機10とを含む通信システムにおいて、子機30と親機10との間の通信情報を中継する。中継器20は、子機30を登録する場合かそれとも親機10を登録する場合かを判定する判定部(ステップS201)を備えている。それにより、中継器20は、判定部が親機10を登録すべきと判定した場合に、上記した子機30の登録のための機能を発揮するか、または、判定部が子機30を登録すべきと判定した場合に、上記した親機10の登録のための機能を発揮する。これによれば、中継器20の制御の混乱を防止することができる。 As can be seen from FIG. 12, the repeater 20 of the embodiment includes a slave unit 30 in a communication system including a slave unit 30 as a first wireless communication device and a master unit 10 as a second wireless communication device. Relays communication information with base unit 10. The repeater 20 includes a determination unit (step S201) that determines whether to register the child device 30 or to register the parent device 10. Thereby, when the determination unit determines that the base unit 10 should be registered, the repeater 20 performs the function for registering the slave unit 30 described above, or the determination unit registers the slave unit 30. When it is determined that it should be performed, the above-described function for registering the parent device 10 is exhibited. According to this, confusion of control of the repeater 20 can be prevented.
 以下、実施の形態の無線通信装置、無線通信用プログラム、および中継器の特徴的構成およびそれにより得られる効果を説明する。 Hereinafter, characteristic configurations of the wireless communication device, the wireless communication program, and the repeater according to the embodiment and effects obtained thereby will be described.
 (1) 無線通信装置としての子機30は、接続処理部33、送信処理部37、および受信処理部32を備えている。 (1) The subunit | mobile_unit 30 as a radio | wireless communication apparatus is provided with the connection process part 33, the transmission process part 37, and the reception process part 32. FIG.
 接続処理部33は、電波の周波数が異なる複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、通信の相手方を探索するための処理を実行する。送信処理部37は、接続処理部33からの指示に基づいて、通信の相手方へ応答要求信号を送信する。受信処理部32は、通信の相手方から応答要求信号に対応する応答信号を受信した場合に、接続処理部33に通知する。 The connection processing unit 33 performs processing for searching for a communication partner by using any one of a plurality of communication channels having different radio wave frequencies. The transmission processing unit 37 transmits a response request signal to the other party of communication based on an instruction from the connection processing unit 33. The reception processing unit 32 notifies the connection processing unit 33 when a response signal corresponding to the response request signal is received from the communication partner.
 接続処理部33は、外部から入力された登録の開始の指示に基づいて通信の相手方を登録する場合の通信の相手方の探索においては、次の処理を実行する。 The connection processing unit 33 performs the following processing in searching for a communication partner when registering the communication partner based on an instruction to start registration input from the outside.
 予め定められた登録用応答待ち時間が経過しても、受信処理部が通信の相手方から応答信号を受信していない場合がある。この場合には、接続処理部33は、登録のための通信の相手方の探索が開始された後に未だ利用されたことがない複数の通信チャネルのうちのいずれか1つの通信チャネルを利用する。それにより、接続処理部33は、登録用応答待ち時間が再び経過するまで、通信の相手方を探索するための処理を実行する。一方、登録用応答待ち時間が経過するまでに、複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、受信処理部32が通信の相手方から応答信号を受信する場合がある。この場合には、接続処理部33は、通信の相手方の登録をするための処理を実行する。 Even when a predetermined registration response waiting time elapses, the reception processing unit may not receive a response signal from the communication partner. In this case, the connection processing unit 33 uses any one of a plurality of communication channels that have not been used yet after the search for a communication partner for registration is started. Thereby, the connection processing unit 33 executes a process for searching for a communication partner until the registration response waiting time elapses again. On the other hand, the reception processing unit 32 may receive a response signal from the other party of communication by using any one of the plurality of communication channels before the registration response waiting time elapses. In this case, the connection processing unit 33 executes a process for registering a communication partner.
 接続処理部33は、登録のための処理が終了した後に通信の相手方と通常の通信をする場合の通信の相手方の探索においては、次の処理を実行する。 The connection processing unit 33 performs the following process in searching for a communication partner when performing normal communication with the communication partner after the registration process is completed.
 予め定められた通常通信時応答待ち時間が経過しても、受信処理部32が通信の相手方から応答信号を受信していない場合がある。この場合には、接続処理部33は、通常の通信をするための通信の相手方の探索が開始された後に未だ利用されたことがない複数の通信チャネルのうちのいずれか1つの通信チャネルを利用する。それにより、接続処理部33は、通常通信時応答待ち時間が再び経過するまで、通信の相手方を探索するための処理を実行する。一方、通常通信時応答待ち時間が経過するまでに、いずれか1つの通信チャネルを利用して、受信処理部32が通信の相手方から応答信号を受信する場合がある。この場合には、接続処理部33は、通信の相手方と通常の通信をするための処理を実行する。 Even if a predetermined response waiting time during normal communication elapses, the reception processing unit 32 may not receive a response signal from the other party of communication. In this case, the connection processing unit 33 uses any one of a plurality of communication channels that have not been used yet after the search for a communication partner for normal communication is started. To do. Thereby, the connection processing unit 33 executes processing for searching for a communication partner until the normal communication response waiting time elapses again. On the other hand, the reception processing unit 32 may receive a response signal from the other party of communication using any one communication channel before the normal communication response waiting time elapses. In this case, the connection processing unit 33 executes processing for performing normal communication with the communication partner.
 登録用応答待ち時間は、通常通信時応答待ち時間よりも短い。これによれば、一方の無線通信装置が他方の無線通信装置を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる。 The response waiting time for registration is shorter than the response waiting time during normal communication. According to this, in the communication system in which one wireless communication device searches for and registers the other wireless communication device, it is possible to increase the possibility of shortening the time required for mutual registration.
 (2) 通信の相手方を登録する場合の通信の相手方の探索において、複数の通信チャネルのいずれにおいても、登録用応答待ち時間が経過するまでに、受信処理部32が通信の相手方から応答信号を受信しない場合がある。この場合には、接続処理部33は、登録用応答待ち時間よりも長い他の登録用応答待ち時間を用いて、通信の相手方の探索を再度実行してもよい。これによれば、登録用応答待ち時間を徐々に増加させることができる。 (2) In searching for a communication partner when registering a communication partner, the reception processing unit 32 sends a response signal from the communication partner before the registration response waiting time elapses in any of the plurality of communication channels. You may not receive. In this case, the connection processing unit 33 may perform another search for a communication partner using another registration response waiting time longer than the registration response waiting time. According to this, the registration response waiting time can be gradually increased.
 (3) 他の登録用応答待ち時間は、通常通信時応答待ち時間であってもよい。これによれば、登録用応答待ち時間を一気に通常通信時応答待ち時間まで増加させることができる。 (3) Other registration response wait time may be a normal communication response wait time. According to this, the response waiting time for registration can be increased at a stretch to the response waiting time during normal communication.
 (4) 実施の形態の無線通信用プログラムは、コンピュータを、上記した無線通信装置としての子機30の接続処理部33、送信処理部37、および受信処理部32、として動作させるためのものである。 (4) The wireless communication program of the embodiment is for operating a computer as the connection processing unit 33, the transmission processing unit 37, and the reception processing unit 32 of the slave unit 30 as the above-described wireless communication device. is there.
 (5) 実施の形態の中継器20は、第1の無線通信装置としての子機30と第2の無線通信装置としての親機10とを含む通信システムにおいて、子機30と親機10との間の通信情報を中継する。中継器20は、子機30を登録する場合かそれとも親機10を登録する場合かを判定する判定部(ステップS201)を備えている。それにより、判定部が親機10を登録すべきと判定した場合に、上記した子機30の登録のための機能を発揮する。これによれば、中継器20の制御の混乱を防止することができる。 (5) The repeater 20 of the embodiment includes a slave unit 30 and a master unit 10 in a communication system including a slave unit 30 as a first radio communication device and a master unit 10 as a second radio communication device. Relay communication information between The repeater 20 includes a determination unit (step S201) that determines whether to register the child device 30 or to register the parent device 10. Accordingly, when the determination unit determines that the parent device 10 should be registered, the above-described function for registering the child device 30 is exhibited. According to this, confusion of control of the repeater 20 can be prevented.
 本出願は、2017年3月29日に出願された日本出願の特願2017-065129号に基づく優先権を主張し、当該日本出願に記載された全ての記載内容を参照によって援用するものである。 This application claims priority based on Japanese Patent Application No. 2017-065129 filed on Mar. 29, 2017, and incorporates all the written contents of the Japanese application by reference. .
 10 親機(無線通信装置)
 20 中継器(無線通信装置)
 30 子機(無線通信装置)
 32 受信処理部(子機)
 33 接続処理部(子機)
 37 送信処理部(子機)
 S201 判定部
10 Master unit (wireless communication device)
20 Repeater (wireless communication device)
30 Slave unit (wireless communication device)
32 Reception processing unit (slave unit)
33 Connection processing unit (slave unit)
37 Transmission processor (slave unit)
S201 determination unit

Claims (5)

  1.  電波の周波数が異なる複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、通信の相手方を探索するための処理を実行する接続処理部と、
     前記接続処理部からの指示に基づいて、前記通信の相手方へ応答要求信号を送信する送信処理部と、
     前記通信の相手方から前記応答要求信号に対応する応答信号を受信した場合に、前記接続処理部に通知する受信処理部と、を備え、
     前記接続処理部は、
      外部から入力された登録の開始の指示に基づいて前記通信の相手方を登録する場合の前記通信の相手方の探索においては、
       予め定められた登録用応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記登録のための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記登録用応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を実行する一方、
       前記登録用応答待ち時間が経過するまでに、前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方の前記登録をするための処理を実行し、
      前記登録のための処理が終了した後に前記通信の相手方と通常の通信をする場合の前記通信の相手方の探索においては、
       予め定められた通常通信時応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記通常の通信をするための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記通常通信時応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を実行する一方、
       前記通常通信時応答待ち時間が経過するまでに、前記いずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方と前記通常の通信をするための処理を実行し、
     前記登録用応答待ち時間は、前記通常通信時応答待ち時間よりも短い、無線通信装置。
    A connection processing unit that executes processing for searching for a communication partner using any one of a plurality of communication channels having different radio wave frequencies;
    Based on an instruction from the connection processing unit, a transmission processing unit that transmits a response request signal to the other party of the communication;
    A reception processing unit for notifying the connection processing unit when a response signal corresponding to the response request signal is received from the other party of the communication,
    The connection processing unit
    In the search for the other party of communication in the case of registering the other party of communication based on an instruction to start registration input from the outside,
    If the reception processing unit has not received the response signal from the communication partner even after a predetermined registration response waiting time has elapsed, search for the communication partner for the registration is started. For searching for the other party of communication until the registration response waiting time elapses again using any one of the plurality of communication channels that have not been used yet While performing the process
    When the reception processing unit receives the response signal from the other party of the communication by using any one of the plurality of communication channels before the registration response waiting time elapses. , Execute the process for registering the communication partner,
    In the search for the other party of communication in the case of performing normal communication with the other party of communication after the processing for registration is completed,
    If the reception processing unit does not receive the response signal from the communication partner even after a predetermined normal communication response waiting time elapses, the communication partner for the normal communication is performed. The other party of the communication until the response waiting time during normal communication passes again by using any one of the plurality of communication channels that have not been used yet after the search for the communication is started While performing the process to search for
    When the reception processing unit receives the response signal from the other party of communication using any one of the communication channels before the normal communication response waiting time elapses, Performing the process for normal communication,
    The wireless communication apparatus, wherein the registration response waiting time is shorter than the normal communication response waiting time.
  2.  前記接続処理部は、前記通信の相手方を登録する場合の前記通信の相手方の探索において、前記複数の通信チャネルのいずれにおいても、前記登録用応答待ち時間が経過するまでに、前記受信処理部が前記通信の相手方から前記応答信号を受信しなかった場合には、前記登録用応答待ち時間よりも長い他の登録用応答待ち時間を用いて、前記通信の相手方の探索を再度実行する、請求項1に記載の無線通信装置。 In the search for the other party of communication when registering the other party of communication, the connection processing unit determines whether the reception processing unit has reached the registration response waiting time in any of the plurality of communication channels. When the response signal is not received from the communication partner, the search for the communication partner is performed again using another registration response waiting time longer than the registration response waiting time. The wireless communication device according to 1.
  3.  前記他の登録用応答待ち時間は、前記通常通信時応答待ち時間である、請求項2に記載の無線通信装置。 The wireless communication device according to claim 2, wherein the other response waiting time for registration is the response waiting time during normal communication.
  4.  コンピュータを、
     電波の周波数が異なる複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、通信の相手方を探索するための処理を実行する接続処理部、
     前記接続処理部から指示に基づいて、前記通信の相手方へ応答要求信号を送信する送信処理部、および
     前記通信の相手方から前記応答要求信号に対応する応答信号を受信した場合に、前記接続処理部に通知する受信処理部、として動作させるための無線通信用プログラムであって、
     前記接続処理部は、
      外部から入力された登録の開始の指示に基づいて前記通信の相手方を登録する場合の前記通信の相手方の探索においては、
       予め定められた登録用応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記登録のための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記登録用応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を再び実行する一方、
       前記登録用応答待ち時間が経過するまでに、前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方の前記登録をするための処理を実行し、
      前記登録のための処理が終了した後に前記通信の相手方と通常の通信をする場合の前記通信の相手方の探索においては、
       予め定められた通常通信時応答待ち時間が経過しても、前記受信処理部が前記通信の相手方から前記応答信号を受信していない場合には、前記通常の通信をするための前記通信の相手方の探索が開始された後に未だ利用されたことがない前記複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、前記通常通信時応答待ち時間が再び経過するまで、前記通信の相手方を探索するための処理を再び実行する一方、
       前記通常通信時応答待ち時間が経過するまでに、前記いずれか1つの通信チャネルを利用して、前記受信処理部が前記通信の相手方から前記応答信号を受信した場合には、前記通信の相手方と前記通常の通信をするための処理を実行し、
     前記登録用応答待ち時間は、前記通常通信時応答待ち時間よりも短い、無線通信用プログラム。
    Computer
    A connection processing unit that executes processing for searching for a communication partner using any one of a plurality of communication channels having different radio wave frequencies;
    Based on an instruction from the connection processing unit, a transmission processing unit that transmits a response request signal to the other party of communication, and when receiving a response signal corresponding to the response request signal from the other party of communication, the connection processing unit A wireless communication program for operating as a reception processing unit to notify
    The connection processing unit
    In the search for the other party of communication in the case of registering the other party of communication based on an instruction to start registration input from the outside,
    If the reception processing unit has not received the response signal from the communication partner even after a predetermined registration response waiting time has elapsed, search for the communication partner for the registration is started. For searching for the other party of communication until the registration response waiting time elapses again using any one of the plurality of communication channels that have not been used yet While running the process again,
    When the reception processing unit receives the response signal from the other party of the communication by using any one of the plurality of communication channels before the registration response waiting time elapses. , Execute the process for registering the communication partner,
    In the search for the other party of communication in the case of performing normal communication with the other party of communication after the processing for registration is completed,
    If the reception processing unit does not receive the response signal from the communication partner even after a predetermined normal communication response waiting time elapses, the communication partner for the normal communication is performed. The other party of the communication until the response waiting time during normal communication passes again by using any one of the plurality of communication channels that have not been used yet after the search for the communication is started While again performing the process to search for
    When the reception processing unit receives the response signal from the other party of communication using any one of the communication channels before the normal communication response waiting time elapses, Performing the process for normal communication,
    The registration response waiting time is a wireless communication program that is shorter than the normal communication response waiting time.
  5.  第1の無線通信装置と第2の無線通信装置とを含む通信システムにおいて、前記第1の無線通信装置と前記第2の無線通信装置との間の通信情報を中継する中継器であって、
     前記第1の無線通信装置を登録する場合かそれとも前記第2の無線通信装置を登録する場合かを判定する判定部を備え、
     前記判定部が前記第1の無線通信装置を登録すべきと判定した場合に、請求項1~3のいずれかに記載の無線通信装置の登録のための機能を発揮する、中継器。
    In a communication system including a first wireless communication device and a second wireless communication device, a relay that relays communication information between the first wireless communication device and the second wireless communication device,
    A determination unit for determining whether to register the first wireless communication device or the second wireless communication device;
    The repeater that exhibits the function for registration of a wireless communication device according to any one of claims 1 to 3, when the determination unit determines that the first wireless communication device should be registered.
PCT/JP2018/011015 2017-03-29 2018-03-20 Radio communication device, radio communication program and repeater WO2018180760A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017065129A JP2018170579A (en) 2017-03-29 2017-03-29 Radio communication device, radio communication program, and repeater
JP2017-065129 2017-03-29

Publications (1)

Publication Number Publication Date
WO2018180760A1 true WO2018180760A1 (en) 2018-10-04

Family

ID=63675890

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/011015 WO2018180760A1 (en) 2017-03-29 2018-03-20 Radio communication device, radio communication program and repeater

Country Status (2)

Country Link
JP (1) JP2018170579A (en)
WO (1) WO2018180760A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004098214A1 (en) * 2003-04-29 2004-11-11 Docomo Communications Laboratories Usa, Inc. Fast active scanning wireless network apparatus and method
WO2008102504A1 (en) * 2007-02-19 2008-08-28 Nec Corporation Wireless terminal and wireless terminal handover method
JP2014103696A (en) * 2014-02-05 2014-06-05 Seiko Epson Corp Wireless communication device, peripheral device having the same, and wireless communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004098214A1 (en) * 2003-04-29 2004-11-11 Docomo Communications Laboratories Usa, Inc. Fast active scanning wireless network apparatus and method
WO2008102504A1 (en) * 2007-02-19 2008-08-28 Nec Corporation Wireless terminal and wireless terminal handover method
JP2014103696A (en) * 2014-02-05 2014-06-05 Seiko Epson Corp Wireless communication device, peripheral device having the same, and wireless communication method

Also Published As

Publication number Publication date
JP2018170579A (en) 2018-11-01

Similar Documents

Publication Publication Date Title
EP2387260B1 (en) System of wi-fi terminals and channel operation method for the same
KR20140147814A (en) Communication apparatus, communication method, program, and communication system
JP4476888B2 (en) Wireless communication system, parent device and wireless device of wireless communication system
US20100330910A1 (en) Method for transmitting and receiving data using e-field in portable terminal and apparatus thereof
JP2010278825A (en) Radio communication apparatus, radio communication system, and radio communication method
JP2015119296A (en) Radio communication equipment, radio communication system, radio communication method, program, and peripheral
JP7213960B2 (en) Message reporting method, receiving method, terminal and network device
JP2021192521A (en) Method for establishing hot spot connection and terminal device
JP2012209893A (en) Radio communication terminal
WO2017121070A1 (en) Method, apparatus, and device for transmitting activation-related system information
CN105491135A (en) Data connection establishing method and device
WO2018180762A1 (en) Radio communication device, radio communication program, and repeater
JP2015023342A (en) Communication system, communication device, and program
WO2018180760A1 (en) Radio communication device, radio communication program and repeater
JP2016119713A (en) Radio communication device, radio communication system, radio communication method, program, and peripheral
WO2019192520A1 (en) Measuring method, terminal and network side device
KR20230138009A (en) Communication path switching method, device, and terminal
JP6439186B2 (en) Terminal device, communication method and program
JP2011097292A (en) System and method for setting system id
JP5824097B2 (en) Communication device and service management system
JP4705652B2 (en) Wireless terminal and wireless communication method
JP5105211B2 (en) Wireless LAN system
WO2024037401A1 (en) Gap configuration method and apparatus, and terminal and network-side device
WO2022268077A1 (en) Successful handover report (shr) generation method and apparatus, terminal, and medium
JP2011019134A (en) Radio communication equipment, radio communication method, and radio communication system

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

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

Country of ref document: EP

Kind code of ref document: A1