JP2021140431A - Communication message conversion method, communication message conversion device, and communication message conversion program - Google Patents
Communication message conversion method, communication message conversion device, and communication message conversion program Download PDFInfo
- Publication number
- JP2021140431A JP2021140431A JP2020037184A JP2020037184A JP2021140431A JP 2021140431 A JP2021140431 A JP 2021140431A JP 2020037184 A JP2020037184 A JP 2020037184A JP 2020037184 A JP2020037184 A JP 2020037184A JP 2021140431 A JP2021140431 A JP 2021140431A
- Authority
- JP
- Japan
- Prior art keywords
- client terminal
- response
- communication message
- server
- message conversion
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 119
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000004044 response Effects 0.000 claims abstract description 112
- 230000008859 change Effects 0.000 claims description 55
- 230000003068 static effect Effects 0.000 claims description 18
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000007257 malfunction Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
本発明は、サーバと通信するクライアント端末において、前記クライアント端末環境の変更後に発生するWEBブラウザの画面構成の差分を吸収するための通信メッセージ変換方法、通信メッセージ変換装置、及び通信メッセージ変換プログラムに関するものである。 The present invention relates to a communication message conversion method, a communication message conversion device, and a communication message conversion program for absorbing a difference in screen configuration of a WEB browser that occurs after a change in the client terminal environment in a client terminal that communicates with a server. Is.
クライアントサーバシステムにおいては、定期的にシステムの更新、例えば、クライアント端末のOS、業務アプリケーション、及びWEBブラウザ等のアップデートが行われる。そして、アップデート後のクライアント端末では、WEBブラウザのバージョンの違い等から、クライアント端末上で動作する業務アプリケーション画面のレイアウト崩れや動作不良等が発生し得る。 In the client-server system, the system is updated periodically, for example, the OS of the client terminal, the business application, the WEB browser, and the like are updated. Then, in the client terminal after the update, the layout of the business application screen operating on the client terminal may be disrupted or malfunction may occur due to the difference in the version of the WEB browser.
そのため、アップデート後のクライアント端末環境に合わせたサーバ側のプログラム改修が必要となり、その改修や検証には多大な時間とコストが必要となる。 Therefore, it is necessary to modify the program on the server side according to the client terminal environment after the update, and a great deal of time and cost are required for the modification and verification.
特許文献1には、ウェブサーバから取得したページデータを、転送先の端末装置のリソース情報に基づいて、当該端末装置に適合するようなデータ変換を行った後、変換したページデータを当該端末装置に転送するウェブサーバ装置が開示されている。
In
特許文献2には、各種プロトコルに汎用的に対応可能な変換処理技術が利用可能となるように、既存システムをAPI(Application Programming Interface)化するためのAPI変換アダプタが開示されている。
しかし、WEBブラウザの画面構成に関する通信メッセージには、単純変換が可能な言語(例えば、HTML(Hyper Text Markup Launguage)やCSS(Cascading Style Sheets)等)が含まれる一方、単純変換が不可能な言語(JavaScript(登録商標)等)も含まれる。 However, while the communication message regarding the screen configuration of the WEB browser includes a language capable of simple conversion (for example, HTML (HyperText Markup Language), CSS (Cascading Style Sheets), etc.), a language in which simple conversion is not possible. (Javascript®, etc.) are also included.
そこで、本発明は、WEBブラウザの画面構成に関する通信メッセージに含まれる言語に影響されない通信メッセージ変換方法、通信メッセージ変換装置、及び通信メッセージ変換プログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide a communication message conversion method, a communication message conversion device, and a communication message conversion program that are not affected by the language included in the communication message related to the screen configuration of the WEB browser.
この目的を達成するため、本発明の通信メッセージ変換方法は、ネットワーク網を介してサーバと通信するクライアント端末において、前記クライアント端末及び前記サーバとの通信メッセージを中継する通信メッセージ変換装置で前記クライアント端末環境の変更後に発生するWEBブラウザの画面構成の差分を吸収する通信メッセージ変換方法であって、前記クライアント端末環境の変更前に、前記通信メッセージ変換装置が、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録すること、前記通信メッセージ変換装置が、前記レスポンスに基づいて、前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを、前記レスポンスに含まれる言語毎に作成すること、前記クライアント端末環境の変更後に、前記通信メッセージ変換装置が、前記サーバから前記クライアント端末に送信されるレスポンスを受信し、前記紐付け情報に基づいて、前記受信したレスポンスを前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換え、前記クライアント端末に送信することを含む。これにより、WEBブラウザの画面構成に関する通信メッセージに含まれる言語に影響されずに通信メッセージの変換を行うことができる。 In order to achieve this object, the communication message conversion method of the present invention is a communication message conversion device that relays a communication message between the client terminal and the server in a client terminal that communicates with a server via a network. It is a communication message conversion method that absorbs the difference in the screen configuration of the WEB browser that occurs after the environment is changed, and the communication message conversion device is transmitted from the client terminal to the server before the client terminal environment is changed. Recording the request, the response transmitted from the server to the client terminal, and the association information associated with the request and the response, the communication message conversion device makes the client based on the response. Creating a template response according to the specifications of the WEB browser after the change of the terminal environment is created for each language included in the response, and after the change of the client terminal environment, the communication message conversion device moves from the server to the client terminal. To receive the response sent to the client terminal, replace the received response with a template response that matches the specifications of the WEB browser after the change of the client terminal environment, and send the response to the client terminal based on the association information. include. As a result, the communication message can be converted without being affected by the language included in the communication message related to the screen configuration of the WEB browser.
また、本発明の通信メッセージ変換方法は、前記クライアント端末環境の変更後に、前記通信メッセージ変換装置が、前記受信したレスポンスを前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換えてから、前記受信したレスポンスに含まれる可変情報を前記置き換えた雛形レスポンスに反映させ、前記クライアント端末に送信することが望ましい。これにより、サーバからのレスポンスに含まれる可変情報(例えば、日付等)についても変換することができる。 Further, in the communication message conversion method of the present invention, after the client terminal environment is changed, the communication message conversion device replaces the received response with a template response that matches the specifications of the WEB browser after the change of the client terminal environment. After that, it is desirable that the variable information included in the received response is reflected in the replaced template response and transmitted to the client terminal. As a result, variable information (for example, date, etc.) included in the response from the server can also be converted.
本発明の通信メッセージ変換装置は、ネットワーク網を介してサーバと通信するクライアント端末において、前記クライアント端末環境の変更後に発生するWEBブラウザの画面構成の差分を吸収するための通信メッセージ変換装置であって、前記クライアント端末及び前記サーバとの通信メッセージを中継する通信部と、前記クライアント端末環境の変更前に、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録する記録部と、前記レスポンスに基づいて、前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを作成する変換部と、前記クライアント端末環境の変更後に、前記サーバから前記クライアント端末に送信されるレスポンスを受信した場合、前記紐付け情報に基づいて、前記受信したレスポンスを前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換え、前記クライアント端末に送信する静的置換部と、を含む。 The communication message conversion device of the present invention is a communication message conversion device for absorbing a difference in screen configuration of a WEB browser that occurs after a change in the client terminal environment in a client terminal that communicates with a server via a network. , A communication unit that relays communication messages between the client terminal and the server, a request transmitted from the client terminal to the server before the change of the client terminal environment, and transmission from the server to the client terminal. Based on the response, the recording unit that records the request and the linking information to which the response is linked, and the template response that matches the specifications of the WEB browser after the change of the client terminal environment is created. When a response transmitted from the server to the client terminal is received after the conversion unit and the client terminal environment are changed, the received response is sent to the WEB after the client terminal environment is changed based on the association information. It includes a static replacement unit that is replaced with a template response that matches the specifications of the browser and is transmitted to the client terminal.
また、本発明の通信メッセージ変換装置は、前記静的置換部で置き換えられた雛形レスポンスに、前記受信したレスポンスに含まれる可変情報を反映させ、前記クライアント端末に送信する動的置換部を含む。 Further, the communication message conversion device of the present invention includes a dynamic replacement unit that reflects the variable information included in the received response in the template response replaced by the static replacement unit and transmits the variable information to the client terminal.
本発明の通信メッセージ変換プログラムは、ネットワーク網を介してサーバと通信するクライアント端末において、前記クライアント端末環境の変更後に発生するWEBブラウザの画面構成の差分を吸収するための通信メッセージ変換装置としてコンピュータを機能させるための通信メッセージ変換プログラムであって、前記クライアント端末及び前記サーバとの通信メッセージを中継する通信部と、前記クライアント端末環境の変更前に、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録する記録部と、前記レスポンスに基づいて、前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを作成する変換部と、前記クライアント端末環境の変更後に、前記サーバから前記クライアント端末に送信されるレスポンスを受信した場合、前記紐付け情報に基づいて、前記受信したレスポンスを前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換え、前記クライアント端末に送信する静的置換部と、を含む通信メッセージ変換装置としてコンピュータを機能させる。 The communication message conversion program of the present invention uses a computer as a communication message conversion device for absorbing a difference in screen configuration of a WEB browser that occurs after a change in the client terminal environment in a client terminal that communicates with a server via a network. A communication message conversion program for functioning, which is a communication unit that relays communication messages between the client terminal and the server, and a request transmitted from the client terminal to the server before the client terminal environment is changed. , A recording unit that records the response transmitted from the server to the client terminal, the request and the association information associated with the response, and the WEB after the change of the client terminal environment based on the response. When a conversion unit that creates a template response that matches the specifications of the browser and a response sent from the server to the client terminal are received after the client terminal environment is changed, the reception is received based on the association information. The response is replaced with a template response that matches the specifications of the WEB browser after the change of the client terminal environment, and the computer functions as a communication message conversion device including a static replacement unit to be transmitted to the client terminal.
また、本発明の通信メッセージ変換プログラムは、前記静的置換部で置き換えられた雛形レスポンスに、前記受信したレスポンスに含まれる可変情報を反映させ、前記クライアント端末に送信する動的置換部を含む。 Further, the communication message conversion program of the present invention includes a dynamic replacement unit that reflects the variable information included in the received response in the template response replaced by the static replacement unit and transmits the variable information to the client terminal.
本発明に係る通信メッセージ変換方法、通信メッセージ変換装置、及び通信メッセージ変換プログラムによれば、WEBブラウザの画面構成に関する通信メッセージに含まれる言語に影響されない通信メッセージ変換方法、通信メッセージ変換装置、及び通信メッセージ変換プログラムを提供することができる。 According to the communication message conversion method, the communication message conversion device, and the communication message conversion program according to the present invention, the communication message conversion method, the communication message conversion device, and the communication are not affected by the language included in the communication message related to the screen configuration of the WEB browser. A message conversion program can be provided.
図1は、本発明の実施の形態における通信メッセージ変換装置1と、クライアント端末C及びサーバSとの通信イメージを示すイメージ図である。
FIG. 1 is an image diagram showing a communication image between the communication
クライアント端末Cは、例えば、企業の社員が業務処理を行うために所有しているパソコン等である。ここで、クライアント端末C環境の変更とは、クライアント端末CのOSアップデートにおけるWEBブラウザのバージョンアップ(例えば、IE(Internet Explore)10からIE11へのバージョンアップや、IEからGoogle Chromeへのブラウザの変更)等であり、クライアント端末C環境の変更前とは該アップデート前、変更後とは該アップデート後のことをいう。
また、サーバSは、例えば、クライアント端末Cからのリクエストに応じて業務処理を行う企業内サーバ(業務サーバ)等である。
The client terminal C is, for example, a personal computer or the like owned by a company employee to perform business processing. Here, the change of the client terminal C environment means the version upgrade of the WEB browser in the OS update of the client terminal C (for example, the version upgrade from IE (Internet Explorer) 10 to IE11, or the change of the browser from IE to Google Chrome. ) Etc., and the term before the change of the client terminal C environment means before the update, and the term after the change means after the update.
Further, the server S is, for example, an in-house server (business server) that performs business processing in response to a request from the client terminal C.
図1(A)はクライアント端末C環境の変更前の通信イメージであり、図1(B)はクライアント端末C環境の変更後の通信イメージである。業務アプリケーション202やOS203がアップデートされ、業務アプリケーション212やOS213となった場合、WEBブラウザ201も合わせてWEBブラウザ211のようにバージョンアップされる。
FIG. 1A is a communication image before the change of the client terminal C environment, and FIG. 1B is a communication image after the change of the client terminal C environment. When the
その際、環境変更後のクライアント端末Cでは、WEBブラウザのバージョンアップを理由に、クライアント端末C上で動作する業務アプリケーションのレイアウト崩れや動作不良等が発生し得る。このような場合、一般的にはアップデート後のクライアント端末C側に合わせたサーバS側のプログラム改修等が必要となるため、その改修や検証には多大な時間とコストがかかる。 At that time, in the client terminal C after the environment change, the layout of the business application running on the client terminal C may be disrupted or malfunction may occur due to the version upgrade of the WEB browser. In such a case, it is generally necessary to modify the program on the server S side according to the client terminal C side after the update, so that the modification and verification require a great deal of time and cost.
よって、環境変更後のクライアントサーバ間通信において、通信メッセージ変換装置1を用いて、サーバSからのレスポンスをバージョンアップされたクライアント端末CのWEBブラウザの仕様に合わせて変換することで、サーバSのプログラム改修等を不要とすることができる。
Therefore, in the communication between the client and the server after the environment change, the communication
図2は、本発明の実施の形態における通信メッセージ変換装置1を示す機能ブロック構成図である。図2において、本発明の実施の形態における通信メッセージ変換装置1は、通信部11と、記録部12と、変換部13と、静的置換部14と、動的置換部15とを備える。
FIG. 2 is a functional block configuration diagram showing a communication
通信部11は、クライアント端末CやサーバSとLAN(Local Area Network)やWAN(Wide Area Network)等のネットワーク通信網を介して通信する。また、受信したクライアント端末CやサーバSからの通信メッセージを解析して、上記各部12〜15に通信メッセージを振り分ける。
The
記録部12は、クライアント端末CとサーバS間との通信メッセージを記録する。また、クライアント端末Cからのリクエストと、そのリクエストに対してサーバSから返ってくるレスポンスを紐付けして紐付け情報として記録する。
The
変換部13は、受信したサーバSからのレスポンスに基づいて、前記クライアント端末C環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを、前記レスポンスに含まれる言語毎に作成する。
Based on the response from the received server S, the
静的置換部14は、クライアント端末C環境の変更後に、受信したサーバSからのレスポンスを、記録部12が記録した紐付け情報に基づいて、クライアント端末C環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換える。
The
動的置換部15は、静的置換部14で置き換えられたレスポンスに、受信したサーバSからのレスポンスに含まれる可変情報を反映させる。
The
静的置換部14や動的置換部15が作成したレスポンスは、通信部11を介してクライアント端末Cに送信される。
The response created by the
通信メッセージ変換装置1は、上記各部11〜15として機能させるための通信メッセージ変換プログラムをコンピュータ上で実行することによっても実現することができる。
The communication
(実施例)
通信メッセージ変換装置1を用いた通信メッセージ変換方法を、図3に示すフローチャートを参照して説明する。通信メッセージ変換方法は、図3(A)に示す紐付け方法と、図3(B)に示す置換方法からなる。紐付け方法はクライアント端末C環境の変更前に行い、置換方法はクライアント端末C環境の変更後に行う。
(Example)
A communication message conversion method using the communication
[紐付け方法]
最初に、紐付け手順について、図3(A)に示すフローチャートを参照して説明する。通信メッセージ変換装置1の通信部11は、クライアント端末CとサーバS間の通信を中継する(図2参照)。紐付け処理が開始されると、クライアント端末Cからのリクエストを受信した通信部11は、該リクエストを記録部12に通知し、記録部12は、該リクエスト内容を記録する(S101,S102)。そして該リクエストは、通信部11からサーバSに送信(中継)される(S103)。
[How to tie]
First, the associative procedure will be described with reference to the flowchart shown in FIG. 3 (A). The
リクエストを受信したサーバSは、該リクエストに応じた業務処理を行い、レスポンスをクライアント端末Cに返す(S104)。 The server S that has received the request performs business processing in response to the request and returns a response to the client terminal C (S104).
サーバSからの該レスポンスを受信した通信部11は、該レスポンスを記録部12に通知し、記録部12は、該レスポンス内容を記録する(S105,S106)。
The
また、記録部12は、S102で記録したリクエストと該レスポンスとを紐付けし(どのようなリクエストに対し、どのようなレスポンスが返ってきたか)、記録する(S107)。
Further, the
また、記録部12は、該レスポンスに基づいて、クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを、該レスポンスに含まれる言語毎に作成する(S108)。言語毎に作成するとは、例えば、HTMLやCSS、JavaScript(登録商標)毎に雛形レスポンスを作成することである。雛形レスポンスは、予め、WEBブラウザの仕様に合わせたファイルを、WEBブラウザで表示されるページ毎に用意してもよいし、それ以外の方法で用意又は作成してもよい。
Further, based on the response, the
そして、該レスポンスは、通信部11からクライアント端末Cに送信(中継)される(S109)。
Then, the response is transmitted (relayed) from the
[クライアント端末C環境の変更]
紐付け方法の実施後に、クライアント端末C環境の変更を行う。該変更は、クライアント端末Cの所有者が手動で行ってもよく、OSの自動アップデート機能等を利用してもよく、それ以外の方法でもよい。該変更の完了は、クライアント端末Cの所有者が目視確認してもよく、クライアント端末Cから通信メッセージ変換装置1へ完了通知を送信してもよく、それ以外の方法でもよい。該変更が完了後、通信メッセージ変換装置1は、処理を紐付け方法から置換方法へ切り替える。
[Change of client terminal C environment]
After implementing the linking method, the client terminal C environment is changed. The change may be made manually by the owner of the client terminal C, the automatic update function of the OS or the like may be used, or any other method may be used. The completion of the change may be visually confirmed by the owner of the client terminal C, a completion notification may be sent from the client terminal C to the communication
[置換方法]
次に、置換手順について、図3(B)に示すフローチャートを参照して説明する。置換処理が開始されると、クライアント端末Cからのリクエストを受信した通信部11は、該リクエストを記録部12に通知し、記録部12は、該リクエスト内容を記録する(S201,S202)。そして該リクエストは、通信部11からサーバSに送信(中継)される(S203)。
[Replacement method]
Next, the replacement procedure will be described with reference to the flowchart shown in FIG. 3 (B). When the replacement process is started, the
リクエストを受信したサーバSは、該リクエストに応じた業務処理を行い、レスポンスをクライアント端末Cに返す(S204)。 The server S that has received the request performs business processing in response to the request and returns a response to the client terminal C (S204).
サーバSからの該レスポンスを受信した通信部11は、該レスポンスを静的置換部14に通知する(S205)。静的置換部14は、記録部12がS107で記録した紐付け情報に基づいて、該レスポンスをS108で用意されたクライアント端末C環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換える(S206)。
The
図4,5を参照して説明すると、クライアント端末C環境の変更後のWEBブラウザがIE11、サーバSのWEBブラウザ(つまり、クライアント端末C環境の変更前のWEBブラウザ)がIE6であった場合、図4,5の(1)〜(2)に示すように、サーバSから受信したレスポンス(IE6)を雛形レスポンス(IE11)に置き換える。 Explaining with reference to FIGS. 4 and 5, when the WEB browser after the change of the client terminal C environment is IE11 and the WEB browser of the server S (that is, the WEB browser before the change of the client terminal C environment) is IE6. As shown in (1) to (2) of FIGS. 4 and 5, the response (IE6) received from the server S is replaced with the template response (IE11).
これにより、サーバSから受信したレスポンスに、IE11では利用できないタグが含まれている場合でも、雛形レスポンスに置き換えることで、容易に、かつ一括で利用可能なタグに変換することができる(図5参照)。 As a result, even if the response received from the server S contains a tag that cannot be used in IE11, it can be easily and collectively converted into a tag that can be used by replacing it with a template response (FIG. 5). reference).
このように、クライアント端末C環境の変更前のWEBブラウザがIE6で、変更後のWEBブラウザがIE11のようにブラウザのバージョンが異なる場合でも、変更後のWEBブラウザの仕様(IE11の仕様)に合った通信メッセージの正しい変換が行われるため、クライアント端末CのWEBブラウザ上でレイアウト崩れや文字化けが発生することはない。 In this way, even if the WEB browser before the change of the client terminal C environment is IE6 and the WEB browser after the change has a different browser version such as IE11, the specifications of the WEB browser after the change (IE11 specifications) are met. Since the correct communication message is converted, the layout is not broken or the characters are not garbled on the WEB browser of the client terminal C.
また、WEBブラウザの画面構成に関する通信メッセージに含まれる、単純変換が不可能な言語(JavaScript(登録商標)等)に対しても、高精度の変換を行うことができる。 In addition, high-precision conversion can be performed even for a language (Javascript (registered trademark), etc.) that cannot be simply converted, which is included in a communication message related to the screen configuration of a WEB browser.
このような静的置換が行われた後、動的置換部15は、該レスポンスに含まれる可変情報を、静的置換部14がS206で置き換えたレスポンスに反映させる(S207)。可変情報とは、サーバが返すレスポンスに含まれる可変的な情報であり、例えば、ユーザーの画面入力やデータベース取得結果の画面表示等である。具体的には、業務システムへ画面(WEBブラウザ)からユーザー毎に個別のIDやパスワードを入力してログインする場合、そのログイン時に表示される「ようこそxx(ID)さん」や「ようこそxx(ユーザ名)さん」といった表示である。
After such static replacement is performed, the
図4,5を参照して説明すると、図4,5の(2)〜(3)に示すように、静的置換部14が置き換えたレスポンスに、サーバ処理結果の値(日付)を反映させる。
Explaining with reference to FIGS. 4 and 5, as shown in (2) to (3) of FIGS. 4 and 5, the value (date) of the server processing result is reflected in the response replaced by the
よって、クライアント端末C環境の変更後のWEBブラウザの仕様に合わせて可変情報を変更することにより、クライアント端末CのWEBブラウザ上で文字化けや表示情報の欠落が発生することはない。 Therefore, by changing the variable information according to the specifications of the WEB browser after the change of the client terminal C environment, garbled characters and lack of display information do not occur on the WEB browser of the client terminal C.
そして該レスポンスは、通信部11からクライアント端末Cに送信(中継)される(S208)。該レスポンスは、クライアント端末C環境の変更後のWEBブラウザの仕様に合わせて変換が行われたものであるため、該レスポンスに応じた画面表示にレイアウト崩れや動作不良等は発生しない。
Then, the response is transmitted (relayed) from the
このように、システム更新等によりクライアント端末Cで使用するWEBブラウザのバージョン等が変わった場合においても、ユーザーはそれを気にすることなく、かつサーバ側のプログラム改修も不要で運用を続けることができる。 In this way, even if the version of the WEB browser used on the client terminal C changes due to a system update, etc., the user can continue the operation without worrying about it and without the need to modify the program on the server side. can.
また、本実施例は一例であり、通信メッセージ変換装置1は、各部11〜15として機能させるための通信メッセージ変換プログラムをクライアント端末C上で実行することによっても実現することができる。
Further, this embodiment is an example, and the communication
本発明の通信メッセージ変換方法は、クライアント端末のOS、業務アプリケーション、及びWEBブラウザ等のアップデートにおいて発生するWEBブラウザバージョンの差異を吸収する通信メッセージ変換方法として有用であり、特に、通信メッセージに含まれる言語に影響されない通信メッセージ変換方法として好適である。 The communication message conversion method of the present invention is useful as a communication message conversion method that absorbs differences in WEB browser versions that occur in updates of the OS, business applications, WEB browsers, etc. of client terminals, and is particularly included in communication messages. It is suitable as a communication message conversion method that is not affected by the language.
1 通信メッセージ変換装置
11 通信部
12 記録部
13 変換部
14 静的置換部
15 動的置換部
201 WEBブラウザ(クライアント端末環境変更前)
202 業務アプリケーション(クライアント端末環境変更前)
203 OS(クライアント端末環境変更前)
211 WEBブラウザ(クライアント端末環境変更後)
212 業務アプリケーション(クライアント端末環境変更後)
213 OS(クライアント端末環境変更後)
301 Aシステム
302 Bシステム
303 Cシステム
C クライアント端末
S サーバ
1
202 Business application (before changing client terminal environment)
203 OS (before changing client terminal environment)
211 WEB browser (after changing client terminal environment)
212 Business application (after changing client terminal environment)
213 OS (after changing client terminal environment)
301 A system 302 B system 303 C system C client terminal S server
Claims (6)
前記クライアント端末環境の変更前に、前記通信メッセージ変換装置が、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録すること、
前記通信メッセージ変換装置が、前記レスポンスに基づいて、前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを、前記レスポンスに含まれる言語毎に作成すること、
前記クライアント端末環境の変更後に、前記通信メッセージ変換装置が、前記サーバから前記クライアント端末に送信されるレスポンスを受信し、前記紐付け情報に基づいて、前記受信したレスポンスを前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換え、前記クライアント端末に送信すること
を含む通信メッセージ変換方法。 In a client terminal that communicates with a server via a network, the communication message converter that relays the communication message between the client terminal and the server absorbs the difference in the screen configuration of the WEB browser that occurs after the client terminal environment is changed. It is a communication message conversion method
Before the change of the client terminal environment, the communication message conversion device associates the request transmitted from the client terminal to the server, the response transmitted from the server to the client terminal, and the request and the response. To record the associated information
Based on the response, the communication message conversion device creates a template response according to the specifications of the WEB browser after the change of the client terminal environment for each language included in the response.
After the change of the client terminal environment, the communication message conversion device receives the response transmitted from the server to the client terminal, and based on the association information, the received response is obtained after the change of the client terminal environment. A communication message conversion method including replacing the response with a template response according to the specifications of the WEB browser of the above and sending it to the client terminal.
前記クライアント端末及び前記サーバとの通信メッセージを中継する通信部と、
前記クライアント端末環境の変更前に、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録する記録部と、
前記レスポンスに基づいて、前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを作成する変換部と、
前記クライアント端末環境の変更後に、前記サーバから前記クライアント端末に送信されるレスポンスを受信した場合、前記紐付け情報に基づいて、前記受信したレスポンスを前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換え、前記クライアント端末に送信する静的置換部と、
を含む通信メッセージ変換装置。 A communication message conversion device for absorbing a difference in screen configuration of a WEB browser that occurs after a change in the client terminal environment in a client terminal that communicates with a server via a network.
A communication unit that relays communication messages between the client terminal and the server,
Before the change of the client terminal environment, the request transmitted from the client terminal to the server, the response transmitted from the server to the client terminal, and the association information in which the request and the response are associated are obtained. The recording unit to record and
Based on the response, a conversion unit that creates a template response that matches the specifications of the WEB browser after the change of the client terminal environment, and
When a response sent from the server to the client terminal is received after the change of the client terminal environment, the received response is set to the specifications of the WEB browser after the change of the client terminal environment based on the association information. A static replacement part that replaces with the combined template response and sends it to the client terminal,
Communication message converter including.
前記クライアント端末及び前記サーバとの通信メッセージを中継する通信部と、
前記クライアント端末環境の変更前に、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録する記録部と、
前記レスポンスに基づいて、前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを作成する変換部と、
前記クライアント端末環境の変更後に、前記サーバから前記クライアント端末に送信されるレスポンスを受信した場合、前記紐付け情報に基づいて、前記受信したレスポンスを前記クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換え、前記クライアント端末に送信する静的置換部と、
を含む通信メッセージ変換装置としてコンピュータを機能させるための通信メッセージ変換プログラム。 A communication message conversion program for operating a computer as a communication message conversion device for absorbing a difference in screen configuration of a WEB browser that occurs after a change in the client terminal environment in a client terminal that communicates with a server via a network. There,
A communication unit that relays communication messages between the client terminal and the server,
Before the change of the client terminal environment, the request transmitted from the client terminal to the server, the response transmitted from the server to the client terminal, and the association information in which the request and the response are associated are obtained. The recording unit to record and
Based on the response, a conversion unit that creates a template response that matches the specifications of the WEB browser after the change of the client terminal environment, and
When a response sent from the server to the client terminal is received after the change of the client terminal environment, the received response is set to the specifications of the WEB browser after the change of the client terminal environment based on the association information. A static replacement part that replaces with the combined template response and sends it to the client terminal,
A communication message conversion program for operating a computer as a communication message conversion device including.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020037184A JP7267223B2 (en) | 2020-03-04 | 2020-03-04 | Communication message conversion method, communication message conversion device, and communication message conversion program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020037184A JP7267223B2 (en) | 2020-03-04 | 2020-03-04 | Communication message conversion method, communication message conversion device, and communication message conversion program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021140431A true JP2021140431A (en) | 2021-09-16 |
JP7267223B2 JP7267223B2 (en) | 2023-05-01 |
Family
ID=77668665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020037184A Active JP7267223B2 (en) | 2020-03-04 | 2020-03-04 | Communication message conversion method, communication message conversion device, and communication message conversion program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7267223B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001195391A (en) * | 2000-01-14 | 2001-07-19 | Nec Information Service Ltd | Format conversion and page division relay server |
JP2013122655A (en) * | 2011-12-09 | 2013-06-20 | Hitachi Systems Ltd | Browser execution script conversion system and browser execution script conversion program |
US20150312313A1 (en) * | 2014-04-23 | 2015-10-29 | Rimini Street, Inc. | Proxy for modifying http messages to comply with browser |
US20160344831A1 (en) * | 2015-05-21 | 2016-11-24 | Google Inc. | Proxy service for content requests |
-
2020
- 2020-03-04 JP JP2020037184A patent/JP7267223B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001195391A (en) * | 2000-01-14 | 2001-07-19 | Nec Information Service Ltd | Format conversion and page division relay server |
JP2013122655A (en) * | 2011-12-09 | 2013-06-20 | Hitachi Systems Ltd | Browser execution script conversion system and browser execution script conversion program |
US20150312313A1 (en) * | 2014-04-23 | 2015-10-29 | Rimini Street, Inc. | Proxy for modifying http messages to comply with browser |
US20160344831A1 (en) * | 2015-05-21 | 2016-11-24 | Google Inc. | Proxy service for content requests |
Also Published As
Publication number | Publication date |
---|---|
JP7267223B2 (en) | 2023-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4781897B2 (en) | Sensor event control device | |
JP4340566B2 (en) | Web page generation apparatus, embedded apparatus, Web page generation control method, Web page generation program, and recording medium | |
US7873353B2 (en) | Method and system for accessing applications and data, and for tracking of key indicators on mobile handheld devices | |
US7877682B2 (en) | Modular distributed mobile data applications | |
US20040205163A1 (en) | Information processing apparatus, information processing method, information processing program service providing apparatus, service providing method, service providing program and recording medium | |
US20070033213A1 (en) | Methods and systems for merging software-level objects with document-level objects in a document publishing environment | |
JP5476326B2 (en) | Web operation recording and reproducing method and apparatus | |
US7865821B2 (en) | Electronic document update notification device and electronic document update notifying method | |
JPH1115716A (en) | Document updation notifying device and document updation notifying method | |
Bovenzi et al. | Enabling legacy system accessibility by web heterogeneous clients | |
US20030135557A1 (en) | Distributed revision block service | |
JP2021140431A (en) | Communication message conversion method, communication message conversion device, and communication message conversion program | |
US20060123107A1 (en) | Web link management systems and methods | |
US7120663B2 (en) | Method and apparatus for updating XML data | |
JP2006302212A (en) | Data registration program to database | |
CN111045990B (en) | Document management system | |
JP4359569B2 (en) | Network communication equipment | |
JP2006287448A (en) | Document processing system | |
US20110126090A1 (en) | Component cooperation device, a component cooperation method, a method of updating components of a web page and a program thereof | |
JP2011186639A (en) | Content relation management system, content relation management device, content relation management method and program | |
JP2010086438A (en) | Business processing control system and business processing control method | |
JPWO2005109241A1 (en) | Data structure, structured data management system, structured data management method, and structured data management program | |
JP4758298B2 (en) | Design data management system | |
JP2006318138A (en) | Web system, server computer for web system, and computer program | |
JP2015135592A (en) | Information processing system and information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20221219 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20221219 |
|
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: 20230322 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230419 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7267223 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |