WO2018180762A1 - 無線通信装置、無線通信用プログラム、および中継器 - Google Patents

無線通信装置、無線通信用プログラム、および中継器 Download PDF

Info

Publication number
WO2018180762A1
WO2018180762A1 PCT/JP2018/011018 JP2018011018W WO2018180762A1 WO 2018180762 A1 WO2018180762 A1 WO 2018180762A1 JP 2018011018 W JP2018011018 W JP 2018011018W WO 2018180762 A1 WO2018180762 A1 WO 2018180762A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing unit
communication
unit
time
wireless communication
Prior art date
Application number
PCT/JP2018/011018
Other languages
English (en)
French (fr)
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 WO2018180762A1 publication Critical patent/WO2018180762A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • 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.
  • a wireless communication device includes a reception processing unit that receives a response request signal from a communication partner, and the reception processing unit that receives the response request signal.
  • a connection processing unit that executes processing for registering the communication partner, and a response signal corresponding to the response request signal using a certain communication channel based on an instruction from the connection processing unit
  • a transmission processing unit that transmits to the other party of the communication, and the connection processing unit is configured to detect the one when the certain one communication channel is used by another wireless communication device.
  • the other wireless communication device After detecting that one communication channel is no longer used by the other wireless communication device, it waits for a back-off time that is randomly selected from a time equal to or less than the upper limit of the back-off time.
  • the upper limit value of the back-off time when the response signal is transmitted to the transmission processing unit and the communication partner is registered is the communication partner after the processing for registration of the communication partner is completed. Is smaller than the upper limit of the back-off time for normal communication.
  • a wireless communication program comprising: a reception processing unit that receives a response request signal from a communication partner; and the communication processing unit that receives the response request signal when the reception processing unit receives the response request signal.
  • a connection processing unit that executes processing for registering the other party, and based on an instruction from the connection processing unit, transmits a response signal corresponding to the response request signal to the other party using the communication channel.
  • the response signal After waiting for a randomly selected back-off time from a time less than or equal to the value, the response signal is transmitted to the transmission processing unit, and the communication partner is registered.
  • the upper limit of the back-off time is smaller than the upper limit value of the backoff time in the case of the other party and normal communication of the communication after the processing for registration of the communication counterpart is complete.
  • 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 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 second wireless communication device should be registered, the wireless communication device registration function of the first aspect 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.
  • 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 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.
  • the slave unit 30 as a wireless communication apparatus is connected to the above-described connection processing unit 33, transmission processing unit 37, and reception processing unit 32 based on the wireless communication program. And so on.
  • the wireless communication program may be installed in the child device 30 from a server such as a cloud on the Internet, or may be installed in the child device 30 from a recording medium outside the child device 30 such as a stick memory.
  • 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.
  • the base unit 10 as a wireless communication device includes a reception processing unit 12, a connection processing unit 13, a transmission processing unit 17, and a communication parameter management unit 14.
  • the reception processing unit 12 receives a response request signal from the other party of communication.
  • the connection processing unit 13 executes processing for registering a communication partner.
  • the transmission processing unit 17 transmits a response signal corresponding to the response request signal to a communication partner using a certain communication channel. It may be detected that a certain communication channel is being used by another wireless communication device. In this case, it is not detected that a certain communication channel is used by another wireless communication device.
  • connection processing unit 13 waits for a back-off time randomly selected from a time equal to or less than the upper limit value of the back-off time, and then 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 registration process may not be completed within the registration timeout as a time limit for executing the registration process for the communication partner.
  • 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. You may change it to a value.
  • 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 communicates between the slave unit 30 and the master unit 10 in a communication system including the slave unit 30 as the first radio communication device and the master unit 10 as the second radio communication device. Relay information.
  • 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. When the determination unit determines that the child device 30 should be registered, the function for registering the parent device 10 is exhibited. According to this, confusion of control of the repeater 20 can be prevented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

接続処理部(13)は、ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出された場合には、ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出されなくなった後、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機してから、応答信号を送信処理部(17)に送信させる。通信の相手方を登録する場合のバックオフ時間の上限値は、通信の相手方の登録のための処理が完了した後に通信の相手方と通常の通信をする場合のバックオフ時間の上限値よりも小さい。

Description

無線通信装置、無線通信用プログラム、および中継器
 本発明は、通信の相手方を探索する機能を有する無線通信装置、無線通信用プログラム、および中継器に関する。
 従来から、通信の相手方を探索する機能を有する無線通信装置が用いられている無線通信システムが存在する。このような通信システムにおいては、たとえば、無線通信装置としての親機と子機とが、通常の通信を開始する前に、互いに通信の相手方を登録する。このとき、子機が親機を探索する、いわゆるアクティブスキャンが実行される。子機による親機の探索に関する基準を有している規格としては、たとえば、Wi-SUNアライアンスが使用している規格がある。
 現在公開されているWi-SUN Bルートにおいては、通信を開始する前の通信の相手方の登録時には、子機は、親機に対してアクティブスキャンを行う。具体的には、子機は、応答要求信号(Enhanced Beacon Request)をブロードキャスト送信する。このとき、子機は、親機から応答信号(Enhanced Beacon)を受信するまで、複数のチャネル、たとえば、14チャネルのそれぞれを順次利用して、親機を探索する(特許文献1参照)。子機は、複数のチャネルのうちのいずれか1つのチャネルを利用して、親機から応答信号を受信した場合に、その応答信号を送信した親機へPCI(Peripheral Component Interconnect)信号を送信する。これにより、子機および親機は、それぞれ、通信の相手方のPANA(Protocol for carrying Authentication for Network Access)認証を行った上で、認証が完了した通信の相手方の登録を完了する。
特開2016-146662号公報
 上記したWi-SUN Bルート以外に、Wi-SUN HANという新たな規格が現在策定中である。このWi-SUN HANにおけるアクティブスキャンの場合には、14チャネルのうちの1チャネルあたりの応答信号の受信を待っている応答待ち時間が5秒であると想定されている。そのため、14チャネルの全てを探索する必要がある最悪のケースにおいては、応答待ち時間の合計値は、5秒×14チャネル=70秒程度になることが予想される。
 したがって、親機がいくつかの子機を登録する必要がある場合には、子機の登録時間が非常に長くなってしまう。その結果、たとえば、ホームエリアネットワークの場合、各家庭等での親機および子機の施工業者またはユーザによる使用開始前の初期設定作業の効率が低下してしまうことが懸念されている。
 本発明は、このような従来技術の有する課題に鑑みてなされたものである。そして、本発明の目的は、一方の無線通信装置が他方の無線通信装置を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる無線通信装置、中継器、および無線通信用プログラムを提供することである。
 上記課題を解決するために、本発明の第1の態様に係る無線通信装置は、通信の相手方から応答要求信号を受信する受信処理部と、前記受信処理部が前記応答要求信号を受信した場合に、前記通信の相手方を登録するための処理を実行する接続処理部と、前記接続処理部からの指示に基づいて、ある1つの通信チャネルを利用して前記応答要求信号に対応する応答信号を前記通信の相手方へ送信する送信処理部と、を備え、前記接続処理部は、前記ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出された場合には、前記ある1つの通信チャネルが前記他の無線通信装置によって利用されなくなったことが検出された後、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機してから、前記応答信号を前記送信処理部に送信させ、前記通信の相手方を登録する場合の前記バックオフ時間の上限値は、前記通信の相手方の登録のための処理が完了した後に前記通信の相手方と通常の通信をする場合の前記バックオフ時間の上限値よりも小さい。
 本発明の第2の態様に係る無線通信用プログラムは、コンピュータを、通信の相手方から応答要求信号を受信する受信処理部、前記受信処理部が前記応答要求信号を受信した場合に、前記通信の相手方を登録するための処理を実行する接続処理部、前記接続処理部からの指示に基づいて、ある1つの通信チャネルを利用して前記応答要求信号に対応する応答信号を前記通信の相手方へ送信する送信処理部、として動作させるための無線通信用プログラムであって、前記接続処理部は、前記ある1つの通信チャネルが他の無線通信装置によって利用されている場合には、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機した後、前記応答信号を前記送信処理部に送信させ、前記通信の相手方を登録する場合の前記バックオフ時間の上限値は、前記通信の相手方の登録のための処理が完了した後に前記通信の相手方と通常の通信をする場合の前記バックオフ時間の上限値よりも小さい。
 本発明の第3の態様に係る中継器は、第1の無線通信装置と第2の無線通信装置とを含む通信システムにおいて、前記第1の無線通信装置と前記第2の無線通信装置との間の通信情報を中継する中継器であって、前記第1の無線通信装置を登録する場合かそれとも前記第2の無線通信装置を登録する場合かを判定する判定部をさらに備え、前記判定部が前記第2の無線通信装置を登録すべきと判定した場合に、第1の態様の無線通信装置の登録のための機能を発揮する。
 本発明によれば、一方の無線通信装置が他方の無線通信装置を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる。
本発明の実施の形態の通信システムの概略構成を説明するための図である。 本発明の実施の形態の通信システムの通信の上位層と下位層とを説明するための図である。 本発明の実施の形態の通信システムにおけるアクティブスキャンを説明するための図である。 本発明の実施の形態の通信システムにおける無線通信装置(子機)の構成を説明するための図である。 本発明の実施の形態の通信システムにおけるアクティブスキャンのスキャン時間係数とスキャン時間との関係を説明するための図である。 本発明の通信システムにおける無線通信装置(子機)が実行する登録のための制御処理を説明するためのフローチャートである。 本発明の実施の形態の通信システムにおける無線通信装置(子機)が実行する通常の通信時の制御処理を説明するためのフローチャートである。 本発明の通信システムにおける無線通信装置(親機)の構成を説明するための図である。 本発明の実施の形態の通信システムにおける無線通信装置(親機)が実行する登録のための制御処理を説明するためのフローチャートである。 本発明の実施の形態の通信システムにおける無線通信装置(親機)が実行する通常の通信時の制御処理を説明するためのフローチャートである。 本発明の実施の形態の通信システムにおける無線通信装置(中継器)の構成を説明するための図である。 本発明の実施の形態の通信システムにおける無線通信装置(中継器)が実行する登録のための制御処理を説明するためのフローチャートである。
 図1を用いて、実施の形態の通信システムの概略構成を説明する。
 図1に示されるように、実施の形態の通信システムは、それぞれが無線通信装置として機能する親機10、中継器20、および複数の子機30を備えている。親機10は、たとえば、HEMS(Home Energy Management System)の管理装置である。子機30は、HEMSにおける家庭用の機器である。具体的には、子機30は、たとえば、照明機器、空気調和機、テレビ、洗濯機、冷蔵庫、太陽電池パネル、または電力メータ等である。中継器20は、無線通信システムにおいて、親機10と子機30との間で、電波を中継することにより、通信情報を中継する機器である。
 本実施の形態の通信システムにおいては、親機10と子機30とが直接通信するルートと、親機10と子機30とが中継器20を経由して間接的に通信するルートとがある。中継器20は、親機10と子機30との間の距離が大きく、親機10および子機30の少なくとも一方が発した電波が他方に届かない場合に使用される。中継器20は、親機10と電波による無線通信を実行でき、かつ、子機30と電波による無線通信を実行できる位置に設置される。
 なお、図1には示されていないが、親機10と子機30との間の距離、ならびに、親機10および子機30のそれぞれからの電波到達距離に応じて、複数の中継器20が親機10と子機30との間に直列的に信号を順次伝送する場合もある。
 図2を用いて、実施の形態の通信システムの通信の上位層と下位層とを説明する。
 まず、下位層でのアクティブスキャン、すなわち、子機30による親機10または中継器20の探索を説明する。
 子機30に設けられた登録釦が押下されると、子機30は子機30から電波が届く範囲内の位置に設置されている親機10を探索するために、親機10から応答信号を受信するまで、周波数を順次変更しながら、周辺環境へ応答要求信号を送信する。子機30は、前述の応答要求信号を受信した親機10からその応答要求信号に対応する応答信号を受信し、親機10の認証が完了すると、親機10を通信の相手方として登録する。
 ただし、図2には示されていないが、子機30から電波が届く距離の範囲内に設置されている機器が中継器20のみである場合がある。この場合には、子機30は、応答要求信号を受信した中継器20からその応答要求信号に対応する応答信号を受信し、中継器20の認証が完了すると、中継器20を通信の相手方として登録する。
 一方、親機10に設けられた登録釦が押下されると、親機10は、親機10から電波が届く範囲内の位置に設置されている子機30を登録するために、子機30から応答要求信号を受信するまで所定期間(登録タイムアウト)だけ待機する。親機10は、この待機している期間に、子機30から応答要求信号を受信し、子機30の認証が完了すると、子機30を通信の相手方として登録する。また、親機10は、子機30から応答要求信号を受信すると、その応答要求信号に対応する応答信号を子機30へ返信する。
 ただし、図2には示されていないが、親機10から電波が届く範囲内の位置に、子機30ではなく中継器20が設置されている場合がある。この場合には、親機10は、前述の待機している期間(登録タイムアウト)内に、中継器20から応答要求信号を受信し、中継器20の認証を完了すると、中継器20を通信の相手方として登録する。また、親機10は、中継器20から応答要求信号を受信すると、その応答要求信号に対応する応答信号を中継器20へ返信する。
 上記から分かるように、中継器20は、通信の相手方の登録のための機能としては、親機10の機能と子機30の機能との双方を有している。中継器20は、通信の相手方の探索および通信の相手方の登録に関しては、親機10との関係では子機30の機能と同一の機能を発揮する一方で、子機30との関係では親機10の機能と同一の機能を発揮する。
 次に、上位層における、親機10と子機30との間での認証および鍵の配布、親機10と中継器20との間での認証および鍵の配布、中継器20と子機30との間での認証および鍵の配布、または中継器20同士の間での認証および鍵の配布が行われる。
 たとえば、子機30と親機10との間での互いの登録のための処理においては、子機30は、複数のチャネルのうちのいずれか1つのチャネルを利用して、親機10から応答信号を受信する。この場合には、子機30は、親機10へPCI(Peripheral Component Interconnect)信号を送信する。それにより、親機10および子機30は、互いに、PANA(Protocol for carrying Authentication for Network Access)認証を行った後、通信の相手方の登録を完了する。
 図3を用いて、実施の形態の通信システムにおけるアクティブスキャンを説明する。
 図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)は、予め定められた値である。
 図3に示されるように、通信システムの施工業者またはユーザが、親機10の登録釦を押し下げる。それにより、親機10は、14チャネルのうちのいずれか1つのチャネルを利用して、子機30から応答要求信号を受信した場合には、子機30へ応答信号を返信する。図3の例では、第14番目のチャネルで親機10が子機30へ応答信号を返信している。
 子機30は、親機10からの応答信号の受信を待っているための予め定められた応答待ち時間内であれば、親機10が送信した応答信号を受信できるが、この応答待ち時間を超えると、親機10が応答信号を送信しても、その応答信号を受信できない。
 応答要求信号を受信した後の親機10が応答信号を送信し終えるまでの時間は、他の無線通信装置が子機30と通信している場合には、その通信の終了後の待ち時間であるバックオフ時間に大きく依存している。バックオフ時間は、予め定められた上限値以下の時間からランダムに選択された時間である。親機10のバックオフ時間が長い場合、子機30の応答待ち時間を超えても、親機10が応答信号を送信できない場合がある。この場合、子機30は、応答信号を受信できない。したがって、親機10と子機30との互いの認証および登録を実行することができない。このことから、バックオフ時間の上限値は、信号同士の衝突を防止できる限り、より小さいことが好ましいと言える。
 図4を用いて、実施の形態の通信システムにおける無線通信装置としての子機30の構成を説明する。
 無線通信装置としての子機30は、アンテナ31、受信処理部32、接続処理部33、通信パラメータ管理部34、アプリケーション制御部35、登録情報記憶部36、送信処理部37、および報知部38を備えている。
 アンテナ31は電波を受信し、受信処理部32へ伝達する。受信処理部32は、受信した情報を接続処理部33へ通知する。本実施の形態においては、受信処理部32は、アンテナ31が受信した応答信号(Enhanced Beacon)を接続処理部33へ通知する。
 接続処理部33は、電波の周波数が異なる複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、通信の相手方を探索するための処理を実行する。接続処理部33は、受信処理部32が応答待ち時間内に親機10から応答信号を受信すると、アプリケーション制御部35へ応答信号を受信したことを通知する。それにより、アプリケーション制御部35は、応答信号を送信した親機10の登録のためのPANA認証を開始する。アプリケーション制御部35は、親機10のPANA認証が成功した場合には、親機10に関する情報を登録情報記憶部36に記憶させる。
 アプリケーション制御部35は、子機30の製品としての機能を発揮するための制御を実行する。接続処理部33は、アプリケーション制御部35から指令信号を受信して親機10と通信するための制御を実行する。アプリケーション制御部35は、親機10の登録に関する情報を報知部38に報知させる。
 無線通信装置としての子機30は、コンピュータを備えている。このコンピュータが、無線通信用プロクラムを実行することによって、上記した接続処理部33、送信処理部37、および受信処理部32等、の機能が実現される。コンピュータは、プログラムに従って動作するプロセッサを主なハードウェア構成として備える。プロセッサは、プログラムを実行することによって機能を実現することができれば、その種類は問わない。プロセッサは、半導体集積回路(IC)、又はLSI(large scale integration)を含む一つ又は複数の電子回路で構成される。複数の電子回路は、一つのチップに集積されてもよいし、複数のチップに設けられてもよい。プログラムは、コンピュータが読み取り可能なROM、光ディスク、ハードディスクドライブなどの非一時的記録媒体に記録される。プログラムは、子機30が備える記憶媒体に予め格納されていてもよいし、インターネット上のクラウド等のサーバから子機30へインストールされてもよく、また、スティックメモリ等の子機30の外部の記録媒体から子機30へインストールされてもよい。
 送信処理部37は、接続処理部33からの指令信号を受けてアンテナ31から応答要求信号(Enhanced Beacon Request)を送信する。つまり、送信処理部37は、接続処理部33からの指示に基づいて、通信の相手方へ応答要求信号を送信する。
 報知部38は、本実施の形態においては、画像を表示する表示部、たとえば、液晶ディスプレイである。ただし、報知部38は、音声を発生するものであってもよい。報知部38によって報知される情報は、たとえば、登録の失敗または成功等である。
 無線通信装置としての子機30は、通信の相手方の登録のための制御処理において、無線通信用プロクラムに基づいて、コンピュータを、上記した接続処理部33、送信処理部37、および受信処理部32等、として動作させる。無線通信用プログラムは、インターネット上のクラウド等のサーバから子機30へインストールされてもよいが、スティックメモリ等の子機30の外部の記録媒体から子機30へインストールされてもよい。
 図5を用いて、実施の形態の通信システムにおけるアクティブスキャンのスキャン時間係数(Scan Time Factor)Yと1チャネルあたりのスキャン時間(Scan Duration)との関係を説明する。
 図5から分かるように、スキャン時間係数Yが増加するにしたがって、スキャン時間が増加している。たとえば、スキャン時間係数Yが5である場合、スキャン時間は、1チャネル当たり633.6msである。図5の例では、子機30の通信パラメータ管理部34には、15種類のスキャン時間係数Yにそれぞれ対応する15種類のスキャン時間が記憶されている。
 図5は、スキャン時間係数Yとスキャン時間との関係を説明するためだけに、現在明らかとなっているWi-SUN Bルートのスキャン時間係数Yとスキャン時間との関係を例示している。一方、Wi-SUN HANの場合には、スキャン時間係数Yが5である場合、スキャン時間が5秒であると想定されている。また、Wi-SUN HANのスキャン時間は、いずれのスキャン時間係数Yの場合においても、Wi-SUN Bルートのスキャン時間よりもかなり長いと想定されている。
 図6を用いて、実施の形態の通信システムにおける無線通信装置としての子機30が実行する制御処理を説明する。
 図6に示されるように、子機30の登録釦が押し下げられると、ステップS301において、接続処理部33が通信パラメータ管理部34に記憶されている複数の通信チャネルからXチャネルを選択する。その後、ステップS302において、接続処理部33は、通信パラメータ管理部34のスキャン時間係数Yを初期値、たとえば、「1」に設定する。これにより、登録のための制御処理においては、図5におけるスキャン時間係数Yの初期値に対応するスキャン時間だけ、子機30は親機10を探索する。このスキャン時間係数Yの初期値に対応するスキャン時間は、通常の通信のときに使用されるスキャン時間係数Yに対応するスキャン時間よりも短い。
 本実施の形態においては、子機30が親機10からの応答信号を14チャネルのいずれにおいてもスキャン時間内に受信できない場合、スキャン時間係数Yは、「1」から1つずつ推奨値、たとえば、「5」まで増加される。しかしながら、スキャン時間係数Yは、「1」以外の初期値から1つずつ推奨値まで増加されてもよい。また、スキャン時間係数Yは、初期値から一気に推奨値まで増加されてもよい。
 また、子機30の登録釦が押し下げられると、接続処理部33は、受信処理部32を応答要求信号に対応する応答信号の受信のために待機している状態に設定されている。この子機30の受信処理部32が応答信号の受信のために待機している時間以外の時間においては、子機30の受信処理部32は、応答信号を受信することができない。この子機30の受信処理部32が応答信号の受信のために待機している時間が、前述のように、子機30による親機10のスキャン時間である。
 ステップS303において、接続処理部33は、送信処理部37にXチャネルを利用して応答要求信号の送信のための処理を実行させる。それにより、アンテナ31から応答要求信号が送信される。アンテナ31から応答要求信号が送信されると、ステップS304において、接続処理部33は、親機10によって送信された応答信号を受信処理部32が受信したか否かを判定する。
 ステップS304において、受信処理部32が応答信号を受信していれば、接続処理部33は、ステップS305において、親機10のPANA認証を開始する。その後、ステップS306において、接続処理部33は、PANA認証が成功したか否かを判定する。
 ステップS306において、PANA認証が成功していれば、それをアプリケーション制御部35に通知する。それにより、ステップS307において、アプリケーション制御部35は、登録情報記憶部36に親機10に関する情報を記憶させ、報知部38、たとえば、ディスプレイに親機10の登録が成功したことを表示させる。その後、ステップS313において、通信パラメータ管理部34に記憶されているスキャン時間係数Yが、通常の通信において用いられる推奨値「5」に設定される。したがって、通常の通信のときには、登録のための通信のときのスキャン時間よりも長いスキャン時間だけ、子機30はそれぞれのチャネルを利用して親機10をアクティブスキャンによって探索する。
 一方、ステップS306において、PANA認証が成功していなければ、ステップS312の処理が実行される。ステップS312の処理は、登録が失敗したときの処理であり、その処理は後述される。
 ステップS304において、受信処理部32が応答信号を受信していなければ、接続処理部33は、ステップS308において、通信チャネルを切り替える。具体的には、通信チャネルの番号が、チャネルXからチャネルX+1へ1チャネルだけ増加する。ステップS308が繰り返されるごとに、通信チャネルの番号が1ずつ増加する。
 次に、ステップS309において、接続処理部33は、全チャネルで親機10の探索(スキャン)が完了しているか否かを判定する。ステップS309において、全てのチャネルでスキャンが完了していないと判定されれば、ステップS303の処理が再び実行される。
 一方、ステップS309において、全てのチャネルで親機10の探索が完了していると判定される場合がある。この場合、接続処理部33は、現在のチャネルでは、通信の相手方を検出することができないとみなして、接続処理部33は、ステップS310において、通信パラメータ管理部34に記憶されているスキャン時間係数Yを1つ増加させる。それにより、前回の探索のスキャン時間よりも長いスキャン時間だけ、親機10の探索が実行される。
 つまり、スキャン時間係数Yは、「0」~「5」まで順次繰り上げられ、それぞれのスキャン時間係数Yに対応するスキャン時間だけ、子機30による親機10の探索が実行される。
 ステップ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の登録のための処理を繰り返させてもよい。
 その後、ステップS313において、スキャン時間係数Yが通常の通信に用いられる推奨値としての「5」に設定される。
 上記のことをまとめると、接続処理部33は、外部から入力された登録の開始の指示に基づいて通信の相手方を登録する場合の通信の相手方の探索においては、次の処理を実行する。
 ステップS304において、予め定められた登録用応答待ち時間が経過しても、受信処理部32が通信の相手方から応答信号を受信していない場合がある。この場合には、ステップS308において、接続処理部33は、登録のための通信の相手方の探索が開始された後に未だ利用されたことがない複数の通信チャネルのうちのいずれか1つの通信チャネルを利用する。それにより、接続処理部33は、登録用応答待ち時間が再び経過するまで、通信の相手方を探索するための処理を実行する。
 一方、ステップS304において、登録用応答待ち時間が経過するまでに、複数の通信チャネルのうちのいずれか1つの通信チャネルを利用して、受信処理部32が通信の相手方から応答信号を受信する場合がある。この場合には、ステップS306において、接続処理部33は、相手方の登録をするための処理を実行する。
 ステップS309において、複数の通信チャネルのいずれにおいても、登録用応答待ち時間が経過するまでに、受信処理部32が通信の相手方から応答信号を受信しない場合がある。この場合、つまり、ステップS309においてYESの場合、接続処理部33は、ステップS310において、登録用応答待ち時間よりも長い他の登録用応答待ち時間を用いて、通信の相手方の探索を実行する。これによれば、登録用応答待ち時間を徐々に増加させることができる。したがって、登録用応答待ち時間を徐々に長くしながら、アクティブスキャンの成功の可能性を徐々に高めることができる。
 ただし、この場合には、ステップS309においてYESの場合、接続処理部33は、登録用応答待ち時間を通常通信時応答待ち時間に変更して、通信の相手方の探索を再度実行してもよい。これによれば、登録用応答待ち時間を一気に通常通信時応答待ち時間までに増加させることにより、アクティブスキャンの成功の可能性を一気に高めることができる。
 図7は、実施の形態の通信システムにおける無線通信装置としての子機30が実行する通常の通信時の制御処理を説明するためのフローチャートである。本実施の形態において、通常の通信とは、本実施の形態においては、登録のための通信の後に実行される全ての通信を意味する。
 図7に示されるように、子機30の親機10の登録のための処理が終了すると、ステップS351において、接続処理部33が通信パラメータ管理部34に記憶された複数の通信チャネルからXチャネルを選択している状態を維持する。その後、ステップS352において、接続処理部33は、通信パラメータ管理部34のスキャン時間係数Yを推奨値である「5」に設定されている状態を維持する。この推奨値「5」に対応するスキャン時間は、登録のための処理のときに使用されるスキャン時間係数Yに対応するスキャン時間よりも長い。これにより、図5におけるスキャン時間係数Yの推奨値「5」に対応するスキャン時間だけ、子機30は親機10を探索する。
 なお、通常の通信の場合、子機30が親機10からの応答信号を14チャネルのいずれにおいてもスキャン時間内に受信できない場合、スキャン時間係数「5」は、変更されない。しかしながら、この場合も、スキャン時間係数「5」が変更され、5から1つずつ最大値まで増加されてもよい。また、スキャン時間係数は、推奨値「5」から一気に最大値まで増加されてもよい。
 また、通常の通信のときにおいても、子機30の接続処理部33は、受信処理部32を応答要求信号に対応する応答信号の受信のために待機している状態に設定している。この子機30の受信処理部32が応答信号の受信のために待機している時間以外の時間においては、子機30の受信処理部32は、応答信号を受信することができない。この子機30の受信処理部32が応答信号の受信のために待機している時間が、前述のように、子機30による親機10のスキャン時間である。
 ステップS353において、接続処理部33は、送信処理部37にXチャネルで応答要求信号の送信のための処理を実行させる。それにより、アンテナ31から応答要求信号が送信される。アンテナ31から応答要求信号が送信されると、ステップS354において、接続処理部33は、受信処理部32が応答信号を受信したか否かを判定する。
 ステップS354において、受信処理部32が応答信号を受信していれば、ステップS355において、接続処理部33は、親機10と通常の通信を実行する。子機30が親機10と通信可能な場合には、このステップS351からステップS355の処理は繰り返される。
 ステップS354において、受信処理部32が応答信号を受信していなければ、接続処理部33は、ステップS356において、通信チャネルを切り替える。具体的には、通信チャネルの番号が、チャネルXからチャネルX+1へ1チャネルだけ増加する。ステップS356が繰り返されるごとに、通信チャネルの番号が1ずつ増加する。
 次に、ステップS357において、接続処理部33は、全チャネルで親機10の探索(スキャン)が完了しているか否かを判定する。ステップS357において、全てのチャネルでスキャンが完了していないと判定されれば、ステップS353の処理が再び実行される。
 一方、ステップS357において、全てのチャネルで親機10の探索が完了していると判定される場合がある。この場合には、ステップS358において、接続処理部33は、通信が失敗したことが決定し、その旨をアプリケーション制御部35へ通知する。それにより、アプリケーション制御部35は、報知部38、たとえば、表示部に通信が失敗したことを表示させる。この場合、スキャン時間係数Yは、推奨値としての「5」に維持される。
 上記のように、接続処理部33は、登録のための処理が終了した後に通信の相手方と通常の通信をする場合の通信の相手方の探索においては、次の処理を実行する。
 予め定められた通常通信時応答待ち時間が経過しても、受信処理部32が通信の相手方から応答信号を受信していない場合がある。この場合には、接続処理部33は、通常の通信をするための通信の相手方の探索が開始された後に未だ利用されたことがない複数の通信チャネルのうちのいずれか1つの通信チャネルを利用する。それにより、接続処理部33は、通常通信時応答待ち時間が再び経過するまで、通信の相手方を探索するための処理を実行する。
 一方、通常通信時応答待ち時間が経過するまでに、いずれか1つの通信チャネルを利用して、受信処理部32が通信の相手方から応答信号を受信する場合がある。この場合には、接続処理部33は、通信の相手方と通常の通信をするための処理を実行する。
 図6に示された登録のための制御処理と図7に示された通常の通信のための制御処理とを比較すると分かるように、登録用応答待ち時間は、通常通信時応答待ち時間よりも短い。したがって、本実施の形態の子機30によれば、アクティブスキャンにより通信の相手方を探索して登録する場合に、登録に要する時間を短縮することができる可能性を高めることができる。
 図8を用いて、実施の形態の通信システムにおける無線通信装置としての親機10の構成を説明する。
 無線通信装置としての親機10は、アンテナ11、受信処理部12、接続処理部13、通信パラメータ管理部14、アプリケーション制御部15、登録情報記憶部16、送信処理部17、および報知部18を備えている。
 アンテナ11は電波を受信し、受信処理部12へ伝達する。受信処理部12は、受信した情報を接続処理部13へ通知する。本実施の形態においては、受信処理部12は、アンテナ11が通信の相手方から応答要求信号(Enhanced Beacon Request)を受信した場合に、それを接続処理部13へ通知する受信処理部12を備えている。
 接続処理部13は、アプリケーション制御部15から指令信号を受信して子機30と通信するための制御を実行する。接続処理部13は、受信処理部12が応答要求信号を受信した場合に、通信の相手方を登録するための処理を実行する。
 アプリケーション制御部15は、親機10の製品としての機能を発揮するための制御を実行する。アプリケーション制御部15は、情報を報知部18に報知させる。アプリケーション制御部15は、子機30の登録に関する情報等を登録情報記憶部16に記憶させる。
 接続処理部13は、ある1つの通信チャネルを利用して、受信処理部12が応答要求信号を受信した場合に、通信の相手方を登録するための処理を実行する。つまり、接続処理部13は、受信処理部12が子機30から応答要求信号を受信すると、アプリケーション制御部15へ応答要求信号を受信したことを通知する。それにより、アプリケーション制御部15は、接続処理部13を通じて送信処理部17に応答信号を送信する処理を実行させる。その結果、アンテナ11から応答信号が送信される。また、アプリケーション制御部15は、応答要求信号を送信した子機30の登録のためのPANA認証を開始する。アプリケーション制御部15は、子機30のPANA認証が成功した場合には、登録情報記憶部16に子機30を記憶する。
 通信パラメータ管理部14は、複数のバックオフ時間の上限値を記憶する。なお、Wi-SUN HANにおいては、バックオフ時間の上限値の最大値(MacMaxBE(Back-off Exponent))とバックオフ時間の上限値の最小値(MacMinBE)とは、同一になっている。
 送信処理部17は、接続処理部13からの指示に基づいて、アンテナ11から応答要求信号に対応する応答信号(Enhanced Beacon)を通信の相手方へ送信する。本実施の形態においては、送信処理部17は、接続処理部13からの指示に基づいて、ある1つの通信チャネルを利用して応答要求信号に対応する応答信号を通信の相手方へ送信する。
 報知部18は、本実施の形態においては、画像を表示する表示部、たとえば、液晶ディスプレイである。ただし、報知部18は、音声を発生するものであってもよい。報知部18によって報知される情報は、たとえば、登録の失敗または成功等である。
 無線通信装置としての親機10は、コンピュータを備えている。このコンピュータが、無線通信用プロクラムを実行することによって、上記した接続処理部13、送信処理部17、および受信処理部12等の機能が実現される。コンピュータは、プログラムに従って動作するプロセッサを主なハードウェア構成として備える。プロセッサは、プログラムを実行することによって機能を実現することができれば、その種類は問わない。プロセッサは、半導体集積回路(IC)、又はLSI(large scale integration)を含む一つ又は複数の電子回路で構成される。複数の電子回路は、一つのチップに集積されてもよいし、複数のチップに設けられてもよい。プログラムは、コンピュータが読み取り可能なROM、光ディスク、ハードディスクドライブなどの非一時的記録媒体に記録される。プログラムは、親機10が備える記憶媒体に予め格納されていてもよいし、インターネット上のクラウド等のサーバから親機10へインストールされてもよく、また、スティックメモリ等の親機10の外部の記録媒体から親機10へインストールされてもよい。
 図9を用いて、実施の形態の通信システムにおける無線通信装置として親機10が実行する制御処理を説明する。
 図9に示されるように、親機10の登録釦が押し下げられると、ステップS101において、接続処理部13が通信パラメータ管理部14の複数の通信チャネルからXチャネルを選択する。その後、ステップS102において、接続処理部13は、通信パラメータ管理部14のバックオフ時間を初期値「3」に設定する。バックオフ時間の初期値「3」は、通常の通信のときに利用されるバックオフ時間より短いバックオフ時間に対応する値である。そのため、親機10は、ある信号を送信するときに、通常の通信のときのバックオフ時間よりも短いバックオフ時間だけ待機する。
 また、親機10の登録釦が押し下げられると、接続処理部13は、受信処理部12を応答要求信号の受信のために待機している状態に設定している。この親機10の受信処理部12が応答要求信号の受信のために待機している時間(登録タイムアウト)以外の時間においては、親機10の受信処理部12は、応答要求信号を受信することができない。この親機10の受信処理部12が応答要求信号の受信のために待機している時間(登録タイムアウト)は、予め定められている。
 ステップS103において、接続処理部13は、受信処理部12にXチャネルで応答要求信号の受信を開始させる。つまり、接続処理部13は、受信処理部12を応答要求信号の受信待ちの状態にさせる。その後、ステップS104において、接続処理部13は、受信処理部12が子機30によって送信された応答要求信号を受信したか否かを判定する。
 ステップS104において、接続処理部13は、受信処理部12が応答要求信号を受信したと判定すれば、ステップS105において、応答要求信号に対応する応答信号を送信する。これにより、子機30は、応答信号を受信できた場合には、PANA認証を開始している。また、この応答要求信号の受信に基づいて、親機10は、PANA認証を開始している。
 親機10の接続処理部13は、ステップS106において、PANA認証が成功したか否かを判定する。接続処理部13は、ステップS106において、PANA認証が成功したと判定されていれば、アプリケーション制御部15にその旨を通知する。それにより、ステップS107において、アプリケーション制御部15は、登録情報記憶部16に応答要求信号を送信してきた子機30に関する情報を記憶させ、登録が成功したことを報知部18、たとえば、表示部に表示させる。
 一方、ステップS104において、接続処理部13は、登録タイムアウト内において、受信処理部12によって応答要求信号が受信されたと判定しなければ、ステップS108において、子機30の登録が失敗したものとみなす。それにより、接続処理部13は、アプリケーション制御部15に登録が失敗したことを通知する。その結果、アプリケーション制御部15は、報知部18に登録が失敗したことを表示させる。その後、ステップS109において、接続処理部13は、バックオフ時間の上限値を「8」に設定する。
 図10は、実施の形態の通信システムにおける無線通信装置としての親機10が実行する通常の通信時の制御処理を説明するためのフローチャートである。
 登録のための制御処理が終了すると、ステップS151において、親機10の接続処理部13が通信パラメータ管理部14の通信チャネルをXチャネルに設定している状態を維持する。その後、ステップS152において、接続処理部13は、通信パラメータ管理部14のバックオフ時間を推奨値である「8」に設定している状態を維持する。このバックオフ時間の推奨値「8」は、通常の登録のための制御処理のときに使用されるバックオフ時間より長いバックオフ時間に対応する値である。これにより、親機10は、他の無線通信装置がXチャネルを使用している場合に、他の無線通信装置がXチャネルを使用しなくなった後、登録のための制御処理のときのバックオフ時間よりも長いバックオフ時間だけ待機する。
 また、親機10の通常の通信のときにも、接続処理部13は、登録タイムアウトの期間だけ、受信処理部12を応答要求信号の受信のために待機している状態に設定している。この場合においても、親機10の受信処理部12が応答要求信号の受信のために待機している時間(登録タイムアウト)以外の時間においては、親機10の受信処理部12は、応答要求信号を受信することができない。
 ステップS153において、接続処理部13は、受信処理部12にXチャネルを利用して応答要求信号の受信を開始させる。その後、ステップS154において、接続処理部13は、受信処理部12が子機30によって送信された応答要求信号を受信したか否かを判定する。
 ステップS154において、接続処理部13は、受信処理部12が応答要求信号を受信したと判定すれば、ステップS155において、応答要求信号に対応する応答信号を送信する。その後、ステップS156において、子機30との通信を実行する。一方、ステップS154において、接続処理部13は、受信処理部12によって応答要求信号が受信されたと判定しなければ、ステップS157において、通信が失敗したものとみなす。それにより、接続処理部13はアプリケーション制御部15に通信が失敗したことを通知する。その結果、アプリケーション制御部15は、報知部18に通信が失敗したことを表示させる。
 上記から分かるように、ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出される場合がある。この場合には、親機10の接続処理部13は、ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出されなくなった後、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機する。その後、親機10の接続処理部13は、応答信号を送信処理部17に送信させる。通信の相手方を登録する場合のバックオフ時間の上限値は、通信の相手方の登録のための処理が完了した後に通信の相手方と通常の通信をする場合のバックオフ時間の上限値よりも小さい。これによれば、子機30が親機10を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる。なお、ある1つの通信チャネルが他の無線通信装置によって利用されていることは、親機10自身が他の無線通信装置が送信した電波を受信していることによって検出される。
 また、上記から分かるように、登録タイムアウト内に登録のための処理を完了することができない場合がある。この場合には、接続処理部13は、バックオフ時間の上限値を、通信の相手方を登録する場合のバックオフ時間の上限値から通信の相手方と通常の通信をする場合のバックオフ時間の上限値へ変更する。これによれば、登録のための処理のバックオフ時間の上限値が使用され続けることによる問題の発生を防止することができる。
 図11を用いて、実施の形態の通信システムにおける無線通信装置としての中継器20の構成を説明する。
 中継器20は、登録のための制御処理に関しては、親機10と子機30との双方の構成および機能を有している。中継器20のアプリケーション制御部25は、親機10のアプリケーション制御部15と子機30のアプリケーション制御部35との双方の構成を有し、親機10のアプリケーション制御部15と子機30のアプリケーション制御部35との双方の機能を発揮する。中継器20の接続処理部23は、親機10の接続処理部13と子機30の接続処理部33との双方の構成を有し、親機10の接続処理部13と子機30の接続処理部33との双方の機能を発揮する。
 中継器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と同様に、登録の成功および失敗のいずれかを表示する。
 図12を用いて、実施の形態の通信システムにおける無線通信装置としての中継器20が実行する登録開始のための制御処理を説明する。
 図12に示されるように、ステップS201において、中継器20は、通信の相手方を登録するときには、まず、接続処理部23が親機10および子機30のうちのいずれを登録すべき段階であるのかを判定する。ステップS201において、子機30を登録すべき段階であると判断されると、接続処理部23は、ステップS202において、子機30の登録するための処理を実行する。一方、ステップS201において、親機10を登録すべき段階であると判断されると、接続処理部23は、ステップS203において、親機10の登録するための処理を実行する。
 本実施の形態においては、先に親機10を登録し、その後、子機30を登録するものとする。そのため、最初のステップS201の判定処理においては、親機10を登録すべきと判定され、その後のステップS201の判定処理においては、子機30を登録すべきと判定される。ただし、親機10および子機30のうちいずれを登録すべきかの判定手法およびそれらの登録の順序は、いかなるものであってもよい。
 中継器20は、ステップS203において親機10を登録するときには、子機として機能するため、図6および図7に記載された子機30が実行する制御処理と同様の処理を実行する。一方、中継器20は、ステップS202において子機30を登録するときには、親機として機能するため、図9および図10に記載の親機10が実行する制御処理と同様の処理を実行する。
 図12から分かるように、実施の形態の中継器20は、第1の無線通信装置としての子機30と第2の無線通信装置としての親機10とを含む通信システムにおいて、子機30と親機10との間の通信情報を中継する。中継器20は、子機30を登録する場合かそれとも親機10を登録する場合かを判定する判定部(ステップS201)を備えている。それにより、中継器20は、判定部が親機10を登録すべきと判定した場合に、上記した子機30の登録のための機能を発揮するか、または、判定部が子機30を登録すべきと判定した場合に、上記した親機10の登録のための機能を発揮する。これによれば、中継器20の制御の混乱を防止することができる。
 以下、実施の形態の無線通信装置、無線通信用プログラム、および中継器の特徴的構成およびそれにより得られる効果を説明する。
 (1) 無線通信装置としての親機10は、受信処理部12、接続処理部13、送信処理部17、および通信パラメータ管理部14を備えている。受信処理部12は、通信の相手方から応答要求信号を受信する。接続処理部13は、受信処理部12が応答要求信号を受信した場合に、通信の相手方を登録するための処理を実行する。送信処理部17は、接続処理部13からの指示に基づいて、ある1つの通信チャネルを利用して応答要求信号に対応する応答信号を通信の相手方へ送信する。ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出される場合がある。この場合には、ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出されなくなる。その後、接続処理部13は、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機してから、応答信号を送信処理部17に送信させる。通信の相手方を登録する場合のバックオフ時間の上限値は、通信の相手方の登録のための処理が完了した後に通信の相手方と通常の通信をする場合のバックオフ時間の上限値よりも小さい。
 上記の構成によれば、一方の無線通信装置が他方の無線通信装置を探索して登録する通信システムにおいて、互いの登録に要する時間を短縮する可能性を高めることができる。
 (2) 通信の相手方の登録のための処理を実行可能な制限時間としての登録タイムアウト内に登録のための処理を完了することができない場合がある。この場合には、接続処理部13は、バックオフ時間の上限値を、通信の相手方を登録する場合のバックオフ時間の上限値から通信の相手方と通常の通信をする場合のバックオフ時間の上限値へ変更してもよい。
 これによれば、登録のための処理のバックオフ時間が使用され続けることによる問題の発生を防止することができる。
 (3) 実施の形態の無線通信用プログラムは、コンピュータを、上記した無線通信装置としての子機30の接続処理部33、送信処理部37、および受信処理部32、として動作させるためのものである。
 (4) 中継器20は、第1の無線通信装置としての子機30と第2の無線通信装置としての親機10とを含む通信システムにおいて、子機30と親機10との間の通信情報を中継する。中継器20は、子機30を登録する場合かそれとも親機10を登録する場合かを判定する判定部(ステップS201)を備えている。判定部が子機30を登録すべきと判定した場合に、親機10の登録のための機能を発揮する。これによれば、中継器20の制御の混乱を防止することができる。
 本出願は、2017年3月29日に出願された日本出願の特願2017-065132号に基づく優先権を主張し、当該日本出願に記載された全ての記載内容を参照によって援用するものである。
 10 親機(無線通信装置)
 20 中継器(無線通信装置)
 30 子機(無線通信装置)
 12 受信処理部(親機)
 13 接続処理部(親機)
 17 送信処理部(親機)
 S201 判定部

Claims (4)

  1.  通信の相手方から応答要求信号を受信する受信処理部と、
     前記受信処理部が前記応答要求信号を受信した場合に、前記通信の相手方を登録するための処理を実行する接続処理部と、
     前記接続処理部からの指示に基づいて、ある1つの通信チャネルを利用して前記応答要求信号に対応する応答信号を前記通信の相手方へ送信する送信処理部と、を備え、
     前記接続処理部は、前記ある1つの通信チャネルが他の無線通信装置によって利用されていることが検出された場合には、前記ある1つの通信チャネルが前記他の無線通信装置によって利用されなくなったことが検出された後、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機してから、前記応答信号を前記送信処理部に送信させ、
     前記通信の相手方を登録する場合の前記バックオフ時間の上限値は、前記通信の相手方の登録のための処理が完了した後に前記通信の相手方と通常の通信をする場合の前記バックオフ時間の上限値よりも小さい、無線通信装置。
  2.  前記接続処理部は、前記通信の相手方の前記登録のための処理を実行可能な制限時間としての登録タイムアウト内に前記登録のための処理を完了することができなかった場合には、前記バックオフ時間の上限値を、前記通信の相手方を登録する場合の前記バックオフ時間の上限値から前記通信の相手方と通常の通信をする場合の前記バックオフ時間の上限値へ変更する、請求項1に記載の無線通信装置。
  3.  コンピュータを、
     通信の相手方から応答要求信号を受信する受信処理部、
     前記受信処理部が前記応答要求信号を受信した場合に、前記通信の相手方を登録するための処理を実行する接続処理部、
     前記接続処理部からの指示に基づいて、ある1つの通信チャネルを利用して前記応答要求信号に対応する応答信号を前記通信の相手方へ送信する送信処理部、として動作させるための無線通信用プログラムであって、
     前記接続処理部は、前記ある1つの通信チャネルが他の無線通信装置によって利用されている場合には、バックオフ時間の上限値以下の時間からランダムに選択されたバックオフ時間だけ待機した後、前記応答信号を前記送信処理部に送信させ、
     前記通信の相手方を登録する場合の前記バックオフ時間の上限値は、前記通信の相手方の登録のための処理が完了した後に前記通信の相手方と通常の通信をする場合の前記バックオフ時間の上限値よりも小さい、無線通信用プログラム。
  4.  第1の無線通信装置と第2の無線通信装置とを含む通信システムにおいて、前記第1の無線通信装置と前記第2の無線通信装置との間の通信情報を中継する中継器であって、
     前記第1の無線通信装置を登録する場合かそれとも前記第2の無線通信装置を登録する場合かを判定する判定部をさらに備え、
     前記判定部が前記第2の無線通信装置を登録すべきと判定した場合に、請求項1または2に記載の無線通信装置の登録のための機能を発揮する、中継器。
PCT/JP2018/011018 2017-03-29 2018-03-20 無線通信装置、無線通信用プログラム、および中継器 WO2018180762A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017-065132 2017-03-29
JP2017065132A JP2018170580A (ja) 2017-03-29 2017-03-29 無線通信装置、無線通信用プログラム、および中継器

Publications (1)

Publication Number Publication Date
WO2018180762A1 true WO2018180762A1 (ja) 2018-10-04

Family

ID=63675880

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/011018 WO2018180762A1 (ja) 2017-03-29 2018-03-20 無線通信装置、無線通信用プログラム、および中継器

Country Status (2)

Country Link
JP (1) JP2018170580A (ja)
WO (1) WO2018180762A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565351A (zh) * 2020-11-02 2021-03-26 珠海中慧微电子有限公司 一种基于WiSUN协议的移动抄表方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253607A (ja) * 2008-04-04 2009-10-29 Canon Inc 通信装置、通信装置の通信方法、プログラム、記憶媒体
JP2010500817A (ja) * 2006-08-08 2010-01-07 マーベル ワールド トレード リミテッド アドホック簡易構成
JP2010081566A (ja) * 2008-08-29 2010-04-08 Canon Inc 通信装置、通信方法、コンピュータプログラム
WO2011007567A1 (ja) * 2009-07-15 2011-01-20 パナソニック株式会社 無線通信装置、無線通信システム、および無線通信方法、並びにこの無線通信方法を実行させるプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010500817A (ja) * 2006-08-08 2010-01-07 マーベル ワールド トレード リミテッド アドホック簡易構成
JP2009253607A (ja) * 2008-04-04 2009-10-29 Canon Inc 通信装置、通信装置の通信方法、プログラム、記憶媒体
JP2010081566A (ja) * 2008-08-29 2010-04-08 Canon Inc 通信装置、通信方法、コンピュータプログラム
WO2011007567A1 (ja) * 2009-07-15 2011-01-20 パナソニック株式会社 無線通信装置、無線通信システム、および無線通信方法、並びにこの無線通信方法を実行させるプログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565351A (zh) * 2020-11-02 2021-03-26 珠海中慧微电子有限公司 一种基于WiSUN协议的移动抄表方法
CN112565351B (zh) * 2020-11-02 2023-04-18 珠海中慧微电子有限公司 一种基于WiSUN协议的移动抄表方法

Also Published As

Publication number Publication date
JP2018170580A (ja) 2018-11-01

Similar Documents

Publication Publication Date Title
JP6784306B2 (ja) 通信装置および通信方法
WO2021027926A1 (zh) 中继重选方法、设备及介质
WO2019137276A1 (zh) 通信业务过程冲突的处理方法及终端
US20100330910A1 (en) Method for transmitting and receiving data using e-field in portable terminal and apparatus thereof
JP7477589B2 (ja) ホットスポット接続を確立するための方法および端末デバイス
JP5526069B2 (ja) 無線通信端末
CN105491135B (zh) 建立数据连接的方法及装置
US20200351860A1 (en) Beam Failure Recovery Method And Terminal
CN109495886A (zh) 一种数据传输的方法和设备
CN104581993A (zh) 无线连接建立的方法、数据传输的方法以及终端
KR20230138009A (ko) 통신 경로의 전환 방법, 장치 및 단말
WO2018180762A1 (ja) 無線通信装置、無線通信用プログラム、および中継器
WO2018180760A1 (ja) 無線通信装置、無線通信用プログラム、および中継器
WO2019192520A1 (zh) 测量方法、终端及网络侧设备
JP2011097292A (ja) システムidの設定システムおよび設定方法
JP6439186B2 (ja) 端末装置、通信方法およびプログラム
JP4705652B2 (ja) 無線端末及び無線通信方法
US9253776B2 (en) Adaptive transition of user equipment
JP5824097B2 (ja) 通信装置およびサービス管理システム
JP5105211B2 (ja) 無線lanシステム
KR20210060069A (ko) 듀얼 커넥티비티를 지원하는 전자 장치 및 그 동작 방법
CN115529608B (zh) 成功切换报告shr的生成方法、装置、终端及介质
RU2791284C1 (ru) Способ повторного выбора реле, устройство и носитель
JP2011019134A (ja) 無線通信装置、無線通信方法及び無線通信システム
JP6152616B2 (ja) 通信端末、および通信システム

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

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

Country of ref document: EP

Kind code of ref document: A1