WO2018164037A1 - Relay apparatus, server, method for setting relay apparatus, and recording medium - Google Patents

Relay apparatus, server, method for setting relay apparatus, and recording medium Download PDF

Info

Publication number
WO2018164037A1
WO2018164037A1 PCT/JP2018/008265 JP2018008265W WO2018164037A1 WO 2018164037 A1 WO2018164037 A1 WO 2018164037A1 JP 2018008265 W JP2018008265 W JP 2018008265W WO 2018164037 A1 WO2018164037 A1 WO 2018164037A1
Authority
WO
WIPO (PCT)
Prior art keywords
identification information
application
relay
relay device
setting
Prior art date
Application number
PCT/JP2018/008265
Other languages
French (fr)
Japanese (ja)
Inventor
槙太朗 土屋
宇一 勝田
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to JP2019504561A priority Critical patent/JP6756400B2/en
Publication of WO2018164037A1 publication Critical patent/WO2018164037A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to a relay device, a server, a setting method for setting the relay device, and a recording medium.
  • IoT Internet of Things
  • various devices such as sensors and actuators are connected to a network such as the Internet, and data acquired from the device can be monitored and analyzed, and the operation of the device can be controlled via the network.
  • a device is often controlled by an application (software) executed on a relay device such as a gateway to which the device is connected. Since the application for controlling the device varies depending on the type of device, an appropriate application needs to be installed in the relay apparatus according to the connected device.
  • Japanese Patent Application Laid-Open No. 2004-151867 discloses a technique in which a server generates an execution module for installing an application to be installed for each terminal, and the terminal receives and executes the execution module from the server to perform settings including application installation. Are listed.
  • the present invention has been made in view of the above-described problems, and provides a relay device, a server, a relay device setting method, and a setting program recording medium that can reduce the setting burden required for device connection. With the goal.
  • a first aspect of the present invention is a relay device connected to a device, the acquisition unit acquiring the identification information of the relay device and the identification information of the device, the acquired identification information of the relay device, and the An installation unit that installs an application that controls the device, which is determined based on the identification information of the device.
  • a second aspect of the present invention is a server that communicates with a relay device connected to a device, the receiving unit receiving the relay device identification information and the device identification information, and the received relay device And a determination unit that determines an application that controls the device to be installed in the relay apparatus based on the identification information and the device identification information.
  • a third aspect of the present invention is a method for setting a relay device connected to a device, the step of acquiring the identification information of the relay device and the identification information of the device, and the acquired identification information of the relay device And installing an application for controlling the device determined based on the identification information of the device.
  • a recording medium on which a program for setting a relay device connected to a device is recorded, the computer acquiring the relay device identification information and the device identification information; And installing an application for controlling the device, which is determined based on the acquired identification information of the relay device and the identification information of the device.
  • the application to be installed since the application to be installed is determined based on the combination of the identification information of the relay device and the identification information of the device, it can be automatically set according to the device connected to the relay device, The burden of setting the relay device can be reduced.
  • FIG. 1 is a block diagram of a system including a relay device according to a first embodiment. It is a schematic diagram of an application definition table recorded in an application definition storage unit according to the first embodiment. It is a schematic block diagram which shows the apparatus structure of the relay apparatus which concerns on 1st Embodiment. It is a figure which shows the flowchart of the setting method of the relay apparatus which concerns on 1st Embodiment. It is a block diagram of the system containing the relay apparatus which concerns on 2nd Embodiment. It is a block diagram of a system including a relay device according to a third embodiment.
  • FIG. 1 is a schematic diagram of a setting method of the relay device 10 according to the present embodiment.
  • the relay device 10 is also referred to as a gateway, and is a communication device that relays signal transfer between the device 20 and the server 30.
  • the server 30 is a device connected to the relay apparatus 10 via a network.
  • the server 30 is, for example, a single computer or a cloud that is a collection of computer resources.
  • the device 20 is a device that transmits a predetermined signal to the server 30 or receives a signal from the server 30 to perform a predetermined operation.
  • the device 20 is a sensor that measures temperature, pressure, sound, and the like.
  • the device 20 transmits a signal indicating the measurement result to the server 30.
  • the device 20 is an actuator that performs a predetermined operation.
  • the device 20 operates according to a signal indicating the control content received from the server 30.
  • the device 20 is controlled by the application 11 operating on the relay apparatus 10.
  • connection port 12 is an interface for physically connecting the device 20 via a connection member such as a cable or a connector.
  • a connection member such as a cable or a connector.
  • a serial port such as RS-232C standard, RS-422 standard, RS-485 standard, an IEEE 1284 standard parallel port, a USB (Universal Serial Bus) port, or any other physical interface is used. It's okay.
  • the application 11 is software that controls the device 20 and enables communication with the server 30. Communication between the relay apparatus 10 and the server 30 follows a general protocol such as TCP / IP. On the other hand, the device 20 performs communication according to a different communication protocol for each type and manufacturer. As a communication protocol that the device 20 follows, for example, there is a general protocol such as TCP / IP, or a unique protocol that varies depending on the type and manufacturer of the device 20. The application 11 converts a signal transmitted and received between the device 20 and the server 30 according to a communication protocol that the device 20 and the server 30 follow. Therefore, the relay apparatus 10 needs to install and execute an application 11 that differs depending on the device 20 to be connected.
  • a general protocol such as TCP / IP
  • the control unit 100 installs the application 11 corresponding to the device 20 connected to the relay device 10 and performs control to be executed in the relay device 10. In the control, the control unit 100 determines the application 11 to be installed based on the combination of the identification information of the connected device 20 and the identification information of the relay device 10. The data of the application 11 installed in the present embodiment is received from the server 30, but may be read from a recording unit in the relay device 10. A detailed configuration of the control unit 100 will be described with reference to FIG.
  • FIG. 2 is a block diagram of a system including the relay device 10 according to the present embodiment.
  • arrows indicate main data flows, and there may be data flows other than those shown in FIG.
  • each block represents a functional unit configuration, not a hardware (device) unit configuration. Therefore, the blocks shown in FIG. 2 may be implemented in a single device, or may be separately implemented in a plurality of devices. Data exchange between the blocks may be performed via any means such as a data bus, a network, a portable storage medium, or the like.
  • the relay apparatus 10 includes a control unit 100 that is a processing unit and a system information storage unit 13 that is a storage unit.
  • the control unit 100 includes a device identification information acquisition unit 110, a relay device identification information acquisition unit 120, an application determination unit 130, and an installation unit 140.
  • the relay device 10 executes an application 11 that controls communication between the device 20 and the server 30.
  • the server 30 includes an application definition storage unit 31 and an application storage unit 32 that are storage units.
  • the device identification information acquisition unit 110 acquires from the device 20 a device ID that is identification information of the device 20 connected to the relay apparatus 10. When a plurality of devices 20 are connected to the relay apparatus 10, the subsequent processing is performed for each device 20.
  • the device ID is a value that can be acquired from the device 20, and is defined by an arbitrary expression method such as a character string, a numerical value, or a binary value that can identify the device 20.
  • the device 20 is a USB connection device, for example, a vendor (manufacturer) ID, a product ID, or a combination thereof can be used as the device ID.
  • the same identification information is allocated to a plurality of devices 20 (for example, devices 20 of the same type and manufacturer) that follow the same communication protocol.
  • a plurality of devices 20 having the same identification information are controlled by the same application 11, and thus management in an application definition table described later is simple.
  • unique identification information may be assigned to each individual device 20.
  • the relay device identification information acquisition unit 120 acquires the relay device ID that is the identification information of the relay device 10 from the system information storage unit 13.
  • the relay device ID is a value that can be acquired from the system (more specifically, the operating system) of the relay device 10 and is defined by an arbitrary expression method such as a character string, a numerical value, or a binary value that can identify the relay device 10.
  • the relay device ID for example, a serial number recorded in the BIOS of the relay device 10 can be used.
  • unique identification information is assigned to each individual relay device 10.
  • different settings can be applied to each individual relay device 10, and the settings of the relay device 10 can be customized according to the user's request.
  • different applications 11 can be distributed depending on the installation destination and owner of the relay device 10. It can be performed.
  • the same identification information may be allocated to a plurality of relay apparatuses 10.
  • the application determination unit 130 is based on an application definition table recorded in advance in the application definition storage unit 31.
  • the device ID acquired by the device identification information acquisition unit 110 and the relay device acquired by the relay device identification information acquisition unit 120.
  • the application 11 corresponding to the ID is determined.
  • the application definition storage unit 31 is provided in the server 30, but may be provided in the relay device 10. However, when the application definition storage unit 31 is provided in the relay device 10, it is necessary to periodically distribute the application definition table from the server 30 to each relay device 10. It is desirable to provide a definition storage unit 31.
  • FIG. 3 is a schematic diagram of an application definition table recorded in advance in the application definition storage unit 31 according to this exemplary embodiment.
  • the application definition storage unit 31 associates a combination of the device ID that is the identification information of the device 20, the relay device ID that is the identification information of the relay device 10, and the application 11 to be installed (specifically, the file name). And recorded in advance as an application definition table.
  • the application determination unit 130 extracts a row corresponding to the device ID acquired by the device identification information acquisition unit 110 and the relay device ID acquired by the relay device identification information acquisition unit 120 from the application definition table. . Then, the application determination unit 130 determines the application 11 (file name) included in the extracted line as the application 11 to be installed in the relay device 10.
  • the file name of the application 11 is recorded, but other identification information (ID, application name, etc.) that can identify the application 11 to be installed may be recorded.
  • the application definition table is represented as a character string table for visibility, but may be represented in an arbitrary data format (file format), for example, binary data or text data.
  • the application definition table may be recorded in the application definition storage unit 31 as a database table, or may be recorded in the application definition storage unit 31 as a binary file or a text file.
  • the installation unit 140 is an installer that reads the application 11 determined by the application determination unit 130 from the application storage unit 32 and installs it in the relay apparatus 10.
  • the installation of the application 11 is to introduce the application 11 into the relay device 10 and make it executable. That is, the installation of the application 11 includes placing an execution file of the application 11 in the relay device 10 and setting the system for the relay device 10 to execute the application 11.
  • the application storage unit 32 is provided in the server 30, but may be provided in the relay device 10. However, when the application storage unit 32 is provided in the relay device 10, it is necessary to periodically distribute all the applications 11 from the server 30 to each relay device 10. It is desirable to provide the storage unit 32.
  • an execution file of the application 11 may be recorded, or a program (source code) of the application 11 may be recorded.
  • the installation unit 140 copies the execution file read from the application storage unit 32 to the relay device 10 to install it in the relay device 10.
  • the installation unit 140 installs the program read from the application storage unit 32 in the relay device 10 by compiling and making the program executable.
  • the specific processing by the relay apparatus 10 shown here is an example, and the application 11 to be installed in the relay apparatus 10 based on the identification information of the relay apparatus 10 and the identification information of the device 20 connected to the relay apparatus 10. Can be determined, the relay apparatus 10 may perform arbitrary processing.
  • FIG. 4 is a schematic configuration diagram illustrating an exemplary device configuration of the relay apparatus 10 according to the present embodiment.
  • the relay device 10 includes a CPU (Central Processing Unit) 10a, a memory 10b, a storage device 10c, and an interface 10d.
  • the relay device 10 may be an independent device, or may be configured integrally with other devices.
  • the interface 10d is a communication unit that transmits and receives data, and is configured to be able to execute at least one communication method of wired communication and wireless communication.
  • the interface 10d includes a processor, an electric circuit, an antenna, a connection terminal, and the like necessary for the communication method.
  • the interface 10d performs communication using the communication method in accordance with a signal from the CPU 10a.
  • the interface 10d includes the connection port 12 shown in FIG.
  • the storage device 10c stores a program executed by the relay device 10, data of a processing result by the program, and the like.
  • the storage device 10c includes a read-only ROM (Read Only Memory), a readable / writable hard disk drive, a flash memory, or the like.
  • the storage device 10c may include a computer-readable portable storage medium such as a CD-ROM.
  • the memory 10b includes a RAM (Random Access Memory) that temporarily stores data being processed by the CPU 10a, a program read from the storage device 10c, and data.
  • the CPU 10a temporarily records temporary data used for processing in the memory 10b, reads a program recorded in the storage device 10c, and performs various operations, control, discrimination, etc. on the temporary data according to the program. It is a processor which performs the processing operation of. Further, the CPU 10a records the processing result data in the storage device 10c, and transmits the processing result data to the outside via the interface 10d.
  • the CPU 10a executes the program recorded in the storage device 10c, whereby the device identification information acquisition unit 110, the relay device identification information acquisition unit 120, the application determination unit 130, the installation unit 140, and the application illustrated in FIG. 11 functions.
  • the storage device 10c functions as the system information storage unit 13 in FIG.
  • the relay device 10 is not limited to the specific configuration shown in FIG.
  • the relay device 10 is not limited to one device, and may be configured by connecting two or more physically separated devices in a wired or wireless manner.
  • Each unit included in the relay device 10 may be realized by an electric circuit configuration.
  • the electric circuit configuration is a term that conceptually includes a single device, a plurality of devices, a chipset, or a cloud.
  • At least a part of the relay device 10 may be provided in SaaS (Software as a Service) format. That is, at least a part of the functions for realizing the relay device 10 may be executed by software executed via the network.
  • SaaS Software as a Service
  • FIG. 5 is a diagram illustrating a flowchart of the setting method of the relay device 10 according to the present embodiment.
  • the flowchart of FIG. 5 is started when, for example, a new device 20 is connected to the relay apparatus 10 or when a user performs a predetermined operation on the relay apparatus 10.
  • the device identification information acquisition unit 110 acquires a device ID that is identification information of the device 20 connected to the relay apparatus 10 from the device 20 (step S101).
  • the relay device identification information acquisition unit 120 acquires the relay device ID that is the identification information of the relay device 10 from the system information storage unit 13 (step S102). Steps S101 and S102 may be performed in reverse order or in parallel. When a plurality of devices 20 are connected to the relay apparatus 10, the subsequent processing is performed for each device 20.
  • the application determination unit 130 displays the application 11 corresponding to the device ID acquired in step S101 and the relay device ID acquired in step S102 as the relay device 10. To be installed as the application 11 to be installed (step S103).
  • the application 11 determined here is identified by arbitrary identification information such as a file name of the application 11.
  • the installation unit 140 reads the application 11 determined in step S103 from the application storage unit 32 and installs it in the relay device 10 (step S104).
  • the CPU 10a of the relay device 10 becomes the main body of each step (process) included in the setting method shown in FIG. That is, the CPU 10a reads the program for executing the setting method shown in FIG. 5 from the memory 10b or the storage device 10c, executes the program, and controls each unit of the relay device 10 to control the setting method shown in FIG. Execute.
  • the relay apparatus 10 determines the application 11 to be installed to control the device 20 based on the combination of the identification information of the relay apparatus 10 and the identification information of the device 20. Therefore, the administrator registers the conditions for the combination of the relay device 10 and the device 20 in the application definition table in advance, so that when the device 20 is newly connected to the relay device 10, the corresponding application 11 is automatically To be installed. Therefore, it is not necessary for the administrator to select the application 11 according to the device 20 that is actually connected to the relay apparatus 10, and the burden of setting the relay apparatus 10 can be reduced.
  • the application determination unit 130 is provided in the relay device 10, whereas in the present embodiment, the application determination unit 130 is provided in the server 30.
  • Other configurations and processes are the same as those in the first embodiment.
  • FIG. 6 is a block diagram of a system including the relay device 10 according to the present embodiment.
  • the application determination unit 130 is provided in the server 30. Further, the server 30 includes an identification information receiving unit 33.
  • the other configuration is the same as that of FIG.
  • the identification information receiving unit 33 receives the device ID acquired by the device identification information acquisition unit 110 and the relay device ID acquired by the relay device identification information acquisition unit 120 from the relay device 10. Then, the application determination unit 130 is installed in the relay device 10 based on the application definition table recorded in advance in the application definition storage unit 31 based on the device ID and the relay device ID received by the identification information receiving unit 33. The application 11 to be determined is determined.
  • the installation unit 140 receives the identification information (for example, file name) of the application 11 determined by the application determination unit 130 from the server 30. Then, the installation unit 140 reads the application 11 from the application storage unit 32 based on the received identification information of the application 11 and installs it in the relay device 10.
  • identification information for example, file name
  • the application determination unit 130, the application definition storage unit 31, and the application storage unit 32 are provided in one server 30, but may be provided separately for a plurality of different servers 30.
  • the entity that determines an application is not limited to the relay device 10, but may be a server 30.
  • the first and second embodiments use the identification information of the relay device 10 and the identification information of the device 20 for determining the application 11, whereas the present embodiment further sets the setting information of the relay device 10 or the device 20. Use. With such a configuration, the application 11 installed in the relay device 10 can be switched by the user performing a predetermined setting for the relay device 10 or the device 20.
  • FIG. 7 is a block diagram of a system including the relay device 10 according to the present embodiment.
  • a setting information acquisition unit 150 is further provided in the control unit 100 of the relay apparatus 10.
  • the other configuration is the same as that of FIG.
  • the setting information acquisition unit 150 acquires setting information of at least one of the relay device 10 and the device 20.
  • the setting information is setting information of a physical switch (for example, a DIP switch) provided in at least one of the relay device 10 and the device 20.
  • the switch is set to at least one of two states (for example, “0” for OFF and “1” for ON), and the set information is acquired as a signal from at least one of the relay device 10 and the device 20.
  • a switch may take more than two states by combining ON and OFF.
  • the setting information is not limited to the physical switch setting, and any information that can be set in the relay device 10 or the device 20 by the user, such as setting data set in the storage device, may be used.
  • FIG. 8 is a schematic diagram of an application definition table recorded in advance in the application definition storage unit 31 according to this exemplary embodiment.
  • a device ID that is identification information of the device 20 a relay device ID that is identification information of the relay device 10, and a switch setting (0 or 1) that is setting information of the relay device 10 or the device 20 are stored.
  • a combination of the application 11 to be installed (specifically, a file name) and are recorded in advance as an application definition table.
  • the application determination unit 130 uses the device ID acquired by the device identification information acquisition unit 110, the relay device ID acquired by the relay device identification information acquisition unit 120, and the setting information acquisition unit 150 from the application definition table. Extract the row corresponding to the acquired setting information. Then, the application determination unit 130 determines the application 11 (file name) included in the extracted line as the application 11 to be installed in the relay device 10.
  • the application definition table is represented by a character string table for visibility, but may be represented by an arbitrary data format (file format), for example, binary data or text data.
  • the application definition table may be recorded in the application definition storage unit 31 as a database table, or may be recorded in the application definition storage unit 31 as a binary file or a text file.
  • the application determination unit 130 may be provided in the relay device 10 as in the first embodiment, or may be provided in the server 30 as in the second embodiment.
  • FIG. 9 is a diagram illustrating a flowchart of the setting method of the relay device 10 according to the present embodiment.
  • the flowchart of FIG. 9 shows, for example, that a new device 20 has been connected to the relay apparatus 10, or that a user has performed a predetermined operation on the relay apparatus 10, or the setting of the relay apparatus 10 or device 20 (here Now, it is started when the switch is changed.
  • Steps S201 to S202 are the same as steps S101 to S102 in FIG.
  • the setting information acquisition unit 150 acquires setting information of at least one of the relay device 10 and the device 20 (step S203).
  • the application determination unit 130 includes the device ID acquired in step S201, the relay device ID acquired in step S202, and the setting information acquired in step S203.
  • the corresponding application 11 is determined as the application 11 to be installed in the relay device 10 (step S204).
  • the application 11 determined here is identified by arbitrary identification information such as a file name of the application 11.
  • the installation unit 140 reads the application 11 determined in step S204 from the application storage unit 32 and installs it in the relay device 10 (step S205).
  • the CPU 10a of the relay device 10 becomes a main body of each step (process) included in the setting method shown in FIG. That is, the CPU 10a reads the program for executing the setting method shown in FIG. 9 from the memory 10b or the storage device 10c, executes the program, and controls each unit of the relay device 10 to control the setting method shown in FIG. Execute.
  • the present embodiment has the same effects as those of the first embodiment, and further, when the user performs a predetermined setting (for example, ON / OFF of the switch) for the relay device 10 or the device 20, the relay device 10 The application 11 to be installed can be switched. Therefore, flexible and diverse settings can be performed by the relay device 10.
  • a predetermined setting for example, ON / OFF of the switch
  • identification information of one device 20 connected to the relay apparatus 10 is used for determining the application 11, whereas in this embodiment, identification information of two or more devices 20 is used. Is used. With such a configuration, the application 11 corresponding to the combination of the plurality of devices 20 can be installed in the relay apparatus 10.
  • the application determination unit 130 determines the application 11 to be installed in the relay device 10 based on the identification information (device ID) of the plurality of devices 20. That is, when the application determination unit 130 determines the application 11 to be installed for one device 20 connected to the relay apparatus 10, an existing device in which the application 11 has already been installed in the relay apparatus 10 before that. Twenty identification information is also used.
  • FIG. 10 is a schematic diagram of an application definition table recorded in advance in the application definition storage unit 31 according to this exemplary embodiment.
  • the application definition storage unit 31 a combination of the first device ID and the second device ID, which are identification information of the device 20, and the relay device ID, which is identification information of the relay device 10, is associated and recorded in advance as an application definition table.
  • the device 20 that is determining the application 11 to be installed is referred to as a target device 20, and the device 20 in which the application 11 is already installed in the relay apparatus 10 is referred to as an existing device 20.
  • the first device ID is identification information of the target device 20.
  • the second device ID is identification information of the existing device 20.
  • one existing device 20 is used for one target device 20, but any number of one or more existing devices 20 may be used.
  • a column corresponding to the number of existing devices 20 (for example, a third device ID column, a fourth device ID column, etc.) may be provided in the application definition table.
  • the application determination unit 130 receives the first device ID of the target device 20, the second device ID of the existing device 20, and the relay device acquired by the relay device identification information acquisition unit 120 from the application definition table. A row corresponding to the ID is extracted. When there is no row corresponding to the combination of the first device ID and the second device ID, or when the existing device 20 is not connected, the second device ID is blank and the row corresponds only to the first device ID. To extract. Then, the application determination unit 130 determines the application 11 (file name) included in the extracted line as the application 11 to be installed in the relay device 10.
  • the application determining unit 130 determines the application 11 for one device 20 connected to the relay apparatus 10
  • the application 11 is already installed in the relay apparatus 10 for the existing device 20 having the same identification information. If not, it is decided not to newly install the application 11. This is because the devices 20 having the same identification information can be controlled by the already installed application 11.
  • the application definition table is represented as a character string table for visibility, but may be represented in any data format (file format), for example, binary data or text data.
  • the application definition table may be recorded in the application definition storage unit 31 as a database table, or may be recorded in the application definition storage unit 31 as a binary file or a text file.
  • the application determination unit 130 may be provided in the relay device 10 as in the first embodiment, or may be provided in the server 30 as in the second embodiment.
  • FIG. 11 is a diagram illustrating a flowchart of the setting method of the relay device 10 according to the present embodiment.
  • the flowchart of FIG. 11 is started, for example, when a new device 20 is connected to the relay apparatus 10 or when a user performs a predetermined operation on the relay apparatus 10.
  • the device identification information acquisition unit 110 acquires a device ID that is identification information of the device 20 connected to the relay apparatus 10 from the device 20 (step S301).
  • the relay device identification information acquisition unit 120 acquires the relay device ID that is the identification information of the relay device 10 from the system information storage unit 13 (step S302). Steps S301 and S302 may be performed in reverse order or in parallel.
  • the subsequent processing is performed for each device 20.
  • the device 20 that is determining the application 11 to be installed is referred to as a target device 20
  • the device 20 in which the application 11 is already installed in the relay apparatus 10 is referred to as an existing device 20.
  • the application determination unit 130 corresponds to the application 11 corresponding to the device ID (first device ID) of the target device 20 and the relay device ID acquired in step S302. Is determined as the application 11 to be installed in the relay device 10 (step S304).
  • the application determination unit 130 uses the application definition table recorded in the application definition storage unit 31 in advance.
  • the application 11 corresponding to the device ID of the target device 20 (first device ID), the device ID of the existing device 20 (second device ID), and the relay device ID acquired in step S302 is installed in the relay device 10. It is determined as a power application 11 (step S306).
  • step S305 When the target device 20 having the same device ID as that of the existing device 20 is connected (NO in step S305), the process is terminated without installing the application 11.
  • the installation unit 140 reads the application 11 determined in step S304 or S306 from the application storage unit 32 and installs it in the relay device 10 (step S307).
  • the CPU 10a of the relay device 10 becomes the main body of each step (process) included in the setting method shown in FIG. That is, the CPU 10a reads the program for executing the setting method shown in FIG. 11 from the memory 10b or the storage device 10c, executes the program, and controls each unit of the relay device 10 to control the setting method shown in FIG. Execute.
  • This embodiment has the same effects as those of the first embodiment, and can further install the application 11 corresponding to the combination of the plurality of devices 20 in the relay apparatus 10. Therefore, more complicated settings such as installation of the application 11 that controls a plurality of types of devices 20 can be performed. Further, when the devices 20 having the same identification information are connected, the application 11 is not newly installed, so resources such as communication capacity can be reduced.
  • FIG. 12 is a schematic configuration diagram of the relay device 10 according to each of the above-described embodiments.
  • FIG. 12 illustrates a configuration example for the relay apparatus 10 to function as an apparatus that determines the application 11 for controlling the device 20.
  • the relay apparatus 10 connected to the device is based on the acquisition units 110 and 120 that acquire the identification information of the relay apparatus and the identification information of the device, and the acquired identification information of the relay apparatus and the identification information of the device.
  • an installation unit 140 that installs the determined application for controlling the device.
  • a program for operating the configuration of the embodiment to realize the functions of the above-described embodiment (more specifically, a setting program for causing a computer to execute the processes shown in FIGS. 5, 9, and 11) is recorded on a recording medium.
  • a processing method of reading a program recorded on the recording medium as a code and executing it on a computer is also included in the category of each embodiment. That is, a computer-readable recording medium is also included in the scope of each embodiment.
  • the program itself is included in each embodiment.
  • the recording medium for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, and a ROM can be used.
  • the embodiment is not limited to the processing executed by a single program recorded in the recording medium, and the embodiments that execute processing by operating on the OS in cooperation with other software and the function of the expansion board are also described in each embodiment. Included in the category.
  • a relay device connected to the device, An acquisition unit for acquiring identification information of the relay device and identification information of the device; An installation unit that installs an application that controls the device, determined based on the acquired identification information of the relay device and the identification information of the device;
  • a relay device comprising:
  • the installation unit corresponds to the acquired identification information of the relay device and the identification information of the device, which is determined based on the stored identification information of the relay device, the identification information of the device, and the table associating the application.
  • the acquisition unit acquires setting information of at least one of the device and the relay device, The relay apparatus according to appendix 1 or 2, wherein the installation unit installs the application determined based on the acquired identification information of the relay apparatus, the identification information of the device, and the setting information.
  • the acquisition unit acquires identification information of the relay device and identification information of the plurality of devices
  • the installation unit is configured to install the application determined based on the acquired identification information of the relay device and the identification information of the plurality of devices.
  • Relay device The acquisition unit acquires identification information of the relay device and identification information of the plurality of devices.
  • a server that communicates with a relay device connected to a device, A receiving unit that receives the identification information of the relay device and the identification information of the device; A determination unit that determines an application that controls the device to be installed in the relay device based on the received identification information of the relay device and the identification information of the device; A server comprising
  • Appendix 9 A method for setting a relay device connected to a device, Obtaining identification information of the relay device and identification information of the device; Installing an application for controlling the device, determined based on the acquired identification information of the relay device and the identification information of the device; The setting method which has.
  • a recording medium recording a program for setting a relay device connected to a device, On the computer, Obtaining identification information of the relay device and identification information of the device; Installing an application for controlling the device, determined based on the acquired identification information of the relay device and the identification information of the device; A recording medium on which a program for executing is recorded.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The relay apparatus according to one embodiment of the present invention is provided with: an acquisition unit, which is connected to a device, and which acquires identification information of the relay apparatus, and identification information of the device; and an installation unit that installs an application for controlling the device, said application having been determined on the basis of the acquired identification information of the relay apparatus, and the acquired identification information of the device.

Description

中継装置、サーバ、中継装置の設定方法及び記録媒体Relay device, server, relay device setting method, and recording medium
 本発明は、中継装置、サーバ及び該中継装置を設定するための設定方法及び記録媒体に関する。 The present invention relates to a relay device, a server, a setting method for setting the relay device, and a recording medium.
 近年、IoT(Internet of Things)が注目されている。IoTでは、センサ、アクチュエータ等の様々なデバイスをインターネット等のネットワークに接続し、デバイスから取得されるデータの監視及び分析やデバイスの動作の制御をネットワーク経由で行うことができる。 In recent years, IoT (Internet of Things) has attracted attention. In IoT, various devices such as sensors and actuators are connected to a network such as the Internet, and data acquired from the device can be monitored and analyzed, and the operation of the device can be controlled via the network.
 デバイスは、該デバイスが接続されるゲートウェイ等の中継装置上で実行されるアプリケーション(ソフトウェア)によって制御されることが多い。デバイスを制御するアプリケーションはデバイスの種類ごとに異なるため、中継装置には接続されるデバイスに応じて適切なアプリケーションがインストールされる必要がある。 A device is often controlled by an application (software) executed on a relay device such as a gateway to which the device is connected. Since the application for controlling the device varies depending on the type of device, an appropriate application needs to be installed in the relay apparatus according to the connected device.
 特許文献1には、サーバが端末ごとにインストールすべきアプリケーションをインストールするための実行モジュールを生成し、端末が実行モジュールをサーバから受信して実行することによってアプリケーションのインストールを含む設定を行う技術が記載されている。 Japanese Patent Application Laid-Open No. 2004-151867 discloses a technique in which a server generates an execution module for installing an application to be installed for each terminal, and the terminal receives and executes the execution module from the server to perform settings including application installation. Are listed.
国際公開第2015/136643号International Publication No. 2015/136643
 しかしながら、特許文献1に記載の技術では、管理者は接続されるデバイスに応じて端末ごとにインストールすべきアプリケーションを手動で設定する必要がある。そのため、端末に接続されるデバイスが変わる場合には、その度にデバイスに応じたアプリケーションを設定して改めてキッティングを行う必要があり、管理者の負担が大きい。 However, in the technique described in Patent Document 1, an administrator needs to manually set an application to be installed for each terminal according to a connected device. Therefore, when the device connected to the terminal changes, it is necessary to set an application corresponding to the device each time and perform kitting again, which places a heavy burden on the administrator.
 本発明は、上述の問題に鑑みて行われたものであって、デバイスの接続に必要な設定の負担を軽減できる中継装置、サーバ、中継装置の設定方法及び設定プログラムの記録媒体を提供することを目的とする。 The present invention has been made in view of the above-described problems, and provides a relay device, a server, a relay device setting method, and a setting program recording medium that can reduce the setting burden required for device connection. With the goal.
 本発明の第1の態様は、デバイスに接続される中継装置であって、前記中継装置の識別情報及び前記デバイスの識別情報を取得する取得部と、取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするインストール部と、を備える。 A first aspect of the present invention is a relay device connected to a device, the acquisition unit acquiring the identification information of the relay device and the identification information of the device, the acquired identification information of the relay device, and the An installation unit that installs an application that controls the device, which is determined based on the identification information of the device.
 本発明の第2の態様は、デバイスに接続される中継装置と通信するサーバであって、前記中継装置の識別情報及び前記デバイスの識別情報を受信する受信部と、受信された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて、前記中継装置にインストールすべき前記デバイスを制御するアプリケーションを決定する決定部と、を備える。 A second aspect of the present invention is a server that communicates with a relay device connected to a device, the receiving unit receiving the relay device identification information and the device identification information, and the received relay device And a determination unit that determines an application that controls the device to be installed in the relay apparatus based on the identification information and the device identification information.
 本発明の第3の態様は、デバイスに接続される中継装置の設定方法であって、前記中継装置の識別情報及び前記デバイスの識別情報を取得するステップと、取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするステップと、を有する。 A third aspect of the present invention is a method for setting a relay device connected to a device, the step of acquiring the identification information of the relay device and the identification information of the device, and the acquired identification information of the relay device And installing an application for controlling the device determined based on the identification information of the device.
 本発明の第4の態様は、デバイスに接続される中継装置を設定するプログラムが記録された記録媒体であって、コンピュータに、前記中継装置の識別情報及び前記デバイスの識別情報を取得するステップと、取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするステップと、を実行させる。 According to a fourth aspect of the present invention, there is provided a recording medium on which a program for setting a relay device connected to a device is recorded, the computer acquiring the relay device identification information and the device identification information; And installing an application for controlling the device, which is determined based on the acquired identification information of the relay device and the identification information of the device.
 本発明によれば、中継装置の識別情報及びデバイスの識別情報の組み合わせに基づいてインストールすべきアプリケーションを決定するため、中継装置に接続されたデバイスに応じて自動的に設定を行うことができ、中継装置の設定の負担を低減することができる。 According to the present invention, since the application to be installed is determined based on the combination of the identification information of the relay device and the identification information of the device, it can be automatically set according to the device connected to the relay device, The burden of setting the relay device can be reduced.
第1の実施形態に係る中継装置の設定方法の模式図である。It is a schematic diagram of the setting method of the relay apparatus which concerns on 1st Embodiment. 第1の実施形態に係る中継装置を含むシステムのブロック図である。1 is a block diagram of a system including a relay device according to a first embodiment. 第1の実施形態に係るアプリケーション定義記憶部に記録されているアプリケーション定義テーブルの模式図である。It is a schematic diagram of an application definition table recorded in an application definition storage unit according to the first embodiment. 第1の実施形態に係る中継装置の機器構成を示す概略構成図である。It is a schematic block diagram which shows the apparatus structure of the relay apparatus which concerns on 1st Embodiment. 第1の実施形態に係る中継装置の設定方法のフローチャートを示す図である。It is a figure which shows the flowchart of the setting method of the relay apparatus which concerns on 1st Embodiment. 第2の実施形態に係る中継装置を含むシステムのブロック図である。It is a block diagram of the system containing the relay apparatus which concerns on 2nd Embodiment. 第3の実施形態に係る中継装置を含むシステムのブロック図である。It is a block diagram of a system including a relay device according to a third embodiment. 第3の実施形態に係るアプリケーション定義記憶部に記録されているアプリケーション定義テーブルの模式図である。It is a schematic diagram of the application definition table recorded on the application definition memory | storage part which concerns on 3rd Embodiment. 第3の実施形態に係る中継装置の設定方法のフローチャートを示す図である。It is a figure which shows the flowchart of the setting method of the relay apparatus which concerns on 3rd Embodiment. 第4の実施形態に係るアプリケーション定義記憶部に記録されているアプリケーション定義テーブルの模式図である。It is a schematic diagram of the application definition table recorded on the application definition memory | storage part which concerns on 4th Embodiment. 第4の実施形態に係る中継装置の設定方法のフローチャートを示す図である。It is a figure which shows the flowchart of the setting method of the relay apparatus which concerns on 4th Embodiment. 各実施形態に係る中継装置の概略構成図である。It is a schematic block diagram of the relay apparatus concerning each embodiment.
 以下、図面を参照して、本発明の実施形態を説明するが、本発明は本実施形態に限定されるものではない。なお、以下で説明する図面で、同機能を有するものは同一符号を付け、その繰り返しの説明は省略することもある。 Hereinafter, embodiments of the present invention will be described with reference to the drawings, but the present invention is not limited to the embodiments. In the drawings described below, components having the same function are denoted by the same reference numerals, and repeated description thereof may be omitted.
(第1の実施形態)
 図1は、本実施形態に係る中継装置10の設定方法の模式図である。中継装置10は、ゲートウェイとも呼ばれ、デバイス20とサーバ30との間の信号の受け渡しを中継する通信装置である。サーバ30は、中継装置10にネットワークを介して接続される機器である。サーバ30は、例えば単一のコンピュータ、又はコンピュータ資源の集合であるクラウドである。
(First embodiment)
FIG. 1 is a schematic diagram of a setting method of the relay device 10 according to the present embodiment. The relay device 10 is also referred to as a gateway, and is a communication device that relays signal transfer between the device 20 and the server 30. The server 30 is a device connected to the relay apparatus 10 via a network. The server 30 is, for example, a single computer or a cloud that is a collection of computer resources.
 デバイス20は、サーバ30に所定の信号を送信し、あるいはサーバ30からの信号を受けて所定の動作を行う機器である。例えばデバイス20は温度、圧力、音等を測定するセンサであり、この場合にはデバイス20は測定結果を示す信号をサーバ30に送信する。例えばデバイス20は所定の動作を行うアクチュエータであり、この場合にはデバイス20はサーバ30から受信した制御内容を示す信号に従って動作する。デバイス20は、中継装置10上で動作するアプリケーション11によって制御される。 The device 20 is a device that transmits a predetermined signal to the server 30 or receives a signal from the server 30 to perform a predetermined operation. For example, the device 20 is a sensor that measures temperature, pressure, sound, and the like. In this case, the device 20 transmits a signal indicating the measurement result to the server 30. For example, the device 20 is an actuator that performs a predetermined operation. In this case, the device 20 operates according to a signal indicating the control content received from the server 30. The device 20 is controlled by the application 11 operating on the relay apparatus 10.
 中継装置10には、物理的な接続部である1つ以上の接続ポート12が設けられ、接続ポート12にはデバイス20が接続され得る。接続ポート12は、ケーブル、コネクタ等の接続部材を介してデバイス20を物理的に接続するためのインターフェースである。接続ポート12として、例えばRS-232C規格、RS-422規格、RS-485規格等のシリアルポート(COMポート)、IEEE1284規格のパラレルポート、USB(Universal Serial Bus)ポート、その他任意の物理インターフェースを用いてよい。 The relay apparatus 10 is provided with one or more connection ports 12 that are physical connection units, and the device 20 can be connected to the connection port 12. The connection port 12 is an interface for physically connecting the device 20 via a connection member such as a cable or a connector. As the connection port 12, for example, a serial port (COM port) such as RS-232C standard, RS-422 standard, RS-485 standard, an IEEE 1284 standard parallel port, a USB (Universal Serial Bus) port, or any other physical interface is used. It's okay.
 アプリケーション11は、デバイス20を制御し、サーバ30への通信を可能にするソフトウェアである。中継装置10とサーバ30との間の通信は、例えばTCP/IP等の一般的なプロトコルに従う。一方、デバイス20は、その種類や製造者ごとに異なる通信プロトコルに従って通信を行う。デバイス20が従う通信プロトコルとしては、例えばTCP/IP等の一般的なプロトコル、あるいはデバイス20の種類や製造者によって異なる独自のプロトコルがある。アプリケーション11は、デバイス20とサーバ30との間で送受信される信号を、デバイス20及びサーバ30が従う通信プロトコルに応じて変換する。そのため、中継装置10は、接続されるデバイス20によって異なるアプリケーション11をインストールして実行する必要がある。 The application 11 is software that controls the device 20 and enables communication with the server 30. Communication between the relay apparatus 10 and the server 30 follows a general protocol such as TCP / IP. On the other hand, the device 20 performs communication according to a different communication protocol for each type and manufacturer. As a communication protocol that the device 20 follows, for example, there is a general protocol such as TCP / IP, or a unique protocol that varies depending on the type and manufacturer of the device 20. The application 11 converts a signal transmitted and received between the device 20 and the server 30 according to a communication protocol that the device 20 and the server 30 follow. Therefore, the relay apparatus 10 needs to install and execute an application 11 that differs depending on the device 20 to be connected.
 制御部100は、中継装置10に接続されているデバイス20に対応するアプリケーション11をインストールし、中継装置10内で実行する制御を行う。該制御において、制御部100は、接続されているデバイス20の識別情報と中継装置10の識別情報との組み合わせに基づいて、インストールすべきアプリケーション11を決定する。本実施形態においてインストールされるアプリケーション11のデータはサーバ30から受信されるが、中継装置10内の記録部から読み出されてもよい。制御部100の詳細な構成については図2を用いて説明する。 The control unit 100 installs the application 11 corresponding to the device 20 connected to the relay device 10 and performs control to be executed in the relay device 10. In the control, the control unit 100 determines the application 11 to be installed based on the combination of the identification information of the connected device 20 and the identification information of the relay device 10. The data of the application 11 installed in the present embodiment is received from the server 30, but may be read from a recording unit in the relay device 10. A detailed configuration of the control unit 100 will be described with reference to FIG.
 図2は、本実施形態に係る中継装置10を含むシステムのブロック図である。図2において、矢印は主なデータの流れを示しており、図2に示したもの以外のデータの流れがあってよい。図2において、各ブロックはハードウェア(装置)単位の構成ではなく、機能単位の構成を示している。そのため、図2に示すブロックは単一の装置内に実装されてよく、あるいは複数の装置内に別れて実装されてよい。ブロック間のデータの授受は、データバス、ネットワーク、可搬記憶媒体等、任意の手段を介して行われてよい。 FIG. 2 is a block diagram of a system including the relay device 10 according to the present embodiment. In FIG. 2, arrows indicate main data flows, and there may be data flows other than those shown in FIG. In FIG. 2, each block represents a functional unit configuration, not a hardware (device) unit configuration. Therefore, the blocks shown in FIG. 2 may be implemented in a single device, or may be separately implemented in a plurality of devices. Data exchange between the blocks may be performed via any means such as a data bus, a network, a portable storage medium, or the like.
 中継装置10は、処理部である制御部100、及び記憶部であるシステム情報記憶部13を備える。制御部100は、デバイス識別情報取得部110、中継装置識別情報取得部120、アプリケーション決定部130及びインストール部140を含む。また、中継装置10は、デバイス20とサーバ30との間の通信を制御するアプリケーション11を実行する。また、サーバ30は、記憶部であるアプリケーション定義記憶部31及びアプリケーション記憶部32を備える。 The relay apparatus 10 includes a control unit 100 that is a processing unit and a system information storage unit 13 that is a storage unit. The control unit 100 includes a device identification information acquisition unit 110, a relay device identification information acquisition unit 120, an application determination unit 130, and an installation unit 140. In addition, the relay device 10 executes an application 11 that controls communication between the device 20 and the server 30. The server 30 includes an application definition storage unit 31 and an application storage unit 32 that are storage units.
 デバイス識別情報取得部110は、中継装置10に接続されているデバイス20の識別情報であるデバイスIDをデバイス20から取得する。中継装置10に複数のデバイス20が接続されている場合には、それぞれのデバイス20について以降の処理を行う。デバイスIDは、デバイス20から取得可能な値であり、デバイス20を識別可能な文字列、数値、バイナリ値等、任意の表現方法で定義される。デバイス20がUSB接続の機器である場合に、デバイスIDとして例えばベンダ(製造者)ID、プロダクトID、又はそれらの組み合わせを用いることができる。 The device identification information acquisition unit 110 acquires from the device 20 a device ID that is identification information of the device 20 connected to the relay apparatus 10. When a plurality of devices 20 are connected to the relay apparatus 10, the subsequent processing is performed for each device 20. The device ID is a value that can be acquired from the device 20, and is defined by an arbitrary expression method such as a character string, a numerical value, or a binary value that can identify the device 20. When the device 20 is a USB connection device, for example, a vendor (manufacturer) ID, a product ID, or a combination thereof can be used as the device ID.
 本実施形態では、同じ通信プロトコルに従う複数のデバイス20(例えば同じ種類及び製造者のデバイス20)には、同じ識別情報が割り振られる。このような構成により、同じ識別情報を有する複数のデバイス20は、同じアプリケーション11によって制御されるため、後述のアプリケーション定義テーブルにおける管理が簡便である。別の方法として、デバイス20の個体ごとに固有の識別情報が割り振られてもよい。 In the present embodiment, the same identification information is allocated to a plurality of devices 20 (for example, devices 20 of the same type and manufacturer) that follow the same communication protocol. With such a configuration, a plurality of devices 20 having the same identification information are controlled by the same application 11, and thus management in an application definition table described later is simple. As another method, unique identification information may be assigned to each individual device 20.
 中継装置識別情報取得部120は、中継装置10の識別情報である中継装置IDをシステム情報記憶部13から取得する。中継装置IDは、中継装置10のシステム(より具体的にはオペレーティングシステム)から取得可能な値であり、中継装置10を識別可能な文字列、数値、バイナリ値等、任意の表現方法で定義される。中継装置IDとして、例えば中継装置10のBIOSに記録されたシリアル番号を用いることができる。 The relay device identification information acquisition unit 120 acquires the relay device ID that is the identification information of the relay device 10 from the system information storage unit 13. The relay device ID is a value that can be acquired from the system (more specifically, the operating system) of the relay device 10 and is defined by an arbitrary expression method such as a character string, a numerical value, or a binary value that can identify the relay device 10. The As the relay device ID, for example, a serial number recorded in the BIOS of the relay device 10 can be used.
 本実施形態では、中継装置10の個体ごとに、固有の識別情報が割り振られる。このような構成により、中継装置10の個体ごとに異なる設定を適用することができ、利用者の求めに応じて中継装置10の設定をカスタマイズすることができる。換言すると、同じ種類の中継装置10に同じ種類のデバイス20が接続される場合であっても、中継装置10の設置先や所有者によって異なるアプリケーション11を配信することができるため、より細やかな設定を行うことができる。別の方法として、複数の中継装置10に、同じ識別情報が割り振られてもよい。 In this embodiment, unique identification information is assigned to each individual relay device 10. With such a configuration, different settings can be applied to each individual relay device 10, and the settings of the relay device 10 can be customized according to the user's request. In other words, even when the same type of device 20 is connected to the same type of relay device 10, different applications 11 can be distributed depending on the installation destination and owner of the relay device 10. It can be performed. As another method, the same identification information may be allocated to a plurality of relay apparatuses 10.
 アプリケーション決定部130は、アプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルに基づいて、デバイス識別情報取得部110により取得されるデバイスID及び中継装置識別情報取得部120により取得される中継装置IDに対応するアプリケーション11を決定する。本実施形態ではアプリケーション定義記憶部31はサーバ30内に設けられるが、中継装置10内に設けられてもよい。ただし、中継装置10にアプリケーション定義記憶部31を設ける場合にはサーバ30から各中継装置10に定期的にアプリケーション定義テーブルを配信する必要があるため、通信量を低減するためにはサーバ30にアプリケーション定義記憶部31を設けることが望ましい。 The application determination unit 130 is based on an application definition table recorded in advance in the application definition storage unit 31. The device ID acquired by the device identification information acquisition unit 110 and the relay device acquired by the relay device identification information acquisition unit 120. The application 11 corresponding to the ID is determined. In this embodiment, the application definition storage unit 31 is provided in the server 30, but may be provided in the relay device 10. However, when the application definition storage unit 31 is provided in the relay device 10, it is necessary to periodically distribute the application definition table from the server 30 to each relay device 10. It is desirable to provide a definition storage unit 31.
 図3は、例示的な本実施形態に係るアプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルの模式図である。アプリケーション定義記憶部31には、デバイス20の識別情報であるデバイスIDと、中継装置10の識別情報である中継装置IDと、インストール対象のアプリケーション11(具体的にはファイル名)との組み合わせを関連付けて、アプリケーション定義テーブルとして予め記録されている。具体的には、アプリケーション決定部130は、アプリケーション定義テーブルから、デバイス識別情報取得部110により取得されるデバイスID及び中継装置識別情報取得部120により取得される中継装置IDに対応する行を抽出する。そして、アプリケーション決定部130は、抽出された行に含まれるアプリケーション11(ファイル名)を、中継装置10にインストールすべきアプリケーション11として決定する。 FIG. 3 is a schematic diagram of an application definition table recorded in advance in the application definition storage unit 31 according to this exemplary embodiment. The application definition storage unit 31 associates a combination of the device ID that is the identification information of the device 20, the relay device ID that is the identification information of the relay device 10, and the application 11 to be installed (specifically, the file name). And recorded in advance as an application definition table. Specifically, the application determination unit 130 extracts a row corresponding to the device ID acquired by the device identification information acquisition unit 110 and the relay device ID acquired by the relay device identification information acquisition unit 120 from the application definition table. . Then, the application determination unit 130 determines the application 11 (file name) included in the extracted line as the application 11 to be installed in the relay device 10.
 図3のアプリケーション定義テーブルにはアプリケーション11のファイル名が記録されているが、インストール対象のアプリケーション11を識別することが可能なその他の識別情報(ID、アプリケーション名等)が記録されてもよい。 3, the file name of the application 11 is recorded, but other identification information (ID, application name, etc.) that can identify the application 11 to be installed may be recorded.
 図3において、アプリケーション定義テーブルは視認性のために文字列の表で表されているが、任意のデータ形式(ファイル形式)で表されてよく、例えばバイナリデータ又はテキストデータでよい。また、アプリケーション定義テーブルはデータベースのテーブルとしてアプリケーション定義記憶部31に記録されてよく、あるいはバイナリファイル又はテキストファイルとしてアプリケーション定義記憶部31に記録されてよい。 In FIG. 3, the application definition table is represented as a character string table for visibility, but may be represented in an arbitrary data format (file format), for example, binary data or text data. The application definition table may be recorded in the application definition storage unit 31 as a database table, or may be recorded in the application definition storage unit 31 as a binary file or a text file.
 インストール部140は、アプリケーション決定部130によって決定されたアプリケーション11を、アプリケーション記憶部32から読み出して中継装置10にインストールするインストーラーである。アプリケーション11のインストールとは、アプリケーション11を中継装置10内に導入して実行可能な状態にすることである。すなわちアプリケーション11のインストールは、アプリケーション11の実行ファイルを中継装置10内に配置すること、及び中継装置10のシステムにアプリケーション11を実行するための設定を行うことを含む。本実施形態ではアプリケーション記憶部32はサーバ30内に設けられるが、中継装置10内に設けられてもよい。ただし、中継装置10にアプリケーション記憶部32を設ける場合にはサーバ30から各中継装置10に定期的に全てのアプリケーション11を配信する必要があるため、通信量を低減するためにはサーバ30にアプリケーション記憶部32を設けることが望ましい。 The installation unit 140 is an installer that reads the application 11 determined by the application determination unit 130 from the application storage unit 32 and installs it in the relay apparatus 10. The installation of the application 11 is to introduce the application 11 into the relay device 10 and make it executable. That is, the installation of the application 11 includes placing an execution file of the application 11 in the relay device 10 and setting the system for the relay device 10 to execute the application 11. In the present embodiment, the application storage unit 32 is provided in the server 30, but may be provided in the relay device 10. However, when the application storage unit 32 is provided in the relay device 10, it is necessary to periodically distribute all the applications 11 from the server 30 to each relay device 10. It is desirable to provide the storage unit 32.
 アプリケーション記憶部32にはアプリケーション11の実行ファイルが記録されてもよく、あるいはアプリケーション11のプログラム(ソースコード)が記録されてもよい。アプリケーション11の実行ファイルが記録される場合には、インストール部140はアプリケーション記憶部32から読み出した実行ファイルを中継装置10に複写することによって、中継装置10にインストールする。アプリケーション11のプログラムが記録される場合には、インストール部140はアプリケーション記憶部32から読み出したプログラムをコンパイルして実行可能な状態にすることによって、中継装置10にインストールする。 In the application storage unit 32, an execution file of the application 11 may be recorded, or a program (source code) of the application 11 may be recorded. When the execution file of the application 11 is recorded, the installation unit 140 copies the execution file read from the application storage unit 32 to the relay device 10 to install it in the relay device 10. When the program of the application 11 is recorded, the installation unit 140 installs the program read from the application storage unit 32 in the relay device 10 by compiling and making the program executable.
 ここで示した中継装置10による具体的な処理は一例であり、中継装置10の識別情報及び中継装置10に接続されているデバイス20の識別情報に基づいて、中継装置10にインストールすべきアプリケーション11を決定できれば、中継装置10は任意の処理を行ってよい。 The specific processing by the relay apparatus 10 shown here is an example, and the application 11 to be installed in the relay apparatus 10 based on the identification information of the relay apparatus 10 and the identification information of the device 20 connected to the relay apparatus 10. Can be determined, the relay apparatus 10 may perform arbitrary processing.
 図4は、本実施形態に係る中継装置10の例示的な機器構成を示す概略構成図である。中継装置10は、CPU(Central Processing Unit)10aと、メモリ10bと、記憶装置10cと、インターフェース10dとを備える。中継装置10は独立した装置でよく、あるいは他の装置と一体に構成されてよい。 FIG. 4 is a schematic configuration diagram illustrating an exemplary device configuration of the relay apparatus 10 according to the present embodiment. The relay device 10 includes a CPU (Central Processing Unit) 10a, a memory 10b, a storage device 10c, and an interface 10d. The relay device 10 may be an independent device, or may be configured integrally with other devices.
 インターフェース10dは、データの送受信を行う通信部であり、有線通信及び無線通信の少なくとも一方の通信方式を実行可能に構成される。インターフェース10dは、該通信方式に必要なプロセッサ、電気回路、アンテナ、接続端子等を含む。インターフェース10dは、CPU10aからの信号に従って、該通信方式を用いて通信を行う。インターフェース10dは、図1に示す接続ポート12を含む。 The interface 10d is a communication unit that transmits and receives data, and is configured to be able to execute at least one communication method of wired communication and wireless communication. The interface 10d includes a processor, an electric circuit, an antenna, a connection terminal, and the like necessary for the communication method. The interface 10d performs communication using the communication method in accordance with a signal from the CPU 10a. The interface 10d includes the connection port 12 shown in FIG.
 記憶装置10cは、中継装置10が実行するプログラムや、プログラムによる処理結果のデータ等を記憶する。記憶装置10cは、読み取り専用のROM(Read Only Memory)や、読み書き可能のハードディスクドライブ又はフラッシュメモリ等を含む。また、記憶装置10cは、CD-ROM等のコンピュータ読取可能な可搬記憶媒体を含んでもよい。メモリ10bは、CPU10aが処理中のデータや記憶装置10cから読み出されたプログラム及びデータを一時的に記憶するRAM(Random Access Memory)等を含む。 The storage device 10c stores a program executed by the relay device 10, data of a processing result by the program, and the like. The storage device 10c includes a read-only ROM (Read Only Memory), a readable / writable hard disk drive, a flash memory, or the like. The storage device 10c may include a computer-readable portable storage medium such as a CD-ROM. The memory 10b includes a RAM (Random Access Memory) that temporarily stores data being processed by the CPU 10a, a program read from the storage device 10c, and data.
 CPU10aは、処理に用いる一時的なデータをメモリ10bに一時的に記録し、記憶装置10cに記録されたプログラムを読み出し、該プログラムに従って該一時的なデータに対して種々の演算、制御、判別などの処理動作を実行するプロセッサである。また、CPU10aは、記憶装置10cに処理結果のデータを記録し、またインターフェース10dを介して処理結果のデータを外部に送信する。 The CPU 10a temporarily records temporary data used for processing in the memory 10b, reads a program recorded in the storage device 10c, and performs various operations, control, discrimination, etc. on the temporary data according to the program. It is a processor which performs the processing operation of. Further, the CPU 10a records the processing result data in the storage device 10c, and transmits the processing result data to the outside via the interface 10d.
 本実施形態においてCPU10aは、記憶装置10cに記録されたプログラムを実行することによって、図2のデバイス識別情報取得部110、中継装置識別情報取得部120、アプリケーション決定部130及びインストール部140、及びアプリケーション11として機能する。また、本実施形態において記憶装置10cは、図2のシステム情報記憶部13として機能する。 In the present embodiment, the CPU 10a executes the program recorded in the storage device 10c, whereby the device identification information acquisition unit 110, the relay device identification information acquisition unit 120, the application determination unit 130, the installation unit 140, and the application illustrated in FIG. 11 functions. In the present embodiment, the storage device 10c functions as the system information storage unit 13 in FIG.
 中継装置10は、図4に示す具体的な構成に限定されない。中継装置10は、1つの装置に限られず、2つ以上の物理的に分離した装置が有線又は無線で接続されることにより構成されていてもよい。中継装置10に含まれる各部は、それぞれ電気回路構成により実現されていてもよい。ここで、電気回路構成とは、単一のデバイス、複数のデバイス、チップセット又はクラウドを概念的に含む文言である。 The relay device 10 is not limited to the specific configuration shown in FIG. The relay device 10 is not limited to one device, and may be configured by connecting two or more physically separated devices in a wired or wireless manner. Each unit included in the relay device 10 may be realized by an electric circuit configuration. Here, the electric circuit configuration is a term that conceptually includes a single device, a plurality of devices, a chipset, or a cloud.
 また、中継装置10の少なくとも一部がSaaS(Software as a Service)形式で提供されてよい。すなわち、中継装置10を実現するための機能の少なくとも一部が、ネットワーク経由で実行されるソフトウェアによって実行されてよい。 Further, at least a part of the relay device 10 may be provided in SaaS (Software as a Service) format. That is, at least a part of the functions for realizing the relay device 10 may be executed by software executed via the network.
 図5は、本実施形態に係る中継装置10の設定方法のフローチャートを示す図である。図5のフローチャートは、例えば中継装置10に新たなデバイス20が接続されたこと、あるいは利用者が中継装置10に対して所定の操作を行ったことに応じて開始される。 FIG. 5 is a diagram illustrating a flowchart of the setting method of the relay device 10 according to the present embodiment. The flowchart of FIG. 5 is started when, for example, a new device 20 is connected to the relay apparatus 10 or when a user performs a predetermined operation on the relay apparatus 10.
 まず、デバイス識別情報取得部110は、中継装置10に接続されているデバイス20の識別情報であるデバイスIDをデバイス20から取得する(ステップS101)。次に、中継装置識別情報取得部120は、中継装置10の識別情報である中継装置IDをシステム情報記憶部13から取得する(ステップS102)。ステップS101及びS102は逆の順番で行われてもよく、あるいは並行して行われてもよい。中継装置10に複数のデバイス20が接続されている場合には、それぞれのデバイス20について以降の処理を行う。 First, the device identification information acquisition unit 110 acquires a device ID that is identification information of the device 20 connected to the relay apparatus 10 from the device 20 (step S101). Next, the relay device identification information acquisition unit 120 acquires the relay device ID that is the identification information of the relay device 10 from the system information storage unit 13 (step S102). Steps S101 and S102 may be performed in reverse order or in parallel. When a plurality of devices 20 are connected to the relay apparatus 10, the subsequent processing is performed for each device 20.
 アプリケーション決定部130は、アプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルにおいて、ステップS101で取得されたデバイスID及びステップS102で取得された中継装置IDに対応するアプリケーション11を、中継装置10にインストールすべきアプリケーション11として決定する(ステップS103)。ここで決定されるアプリケーション11は、アプリケーション11のファイル名等の任意の識別情報によって識別される。 In the application definition table recorded in advance in the application definition storage unit 31, the application determination unit 130 displays the application 11 corresponding to the device ID acquired in step S101 and the relay device ID acquired in step S102 as the relay device 10. To be installed as the application 11 to be installed (step S103). The application 11 determined here is identified by arbitrary identification information such as a file name of the application 11.
 最後に、インストール部140は、ステップS103で決定されたアプリケーション11を、アプリケーション記憶部32から読み出して中継装置10にインストールする(ステップS104)。 Finally, the installation unit 140 reads the application 11 determined in step S103 from the application storage unit 32 and installs it in the relay device 10 (step S104).
 中継装置10のCPU10aは、図5に示す設定方法に含まれる各ステップ(工程)の主体となる。すなわち、CPU10aは、図5に示す設定方法を実行するためのプログラムをメモリ10b又は記憶装置10cから読み出し、該プログラムを実行して中継装置10の各部を制御することによって図5に示す設定方法を実行する。 The CPU 10a of the relay device 10 becomes the main body of each step (process) included in the setting method shown in FIG. That is, the CPU 10a reads the program for executing the setting method shown in FIG. 5 from the memory 10b or the storage device 10c, executes the program, and controls each unit of the relay device 10 to control the setting method shown in FIG. Execute.
 本実施形態に係る中継装置10は、中継装置10の識別情報及びデバイス20の識別情報の組み合わせに基づいて、デバイス20を制御するためにインストールすべきアプリケーション11を決定する。したがって、管理者は予め中継装置10及びデバイス20の組み合わせの条件をアプリケーション定義テーブルに登録しておくことによって、中継装置10に新たにデバイス20が接続される際に、対応するアプリケーション11が自動的にインストールされる。そのため、管理者は中継装置10に実際に接続されるデバイス20に応じていちいちアプリケーション11を取捨選択する必要がなく、中継装置10を設定する負担を低減することができる。 The relay apparatus 10 according to the present embodiment determines the application 11 to be installed to control the device 20 based on the combination of the identification information of the relay apparatus 10 and the identification information of the device 20. Therefore, the administrator registers the conditions for the combination of the relay device 10 and the device 20 in the application definition table in advance, so that when the device 20 is newly connected to the relay device 10, the corresponding application 11 is automatically To be installed. Therefore, it is not necessary for the administrator to select the application 11 according to the device 20 that is actually connected to the relay apparatus 10, and the burden of setting the relay apparatus 10 can be reduced.
(第2の実施形態)
 第1の実施形態ではアプリケーション決定部130は中継装置10に設けられるのに対して、本実施形態ではサーバ30に設けられる。それ以外の構成及び処理は第1の実施形態と同様である。
(Second Embodiment)
In the first embodiment, the application determination unit 130 is provided in the relay device 10, whereas in the present embodiment, the application determination unit 130 is provided in the server 30. Other configurations and processes are the same as those in the first embodiment.
 図6は、本実施形態に係る中継装置10を含むシステムのブロック図である。本実施形態において、アプリケーション決定部130は、サーバ30に設けられる。さらに、サーバ30は、識別情報受信部33を備える。それ以外の構成は図2と同様である。 FIG. 6 is a block diagram of a system including the relay device 10 according to the present embodiment. In the present embodiment, the application determination unit 130 is provided in the server 30. Further, the server 30 includes an identification information receiving unit 33. The other configuration is the same as that of FIG.
 識別情報受信部33は、デバイス識別情報取得部110により取得されるデバイスID及び中継装置識別情報取得部120により取得される中継装置IDを中継装置10から受信する。そして、アプリケーション決定部130は、識別情報受信部33によって受信されたデバイスID及び中継装置IDに基づいて、アプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルに基づいて、中継装置10にインストールすべきアプリケーション11を決定する。 The identification information receiving unit 33 receives the device ID acquired by the device identification information acquisition unit 110 and the relay device ID acquired by the relay device identification information acquisition unit 120 from the relay device 10. Then, the application determination unit 130 is installed in the relay device 10 based on the application definition table recorded in advance in the application definition storage unit 31 based on the device ID and the relay device ID received by the identification information receiving unit 33. The application 11 to be determined is determined.
 インストール部140は、アプリケーション決定部130によって決定されたアプリケーション11の識別情報(例えばファイル名)を、サーバ30から受信する。そして、インストール部140は、受信されたアプリケーション11の識別情報に基づいて、アプリケーション記憶部32からアプリケーション11を読み出して中継装置10にインストールする。 The installation unit 140 receives the identification information (for example, file name) of the application 11 determined by the application determination unit 130 from the server 30. Then, the installation unit 140 reads the application 11 from the application storage unit 32 based on the received identification information of the application 11 and installs it in the relay device 10.
 なお、図6ではアプリケーション決定部130、アプリケーション定義記憶部31及びアプリケーション記憶部32は1つのサーバ30に設けられているが、異なる複数のサーバ30に分けられて設けられてよい。 In FIG. 6, the application determination unit 130, the application definition storage unit 31, and the application storage unit 32 are provided in one server 30, but may be provided separately for a plurality of different servers 30.
 本実施形態に示すように、アプリケーションを決定する主体(アプリケーション決定部130)は中継装置10に限られず、サーバ30でもよい。 As shown in the present embodiment, the entity that determines an application (application determination unit 130) is not limited to the relay device 10, but may be a server 30.
(第3の実施形態)
 第1及び第2の実施形態はアプリケーション11の決定のために中継装置10の識別情報及びデバイス20の識別情報を用いるのに対して、本実施形態はさらに中継装置10又はデバイス20の設定情報を用いる。このような構成により、利用者が中継装置10又はデバイス20に対して所定の設定を行うことによって、中継装置10にインストールされるアプリケーション11を切り替えることができる。
(Third embodiment)
The first and second embodiments use the identification information of the relay device 10 and the identification information of the device 20 for determining the application 11, whereas the present embodiment further sets the setting information of the relay device 10 or the device 20. Use. With such a configuration, the application 11 installed in the relay device 10 can be switched by the user performing a predetermined setting for the relay device 10 or the device 20.
 図7は、本実施形態に係る中継装置10を含むシステムのブロック図である。本実施形態において、中継装置10の制御部100中に、設定情報取得部150がさらに設けられる。それ以外の構成は図2と同様である。 FIG. 7 is a block diagram of a system including the relay device 10 according to the present embodiment. In the present embodiment, a setting information acquisition unit 150 is further provided in the control unit 100 of the relay apparatus 10. The other configuration is the same as that of FIG.
 設定情報取得部150は、中継装置10及びデバイス20の少なくとも一方の設定情報を取得する。本実施形態において、設定情報は、中継装置10及びデバイス20の少なくとも一方に設けられる物理的なスイッチ(例えばDIPスイッチ)の設定情報である。スイッチは少なくとも2つの状態(例えばOFFなら「0」、ONなら「1」)のいずれかに設定され、設定されている情報は信号として中継装置10及びデバイス20の少なくとも一方から取得される。スイッチは、ON及びOFFを組み合わせることによって2つより多い状態をとり得てもよい。設定情報として、物理的なスイッチの設定に限られず、記憶装置に配置される設定データの設定等、利用者が中継装置10又はデバイス20に設定できる任意の情報を用いてよい。 The setting information acquisition unit 150 acquires setting information of at least one of the relay device 10 and the device 20. In the present embodiment, the setting information is setting information of a physical switch (for example, a DIP switch) provided in at least one of the relay device 10 and the device 20. The switch is set to at least one of two states (for example, “0” for OFF and “1” for ON), and the set information is acquired as a signal from at least one of the relay device 10 and the device 20. A switch may take more than two states by combining ON and OFF. The setting information is not limited to the physical switch setting, and any information that can be set in the relay device 10 or the device 20 by the user, such as setting data set in the storage device, may be used.
 図8は、例示的な本実施形態に係るアプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルの模式図である。アプリケーション定義記憶部31には、デバイス20の識別情報であるデバイスIDと、中継装置10の識別情報である中継装置IDと、中継装置10又はデバイス20の設定情報であるスイッチ設定(0又は1)と、インストール対象のアプリケーション11(具体的にはファイル名)との組み合わせを関連付けて、アプリケーション定義テーブルとして予め記録されている。具体的には、アプリケーション決定部130は、アプリケーション定義テーブルから、デバイス識別情報取得部110により取得されるデバイスID、中継装置識別情報取得部120により取得される中継装置ID及び設定情報取得部150により取得される設定情報に対応する行を抽出する。そして、アプリケーション決定部130は、抽出された行に含まれるアプリケーション11(ファイル名)を、中継装置10にインストールすべきアプリケーション11として決定する。 FIG. 8 is a schematic diagram of an application definition table recorded in advance in the application definition storage unit 31 according to this exemplary embodiment. In the application definition storage unit 31, a device ID that is identification information of the device 20, a relay device ID that is identification information of the relay device 10, and a switch setting (0 or 1) that is setting information of the relay device 10 or the device 20 are stored. And a combination of the application 11 to be installed (specifically, a file name) and are recorded in advance as an application definition table. Specifically, the application determination unit 130 uses the device ID acquired by the device identification information acquisition unit 110, the relay device ID acquired by the relay device identification information acquisition unit 120, and the setting information acquisition unit 150 from the application definition table. Extract the row corresponding to the acquired setting information. Then, the application determination unit 130 determines the application 11 (file name) included in the extracted line as the application 11 to be installed in the relay device 10.
 図8において、アプリケーション定義テーブルは視認性のために文字列の表で表されているが、任意のデータ形式(ファイル形式)で表されてよく、例えばバイナリデータ又はテキストデータでよい。また、アプリケーション定義テーブルはデータベースのテーブルとしてアプリケーション定義記憶部31に記録されてよく、あるいはバイナリファイル又はテキストファイルとしてアプリケーション定義記憶部31に記録されてよい。 8, the application definition table is represented by a character string table for visibility, but may be represented by an arbitrary data format (file format), for example, binary data or text data. The application definition table may be recorded in the application definition storage unit 31 as a database table, or may be recorded in the application definition storage unit 31 as a binary file or a text file.
 アプリケーション決定部130は第1の実施形態のように中継装置10に設けられてもよく、あるいは第2の実施形態のようにサーバ30に設けられてもよい。 The application determination unit 130 may be provided in the relay device 10 as in the first embodiment, or may be provided in the server 30 as in the second embodiment.
 図9は、本実施形態に係る中継装置10の設定方法のフローチャートを示す図である。図9のフローチャートは、例えば中継装置10に新たなデバイス20が接続されたこと、あるいは利用者が中継装置10に対して所定の操作を行ったこと、あるいは中継装置10又はデバイス20の設定(ここではスイッチ)が変更されたことに応じて開始される。 FIG. 9 is a diagram illustrating a flowchart of the setting method of the relay device 10 according to the present embodiment. The flowchart of FIG. 9 shows, for example, that a new device 20 has been connected to the relay apparatus 10, or that a user has performed a predetermined operation on the relay apparatus 10, or the setting of the relay apparatus 10 or device 20 (here Now, it is started when the switch is changed.
 ステップS201~S202は、図5のステップS101~S102と同様である。次に、設定情報取得部150は、中継装置10及びデバイス20の少なくとも一方の設定情報を取得する(ステップS203)。 Steps S201 to S202 are the same as steps S101 to S102 in FIG. Next, the setting information acquisition unit 150 acquires setting information of at least one of the relay device 10 and the device 20 (step S203).
 アプリケーション決定部130は、アプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルにおいて、ステップS201で取得されたデバイスID、ステップS202で取得された中継装置ID及びステップS203で取得された設定情報に対応するアプリケーション11を、中継装置10にインストールすべきアプリケーション11として決定する(ステップS204)。ここで決定されるアプリケーション11は、アプリケーション11のファイル名等の任意の識別情報によって識別される。 In the application definition table recorded in advance in the application definition storage unit 31, the application determination unit 130 includes the device ID acquired in step S201, the relay device ID acquired in step S202, and the setting information acquired in step S203. The corresponding application 11 is determined as the application 11 to be installed in the relay device 10 (step S204). The application 11 determined here is identified by arbitrary identification information such as a file name of the application 11.
 最後に、インストール部140は、ステップS204で決定されたアプリケーション11を、アプリケーション記憶部32から読み出して中継装置10にインストールする(ステップS205)。 Finally, the installation unit 140 reads the application 11 determined in step S204 from the application storage unit 32 and installs it in the relay device 10 (step S205).
 中継装置10のCPU10aは、図9に示す設定方法に含まれる各ステップ(工程)の主体となる。すなわち、CPU10aは、図9に示す設定方法を実行するためのプログラムをメモリ10b又は記憶装置10cから読み出し、該プログラムを実行して中継装置10の各部を制御することによって図9に示す設定方法を実行する。 The CPU 10a of the relay device 10 becomes a main body of each step (process) included in the setting method shown in FIG. That is, the CPU 10a reads the program for executing the setting method shown in FIG. 9 from the memory 10b or the storage device 10c, executes the program, and controls each unit of the relay device 10 to control the setting method shown in FIG. Execute.
 本実施形態は、第1の実施形態と同様の効果を奏するとともに、さらに利用者が中継装置10又はデバイス20に対して所定の設定(例えばスイッチのON/OFF)を行うことによって、中継装置10にインストールされるアプリケーション11を切り替えることができる。そのため、中継装置10により柔軟かつ多様な設定を行うことができる。 The present embodiment has the same effects as those of the first embodiment, and further, when the user performs a predetermined setting (for example, ON / OFF of the switch) for the relay device 10 or the device 20, the relay device 10 The application 11 to be installed can be switched. Therefore, flexible and diverse settings can be performed by the relay device 10.
(第4の実施形態)
 第1~第3の実施形態はアプリケーション11の決定のために中継装置10に接続された1つのデバイス20の識別情報を用いるのに対して、本実施形態は2つ以上のデバイス20の識別情報を用いる。このような構成により、複数のデバイス20の組み合わせに対応するアプリケーション11を中継装置10にインストールすることができる。
(Fourth embodiment)
In the first to third embodiments, identification information of one device 20 connected to the relay apparatus 10 is used for determining the application 11, whereas in this embodiment, identification information of two or more devices 20 is used. Is used. With such a configuration, the application 11 corresponding to the combination of the plurality of devices 20 can be installed in the relay apparatus 10.
 本実施形態は図2と同様の構成を用いるが、アプリケーション決定部130によって行われる処理が異なる。本実施形態では、アプリケーション決定部130は、複数のデバイス20の識別情報(デバイスID)に基づいて、中継装置10にインストールすべきアプリケーション11を決定する。すなわち、アプリケーション決定部130は、中継装置10に接続されている1つのデバイス20についてインストールすべきアプリケーション11を判定する際に、それ以前に既にアプリケーション11が中継装置10にインストールされている既存のデバイス20の識別情報も用いる。 This embodiment uses the same configuration as that in FIG. 2, but the processing performed by the application determination unit 130 is different. In the present embodiment, the application determination unit 130 determines the application 11 to be installed in the relay device 10 based on the identification information (device ID) of the plurality of devices 20. That is, when the application determination unit 130 determines the application 11 to be installed for one device 20 connected to the relay apparatus 10, an existing device in which the application 11 has already been installed in the relay apparatus 10 before that. Twenty identification information is also used.
 図10は、例示的な本実施形態に係るアプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルの模式図である。アプリケーション定義記憶部31には、デバイス20の識別情報である第1デバイスID及び第2デバイスIDと、中継装置10の識別情報である中継装置IDとの組み合わせを関連付けて、アプリケーション定義テーブルとして予め記録されている。ここで、インストールすべきアプリケーション11を判定中のデバイス20を対象のデバイス20といい、既にアプリケーション11が中継装置10にインストールされたデバイス20を既存のデバイス20という。第1デバイスIDは、対象のデバイス20の識別情報である。第2デバイスIDは、既存のデバイス20の識別情報である。図10の例では簡略化のために1つの対象のデバイス20に対して1つの既存のデバイス20を用いているが、1つ以上の任意の数の既存のデバイス20を用いてよく、用いられる既存のデバイス20の数に応じた欄(例えば第3デバイスID欄、第4デバイスID欄等)をアプリケーション定義テーブルに設ければよい。 FIG. 10 is a schematic diagram of an application definition table recorded in advance in the application definition storage unit 31 according to this exemplary embodiment. In the application definition storage unit 31, a combination of the first device ID and the second device ID, which are identification information of the device 20, and the relay device ID, which is identification information of the relay device 10, is associated and recorded in advance as an application definition table. Has been. Here, the device 20 that is determining the application 11 to be installed is referred to as a target device 20, and the device 20 in which the application 11 is already installed in the relay apparatus 10 is referred to as an existing device 20. The first device ID is identification information of the target device 20. The second device ID is identification information of the existing device 20. In the example of FIG. 10, for the sake of simplicity, one existing device 20 is used for one target device 20, but any number of one or more existing devices 20 may be used. A column corresponding to the number of existing devices 20 (for example, a third device ID column, a fourth device ID column, etc.) may be provided in the application definition table.
 具体的には、アプリケーション決定部130は、アプリケーション定義テーブルから、対象のデバイス20の第1デバイスID、既存のデバイス20の第2デバイスID、及び中継装置識別情報取得部120により取得される中継装置IDに対応する行を抽出する。第1デバイスID及び第2デバイスIDの組み合わせに対応する行がない場合、あるいは既存のデバイス20が接続されていない場合には、第2デバイスIDが空欄であり第1デバイスIDのみに対応する行を抽出する。そして、アプリケーション決定部130は、抽出された行に含まれるアプリケーション11(ファイル名)を、中継装置10にインストールすべきアプリケーション11として決定する。 Specifically, the application determination unit 130 receives the first device ID of the target device 20, the second device ID of the existing device 20, and the relay device acquired by the relay device identification information acquisition unit 120 from the application definition table. A row corresponding to the ID is extracted. When there is no row corresponding to the combination of the first device ID and the second device ID, or when the existing device 20 is not connected, the second device ID is blank and the row corresponds only to the first device ID. To extract. Then, the application determination unit 130 determines the application 11 (file name) included in the extracted line as the application 11 to be installed in the relay device 10.
 また、アプリケーション決定部130は、中継装置10に接続されている1つのデバイス20についてアプリケーション11を決定する際に、同一の識別情報を有する既存のデバイス20についてアプリケーション11が既に中継装置10にインストールされている場合に、新たにアプリケーション11をインストールしないことを決定する。これは、同一の識別情報のデバイス20であれば既にインストールされているアプリケーション11によって制御できるためである。 In addition, when the application determining unit 130 determines the application 11 for one device 20 connected to the relay apparatus 10, the application 11 is already installed in the relay apparatus 10 for the existing device 20 having the same identification information. If not, it is decided not to newly install the application 11. This is because the devices 20 having the same identification information can be controlled by the already installed application 11.
 図10において、アプリケーション定義テーブルは視認性のために文字列の表で表されているが、任意のデータ形式(ファイル形式)で表されてよく、例えばバイナリデータ又はテキストデータでよい。また、アプリケーション定義テーブルはデータベースのテーブルとしてアプリケーション定義記憶部31に記録されてよく、あるいはバイナリファイル又はテキストファイルとしてアプリケーション定義記憶部31に記録されてよい。 In FIG. 10, the application definition table is represented as a character string table for visibility, but may be represented in any data format (file format), for example, binary data or text data. The application definition table may be recorded in the application definition storage unit 31 as a database table, or may be recorded in the application definition storage unit 31 as a binary file or a text file.
 アプリケーション決定部130は第1の実施形態のように中継装置10に設けられてもよく、あるいは第2の実施形態のようにサーバ30に設けられてもよい。 The application determination unit 130 may be provided in the relay device 10 as in the first embodiment, or may be provided in the server 30 as in the second embodiment.
 図11は、本実施形態に係る中継装置10の設定方法のフローチャートを示す図である。図11のフローチャートは、例えば中継装置10に新たなデバイス20が接続されたこと、あるいは利用者が中継装置10に対して所定の操作を行ったことに応じて開始される。 FIG. 11 is a diagram illustrating a flowchart of the setting method of the relay device 10 according to the present embodiment. The flowchart of FIG. 11 is started, for example, when a new device 20 is connected to the relay apparatus 10 or when a user performs a predetermined operation on the relay apparatus 10.
 まず、デバイス識別情報取得部110は、中継装置10に接続されているデバイス20の識別情報であるデバイスIDをデバイス20から取得する(ステップS301)。次に、中継装置識別情報取得部120は、中継装置10の識別情報である中継装置IDをシステム情報記憶部13から取得する(ステップS302)。ステップS301及びS302は逆の順番で行われてもよく、あるいは並行して行われてもよい。中継装置10に複数のデバイス20が接続されている場合には、それぞれのデバイス20について以降の処理を行う。ここで、インストールすべきアプリケーション11を判定中のデバイス20を対象のデバイス20といい、既にアプリケーション11が中継装置10にインストールされたデバイス20を既存のデバイス20という。 First, the device identification information acquisition unit 110 acquires a device ID that is identification information of the device 20 connected to the relay apparatus 10 from the device 20 (step S301). Next, the relay device identification information acquisition unit 120 acquires the relay device ID that is the identification information of the relay device 10 from the system information storage unit 13 (step S302). Steps S301 and S302 may be performed in reverse order or in parallel. When a plurality of devices 20 are connected to the relay apparatus 10, the subsequent processing is performed for each device 20. Here, the device 20 that is determining the application 11 to be installed is referred to as a target device 20, and the device 20 in which the application 11 is already installed in the relay apparatus 10 is referred to as an existing device 20.
 1つ目の対象のデバイス20が中継装置10に接続された場合、すなわち中継装置10に接続された既存のデバイス20がない場合に(ステップS303のYES)、図5のステップS103と同様に、アプリケーション決定部130は、アプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルにおいて、対象のデバイス20のデバイスID(第1デバイスID)及びステップS302で取得された中継装置IDに対応するアプリケーション11を、中継装置10にインストールすべきアプリケーション11として決定する(ステップS304)。 When the first target device 20 is connected to the relay apparatus 10, that is, when there is no existing device 20 connected to the relay apparatus 10 (YES in step S303), as in step S103 of FIG. In the application definition table recorded in advance in the application definition storage unit 31, the application determination unit 130 corresponds to the application 11 corresponding to the device ID (first device ID) of the target device 20 and the relay device ID acquired in step S302. Is determined as the application 11 to be installed in the relay device 10 (step S304).
 2つ目以降のデバイス20が中継装置10に接続された場合、すなわち中継装置10に接続された既存のデバイス20がある場合に(ステップS303のNO)、対象のデバイス20のデバイスIDと既存のデバイス20のデバイスIDとが同じか否かを判定される。既存のデバイス20とは異なるデバイスIDを有する対象のデバイス20が接続された場合に(ステップS305のYES)、アプリケーション決定部130は、アプリケーション定義記憶部31に予め記録されているアプリケーション定義テーブルにおいて、対象のデバイス20のデバイスID(第1デバイスID)、既存のデバイス20のデバイスID(第2デバイスID)及びステップS302で取得された中継装置IDに対応するアプリケーション11を、中継装置10にインストールすべきアプリケーション11として決定する(ステップS306)。 When the second and subsequent devices 20 are connected to the relay device 10, that is, when there is an existing device 20 connected to the relay device 10 (NO in step S303), the device ID of the target device 20 and the existing device 20 It is determined whether or not the device ID of the device 20 is the same. When the target device 20 having a device ID different from that of the existing device 20 is connected (YES in step S305), the application determination unit 130 uses the application definition table recorded in the application definition storage unit 31 in advance. The application 11 corresponding to the device ID of the target device 20 (first device ID), the device ID of the existing device 20 (second device ID), and the relay device ID acquired in step S302 is installed in the relay device 10. It is determined as a power application 11 (step S306).
 既存のデバイス20と同じデバイスIDを有する対象のデバイス20が接続された場合に(ステップS305のNO)、アプリケーション11のインストールを行わずに処理を終了する。 When the target device 20 having the same device ID as that of the existing device 20 is connected (NO in step S305), the process is terminated without installing the application 11.
 最後に、インストール部140は、ステップS304又はS306で決定されたアプリケーション11を、アプリケーション記憶部32から読み出して中継装置10にインストールする(ステップS307)。 Finally, the installation unit 140 reads the application 11 determined in step S304 or S306 from the application storage unit 32 and installs it in the relay device 10 (step S307).
 中継装置10のCPU10aは、図11に示す設定方法に含まれる各ステップ(工程)の主体となる。すなわち、CPU10aは、図11に示す設定方法を実行するためのプログラムをメモリ10b又は記憶装置10cから読み出し、該プログラムを実行して中継装置10の各部を制御することによって図11に示す設定方法を実行する。 The CPU 10a of the relay device 10 becomes the main body of each step (process) included in the setting method shown in FIG. That is, the CPU 10a reads the program for executing the setting method shown in FIG. 11 from the memory 10b or the storage device 10c, executes the program, and controls each unit of the relay device 10 to control the setting method shown in FIG. Execute.
 本実施形態は、第1の実施形態と同様の効果を奏するとともに、さらに複数のデバイス20の組み合わせに応じたアプリケーション11を中継装置10にインストールすることができる。そのため、複数の種類のデバイス20を制御するアプリケーション11のインストール等、より複雑な設定を行うことができる。また、同じ識別情報を有するデバイス20が接続された場合には、アプリケーション11を新たにインストールしないため、通信容量等の資源を削減することができる。 This embodiment has the same effects as those of the first embodiment, and can further install the application 11 corresponding to the combination of the plurality of devices 20 in the relay apparatus 10. Therefore, more complicated settings such as installation of the application 11 that controls a plurality of types of devices 20 can be performed. Further, when the devices 20 having the same identification information are connected, the application 11 is not newly installed, so resources such as communication capacity can be reduced.
(その他の実施形態)
 図12は、上述の各実施形態に係る中継装置10の概略構成図である。図12には、中継装置10がデバイス20を制御するためのアプリケーション11を決定する装置として機能するための構成例が示されている。デバイスに接続される中継装置10は、前記中継装置の識別情報及び前記デバイスの識別情報を取得する取得部110、120と、取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするインストール部140と、を備える。
(Other embodiments)
FIG. 12 is a schematic configuration diagram of the relay device 10 according to each of the above-described embodiments. FIG. 12 illustrates a configuration example for the relay apparatus 10 to function as an apparatus that determines the application 11 for controlling the device 20. The relay apparatus 10 connected to the device is based on the acquisition units 110 and 120 that acquire the identification information of the relay apparatus and the identification information of the device, and the acquired identification information of the relay apparatus and the identification information of the device. And an installation unit 140 that installs the determined application for controlling the device.
 本発明は、上述の実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲において適宜変更可能である。 The present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the spirit of the present invention.
 上述の実施形態の機能を実現するように該実施形態の構成を動作させるプログラム(より具体的には、図5、9、11に示す処理をコンピュータに実行させる設定プログラム)を記録媒体に記録させ、該記録媒体に記録されたプログラムをコードとして読み出し、コンピュータにおいて実行する処理方法も各実施形態の範疇に含まれる。すなわち、コンピュータ読取可能な記録媒体も各実施形態の範囲に含まれる。また、上述のプログラムが記録された記録媒体はもちろん、そのプログラム自体も各実施形態に含まれる。 A program for operating the configuration of the embodiment to realize the functions of the above-described embodiment (more specifically, a setting program for causing a computer to execute the processes shown in FIGS. 5, 9, and 11) is recorded on a recording medium. A processing method of reading a program recorded on the recording medium as a code and executing it on a computer is also included in the category of each embodiment. That is, a computer-readable recording medium is also included in the scope of each embodiment. In addition to the recording medium on which the above program is recorded, the program itself is included in each embodiment.
 該記録媒体としては例えばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD-ROM、磁気テープ、不揮発性メモリカード、ROMを用いることができる。また該記録媒体に記録されたプログラム単体で処理を実行しているものに限らず、他のソフトウェア、拡張ボードの機能と共同して、OS上で動作して処理を実行するものも各実施形態の範疇に含まれる。 As the recording medium, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, and a ROM can be used. Further, the embodiment is not limited to the processing executed by a single program recorded in the recording medium, and the embodiments that execute processing by operating on the OS in cooperation with other software and the function of the expansion board are also described in each embodiment. Included in the category.
 上述の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above-described embodiments can be described as in the following supplementary notes, but are not limited thereto.
(付記1)
 デバイスに接続される中継装置であって、
 前記中継装置の識別情報及び前記デバイスの識別情報を取得する取得部と、
 取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするインストール部と、
 を備える中継装置。
(Appendix 1)
A relay device connected to the device,
An acquisition unit for acquiring identification information of the relay device and identification information of the device;
An installation unit that installs an application that controls the device, determined based on the acquired identification information of the relay device and the identification information of the device;
A relay device comprising:
(付記2)
 前記インストール部は、記憶された前記中継装置の識別情報、前記デバイスの識別情報及び前記アプリケーションを関連付けるテーブルに基づいて決定された、取得された前記中継装置の識別情報及び前記デバイスの識別情報に対応する前記アプリケーションをインストールすることを特徴とする付記1に記載の中継装置。
(Appendix 2)
The installation unit corresponds to the acquired identification information of the relay device and the identification information of the device, which is determined based on the stored identification information of the relay device, the identification information of the device, and the table associating the application. The relay apparatus according to appendix 1, wherein the application is installed.
(付記3)
 前記取得部は、前記中継装置の識別情報及び前記デバイスの識別情報に加えて、前記デバイス及び前記中継装置の少なくとも一方の設定情報を取得し、
 前記インストール部は、取得された前記中継装置の識別情報、前記デバイスの識別情報及び前記設定情報に基づいて決定された前記アプリケーションをインストールすることを特徴とする付記1又は2に記載の中継装置。
(Appendix 3)
In addition to the identification information of the relay device and the identification information of the device, the acquisition unit acquires setting information of at least one of the device and the relay device,
The relay apparatus according to appendix 1 or 2, wherein the installation unit installs the application determined based on the acquired identification information of the relay apparatus, the identification information of the device, and the setting information.
(付記4)
 前記取得部は、前記中継装置の識別情報及び複数の前記デバイスの識別情報を取得し、
 前記インストール部は、取得された前記中継装置の識別情報及び複数の前記デバイスの識別情報に基づいて決定された前記アプリケーションをインストールすることを特徴とする付記1~3のいずれか一項に記載の中継装置。
(Appendix 4)
The acquisition unit acquires identification information of the relay device and identification information of the plurality of devices,
The installation unit is configured to install the application determined based on the acquired identification information of the relay device and the identification information of the plurality of devices. Relay device.
(付記5)
 前記インストール部は、前記デバイスが前記中継装置に接続されると、前記アプリケーションをインストールすることを特徴とする付記1~4のいずれか一項に記載の中継装置。
(Appendix 5)
The relay device according to any one of appendices 1 to 4, wherein the installation unit installs the application when the device is connected to the relay device.
(付記6)
 前記アプリケーションがインストールされた後に、前記デバイスと同一の識別情報を有する他のデバイスが前記中継装置に接続された場合に、前記インストール部は前記アプリケーションをさらにインストールしないことを特徴とする付記1~5のいずれか一項に記載の中継装置。
(Appendix 6)
Additional notes 1 to 5 wherein the installation unit does not further install the application when another device having the same identification information as the device is connected to the relay apparatus after the application is installed. The relay device according to any one of the above.
(付記7)
 デバイスに接続される中継装置と通信するサーバであって、
 前記中継装置の識別情報及び前記デバイスの識別情報を受信する受信部と、
 受信された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて、前記中継装置にインストールすべき前記デバイスを制御するアプリケーションを決定する決定部と、
 を備えるサーバ。
(Appendix 7)
A server that communicates with a relay device connected to a device,
A receiving unit that receives the identification information of the relay device and the identification information of the device;
A determination unit that determines an application that controls the device to be installed in the relay device based on the received identification information of the relay device and the identification information of the device;
A server comprising
(付記8)
 前記決定部は、記憶された前記中継装置の識別情報、前記デバイスの識別情報及び前記アプリケーションを関連付けるテーブルに基づいて、受信された前記中継装置の識別情報及び前記デバイスの識別情報に対応する前記アプリケーションを決定することを特徴とする付記7に記載のサーバ。
(Appendix 8)
The determination unit, based on the stored identification information of the relay device, the identification information of the device, and the table that associates the application, the application corresponding to the received identification information of the relay device and the identification information of the device The server according to appendix 7, wherein the server is determined.
(付記9)
 デバイスに接続される中継装置の設定方法であって、
 前記中継装置の識別情報及び前記デバイスの識別情報を取得するステップと、
 取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするステップと、
 を有する設定方法。
(Appendix 9)
A method for setting a relay device connected to a device,
Obtaining identification information of the relay device and identification information of the device;
Installing an application for controlling the device, determined based on the acquired identification information of the relay device and the identification information of the device;
The setting method which has.
(付記10)
 デバイスに接続される中継装置を設定するプログラムを記録した記録媒体であって、
 コンピュータに、
 前記中継装置の識別情報及び前記デバイスの識別情報を取得するステップと、
 取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするステップと、
 を実行させるプログラムを記録した記録媒体。
(Appendix 10)
A recording medium recording a program for setting a relay device connected to a device,
On the computer,
Obtaining identification information of the relay device and identification information of the device;
Installing an application for controlling the device, determined based on the acquired identification information of the relay device and the identification information of the device;
A recording medium on which a program for executing is recorded.
 この出願は、2017年3月8日に出願された日本出願特願2017-043784を基礎とする優先権を主張し、その開示のすべてをここに取り込む。 This application claims priority based on Japanese Patent Application No. 2017-043784 filed on March 8, 2017, the entire disclosure of which is incorporated herein.

Claims (10)

  1.  デバイスに接続される中継装置であって、
     前記中継装置の識別情報及び前記デバイスの識別情報を取得する取得部と、
     取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするインストール部と、
     を備える中継装置。
    A relay device connected to the device,
    An acquisition unit for acquiring identification information of the relay device and identification information of the device;
    An installation unit that installs an application that controls the device, determined based on the acquired identification information of the relay device and the identification information of the device;
    A relay device comprising:
  2.  前記インストール部は、記憶された前記中継装置の識別情報、前記デバイスの識別情報及び前記アプリケーションを関連付けるテーブルに基づいて決定された、取得された前記中継装置の識別情報及び前記デバイスの識別情報に対応する前記アプリケーションをインストールすることを特徴とする請求項1に記載の中継装置。 The installation unit corresponds to the acquired identification information of the relay device and the identification information of the device, which is determined based on the stored identification information of the relay device, the identification information of the device, and the table associating the application. The relay apparatus according to claim 1, wherein the application is installed.
  3.  前記取得部は、前記中継装置の識別情報及び前記デバイスの識別情報に加えて、前記デバイス及び前記中継装置の少なくとも一方の設定情報を取得し、
     前記インストール部は、取得された前記中継装置の識別情報、前記デバイスの識別情報及び前記設定情報に基づいて決定された前記アプリケーションをインストールすることを特徴とする請求項1又は2に記載の中継装置。
    In addition to the identification information of the relay device and the identification information of the device, the acquisition unit acquires setting information of at least one of the device and the relay device,
    The relay apparatus according to claim 1, wherein the installation unit installs the application determined based on the acquired identification information of the relay apparatus, the identification information of the device, and the setting information. .
  4.  前記取得部は、前記中継装置の識別情報及び複数の前記デバイスの識別情報を取得し、
     前記インストール部は、取得された前記中継装置の識別情報及び複数の前記デバイスの識別情報に基づいて決定された前記アプリケーションをインストールすることを特徴とする請求項1~3のいずれか一項に記載の中継装置。
    The acquisition unit acquires identification information of the relay device and identification information of the plurality of devices,
    4. The installation unit according to claim 1, wherein the installation unit installs the application determined based on the acquired identification information of the relay device and the identification information of the plurality of devices. Relay device.
  5.  前記インストール部は、前記デバイスが前記中継装置に接続されると、前記アプリケーションをインストールすることを特徴とする請求項1~4のいずれか一項に記載の中継装置。 5. The relay apparatus according to claim 1, wherein the installation unit installs the application when the device is connected to the relay apparatus.
  6.  前記アプリケーションがインストールされた後に、前記デバイスと同一の識別情報を有する他のデバイスが前記中継装置に接続された場合に、前記インストール部は前記アプリケーションをさらにインストールしないことを特徴とする請求項1~5のいずれか一項に記載の中継装置。 The installation unit does not further install the application when another device having the same identification information as the device is connected to the relay apparatus after the application is installed. The relay device according to claim 5.
  7.  デバイスに接続される中継装置と通信するサーバであって、
     前記中継装置の識別情報及び前記デバイスの識別情報を受信する受信部と、
     受信された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて、前記中継装置にインストールすべき前記デバイスを制御するアプリケーションを決定する決定部と、
     を備えるサーバ。
    A server that communicates with a relay device connected to a device,
    A receiving unit that receives the identification information of the relay device and the identification information of the device;
    A determination unit that determines an application that controls the device to be installed in the relay device based on the received identification information of the relay device and the identification information of the device;
    A server comprising
  8.  前記決定部は、記憶された前記中継装置の識別情報、前記デバイスの識別情報及び前記アプリケーションを関連付けるテーブルに基づいて、受信された前記中継装置の識別情報及び前記デバイスの識別情報に対応する前記アプリケーションを決定することを特徴とする請求項7に記載のサーバ。 The determination unit, based on the stored identification information of the relay device, the identification information of the device, and the table that associates the application, the application corresponding to the received identification information of the relay device and the identification information of the device The server according to claim 7, wherein the server is determined.
  9.  デバイスに接続される中継装置の設定方法であって、
     前記中継装置の識別情報及び前記デバイスの識別情報を取得するステップと、
     取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするステップと、
     を有する設定方法。
    A method for setting a relay device connected to a device,
    Obtaining identification information of the relay device and identification information of the device;
    Installing an application for controlling the device, determined based on the acquired identification information of the relay device and the identification information of the device;
    The setting method which has.
  10.  デバイスに接続される中継装置を設定する設定プログラムを記録した記録媒体であって、
     コンピュータに、
     前記中継装置の識別情報及び前記デバイスの識別情報を取得するステップと、
     取得された前記中継装置の識別情報及び前記デバイスの識別情報に基づいて決定された、前記デバイスを制御するアプリケーションをインストールするステップと、
     を実行させる設定プログラムを記録した記録媒体。
    A recording medium recording a setting program for setting a relay device connected to a device,
    On the computer,
    Obtaining identification information of the relay device and identification information of the device;
    Installing an application for controlling the device, determined based on the acquired identification information of the relay device and the identification information of the device;
    A recording medium on which a setting program for executing the program is recorded.
PCT/JP2018/008265 2017-03-08 2018-03-05 Relay apparatus, server, method for setting relay apparatus, and recording medium WO2018164037A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019504561A JP6756400B2 (en) 2017-03-08 2018-03-05 Relay device, server, setting method of relay device and recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017-043784 2017-03-08
JP2017043784 2017-03-08

Publications (1)

Publication Number Publication Date
WO2018164037A1 true WO2018164037A1 (en) 2018-09-13

Family

ID=63448253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/008265 WO2018164037A1 (en) 2017-03-08 2018-03-05 Relay apparatus, server, method for setting relay apparatus, and recording medium

Country Status (2)

Country Link
JP (1) JP6756400B2 (en)
WO (1) WO2018164037A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021018559A (en) * 2019-07-19 2021-02-15 富士電機株式会社 Deterioration tendency providing system, deterioration tendency providing method, and program
JP7221372B1 (en) 2021-12-27 2023-02-13 センコーグループホールディングス株式会社 kitting system
JP7363305B2 (en) 2019-09-30 2023-10-18 ブラザー工業株式会社 Installation package generation program and installer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008575A (en) * 2001-06-21 2003-01-10 Yokogawa Electric Corp Network management system
JP2003303071A (en) * 2002-01-16 2003-10-24 Canon Inc Information processor, information processing method, information processing system, control program and storage medium
JP2006309555A (en) * 2005-04-28 2006-11-09 Sanyo Electric Co Ltd Application controller
WO2013005387A1 (en) * 2011-07-01 2013-01-10 日本電気株式会社 Communication network system, communication method and information processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008575A (en) * 2001-06-21 2003-01-10 Yokogawa Electric Corp Network management system
JP2003303071A (en) * 2002-01-16 2003-10-24 Canon Inc Information processor, information processing method, information processing system, control program and storage medium
JP2006309555A (en) * 2005-04-28 2006-11-09 Sanyo Electric Co Ltd Application controller
WO2013005387A1 (en) * 2011-07-01 2013-01-10 日本電気株式会社 Communication network system, communication method and information processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021018559A (en) * 2019-07-19 2021-02-15 富士電機株式会社 Deterioration tendency providing system, deterioration tendency providing method, and program
JP7346966B2 (en) 2019-07-19 2023-09-20 富士電機株式会社 Deterioration trend provision system, deterioration trend provision method and program
JP7363305B2 (en) 2019-09-30 2023-10-18 ブラザー工業株式会社 Installation package generation program and installer
JP7221372B1 (en) 2021-12-27 2023-02-13 センコーグループホールディングス株式会社 kitting system
JP2023096875A (en) * 2021-12-27 2023-07-07 センコーグループホールディングス株式会社 kitting system

Also Published As

Publication number Publication date
JP6756400B2 (en) 2020-09-16
JPWO2018164037A1 (en) 2019-11-07

Similar Documents

Publication Publication Date Title
EP3699755A2 (en) Alignment a combination of software of ecus in an onboard system and ecu
EP3575975B1 (en) Method and apparatus for operating smart network interface card
WO2018164037A1 (en) Relay apparatus, server, method for setting relay apparatus, and recording medium
KR101914604B1 (en) Control method and control system for iot device using cloud platform
CN107066305B (en) Method and device for updating server firmware of server and server
KR20190032040A (en) Method and apparatus for controlling a update of software of an electronic device
JP2016201609A (en) Subscriber terminal device, communication service providing system, communication control method, and communication control program
CN101393524A (en) Firmware update method and system using the same
CN108549542A (en) A kind of file dispositions method, device and equipment
CN110178117B (en) Control device
US7921230B2 (en) USB devices pre-configuration for KVM switch
EP3428750A1 (en) Slave device, method for controlling slave device, information processing program, and recording medium
KR101948961B1 (en) Aircraft information management system
CN107947906B (en) Slave device
JP2007183837A (en) Environment-setting program, environment-setting system, and environment-setting method
US10069985B2 (en) Managing system, intermediate apparatus, and managing method
JP2007188183A (en) Information providing device, information providing program and device detecting method
JP2021144639A (en) Asset information management system, and asset information management method
JP2015099547A (en) Software update method, software update apparatus, software update program, and software update system
JP6541009B2 (en) Communication control method, communication control program and communication device
EP3866445A1 (en) Managing certificates in a building management system
JP4873220B2 (en) Field communication system
CN112115134A (en) Data storage method and device, electronic equipment and storage medium
JP2015207821A (en) Remote operation device and remote operation system
JP2020095479A (en) Verification device, verification method, and program

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019504561

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18764050

Country of ref document: EP

Kind code of ref document: A1