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 PDF

Info

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
Application number
JP2020037184A
Other languages
Japanese (ja)
Other versions
JP7267223B2 (en
Inventor
一彦 小崎
Kazuhiko Ozaki
一彦 小崎
泰成 松尾
Yasunari Matsuo
泰成 松尾
泰史 豊永
Yasushi Toyonaga
泰史 豊永
祐一 平峰
Yuichi Hiramine
祐一 平峰
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.)
Kyuden Business Solutions Co Inc
Original Assignee
Kyuden Business Solutions Co Inc
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 Kyuden Business Solutions Co Inc filed Critical Kyuden Business Solutions Co Inc
Priority to JP2020037184A priority Critical patent/JP7267223B2/en
Publication of JP2021140431A publication Critical patent/JP2021140431A/en
Application granted granted Critical
Publication of JP7267223B2 publication Critical patent/JP7267223B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

To provide a communication message conversion method not affected by a language included in a communication message concerning a screen configuration of a Web browser.SOLUTION: The communication message conversion method includes: before changing a client terminal environment, a communication message conversion device recording a request transmitted to a server, a response to be replied to a client terminal, and association information; based on the response, the communication message conversion device generating a model response in accordance with a specification of a Web browser after changing the client terminal environment for each language included in the response; and after changing the client terminal environment, the communication message conversion device receiving the response transmitted from the server to the client terminal, replacing the received response by the model response in accordance with the specification of the Web browser after changing the client terminal environment based on the association information, and transmitting the model response to the client terminal.SELECTED DRAWING: Figure 2

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 Patent Document 1, the page data acquired from the web server is converted into data suitable for the terminal device based on the resource information of the terminal device of the transfer destination, and then the converted page data is used in the terminal device. A web server device that transfers data to is disclosed.

特許文献2には、各種プロトコルに汎用的に対応可能な変換処理技術が利用可能となるように、既存システムをAPI(Application Programming Interface)化するためのAPI変換アダプタが開示されている。 Patent Document 2 discloses an API conversion adapter for converting an existing system into an API (Application Programming Interface) so that a conversion processing technology that can be used for various protocols can be used.

特開平11−250009号公報Japanese Unexamined Patent Publication No. 11-250009 特開2017−54411号公報JP-A-2017-54411

しかし、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.

本発明の実施の形態に係る通信メッセージ変換装置と、クライアント端末及びサーバとの通信イメージを示すイメージ図である。(A)はクライアント端末環境の変更前、(B)はクライアント端末環境の変更後の通信イメージである。It is an image diagram which shows the communication image between the communication message conversion apparatus which concerns on embodiment of this invention, a client terminal and a server. (A) is a communication image before the change of the client terminal environment, and (B) is a communication image after the change of the client terminal environment. 本発明の実施の形態に係る通信メッセージ変換装置を示す機能ブロック構成図である。It is a functional block block diagram which shows the communication message conversion apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る通信メッセージ変換手順を示すフローチャートである。It is a flowchart which shows the communication message conversion procedure which concerns on embodiment of this invention. 本発明の実施の形態に係る通信メッセージ変換手順を説明するための説明図である。It is explanatory drawing for demonstrating the communication message conversion procedure which concerns on embodiment of this invention. 本発明の実施の形態に係る通信メッセージ変換手順を説明するための説明図である。It is explanatory drawing for demonstrating the communication message conversion procedure which concerns on embodiment of this invention.

図1は、本発明の実施の形態における通信メッセージ変換装置1と、クライアント端末C及びサーバSとの通信イメージを示すイメージ図である。 FIG. 1 is an image diagram showing a communication image between the communication message conversion device 1 according to the embodiment of the present invention and the client terminal C and the server S.

クライアント端末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 business application 202 or OS 203 is updated to become the business application 212 or OS 213, the WEB browser 201 is also upgraded like the WEB browser 211.

その際、環境変更後のクライアント端末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 message conversion device 1 is used to convert the response from the server S according to the specifications of the WEB browser of the upgraded client terminal C, so that the server S can be used. It is possible to eliminate the need for program modification.

図2は、本発明の実施の形態における通信メッセージ変換装置1を示す機能ブロック構成図である。図2において、本発明の実施の形態における通信メッセージ変換装置1は、通信部11と、記録部12と、変換部13と、静的置換部14と、動的置換部15とを備える。 FIG. 2 is a functional block configuration diagram showing a communication message conversion device 1 according to an embodiment of the present invention. In FIG. 2, the communication message conversion device 1 according to the embodiment of the present invention includes a communication unit 11, a recording unit 12, a conversion unit 13, a static replacement unit 14, and a dynamic replacement unit 15.

通信部11は、クライアント端末CやサーバSとLAN(Local Area Network)やWAN(Wide Area Network)等のネットワーク通信網を介して通信する。また、受信したクライアント端末CやサーバSからの通信メッセージを解析して、上記各部12〜15に通信メッセージを振り分ける。 The communication unit 11 communicates with the client terminal C and the server S via a network communication network such as LAN (Local Area Network) or WAN (Wide Area Network). Further, the received communication messages from the client terminal C and the server S are analyzed, and the communication messages are distributed to the above-mentioned units 12 to 15.

記録部12は、クライアント端末CとサーバS間との通信メッセージを記録する。また、クライアント端末Cからのリクエストと、そのリクエストに対してサーバSから返ってくるレスポンスを紐付けして紐付け情報として記録する。 The recording unit 12 records a communication message between the client terminal C and the server S. Further, the request from the client terminal C and the response returned from the server S in response to the request are linked and recorded as the linking information.

変換部13は、受信したサーバSからのレスポンスに基づいて、前記クライアント端末C環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを、前記レスポンスに含まれる言語毎に作成する。 Based on the response from the received server S, the conversion unit 13 creates a template response according to the specifications of the WEB browser after the change of the client terminal C environment for each language included in the response.

静的置換部14は、クライアント端末C環境の変更後に、受信したサーバSからのレスポンスを、記録部12が記録した紐付け情報に基づいて、クライアント端末C環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスに置き換える。 The static replacement unit 14 adjusts the response from the server S received after the change of the client terminal C environment to the specifications of the WEB browser after the change of the client terminal C environment based on the association information recorded by the recording unit 12. Replace with the matched template response.

動的置換部15は、静的置換部14で置き換えられたレスポンスに、受信したサーバSからのレスポンスに含まれる可変情報を反映させる。 The dynamic replacement unit 15 reflects the variable information included in the response from the received server S in the response replaced by the static replacement unit 14.

静的置換部14や動的置換部15が作成したレスポンスは、通信部11を介してクライアント端末Cに送信される。 The response created by the static replacement unit 14 and the dynamic replacement unit 15 is transmitted to the client terminal C via the communication unit 11.

通信メッセージ変換装置1は、上記各部11〜15として機能させるための通信メッセージ変換プログラムをコンピュータ上で実行することによっても実現することができる。 The communication message conversion device 1 can also be realized by executing a communication message conversion program on a computer for functioning as the above-mentioned units 11 to 15.

(実施例)
通信メッセージ変換装置1を用いた通信メッセージ変換方法を、図3に示すフローチャートを参照して説明する。通信メッセージ変換方法は、図3(A)に示す紐付け方法と、図3(B)に示す置換方法からなる。紐付け方法はクライアント端末C環境の変更前に行い、置換方法はクライアント端末C環境の変更後に行う。
(Example)
A communication message conversion method using the communication message conversion device 1 will be described with reference to the flowchart shown in FIG. The communication message conversion method includes a linking method shown in FIG. 3 (A) and a replacement method shown in FIG. 3 (B). The associating method is performed before the change of the client terminal C environment, and the replacement method is performed after the change of the client terminal C environment.

[紐付け方法]
最初に、紐付け手順について、図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 communication unit 11 of the communication message conversion device 1 relays the communication between the client terminal C and the server S (see FIG. 2). When the associating process is started, the communication unit 11 that has received the request from the client terminal C notifies the recording unit 12 of the request, and the recording unit 12 records the request contents (S101, S102). Then, the request is transmitted (relayed) from the communication unit 11 to the server S (S103).

リクエストを受信したサーバ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 communication unit 11 that has received the response from the server S notifies the recording unit 12 of the response, and the recording unit 12 records the response content (S105, S106).

また、記録部12は、S102で記録したリクエストと該レスポンスとを紐付けし(どのようなリクエストに対し、どのようなレスポンスが返ってきたか)、記録する(S107)。 Further, the recording unit 12 associates the request recorded in S102 with the response (what kind of request is returned and what kind of response is returned) and records it (S107).

また、記録部12は、該レスポンスに基づいて、クライアント端末環境の変更後のWEBブラウザの仕様に合わせた雛形レスポンスを、該レスポンスに含まれる言語毎に作成する(S108)。言語毎に作成するとは、例えば、HTMLやCSS、JavaScript(登録商標)毎に雛形レスポンスを作成することである。雛形レスポンスは、予め、WEBブラウザの仕様に合わせたファイルを、WEBブラウザで表示されるページ毎に用意してもよいし、それ以外の方法で用意又は作成してもよい。 Further, based on the response, the recording unit 12 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 (S108). Creating for each language means, for example, creating a template response for each HTML, CSS, and Javascript (registered trademark). As the template response, a file according to the specifications of the WEB browser may be prepared in advance for each page displayed on the WEB browser, or may be prepared or created by any other method.

そして、該レスポンスは、通信部11からクライアント端末Cに送信(中継)される(S109)。 Then, the response is transmitted (relayed) from the communication unit 11 to the client terminal C (S109).

[クライアント端末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 message conversion device 1, or any other method may be used. After the change is completed, the communication message conversion device 1 switches the process from the associating method to the replacement method.

[置換方法]
次に、置換手順について、図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 communication unit 11 that has received the request from the client terminal C notifies the recording unit 12 of the request, and the recording unit 12 records the request contents (S201, S202). Then, the request is transmitted (relayed) from the communication unit 11 to the server S (S203).

リクエストを受信したサーバ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 communication unit 11 that has received the response from the server S notifies the static replacement unit 14 of the response (S205). The static replacement unit 14 replaces the response with a template response that matches the specifications of the WEB browser after the change of the client terminal C environment prepared in S108, based on the association information recorded in S107 by the recording unit 12 ( S206).

図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 dynamic replacement unit 15 reflects the variable information included in the response in the response replaced by the static replacement unit 14 in S206 (S207). The variable information is variable information included in the response returned by the server, for example, a user's screen input, a database acquisition result's screen display, and the like. Specifically, when logging in to the business system by entering an individual ID and password for each user from the screen (WEB browser), "Welcome xx (ID)" and "Welcome xx (user)" displayed at the time of login are displayed. It is a display such as "name)".

図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 static replacement unit 14. ..

よって、クライアント端末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 communication unit 11 to the client terminal C (S208). Since the response is converted according to the specifications of the WEB browser after the change of the client terminal C environment, layout collapse, malfunction, etc. do not occur in the screen display corresponding to the response.

このように、システム更新等によりクライアント端末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 message conversion device 1 can also be realized by executing a communication message conversion program for functioning as each unit 11 to 15 on the client terminal C.

本発明の通信メッセージ変換方法は、クライアント端末の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 Communication message converter 11 Communication unit 12 Recording unit 13 Conversion unit 14 Static replacement unit 15 Dynamic replacement unit 201 WEB browser (before changing client terminal environment)
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ブラウザの仕様に合わせた雛形レスポンスを、前記レスポンスに含まれる言語毎に作成すること、
前記クライアント端末環境の変更後に、前記通信メッセージ変換装置が、前記サーバから前記クライアント端末に送信されるレスポンスを受信し、前記紐付け情報に基づいて、前記受信したレスポンスを前記クライアント端末環境の変更後の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ブラウザの仕様に合わせた雛形レスポンスに置き換えてから、前記受信したレスポンスに含まれる可変情報を前記置き換えた雛形レスポンスに反映させ、前記クライアント端末に送信することを特徴とする請求項1に記載の通信メッセージ変換方法。 After the change of the client terminal environment, 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, and then the variable included in the received response. The communication message conversion method according to claim 1, wherein the information is reflected in the replaced template response and transmitted to the client terminal. ネットワーク網を介してサーバと通信するクライアント端末において、前記クライアント端末環境の変更後に発生するWEBブラウザの画面構成の差分を吸収するための通信メッセージ変換装置であって、
前記クライアント端末及び前記サーバとの通信メッセージを中継する通信部と、
前記クライアント端末環境の変更前に、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録する記録部と、
前記レスポンスに基づいて、前記クライアント端末環境の変更後の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.
前記静的置換部で置き換えられた雛形レスポンスに、前記受信したレスポンスに含まれる可変情報を反映させ、前記クライアント端末に送信する動的置換部を含むことを特徴とする請求項3に記載の通信メッセージ変換装置。 The communication according to claim 3, wherein the template response replaced by the static replacement unit includes a dynamic replacement unit that reflects the variable information included in the received response and transmits the variable information to the client terminal. Message converter. ネットワーク網を介してサーバと通信するクライアント端末において、前記クライアント端末環境の変更後に発生するWEBブラウザの画面構成の差分を吸収するための通信メッセージ変換装置としてコンピュータを機能させるための通信メッセージ変換プログラムであって、
前記クライアント端末及び前記サーバとの通信メッセージを中継する通信部と、
前記クライアント端末環境の変更前に、前記クライアント端末から前記サーバに送信されるリクエストと、前記サーバから前記クライアント端末に送信されるレスポンスと、前記リクエストと前記レスポンスが紐付けされた紐付け情報とを記録する記録部と、
前記レスポンスに基づいて、前記クライアント端末環境の変更後の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.
前記静的置換部で置き換えられた雛形レスポンスに、前記受信したレスポンスに含まれる可変情報を反映させ、前記クライアント端末に送信する動的置換部を含むことを特徴とする請求項5に記載の通信メッセージ変換プログラム。 The communication according to claim 5, wherein the template response replaced by the static replacement unit includes a dynamic replacement unit that reflects the variable information included in the received response and transmits the variable information to the client terminal. Message conversion program.
JP2020037184A 2020-03-04 2020-03-04 Communication message conversion method, communication message conversion device, and communication message conversion program Active JP7267223B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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