WO2018008075A1 - 通信ノード、通信システムおよびアップデート方法 - Google Patents

通信ノード、通信システムおよびアップデート方法 Download PDF

Info

Publication number
WO2018008075A1
WO2018008075A1 PCT/JP2016/069826 JP2016069826W WO2018008075A1 WO 2018008075 A1 WO2018008075 A1 WO 2018008075A1 JP 2016069826 W JP2016069826 W JP 2016069826W WO 2018008075 A1 WO2018008075 A1 WO 2018008075A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
child
communication
update file
child node
Prior art date
Application number
PCT/JP2016/069826
Other languages
English (en)
French (fr)
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/JP2016/069826 priority Critical patent/WO2018008075A1/ja
Priority to TW106114624A priority patent/TWI641280B/zh
Publication of WO2018008075A1 publication Critical patent/WO2018008075A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to a communication node, a communication system, and an update method for wirelessly communicating data.
  • a wireless sensor network system In a wireless sensor network system (WSN), a large number of communication nodes having sensors are arranged in a sensing target area, each communication node acquires sensing data, and a collection device collects data of the communication node by wireless communication.
  • the WSN performs landslide monitoring and structure monitoring, transfers data to a communication node (GW node) functioning as a gateway by multi-hop between the communication nodes, and the GW node transmits the data to the collection device.
  • GW node communication node
  • the communication node of WSN operates by power generation such as a harvester without receiving power supply from outside, the operating power is limited. Then, the operation time (measurement cycle) and sleep time are set to the communication node at a constant cycle, and when the operation time is reached, the communication node acquires data to be sensed, transmits the data to the GW node, and sleeps again. Intermittent operation to transition to.
  • each communication node when performing software update of the communication node, the intermittent operation is stopped, and the update file is transmitted from the collection device side to each communication node in a state of transition to the operation state.
  • each communication node When the update using the update file is completed, each communication node again collects data by intermittent operation.
  • JP 2009-159619 A Japanese Patent Laying-Open No. 2015-82792
  • the communication node is always in an operating state, the operation time is increased, the power consumption of the communication node is correspondingly increased, and the battery of the communication node is depleted.
  • an object of the present invention is to perform software update of a communication node while suppressing loss of sensing data and an increase in power consumption.
  • a plurality of distributed installations are performed within the sensing target area, and the sensing data at the installation location is transmitted to the collection device by multi-hop communication within a predetermined operating time, and then an intermittent operation that enters a sleep state is performed.
  • a gateway node serving as a gateway of the collection device among the communication nodes is configured to update the software for the child node within one operation time of the child node at the time of software update of another child node.
  • a plurality of child nodes respectively transmit determination information for determining whether or not the update file can be transmitted within one operation time of the plurality of child nodes on the communication path of the multi-hop communication.
  • a control unit is provided.
  • FIG. 1 is a diagram illustrating a configuration example of a communication system according to an embodiment.
  • FIG. 2 is a functional block diagram of a child node according to the embodiment.
  • FIG. 3 is a functional block diagram of the GW node according to the embodiment.
  • FIG. 4 is a diagram illustrating a hardware configuration example of the communication node according to the embodiment.
  • FIG. 5 is a timing chart illustrating software update processing of the communication system according to the embodiment.
  • FIG. 6 is a flowchart illustrating a processing example related to software update performed by the GW node according to the embodiment.
  • FIG. 7 is a flowchart illustrating a processing example related to software update performed by the child node according to the embodiment.
  • FIG. 8 is a timing chart showing software update processing of an existing communication system.
  • FIG. 1 is a diagram illustrating a configuration example of a communication system according to an embodiment.
  • a wireless sensor network system (WSN) 100 is shown as a communication system.
  • the WSN 100 includes a communication node 101 and a collection device 102.
  • a large number of communication nodes 101 having various sensors are distributed and arranged in the sensing area A.
  • the communication node 101 acquires sensing data at the installation location, and transmits and transfers the measured data to the adjacent communication node 101.
  • a single communication node 101 that is communicatively connected to a collection device (observation device) 102 that collects sensing data functions as a gateway (GW) node 101b serving as a gateway.
  • GW gateway
  • the communication node 101 will be described as a configuration example including the GW node 101b and the communication nodes 101 other than the GW node 101b as child nodes 101a.
  • the communication node 101 has limited power that can be used for wireless communication and has a short radio wave reach (for example, about several tens of centimeters). For this reason, each communication node 101 cannot directly communicate with the remote GW node 101b or the collection apparatus 102, and therefore multihop-transfers data via the adjacent communication node (child node) 101a.
  • the collection device 102 collects data received from the GW node 101b.
  • the collection device 102 has a function of performing predetermined statistical processing on the collected data and transmitting it to another management server. Further, the collection device 102 holds an update file of software update of the communication node (child node 101a), and transmits the update file to the communication node 101 (GW node 101b).
  • the GW node 101b transmits an update file to the child node 101a at an appropriate time in consideration of a predetermined cycle of the intermittent operation of each child node 101a at the time of software update of the child node 101a.
  • FIG. 2 is a functional block diagram of a child node according to the embodiment.
  • the internal function of the child node 101a among the communication nodes 101 is shown.
  • the child node 101a includes a sensor element 201, a control unit 202, a storage unit 203, a wireless unit 204, and a battery 205.
  • the sensor element 201 detects a predetermined feature amount at the installation location of the child node 101a.
  • a piezoelectric element that detects the pressure at the installation location an element that detects temperature, a photoelectric element that detects light, and the like can be used.
  • the control unit 202 performs overall control and data processing of the child node 101a.
  • the control unit 202 is a target for performing software update in the embodiment.
  • the control unit 202 includes a transfer determination unit 211, a sensing unit 212, a data transmission / reception unit 213, and a sleep unit 214.
  • the transfer determination unit 211 Based on the determination information (transfer determination value D and number of hops H) received from the GW node 101b, the transfer determination unit 211 stores an update file in another child within the current cycle (corresponding to one operation time of the intermittent operation). It is determined whether or not transmission (transfer) to the node 101a is possible. As a result of the determination, when it is determined that the data is not transferred in the current cycle, the determination is performed again in the next cycle.
  • the sensing unit 212 detects a feature amount (sensing data) for the sensor element 201.
  • the data transmission / reception unit 213 performs processing for transmitting the feature amount (sensing data) detected by the sensing unit 212 to the adjacent communication node 101 (child node 101a or GW node 101b).
  • a process of receiving an update file of software update and related data from an adjacent communication node 101 (child node 101a or GW node 101b) is performed.
  • the sleep unit 214 operates the control unit 202 intermittently with a predetermined cycle.
  • One cycle includes an operation time of a predetermined time and a sleep time of a predetermined time.
  • the storage unit 203 stores and holds various data necessary for the control operation of the control unit 202.
  • the storage unit 203 includes a hop count H storage region 221, a transfer determination value D storage region 222, a software update file storage region 223, and a displacement amount (sensing) output by the control unit 202 (sensing unit 212). Data) storage area 224.
  • the wireless unit 204 performs wireless communication with an adjacent communication node (child node 101a or GW node 101b) based on the control of the control unit 202 (data transmission / reception unit 213).
  • the wireless unit 204 wirelessly transmits the feature amount (sensing data) detected by the control unit 202 (sensing unit 212) to an adjacent communication node (child node 101a or GW node 101b) via an antenna.
  • the wireless unit 204 wirelessly receives an update file of software update and data related to the software update from the GW node 101b via an antenna.
  • the battery 205 supplies power for operating the entire child node 101a.
  • a harvester or the like provided in the child node 101a generates electric power
  • the battery 205 is a secondary battery that stores the generated electric power.
  • FIG. 3 is a functional block diagram of the GW node according to the embodiment.
  • the GW node 101b includes a communication unit 301, a control unit 302, and a storage unit 303.
  • a sensor element may be included, and a battery may be included when power is not supplied from the outside.
  • the communication unit 301 performs wireless communication with the adjacent communication node (child node 101a) and the collection device 102 based on the control of the control unit 302 (node control unit 313). Wired communication may be performed with the collection device 102.
  • the communication unit 301 receives a displacement amount (sensing data) from an adjacent communication node (child node 101a) via an antenna. Further, the communication unit 301 receives an update file of software update and data related to the software update from the collection device 102.
  • the control unit 302 is configured by, for example, a CPU or MPU, and controls the entire GW node 101b and performs data processing.
  • the control unit 302 includes a T2 calculation unit 311, a D calculation unit 312, and a node control unit 313.
  • the T2 calculation unit 311 calculates a time T2 during which the software update file can be transferred to the child node 101a based on a predetermined calculation formula.
  • T2 indicates a time during which an update file can be transferred to a plurality of child nodes 101a by multi-hop communication (time limit).
  • the D calculation unit 312 calculates, based on a predetermined calculation formula, a tree depth D that allows the update file of software update to be transferred to the child node 101a in one cycle. Tree depth D indicates how many times an update file can be transmitted per hop. The value of D is transmitted to each child node 101a, and the child node 101a further determines whether or not an update file can be transferred in this cycle to the child node 101a on the child side (transfer determination value). Use.
  • the node control unit 313 controls the start / stop of data collection for the child node 101a.
  • the node control unit 313 includes functions such as overall control of software update update processing for the child node 101a.
  • the storage unit 303 stores and holds various data necessary for the control operation of the control unit 302.
  • the storage unit 303 stores various parameters used for calculation by the T2 calculation unit 311 and the D calculation unit 312. For example, the storage area 321 of the operation time E of the child node 101a, the storage area 322 of the reception time R1 of the first data (1st message) from the child node 101a, and the reception time of the last data (Last message) from the child node 101a Rn storage area 323.
  • the storage unit 303 further includes a storage area 324 of a fixed communication time T1 per pop calculated by measurement or simulation in advance. Furthermore, the storage area 325 of the time T2 in which the update file of the software update calculated by the T2 calculation unit 311 can be transferred, and the storage area 326 of the tree depth D that can be transferred in one cycle calculated by the D calculation unit 312 are included. . Furthermore, a storage area 327 for feature amounts (sensing data) received from the child node 101a and a storage area 328 for software update update files are included.
  • FIG. 4 is a diagram illustrating a hardware configuration example of the communication node according to the embodiment. Both the child node 101a and the GW node 101b can have a common configuration.
  • the communication node 101 includes a sensor 401, an MCU (Micro Control Unit) 402, a timer 403, a ROM (Read Only Memory) 404, and a RAM (Random Access Memory) 405.
  • a nonvolatile memory 406 may also be included.
  • the communication node 101 includes a short-range wireless circuit 408, an antenna 409, a power management unit 410, a battery 411, and a harvester 412.
  • the communication node 101 also has an internal bus 407 that connects the sensor 401, MCU 402, timer 403, ROM 404, RAM 405, and nonvolatile memory 406.
  • dotted arrows indicate power supply lines
  • solid arrows indicate signal lines.
  • the sensor 401 detects a predetermined feature amount at the installation location.
  • a piezoelectric element that detects a pressure at an installation location an element that detects temperature, a photoelectric element that detects light, or the like can be used.
  • the antenna 409 transmits and receives radio waves for wireless communication with other communication nodes 101 (child node 101a and GW node 101b.
  • the short-range wireless circuit 408 is an RF (Radio Frequency).
  • the reception circuit 422 outputs a radio wave received via the antenna 409 as a reception signal, and the transmission circuit 421 transmits the transmission signal as a radio wave via the antenna 409.
  • the transmission power of the transmission circuit 421 is transmitted by the MCU 402. It may be changeable.
  • the MCU 402 is a control unit that performs overall control and data processing of the communication node 101 by loading a program stored in the ROM 404 into the RAM 405 and executing the program, for example.
  • the MCU 402 processes data detected by the sensor 401.
  • the timer 403 counts the time set by the MCU 402 or the like.
  • the ROM 404 is a storage unit that stores programs executed by the MCU 402.
  • the RAM 405 is a storage unit that stores temporary data for processing in the MCU 402.
  • the nonvolatile memory 406 is a writable memory, and is a storage unit that holds predetermined data that is written even when power supply is interrupted.
  • the writable nonvolatile memory 406 includes a flash memory.
  • the harvester 412 generates power based on the external environment at the location where the communication node 101 is installed, for example, energy changes such as light, vibration, temperature, and radio waves. In the example of FIG. 4, only one harvester 412 is provided. However, the invention is not limited to this, and a plurality of the same type of harvester 412 may be provided, or a plurality of different types of harvesters 412 may be provided. Good.
  • the harvester 412 may generate power according to the feature amount detected by the sensor 401, or may generate power according to the amount of displacement of the received radio wave received by the short-range wireless circuit 408.
  • the battery 411 stores the electric power generated by the harvester 412.
  • the communication node 101 is not provided with a primary battery, an external power source, or the like, and generates power required for operation inside the own device.
  • the power management unit 410 performs control to supply the power stored by the battery 411 to each unit of the communication node 101 as a driving power source.
  • the MCU 402 illustrated in FIG. 4 realizes the functions of the control units 202 and 302 illustrated in FIGS. 2 and 3, and the RAM 405 illustrated in FIG. 4 functions as the functions of the storage units 203 and 303 illustrated in FIGS. 2 and 3. Is realized.
  • the short-range wireless circuit 408 and the antenna 409 illustrated in FIG. 4 realize the functions of the wireless unit 204 illustrated in FIG. 2 and the communication unit 301 illustrated in FIG.
  • a battery 411 illustrated in FIG. 4 corresponds to the battery 205 illustrated in FIG.
  • the collection device 102 can be realized using a general-purpose computer device.
  • the collection device 102 includes a CPU (Central Processing Unit), a ROM, a RAM, a memory, an I / O (Input / Output) circuit, and the like.
  • the CPU controls the entire collection apparatus 102, executes a program such as a boot program stored in the ROM, and uses the RAM as a work area, thereby realizing the functions of the collection apparatus 102.
  • a wireless communication circuit and an antenna are connected to the I / O circuit, and wireless communication is performed with the GW node 101b.
  • a network I / F is connected to the I / O circuit, and the collection device 102 can communicate with an external server, a user terminal, and the like via the network I / F via a network such as the Internet. Further, wired communication may be performed with the GW node 101b via an I / O circuit.
  • the server collects sensing data from the collection device 102 and performs statistical processing and the like.
  • the collection device 102 may have a server function (such as statistical processing).
  • the collection device 102 may be provided with an input device such as a keyboard, a mouse, or a touch panel. As a result, the user can directly operate the collection device 102 via the input device. For example, an output device such as a display, a printer, or a buzzer may be provided in the collection device 102. Thereby, for example, when an abnormality occurs in the data, the collection device 102 can output an alarm to the user terminal or the server depending on the type of abnormality.
  • an input device such as a keyboard, a mouse, or a touch panel.
  • an output device such as a display, a printer, or a buzzer may be provided in the collection device 102.
  • the collection device 102 can output an alarm to the user terminal or the server depending on the type of abnormality.
  • the GW node 101b is updated to the child node 101a at an appropriate time corresponding to the operation state (intermittent operation) of the child node 101a. Send the file.
  • the child node 101a also transmits an update file to the child node 101a at an appropriate time corresponding to the operation state (intermittent operation) of the transfer destination child node 101a.
  • the GW node 101b performs software update of the plurality of child nodes 101a without stopping data collection and intermittent operation by the plurality of child nodes 101a. For this reason, the GW node 101b transmits the update file of the software update to the child node 101a using the gap time between the operation times in the intermittent operation.
  • the GW node 101b collects data (sensing data) from each child node 101a, and then transmits an update file to the child node 101a.
  • the update file is transmitted until the child node 101a starts sleep.
  • the child node 101a located on the one parent side of the child node 101a that has not been able to transmit the update file has the next cycle. Then, the update file is transmitted to the child node 101a on the child side.
  • the GW node 101b determines the transmission timing of update data according to the following implementation procedure. As an implementation procedure, the GW node 101b performs (1) the advance information acquisition phase, and (2) the operation phase.
  • the GW node 101b acquires the following information and stores it in the storage unit 303. 1. Communication time T1 required for one hop between child nodes 101a 2. Minimum operation time E of child node 101a per cycle (obtained from system parameters, etc.)
  • a software update event for example, reception of an update file from the collection device 102
  • the child node 101a is (A) If incremented H ⁇ D, the update file is transferred to the child node 101a on the child side together with the incremented H. (B) If incremented H ⁇ D, set H to 0 and transfer the update file in the next cycle.
  • FIG. 5 is a timing chart illustrating software update processing of the communication system according to the embodiment.
  • the horizontal axis represents time
  • the vertical axis represents one GW node 101b that performs multi-hop communication and three child nodes 101a (Nodes 1 to 3).
  • the child nodes 101a of the Nodes 1 to 3 each transmit sensing data within the operation time of the intermittent operation.
  • the sensing data of the child node 101a of Node3 is transferred in multihop to the GW node 101b via the Node2 and Node1 on the parent side.
  • the intermittent operation of each child node 101a includes an operation time, a stop section (stop time), and a margin.
  • sleep from a distant node (Node 3) and wake up (start up margin) from a nearby node (Node 1).
  • start up margin from a nearby node (Node 1).
  • stop section of the far node (Node 3) is long.
  • the GW node 101b (1) in the prior information acquisition phase, at a predetermined measurement period (tens of minutes to several hours), the GW node 101b first receives sensing data from the child node 101a and last time The received time Rn is recorded.
  • the GW node 101b can execute the update file transmission from the information of the times R1 and Rn, the communication time T1 per hop stored in advance, and the operation time E of the sensor node for each measurement period. Calculate Thereby, the GW node 101b calculates the depth D of the network tree that can transmit the update file in one measurement cycle.
  • the child node 101a (Node2) stores the update file, D, and H information, and the child node 101a (Node3 on the child side) ) (Time tk3).
  • the GW node 101b calculates the time T2 during which the update file shown in FIG. 5 can be transferred using, for example, the following parameters.
  • the GW node 101b obtains a time O at which the first child node 101a (Node 1) has transmitted sensing data by the following equation.
  • O R1-T1
  • the GW node 101b obtains the sleep start time W by the following formula.
  • the GW node 101b obtains a time T2 during which the update file of the software update can be transferred using the following formula.
  • the GW node 101b calculates the depth D of the tree transferred in one cycle shown in FIG. 5 based on, for example, modification of the following expression.
  • D ⁇ T1 ⁇ T2 D ⁇ T1 ⁇ Rn ⁇ R1 + T1-E
  • FIG. 6 is a flowchart illustrating a processing example related to software update performed by the GW node according to the embodiment. The processing content which the control part 302 of GW node 101b performs is shown.
  • step S601: Yes when the control unit 302 receives sensing data from each child node 101a (step S601: Yes), the time T2 during which the update file of the software update can be transferred and the depth D of the tree where the update file can be transferred in one cycle. Calculate information. And the information of these T2 and D is updated (step S602), and it transfers to step S603.
  • step S601: No the process proceeds to step S603.
  • step S603: Yes the control unit 302 determines whether sensing data has been received from all the child nodes 101a (step S604). When the software update is not performed (step S603: No), the process returns to step S601.
  • the control unit 302 Upon receiving the sensing data in step S604, the control unit 302 calculates an appropriate time for transmitting the update file to the child node 101a. As described above, the control unit 302 obtains the time R1 when the GW node 101b first received data, the time Rn when data was last received, the communication time T1 required for one hop, and the operation time E of the node in the measurement cycle. To do. Then, the control unit 302 calculates a time O at which the first child node 101a (Node 1) transmits the sensing data, a sleep start time W, and a time T2 at which the update file can be transferred. The control unit 302 calculates D and transmits it to the child node 101a.
  • FIG. 7 is a flowchart illustrating a processing example related to software update performed by the child node according to the embodiment. The processing content which the control part 202 of the child node 101a performs is shown.
  • control unit 202 determines whether the activation time has been reached in the intermittent operation of a predetermined cycle (step S701: No loop). When the activation time is reached (step S701: Yes), the control unit 202 returns from the sleep state and enters an operation state (step S701: No). Step S702).
  • step S703: (1) when the control unit 202 determines that (1) the data transmission time of the sensing data has come (step S703: (1)), the control unit 202 transmits the sensing data to the child node 101a (or GW node 101b) on the parent side ( Step S704) and the process proceeds to Step S706. Further, (2) when receiving data from the child node 101a on the child side (step S703: (2)), the received sensing data is transferred to the parent child node 101a (step S705), and the process proceeds to step S706. In cases other than (1) and (2) above (step S703: No), the processing in step S703 is continued.
  • step S706 the control unit 202 determines whether reception of sensing data of all the child nodes 101a is completed (step S706). If reception is complete (step S706: Yes), the process proceeds to step S707. If reception is not complete (step S706: No), the process returns to step S703.
  • step S707 the control unit 202 determines whether or not the transmission of the sensing data of its own child node 101a is completed (step S707). If the transmission is complete (step S707: Yes), the process proceeds to step S708. If the transmission is not complete (step S707: No), the process returns to step S703.
  • step S708 the control unit 202 (1) Update file of software update from parent child node 101a (or GW node 101b), time T2 at which update file can be transferred within one operation time, hop count H, transfer determination The reception of information of value D is determined (step S708: (1)).
  • the control unit 202 updates (increments) the hop count H (step S709).
  • control unit 202 compares the updated number of hops H with the received transfer determination value D. If H ⁇ D (step S710: Yes), the control unit 202 stores the update file, H, and D information on the child side. The data is transmitted to the child node 101a (step S711), and the process returns to step S701.
  • step S707: Yes the control unit 202 stores (2) each information of the update file, H, and D in the storage unit 203.
  • Step S708: (2) the control unit 202 transmits the update file, H, and D information to the child node 101a on the child side (step S711).
  • the control unit 202 (3) when the sleep start time is reached (step S708 (3)), shifts to the sleep mode until the next activation time (step S713), and returns to the process of step S701.
  • the control unit 302 of the GW node 101b executes the process shown in FIG. 6, and the control unit 202 of each child node 101a executes the process shown in FIG.
  • an update file for software update for software executed by the control unit 202 of the plurality of child nodes 101a can be transmitted at an appropriate time without stopping the data collection by the plurality of child nodes 101a due to the intermittent operation.
  • the GW node 101b calculates an operation time during which the update file can be transmitted based on the reception state of the sensing data from the child node 101a and the system parameters, and transmits the update file to the child node 101a. At this time, the GW node 101b transmits the hop count H and the transfer determination value D to the child node 101a together with the update file. As a result, the child node 101a on the child side can easily calculate the time when the update file is transmitted to the child node 101a on the child side using the hop count H and the transfer determination value D, and cannot transmit in this cycle. The update file can be sent immediately in the next cycle.
  • FIG. 8 is a timing chart showing software update processing of an existing communication system. Similar to the embodiment, each of the child nodes (Node 1 to 3) performs an intermittent operation of a predetermined cycle including the operation time, sleep, and margin.
  • the GW node transmits a measurement stop control signal to the child node (Node 2), transmits an update file to the child node (Node 2), and then transmits a measurement restart control signal.
  • the child node since the update file of the software update is transmitted within the operating time, the measurement cycle is not shifted, and the child node can continue the intermittent operation with its own cycle. . Further, the child node can periodically transmit sensing data to the GW node, and data loss on the data collection side can be prevented.
  • the software update of the child node is possible without stopping the data collection of the sensing data and the intermittent operation of the node. Then, increase in power consumption of each child node can be prevented, battery consumption can be suppressed, battery depletion can be prevented, and sensing data loss can be prevented.
  • the software update method described in the present embodiment can be realized by executing a control program prepared in advance on a target device (child node) computer (processor such as MCU).
  • This control program is recorded on a computer-readable recording medium such as a magnetic disk, an optical disk, or a USB (Universal Serial Bus) flash memory, and is executed by being read from the recording medium by the computer.
  • the control program may be distributed via a network such as the Internet.
  • Wireless sensor network system DESCRIPTION OF SYMBOLS 101 Communication node 101a Child node 101b GW node 102 Collection apparatus 201 Sensor element 202,302 Control part 203,303 Storage part 204 Radio

Abstract

通信ノード(101)は、センシング対象の領域A内に複数分散設置され、所定の稼働時間内で設置箇所のセンシングデータをそれぞれマルチホップ通信により収集装置(102)に向けて送信した後、スリープ状態となる間欠動作を行う。通信ノード(101)のうち、収集装置(102)のゲートウェイとなるゲートウェイノード(101b)は、他の子ノード(101a)のソフトウェアアップデート時に、子ノード(101a)に対し、子ノード(101a)の1稼働時間内でソフトウェアアップデート用の更新ファイルを送信するとともに、マルチホップ通信の通信経路上の複数の子ノード(101a)の1稼働時間内で、子ノード(101a)がそれぞれ更新ファイルの送信可否を判断するための転送判断値(D)とホップ数(H)を送信する。

Description

通信ノード、通信システムおよびアップデート方法
 本発明は、データを無線通信する通信ノード、通信システムおよびアップデート方法に関する。
 ワイヤレスセンサネットワークシステム(WSN)では、センシング対象の領域にセンサを有する通信ノードを多数配置し、各通信ノードがセンシングデータを取得し、無線通信により収集装置が通信ノードのデータを収集する。例えば、WSNは、地すべり監視や構造物モニタリングを行い、通信ノード間のマルチホップでデータをゲートウェイとして機能する通信ノード(GWノード)まで転送し、GWノードが収集装置にデータを送信する。
 WSNの通信ノードのソフトウェアをアップデートする場合、多数の通信ノードを回収して行うことは難しい。このため、収集装置側から更新ファイルを各通信ノードに送信し、受信した通信ノード群が更新ファイルをアップデートする技術が用いられている(例えば、下記特許文献1,2参照。)。
 WSNの通信ノードは、外部から電力供給を受けずにハーベスタ等の発電により動作するため、動作電力が限られている。そして、通信ノードに一定周期で稼働時間(測定周期)とスリープ時間を設定し、稼働時間になると通信ノードがセンシング対象のデータを取得して、GWノードに向けてデータを送信し、再びスリープ状態に遷移する間欠動作を行う。
 そして、通信ノードのソフトウェアアップデートを実施する場合、間欠動作を停止し、動作状態に遷移させた状態で収集装置側から更新ファイルを各通信ノードに送信する。各通信ノードは、更新ファイルを用いたアップデートが終了すると、再び間欠動作によるデータ収集を行う。
特開2009-159619号公報 特開2015-82792号公報
 しかし、従来技術では、ソフトウェアアップデートを行う期間中は、通信ノードがデータ収集を停止して停止期間中のデータが欠損し、十分な精度のデータを収集できなくなる。
 また、ソフトウェアアップデートの期間分だけデータ収集の測定周期にずれが生じる。この際、ソフトウェアアップデートの期間中、通信ノードは常時動作状態となり、稼働時間が増大し、対応して通信ノードの消費電力が増加し、通信ノードのバッテリ枯渇を招く。
 一つの側面では、本発明は、センシングデータの欠損と消費電力増大を抑え、通信ノードのソフトウェアアップデートが行えることを目的とする。
 一つの態様では、センシング対象の領域内に複数分散設置され、所定の稼働時間内で設置箇所のセンシングデータをそれぞれマルチホップ通信により収集装置に向けて送信した後、スリープ状態となる間欠動作を行う通信ノードにおいて、前記通信ノードのうち、前記収集装置のゲートウェイとなるゲートウェイノードは、他の子ノードのソフトウェアアップデート時に、前記子ノードに対し、前記子ノードの1稼働時間内で前記ソフトウェアアップデート用の更新ファイルを送信するとともに、前記マルチホップ通信の通信経路上の複数の前記子ノードの1稼働時間内で、複数の前記子ノードがそれぞれ前記更新ファイルの送信可否を判断するための判断情報を送信する制御部を備える。
 一つの側面として、センシングデータの欠損と消費電力増大を抑え、通信ノードのソフトウェアアップデートが行えるという効果を奏する。
図1は、実施の形態の通信システムの構成例を示す図である。 図2は、実施の形態の子ノードの機能ブロック図である。 図3は、実施の形態のGWノードの機能ブロック図である。 図4は、実施の形態の通信ノードのハードウェア構成例を示す図である。 図5は、実施の形態の通信システムのソフトウェアアップデートの処理を示すタイミングチャートである。 図6は、実施の形態のGWノードが行うソフトウェアアップデートにかかる処理例を示すフローチャートである。 図7は、実施の形態の子ノードが行うソフトウェアアップデートにかかる処理例を示すフローチャートである。 図8は、既存の通信システムのソフトウェアアップデートの処理を示すタイミングチャートである。
(実施の形態)
 図1は、実施の形態の通信システムの構成例を示す図である。通信システムとして、ワイヤレスセンサネットワークシステム(WSN)100を示す。WSN100は、通信ノード101と、収集装置102と、を含む。
 センシング対象の領域Aには、各種センサを有する通信ノード101が多数、分布配置される。通信ノード101は、設置箇所でのセンシングデータを取得し、隣接する通信ノード101に測定したデータを送信転送する。
 通信ノード101間では、図中矢印で示す転送経路のマルチホップ通信によりデータが転送される。そして、転送経路上において、センシングデータを収集する収集装置(観測装置)102に通信接続される単一の通信ノード101がゲートウェイとなるゲートウェイ(GW)ノード101bとして機能し、収集装置102にデータを送信する。以下の説明では、通信ノード101について、GWノード101bと、GWノード101b以外の通信ノード101を子ノード101aと、からなる構成例で説明する。
 通信ノード101は、無線通信に使用できる電力が限られ、電波到達距離が短い(例えば、数十cm程度)。このため、各通信ノード101は、離れているGWノード101bや収集装置102と直接通信ができないため、隣接する通信ノード(子ノード)101aを介してデータをマルチホップ転送する。
 収集装置102は、GWノード101bから受信したデータを収集する。収集装置102は、収集したデータに対する所定の統計処理を行い、他の管理サーバに送信する機能を有する。また、収集装置102は、通信ノード(子ノード101a)のソフトウェアアップデートの更新ファイルを保持し、更新ファイルを通信ノード101(GWノード101b)に送信する。GWノード101bは、子ノード101aのソフトウェアアップデート時に、各子ノード101aの間欠動作の所定周期を鑑み、適切な時期に子ノード101aに対して更新ファイルを送信する。
 図2は、実施の形態の子ノードの機能ブロック図である。通信ノード101のうち、子ノード101aの内部機能を示す。子ノード101aは、センサ素子201と、制御部202と、記憶部203と、無線部204と、バッテリ205と、を含む。
 センサ素子201は、子ノード101aの設置箇所における所定の特徴量を検出する。センサ素子201は、例えば、設置箇所の圧力を検出する圧電素子や、温度を検出する素子、光を検出する光電素子などを用いることができる。
 制御部202は、子ノード101aの全体の制御やデータ処理を行う。この制御部202は、実施の形態におけるソフトウェアアップデートを行う対象である。制御部202は、転送判定部211と、センシング部212と、データ送受信部213と、スリープ部214と、を含む。
 転送判定部211は、GWノード101bから受信した判断情報(転送判断値Dとホップ数H)に基づき、今回の1周期(上記間欠動作の1稼働時間に相当)内に更新ファイルを他の子ノード101aに送信(転送)できるか否かを判定する。なお、判定の結果、今回の周期で転送しないと判定したときには、次の周期で再度判定を行う。
 センシング部212は、センサ素子201に対する特徴量(センシングデータ)の検出を行う。データ送受信部213は、センシング部212により検出した特徴量(センシングデータ)を隣接する通信ノード101(子ノード101aまたはGWノード101b)に送信する処理を行う。また、隣接する通信ノード101(子ノード101aまたはGWノード101b)からソフトウェアアップデートの更新ファイル、および関連するデータを受信する処理を行う。
 スリープ部214は、所定の周期を有して制御部202を間欠動作させる。1周期は所定時間の稼働時間と、所定時間のスリープ時間とを含む。
 記憶部203は、制御部202の制御動作に必要な各種データを記憶保持する。記憶部203は、ホップ数Hの記憶領域221と、転送判断値Dの記憶領域222と、ソフトウェアアップデートの更新ファイルの記憶領域223と、制御部202(センシング部212)が出力する変位量(センシングデータ)の記憶領域224と、を含む。
 無線部204は、制御部202(データ送受信部213)の制御に基づき、隣接する通信ノード(子ノード101aまたはGWノード101b)との間で無線通信を行う。この無線部204は、制御部202(センシング部212)により検出した特徴量(センシングデータ)を隣接する通信ノード(子ノード101aまたはGWノード101b)にアンテナを介して無線送信する。また、無線部204は、GWノード101bからソフトウェアアップデートの更新ファイル、およびソフトウェアアップデートに関連するデータをアンテナを介して無線受信する。
 バッテリ205は、子ノード101a全体を動作するための電源を供給する。後述するが、子ノード101aに設けられるハーベスタ等が電力を生成し、バッテリ205は、この生成された電力を蓄電する2次電池である。
 図3は、実施の形態のGWノードの機能ブロック図である。通信ノード101のうち、GWノード101bの内部機能を示す。GWノード101bは、通信部301と、制御部302と、記憶部303と、を含む。このほか、子ノード101aと同様に、センサ素子を含んでもよく、また、外部から電力供給を受けない場合にはバッテリを含んでもよい。
 通信部301は、制御部302(ノード制御部313)の制御に基づき、隣接する通信ノード(子ノード101a)、および収集装置102との間で無線通信を行う。収集装置102との間は、有線通信を行ってもよい。
 通信部301は、隣接する通信ノード(子ノード101a)からアンテナを介して変位量(センシングデータ)を受信する。また、通信部301は、収集装置102からソフトウェアアップデートの更新ファイル、およびソフトウェアアップデートに関連するデータを受信する。
 制御部302は、例えばCPUやMPUにより構成され、GWノード101b全体の制御やデータ処理を行う。制御部302は、T2計算部311と、D計算部312と、ノード制御部313とを含む。
 T2計算部311は、子ノード101aに対してソフトウェアアップデートの更新ファイルを転送できる時間T2を所定の算出式に基づき算出する。T2は、マルチホップ通信により複数の子ノード101aに対し更新ファイルを転送可能な時間(制限時間)を示す。
 D計算部312は、子ノード101aに対してソフトウェアアップデートの更新ファイルを上記の1周期で転送できる木の深さDを所定の算出式に基づき算出する。木の深さDは、1ホップあたり何回更新ファイルを送信できるかを示す。このDの値は、各子ノード101aに送信され、子ノード101aは、さらに子側の子ノード101aに対し今回の周期で更新ファイルを転送できるか否かを判断する値(転送判断値)として用いる。
 ノード制御部313は、子ノード101aに対してデータ収集の開始/停止を制御する。また、ノード制御部313は、子ノード101aに対するソフトウェアアップデートの更新処理を統括制御する等の機能を含む。
 記憶部303は、制御部302の制御動作に必要な各種データを記憶保持する。記憶部303は、T2計算部311およびD計算部312の計算に用いる各種パラメータを記憶する。例えば、子ノード101aの稼働時間Eの記憶領域321と、子ノード101aから最初のデータ(1stメッセージ)の受信時刻R1の記憶領域322と、子ノード101aから最後のデータ(Lastメッセージ)の受信時刻Rnの記憶領域323と、を含む。
 記憶部303は、さらに、あらかじめの計測やシミュレーション等で算出した1ポップあたりの固定の通信時間T1の記憶領域324と、を含む。さらに、T2計算部311が計算したソフトウェアアップデートの更新ファイルを転送できる時間T2の記憶領域325と、D計算部312が算出した1周期で転送できる木の深さDの記憶領域326と、を含む。さらに、子ノード101aから受信した特徴量(センシングデータ)の記憶領域327と、ソフトウェアアップデートの更新ファイルの記憶領域328と、を含む。
 図4は、実施の形態の通信ノードのハードウェア構成例を示す図である。子ノード101aと、GWノード101bのいずれも共通した構成とすることができる。通信ノード101は、センサ401と、MCU(Micro Control Unit)402と、タイマ403と、ROM(Read Only Memory)404と、RAM(Random Access Memory)405と、を含む。また、不揮発メモリ406を含んでもよい。
 また、通信ノード101は、近距離無線回路408と、アンテナ409と、電源管理ユニット410と、バッテリ411と、ハーベスタ412と、を含む。また、通信ノード101は、センサ401と、MCU402と、タイマ403と、ROM404と、RAM405と、不揮発メモリ406と、を接続する内部バス407を有する。図4中、点線の矢印は電源線を示し、実線の矢印は信号線を示す。
 センサ401は、設置箇所における所定の特徴量を検出する。センサ401は、例えば、設置箇所の圧力を検出する圧電素子や、温度を検出する素子、光を検出する光電素子などを用いることができる。アンテナ409は、他の通信ノード101(子ノード101aおよびGWノード101bと無線通信する電波を送受信する。例えば、近距離無線回路408は、RF(Radio Frequency)である。近距離無線回路408は、アンテナ409を介して受信した無線電波を受信信号として出力する受信回路422と、送信信号を無線電波としてアンテナ409を介して送信する送信回路421と、を有する。送信回路421の送信電力はMCU402によって変更可能としてもよい。
 MCU402は、例えばROM404に記憶されたプログラムをRAM405にロードして実行することにより、通信ノード101の全体の制御やデータ処理を行う制御部である。例えば、MCU402は、センサ401が検出したデータを処理する。タイマ403は、例えば、MCU402などによって設定された時間をカウントする。
 ROM404は、MCU402が実行するプログラムなどを格納する記憶部である。RAM405は、MCU402における処理の一時データを格納する記憶部である。不揮発メモリ406は、書き込み可能なメモリであって、電力供給が途絶えたときなどにおいても書き込まれた所定のデータを保持する記憶部である。例えば、書き込み可能な不揮発メモリ406としては、フラッシュメモリが挙げられる。
 ハーベスタ412は、通信ノード101の設置箇所における外部環境、例えば、光、振動、温度、無線電波などのエネルギー変化に基づき発電を行う。図4の例では、ハーベスタ412が一つだけ設けられているが、これに限らず、同一種類のハーベスタ412が複数設けられていてもよいし、異なる種類のハーベスタ412が複数設けられていてもよい。ハーベスタ412は、センサ401によって検出された特徴量に応じて発電を行ってもよいし、近距離無線回路408によって受信された受信電波の変位量に応じて発電を行ってもよい。バッテリ411は、ハーベスタ412により発電された電力を蓄える。すなわち、通信ノード101は、一次電池や外部電源などが設けられず、動作に要する電力を自装置の内部で生成する。電源管理ユニット410は、バッテリ411によって蓄えられた電力を、通信ノード101の各部に駆動電源として供給する制御を行う。
 図4に記載のセンサ401は、図2に記載のセンサ素子201の機能を実現する。図4に記載のMCU402は、図2,図3に記載の制御部202,302の機能を実現し、図4に記載のRAM405は、図2,図3に記載の記憶部203,303の機能を実現する。図4に記載の近距離無線回路408とアンテナ409は、図2に記載の無線部204および図3に記載の通信部301の機能を実現する。図4に記載のバッテリ411は、図2に記載のバッテリ205に相当する。
 ここで、子ノード101a、GWノード101bのいずれについても、既存のハードウェア構成を変更することなく、MCUが実行するプログラムの一部を追加するのみで、実施の形態の子ノード101a、GWノード101bの機能を実現できる。
 また、不図示であるが、収集装置102は、汎用のコンピュータ装置を用いて実現できる。この収集装置102は、CPU(Central Processing Unit)と、ROMと、RAMと、メモリと、I/O(Input/Output)回路、等を含む。CPUは、収集装置102の全体の制御を司り、ROMに格納されたブートプログラムなどのプログラムを実行し、RAMをワークエリアとして使用することで、収集装置102の機能を実現できる。
 また、I/O回路には、無線通信回路やアンテナが接続され、GWノード101bと無線通信する。また、I/O回路にはネットワークI/Fが接続され、収集装置102は、ネットワークI/Fからインターネットなどのネットワークを介して外部のサーバや利用者端末等と通信を行うことができる。また、I/O回路を介して、GWノード101bと有線通信を行ってもよい。サーバは、収集装置102からセンシングデータを収集し統計処理等を行う。収集装置102がサーバの機能(統計処理等)を有してもよい。
 また、収集装置102は、キーボード、マウス、タッチパネルなどの入力装置を設けてもよい。これにより、利用者が入力装置を介して収集装置102を直接操作することが可能となる。また、例えば、ディスプレイ、プリンタ、ブザーなどの出力装置を収集装置102に設けてもよい。これにより、例えば、データに異常が発生した場合、異常の種類によっては収集装置102が利用者端末やサーバに警報を出力できる。
(実施の形態のソフトウェアアップデート手順の概要)
 実施の形態では、GWノード101bは、収集装置102等から子ノード101aのソフトウェアアップデートの更新ファイルを受信すると、子ノード101aの動作状態(間欠動作)に対応した適切な時期に子ノード101aに更新ファイルを送信する。また、子ノード101aも転送先の子ノード101aの動作状態(間欠動作)に対応した適切な時期に、子ノード101aに更新ファイルを送信する。
 GWノード101bは、複数の子ノード101aによるデータ収集および間欠動作を停止させずに、複数の子ノード101aのソフトウェアアップデートを実施する。このため、GWノード101bは、間欠動作内の稼働時間の間の隙間時間を用いて、ソフトウェアアップデートの更新ファイルを子ノード101aに送信する。
 この際、GWノード101bは、各子ノード101aからデータ(センシングデータ)を収集した後、子ノード101aに対して更新ファイルを送信する。この更新ファイルの送信は、子ノード101aがスリープを開始するまでに実施する。
 ここで、全ての子ノード101aに更新ファイルを送信(転送)できなかった場合には、更新ファイルを送信できなかった子ノード101aの一つ親側に位置している子ノード101aが次の周期で子側の子ノード101aに対し更新ファイルの送信を行う。
(GWノードおよび子ノードの更新データの送信時期)
 より具体的には、GWノード101bは、下記の実施手順に従い更新データの送信時期を決定する。GWノード101bは、実施手順として、(1)事前情報取得フェーズの実施後、(2)運用フェーズを実施する。
(1)事前情報取得フェーズ
 通信システムの運用前にGWノード101bが下記情報を取得し、記憶部303に記憶しておく。
1.子ノード101a同士間の1ホップにかかる通信時間T1
2.周期ごとの子ノード101aの最低稼働時間E(システムパラメータ等から取得)
(2)運用フェーズ
1.通信システムの運用中にGWノード101bは、各周期ごとに以下の情報を取得し、記憶部303に記憶する(具体的算出方法は後述)。
 GWノード101bが最初にデータ受信した時刻R1
 GWノード101bが最後にデータ受信した時刻Rn
 更新ファイル転送を実施できる時間T2
 1周期で転送できる木の深さD
2.通信システムの運用中にGWノード101bがソフトウェアアップデートのイベント(例えば収集装置102から更新ファイルの受信)を検出すると、以下のソフトウェアアップデートにかかる処理を実施する。
 子ノード101aからのデータ受信後、更新ファイルと、1周期で転送できる木の深さDと、ホップ数H(=0)の情報を子ノード101aに送信する。
 子ノード101a側実施手順としては、通信システムの運用中において、GWノード101b(あるいは親側の子ノード101a)から更新ファイルと、1周期で転送できる木の深さDと、ホップ数H(=0)の情報を受信すると、ホップ数Hをインクリメントし、Dと比較する。そして、子ノード101aは、
 (a)インクリメントしたH<Dであれば、インクリメントしたHとともに子側の子ノード101aに更新ファイルを転送する。
 (b)インクリメントしたH≧Dであれば、Hを0にし、次の周期で更新ファイルを転送する。
(ソフトウェアアップデートの処理例)
 図5は、実施の形態の通信システムのソフトウェアアップデートの処理を示すタイミングチャートである。図5の横軸は時間であり、縦軸にはマルチホップ通信を行う1台のGWノード101bと、3台の子ノード101a(Node1~3)を示す。
 Node1~3の子ノード101aは、それぞれ間欠動作の稼働時間内でセンシングデータの送信を行う。例えば、Node3の子ノード101aのセンシングデータは、親側のNode2,Node1を介してGWノード101bまでマルチホップで転送される。
 ここで、図5に示すように、各子ノード101aの間欠動作として、稼働時間と、停止区間(停止時間)と、マージンとを含む。GWノード101b(親側)からみて、遠いノード(Node3)からスリープし、近いノード(Node1)から起床(マージンの起動)する。また、GWノード101b(親側)からみて、遠いノード(Node3)の停止区間が長い。
 GWノード101bは、(1)事前情報取得フェーズにおいて、所定の測定周期(数十分~数時間)ごとに、GWノード101bが最初に子ノード101a側からセンシングデータを受信した時刻R1と、最後に受信した時刻Rnを記録する。
 そして、GWノード101bは、この時刻R1,Rnの情報と、あらかじめ記憶している1ホップあたりの通信時間T1と、測定周期ごとのセンサノードの稼働時間Eより、アップデートファイル送信を実施できる時間T2を計算する。これにより、GWノード101bは、1測定周期で更新ファイルを送信できるネットワークツリーの深さDを計算する。
 次に、GWノード101bは、(2)運用フェーズにおいて、収集装置102からの更新ファイル受信等、ソフトウェアアップデートイベントを検出すると、更新ファイルと、Dと、ホップ数(H=0)の情報を子ノード101aに送信する(時期tk1)。
 親側から更新ファイルと、Dと、ホップ数(H=0)の情報を受信した子ノード101a(Node1)は、Hの情報を更新し、Dの情報と比較する。そして、子ノード101aは、H<Dである場合、更新ファイルと、更新したHとDの情報を直ぐに子側の子ノード101a(Node2)に送信する(時期tk2)。
 一方、H≧Dである場合、子ノード101a(Node2)は、Hを初期値(=0)に更新し、更新ファイルと、Dと、Hの情報を記憶し、今回の測定周期の動作を終了する。そして、次の測定周期になり、センシングデータの送受信が完了すると、子ノード101a(Node2)は更新ファイルと、Dと、Hの情報を保存している場合は、子側の子ノード101a(Node3)に送信する(時期tk3)。
 ここで、図5に示した更新ファイルを転送できる時間T2について、GWノード101bは、例えば、下記に示す各パラメータを用いて算出する。
 まず、GWノード101bは、最初の子ノード101a(Node1)がセンシングデータを送信した時刻Oを下記式により求める。
 O=R1-T1
 また、GWノード101bは、スリープ開始時刻Wを下記式により求める。
 W=O+E=R1-T1+E
 そして、GWノード101bは、ソフトウェアアップデートの更新ファイルを転送できる時間T2を下記式により求める。
 T2=Rn-W=Rn-{(R1-T1)+E}=Rn-R1+T1-E
 また、図5に示した1周期で転送する木の深さDについて、GWノード101bは、例えば、下記に示す式の変形に基づき算出する。
 D×T1<T2
 D×T1<Rn-R1+T1-E
 D<(Rn-R1+T1-E)/T1
Figure JPOXMLDOC01-appb-M000001
 図6は、実施の形態のGWノードが行うソフトウェアアップデートにかかる処理例を示すフローチャートである。GWノード101bの制御部302が実行する処理内容を示す。
 はじめに、制御部302は、各子ノード101aからセンシングデータを受信すると(ステップS601:Yes)、ソフトウェアアップデートの更新ファイルを転送できる時間T2と、更新ファイルを1周期で転送できる木の深さDの情報の計算を行う。そして、これらT2,Dの情報をアップデートし(ステップS602)、ステップS603に移行する。子ノード101aからセンシングデータを受信しない場合(ステップS601:No)、ステップS603に移行する。
 次に、制御部302は、子ノード101aのソフトウェアアップデートを実施するイベント時には(ステップS603:Yes)、全ての子ノード101aからセンシングデータを受信したか判断する(ステップS604)。ソフトウェアアップデートを実施しない場合には(ステップS603:No)、ステップS601の処理に戻る。
 そして、制御部302は、全ての子ノード101aからセンシングデータを受信する処理を行う(ステップS604:Noのループ)。そして、全ての子ノード101aからセンシングデータを受信すれば(ステップS604:Yes)、制御部302は、算出した適切な時期にT2とDとmH(=0)と更新ファイルの各情報を子ノード101aに送信し(ステップS605)、ステップS601の処理に戻る。
 ステップS604でのセンシングデータの受信により、制御部302は、更新ファイルを子ノード101aに送信する適切な時期を算出する。上述したように、制御部302は、GWノード101bが最初にデータを受信した時刻R1、最後にデータを受信した時刻Rn、1ホップに要する通信時間T1、測定周期におけるノードの稼働時間Eを取得する。そして、制御部302は、最初の子ノード101a(Node1)がセンシングデータを送信した時刻O、スリープ開始時刻W、更新ファイルを転送できる時間T2を算出する。また、制御部302は、Dを算出し、子ノード101aに送信する。
 図7は、実施の形態の子ノードが行うソフトウェアアップデートにかかる処理例を示すフローチャートである。子ノード101aの制御部202が実行する処理内容を示す。
 はじめに、制御部202は、所定周期の間欠動作において起動時刻になったか判断し(ステップS701:Noのループ)、起動時刻になると(ステップS701:Yes)、スリープ状態から復帰し動作状態となる(ステップS702)。
 次に、制御部202は、(1)センシングデータのデータ送信時刻になったと判断すると(ステップS703:(1))、親側の子ノード101a(もしくはGWノード101b)にセンシングデータを送信し(ステップS704)、ステップS706に移行する。また、(2)子側の子ノード101aからのデータ受信時には(ステップS703:(2))、親側の子ノード101aに受信したセンシングデータを転送し(ステップS705)、ステップS706に移行する。上記(1)、(2)以外の場合(ステップS703:No)、ステップS703の処理を継続する。
 ステップS706では、制御部202は、全ての子ノード101aのセンシングデータの受信が完了したか判断する(ステップS706)。そして、受信完了であれば(ステップS706:Yes)、ステップS707に移行し、受信完了でなければ(ステップS706:No)、ステップS703に戻る。
 ステップS707では、制御部202は、自己の子ノード101aのセンシングデータの送信が完了したかを判断する(ステップS707)。そして、送信完了であれば(ステップS707:Yes)、ステップS708に移行し、送信完了でなければ(ステップS707:No)、ステップS703に戻る。
 ステップS708では、制御部202は、親側の子ノード101a(もしくはGWノード101b)から(1)ソフトウェアアップデートの更新ファイル、1稼働時間内で更新ファイルを転送できる時間T2、ホップ数H、転送判断値Dの情報の受信を判断する(ステップS708:(1))。更新ファイルの受信時、制御部202は、ホップ数Hを更新(インクリメント)する(ステップS709)。
 そして、制御部202は、更新したホップ数Hと受信した転送判断値Dとを比較し、H<Dである場合(ステップS710:Yes)、更新ファイル、H、Dの各情報を子側の子ノード101aに送信し(ステップS711)、ステップS701の処理に戻る。
 また、制御部202は、H<Dでない場合は(ステップS710:No)、更新ファイル、D、H(=0)を記憶部203に保持し(ステップS712)、ステップS708の処理に戻る。
 また、制御部202は、子ノード101a(および自己の子ノード101a)のセンシングデータの送受信が完了した際(ステップS707:Yes)、(2)更新ファイル、H、Dの各情報を記憶部203に保持しているか判断する(ステップS708:(2))。この場合、制御部202は、更新ファイル、H、Dの各情報を子側の子ノード101aに送信する(ステップS711)。
 また、制御部202は、(3)スリープ開始時刻に達すると(ステップS708(3))、次回起動時刻までスリープモードに移行し(ステップS713)、ステップS701の処理に戻る。
 GWノード101bの制御部302が図6に示した処理を実行し、各子ノード101aの制御部202が図7に示した処理を実行する。これにより、複数の子ノード101aが間欠動作によりデータ収集を停止することなく、複数の子ノード101aの制御部202が実行するソフトウェアに対するソフトウェアアップデートのための更新ファイルを適切な時期に送信できるようになる。
 GWノード101bは、子ノード101aからのセンシングデータの受信状態と、システムパラメータにより、更新ファイルを送信できる稼働時間を算出し、更新ファイルを子ノード101aに送信する。この際、GWノード101bは、更新ファイルとともに、ホップ数H、転送判断値Dを子ノード101aに送信する。これにより、子側の子ノード101aは、ホップ数H、転送判断値Dを用いて、子側の子ノード101aに更新ファイルを送信する時期を簡単に算出でき、今回の周期で送信できなくても次回の周期で更新ファイルを直ちに送信できるようになる。
 図8は、既存の通信システムのソフトウェアアップデートの処理を示すタイミングチャートである。実施の形態同様に、各子ノード(Node1~3)は、稼働時間とスリープおよびマージンを含む所定周期の間欠動作を行う。
 既存技術では、子ノードのソフトウェアアップデートのために子ノードに更新ファイルを送信するには、センシングデータの送信を停止させる必要があった。例えば、GWノードが子ノード(Node2)に対して計測停止の制御信号を送信した後、子ノード(Node2)に更新ファイルを送信した後、計測再開の制御信号を送信する。
 これにより、更新ファイルの送信に対応して子ノード(Node2)の稼働時間が増大する。また、更新ファイルの送信時に計測が停止しデータの欠損が生じる。
 そして、更新ファイル(およびセンシングデータ)を転送する転送経路上の全ての子ノードの稼働時間が増大する。この際、転送経路上の全ての子ノードがスリープに遷移できなくなり、子ノードの消費電力が増加する。測定周期にずれが生じ、GWノードが子ノードから定期的なデータ収集を行えなくなる。
 上記問題は、子ノードのホップ数が多くなるほど顕著となり、稼働時間が対応して増大し、測定周期のずれの増大を招いた。
 これに対し、実施の形態によれば、ソフトウェアアップデートの更新ファイルは、稼働時間内で送信するため、測定周期のずれが生じることがなく、子ノードは自己に固有の周期で間欠動作を継続できる。また、子ノードは、定期的にGWノードに対してセンシングデータを送信でき、データ収集側におけるデータ欠損を防ぐことができる。
 すなわち、実施の形態によれば、センシングデータのデータ収集およびノードの間欠動作を停止することなく、子ノードのソフトウェアアップデートが可能になる。そして、各子ノードの消費電力の増大を防ぎ、バッテリ消費を抑えてバッテリ枯渇を防ぐことができ、また、センシングデータの欠損を防止できるようになる。
 なお、本実施の形態で説明したソフトウェアのアップデート方法は、あらかじめ用意された制御プログラムを対象となる機器(子ノード)のコンピュータ(MCU等のプロセッサ)で実行することにより実現することができる。本制御プログラムは、磁気ディスク、光ディスク、USB(Universal Serial Bus)フラッシュメモリなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。また、制御プログラムは、インターネット等のネットワークを介して配布してもよい。
 100 ワイヤレスセンサネットワークシステム(WSN)
 101 通信ノード
 101a 子ノード
 101b GWノード
 102 収集装置
 201 センサ素子
 202,302 制御部
 203,303 記憶部
 204 無線部
 205 バッテリ
 301 通信部
 402 MPU
 404 ROM
 405 RAM
 406 不揮発メモリ
 411 バッテリ
 412 ハーベスタ

Claims (14)

  1.  センシング対象の領域内に複数分散設置され、所定の稼働時間内で設置箇所のセンシングデータをそれぞれマルチホップ通信により収集装置に向けて送信した後、スリープ状態となる間欠動作を行う通信ノードにおいて、
     前記通信ノードのうち、前記収集装置のゲートウェイとなるゲートウェイノードは、他の子ノードのソフトウェアアップデート時に、前記子ノードに対し、前記子ノードの1稼働時間内で前記ソフトウェアアップデート用の更新ファイルを送信するとともに、前記マルチホップ通信の通信経路上の複数の前記子ノードの1稼働時間内で、複数の前記子ノードがそれぞれ前記更新ファイルの送信可否を判断するための判断情報を送信する制御部を備えたことを特徴とする通信ノード。
  2.  前記ゲートウェイノードの制御部は、
     複数の前記子ノードから受信した複数の前記センシングデータの受信期間と、前記稼働時間とに基づき、1稼働時間内で更新ファイルを転送できる時間を算出することを特徴とする請求項1に記載の通信ノード。
  3.  前記ゲートウェイノードの制御部は、
     複数の前記子ノードから送信される前記センシングデータの受信時刻を記録し、1ホップに要する通信時間と、予め設定された前記子ノードの稼働時間とに基づき、1稼働時間内で更新ファイルを転送できる時間と、前記1稼働時間内で更新ファイルを前記マルチホップ通信により転送可能なネットワークツリーの深さと、ホップ数とを算出し、算出結果を前記判断情報として、前記子ノードに送信することを特徴とする請求項1に記載の通信ノード。
  4.  前記ゲートウェイノードの制御部は、
     前記子ノードに固有の前記稼働時間および前記スリープ状態の期間を変更することなく、前記稼働時間内で前記センシングデータの受信の期間を差し引いた残りの期間内で前記更新ファイルを前記子ノードに送信することを特徴とする請求項1に記載の通信ノード。
  5.  前記子ノードは、
     前記更新ファイルの受信時に、前記判断情報に基づき、前記1稼働時間内で子側の前記子ノードに対する前記更新ファイルの送信の可否を判断し、送信可能時には、今回の周期で子側の前記子ノードに前記更新ファイルを送信し、送信不可能時には、次回の周期の1稼働時間内で子側の前記子ノードに前記更新ファイルを送信する制御部を備えたことを特徴とする請求項1に記載の通信ノード。
  6.  前記子ノードの制御部は、
     前記更新ファイルと共に受信した前記判断情報に含まれる、1稼働時間内で更新ファイルを転送できる時間と、前記1稼働時間内で更新ファイルを前記マルチホップ通信により転送可能なネットワークツリーの深さと、ホップ数とに基づき、前記1稼働時間内で子側の前記子ノードに対する前記更新ファイルの送信の可否を判断することを特徴とする請求項5に記載の通信ノード。
  7.  前記子ノードの制御部は、
     今回の周期の前記1稼働時間内で前記更新ファイルの送信可能時には、受信した前記ホップ数を更新して子側の前記子ノードに送信することを特徴とする請求項6に記載の通信ノード。
  8.  前記子ノードの制御部は、
     今回の周期の前記1稼働時間内で前記更新ファイルの送信不可能時には、前記更新ファイルを保持し、受信した前記ホップ数を更新し、次回の周期の前記1稼働時間内で前記更新したホップ数と、保持しておいた前記更新ファイルとを子側の前記子ノードに送信することを特徴とする請求項6に記載の通信ノード。
  9.  前記子ノードの制御部は、
     親側の前記子ノードから受信した前記ネットワークツリーの深さと、更新したホップ数とを比較し、
     前記ネットワークツリーの深さよりも更新した前記ホップ数の方が小さければ、今回の周期の前記1稼働時間中に前記更新ファイルと、前記ホップ数と、前記ネットワークツリーの深さの情報とを子側の前記子ノードに送信し、
     前記ネットワークツリーの深さよりも更新した前記ホップ数の方が大きければ、次回の周期の前記1稼働時間中に前記更新ファイルと、前記ホップ数と、前記ネットワークツリーの深さの情報とを送信することを特徴とする請求項6に記載の通信ノード。
  10.  前記通信ノードは、内蔵するハーベスタが生成する電力に基づき動作することを特徴とする請求項1~9のいずれか一つに記載の通信ノード。
  11.  センシング対象の領域内に複数分散設置され、所定の稼働時間内で設置箇所のセンシングデータをそれぞれマルチホップ通信により送信した後、スリープ状態となる間欠動作を行う通信ノードと、前記センシングデータを収集する収集装置と、を含む通信システムにおいて、
     前記通信ノードのうち、前記収集装置のゲートウェイとなるゲートウェイノードは、他の子ノードのソフトウェアアップデート時に、前記子ノードに対し、前記子ノードの1稼働時間内で前記ソフトウェアアップデート用の更新ファイルを送信するとともに、前記マルチホップ通信の通信経路上の複数の前記子ノードの1稼働時間内で、複数の前記子ノードがそれぞれ前記更新ファイルの送信可否を判断するための判断情報を送信する制御部を備え、
     前記子ノードは、前記更新ファイルの受信時に、前記判断情報に基づき、前記1稼働時間内で子側の前記子ノードに対する前記更新ファイルの送信の可否を判断し、送信可能時には、今回の周期で子側の前記子ノードに前記更新ファイルを送信し、送信不可能時には、次回の周期の1稼働時間内で子側の前記子ノードに前記更新ファイルを送信する制御部を備えたことを特徴とする通信システム。
  12.  前記収集装置は、記ゲートウェイノードに前記更新ファイルを送信し、
     前記ゲートウェイノードの制御部は、前記受信した更新ファイルに基づき、前記ソフトウェアアップデートを実行することを特徴とする請求項11に記載の通信システム。
  13.  センシング対象の領域内に複数分散設置され、所定の稼働時間内で設置箇所のセンシングデータをそれぞれマルチホップ通信により収集装置に向けて送信した後、スリープ状態となる間欠動作を行う通信ノードが実行するアップデート方法において、
     前記通信ノードのうち、前記収集装置のゲートウェイとなるゲートウェイノードは、他の子ノードのソフトウェアアップデート時に、前記子ノードに対し、前記子ノードの1稼働時間内で前記ソフトウェアアップデート用の更新ファイルを送信するとともに、前記マルチホップ通信の通信経路上の複数の前記子ノードの1稼働時間内で、複数の前記子ノードがそれぞれ前記更新ファイルの送信可否を判断するための判断情報を送信することを特徴とするアップデート方法。
  14.  前記子ノードは、
     前記更新ファイルの受信時に、前記判断情報に基づき、前記1稼働時間内で子側の前記子ノードに対する前記更新ファイルの送信の可否を判断し、送信可能時には、今回の周期で子側の前記子ノードに前記更新ファイルを送信し、送信不可能時には、次回の周期の1稼働時間内で子側の前記子ノードに前記更新ファイルを送信することを特徴とする請求項13に記載のアップデート方法。
PCT/JP2016/069826 2016-07-04 2016-07-04 通信ノード、通信システムおよびアップデート方法 WO2018008075A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2016/069826 WO2018008075A1 (ja) 2016-07-04 2016-07-04 通信ノード、通信システムおよびアップデート方法
TW106114624A TWI641280B (zh) 2016-07-04 2017-05-03 通信節點、通信系統及更新方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/069826 WO2018008075A1 (ja) 2016-07-04 2016-07-04 通信ノード、通信システムおよびアップデート方法

Publications (1)

Publication Number Publication Date
WO2018008075A1 true WO2018008075A1 (ja) 2018-01-11

Family

ID=60912533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/069826 WO2018008075A1 (ja) 2016-07-04 2016-07-04 通信ノード、通信システムおよびアップデート方法

Country Status (2)

Country Link
TW (1) TWI641280B (ja)
WO (1) WO2018008075A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009159619A (ja) * 2009-02-04 2009-07-16 Hitachi Ltd 無線機能付センサ
JP2015082792A (ja) * 2013-10-24 2015-04-27 パナソニックIpマネジメント株式会社 信号収集装置、定期信号送信装置及び信号収集システム
JP2015176234A (ja) * 2014-03-13 2015-10-05 富士電機株式会社 センサネットワークのソフトウェア配信システム、無線端末、ソフトウェア配信方法、および、プログラム

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753241B (zh) * 2008-12-10 2013-07-17 财团法人资讯工业策进会 网络同步方法与系统
CN103092735A (zh) * 2011-10-28 2013-05-08 英业达科技有限公司 节点状态更新方法
EP2866461B1 (en) * 2013-10-24 2018-09-12 Panasonic Intellectual Property Management Co., Ltd. Signal collecting apparatus, periodic signal transmitting apparatus and signal collecting system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009159619A (ja) * 2009-02-04 2009-07-16 Hitachi Ltd 無線機能付センサ
JP2015082792A (ja) * 2013-10-24 2015-04-27 パナソニックIpマネジメント株式会社 信号収集装置、定期信号送信装置及び信号収集システム
JP2015176234A (ja) * 2014-03-13 2015-10-05 富士電機株式会社 センサネットワークのソフトウェア配信システム、無線端末、ソフトウェア配信方法、および、プログラム

Also Published As

Publication number Publication date
TWI641280B (zh) 2018-11-11
TW201803396A (zh) 2018-01-16

Similar Documents

Publication Publication Date Title
KR101828726B1 (ko) 공조기 제어 시스템, 센서 기기 제어 방법 및 프로그램
US9942706B2 (en) System and method for beacon fleet management
US20180103346A1 (en) System and method for multi-beacon interaction and management
US10091748B2 (en) Communications node, system, and synchronizing method
JP5581356B2 (ja) 多点計測システムおよび時刻同期方法
US9936451B2 (en) Communication system for sensor networks
US20150000380A1 (en) Water leak sensor management method, water leak sensor performing the same and storage media storing the same
KR101178669B1 (ko) 모션 센싱을 이용한 usn 기반의 자산 추적 장치 및 방법
JP5774240B1 (ja) 通信装置、スマートメータおよび無線メッシュネットワーク
JP6358332B2 (ja) センサネットワークシステム
WO2017196883A1 (en) System and method for beacon fleet management
KR102296226B1 (ko) 사물인터넷 시스템 및 그 시스템의 센서 노드의 배터리 교체 방법
TW201819948A (zh) 信標
JP2008158794A (ja) 監視システム
JP6398359B2 (ja) メッシュ無線通信システム、無線通信方法、および、無線機
JP2012205108A (ja) 無線計測制御システムおよび無線計測制御方法
JP6533119B2 (ja) 観測システム、中継装置及び観測データ受信方法
WO2018008075A1 (ja) 通信ノード、通信システムおよびアップデート方法
KR20160013964A (ko) 시각 동기 시스템
JP2008165419A (ja) 無線装置の電源制御装置、およびこれを利用した無線型コントローラ、無線型センサ、センサネットワークシステム、並びに無線端末の電源制御方法
WO2014033831A1 (ja) 通信装置、システム、および通信方法
WO2023074792A1 (ja) 通信装置、通信システム及び通信方法
JP6561516B2 (ja) 情報処理装置、情報処理方法、およびプログラム
JP2023064837A (ja) 通信装置、通信システム及び通信方法
JP2021517444A (ja) メッシュネットワークを同期させる方法及びシステム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16908119

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP