JP6951629B2 - Transfer device and transfer method - Google Patents

Transfer device and transfer method Download PDF

Info

Publication number
JP6951629B2
JP6951629B2 JP2017169394A JP2017169394A JP6951629B2 JP 6951629 B2 JP6951629 B2 JP 6951629B2 JP 2017169394 A JP2017169394 A JP 2017169394A JP 2017169394 A JP2017169394 A JP 2017169394A JP 6951629 B2 JP6951629 B2 JP 6951629B2
Authority
JP
Japan
Prior art keywords
access
information
attribute information
attribute
transfer
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2017169394A
Other languages
Japanese (ja)
Other versions
JP2019046227A (en
Inventor
出 佐藤
出 佐藤
純一 須加
純一 須加
栗田 敏彦
敏彦 栗田
福田 健一
健一 福田
藤井 泰希
泰希 藤井
伊藤 章
章 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017169394A priority Critical patent/JP6951629B2/en
Publication of JP2019046227A publication Critical patent/JP2019046227A/en
Application granted granted Critical
Publication of JP6951629B2 publication Critical patent/JP6951629B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Description

本発明は、転送装置および転送方法に関する。 The present invention relates to a transfer device and a transfer method.

近年、IoT(Internet of Things)等のデバイスを公開し、デバイスから様々なデータを収集、活用してアプリケーションを開発する共創(co creation)環境の構築が活発化している。例えば、通信機能を備えたセンサ機器を遠隔で監視・制御し、センサ機器で測定されたデータを収集して活用するセンシングデータ流通環境が実現されている。 In recent years, the construction of a co-creation environment for developing applications by releasing devices such as IoT (Internet of Things) and collecting and utilizing various data from the devices has become active. For example, a sensing data distribution environment has been realized in which a sensor device having a communication function is remotely monitored and controlled, and data measured by the sensor device is collected and utilized.

このような環境でアプリケーションを開発する場合、開発者は、所望のデバイスの型名、場所、特徴等を表す属性値を取得し、得られた属性値にもとづいてデバイスにアクセスして、アクセスしたデバイスからデータを収集する。 When developing an application in such an environment, the developer acquires an attribute value representing a desired device model name, location, feature, etc., and accesses and accesses the device based on the obtained attribute value. Collect data from the device.

特表2013−539617号公報Japanese Patent Application Laid-Open No. 2013-538617 特表2016−508299号公報Special Table 2016-508299

しかし、従来では、開発者がデバイスの属性値を得た後に、該属性値が変わってしまうと(例えば、デバイスが位置する場所が変わる等)、当初要求したアクセス元のデバイスにアクセスができなくなる可能性がある。 However, conventionally, if the attribute value changes after the developer obtains the attribute value of the device (for example, the location where the device is located changes), the device of the access source originally requested cannot be accessed. there is a possibility.

1つの側面では、本発明は、属性に変化が生じても所定のアクセス元へのアクセスを可能にした転送装置および転送方法を提供することを目的とする。 In one aspect, it is an object of the present invention to provide a transfer device and a transfer method that enable access to a predetermined access source even if the attributes change.

上記課題を解決するために、転送装置が提供される。転送装置は、記憶部と制御部を含む。記憶部は、属性情報と、属性情報に属するデータのアクセス元にアクセスするためのアクセス情報とを関連付けて記憶する。制御部は、属性情報を所定契機で更新し、アクセス元へのアクセス要求を受信した場合、属性情報に関連付けられたアクセス情報を用いてアクセス要求を転送する。制御部は、所定契機で更新した第1の属性情報のうちから、アクセス情報に関連付けられている第2の属性情報を検出し、検出した第2の属性情報に属するアクセス元に対して、アクセス情報を用いてアクセス要求を転送し、アクセス情報と、アクセス元とを対応させて管理し、アクセス要求の受信時に第1の属性情報を取得して、アクセス情報とアクセス元との対応関係の更新処理を行う。 A transfer device is provided to solve the above problems. The transfer device includes a storage unit and a control unit. The storage unit stores the attribute information in association with the access information for accessing the access source of the data belonging to the attribute information. The control unit updates the attribute information at a predetermined opportunity, and when it receives an access request to the access source, the control unit transfers the access request using the access information associated with the attribute information. The control unit detects the second attribute information associated with the access information from the first attribute information updated at a predetermined opportunity, and accesses the access source belonging to the detected second attribute information. The access request is transferred using the information, the access information and the access source are managed in association with each other, the first attribute information is acquired when the access request is received, and the correspondence between the access information and the access source is updated. Perform processing.

また、上記課題を解決するために、コンピュータが上記転送装置と同様の制御を実行する転送方法が提供される。 Further, in order to solve the above problems, a transfer method is provided in which a computer executes the same control as the transfer device.

1側面によれば、属性に変化が生じても所定のアクセス元へのアクセスが可能になる。 According to one aspect, it is possible to access a predetermined access source even if the attribute changes.

転送装置の構成の一例を示す図である。It is a figure which shows an example of the structure of a transfer device. 情報処理システムの構成の一例を示す図である。It is a figure which shows an example of the structure of an information processing system. 転送装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware configuration of a transfer device. 転送装置の機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block of a transfer device. 転送装置の動作を説明するための図である。It is a figure for demonstrating operation of a transfer device. 転送先テーブルの更新の一例を説明するための図である。It is a figure for demonstrating an example of the update of the transfer destination table. アクセス情報生成部の動作を示すフローチャートである。It is a flowchart which shows the operation of the access information generation part. アクセス情報生成時の転送先生成/更新処理部の動作を示すフローチャートである。It is a flowchart which shows the operation of the transfer destination generation / update processing part at the time of access information generation. 転送先テーブルのエントリ生成時の動作を示すフローチャートである。It is a flowchart which shows the operation at the time of entry generation of a transfer destination table. 属性情報更新要求を受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation when the attribute information update request is received. 属性情報一致問合せを受信した場合の動作を示すフローチャートである。It is a flowchart which shows the operation when the attribute information match inquiry is received. 転送先テーブルの更新処理の動作を示すフローチャートである。It is a flowchart which shows the operation of the update process of a transfer destination table. 転送先エントリ一覧取得の動作を示すフローチャートである。It is a flowchart which shows the operation of the transfer destination entry list acquisition. 転送先エントリの更新の動作を示すフローチャートである。It is a flowchart which shows the operation of the update of the transfer destination entry. 転送装置の適用例を説明するための図である。It is a figure for demonstrating the application example of a transfer device.

以下、本実施の形態について図面を参照して説明する。
[第1の実施の形態]
第1の実施の形態の転送装置について図1を用いて説明する。図1は転送装置の構成の一例を示す図である。転送装置1は、制御部1aと記憶部1bを備える。記憶部1bは、属性情報と、属性情報に属するデータのアクセス元(デバイス等)にアクセスするためのアクセス情報とを関連付けて記憶する。制御部1aは、属性情報を所定契機で更新し、アクセス元へのアクセス要求を受信した場合、属性情報に関連付けられたアクセス情報を用いてアクセス要求を転送する。
Hereinafter, the present embodiment will be described with reference to the drawings.
[First Embodiment]
The transfer device of the first embodiment will be described with reference to FIG. FIG. 1 is a diagram showing an example of a configuration of a transfer device. The transfer device 1 includes a control unit 1a and a storage unit 1b. The storage unit 1b stores the attribute information in association with the access information for accessing the access source (device or the like) of the data belonging to the attribute information. The control unit 1a updates the attribute information at a predetermined opportunity, and when the access request to the access source is received, the control unit 1a transfers the access request using the access information associated with the attribute information.

図1に示す例を用いて動作について説明する。
〔状態st1〕場所P1にはデバイス#1、#2が配置されている。制御部1aは、デバイス#1、#2の属性情報として場所P1を取得し、属性情報に属するデータのアクセス元であるデバイスにアクセスするためのアクセス情報d1を生成する。
The operation will be described with reference to the example shown in FIG.
[State st1] Devices # 1 and # 2 are arranged at the place P1. The control unit 1a acquires the location P1 as the attribute information of the devices # 1 and # 2, and generates the access information d1 for accessing the device which is the access source of the data belonging to the attribute information.

制御部1aは、アクセス情報d1と、属性情報(場所P1)とを関連付ける。そして、制御部1aは、属性情報(場所P1)に属するデータのアクセス元をデバイス#1とした場合、アクセス情報d1と、デバイス#1とを対応付けて管理する。アクセス情報d1とデバイス#1との対応関係は、記憶部1bに記憶される。 The control unit 1a associates the access information d1 with the attribute information (location P1). Then, when the access source of the data belonging to the attribute information (location P1) is the device # 1, the control unit 1a manages the access information d1 in association with the device # 1. The correspondence between the access information d1 and the device # 1 is stored in the storage unit 1b.

端末2(または端末2内のアプリケーション)は、属性情報(場所P1)に属するデータのアクセス元へのアクセス要求を行うものとする。制御部1aは、端末2から送信されたアクセス要求を受信すると、属性情報(場所P1)に関連付けられたアクセス情報d1を用いて、アクセス要求をデバイス#1に転送する。 The terminal 2 (or the application in the terminal 2) shall make an access request to the access source of the data belonging to the attribute information (location P1). When the control unit 1a receives the access request transmitted from the terminal 2, the control unit 1a transfers the access request to the device # 1 by using the access information d1 associated with the attribute information (location P1).

〔状態st2〕デバイス#1が場所P1から場所P2へ移動したとする。制御部1aは、所定契機において、属性情報(場所P1)および属性情報(場所P2)を新たな属性情報として更新する。 [State st2] It is assumed that the device # 1 has moved from the place P1 to the place P2. The control unit 1a updates the attribute information (location P1) and the attribute information (location P2) as new attribute information at a predetermined opportunity.

制御部1aは、属性情報(場所P1)および属性情報(場所P2)のうちから、アクセス情報d1に関連付けられている属性情報(場所P1)を検出し、検出した場所P1に属するデバイス#2を抽出する。 The control unit 1a detects the attribute information (location P1) associated with the access information d1 from the attribute information (location P1) and the attribute information (location P2), and determines the device # 2 belonging to the detected location P1. Extract.

そして、制御部1aは、アクセス情報d1と、属性情報(場所P1)に属するデータのアクセス元であるデバイス#2とを対応付けて管理する。アクセス情報d1とデバイス#2との対応関係は、記憶部1bに記憶される。 Then, the control unit 1a manages the access information d1 in association with the device # 2 which is the access source of the data belonging to the attribute information (location P1). The correspondence between the access information d1 and the device # 2 is stored in the storage unit 1b.

制御部1aは、端末2から属性情報(場所P1)に属するデータのアクセス元へのアクセス要求を受信すると、アクセス情報d1を用いて、アクセス要求をデバイス#2へ転送する。 When the control unit 1a receives the access request to the access source of the data belonging to the attribute information (location P1) from the terminal 2, the control unit 1a transfers the access request to the device # 2 by using the access information d1.

すなわち、制御部1aは、所定契機で更新した第1の属性情報(属性情報(場所P1)および属性情報(場所P2))のうちから、アクセス情報d1に関連付けられている第2の属性情報(属性情報(場所P1))を検出する。 That is, the control unit 1a receives the second attribute information (attribute information (location P1) and attribute information (location P2)) associated with the access information d1 from the first attribute information (attribute information (location P1) and attribute information (location P2)) updated at a predetermined opportunity. Attribute information (location P1)) is detected.

そして、制御部1aは、検出した第2の属性情報(属性情報(場所P1))に属するデータのアクセス元(デバイス#2)に対して、アクセス情報d1を用いてアクセス要求を転送する。 Then, the control unit 1a transfers an access request using the access information d1 to the access source (device # 2) of the data belonging to the detected second attribute information (attribute information (location P1)).

このように、転送装置1では、属性情報に関連付けたアクセス情報を生成し、該アクセス情報を用いて、アクセス要求を属性情報に属するデータのアクセス元に転送する。これにより、転送装置1は、属性が変化しても所定のアクセス元へのアクセスを実行することが可能になる。 In this way, the transfer device 1 generates access information associated with the attribute information, and uses the access information to transfer the access request to the access source of the data belonging to the attribute information. As a result, the transfer device 1 can execute access to a predetermined access source even if the attribute changes.

すなわち、上記の例では、場所P1に位置するデバイス#1にアクセスしていた場合に、デバイス#1が場所P2に移動しても、場所P1に位置するアクセス元としてデバイス#2に対してアクセスすることが可能になる。 That is, in the above example, when the device # 1 located at the location P1 is accessed, even if the device # 1 moves to the location P2, the device # 2 is accessed as the access source located at the location P1. Will be possible.

[第2の実施の形態]
次に第2の実施の形態について説明する。まず、システム構成について説明する。図2は情報処理システムの構成の一例を示す図である。情報処理システム1−1は、転送装置10、端末2、IoTプラットフォーム3およびデバイス4−1、・・・、4−nを備える。
[Second Embodiment]
Next, the second embodiment will be described. First, the system configuration will be described. FIG. 2 is a diagram showing an example of the configuration of the information processing system. The information processing system 1-1 includes a transfer device 10, a terminal 2, an IoT platform 3, and devices 4-1 ..., 4-n.

転送装置10には、端末2およびIoTプラットフォーム3が接続し、IoTプラットフォーム3には、デバイス4−1、・・・、4−nが接続する。
端末2は、ユーザにGUI(Graphical User Interface)を提示して、転送装置10に対する操作入力およびシステム運用状態の表示等を行う。また、端末2はアプリケーションの開発に使用される端末としても使用される。
The terminal 2 and the IoT platform 3 are connected to the transfer device 10, and the devices 4-1, ..., 4-n are connected to the IoT platform 3.
The terminal 2 presents a GUI (Graphical User Interface) to the user, and performs operation input to the transfer device 10 and display of the system operation status. The terminal 2 is also used as a terminal used for application development.

転送装置10は、端末2とIoTプラットフォーム3との間に位置して、データ中継機能を有する。また、転送装置10は、デバイス4−1、・・・、4−nの内の所定デバイスで管理されるデータへのアクセス要求を端末2から受信した場合、アクセス要求の転送制御を行い、所定デバイスからデータを取得して端末2へ送信する。 The transfer device 10 is located between the terminal 2 and the IoT platform 3 and has a data relay function. Further, when the transfer device 10 receives an access request for data managed by a predetermined device among the devices 4-1, ..., 4-n from the terminal 2, the transfer device 10 controls the transfer of the access request and determines. Data is acquired from the device and transmitted to the terminal 2.

IoTプラットフォーム3は、デバイス4−1、・・・、4−nに接続して、デバイス4−1、・・・、4−nの属性や動作状態を検出して、検出結果を転送装置10に通知するモジュールである。デバイス4−1、・・・、4−nは例えば、IoT機器に該当する。 The IoT platform 3 connects to devices 4-1, ..., 4-n, detects the attributes and operating states of devices 4-1, ..., 4-n, and transfers the detection result to the transfer device 10. It is a module that notifies to. Devices 4-1 ..., 4-n correspond to, for example, IoT devices.

<転送装置のハードウェア構成>
図3は転送装置のハードウェア構成の一例を示す図である。転送装置10は、プロセッサ100によって装置全体が制御されている。すなわち、プロセッサ100は、転送装置10の制御部として機能する。
<Hardware configuration of transfer device>
FIG. 3 is a diagram showing an example of the hardware configuration of the transfer device. The entire device of the transfer device 10 is controlled by the processor 100. That is, the processor 100 functions as a control unit of the transfer device 10.

プロセッサ100には、バス103を介して、メモリ101および複数の周辺機器が接続されている。プロセッサ100は、マルチプロセッサであってもよい。プロセッサ100は、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、またはPLD(Programmable Logic Device)である。またプロセッサ100は、CPU、MPU、DSP、ASIC、PLDのうちの2以上の要素の組み合わせであってもよい。 A memory 101 and a plurality of peripheral devices are connected to the processor 100 via a bus 103. The processor 100 may be a multiprocessor. The processor 100 is, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), or a PLD (Programmable Logic Device). Further, the processor 100 may be a combination of two or more elements of the CPU, MPU, DSP, ASIC, and PLD.

メモリ101は、転送装置10の主記憶装置として使用される。メモリ101には、プロセッサ100に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、メモリ101には、プロセッサ100による処理に要する各種データが格納される。 The memory 101 is used as the main storage device of the transfer device 10. At least a part of an OS (Operating System) program or an application program to be executed by the processor 100 is temporarily stored in the memory 101. Further, the memory 101 stores various data required for processing by the processor 100.

また、メモリ101は、転送装置10の補助記憶装置としても使用され、OSのプログラム、アプリケーションプログラム、および各種データが格納される。メモリ101は、補助記憶装置として、フラッシュメモリやSSD(Solid State Drive)等の半導体記憶装置やHDD(Hard Disk Drive)等の磁気記録媒体を含んでもよい。 The memory 101 is also used as an auxiliary storage device for the transfer device 10, and stores OS programs, application programs, and various data. The memory 101 may include a semiconductor storage device such as a flash memory or SSD (Solid State Drive) or a magnetic recording medium such as an HDD (Hard Disk Drive) as an auxiliary storage device.

バス103に接続されている周辺機器としては、入出力インタフェース102およびネットワークインタフェース104がある。入出力インタフェース102は、図2に示した端末2とのインタフェース制御を行う。または入出力インタフェース102は、プロセッサ100からの命令にしたがって転送装置10の状態を表示する表示装置として機能するモニタ(例えば、LED(Light Emitting Diode)やLCD(Liquid Crystal Display)等)が接続可能である。 Peripheral devices connected to the bus 103 include an input / output interface 102 and a network interface 104. The input / output interface 102 controls the interface with the terminal 2 shown in FIG. Alternatively, the input / output interface 102 can be connected to a monitor (for example, LED (Light Emitting Diode), LCD (Liquid Crystal Display), etc.) that functions as a display device that displays the status of the transfer device 10 according to an instruction from the processor 100. be.

また、入出力インタフェース102は、キーボードやマウス等の情報入力装置を接続可能であって、情報入力装置から送られてくる信号をプロセッサ100に送信する。
さらにまた、入出力インタフェース102は、周辺機器を接続するための通信インタフェースとしても機能する。例えば、入出力インタフェース102は、レーザ光等を利用して、光ディスクに記録されたデータの読み取りを行う光学ドライブ装置を接続することができる。光ディスクは、光の反射によって読み取り可能なようにデータが記録された可搬型の記録媒体である。光ディスクには、DVD(Digital Versatile Disc)、DVD−RAM(Random Access Memory)、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(Rewritable)等がある。
Further, the input / output interface 102 can be connected to an information input device such as a keyboard or a mouse, and transmits a signal sent from the information input device to the processor 100.
Furthermore, the input / output interface 102 also functions as a communication interface for connecting peripheral devices. For example, the input / output interface 102 can be connected to an optical drive device that reads data recorded on an optical disk by using a laser beam or the like. An optical disc is a portable recording medium on which data is recorded so that it can be read by reflection of light. Optical discs include DVD (Digital Versatile Disc), DVD-RAM (Random Access Memory), CD-ROM (Compact Disc Read Only Memory), CD-R (Recordable) / RW (Rewritable), and the like.

また、入出力インタフェース102は、メモリ装置やメモリリーダライタを接続することができる。メモリ装置は、入出力インタフェース102との通信機能を搭載した記録媒体である。メモリリーダライタは、メモリカードへのデータの書き込み、またはメモリカードからのデータの読み出しを行う装置である。メモリカードは、カード型の記録媒体である。 Further, the input / output interface 102 can be connected to a memory device or a memory reader / writer. The memory device is a recording medium equipped with a communication function with the input / output interface 102. A memory reader / writer is a device that writes data to or reads data from a memory card. A memory card is a card-type recording medium.

ネットワークインタフェース104は、図2に示したIoTプラットフォーム3とのインタフェース制御を行う。またはネットワークインタフェース104は、ネットワークとのインタフェース制御を行うことができ、例えば、NIC(Network Interface Card)、無線LAN(Local Area Network)カード等が使用できる。ネットワークインタフェース104で受信されたデータは、メモリ101やプロセッサ100に出力される。 The network interface 104 controls the interface with the IoT platform 3 shown in FIG. Alternatively, the network interface 104 can control the interface with the network, and for example, a NIC (Network Interface Card), a wireless LAN (Local Area Network) card, or the like can be used. The data received by the network interface 104 is output to the memory 101 and the processor 100.

以上のようなハードウェア構成によって、転送装置10の処理機能を実現することができる。例えば、転送装置10は、プロセッサ100がそれぞれ所定のプログラムを実行することで本発明の転送制御を行うことができる。 With the above hardware configuration, the processing function of the transfer device 10 can be realized. For example, the transfer device 10 can perform the transfer control of the present invention by each of the processors 100 executing a predetermined program.

転送装置10は、例えば、コンピュータで読み取り可能な記録媒体に記録されたプログラムを実行することにより、本発明の処理機能を実現する。転送装置10に実行させる処理内容を記述したプログラムは、様々な記録媒体に記録しておくことができる。 The transfer device 10 realizes the processing function of the present invention, for example, by executing a program recorded on a computer-readable recording medium. The program that describes the processing content to be executed by the transfer device 10 can be recorded on various recording media.

例えば、転送装置10に実行させるプログラムを補助記憶装置に格納しておくことができる。プロセッサ100は、補助記憶装置内のプログラムの少なくとも一部を主記憶装置にロードし、プログラムを実行する。 For example, a program to be executed by the transfer device 10 can be stored in the auxiliary storage device. The processor 100 loads at least a part of the program in the auxiliary storage device into the main storage device and executes the program.

また、光ディスク、メモリ装置、メモリカード等の可搬型記録媒体に記録しておくこともできる。可搬型記録媒体に格納されたプログラムは、例えば、プロセッサ100からの制御により、補助記憶装置にインストールされた後、実行可能となる。またプロセッサ100が、可搬型記録媒体から直接プログラムを読み出して実行することもできる。 It can also be recorded on a portable recording medium such as an optical disk, a memory device, or a memory card. The program stored in the portable recording medium can be executed after being installed in the auxiliary storage device, for example, under the control of the processor 100. The processor 100 can also read and execute the program directly from the portable recording medium.

<転送装置の機能ブロック>
図4は転送装置の機能ブロックの一例を示す図である。転送装置10は、転送制御部11およびテーブル管理部12を備える。転送制御部11は、図1の制御部1aの機能を有し、テーブル管理部12は、図1の記憶部1bの機能を有する。また、転送制御部11は図3のプロセッサ100で実現され、テーブル管理部12は、図3のメモリ101で実現される。
<Functional block of transfer device>
FIG. 4 is a diagram showing an example of a functional block of the transfer device. The transfer device 10 includes a transfer control unit 11 and a table management unit 12. The transfer control unit 11 has the function of the control unit 1a of FIG. 1, and the table management unit 12 has the function of the storage unit 1b of FIG. Further, the transfer control unit 11 is realized by the processor 100 of FIG. 3, and the table management unit 12 is realized by the memory 101 of FIG.

転送制御部11は、アクセス情報生成部11a、転送先生成/更新部11b、属性管理部11cおよびアクセス要求転送部11dを含む。また、テーブル管理部12は、転送先テーブル12aを管理する。 The transfer control unit 11 includes an access information generation unit 11a, a transfer destination generation / update unit 11b, an attribute management unit 11c, and an access request transfer unit 11d. In addition, the table management unit 12 manages the transfer destination table 12a.

アクセス情報生成部11aは、端末2(またはアプリケーション)から送信されたアクセス要求先のデバイスの属性に関連付けたアクセス情報を生成する。アクセス情報は例えば、URI(Uniform Resource Identifier)、またはURIを含むデータである。 The access information generation unit 11a generates access information associated with the attributes of the device of the access request destination transmitted from the terminal 2 (or application). The access information is, for example, a URI (Uniform Resource Identifier) or data including the URI.

転送先テーブル12aは、アクセス情報名と、転送先デバイス情報とを対応付けて記憶するテーブルである。アクセス情報名は、アクセス情報を識別するための名称であり、転送先デバイス情報は例えば、属性情報に属するデータのアクセス元のURIである。 The transfer destination table 12a is a table that stores the access information name and the transfer destination device information in association with each other. The access information name is a name for identifying the access information, and the transfer destination device information is, for example, the URI of the access source of the data belonging to the attribute information.

転送先生成/更新部11bは、属性管理部11cで管理されるデバイスの属性情報と、アクセス情報に関連付けられている属性情報との比較結果に応じて、転送先テーブル12aの登録内容の更新を行う。 The transfer destination generation / update unit 11b updates the registered contents of the transfer destination table 12a according to the comparison result between the attribute information of the device managed by the attribute management unit 11c and the attribute information associated with the access information. conduct.

属性管理部11cは、アクセス要求先のデバイスの属性情報を、IoTプラットフォーム3を通じて取得して管理する。また、属性管理部11cは、IoTプラットフォーム3を通じて取得したデバイスの属性情報と、アクセス情報に関連付けられている属性情報との比較を行い、属性情報が一致するデバイスの検出を行う。 The attribute management unit 11c acquires and manages the attribute information of the device of the access request destination through the IoT platform 3. Further, the attribute management unit 11c compares the attribute information of the device acquired through the IoT platform 3 with the attribute information associated with the access information, and detects a device having the same attribute information.

アクセス要求転送部11dは、端末2から送信されたアクセス要求を受信すると、転送先テーブル12aを参照して転送先デバイスを検出し、転送先デバイスへ(または転送先デバイスが管理するデータへ)アクセス要求を転送する。 When the access request transfer unit 11d receives the access request transmitted from the terminal 2, the access request transfer unit 11d detects the transfer destination device by referring to the transfer destination table 12a, and accesses the transfer destination device (or the data managed by the transfer destination device). Forward the request.

<転送装置の動作>
次に転送装置10の全体動作の流れについて図5を用いて説明する。なお、転送装置10の各構成要素の動作については図7以降で説明する。図5は転送装置の動作を説明するための図である。
<Operation of transfer device>
Next, the flow of the overall operation of the transfer device 10 will be described with reference to FIG. The operation of each component of the transfer device 10 will be described with reference to FIGS. 7 and 7. FIG. 5 is a diagram for explaining the operation of the transfer device.

〔ステップS11〕端末2は、開発対象のアプリケーションa1を有し、アプリケーションa1の開発に要するデバイスの属性を認識する。そして、端末2は、該属性を含めたアクセス情報生成指示を転送装置10へ送信する。なお、図5では、アプリケーションa1が端末2に含まれる構成としたが、操作端末と、アプリケーション開発端末とを分ける構成にしてもよい。 [Step S11] The terminal 2 has the application a1 to be developed, and recognizes the attributes of the device required for the development of the application a1. Then, the terminal 2 transmits an access information generation instruction including the attribute to the transfer device 10. Although the application a1 is included in the terminal 2 in FIG. 5, the operation terminal and the application development terminal may be separated from each other.

〔ステップS12〕アクセス情報生成部11aは、端末2から送信された属性に関連付けるアクセス情報(アクセス情報Xとする)を生成する。
〔ステップS12a〕アクセス情報生成部11aは、転送先生成/更新部11bに転送先設定要求を送信する。
[Step S12] The access information generation unit 11a generates access information (referred to as access information X) associated with the attribute transmitted from the terminal 2.
[Step S12a] The access information generation unit 11a transmits a transfer destination setting request to the transfer destination generation / update unit 11b.

〔ステップS13〕転送先生成/更新部11bは、アクセス情報生成部11aに対して、属性情報問合せを送信する。
〔ステップS14〕アクセス情報生成部11aは、属性情報問合せを受信すると、アクセス情報Xに関連付けられる属性情報を転送先生成/更新部11bに送信する。
[Step S13] The transfer destination generation / update unit 11b transmits an attribute information inquiry to the access information generation unit 11a.
[Step S14] When the access information generation unit 11a receives the attribute information inquiry, the access information generation unit 11a transmits the attribute information associated with the access information X to the transfer destination generation / update unit 11b.

〔ステップS15〕転送先生成/更新部11bは、属性管理部11cに対して、属性情報一致問合せを送信する。
〔ステップS15a〕属性管理部11cは、属性情報一致問合せを受信すると、IoTプラットフォーム3に対して属性情報一致問合せを送信する。
[Step S15] The transfer destination generation / update unit 11b transmits an attribute information matching inquiry to the attribute management unit 11c.
[Step S15a] When the attribute management unit 11c receives the attribute information matching inquiry, it transmits the attribute information matching inquiry to the IoT platform 3.

〔ステップS15b〕IoTプラットフォーム3は、属性情報一致問合せを受信すると、デバイスの現時点の属性情報を取得し、属性管理部11cに送信する。
〔ステップS15c〕属性管理部11cは、IoTプラットフォーム3から取得した属性情報と、アクセス情報Xに関連付けられる属性情報とを比較して、属性情報が一致するデバイスを抽出する。
[Step S15b] When the IoT platform 3 receives the attribute information matching inquiry, it acquires the current attribute information of the device and transmits it to the attribute management unit 11c.
[Step S15c] The attribute management unit 11c compares the attribute information acquired from the IoT platform 3 with the attribute information associated with the access information X, and extracts devices having matching attribute information.

〔ステップS16〕転送先生成/更新部11bは、転送先テーブル12aに対して、アクセス情報Xに対応する転送先デバイス情報の欄に、属性管理部11cで抽出されたデバイスのURIを登録してテーブル更新を行う。 [Step S16] The transfer destination generation / update unit 11b registers the URI of the device extracted by the attribute management unit 11c in the transfer destination device information column corresponding to the access information X in the transfer destination table 12a. Update the table.

〔ステップS17〕アプリケーションa1は、アクセス情報生成部11aで生成されたアクセス情報XのURIに対してアクセス要求を送信する。
〔ステップS18a〕アクセス要求転送部11dは、アクセス要求受信時、転送先テーブル12aを参照して転送先デバイスを検出する。
[Step S17] The application a1 transmits an access request to the URI of the access information X generated by the access information generation unit 11a.
[Step S18a] When the access request transfer unit 11d receives the access request, the access request transfer unit 11d detects the transfer destination device with reference to the transfer destination table 12a.

〔ステップS18b〕アクセス要求転送部11dは、検出した転送先デバイスへアクセス要求を転送する。
なお、複数の転送装置10が相互接続してネットワークを構成する場合、転送先テーブル12aの転送先デバイス情報には、他の転送装置が記述される場合も考えられる。このような構成の場合、属性管理部11cは、転送先テーブル12aの更新時にIoTプラットフォーム3にデバイスの属性を問い合わせるのと同様に、他の転送装置に対して問い合わせることができる。
[Step S18b] The access request transfer unit 11d transfers the access request to the detected transfer destination device.
When a plurality of transfer devices 10 are interconnected to form a network, it is conceivable that another transfer device may be described in the transfer destination device information in the transfer destination table 12a. In such a configuration, the attribute management unit 11c can make an inquiry to another transfer device in the same way as inquiring the attribute of the device to the IoT platform 3 when the transfer destination table 12a is updated.

すなわち、属性管理部11cが他の転送装置から利用可能なデバイスの属性情報を問い合わせ、属性管理部11cによって、アクセス情報に関連付けられた属性と一致するデバイスが他の転送装置にあるか否かが判断されることになる。 That is, the attribute management unit 11c inquires about the attribute information of the device that can be used from the other transfer device, and the attribute management unit 11c determines whether or not the other transfer device has a device that matches the attribute associated with the access information. It will be judged.

一方、転送装置10内の転送制御部11における上記のテーブル更新処理は、例えば、転送制御部11がアプリケーションa1から送信されたアクセス要求の受信時に行うことができる。 On the other hand, the above table update process in the transfer control unit 11 in the transfer device 10 can be performed, for example, when the transfer control unit 11 receives the access request transmitted from the application a1.

または、転送制御部11がタイマを有し、タイマ起動時にテーブル更新処理を行うことができる。さらに、転送制御部11がIoTプラットフォーム3から送信された属性情報更新メッセージを受信した場合に、テーブル更新処理を行うこともできる。 Alternatively, the transfer control unit 11 has a timer, and the table update process can be performed when the timer is started. Further, when the transfer control unit 11 receives the attribute information update message transmitted from the IoT platform 3, the table update process can be performed.

なお、上記では属性管理部11cがアクセス情報Xに関連付けられた属性情報に一致するデバイスを抽出するとしたが、転送先生成/更新部11bが属性管理部11cで管理される属性情報を受信して、デバイス抽出処理を実行する構成にしてもよい。 In the above, it is assumed that the attribute management unit 11c extracts the device that matches the attribute information associated with the access information X, but the transfer destination generation / update unit 11b receives the attribute information managed by the attribute management unit 11c. , The device may be configured to execute the device extraction process.

<転送先テーブルの更新例>
図6は転送先テーブルの更新の一例を説明するための図である。時間T1において、場所Aにはデバイス#1、#2が位置しており、属性管理部11cは、デバイス#1、#2の属性情報を場所Aと管理する。
<Example of updating the forwarding table>
FIG. 6 is a diagram for explaining an example of updating the transfer destination table. At time T1, devices # 1 and # 2 are located at location A, and the attribute management unit 11c manages the attribute information of devices # 1 and # 2 as location A.

また、アプリケーションa1は、場所Aに位置するデバイスへのアクセス要求を行うものとし、場所Aに関連付くアクセス情報がアクセス情報Yと生成されたとする。このとき、転送先テーブル12a−1には、例えば、(アクセス情報名、転送先デバイス情報)=(Y、デバイス#1)が登録される。 Further, it is assumed that the application a1 makes an access request to the device located at the place A, and the access information related to the place A is generated as the access information Y. At this time, for example, (access information name, transfer destination device information) = (Y, device # 1) is registered in the transfer destination table 12a-1.

すなわち、この場合、アプリケーションa1は、場所Aに位置するデバイスとして、デバイス#1に対してアクセス要求を送信して、デバイス#1から所定のデータを収集する。 That is, in this case, the application a1 transmits an access request to the device # 1 as a device located at the location A, and collects predetermined data from the device # 1.

一方、時間T1から一定時間経過した時間T2では、デバイス#1の設置場所が場所Aから場所Bへ移動したものとする。
時間T2において、場所Aにはデバイス#2が位置し、場所Bにはデバイス#1が位置する。このため、属性管理部11cは、デバイス#2の属性情報を場所A、デバイス#1の属性情報を場所Bと管理する。
On the other hand, at the time T2 when a certain time has elapsed from the time T1, it is assumed that the installation location of the device # 1 has moved from the location A to the location B.
At time T2, device # 2 is located at location A and device # 1 is located at location B. Therefore, the attribute management unit 11c manages the attribute information of the device # 2 as the location A and the attribute information of the device # 1 as the location B.

属性管理部11cは、テーブル更新タイミングに達した場合、新たに取得して管理している属性情報と、アクセス情報Yに関連付けられている属性情報とを比較して、一致するデバイスを抽出する。 When the table update timing is reached, the attribute management unit 11c compares the newly acquired and managed attribute information with the attribute information associated with the access information Y, and extracts a matching device.

この例では、アクセス情報Yに関連付けられている属性情報は、場所Aであるから、場所Aの属性情報を持つデバイスはデバイス#2であると判定され、デバイス#2が抽出されることになる。 In this example, since the attribute information associated with the access information Y is the location A, it is determined that the device having the attribute information of the location A is the device # 2, and the device # 2 is extracted. ..

よって、この結果が転送先生成/更新部11bに送信されることで、転送先生成/更新部11bによって、転送先テーブル12a−1の更新が行われて、転送先デバイス情報がデバイス#1からデバイス#2へ書き替えられる。すなわち、更新後の転送先テーブル12a−2は、(アクセス情報名、転送先デバイス情報)=(Y、デバイス#2)と登録されたテーブルとなる。 Therefore, when this result is transmitted to the transfer destination generation / update unit 11b, the transfer destination generation / update unit 11b updates the transfer destination table 12a-1, and the transfer destination device information is transmitted from the device # 1. Rewritten to device # 2. That is, the updated transfer destination table 12a-2 becomes a table registered as (access information name, transfer destination device information) = (Y, device # 2).

このような更新が行われることで、属性に変化が生じても要求通りのデータのアクセスが可能になる。すなわち、アクセス情報Yを通じてアクセスしていたデバイス#1の属性が場所Aから場所Bへ変化しても、アクセス情報Yには場所Aに位置するデバイス#2が登録される。これにより、アクセス情報Yを介してアクセス要求を送信するアプリケーションa1は、当初要求通りの場所Aに属するデータのアクセス元にアクセスすることができる。 By performing such an update, it is possible to access the data as requested even if the attribute changes. That is, even if the attribute of the device # 1 accessed through the access information Y changes from the place A to the place B, the device # 2 located at the place A is registered in the access information Y. As a result, the application a1 that transmits the access request via the access information Y can access the access source of the data belonging to the location A as originally requested.

<アクセス情報生成処理>
以降、転送装置10の各構成要素の動作について、フローチャートを用いて詳しく説明する。図7はアクセス情報生成部の動作を示すフローチャートである。
<Access information generation process>
Hereinafter, the operation of each component of the transfer device 10 will be described in detail with reference to a flowchart. FIG. 7 is a flowchart showing the operation of the access information generation unit.

〔ステップS21〕アクセス情報生成部11aは、ユーザが操作する端末2から送信されたアクセス情報生成指示を受信する。アクセス情報生成指示には、ユーザ所望の属性情報のリストが含まれる。例えば、location=nakahara、type=temperature等と設定される。 [Step S21] The access information generation unit 11a receives the access information generation instruction transmitted from the terminal 2 operated by the user. The access information generation instruction includes a list of attribute information desired by the user. For example, location = nakahara, type = temperature, etc. are set.

〔ステップS22〕アクセス情報生成部11aは、アクセス情報を生成する。生成されたアクセス情報には、ステップS21で受信した属性情報のリストが関連付けられる。また、生成されたアクセス情報は、URIを有し、アプリケーションa1がURIにリクエストを出すと、当該アクセス情報がリクエストを受ける。 [Step S22] The access information generation unit 11a generates access information. The generated access information is associated with the list of attribute information received in step S21. Further, the generated access information has a URI, and when the application a1 issues a request to the URI, the access information receives the request.

例えば、http://10.1.1.1/obj−rがURIとすると、アプリケーションa1が10.1.1.1にHTTP(Hypertext Transfer Protocol)接続して、GET/obj−rのコマンドを実行すると、リクエストが当該アクセス情報に送られてくる。 For example, if http: // 10.1.1.1 / obj-r is a URI, application a1 connects to 10.1.1.1 with HTTP (Hypertext Transfer Protocol) and commands GET / obj-r. When you execute, a request is sent to the access information.

〔ステップS23〕アクセス情報生成部11aは、転送先生成/更新部11bに転送先設定要求(アクセス情報名を含む)を送信する。
〔ステップS24〕アクセス情報生成部11aは、転送先生成/更新部11bから転送先生成完了を受信する。
[Step S23] The access information generation unit 11a transmits a transfer destination setting request (including the access information name) to the transfer destination generation / update unit 11b.
[Step S24] The access information generation unit 11a receives the transfer destination generation completion from the transfer destination generation / update unit 11b.

〔ステップS25〕アクセス情報生成部11aは、アクセス情報のURIを含むアクセス情報生成完了を端末2へ通知する。
<アクセス情報生成時の転送先生成/更新処理部の動作>
図8はアクセス情報生成時の転送先生成/更新処理部の動作を示すフローチャートである。テーブル更新前の転送先生成/更新部11bの動作を示す。
[Step S25] The access information generation unit 11a notifies the terminal 2 of the completion of access information generation including the URI of the access information.
<Operation of forwarding destination generation / update processing unit when generating access information>
FIG. 8 is a flowchart showing the operation of the transfer destination generation / update processing unit when the access information is generated. The operation of the transfer destination generation / update unit 11b before updating the table is shown.

〔ステップS30〕転送先生成/更新部11bは、アクセス情報生成部11aから送信された転送先設定要求を受信する(アクセス情報名がパラメタとして設定されている)。
〔ステップS31〕転送先生成/更新部11bは、属性管理部11cにデバイスの属性情報の更新要求を送信する。
[Step S30] The transfer destination generation / update unit 11b receives the transfer destination setting request transmitted from the access information generation unit 11a (the access information name is set as a parameter).
[Step S31] The transfer destination generation / update unit 11b transmits a device attribute information update request to the attribute management unit 11c.

〔ステップS32〕転送先生成/更新部11bは、属性管理部11cから送信された、デバイスの属性情報更新完了通知を受信する。
〔ステップS33〕転送先生成/更新部11bは、アクセス情報生成部11aに対して、アクセス情報生成部11aで生成されたアクセス情報に関連付けられている属性情報のリストを要求する。
[Step S32] The transfer destination generation / update unit 11b receives the device attribute information update completion notification sent from the attribute management unit 11c.
[Step S33] The transfer destination generation / update unit 11b requests the access information generation unit 11a to list the attribute information associated with the access information generated by the access information generation unit 11a.

〔ステップS34〕転送先生成/更新部11bは、アクセス情報に関連付けられている属性情報のリストを受信する。
〔ステップS35〕転送先生成/更新部11bは、属性管理部11cに属性情報と一致するデバイスを問い合わせる。
[Step S34] The transfer destination generation / update unit 11b receives a list of attribute information associated with the access information.
[Step S35] The transfer destination generation / update unit 11b inquires the attribute management unit 11c of a device that matches the attribute information.

〔ステップS36〕転送先生成/更新部11bは、属性管理部11cから送信された、属性情報と一致するデバイスを、ステップS35の問合せの応答によって受信する。
〔ステップS37〕転送先生成/更新部11bは、転送先テーブル12aに、転送先エントリ生成要求を送信する(転送先エントリのパラメタは、アクセス情報名と転送先デバイス名(転送先デバイス情報)である)。
[Step S36] The transfer destination generation / update unit 11b receives the device that matches the attribute information transmitted from the attribute management unit 11c in response to the inquiry in step S35.
[Step S37] The transfer destination generation / update unit 11b transmits a transfer destination entry generation request to the transfer destination table 12a (the parameters of the transfer destination entry are the access information name and the transfer destination device name (transfer destination device information). be).

〔ステップS38〕転送先生成/更新部11bは、転送先テーブル12aを管理するテーブル管理部12から送信された、転送先エントリ生成完了の通知を受信する。
〔ステップS39〕転送先生成/更新部11bは、アクセス情報生成部11aに、転送先エントリ生成完了を送信する。
[Step S38] The transfer destination generation / update unit 11b receives the transfer destination entry generation completion notification sent from the table management unit 12 that manages the transfer destination table 12a.
[Step S39] The transfer destination generation / update unit 11b transmits the transfer destination entry generation completion to the access information generation unit 11a.

<転送先テーブルのエントリ生成>
図9は転送先テーブルのエントリ生成時の動作を示すフローチャートである。
〔ステップS41〕テーブル管理部12は、転送先生成/更新部11bから送信された、転送先エントリ生成要求を受信する。
<Generation of forwarding table entry>
FIG. 9 is a flowchart showing an operation at the time of generating an entry in the transfer destination table.
[Step S41] The table management unit 12 receives the transfer destination entry generation request transmitted from the transfer destination generation / update unit 11b.

〔ステップS42〕テーブル管理部12は、転送先テーブル12aに転送先エントリ(パラメタは、アクセス情報名および転送先デバイス情報)を生成する。
〔ステップS43〕テーブル管理部12は、転送先生成/更新部11bに、転送先エントリ生成完了を送信する。
[Step S42] The table management unit 12 generates a transfer destination entry (parameters are an access information name and a transfer destination device information) in the transfer destination table 12a.
[Step S43] The table management unit 12 transmits the transfer destination entry generation completion to the transfer destination generation / update unit 11b.

<属性管理部の動作>
次に属性管理部11cの動作について、図10、図11を用いて説明する。図10は属性情報更新要求を受信した場合の動作を示すフローチャートである。
<Operation of attribute management unit>
Next, the operation of the attribute management unit 11c will be described with reference to FIGS. 10 and 11. FIG. 10 is a flowchart showing an operation when an attribute information update request is received.

〔ステップS51〕属性管理部11cは、転送先生成/更新部11bから送信された、デバイスの属性情報更新要求を受信する。
〔ステップS52〕属性管理部11cは、IoTプラットフォーム3に、デバイスの属性情報を問い合わせる。
[Step S51] The attribute management unit 11c receives the device attribute information update request transmitted from the transfer destination generation / update unit 11b.
[Step S52] The attribute management unit 11c inquires of the IoT platform 3 for the attribute information of the device.

〔ステップS53〕属性管理部11cは、IoTプラットフォーム3から送信された、IoTプラットフォーム3に現在登録されているデバイスの属性情報を、ステップS52の問合せの応答によって受信する。 [Step S53] The attribute management unit 11c receives the attribute information of the device currently registered in the IoT platform 3 transmitted from the IoT platform 3 in response to the inquiry in step S52.

〔ステップS54〕属性管理部11cは、受信した属性情報を記憶する。
〔ステップS55〕属性管理部11cは、転送先生成/更新部11bに、デバイスの属性情報更新完了を送信する。
[Step S54] The attribute management unit 11c stores the received attribute information.
[Step S55] The attribute management unit 11c transmits the completion of updating the attribute information of the device to the transfer destination generation / update unit 11b.

図11は属性情報一致問合せを受信した場合の動作を示すフローチャートである。
〔ステップS61〕属性管理部11cは、転送先生成/更新部11bから送信された、属性情報一致問合せ(属性情報に一致するデバイスの問合せ要求)を受信する(パラメタは、属性情報リストである)。
FIG. 11 is a flowchart showing an operation when an attribute information matching inquiry is received.
[Step S61] The attribute management unit 11c receives an attribute information match inquiry (inquiry request for a device that matches the attribute information) sent from the transfer destination generation / update unit 11b (the parameter is an attribute information list). ..

〔ステップS62〕属性管理部11cは、転送先生成/更新部11bから送信された属性情報一致問合せに含まれる属性情報(アクセス情報に関連付けられた属性情報)と、属性情報の取得更新後に記憶している属性情報とを比較し、属性情報が一致するデバイスを検出する。 [Step S62] The attribute management unit 11c stores the attribute information (attribute information associated with the access information) included in the attribute information matching inquiry transmitted from the transfer destination generation / update unit 11b after the acquisition and update of the attribute information. Detects devices that match the attribute information by comparing with the attribute information.

〔ステップS63〕属性管理部11cは、転送先生成/更新部11bに対して、検出したデバイスの情報を、ステップS61の問合せの応答によって送信する。
<転送先テーブルの更新処理>
図12は転送先テーブルの更新処理の動作を示すフローチャートである。
[Step S63] The attribute management unit 11c transmits the detected device information to the transfer destination generation / update unit 11b in response to the inquiry in step S61.
<Update processing of forwarding table>
FIG. 12 is a flowchart showing the operation of the update processing of the transfer destination table.

〔ステップS71〕転送先生成/更新部11bは、例えば、タイマ起動によって、転送先更新処理を開始する。
〔ステップS72〕転送先生成/更新部11bは、属性管理部11cに、デバイスの属性情報更新要求を送信する。
[Step S71] The transfer destination generation / update unit 11b starts the transfer destination update process by, for example, starting a timer.
[Step S72] The transfer destination generation / update unit 11b transmits a device attribute information update request to the attribute management unit 11c.

〔ステップS73〕転送先生成/更新部11bは、属性管理部11cから送信された、デバイスの属性情報更新完了を受信する。
〔ステップS74〕転送先生成/更新部11bは、転送先テーブル12aに、転送先エントリの一覧を要求する。
[Step S73] The transfer destination generation / update unit 11b receives the device attribute information update completion transmitted from the attribute management unit 11c.
[Step S74] The transfer destination generation / update unit 11b requests a list of transfer destination entries from the transfer destination table 12a.

〔ステップS75〕転送先生成/更新部11bは、転送先エントリの一覧を、ステップS74の要求の応答によって受信する。
〔ステップS76〕転送先生成/更新部11bは、転送先テーブル12aのエントリ毎に以下のステップS76−1からステップS76−6を実行する。
[Step S75] The transfer destination generation / update unit 11b receives the list of transfer destination entries in response to the request in step S74.
[Step S76] The transfer destination generation / update unit 11b executes the following steps S76-1 to S76-6 for each entry in the transfer destination table 12a.

〔ステップS76−1〕転送先生成/更新部11bは、アクセス情報生成部11aに対して、エントリのアクセス情報名に対応するアクセス情報に関連付けられた属性情報のリストを要求する。 [Step S76-1] The transfer destination generation / update unit 11b requests the access information generation unit 11a to list the attribute information associated with the access information corresponding to the access information name of the entry.

〔ステップS76−2〕転送先生成/更新部11bは、エントリのアクセス情報名に対応するアクセス情報に関連付けられた属性情報のリストを受信する。
〔ステップS76−3〕転送先生成/更新部11bは、属性管理部11cに対して、ステップS76−2で受信した属性情報を含む属性情報一致問合せを送信する。
[Step S76-2] The transfer destination generation / update unit 11b receives a list of attribute information associated with the access information corresponding to the access information name of the entry.
[Step S76-3] The transfer destination generation / update unit 11b transmits an attribute information matching inquiry including the attribute information received in step S76-2 to the attribute management unit 11c.

〔ステップS76−4〕転送先生成/更新部11bは、属性管理部11cから送信された、属性情報と一致するデバイスの情報をステップS76−3の問合せの応答によって受信する。 [Step S76-4] The transfer destination generation / update unit 11b receives the device information that matches the attribute information transmitted from the attribute management unit 11c in response to the inquiry in step S76-3.

〔ステップS76−5〕転送先生成/更新部11bは、転送先テーブル12aに、転送先エントリ更新要求を送信して転送先テーブル12aの登録内容を更新する。
〔ステップS76−6〕転送先生成/更新部11bは、テーブル管理部12から送信された、転送先エントリ更新完了の通知を受信する。
[Step S76-5] The transfer destination generation / update unit 11b transmits a transfer destination entry update request to the transfer destination table 12a to update the registered contents of the transfer destination table 12a.
[Step S76-6] The transfer destination generation / update unit 11b receives the transfer destination entry update completion notification sent from the table management unit 12.

<転送先エントリ一覧取得>
図13は転送先エントリ一覧取得の動作を示すフローチャートである。
〔ステップS81〕テーブル管理部12は、転送先生成/更新部11bから送信された転送先エントリ一覧要求を受信する。
<Get list of forwarding entries>
FIG. 13 is a flowchart showing the operation of acquiring the transfer destination entry list.
[Step S81] The table management unit 12 receives the transfer destination entry list request transmitted from the transfer destination generation / update unit 11b.

〔ステップS82〕テーブル管理部12は、転送先テーブル12aの転送先エントリ一覧を、ステップS81の要求の応答によって送信する。
<転送先エントリの更新>
図14は転送先エントリの更新の動作を示すフローチャートである。
[Step S82] The table management unit 12 transmits a list of transfer destination entries in the transfer destination table 12a in response to the request in step S81.
<Update of forwarding entry>
FIG. 14 is a flowchart showing the operation of updating the transfer destination entry.

〔ステップS91〕テーブル管理部12は、転送先生成/更新部11bから送信された転送先エントリ更新要求を受信する。
〔ステップS92〕テーブル管理部12は、転送先テーブル12aの転送先エントリを更新する。
[Step S91] The table management unit 12 receives the transfer destination entry update request transmitted from the transfer destination generation / update unit 11b.
[Step S92] The table management unit 12 updates the transfer destination entry of the transfer destination table 12a.

〔ステップS93〕テーブル管理部12は、転送先生成/更新部11bに転送先エントリ更新完了を送信する。
<転送装置の適用例>
次に転送装置10の適用例について説明する。図15は転送装置の適用例を説明するための図である。A社は、アプリケーションa1を開発する端末2を有し、B社は、転送装置10および工作機械を有している。A社は、B社に対象物5の加工作業を依頼し、A社は加工作業の進捗度をモニタできるとする。
[Step S93] The table management unit 12 transmits the transfer destination entry update completion to the transfer destination generation / update unit 11b.
<Application example of transfer device>
Next, an application example of the transfer device 10 will be described. FIG. 15 is a diagram for explaining an application example of the transfer device. Company A has a terminal 2 for developing application a1, and company B has a transfer device 10 and a machine tool. Company A requests company B to process the object 5, and company A can monitor the progress of the processing work.

また、B社は工作機械としてP社製の工作機械Mpと、Q社製の工作機械Mqを備えており、両方を使用して加工を行うものとする(どちらを使用するかは他社に公開しない)。 In addition, Company B has a machine tool Mp made by Company P and a machine tool Mq made by Company Q as machine tools, and it is assumed that both are used for processing (which one is used is disclosed to other companies). do not).

〔状態st11〕B社は、工作機械Mpにより対象物5の加工を行っている。工作機械Mpの属性情報は、(場所、装置名、加工対象物)=(B社、Mp、5)とし、この属性情報にアクセス情報Zが関連付けられるとする。転送装置10は、転送先テーブル12a−3において、(アクセス情報名、転送先デバイス情報)=(Z、Mp)を登録する。 [State st11] Company B is processing the object 5 with the machine tool Mp. It is assumed that the attribute information of the machine tool Mp is (location, device name, object to be machined) = (Company B, Mp, 5), and the access information Z is associated with this attribute information. The transfer device 10 registers (access information name, transfer destination device information) = (Z, Mp) in the transfer destination table 12a-3.

A社内のアプリケーションa1は、対象物5の作業進捗度を知るためにアクセス情報Zにアクセス要求を送信する。転送装置10は、アクセス要求を受信すると、転送先テーブル12a−3を参照して、転送先デバイス情報が工作機械Mpであることを認識する。そして、転送装置10は、工作機械Mpにアクセス要求を送信して、工作機械Mpから対象物5の加工作業の進捗度データを取得し、取得した進捗度データをアプリケーションa1へ送信する。 The application a1 in the company A sends an access request to the access information Z in order to know the work progress of the object 5. Upon receiving the access request, the transfer device 10 refers to the transfer destination table 12a-3 and recognizes that the transfer destination device information is the machine tool Mp. Then, the transfer device 10 transmits an access request to the machine tool Mp, acquires the progress data of the machining work of the object 5 from the machine tool Mp, and transmits the acquired progress data to the application a1.

〔状態st12〕B社において、対象物5の加工が工作機械Mpから工作機械Mqに移り、工作機械Mqで加工作業が継続されるとする。工作機械の属性情報は、(場所、装置名、加工対象物)=(B社、Mq、5)となり、この属性情報にアクセス情報Zが関連付けられる。よって、転送装置10は、(アクセス情報名、転送先デバイス情報)=(Z、Mq)を登録した、更新後の転送先テーブル12a−4を生成する。 [State st12] At Company B, it is assumed that the machining of the object 5 is transferred from the machine tool Mp to the machine tool Mq, and the machining work is continued on the machine tool Mq. The attribute information of the machine tool is (location, device name, object to be machined) = (Company B, Mq, 5), and access information Z is associated with this attribute information. Therefore, the transfer device 10 generates the updated transfer destination table 12a-4 in which (access information name, transfer destination device information) = (Z, Mq) is registered.

A社内のアプリケーションa1は、対象物5の作業進捗度を知るためにアクセス情報Zにアクセス要求を送信する。転送装置10は、アクセス要求を受信すると、転送先テーブル12a−4を参照して、転送先デバイス情報が工作機械Mqであることを認識する。そして、転送装置10は、工作機械Mqにアクセス要求を送信して、工作機械Mqから対象物5の加工作業の進捗度データを取得し、取得した進捗度データを端末2へ送信する。 The application a1 in the company A sends an access request to the access information Z in order to know the work progress of the object 5. Upon receiving the access request, the transfer device 10 refers to the transfer destination table 12a-4 and recognizes that the transfer destination device information is the machine tool Mq. Then, the transfer device 10 transmits an access request to the machine tool Mq, acquires the progress data of the machining work of the object 5 from the machine tool Mq, and transmits the acquired progress data to the terminal 2.

このように、転送装置10の機能によって、A社はアクセス情報Zにアクセス要求を送信するだけで、B社内で対象物5を加工する工作機械が異なっても、対象物5の作業進捗度を取得することができる。 In this way, by the function of the transfer device 10, Company A simply sends an access request to the access information Z, and even if the machine tools that process the object 5 are different in B, the work progress of the object 5 can be determined. Can be obtained.

なお、上記の例では、転送装置10はB社に設置するとしたが、A社にも設置してネットワークを構成してもよいし、ネットワーク上の集中ノードに転送装置10の機能を持たせてもよい。 In the above example, the transfer device 10 is installed in company B, but it may be installed in company A to form a network, or a centralized node on the network may be provided with the function of the transfer device 10. May be good.

以上説明したように、転送装置10では、デバイスの属性に関連付けたアクセス情報を生成し、属性の変化に応じて属性とアクセス情報の対応関係を更新し、アクセス情報を用いてアクセス要求を転送する。これにより、属性が変化しても当初要求通りの属性情報を持つ所定デバイスへのアクセスが可能になる。 As described above, the transfer device 10 generates access information associated with the attribute of the device, updates the correspondence between the attribute and the access information according to the change of the attribute, and transfers the access request using the access information. .. As a result, even if the attribute changes, it is possible to access a predetermined device having the attribute information as originally requested.

上記で説明した本発明の転送装置1、10の処理機能は、コンピュータによって実現することができる。この場合、転送装置1、10が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。 The processing functions of the transfer devices 1 and 10 of the present invention described above can be realized by a computer. In this case, a program describing the processing contents of the functions that the transfer devices 1 and 10 should have is provided. By executing the program on a computer, the above processing function is realized on the computer.

処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記憶装置、光ディスク、光磁気記録媒体、半導体メモリ等がある。磁気記憶装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープ等がある。光ディスクには、DVD、DVD−RAM、CD−ROM/RW等がある。光磁気記録媒体には、MO(Magneto Optical disk)等がある。 The program describing the processing content can be recorded on a computer-readable recording medium. Computer-readable recording media include magnetic storage devices, optical disks, opto-magnetic recording media, semiconductor memories, and the like. Magnetic storage devices include hard disk devices (HDD), flexible disks (FD), magnetic tapes, and the like. Optical discs include DVDs, DVD-RAMs, CD-ROMs / RWs, and the like. The magneto-optical recording medium includes MO (Magneto Optical disk) and the like.

プログラムを流通させる場合、例えば、そのプログラムが記録されたDVD、CD−ROM等の可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。 When a program is distributed, for example, a portable recording medium such as a DVD or a CD-ROM on which the program is recorded is sold. It is also possible to store the program in the storage device of the server computer and transfer the program from the server computer to another computer via the network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。 The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes the processing according to the program. The computer can also read the program directly from the portable recording medium and execute the processing according to the program.

また、コンピュータは、ネットワークを介して接続されたサーバコンピュータからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。また、上記の処理機能の少なくとも一部を、DSP、ASIC、PLD等の電子回路で実現することもできる。 In addition, the computer can sequentially execute processing according to the received program each time the program is transferred from the server computer connected via the network. Further, at least a part of the above processing functions can be realized by an electronic circuit such as a DSP, ASIC, or PLD.

以上、実施の形態を例示したが、実施の形態で示した各部の構成は同様の機能を有する他のものに置換することができる。また、他の任意の構成物や工程が付加されてもよい。さらに、前述した実施の形態のうちの任意の2以上の構成(特徴)を組み合わせたものであってもよい。 Although the embodiment has been illustrated above, the configuration of each part shown in the embodiment can be replaced with another having the same function. Further, any other components or processes may be added. Further, any two or more configurations (features) of the above-described embodiments may be combined.

1 転送装置
1a 制御部
1b 記憶部
2 端末
st1、st2 状態
d1 アクセス情報
#1、#2 デバイス
P1、P2 場所
1 Transfer device 1a Control unit 1b Storage unit 2 Terminal st1, st2 Status d1 Access information # 1, # 2 Device P1, P2 Location

Claims (4)

属性情報と、前記属性情報に属するデータのアクセス元にアクセスするためのアクセス情報とを関連付けて記憶する記憶部と、
前記属性情報を所定契機で更新し、前記アクセス元へのアクセス要求を受信した場合、前記属性情報に関連付けられた前記アクセス情報を用いて前記アクセス要求を転送する制御部と、
を備え、
前記制御部は、
前記所定契機で更新した第1の属性情報のうちから、前記アクセス情報に関連付けられている第2の属性情報を検出し、検出した前記第2の属性情報に属する前記アクセス元に対して、前記アクセス情報を用いて前記アクセス要求を転送し、
前記アクセス情報と、前記アクセス元とを対応させて管理し、前記アクセス要求の受信時に前記第1の属性情報を取得して、前記アクセス情報と前記アクセス元との対応関係の更新処理を行う、
送装置。
A storage unit that stores attribute information in association with access information for accessing an access source of data belonging to the attribute information.
When the attribute information is updated at a predetermined opportunity and an access request to the access source is received, a control unit that transfers the access request using the access information associated with the attribute information, and a control unit.
With
The control unit
From the first attribute information updated at the predetermined opportunity, the second attribute information associated with the access information is detected, and the access source belonging to the detected second attribute information is described. The access request is forwarded using the access information,
The access information and the access source are managed in association with each other, the first attribute information is acquired when the access request is received, and the correspondence relationship between the access information and the access source is updated.
Transfer apparatus.
属性情報と、前記属性情報に属するデータのアクセス元にアクセスするためのアクセス情報とを関連付けて記憶する記憶部と、
前記属性情報を所定契機で更新し、前記アクセス元へのアクセス要求を受信した場合、前記属性情報に関連付けられた前記アクセス情報を用いて前記アクセス要求を転送する制御部と、
を備え、
前記制御部は、
前記所定契機で更新した第1の属性情報のうちから、前記アクセス情報に関連付けられている第2の属性情報を検出し、検出した前記第2の属性情報に属する前記アクセス元に対して、前記アクセス情報を用いて前記アクセス要求を転送し、
前記アクセス情報と、前記アクセス元とを対応させて管理し、タイマ起動時に前記第1の属性情報を取得して、前記アクセス情報と前記アクセス元との対応関係の更新処理を行う
送装置。
A storage unit that stores attribute information in association with access information for accessing an access source of data belonging to the attribute information.
When the attribute information is updated at a predetermined opportunity and an access request to the access source is received, a control unit that transfers the access request using the access information associated with the attribute information, and a control unit.
With
The control unit
From the first attribute information updated at the predetermined opportunity, the second attribute information associated with the access information is detected, and the access source belonging to the detected second attribute information is described. The access request is forwarded using the access information,
The access information and the access source are managed in association with each other, the first attribute information is acquired when the timer is started, and the correspondence relationship between the access information and the access source is updated .
Transfer apparatus.
属性情報と、前記属性情報に属するデータのアクセス元にアクセスするためのアクセス情報とを関連付けて記憶する記憶部と、
前記属性情報を所定契機で更新し、前記アクセス元へのアクセス要求を受信した場合、前記属性情報に関連付けられた前記アクセス情報を用いて前記アクセス要求を転送する制御部と、
を備え、
前記制御部は、
前記所定契機で更新した第1の属性情報のうちから、前記アクセス情報に関連付けられている第2の属性情報を検出し、検出した前記第2の属性情報に属する前記アクセス元に対して、前記アクセス情報を用いて前記アクセス要求を転送し、
前記アクセス情報と、前記アクセス元とを対応させて管理し、前記アクセス元から送信された属性情報更新メッセージの受信時に前記第1の属性情報を取得して、前記アクセス情報と前記アクセス元との対応関係の更新処理を行う
送装置。
A storage unit that stores attribute information in association with access information for accessing an access source of data belonging to the attribute information.
When the attribute information is updated at a predetermined opportunity and an access request to the access source is received, a control unit that transfers the access request using the access information associated with the attribute information, and a control unit.
With
The control unit
From the first attribute information updated at the predetermined opportunity, the second attribute information associated with the access information is detected, and the access source belonging to the detected second attribute information is described. The access request is forwarded using the access information,
The access information and the access source are managed in association with each other, and when the attribute information update message transmitted from the access source is received, the first attribute information is acquired, and the access information and the access source are combined. Update the correspondence ,
Transfer apparatus.
コンピュータが、
属性情報と、前記属性情報に属するデータのアクセス元にアクセスするためのアクセス情報とを関連付けてメモリに記憶し、
前記属性情報を所定契機で更新し、
前記アクセス元へのアクセス要求を受信した場合、前記属性情報に関連付けられた前記アクセス情報を用いて前記アクセス要求を転送
前記所定契機で更新した第1の属性情報のうちから、前記アクセス情報に関連付けられている第2の属性情報を検出し、検出した前記第2の属性情報に属する前記アクセス元に対して、前記アクセス情報を用いて前記アクセス要求を転送し、
前記アクセス情報と、前記アクセス元とを対応させて管理し、前記アクセス要求の受信時に前記第1の属性情報を取得して、前記アクセス情報と前記アクセス元との対応関係の更新処理を行う、
転送方法。
The computer
The attribute information and the access information for accessing the access source of the data belonging to the attribute information are associated and stored in the memory.
The attribute information is updated at a predetermined opportunity,
When receiving an access request to the access source, and transfers the access request by using the access information associated with the attribute information,
From the first attribute information updated at the predetermined opportunity, the second attribute information associated with the access information is detected, and the access source belonging to the detected second attribute information is described. The access request is forwarded using the access information,
The access information and the access source are managed in association with each other, the first attribute information is acquired when the access request is received, and the correspondence relationship between the access information and the access source is updated.
Transfer method.
JP2017169394A 2017-09-04 2017-09-04 Transfer device and transfer method Active JP6951629B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017169394A JP6951629B2 (en) 2017-09-04 2017-09-04 Transfer device and transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017169394A JP6951629B2 (en) 2017-09-04 2017-09-04 Transfer device and transfer method

Publications (2)

Publication Number Publication Date
JP2019046227A JP2019046227A (en) 2019-03-22
JP6951629B2 true JP6951629B2 (en) 2021-10-20

Family

ID=65815772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017169394A Active JP6951629B2 (en) 2017-09-04 2017-09-04 Transfer device and transfer method

Country Status (1)

Country Link
JP (1) JP6951629B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327123A (en) * 2004-05-14 2005-11-24 Seiko Epson Corp Print job identification apparatus, printer with identification function, printer management server and identification printing program, identification printing method, and identification printing system
CN110286818B (en) * 2013-03-29 2022-10-28 松下电器(美国)知识产权公司 Recording medium, control method, information providing method, and information terminal

Also Published As

Publication number Publication date
JP2019046227A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
JP4592814B2 (en) Information processing device
JP5698429B2 (en) Computer system, method and computer program for managing components
JP6799255B2 (en) Job power consumption estimation program, parallel processing device and job power consumption estimation method
JP5803496B2 (en) Storage system
US20090216786A1 (en) Managing Service Processes
JP2009175805A (en) Computer system for controlling configuration item, its method, and computer program
JP2010055211A (en) Computer system for managing execution of actions corresponding to plurality of service constitutive elements, method therefor, and computer program
JP2009193545A (en) Computer system for managing multiple configuration items, its method and computer program
JP2012084120A (en) Management target device, device management apparatus, device management system, and device management method
JP2018190261A (en) Information processing apparatus, information processing method, and information processing program
US8640209B2 (en) Authentication information change facility
JPH11338804A (en) System and method for accessing network constitutive management object
JP6951629B2 (en) Transfer device and transfer method
TWI514279B (en) Server system and firmware update method
JP5239072B2 (en) Computer system, method and computer program for managing components
CN112583891B (en) Interface document acquisition method and device and server
JP6515597B2 (en) Management program, management method, management device
JP2018018415A (en) Information processing device, information processing system, program and information processing method
JP2019053513A (en) Information processing system, information processing unit, and program
JP7381290B2 (en) Computer system and data management method
JP2017167744A (en) Information processor, information processing system, program and information processing method
JP2021124951A (en) Information processing system, information processing apparatus, and access control method
JP4809871B2 (en) Configuration setting management model creation device, configuration setting management model creation method and program thereof
US8191084B1 (en) Techniques for supporting application operation
JP6956927B2 (en) Indicator management system, indicator management method, engineering equipment and engineering program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200611

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20200625

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210309

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210426

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210824

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210906

R150 Certificate of patent or registration of utility model

Ref document number: 6951629

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150