WO2016203623A1 - Communication device, communication method, and communication system - Google Patents

Communication device, communication method, and communication system Download PDF

Info

Publication number
WO2016203623A1
WO2016203623A1 PCT/JP2015/067649 JP2015067649W WO2016203623A1 WO 2016203623 A1 WO2016203623 A1 WO 2016203623A1 JP 2015067649 W JP2015067649 W JP 2015067649W WO 2016203623 A1 WO2016203623 A1 WO 2016203623A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
communication
offset
duty ratio
transmission request
Prior art date
Application number
PCT/JP2015/067649
Other languages
French (fr)
Japanese (ja)
Inventor
笠間 晃一朗
Original Assignee
富士通株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富士通株式会社 filed Critical 富士通株式会社
Priority to PCT/JP2015/067649 priority Critical patent/WO2016203623A1/en
Publication of WO2016203623A1 publication Critical patent/WO2016203623A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • 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

Definitions

  • the present invention relates to a communication device, a communication method, and a communication system.
  • Bluetooth registered trademark
  • each child device suppresses collision of data transmitted from each child device by hopping a channel used for communication in a pattern decided with the parent device.
  • a wireless tag search system that performs communication between an active wireless tag and a tag search device by BLE (Bluetooth Low Energy) is known (for example, see Patent Document 1 below).
  • the technology disclosed in the present application suppresses collision of data transmitted from each communication device that operates as a slave in BLE communication.
  • a communication device used in a communication system in which a plurality of communication devices operating as slave units communicate with a single master unit using the same frequency includes a transmission unit, a determination unit, a change unit, Have The transmission unit transmits a transmission request to the parent device within a data transmittable period.
  • the determination unit determines whether an acknowledgment for the transmission request is received within a predetermined time after the transmission unit transmits the transmission request.
  • the changing unit changes a duty ratio that is a ratio of a transmittable period to a predetermined period based on a determination result by the determining unit. When the duty ratio is changed by the changing unit, the transmitting unit transmits a transmission request to the parent device within a transmittable period corresponding to the changed duty ratio.
  • FIG. 1 is a diagram illustrating an example of a communication system.
  • FIG. 2 is a block diagram illustrating an example of a communication device.
  • FIG. 3 is a diagram illustrating an example of a pattern table.
  • FIG. 4 is a diagram illustrating the duty ratio and the first offset.
  • FIG. 5 is a diagram illustrating an example of the division table.
  • FIG. 6 is a diagram illustrating an example of the second offset.
  • FIG. 7 is a diagram illustrating an example of the change table.
  • FIG. 8 is a diagram illustrating an example of the information table.
  • FIG. 9 is a flowchart illustrating an example of a change table creation process.
  • FIG. 10 is a flowchart illustrating an example of the communication management process.
  • FIG. 11 is a flowchart illustrating an example of control processing for the driving period of the wireless unit.
  • FIG. 12 is a diagram illustrating an example of hardware of the communication device.
  • FIG. 1 is a diagram illustrating an example of a communication system 10.
  • the communication system 10 includes a communication device 12 and a plurality of communication devices 20-1 to 20-n.
  • the communication system 10 is used in a predetermined area such as a company office, factory, or event venue.
  • the plurality of communication devices 20-1 to 20-n are collectively referred to as the communication device 20 without being distinguished from each other.
  • the communication device 12 operates as a parent device of the BLE communication system, and each of the plurality of communication devices 20-1 to 20-n operates as a child device of the BLE communication system.
  • the plurality of communication devices 20 perform wireless communication with one communication device 12 using the same frequency.
  • the communication device 12 and each communication device 20 perform wireless communication with each other by BLE.
  • the communication device 12 transmits / receives data to / from each communication device 20. Further, the communication device 12 transfers data transmitted / received between the communication devices 20. In addition, the communication device 12 transfers the data transmitted from each communication device 20 to another device via the communication line 11 or receives data received from another device via the communication line 11 as a destination. Transfer to the communication device 20. Note that the communication device 12 may operate as a slave unit with other communication devices 12.
  • FIG. 2 is a block diagram illustrating an example of the communication device 20.
  • the communication device 20 includes a wireless unit 21, a transmission unit 22, a determination unit 23, a change unit 24, a holding unit 25, a creation unit 26, a reception unit 27, and an antenna 28.
  • the holding unit 25 holds a pattern table 250, a division table 251, a change table 252, and an information table 253.
  • FIG. 3 is a diagram illustrating an example of the pattern table 250.
  • a pattern number 2500 is stored in association with a plurality of combinations of the duty ratio 2502 and the first offset 2503.
  • the pattern number 2500 is an example of information indicating a method for changing the combination of the duty ratio and the first offset.
  • Each combination of the duty ratio 2502 and the first offset 2503 is associated with a combination number 2501 that identifies each combination.
  • FIG. 4 is a diagram illustrating the duty ratio and the first offset.
  • T 0 indicates a predetermined repetition period
  • t 0 indicates the start timing of the repetition period T 0 .
  • the repetition period T 0 is, for example, 20 seconds.
  • drive indicates a period during which the wireless unit 21 is driven
  • stop indicates a period during which the wireless unit 21 is stopped.
  • the period during which the wireless unit 21 is driven is an example of a transmittable period.
  • the duty ratio is expressed as a ratio of a period during which the wireless unit 21 is driven with respect to the repetition period T 0 .
  • the duty ratio is 100%.
  • the duty ratio is (T 1 / T 0 ) ⁇ 100% because the radio unit 21 is driven in the period T 1 in the repetition period T 0 .
  • an offset ⁇ T 1 from the start timing of the repetition period T 0 to the start timing of the period T 1 driven by the radio unit 21 is defined as a first offset.
  • each pattern number 2500 is associated with a plurality of different combinations of duty ratios 2502 and first offsets 2503. Different pattern numbers 2500 may be associated with the same combination of duty ratio 2502 and first offset 2503. However, between different pattern numbers 2500, it is preferable that the duty ratio 2502 and the first offset 2503 of the same combination are associated with different combination numbers 2501.
  • FIG. 5 is a diagram illustrating an example of the division table 251.
  • the division table 251 stores a total number range 2510, a division number 2511, a group number 2512, and a second offset 2513 in association with each other.
  • a total range 2510 indicates a total range of communication devices 20 used in a predetermined area such as an event venue. In the total range 2510 illustrated in FIG. 5, “101 to 200” indicates a range of 101 to 200.
  • the division number 2511 indicates the number of groups when a plurality of communication devices 20 are divided into groups.
  • the group number 2512 is information for identifying each group when the plurality of communication devices 20 are divided into groups.
  • the second offset 2513 will be described with reference to FIG.
  • FIG. 6 is a diagram illustrating an example of the second offset.
  • the second offset is defined as an offset from the start timing t 0 of the reference repetition period T 0 to the start timing of the repetition period of the target group.
  • group 1 shown in FIG. 6 (a) for example, at the start timing t 0 of the repetition period T 0, the repetition period T 01 is started. Therefore, in group 1 shown in FIG. 6A, the second offset is zero.
  • the repetition period T 02 starts after ⁇ T 2 has elapsed from the start timing t 0 of the repetition period T 0 . Therefore, the group 2 shown in FIG. 6 (b), the second offset is [Delta] T 2.
  • the second offset ⁇ T 2 has a length that is an integral multiple of the repetition period T 0
  • the second offset is the same as zero. In this embodiment, the length of the repetition period of each group is the same.
  • FIG. 7 is a diagram illustrating an example of the change table 252.
  • the change table 252 stores a total number 2520, a division number 2521, a group number 2522, an order range 2523, a pattern number 2524, and a second offset 2525 in association with each other.
  • the total number 2520 indicates the total number of communication devices 20 used in a predetermined area such as an event venue.
  • the division number 2521 indicates the number of groups when the plurality of communication devices 20 are divided into groups.
  • the group number 2522 is information for identifying each group when the plurality of communication devices 20 are divided into groups.
  • the order range 2523 is an order range of the communication devices 20 belonging to each group.
  • Each communication apparatus 20 is assigned an order according to a predetermined rule.
  • each communication device 20 is assigned a number indicating the order in ascending order of the identification information value of the communication device 20.
  • the identification information of the communication device 20 is, for example, a BD (Bluetooth Device) address or a MAC (Media Access Control) address.
  • the pattern number 2524 is any pattern number registered in the pattern table 250.
  • the second offset 2525 is an offset from the start timing of the reference repetition cycle to the start timing of the repetition cycle of the target group.
  • FIG. 8 is a diagram illustrating an example of the information table 253.
  • the items 2530 include, for example, the BD address of the own device, the order assigned to the own device, the total number of communication devices 20 (including the own device) used in the same area, and the connection state between the own device and the communication device 12 The communication speed between the device itself and the communication device 12 is stored.
  • the BD address, the order, and the total number are written in the information table 253 when the communication device 20 is shipped.
  • the connection state and the communication speed value are rewritten as needed according to the state of communication with the communication device 12.
  • the radio unit 21 performs processing such as encoding and modulation on the data received from the transmission unit 22, converts the processed signal into a predetermined frequency, and transmits the signal from the antenna 28.
  • the radio unit 21 converts a signal received via the antenna 28 into a baseband signal.
  • Radio section 21 then performs processing such as demodulation and decoding on the converted signal, and outputs the received data after processing to determination section 23 and a reception processing section (not shown).
  • the wireless unit 21 is driven in response to an instruction from the transmission unit 22 and stopped in response to an instruction from the transmission unit 22.
  • the transmission unit 22 receives the duty ratio, the first offset, and the second offset from the changing unit 24. Then, the transmission unit 22 controls driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset received from the changing unit 24.
  • the transmission unit 22 when a transmission request is generated, the transmission unit 22 outputs the transmission request to the wireless unit 21 during the period in which the wireless unit 21 is driven. As a result, the transmission request is transmitted to the communication device 12 via the antenna 28. In addition, the transmission unit 22 outputs information indicating that the transmission request has been transmitted to the determination unit 23 and the change unit 24. When an acknowledgment to the transmission request is transmitted from the communication device 12, the transmission unit 22 outputs data to be transmitted to the wireless unit 21 during the period when the wireless unit 21 is driven. As a result, data is transmitted to the communication device 12 via the antenna 28. Further, the transmission unit 22 outputs to the determination unit 23 that data has been transmitted. Further, when the data transmission is completed, the communication end is output to the determination unit 23 and the change unit 24.
  • the transmission unit 22 retries transmission of the transmission request or data. If no acknowledgment is received from the communication device 12 even after a predetermined number of retries, the transmission unit 22 stops transmission of the transmission request or data.
  • the determination unit 23 refers to the reception data output from the wireless unit 21 when the transmission unit 22 outputs that the transmission request has been transmitted, and within a predetermined time after the transmission request is transmitted. It is determined whether or not an affirmative response is received. When an acknowledgment to the transmission request is received within a predetermined time after the transmission request is transmitted, the determination unit 23 indicates that the connection is being established in the connection state value stored in the information table 253 in the holding unit 25. Write information. On the other hand, if the acknowledgment for the transmission request is not received within a predetermined time after the transmission request is transmitted, the determination unit 23 sets the connection state value stored in the information table 253 to information indicating unconnected. Write.
  • the determination unit 23 refers to the reception data output from the wireless unit 21 when the transmission unit 22 outputs that the data has been transmitted, and is transmitted within a predetermined time after the data is transmitted. It is determined whether an acknowledgment for the received data has been received.
  • the transmission unit 22 retransmits the data. For this reason, the communication speed of data transmitted from the transmission unit 22 to the communication device 12 decreases according to the number of times per unit time in which an acknowledgment for the transmitted data has not been received.
  • the determination unit 23 calculates the communication speed of data transmitted from the transmission unit 22 to the communication device 12 based on whether or not an acknowledgment for the data is received until the communication end is output from the transmission unit 22.
  • the communication speed is equal to or higher than the predetermined value
  • information indicating the predetermined value or higher is written in the communication speed value stored in the information table 253 in the holding unit 25.
  • the determination unit 23 writes information indicating the less than the predetermined value in the communication speed value stored in the information table 253 in the holding unit 25.
  • the changing unit 24 refers to the information table 253 in the holding unit 25 when the own device is activated, and acquires information on the order of the own device. Then, the change unit 24 refers to the change table 252 in the holding unit 25, specifies the range of the order including the order of the own device, and acquires the group number associated with the specified range of the order. . The group number acquired from the change table 252 by the changing unit 24 is the group number of the group to which the own device belongs. Then, the change unit 24 instructs the transmission unit 22 to have a predetermined duty ratio (for example, 100% duty ratio). Thereby, the transmission part 22 drives the radio
  • a predetermined duty ratio for example, 100% duty ratio
  • the change unit 24 When the change unit 24 outputs that the transmission request has been transmitted from the transmission unit 22, the value of the connection state stored in the information table 253 after a predetermined time has elapsed since the transmission request was transmitted. Refer to When the connection state value is information indicating unconnected, the changing unit 24 refers to the change table 252 and obtains the pattern number and the second offset associated with the group number of the group to which the own device belongs. To do.
  • the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. To do.
  • the changing unit 24 randomly selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252, for example, at random.
  • the change unit 24 outputs the combination of the selected duty ratio and the first offset to the transmission unit 22 together with the second offset acquired from the change table 252.
  • the transmission unit 22 offsets the start timing of the repetition cycle of the own device by the second offset output from the changing unit 24.
  • the transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio and the first offset output from the changing unit 24 in the repeated cycle of the offset device itself, and the radio unit 21 is driven.
  • the slave unit changes the duty ratio or the offset based on the success or failure of data transmission, the probability of data collision can be reduced.
  • the changing unit 24 refers to the communication speed value stored in the information table 253.
  • the changing unit 24 refers to the change table 252 and determines the pattern number and the second offset associated with the group number of the group to which the own device belongs. get.
  • the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. To do.
  • the change unit 24 outputs the combination of the selected duty ratio and the first offset to the transmission unit 22 together with the second offset acquired from the change table 252.
  • the transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset output from the changing unit 24, and data is transmitted within the period during which the radio unit 21 is driving. Send. Thereby, the probability that the data transmitted from the communication apparatus 20 and the signal transmitted from the other communication apparatus 20 collide can be reduced, and the communication speed can be improved.
  • the accepting unit 27 accepts information such as the BD address, order, and total number of the own device from an external device, and writes the accepted information in the information table 253 in the holding unit 25.
  • Information such as the BD address, order, and total number is input to the communication device 20 at a predetermined timing when a plurality of communication devices 20 used in a predetermined area such as an event venue are shipped, for example.
  • the creation unit 26 refers to the holding unit 25 when the communication apparatus 20 is activated, and creates the change table 252 and stores it in the holding unit 25 when the change table 252 is not held in the holding unit 25.
  • the creating unit 26 first refers to the information table 253 in the holding unit 25 and acquires the order of the own device and the total number of communication devices 20.
  • the creation unit 26 refers to the division table 251 in the holding unit 25, identifies a total range including the total number of communication devices 20 acquired from the information table 253, and associates the range with the identified total range. Specify the number of divisions.
  • the creation unit 26 divides the total number of communication devices 20 acquired from the information table 253 into a plurality of groups having the specified number of divisions. For example, the creation unit 26 divides the plurality of communication devices 20 into a plurality of groups so that the difference in the number of communication devices 20 belonging to the group is 1 or less. Then, the creation unit 26 assigns a group number to each group. Then, the creating unit 26 assigns an order to each communication device 20 included in the total number, and specifies the range of the order of the communication devices 20 belonging to each group according to the number of the communication devices 20 belonging to each group.
  • the creation unit 26 refers to the pattern table 250 and assigns any pattern number to each group. In the present embodiment, the creation unit 26 assigns a different pattern number to each group. Then, the creation unit 26 refers to the division table 251 and acquires the second offset for each group associated with the total number range including the total number of communication devices 20 acquired from the information table 253.
  • the creation unit 26 includes the total number of communication devices 20, the number of divisions, the group number of each group, the range of the order of the communication devices 20 belonging to each group, the pattern number assigned to each group, and the number assigned to each group.
  • the change table 252 in which the offset of 2 is associated is created. Then, the creation unit 26 stores the created change table 252 in the holding unit 25.
  • FIG. 9 is a flowchart illustrating an example of the creation process of the change table 252.
  • the communication apparatus 20 starts a process of creating the change table 252 illustrated in FIG.
  • a pattern table 250, a division table 251, and an information table 253 are held in the holding unit 25.
  • the creation unit 26 refers to the holding unit 25 and determines whether or not the change table 252 is already created by determining whether or not the change table 252 is held in the holding unit 25 ( S100). If the change table 252 has already been created (S100: Yes), the communication device 20 ends the creation process of the change table 252 shown in this flowchart.
  • the creation unit 26 refers to the information table 253 in the holding unit 25 and acquires the order of the own device and the total number of the communication devices 20 ( S101). Then, the creation unit 26 refers to the division table 251 in the holding unit 25, identifies a total range including the total number of communication devices 20 acquired from the information table 253, and associates the range with the identified total range. The number of divisions is specified (S102).
  • the creation unit 26 divides the total number of communication devices 20 acquired from the information table 253 into a plurality of groups corresponding to the specified number of divisions (S103). Then, the creating unit 26 assigns a group number to each group, and specifies the range of the order of the communication devices 20 belonging to each group. Then, the creating unit 26 refers to the pattern table 250 and assigns any pattern number to each group (S104).
  • the creation unit 26 refers to the division table 251 and acquires the second offset for each group associated with the total number range including the total number of communication devices 20 acquired from the information table 253. Then, the creating unit 26 creates the change table 252 by associating the total number, the number of divisions, the group number, the order range, the pattern number, and the second offset (S105). Then, the creation unit 26 stores the created change table 252 in the holding unit 25 (S106). And the communication apparatus 20 complete
  • FIG. 10 is a flowchart illustrating an example of the communication management process.
  • the communication device 20 starts the communication management process illustrated in FIG. 10 and monitors the BLE communication executed by the wireless unit 21 and the transmission unit 22.
  • the determination unit 23 determines whether or not a transmission request has been transmitted by determining whether or not the transmission unit 22 has output that a transmission request has been transmitted (S200). When the transmission request is not transmitted (S200: No), the determination unit 23 executes the process shown in step S208.
  • the determination unit 23 refers to the reception data output from the wireless unit 21 and confirms the transmission request within a predetermined time after the transmission request is transmitted. It is determined whether a response has been received (S201). If the acknowledgment for the transmission request is not received within a predetermined time after the transmission request is transmitted (S201: No), the determination unit 23 sets the connection state value stored in the information table 253 to the unconnected state. Is written (S203). And the determination part 23 performs the process shown to step S200 again.
  • the determination unit 23 stores the connection state stored in the information table 253 in the holding unit 25. Information indicating that the connection is in progress is written in the value (S202). Then, the determination unit 23 refers to the reception data output from the wireless unit 21 and communicates data transmitted from the transmission unit 22 to the communication device 12 based on whether or not an acknowledgment is received for the transmitted data. Calculate the speed. Then, the determination unit 23 determines whether or not the calculated communication speed is equal to or higher than a predetermined value (S204).
  • the determination unit 23 When the communication speed is equal to or higher than the predetermined value (S204: Yes), the determination unit 23 writes information indicating the predetermined value or higher to the communication speed value stored in the information table 253 in the holding unit 25 (S205). Then, the process shown in step S207 is executed. On the other hand, when the communication speed is less than the predetermined value (S204: No), the determination unit 23 writes information indicating less than the predetermined value to the communication speed value stored in the information table 253 in the holding unit 25 ( S206).
  • the determination unit 23 determines whether or not the communication with the communication device 12 is ended by determining whether or not the communication end is output from the transmission unit 22 (S207). When the communication with the communication device 12 has not ended (S207: No), the determination unit 23 executes the process shown in step S204 again.
  • the determination unit 23 determines whether or not the communication device 20 is powered off (S208). When the power of the communication device 20 is not turned off (S208: No), the determination unit 23 executes the process shown in step S200 again. On the other hand, when the power of the communication device 20 is turned off (S208: Yes), the communication device 20 ends the communication management process shown in this flowchart.
  • FIG. 11 is a flowchart illustrating an example of a control process for the driving period of the wireless unit 21.
  • the communication device 20 when the communication device 20 is activated, the communication device 20 starts a control process for the driving period of the wireless unit 21 shown in FIG.
  • a pattern table 250, a division table 251, a change table 252, and an information table 253 are held in the holding unit 25.
  • the changing unit 24 refers to the information table 253 in the holding unit 25 and acquires information on the order of the own device. Then, the changing unit 24 refers to the change table 252 in the holding unit 25, specifies the range of the order including the order of the own device, and sets the group number associated with the specified order range to the own device. Get as the group number. And the change part 24 instruct
  • the changing unit 24 determines whether or not a transmission request has been transmitted to the communication device 12 by determining whether or not the transmission unit 22 has output that a transmission request has been transmitted (S301). When the transmission request is not transmitted to the communication device 12 (S301: No), the changing unit 24 executes the process shown in step S309.
  • the changing unit 24 determines the connection state value stored in the information table 253 after a predetermined time has elapsed since the transmission request was transmitted. Refer to Then, the changing unit 24 determines whether or not the connection state value is information indicating that the connection is being established (S302).
  • the changing unit 24 refers to the change table 252, and the pattern number and the second offset associated with the group number of the own device. To get. Then, the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. (S303).
  • the changing unit 24 outputs the combination of the selected duty ratio and the first offset to the transmitting unit 22 together with the second offset, so that the period corresponding to the selected duty ratio and the first offset.
  • the transmission unit 22 is instructed to transmit the data (S304).
  • the change part 24 performs the process shown to step S301 again.
  • the transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset instructed from the changing unit 24, and transmits within the period during which the radio unit 21 is driving. Send a request.
  • the changing unit 24 refers to the value of the communication speed stored in the information table 253 and determines whether the communication speed is equal to or higher than a predetermined value. Is determined (S305). When the communication speed is less than the predetermined value (S305: No), the changing unit 24 refers to the change table 252 and acquires the pattern number and the second offset associated with the group number of the own device. Then, the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. (S306).
  • the changing unit 24 outputs the combination of the selected duty ratio and the first offset to the transmitting unit 22 together with the second offset, so that the period corresponding to the selected duty ratio and the first offset. Is transmitted to the transmitter 22 (S307). And the change part 24 performs the process shown to step S308.
  • the transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset instructed from the changing unit 24, and data is transmitted within the period during which the radio unit 21 is driving. Send.
  • the changing unit 24 determines whether or not the communication with the communication device 12 is ended by determining whether or not the communication end is output from the transmitting unit 22. It is determined whether or not (S308). When the communication with the communication device 12 has not ended (S308: No), the changing unit 24 executes the process shown in step S305 again.
  • the changing unit 24 determines whether or not the power of the communication device 20 is turned off (S309).
  • the power of the communication device 20 is not turned off (S309: No)
  • the changing unit 24 executes the process shown in step S301 again.
  • the communication device 20 ends the control process for the driving period of the wireless unit 21 shown in this flowchart.
  • FIG. 12 is a diagram illustrating an example of hardware of the communication device 20.
  • the communication device 20 includes a wireless communication module 200, a processor 201, a RAM 202, a flash ROM 203, and an antenna 28.
  • the transmission unit 22, the determination unit 23, the change unit 24, the creation unit 26, and the reception unit 27 are realized by a processor 201 such as a CPU (Central Processing Unit) or a DSP (Digital Signal Processor).
  • the wireless unit 21 is realized by the wireless communication module 200, for example.
  • the holding unit 25 is realized by, for example, a RAM (Random Access Memory) 202 and a flash ROM (Read Only Memory) 203.
  • the flash ROM 203 stores a communication program.
  • the processor 201 reads out and executes the communication program from the flash ROM 203, thereby realizing the functions of the transmission unit 22, the determination unit 23, the change unit 24, the creation unit 26, and the reception unit 27.
  • the program is stored in a portable recording medium such as a memory card inserted into the communication device 20, and the communication device 20 acquires and executes a part of the communication program used for processing from the portable recording medium. It may be.
  • the communication device 20 may acquire and execute the communication program from another computer or server device that stores the communication program via a wireless communication line, a public line, the Internet, a LAN, a WAN, or the like. .
  • each communication device 20 operating as a slave has not received an acknowledgment for a transmission request transmitted to the communication device 12 within a predetermined time.
  • the time zone for driving the radio unit 21 is changed spontaneously.
  • each communication device 20 voluntarily changes the duty ratio for driving the radio unit 21 when an acknowledgment for the transmission request transmitted to the communication device 12 is not received within a predetermined time. Thereby, each communication apparatus 20 can reduce the probability that the transmission request transmitted from the own apparatus and a signal transmitted from another communication apparatus 20 collide.
  • each communication device 20 voluntarily controls the timing for starting the driving of the radio unit 21 when the acknowledgment to the transmission request transmitted to the communication device 12 is not received within a predetermined time. Change the offset. Thereby, each communication apparatus 20 can reduce the probability that the transmission request of the own apparatus and the signal of the other communication apparatus 20 collide.
  • a change table 252 is held in the holding unit 25 of each communication device 20. Thereby, the changing unit 24 of each communication device 20 can easily change the combination of the duty ratio and the first offset assigned to the group to which the own device belongs.
  • a pattern table 250 is held in the holding unit 25 of each communication device 20. Thereby, the changing unit 24 of each communication device 20 can easily select the combination of the duty ratio and the first offset.
  • the start timing of the repetition period of each group is offset by a second offset for each group.
  • Each communication device 20 includes a creation unit 26 and a reception unit 27. Further, the holding unit 25 holds a division table 251. Then, the creating unit 26 creates the change table 252 based on the total number of communication devices 20 received by the receiving unit 27 and the order of the own devices and the division table 251. Thereby, the manufacturer etc. of each communication apparatus 20 can save the effort which prepares beforehand the change table 252 which the communication apparatus 20 hold
  • each communication device 20 creates the change table 252 if the change table 252 is not stored in the holding unit 25 at the time of activation, but the disclosed technique is not limited thereto.
  • the change table 252 in the holding unit 25 is created in advance for each communication device 20 by a device different from the communication device 20 and held in each communication device 20 at a predetermined timing such as when the communication device 20 is shipped. It may be written in the part 25.
  • the changing unit 24 sets the combination of the duty ratio and the first offset when no acknowledgment is received from the communication device 12 within a predetermined time after the transmission request or data is transmitted. Although it selects at random, the technique of an indication is not restricted to this. For example, the changing unit 24 sequentially selects a combination of the duty ratio and the first offset from the combination of the duty ratio and the first offset in descending order of the duty ratio and the first offset. Also good.

Landscapes

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

Abstract

This communication device (20) has a transmission unit (22), a determination unit (23) and a change unit (24). The transmission unit (22) transmits a transmission request to a base unit within a data transmission-enabled period. The determination unit (23) determines whether or not acknowledgement of the transmission request is received within a prescribed interval of time following transmission of the transmission request by the transmission unit (22). On the basis of the determination results from the determination unit (23), the change unit (24) changes a duty ratio, which is the proportion the transmission-enabled period constitutes in the prescribed interval of time. When the change unit (24) changes the duty ratio, the transmission unit (22) transmits the transmission request to the base unit within a transmission-enabled period that corresponds to the changed duty ratio.

Description

通信装置、通信方法、および通信システムCOMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
 本発明は、通信装置、通信方法、および通信システムに関する。 The present invention relates to a communication device, a communication method, and a communication system.
 子機として動作する複数の通信装置が、同一の周波数を用いて、親機として動作する1つの通信装置と通信を行うシステムがある。このようなシステムとしては、例えば、Bluetooth(登録商標)を用いた通信システムが知られている。Bluetoothでは、各子機が、親機との間で取り決めたパターンで、通信に使用するチャネルをホッピングさせることにより、各子機から送信されるデータの衝突を抑制している。 There is a system in which a plurality of communication devices that operate as slave units communicate with one communication device that operates as a base unit using the same frequency. As such a system, for example, a communication system using Bluetooth (registered trademark) is known. In Bluetooth, each child device suppresses collision of data transmitted from each child device by hopping a channel used for communication in a pattern decided with the parent device.
 また、アクティブ型無線タグと、タグ探索装置との間の通信を、BLE(Bluetooth Low Energy)により行う無線タグ探索システムが知られている(例えば、下記の特許文献1参照)。 In addition, a wireless tag search system that performs communication between an active wireless tag and a tag search device by BLE (Bluetooth Low Energy) is known (for example, see Patent Document 1 below).
特開2014-216726号公報JP 2014-216726 A
 ところで、複数の子機と1つの親機とが同一の周波数を用いて通信を行うシステムでは、使用可能な周波数が少なくなったり、子機の数が多くなったりすると、各子機から送信されたデータが衝突する確率が高まる。これにより、各子機と親機との通信が困難になる場合がある。特にBLEでは、各子機が、親機との間で取り決めたパターンで、チャネルをホッピングさせることにより、データの衝突を抑制するが、使用可能な周波数が限られているため、同じチャネルが同時に使用される確率が高まる。そのため、子機の数が多くなると、各子機と親機との通信が困難になる場合がある。 By the way, in a system in which a plurality of slave units and one master unit communicate with each other using the same frequency, when a usable frequency is reduced or the number of slave units is increased, transmission is performed from each slave unit. The probability that the data collide will increase. As a result, communication between each child device and the parent device may be difficult. In particular, in BLE, data collision is suppressed by hopping channels in a pattern determined by each slave unit with the master unit. However, since the usable frequency is limited, the same channel can be used simultaneously. Increases the probability of being used. Therefore, when the number of slave units increases, communication between each slave unit and the master unit may become difficult.
 本願に開示の技術は、BLE通信における子機として動作する各通信装置から送信されたデータの衝突を抑制する。 The technology disclosed in the present application suppresses collision of data transmitted from each communication device that operates as a slave in BLE communication.
 1つの側面において、子機として動作する複数の通信装置が、同一の周波数を用いて1つの親機と通信を行う通信システムに用いられる通信装置は、送信部と、判定部と、変更部とを有する。送信部は、データの送信可能期間内に、親機へ送信要求を送信する。判定部は、送信部が送信要求を送信してから所定時間以内に、送信要求に対する肯定応答を受信したか否かを判定する。変更部は、判定部による判定結果に基づいて、所定期間に対する送信可能期間の割合であるデューティ比を変更する。送信部は、変更部によってデューティ比が変更された場合、変更後のデューティ比に対応する送信可能期間内に、親機へ送信要求を送信する。 In one aspect, a communication device used in a communication system in which a plurality of communication devices operating as slave units communicate with a single master unit using the same frequency includes a transmission unit, a determination unit, a change unit, Have The transmission unit transmits a transmission request to the parent device within a data transmittable period. The determination unit determines whether an acknowledgment for the transmission request is received within a predetermined time after the transmission unit transmits the transmission request. The changing unit changes a duty ratio that is a ratio of a transmittable period to a predetermined period based on a determination result by the determining unit. When the duty ratio is changed by the changing unit, the transmitting unit transmits a transmission request to the parent device within a transmittable period corresponding to the changed duty ratio.
 1実施形態によれば、子機として動作する各通信装置から送信されたデータの衝突を抑制することが可能となる。 According to one embodiment, it is possible to suppress collision of data transmitted from each communication device operating as a slave unit.
図1は、通信システムの一例を示す図である。FIG. 1 is a diagram illustrating an example of a communication system. 図2は、通信装置の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a communication device. 図3は、パターンテーブルの一例を示す図である。FIG. 3 is a diagram illustrating an example of a pattern table. 図4は、デューティ比および第1のオフセットを説明する図である。FIG. 4 is a diagram illustrating the duty ratio and the first offset. 図5は、分割テーブルの一例を示す図である。FIG. 5 is a diagram illustrating an example of the division table. 図6は、第2のオフセットの一例を説明する図である。FIG. 6 is a diagram illustrating an example of the second offset. 図7は、変更テーブルの一例を示す図である。FIG. 7 is a diagram illustrating an example of the change table. 図8は、情報テーブルの一例を示す図である。FIG. 8 is a diagram illustrating an example of the information table. 図9は、変更テーブルの作成処理の一例を示すフローチャートである。FIG. 9 is a flowchart illustrating an example of a change table creation process. 図10は、通信管理処理の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of the communication management process. 図11は、無線部の駆動期間の制御処理の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of control processing for the driving period of the wireless unit. 図12は、通信装置のハードウェアの一例を示す図である。FIG. 12 is a diagram illustrating an example of hardware of the communication device.
 以下に、本願の開示する通信装置、通信方法、および通信システムの実施例を、図面に基づいて詳細に説明する。なお、以下の実施例は開示の技術を限定するものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 Hereinafter, embodiments of a communication device, a communication method, and a communication system disclosed in the present application will be described in detail based on the drawings. The following examples do not limit the disclosed technology. Each embodiment can be appropriately combined within a range in which processing contents are not contradictory.
[通信システム10]
 図1は、通信システム10の一例を示す図である。通信システム10は、通信装置12および複数の通信装置20-1~20-nを有する。通信システム10は、例えば企業の事務所や工場、イベント会場等の所定のエリアで使用される。なお、以下では、複数の通信装置20-1~20-nのそれぞれを区別することなく総称する場合に通信装置20と記載する。
[Communication system 10]
FIG. 1 is a diagram illustrating an example of a communication system 10. The communication system 10 includes a communication device 12 and a plurality of communication devices 20-1 to 20-n. The communication system 10 is used in a predetermined area such as a company office, factory, or event venue. Hereinafter, the plurality of communication devices 20-1 to 20-n are collectively referred to as the communication device 20 without being distinguished from each other.
 通信装置12はBLE通信システムの親機として動作し、複数の通信装置20-1~20-nのそれぞれはBLE通信システムの子機として動作する。複数の通信装置20は、同一の周波数を用いて1つの通信装置12と無線通信を行う。本実施例において、通信装置12とそれぞれの通信装置20とは、BLEにより互いに無線通信を行う。 The communication device 12 operates as a parent device of the BLE communication system, and each of the plurality of communication devices 20-1 to 20-n operates as a child device of the BLE communication system. The plurality of communication devices 20 perform wireless communication with one communication device 12 using the same frequency. In the present embodiment, the communication device 12 and each communication device 20 perform wireless communication with each other by BLE.
 通信装置12は、各通信装置20との間でデータの送受信を行う。また、通信装置12は、各通信装置20間で送受信されるデータの転送を行う。また、通信装置12は、各通信装置20から送信されたデータを、通信回線11を介して他の装置へ転送したり、他の装置から通信回線11を介して受信したデータを、宛先となる通信装置20へ転送する。なお、通信装置12は、他の通信装置12との間で子機として動作してもよい。 The communication device 12 transmits / receives data to / from each communication device 20. Further, the communication device 12 transfers data transmitted / received between the communication devices 20. In addition, the communication device 12 transfers the data transmitted from each communication device 20 to another device via the communication line 11 or receives data received from another device via the communication line 11 as a destination. Transfer to the communication device 20. Note that the communication device 12 may operate as a slave unit with other communication devices 12.
[通信装置20]
 次に、子機として動作するそれぞれの通信装置20について説明する。図2は、通信装置20の一例を示すブロック図である。通信装置20は、例えば図2に示すように、無線部21、送信部22、判定部23、変更部24、保持部25、作成部26、受付部27、およびアンテナ28を有する。保持部25は、パターンテーブル250、分割テーブル251、変更テーブル252、および情報テーブル253を保持する。
[Communication device 20]
Next, each communication device 20 that operates as a slave will be described. FIG. 2 is a block diagram illustrating an example of the communication device 20. For example, as illustrated in FIG. 2, the communication device 20 includes a wireless unit 21, a transmission unit 22, a determination unit 23, a change unit 24, a holding unit 25, a creation unit 26, a reception unit 27, and an antenna 28. The holding unit 25 holds a pattern table 250, a division table 251, a change table 252, and an information table 253.
 図3は、パターンテーブル250の一例を示す図である。パターンテーブル250には、例えば図3に示すように、デューティ比2502および第1のオフセット2503の複数の組合せに対応付けて、パターン番号2500が格納されている。パターン番号2500は、デューティ比および第1のオフセットの組合せの変更方法を示す情報の一例である。デューティ比2502および第1のオフセット2503のそれぞれの組合せには、それぞれの組合せを識別する組合せ番号2501が対応付けられている。 FIG. 3 is a diagram illustrating an example of the pattern table 250. In the pattern table 250, for example, as shown in FIG. 3, a pattern number 2500 is stored in association with a plurality of combinations of the duty ratio 2502 and the first offset 2503. The pattern number 2500 is an example of information indicating a method for changing the combination of the duty ratio and the first offset. Each combination of the duty ratio 2502 and the first offset 2503 is associated with a combination number 2501 that identifies each combination.
 ここで、デューティ比および第1のオフセットについて説明する。図4は、デューティ比および第1のオフセットを説明する図である。図4において、T0は所定の繰り返し周期を示し、t0は繰り返し周期T0の開始タイミングを示す。本実施例において、繰り返し周期T0は例えば20秒である。また、図4において、「駆動」は、無線部21が駆動している期間を示し、「停止」は、無線部21が停止している期間を示す。また、無線部21が駆動している期間は、送信可能期間の一例である。 Here, the duty ratio and the first offset will be described. FIG. 4 is a diagram illustrating the duty ratio and the first offset. In FIG. 4, T 0 indicates a predetermined repetition period, and t 0 indicates the start timing of the repetition period T 0 . In this embodiment, the repetition period T 0 is, for example, 20 seconds. In FIG. 4, “drive” indicates a period during which the wireless unit 21 is driven, and “stop” indicates a period during which the wireless unit 21 is stopped. Further, the period during which the wireless unit 21 is driven is an example of a transmittable period.
 本実施例において、デューティ比は、繰り返し周期T0に対する、無線部21が駆動している期間の割合で表される。図4(a)に示した例では、繰り返し周期T0の全期間にわたって無線部21が駆動しているため、デューティ比は100%である。また、図4(b)に示した例では、繰り返し周期T0のうち期間T1で無線部21が駆動しているため、デューティ比は(T1/T0)×100%である。また、例えば図4(c)に示すように、繰り返し周期T0の開始タイミングから、無線部21が駆動する期間T1の開始タイミングまでのオフセットΔT1を、第1のオフセットと定義する。 In the present embodiment, the duty ratio is expressed as a ratio of a period during which the wireless unit 21 is driven with respect to the repetition period T 0 . In the example shown in FIG. 4A, since the radio unit 21 is driven over the entire period of the repetition cycle T 0 , the duty ratio is 100%. In the example shown in FIG. 4B, the duty ratio is (T 1 / T 0 ) × 100% because the radio unit 21 is driven in the period T 1 in the repetition period T 0 . For example, as shown in FIG. 4C, an offset ΔT 1 from the start timing of the repetition period T 0 to the start timing of the period T 1 driven by the radio unit 21 is defined as a first offset.
 図3において、各パターン番号2500には、異なる組合せのデューティ比2502および第1のオフセット2503が複数対応付けられている。また、異なるパターン番号2500には、同一の組合せのデューティ比2502および第1のオフセット2503が対応付けられていてもよい。ただし、異なるパターン番号2500の間では、同一の組合せのデューティ比2502および第1のオフセット2503は、異なる組合せ番号2501に対応付けられることが好ましい。 In FIG. 3, each pattern number 2500 is associated with a plurality of different combinations of duty ratios 2502 and first offsets 2503. Different pattern numbers 2500 may be associated with the same combination of duty ratio 2502 and first offset 2503. However, between different pattern numbers 2500, it is preferable that the duty ratio 2502 and the first offset 2503 of the same combination are associated with different combination numbers 2501.
 図5は、分割テーブル251の一例を示す図である。分割テーブル251には、総数の範囲2510、分割数2511、グループ番号2512、および第2のオフセット2513が対応付けて格納されている。総数の範囲2510は、イベント会場等の所定のエリアで使用される通信装置20の総数の範囲を示す。図5に例示した総数の範囲2510において「101~200」は、101以上かつ200以下の範囲を示している。分割数2511は、複数の通信装置20がグループに分割される場合のグループの数を示す。グループ番号2512は、複数の通信装置20がグループに分割された場合のそれぞれのグループを識別する情報である。第2のオフセット2513については図6を用いて説明する。 FIG. 5 is a diagram illustrating an example of the division table 251. The division table 251 stores a total number range 2510, a division number 2511, a group number 2512, and a second offset 2513 in association with each other. A total range 2510 indicates a total range of communication devices 20 used in a predetermined area such as an event venue. In the total range 2510 illustrated in FIG. 5, “101 to 200” indicates a range of 101 to 200. The division number 2511 indicates the number of groups when a plurality of communication devices 20 are divided into groups. The group number 2512 is information for identifying each group when the plurality of communication devices 20 are divided into groups. The second offset 2513 will be described with reference to FIG.
 図6は、第2のオフセットの一例を説明する図である。第2のオフセットは、基準となる繰り返し周期T0の開始タイミングt0から、対象となるグループの繰り返し周期の開始タイミングまでのオフセットとして定義される。例えば図6(a)に示すグループ1では、繰り返し周期T0の開始タイミングt0において、繰り返し周期T01が開始している。そのため、図6(a)に示すグループ1では、第2のオフセットは0である。また、例えば図6(b)に示すグループ2では、繰り返し周期T0の開始タイミングt0からΔT2が経過してから繰り返し周期T02が開始している。そのため、図6(b)に示すグループ2では、第2のオフセットはΔT2である。図6から明らかなように、第2のオフセットΔT2が繰り返し周期T0の整数倍の長さとなった場合、第2のオフセットは0と同様になる。なお、本実施例において、各グループの繰り返し周期の長さは同一である。 FIG. 6 is a diagram illustrating an example of the second offset. The second offset is defined as an offset from the start timing t 0 of the reference repetition period T 0 to the start timing of the repetition period of the target group. In group 1 shown in FIG. 6 (a) for example, at the start timing t 0 of the repetition period T 0, the repetition period T 01 is started. Therefore, in group 1 shown in FIG. 6A, the second offset is zero. For example, in the group 2 shown in FIG. 6B, the repetition period T 02 starts after ΔT 2 has elapsed from the start timing t 0 of the repetition period T 0 . Therefore, the group 2 shown in FIG. 6 (b), the second offset is [Delta] T 2. As is apparent from FIG. 6, when the second offset ΔT 2 has a length that is an integral multiple of the repetition period T 0 , the second offset is the same as zero. In this embodiment, the length of the repetition period of each group is the same.
 図7は、変更テーブル252の一例を示す図である。変更テーブル252には、例えば図7に示すように、総数2520、分割数2521、グループ番号2522、順番の範囲2523、パターン番号2524、および第2のオフセット2525が対応付けて格納される。 FIG. 7 is a diagram illustrating an example of the change table 252. For example, as shown in FIG. 7, the change table 252 stores a total number 2520, a division number 2521, a group number 2522, an order range 2523, a pattern number 2524, and a second offset 2525 in association with each other.
 総数2520は、イベント会場等の所定のエリアで使用される通信装置20の総数を示す。分割数2521は、複数の通信装置20がグループに分割された場合のグループの数を示す。グループ番号2522は、複数の通信装置20がグループに分割された場合のそれぞれのグループを識別する情報である。 The total number 2520 indicates the total number of communication devices 20 used in a predetermined area such as an event venue. The division number 2521 indicates the number of groups when the plurality of communication devices 20 are divided into groups. The group number 2522 is information for identifying each group when the plurality of communication devices 20 are divided into groups.
 順番の範囲2523は、それぞれのグループに属する通信装置20の順番の範囲である。それぞれの通信装置20には、所定の規則に従って順番が割り当てられている。本実施例において、それぞれの通信装置20には、通信装置20の識別情報の値が小さい順に、順番を示す番号が割り当てられている。通信装置20の識別情報は、例えばBD(Bluetooth Device)アドレスやMAC(Media Access Control)アドレス等である。 The order range 2523 is an order range of the communication devices 20 belonging to each group. Each communication apparatus 20 is assigned an order according to a predetermined rule. In the present embodiment, each communication device 20 is assigned a number indicating the order in ascending order of the identification information value of the communication device 20. The identification information of the communication device 20 is, for example, a BD (Bluetooth Device) address or a MAC (Media Access Control) address.
 パターン番号2524は、パターンテーブル250に登録されているいずれかのパターン番号である。第2のオフセット2525は、基準となる繰り返し周期の開始タイミングから、対象となるグループの繰り返し周期の開始タイミングまでのオフセットである。 The pattern number 2524 is any pattern number registered in the pattern table 250. The second offset 2525 is an offset from the start timing of the reference repetition cycle to the start timing of the repetition cycle of the target group.
 図8は、情報テーブル253の一例を示す図である。情報テーブル253には、例えば図8に示すように、項目2530と、項目2530に対応する値2531とが格納される。項目2530としては、例えば、自装置のBDアドレス、自装置に割り当てられた順番、同一のエリアで使用される通信装置20(自装置を含む)の総数、自装置と通信装置12との接続状態、自装置と通信装置12との間の通信速度等が格納される。本実施例において、BDアドレス、順番、および総数の値は、通信装置20の出荷時に情報テーブル253に書き込まれる。また、本実施例において、接続状態および通信速度の値は、通信装置12との間の通信の状況に応じて随時書き換えられる。 FIG. 8 is a diagram illustrating an example of the information table 253. In the information table 253, for example, as shown in FIG. 8, an item 2530 and a value 2531 corresponding to the item 2530 are stored. The items 2530 include, for example, the BD address of the own device, the order assigned to the own device, the total number of communication devices 20 (including the own device) used in the same area, and the connection state between the own device and the communication device 12 The communication speed between the device itself and the communication device 12 is stored. In this embodiment, the BD address, the order, and the total number are written in the information table 253 when the communication device 20 is shipped. In the present embodiment, the connection state and the communication speed value are rewritten as needed according to the state of communication with the communication device 12.
 図2に戻って説明を続ける。無線部21は、送信部22から受け取ったデータに符号化や変調等の処理を施し、処理後の信号を所定の周波数に変換してアンテナ28から送信する。また、無線部21は、アンテナ28を介して受信した信号をベースバンドの信号に変換する。そして、無線部21は、変換後の信号に復調および復号等の処理を施し、処理後の受信データを判定部23および図示しない受信処理部へ出力する。また、無線部21は、送信部22からの指示に応じて駆動し、送信部22からの指示に応じて停止する。 Referring back to FIG. The radio unit 21 performs processing such as encoding and modulation on the data received from the transmission unit 22, converts the processed signal into a predetermined frequency, and transmits the signal from the antenna 28. The radio unit 21 converts a signal received via the antenna 28 into a baseband signal. Radio section 21 then performs processing such as demodulation and decoding on the converted signal, and outputs the received data after processing to determination section 23 and a reception processing section (not shown). The wireless unit 21 is driven in response to an instruction from the transmission unit 22 and stopped in response to an instruction from the transmission unit 22.
 送信部22は、変更部24からデューティ比、第1のオフセット、および第2のオフセットを受け付ける。そして、送信部22は、変更部24から受け付けたデューティ比、第1のオフセット、および第2のオフセットに従って、無線部21の駆動および停止を制御する。 The transmission unit 22 receives the duty ratio, the first offset, and the second offset from the changing unit 24. Then, the transmission unit 22 controls driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset received from the changing unit 24.
 また、送信部22は、送信要求が発生した場合、無線部21が駆動している期間に、送信要求を無線部21へ出力する。これにより、送信要求がアンテナ28を介して通信装置12へ送信される。また、送信部22は、送信要求を送信した旨を判定部23および変更部24へ出力する。そして、送信要求に対する肯定応答が通信装置12から送信された場合、送信部22は、無線部21が駆動している期間に、送信対象のデータを無線部21へ出力する。これにより、データがアンテナ28を介して通信装置12へ送信される。また、送信部22は、データを送信した旨を判定部23へ出力する。また、データの送信が終了した場合に、通信終了を判定部23および変更部24へ出力する。 Further, when a transmission request is generated, the transmission unit 22 outputs the transmission request to the wireless unit 21 during the period in which the wireless unit 21 is driven. As a result, the transmission request is transmitted to the communication device 12 via the antenna 28. In addition, the transmission unit 22 outputs information indicating that the transmission request has been transmitted to the determination unit 23 and the change unit 24. When an acknowledgment to the transmission request is transmitted from the communication device 12, the transmission unit 22 outputs data to be transmitted to the wireless unit 21 during the period when the wireless unit 21 is driven. As a result, data is transmitted to the communication device 12 via the antenna 28. Further, the transmission unit 22 outputs to the determination unit 23 that data has been transmitted. Further, when the data transmission is completed, the communication end is output to the determination unit 23 and the change unit 24.
 なお、送信要求やデータを通信装置12へ送信してから所定時間以内に、通信装置12から肯定応答を受信なかった場合、送信部22は、送信要求やデータの送信をリトライする。そして、所定回数のリトライを行っても通信装置12から肯定応答を受信しなかった場合、送信部22は、送信要求またはデータの送信を中止する。 If a positive response is not received from the communication device 12 within a predetermined time after transmitting the transmission request or data to the communication device 12, the transmission unit 22 retries transmission of the transmission request or data. If no acknowledgment is received from the communication device 12 even after a predetermined number of retries, the transmission unit 22 stops transmission of the transmission request or data.
 判定部23は、送信部22から送信要求を送信した旨が出力された場合に、無線部21から出力された受信データを参照して、送信要求が送信されてから所定時間以内に、送信要求に対する肯定応答を受信したか否かを判定する。送信要求が送信されてから所定時間以内に、送信要求に対する肯定応答を受信した場合、判定部23は、保持部25内の情報テーブル253に格納されている接続状態の値に、接続中を示す情報を書き込む。一方、送信要求が送信されてから所定時間以内に、送信要求に対する肯定応答を受信しなかった場合、判定部23は、情報テーブル253に格納されている接続状態の値に、未接続を示す情報を書き込む。 The determination unit 23 refers to the reception data output from the wireless unit 21 when the transmission unit 22 outputs that the transmission request has been transmitted, and within a predetermined time after the transmission request is transmitted. It is determined whether or not an affirmative response is received. When an acknowledgment to the transmission request is received within a predetermined time after the transmission request is transmitted, the determination unit 23 indicates that the connection is being established in the connection state value stored in the information table 253 in the holding unit 25. Write information. On the other hand, if the acknowledgment for the transmission request is not received within a predetermined time after the transmission request is transmitted, the determination unit 23 sets the connection state value stored in the information table 253 to information indicating unconnected. Write.
 また、判定部23は、送信部22からデータを送信した旨が出力された場合に、無線部21から出力された受信データを参照して、データが送信されてから所定時間以内に、送信されたデータに対する肯定応答を受信したか否かを判定する。ここで、データが送信されてから所定時間以内に肯定応答を受信しなかった場合、送信部22は、データの再送を行う。そのため、送信されたデータに対する肯定応答を受信しなかった単位時間当たりの回数に応じて、送信部22から通信装置12へ送信されるデータの通信速度が低下する。 In addition, the determination unit 23 refers to the reception data output from the wireless unit 21 when the transmission unit 22 outputs that the data has been transmitted, and is transmitted within a predetermined time after the data is transmitted. It is determined whether an acknowledgment for the received data has been received. Here, when the acknowledgment is not received within a predetermined time after the data is transmitted, the transmission unit 22 retransmits the data. For this reason, the communication speed of data transmitted from the transmission unit 22 to the communication device 12 decreases according to the number of times per unit time in which an acknowledgment for the transmitted data has not been received.
 判定部23は、送信部22から通信終了が出力されるまで、データに対する肯定応答の受信の有無に基づいて、送信部22から通信装置12へ送信されるデータの通信速度を算出する。そして、通信速度が所定値以上である場合、保持部25内の情報テーブル253に格納されている通信速度の値に、所定値以上を示す情報を書き込む。一方、通信速度が所定値未満である場合、判定部23は、保持部25内の情報テーブル253に格納されている通信速度の値に、所定値未満を示す情報を書き込む。 The determination unit 23 calculates the communication speed of data transmitted from the transmission unit 22 to the communication device 12 based on whether or not an acknowledgment for the data is received until the communication end is output from the transmission unit 22. When the communication speed is equal to or higher than the predetermined value, information indicating the predetermined value or higher is written in the communication speed value stored in the information table 253 in the holding unit 25. On the other hand, when the communication speed is less than the predetermined value, the determination unit 23 writes information indicating the less than the predetermined value in the communication speed value stored in the information table 253 in the holding unit 25.
 変更部24は、自装置の起動時に、保持部25内の情報テーブル253を参照して、自装置の順番の情報を取得する。そして、変更部24は、保持部25内の変更テーブル252を参照して、自装置の順番が含まれる順番の範囲を特定し、特定した順番の範囲に対応付けられているグループ番号を取得する。変更部24によって変更テーブル252から取得されたグループ番号は、自装置が属するグループのグループ番号である。そして、変更部24は、所定のデューティ比(例えば100%のデューティ比)を送信部22に指示する。これにより、送信部22は、自装置の起動直後の初期状態において、所定のデューティ比で無線部21を駆動させる。 The changing unit 24 refers to the information table 253 in the holding unit 25 when the own device is activated, and acquires information on the order of the own device. Then, the change unit 24 refers to the change table 252 in the holding unit 25, specifies the range of the order including the order of the own device, and acquires the group number associated with the specified range of the order. . The group number acquired from the change table 252 by the changing unit 24 is the group number of the group to which the own device belongs. Then, the change unit 24 instructs the transmission unit 22 to have a predetermined duty ratio (for example, 100% duty ratio). Thereby, the transmission part 22 drives the radio | wireless part 21 with a predetermined | prescribed duty ratio in the initial state immediately after starting of an own apparatus.
 そして、変更部24は、送信部22から送信要求を送信した旨が出力された場合に、送信要求が送信されてから所定時間が経過した後に、情報テーブル253に格納されている接続状態の値を参照する。接続状態の値が未接続を示す情報である場合、変更部24は、変更テーブル252を参照して、自装置が属するグループのグループ番号に対応付けられているパターン番号および第2のオフセットを取得する。 When the change unit 24 outputs that the transmission request has been transmitted from the transmission unit 22, the value of the connection state stored in the information table 253 after a predetermined time has elapsed since the transmission request was transmitted. Refer to When the connection state value is information indicating unconnected, the changing unit 24 refers to the change table 252 and obtains the pattern number and the second offset associated with the group number of the group to which the own device belongs. To do.
 そして、変更部24は、パターンテーブル250を参照して、変更テーブル252から取得したパターン番号に対応付けられているデューティ比および第1のオフセットの組合せの中で、いずれかの組合せを1つ選択する。変更部24は、変更テーブル252から取得したパターン番号に対応付けられているデューティ比および第1のオフセットの組合せの中で、いずれかの組合せを、例えばランダムに選択する。 Then, the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. To do. The changing unit 24 randomly selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252, for example, at random.
 そして、変更部24は、選択したデューティ比および第1のオフセットの組合せを、変更テーブル252から取得した第2のオフセットと共に送信部22へ出力する。送信部22は、変更部24から出力された第2のオフセット分、自装置の繰り返し周期の開始タイミングをオフセットさせる。そして、送信部22は、オフセットさせた自装置の繰り返し周期において、変更部24から出力されたデューティ比および第1のオフセットに従って、無線部21の駆動および停止を制御し、無線部21が駆動している期間内に送信要求を送信する。従来のBLE通信では、複数の子機により使用される周波数が重なった場合に、いずれかの子機でホッピングが行われてこの周波数の重なりが解除されない限り、データの衝突を回避することができなかった。しかし、本実施形態によれば、子機がデータ送信の成否に基づいてデューティ比又はオフセットを変更するため、データ衝突の確率を低減することができる。 Then, the change unit 24 outputs the combination of the selected duty ratio and the first offset to the transmission unit 22 together with the second offset acquired from the change table 252. The transmission unit 22 offsets the start timing of the repetition cycle of the own device by the second offset output from the changing unit 24. Then, the transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio and the first offset output from the changing unit 24 in the repeated cycle of the offset device itself, and the radio unit 21 is driven. Send a transmission request within the specified period. In the conventional BLE communication, when the frequencies used by a plurality of slave units overlap, unless one of the slave units performs hopping and the overlap of the frequencies is released, data collision cannot be avoided. . However, according to the present embodiment, since the slave unit changes the duty ratio or the offset based on the success or failure of data transmission, the probability of data collision can be reduced.
 一方、接続状態の値が接続中を示す情報である場合、変更部24は、情報テーブル253に格納されている通信速度の値を参照する。通信速度の値が所定値未満を示す情報である場合、変更部24は、変更テーブル252を参照して、自装置が属するグループのグループ番号に対応付けられているパターン番号および第2のオフセットを取得する。そして、変更部24は、パターンテーブル250を参照して、変更テーブル252から取得したパターン番号に対応付けられているデューティ比および第1のオフセットの組合せの中で、いずれかの組合せを1つ選択する。 On the other hand, when the connection state value is information indicating that the connection is in progress, the changing unit 24 refers to the communication speed value stored in the information table 253. When the communication speed value is information indicating that the value is less than the predetermined value, the changing unit 24 refers to the change table 252 and determines the pattern number and the second offset associated with the group number of the group to which the own device belongs. get. Then, the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. To do.
 そして、変更部24は、選択したデューティ比および第1のオフセットの組合せを、変更テーブル252から取得した第2のオフセットと共に送信部22へ出力する。送信部22は、変更部24から出力されたデューティ比、第1のオフセット、および第2のオフセットに従って、無線部21の駆動および停止を制御し、無線部21が駆動している期間内にデータを送信する。これにより、通信装置20から送信されたデータと他の通信装置20から送信された信号とが衝突する確率を低減することができ、通信速度を向上させることができる。 Then, the change unit 24 outputs the combination of the selected duty ratio and the first offset to the transmission unit 22 together with the second offset acquired from the change table 252. The transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset output from the changing unit 24, and data is transmitted within the period during which the radio unit 21 is driving. Send. Thereby, the probability that the data transmitted from the communication apparatus 20 and the signal transmitted from the other communication apparatus 20 collide can be reduced, and the communication speed can be improved.
 受付部27は、自装置のBDアドレス、順番、および総数等の情報を外部の装置から受け付け、受け付けたこれらの情報を、保持部25内の情報テーブル253に書き込む。BDアドレス、順番、および総数等の情報は、例えば、イベント会場等の所定のエリアで使用される複数の通信装置20が出荷される際の所定のタイミングで通信装置20に入力される。 The accepting unit 27 accepts information such as the BD address, order, and total number of the own device from an external device, and writes the accepted information in the information table 253 in the holding unit 25. Information such as the BD address, order, and total number is input to the communication device 20 at a predetermined timing when a plurality of communication devices 20 used in a predetermined area such as an event venue are shipped, for example.
 作成部26は、通信装置20の起動時に保持部25を参照し、保持部25内に変更テーブル252が保持されていない場合に、変更テーブル252を作成して保持部25内に保存する。変更テーブル252を作成する際、作成部26は、まず、保持部25内の情報テーブル253を参照し、自装置の順番および通信装置20の総数の値を取得する。そして、作成部26は、保持部25内の分割テーブル251を参照して、情報テーブル253から取得した通信装置20の総数が含まれる総数の範囲を特定し、特定した総数の範囲に対応付けられている分割数を特定する。 The creation unit 26 refers to the holding unit 25 when the communication apparatus 20 is activated, and creates the change table 252 and stores it in the holding unit 25 when the change table 252 is not held in the holding unit 25. When creating the change table 252, the creating unit 26 first refers to the information table 253 in the holding unit 25 and acquires the order of the own device and the total number of communication devices 20. Then, the creation unit 26 refers to the division table 251 in the holding unit 25, identifies a total range including the total number of communication devices 20 acquired from the information table 253, and associates the range with the identified total range. Specify the number of divisions.
 次に、作成部26は、情報テーブル253から取得した通信装置20の総数を、特定した分割数の複数のグループに分割する。作成部26は、例えば、グループ間で、グループに属する通信装置20の数の差が1以下になるように、複数の通信装置20を複数のグループに分割する。そして、作成部26は、各グループにグループ番号を割り当てる。そして、作成部26は、総数に含まれる各通信装置20に順番を割り当て、各グループに属する通信装置20の数に応じて、各グループに属する通信装置20の順番の範囲を特定する。 Next, the creation unit 26 divides the total number of communication devices 20 acquired from the information table 253 into a plurality of groups having the specified number of divisions. For example, the creation unit 26 divides the plurality of communication devices 20 into a plurality of groups so that the difference in the number of communication devices 20 belonging to the group is 1 or less. Then, the creation unit 26 assigns a group number to each group. Then, the creating unit 26 assigns an order to each communication device 20 included in the total number, and specifies the range of the order of the communication devices 20 belonging to each group according to the number of the communication devices 20 belonging to each group.
 次に、作成部26は、パターンテーブル250を参照して、各グループにいずれかのパターン番号を割り当てる。本実施例において、作成部26は、各グループに異なるパターン番号を割り当てる。そして、作成部26は、分割テーブル251を参照して、情報テーブル253から取得した通信装置20の総数が含まれる総数の範囲に対応付けられたグループ毎の第2のオフセットを取得する。 Next, the creation unit 26 refers to the pattern table 250 and assigns any pattern number to each group. In the present embodiment, the creation unit 26 assigns a different pattern number to each group. Then, the creation unit 26 refers to the division table 251 and acquires the second offset for each group associated with the total number range including the total number of communication devices 20 acquired from the information table 253.
 次に、作成部26は、通信装置20の総数、分割数、各グループのグループ番号、各グループに属する通信装置20の順番の範囲、各グループに割り当てたパターン番号、および各グループに割り当てた第2のオフセットを対応付けた変更テーブル252を作成する。そして、作成部26は、作成した変更テーブル252を保持部25に保存する。 Next, the creation unit 26 includes the total number of communication devices 20, the number of divisions, the group number of each group, the range of the order of the communication devices 20 belonging to each group, the pattern number assigned to each group, and the number assigned to each group. The change table 252 in which the offset of 2 is associated is created. Then, the creation unit 26 stores the created change table 252 in the holding unit 25.
[変更テーブルの作成処理]
 図9は、変更テーブル252の作成処理の一例を示すフローチャートである。通信装置20は、例えば起動時に、図9に示す変更テーブル252の作成処理を開始する。なお、図9に示すフローチャートに先立って、保持部25内には、パターンテーブル250、分割テーブル251、および情報テーブル253が保持されている。
[Create change table]
FIG. 9 is a flowchart illustrating an example of the creation process of the change table 252. For example, when the communication apparatus 20 is activated, the communication apparatus 20 starts a process of creating the change table 252 illustrated in FIG. Prior to the flowchart shown in FIG. 9, a pattern table 250, a division table 251, and an information table 253 are held in the holding unit 25.
 まず、作成部26は、保持部25を参照し、保持部25内に変更テーブル252が保持されているか否かを判定することにより、変更テーブル252が既に作成されているか否かを判定する(S100)。変更テーブル252が既に作成されている場合(S100:Yes)、通信装置20は、本フローチャートに示す変更テーブル252の作成処理を終了する。 First, the creation unit 26 refers to the holding unit 25 and determines whether or not the change table 252 is already created by determining whether or not the change table 252 is held in the holding unit 25 ( S100). If the change table 252 has already been created (S100: Yes), the communication device 20 ends the creation process of the change table 252 shown in this flowchart.
 一方、変更テーブル252が作成されていない場合(S100:No)、作成部26は、保持部25内の情報テーブル253を参照し、自装置の順番および通信装置20の総数の値を取得する(S101)。そして、作成部26は、保持部25内の分割テーブル251を参照して、情報テーブル253から取得した通信装置20の総数が含まれる総数の範囲を特定し、特定した総数の範囲に対応付けられている分割数を特定する(S102)。 On the other hand, when the change table 252 is not created (S100: No), the creation unit 26 refers to the information table 253 in the holding unit 25 and acquires the order of the own device and the total number of the communication devices 20 ( S101). Then, the creation unit 26 refers to the division table 251 in the holding unit 25, identifies a total range including the total number of communication devices 20 acquired from the information table 253, and associates the range with the identified total range. The number of divisions is specified (S102).
 次に、作成部26は、情報テーブル253から取得した通信装置20の総数を、特定した分割数に対応する複数のグループに分割する(S103)。そして、作成部26は、各グループにグループ番号を割り当て、各グループに属する通信装置20の順番の範囲を特定する。そして、作成部26は、パターンテーブル250を参照して、各グループにいずれかのパターン番号を割り当てる(S104)。 Next, the creation unit 26 divides the total number of communication devices 20 acquired from the information table 253 into a plurality of groups corresponding to the specified number of divisions (S103). Then, the creating unit 26 assigns a group number to each group, and specifies the range of the order of the communication devices 20 belonging to each group. Then, the creating unit 26 refers to the pattern table 250 and assigns any pattern number to each group (S104).
 次に、作成部26は、分割テーブル251を参照して、情報テーブル253から取得した通信装置20の総数が含まれる総数の範囲に対応付けられたグループ毎の第2のオフセットを取得する。そして、作成部26は、総数、分割数、グループ番号、順番の範囲、パターン番号、および第2のオフセットを対応付けて変更テーブル252を作成する(S105)。そして、作成部26は、作成した変更テーブル252を保持部25に保存する(S106)。そして、通信装置20は、本フローチャートに示した変更テーブル252の作成処理を終了する。 Next, the creation unit 26 refers to the division table 251 and acquires the second offset for each group associated with the total number range including the total number of communication devices 20 acquired from the information table 253. Then, the creating unit 26 creates the change table 252 by associating the total number, the number of divisions, the group number, the order range, the pattern number, and the second offset (S105). Then, the creation unit 26 stores the created change table 252 in the holding unit 25 (S106). And the communication apparatus 20 complete | finishes the creation process of the change table 252 shown to this flowchart.
[通信管理処理]
 図10は、通信管理処理の一例を示すフローチャートである。通信装置20は、例えば起動時に、図10に示す通信管理処理を開始し、無線部21および送信部22によって実行されるBLE通信の監視を行う。
[Communication management processing]
FIG. 10 is a flowchart illustrating an example of the communication management process. For example, at the time of activation, the communication device 20 starts the communication management process illustrated in FIG. 10 and monitors the BLE communication executed by the wireless unit 21 and the transmission unit 22.
 まず、判定部23は、送信部22から送信要求を送信した旨が出力されたか否かを判定することにより、送信要求が送信されたか否かを判定する(S200)。送信要求が送信されていない場合(S200:No)、判定部23は、ステップS208に示す処理を実行する。 First, the determination unit 23 determines whether or not a transmission request has been transmitted by determining whether or not the transmission unit 22 has output that a transmission request has been transmitted (S200). When the transmission request is not transmitted (S200: No), the determination unit 23 executes the process shown in step S208.
 一方、送信要求が送信された場合(S200:Yes)、判定部23は、無線部21から出力された受信データを参照して、送信要求が送信されてから所定時間以内に、送信要求に対する肯定応答を受信したか否かを判定する(S201)。送信要求が送信されてから所定時間以内に、送信要求に対する肯定応答を受信しなかった場合(S201:No)、判定部23は、情報テーブル253に格納されている接続状態の値に、未接続を示す情報を書き込む(S203)。そして、判定部23は、再びステップS200に示した処理を実行する。 On the other hand, when the transmission request is transmitted (S200: Yes), the determination unit 23 refers to the reception data output from the wireless unit 21 and confirms the transmission request within a predetermined time after the transmission request is transmitted. It is determined whether a response has been received (S201). If the acknowledgment for the transmission request is not received within a predetermined time after the transmission request is transmitted (S201: No), the determination unit 23 sets the connection state value stored in the information table 253 to the unconnected state. Is written (S203). And the determination part 23 performs the process shown to step S200 again.
 一方、送信要求が送信されてから所定時間以内に、送信要求に対する肯定応答を受信した場合(S201:Yes)、判定部23は、保持部25内の情報テーブル253に格納されている接続状態の値に、接続中を示す情報を書き込む(S202)。そして、判定部23は、無線部21から出力された受信データを参照して、送信されたデータに対する肯定応答の受信の有無に基づいて、送信部22から通信装置12へ送信されるデータの通信速度を算出する。そして、判定部23は、算出した通信速度が所定値以上か否かを判定する(S204)。 On the other hand, when an affirmative response to the transmission request is received within a predetermined time after the transmission request is transmitted (S201: Yes), the determination unit 23 stores the connection state stored in the information table 253 in the holding unit 25. Information indicating that the connection is in progress is written in the value (S202). Then, the determination unit 23 refers to the reception data output from the wireless unit 21 and communicates data transmitted from the transmission unit 22 to the communication device 12 based on whether or not an acknowledgment is received for the transmitted data. Calculate the speed. Then, the determination unit 23 determines whether or not the calculated communication speed is equal to or higher than a predetermined value (S204).
 通信速度が所定値以上である場合(S204:Yes)、判定部23は、保持部25内の情報テーブル253に格納されている通信速度の値に、所定値以上を示す情報を書き込み(S205)、ステップS207に示す処理を実行する。一方、通信速度が所定値未満である場合(S204:No)、判定部23は、保持部25内の情報テーブル253に格納されている通信速度の値に、所定値未満を示す情報を書き込む(S206)。 When the communication speed is equal to or higher than the predetermined value (S204: Yes), the determination unit 23 writes information indicating the predetermined value or higher to the communication speed value stored in the information table 253 in the holding unit 25 (S205). Then, the process shown in step S207 is executed. On the other hand, when the communication speed is less than the predetermined value (S204: No), the determination unit 23 writes information indicating less than the predetermined value to the communication speed value stored in the information table 253 in the holding unit 25 ( S206).
 次に、判定部23は、送信部22から通信終了が出力されたか否かを判定することにより、通信装置12との通信が終了したか否かを判定する(S207)。通信装置12との通信が終了していない場合(S207:No)、判定部23は、再びステップS204に示した処理を実行する。 Next, the determination unit 23 determines whether or not the communication with the communication device 12 is ended by determining whether or not the communication end is output from the transmission unit 22 (S207). When the communication with the communication device 12 has not ended (S207: No), the determination unit 23 executes the process shown in step S204 again.
 一方、通信装置12との通信が終了した場合(S207:Yes)、判定部23は、通信装置20の電源がオフになったか否かを判定する(S208)。通信装置20の電源がオフになっていない場合(S208:No)、判定部23は、再びステップS200に示した処理を実行する。一方、通信装置20の電源がオフになった場合(S208:Yes)、通信装置20は、本フローチャートに示した通信管理処理を終了する。 On the other hand, when the communication with the communication device 12 is completed (S207: Yes), the determination unit 23 determines whether or not the communication device 20 is powered off (S208). When the power of the communication device 20 is not turned off (S208: No), the determination unit 23 executes the process shown in step S200 again. On the other hand, when the power of the communication device 20 is turned off (S208: Yes), the communication device 20 ends the communication management process shown in this flowchart.
[無線部21の駆動期間の制御処理]
 図11は、無線部21の駆動期間の制御処理の一例を示すフローチャートである。通信装置20は、例えば起動時に、図11に示す無線部21の駆動期間の制御処理を開始する。なお、図11に示すフローチャートに先立って、保持部25内には、パターンテーブル250、分割テーブル251、変更テーブル252、および情報テーブル253が保持されている。
[Control processing of driving period of wireless unit 21]
FIG. 11 is a flowchart illustrating an example of a control process for the driving period of the wireless unit 21. For example, when the communication device 20 is activated, the communication device 20 starts a control process for the driving period of the wireless unit 21 shown in FIG. Prior to the flowchart shown in FIG. 11, a pattern table 250, a division table 251, a change table 252, and an information table 253 are held in the holding unit 25.
 まず、変更部24は、保持部25内の情報テーブル253を参照して、自装置の順番の情報を取得する。そして、変更部24は、保持部25内の変更テーブル252を参照して、自装置の順番が含まれる順番の範囲を特定し、特定した順番の範囲に対応付けられているグループ番号を自装置のグループ番号として取得する。そして、変更部24は、所定のデューティ比を送信部22に指示する(S300)。本実施例において、変更部24は、例えば100%のデューティ比を送信部22に指示する。 First, the changing unit 24 refers to the information table 253 in the holding unit 25 and acquires information on the order of the own device. Then, the changing unit 24 refers to the change table 252 in the holding unit 25, specifies the range of the order including the order of the own device, and sets the group number associated with the specified order range to the own device. Get as the group number. And the change part 24 instruct | indicates a predetermined | prescribed duty ratio to the transmission part 22 (S300). In the present embodiment, the changing unit 24 instructs the transmitting unit 22 to have a duty ratio of 100%, for example.
 次に、変更部24は、送信部22から送信要求を送信した旨が出力されたか否かを判定することにより、通信装置12へ送信要求が送信されたか否かを判定する(S301)。通信装置12へ送信要求が送信されていない場合(S301:No)、変更部24は、ステップS309に示す処理を実行する。 Next, the changing unit 24 determines whether or not a transmission request has been transmitted to the communication device 12 by determining whether or not the transmission unit 22 has output that a transmission request has been transmitted (S301). When the transmission request is not transmitted to the communication device 12 (S301: No), the changing unit 24 executes the process shown in step S309.
 一方、通信装置12へ送信要求が送信された場合(S301:Yes)、変更部24は、送信要求が送信されてから所定時間が経過した後に、情報テーブル253に格納されている接続状態の値を参照する。そして、変更部24は、接続状態の値が接続中を示す情報であるか否かを判定する(S302)。 On the other hand, when a transmission request is transmitted to the communication device 12 (S301: Yes), the changing unit 24 determines the connection state value stored in the information table 253 after a predetermined time has elapsed since the transmission request was transmitted. Refer to Then, the changing unit 24 determines whether or not the connection state value is information indicating that the connection is being established (S302).
 接続状態の値が未接続を示す情報である場合(S302:No)、変更部24は、変更テーブル252を参照して、自装置のグループ番号に対応付けられているパターン番号および第2のオフセットを取得する。そして、変更部24は、パターンテーブル250を参照して、変更テーブル252から取得したパターン番号に対応付けられているデューティ比および第1のオフセットの組合せの中で、いずれかの組合せを1つ選択する(S303)。 When the connection state value is information indicating no connection (S302: No), the changing unit 24 refers to the change table 252, and the pattern number and the second offset associated with the group number of the own device. To get. Then, the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. (S303).
 次に、変更部24は、選択されたデューティ比および第1のオフセットの組合せを、第2のオフセットと共に送信部22へ出力することにより、選択されたデューティ比および第1のオフセットに対応する期間内での送信を送信部22に指示する(S304)。そして、変更部24は、再びステップS301に示した処理を実行する。送信部22は、変更部24から指示されたデューティ比、第1のオフセット、および第2のオフセットに従って、無線部21の駆動および停止を制御し、無線部21が駆動している期間内に送信要求を送信する。 Next, the changing unit 24 outputs the combination of the selected duty ratio and the first offset to the transmitting unit 22 together with the second offset, so that the period corresponding to the selected duty ratio and the first offset. The transmission unit 22 is instructed to transmit the data (S304). And the change part 24 performs the process shown to step S301 again. The transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset instructed from the changing unit 24, and transmits within the period during which the radio unit 21 is driving. Send a request.
 一方、接続状態の値が接続中を示す情報である場合(S302:Yes)、変更部24は、情報テーブル253に格納されている通信速度の値を参照し、通信速度が所定値以上か否かを判定する(S305)。通信速度が所定値未満である場合(S305:No)、変更部24は、変更テーブル252を参照して、自装置のグループ番号に対応付けられているパターン番号および第2のオフセットを取得する。そして、変更部24は、パターンテーブル250を参照して、変更テーブル252から取得したパターン番号に対応付けられているデューティ比および第1のオフセットの組合せの中で、いずれかの組合せを1つ選択する(S306)。 On the other hand, when the value of the connection state is information indicating that the connection is being established (S302: Yes), the changing unit 24 refers to the value of the communication speed stored in the information table 253 and determines whether the communication speed is equal to or higher than a predetermined value. Is determined (S305). When the communication speed is less than the predetermined value (S305: No), the changing unit 24 refers to the change table 252 and acquires the pattern number and the second offset associated with the group number of the own device. Then, the change unit 24 refers to the pattern table 250 and selects one of the combinations of the duty ratio and the first offset associated with the pattern number acquired from the change table 252. (S306).
 次に、変更部24は、選択されたデューティ比および第1のオフセットの組合せを、第2のオフセットと共に送信部22へ出力することにより、選択されたデューティ比および第1のオフセットに対応する期間内での送信を送信部22に指示する(S307)。そして、変更部24は、ステップS308に示す処理を実行する。送信部22は、変更部24から指示されたデューティ比、第1のオフセット、および第2のオフセットに従って、無線部21の駆動および停止を制御し、無線部21が駆動している期間内にデータを送信する。 Next, the changing unit 24 outputs the combination of the selected duty ratio and the first offset to the transmitting unit 22 together with the second offset, so that the period corresponding to the selected duty ratio and the first offset. Is transmitted to the transmitter 22 (S307). And the change part 24 performs the process shown to step S308. The transmission unit 22 controls the driving and stopping of the radio unit 21 according to the duty ratio, the first offset, and the second offset instructed from the changing unit 24, and data is transmitted within the period during which the radio unit 21 is driving. Send.
 一方、通信速度が所定値以上である場合(S305:Yes)、変更部24は、送信部22から通信終了が出力されたか否かを判定することにより、通信装置12との通信が終了したか否かを判定する(S308)。通信装置12との通信が終了していない場合(S308:No)、変更部24は、再びステップS305に示した処理を実行する。 On the other hand, if the communication speed is equal to or higher than the predetermined value (S305: Yes), the changing unit 24 determines whether or not the communication with the communication device 12 is ended by determining whether or not the communication end is output from the transmitting unit 22. It is determined whether or not (S308). When the communication with the communication device 12 has not ended (S308: No), the changing unit 24 executes the process shown in step S305 again.
 一方、通信装置12との通信が終了した場合(S308:Yes)、変更部24は、通信装置20の電源がオフになったか否かを判定する(S309)。通信装置20の電源がオフになっていない場合(S309:No)、変更部24は、再びステップS301に示した処理を実行する。一方、通信装置20の電源がオフになった場合(S309:Yes)、通信装置20は、本フローチャートに示した無線部21の駆動期間の制御処理を終了する。 On the other hand, when the communication with the communication device 12 is completed (S308: Yes), the changing unit 24 determines whether or not the power of the communication device 20 is turned off (S309). When the power of the communication device 20 is not turned off (S309: No), the changing unit 24 executes the process shown in step S301 again. On the other hand, when the power supply of the communication device 20 is turned off (S309: Yes), the communication device 20 ends the control process for the driving period of the wireless unit 21 shown in this flowchart.
[ハードウェア]
 図12は、通信装置20のハードウェアの一例を示す図である。通信装置20は、例えば図12に示すように、無線通信モジュール200、プロセッサ201、RAM202、フラッシュROM203、およびアンテナ28を有する。
[hardware]
FIG. 12 is a diagram illustrating an example of hardware of the communication device 20. For example, as illustrated in FIG. 12, the communication device 20 includes a wireless communication module 200, a processor 201, a RAM 202, a flash ROM 203, and an antenna 28.
 送信部22、判定部23、変更部24、作成部26、および受付部27は、例えば、CPU(Central Processing Unit)やDSP(Digital Signal Processor)等のプロセッサ201によって実現される。無線部21は、例えば無線通信モジュール200によって実現される。保持部25は、例えばRAM(Random Access Memory)202およびフラッシュROM(Read Only Memory)203によって実現される。 The transmission unit 22, the determination unit 23, the change unit 24, the creation unit 26, and the reception unit 27 are realized by a processor 201 such as a CPU (Central Processing Unit) or a DSP (Digital Signal Processor). The wireless unit 21 is realized by the wireless communication module 200, for example. The holding unit 25 is realized by, for example, a RAM (Random Access Memory) 202 and a flash ROM (Read Only Memory) 203.
 フラッシュROM203には、通信プログラムが格納されている。プロセッサ201は、フラッシュROM203から通信プログラムを読み出して実行することにより、送信部22、判定部23、変更部24、作成部26、および受付部27の各機能を実現する。 The flash ROM 203 stores a communication program. The processor 201 reads out and executes the communication program from the flash ROM 203, thereby realizing the functions of the transmission unit 22, the determination unit 23, the change unit 24, the creation unit 26, and the reception unit 27.
 なお、フラッシュROM203内の通信プログラムは、必ずしも最初から全てがフラッシュROM203内に格納されていなくてもよい。例えば、通信装置20に挿入されるメモリカードなどの可搬型記録媒体にプログラムが記憶され、通信装置20がこのような可搬型記録媒体から処理に用いられる部分の通信プログラムを取得して実行するようにしてもよい。また、通信プログラムを記憶する他のコンピュータまたはサーバ装置などから、無線通信回線、公衆回線、インターネット、LAN、WANなどを介して、通信装置20が通信プログラムを取得して実行するようにしてもよい。 Note that not all communication programs in the flash ROM 203 are necessarily stored in the flash ROM 203 from the beginning. For example, the program is stored in a portable recording medium such as a memory card inserted into the communication device 20, and the communication device 20 acquires and executes a part of the communication program used for processing from the portable recording medium. It may be. In addition, the communication device 20 may acquire and execute the communication program from another computer or server device that stores the communication program via a wireless communication line, a public line, the Internet, a LAN, a WAN, or the like. .
 以上、実施例について説明した。上記説明から明らかなように、本実施例の通信システム10によれば、子機として動作する各通信装置20が、通信装置12へ送信した送信要求に対する肯定応答が所定時間以内に受信されなかった場合に、自発的に、無線部21を駆動する時間帯を変更する。これにより、子機として動作する複数の通信装置20が、同一の周波数を用いて1つの親機と通信を行う通信システム10において、各通信装置20から送信されたデータの衝突を抑制することが可能となる。 The embodiment has been described above. As is clear from the above description, according to the communication system 10 of this embodiment, each communication device 20 operating as a slave has not received an acknowledgment for a transmission request transmitted to the communication device 12 within a predetermined time. In this case, the time zone for driving the radio unit 21 is changed spontaneously. Thereby, in the communication system 10 in which a plurality of communication devices 20 operating as slave units communicate with one master unit using the same frequency, collision of data transmitted from each communication device 20 can be suppressed. It becomes possible.
 例えば、各通信装置20は、通信装置12へ送信した送信要求に対する肯定応答を所定時間以内に受信しなかった場合に、自発的に、無線部21を駆動させるデューティ比を変更する。これにより、各通信装置20は、自装置が送信した送信要求と他の通信装置20から送信された信号とが衝突する確率を低減することができる。 For example, each communication device 20 voluntarily changes the duty ratio for driving the radio unit 21 when an acknowledgment for the transmission request transmitted to the communication device 12 is not received within a predetermined time. Thereby, each communication apparatus 20 can reduce the probability that the transmission request transmitted from the own apparatus and a signal transmitted from another communication apparatus 20 collide.
 また、各通信装置20は、通信装置12へ送信した送信要求に対する肯定応答を所定時間以内に受信しなかった場合に、自発的に、無線部21の駆動を開始させるタイミングを制御する第1のオフセットを変更する。これにより、各通信装置20は、自装置の送信要求と他の通信装置20の信号とが衝突する確率を低減することができる。 In addition, each communication device 20 voluntarily controls the timing for starting the driving of the radio unit 21 when the acknowledgment to the transmission request transmitted to the communication device 12 is not received within a predetermined time. Change the offset. Thereby, each communication apparatus 20 can reduce the probability that the transmission request of the own apparatus and the signal of the other communication apparatus 20 collide.
 また、各通信装置20の保持部25内には、変更テーブル252が保持されている。これにより、各通信装置20の変更部24は、自装置が属するグループに割り当てられたデューティ比および第1のオフセットの組合せを容易に変更することができる。 Further, a change table 252 is held in the holding unit 25 of each communication device 20. Thereby, the changing unit 24 of each communication device 20 can easily change the combination of the duty ratio and the first offset assigned to the group to which the own device belongs.
 また、各通信装置20の保持部25内には、パターンテーブル250が保持されている。これにより、各通信装置20の変更部24は、デューティ比および第1のオフセットの組合せを容易に選択することができる。 Also, a pattern table 250 is held in the holding unit 25 of each communication device 20. Thereby, the changing unit 24 of each communication device 20 can easily select the combination of the duty ratio and the first offset.
 また、各グループの繰り返し周期の開始タイミングは、グループ毎に第2のオフセット分ずつオフセットしている。これにより、各グループに属する通信装置20は、自装置の送信要求と他のグループに属する通信装置20の信号とが衝突する確率を低減することができる。 Moreover, the start timing of the repetition period of each group is offset by a second offset for each group. Thereby, the communication apparatus 20 which belongs to each group can reduce the probability that the transmission request | requirement of an own apparatus and the signal of the communication apparatus 20 which belongs to another group will collide.
 また、各通信装置20は、作成部26および受付部27を有する。また、保持部25には、分割テーブル251が保持される。そして、作成部26は、受付部27が受け付けた通信装置20の総数および自装置の順番と、分割テーブル251とに基づいて、変更テーブル252を作成する。これにより、各通信装置20の製造業者等が、通信装置20に保持させる変更テーブル252を通信装置20毎に予め準備する手間を省くことができる。 Each communication device 20 includes a creation unit 26 and a reception unit 27. Further, the holding unit 25 holds a division table 251. Then, the creating unit 26 creates the change table 252 based on the total number of communication devices 20 received by the receiving unit 27 and the order of the own devices and the division table 251. Thereby, the manufacturer etc. of each communication apparatus 20 can save the effort which prepares beforehand the change table 252 which the communication apparatus 20 hold | maintains for every communication apparatus 20. FIG.
[その他]
 なお、開示の技術は、上記した実施例に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。例えば、上記した実施例において、各通信装置20は、起動時に変更テーブル252が保持部25内に保存されていなければ、変更テーブル252を作成するが、開示の技術はこれに限られない。例えば、保持部25内の変更テーブル252は、通信装置20とは別の装置によって予め通信装置20毎に作成され、通信装置20の出荷時等の所定のタイミングで、各通信装置20内の保持部25に書き込まれてもよい。
[Others]
The disclosed technology is not limited to the above-described embodiments, and various modifications can be made within the scope of the gist. For example, in the above-described embodiment, each communication device 20 creates the change table 252 if the change table 252 is not stored in the holding unit 25 at the time of activation, but the disclosed technique is not limited thereto. For example, the change table 252 in the holding unit 25 is created in advance for each communication device 20 by a device different from the communication device 20 and held in each communication device 20 at a predetermined timing such as when the communication device 20 is shipped. It may be written in the part 25.
 また、上記した実施例において、変更部24は、送信要求またはデータが送信されてから所定時間以内に通信装置12から肯定応答を受信しなかった場合に、デューティ比および第1のオフセットの組合せをランダムに選択するが、開示の技術はこれに限られない。例えば、変更部24は、デューティ比および第1のオフセットの組合せのうち、デューティ比が大きく、かつ、第1のオフセットが短い順に、デューティ比および第1のオフセットの組合せを順次選択するようにしてもよい。 In the above-described embodiment, the changing unit 24 sets the combination of the duty ratio and the first offset when no acknowledgment is received from the communication device 12 within a predetermined time after the transmission request or data is transmitted. Although it selects at random, the technique of an indication is not restricted to this. For example, the changing unit 24 sequentially selects a combination of the duty ratio and the first offset from the combination of the duty ratio and the first offset in descending order of the duty ratio and the first offset. Also good.
10 通信システム
20 通信装置
21 無線部
22 送信部
23 判定部
24 変更部
25 保持部
250 パターンテーブル
251 分割テーブル
252 変更テーブル
253 情報テーブル
26 作成部
27 受付部
28 アンテナ
DESCRIPTION OF SYMBOLS 10 Communication system 20 Communication apparatus 21 Radio | wireless part 22 Transmitter 23 Determination part 24 Change part 25 Holding part 250 Pattern table 251 Division | segmentation table 252 Change table 253 Information table 26 Creation part 27 Reception part 28 Antenna

Claims (8)

  1.  子機として動作する複数の通信装置が、同一の周波数を用いて1つの親機と通信を行う通信システムに用いられる前記通信装置において、
     データの送信可能期間内に、前記親機へ送信要求を送信する送信部と、
     前記送信部が前記送信要求を送信してから所定時間以内に、前記送信要求に対する肯定応答を受信したか否かを判定する判定部と、
     前記判定部による判定結果に基づいて、所定期間に対する前記送信可能期間の割合であるデューティ比を変更する変更部と、
     を有し、
     前記送信部は、
     前記変更部によって前記デューティ比が変更された場合、変更後の前記デューティ比に対応する前記送信可能期間内に、前記親機へ前記送信要求を送信することを特徴とする通信装置。
    In the communication device used in a communication system in which a plurality of communication devices that operate as slave units communicate with one master unit using the same frequency,
    A transmission unit that transmits a transmission request to the master unit within a data transmission possible period;
    A determination unit that determines whether or not an acknowledgment to the transmission request is received within a predetermined time after the transmission unit transmits the transmission request;
    A changing unit that changes a duty ratio that is a ratio of the transmittable period to a predetermined period based on a determination result by the determination unit;
    Have
    The transmitter is
    When the duty ratio is changed by the changing unit, the communication apparatus transmits the transmission request to the base unit within the transmittable period corresponding to the changed duty ratio.
  2.  前記変更部は、
     前記所定期間の開始タイミングから前記送信可能期間の開始タイミングまでの時間を示す第1のオフセットを、前記判定結果に基づいてさらに変更し、
     前記送信部は、
     前記所定期間の開始タイミングから、前記変更部によって変更された前記第1のオフセットが経過した後に開始する前記送信可能期間内に、前記親機へ前記送信要求を送信することを特徴とする請求項1に記載の通信装置。
    The changing unit is
    The first offset indicating the time from the start timing of the predetermined period to the start timing of the transmittable period is further changed based on the determination result,
    The transmitter is
    The transmission request is transmitted to the base unit within the transmittable period starting after the first offset changed by the changing unit has elapsed from the start timing of the predetermined period. The communication apparatus according to 1.
  3.  前記複数の通信装置が所定数のグループに分割され、それぞれのグループに、前記デューティ比および前記第1のオフセットの変更方法を示す情報が対応付けられた変更テーブルを保持する保持部をさらに有し、
     前記変更部は、
     前記変更テーブルを参照して、自装置が属するグループに対応付けられている前記変更方法を示す情報に従って、前記デューティ比および前記第1のオフセットを変更することを特徴とする請求項2に記載の通信装置。
    The plurality of communication devices are further divided into a predetermined number of groups, and each of the groups further includes a holding unit that holds a change table in which information indicating the change method of the duty ratio and the first offset is associated with each group. ,
    The changing unit is
    The duty ratio and the first offset are changed according to information indicating the change method associated with a group to which the device belongs, with reference to the change table. Communication device.
  4.  前記保持部は、
     パターン番号に対応付けて、前記デューティ比および前記第1のオフセットの組合せが複数格納されたパターンテーブルをさらに保持し、
     前記変更方法を示す情報は、
     前記パターンテーブルに格納されたいずれかのパターン番号であり、
     前記変更部は、
     自装置が属するグループに対応付けられている前記パターン番号を前記変更テーブルから抽出し、抽出したパターン番号に対応付けられている前記デューティ比および前記第1のオフセットの組み合わせのいずれかを前記パターンテーブル内で特定し、現在の前記デューティ比および前記第1のオフセットを、特定した前記デューティ比および前記第1のオフセットに変更することを特徴とする請求項3に記載の通信装置。
    The holding part is
    A pattern table that stores a plurality of combinations of the duty ratio and the first offset in association with a pattern number is further retained,
    Information indicating the change method is:
    Any pattern number stored in the pattern table;
    The changing unit is
    The pattern number associated with the group to which the own apparatus belongs is extracted from the change table, and any one of the combination of the duty ratio and the first offset associated with the extracted pattern number is the pattern table. 4. The communication device according to claim 3, wherein the current duty ratio and the first offset are changed to the specified duty ratio and the first offset. 5.
  5.  前記変更テーブルには、
     前記グループ毎に、基準となるタイミングからの前記所定期間の開始タイミングのオフセットを示す第2のオフセットがさらに対応付けられており、
     前記変更部は、
     前記変更テーブルを参照して、自装置が属するグループに対応付けられている前記第2のオフセットを特定し、特定した前記第2のオフセットを前記送信部に通知し、
     前記送信部は、
     前記変更部から通知された前記第2のオフセット分、前記所定期間の開始タイミングを前記基準となるタイミングからオフセットさせ、オフセットさせた前記所定期間の開始タイミングを基準として、前記変更部によって変更された前記デューティ比および第1のオフセットに対応する前記送信可能期間内に、前記親機へ前記送信要求を送信することを特徴とする請求項4に記載の通信装置。
    In the change table,
    A second offset indicating an offset of the start timing of the predetermined period from a reference timing is further associated with each group,
    The changing unit is
    Referring to the change table, identify the second offset associated with the group to which the device belongs, and notify the transmitter of the identified second offset,
    The transmitter is
    The start timing of the predetermined period is offset from the reference timing by the second offset notified from the change section, and the offset is changed by the change section with reference to the offset start timing of the predetermined period. The communication apparatus according to claim 4, wherein the transmission request is transmitted to the parent device within the transmittable period corresponding to the duty ratio and the first offset.
  6.  前記保持部は、
     前記複数の通信装置の総数の範囲に対応付けて、前記グループの分割数と、前記グループ毎の前記第2のオフセットとが格納された分割テーブルをさらに保持し
     前記通信装置は、
     前記複数の通信装置の総数と、前記複数の通信装置のそれぞれに所定の規則で順番が割り当てられた場合の自装置の順番とを受け付ける受付部と、
     前記分割テーブルを参照して、前記受付部が受け付けた前記総数が含まれる前記総数の範囲に対応付けられた分割数を特定し、前記複数の通信装置のそれぞれに割り当てられた順番に従って、前記複数の通信装置を、特定した分割数のグループに分割し、それぞれの前記グループに、前記パターンテーブルに格納されたいずれかのパターン番号を対応付けて前記変更テーブルを作成する作成部と、
     をさらに有することを特徴とする請求項5に記載の通信装置。
    The holding part is
    In association with the range of the total number of the plurality of communication devices, the communication device further holds a division table in which the number of divisions of the group and the second offset for each group are stored.
    A receiving unit that receives the total number of the plurality of communication devices and the order of the own device when the order is assigned to each of the plurality of communication devices according to a predetermined rule;
    Referring to the division table, the division number associated with the range of the total number including the total number received by the reception unit is specified, and the plurality of communication devices are determined according to an order assigned to each of the plurality of communication devices. The communication device is divided into groups of the specified number of divisions, and each of the groups is associated with any pattern number stored in the pattern table to create the change table;
    The communication apparatus according to claim 5, further comprising:
  7.  子機として動作する複数の通信装置が同一の周波数を用いて1つの親機と通信を行う通信システムに用いられる前記通信装置が、
     データの送信可能期間内に、前記親機へ送信要求を送信し、
     前記送信要求を送信してから所定時間以内に、前記送信要求に対する肯定応答を受信したか否かを判定し、
     前記判定の結果に基づいて、所定期間に対する前記送信可能期間の割合であるデューティ比を変更する
     処理を実行し、
     前記親機へ前記送信要求を送信する処理は、
     前記デューティ比が変更された場合、変更後の前記デューティ比に対応する前記送信可能期間内に、前記親機へ前記送信要求を送信する処理であることを特徴とする通信方法。
    The communication device used in a communication system in which a plurality of communication devices operating as slave units communicate with one master unit using the same frequency,
    Send a transmission request to the parent device within the data transmission period,
    Determining whether an acknowledgment for the transmission request is received within a predetermined time after transmitting the transmission request;
    Based on the result of the determination, a process of changing a duty ratio that is a ratio of the transmittable period to a predetermined period is executed,
    The process of transmitting the transmission request to the base unit is:
    When the duty ratio is changed, the communication method is a process of transmitting the transmission request to the base unit within the transmittable period corresponding to the changed duty ratio.
  8.  親機として動作する第1の通信装置と、
     子機として動作し、同一の周波数を用いて前記第1の通信装置と通信する複数の第2の通信装置と
    を有する通信システムにおいて、
     それぞれの前記第2の通信装置は、
     データの送信可能期間内に、前記第1の通信装置へ送信要求を送信する送信部と、
     前記送信部が前記送信要求を送信してから所定時間以内に、前記送信要求に対する肯定応答を受信したか否かを判定する判定部と、
     前記判定部による判定結果に基づいて、所定期間に対する前記送信可能期間の割合であるデューティ比を変更する変更部と、
     を有し、
     前記送信部は、
     前記変更部によって前記デューティ比が変更された場合、変更後の前記デューティ比に対応する前記送信可能期間内に、前記第1の通信装置へ前記送信要求を送信することを特徴とする通信システム。
    A first communication device that operates as a base unit;
    In a communication system having a plurality of second communication devices that operate as slave units and communicate with the first communication device using the same frequency,
    Each of the second communication devices is
    A transmission unit that transmits a transmission request to the first communication device within a data transmittable period;
    A determination unit that determines whether or not an acknowledgment to the transmission request is received within a predetermined time after the transmission unit transmits the transmission request;
    A changing unit that changes a duty ratio that is a ratio of the transmittable period to a predetermined period based on a determination result by the determination unit;
    Have
    The transmitter is
    When the duty ratio is changed by the changing unit, the transmission request is transmitted to the first communication device within the transmittable period corresponding to the changed duty ratio.
PCT/JP2015/067649 2015-06-18 2015-06-18 Communication device, communication method, and communication system WO2016203623A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/067649 WO2016203623A1 (en) 2015-06-18 2015-06-18 Communication device, communication method, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/067649 WO2016203623A1 (en) 2015-06-18 2015-06-18 Communication device, communication method, and communication system

Publications (1)

Publication Number Publication Date
WO2016203623A1 true WO2016203623A1 (en) 2016-12-22

Family

ID=57545722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/067649 WO2016203623A1 (en) 2015-06-18 2015-06-18 Communication device, communication method, and communication system

Country Status (1)

Country Link
WO (1) WO2016203623A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008537871A (en) * 2005-04-12 2008-09-25 ハネウェル・インターナショナル・インコーポレーテッド Wireless communication system with collision avoidance protocol
JP2011519536A (en) * 2008-04-23 2011-07-07 クゥアルコム・インコーポレイテッド Multi-level duty cycling
US20140094123A1 (en) * 2012-09-28 2014-04-03 Broadcom Corporation Managing connectivity between wireless devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008537871A (en) * 2005-04-12 2008-09-25 ハネウェル・インターナショナル・インコーポレーテッド Wireless communication system with collision avoidance protocol
JP2011519536A (en) * 2008-04-23 2011-07-07 クゥアルコム・インコーポレイテッド Multi-level duty cycling
US20140094123A1 (en) * 2012-09-28 2014-04-03 Broadcom Corporation Managing connectivity between wireless devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YUQUN ZHANG ET AL.: "Energy-Efficient Duty Cycle Assignment for Receiver-Based Convergecast in Wireless Sensor Networks", GLOBAL TELECOMMUNICATIONS CONFERENCE (GLOBECOM 2010, 2010, XP031845996, Retrieved from the Internet <URL:http://ieeexplore.ieee.org/stamp/stamp.jsp?tp= &arnumber=5683478> *

Similar Documents

Publication Publication Date Title
JP6010622B2 (en) Wireless data communication between master and slave devices
TWI610589B (en) Device-to-device (d2d) transmit behavior
US20070080788A1 (en) System and method for slaves in a master-slave wireless network to dynamically develop affinity to a time slot
JP2006129498A (en) Method for operating near-field radio communication system
KR20150140584A (en) Method and system for bidirectional communications via a bluetooth low energy advertise link
JP5152187B2 (en) Wireless communication system and power saving method thereof
JP2010081425A (en) Control apparatus and pairing method
US20240205922A1 (en) Efficient techniques for resource selection assistance reporting for nr rel-17 sidelink
US9942381B2 (en) Method and system for selecting a communication status for at least one mobile terminal
JP5864254B2 (en) Techniques to improve spatial reuse of wireless networks
WO2016203623A1 (en) Communication device, communication method, and communication system
JP5230249B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
US20100325237A1 (en) Communication apparatus and method for controlling the same
US8634780B2 (en) Terminal, method, and wireless communication for power saving
JP2011087295A (en) Method for allocating slot for emergency data, and method for transmitting emergency data by using the same
US10149139B2 (en) Connection control method by communication terminal
JP2008048056A (en) Device and system of communication
JP4218469B2 (en) Communication device
WO2015196698A1 (en) Paging method, system and device, and computer storage medium
TWI690186B (en) Computing apparatuses, computer-readable storage media and method to operate a device in a location with a plurality of devices
US20170094064A1 (en) Electronic apparatus and control method thereof
US10111051B2 (en) Communication apparatus, control method therefor, program, and storage medium
WO2010087496A1 (en) Network system
US10080179B2 (en) Method for verifying operation in wireless control system
KR101447747B1 (en) System and method to improve symmetry in data transfer in llc layer of peer to peer nfc device

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

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP