JP2002335303A - Communication path switching method - Google Patents

Communication path switching method

Info

Publication number
JP2002335303A
JP2002335303A JP2001140790A JP2001140790A JP2002335303A JP 2002335303 A JP2002335303 A JP 2002335303A JP 2001140790 A JP2001140790 A JP 2001140790A JP 2001140790 A JP2001140790 A JP 2001140790A JP 2002335303 A JP2002335303 A JP 2002335303A
Authority
JP
Japan
Prior art keywords
communication
communication path
execution environment
application
development
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.)
Pending
Application number
JP2001140790A
Other languages
Japanese (ja)
Inventor
Yoshitake Adachi
佳剛 安達
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2001140790A priority Critical patent/JP2002335303A/en
Publication of JP2002335303A publication Critical patent/JP2002335303A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a communication path switching method that can automatically switch a communication path on the occurrence of a communication time expiration without being conscious of a required communication path. SOLUTION: In the communication path switching method where a plurality of development environments 1, 5 and an execution environment 9 provided with applications 12, 14 corresponding to the development environments 1, 5 are interconnected by one communication path and the connection between the development environments 1, 5 and the execution environment 9 is switched, when communication drivers 11, 13 respectively connected to the applications 12, 14 output a communication time-out signal, the connection between the communication path and the communication drivers 11, 13 is switched.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【発明の属する技術分野】本発明は、1つの通信路を用
いて、実行環境と通信プロトコルの異なる複数の開発環
境との間で通信するときの通信方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication method for performing communication between a plurality of development environments having different communication protocols by using a single communication path.

【従来の技術】1つの通信路を介して通信プロトコルが
異なる複数のアプリケーションを別々の開発環境で開発
する時の、従来のシステム構成を図を用いて説明する。
図3は1つの実行環境を2つの開発環境で開発する時の
システム構成を示すブロック図である。図において、1
は第1の開発環境であり、実行環境9と通信する為のア
プリケーション12用通信ドライバ2と、実行環境9で
実行しているアプリケーション12をデバッグする為の
アプリケーション12用デバッガ3、実行環境9と物理
的接続を行う開発環境通信ポート4とで構成されてい
る。5は第2の開発環境であり、実行環境9と通信する
為のアプリケーション14用通信ドライバ6と、実行環
境9で実行しているアプリケーション14をデバッグす
る為のアプリケーション14用デバッガ7、実行環境9
と物理的接続を行う開発環境通信ポート8とで構成され
ている。9は実行環境であり、開発環境1、5と物理的
接続を行う実行環境通信ポート10と、実行環境上で実
行されるアプリケーション12、14、開発環境1と通
信する為のアプリケーション12用通信ドライバ11、
開発環境5と通信する為のアプリケーション14用通信
ドライバ13、アプリケーションに応じて通信路を切り
替えるための物理的な通信路切替スイッチ16、通信路
切替スイッチ16の選択に従いソフト的に通信ドライバ
を切り替える通信路切替処理部15で構成されている。
このような構成のもとで、通信プロトコルの異なる2つ
のアプリケーション12、14を開発環境1、5で開発
する時は、まず、実行環境9の通信路切替スイッチ16
を目的のアプリケーションに接続された通信ドライバ側
に設定する。こうすると、通信路切替処理部15が各ア
プリケーションに対応する通信ドライバに接続を切り替
えるので、これによって、1つの通信路を介して通信プ
ロトコルの異なる複数のアプリケーションの開発が行わ
れている。
2. Description of the Related Art A conventional system configuration when a plurality of applications having different communication protocols are developed in different development environments via one communication path will be described with reference to the drawings.
FIG. 3 is a block diagram showing a system configuration when one execution environment is developed in two development environments. In the figure, 1
Is a first development environment, a communication driver 2 for the application 12 for communicating with the execution environment 9, a debugger 3 for the application 12 for debugging the application 12 running in the execution environment 9, and the execution environment 9. And a development environment communication port 4 for making a physical connection. Reference numeral 5 denotes a second development environment, which is a communication driver 6 for the application 14 for communicating with the execution environment 9, a debugger 7 for the application 14 for debugging the application 14 running in the execution environment 9, and an execution environment 9
And a development environment communication port 8 for making a physical connection. Reference numeral 9 denotes an execution environment, an execution environment communication port 10 for making a physical connection with the development environments 1 and 5, applications 12 and 14 executed on the execution environment, and a communication driver for the application 12 for communicating with the development environment 1. 11,
A communication driver 13 for an application 14 for communicating with the development environment 5, a physical communication path switch 16 for switching a communication path according to the application, and communication for switching the communication driver in software according to the selection of the communication path switch 16 It is composed of a road switching processing unit 15.
Under such a configuration, when developing two applications 12 and 14 having different communication protocols in the development environments 1 and 5, first, the communication path switch 16 of the execution environment 9 is used.
To the communication driver connected to the target application. In this case, the communication path switching processing section 15 switches the connection to the communication driver corresponding to each application, whereby a plurality of applications having different communication protocols are being developed via one communication path.

【発明が解決しようとする課題】ところが、従来技術で
は、1つの通信路で通信プロトコルの異なる複数のアプ
リケーションを開発しようとする際には、アプリケーシ
ョン毎にその都度、通信路切替スイッチを用いて手動で
切り替える必要があり、また、切り替える際には目的の
アプリケーションに合った通信路を選択する必要があ
り、選択する通信路を意識する必要があった。そのた
め、煩雑で効率的な開発が行えないという問題点があっ
た。そこで、本発明は、複数の開発環境と、1つの通信
路と、1つの実行環境を使って、通信プロトコルの異な
る複数のアプリケーションの開発を行う際に、通信路切
替スイッチなどによる手動の切り替えを必要とせず、ま
た、必要な通信路を意識せずに、通信タイムアウトによ
り自動的に通信路を切り替えることができる方法を提供
することを目的とする。
However, in the prior art, when a plurality of applications having different communication protocols are to be developed on one communication path, a manual operation is performed by using a communication path switch for each application. In addition, when switching, it is necessary to select a communication path suitable for a target application, and it is necessary to be aware of the communication path to be selected. Therefore, there has been a problem that complicated and efficient development cannot be performed. In view of the above, the present invention provides a method for manually switching with a communication path switch when developing a plurality of applications having different communication protocols using a plurality of development environments, one communication path, and one execution environment. It is an object of the present invention to provide a method capable of automatically switching a communication path due to a communication timeout without requiring it and without being aware of a necessary communication path.

【課題を解決するための手段】上記問題を解決するた
め、本発明は、複数の開発環境と、その各開発環境に対
応するアプリケーションを備えた1つの実行環境とが1
つの通信路で接続され、前記開発環境と前記実行環境の
接続を切り替えて通信する通信路切り替え方法におい
て、前記アプリケーションにそれぞれ接続された通信ド
ライバが通信タイムアウト信号を出力すると、前記通信
路と前記通信ドライバの接続を切り替えることを特徴と
するものである。このようになっているため、通信プロ
トコルが異なる複数の開発環境と実行環境を接続して
も、自動的に切り替えられて効率的なアプリケーション
の開発ができるのである。
In order to solve the above-mentioned problems, the present invention provides a method in which a plurality of development environments and one execution environment having an application corresponding to each development environment are provided.
In a communication path switching method in which communication is performed by switching between a connection between the development environment and the execution environment, communication drivers respectively connected to the application output a communication timeout signal, and the communication path and the communication are connected. It is characterized by switching connection of a driver. With this configuration, even if a plurality of development environments and execution environments having different communication protocols are connected, the environment is automatically switched and efficient application development can be performed.

【発明の実施の形態】以下、本発明の実施例を図に基づ
いて説明する。図1は、本発明の方法を適用するアプリ
ケーション開発システムの構成を示すブロック図であ
る。図3の従来技術と構成が異なる点は、実行環境9に
ある。図中、18は通信タイムアウト監視部であり、ア
プリケーション12、14用通信ドライバ11、13の
通信タイムアウト信号17を受けて動作し、通信路切替
処理部19を駆動する。このような構成のもとで、各ア
プリケーションに用意された通信ドライバが、異なる通
信プロトコルの情報を受け取った時に通信タイムアウト
を起こすと、それによって発信される通信タイムアウト
信号17を監視している通信タイムアウト監視部18が
起動し、通信路切替処理部19に指令を送って通信路を
切替える。図2は、その手順を示すフローチャートであ
り、この流れに沿って本発明の方法を説明する。 (S1)まず、通信ポート4、8、10を介して開発環
境1、5と実行環境9の物理的接続を行う。 (S2)アプリケーション12用デバッガ3とアプリケ
ーション14用デバッガ7が実行環境9に指令を発行す
る。 (S3)その各指令は、通信ドライバ11、13と通信
プロトコルが一致するかどうかが判断され、一致する場
合はS4へ進み、そうでない場合はS5へ進む。 (S4)開発環境の指令に基づいて通常通りの処理を
し、S8へ進む。 (S5)通信ドライバ内で通信タイムアウトが起こる
と、通信ドライバが通信タイムアウト信号17を発行す
る。 (S6)通信タイムアウト監視部18が通信タイムアウ
ト信号17を確認すると、通信路切替処理部19を起動
する。 (S7)通信路切替処理部19が通信路を切り替え、S
2に戻る。 (S8)デバッグを終了するかどうかを判断し、終了す
るときは上記手順の全てを終了し、そうでないときはS
2へ戻って上記手順を繰り返す。 以上の手順によって本発明の方法が実施される。なお、
実施例では開発環境が2つの場合を示したが、3つ以上
の場合も同様の考え方で切り替えることができるのはい
うまでもない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an application development system to which the method of the present invention is applied. The difference from the prior art in FIG. 3 lies in the execution environment 9. In the figure, reference numeral 18 denotes a communication timeout monitoring unit, which operates in response to the communication timeout signal 17 of the communication drivers 11 and 13 for the applications 12 and 14, and drives the communication path switching processing unit 19. Under such a configuration, when a communication driver prepared for each application causes a communication timeout when receiving information of a different communication protocol, the communication driver monitors a communication timeout signal 17 transmitted thereby. The monitoring unit 18 is activated and sends a command to the communication path switching processing unit 19 to switch the communication path. FIG. 2 is a flowchart showing the procedure, and the method of the present invention will be described along this flow. (S1) First, the development environments 1 and 5 and the execution environment 9 are physically connected via the communication ports 4, 8, and 10. (S2) The debugger 3 for the application 12 and the debugger 7 for the application 14 issue a command to the execution environment 9. (S3) For each command, it is determined whether or not the communication protocol matches with the communication drivers 11 and 13. If they match, the process proceeds to S4, and if not, the process proceeds to S5. (S4) Normal processing is performed based on the development environment command, and the process proceeds to S8. (S5) When a communication timeout occurs in the communication driver, the communication driver issues a communication timeout signal 17. (S6) When the communication timeout monitoring unit 18 confirms the communication timeout signal 17, the communication path switching processing unit 19 is activated. (S7) The communication path switching processing section 19 switches the communication path,
Return to 2. (S8) Determine whether to end debugging, and if so, end all of the above procedures; otherwise, go to S
Return to step 2 and repeat the above procedure. The method of the present invention is performed by the above procedure. In addition,
In the embodiment, the case where the number of the development environments is two is described.

【発明の効果】以上述べたように、本発明によれば、実
行環境内に通信タイムアウトを知らせる通信タイムアウ
ト信号と、通信タイムアウトを監視する通信タイムアウ
ト監視部と、通信タイムアウト監視部より起動されて通
信路を切り替える通信路切替処理部を設けることによ
り、1つの通信路で通信プロトコルの異なる複数のアプ
リケーションの開発を行う際に、通信路切替スイッチな
どによる手動の切り替えを必要としない。また、必要な
通信路を意識することなく、通信タイムアウトにより自
動的に通信路を切り替えることができるため、複数のア
プリケーションの開発が効率的に行えるという効果があ
る。さらに、通信路の切り替えの際に通信プロトコルの
解析を行う必要がないため、いかなる通信ブロトコルを
使用しても切り替えが可能となる。
As described above, according to the present invention, the communication timeout signal for notifying the communication timeout in the execution environment, the communication timeout monitoring unit for monitoring the communication timeout, and the communication started by the communication timeout monitoring unit. By providing the communication path switching processing unit for switching the path, when developing a plurality of applications having different communication protocols on one communication path, manual switching by a communication path switch or the like is not required. In addition, since communication paths can be automatically switched by a communication timeout without being aware of necessary communication paths, there is an effect that a plurality of applications can be efficiently developed. Further, since it is not necessary to analyze the communication protocol when switching the communication path, the switching can be performed using any communication protocol.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の方法を示すフローチャートFIG. 2 is a flowchart illustrating the method of the present invention.

【図3】従来技術による実施例の構成を示すブロック図FIG. 3 is a block diagram showing a configuration of an embodiment according to the related art.

【符号の説明】[Explanation of symbols]

1、5 開発環境 2、11 アプリケーション12用通信ドライバ 3 アプリケーション12用デバッガ 4 開発環境通信ポート 6、13 アプリケーション14用通信ドライバ 7 アプリケーション14用デバッガ 8 開発環境通信ポート 9 実行環境 10 実行環境通信ポート 12、14 アプリケーション 15、19 通信路切り替え処理部 16 通信路切り替えスイッチ 17 通信タイムアウト信号 18 通信タイムアウト監視部 1, 5 Development environment 2, 11 Communication driver for application 12 3 Debugger for application 12 4 Development environment communication port 6, 13 Communication driver for application 7 Debugger for application 14 8 Development environment communication port 9 Execution environment 10 Execution environment communication port 12 , 14 application 15, 19 communication path switching processing section 16 communication path switching switch 17 communication timeout signal 18 communication timeout monitoring section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の開発環境と、その各開発環境に対応
するアプリケーションを備えた1つの実行環境とが1つ
の通信路で接続され、前記開発環境と前記実行環境の接
続を切り替えて通信する通信路切り替え方法において、 前記アプリケーションにそれぞれ接続された通信ドライ
バが通信タイムアウト信号を出力すると、前記通信路と
前記通信ドライバの接続を切り替えることを特徴とする
通信路切り替え方法。
A plurality of development environments and one execution environment including an application corresponding to each development environment are connected by one communication path, and communication is performed by switching the connection between the development environment and the execution environment. In the communication path switching method, when a communication driver connected to each of the applications outputs a communication time-out signal, the connection between the communication path and the communication driver is switched.
JP2001140790A 2001-05-11 2001-05-11 Communication path switching method Pending JP2002335303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001140790A JP2002335303A (en) 2001-05-11 2001-05-11 Communication path switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001140790A JP2002335303A (en) 2001-05-11 2001-05-11 Communication path switching method

Publications (1)

Publication Number Publication Date
JP2002335303A true JP2002335303A (en) 2002-11-22

Family

ID=18987336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001140790A Pending JP2002335303A (en) 2001-05-11 2001-05-11 Communication path switching method

Country Status (1)

Country Link
JP (1) JP2002335303A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028939A (en) * 2006-07-25 2008-02-07 Sumitomo Heavy Ind Ltd Switching system and switching method for communication path
JP2009146224A (en) * 2007-12-14 2009-07-02 Nippon Steel Corp Measuring instrument wireless adapter
JP2012034375A (en) * 2011-08-22 2012-02-16 Hitachi Automotive Systems Ltd Data communication device and controller using the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028939A (en) * 2006-07-25 2008-02-07 Sumitomo Heavy Ind Ltd Switching system and switching method for communication path
JP2009146224A (en) * 2007-12-14 2009-07-02 Nippon Steel Corp Measuring instrument wireless adapter
JP2012034375A (en) * 2011-08-22 2012-02-16 Hitachi Automotive Systems Ltd Data communication device and controller using the same

Similar Documents

Publication Publication Date Title
JP2002335303A (en) Communication path switching method
US20050060394A1 (en) Programmable delay, transparent switching multi-port interface line card
JP2001043188A (en) Security system for individually processing information of external network and information of internal network, and its control method
JP2008009518A (en) Dual operation system
JPH09179749A (en) Emulation device
JPH06208441A (en) System for controlling printing environment of printer device
KR100500114B1 (en) Independent network control device and method
KR100278703B1 (en) Device access bus redundancy control circuit at exchange
JP3125864B2 (en) Redundant system
JP2000330879A (en) Method and device for testing input/output channel
JP2531080B2 (en) Bus adapter switching method
JP2564397B2 (en) Redundant system data output device
KR100477138B1 (en) Personal computer systems
JP2001242915A (en) Message communicating method for programmable controller
JP2008027041A (en) Debug system and target device
KR100597752B1 (en) Device with function of Bootstrap And Electronic Apparatus Comprising the device And Control Method Thereof
JP2642489B2 (en) Multi-port switching control method
JP2000137663A (en) Network connection program
JP2000295263A (en) Lan switch
JPS62151943A (en) Test system for microcomputer
JPH0667771A (en) Switchover control system
JPH0520256A (en) Information processing system
JP2005258576A (en) Duplex cpu switching system
JPH02272667A (en) Input/output signal processing system
JP2005149047A (en) Communication apparatus provided with self evaluation function and method for evaluating communication function