JP2019145055A - Communication system, gateway server, and program - Google Patents

Communication system, gateway server, and program Download PDF

Info

Publication number
JP2019145055A
JP2019145055A JP2018043542A JP2018043542A JP2019145055A JP 2019145055 A JP2019145055 A JP 2019145055A JP 2018043542 A JP2018043542 A JP 2018043542A JP 2018043542 A JP2018043542 A JP 2018043542A JP 2019145055 A JP2019145055 A JP 2019145055A
Authority
JP
Japan
Prior art keywords
communication device
data
server
conversion
gateway server
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
JP2018043542A
Other languages
Japanese (ja)
Inventor
吉田 晋
Susumu Yoshida
晋 吉田
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.)
CONNECTONE CO Ltd
Original Assignee
CONNECTONE CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CONNECTONE CO Ltd filed Critical CONNECTONE CO Ltd
Priority to JP2018043542A priority Critical patent/JP2019145055A/en
Publication of JP2019145055A publication Critical patent/JP2019145055A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

To provide a communication system, a gateway server, and a program that can provide content suitable for a terminal or the like having a relatively small screen by converting content.SOLUTION: A gateway server is connected with a communication device that receives and displays display object data transmitted by an information provision server, receives data from the information providing server which is an access destination of the communication device in response to a request from the communication device, and extracts the display object data which is a display object in the communication device from the data. The gateway server applies predetermined conversion processing to the display object data on the basis of a predetermined conversion rule and transmits data based on the converted display object data to the communication device.SELECTED DRAWING: Figure 1

Description

本発明は、通信システム、ゲートウェイサーバ、及びプログラムに関する。  The present invention relates to a communication system, a gateway server, and a program.

従来、セキュアな通信経路を確保しつつウェブサービスにアクセスする方法として、プロキシサーバを利用する方法がある。プロキシサーバは、クライアント側から、データの格納場所を表す参照情報(URLなど)を特定したデータの取得要求を受けて、当該参照情報によって特定されるウェブサーバにクライアントになり代わってアクセスしてデータを受信する。そして当該受信したデータにウィルス等のパターンが含まれていなければ、当該データをクライアント側に送出する。  Conventionally, as a method of accessing a web service while securing a secure communication path, there is a method of using a proxy server. The proxy server receives the data acquisition request specifying the reference information (URL or the like) indicating the data storage location from the client side, and accesses the web server specified by the reference information on behalf of the client to perform the data Receive. If the received data does not contain a pattern such as a virus, the data is sent to the client side.

例えば特許文献1には、クライアントとの間で非暗号化通信を行い、ウェブサーバとの間で暗号化通信を行うプロキシサーバが開示されている。  For example, Patent Document 1 discloses a proxy server that performs non-encrypted communication with a client and performs encrypted communication with a web server.

特開2006−129138号公報JP 2006-129138 A

一方で、クライアント側では、クライアントである端末がパーソナルコンピュータである場合と、スマートフォン等の小画面のものである場合と、など、その性質により受信したデータをすべて表示すると、画面上で見づらくなったりといった事態が想定される。しかしながら業務用のウェブアプリケーションにおいては、一般的なウェブサイトとは異なり、スマートフォン用のコンテンツが必ずしも用意されていない。  On the other hand, on the client side, if all the received data is displayed due to its nature, such as when the client terminal is a personal computer or a small screen such as a smartphone, it may be difficult to see on the screen Such a situation is assumed. However, in a web application for business use, unlike a general website, content for a smartphone is not necessarily prepared.

本発明は上記実情に鑑みて為されたもので、コンテンツを変換して、画面が比較的狭小な端末等に適したコンテンツを提供できる通信システム、ゲートウェイサーバ、及びプログラムを提供することを、その目的の一つとする。  The present invention has been made in view of the above circumstances, and provides a communication system, a gateway server, and a program capable of providing content suitable for a terminal having a relatively narrow screen by converting the content. One of the purposes.

本発明は上記実情に鑑みて為されたもので、サーバが送信する表示対象データを受信して表示する通信装置に接続されるゲートウェイサーバであって、前記通信装置からの要求に応じて、通信装置のアクセス先であるサーバからデータを受信する手段と、当該受信したデータから、前記通信装置において表示の対象となる表示対象データを抽出する手段と、予め定めた変換規則に基づいて、当該表示対象データに対して所定の変換処理を施す変換手段と、当該変換した表示対象データに基づくデータを、前記通信装置に送出する手段と、を含むこととしたものである。  The present invention has been made in view of the above circumstances, and is a gateway server connected to a communication device that receives and displays display target data transmitted by a server, and communicates in response to a request from the communication device. A means for receiving data from a server that is an access destination of the apparatus; a means for extracting display target data to be displayed in the communication apparatus from the received data; and the display based on a predetermined conversion rule. A conversion unit that performs a predetermined conversion process on the target data and a unit that sends data based on the converted display target data to the communication device are included.

本発明によると、コンテンツを変換することで、画面が比較的狭小な端末等に適したコンテンツを提供できる。  According to the present invention, content suitable for a terminal having a relatively narrow screen can be provided by converting the content.

本発明に係る情報処理装置の構成例、及び接続例を表すブロック図である。1 is a block diagram illustrating a configuration example and a connection example of an information processing apparatus according to the present invention. 本発明に係るゲートウェイサーバの例を表す機能ブロック図である。It is a functional block diagram showing the example of the gateway server which concerns on this invention. 本発明に係るゲートウェイサーバの設定画面例である。It is an example of the setting screen of the gateway server which concerns on this invention. 本発明に係るゲートウェイサーバの変換テーブル情報例である。It is an example of the conversion table information of the gateway server which concerns on this invention.

本発明の実施の形態について図面を参照しながら説明する。本発明の実施の形態に係る通信システムは、図1に例示するように、通信装置1と、ゲートウェイサーバとしてのゲートウェイサーバ2と、サーバ装置としての情報提供サーバ3a,3b…とを含んで構成される。  Embodiments of the present invention will be described with reference to the drawings. As shown in FIG. 1, the communication system according to the embodiment of the present invention includes a communication device 1, a gateway server 2 as a gateway server, and information providing servers 3a, 3b,. Is done.

ここで通信装置1とゲートウェイサーバ2とは、互いにローカルエリアネットワーク(LAN)またはインターネット等の広域ネットワーク(WAN)を介して通信可能に接続され、また、ゲートウェイサーバ2と情報提供サーバ3とはインターネット等の広域ネットワーク(WAN)を介して通信可能に接続されている。  Here, the communication device 1 and the gateway server 2 are connected to each other via a local area network (LAN) or a wide area network (WAN) such as the Internet, and the gateway server 2 and the information providing server 3 are connected to the Internet. Or the like via a wide area network (WAN).

通信装置1は、図1に例示するように、制御部11と、記憶部12と、操作部13と、表示部14と、通信部15とを含んで構成され、LAN及びゲートウェイサーバ2等の通信手段を介して情報提供サーバ3a,3b…との間で通信を行うものである。この通信装置1は、パーソナルコンピュータ(PC)によって実現されてもよいし、スマートフォンやタブレット端末等の携帯端末によって実現されてもよい。  As illustrated in FIG. 1, the communication device 1 includes a control unit 11, a storage unit 12, an operation unit 13, a display unit 14, and a communication unit 15, such as a LAN and gateway server 2. It communicates with the information providing servers 3a, 3b... Via the communication means. The communication device 1 may be realized by a personal computer (PC) or a mobile terminal such as a smartphone or a tablet terminal.

制御部11は、CPU等のプログラム制御デバイスであり、記憶部12に格納されたプログラムに従って動作する。本実施の形態の制御部11は、通信装置1が例えばPCであれば、記憶部12に格納されているオペレーティングシステムや、データアクセスソフトウエアとしてのウェブブラウザのプログラムを含む各種アプリケーションプログラムがインストールされており、ユーザの指示に従ってこれらのアプリケーションプログラムに従った処理を実行する。  The control unit 11 is a program control device such as a CPU, and operates according to a program stored in the storage unit 12. If the communication device 1 is a PC, for example, the control unit 11 of the present embodiment is installed with various application programs including an operating system stored in the storage unit 12 and a web browser program as data access software. And executes processing according to these application programs in accordance with user instructions.

本実施の形態では、制御部11は、ウェブブラウザのプログラムを実行し、外部のサーバへのアクセスの処理を行う。これらの処理において制御部11は、外部のサーバ(情報提供サーバ3)に対してゲートウェイサーバ2を介してのみ通信を行うよう制御される(すなわち、ゲートウェイサーバ2をプロキシサーバとして用いるよう設定されている)ものとする。  In the present embodiment, the control unit 11 executes a web browser program and performs access processing to an external server. In these processes, the control unit 11 is controlled to communicate with an external server (information providing server 3) only through the gateway server 2 (that is, set to use the gateway server 2 as a proxy server). ).

記憶部12は、ハードディスクドライブや、フラッシュメモリ等の記憶デバイスを含んで構成される。この記憶部12は、制御部11によって実行されるプログラムや各種設定データを格納している。このプログラムはDVD−ROM等のコンピュータ可読かつ非一時的な記憶媒体に格納されて提供され、この記憶部12にインストールされたものであってもよい。また、このプログラムは、ネットワーク等の通信手段を介して提供され、この記憶部12にインストールされたものであってもよい。さらに本実施の形態において、この記憶部12は、制御部11のワークメモリとしても動作する。  The storage unit 12 includes a storage device such as a hard disk drive or a flash memory. The storage unit 12 stores programs executed by the control unit 11 and various setting data. This program may be provided by being stored in a computer-readable non-transitory storage medium such as a DVD-ROM and installed in the storage unit 12. Further, this program may be provided via communication means such as a network and installed in the storage unit 12. Further, in the present embodiment, the storage unit 12 also operates as a work memory of the control unit 11.

操作部13は、キーボードやマウス、あるいはキーパッドないしタッチパネル等であり、ユーザの操作を受け入れて、当該操作の内容を表す情報を制御部11に出力する。表示部14は、例えば液晶ディスプレイ等であり、制御部11から入力される指示に従って、情報を表示する。  The operation unit 13 is a keyboard, a mouse, a keypad, a touch panel, or the like. The operation unit 13 receives a user operation and outputs information representing the content of the operation to the control unit 11. The display unit 14 is a liquid crystal display, for example, and displays information according to an instruction input from the control unit 11.

通信部15は、有線または無線のネットワークインタフェース等であり、制御部11から入力される指示に従って、外部の通信先との間で情報を送受する。この通信部15は、外部の通信先からネットワーク等を介して到来した、通信装置1宛の情報を受信して制御部11に対して出力するとともに、制御部11から入力される指示に従い、指示された宛先に対してネットワーク等を介して指示された情報を送出する。  The communication unit 15 is a wired or wireless network interface or the like, and transmits / receives information to / from an external communication destination according to an instruction input from the control unit 11. The communication unit 15 receives information addressed to the communication device 1 that has arrived from an external communication destination via a network and outputs the information to the control unit 11, and in accordance with an instruction input from the control unit 11 The instructed information is transmitted to the designated destination via the network or the like.

ゲートウェイサーバ2は、制御部21と、記憶部22と、第1通信部23と、第2通信部24とを含んで構成される。この制御部21は、CPU等のプログラム制御デバイスであり、記憶部22に格納されたプログラムに従って動作する。本実施の形態の制御部21は、ゲートウェイサーバとしての処理を実行する。具体的にこの制御部21は、第1通信部23からLANを介して、または第2通信部24からWANを介して、通信装置1から受信した通信開始要求を受け入れる。  The gateway server 2 includes a control unit 21, a storage unit 22, a first communication unit 23, and a second communication unit 24. The control unit 21 is a program control device such as a CPU, and operates according to a program stored in the storage unit 22. The control part 21 of this Embodiment performs the process as a gateway server. Specifically, the control unit 21 accepts a communication start request received from the communication device 1 from the first communication unit 23 via the LAN or from the second communication unit 24 via the WAN.

制御部21は通信開始要求を受け入れると、当該通信開始要求を行った通信装置1との間の通信を開始するか否かを判断し、通信を開始すると判断すると、通信装置1から情報提供サーバ3宛の情報(情報の要求等)を第1通信部23または第2通信部24を介して受信し、第2通信部24を介して送出する。またこの制御部21は、第2通信部24を介して情報提供サーバ3等から、通信を開始した通信装置1宛の情報を受信すると、通信装置1において表示の対象となる表示対象データを抽出し、予め定めた変換規則に基づいて、当該抽出した表示対象データに対して所定の変換処理を施す。そしてこの制御部11は、当該変換した表示対象データに基づくデータを、第1通信部23または第2通信部24を介して通信装置1へ当該受信した情報を送出する。つまり、この制御部21の動作により、ゲートウェイサーバ2は、プロキシサーバとしての動作を行い、また、コンテンツを変換する処理を行うこととなる。この制御部21の動作については後に詳しく述べる。  When the control unit 21 accepts the communication start request, the control unit 21 determines whether or not to start communication with the communication device 1 that has made the communication start request. 3 is received via the first communication unit 23 or the second communication unit 24 and transmitted via the second communication unit 24. When the control unit 21 receives information addressed to the communication device 1 that has started communication from the information providing server 3 or the like via the second communication unit 24, the control unit 21 extracts display target data to be displayed in the communication device 1. Then, a predetermined conversion process is performed on the extracted display target data based on a predetermined conversion rule. The control unit 11 sends the received information to the communication device 1 via the first communication unit 23 or the second communication unit 24 based on the converted display target data. That is, by the operation of the control unit 21, the gateway server 2 performs an operation as a proxy server, and performs a process of converting content. The operation of the control unit 21 will be described in detail later.

記憶部22は、フラッシュメモリ等の不揮発性の記憶デバイスや、DRAM(Dynamic Random Access Memory)等の揮発性の記憶デバイスを含んで構成される。この記憶部22は、制御部21によって実行されるプログラムを格納している。このプログラムはDVD−ROM等のコンピュータ可読かつ非一時的な記憶媒体に格納されて提供され、この記憶部22にインストールされたものであってもよい。また、このプログラムは、ネットワーク等の通信手段を介して提供され、この記憶部22にインストールされたものであってもよい。さらに本実施の形態において、この記憶部22は、制御部21のワークメモリとしても動作する。  The storage unit 22 includes a nonvolatile storage device such as a flash memory, and a volatile storage device such as a DRAM (Dynamic Random Access Memory). The storage unit 22 stores a program executed by the control unit 21. This program may be provided by being stored in a computer-readable non-transitory storage medium such as a DVD-ROM and installed in the storage unit 22. Further, this program may be provided via communication means such as a network and installed in the storage unit 22. Further, in the present embodiment, the storage unit 22 also operates as a work memory for the control unit 21.

第1通信部23は、有線または無線のネットワークインタフェース等であり、制御部21から入力される指示に従って、LANを介して接続される通信先との間で情報を送受する。この第1通信部23は、通信先からLANを介して到来した、情報提供サーバ3宛の情報を受信して制御部21に対して出力する。またこの第1通信部23は、制御部21から入力される指示に従い、指示された宛先に対しLANを介して指示された情報を送出する。本実施の形態において、この第1通信部23には、予め定められたIPアドレス(以下、内部既定IPアドレスと呼ぶ)が設定されているものとする。  The first communication unit 23 is a wired or wireless network interface or the like, and transmits / receives information to / from a communication destination connected via the LAN in accordance with an instruction input from the control unit 21. The first communication unit 23 receives information addressed to the information providing server 3 that has arrived from the communication destination via the LAN and outputs the information to the control unit 21. Further, the first communication unit 23 sends the instructed information to the instructed destination via the LAN according to the instruction input from the control unit 21. In the present embodiment, it is assumed that a predetermined IP address (hereinafter referred to as an internal default IP address) is set in the first communication unit 23.

第2通信部24は、有線のネットワークインタフェース等であり、制御部21から入力される指示に従って、ネットワーク(WAN)を介して接続される通信先との間で情報を送受する。この第2通信部24は、通信先となった情報提供サーバ3等からWANを介して到来した、通信装置1宛の情報を受信して制御部21に対して出力する。またこの第2通信部24は、制御部21から入力される指示に従い、指示された情報提供サーバ3等の宛先に対しWANを介して指示された情報を送出する。本実施の形態において、この第2通信部24にも、予め定められたIPアドレス(以下、外部既定IPアドレスと呼ぶ)が設定されているものとする。一般的に内部既定IPアドレスと外部既定IPアドレスとは異なるIPアドレスとなっている。  The second communication unit 24 is a wired network interface or the like, and transmits / receives information to / from a communication destination connected via a network (WAN) in accordance with an instruction input from the control unit 21. The second communication unit 24 receives information addressed to the communication device 1 that has arrived via the WAN from the information providing server 3 or the like that is the communication destination, and outputs the information to the control unit 21. The second communication unit 24 sends the instructed information to the destination of the instructed information providing server 3 or the like via the WAN in accordance with the instruction input from the control unit 21. In the present embodiment, it is assumed that a predetermined IP address (hereinafter referred to as an external default IP address) is also set in the second communication unit 24. Generally, the internal default IP address and the external default IP address are different IP addresses.

情報提供サーバ3は、例えばウェブサーバ等であり、通信装置1等からURL(Uniform Resource Locators)の指定とともにウェブページや画像情報の要求を受けると、当該URLで特定されるウェブページ等の情報を送出する処理を実行するものである。  The information providing server 3 is, for example, a web server, and receives a request for a web page or image information from a communication device 1 or the like together with a URL (Uniform Resource Locator) designation, and then obtains information such as a web page specified by the URL. The process to send out is executed.

また、この情報提供サーバ3のうちには、認証を要するもの(以下、認証サーバ3Cという)があってもよい。この認証サーバ3Cは、ゲートウェイサーバ2を介して認証要求を受信すると、当該ゲートウェイサーバ2に対してユーザ名やパスワード等の認証情報の入力を求めるウェブページ等を送出する。そしてこの認証サーバ3Cは、ゲートウェイサーバ2を介して送出された認証情報と、予め情報提供サーバ3側で保持する認証情報とを比較して、それらが一致するまでは所定のウェブページ等の送出を行わないといったユーザ認証の処理を行う。  Among the information providing servers 3, there may be one that requires authentication (hereinafter referred to as an authentication server 3C). When the authentication server 3C receives an authentication request via the gateway server 2, the authentication server 3C sends a web page or the like for requesting input of authentication information such as a user name and a password to the gateway server 2. The authentication server 3C compares the authentication information sent via the gateway server 2 with the authentication information held in advance on the information providing server 3 side, and sends a predetermined web page or the like until they match. The user authentication process such as not performing is performed.

次にゲートウェイサーバ2の制御部21の動作について説明する。本実施の形態の一例では、この制御部21は、図2に例示するように、要求受信部31と、サーバアクセス部32と、データ抽出部33と、変換処理部34と、送出制御部35とを含んで構成されている。  Next, the operation of the control unit 21 of the gateway server 2 will be described. In the example of the present embodiment, as illustrated in FIG. 2, the control unit 21 includes a request reception unit 31, a server access unit 32, a data extraction unit 33, a conversion processing unit 34, and a transmission control unit 35. It is comprised including.

ここで要求受信部31は、通信装置1から、アクセス先である情報提供サーバ3側のURL(Uniform Resource Locator)を受け入れ、サーバアクセス部32に出力する。後に説明するように、本実施の形態においてゲートウェイサーバ2と通信装置1との間で、SSL(Secure Socket Layer)等によるセキュアな通信路を設定して、この通信路を介して通信を行う場合、この要求受信部31は、暗号化されたURLの情報を受信し、ここで復号して、サーバアクセス部32に出力する。  Here, the request receiving unit 31 accepts a URL (Uniform Resource Locator) on the information providing server 3 side that is an access destination from the communication device 1, and outputs it to the server access unit 32. As described later, in the present embodiment, a secure communication path such as SSL (Secure Socket Layer) is set between the gateway server 2 and the communication apparatus 1 and communication is performed via this communication path. The request receiving unit 31 receives the encrypted URL information, decrypts it here, and outputs it to the server access unit 32.

サーバアクセス部32は、要求受信部31が受信したURLに対してデータの取得を要求する。また、このサーバアクセス部32は、当該データの取得要求に応じて受信されたデータをデータ抽出部33に出力する。本実施の形態の一例では、このサーバアクセス部32は、一般的なプロキシサーバとは異なり、アクセス先である情報提供サーバ3に対しては、ウェブブラウザであるかのように振る舞って、SSLによるセキュアな通信路を設定する。この通信路を介して受信されるデータは、アクセス先である情報提供サーバ3において暗号化されて送出され、後に説明するデータ抽出部33によって復号されて、暗号化前のデータが取り出される。また、この通信路を介して送信するデータは、このサーバアクセス部32によって暗号化されて、アクセス先である情報提供サーバ3へ送信される。  The server access unit 32 requests data acquisition for the URL received by the request reception unit 31. The server access unit 32 outputs the data received in response to the data acquisition request to the data extraction unit 33. In an example of the present embodiment, the server access unit 32 behaves as if it is a web browser to the information providing server 3 that is an access destination, unlike a general proxy server, and is based on SSL. Set up a secure channel. Data received via this communication path is encrypted and transmitted by the information providing server 3 as an access destination, decrypted by a data extraction unit 33 described later, and data before encryption is extracted. Further, the data to be transmitted through this communication path is encrypted by the server access unit 32 and transmitted to the information providing server 3 that is the access destination.

データ抽出部33は、サーバアクセス部32が出力する、情報提供サーバ3から受信したデータを受け入れる。そしてこのデータ抽出部33は、当該データが暗号化されていれば、SSLの設定時に受け入れた復号鍵を用いて、このデータを復号して、暗号化前のデータを抽出して出力する。また、データ抽出部33は、サーバアクセス部32が出力する、情報提供サーバ3から受信したデータが暗号化されていない場合は、当該データをそのまま変換処理部34に出力してもよい。またこのとき、データ抽出部33は、当該データの取得元となったURL(要求受信部31が受け入れたURL)を併せて変換処理部34に出力してもよい。  The data extraction unit 33 accepts data received from the information providing server 3 output from the server access unit 32. If the data is encrypted, the data extraction unit 33 decrypts the data using the decryption key accepted at the time of SSL setting, and extracts and outputs the data before encryption. In addition, when the data received from the information providing server 3 output from the server access unit 32 is not encrypted, the data extraction unit 33 may output the data to the conversion processing unit 34 as it is. At this time, the data extraction unit 33 may also output the URL (the URL received by the request reception unit 31) from which the data has been acquired to the conversion processing unit 34.

変換処理部34は、データ抽出部33が出力するデータを受け入れて、予め定めた変換規則に基づく変換処理を実行する。具体的にこの変換処理部34が用いる変換規則は、変換トリガと、変換処理の内容を表す情報とを関連付けたものである。  The conversion processing unit 34 receives the data output from the data extraction unit 33 and executes a conversion process based on a predetermined conversion rule. Specifically, the conversion rule used by the conversion processing unit 34 associates a conversion trigger with information representing the content of the conversion process.

ここで変換処理の内容は、例えば、HTML(Hyper Text Markup Language)で記述された構造化文書のデータのうち、指定された構造化情報(HTMLの場合はタグ)の一部、例えば、指定されたidに係るタグで表される情報(構造部分)を「不可視(hidden)」属性に設定する処理等を含む。本実施の形態の一例では、この変換処理の内容は予め用意された変換規則テンプレートを書き換えて作成される。この変換処理部34が用いる変換規則の生成例並びに利用例、及び変換処理部34の具体的動作については後に説明する。  Here, the content of the conversion process is specified, for example, as a part of specified structured information (a tag in the case of HTML) of structured document data described in HTML (Hyper Text Markup Language). And processing for setting the information (structure part) represented by the tag related to id to the “hidden” attribute. In an example of the present embodiment, the contents of this conversion process are created by rewriting a conversion rule template prepared in advance. Examples of generation and use of conversion rules used by the conversion processing unit 34 and specific operations of the conversion processing unit 34 will be described later.

送出制御部35は、変換処理部34により変換処理されたデータを、通信装置1に対して送出する。本実施の形態の例では、この送出制御部35は、通信装置1との間にセキュアな通信路を設定し、この通信路を介して暗号化通信(例えばSSL等による通信)を行ってもよい。この場合、通信装置1との間の暗号化通信で用いられる暗号鍵(公開鍵)と、復号鍵(秘密鍵)とのキーペアは、サーバアクセス部32が用いる、情報提供サーバ3との間で用いるキーペアとは異なるものとなる。  The transmission control unit 35 transmits the data converted by the conversion processing unit 34 to the communication device 1. In the example of the present embodiment, the transmission control unit 35 sets a secure communication path with the communication device 1 and performs encrypted communication (for example, communication using SSL or the like) via the communication path. Good. In this case, the key pair of the encryption key (public key) and the decryption key (secret key) used in encrypted communication with the communication device 1 is between the information providing server 3 used by the server access unit 32. It is different from the key pair used.

次に変換処理部34による変換処理の具体例について説明する。本実施の形態の例では、記憶部22には予め、変換の対象となるデータ(ここでは表示対象データとしてのHTMLデータ)の種類ごとに変換規則テンプレートが定められている。ここでデータの種類は、例えば、HTMLデータの表すウェブページが、
(1)データ検索用のページ
(2)対象物の一覧表示のページ
(3)対象物の詳細を表示するページ

など、予め定められたいずれのページのデータであるかを表すものとする。このようなページの種類の例としては、業務システムで広く使われているページの種類を採用すればよい。
Next, a specific example of conversion processing by the conversion processing unit 34 will be described. In the example of the present embodiment, a conversion rule template is defined in advance in the storage unit 22 for each type of data to be converted (here, HTML data as display target data). The data type here is, for example, a web page represented by HTML data,
(1) Data search page (2) Object list display page (3) Object details page ...
It is assumed that the page data is determined in advance. As an example of such a page type, a page type widely used in a business system may be adopted.

以下では、一例として(2)対象物の一覧表示のページに対応する変換規則テンプレートについて説明する。この例では、対象物(検索結果となった商品等)に係る情報がテーブル(HTMLにおける<table>タグを用いた表示データ)の状態で表示されるものとして、当該テーブルに含まれるカラムのうち、予め通信装置1では表示しないものとして定めたカラムを、「不可視(hidden)」属性に設定する記述が含まれる。  Below, the conversion rule template corresponding to the page of the list display of (2) target object is demonstrated as an example. In this example, it is assumed that information relating to an object (a product etc. that is a search result) is displayed in the state of a table (display data using <table> tag in HTML), among the columns included in the table. In addition, a description that sets a column that is previously determined not to be displayed in the communication device 1 as the “hidden” attribute is included.

この設定は、対応するカラムのタグ(<td>タグ)に対して、style=“visibility:hidden;”または、style=“visibility:collapse;”の記述を追加することで行われるので、当該記述は、タグを特定する情報と、当該情報で特定されるタグにstyle=“visibility:hidden;”などの「不可視(hidden)」属性の設定を追加する指示とを含む。  This setting is performed by adding a description of style = “visibility: hidden;” or style = “visibility: collapse;” to the corresponding column tag (<td> tag). Includes information specifying a tag and an instruction to add a setting of an “invisible” attribute such as style = “visibility: hidden;” to the tag specified by the information.

また、変換規則テンプレートには、別のタグ(例えば一部の箇条書きタグ(<ul>タグ))については、メニューとして表示するように書き換える旨の記述が含まれてもよい。この記述は、メニュー表示のためのスクリプト(例えばjavascriptで記述される)を含む。このようなメニューへの設定等は例えば、j−query−ui等の広く知られたライブラリを用いて行うことができ、そのためのHTMLデータへの追記方法等は広く知られているので、ここでの詳しい説明を省略する。
さらに変換規則テンプレートでは、読み込むべきスクリプトや外観を指定するデータ(cssデータ等)を書き換える規則が含まれてもよい。一例としては、所定の文字列で特定されるjavascriptのファイル名を、他のファイル名に変換する処理等が挙げられる。これにより、例えばcommon.jsのようなファイル名を、common−smart−phone.jsに書き換える、等の処理が可能となる。
In addition, the conversion rule template may include a description that another tag (for example, some bullet tags (<ul> tag)) is rewritten to be displayed as a menu. This description includes a script (for example, described in javascript) for menu display. For example, setting to such a menu can be performed using a well-known library such as j-query-ui, and a method for appending to HTML data for that purpose is widely known. Detailed description of is omitted.
Further, the conversion rule template may include a rule for rewriting a script to be read and data (css data or the like) designating the appearance. As an example, there is a process of converting a file name of javascript specified by a predetermined character string into another file name. Thereby, for example, common. a file name such as js, common-smart-phone. Processing such as rewriting to js becomes possible.

本実施の形態のゲートウェイサーバ2の管理者は、予め、ユーザが通信装置1からアクセスする、情報提供サーバ3が提供するウェブページについて、当該ウェブページのうち、少なくとも上記変換規則テンプレートが定められている種類のページについて、対応する変換規則テンプレートを用いて変換規則を生成しておく。  The administrator of the gateway server 2 according to the present embodiment has at least the conversion rule template defined in advance for the web page provided by the information providing server 3 that the user accesses from the communication device 1. For a certain type of page, a conversion rule is generated using a corresponding conversion rule template.

すなわち、この管理者は、変換規則テンプレートを複写し、当該複写した変換規則テンプレートに、不可視属性に設定するタグを特定する情報やメニューとして表示するタグを特定する情報を、具体的な変換の対象となるHTMLデータに合わせて修正し、情報提供サーバ3が提供する、対応するウェブページのURLに関連付けて、変換内容を表す情報として記憶部22に格納する。  That is, the administrator copies the conversion rule template, and in the copied conversion rule template, specifies information for specifying a tag to be set as an invisible attribute or information for specifying a tag to be displayed as a menu, as a specific conversion target. The information is corrected in accordance with the HTML data, and stored in the storage unit 22 as information representing the conversion contents in association with the URL of the corresponding web page provided by the information providing server 3.

変換処理部34は、データ抽出部33がデータを出力すると、当該出力されたデータの取得元となったURLの情報を参照し、記憶部22に格納された変換規則のうち、当該参照したURLと同じURLの情報に関連付けて格納された、変換内容を表す情報があるか否かを調べる。ここで参照したURLと同じURLの情報に関連付けて格納された、変換内容を表す情報がなければ、変換処理部34は、変換処理を行うことなく、データ抽出部33が出力したデータを送出制御部35に出力してもよい。また、後に説明するように、すべてのデータを対象とする変換内容を表す情報が設定されているときには、当該変換内容を表す情報に基づく変換処理を行ってもよい。  When the data extraction unit 33 outputs data, the conversion processing unit 34 refers to the information on the URL that is the acquisition source of the output data, and among the conversion rules stored in the storage unit 22, the referred URL It is checked whether or not there is information representing the conversion contents stored in association with the information of the same URL. If there is no information representing the conversion content stored in association with the same URL information as the URL referred to here, the conversion processing unit 34 controls the transmission of the data output by the data extraction unit 33 without performing the conversion process. You may output to the part 35. Further, as will be described later, when information representing conversion contents for all data is set, conversion processing based on information representing the conversion contents may be performed.

また、変換処理部34は、上記参照したURLと同じURLの情報に関連付けて格納された、変換内容を表す情報があれば、当該変換内容を表す情報を参照して、データ抽出部33が出力したデータの変換処理を実行する。すなわち、上述の例によれば、データ抽出部33が出力したデータに含まれるテーブルタグ内の、所定の<td>タグ(例えば2番目と3番目と…といったように、どの<td>タグについて処理を行うかは上記管理者が決定する)内に、style=“visibility:hidden;”などの「不可視(hidden)」属性の設定を追加する。  In addition, if there is information indicating the conversion content stored in association with the information of the same URL as the above-referenced URL, the conversion processing unit 34 refers to the information indicating the conversion content and outputs the information. The converted data is processed. That is, according to the above-described example, for which <td> tag, such as a predetermined <td> tag (for example, second, third,...) In the table tag included in the data output by the data extraction unit 33. The setting of “hidden” attribute such as style = “visibility: hidden;” is added to the above.

本実施の形態の変換処理部34のこの処理により、対象物の一覧表示のページ等において、管理者が指定したカラムが不可視属性となり、通信装置1側のブラウザによって表示されないこととなる。これにより、通信装置1の表示部14の大きさが、PC(Personal Computer)等に比べて狭小であるような場合に、必要でない情報が不可視の状態となり、一覧の視認性を向上できる。  With this processing of the conversion processing unit 34 according to the present embodiment, the column specified by the administrator becomes an invisible attribute on the page for displaying the list of objects, and is not displayed by the browser on the communication device 1 side. Thereby, when the size of the display unit 14 of the communication device 1 is narrower than that of a PC (Personal Computer) or the like, unnecessary information becomes invisible, and the visibility of the list can be improved.

また、この例によると、スマートフォン用のサイトなどを別途作成する必要もなく、さらにデータは削除されるのではなく、単に不可視の属性が設定されているだけであるので、表示されていない情報も通信装置1には到達しており、ブラウザではなく、情報提供サーバ3が提供する情報を表示ないし処理する、専用のアプリケーション等を用いる場合に不具合(対象となるカラムのデータが到達しないことによる不具合)が生じることもない。
もっとも、元のデータが到達しなくても、アプリケーション等による不具合が生じないカラムのデータについては、不可視の属性を設定する代わりに、当該データを削除し、あるいは他のデータ(より短いデータ等)に置き換えてもよい。
また、ここでの説明では、不可視の属性を設定し、あるいは削除、ないし文字列等のデータを置き換えるカラムは、予め定められているものとしたが、変換規則テンプレートにおいては、条件と、当該条件が満足されたときに、実行するべき処理とが関連付けて記録されていてもよい。
例えば、カラムのうち、所定の条件を満足するカラム(例えば当該カラム内のデータ長(具体的にはカラム内のデータの最長の文字列がN文字以下である、など)や、当該カラムのうちデータが空である行がいくつあるか(例えばカラム内の全行のうち、80%以上の行が空である、など)に基づく条件とする)については、当該カラムのデータに不可視の属性を設定する、などとしてもよい。
この例では、変換処理部34は、データの指定されたパート(例えばテーブル内のカラム、<div>タグで区切られた部分、所定のクラスが設定されたデータ部分、等)が、変換規則テンプレートに含まれる条件を満足するか否かを判断し、満足する場合に、当該条件に関連付けられた処理を実行する。
In addition, according to this example, there is no need to create a smartphone site separately, and the data is not deleted, only invisible attributes are set, so information that is not displayed It has arrived at the communication device 1 and has a problem when using a dedicated application or the like that displays or processes information provided by the information providing server 3 instead of a browser (a problem caused by the target column data not reaching) ) Does not occur.
Of course, even if the original data does not arrive, for the column data that does not cause problems due to applications, etc., instead of setting the invisible attribute, delete the data or other data (shorter data etc.) May be replaced.
In the description here, a column for setting an invisible attribute or deleting or replacing data such as a character string is predetermined, but in the conversion rule template, a condition and the condition May be recorded in association with a process to be executed.
For example, among the columns satisfying a predetermined condition (for example, the data length in the column (specifically, the longest character string of the data in the column is N characters or less), The number of rows with empty data (for example, a condition based on 80% or more of all the rows in a column is empty). It may be set.
In this example, the conversion processing unit 34 converts the specified part of data (for example, a column in the table, a part delimited by <div> tags, a data part in which a predetermined class is set, etc.) into a conversion rule template. It is determined whether or not a condition included in is satisfied, and if it is satisfied, a process associated with the condition is executed.

さらに本実施の形態のここまでの説明の例では、変換規則はURLごとに定められ、変換内容を表す情報は、当該情報が表す変換内容によって変換されるデータの取得元となるURLに関連付けて保持されるものとしていたが、本実施の形態はこれに限られない。例えば、すべてのデータに対して対象となる変換内容を表す情報があってもよい。また、HTMLデータ内の文字列に係る条件(例えば正規表現で表された文字列探索条件)に一致するタグを対象とする変換内容を表す情報があってもよい。  Further, in the example described so far in the present embodiment, the conversion rule is determined for each URL, and the information indicating the conversion content is associated with the URL from which the data converted by the conversion content represented by the information is obtained. However, the present embodiment is not limited to this. For example, there may be information indicating the conversion contents to be processed for all data. Further, there may be information representing the conversion content for a tag that matches a condition related to a character string in HTML data (for example, a character string search condition represented by a regular expression).

一例として、すべてのデータに対して、class属性に所定の文字列(例えば「IE7」等)が含まれる場合に、当該タグ情報に不可視の属性を表す記述を追加する、といった変換内容を表す情報が含まれてもよい。  As an example, for all data, when a predetermined character string (for example, “IE7” or the like) is included in the class attribute, information indicating conversion contents such as adding a description indicating an invisible attribute to the tag information May be included.

また、HTMLデータ内に、「検索」という名称のボタンがある場合に、当該HTMLデータを変換の対象として、当該対象となったHTML内に、class属性に所定の文字列(例えば「IE7」等)が含まれる場合に、当該タグ情報に不可視の属性を表す記述を追加する、といった変換内容を表す情報が含まれてもよい。  Further, when there is a button named “Search” in the HTML data, the HTML data is converted, and a predetermined character string (for example, “IE7” or the like) is set in the HTML that is the target. ) May be included, information indicating conversion contents such as adding a description indicating an invisible attribute to the tag information may be included.

さらに、記憶部22に格納されている、どの変換規則を利用するかを、管理者または通信装置1の利用者が指定可能となっていてもよい。後者のように通信装置1の利用者が指定する場合のため、ゲートウェイサーバ2はそれ自身がウェブサーバとして機能し、図3に例示するように、記憶部22に格納されている変換規則の一覧と、当該一覧に列挙された変換規則のうち、どの規則を適用するかを指定するチェックボックスボタン等とを配列し、通信装置1の利用者により選択可能にして提示してもよい。  Furthermore, the administrator or the user of the communication device 1 may be able to specify which conversion rule stored in the storage unit 22 is to be used. Since the latter is designated by the user of the communication device 1, the gateway server 2 functions as a web server itself, and a list of conversion rules stored in the storage unit 22 as illustrated in FIG. 3. And a check box button or the like for designating which rule to apply among the conversion rules listed in the list may be arranged and presented so as to be selectable by the user of the communication device 1.

また、この選択の結果は、通信装置1、またはその利用者を特定する情報に関連付けてゲートウェイサーバ2側で保持されてもよい。この場合、ゲートウェイサーバ2の変換処理部34では、アクセス元の通信装置1、またはその利用者を特定する情報に関連付けられた選択の結果を表す情報を参照し、当該参照した情報により選択されていることとなっている変換規則を用いて上記の変換処理を実行する。  The result of this selection may be held on the gateway server 2 side in association with the communication device 1 or information specifying the user. In this case, the conversion processing unit 34 of the gateway server 2 refers to the information representing the selection result associated with the access source communication device 1 or the information specifying the user, and is selected by the referenced information. The above conversion process is executed using the conversion rule that is supposed to be.

なお、ここで通信装置1を特定する情報やその利用者を特定する情報は、通信装置1の固有識別子(通信装置1に設定された製造番号等)や、通信装置1のユーザの固有識別子(社員番号など)でよく、これらはブラウザアプリケーションの起動時に通信装置1がゲートウェイサーバ2宛に送出するものとする。あるいはゲートウェイサーバ2が通信装置1の利用者を認証して、通信装置1を特定する情報や通信装置1の利用者を特定する情報を得てもよい。  Here, the information specifying the communication device 1 and the information specifying the user are a unique identifier of the communication device 1 (such as a serial number set in the communication device 1) or a unique identifier of the user of the communication device 1 ( These may be employee numbers, etc., and these are assumed to be sent to the gateway server 2 by the communication device 1 when the browser application is activated. Alternatively, the gateway server 2 may authenticate the user of the communication device 1 and obtain information for specifying the communication device 1 or information for specifying the user of the communication device 1.

さらにこの変換処理部34は、文字コードの変換として、例えばHTMLデータをSJIS(Shift JIS)のデータに変換する処理を行ってもよい。この場合も、どのURLから取得したウェブページをどの文字コードに変換するかは、予め図4に例示するようなテーブル情報として指定されていてもよい。  Further, the conversion processing unit 34 may perform, for example, a process of converting HTML data into SJIS (Shift JIS) data as character code conversion. Also in this case, which URL is used to convert the web page acquired from which URL may be designated as table information as illustrated in FIG. 4 in advance.

変換処理部34は、データ抽出部33がデータを出力したデータの取得元となったURLの情報を参照し、当該参照したURLの情報に対応して、文字コードの変換規則が定められていれば、当該変換規則に従い、文字コードを変換する。この文字コードの変換処理は、広く知られている、nkf等のプログラムを用いて処理できるので、ここでの詳しい説明は省略する。  The conversion processing unit 34 refers to the information of the URL from which the data extraction unit 33 outputs the data, and the character code conversion rule is determined in accordance with the referred URL information. For example, the character code is converted according to the conversion rule. Since the character code conversion process can be performed using a widely known program such as nkf, a detailed description thereof is omitted here.

1 通信装置、2 ゲートウェイサーバ、3 情報提供サーバ、11 制御部、12 記憶部、13 操作部、14 表示部、15 通信部、21 制御部、22 記憶部、23 第1通信部、24 第2通信部、31 要求受信部、32 サーバアクセス部、33 データ抽出部、34 変換処理部、35 送出制御部。  DESCRIPTION OF SYMBOLS 1 Communication apparatus, 2 Gateway server, 3 Information provision server, 11 Control part, 12 Storage part, 13 Operation part, 14 Display part, 15 Communication part, 21 Control part, 22 Storage part, 23 1st communication part, 24 2nd Communication unit, 31 request receiving unit, 32 server access unit, 33 data extracting unit, 34 conversion processing unit, 35 sending control unit.

Claims (5)

通信装置と、
ゲートウェイサーバと、を含む通信システムであって、
前記通信装置は、前記ゲートウェイサーバを介してサーバにアクセスし、サーバが送信する表示対象データを受信して表示し、
前記ゲートウェイサーバは、
前記通信装置からの要求に応じて、通信装置のアクセス先であるサーバからデータを受信する手段と、
当該受信したデータから、前記通信装置において表示の対象となる表示対象データを抽出する手段と、
予め定めた変換規則に基づいて、当該表示対象データに対して所定の変換処理を施す変換手段と、
当該変換した表示対象データに基づくデータを、前記通信装置に送出する手段と、
を含む通信システム。
A communication device;
A communication system including a gateway server,
The communication device accesses the server via the gateway server, receives and displays display target data transmitted by the server,
The gateway server is
Means for receiving data from a server that is an access destination of the communication device in response to a request from the communication device;
Means for extracting display target data to be displayed in the communication device from the received data;
Conversion means for performing a predetermined conversion process on the display target data based on a predetermined conversion rule;
Means for sending data based on the converted display object data to the communication device;
A communication system including:
サーバが送信する表示対象データを受信して表示する通信装置に接続され、
前記通信装置からの要求に応じて、通信装置のアクセス先であるサーバからデータを受信する手段と、
当該受信したデータから、前記通信装置において表示の対象となる表示対象データを抽出する手段と、
予め定めた変換規則に基づいて、当該表示対象データに対して所定の変換処理を施す変換手段と、
当該変換した表示対象データに基づくデータを、前記通信装置に送出する手段と、
を含むゲートウェイサーバ。
Connected to a communication device that receives and displays the display target data sent by the server,
Means for receiving data from a server that is an access destination of the communication device in response to a request from the communication device;
Means for extracting display target data to be displayed in the communication device from the received data;
Conversion means for performing a predetermined conversion process on the display target data based on a predetermined conversion rule;
Means for sending data based on the converted display object data to the communication device;
Gateway server containing
請求項2に記載のゲートウェイサーバであって、
前記変換手段は、予め前記表示対象データの種類ごとに定められた変換規則テンプレートのうち、変換を施す対象となる表示対象データの種類に対応する変換規則テンプレートを用いて生成された変換規則に基づいて、前記表示対象データに対して所定の変換処理を施すゲートウェイサーバ。
The gateway server according to claim 2,
The conversion means is based on a conversion rule generated using a conversion rule template corresponding to the type of display target data to be converted among conversion rule templates previously determined for each type of display target data. A gateway server that performs a predetermined conversion process on the display target data.
請求項2または3に記載のゲートウェイサーバであって、
前記表示対象データは、所定の構造化情報を含んで記述された構造化文書であり、
前記変換手段は、前記変換規則に基づき、当該構造化情報の一部に対応する表示対象データの一部の構造部分を非表示とする設定に書き換える変換処理を施すゲートウェイサーバ。
The gateway server according to claim 2 or 3,
The display target data is a structured document described including predetermined structured information,
The conversion means is a gateway server that performs a conversion process for rewriting a part of the structure of the display target data corresponding to a part of the structured information to a setting to hide based on the conversion rule.
サーバが送信する表示対象データを受信して表示する通信装置に接続されたゲートウェイサーバを、
前記通信装置からの要求に応じて、通信装置のアクセス先であるサーバからデータを受信する手段と、
当該受信したデータから、前記通信装置において表示の対象となる表示対象データを抽出する手段と、
予め定めた変換規則に基づいて、当該表示対象データに対して所定の変換処理を施す変換手段と、
当該変換した表示対象データに基づくデータを、前記通信装置に送出する手段と、
として機能させるプログラム。
The gateway server connected to the communication device that receives and displays the display target data sent by the server,
Means for receiving data from a server that is an access destination of the communication device in response to a request from the communication device;
Means for extracting display target data to be displayed in the communication device from the received data;
Conversion means for performing a predetermined conversion process on the display target data based on a predetermined conversion rule;
Means for sending data based on the converted display object data to the communication device;
Program to function as.
JP2018043542A 2018-02-22 2018-02-22 Communication system, gateway server, and program Pending JP2019145055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018043542A JP2019145055A (en) 2018-02-22 2018-02-22 Communication system, gateway server, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018043542A JP2019145055A (en) 2018-02-22 2018-02-22 Communication system, gateway server, and program

Publications (1)

Publication Number Publication Date
JP2019145055A true JP2019145055A (en) 2019-08-29

Family

ID=67772517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018043542A Pending JP2019145055A (en) 2018-02-22 2018-02-22 Communication system, gateway server, and program

Country Status (1)

Country Link
JP (1) JP2019145055A (en)

Similar Documents

Publication Publication Date Title
US7293034B2 (en) Dynamically customizing a user interface for the aggregation of content
US20130262696A1 (en) Proxy server apparatus, client terminal apparatus, remote access system, transfer control method, access method, and recording medium
US20120050793A1 (en) Network printing system, client terminal, and printing method
US10474729B2 (en) Delayed encoding of resource identifiers
US8887290B1 (en) Method and system for content protection for a browser based content viewer
US20110154187A1 (en) Methods, software and devices for providing server hosted web applications
JP6140904B2 (en) Terminal marking method, terminal marking device, program, and recording medium
US20160316020A1 (en) Web page information presentation method and system
US20190372980A1 (en) Program execution control method, program, recording medium, web page, transmission server, client, and web system
KR102087268B1 (en) Apparatus for providing web control interface and operating method thereof
JP4788768B2 (en) How to get long data with GET method
US9026578B2 (en) Systems and methods for persisting data between web pages
JP2016038802A (en) Information processing terminal, control method thereof, and program
KR102042722B1 (en) Electronic Book Content Protection
US10674022B2 (en) Server, server system, non-transitory computer-readable recording medium storing computer-readable instructions for server, and method performed by server
US11314834B2 (en) Delayed encoding of resource identifiers
JP2019145055A (en) Communication system, gateway server, and program
RU2634221C2 (en) Method and device for drawing presentation of electronic document on screen
JP2007249700A (en) Document management device, document retrieval method, document retrieval program and recording medium
JP6413540B2 (en) Relay device, data processing system, and program
JP2009230662A (en) Web-site determination device and web-site determination program
JP2017151873A (en) Image delivery program and image delivery system
JP2009026013A (en) Content registration/provision device, content registration/provision control method, and content registration/provision control program
JP7286073B2 (en) Web browser, client, information browsing support system, and information browsing support method
JP3965408B2 (en) Digital content data provision system