WO2012090330A1 - 鍵設定方法、ノード、およびネットワークシステム - Google Patents

鍵設定方法、ノード、およびネットワークシステム Download PDF

Info

Publication number
WO2012090330A1
WO2012090330A1 PCT/JP2010/073812 JP2010073812W WO2012090330A1 WO 2012090330 A1 WO2012090330 A1 WO 2012090330A1 JP 2010073812 W JP2010073812 W JP 2010073812W WO 2012090330 A1 WO2012090330 A1 WO 2012090330A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
key
gateway
packet
address
Prior art date
Application number
PCT/JP2010/073812
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 JP2012550660A priority Critical patent/JP5494828B2/ja
Priority to PCT/JP2010/073812 priority patent/WO2012090330A1/ja
Publication of WO2012090330A1 publication Critical patent/WO2012090330A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3215Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a plurality of channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/061Network architectures or network communication protocols for network security for supporting key management in a packet data network for key exchange, e.g. in peer-to-peer networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/083Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]
    • H04L9/0833Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] involving conference or group key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • H04W12/043Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
    • H04W12/0431Key distribution or pre-distribution; Key agreement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/062Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying encryption of the keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to a key setting method for setting a key for encrypting data, a node, and a network system.
  • An ad hoc network is a type of self-configuring network that is linked by wireless communication.
  • An ad hoc network is composed of a plurality of nodes. Each node in the ad hoc network transmits and receives packets by multi-hop communication. Multi-hop communication is a technique in which nodes that do not exist within each other's communication area communicate with each other via another node that exists within the communication area of each node.
  • ad hoc network when connecting an ad hoc network and another network such as the Internet, LAN (Local Area Network), WAN (Wide Area Network), etc., communication between networks is transferred using a relay device called a gateway.
  • LAN Local Area Network
  • WAN Wide Area Network
  • a node capable of wireless communication is incorporated in each home electric power meter, and a worker performs work such as meter confirmation via an ad hoc network without going to the site.
  • a node capable of wireless communication is incorporated in each home electric power meter, and a worker performs work such as meter confirmation via an ad hoc network without going to the site.
  • an ad hoc network that handles personal information such as the amount of power used in each home, it is required to perform secure communication from the viewpoint of confidentiality and tampering prevention.
  • the new node when the new node is initially introduced into the system, the new node cannot communicate securely with other nodes in the ad hoc network until the encryption key is set. For this reason, it is difficult to automatically set an encryption key to a new node via an ad hoc network, and a worker goes to the site to set the encryption key.
  • Patent Document 1 there is a technique for managing an encryption key of a network that performs communication by broadcast (for example, see Patent Document 1 below).
  • Patent Document 2 there is a technique for stably performing key exchange at the start of communication in an ad hoc network (see, for example, Patent Document 2 below).
  • Patent Document 3 There is also a technique for each node in an ad hoc network to select an adaptive gateway (see, for example, Patent Document 3 below).
  • the above-described prior art has a problem that when the encryption key set for each node in the ad hoc network is changed for each gateway, it is difficult to specify the gateway to which the new node belongs at the initial introduction of the new node. It was. For example, even if the candidate gateways can be narrowed down from the address of the installation location of the new node, the communication status changes depending on factors such as the weather and the positional relationship with a nearby building. For this reason, it is necessary for the worker to go to the site to check which gateway is actually communicable, and there is a problem in that the work time and work load required for the work of setting the encryption key of the worker are increased. .
  • the present invention provides a key setting method, a node, and a network system that can improve the efficiency of the setting operation of an encryption key used by a node in an ad hoc network in order to solve the above-described problems caused by the prior art. Objective.
  • a gateway specific to use when performing communication in any one of the ad hoc networks in the network system configured by a plurality of ad hoc networks receives an encrypted packet encrypted using a key specific to the gateway from a neighboring node for the node in any one of the ad hoc networks.
  • the address of the neighboring node is extracted from the first database in which a gateway-specific key is associated with each gateway in each ad hoc network of the plurality of ad hoc networks, and an associated gateway is associated with each node in the plurality of ad hoc networks.
  • Second database When a connection with a portable terminal capable of communicating with a server that holds the information is detected and a connection with the portable terminal is detected, a packet including the address of the extracted neighboring node is transmitted to the server via the portable terminal. As a result of packet transmission via the mobile terminal, a key specific to the gateway belonging to the neighboring node is received from the server, and the key specific to the gateway belonging to the received neighboring node is Can be set as a key for encrypting a packet for multi-hop communication within the ad hoc network.
  • a first database in which a gateway-specific key is associated with each gateway in each ad hoc network in a network system including a plurality of ad hoc networks, and the plurality of ad hoc networks.
  • a second database in which the identification information of the gateway to which each node belongs is associated is connected to a node in which a key unique to the gateway in any one of the plurality of ad hoc networks is not set.
  • the neighboring node included in the received packet by receiving a packet including the address of the node and the address of the neighboring node of the node from the node through a terminal and referring to the second database Based on the address of Serial identifies affiliation gateway neighbor nodes, extracted affiliation gateway-specific key which is identified from the first database, the extracted key, can be sent to the node via the mobile terminal.
  • a gateway-specific node in any one of the plurality of ad hoc networks and a gateway in each ad hoc network of the plurality of ad hoc networks are gateway specific.
  • An encrypted packet encrypted using a gateway-specific key in any one of the ad hoc networks is received from a neighboring node with respect to the node in the other ad hoc network, and the neighboring node is selected from the received encrypted packets.
  • a packet including an address of the neighboring node extracted via the portable terminal when an address is extracted, and a connection with the portable terminal capable of communicating with the server is detected and a connection with the portable terminal is detected.
  • the key unique to the gateway belonging to the neighboring node is received from the server, and the received key unique to the gateway belonging to the neighboring node is received from any one of the ad hoc networks.
  • the packet is set as a key for encrypting a packet for multi-hop communication, and the server receives the packet from the node via the portable terminal connected to the node, and refers to the second database.
  • FIG. 1 is an explanatory diagram of an example of the network system according to the embodiment.
  • FIG. 2 is a block diagram of a hardware configuration example of the management server according to the embodiment.
  • FIG. 3 is a block diagram illustrating an example of a hardware configuration of a node or the like according to the embodiment.
  • FIG. 4 is an explanatory diagram showing an example of the stored contents of the encryption key DB shown in FIG.
  • FIG. 5 is an explanatory diagram showing an example of the contents stored in the node DB shown in FIG.
  • FIG. 6 is an explanatory diagram showing an example of introducing a new node into the network system.
  • FIG. 7 is a sequence diagram (part 1) illustrating an operation example of the network system when a new node is introduced.
  • FIG. 1 is an explanatory diagram of an example of the network system according to the embodiment.
  • FIG. 2 is a block diagram of a hardware configuration example of the management server according to the embodiment.
  • FIG. 3 is a block diagram illustrating an example
  • FIG. 8 is a sequence diagram (part 2) illustrating an operation example of the network system when a new node is introduced.
  • FIG. 9 is a block diagram illustrating a functional configuration example of a node.
  • FIG. 10 is an explanatory diagram showing an example of the data structure of the encrypted packet SP.
  • FIG. 11 is a block diagram illustrating a functional configuration example of the management server.
  • FIG. 12 is an explanatory diagram of a specific example of updating the node DB.
  • FIG. 13 is an explanatory diagram illustrating an example of authentication information of the management server.
  • FIG. 14 is an explanatory diagram illustrating an example of authentication information of the mobile terminal.
  • FIG. 15 is a flowchart illustrating an example of a key setting process procedure of the node N.
  • FIG. 16 is a flowchart illustrating an example of a key providing process procedure of the management server.
  • FIG. 1 is an explanatory diagram of an example of the network system according to the embodiment.
  • a network system 100 includes a management server 101, gateways G1 to Gn, nodes N1-1 to N1-m1,..., Ni-1 to Ni-mi, ..., Nn-1 to Nn-mn, It is the structure containing.
  • the management server 101 and the gateways G1 to Gn are connected to each other via a network NW1 such as the Internet, LAN, or WAN.
  • NW1 such as the Internet, LAN, or WAN.
  • the gateway Gi and the nodes Ni-1 to Ni-mi are connected via the ad hoc network Ai.
  • the management server 101 is a computer that includes an encryption key DB (database) 110 and a node DB 120 and manages encryption keys unique to the gateways G1 to Gn.
  • the encryption key unique to the gateway Gi (hereinafter referred to as “encryption key Ki”) is key information for encrypting packets transmitted and received between nodes in the ad hoc network Ai to which the gateway Gi belongs.
  • encryption key Ki is key information for encrypting packets transmitted and received between nodes in the ad hoc network Ai to which the gateway Gi belongs.
  • the gateway Gi is a relay device that connects the ad hoc network Ai and the network NW1.
  • the gateway Gi understands both the protocol of the ad hoc network Ai and the protocol of the network NW1, and transfers communication between the ad hoc network Ai and the network NW1.
  • the gateway Gi knows which node can communicate with which node in the ad hoc network Ai, and the gateway Gi routes autonomously based on this information.
  • a transfer source address and a transfer destination address when performing multi-hop communication are set by routing of the gateway Gi. This setting is performed by a broadcast packet from the gateway Gi.
  • Nodes Ni-1 to Ni-mi are wireless communication devices that perform multi-hop communication with other nodes within a predetermined communication range.
  • the gateway Gi it is not necessary for all the nodes Ni-1 to Ni-mi to directly communicate with the gateway Gi, and it is sufficient that some nodes can communicate with the gateway Gi.
  • the nodes Ni-1 to Ni-mi hold a routing table that is a combination of the transfer source address and the transfer destination address of the packet by the broadcast packet from the gateway Gi.
  • the network system 100 can be applied to, for example, a system that collects the amount of power and gas used in each household. Specifically, for example, by incorporating each node Ni-1 to Ni-mi into the power meter or gas meter of each home, the amount of power and gas used in each home is transmitted and received between nodes in the ad hoc network Ai. Note that the power consumption and gas consumption of each household may be measured by each node Ni-1 to Ni-mi, or each node Ni-1 to Ni-mi may be obtained from a power meter or gas meter. Good.
  • the gateway Gi uses the power and gas usage of each home received from the nodes Ni-1 to Ni-mi in the ad hoc network Ai to the server of the power company or gas company (for example, the management server 101) via the network NW1. Send to. As a result, the amount of power and gas used can be collected without the need for workers to visit the site.
  • the packet is encrypted using the encryption key Ki unique to the gateway Gi for each ad hoc network Ai. This ensures secure communication (data confidentiality, tampering prevention, etc.) of the ad hoc network Ai. Moreover, the risk at the time of key leakage is reduced by changing the encryption key Ki for every ad hoc network Ai.
  • a single gateway Gi is provided in the ad hoc network Ai.
  • a plurality of gateways Gi may be provided in the same ad hoc network Ai.
  • the encryption key Ki for encrypting packets transmitted and received in the ad hoc network Ai is common to a plurality of gateways Gi.
  • FIG. 2 is a block diagram of a hardware configuration example of the management server according to the embodiment.
  • the management server 101 includes a CPU (Central Processing Unit) 201, a ROM (Read-Only Memory) 202, a RAM (Random Access Memory) 203, a magnetic disk drive 204, a magnetic disk 205, and an optical disk drive. 206, an optical disc 207, an I / F (Interface) 208, a display 209, a keyboard 210, and a mouse 211. Further, the CPU 201 to the mouse 211 are connected by a bus 200, respectively.
  • a bus 200 respectively.
  • the CPU 201 governs overall control of the management server 101.
  • the ROM 202 stores a program such as a boot program.
  • the RAM 203 is used as a work area for the CPU 201.
  • the magnetic disk drive 204 controls reading / writing of data with respect to the magnetic disk 205 according to the control of the CPU 201.
  • the magnetic disk 205 stores data written under the control of the magnetic disk drive 204.
  • the optical disc drive 206 controls reading / writing of data with respect to the optical disc 207 according to the control of the CPU 201.
  • the optical disk 207 stores data written under the control of the optical disk drive 206, or causes the computer to read data stored on the optical disk 207.
  • the I / F 208 is connected to the networks NW1 and NW2 through communication lines, and is connected to other devices (for example, the gateway Gi and the portable terminal 600) via the networks NW1 and NW2.
  • the I / F 208 controls an internal interface with the networks NW1 and NW2, and controls input / output of data from an external device.
  • a modem or a LAN adapter may be employed as the I / F 208.
  • the display 209 displays data such as a document, an image, and function information as well as a cursor, an icon, or a tool box.
  • a CRT a CRT
  • a TFT liquid crystal display a plasma display, or the like can be adopted.
  • the keyboard 210 has keys for inputting characters, numbers, various instructions, etc., and inputs data. Moreover, a touch panel type input pad or a numeric keypad may be used.
  • the mouse 211 performs cursor movement, range selection, window movement, size change, and the like. A trackball or a joystick may be used as long as they have the same function as a pointing device. Note that the portable terminal 600 shown in FIG. 6 can also be realized by the same hardware configuration as the management server 101 shown in FIG.
  • FIG. 3 is a block diagram illustrating an example of a hardware configuration of a node or the like according to the embodiment.
  • the node or the like includes a CPU 301, a RAM 302, a flash memory 303, an I / F 304, and an encryption circuit 305.
  • the CPU 301 to the encryption circuit 305 are connected by a bus 300.
  • the CPU 301 controls the entire node and the like.
  • the RAM 302 is used as a work area for the CPU 301.
  • the flash memory 303 stores key information such as programs and encryption keys.
  • the I / F 304 transmits and receives packets by multi-hop communication. Further, the I / F 304 of the gateway Gi is connected to the network NW1 through a communication line, and is connected to the management server 101 via the network NW1.
  • the encryption circuit 305 is a circuit that encrypts data using an encryption key when encrypting the data. When encryption is executed by software, the encryption circuit 305 is not necessary by storing a program corresponding to the encryption circuit 305 in the flash memory 303.
  • FIG. 4 is an explanatory diagram showing an example of the stored contents of the encryption key DB shown in FIG.
  • the encryption key DB 110 has fields of ID, GW address, and encryption key. By setting information in each field, the key information 400-1 to 400-n for each of the gateways G1 to Gn is used as a record. I remember it.
  • the ID is an identifier of each gateway Gi used for explanation in this specification.
  • the GW address is the address of the gateway Gi.
  • a MAC (Media Access Control) address or an IP (Internet Protocol) address of the gateway Gi can be used.
  • the encryption key is an encryption key Ki unique to each gateway Gi, and is specifically binary data of about 128 to 256 bits, for example.
  • the gateway G1's GW address is “xx: xx: xx: xx: 12: 34”, and the encryption key is “K1”.
  • the encryption key DB 110 is realized by a storage device such as the ROM 202, the RAM 203, the magnetic disk 205, and the optical disk 207 of the management server 101 shown in FIG.
  • the content stored in the encryption key DB 110 may be updated when the management server 101 receives the encryption key Ki unique to the gateway Gi from the gateway Gi. Further, the stored contents of the encryption key DB 110 may be updated by a user operation input using the keyboard 210 and the mouse 211 shown in FIG.
  • FIG. 5 is an explanatory diagram showing an example of the contents stored in the node DB 120 shown in FIG.
  • the node DB 120 has fields of a node address and an affiliated gateway (affiliated GW), and records information on the ID of the affiliated GW for each node (corresponding to the ID of FIG. 4) by setting information in each field.
  • an affiliated gateway affiliated GW
  • aa: aa: aa: aa: aa: aa: aa: aa: aa aa” is the address of the node Ni-1 in the ad hoc network Ai
  • “bb: bb: bb: bb: bb: bb:” is in the ad hoc network Ai.
  • the address of the node Ni-2, “cc: cc: cc: cc: cc: ccc” is set as the address of the node Ni-3 in the ad hoc network Ai. That is, by referring to the node DB 120, it can be seen that the GW to which the nodes Ni-1 to Ni-3 belong is the gateway Gi.
  • the affiliation GW address may be stored in the affiliation GW field instead of the affiliation GW ID.
  • FIG. 6 is an explanatory diagram showing an example of introducing a new node into the network system.
  • a new node N is introduced in the ad hoc network Ai of the network system 100.
  • nodes Ni-1 to Ni-3 are shown as representatives.
  • the worker OP When the new node N is introduced, the worker OP does not know which ad hoc network Ai the new node N belongs to. Therefore, in the present embodiment, by using the mobile terminal 600 used by the worker OP, the new node N inquires the management server 101 about the encryption key Ki to be set as the node Ni-x in the ad hoc network Ai. An appropriate encryption key Ki is acquired from the management server 101 and automatically set in the new node Ni-x.
  • the mobile terminal 600 is a mobile communication device used by the worker OP, and is, for example, a mobile phone, a PHS (Personal Handy-phone System) phone, a smartphone, a notebook personal computer, or the like.
  • the mobile terminal 600 relays communication between the new node N that cannot directly communicate with the management server 101.
  • FIG. 7 and 8 are sequence diagrams showing an operation example of the network system when a new node is introduced.
  • the sequence in FIG. 7 is an example of an operation performed until the worker OP goes to the site (place where the new node N is installed), for example.
  • the sequence of FIG. 8 is an example of an operation performed after the worker OP has visited the site.
  • the gateway Gi transmits the network information of the ad hoc network Ai to the management server 101.
  • the network information includes the encryption key Ki unique to the gateway Gi and the addresses of the nodes Ni-1 to Ni-3 in the ad hoc network Ai. Since the gateway Gi has acquired the addresses of the nodes Ni-1 to Ni-3 in advance by multi-hop communication in the ad hoc network Ai, it can be included in the network information and transmitted to the management server 101.
  • the management server 101 extracts the encryption key Ki unique to the gateway Gi from the network information, and registers the encryption key Ki unique to the gateway Gi and the address of the gateway Gi in the encryption key DB 110 in association with each other.
  • the management server 101 extracts the addresses of the nodes Ni-1 to Ni-3 from the network information, and registers the addresses of the nodes Ni-1 to Ni-3 and the gateway Gi ID in the node DB 120 in association with each other.
  • the processes (1) to (3) are not performed, and the encryption key DB 110 and the node DB 120 may be registered in advance in the above (2) and (3).
  • the gateway Gi broadcasts (simultaneously reports) a packet (hereinafter referred to as “encrypted packet SPi”) encrypted using the encryption key Ki unique to the gateway Gi to the ad hoc network Ai.
  • the encrypted packet SPi from the gateway Gi is a packet notified periodically (for example, once every hour) to notify all nodes in the ad hoc network Ai such as time synchronization in the ad hoc network Ai.
  • it may be a packet that is temporarily transmitted, such as setting initialization or routing setting in the above-described ad hoc network Ai.
  • the node Ni-1 transfers the encrypted packet SPi from the gateway Gi to the node Ni-3 in the communication area.
  • the node Ni-1 has a routing table Ri-1 which is set by a broadcast packet from the gateway Gi and associates the transfer source address and the transfer destination address. For example, in FIG. 7, since the transfer source address: the address of the gateway Gi and the transfer destination address: the address of the node Ni-3 are specified, the encrypted packet SPi is transferred to the node Ni-3.
  • the node Ni-3 also has a routing table Ri-3 that is set by a broadcast packet from the gateway Gi and associates the transfer source address and the transfer destination address. For example, in FIG. 7, since the transfer source address: the address of the node Ni-1 and the transfer destination address:-(none) are defined, the encrypted packet SPi is not transferred anywhere. As a result, the encrypted packet SPi that is a broadcast packet reaches the node Ni-3 that is the end node.
  • the node Ni-1 transmits the encrypted packet SP1 encrypted with the encryption key Ki unique to the gateway Gi to the gateway Gi according to the routing table Ri-1.
  • the encrypted packet SP1 is, for example, a packet obtained by encrypting the measurement data at the node Ni-1 with the encryption key Ki.
  • the encrypted packet SP1 is a unicast packet in which the source address is the address of the node Ni-1 and the destination address is the address of the gateway Gi.
  • the node Ni-3 transmits the encrypted packet SP3 encrypted with the encryption key Ki unique to the gateway Gi to the node Ni ⁇ according to the routing table Ri-3. 1 to send.
  • the encrypted packet SP3 is, for example, a packet obtained by encrypting the measurement data at the node Ni-3 with the encryption key Ki.
  • the encrypted packet SP3 is a unicast packet in which the source address is the address of the node Ni-3 and the destination address is the address of the gateway Gi.
  • the node Ni-1 transfers the encrypted packet SP3 encrypted with the encryption key Ki unique to the gateway Gi to the gateway Gi according to the routing table Ri-1.
  • the encrypted packets SP1 and SP3 from the nodes Ni-1 and Ni-3 are packets transmitted in a cycle shorter than the transmission cycle of the broadcast packet (encrypted packet SPi) of the gateway Gi.
  • measurement data is obtained with a cycle shorter than the transmission cycle of the broadcast packet (encrypted packet SPi) of the gateway Gi.
  • the nodes Ni-1 and Ni-3 perform multi-hop communication with the encrypted packets SP1 and SP3 including the measurement data to the gateway Gi.
  • the gateway Gi can obtain time-series measurement data of the nodes Ni-1 and Ni-3 by transmitting the encrypted packets SP1 and SP3 from the nodes Ni-1 and Ni-3 to the management server 101. it can.
  • the new node Ni-x does not have the encryption key Ki, the measurement data at the new node Ni-x cannot be encrypted, and even if a packet is transmitted, it is received by the destination node. It is in a state that cannot be received.
  • the affiliation GW of the new node Ni-x is not registered in the node DB 120.
  • the new node Ni-x extracts the source address (the address of the node Ni-3) described in the header part of the encrypted packet SP3 from the encrypted packet SP3 intercepted from the node Ni-3. Since the header part of the encrypted packet SP3 is not encrypted, the new node Ni-x can extract the source address (the address of the node Ni-3).
  • the mobile terminal 600 is connected to the management server 101 via a network NW2 such as a mobile phone network or the Internet. At this time, the mobile terminal 600 performs secure communication with the management server 101 using, for example, SSL (Secure Socket Layer).
  • SSL Secure Socket Layer
  • the mobile terminal 600 is connected to the new node Ni-x via the wired or wireless network NW3.
  • the worker OP connects the mobile terminal 600 and the new node Ni-x by using a USB (Universal Serial Bus) cable to connect the mobile terminal 600 and the new node Ni-x.
  • the network NW3 is established.
  • the new node Ni-x sends the packet PN including the address of the node Ni-3 and the address of the new node Ni-x extracted in (10) shown in FIG. Send to.
  • the mobile terminal 600 transmits the packet PN from the new node Ni-x to the management server 101 via the network NW2.
  • the management server 101 receives the packet PN from the portable terminal 600, and extracts the address of the node Ni-3 included in the packet PN. Then, the management server 101 refers to the node DB 120 and specifies the ID of the belonging GW (or the address of the belonging GW) stored in association with the extracted address of the node Ni-3.
  • the management server 101 uses the ID of the affiliated GW (or the address of the affiliated GW) specified in (15) above as a clue and the ID of the gateway Gi (or the address of the affiliated GW) from the encryption key DB 110.
  • the encryption key Ki stored in association is extracted.
  • the management server 101 registers the address of the new node Ni-x included in the received packet PN in the node DB 120 in association with the ID of the affiliation GW identified in (15) above. As a result, it is possible to identify that the GW to which the new node Ni-x belongs is the gateway Gi by referring to the node DB 120.
  • the management server 101 transmits the extracted encryption key Ki to the mobile terminal 600 via the network NW2.
  • the transmission timing may be before or after the above (17).
  • the setting process of the new node Ni-x can be executed without waiting for the update of the node DB 120 of (17), so that the setting process can be speeded up.
  • the mobile terminal 600 transmits the encryption key Ki from the management server 101 to the new node Ni-x via the network NW3.
  • the new node Ni-x sets the encryption key Ki from the portable terminal 600 as a key for encrypting the packet. Thereafter, (20) the new node Ni-x may perform the decryption confirmation. Specifically, the new node Ni-x receives and holds the encrypted packet SP3 from the node Ni-3 in (9) of FIG.
  • the new node Ni-x attempts to decrypt the encrypted packet SP3 with the encryption key Ki received in (20) above. If the decryption is successful, the new node Ni-x can use the encryption key Ki as it is. On the other hand, if the decryption fails, the reception of the encrypted packet SP3 from the node Ni-3 is again waited as shown in (9) of FIG. 7, and (10) to (20) are executed.
  • the new node Ni-x receives the encrypted packet from the neighboring node (here, the node Ni-3) that can be received even if the encryption key Ki for secure communication is not set, via the portable terminal 600.
  • the encryption key Ki to be set can be acquired by making a key request to the management server 101.
  • node N refers to a node that transmits and receives packets by multi-hop communication within any one of the ad hoc networks A1 to An of the network system 100. Further, “nodes and the like” indicate the gateways G1 to Gn and the node N of the network system 100.
  • FIG. 9 is a block diagram illustrating a functional configuration example of a node.
  • the node N includes a packet receiving unit 901, a detecting unit 902, a packet transmitting unit 903, a key receiving unit 904, a setting unit 905, an extracting unit 906, a generating unit 907, and a decrypting unit 908.
  • each functional unit (packet receiving unit 901 to encryption processing unit 911) causes the CPU 301 to execute a program stored in a storage device such as the RAM 302 and the flash memory 303 shown in FIG. Alternatively, the function is realized by the I / F 304. Further, the processing results of the respective functional units (packet receiving unit 901 to encryption processing unit 911) are stored in a storage device such as the RAM 302 and the flash memory 303, unless otherwise specified.
  • the packet receiver 901 receives an encrypted packet from within the ad hoc network Ai.
  • the encrypted packet is a packet encrypted using the encryption key Ki unique to the gateway Gi.
  • the encrypted packet SP is a broadcast packet (encrypted packet SPi) from the gateway Gi or encrypted packets SP1 and SP3 from other nodes.
  • packets encrypted with the encryption key Ki such as the encrypted packets SPi, SP1, and SP3, are collectively referred to as “encrypted packet SP”.
  • the data structure of the encrypted packet SP will be described.
  • FIG. 10 is an explanatory diagram showing an example of the data structure of the encrypted packet SP.
  • the encrypted packet SP has a configuration including a header portion 1010 and a payload portion 1020.
  • a destination address, a source address, and the number of hops are described.
  • the payload portion 1020 describes the encrypted data body (hatched portion in FIG. 10).
  • the destination address is the destination address.
  • the sending address is a sender address.
  • the header portion 1010 describes the address of the gateway Gi.
  • the destination address is the address “xx: xx: xx: xx: xx: xx” of the gateway Gi, and the source address is the node Ni ⁇ 1.
  • the address is “cc: cc: cc: cc: cc: cc”.
  • the destination address is the broadcast MAC address “00: 00: 00: 00: 00: 00”. Further, here, the MAC address is used as an example of the destination address and the source address, but an address such as an IP address may be used.
  • the number of hops is the maximum number of multi-hops and is decremented each time multi-hops are performed. In FIG. 10, since it is “10”, if it is multihopped ten times, the next is not multihopped.
  • the packet receiving unit 901 receives (intercepts) the encrypted packet SP from the neighboring node. Further, even when the encryption key Ki is set in the node N, the packet reception unit 901 intercepts the encrypted packet SP within the communication range if it is not the transfer destination. In this case, since the transfer source of the encrypted packet SP is not registered in the routing table of the intercepted node N, the intercepted encrypted packet SP is discarded at the intercepted node N.
  • the detection unit 902 detects a connection with the portable terminal 600 that can communicate with the management server 101. Specifically, for example, as a result of the worker OP connecting the portable terminal 600 and the new node N using the USB cable, the detection unit 902 detects the connection with the portable terminal 600 via the USB cable.
  • the extraction unit 906 extracts the address of the neighboring node from the received encrypted packet SP. Specifically, for example, in the case of the node Ni-x, the extraction unit 906 performs the address “of the node Ni-3 described as the source address of the header part 1010 of the encrypted packet SP shown in FIG. cc: cc: cc: cc: cc: cc "is extracted.
  • the generation unit 907 generates a packet PN. Specifically, for example, the generation unit 907 generates a packet PN including the address of the neighboring node (the source address of the encrypted packet SP) extracted by the extraction unit 906 and the address of the new node (own node) N.
  • the packet transmission unit 903 transmits the packet PN to the management server 101 via the portable terminal 600 when the connection with the portable terminal 600 is detected. Specifically, for example, the packet transmission unit 903 transmits the packet PN to the mobile terminal 600 via the network NW3 such as a USB cable. As a result, the portable terminal 600 transmits the encrypted packet PN from the node Ni-x to the management server 101 via the network NW2. Further, after the encryption key Ki is set, the packet transmission unit 903 transmits the encrypted packet SP encrypted with the encryption key Ki to the destination (for example, the gateway Gi).
  • the destination for example, the gateway Gi
  • the key receiving unit 904 receives the encryption key Ki unique to the gateway Gi for decrypting the encrypted packet SP from the management server 101 via the portable terminal 600.
  • the encryption key Ki is, for example, a common key that can encrypt a packet and decrypt an encrypted packet SP encrypted using the encryption key Ki.
  • the setting unit 905 sets the received encryption key Ki unique to the gateway Gi as a key for encrypting a packet for multi-hop communication within the ad hoc network Ai. Specifically, for example, the setting unit 905 writes the encryption key Ki in a specific storage area.
  • the address of the specific storage area is an address designated when encrypting the packet or decrypting the encrypted packet SP. This makes it possible for the node N to encrypt a packet to be transmitted thereafter and decrypt the encrypted packet SP, and secure communication can be performed between nodes in the ad hoc network Ai.
  • the decryption unit 908 attempts to decrypt the encrypted packet SP received by the packet reception unit 901 with the encryption key Ki set by the setting unit 905 during the setting process. That is, the decryption unit 908 attempts to decrypt the encrypted packet SP (SP3) from which the extraction unit 906 has extracted the address of the neighboring node. Also, after the encryption key Ki is set, the decryption unit 908 decrypts the encrypted packet SP received by the packet reception unit 901 with the encryption key Ki set by the setting unit 905.
  • the success or failure of the decryption can be determined based on the format of the decrypted packet obtained by decrypting the encrypted packet SP. Specifically, for example, when the decrypted packet obtained by decrypting the encrypted packet SP is data in a predetermined format, the decrypting unit 908 determines that the encrypted packet SP has been successfully decrypted.
  • the output unit 909 outputs the result of decoding by the decoding unit 908. Specifically, for example, when the decryption of the encrypted packet SP (SP3) from which the source address is extracted is successful, the output unit 909 displays the success on the display or notifies by voice. In addition, when the decryption of the encrypted packet SP (SP3) from which the source address is to be extracted fails, the output unit 909 displays on the display that the failure has occurred or notifies by voice.
  • the acquisition unit 910 acquires measurement data measured on the measurement target. For example, when the node N is built in or connected to the power meter, the amount of power is acquired.
  • the encryption processing unit 911 encrypts the data acquired by the acquisition unit 910 with the encryption key Ki. Thereby, the packet transmission unit 901 can transmit the encrypted packet SP to the gateway Gi.
  • FIG. 11 is a block diagram illustrating a functional configuration example of the management server 101.
  • the management server 101 includes a receiving unit 1101, a specifying unit 1102, an updating unit 1103, a key extracting unit 1104, and a transmitting unit 1105.
  • each functional unit causes the CPU 201 to execute a program stored in a storage device such as the ROM 202, the RAM 203, the magnetic disk 205, and the optical disk 207 illustrated in FIG. Or the I / F 208 realizes the function.
  • the processing results of the respective function units (reception unit 1101 to transmission unit 1105) are stored in a storage device such as the RAM 203, the magnetic disk 205, and the optical disc 207, for example.
  • the receiving unit 1101 receives the packet PN from the node N via the mobile terminal 600. Specifically, for example, the reception unit 1101 receives the packet PN from the node N from the mobile terminal 600 via the network NW2.
  • the identifying unit 1102 extracts addresses of neighboring nodes included in the packet PN from the packet PN received by the receiving unit 1101. Then, the specifying unit 1102 specifies the ID of the affiliation GW stored in association with the extracted address of the neighboring node from the node DB 120. For example, when the address of the neighboring node included in the payload portion 1020 of the packet PN is the address “cc: cc: cc: cc: cc” of the node Ni-3, the ID: Gi of the affiliation GW is specified.
  • the updating unit 1103 extracts the address of the new node included in the packet PN from the packet PN received by the receiving unit 1101.
  • a specific example of update will be described.
  • FIG. 12 is an explanatory diagram showing a specific example of updating the node DB 120.
  • the updating unit 1103 specifies the address “dd: dd: dd: dd: dd: dd” of the node Ni-x by the specifying unit 1102.
  • a record associated with the GW ID: Gi is additionally registered (hatched portion in FIG. 12).
  • the node DB 120 is updated.
  • the key extraction unit 1104 extracts the encryption key Ki stored in association with the ID of the affiliation GW identified by the identification unit 1102 from the encryption key DB 110.
  • the ID of the affiliation GW specified by the specifying unit 1102 is Gi
  • the encryption key Ki stored in association with the GW address “xx: xx: xx: xx: xx: xx” is stored in the encryption key DB 110. Extracted.
  • the same encryption key Ki is inevitably used, so that the same encryption as that of the neighboring node Ni-3 that is the same GW is used as the encryption key of the new node Ni-x.
  • the key Ki is extracted. Therefore, the encryption key Ki used in the gateway Gi and the nodes Ni-1 to Ni-mi in the ad hoc network Ai can be assigned to the new node Ni-x.
  • the transmitting unit 1105 transmits the extracted encryption key Ki to the address of the new node included in the received packet via the portable terminal 600. Specifically, for example, the transmission unit 1105 transmits the extracted encryption key Ki to the mobile terminal 600 via the network NW2. As a result, the mobile terminal 600 transmits the encryption key Ki from the management server 101 to the node N via the network NW3.
  • the mobile terminal 600 receives the SSL server certificate from the management server 101.
  • the received SSL server certificate is stored in a storage device such as the RAM 302 or the flash memory 303 of the portable terminal 600 in association with the IP address of the management server 101 as shown in FIG.
  • FIG. 13 is an explanatory diagram showing an example of authentication information of the management server.
  • the authentication information 1300 of the management server 101 has an IP address and an SSL server certificate.
  • the IP address is the IP address of the management server 101.
  • the 509 certificate is an SSL server certificate (public key certificate) of the management server 101.
  • the portable terminal 600 performs server authentication by decrypting the SSL server certificate using a public key incorporated in the terminal in advance.
  • the public key is issued by, for example, a third-party certification body. If the SSL server certificate can be correctly decrypted using this public key, it can be seen that the SSL server certificate is a correct certificate certified by a third-party certification authority, and that the identity of the management server 101 has been guaranteed. Become.
  • the authentication information 1400 is stored in a storage device such as the ROM 202, RAM 203, magnetic disk 205, and optical disk 207 of the management server 101, for example.
  • FIG. 14 is an explanatory diagram showing an example of authentication information of the mobile terminal.
  • the authentication information 1400 of the portable terminal 600 has a user ID and a password.
  • the user ID is an identifier of the mobile terminal 600.
  • the password is for authenticating a user who uses the portable terminal 600.
  • the mobile terminal 600 transmits a user ID and password pair to the management server 101.
  • the user ID and password may be registered in advance in the flash memory 303 of the mobile terminal 600, or may be received by a user operation input using an input device (not shown) of the mobile terminal 600.
  • the management server 101 determines that the user ID and password pair from the portable terminal 600 matches the user ID and password pair of the authentication information 1400.
  • the user ID and password of the authentication information 1400 match, the identity of the user of the portable terminal 600 is guaranteed.
  • the mobile terminal 600 communicates with the management server 101 by encrypting the packet using, for example, a public key included in the SSL server certificate of the management server 101. Thereby, secure communication can be performed between the management server 101 and the portable terminal 600.
  • FIG. 15 is a flowchart illustrating an example of a key setting process procedure of the node N.
  • the node N determines whether or not the packet reception unit 901 has received the encrypted packet SP from the neighboring node (step S1501). For example, it is determined whether or not the new node Ni-x has received the encrypted packet SP3 from the neighboring node Ni-3.
  • step S1501: No After waiting for reception of the encrypted packet SP (step S1501: No), if received (step S1501: Yes), the node N extracts the address of the neighboring node from the received encrypted packet SP (Ste S1502). Then, the node N generates a packet PN including the extracted address of the neighboring node and the address of the own node N (step S1503). Thereafter, the node N determines whether or not the detection unit 902 has detected a connection with the portable terminal 600 that can communicate with the management server 101 (step S1504).
  • the node N waits for the connection with the mobile terminal 600 to be detected (step S1504: No), and when detected (step S1504: Yes), the packet transmission unit 903 causes the node N to pass through the mobile terminal 600.
  • the generated packet PN is transmitted to the management server 101 (step S1505).
  • the node N determines whether the key receiving unit 904 has received the encryption key Ki unique to the gateway Gi from the management server 101 via the portable terminal 600 (step S1506).
  • the node N waits to receive the encryption key Ki (step S1506: No), and if received (step S1506: Yes), the setting unit 905 receives the encryption key Ki unique to the gateway Gi.
  • the encrypted packet SP is set as a key for encrypting (step S1507).
  • step S1508 attempts to decrypt the encrypted packet SP transmitted from the neighboring node in step S1501 by the decryption unit 908 (step S1508).
  • step S1508: No the output unit 909 outputs a setting error (step S1509), and the process returns to step S1501.
  • step S1508: YES the output unit 909 outputs setting completion (step S1510), and the series of processing according to this flowchart ends.
  • the encryption key Ki unique to the gateway Gi for decrypting the encrypted packet SP can be acquired from the management server 101 and set.
  • FIG. 16 is a flowchart illustrating an example of a key providing process procedure of the management server.
  • the management server 101 determines whether the reception unit 1101 has received the generated packet PN from the node N via the portable terminal 600 (step S1601).
  • the management server 101 waits for the generation packet PN to be received (step S1601: No), and if received (step S1601: Yes), the management server 101 uses the identifying unit 1102 to select the address of the neighboring node To extract. Then, the management server 101 specifies the ID of the affiliated GW stored in association with the extracted address of the neighboring node from the node DB 120 (step S1602).
  • the neighboring node is the node Ni-3
  • the address of the node Ni-3 is “cc: cc: cc: cc: cc: cc”
  • the address “cc: cc: cc of the node Ni-3” ID of the affiliation GW stored in association with “: cc: cc: cc” is specified.
  • the updating unit 1103 extracts the address of the transmission source node N from the generated packet PN, and registers it in the node DB 120 in association with the identified GW ID (step S1603). Thereby, even when the node N becomes a neighboring node of the new node after the registration of the node N, the affiliation GW of the new node can be specified.
  • the management server 101 extracts the encryption key Ki from the encryption key DB 110 by using the key of the identified affiliation GW by the key extraction unit 1104 (step S1604).
  • the management server 101 transmits the extracted encryption key Ki to the node N via the portable terminal 600 by the transmission unit 1105 (step S1605), and ends the series of processes according to this flowchart.
  • the encryption key Ki unique to the gateway Gi in the ad hoc network Ai to which the node N belongs can be provided to the node N.
  • the key setting operation can be performed at an early stage.
  • the packet from the neighboring node can be intercepted, but the intercepted packet is discarded without being multi-hopped.
  • the encryption key Ki since the frequency of intercepting the encrypted packet SP from a neighboring node increases if it is within the communication range, if the encryption key Ki is not set, the encrypted key can be used by deliberately using the intercepted packet without use.
  • the setting of Ki can be realized at an early stage.
  • the node N requests the management server 101 via the portable terminal 600 for a key by using the encrypted packet SP from the neighboring node that can be received even if the encryption key Ki for secure communication is not set.
  • the encryption key Ki to be set can be acquired.
  • work such as checking the communication status between the candidate gateway and the node N, where the operator OP is narrowed down geographically, is unnecessary, and the encryption for the node N is not necessary.
  • the efficiency of the key Ki setting work can be improved.
  • since it is not necessary to record the encryption key of each candidate gateway for confirmation work in the portable terminal 600 etc. the risk of information leakage at the time of carrying can be reduced.
  • the management server 101 can extract the encryption key Ki stored in association with the address of the gateway Gi included in the encrypted packet SP from the encryption key DB 110. Then, the management server 101 transmits the encryption key Ki to the node N via the portable terminal 600, thereby providing the node N with the encryption key Ki unique to the gateway Gi in the ad hoc network Ai to which the node N belongs. it can.
  • the worker OP can change the installation position immediately to improve the efficiency of new node installation work and key setting work.
  • the workload of workers involved in setting the encryption key for the node in the ad hoc network is reduced and the work time is reduced. Can be achieved.
  • the key setting method described in the present embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation.
  • the key setting program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer.
  • Management server 110 Encryption key DB 120 node DB 600 portable terminal 901 packet receiving unit 902 detecting unit 903 packet transmitting unit 904 key receiving unit 905 setting unit 906 recording unit 907 generating unit 1101 receiving unit 1102 specifying unit 1103 updating unit 1104 key extracting unit 1105 transmitting unit A1 to An, Ai ad hoc network G1 to Gn, Gi gateway N node NW1, NW2, NW3 network

Abstract

 アドホックネットワークのいずれかのアドホックネットワーク(Ai)内の新規ノード(Ni-x)は、アドホックネットワーク(Ai)内の近隣ノード(Ni-3)から、ゲートウェイ(Gi)固有の暗号鍵(Ki)で暗号化された暗号化パケットを傍受する。新規ノード(Ni-x)は、管理サーバ(101)と通信可能な携帯端末(600)との接続を検知すると、携帯端末(600)を介して、パケット(PN)を管理サーバ(101)に送信する。このあと、新規ノード(Ni-x)は、携帯端末(600)を介して、ゲートウェイ(Gi)固有の暗号鍵(Ki)を管理サーバ(101)から受信する。そして、新規ノード(Ni-x)は、受信されたゲートウェイ(Gi)固有の暗号鍵(Ki)を、パケットを暗号化するための鍵に設定する。

Description

鍵設定方法、ノード、およびネットワークシステム
 本発明は、データを暗号化するための鍵を設定する鍵設定方法、ノード、およびネットワークシステムに関する。
 アドホックネットワークは、無線通信でリンクする自己構成型のネットワークの一種である。アドホックネットワークは複数のノードにより構成される。また、アドホックネットワーク内の各ノードは、マルチホップ通信によりパケットの送受信を行う。マルチホップ通信は、互いの通信圏内に存在しないノード同士が、各ノードの通信圏内に存在する別のノードを介して通信を行う技術である。
 また、アドホックネットワークとインターネット、LAN(Local Area Network)、WAN(Wide Area Network)などの他のネットワークとを接続する場合、ゲートウェイと呼ばれる中継機器を用いて、ネットワーク間の通信の転送が行われる。
 アドホックネットワークを利用した技術として、各家庭の電力メータに無線通信可能なノードを組み込んで、作業員が現地に出向くことなく、アドホックネットワーク経由でメータ確認などの業務を行うシステムがある。各家庭の電力の使用量などの個人情報を扱うアドホックネットワークでは、秘匿性や改ざん防止の観点からセキュアな通信を行うことが要求される。
 そこで、従来のシステムでは、アドホックネットワーク内のノード間で送受信されるパケットを暗号化することで、セキュアな通信を確保することが行われている。この際、システム内の全ノードで共通の暗号鍵を用いた場合、鍵漏洩時のリスクが大きいため、ゲートウェイごとに暗号鍵を変えるシステムがある。
 また、システムへの新規ノードの初期導入時などにおいて、新規ノードは、暗号鍵が設定されるまでの間、アドホックネットワーク内の他のノードとセキュアな通信を行うことができない。このため、アドホックネットワーク経由で新規ノードに暗号鍵を自動設定することが難しく、作業員が現地に出向いて暗号鍵の設定作業を行っている。
 また、セキュア通信に関する先行技術として、例えば、ブロードキャストにより通信を行うネットワークの暗号鍵を管理する技術がある(例えば、下記特許文献1参照。)。また、アドホックネットワークにおいて通信開始時の鍵交換を安定して行うための技術がある(例えば、下記特許文献2参照。)。また、アドホックネットワーク内の各ノードが適応ゲートウェイを選択するための技術がある(例えば、下記特許文献3参照。)。
特開2003-348072号公報 特開2007-88799号公報 特開2009-81854号公報
 しかしながら、上述した従来技術では、アドホックネットワーク内の各ノードに設定する暗号鍵をゲートウェイごとに変える場合、新規ノードの初期導入時などにおいて、新規ノードが属するゲートウェイを特定することが難しいという問題があった。例えば、新規ノードの設置場所の住所から候補となるゲートウェイを絞り込むことはできても、天候や近傍の建物との位置関係などの要因により通信状況が変化する。このため、実際にどのゲートウェイと通信可能であるかを作業員が現地に出向いて確認する必要があり、作業員の暗号鍵の設定作業にかかる作業時間および作業負荷の増大を招くという問題がある。
 本発明は、上述した従来技術による問題点を解消するため、アドホックネットワーク内のノードが用いる暗号鍵の設定作業の効率化を図ることができる鍵設定方法、ノード、およびネットワークシステムを提供することを目的とする。
 上述した課題を解決し、目的を達成するため、本願の一観点によれば、複数のアドホックネットワークで構成されるネットワークシステムの中のいずれかのアドホックネットワーク内で通信を行うときに用いるゲートウェイ固有の鍵が未設定なノードが、前記いずれかのアドホックネットワーク内の前記ノードに対する近隣ノードから、前記ゲートウェイ固有の鍵を用いて暗号化された暗号化パケットを受信し、受信された暗号化パケットの中から前記近隣ノードのアドレスを抽出し、前記複数のアドホックネットワークの各アドホックネットワーク内のゲートウェイごとにゲートウェイ固有の鍵を関連付けた第1のデータベースおよび前記複数のアドホックネットワーク内のノードごとに所属ゲートウェイを関連付けた第2のデータベースを保持するサーバと通信可能な携帯端末との接続を検知し、前記携帯端末との接続が検知された場合、前記携帯端末を介して、抽出された前記近隣ノードのアドレスを含むパケットを前記サーバに送信し、前記携帯端末を介して、パケット送信された結果、前記近隣ノードの所属ゲートウェイ固有の鍵を前記サーバから受信し、受信された前記近隣ノードの所属ゲートウェイ固有の鍵を、前記いずれかのアドホックネットワーク内でマルチホップ通信させるパケットを暗号化するための鍵に設定することができる。
 また、本願の一観点によれば、複数のアドホックネットワークで構成されるネットワークシステムの中の各アドホックネットワーク内のゲートウェイごとにゲートウェイ固有の鍵を関連付けた第1のデータベースと、前記複数のアドホックネットワーク内のノードごとに所属ゲートウェイの識別情報を関連付けた第2のデータベースと、を備えるサーバが、前記複数のアドホックネットワークのいずれかのアドホックネットワーク内のゲートウェイ固有の鍵が未設定なノードに接続された携帯端末を介して、前記ノードから前記ノードのアドレスおよび前記ノードの近隣ノードのアドレスを含むパケットを受信し、前記第2のデータベースを参照することにより、受信されたパケットに含まれている前記近隣ノードのアドレスに基づいて、前記近隣ノードの所属ゲートウェイを特定し、特定された所属ゲートウェイ固有の鍵を前記第1のデータベースから抽出し、抽出された鍵を、前記携帯端末を介して前記ノードに送信することができる。
 さらに、本願の一観点によれば、前記複数のアドホックネットワークのいずれかのアドホックネットワーク内のゲートウェイ固有の鍵が未設定なノードと、前記複数のアドホックネットワークの各アドホックネットワーク内のゲートウェイごとにゲートウェイ固有の鍵を関連付けた第1のデータベースおよび前記複数のアドホックネットワーク内のノードごとに所属ゲートウェイを関連付けた第2のデータベースを保持するサーバと、を含むネットワークシステムであって、前記ノードは、前記いずれかのアドホックネットワーク内の前記ノードに対する近隣ノードから、前記いずれかのアドホックネットワーク内のゲートウェイ固有の鍵を用いて暗号化された暗号化パケットを受信し、受信された暗号化パケットの中から前記近隣ノードのアドレスを抽出し、前記サーバと通信可能な携帯端末との接続を検知し、前記携帯端末との接続が検知された場合、前記携帯端末を介して、抽出された前記近隣ノードのアドレスを含むパケットを前記サーバに送信し、前記携帯端末を介して、前記近隣ノードの所属ゲートウェイ固有の鍵を前記サーバから受信し、受信された前記近隣ノードの所属ゲートウェイ固有の鍵を、前記いずれかのアドホックネットワーク内でマルチホップ通信させるパケットを暗号化するための鍵に設定し、前記サーバは、前記ノードに接続された前記携帯端末を介して前記ノードから前記パケットを受信し、前記第2のデータベースを参照することにより、受信されたパケットに含まれている前記近隣ノードのアドレスに基づいて、前記近隣ノードの所属ゲートウェイを特定し、特定された所属ゲートウェイ固有の鍵を前記第1のデータベースから抽出し、抽出された鍵を、前記携帯端末を介して前記ノードに送信することができる。
 本鍵設定方法、ノード、およびネットワークシステムによれば、アドホックネットワーク内のノードが用いる暗号鍵の設定作業の効率化を図ることができるという効果を奏する。
図1は、実施の形態にかかるネットワークシステムの一実施例を示す説明図である。 図2は、実施の形態にかかる管理サーバのハードウェア構成例を示すブロック図である。 図3は、実施の形態にかかるノード等のハードウェア構成例を示すブロック図である。 図4は、図1に示した暗号鍵DBの記憶内容の一例を示す説明図である。 図5は、図1に示したノードDBの記憶内容の一例を示す説明図である。 図6は、ネットワークシステムへの新規ノードの導入例を示す説明図である。 図7は、新規ノードの導入時におけるネットワークシステムの動作例を示すシーケンス図(その1)である。 図8は、新規ノードの導入時におけるネットワークシステムの動作例を示すシーケンス図(その2)である。 図9は、ノードの機能的構成例を示すブロック図である。 図10は、暗号化パケットSPのデータ構造の一例を示す説明図である。 図11は、管理サーバの機能的構成例を示すブロック図である。 図12は、ノードDBの更新の具体例を示す説明図である。 図13は、管理サーバの認証情報の一例を示す説明図である。 図14は、携帯端末の認証情報の一例を示す説明図である。 図15は、ノードNの鍵設定処理手順の一例を示すフローチャートである。 図16は、管理サーバの鍵提供処理手順の一例を示すフローチャートである。
 以下に添付図面を参照して、この発明にかかる鍵設定方法、ノード、およびネットワークシステムの実施の形態を詳細に説明する。
(ネットワークシステムの一実施例)
 図1は、実施の形態にかかるネットワークシステムの一実施例を示す説明図である。図1において、ネットワークシステム100は、管理サーバ101と、ゲートウェイG1~Gnと、ノードN1-1~N1-m1,…,Ni-1~Ni-mi,…,Nn-1~Nn-mnと、を含む構成である。iはアドホックネットワークAiの数(i=1,2,…,n),miは、アドホックネットワークAi内のノード数である。
 ネットワークシステム100において、管理サーバ101とゲートウェイG1~Gnは、インターネット、LAN、WANなどのネットワークNW1を介して相互に通信可能に接続されている。また、ゲートウェイGiとノードNi-1~Ni-miは、アドホックネットワークAiを介して接続されている。
 ここで、管理サーバ101は、暗号鍵DB(データベース)110とノードDB120とを備え、各ゲートウェイG1~Gn固有の暗号鍵を管理するコンピュータである。ゲートウェイGi固有の暗号鍵(以下、「暗号鍵Ki」という)は、ゲートウェイGiが属するアドホックネットワークAi内のノード間で送受信されるパケットを暗号化するための鍵情報である。なお、暗号鍵DB110およびノードDB120についての詳細な説明は後述する。
 ゲートウェイGiは、アドホックネットワークAiとネットワークNW1とを接続する中継機器である。ゲートウェイGiは、アドホックネットワークAiのプロトコルとネットワークNW1のプロトコルの両方を理解し、アドホックネットワークAiとネットワークNW1との間の通信の転送を行う。
 また、ゲートウェイGiは、アドホックネットワークAi内においてどのノードがどのノードに対し通信可能かを把握しており、この情報を元に、ゲートウェイGiは自律的にルーティングすることになる。各ノードNi-1~Ni-miでは、ゲートウェイGiのルーティングにより、マルチホップ通信を行う際の転送元アドレスと転送先アドレスが設定されることとなる。この設定は、ゲートウェイGiからのブロードキャストパケットでおこなわれる。
 ノードNi-1~Ni-miは、所定の通信圏内の他ノードとマルチホップ通信を行う無線通信装置である。アドホックネットワークAiでは、すべてのノードNi-1~Ni-miがゲートウェイGiと直接通信できる必要はなく、一部のノードがゲートウェイGiと通信可能であればよい。
 そして、ノードNi-1~Ni-miは、ゲートウェイGiからのブロードキャストパケットにより、パケットの転送元アドレスと転送先アドレスの組み合わせとなるルーティングテーブルを保持することとなる。
 ネットワークシステム100は、例えば、各家庭の電力やガスの使用量を収集するシステムに適用することができる。具体的には、例えば、各家庭の電力メータやガスメータに各ノードNi-1~Ni-miを組み込むことで、アドホックネットワークAi内のノード間で各家庭の電力やガスの使用量を送受信する。なお、各家庭の電力やガスの使用量は、各ノードNi-1~Ni-miが計測してもよく、また、各ノードNi-1~Ni-miが電力メータやガスメータから取得してもよい。
 ゲートウェイGiは、アドホックネットワークAi内のノードNi-1~Ni-miから受信した各家庭の電力やガスの使用量を、ネットワークNW1を介して電力会社やガス会社のサーバ(例えば、管理サーバ101)に送信する。これにより、作業員が現地に出向くことなく電力やガスの使用量を収集することができる。
 また、ネットワークシステム100では、アドホックネットワークAiごとにゲートウェイGi固有の暗号鍵Kiを用いてパケットを暗号化する。これにより、アドホックネットワークAiのセキュア通信(データ秘匿性、改ざん防止など)を確保する。また、アドホックネットワークAiごとに暗号鍵Kiを変えることで、鍵漏洩時のリスクを低減させる。
 なお、図1の例では、アドホックネットワークAi内に1台のゲートウェイGiを設ける構成としたが、同一のアドホックネットワークAi内に複数台のゲートウェイGiを設ける構成としてもよい。この場合、アドホックネットワークAi内で送受信されるパケットを暗号化するための暗号鍵Kiは、複数台のゲートウェイGiで共通である。
(管理サーバ101のハードウェア構成例)
 図2は、実施の形態にかかる管理サーバのハードウェア構成例を示すブロック図である。図2において、管理サーバ101は、CPU(Central Processing Unit)201と、ROM(Read‐Only Memory)202と、RAM(Random Access Memory)203と、磁気ディスクドライブ204と、磁気ディスク205と、光ディスクドライブ206と、光ディスク207と、I/F(Interface)208と、ディスプレイ209と、キーボード210と、マウス211と、を備えている。また、CPU201~マウス211はバス200によってそれぞれ接続されている。
 ここで、CPU201は、管理サーバ101の全体の制御を司る。ROM202は、ブートプログラムなどのプログラムを記憶している。RAM203は、CPU201のワークエリアとして使用される。磁気ディスクドライブ204は、CPU201の制御に従って磁気ディスク205に対するデータのリード/ライトを制御する。磁気ディスク205は、磁気ディスクドライブ204の制御で書き込まれたデータを記憶する。
 光ディスクドライブ206は、CPU201の制御に従って光ディスク207に対するデータのリード/ライトを制御する。光ディスク207は、光ディスクドライブ206の制御で書き込まれたデータを記憶したり、光ディスク207に記憶されたデータをコンピュータに読み取らせたりする。
 I/F208は、通信回線を通じてネットワークNW1,NW2に接続され、このネットワークNW1,NW2を介して他の装置(例えば、ゲートウェイGi、携帯端末600)に接続される。I/F208は、ネットワークNW1,NW2と内部のインターフェースを司り、外部装置からのデータの入出力を制御する。I/F208には、例えば、モデムやLANアダプタなどを採用することができる。
 ディスプレイ209は、カーソル、アイコンあるいはツールボックスをはじめ、文書、画像、機能情報などのデータを表示する。このディスプレイ209は、たとえば、CRT、TFT液晶ディスプレイ、プラズマディスプレイなどを採用することができる。
 キーボード210は、文字、数字、各種指示などの入力のためのキーを備え、データの入力を行う。また、タッチパネル式の入力パッドやテンキーなどであってもよい。マウス211は、カーソルの移動や範囲選択、あるいはウィンドウの移動やサイズの変更などを行う。ポインティングデバイスとして同様に機能を備えるものであれば、トラックボールやジョイスティックなどであってもよい。なお、図6に示した携帯端末600についても、図2に示した管理サーバ101と同様のハードウェア構成により実現できる。
(ノード等のハードウェア構成例)
 図3は、実施の形態にかかるノード等のハードウェア構成例を示すブロック図である。図3において、ノード等は、CPU301と、RAM302と、フラッシュメモリ303と、I/F304と、暗号化回路305と、を備えている。CPU301~暗号化回路305は、バス300によってそれぞれ接続されている。
 ここで、CPU301は、ノード等の全体の制御を司る。RAM302は、CPU301のワークエリアとして使用される。フラッシュメモリ303は、プログラムや暗号鍵などの鍵情報を記憶している。I/F304は、マルチホップ通信によりパケットを送受信する。また、ゲートウェイGiのI/F304は、通信回線を通じてネットワークNW1に接続され、このネットワークNW1を介して管理サーバ101に接続される。
 暗号化回路305は、データを暗号化する場合に暗号鍵によりデータを暗号化する回路である。暗号化をソフトウェア的に実行する場合は、暗号化回路305に相当するプログラムをフラッシュメモリ303に記憶させておくことで、暗号化回路305は不要となる。
(暗号鍵DB110の記憶内容)
 図4は、図1に示した暗号鍵DBの記憶内容の一例を示す説明図である。図4において、暗号鍵DB110は、ID、GWアドレスおよび暗号鍵のフィールドを有し、各フィールドに情報を設定することで、ゲートウェイG1~Gnごとの鍵情報400-1~400-nをレコードとして記憶している。
 ここで、IDは、本明細書において説明上用いる各ゲートウェイGiの識別子である。GWアドレスは、ゲートウェイGiのアドレスである。GWアドレスとしては、例えば、ゲートウェイGiのMAC(Media Access Control)アドレスやIP(Internet Protocol)アドレスを用いることができる。暗号鍵は、各ゲートウェイGi固有の暗号鍵Kiであり、具体的には、例えば、128~256ビット程度のバイナリデータである。
 鍵情報400-1を例に挙げると、ゲートウェイG1のGWアドレスは『xx:xx:xx:xx:12:34』、暗号鍵は『K1』である。なお、暗号鍵DB110は、例えば、図2に示した管理サーバ101のROM202、RAM203、磁気ディスク205、光ディスク207などの記憶装置により実現される。
 暗号鍵DB110の記憶内容は、管理サーバ101がゲートウェイGi固有の暗号鍵KiをゲートウェイGiから受信することで更新してもよい。また、図2に示したキーボード210やマウス211を用いたユーザの操作入力により、暗号鍵DB110の記憶内容を更新することにしてもよい。
(ノードDB120の記憶内容)
 図5は、図1に示したノードDB120の記憶内容の一例を示す説明図である。図5において、ノードDB120は、ノードアドレスと所属ゲートウェイ(所属GW)のフィールドを有し、各フィールドに情報を設定することで、ノードごとの所属GWのID(図4のIDに相当)をレコードとして記憶している。
 ここでは、例として、『aa:aa:aa:aa:aa:aa』をアドホックネットワークAi内のノードNi-1のアドレス、『bb:bb:bb:bb:bb:bb』をアドホックネットワークAi内のノードNi-2のアドレス、『cc:cc:cc:cc:cc:cc』をアドホックネットワークAi内のノードNi-3のアドレスとする。すなわち、ノードDB120を参照することで、ノードNi-1~Ni-3の所属GWがゲートウェイGiであることがわかる。なお、所属GWのフィールドには、所属GWのIDの代わりに、所属GWのアドレスを記憶してもよい。
(新規ノードNの導入時における暗号鍵Kiの設定例)
 つぎに、図1に示したネットワークシステム100への新規ノードの導入時における暗号鍵Kiの設定例について説明する。
 図6は、ネットワークシステムへの新規ノードの導入例を示す説明図である。図6において、ネットワークシステム100のアドホックネットワークAi内に新規ノードNが導入されている。なお、図6では、アドホックネットワークAi内のノードNi-1~Ni-miのうち、代表としてノードNi-1~Ni-3を示している。
 新規ノードNの導入時は、作業員OPは新規ノードNがどのアドホックネットワークAiに属しているのかわからない。そこで、本実施の形態では、作業員OPが使用する携帯端末600を利用して、新規ノードNがアドホックネットワークAi内のノードNi-xとして設定すべき暗号鍵Kiを管理サーバ101に問い合わせることで、適切な暗号鍵Kiを管理サーバ101から取得して新規ノードNi-xに自動設定する。
 ここで、携帯端末600は、作業員OPが使用する携帯型の通信装置であり、例えば、携帯電話機、PHS(Personal Handy-phone System)電話機、スマートフォン、ノート型のパーソナル・コンピュータなどである。携帯端末600は、直接通信できない新規ノードNと管理サーバ101との間の通信を中継する。
 図7および図8は、新規ノードの導入時におけるネットワークシステムの動作例を示すシーケンス図である。図7のシーケンスは、例えば、作業員OPが現地(新規ノードNの設置場所)に出向くまでに行われる動作例である。図8のシーケンスは、例えば、作業員OPが現地に出向いたあとに行われる動作例である。
 図7のシーケンスにおいて、(1)ゲートウェイGiは、アドホックネットワークAiのネットワーク情報を管理サーバ101に送信する。ネットワーク情報は、ゲートウェイGi固有の暗号鍵KiとアドホックネットワークAi内のノードNi-1~Ni-3のアドレスを含む。ゲートウェイGiは、アドホックネットワークAi内のマルチホップ通信で事前にノードNi-1~Ni-3のアドレスを取得してあるため、ネットワーク情報に含めて管理サーバ101に送信することができる。
 (2)管理サーバ101は、ネットワーク情報からゲートウェイGi固有の暗号鍵Kiを取り出して、ゲートウェイGi固有の暗号鍵KiとゲートウェイGiのアドレスとを関連付けて暗号鍵DB110に登録する。
 (3)管理サーバ101は、ネットワーク情報からノードNi-1~Ni-3のアドレスを取り出して、ノードNi-1~Ni-3のアドレスとゲートウェイGiのIDとを関連付けてノードDB120に登録する。なお、上記(1)~(3)の処理はおこなわず、あらかじめ暗号鍵DB110およびノードDB120を、上記(2)および(3)での登録状態にしておいてもよい。
 (4)ゲートウェイGiは、ゲートウェイGi固有の暗号鍵Kiを用いて暗号化されたパケット(以下、「暗号化パケットSPi」という)をアドホックネットワークAiにブロードキャスト(同時通報)する。ゲートウェイGiからの暗号化パケットSPiは、アドホックネットワークAi内の時刻同期などアドホックネットワークAi内の全ノードに通知するために周期的(たとえば、1時間に1回)に通知されるパケットである。また、設定初期化や、上述したアドホックネットワークAi内のルーティング設定など一時的に送信されるパケットでもよい。
 (5)ノードNi-1は、ゲートウェイGiからの暗号化パケットSPiを通信圏内のノードNi-3に転送する。具体的には、ノードNi-1には、ゲートウェイGiからのブロードキャストパケットにより設定された、転送元アドレスと転送先アドレスを関連付けたルーティングテーブルRi-1がある。たとえば、図7では、転送元アドレス:ゲートウェイGiのアドレス、転送先アドレス:ノードNi-3のアドレスと規定されているため、暗号化パケットSPiは、ノードNi-3に転送される。
 ノードNi-3にも、ゲートウェイGiからのブロードキャストパケットにより設定された、転送元アドレスと転送先アドレスを関連付けたルーティングテーブルRi-3がある。たとえば、図7では、転送元アドレス:ノードNi-1のアドレス、転送先アドレス:-(なし)と規定されているため、暗号化パケットSPiは、どこにも転送されない。これにより、ブロードキャストパケットである暗号化パケットSPiが末端ノードであるノードNi-3にまで行き渡る。
 (6)また、ノードNi-1は、自ノードで計測データが得られた場合、ゲートウェイGi固有の暗号鍵Kiで暗号化された暗号化パケットSP1を、ルーティングテーブルRi-1に従ってゲートウェイGiに送信する。暗号化パケットSP1は、たとえば、ノードNi-1での計測データを暗号鍵Kiで暗号化したパケットである。暗号化パケットSP1は、送信元アドレスをノードNi-1のアドレス、宛先アドレスをゲートウェイGiのアドレスとするユニキャストパケットである。
 (7)同様に、ノードNi-3は、自ノードで計測データが得られた場合、ゲートウェイGi固有の暗号鍵Kiで暗号化された暗号化パケットSP3を、ルーティングテーブルRi-3に従ってノードNi-1に送信する。暗号化パケットSP3は、たとえば、ノードNi-3での計測データを暗号鍵Kiで暗号化したパケットである。暗号化パケットSP3は、送信元アドレスをノードNi-3のアドレス、宛先アドレスをゲートウェイGiのアドレスとするユニキャストパケットである。
 (8)ノードNi-1は、ゲートウェイGi固有の暗号鍵Kiで暗号化された暗号化パケットSP3を、ルーティングテーブルRi-1に従ってゲートウェイGiに転送する。
 なお、ノードNi-1,Ni-3からの暗号化パケットSP1,SP3は、ゲートウェイGiのブロードキャストパケット(暗号化パケットSPi)の送信周期よりも短い周期で送信されるパケットである。たとえば、各ノードNi-1,Ni-3内では、ゲートウェイGiのブロードキャストパケット(暗号化パケットSPi)の送信周期よりも短い周期で計測データが得られる。
 そのため、ノードNi-1,Ni-3は、計測データが得られる都度、ゲートウェイGiに計測データを含む暗号化パケットSP1,SP3をマルチホップ通信することとなる。そして、ゲートウェイGiは、ノードNi-1,Ni-3からの暗号化パケットSP1,SP3を管理サーバ101に送信することで、ノードNi-1,Ni-3の時系列な計測データを得ることができる。
 そして、上記(3)のブロードキャストパケット(暗号化パケットSPi)の送信後に、新規ノードNi-xがノードNi-3の通信圏内に設置されたとする。新規ノードNi-xは設置しただけではゲートウェイGi固有の暗号鍵Kiを有していないため、暗号鍵Kiで暗号化されたパケットを受信できても復号はできない状態である。
 また、新規ノードNi-xは、暗号鍵Kiを有していないため、新規ノードNi-xでの計測データを暗号化することができず、パケット送信しても送信先のノードに受信してもらえない状態である。また、ノードDB120には、新規ノードNi-xの所属GWが登録されていない。
 (9)そして、上記(7)において、ノードNi-3から送信された暗号化パケットSP3は、ルーティングテーブルRi-3で新規ノードNi-xが転送先でないにもかかわらず、新規ノードNi-xに傍受される。
 (10)新規ノードNi-xは、ノードNi-3から傍受した暗号化パケットSP3から、暗号化パケットSP3のヘッダ部に記述されている送信元アドレス(ノードNi-3のアドレス)を抽出する。暗号化パケットSP3のヘッダ部は暗号化されていないため、新規ノードNi-xは、送信元アドレス(ノードNi-3のアドレス)を抽出することができる。つぎに、図8のシーケンスに移る。
 (11)携帯端末600は、携帯電話網やインターネットなどのネットワークNW2を介して管理サーバ101に接続する。この際、携帯端末600は、例えば、SSL(Secure Socket Layer)を用いて、管理サーバ101とセキュアな通信を行う。なお、管理サーバ101と携帯端末600との間でセキュア通信を実現するための通信方式については、図13および図14を用いて後述する。
 (12)携帯端末600は、有線または無線のネットワークNW3を介して新規ノードNi-xに接続する。具体的には、例えば、作業員OPが、USB(Universal Serial Bus)ケーブルを用いて、携帯端末600と新規ノードNi-xとを接続することで、携帯端末600と新規ノードNi-xとの間にネットワークNW3が確立される。
 (13)新規ノードNi-xは、ネットワークNW3を介して、図7に示した(10)において抽出されたノードNi-3のアドレスと新規ノードNi-xのアドレスを含むパケットPNを携帯端末600に送信する。
 (14)携帯端末600は、ネットワークNW2を介して、新規ノードNi-xからのパケットPNを管理サーバ101に送信する。
 (15)管理サーバ101は、携帯端末600からのパケットPNを受信し、パケットPNに含まれているノードNi-3のアドレスを抽出する。そして、管理サーバ101は、ノードDB120を参照して、抽出されたノードNi-3のアドレスと関連付けて記憶されている所属GWのID(または所属GWのアドレス)を特定する。
 (16)管理サーバ101は、上記(15)で特定された所属GWのID(または所属GWのアドレス)を手がかりとして、暗号鍵DB110の中から、ゲートウェイGiのID(または所属GWのアドレス)と関連付けて記憶されている暗号鍵Kiを抽出する。
 (17)管理サーバ101は、受信されたパケットPNに含まれている新規ノードNi-xのアドレスを、上記(15)で特定された所属GWのIDに関連づけて、ノードDB120に登録する。これにより、新規ノードNi-xの所属GWがゲートウェイGiであることが、ノードDB120を参照することで特定可能となる。
 (18)管理サーバ101は、ネットワークNW2を介して、抽出された暗号鍵Kiを携帯端末600に送信する。送信のタイミングは、上記(17)の前でも後でもよい。(17)の前に送信する場合は、(17)のノードDB120の更新を待たずして、新規ノードNi-xの設定処理を実行できるため、設定処理の高速化を図ることができる。
 (19)携帯端末600は、ネットワークNW3を介して、管理サーバ101からの暗号鍵Kiを新規ノードNi-xに送信する。(20)新規ノードNi-xは、携帯端末600からの暗号鍵Kiを、パケットを暗号化するための鍵に設定する。このあと、(20)新規ノードNi-xは復号確認をおこなってもよい。具体的には、新規ノードNi-xは、図7の(9)においてノードNi-3から暗号化パケットSP3を受信して保持している。
 したがって、新規ノードNi-xは、上記(20)で受信した暗号鍵Kiで、暗号化パケットSP3の復号を試みる。復号が成功した場合は、そのまま新規ノードNi-xは暗号鍵Kiを使用することができる。一方、復号が失敗した場合は、再度図7の(9)のようにノードNi-3からの暗号化パケットSP3の受信を待ち受けて、(10)~(20)を実行することとなる。
 このように、新規ノードNi-xが、セキュア通信のための暗号鍵Kiが未設定でも受信できる近隣ノード(ここでは、ノードNi-3)からの暗号化パケットを手掛かりに、携帯端末600を介して、管理サーバ101に鍵要求することで、設定すべき暗号鍵Kiを取得することができる。
 すなわち、既設定のノードは常時、計測データを暗号化パケットとしてゲートウェイGiを宛先として送信しているため、新規ノードNi-xの設置時において早期に上記(9)~(21)の処理を実行することが可能となる。したがって、作業員OPは、ブロードキャストパケット(暗号化パケットSPi)で設定作業をおこなう場合にくらべて、設定作業を円滑におこなうことができる。
 なお、以下の説明において、「ノードN」とは、ネットワークシステム100のアドホックネットワークA1~AnのいずれかのアドホックネットワークAi内でマルチホップ通信によりパケットを送受信するノードを示す。また、「ノード等」とは、ネットワークシステム100のゲートウェイG1~GnおよびノードNを示す。
(ノードNの機能的構成例)
 図9は、ノードの機能的構成例を示すブロック図である。図9において、ノードNは、パケット受信部901と、検知部902と、パケット送信部903と、鍵受信部904と、設定部905と、抽出部906と、生成部907と、復号部908と、出力部909と、取得部910と、暗号化処理部911と、を含む構成である。
 各機能部(パケット受信部901~暗号化処理部911)は、具体的には、例えば、図3に示したRAM302、フラッシュメモリ303などの記憶装置に記憶されたプログラムをCPU301に実行させることにより、または、I/F304により、その機能を実現する。また、各機能部(パケット受信部901~暗号化処理部911)の処理結果は、特に指定する場合を除いて、RAM302、フラッシュメモリ303などの記憶装置に記憶される。
 パケット受信部901は、アドホックネットワークAi内からの暗号化パケットを受信する。暗号化パケットは、ゲートウェイGi固有の暗号鍵Kiを用いて暗号化されたパケットである。たとえば、暗号化パケットSPは、ゲートウェイGiからのブロードキャストパケット(暗号化パケットSPi)や他のノードからの暗号化パケットSP1,SP3である。以降、暗号化パケットSPi,SP1,SP3など暗号鍵Kiで暗号化されたパケットを総称して『暗号化パケットSP』とする。ここで、暗号化パケットSPのデータ構造について説明する。
 図10は、暗号化パケットSPのデータ構造の一例を示す説明図である。図10において、暗号化パケットSPは、ヘッダ部1010とペイロード部1020とを含む構成である。ヘッダ部1010には、宛先アドレス、差出アドレス、ホップ数が記述されている。ペイロード部1020には、暗号化されたデータ本体が記述されている(図10中ハッチ部分)。
 ここで、宛先アドレスは、送信先のアドレスである。差出アドレスは、送信元のアドレスである。また、ヘッダ部1010にはゲートウェイGiのアドレスが記述されている。図10では、暗号化パケットSPを暗号化パケットSP3としているため、宛先アドレスは、ゲートウェイGiのアドレス『xx:xx:xx:xx:xx:xx』であり、差出アドレスは、ノードNi-1のアドレス『cc:cc:cc:cc:cc:cc』である。
 なお、暗号化パケットSPが暗号化パケットSPiの場合、宛先アドレスは、ブロードキャスト用のMACアドレス『00:00:00:00:00:00』となる。また、ここでは宛先アドレスおよび差出アドレスの一例として、MACアドレスを用いて説明したが、IPアドレスなどのアドレスを用いることにしてもよい。
 ホップ数は、マルチホップの上限回数であり、マルチホップされる都度、デクリメントされる。図10では、『10』となっているため、10回マルチホップされると、その次はマルチホップされない。
 また、ノードNが暗号鍵Ki未設定の新規ノードNi-xである場合、パケット受信部901は、近隣ノードからの暗号化パケットSPを受信(傍受)する。また、パケット受信部901は、ノードNに暗号鍵Kiが設定されている場合であっても、転送先でない場合は、通信圏内であれば暗号化パケットSPを傍受する。この場合、傍受したノードNのルーティングテーブルでは、暗号化パケットSPの転送元が登録されていないため、傍受した暗号化パケットSPは、傍受したノードNで破棄されることとなる。
 検知部902は、管理サーバ101と通信可能な携帯端末600との接続を検知する。具体的には、例えば、作業員OPがUSBケーブルを用いて携帯端末600と新規ノードNとを接続した結果、検知部902が、USBケーブルを介した携帯端末600との接続を検知する。
 抽出部906は、受信された暗号化パケットSPから近隣ノードのアドレスを抽出する。すなわち、具体的には、例えば、ノードNi-xの場合は、抽出部906は、図10に示した暗号化パケットSPのヘッダ部1010の差出アドレスとして記述されているノードNi-3のアドレス『cc:cc:cc:cc:cc:cc』を抽出する。
 生成部907は、パケットPNを生成する。具体的には、たとえば、生成部907は、抽出部906によって抽出された近隣ノードのアドレス(暗号化パケットSPの差出アドレス)および新規ノード(自ノード)Nのアドレスを含むパケットPNを生成する。
 パケット送信部903は、携帯端末600との接続が検知された場合、携帯端末600を介して、パケットPNを管理サーバ101に送信する。具体的には、例えば、パケット送信部903が、USBケーブルなどのネットワークNW3を介して、パケットPNを携帯端末600に送信する。この結果、携帯端末600が、ネットワークNW2を介して、ノードNi-xからの暗号化パケットPNを管理サーバ101に送信する。また、パケット送信部903は、暗号鍵Kiが設定されたあとは、暗号鍵Kiで暗号化された暗号化パケットSPを宛先(たとえば、ゲートウェイGi)に送信する。
 鍵受信部904は、携帯端末600を介して、暗号化パケットSPを復号するためのゲートウェイGi固有の暗号鍵Kiを管理サーバ101から受信する。この暗号鍵Kiは、例えば、パケットを暗号化するとともに、暗号鍵Kiを用いて暗号化された暗号化パケットSPを復号することができる共通鍵である。
 設定部905は、受信されたゲートウェイGi固有の暗号鍵Kiを、アドホックネットワークAi内でマルチホップ通信させるパケットを暗号化するための鍵に設定する。具体的には、例えば、設定部905は、特定の記憶領域に暗号鍵Kiを書き込む。特定の記憶領域のアドレスは、パケットを暗号化する際、または暗号化パケットSPを復号する際に指定されるアドレスである。これにより、以降においてノードNが送信対象となるパケットを暗号化、および暗号化パケットSPを復号することが可能となり、アドホックネットワークAi内のノード間でセキュア通信を行うことができる。
 復号部908は、設定処理中において、設定部905によって設定された暗号鍵Kiで、パケット受信部901によって受信された暗号化パケットSPの復号を試みる。すなわち、復号部908は、抽出部906によって近隣ノードのアドレスの抽出対象となった暗号化パケットSP(SP3)の復号を試みる。また、復号部908は、暗号鍵Kiが設定された後、設定部905によって設定された暗号鍵Kiで、パケット受信部901によって受信される暗号化パケットSPを復号する。
 また、復号の成否は、暗号化パケットSPを復号した復号後のパケットのフォーマットに基づいて判断することができる。具体的には、例えば、暗号化パケットSPを復号した復号後のパケットが、予め規定されたフォーマットのデータの場合、復号部908は、暗号化パケットSPの復号が成功したと判断する。
 出力部909は、復号部908による復号結果を出力する。具体的には、たとえば、出力部909は、差出アドレスの抽出対象となった暗号化パケットSP(SP3)の復号が成功した場合、成功した旨をディスプレイに表示したり、音声により報知する。また、出力部909は、差出アドレスの抽出対象となった暗号化パケットSP(SP3)の復号が失敗した場合、失敗した旨をディスプレイに表示したり、音声により報知する。
 取得部910は、計測対象で測定された測定データを取得する。たとえば、ノードNが電力計に内蔵または接続されている場合は、電力量を取得することとなる。暗号化処理部911は、取得部910によって取得されたデータを、暗号鍵Kiで暗号化する。これにより、パケット送信部901は、暗号化パケットSPをゲートウェイGiに送信することができる。
(管理サーバ101の機能的構成例)
 図11は、管理サーバ101の機能的構成例を示すブロック図である。図11において、管理サーバ101は、受信部1101と、特定部1102と、更新部1103と、鍵抽出部1104と、送信部1105と、を含む構成である。各機能部(受信部1101~送信部1105)は、具体的には、たとえば、図2に示したROM202、RAM203、磁気ディスク205、光ディスク207などの記憶装置に記憶されたプログラムをCPU201に実行させることにより、または、I/F208により、その機能を実現する。また、各機能部(受信部1101~送信部1105)の処理結果は、例えば、RAM203、磁気ディスク205、光ディスク207などの記憶装置に記憶される。
 受信部1101は、携帯端末600を介して、パケットPNをノードNから受信する。具体的には、例えば、受信部1101が、ネットワークNW2を介して、ノードNからのパケットPNを携帯端末600から受信する。
 特定部1102は、受信部1101によって受信されたパケットPNから、パケットPNに含まれている近隣ノードのアドレスを抽出する。そして、特定部1102は、抽出された近隣ノードのアドレスに関連づけて記憶されている所属GWのIDを、ノードDB120から特定する。たとえば、パケットPNのペイロード部1020に含まれている近隣ノードのアドレスがノードNi-3のアドレス『cc:cc:cc:cc:cc:cc』である場合、所属GWのID:Giが特定される。
 更新部1103は、受信部1101によって受信されたパケットPNから、パケットPNに含まれている、新規ノードのアドレスを抽出する。ここで、更新の具体例について説明する。
 図12は、ノードDB120の更新の具体例を示す説明図である。具体的には、たとえば、新規ノードがノードNi-xの場合、更新部1103は、ノードNi-xのアドレス『dd:dd:dd:dd:dd:dd』を、特定部1102によって特定された所属GWのID:Giに関連づけたレコードを追加登録する(図12中ハッチ部分)。これにより、ノードDB120が更新されることとなる。
 鍵抽出部1104は、暗号鍵DB110の中から、特定部1102によって特定された所属GWのIDに関連づけて記憶されている暗号鍵Kiを抽出する。特定部1102によって特定された所属GWのIDがGiである場合、暗号鍵DB110の中から、GWアドレス『xx:xx:xx:xx:xx:xx』と関連付けて記憶されている暗号鍵Kiが抽出される。
 すなわち、所属GWが同じであれば、必然的に同一の暗号鍵Kiを利用することとなるため、新規ノードNi-xの暗号鍵として、同一所属GWである近隣ノードNi-3と同一の暗号鍵Kiが抽出される。したがって、アドホックネットワークAi内のゲートウェイGiおよびノードNi-1~Ni-miで利用されている暗号鍵Kiを新規ノードNi-xに付与することができる。
 送信部1105は、携帯端末600を介して、抽出された暗号鍵Kiを、受信されたパケットに含まれている新規ノードのアドレス宛に送信する。具体的には、例えば、送信部1105は、ネットワークNW2を介して、抽出された暗号鍵Kiを携帯端末600に送信する。この結果、携帯端末600が、ネットワークNW3を介して、管理サーバ101からの暗号鍵KiをノードNに送信する。
(管理サーバ101と携帯端末600との間の通信方式)
 ここで、管理サーバ101と携帯端末600との間の通信方式の一実施例について説明する。まず、携帯端末600からみた管理サーバ101のサーバ認証について説明する。具体的には、例えば、まず、携帯端末600が、予め決められたIPアドレスを用いて管理サーバ101に接続する。
 そして、携帯端末600が、管理サーバ101からSSLサーバ証明書を受信する。受信されたSSLサーバ証明書は、例えば、図13に示すように管理サーバ101のIPアドレスと関連付けて携帯端末600のRAM302やフラッシュメモリ303などの記憶装置に記憶される。
 図13は、管理サーバの認証情報の一例を示す説明図である。図13において、管理サーバ101の認証情報1300は、IPアドレスおよびSSLサーバ証明書を有する。IPアドレスは、管理サーバ101のIPアドレスである。X.509証明書は、管理サーバ101のSSLサーバ証明書(公開鍵証明書)である。
 携帯端末600は、予め自端末に組み込まれている公開鍵を用いて、SSLサーバ証明書を復号することでサーバ認証を行う。公開鍵は、例えば、第三者認証機関によって発行されたものである。この公開鍵を用いてSSLサーバ証明書を正しく復号できれば、SSLサーバ証明書が第三者認証機関によって証明された正しい証明書であることがわかり、ひいては管理サーバ101の身元が保証されたことになる。
 つぎに、管理サーバ101からみた携帯端末600のユーザ認証について説明する。ここでは、図14に示すような携帯端末600の認証情報1400を用いて、携帯端末600のユーザ認証を行う場合を例に挙げて説明する。認証情報1400は、例えば、管理サーバ101のROM202、RAM203、磁気ディスク205、光ディスク207などの記憶装置に記憶されている。
 図14は、携帯端末の認証情報の一例を示す説明図である。図14において、携帯端末600の認証情報1400は、ユーザIDおよびパスワードを有する。ユーザIDは、携帯端末600の識別子である。パスワードは、携帯端末600を使用するユーザを認証するためのものである。
 具体的には、例えば、まず、携帯端末600が、ユーザIDおよびパスワードのペアを管理サーバ101に送信する。このユーザIDおよびパスワードは、携帯端末600のフラッシュメモリ303に予め登録されていてもよく、また、携帯端末600の入力装置(不図示)を用いたユーザの操作入力により受け付けてもよい。
 このあと、管理サーバ101は、携帯端末600からのユーザIDおよびパスワードのペアを、認証情報1400のユーザIDおよびパスワードのペアと一致判定する。ここで、認証情報1400のユーザIDおよびパスワードと一致すれば、携帯端末600のユーザの身元が保証されたことになる。
 なお、認証後において、携帯端末600は、例えば、管理サーバ101のSSLサーバ証明書に含まれる公開鍵を用いてパケットを暗号化して管理サーバ101との通信を行う。これにより、管理サーバ101と携帯端末600との間でセキュアな通信を行うことができる。
(ノードNの鍵設定処理手順)
 図15は、ノードNの鍵設定処理手順の一例を示すフローチャートである。図15のフローチャートにおいて、まず、ノードNは、パケット受信部901により、近隣ノードからの暗号化パケットSPを受信したか否かを判断する(ステップS1501)。たとえば、新規ノードNi-xが、近隣ノードNi-3からの暗号化パケットSP3を受信したか否かを判断する。
 ここで、暗号化パケットSPを受信するのを待って(ステップS1501:No)、受信した場合(ステップS1501:Yes)、ノードNは、受信した暗号化パケットSPから近隣ノードのアドレスを抽出する(ステップS1502)。そして、ノードNは、抽出された近隣ノードのアドレスと自ノードNのアドレスを含むパケットPNを生成する(ステップS1503)。このあと、ノードNは、検知部902により、管理サーバ101と通信可能な携帯端末600との接続を検知したか否かを判断する(ステップS1504)。
 ここで、ノードNは、携帯端末600との接続が検知されるのを待って(ステップS1504:No)、検知された場合(ステップS1504:Yes)、パケット送信部903により、携帯端末600を介して、生成パケットPNを管理サーバ101に送信する(ステップS1505)。
 このあと、ノードNは、鍵受信部904により、携帯端末600を介して、ゲートウェイGi固有の暗号鍵Kiを管理サーバ101から受信したか否かを判断する(ステップS1506)。
 ここで、ノードNは、暗号鍵Kiを受信するのを待って(ステップS1506:No)、受信した場合(ステップS1506:Yes)、設定部905により、受信されたゲートウェイGi固有の暗号鍵Kiを、暗号化パケットSPを暗号化するための鍵に設定する(ステップS1507)。
 このあと、ノードNは、復号部908により、ステップS1501において近隣ノードから送信されてきた暗号化パケットSPの復号を試みる(ステップS1508)。復号が失敗した場合(ステップS1508:No)、出力部909により設定エラーを出力し(ステップS1509)、ステップS1501に戻る。一方、復号が成功した場合(ステップS1508:Yes)、出力部909により設定完了を出力し(ステップS1510)、本フローチャートによる一連の処理を終了する。
 これにより、暗号化パケットSPを復号するためのゲートウェイGi固有の暗号鍵Kiを管理サーバ101から取得して設定することができる。
(管理サーバ101の鍵提供処理手順)
 図16は、管理サーバの鍵提供処理手順の一例を示すフローチャートである。図16のフローチャートにおいて、まず、管理サーバ101は、受信部1101により、携帯端末600を介して、生成パケットPNをノードNから受信したか否かを判断する(ステップS1601)。
 ここで、生成パケットPNを受信するのを待って(ステップS1601:No)、受信した場合(ステップS1601:Yes)、管理サーバ101は、特定部1102により、生成パケットPNの中から近隣ノードのアドレスを抽出する。そして、管理サーバ101は、抽出された近隣ノードのアドレスに関連付けて記憶されている所属GWのIDを、ノードDB120から特定する(ステップS1602)。
 たとえば、近隣ノードがノードNi-3である場合、ノードNi-3のアドレスは、『cc:cc:cc:cc:cc:cc』であるため、ノードNi-3のアドレス『cc:cc:cc:cc:cc:cc』に関連付けて記憶されている所属GWのID『Gi』を特定する。
 そして、更新部1103は、生成パケットPNから送信元のノードNのアドレスを抽出し、特定された所属GWのIDと関連付けて、ノードDB120に登録する(ステップS1603)。これにより、ノードNの登録後に、ノードNが新規ノードの近隣ノードになった場合でも、新規ノードの所属GWを特定することができる。
 また、管理サーバ101は、鍵抽出部1104により、特定された所属GWのIDを手がかりとして、暗号鍵DB110の中から暗号鍵Kiを抽出する(ステップS1604)。管理サーバ101は、送信部1105により、携帯端末600を介して、抽出された暗号鍵KiをノードNに送信して(ステップS1605)、本フローチャートによる一連の処理を終了する。これにより、ノードNが属するアドホックネットワークAi内のゲートウェイGi固有の暗号鍵KiをノードNに提供することができる。
 以上説明したように、本実施の形態によれば、アドホックネットワークAi内のノード群が運用中に新規ノードを設置する場合、ゲートウェイGiからの周期的なブロードキャストパケットを待つまでもなく、近隣ノードからの暗号化パケットSPを受信することで、鍵設定作業を早期におこなうことができる。
 すなわち、ノードNの通常の運用では、新規ノードが近隣ノードの通信圏内にあれば、近隣ノードからのパケットを傍受できるが、傍受されたパケットはマルチホップさせずに破棄される。ただ、通信圏内にあれば、近隣ノードから暗号化パケットSPを傍受する頻度が高くなるため、暗号鍵Kiが未設定の場合は、傍受された使い道のないパケットをあえて利用することで、暗号鍵Kiの設定を早期に実現することができる。
 このように、ノードNが、セキュア通信のための暗号鍵Kiが未設定でも受信できる近隣ノードからの暗号化パケットSPを手掛かりに、携帯端末600を介して、管理サーバ101に鍵要求することで、設定すべき暗号鍵Kiを取得することができる。これにより、ノードNの初期導入時などにおいて、作業員OPが地理的に絞り込まれた候補となるゲートウェイとノードNとの通信状況をしらみつぶしに確認するなどの作業が不要となり、ノードNに対する暗号鍵Kiの設定作業の効率化を図ることができる。また、確認作業のために候補となる各ゲートウェイの暗号鍵を携帯端末600などに記録しておく必要がないため、持ち運びの際の情報漏洩のリスクを低減させることができる。
 また、本実施の形態によれば、管理サーバ101は、暗号化パケットSPに含まれるゲートウェイGiのアドレスと関連付けて記憶されている暗号鍵Kiを暗号鍵DB110の中から抽出することができる。そして、管理サーバ101が、携帯端末600を介して、暗号鍵KiをノードNに送信することで、ノードNが属するアドホックネットワークAi内のゲートウェイGi固有の暗号鍵KiをノードNに提供することができる。
 また、ノードNの送信周期内に、近隣ノードから暗号化パケットSPを傍受できない場合は、そもそも近隣ノードの通信圏内に、新規ノードが設定されていないことが判明する。したがって、そのような場合は、作業員OPは、即座に設置位置を変更することで、新規ノードの設置作業および鍵設定作業の効率化を図ることができる。
 以上のことから、本実施の形態にかかる鍵設定方法、ノード、およびネットワークシステムによれば、アドホックネットワーク内のノードに対する暗号鍵の設定作業にかかる作業員の作業負担の軽減化および作業時間の短縮化を図ることができる。
 なお、本実施の形態で説明した鍵設定方法は、予め用意されたプログラムをパーソナル・コンピュータやワークステーション等のコンピュータで実行することにより実現することができる。本鍵設定プログラムは、ハードディスク、フレキシブルディスク、CD-ROM、MO、DVD等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。
 100 ネットワークシステム
 101 管理サーバ
 110 暗号鍵DB
 120 ノードDB
 600 携帯端末
 901 パケット受信部
 902 検知部
 903 パケット送信部
 904 鍵受信部
 905 設定部
 906 記録部
 907 生成部
 1101 受信部
 1102特定部
 1103更新部
 1104鍵抽出部
 1105送信部
 A1~An,Ai アドホックネットワーク
 G1~Gn,Gi ゲートウェイ
 N ノード
 NW1,NW2,NW3 ネットワーク

Claims (7)

  1.  複数のアドホックネットワークで構成されるネットワークシステムの中のいずれかのアドホックネットワーク内で通信を行うときに用いるゲートウェイ固有の鍵が未設定なノードが実行する鍵設定方法であって、
     前記いずれかのアドホックネットワーク内の前記ノードに対する近隣ノードから、前記ゲートウェイ固有の鍵を用いて暗号化された暗号化パケットを受信するパケット受信工程と、
     前記パケット受信工程によって受信された暗号化パケットの中から前記近隣ノードのアドレスを抽出する抽出工程と、
     前記複数のアドホックネットワークの各アドホックネットワーク内のゲートウェイごとにゲートウェイ固有の鍵を関連付けた第1のデータベースおよび前記複数のアドホックネットワーク内のノードごとに所属ゲートウェイを関連付けた第2のデータベースを保持するサーバと通信可能な携帯端末との接続を検知する検知工程と、
     前記検知工程によって前記携帯端末との接続が検知された場合、前記携帯端末を介して、前記抽出工程によって抽出された前記近隣ノードのアドレスを含むパケットを前記サーバに送信するパケット送信工程と、
     前記携帯端末を介して、前記パケット送信工程によって送信された結果、前記近隣ノードの所属ゲートウェイ固有の鍵を前記サーバから受信する鍵受信工程と、
     前記鍵受信工程によって受信された前記近隣ノードの所属ゲートウェイ固有の鍵を、前記いずれかのアドホックネットワーク内でマルチホップ通信させるパケットを暗号化するための鍵に設定する設定工程と、
     を含むことを特徴とする鍵設定方法。
  2.  前記暗号化パケットを、前記設定工程によって設定された鍵で復号する復号工程と、
     前記復号工程による復号結果を出力する出力工程と、
     を含むことを特徴とする請求項1に記載の鍵設定方法。
  3.  複数のアドホックネットワークで構成されるネットワークシステムの中のいずれかのアドホックネットワーク内で通信を行うときに用いるゲートウェイ固有の鍵が未設定なノードであって、
     前記いずれかのアドホックネットワーク内の前記ノードに対する近隣ノードから、前記いずれかのアドホックネットワーク内のゲートウェイ固有の鍵を用いて暗号化された暗号化パケットを受信するパケット受信手段と、
     前記パケット受信手段によって受信された暗号化パケットの中から前記近隣ノードのアドレスを抽出する抽出手段と、
     前記複数のアドホックネットワークの各アドホックネットワーク内のゲートウェイごとにゲートウェイ固有の鍵を関連付けた第1のデータベースおよび前記複数のアドホックネットワーク内のノードごとに所属ゲートウェイを関連付けた第2のデータベースを保持するサーバと通信可能な携帯端末との接続を検知する検知手段と、
     前記検知手段によって前記携帯端末との接続が検知された場合、前記携帯端末を介して、前記抽出手段によって抽出された前記近隣ノードのアドレスを含むパケットを前記サーバに送信するパケット送信手段と、
     前記携帯端末を介して、前記パケット送信手段によって送信された結果、前記近隣ノードの所属ゲートウェイ固有の鍵を前記サーバから受信する鍵受信手段と、
     前記鍵受信手段によって受信された前記近隣ノードの所属ゲートウェイ固有の鍵を、前記いずれかのアドホックネットワーク内でマルチホップ通信させるパケットを暗号化するための鍵に設定する設定手段と、
     を備えることを特徴とするノード。
  4.  前記暗号化パケットを、前記設定工程によって設定された鍵で復号する復号手段と、
     前記復号手段による復号結果を出力する出力手段と、
     を備えることを特徴とする請求項3に記載のノード。
  5.  複数のアドホックネットワークで構成されるネットワークシステムの中の各アドホックネットワーク内のゲートウェイごとにゲートウェイ固有の鍵を関連付けた第1のデータベースと、
     前記複数のアドホックネットワーク内のノードごとに所属ゲートウェイの識別情報を関連付けた第2のデータベースと、
     前記複数のアドホックネットワークのいずれかのアドホックネットワーク内のゲートウェイ固有の鍵が未設定なノードに接続された携帯端末を介して、前記ノードから前記ノードのアドレスおよび前記ノードの近隣ノードのアドレスを含むパケットを受信する受信手段と、
     前記第2のデータベースを参照することにより、前記受信手段によって受信されたパケットに含まれている前記近隣ノードのアドレスに基づいて、前記近隣ノードの所属ゲートウェイを特定する特定手段と、
     前記特定手段によって特定された所属ゲートウェイ固有の鍵を前記第1のデータベースから抽出する鍵抽出手段と、
     前記鍵抽出手段によって抽出された鍵を、前記携帯端末を介して前記ノードに送信する送信手段と、
     を備えることを特徴とするサーバ。
  6.  前記ノードのアドレスを前記特定手段によって特定された前記所属ゲートウェイに関連付けることにより、前記第2のデータベースを更新する更新手段を備えることを特徴とする請求項5に記載のサーバ。
  7.  前記複数のアドホックネットワークのいずれかのアドホックネットワーク内のゲートウェイ固有の鍵が未設定なノードと、前記複数のアドホックネットワークの各アドホックネットワーク内のゲートウェイごとにゲートウェイ固有の鍵を関連付けた第1のデータベースおよび前記複数のアドホックネットワーク内のノードごとに所属ゲートウェイを関連付けた第2のデータベースを保持するサーバと、を含むネットワークシステムであって、
     前記ノードは、
     前記いずれかのアドホックネットワーク内の前記ノードに対する近隣ノードから、前記いずれかのアドホックネットワーク内のゲートウェイ固有の鍵を用いて暗号化された暗号化パケットを受信するパケット受信手段と、
     前記パケット受信手段によって受信された暗号化パケットの中から前記近隣ノードのアドレスを抽出する抽出手段と、
     前記サーバと通信可能な携帯端末との接続を検知する検知手段と、
     前記検知手段によって前記携帯端末との接続が検知された場合、前記携帯端末を介して、前記抽出手段によって抽出された前記近隣ノードのアドレスを含むパケットを前記サーバに送信するパケット送信手段と、
     前記携帯端末を介して、前記パケット送信手段によって送信された結果、前記近隣ノードの所属ゲートウェイ固有の鍵を前記サーバから受信する鍵受信手段と、
     前記鍵受信手段によって受信された前記近隣ノードの所属ゲートウェイ固有の鍵を、前記いずれかのアドホックネットワーク内でマルチホップ通信させるパケットを暗号化するための鍵に設定する設定手段と、を備え、
     前記サーバは、
     前記ノードに接続された前記携帯端末を介して前記ノードから前記パケットを受信する受信手段と、
     前記第2のデータベースを参照することにより、前記受信手段によって受信されたパケットに含まれている前記近隣ノードのアドレスに基づいて、前記近隣ノードの所属ゲートウェイを特定する特定手段と、
     前記特定手段によって特定された所属ゲートウェイ固有の鍵を前記第1のデータベースから抽出する鍵抽出手段と、
     前記鍵抽出手段によって抽出された鍵を、前記携帯端末を介して前記ノードに送信する送信手段と、
     を備えることを特徴とするネットワークシステム。
PCT/JP2010/073812 2010-12-28 2010-12-28 鍵設定方法、ノード、およびネットワークシステム WO2012090330A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012550660A JP5494828B2 (ja) 2010-12-28 2010-12-28 鍵設定方法、ノード、サーバ、およびネットワークシステム
PCT/JP2010/073812 WO2012090330A1 (ja) 2010-12-28 2010-12-28 鍵設定方法、ノード、およびネットワークシステム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/073812 WO2012090330A1 (ja) 2010-12-28 2010-12-28 鍵設定方法、ノード、およびネットワークシステム

Publications (1)

Publication Number Publication Date
WO2012090330A1 true WO2012090330A1 (ja) 2012-07-05

Family

ID=46382478

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/073812 WO2012090330A1 (ja) 2010-12-28 2010-12-28 鍵設定方法、ノード、およびネットワークシステム

Country Status (2)

Country Link
JP (1) JP5494828B2 (ja)
WO (1) WO2012090330A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015022753A (ja) * 2013-07-16 2015-02-02 富士通株式会社 エネルギー使用データを共有する方法及びシステム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007074393A (ja) * 2005-09-07 2007-03-22 Ntt Docomo Inc 安全なアドホックネットワークを構築するシステム
JP2008537381A (ja) * 2005-04-04 2008-09-11 ノキア コーポレイション ワイヤレスローカルエリアネットワークのアドミニストレーション
JP2009535921A (ja) * 2006-04-28 2009-10-01 モトローラ・インコーポレイテッド 複数のアドホック・デバイスによるセルラー支援型セキュア通信を行う方法およびシステム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4158972B2 (ja) * 2003-12-18 2008-10-01 Kddi株式会社 マルチホップ通信方法
JP4526079B2 (ja) * 2005-04-13 2010-08-18 Kddi株式会社 マルチホップ通信システムおよびその移動端末、経路制御サーバならびに経路確立方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008537381A (ja) * 2005-04-04 2008-09-11 ノキア コーポレイション ワイヤレスローカルエリアネットワークのアドミニストレーション
JP2007074393A (ja) * 2005-09-07 2007-03-22 Ntt Docomo Inc 安全なアドホックネットワークを構築するシステム
JP2009535921A (ja) * 2006-04-28 2009-10-01 モトローラ・インコーポレイテッド 複数のアドホック・デバイスによるセルラー支援型セキュア通信を行う方法およびシステム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015022753A (ja) * 2013-07-16 2015-02-02 富士通株式会社 エネルギー使用データを共有する方法及びシステム

Also Published As

Publication number Publication date
JP5494828B2 (ja) 2014-05-21
JPWO2012090330A1 (ja) 2014-06-05

Similar Documents

Publication Publication Date Title
US7596368B2 (en) Wireless access point apparatus and method of establishing secure wireless links
KR101248906B1 (ko) 무선 랜에서의 키 교환 방법
JP4299102B2 (ja) 無線ネットワークのハンドオフ暗号鍵
JP5423907B2 (ja) 鍵設定方法、ノード、サーバ、およびネットワークシステム
WO2019128753A1 (zh) 一种低延迟的量子密钥移动服务方法
JP5408354B2 (ja) 鍵設定方法、ノード、およびネットワークシステム
KR20130050970A (ko) 융합형 네트워크에서 사용자 키를 할당하기 위한 방법
JP5397547B2 (ja) 鍵設定方法、ノード、およびネットワークシステム
JP4357339B2 (ja) 無線通信システム、アクセスポイントおよび無線通信方法
JP5488716B2 (ja) 鍵更新方法、ノード、ゲートウェイ、サーバ、およびネットワークシステム
JP5494828B2 (ja) 鍵設定方法、ノード、サーバ、およびネットワークシステム
JP5488715B2 (ja) 鍵更新方法、ノード、サーバ、およびネットワークシステム
JP5418699B2 (ja) 鍵設定方法、ノード、サーバおよびネットワークシステム
JP5418700B2 (ja) 鍵設定方法、ノード、サーバおよびネットワークシステム
CN102484659A (zh) 用于生成移动ip网络中密码生成地址的方法和网络节点
JP5621905B2 (ja) 鍵設定方法、ノード、サーバおよびネットワークシステム
US20230308868A1 (en) Method, devices and system for performing key management
JPWO2014016863A1 (ja) ノードおよび通信方法
JP2010045668A (ja) 認証メッセージ交換システムおよび認証メッセージ交換方法
CN102484642A (zh) 用于评估通信网络的节点之间的协作的技术

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2012550660

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10861220

Country of ref document: EP

Kind code of ref document: A1