WO2016051504A1 - Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法 - Google Patents

Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法 Download PDF

Info

Publication number
WO2016051504A1
WO2016051504A1 PCT/JP2014/076085 JP2014076085W WO2016051504A1 WO 2016051504 A1 WO2016051504 A1 WO 2016051504A1 JP 2014076085 W JP2014076085 W JP 2014076085W WO 2016051504 A1 WO2016051504 A1 WO 2016051504A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
port
switching hub
setting
information
Prior art date
Application number
PCT/JP2014/076085
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/JP2014/076085 priority Critical patent/WO2016051504A1/ja
Priority to US15/513,253 priority patent/US10419391B2/en
Priority to JP2016551385A priority patent/JP6186515B2/ja
Priority to EP14902919.1A priority patent/EP3203688B1/en
Publication of WO2016051504A1 publication Critical patent/WO2016051504A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present invention relates to a technology for setting an IP (Internet Protocol) address in an IP device.
  • IP Internet Protocol
  • IP address of each IP device is set one by one, and then the device information of each IP device is set using the set IP address.
  • IP device such as a network camera
  • the same initial IP address is set to the same type of IP device when shipped from the factory. Accordingly, when a plurality of IP devices of the same type are used, it is not possible to communicate using the factory default IP address. Therefore, first, it is necessary to set the IP address of each IP device.
  • the IP address can be set arbitrarily based on the MAC address unique to the IP device (Media Access Control Address), but the MAC address is a 6-digit hexadecimal number. Therefore, when the number of IP devices is large, the method of setting the IP address based on the MAC address is not preferable because an operator is likely to make an error.
  • Patent Document 1 describes an IP communication technique used in a train monitoring system including a plurality of IP devices (network cameras or the like).
  • An object of the present invention is to provide a technique for setting an IP address for each of a plurality of IP devices.
  • a typical configuration of the IP communication system of the present invention for solving the above-described problems is as follows. That is, A switching hub having at least first to (n + 1) -th ports (n is an integer of 2 or more), first to n-th IP devices connected to the first to n-th ports, and the (th an IP address setting device connected to the (n + 1) port, The IP address setting device A first port open instruction is sent to the switching hub to open the first port and close the second to n-th ports, and then to the first IP device. Send the first IP address set to The switching hub is When the first port open instruction is received from the IP address setting device, the first port is opened, the second to nth ports are closed, and the first IP address is closed. When receiving the IP address, the first IP address is transmitted to the first IP device.
  • a typical configuration of the IP address setting device of the present invention is as follows. That is, A switching hub having at least first to (n + 1) th ports (n is an integer equal to or greater than 2), wherein the first to nth IP devices are respectively connected to the first to nth ports; An IP address setting device connected by a port of (n + 1), A first port open instruction is sent to the switching hub to open the first port and close the second to n-th ports, and then to the first IP device. An IP address setting device that transmits a first IP address to be set in
  • a typical configuration of the IP address setting method of the present invention is as follows. That is, A switching hub having at least first to (n + 1) -th ports (n is an integer of 2 or more), first to n-th IP devices connected to the first to n-th ports, and the (th an IP address setting method in an IP communication system comprising: an IP address setting device connected to a port of (n + 1), The IP address setting device transmitting to the switching hub a first port opening instruction for opening the first port and closing the second to nth ports; , The IP address setting device transmitting a first IP address to be set in the first IP device to the switching hub; When the switching hub receives the first port open instruction from the IP address setting device, the switching hub opens the first port and closes the second to nth ports; , When the switching hub receives the first IP address from the IP address setting device, the step of transmitting the first IP address to the first IP device; An IP address setting method comprising:
  • IP addresses can be easily set for a plurality of IP devices.
  • 1 is a configuration diagram of an IP communication system according to an embodiment of the present invention. It is a port number / IP address correspondence table of the setting device according to the embodiment of the present invention. It is the IP address setting sequence diagram which concerns on embodiment of this invention (the 1). It is an IP address setting sequence diagram (the 2) based on embodiment of this invention. It is an IP address setting sequence diagram (the 3) based on embodiment of this invention. It is a display example (during IP address setting) of the setting device according to the embodiment of the present invention. It is a display example (IP address setting completed) of the setting apparatus which concerns on embodiment of this invention.
  • FIG. 1 is a layout diagram of a train IP device according to an embodiment of the present invention, and is a layout diagram when the vehicle 1 is viewed from above.
  • An IP device is a device that has an IP address and can communicate with other IP devices using the IP address.
  • a plurality of IP devices (camera 21, NDR 22, monitor 23, and control device 24) are signal-connected to a switching hub (SWH: relay device) 11 in the vehicle 1.
  • SWH relay device
  • the vehicle 1 in the example of FIG. 1 is the head vehicle of the train
  • a switching hub 11 is also installed in the intermediate vehicle of the train, and a plurality of IP devices are signal-connected to the switching hub 11.
  • the switching hub 11 is an IP device that relays communication between IP devices connected to the switching hub 11. Specifically, when transmission information is received from an IP device connected to the switching hub 11 (this transmission information includes a destination IP address), the transmission information is transmitted only to the IP device of the destination IP address of the transmission information. Send.
  • This transmission information includes a destination IP address
  • the transmission information is transmitted only to the IP device of the destination IP address of the transmission information. Send.
  • the connection between the switching hub 11 and each IP device is schematically shown in FIG. 1 and will be described in detail later.
  • the camera (imaging device) 21 captures an image of an imaging target, generates image information, and, for example, a network digital recorder (NDR) 22 that records image information or a monitor that displays image information via the switching hub 11. 23.
  • NDR network digital recorder
  • a total of 11 cameras 21 are provided: D1 to D4 provided outside the vehicle 1, and V1 to V4, S1 to S2, and FF provided inside the vehicle 1.
  • the network digital recorder (NDR) 22 records the image information received from the camera 21 via the switching hub 11.
  • the monitor 23 displays the image information received from the camera 21 via the switching hub 11 so that it can be visually observed.
  • the cocoon control unit (CU) 24 controls each IP device via the switching hub 11. For example, the direction of the camera 21 is changed. Alternatively, the network digital recorder 22 is instructed at which timing the image information from which camera 21 is recorded. Alternatively, the monitor 23 is instructed at what timing the image information from which camera 21 is displayed.
  • the switching hub 11 is signal-connected to an IP address setting device (SU) 12 for setting an IP address for each IP device.
  • IP address setting device 12 is also simply referred to as a setting device 12.
  • the setting device 12 is connected to the switching hub 11 after mounting each IP device on the vehicle 1 and before starting operation. And the setting apparatus 12 sets each IP address with respect to each IP apparatus mounted in the vehicle 1 and connected to the switching hub 11.
  • the IP address of each IP device remains the initial IP address at the time of shipment from the factory.
  • the initial IP addresses of the 11 cameras 21 are the same. Therefore, it is necessary to rewrite the IP addresses of the respective IP devices so that they can be distinguished from each other.
  • the setting device 12 rewrites the IP address of each IP device using a predetermined address conversion list (correspondence table in FIG. 3 described later).
  • the setting device 12 is removed after setting the IP address for each IP device.
  • the setting device 12 may be configured to be always connected to the switching hub 11.
  • the setting device 12 can be configured by a general personal computer, for example.
  • FIG. 2 is a configuration diagram of the IP communication system according to the embodiment of the present invention.
  • the setting device 12 is connected to the port 12 (P12: port of port number 12) of the switching hub 11, and each IP device is connected to a port other than the port 12.
  • the setting device 12 can be connected to a port other than the port 12.
  • the port number n is referred to as port n.
  • the switching hub 11 includes a SWH control unit 11a, a SWH storage unit 11b, and ports 1 to 16 (P1 to P16).
  • the SWH storage unit 11b and the ports 1 to 16 are signal-connected to the SWH control unit 11a.
  • the port is an entrance (communication port) through which the switching hub 11 communicates with the outside.
  • the SWH control unit 11a can individually set the ports 1 to 16 to the closed state (closed state) or the open state (open state).
  • the closed state is a state in which the port cannot communicate with the outside.
  • the open state is a state in which the port can communicate with the outside.
  • the SWH control unit 11a inquires the IP device connected to each port, for example, periodically for the IP address of each IP device, and receives and obtains the IP address from each IP device. To do. Then, the port number and the IP address of the IP device connected to the port are associated with each other, and are written and stored in the SWH storage unit 11b. The association may be performed with identification information that can specify an IP device such as a MAC address instead of the IP address.
  • the SWH storage unit 11b stores IP addresses in association with ports 1 to 16, respectively. That is, the IP address of the IP device connected to each of the ports 1 to 16 is stored.
  • the IP address corresponding to the port 1 is the IP address of the camera 21, and the IP address corresponding to the port 12 is the IP address of the setting device 12.
  • the SWH control unit 11a is connected to the ports 1 to 16.
  • the initial IP address (factory shipment IP address) of the received IP device is received and acquired, and the port number and the initial IP address of the IP device connected to the port are associated with each other and written and stored in the SWH storage unit 11b. .
  • the configuration of the IP device 20 is shown by representing IP devices such as the camera 21, the NDR 22, the monitor 23, and the control device 24.
  • the IP device 20 includes an IP device control unit 20a and an IP device storage unit 20b.
  • the IP device storage unit 20b is signal-connected to the IP device control unit 20a.
  • the IP device storage unit 20b stores the IP address of the IP device 20.
  • a factory shipment IP address that is an IP address at the time of factory shipment is stored in the IP device storage unit 20b.
  • the IP device control unit 20 a When receiving the IP address inquiry message from the switching hub 11, the IP device control unit 20 a transmits a response message including the IP address of the IP device 20 to the switching hub 11.
  • the inquiry message of the IP address transmitted by the switching hub 11 includes source IP address information (that is, the IP address of the switching hub 11) and an information type.
  • the information type indicates that this message is an IP address inquiry message.
  • the response message transmitted by the IP device 20 includes destination IP address information (that is, the IP address of the switching hub 11), source IP address information (that is, the IP address of the IP device 20), and an information type. .
  • the information type indicates that this message is an IP address response message.
  • the IP device control unit 20a When receiving transmission information from another IP device 20 via the switching hub 11, the IP device control unit 20a receives the destination IP address of the transmission information and the IP address of the IP device 20 stored in the IP device storage unit 20b. When the two IP addresses match, the transmission information is determined to be information that the IP device 20 should receive.
  • the destination IP address of the transmission information is the IP address of the IP device 20.
  • the IP address matches the IP address of the IP device 20 stored in the IP device storage unit 20b is rewritten with the rewrite IP address included in the transmission information.
  • the scissor setting device (SU) 12 includes a SU control unit 12a, a SU storage unit 12b, and an operation display unit 12c.
  • the SU storage unit 12b and the operation display unit 12c are signal-connected to the SU control unit 12a.
  • the operation display unit 12c is configured to include an operation unit that receives input indicating various instructions from the operator, and a display unit that performs various displays.
  • the operation unit includes, for example, a keyboard and a mouse.
  • the display unit is configured by an LCD (Liquid Crystal Display) or the like, for example.
  • the operation display unit 12c may be configured by a touch panel or the like in which the operation unit and the display unit are integrated.
  • the SU storage unit 12b associates the IP address (setting IP address) to be set to the IP device 20 connected to each port of the switching hub 11 with each port number of the switching hub 11, and supports port number / IP address correspondence. It is stored as a table (hereinafter abbreviated as a correspondence table).
  • the correspondence table is set and changed by the operator via the operation display unit 12c, for example.
  • the correspondence table may be configured to store IP address information for specifying the set IP address instead of the set IP address.
  • the IP address information may be the set IP address itself.
  • FIG. 3 is a port number / IP address correspondence table of the setting device according to the embodiment of the present invention.
  • IP address information for specifying an IP address to be set for each IP device 20 is associated with port numbers 1 to 16 of each port of the switching hub 11.
  • port number 1 is associated with IP address information “1”
  • port number 16 is associated with IP address information “21”.
  • IP address information for specifying the set IP address is used.
  • the IP address information indicates a part (fourth octet) of the set IP address.
  • the first to third octets of the set IP address are the same in the IP device 20 mounted on the same vehicle 1, that is, the IP device 20 connected to the same switching hub 11.
  • the IP address information “1” in FIG. 3 indicates the fourth octet of the IP address “10.24.249.1”, which means the IP address “10.24.249.1”.
  • the first to third octets of the IP address specified by each IP address information in FIG. 3 are the same. In this case, “10.42.249”.
  • the IP device 20 that is, the IP device 20 connected to the same switching hub 11 mounted in the same vehicle 1 Since the IP address information of the correspondence table can be a part (fourth octet) of the set IP address, it is easy to register or change the IP address information in the correspondence table. Also, by determining the first to third octets according to the vehicle type (type of head vehicle or intermediate vehicle) and vehicle number (number of intermediate vehicle), the IP device can be used in the first to third octets of the IP address. It is possible to distinguish which vehicle is installed. Furthermore, although the IP address setting method in IPv4 has been described in the above embodiment, in IPv6, the same IP address as IPv4 can be set by dividing the section determined by the vehicle type and vehicle number from the section determined by the IP device. It is.
  • IP address information for specifying the set IP address (the IP address after rewriting) is unnecessary.
  • the IP address information “19” having no corresponding port number indicates the IP address of the switching hub 11.
  • the IP address of the switching hub 11 has been set by the operator using a conventional method.
  • the device name, setting order, factory shipment IP address, and device information file number of each IP device 20 are associated with port numbers 1 to 16, respectively. Yes.
  • the port number, the set IP address (IP address information), the device name, the setting order, the factory shipment IP address, and the device information file are obtained from one port number / IP address correspondence table. Numbers are associated with each other, but these associations may be performed using a plurality of tables. For example, a table that associates a port number with a set IP address, a table that associates a set IP address with a device name, and a table that associates a device name with a device information file number may be different tables.
  • the device names D1 to D4, V1 to V4, S1 to D2, and FF are all the same type of cameras 21 as shown in FIG. 1, and their factory shipment IP addresses are the same. Different device names are assigned depending on the installation location of the camera 21, and device information files including different device information are set.
  • the device information is information that designates, for example, the direction of the camera 21 and the imaging angle.
  • the device names MON1 to MON2 are monitors (display devices), and their factory shipment IP addresses are the same.
  • the device name SU is the setting device 12
  • the device name NDR is the network digital recorder 22
  • the device name CU is the control device 24
  • the device name SWH is the switching hub 11.
  • the setting order is the order when the SU control unit 12a sets the IP address for each IP device 20 (that is, the address transmission order when the setting device 12 transmits the setting IP address to the switching hub 11),
  • the order when setting each device information file (that is, the file transmission order when the setting device 12 transmits the device information file to the switching hub 11) is shown.
  • the setting order for the IP address and the setting for the device information file are set in the table of FIG.
  • An order may be provided.
  • an address transmission order table in which port numbers and IP address transmission orders are associated, and a file transmission order table in which port numbers and apparatus information file transmission orders are associated are provided. You can do it. Further, for example, when the transmission order of the IP address and the device information file is the port number order, the setting order in the table of FIG. 3 can be omitted.
  • the setting device 12 passes through the switching hub 11.
  • a set IP address is transmitted.
  • the setting IP address is calculated and generated in the setting device 12 so as to include the IP address information “15” as the fourth octet. For example, the set IP address “10.24.249.15” is generated.
  • the factory shipment IP address “c” is rewritten to this set IP address.
  • the setting IP address is transmitted from the setting device 12 via the switching hub 11 to the IP device (camera 21 with the device name D1) connected to the port of port number 1 whose setting order is 2.
  • the setting IP address is generated in the setting device 12 so as to include the IP address information “1” as the fourth octet.
  • the factory shipment IP address “a” is rewritten to the set IP address.
  • the setting IP address information is transmitted from the setting device 12 via the switching hub 11 to the IP device (camera 21 with the device name D2) connected to the port of port number 2 whose setting order is 3. .
  • This setting IP address is generated in the setting device 12 so as to include the IP address information “2” as the fourth octet.
  • the factory shipment IP address “a” is rewritten to the set IP address.
  • the SU storage unit 12b stores the device information file to be set for each IP device 20 in association with the device information file number that is an identifier for specifying the device information file for each version of the device information file. Has been.
  • the SU control unit 12a When the SU control unit 12a receives an IP address setting instruction from the operator via the operation display unit 12c, as described above, the SU control unit 12a, for each IP device 20 connected to the switching hub 11 based on the correspondence table of FIG. Each setting IP address is generated. Then, the SU control unit 12a transmits the generated setting IP address to each IP device 20 via the switching hub 11. At that time, as described above, the SU control unit 12a transmits the set IP address of each IP device 20 based on the setting order of the correspondence table of FIG.
  • the SU control unit 12a transmits a device information file to each IP device 20 via the switching hub 11 using the IP address.
  • the SU control unit 12a transmits the device information file based on the device information file number and the setting order set in the correspondence table of FIG. Specifically, according to the setting order of the table of FIG. 3, the device information file specified by the device information file number of the table of FIG. 3 is read from the SU storage unit 12b, and the IP device 20 associated with the table of FIG. On the other hand, the data is transmitted via the switching hub 11.
  • the SWH control unit 11a, the SU control unit 12a, and the device control unit 20a are each provided with a CPU (Central / Processing / Unit) and a memory for storing an operation program of each control unit. Operate according to each operation program.
  • a CPU Central / Processing / Unit
  • a memory for storing an operation program of each control unit. Operate according to each operation program.
  • IP address setting sequence according to the embodiment of the present invention will be described.
  • 4 to 6 are No. 1, No. 2, and No. 3, respectively, of the IP address setting sequence diagram according to the embodiment of the present invention.
  • the operation of the setting device 12 is controlled by the SU control unit 12a
  • the operation of the switching hub 11 is controlled by the SWH control unit 11a
  • the operation of the IP device 20 is controlled by the device control unit 20a.
  • the IP address setting of the switching hub 11 and the IP address setting of the setting device 12 are performed.
  • the IP address setting of the setting device 12 is performed by an operator in the conventional technique using the operation display unit 12c.
  • the IP address setting of the switching hub 11 may be performed by an operator using a conventional technique using an operation display unit (not shown) of the switching hub 11, or only the setting device 12 is connected to the switching hub 11.
  • the setting device 12 may be used.
  • the switching hub 11 When the IP address is set, the switching hub 11 is restarted, and receives and acquires the IP address of the IP device 20 connected to each port. Then, the port number and the IP address of the IP device connected to the port are associated with each other and stored in the SWH storage unit 11b.
  • the operation display unit 12c accepts a vehicle type selection from the operator (step S1 in FIG. 4), accepts a vehicle number input from the operator (step S2), and the operator After receiving the version selection of the device information file from (step S3), an IP address setting instruction from the operator, that is, a start button press is received (step S4).
  • the setting device 12 When accepting pressing of the start button, the setting device 12 selects a correspondence table corresponding to the vehicle type and vehicle number instructed by the operator. Then, the setting device 12 transmits to the switching hub 11 an all port close instruction for closing all the ports of the switching hub 11 except for the port to which the setting device 12 is connected. For example, the setting device 12 sequentially transmits port close instructions for all the ports (ports 1 to 11 and 13 to 16) of the switching hub 11 except the port 12 to which the setting device 12 is connected, one by one. .
  • the switching hub 11 When the port is closed, the switching hub 11 cannot perform communication using the closed port. That is, a message input from the outside cannot be received to the closed port, and a message cannot be transmitted to the outside from the closed port.
  • port close processing is sequentially performed on all ports other than the port to which the setting device 12 is connected in the order of port numbers. If there is a port to which the IP device 20 is not connected, that port is also closed.
  • the setting device 12 transmits a port close instruction for the port number 1 (port 1) to the switching hub 11 (step S5).
  • the switching hub 11 receives the port close instruction for port 1, the switching hub 11 performs the port close process for port 1 (step S6).
  • the port close instruction message transmitted by the setting device 12 includes destination IP address information indicating a destination, source IP address information indicating a source, designated port number information specifying a port to be closed, and closing the port. And close instruction information to be instructed.
  • the destination IP address information is information for designating the IP device 20 that is the destination of the port close instruction message, and specifically, the IP address of the switching hub 11.
  • the transmission source IP address information is information for designating the IP device 20 that is the transmission source of the port close instruction message, and is specifically the IP address of the setting device 12.
  • the setting device 12 transmits a port close instruction for the port 2 to the switching hub 11 (step S7).
  • the switching hub 11 receives the port close instruction for the port 2, it performs the port close process for the port 2 (step S8). In this way, all the ports of the switching hub 11 are closed except for the port to which the setting device 12 is connected (step S9).
  • the setting device 12 After closing all the ports to be closed, the setting device 12 sequentially sets the IP address to each IP device 20 according to the setting order of the correspondence table of FIG. In the present embodiment, when an IP address is set, each IP device 20 is automatically restarted. It is also possible to configure so as not to restart even if an IP address is set.
  • the setting device 12 sets an IP address for the port 14 having the first setting order in the correspondence table of FIG. Specifically, the setting device 12 first calculates and generates a setting IP address of the IP device 20 connected to the port 14 using the correspondence table of FIG. 3 (step S11).
  • the IP device 20 connected to the port 14 is the network digital recorder 22, and the IP address information (fourth octet) in the correspondence table is “15”. Therefore, the set IP address of the network digital recorder 22 is calculated as “10.22.249.15”.
  • the setting device 12 transmits a port open instruction for the port 14 to the switching hub 11 (step S12).
  • the port open instruction message transmitted by the setting device 12 includes destination IP address information (that is, the IP address of the switching hub 11), source IP address information (that is, the IP address of the setting device 12), and a port to be opened. Includes designated port number information for designating and open instruction information for instructing to open the port.
  • the port 14 is opened and the ports other than the port 12 and the port 14 (ports 1 to 11, 13, 15, 16) are closed.
  • a port open instruction to enter the state is configured. That is, the setting device 12 transmits the port close instruction for all the ports and the port open instruction for the port 14 described above, thereby opening the port 14 and closing the ports other than the port 12 and the port 14.
  • a port open instruction for setting the status is transmitted.
  • the switching hub 11 When the switching hub 11 receives the port open instruction for the port 14, the switching hub 11 performs a port open process for the port 14 (step S13). Thus, IP communication can be performed between the setting device 12 and the network digital recorder 22 connected to the port 14 via the switching hub 11.
  • the setting device 12 transmits PING confirmation information (echo request) to the IP device 20 (network digital recorder 22) connected to the port 14 (step S14).
  • the PING confirmation information message transmitted by the setting device 12 includes destination IP address information, transmission source IP address information, and information type. The information type indicates that this message is PING confirmation information.
  • the PING confirmation information is for confirming whether or not communication with the IP device 20 specified by the destination IP address information is possible, and is repeated for, for example, 10 seconds until a PING response information described later is returned. Sent. If the PING response information is not returned within a predetermined time, the fact that there is no response from the IP device 20 specified by the destination IP address information is displayed on the operation display unit 12c, and the port 1 in the next setting order (second) The process proceeds to IP address setting processing for.
  • the destination IP address information of the PING confirmation information message is information that designates the IP device 20 that is the destination of the PING confirmation information message, and is specifically the initial IP address (factory shipment IP address) of the network digital recorder 22. .
  • the factory shipment IP address is acquired from the correspondence table of FIG.
  • the transmission source IP address information is information that designates the IP device 20 that is the transmission source of the PING confirmation information message, and is specifically the IP address of the setting device 12.
  • the switching hub 11 When receiving the PING confirmation information message from the setting device 12, the switching hub 11 transmits the received PING confirmation information message only to the IP device 20 (network digital recorder 22) having the destination IP address of the PING confirmation information message.
  • the IP device 20 network digital recorder 22
  • the switching hub 11 transmits the received PING confirmation information message only to the IP device 20 (network digital recorder 22) having the destination IP address of the PING confirmation information message.
  • the switching hub 11 transmits the received PING confirmation information message only to the IP device 20 (network digital recorder 22) having the destination IP address of the PING confirmation information message.
  • the correspondence table between the port number and the IP address stored in the SWH storage unit 11b that is, the correspondence table between the port number and the IP address of the IP device connected to the port. Only when a PING confirmation information message is transmitted.
  • the network digital recorder 22 When the network digital recorder 22 receives the PING confirmation information from the setting device 12 via the switching hub 11, when the received PING confirmation information is addressed to itself, that is, the destination IP address of the received PING confirmation information is the network. If it is the IP address (factory shipment IP address) of the digital recorder 22, the PING response information (echo response) is transmitted to the setting device 12 via the switching hub 11 (step S15).
  • the PING response information message transmitted by the network digital recorder 22 includes destination IP address information, transmission source IP address information, and information type.
  • the information type indicates that this message is PING response information.
  • Destination IP address information is information for designating the IP device 20 that is the destination of the PING response information message, and is specifically the IP address of the setting device 12.
  • the IP address of the setting device 12 is acquired from the source IP address information of the PING confirmation information message.
  • the transmission source IP address information is information for designating the IP device 20 that is the transmission source of the PING confirmation information message, and is specifically the factory shipment IP address of the network digital recorder 22.
  • the factory shipment IP address is set in the storage unit of the network digital recorder 22 when the network digital recorder 22 is shipped from the factory.
  • the bag setting device 12 can confirm that the predetermined IP device 20 is correctly connected to the port of the predetermined number by properly receiving the PING response information. Specifically, the setting device 12 determines whether or not the transmission source IP address information of the PING response information matches the factory shipment IP address of the port number 14 in the correspondence table of FIG. It can be confirmed that the predetermined IP device 20 (network digital recorder 22) is properly connected to the port (port 14) of the predetermined number.
  • the setting device 12 When the setting device 12 cannot properly receive the PING response information, the setting device 12 displays on the operation display unit 12c that the response from the IP device 20 specified by the destination IP address information of the PING confirmation information is not appropriate. Shifts to the IP address setting process for port 1 in the setting order (second).
  • setting device 12 After properly receiving the PING response information, setting device 12 transmits the IP address to be set to network digital recorder 22 (step S16).
  • This IP address transmission message includes destination IP address information, transmission source IP address information, information type, and data.
  • the information type indicates that this message is IP address setting information.
  • the data includes an IP address to be set.
  • the destination IP address information is information for designating the IP device 20 that is the destination of the IP address transmission message, and specifically, is the factory shipment IP address of the network digital recorder 22. As described above, this factory shipment IP address is acquired from the correspondence table of FIG.
  • the transmission source IP address information is information that designates the IP device 20 that is the transmission source of the IP address transmission message, and is specifically the IP address of the setting device 12.
  • the switching hub 11 When receiving the IP address transmission message from the setting device 12, the switching hub 11 transmits the received IP address transmission message only to the IP device 20 (network digital recorder 22) of the destination IP address of the IP address transmission message.
  • the network digital recorder 22 When the network digital recorder 22 receives the IP address transmission message from the setting device 12 via the switching hub 11 (step S17), the factory IP address stored in the storage unit of the network digital recorder 22 is received. The setting IP address included in the address transmission message is rewritten (step S18). When the IP address is rewritten, the network digital recorder 22 is automatically restarted.
  • setting device 12 After transmitting the IP address transmission message, setting device 12 transmits a port close instruction for port 14 to switching hub 11 (step S19).
  • the port close instruction message transmitted by the setting device 12 includes destination IP address information (that is, the IP address of the switching hub 11), transmission source IP address information (that is, the IP address of the setting device 12), and , Designated port number information for designating the target port, and close instruction information for instructing to close the port.
  • the switching hub 11 When the switching hub 11 receives the port close instruction for the port 14, the switching hub 11 performs the port close process for the port 14 (step S20). Thereby, IP communication becomes impossible between the setting device 12 and the network digital recorder 22 connected to the port 14.
  • the setting device 12 sets an IP address for the port 1 whose setting order in the correspondence table of FIG. Specifically, the setting device 12 first calculates the set IP address of the IP device 20 connected to the port 1 using the correspondence table (step S21).
  • the setting device 12 transmits a port open instruction for the port 1 to the switching hub 11 (step S22).
  • the contents of the port open instruction message are as described above.
  • the switching hub 11 When the switching hub 11 receives the port open instruction for port 1, it performs the port open process for port 1 (step S23). Thereby, IP communication becomes possible between the setting device 12 and the camera 21 (D1) connected to the port 1 via the switching hub 11.
  • the setting device 12 transmits PING confirmation information (echo request) to the IP device 20 (camera 21 (D1)) connected to the port 1 via the switching hub 11 (step S24).
  • PING confirmation information echo request
  • the IP device 20 camera 21 (D1)
  • the switching hub 11 step S24.
  • the contents of the PING confirmation information message are as described above.
  • the switching hub 11 When the switching hub 11 receives the PING confirmation information message from the setting device 12, the switching hub 11 transmits the received PING confirmation information message only to the IP device 20 (camera 21 (D1)) of the destination IP address of the PING confirmation information message. .
  • the camera 21 (D1) When the camera 21 (D1) receives the PING confirmation information from the setting device 12 via the switching hub 11, the camera 21 (D1) transmits the PING response information (echo response) to the setting device 12 via the switching hub 11 (step S25). ).
  • the contents of the PING response information message are as described above.
  • the setting device 12 receives the appropriate PING response information, so that the predetermined IP device 20 (camera 21 (D1)) is correctly connected to the port (port 1) having the predetermined number. Can be confirmed.
  • the bag setting device 12 After receiving the appropriate PING response information, the bag setting device 12 transmits an IP address transmission message including the IP address to be set to the camera 21 (D1) via the switching hub 11 (step S26).
  • the contents of the IP address transmission message are as described above.
  • the switching hub 11 When the switching hub 11 receives the IP address transmission message from the setting device 12, the switching hub 11 transmits the received IP address transmission message only to the IP device 20 (camera 21 (D1)) of the destination IP address of the IP address transmission message. .
  • the camera 21 (D1) When the camera 21 (D1) receives the IP address transmission message from the setting device 12 via the switching hub 11 (step S27), it receives the factory shipment IP address stored in the storage unit of the camera 21 (D1). The set IP address included in the transmitted IP address transmission message is rewritten (step S28). When the IP address is rewritten, the camera 21 (D1) is automatically restarted.
  • the time required for restart (restart time) varies depending on the IP device 20.
  • the restart time is, for example, 20 to 30 minutes for the network digital recorder 22 and about 1 minute for the camera 21.
  • the second IP device when the restart time of the first IP device (for example, NDR 22) is longer than the restart time of the second IP device (for example, the camera 21), the second IP device transmits the first IP address after transmitting the first IP address.
  • the transmission order is determined so as to transmit the IP addresses. Therefore, in the present embodiment, after the IP address is set to the first network digital recorder 22 in the setting order, the second and subsequent cameras 21 (D1 to D4, V1) are set during the restart of the network digital recorder 22. ⁇ V4 etc.) can be set and restarted. That is, while the network digital recorder 22 is restarted, the cameras 21 (D1 to D4, V1 to V4, etc.) can be restarted in parallel.
  • the IP addresses are sequentially set according to the setting order of the correspondence table in FIG. 3, so that the IP address setting order of the IP device having a longer restart time is set as the restart time. Can be set earlier than the IP address setting order of the shorter IP device, and the restart time of the entire IP device can be shortened.
  • setting device 12 After transmitting the IP address information, setting device 12 transmits a port close instruction for port 1 to switching hub 11 (step S29).
  • the contents of the port close instruction message are as described above.
  • the switching hub 11 When receiving the port close instruction for port 1, the switching hub 11 performs the port close process for port 1 (step S30). As a result, IP communication between the setting device 12 and the camera 21 (D1) connected to the port 1 becomes impossible.
  • step S31 the IP address rewriting of all the IP devices 20 (except the setting device 12) connected to the ports of the switching hub 11 is performed (step S31).
  • the setting device 12 sets all ports (ports 1 to 16) to which the IP device 20 is connected among the ports of the switching hub 11. Make it open. That is, the setting device 12 has all the ports (ports 1 to 16) of the switching hub 11 except for the port 12 to which the setting device 12 is connected among all the ports (ports 1 to 16) to which the IP device 20 is connected. 11, 13 to 16) are transmitted to the switching hub 11. Specifically, the setting device 12 sequentially transmits port open instructions regarding the ports 1 to 11 and 13 to 16 of the switching hub 11 one by one.
  • the port open process is performed sequentially for each port in the order of port numbers.
  • the setting device 12 transmits a port open instruction for the port (port 1) with the port number 1 to the switching hub 11 (step S41).
  • the switching hub 11 receives the port open instruction for port 1, the switching hub 11 performs port open processing for port 1 (step S42).
  • the setting device 12 transmits a port open instruction for the port 2 to the switching hub 11 (step S43).
  • the switching hub 11 receives the port opening instruction for the port 2, the switching hub 11 performs the port opening process for the port 2 (step S44). In this way, all the ports (ports 1 to 11 and 13 to 16) of the switching hub 11 to which the IP device 20 is connected are opened except for the port 12 to which the setting device 12 is connected (step S45). If there is a port to which the IP device 20 is not connected, the port is not opened.
  • the switching hub 11 After opening all the ports to be opened, the switching hub 11 receives and acquires the rewritten IP address from the IP device 20. Then, the IP address of the IP device 20 stored in the SWH storage unit 11b is rewritten with the received rewritten IP address. That is, the association between the port number stored in the SWH storage unit 11b and the IP address of the IP device 20 is updated.
  • the setting device 12 sequentially transmits PING confirmation information to all the IP devices 20 connected to the ports of the switching hub 11 and receives appropriate PING response information, so that the ports of a predetermined number are transmitted. It is confirmed that the predetermined IP device 20 is correctly connected.
  • the destination IP address of this PING confirmation information is the IP address after rewriting.
  • the PING confirmation information is sequentially transmitted according to the setting order of the correspondence table in FIG.
  • the setting device 12 transmits PING confirmation information to the IP device 20 (network digital recorder 22) having the first setting order in the correspondence table via the switching hub 11 (step S51).
  • the destination IP address of this PING confirmation information is the IP address after rewriting.
  • the switching hub 11 receives the PING confirmation information from the setting device 12, the switching hub 11 transmits the received PING confirmation information message only to the IP device 20 (network digital recorder 22) of the destination IP address of the PING confirmation information message.
  • the network digital recorder 22 When the network digital recorder 22 receives the PING confirmation information from the setting device 12 via the switching hub 11, when the received PING confirmation information is addressed to itself, that is, the destination IP address of the received PING confirmation information is the network. If it is the IP address of the digital recorder 22 (IP address after rewriting), PING response information (echo response) is transmitted to the setting device 12 via the switching hub 11 (step S52).
  • the transmission source IP address of the received PING response information is the IP address of the network digital recorder 22 identified by the correspondence table (In other words, when proper PING response information is received, it is determined that the IP address of the network digital recorder 22 has been correctly rewritten and set.
  • the setting device 12 transmits the PING confirmation information via the switching hub 11 to the IP device 20 (camera 21 (D1)) in the second setting order of the correspondence table (step S53).
  • the destination IP address of this PING confirmation information is the IP address after rewriting.
  • the switching hub 11 receives the PING confirmation information from the setting device 12, the switching hub 11 transmits the received PING confirmation information message only to the IP device 20 (camera 21 (D1)) of the destination IP address of the PING confirmation information message.
  • the camera 21 (D1) receives the PING confirmation information from the setting device 12 via the switching hub 11, when the received PING confirmation information is addressed to itself, that is, the destination IP address of the received PING confirmation information is If it is the IP address of the camera 21 (D1) (the IP address after rewriting), PING response information (echo response) is transmitted to the setting device 12 via the switching hub 11 (step S54).
  • the source IP address of the received PING response information is the IP of the camera 21 (D1) identified in the correspondence table. If it is an address (IP address after rewriting), that is, if proper PING response information is received, it is determined that the IP address of the camera 21 (D1) has been correctly rewritten and set.
  • the setting device 12 sequentially transmits PING confirmation information with the rewritten IP address as the destination IP address to all the IP devices 20 connected to the ports of the switching hub 11, and appropriate PING response information is sent. By receiving, it is confirmed that the IP address of each IP device 20 has been correctly rewritten and set (step S55).
  • the setting device 12 After confirming that the IP address of each IP device 20 has been correctly rewritten, the setting device 12 sequentially transmits device information files to the IP device 20 connected to the port of the switching hub 11 as necessary. To do.
  • device information files are sequentially transmitted via the switching hub 11 in accordance with the setting order of the correspondence table.
  • the IP device 20 is automatically restarted.
  • the setting device 12 transmits a device information file to the IP device 20 (network digital recorder 22) having the first setting order in the correspondence table via the switching hub 11, that is, a device including the device information file.
  • An information file transmission message is transmitted (step S61).
  • the device information file transmission message transmitted from the eaves setting device 12 includes destination IP address information, source IP address information, and device information file information.
  • Destination IP address information is information for designating the IP device 20 that is the destination of the device information file transmission message, and specifically, the IP address after rewriting of the network digital recorder 22.
  • the transmission source IP address information is information for designating the IP device 20 that is the transmission source of the device information file transmission message, and is specifically the IP address of the setting device 12.
  • the switching hub 11 When the switching hub 11 receives the device information file transmission message from the setting device 12, the switching hub 11 transmits the received device information file transmission message only to the IP device 20 (network digital recorder 22) of the destination IP address of the device information file transmission message. Send.
  • the network digital recorder 22 When the network digital recorder 22 receives the device information file transmission message from the setting device 12 via the switching hub 11 (step S62), when the received device information file transmission message is addressed to itself, that is, the received device When the destination IP address of the information file transmission message is the IP address of the network digital recorder 22 (the IP address after rewriting), the device information file included in the received device information file transmission message is read and the network digital recorder 22 It memorize
  • the setting device 12 transmits a device information file via the switching hub 11 to the IP device 20 (camera 21 (D1)) in the second setting order of the correspondence table.
  • the device information file is transmitted to all the IP devices 20 that are the device information file transmission target (step S65).
  • the received device information file is read and executed.
  • the setting time of the device information file (the time when the device information file is set in the IP device 20) is read by the IP device 20 to store the received device information file, and then restarted. This is the time required to execute, and is approximately equal to the time required for restart (restart time).
  • the restart time varies depending on the IP device 20. As described above, the restart time is, for example, 20 to 30 minutes for the network digital recorder 22 and about 1 minute for the camera 21.
  • the setting time of the first device information file set in the first IP device is the second device information file set in the second IP device (for example, the camera 21). If it is longer than the set time, the transmission order is determined so that the second device information file is transmitted after the first device information file is transmitted. Therefore, while setting the device information file to the network digital recorder 22 with the first setting order, the device information file is set to the cameras 21 (D1 to D4, V1 to V4, etc.) with the second setting order in parallel. can do.
  • the device information file is sequentially transmitted in accordance with the setting order of the correspondence table. Therefore, the setting time of the device information file is longer.
  • the setting order of the device information file of the IP device can be set earlier than the setting order of the device information file of the IP device having a shorter setting time of the device information file. Setting time can be shortened.
  • the switching hub 11 having the first to (n + 1) th ports (n is an integer of 2 or more) and the first to nth ports connected to the first to nth ports, respectively.
  • the setting device 12 includes an mth port (m is the first to nth ports). Any one of 1 to n) is opened and an m-th port open instruction is sent to close the first to n-th ports other than the m-th port, and then the m-th IP device The m-th IP address to be set to is transmitted.
  • the switching hub 11 When the switching hub 11 receives the mth port open instruction from the setting device 12, the switching hub 11 opens the mth port and closes the first to nth ports other than the mth port. When the mth IP address is received, the mth IP address is transmitted to the mth IP device.
  • the setting device 12 transmits the first to n-th IP addresses set to the first to n-th IP devices to the switching hub 11, and then opens the first to n-th ports. To transmit all the ports, and then transmits the m-th device information file to be set in the m-th IP device.
  • the setting device 12 connected to the 16th port (port 12) is connected to the switching hub 11 among the 1st to 15th ports, for example, the first port
  • the first port open instruction is sent to make the other port (port 14) open and the other ports (ports 1 to 11, 13, 15, 16) other than the first port closed ( Thereafter, the first IP address set in the first IP device (NDR 22) is transmitted (step S16).
  • the switching hub 11 when the switching hub 11 receives the first port open instruction from the setting device 12, the switching hub 11 opens the first port (port 14) and other ports (port 1 to port 1) than the first port. 11, 13, 15, 16) are closed, and when the first IP address is received, the first IP address is transmitted to the first IP device (NDR 22).
  • the setting device 12 transmits the first to fifteenth IP addresses set to the first to fifteenth IP devices to the switching hub 11 (steps S11 to S31), and then the first to fifteenth IP addresses.
  • An all-port open instruction for opening the ports is transmitted (steps S41 to S45), and then the first device information file to be set in the first IP device is transmitted (step S61).
  • FIG. 7 is a display example (during IP address setting) of the setting device according to the embodiment of the present invention. Specifically, this is an example in which the IP address setting state is displayed on the operation display unit 12c of the setting device 12.
  • FIG. 8 is a display example (IP address set) of the setting device according to the embodiment of the present invention. Specifically, the state after setting the IP address is displayed on the operation display unit 12c of the setting device 12.
  • “Time” indicates the time during the IP address setting or the time when the setting is completed.
  • Car ID indicates a vehicle number.
  • Device indicates the device name of the IP device 20.
  • IP Address indicates an IP address to be set.
  • Status indicates a state in the IP address setting process.
  • the setting device 12 is setting the IP address “10.24.249.1” as of April 23, 2014 at 16: 9: 13. That is, it is displayed that transmission is in progress (transfer) from the setting device 12. Further, for the IP device D2 (camera 21), the IP address “10.24.249.2” is displayed indicating that the setting device 12 is ready for setting. Setting completion is a state of waiting for transmission after the setting device 12 has generated an IP address.
  • the setting device 12 has completed setting the IP address “10.24.249.1” at 16: 9: 58 on April 23, 2014. That is, it is displayed that the transmission from the setting device 12 is completed (Success).
  • the setting device 12 has completed setting the IP address “10.24.249.2” at 16:10:47 on April 23, 2014 (Success). Is displayed.
  • the operator of the IP address setting can check the progress of the IP address setting process and whether the IP address setting has succeeded or failed. The result can be easily recognized. If the IP address setting of a certain port fails, the IP address setting is attempted again for that port, but at that time, only the progress status and result of the port for which IP address setting has not been completed may be displayed. preferable.
  • FIGS. 8 The setting status of the device information file in each IP device (that is, the status in which the device information file is read and executed) is shown in FIGS. 8 may be displayed in the same manner as in FIG. In this case, it is preferable to display the name and number of the device information file in association with the device name of the IP device.
  • the setting device 12 opens the first port among the first to nth ports to which the first to nth IP devices 20 are connected to the switching hub 11 and The first IP address to be set in the first IP device 20 after transmitting a first port open instruction for closing the 2nd to nth ports (excluding the port to which the setting device 12 is connected) Therefore, the setting device 12 can set or change the IP address for the plurality of IP devices 20.
  • the setting device 12 After setting the IP address for all the IP devices 20 connected to the switching hub 11, the setting device 12 is configured to transmit the device information file of each IP device 20 to the switching hub 11. Therefore, at least one of the entire IP address setting time and the entire device information file setting time can be shortened.
  • the setting device 12 Since the setting device 12 is configured to transmit the device information file according to the transmission order of the file transmission order table that determines the transmission order of the device information file, it is possible to reduce the entire device information file setting time. Become. (D) When the time for which the first device information file is set for the first IP device is longer than the time for which the second device information file is set for the second IP device, the setting device 12 Since the second device information file is transmitted after the first device information file is transmitted, the entire device information file setting time can be shortened. (E) Since the setting device 12 is configured to transmit the IP address to the switching hub 11 in accordance with the transmission order of the address transmission order table that determines the transmission order of the IP addresses, the entire IP address setting time can be shortened. Can do.
  • the device information file may be transmitted after transmitting the IP address for each port. That is, the setting device 12 sends a port open instruction for opening the first port and closing the other ports, and after sending the IP address corresponding to the first port, The device information file corresponding to the other port is transmitted, and then the port open instruction for making the second port open and the other port closed is transmitted, and the IP address corresponding to the second port After transmitting, the device information file corresponding to the second port may be transmitted.
  • all ports are closed and all ports are opened sequentially in the order of port numbers.
  • the present invention is not limited to the order of port numbers, and can be configured to be performed in any order. Further, depending on the configuration of the switching hub, it is also possible to perform a configuration in which all ports are closed and all ports are opened at once, rather than sequentially one port at a time.
  • the PING confirmation information and the device information file are transmitted from the setting device 12 while all ports are opened, and the port is kept open.
  • transmitting the device information file it is possible to configure so that only necessary ports are opened.
  • the setting device 12 calculates the setting IP address, and transmits the calculated setting IP address to the IP device 20 via the switching hub 11.
  • the setting IP address is specified. It is also possible to configure so that the set IP address is calculated based on the IP address information transmitted from the setting device 12 and received by the switching hub 11 or the IP device 20.
  • the factory shipment IP address is rewritten to the set IP address.
  • the initial IP address that is the target of the IP address setting is It is not limited to the shipping IP address.
  • the present invention can also be applied when there is no initial IP address (when no IP address is set).
  • SYMBOLS 1 ... Vehicle, 11 ... Switching hub (SWH), 11a ... SWH control part, 11b ... SWH memory
  • SWH Switching hub

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

少なくとも第1~第(n+1)のポート(nは2以上の整数)を有するスイッチングハブと、第1~第nのポートにそれぞれ接続された第1~第nのIP機器と、第(n+1)のポートに接続されたIPアドレス設定装置と、を備えるIP通信システムにおいて、IPアドレス設定装置は、スイッチングハブに対し、第1のポートを開いた状態にするとともに第2~第nのポートを閉じた状態にする第1のポートオープン指示を送信し、その後、第1のIP機器に設定する第1のIPアドレスを送信し、スイッチングハブは、IPアドレス設定装置から、第1のポートオープン指示を受信すると、第1のポートを開いた状態にするとともに第2~第nのポートを閉じた状態にし、第1のIPアドレスを受信すると、該第1のIPアドレスを第1のIP機器へ送信する。

Description

IP通信システム、IPアドレス設定装置、及びIPアドレス設定方法
  本発明は、IP(Internet Protocol)アドレスをIP機器に設定する技術に関するものである。
  従来、例えば、列車の車両設備である複数のIP機器(ネットワークカメラ等)に対し、それぞれ異なる機器情報(そのIP機器の動作等を指定する情報)を設定する場合、作業者が、最初に各IP機器のIPアドレスを1台ずつ設定し、その後、該設定したIPアドレスを用いて、各IP機器の機器情報を設定していた。
  量産品であるIP機器(ネットワークカメラ等)では、工場からの出荷時において、同種のIP機器には同一の初期IPアドレスが設定されている。したがって、同種のIP機器を複数使用する場合、工場出荷時のIPアドレスを用いて通信することはできない。そのため、最初に、各IP機器のIPアドレスを設定する必要がある。
  なお、IP機器固有のMACアドレス(Media Access Control address)に基づき、IPアドレスを任意のものに設定することも可能であるが、MACアドレスは6桁の16進数である。そのため、IP機器の数が多い場合は、MACアドレスに基づきIPアドレスを設定する方法は、作業者が間違いを起こし易いので好ましくない。
  下記の特許文献1には、複数のIP機器(ネットワークカメラ等)を備える列車監視システムにおいて用いられるIP通信技術が記載されている。
特開2012‐129908公報
  本発明の目的は、複数のIP機器に対し、それぞれIPアドレスを設定する技術を提供することにある。
  上記課題を解決するための、本願発明のIP通信システムの代表的な構成は、次のとおりである。すなわち、
  少なくとも第1~第(n+1)のポート(nは2以上の整数)を有するスイッチングハブと、前記第1~第nのポートにそれぞれ接続された第1~第nのIP機器と、前記第(n+1)のポートに接続されたIPアドレス設定装置と、を備えるIP通信システムであって、
  前記IPアドレス設定装置は、
  前記スイッチングハブに対し、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にする第1のポートオープン指示を送信し、その後、前記第1のIP機器に設定する第1のIPアドレスを送信し、
  前記スイッチングハブは、
  前記IPアドレス設定装置から、前記第1のポートオープン指示を受信すると、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にし、前記第1のIPアドレスを受信すると、該第1のIPアドレスを前記第1のIP機器へ送信することを特徴とするIP通信システム。
  また、本願発明のIPアドレス設定装置の代表的な構成は、次のとおりである。すなわち、
  少なくとも第1~第(n+1)のポート(nは2以上の整数)を有し、前記第1~第nのポートにそれぞれ第1~第nのIP機器が接続されるスイッチングハブと、前記第(n+1)のポートにより接続されるIPアドレス設定装置であって、
  前記スイッチングハブに対し、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にする第1のポートオープン指示を送信し、その後、前記第1のIP機器に設定する第1のIPアドレスを送信することを特徴とするIPアドレス設定装置。
  また、本願発明のIPアドレス設定方法の代表的な構成は、次のとおりである。すなわち、
  少なくとも第1~第(n+1)のポート(nは2以上の整数)を有するスイッチングハブと、前記第1~第nのポートにそれぞれ接続された第1~第nのIP機器と、前記第(n+1)のポートに接続されたIPアドレス設定装置と、を備えるIP通信システムにおけるIPアドレス設定方法であって、
  前記IPアドレス設定装置が、前記スイッチングハブに対し、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にする第1のポートオープン指示を送信するステップと、
  前記IPアドレス設定装置が、前記スイッチングハブに対し、前記第1のIP機器に設定する第1のIPアドレスを送信するステップと、
  前記スイッチングハブが、前記IPアドレス設定装置から前記第1のポートオープン指示を受信すると、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にするステップと、
  前記スイッチングハブが、前記IPアドレス設定装置から前記第1のIPアドレスを受信すると、前記第1のIPアドレスを前記第1のIP機器へ送信するステップと、
  を備えることを特徴とするIPアドレス設定方法。
  上記構成によれば、複数のIP機器に対し、それぞれIPアドレスを容易に設定することができる。
本発明の実施形態に係る列車のIP機器の配置図である。 本発明の実施形態に係るIP通信システムの構成図である。 本発明の実施形態に係る設定装置のポート番号・IPアドレス対応テーブルである。 本発明の実施形態に係るIPアドレス設定シーケンス図(その1)である。 本発明の実施形態に係るIPアドレス設定シーケンス図(その2)である。 本発明の実施形態に係るIPアドレス設定シーケンス図(その3)である。 本発明の実施形態に係る設定装置の表示例(IPアドレス設定中)である。 本発明の実施形態に係る設定装置の表示例(IPアドレス設定済)である。
  以下、本発明の実施形態について説明する。
  図1は、本発明の実施形態に係る列車のIP機器の配置図であり、車両1を上方から見たときの配置図である。IP機器とは、IPアドレスを有し、該IPアドレスを用いて、他のIP機器と通信することのできる機器のことである。図1に示すように、車両1には、複数のIP機器(カメラ21、NDR22、モニタ23、制御装置24)が、スイッチングハブ(SWH:中継装置)11に信号接続されている。なお、図1の例の車両1は列車の先頭車両であるが、列車の中間車両においても、スイッチングハブ11が設置され、そのスイッチングハブ11に複数のIP機器が信号接続される。
  スイッチングハブ11は、スイッチングハブ11に接続されたIP機器間の通信の中継を行うIP機器である。詳しくは、スイッチングハブ11に接続されたIP機器から伝送情報(この伝送情報は宛先のIPアドレスを含む)を受信すると、該伝送情報の宛先のIPアドレスのIP機器に対してのみ、上記伝送情報を送信する。スイッチングハブ11と各IP機器との接続は、図1ではその概略を示し、詳しくは後述する。
  カメラ(撮像装置)21は、撮影対象物を撮像し、画像情報を生成して、スイッチングハブ11を介し、例えば、画像情報を記録するネットワークデジタルレコーダ(NDR)22や、画像情報を表示するモニタ23へ伝送する。図1の例では、車両1の外側に設けられたD1~D4、車両1の内部に設けられたV1~V4、S1~S2、FFの、計11台のカメラ21が設けられている。
  ネットワークデジタルレコーダ(NDR)22は、カメラ21からスイッチングハブ11を介して受信した画像情報を記録する。モニタ23は、カメラ21からスイッチングハブ11を介して受信した画像情報を、視覚できるように表示する。
  制御装置(CU)24は、スイッチングハブ11を介して、各IP機器を制御する。例えば、カメラ21の向きを変える。あるいは、ネットワークデジタルレコーダ22に対し、どのカメラ21からの画像情報を、どのタイミングで記録するのかを指示する。あるいは、モニタ23に対し、どのカメラ21からの画像情報を、どのタイミングで表示するのかを指示する。
  図1に示すように、スイッチングハブ11には、各IP機器に対しIPアドレスを設定するIPアドレス設定装置(SU)12が信号接続されている。以降、IPアドレス設定装置12を単に設定装置12とも称す。設定装置12は、車両1に各IP機器を搭載した後、運用開始する前に、スイッチングハブ11に接続される。そして、設定装置12は、車両1に搭載されスイッチングハブ11に接続された各IP機器に対し、それぞれのIPアドレスを設定する。
  詳しく説明すると、車両1に各IP機器を搭載した後、運用開始する前の状態では、各IP機器のIPアドレスは、工場出荷時の初期IPアドレスのままである。また、例えば、11台のカメラ21の初期IPアドレスは互いに同一である。そのため、各IP機器のIPアドレスを、互いに識別可能なように書き換える必要がある。設定装置12は、予め決められたアドレス変換リスト(後述する図3の対応テーブル)を用いて、各IP機器のIPアドレスを書き換える。
  なお、本実施形態では、設定装置12は、各IP機器に対しIPアドレスを設定した後、取り外されるが、設定装置12をスイッチングハブ11に常時接続するように構成してもよい。設定装置12は、例えば、一般的なパーソナルコンピュータにより構成することができる。
  図2は、本発明の実施形態に係るIP通信システムの構成図である。
  図2の例では、設定装置12は、スイッチングハブ11のポート12(P12:ポート番号12のポート)に接続され、各IP機器は、ポート12以外のポートに接続されている。設定装置12をポート12以外のポートに接続できることは、もちろんである。なお、ポート番号nのポートをポートnと呼ぶ。
  スイッチングハブ11は、SWH制御部11aと、SWH記憶部11bと、ポート1~16(P1~P16)とを備える。SWH記憶部11bとポート1~16は、SWH制御部11aに信号接続されている。ポートとは、スイッチングハブ11が外部との通信を行う出入口(通信ポート)である。
  SWH制御部11aは、ポート1~16を、それぞれ単独で、クローズ状態(閉じた状態)又はオープン状態(開いた状態)にすることができる。クローズ状態とは、そのポートが外部との通信を行うことのできない状態である。オープン状態とは、そのポートが外部との通信を行うことのできる状態である。
  SWH制御部11aは、ポートがオープン状態において、各ポートに接続されたIP機器に対し、例えば周期的に、各IP機器のIPアドレスを問合せ、各IP機器から、そのIPアドレスを受信して取得する。そして、ポート番号とそのポートに接続されたIP機器のIPアドレスとを対応付けて、SWH記憶部11bに書き込み、記憶させる。なお、IPアドレスではなく、MACアドレス等のIP機器を特定可能な識別情報で対応付けを行ってもよい。
  SWH記憶部11bは、ポート1~16にそれぞれ対応付けてIPアドレスを記憶する。つまり、ポート1~16にそれぞれ接続されたIP機器のIPアドレスを記憶する。図2の例では、例えば、ポート1に対応するIPアドレスは、カメラ21のIPアドレスであり、ポート12に対応するIPアドレスは、設定装置12のIPアドレスである。
  したがって、運用開始する前の状態において車両1に各IP機器が搭載され、スイッチングハブ11のポート1~16にそれぞれIP機器が接続されると、SWH制御部11aは、ポート1~16に接続されたIP機器の初期IPアドレス(工場出荷IPアドレス)を受信して取得し、ポート番号とそのポートに接続されたIP機器の初期IPアドレスとを対応付けて、SWH記憶部11bに書き込み、記憶させる。
  図2の例では、カメラ21、NDR22、モニタ23、制御装置24等のIP機器を代表させて、IP機器20として、その構成を示す。IP機器20は、IP機器制御部20aと、IP機器記憶部20bとを備える。IP機器記憶部20bは、IP機器制御部20aに信号接続されている。IP機器記憶部20bには、当該IP機器20のIPアドレスが記憶されている。工場出荷時には、IP機器記憶部20bに、工場出荷時のIPアドレスである工場出荷IPアドレスが記憶されている。
  IP機器制御部20aは、スイッチングハブ11から、IPアドレスの問合せ電文を受信すると、そのIP機器20のIPアドレスを含む応答電文を、スイッチングハブ11へ送信する。スイッチングハブ11が送信するIPアドレスの問合せ電文には、送信元IPアドレス情報(つまり、スイッチングハブ11のIPアドレス)と、情報種別とが含まれる。情報種別は、この電文がIPアドレスの問合せ電文であることを示す。IP機器20が送信する応答電文には、宛先IPアドレス情報(つまり、スイッチングハブ11のIPアドレス)と、送信元IPアドレス情報(つまり、IP機器20のIPアドレス)と、情報種別とが含まれる。情報種別は、この電文がIPアドレスの応答電文であることを示す。
  IP機器制御部20aは、スイッチングハブ11を介して、他のIP機器20から伝送情報を受信すると、該伝送情報の宛先IPアドレスと、IP機器記憶部20bに記憶した当該IP機器20のIPアドレスとを比較し、両IPアドレスが一致した場合に、上記伝送情報を当該IP機器20が受け取るべき情報と判断する。
  IP機器制御部20aは、スイッチングハブ11を介して設定装置12から、当該IP機器20のIPアドレス書き換えを指示する伝送情報を受信すると、該伝送情報の宛先IPアドレスが当該IP機器20のIPアドレスと一致した場合に、上記伝送情報に含まれる書き換え用IPアドレスで、IP機器記憶部20bに記憶した当該IP機器20のIPアドレスを書き換える。
  設定装置(SU)12は、SU制御部12aと、SU記憶部12bと、操作表示部12cとを備える。SU記憶部12bと操作表示部12cは、SU制御部12aに信号接続されている。操作表示部12cは、操作者からの各種指示を示す入力を受け付ける操作部と、各種表示を行う表示部とを含むように構成される。操作部は、例えば、キーボードやマウス等で構成される。表示部は、例えば、LCD(Liquid Crystal Display)等で構成される。操作表示部12cを、操作部と表示部とが一体となったタッチパネル等で構成してもよい。
  SU記憶部12bは、スイッチングハブ11の各ポートに接続されるIP機器20に設定すべきIPアドレス(設定IPアドレス)を、スイッチングハブ11の各ポート番号に対応付けて、ポート番号・IPアドレス対応テーブル(以下、対応テーブルと略すことがある。)として記憶する。対応テーブルは、例えば、操作表示部12cを介して、操作者により設定され変更される。対応テーブルは、設定IPアドレスの代わりに、設定IPアドレスを特定するIPアドレス情報を記憶するよう構成してもよい。なお、IPアドレス情報は、設定IPアドレスそのものであってもよい。
  図3は、本発明の実施形態に係る設定装置のポート番号・IPアドレス対応テーブルである。
  図3の対応テーブルでは、スイッチングハブ11の各ポートのポート番号1~16に対し、各IP機器20に設定すべきIPアドレスを特定するIPアドレス情報が、それぞれ対応付けられている。例えば、ポート番号1には、IPアドレス情報“1”が対応付けられ、ポート番号16には、IPアドレス情報“21”が対応付けられている。
  図3の例では、設定IPアドレスを特定するIPアドレス情報を用いている。IPアドレス情報は、設定IPアドレスの一部(第4オクテット)を示している。設定IPアドレスの第1~第3オクテットは、同じ車両1に搭載されるIP機器20、つまり同じスイッチングハブ11に接続されるIP機器20において、同一である。
  例えば、図3のIPアドレス情報“1”は、IPアドレス“10.42.249.1”の第4オクテットを示し、IPアドレス“10.42.249.1”を意味する。図3の各IPアドレス情報が特定するIPアドレスの第1~第3オクテットは同一であり、この場合、“10.42.249”である。
  このように、同じ車両1に搭載されるIP機器20(つまり、同じスイッチングハブ11に接続されるIP機器20)の設定IPアドレスの一部(第1~第3オクテット)を共通とすることにより、対応テーブルのIPアドレス情報を、設定IPアドレスの一部(第4オクテット)とすることができるので、対応テーブルへのIPアドレス情報の登録や変更が容易となる。また、第1~第3オクテットを車両種別(先頭車両か中間車両かの種別)や車両番号(何番目の中間車両か)によって決めることで、IPアドレスの第1~第3オクテットでIP機器がどの車両に設置されているかを区別することができる。さらに、上記実施例ではIPv4におけるIPアドレスの設定方法について記載したが、IPv6においても、車両種別や車両番号によって決まるセクションとIP機器によって決まるセクションを分けることでIPv4と同様のIPアドレスの設定が可能である。
  なお、ポート番号12のポートは、設定装置12が接続されるので、IPアドレスを書き換える必要がない。したがって、図3の対応テーブルにおいて、ポート番号12については、設定IPアドレス(書き換え後のIPアドレス)を特定するIPアドレス情報は不要である。また、対応するポート番号のないIPアドレス情報“19”は、スイッチングハブ11のIPアドレスを示す。スイッチングハブ11のIPアドレスは、従来技術の方法で、作業者により設定済みである。
  図3の例の対応テーブルでは、さらに、ポート番号1~16に対し、各IP機器20の機器名と、設定順序と、工場出荷IPアドレスと、機器情報ファイル番号とが、それぞれ対応付けられている。
  なお、図3の例では、1つのポート番号・IPアドレス対応テーブルにより、ポート番号と、設定IPアドレス(IPアドレス情報)と、機器名と、設定順序と、工場出荷IPアドレスと、機器情報ファイル番号とが対応付けられているが、これらの対応付けを、複数のテーブルを用いて行うようにしてもよい。例えば、ポート番号と設定IPアドレスとを対応付けるテーブルと、設定IPアドレスと機器名とを対応付けるテーブルと、機器名と機器情報ファイル番号とを対応付けるテーブルを、異なるテーブルとしてもよい。
  機器名D1~D4,V1~V4,S1~D2,FFは、図1に示すように、いずれも同種のカメラ21であり、これらの工場出荷IPアドレスは互いに同一である。カメラ21の設置場所により、それぞれ異なる機器名が付与され、それぞれ異なる機器情報を含む機器情報ファイルが設定される。機器情報とは、例えば、カメラ21の向きや撮像角度等を指定する情報である。
  機器名MON1~MON2は、モニタ(表示装置)であり、これらの工場出荷IPアドレスは互いに同一である。機器名SUは設定装置12、機器名NDRはネットワークデジタルレコーダ22、機器名CUは制御装置24、機器名SWHはスイッチングハブ11である。
  設定順序は、SU制御部12aが各IP機器20に対し、それぞれのIPアドレスを設定するときの順序(つまり、設定装置12がスイッチングハブ11へ設定IPアドレスを送信するときのアドレス送信順序)や、それぞれの機器情報ファイルを設定するときの順序(つまり、設定装置12がスイッチングハブ11へ機器情報ファイルを送信するときのファイル送信順序)を示す。
  なお、IPアドレスを送信するときの順序と、機器情報ファイルを送信するときの順序とを異ならせる場合は、例えば、図3のテーブルに、IPアドレス用の設定順序と、機器情報ファイル用の設定順序とを設けるようにすればよい。あるいは、図3のテーブルとは別に、ポート番号とIPアドレスの送信順序とを対応付けたアドレス送信順序テーブルや、ポート番号と機器情報ファイルの送信順序とを対応付けたファイル送信順序テーブルを設けるようにすればよい。また、例えば、IPアドレスや機器情報ファイルの送信順序をポート番号順とするような場合は、図3のテーブルにおける設定順序を省略することができる。
  図3の例では、最初に、設定順序が1であるポート番号14のポートに接続されたIP機器(機器名NDRのネットワークデジタルレコーダ22)に対し、設定装置12からスイッチングハブ11を介して、設定IPアドレスが送信される。この設定IPアドレスは、設定装置12において、IPアドレス情報“15”を第4オクテットとして含むように計算され生成される。例えば、設定IPアドレス“10.42.249.15”が生成される。そして、ネットワークデジタルレコーダ22において、工場出荷IPアドレス“c”が、この設定IPアドレスに書き換えられる。
  次に、設定順序が2であるポート番号1のポートに接続されたIP機器(機器名D1のカメラ21)に対し、設定装置12からスイッチングハブ11を介して、設定IPアドレスが送信される。この設定IPアドレスは、設定装置12において、IPアドレス情報“1”を第4オクテットとして含むように生成される。そして、カメラ21(D1)において、工場出荷IPアドレス“a”が、この設定IPアドレスに書き換えられる。
  次に、設定順序が3であるポート番号2のポートに接続されたIP機器(機器名D2のカメラ21)に対し、設定装置12からスイッチングハブ11を介して、設定IPアドレス情報が送信される。この設定IPアドレスは、設定装置12において、IPアドレス情報“2”を第4オクテットとして含むように生成される。そして、カメラ21(D2)において、工場出荷IPアドレス“a”が、この設定IPアドレスに書き換えられる。
  こうして、IPアドレス設定対象の全てのIP機器20に対し、図3の対応テーブルの設定順序に従って、各IP機器20の記憶部20bに記憶された工場出荷IPアドレスが、それぞれの設定IPアドレスに書き換えられる。
  なお、SU記憶部12bには、車両種別や車両番号別に作成された対応テーブルが、それぞれ記憶されている。また、SU記憶部12bには、各IP機器20に設定すべき機器情報ファイルが、その機器情報ファイルを特定する識別子である機器情報ファイル番号と対応付けられて、機器情報ファイルのバージョン毎に記憶されている。
  SU制御部12aは、操作者からのIPアドレス設定指示を操作表示部12cで受け付けると、上述したように、図3の対応テーブルに基づき、スイッチングハブ11に接続された各IP機器20に対し、それぞれの設定IPアドレスを生成する。そして、SU制御部12aは、生成した設定IPアドレスを、スイッチングハブ11を介して、各IP機器20へ送信する。そのとき、SU制御部12aは、上述したように、図3の対応テーブルの設定順序に基づき、各IP機器20の設定IPアドレスを送信する。
  また、SU制御部12aは、設定IPアドレスを送信した後、そのIPアドレスを用い、各IP機器20に対し、スイッチングハブ11を介して、機器情報ファイルを送信する。このとき、SU制御部12aは、図3の対応テーブルに設定された機器情報ファイル番号と設定順序に基づき、機器情報ファイルを送信する。詳しくは、図3のテーブルの設定順序に従い、図3のテーブルの機器情報ファイル番号で特定される機器情報ファイルを、SU記憶部12bから読み出して、図3のテーブルで対応付けられるIP機器20に対し、スイッチングハブ11を介して送信する。
  SWH制御部11a、SU制御部12a、機器制御部20aは、ハードウエア構成としては、それぞれ、CPU(Central Processing Unit)と各制御部の動作プログラム等を格納するメモリを備えており、各CPUは、各動作プログラムに従って動作する。
  次に、本発明の実施形態に係るIPアドレス設定シーケンスを説明する。
  図4~図6は、それぞれ、本発明の実施形態に係るIPアドレス設定シーケンス図の、その1、その2、その3である。このIPアドレス設定シーケンスにおいて、設定装置12の動作はSU制御部12aにより制御され、スイッチングハブ11の動作はSWH制御部11aにより制御され、IP機器20の動作は機器制御部20aにより制御される。
  図4~図6のIPアドレス設定シーケンスを行う前に、スイッチングハブ11のIPアドレス設定と、設定装置12のIPアドレス設定とを行う。設定装置12のIPアドレス設定は、操作表示部12cを用いて、従来技術で操作者により行われる。スイッチングハブ11のIPアドレス設定は、スイッチングハブ11の操作表示部(不図示)を用いて、従来技術で操作者が行ってもよいし、スイッチングハブ11に設定装置12だけを接続した状態で、設定装置12を用いて行ってもよい。
  IPアドレス設定が行われると、スイッチングハブ11は再起動され、各ポートに接続されているIP機器20のIPアドレスを受信して取得する。そして、ポート番号とそのポートに接続されたIP機器のIPアドレスとを対応付けて、SWH記憶部11bに記憶する。
  その後、図4に示すように、まず、操作表示部12cにおいて、操作者からの車両種別選択を受け付け(図4のステップS1)、操作者からの車両番号入力を受け付け(ステップS2)、操作者からの機器情報ファイルのバージョン選択を受け付け(ステップS3)た後、操作者からのIPアドレス設定指示、つまり開始ボタン押下を受け付ける(ステップS4)。
  開始ボタン押下を受け付けると、設定装置12は、操作者に指示された車両種別と車両番号に応じた対応テーブルを選択する。そして、設定装置12は、設定装置12が接続されているポートを除くスイッチングハブ11の全てのポートを閉じる全ポートクローズ指示を、スイッチングハブ11へ送信する。例えば、設定装置12は、設定装置12が接続されているポート12を除くスイッチングハブ11の全てのポート(ポート1~11,13~16)に関するポートクローズ指示を、1ポートずつ、順次、送信する。
  ポートクローズされると、スイッチングハブ11は、クローズされたポートを用いる通信を行うことができなくなる。つまり、クローズされたポートに対し外部から入力される電文を受信することができず、クローズされたポートから外部へ電文を送信することができなくなる。
  本実施形態の例では、設定装置12が接続されているポート以外の全ポートに対し、ポート番号順に、順次、ポートクローズ処理が行われる。もし、IP機器20が接続されていないポートがある場合は、そのポートもクローズする。設定装置12は、まず、ポート番号1のポート(ポート1)に対するポートクローズ指示を、スイッチングハブ11へ送信する(ステップS5)。スイッチングハブ11では、ポート1のポートクローズ指示を受信すると、ポート1のポートクローズ処理を行う(ステップS6)。
  設定装置12が送信するポートクローズ指示電文には、宛先を示す宛先IPアドレス情報と、送信元を示す送信元IPアドレス情報と、クローズ対象のポートを指定する指定ポート番号情報と、ポートを閉じるよう指示するクローズ指示情報とが含まれる。
  宛先IPアドレス情報は、ポートクローズ指示電文の宛先であるIP機器20を指定する情報であり、具体的には、スイッチングハブ11のIPアドレスである。送信元IPアドレス情報は、ポートクローズ指示電文の送信元であるIP機器20を指定する情報であり、具体的には、設定装置12のIPアドレスである。
  次に、設定装置12は、ポート2に対するポートクローズ指示を、スイッチングハブ11へ送信する(ステップS7)。スイッチングハブ11では、ポート2のポートクローズ指示を受信すると、ポート2のポートクローズ処理を行う(ステップS8)。こうして、設定装置12が接続されているポートを除き、スイッチングハブ11の全てのポートがクローズされる(ステップS9)。
  クローズ対象の全てのポートをクローズした後、設定装置12は、図3の対応テーブルの設定順序に従い、順次、各IP機器20にIPアドレスを設定する。本実施形態では、IPアドレスを設定されると、各IP機器20は、自動的に再起動される。なお、IPアドレスを設定されても再起動しないように構成することも可能である。
  まず、設定装置12は、図3の対応テーブルの設定順序が1番目のポート14に対し、IPアドレスを設定する。
  具体的には、設定装置12は、まず、図3の対応テーブルを用いて、ポート14に接続されたIP機器20の設定IPアドレスを算出し生成する(ステップS11)。図3の例では、ポート14に接続されたIP機器20は、ネットワークデジタルレコーダ22であり、対応テーブルのIPアドレス情報(第4オクテット)は、“15”である。したがって、ネットワークデジタルレコーダ22の設定IPアドレスは、“10.42.249.15”と算出される。
  次に、設定装置12は、ポート14に対するポートオープン指示を、スイッチングハブ11へ送信する(ステップS12)。設定装置12が送信するポートオープン指示電文には、宛先IPアドレス情報(つまり、スイッチングハブ11のIPアドレス)と、送信元IPアドレス情報(つまり、設定装置12のIPアドレス)と、オープン対象のポートを指定する指定ポート番号情報と、ポートを開けるよう指示するオープン指示情報とが含まれる。
  前述した全ポートに対するポートクローズ指示と、ポート14に対するポートオープン指示とにより、ポート14を開いた状態にするとともにポート12とポート14以外のポート(ポート1~11,13,15,16)を閉じた状態にするポートオープン指示が構成される。つまり、設定装置12は、前述した全ポートに対するポートクローズ指示と、ポート14に対するポートオープン指示とを送信することにより、ポート14を開いた状態にするとともにポート12とポート14以外のポートを閉じた状態にするポートオープン指示を送信することになる。
  スイッチングハブ11では、ポート14のポートオープン指示を受信すると、ポート14のポートオープン処理を行う(ステップS13)。これにより、設定装置12とポート14に接続されたネットワークデジタルレコーダ22との間で、スイッチングハブ11を介して、IP通信が可能となる。
  次に、設定装置12は、ポート14に接続されたIP機器20(ネットワークデジタルレコーダ22)に対し、PING確認情報(エコー要求)を送信する(ステップS14)。設定装置12が送信するPING確認情報電文には、宛先IPアドレス情報と、送信元IPアドレス情報と、情報種別とが含まれる。情報種別は、この電文がPING確認情報であることを示す。
  PING確認情報は、宛先IPアドレス情報で指定したIP機器20と通信ができるか否かを確認するためのものであり、後述のPING応答情報が返信されるまで、例えば10秒間の間に、繰り返し送信される。所定時間内にPING応答情報が返信されない場合は、宛先IPアドレス情報で指定したIP機器20からの応答が無い旨を、操作表示部12cに表示し、次の設定順序(2番目)のポート1に対するIPアドレス設定処理に移行する。
  PING確認情報電文の宛先IPアドレス情報は、PING確認情報電文の宛先であるIP機器20を指定する情報であり、具体的には、ネットワークデジタルレコーダ22の初期IPアドレス(工場出荷IPアドレス)である。この工場出荷IPアドレスは、図3の対応テーブルから取得される。送信元IPアドレス情報は、PING確認情報電文の送信元であるIP機器20を指定する情報であり、具体的には、設定装置12のIPアドレスである。
  スイッチングハブ11では、設定装置12からPING確認情報電文を受信すると、PING確認情報電文の宛先IPアドレスのIP機器20(ネットワークデジタルレコーダ22)に対してのみ、受信したPING確認情報電文を送信する。詳しくは、SWH記憶部11bに記憶されたポート番号とIPアドレスとの対応表(つまり、ポート番号とそのポートに接続されたIP機器のIPアドレスとの対応表)を参照し、ポート14に対してのみ、PING確認情報電文を送信する。
  ネットワークデジタルレコーダ22では、スイッチングハブ11を介して、設定装置12からPING確認情報を受信すると、受信したPING確認情報が自身宛てである場合に、つまり、受信したPING確認情報の宛先IPアドレスがネットワークデジタルレコーダ22のIPアドレス(工場出荷IPアドレス)である場合に、PING応答情報(エコー応答)を、スイッチングハブ11を介して、設定装置12へ送信する(ステップS15)。
  ネットワークデジタルレコーダ22が送信するPING応答情報電文には、宛先IPアドレス情報と、送信元IPアドレス情報と、情報種別とが含まれる。情報種別は、この電文がPING応答情報であることを示す。
  宛先IPアドレス情報は、PING応答情報電文の宛先であるIP機器20を指定する情報であり、具体的には、設定装置12のIPアドレスである。この設定装置12のIPアドレスは、PING確認情報電文の送信元IPアドレス情報から取得される。
  送信元IPアドレス情報は、PING確認情報電文の送信元であるIP機器20を指定する情報であり、具体的には、ネットワークデジタルレコーダ22の工場出荷IPアドレスである。この工場出荷IPアドレスは、ネットワークデジタルレコーダ22の工場出荷時に、ネットワークデジタルレコーダ22の記憶部に設定されたものである。
  設定装置12は、PING応答情報を適正に受信することにより、所定の番号のポートに所定のIP機器20が正しく接続されていることを確認できる。詳しくは、設定装置12は、PING応答情報の送信元IPアドレス情報が、図3の対応テーブルのポート番号14の工場出荷IPアドレスと一致しているか否かを判定し、一致している場合に、所定の番号のポート(ポート14)に所定のIP機器20(ネットワークデジタルレコーダ22)が適正に接続されていることを確認できる。
  設定装置12は、PING応答情報を適正に受信できなかった場合は、PING確認情報の宛先IPアドレス情報で指定したIP機器20からの応答が適正でない旨を、操作表示部12cに表示し、次の設定順序(2番目)のポート1に対するIPアドレス設定処理に移行する。
  設定装置12は、PING応答情報を適正に受信した後、ネットワークデジタルレコーダ22に対し、設定すべきIPアドレスを送信する(ステップS16)。このIPアドレス送信電文には、宛先IPアドレス情報と、送信元IPアドレス情報と、情報種別と、データとが含まれる。情報種別は、この電文がIPアドレス設定情報であることを示す。データには、設定すべきIPアドレスが含まれる。
  宛先IPアドレス情報は、IPアドレス送信電文の宛先であるIP機器20を指定する情報であり、具体的には、ネットワークデジタルレコーダ22の工場出荷IPアドレスである。この工場出荷IPアドレスは、前述したように、図3の対応テーブルから取得される。送信元IPアドレス情報は、IPアドレス送信電文の送信元であるIP機器20を指定する情報であり、具体的には、設定装置12のIPアドレスである。
  スイッチングハブ11では、設定装置12からIPアドレス送信電文を受信すると、IPアドレス送信電文の宛先IPアドレスのIP機器20(ネットワークデジタルレコーダ22)に対してのみ、受信したIPアドレス送信電文を送信する。
  ネットワークデジタルレコーダ22では、スイッチングハブ11を介して、設定装置12からIPアドレス送信電文を受信すると(ステップS17)、ネットワークデジタルレコーダ22の記憶部に記憶されていた工場出荷IPアドレスを、受信したIPアドレス送信電文に含まれる設定IPアドレスに書き換える(ステップS18)。IPアドレスが書き換えられると、ネットワークデジタルレコーダ22は、自動的に再起動される。
  設定装置12は、IPアドレス送信電文を送信した後、ポート14に対するポートクローズ指示を、スイッチングハブ11へ送信する(ステップS19)。設定装置12が送信するポートクローズ指示電文には、前述したように、宛先IPアドレス情報(つまり、スイッチングハブ11のIPアドレス)と、送信元IPアドレス情報(つまり、設定装置12のIPアドレス)と、対象のポートを指定する指定ポート番号情報と、ポートを閉じるよう指示するクローズ指示情報とが含まれる。
  スイッチングハブ11では、ポート14のポートクローズ指示を受信すると、ポート14のポートクローズ処理を行う(ステップS20)。これにより、設定装置12とポート14に接続されたネットワークデジタルレコーダ22との間で、IP通信が不可能となる。
  次に、設定装置12は、図3の対応テーブルの設定順序が2番目のポート1に対し、IPアドレスを設定する。
  具体的には、設定装置12は、まず、対応テーブルを用いて、ポート1に接続されたIP機器20の設定IPアドレスを算出する(ステップS21)。
  次に、設定装置12は、ポート1に対するポートオープン指示を、スイッチングハブ11へ送信する(ステップS22)。ポートオープン指示電文の内容は、前述したとおりである。
  スイッチングハブ11では、ポート1のポートオープン指示を受信すると、ポート1のポートオープン処理を行う(ステップS23)。これにより、設定装置12とポート1に接続されたカメラ21(D1)との間で、スイッチングハブ11を介して、IP通信が可能となる。
  次に、設定装置12は、ポート1に接続されたIP機器20(カメラ21(D1))に対し、スイッチングハブ11を介して、PING確認情報(エコー要求)を送信する(ステップS24)。PING確認情報電文の内容は、前述したとおりである。
  スイッチングハブ11では、設定装置12からPING確認情報電文を受信すると、PING確認情報電文の宛先IPアドレスのIP機器20(カメラ21(D1))に対してのみ、受信したPING確認情報電文を送信する。
  カメラ21(D1)では、スイッチングハブ11を介して、設定装置12からPING確認情報を受信すると、PING応答情報(エコー応答)を、スイッチングハブ11を介して、設定装置12へ送信する(ステップS25)。PING応答情報電文の内容は、前述したとおりである。
  設定装置12は、前述したように、適正なPING応答情報を受信することにより、所定の番号のポート(ポート1)に所定のIP機器20(カメラ21(D1))が正しく接続されていることを確認できる。
  設定装置12は、適正なPING応答情報を受信した後、カメラ21(D1)に対し、スイッチングハブ11を介して、設定すべきIPアドレスを含むIPアドレス送信電文を送信する(ステップS26)。IPアドレス送信電文の内容は、前述したとおりである。
  スイッチングハブ11では、設定装置12からIPアドレス送信電文を受信すると、IPアドレス送信電文の宛先IPアドレスのIP機器20(カメラ21(D1))に対してのみ、受信したIPアドレス送信電文を送信する。
  カメラ21(D1)では、スイッチングハブ11を介して、設定装置12からIPアドレス送信電文を受信すると(ステップS27)、カメラ21(D1)の記憶部に記憶されていた工場出荷IPアドレスを、受信したIPアドレス送信電文に含まれる設定IPアドレスに書き換える(ステップS28)。IPアドレスが書き換えられると、カメラ21(D1)は、自動的に再起動される。
  再起動に要する時間(再起動時間)は、IP機器20により異なる。再起動時間は、例えば、ネットワークデジタルレコーダ22の場合は20~30分間であり、カメラ21の場合は1分程度である。
  本実施形態では、第1のIP機器(例えばNDR22)の再起動時間が、第2のIP機器(例えばカメラ21)の再起動時間よりも長い場合、第1のIPアドレスを送信した後に第2のIPアドレスを送信するよう送信順序を定める。したがって、本実施形態では、設定順序が1番目のネットワークデジタルレコーダ22へIPアドレスを設定した後、ネットワークデジタルレコーダ22の再起動中に、設定順序が2番目以降のカメラ21(D1~D4,V1~V4等)へIPアドレスを設定し、再起動することができる。つまり、ネットワークデジタルレコーダ22の再起動中に、並行して、カメラ21(D1~D4,V1~V4等)を再起動することができる。
  このように、本実施形態では、図3の対応テーブルの設定順序に従い、順次、IPアドレスを設定するよう構成したので、再起動時間がより長いIP機器のIPアドレスの設定順序を、再起動時間がより短いIP機器のIPアドレスの設定順序よりも早い順序とすることができ、これにより、IP機器全体の再起動時間を短縮することができる。
  設定装置12は、IPアドレス情報を送信した後、ポート1に対するポートクローズ指示を、スイッチングハブ11へ送信する(ステップS29)。ポートクローズ指示電文の内容は、前述したとおりである。
  スイッチングハブ11では、ポート1のポートクローズ指示を受信すると、ポート1のポートクローズ処理を行う(ステップS30)。これにより、設定装置12とポート1に接続されたカメラ21(D1)との間で、IP通信が不可能となる。
  こうして、スイッチングハブ11のポートに接続された全てのIP機器20(ただし設定装置12は除く)のIPアドレス書き換えが行われる(ステップS31)。
  IPアドレス設定対象の全IP機器20に対するIPアドレス書き換えが行われた後、設定装置12は、スイッチングハブ11のポートのうち、IP機器20が接続されている全てのポート(ポート1~16)をオープン状態にする。つまり、設定装置12は、IP機器20が接続されている全てのポート(ポート1~16)のうち、設定装置12が接続されているポート12を除くスイッチングハブ11の全てのポート(ポート1~11,13~16)を開ける全ポートオープン指示を、スイッチングハブ11へ送信する。詳しくは、設定装置12は、スイッチングハブ11のポート1~11,13~16に関するポートオープン指示を、1ポートずつ、順次、送信する。
  本実施形態の例では、ポート番号順に、順次、1ポートずつ、ポートオープン処理が行われる。
  設定装置12は、まず、ポート番号1のポート(ポート1)に対するポートオープン指示を、スイッチングハブ11へ送信する(ステップS41)。スイッチングハブ11では、ポート1のポートオープン指示を受信すると、ポート1のポートオープン処理を行う(ステップS42)。
  次に、設定装置12は、ポート2に対するポートオープン指示を、スイッチングハブ11へ送信する(ステップS43)。スイッチングハブ11では、ポート2のポートオープン指示を受信すると、ポート2のポートオープン処理を行う(ステップS44)。こうして、設定装置12が接続されているポート12を除き、IP機器20が接続されているスイッチングハブ11の全てのポート(ポート1~11,13~16)がオープンされる(ステップS45)。もし、IP機器20が接続されていないポートがある場合は、そのポートはオープンしない。
  オープン対象の全てのポートをオープンした後、スイッチングハブ11は、書き換え後のIPアドレスを、IP機器20から受信して取得する。そして、受信した書き換え後のIPアドレスで、SWH記憶部11bに記憶していたIP機器20のIPアドレスを書き換える。つまり、SWH記憶部11bに記憶されているポート番号とIP機器20のIPアドレスの対応付けを更新する。
  その後、設定装置12は、スイッチングハブ11のポートに接続された全てのIP機器20に対し、順次、PING確認情報を送信し、適正なPING応答情報を受信することにより、所定の番号のポートに所定のIP機器20が正しく接続されていることを確認する。このPING確認情報の宛先IPアドレスは、書き換え後のIPアドレスである。
  本実施形態の例では、図3の対応テーブルの設定順序に従い、順次、PING確認情報を送信する。
  まず、設定装置12は、対応テーブルの設定順序が1番目のIP機器20(ネットワークデジタルレコーダ22)に対し、スイッチングハブ11を介して、PING確認情報を送信する(ステップS51)。このPING確認情報の宛先IPアドレスは、書き換え後のIPアドレスである。スイッチングハブ11では、設定装置12からPING確認情報を受信すると、PING確認情報電文の宛先IPアドレスのIP機器20(ネットワークデジタルレコーダ22)に対してのみ、受信したPING確認情報電文を送信する。
  ネットワークデジタルレコーダ22では、スイッチングハブ11を介して、設定装置12からPING確認情報を受信すると、受信したPING確認情報が自身宛てである場合に、つまり、受信したPING確認情報の宛先IPアドレスがネットワークデジタルレコーダ22のIPアドレス(書き換え後のIPアドレス)である場合に、PING応答情報(エコー応答)を、スイッチングハブ11を介して、設定装置12へ送信する(ステップS52)。
  設定装置12は、スイッチングハブ11を介して、ネットワークデジタルレコーダ22からPING応答情報を受信すると、受信したPING応答情報の送信元IPアドレスが、対応テーブルで特定されるネットワークデジタルレコーダ22のIPアドレス(書き換え後のIPアドレス)である場合に、つまり、適正なPING応答情報を受信した場合に、ネットワークデジタルレコーダ22のIPアドレスが正しく書き換えられて設定されたと判定する。
  次に、設定装置12は、対応テーブルの設定順序が2番目のIP機器20(カメラ21(D1))に対し、スイッチングハブ11を介して、PING確認情報を送信する(ステップS53)。このPING確認情報の宛先IPアドレスは、書き換え後のIPアドレスである。スイッチングハブ11では、設定装置12からPING確認情報を受信すると、PING確認情報電文の宛先IPアドレスのIP機器20(カメラ21(D1))に対してのみ、受信したPING確認情報電文を送信する。
  カメラ21(D1)では、スイッチングハブ11を介して、設定装置12からPING確認情報を受信すると、受信したPING確認情報が自身宛てである場合に、つまり、受信したPING確認情報の宛先IPアドレスがカメラ21(D1)のIPアドレス(書き換え後のIPアドレス)である場合に、PING応答情報(エコー応答)を、スイッチングハブ11を介して、設定装置12へ送信する(ステップS54)。
  設定装置12は、スイッチングハブ11を介して、カメラ21(D1)からPING応答情報を受信すると、受信したPING応答情報の送信元IPアドレスが、対応テーブルで特定されるカメラ21(D1)のIPアドレス(書き換え後のIPアドレス)である場合に、つまり、適正なPING応答情報を受信した場合に、カメラ21(D1)のIPアドレスが正しく書き換えられて設定されたと判定する。
  こうして、設定装置12は、スイッチングハブ11のポートに接続された全てのIP機器20に対し、順次、書き換え後のIPアドレスを宛先IPアドレスとするPING確認情報を送信し、適正なPING応答情報を受信することにより、各IP機器20のIPアドレスが正しく書き換えられて設定されたことを確認する(ステップS55)。
  各IP機器20のIPアドレスが正しく書き換えられたことを確認した後、設定装置12は、スイッチングハブ11のポートに接続されたIP機器20に対し、必要に応じて、順次、機器情報ファイルを送信する。本実施形態の例では、対応テーブルの設定順序に従い、順次、スイッチングハブ11を介して機器情報ファイルを送信する。機器情報ファイルを受信して、その機器情報ファイルの内容が設定されると、そのIP機器20は、自動的に再起動される。
  例えば、設定装置12は、対応テーブルの設定順序が1番目のIP機器20(ネットワークデジタルレコーダ22)に対し、スイッチングハブ11を介して、機器情報ファイルを送信、つまり、機器情報ファイルが含まれる機器情報ファイル送信電文を送信する(ステップS61)。
  設定装置12が送信する機器情報ファイル送信電文には、宛先IPアドレス情報と、送信元IPアドレス情報と、機器情報ファイル情報とが含まれる。
  宛先IPアドレス情報は、機器情報ファイル送信電文の宛先であるIP機器20を指定する情報であり、具体的には、ネットワークデジタルレコーダ22の書き換え後のIPアドレスである。送信元IPアドレス情報は、機器情報ファイル送信電文の送信元であるIP機器20を指定する情報であり、具体的には、設定装置12のIPアドレスである。
  スイッチングハブ11では、設定装置12から機器情報ファイル送信電文を受信すると、機器情報ファイル送信電文の宛先IPアドレスのIP機器20(ネットワークデジタルレコーダ22)に対してのみ、受信した機器情報ファイル送信電文を送信する。
  ネットワークデジタルレコーダ22は、スイッチングハブ11を介して、設定装置12から機器情報ファイル送信電文を受信すると(ステップS62)、受信した機器情報ファイル送信電文が自身宛てである場合に、つまり、受信した機器情報ファイル送信電文の宛先IPアドレスがネットワークデジタルレコーダ22のIPアドレス(書き換え後のIPアドレス)である場合に、受信した機器情報ファイル送信電文に含まれる機器情報ファイルを読み込んで、ネットワークデジタルレコーダ22の記憶部に記憶し(ステップS63)、その後、再起動を行う(ステップS64)。つまり、ネットワークデジタルレコーダ22は、読み込んだ機器情報ファイルの内容を実行する。
  次に、設定装置12は、対応テーブルの設定順序が2番目のIP機器20(カメラ21(D1))に対し、スイッチングハブ11を介して、機器情報ファイルを送信する。こうして、機器情報ファイル送信対象の全てのIP機器20に対し、機器情報ファイルが送信される(ステップS65)。そして、機器情報ファイルを受信した各IP機器20において、受信した機器情報ファイルが読み込まれ実行される。
  機器情報ファイルの設定時間(機器情報ファイルがIP機器20に設定される時間)は、IP機器20が、受信した機器情報ファイルを読み込んで記憶し、その後、再起動を行い、機器情報ファイルの内容を実行するのに要する時間であり、ほぼ再起動に要する時間(再起動時間)に等しい。再起動時間は、IP機器20により異なる。前述したように、再起動時間は、例えば、ネットワークデジタルレコーダ22の場合は20~30分間であり、カメラ21の場合は1分程度である。
  本実施形態では、第1のIP機器(例えばNDR22)に設定される第1の機器情報ファイルの設定時間が、第2のIP機器(例えばカメラ21)に設定される第2の機器情報ファイルの設定時間よりも長い場合、第1の機器情報ファイルを送信した後に第2の機器情報ファイルを送信するよう送信順序を定める。したがって、設定順序が1番目のネットワークデジタルレコーダ22へ機器情報ファイルを設定中に、並行して、設定順序が2番目以降のカメラ21(D1~D4,V1~V4等)へ機器情報ファイルを設定することができる。
  このように、本実施形態では、各IP機器20へIPアドレスを設定した後、対応テーブルの設定順序に従い、順次、機器情報ファイルを送信するよう構成したので、機器情報ファイルの設定時間がより長いIP機器の機器情報ファイルの設定順序を、機器情報ファイルの設定時間がより短いIP機器の機器情報ファイルの設定順序よりも早い順序とすることができ、これにより、IP機器全体の機器情報ファイルの設定時間を短縮することができる。
  以上説明したように、本実施形態では、第1~第(n+1)のポート(nは2以上の整数)を有するスイッチングハブ11と、第1~第nのポートにそれぞれ接続された第1~第nのIP機器と、第(n+1)のポートに接続された設定装置12と、を備えるIP通信システムにおいて、設定装置12は、第1~第nのポートのうち第mのポート(mは1~nのいずれか)を開いた状態にするとともに第mのポート以外の第1~第nのポートを閉じた状態にする第mのポートオープン指示を送信し、その後、第mのIP機器に設定する第mのIPアドレスを送信する。
  また、スイッチングハブ11は、設定装置12から、第mのポートオープン指示を受信すると、第mのポートを開いた状態にするとともに第mのポート以外の第1~第nのポートを閉じた状態にし、第mのIPアドレスを受信すると、該第mのIPアドレスを第mのIP機器へ送信する.
  また、設定装置12は、スイッチングハブ11に対し、第1~第nのIP機器にそれぞれ設定する第1~第nのIPアドレスを送信した後、第1~第nのポートを開いた状態にする全ポートオープン指示を送信し、その後、第mのIP機器に設定する第mの機器情報ファイルを送信する。
  例えば、nが15、mが1の場合は、第16のポート(ポート12)に接続された設定装置12は、スイッチングハブ11に対し、第1~第15のポートのうち、例えば、第1のポート(ポート14)を開いた状態にするとともに第1のポート以外の他のポート(ポート1~11,13,15,16)を閉じた状態にする第1のポートオープン指示を送信し(ステップS5~S12)、その後、第1のIP機器(NDR22)に設定する第1のIPアドレスを送信する(ステップS16)。
  また、スイッチングハブ11は、設定装置12から、第1のポートオープン指示を受信すると、第1のポート(ポート14)を開いた状態にするとともに第1のポート以外の他のポート(ポート1~11,13,15,16)を閉じた状態にし、第1のIPアドレスを受信すると、該第1のIPアドレスを第1のIP機器(NDR22)へ送信する。
  また、設定装置12は、スイッチングハブ11に対し、第1~第15のIP機器にそれぞれ設定する第1~第15のIPアドレスを送信(ステップS11~S31)した後、第1~第15のポートを開いた状態にする全ポートオープン指示を送信(ステップS41~S45)し、その後、第1のIP機器に設定する第1の機器情報ファイルを送信する(ステップS61)。
  図7は、本発明の実施形態に係る設定装置の表示例(IPアドレス設定中)である。詳しくは、IPアドレス設定中の状態を、設定装置12の操作表示部12cに表示した例である。図8は、本発明の実施形態に係る設定装置の表示例(IPアドレス設定済)である。詳しくは、IPアドレス設定後の状態を、設定装置12の操作表示部12cに表示した例である。
  図7と図8において、Timeは、IPアドレス設定中の時刻又は設定終了時の時刻を示す。Car IDは、車両番号を示す。Deviceは、IP機器20の機器名を示す。IP Addressは、設定すべきIPアドレスを示す。Statusは、IPアドレス設定処理における状態を示す。
  例えば、図7において、IP機器D1(カメラ21)については、2014年4月23日16時9分13秒現在において、IPアドレス“10.42.249.1”を、設定装置12が設定中、つまり、設定装置12から送信中(transfer)であることを表示している。また、IP機器D2(カメラ21)については、IPアドレス“10.42.249.2”を、設定装置12が設定準備完了(ready)していることを表示している。設定準備完了とは、設定装置12がIPアドレスを生成した後、送信待ちの状態である。
  また、図8において、IP機器D1(カメラ21)については、2014年4月23日16時9分58秒において、IPアドレス“10.42.249.1”を、設定装置12が設定完了、つまり、設定装置12から送信完了した(Success)ことを表示している。また、IP機器D2(カメラ21)については、2014年4月23日16時10分47秒において、IPアドレス“10.42.249.2”を、設定装置12が設定完了した(Success)ことを表示している。
  このように、IPアドレス設定処理の状態を、設定装置12の操作表示部12cに表示するので、IPアドレス設定の作業者は、IPアドレス設定処理の進捗状況や、IPアドレス設定が成功したか失敗したかの結果を容易に認識することができる。あるポートのIPアドレス設定が失敗した場合は、そのポートに対し、再度、IPアドレス設定を試みるが、そのときは、IPアドレス設定が完了していないポートの進捗状況や結果だけを表示することが好ましい。
  なお、図7と図8では、IPアドレス設定処理の状態を表示したが、各IP機器における機器情報ファイルの設定状況(つまり、機器情報ファイルが読み込まれ実行される状況)を、図7と図8と同様な態様で表示するようにしてもよい。この場合、機器情報ファイルの名称や番号を、IP機器の機器名に対応付けて表示するのが好ましい。
  本実施形態によれば、少なくとも次の効果を奏する。
  (a)設定装置12が、スイッチングハブ11に対し、第1~第nのIP機器20がそれぞれ接続された第1~第nのポートのうち、第1のポートを開いた状態にするとともに第2~第nのポート(設定装置12が接続されたポートを除く)を閉じた状態にする第1のポートオープン指示を送信し、その後、第1のIP機器20に設定する第1のIPアドレスを送信するよう構成したので、設定装置12から複数のIP機器20に対し、IPアドレスを設定又は変更することができる。
  (b)スイッチングハブ11に接続された全てのIP機器20に対してIPアドレスを設定した後、設定装置12が、スイッチングハブ11に対し、各IP機器20の機器情報ファイルを送信するよう構成したので、全体のIPアドレス設定時間又は全体の機器情報ファイル設定時間のうち少なくとも一方を短縮することができる。
  (c)設定装置12が、機器情報ファイルの送信順序を定めるファイル送信順序テーブルの送信順序に従い、機器情報ファイルを送信するよう構成したので、全体の機器情報ファイル設定時間を短縮することが可能となる。
  (d)第1の機器情報ファイルが第1のIP機器に設定される時間が、第2の機器情報ファイルが第2のIP機器に設定される時間よりも長い場合、設定装置12が、第1の機器情報ファイルを送信した後に第2の機器情報ファイルを送信するよう構成したので、全体の機器情報ファイル設定時間を短縮することが可能となる。
  (e)設定装置12が、IPアドレスの送信順序を定めるアドレス送信順序テーブルの送信順序に従い、スイッチングハブ11に対し、IPアドレスを送信するよう構成したので、全体のIPアドレス設定時間を短縮することができる。
  (f)設定装置12が、スイッチングハブ11に対し、ポートオープン指示を送信した後、IP機器20に対する確認情報を送信し、スイッチングハブ11から、前記確認情報に対する応答情報を適正に受信した場合に、IPアドレスを送信するよう構成したので、適正なIP機器20に対してIPアドレスを設定することを確実に行える。
  (g)設定装置12が、IP機器の初期IPアドレスを記憶し、その初期IPアドレスと応答情報に含まれる送信元IPアドレスとが一致する場合に、IPアドレスを送信するよう構成したので、IPアドレス設定対象のIP機器20が適正であるか否かを容易に確認することができる。
  (h)設定装置12が、スイッチングハブ11に対し、機器情報ファイルを送信する前に、IP機器20に対する確認情報を送信し、スイッチングハブ11から、前記確認情報に対する応答情報を適正に受信した場合に、機器情報ファイルを送信するよう構成したので、適正なIP機器20に対して機器情報ファイルを設定することを確実に行える。
  なお、本発明は、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々に変更が可能であることはいうまでもない。
  上記実施形態では、設定装置12から、各ポートに対応するIPアドレスを送信した後、全てのポートを開いた状態にする全ポートオープン指示を送信し、その後、各ポートに対応する機器情報ファイルを送信するように構成した。しかし、各ポート毎に、IPアドレスを送信した後、機器情報ファイルを送信するように構成してもよい。すなわち、設定装置12から、第1のポートを開いた状態にするとともに他のポートを閉じた状態にするポートオープン指示を送信し、第1のポートに対応するIPアドレスを送信した後、第1のポートに対応する機器情報ファイルを送信し、その後、第2のポートを開いた状態にするとともに他のポートを閉じた状態にするポートオープン指示を送信し、第2のポートに対応するIPアドレスを送信した後、第2のポートに対応する機器情報ファイルを送信するように構成してもよい。
  また、上記実施形態では、全ポートクローズと全ポートオープンを、ポート番号の順に順次行うように構成したが、ポート番号の順に限られるものではなく、任意の順に行うよう構成することもできる。また、スイッチングハブの構成によっては、全ポートクローズと全ポートオープンを、1ポートずつ順次行うのではなく、一度にまとめて行うよう構成することも可能である。
  また、上記実施形態では、全てのポートをオープンした後、ポートオープン状態のままで、設定装置12からPING確認情報や機器情報ファイルを送信するように構成したが、設定装置12からPING確認情報や機器情報ファイルを送信する際に、必要なポートのみをオープンするように構成することも可能である。
  また、上記実施形態では、設定装置12において設定IPアドレスを算出し、該算出した設定IPアドレスを、スイッチングハブ11を介して、IP機器20へ送信するように構成したが、設定IPアドレスを特定するIPアドレス情報を、設定装置12から送信し、スイッチングハブ11又はIP機器20において受信したIPアドレス情報に基づき設定IPアドレスを算出するように構成することも可能である。
  また、上記実施形態では、IP機器20の初期IPアドレスが工場出荷IPアドレスである場合に、工場出荷IPアドレスを設定IPアドレスに書き換えたが、IPアドレスの設定対象である初期IPアドレスは、工場出荷IPアドレスに限られるものではない。また、初期IPアドレスが存在しない場合(IPアドレスが未設定の場合)にも、本発明は適用可能である。
  1…車両、11…スイッチングハブ(SWH)、11a…SWH制御部、11b…SWH記憶部、12…IPアドレス設定装置(SU)、12a…SU制御部、12b…SU記憶部、12c…操作表示部、20…IP機器、20a…機器制御部、20b…機器記憶部、21…カメラ(撮像装置)、22…ネットワークデジタルレコーダ(NDR)、23…モニタ(MON:表示装置)、24…制御装置(CU)。

Claims (9)

  1.   少なくとも第1~第(n+1)のポート(nは2以上の整数)を有するスイッチングハブと、前記第1~第nのポートにそれぞれ接続された第1~第nのIP機器と、前記第(n+1)のポートに接続されたIPアドレス設定装置と、を備えるIP通信システムであって、
      前記IPアドレス設定装置は、
      前記スイッチングハブに対し、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にする第1のポートオープン指示を送信し、その後、前記第1のIP機器に設定する第1のIPアドレスを送信し、
      前記スイッチングハブは、
      前記IPアドレス設定装置から、前記第1のポートオープン指示を受信すると、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にし、前記第1のIPアドレスを受信すると、該第1のIPアドレスを前記第1のIP機器へ送信することを特徴とするIP通信システム。
  2.   請求項1に記載のIP通信システムであって、
      前記IPアドレス設定装置は、
      前記スイッチングハブに対し、前記第1のIPアドレスを送信した後、前記第2のポートを開いた状態にするとともに前記第2のポート以外の前記第1~第nのポートを閉じた状態にする第2のポートオープン指示を送信し、その後、前記第2のIP機器に設定する第2のIPアドレスを送信し、
      前記スイッチングハブは、
      前記IPアドレス設定装置から、前記第2のポートオープン指示を受信すると、前記第2のポートを開いた状態にするとともに前記第2のポート以外の前記第1~第nのポートを閉じた状態にし、前記第2のIPアドレスを受信すると、該第2のIPアドレスを前記第2のIP機器へ送信することを特徴とするIP通信システム。
  3.   請求項2に記載のIP通信システムであって、
      前記IPアドレス設定装置は、前記第1及び第2のIPアドレスの送信順序を定めるアドレス送信順序テーブルを有し、前記アドレス送信順序テーブルの送信順序に従い、前記スイッチングハブに対し、前記第1のIPアドレスを送信し、その後、前記第2のIPアドレスを送信することを特徴とするIP通信システム。
  4.   請求項1に記載のIP通信システムであって、
      前記IPアドレス設定装置は、
      前記第1のIP機器の初期IPアドレスを記憶し、
      前記第1のポートオープン指示を送信した後、前記スイッチングハブを介して前記第1のIP機器へ、前記第1のIP機器に対する第1の確認情報を送信し、その後、前記スイッチングハブを介して前記第1のIP機器から、前記第1の確認情報に対する第1の応答情報を受信し、前記初期IPアドレスと、前記第1の応答情報に含まれる送信元IPアドレスとが一致する場合に、前記第1のIPアドレスを送信することを特徴とするIP通信システム。
  5.   請求項1に記載のIP通信システムであって、
      前記IPアドレス設定装置は、
      前記第1のポートと、前記第1のIPアドレスを特定するための第1のIPアドレス情報とを対応付けて記憶しており、
      前記第1のIPアドレス情報に基づき前記第1のIPアドレスを生成し、該生成した第1のIPアドレスを送信することを特徴とするIP通信システム。
  6.   請求項1に記載のIP通信システムであって、
      前記IPアドレス設定装置は、
      前記スイッチングハブに対し、前記第1~第nのIP機器にそれぞれ設定する第1~第nのIPアドレスを送信した後、前記第1~第nのポートを開いた状態にする全ポートオープン指示を送信し、その後、前記第1のIP機器に設定する第1の機器情報ファイルを送信し、その後、前記第2のIP機器に設定する第2の機器情報ファイルを送信し、
      前記スイッチングハブは、
      前記IPアドレス設定装置から、前記全ポートオープン指示を受信すると、前記第1~第nのポートを開いた状態にし、その後、前記第1の機器情報ファイルを受信すると、前記第1の機器情報ファイルを前記第1のIP機器へ送信し、前記第2の機器情報ファイルを受信すると、前記第2の機器情報ファイルを前記第2のIP機器へ送信することを特徴とするIP通信システム。
  7.   請求項6に記載のIP通信システムであって、
      前記IPアドレス設定装置は、前記第1~第nのIP機器に設定する機器情報ファイルのうち、前記第1及び第2の機器情報ファイルの送信順序を定めるファイル送信順序テーブルを有し、前記ファイル送信順序テーブルの送信順序に従い、前記第1及び第2の機器情報ファイルを送信し、
      前記ファイル送信順序テーブルは、
      前記第1の機器情報ファイルが前記第1のIP機器に設定される時間が、前記第2の機器情報ファイルが前記第2のIP機器に設定される時間よりも長い場合、前記第1の機器情報ファイルを送信した後に前記第2の機器情報ファイルを送信するよう前記送信順序を定めることを特徴とするIP通信システム。
  8.   少なくとも第1~第(n+1)のポート(nは2以上の整数)を有し、前記第1~第nのポートにそれぞれ第1~第nのIP機器が接続されるスイッチングハブと、前記第(n+1)のポートにより接続されるIPアドレス設定装置であって、
      前記スイッチングハブに対し、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にする第1のポートオープン指示を送信し、その後、前記第1のIP機器に設定する第1のIPアドレスを送信することを特徴とするIPアドレス設定装置。
  9.   少なくとも第1~第(n+1)のポート(nは2以上の整数)を有するスイッチングハブと、前記第1~第nのポートにそれぞれ接続された第1~第nのIP機器と、前記第(n+1)のポートに接続されたIPアドレス設定装置と、を備えるIP通信システムにおけるIPアドレス設定方法であって、
      前記IPアドレス設定装置が、前記スイッチングハブに対し、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にする第1のポートオープン指示を送信するステップと、
      前記IPアドレス設定装置が、前記スイッチングハブに対し、前記第1のIP機器に設定する第1のIPアドレスを送信するステップと、
      前記スイッチングハブが、前記IPアドレス設定装置から前記第1のポートオープン指示を受信すると、前記第1のポートを開いた状態にするとともに前記第2~第nのポートを閉じた状態にするステップと、
      前記スイッチングハブが、前記IPアドレス設定装置から前記第1のIPアドレスを受信すると、前記第1のIPアドレスを前記第1のIP機器へ送信するステップと、
      を備えることを特徴とするIPアドレス設定方法。
PCT/JP2014/076085 2014-09-30 2014-09-30 Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法 WO2016051504A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/JP2014/076085 WO2016051504A1 (ja) 2014-09-30 2014-09-30 Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法
US15/513,253 US10419391B2 (en) 2014-09-30 2014-09-30 IP communication system, IP address setting unit, and IP address setting method
JP2016551385A JP6186515B2 (ja) 2014-09-30 2014-09-30 Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法
EP14902919.1A EP3203688B1 (en) 2014-09-30 2014-09-30 Ip communication system, ip address setting apparatus, and ip address setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/076085 WO2016051504A1 (ja) 2014-09-30 2014-09-30 Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法

Publications (1)

Publication Number Publication Date
WO2016051504A1 true WO2016051504A1 (ja) 2016-04-07

Family

ID=55629602

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/076085 WO2016051504A1 (ja) 2014-09-30 2014-09-30 Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法

Country Status (4)

Country Link
US (1) US10419391B2 (ja)
EP (1) EP3203688B1 (ja)
JP (1) JP6186515B2 (ja)
WO (1) WO2016051504A1 (ja)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018055774A1 (ja) * 2016-09-26 2018-03-29 株式会社日立国際電気 車両監視システム、管理装置、及び監視方法
CN108282546A (zh) * 2017-01-05 2018-07-13 霍尼韦尔国际公司 用于使配置数据与ip相机相关的系统和方法
JP2019009496A (ja) * 2017-06-20 2019-01-17 コニカミノルタ株式会社 画像形成装置の管理装置、画像形成装置の管理方法、画像形成装置管理用プログラム、画像形成システム、および、画像形成装置群
JP2020127061A (ja) * 2019-02-01 2020-08-20 古野電気株式会社 ネットワーク管理システム、ネットワーク中継装置、ネットワーク管理方法、及びプログラム
JPWO2019230048A1 (ja) * 2018-05-31 2021-06-24 太陽誘電株式会社 動作監視装置、動作監視方法、動作監視プログラム、および動作監視システム

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2983458A1 (en) * 2015-07-16 2017-01-19 Raymond CANFIELD Cyber security system and method using intelligent agents
CN115002076B (zh) * 2022-05-27 2024-03-08 广州小鹏汽车科技有限公司 传感器ip地址配置方法、装置、车辆及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012175482A (ja) * 2011-02-23 2012-09-10 Fujitsu Ltd ネットワーク通信機器の端末接続設定方法、運用監視装置及びネットワーク通信機器
WO2012127634A1 (ja) * 2011-03-22 2012-09-27 富士通株式会社 ネットワーク管理装置、ネットワーク管理方法及びネットワーク管理プログラム

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6745270B1 (en) * 2001-01-31 2004-06-01 International Business Machines Corporation Dynamically allocating I2C addresses using self bus switching device
JP2003338826A (ja) * 2002-05-20 2003-11-28 Fujitsu Ltd 信号出力制御方法及びネットワーク接続装置
DE502004008199D1 (de) * 2004-01-23 2008-11-20 Siemens Ag Verfahren zur Zuordnung einer IP-Adresse zu einem Gerät
BRPI0507676A (pt) * 2004-02-17 2007-07-17 Thales Avionics Inc sistema e método utilizando seqüenciamento de protocolo de internet (ip) para a identificação de componentes de um sistema de informação de vÈo de passageiro (pfis)
US8296488B2 (en) * 2009-04-27 2012-10-23 Abl Ip Holding Llc Automatic self-addressing method for wired network nodes
JP2012129908A (ja) 2010-12-17 2012-07-05 Hitachi Kokusai Electric Inc 監視システム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012175482A (ja) * 2011-02-23 2012-09-10 Fujitsu Ltd ネットワーク通信機器の端末接続設定方法、運用監視装置及びネットワーク通信機器
WO2012127634A1 (ja) * 2011-03-22 2012-09-27 富士通株式会社 ネットワーク管理装置、ネットワーク管理方法及びネットワーク管理プログラム

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018055774A1 (ja) * 2016-09-26 2018-03-29 株式会社日立国際電気 車両監視システム、管理装置、及び監視方法
JP6503146B2 (ja) * 2016-09-26 2019-04-17 株式会社日立国際電気 車両監視システム、管理装置、及び監視方法
JPWO2018055774A1 (ja) * 2016-09-26 2019-06-24 株式会社日立国際電気 車両監視システム、管理装置、及び監視方法
US10618529B2 (en) 2016-09-26 2020-04-14 Hitachi Kokusai Electric Inc. Vehicle monitoring system, management device and monitoring method
CN108282546A (zh) * 2017-01-05 2018-07-13 霍尼韦尔国际公司 用于使配置数据与ip相机相关的系统和方法
CN108282546B (zh) * 2017-01-05 2022-09-13 安定宝公司 用于使配置数据与ip相机相关的系统和方法
JP2019009496A (ja) * 2017-06-20 2019-01-17 コニカミノルタ株式会社 画像形成装置の管理装置、画像形成装置の管理方法、画像形成装置管理用プログラム、画像形成システム、および、画像形成装置群
JP7173725B2 (ja) 2017-06-20 2022-11-16 コニカミノルタ株式会社 画像形成装置の管理装置、画像形成装置の管理方法、画像形成装置管理用プログラム、画像形成システム
JPWO2019230048A1 (ja) * 2018-05-31 2021-06-24 太陽誘電株式会社 動作監視装置、動作監視方法、動作監視プログラム、および動作監視システム
JP7357611B2 (ja) 2018-05-31 2023-10-06 太陽誘電株式会社 動作監視装置、動作監視方法、動作監視プログラム、および動作監視システム
JP2020127061A (ja) * 2019-02-01 2020-08-20 古野電気株式会社 ネットワーク管理システム、ネットワーク中継装置、ネットワーク管理方法、及びプログラム
JP7245063B2 (ja) 2019-02-01 2023-03-23 古野電気株式会社 ネットワーク管理システム、ネットワーク中継装置、ネットワーク管理方法、及びプログラム

Also Published As

Publication number Publication date
EP3203688A4 (en) 2018-05-23
US10419391B2 (en) 2019-09-17
EP3203688A1 (en) 2017-08-09
JPWO2016051504A1 (ja) 2017-06-08
US20170222972A1 (en) 2017-08-03
EP3203688B1 (en) 2020-07-29
JP6186515B2 (ja) 2017-08-23

Similar Documents

Publication Publication Date Title
JP6186515B2 (ja) Ip通信システム、ipアドレス設定装置、及びipアドレス設定方法
CN110050237B (zh) 数据收集装置、数据收集方法及记录介质
JP5368860B2 (ja) 情報収集システム
WO2014097436A1 (ja) 制御装置、表示装置、ファームウェア更新方法、およびファームウェア更新プログラム
EP2154830A1 (en) Network communication device and network communication method
US20170054680A1 (en) Control method, information processing apparatus, and storage medium
WO2010064292A1 (ja) データ処理装置、そのシステム、その方法、そのプログラム、および、そのプログラムを記録した記録媒体
US20090013082A1 (en) Field communication system, field server, field device, and field communication method
JP5834356B2 (ja) 保守作業支援装置
JP2008262034A (ja) 画像表示システム
JP2006033086A (ja) 画像処理システム、情報処理装置、画像処理装置、それらの制御方法、それらの制御プログラム並びに、その制御プログラムを格納した記憶媒体
JP5684049B2 (ja) サーバ装置、クライアント装置および画像転送システム
EP3942388B1 (en) Systems and methods for identifying servers on a rack and assigning the proper ip addresses to the servers based on their physical locations
JP6216919B2 (ja) 表示データと変更命令データの分離伝送のための電子棚札表示器、電子棚札表示システム及びその動作方法
JP2000194583A (ja) 監視制御システム、および、そのプログラムが記録された記録媒体
JP5845459B2 (ja) 機器登録方法、および機器登録システム
JP5688357B2 (ja) ビル管理装置、ビル管理システム及びビル管理プログラム
JPWO2019054015A1 (ja) 設備管理システム、設備管理方法
JP2018146767A (ja) カラオケシステム
JP6895208B2 (ja) プラント制御装置
WO2018116435A1 (ja) 中継装置、表示装置、接続情報送信方法、およびネットワーク構成表示方法
JP6574689B2 (ja) カラオケ装置及びカラオケシステム
US20090296721A1 (en) Method for managing ip tunnels
JP6912502B2 (ja) 通信制御装置および無線通信方法
CN114070714B (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: 14902919

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016551385

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15513253

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2014902919

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014902919

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE