JP6572249B2 - Content conversion apparatus, content conversion method, program, and recording medium - Google Patents

Content conversion apparatus, content conversion method, program, and recording medium Download PDF

Info

Publication number
JP6572249B2
JP6572249B2 JP2017019894A JP2017019894A JP6572249B2 JP 6572249 B2 JP6572249 B2 JP 6572249B2 JP 2017019894 A JP2017019894 A JP 2017019894A JP 2017019894 A JP2017019894 A JP 2017019894A JP 6572249 B2 JP6572249 B2 JP 6572249B2
Authority
JP
Japan
Prior art keywords
conversion
api
user attribute
template
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017019894A
Other languages
Japanese (ja)
Other versions
JP2018128746A (en
Inventor
俊英 齋藤
俊英 齋藤
理香 望月
理香 望月
渡辺 昌洋
昌洋 渡辺
清志 中濱
清志 中濱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2017019894A priority Critical patent/JP6572249B2/en
Publication of JP2018128746A publication Critical patent/JP2018128746A/en
Application granted granted Critical
Publication of JP6572249B2 publication Critical patent/JP6572249B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、ブラウザ等のクライアントからのリクエストを受けて、既存のWebサイト等のコンテンツを変換してレスポンスとして送出する技術に関する。   The present invention relates to a technique for receiving a request from a client such as a browser, converting content such as an existing Web site, and sending it as a response.

年代、母国語、障害の有無の他、使用端末といった、Webコンテンツを閲覧するユーザの属性が多様化してきている。例えば、端末においてはこれまではパーソナルコンピュータ(PC)のブラウザからの閲覧が主流であったが、スマートフォンの普及やタブレットの登場、また最近ではサイネージが注目され、同様のWebコンテンツであっても、ユーザエージェント(UA)の切り替え等によって適切なレイアウトで閲覧ができるWebコンテンツのマルチデバイス化が必要とされている。   The attributes of users browsing web content, such as age, native language, presence / absence of disabilities, and the terminals used, are diversifying. For example, in the past, browsing from personal computer (PC) browsers has been the mainstream for terminals, but the spread of smartphones and the appearance of tablets, and recently, signage has attracted attention. There is a need for multi-device Web content that can be viewed in an appropriate layout by switching user agents (UAs).

Webコンテンツを構成するのは、要素や構造を定義したHTML(Hypertext Markup Language)と、要素の色などのスタイルを定義したCSS(Cascading Style Sheets)ファイルであり、サービス提供者は、既存のWebサイト(以下、既存のサイト)に対してユーザエージェント種別ごとにHTMLとCSSのそれぞれを個別に用意することでWebコンテンツのマルチデバイス化を実現している。   Web content consists of HTML (Hypertext Markup Language) that defines elements and structures, and CSS (Cascading Style Sheets) files that define styles such as element colors, and service providers can use existing websites. Multi-device Web content is realized by preparing HTML and CSS separately for each user agent type (hereinafter referred to as an existing site).

しかしながら、それらのWebコンテンツの開発やデザインのコストと、それぞれのコンテンツを管理するコストは、ユーザエージェントの種類に比例し増加してしまう(非特許文献1)。この問題に対して、レスポンシブウェブデザインという手法がある。レスポンシブウェブデザインでは、1つのHTMLに対して複数のCSSを用意し、アクセスするブラウザの横幅サイズを基準としてCSSを切り替えることで、適切なWebコンテンツの表示を可能とする(非特許文献2)。また、これらの技術を複合し、ユーザエージェント切替により一つのHTMLから複数のCSSを呼び出す方法(以下、UAによるCSS切替)はある程度容易に構築できる(非特許文献3)。   However, the cost of developing and designing such Web content and the cost of managing each content increase in proportion to the type of user agent (Non-Patent Document 1). There is a method called responsive web design for this problem. In responsive web design, it is possible to display appropriate Web content by preparing multiple CSS for one HTML and switching the CSS based on the width size of the browser to be accessed (Non-patent Document 2). Further, a method of combining these technologies and calling a plurality of CSSs from one HTML by user agent switching (hereinafter, CSS switching by UA) can be easily constructed to some extent (Non-patent Document 3).

上記のようにUAによるCSS切替では、ターゲットとするユーザ属性ごとにユーザエージェントを切り替えることにより、ユーザ属性ごとのCSSを作成し、ユーザが任意で選択できるシステムを導入すれば、色弱などのユーザにも見やすいWebコンテンツを提供することができる。また、言語の異なるユーザに関しては、Microsoft翻訳APIやgoogle翻訳APIなどの既存のAPIを用いることにより、対応が可能である。これらを組み合わせることによりユーザ属性に応じて、適切にWebコンテンツを表示することが出来る。   As described above, in CSS switching by UA, by creating a CSS for each user attribute by switching the user agent for each target user attribute, and introducing a system that the user can select arbitrarily, users such as color weakness Can provide easy-to-read web content. Also, users with different languages can be handled by using existing APIs such as Microsoft translation API and google translation API. By combining these, Web contents can be displayed appropriately according to user attributes.

http://www.hp-stylelink.com/news/2013/07/20130716.phphttp://www.hp-stylelink.com/news/2013/07/20130716.php https://ja.wikipedia.org/wiki/%E3%83%AC%E3%82%B9%E3%83%9D%E3%83%B3%E3%82%B7%E3%83%96%E3%82%A6%E3%82%A7%E3%83%96%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3https://en.wikipedia.org/wiki/%E3%83%AC%E3%82%B9%E3%83%9D%E3%83%B3%E3%82%B7%E3%83%96%E3 % 82% A6% E3% 82% A7% E3% 83% 96% E3% 83% 87% E3% 82% B6% E3% 82% A4% E3% 83% B3 http://www.hp-stylelink.com/news/2014/05/20140516.phphttp://www.hp-stylelink.com/news/2014/05/20140516.php

ただし、既存のWebサイト作成者が全てのユーザ属性に応じてCSSを作ると、Webサイトの構築コストがユーザ属性に応じてCSSが増えてしまうため、コンテンツ作成コストが多大にかかるという課題があった。   However, if an existing website creator creates CSS according to all user attributes, the cost of building the website increases according to the user attributes, so there is a problem that the content creation cost is very high. It was.

また、既存のWebサイトを切り替えるには、従来運用しているWebシステムを改良する必要があり、デグレの心配をする必要がある。また、そのWebサイト作成者以外は、既存のWebサイトのユーザ属性対応を行うことができないという課題があった。   In addition, to switch existing Web sites, it is necessary to improve the Web system that has been operated in the past, and it is necessary to worry about degration. In addition, there is a problem that other than the website creator cannot handle the user attributes of the existing website.

上述した問題点を鑑み、本発明の課題は、全てのユーザ属性に応じてCSSを作成することなく既存のシステムを運用したまま、各種ユーザ属性に対応したサイト表示を実現することである。   In view of the above-described problems, an object of the present invention is to realize site display corresponding to various user attributes while operating an existing system without creating CSS according to all user attributes.

上記課題を解決するため、本発明の一態様は、サイトへのアクセス要求と共に、変換要求及び端末種別を受信する受信手段と、前記サイトの表示情報における各要素の変換適用可否を示す変換適用可否情報と前記変換要求とに基づき変換対象要素と変換方法とを決定し、前記決定された変換対象要素を対応する前記変換方法に従って変換する変換手段と、変換後の表示情報を送信する送信手段とを有するコンテンツ変換装置に関する。   In order to solve the above-described problem, according to one aspect of the present invention, a receiving unit that receives a conversion request and a terminal type together with an access request to a site, and conversion applicability indicating whether conversion of each element in the display information of the site is applicable A conversion unit that determines a conversion target element and a conversion method based on information and the conversion request, converts the determined conversion target element according to the corresponding conversion method, and a transmission unit that transmits display information after conversion The present invention relates to a content conversion apparatus having

本発明によると、既存のWebサイトのCSS作成等の必要がないため、既存のシステムを運用したまま、ユーザごとのサイト表示ができる。また、CSSを作る必要がないので、コンテンツ変換の構築コストも低減できるという効果がある。   According to the present invention, since it is not necessary to create CSS for an existing Web site, it is possible to display a site for each user while operating an existing system. In addition, since there is no need to create CSS, the construction cost of content conversion can be reduced.

図1は、本発明の一実施例による通信システムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a communication system according to an embodiment of the present invention. 図2は、本発明の一実施例によるコンテンツ変換処理を示すフロー図である。FIG. 2 is a flowchart showing content conversion processing according to an embodiment of the present invention. 図3は、本発明の一実施例によるコンテンツ変換処理を示すフロー図である。FIG. 3 is a flowchart showing content conversion processing according to an embodiment of the present invention. 図4は、本発明の一実施例によるコンテンツ変換処理を示すフロー図である。FIG. 4 is a flowchart showing content conversion processing according to an embodiment of the present invention. 図5は、本発明の一実施例による変換APIルールを示す図である。FIG. 5 is a diagram illustrating a conversion API rule according to an embodiment of the present invention. 図6は、本発明の一実施例による入力画面を示す図である。FIG. 6 is a diagram illustrating an input screen according to an embodiment of the present invention. 図7は、本発明の一実施例による入力画面を示す図である。FIG. 7 is a diagram illustrating an input screen according to an embodiment of the present invention. 図8は、本発明の一実施例による要素別表示定義を示す図である。FIG. 8 is a diagram showing element-specific display definitions according to an embodiment of the present invention. 図9は、本発明の一実施例による要素別変換API定義を示す図である。FIG. 9 is a diagram showing an element-specific conversion API definition according to an embodiment of the present invention. 図10は、本発明の一実施例による要素別API適用ルールを示す図である。FIG. 10 is a diagram illustrating an element-specific API application rule according to an embodiment of the present invention. 図11は、本発明の一実施例による要素抽出ルールを示す図である。FIG. 11 is a diagram illustrating an element extraction rule according to an embodiment of the present invention. 図12は、本発明の一実施例による対象の既存サイトを示す図である。FIG. 12 is a diagram illustrating a target existing site according to an embodiment of the present invention. 図13は、本発明の一実施例による取得した画像を示す図である。FIG. 13 is a diagram illustrating an acquired image according to an embodiment of the present invention. 図14は、本発明の一実施例による変換された対象の既存サイトを示す図である。FIG. 14 is a diagram illustrating an existing site to be converted according to an embodiment of the present invention. 図15は、本発明の一実施例による入力画面を示す図である。FIG. 15 is a diagram illustrating an input screen according to an embodiment of the present invention. 図16は、本発明の一実施例による変換された対象の既存サイトを示す図である。FIG. 16 is a diagram illustrating an existing site to be converted according to an embodiment of the present invention. 図17は、本発明の一実施例による入力画面を示す図である。FIG. 17 is a diagram illustrating an input screen according to an embodiment of the present invention. 図18は、本発明の一実施例による変換された対象の既存サイトを示す図である。FIG. 18 is a diagram illustrating an existing site to be converted according to an embodiment of the present invention.

以下、本発明のコンテンツ変換装置について、図を用いて詳細に説明する。   Hereinafter, the content conversion apparatus of the present invention will be described in detail with reference to the drawings.

図1は、本発明のコンテンツ変換装置のシステム構成を示すブロック図である。図1に示されるように、コンテンツ変換装置100は、受信部101、テンプレート取得部102、要素別適用API決定部103、要素抽出部104、Webコンテンツ要素抽出ルール取得部105、テンプレート蓄積部106、要素抽出ルール蓄積部109、要素別変換部110、表示整形部111及び送信部112から構成される。また、テンプレート蓄積部106は、要素別表示定義部107及び要素別変換API定義部108によって構成される。   FIG. 1 is a block diagram showing a system configuration of a content conversion apparatus according to the present invention. As shown in FIG. 1, the content conversion apparatus 100 includes a receiving unit 101, a template acquisition unit 102, an element-specific application API determination unit 103, an element extraction unit 104, a Web content element extraction rule acquisition unit 105, a template storage unit 106, An element extraction rule storage unit 109, an element-specific conversion unit 110, a display shaping unit 111, and a transmission unit 112 are included. The template storage unit 106 includes an element-specific display definition unit 107 and an element-specific conversion API definition unit 108.

また、コンテンツ変換装置100は、ネットワークを介してパーソナルコンピュータ(PC)、タブレット、スマートフォンといったユーザ端末200上のブラウザ201、Webサーバ上の既存サイト300、変換API#1(301)、変換API#2(302)及び変換API#3(303)と通信する。ブラウザ201は、コンテンツ変換装置100によって変換された既存サイト300を受信し表示する。   In addition, the content conversion apparatus 100 includes a browser 201 on a user terminal 200 such as a personal computer (PC), a tablet, and a smartphone, an existing site 300 on a Web server, a conversion API # 1 (301), and a conversion API # 2 via a network. (302) and conversion API # 3 (303). The browser 201 receives and displays the existing site 300 converted by the content conversion apparatus 100.

以下の実施例においては、変換API#1(301)は翻訳(英語)機能、変換API#2(302)は補足説明機能、変換API#3(303)は配色補正機能を有するAPIとして説明する。図及び実施例で明記されている変換APIは3種類だが、実際はAPIの数に制限はなく、多数のAPIとの通信が行われる。   In the following embodiments, the conversion API # 1 (301) will be described as a translation (English) function, the conversion API # 2 (302) as a supplementary explanation function, and the conversion API # 3 (303) as an API having a color arrangement correction function. . Although there are three types of conversion APIs specified in the figures and examples, the number of APIs is actually not limited, and communication with many APIs is performed.

本発明のコンテンツ変換装置100の動作を図2〜18を参照して説明する。   The operation of the content conversion apparatus 100 of the present invention will be described with reference to FIGS.

(実施例1)
図2のステップS101において、ユーザがブラウザ201に表示されている図6に示す入力画面1からサイトURLを入力する。図6では、変換したいWebサイトのURLとして、http://www.hogehoge.yyy.zが入力されている。図6でユーザがURLを入力して「次へ」ボタンを押下すると、図7の画面(入力画面2)が表示される。次にユーザは、図7に示す入力画面からユーザ属性とテンプレート種別の選択を行い、「送信」ボタンを押下する。入力画面2で表示さるユーザ属性は、入力画面1で入力されたサイトURLの情報から、利用可能なAPI(Application Programming Interface)を判別し、APIに対応したユーザ属性が表示される。
Example 1
In step S101 in FIG. 2, the user inputs a site URL from the input screen 1 shown in FIG. In FIG. 6, http: //www.hogehoge.yyy.z is input as the URL of the Web site to be converted. When the user inputs the URL in FIG. 6 and presses the “Next” button, the screen of FIG. 7 (input screen 2) is displayed. Next, the user selects a user attribute and a template type from the input screen shown in FIG. 7, and presses the “Send” button. As the user attributes displayed on the input screen 2, an API (Application Programming Interface) that can be used is determined from the site URL information input on the input screen 1, and the user attributes corresponding to the API are displayed.

図7では翻訳の属性として翻訳(英語)は実行、補足説明は実行、配色補正は無変換という属性が選択されている。ユーザ属性の値を、以降、ユーザ属性"API機能"と記述する。"API機能"とは、変換APIの種別を表し、図1における変換API#1(301)、変換API#2(302)及び変換API#3(303)などに対応する。具体的には、英語に翻訳する「翻訳(英語)」APIであったり、補足説明を自動生成して付加する「補足説明」APIであったり、配色を色弱者用に補正する「配色補正」APIなどである。   In FIG. 7, the attributes of translation (English) are executed, supplementary explanation is executed, and color arrangement correction is no conversion are selected as attributes of translation. Hereinafter, the user attribute value is described as the user attribute “API function”. “API function” represents the type of conversion API, and corresponds to conversion API # 1 (301), conversion API # 2 (302), conversion API # 3 (303), etc. in FIG. Specifically, it is a “translation (English)” API that translates into English, a “supplemental explanation” API that automatically generates and adds supplementary explanations, or “color scheme correction” that corrects color schemes for people with color weakness API etc.

ユーザ属性の値は、これらのAPIを実行するかどうかを表している。「○」は、変換APIが持つ変換機能を用いて変換を行い表示することを表す。「×」は非表示を表す。「−」は変換APIにて変換を行わずに受信した情報のまま出力し表示することを表す。   The value of the user attribute indicates whether to execute these APIs. “O” indicates that the conversion function of the conversion API is used for conversion and display. “X” represents non-display. “-” Indicates that the received information is output and displayed without being converted by the conversion API.

例えば、API機能が「翻訳(英語)」においてユーザ属性の値が実行を意味する○である場合、ユーザ属性"翻訳(英語)"のユーザ属性値は○である。図7のようにユーザが指定すると、3つのユーザ属性値(ユーザ属性"翻訳(英語)"、ユーザ属性"補足説明"、ユーザ属性"配色補正")はそれぞれ、○、○、−となる。これらの値を、説明のため、U-1、U-2、U-3と呼ぶ。すなわち、U-1=ユーザ属性"翻訳(英語)"=○、U-2=ユーザ属性"補足説明"=○、U-3=ユーザ属性"配色補正"=−である。   For example, when the API function is “translation (English)” and the value of the user attribute is “◯” indicating execution, the user attribute value of the user attribute “translation (English)” is “◯”. When the user designates as shown in FIG. 7, the three user attribute values (user attribute “translation (English)”, user attribute “supplementary explanation”, user attribute “color arrangement correction”) are respectively “O”, “O”, and “−”. These values are referred to as U-1, U-2, U-3 for the sake of explanation. That is, U-1 = user attribute “translation (English)” = ◯, U-2 = user attribute “supplementary explanation” = ◯, U-3 = user attribute “color arrangement correction” = −.

図7の入力画面2を操作しなくても、ユーザ属性値をブラウザ201を搭載する端末200にあらかじめ記憶させておいてもよい。その場合には、ユーザが図6の入力画面1を操作するだけで、サイトURLとユーザ属性値をコンテンツ変換装置100に送るようにしてもよい。   Even without operating the input screen 2 in FIG. 7, user attribute values may be stored in advance in the terminal 200 on which the browser 201 is installed. In that case, the site URL and the user attribute value may be sent to the content conversion apparatus 100 simply by operating the input screen 1 of FIG.

また、テンプレート種別は図7のように「PC1」が選択されている。テンプレート種別の値は、図7に示すような値であり、PC1、PC2、タブレット1、スマートフォン1、サイネージ1などを取ることができる。これらの値はPC1、PC2、タブレット、スマートフォンなど、端末200に対応するテンプレートを表す。PC用にも、PC1、PC2と複数あるのは、PC端末の中でも画面の大きさや解像度などが異なるため、複数のテンプレートから選択できるようになっている。本実施例では、テンプレートとしてPC1が選択されているためテンプレート種別(PC1)となる。このテンプレート種別値を、説明のため、T-1と呼ぶことにするとT-1=PC1である。   Further, “PC1” is selected as the template type as shown in FIG. The value of the template type is a value as shown in FIG. 7, and can take PC1, PC2, tablet 1, smartphone 1, signage 1, and the like. These values represent templates corresponding to the terminal 200, such as PC1, PC2, tablet, and smartphone. There are multiple PCs, PC1 and PC2, which can be selected from multiple templates because the screen size and resolution are different among PC terminals. In this embodiment, since PC1 is selected as the template, the template type (PC1) is set. If this template type value is referred to as T-1 for explanation, T-1 = PC1.

送信ボタンを押下することにより、変換対象であるサイトのURL、ユーザ選択したユーザ属性、テンプレート種別がコンテンツ変換装置100の受信部101へと送信される。本実施例ではユーザ属性を必ず指定するようになっているが、指定しない設定があってもよい。図7のように、ここでは、3つのユーザ属性値(U-1、U-2、U-3)、そして、テンプレート種別値(T-1)を指定しているため、これらがコンテンツ変換装置100の受信部101へと送信される。   By pressing the transmission button, the URL of the site to be converted, the user attribute selected by the user, and the template type are transmitted to the receiving unit 101 of the content conversion apparatus 100. In this embodiment, user attributes are always specified, but there may be settings that are not specified. As shown in FIG. 7, since three user attribute values (U-1, U-2, U-3) and a template type value (T-1) are designated here, these are content conversion devices. It is transmitted to 100 receiving units 101.

ステップS102において、コンテンツ変換装置100の受信部101が、ブラウザ201から送信されたサイトURL(http://www.hogehoge.yyy.z)(以後、URL-1と呼ぶ)、3つのユーザ属性値(U-1、U-2、U-3)、テンプレート種別値(T-1)を受信する。   In step S102, the receiving unit 101 of the content conversion apparatus 100 receives a site URL (http: //www.hogehoge.yyy.z) (hereinafter referred to as URL-1) transmitted from the browser 201, and three user attribute values. (U-1, U-2, U-3) and the template type value (T-1) are received.

ステップS103において、受信部101が、テンプレート取得部102へ受信したテンプレート種別値(T-1)を送信する。   In step S103, the reception unit 101 transmits the received template type value (T-1) to the template acquisition unit 102.

ステップS104において、受信部101が、要素別適用API決定部103へ3つのユーザ属性値(U-1、U-2、U-3)を送信する。   In step S104, the reception unit 101 transmits three user attribute values (U-1, U-2, U-3) to the element-specific application API determination unit 103.

ステップS105において、受信部101が、要素抽出部104へサイトURL(URL‐1)を送信する。   In step S105, the reception unit 101 transmits a site URL (URL-1) to the element extraction unit 104.

ステップS106において、受信部101が、Webコンテンツ要素抽出ルール取得部105へサイトURL(URL‐1)とテンプレート種別値(T-1)を送信する。   In step S106, the reception unit 101 transmits the site URL (URL-1) and the template type value (T-1) to the Web content element extraction rule acquisition unit 105.

ステップS107において、テンプレート取得部102が、受信部101から送信されたテンプレート種別値(T-1)を受信する。   In step S107, the template acquisition unit 102 receives the template type value (T-1) transmitted from the reception unit 101.

ステップS108において、テンプレート取得部102が、テンプレート種別値(T-1)を用いてテンプレート蓄積部106の要素別表示定義部107からテンプレート種別値(T-1)に対応する要素別表示定義(T-1)を、要素別変換API定義部108からテンプレート種別値(T-1)に対応する要素別変換API定義(T-1)をそれぞれ取得する。要素別表示定義(T-1)には図8のように、「商品概要」、「画像」、「商品名」などの各要素のレイアウトを定義した情報が記述されている。様々なテンプレート種別値に対応する要素別表示定義と要素別変換API定義は、あらかじめ、テンプレート蓄積部106に登録しておく。   In step S108, the template acquisition unit 102 uses the template type value (T-1) to display the element-specific display definition (T-1) corresponding to the template type value (T-1) from the element-based display definition unit 107 of the template storage unit 106. -1) is acquired from the element-specific conversion API definition unit 108 for each element-specific conversion API definition (T-1) corresponding to the template type value (T-1). In the element-specific display definition (T-1), as shown in FIG. 8, information defining the layout of each element such as “product overview”, “image”, and “product name” is described. Element-specific display definitions and element-specific conversion API definitions corresponding to various template type values are registered in the template storage unit 106 in advance.

図8のように、T-1に対応する要素別表示定義が読み出される。T-1に対応する要素別表示定義には、表示する要素とレイアウトなどが指定されている。例えば、図8のように、上から順に「商品概要」という要素、次に「画像」という要素、「商品名」という要素が配置され、それぞれは中央ぞろえで表示されるなどが指定されている。   As shown in FIG. 8, the element-specific display definition corresponding to T-1 is read. In the element-specific display definition corresponding to T-1, the elements to be displayed and the layout are specified. For example, as shown in FIG. 8, an element “product overview”, an element “image”, and an element “product name” are arranged in order from the top, and each of them is specified to be displayed in the center. ing.

ただし、要素別表示定義はなくてもよい。その場合は、既存サイト300の要素別表示定義が使用される。既存サイト300の要素別表示定義に対応する要素別変換API定義は、あらかじめ、テンプレート蓄積部106に登録しておく。   However, there is no need for element-specific display definitions. In that case, the element-specific display definition of the existing site 300 is used. The element-specific conversion API definition corresponding to the element-specific display definition of the existing site 300 is registered in the template storage unit 106 in advance.

要素別変換API定義(T-1)には図9のように、図8でレイアウトを定義されたそれぞれの要素に対して各APIの適応の可否情報が記述されている。   In the element-specific conversion API definition (T-1), as shown in FIG. 9, information indicating whether each API is applicable to each element whose layout is defined in FIG. 8 is described.

ステップS109において、テンプレート取得部102が、図8の要素別表示定義(T-1)を表示整形部111へ送信する。   In step S109, the template acquisition unit 102 transmits the element-specific display definition (T-1) of FIG.

ステップS110において、テンプレート取得部102が、図9の要素別変換API定義(T-1)を要素別適用API決定部103へ送信する。   In step S110, the template acquisition unit 102 transmits the element-specific conversion API definition (T-1) of FIG. 9 to the element-specific application API determination unit 103.

次に、ステップS111において、要素別適用API決定部103が、受信部101から送信された3つのユーザ属性値(U-1、U-2、U-3)と、テンプレート取得部102から送信された図9の要素別変換API定義(T-1)を受信する。   Next, in step S111, the element-specific application API determination unit 103 transmits the three user attribute values (U-1, U-2, U-3) transmitted from the reception unit 101 and the template acquisition unit 102. The element-specific conversion API definition (T-1) in FIG. 9 is received.

ステップS112において、要素別適用API決定部103が、図9の要素別変換API定義(T-1)を、図5の変換APIルールに基づき、3つのユーザ属性値(U-1、U-2、U-3)を用いて変換し、要素別API適用ルールを作成する。図5の変換APIルールに記述されたAnyとは、○、×、−の全てのパターンを意味する。本実施例においては、画像の「配色補正」APIがルール3によって、○から−に変換される。   In step S112, the element-specific application API determination unit 103 converts the element-specific conversion API definition (T-1) in FIG. 9 into three user attribute values (U-1, U-2) based on the conversion API rule in FIG. , U-3), and create element-specific API application rules. “Any” described in the conversion API rule of FIG. 5 means all patterns of ○, ×, and −. In this embodiment, the “color arrangement correction” API of the image is converted from ○ to − according to rule 3.

ステップS113において、要素別適用API決定部103が、作成した図10の要素別API適用ルールを要素別変換部110へ送信する。   In step S113, the element-specific application API determination unit 103 transmits the created element-specific API application rule of FIG. 10 to the element-specific conversion unit 110.

ステップS114において、Webコンテンツ要素抽出ルール取得部105が、受信部101から送信されたサイトURL(URL-1)とテンプレート種別値(T‐1)を受信する。   In step S114, the Web content element extraction rule acquisition unit 105 receives the site URL (URL-1) and the template type value (T-1) transmitted from the reception unit 101.

ステップS115において、Webコンテンツ要素抽出ルール取得部105が、サイトURL(URL-1)とテンプレート種別値(T‐1)を用いて図11(B)の要素抽出ルールを取得する。サイトURLとテンプレート種別により、どの要素抽出ルールを取得するかは、あらかじめ、Webコンテンツ要素抽出ルール取得部105に保存しておく。例えば、図11(A)のような対応表である。図11(A)より、URL-1とPC1に対応するのは要素抽出ルール11であることがわかる。   In step S115, the Web content element extraction rule acquisition unit 105 acquires the element extraction rule of FIG. 11B using the site URL (URL-1) and the template type value (T-1). Which element extraction rule is to be acquired based on the site URL and the template type is stored in the Web content element extraction rule acquisition unit 105 in advance. For example, a correspondence table as shown in FIG. FIG. 11A shows that the element extraction rule 11 corresponds to URL-1 and PC1.

図11(B)は要素抽出ルール11の内容を表しており、既存サイトの要素のXPathと、抽出した要素を要素別表示定義部107のどの変数に格納するかという情報が記述されている。   FIG. 11B shows the contents of the element extraction rule 11, which describes the XPath of the element on the existing site and information on which variable of the element-specific display definition unit 107 stores the extracted element.

ステップS116において、Webコンテンツ要素抽出ルール取得部105が、取得した図11(B)の要素抽出ルールを要素抽出部104へ送信する。   In step S116, the Web content element extraction rule acquisition unit 105 transmits the acquired element extraction rule in FIG. 11B to the element extraction unit 104.

図11(B)において、XPathが/html/body/div/div/pである要素の内容を「商品概要」、「商品名」という変数に格納することを示している。また、XPathが/html/body/div/div/imgである要素の内容を「画像」という変数に格納することを示している。   FIG. 11B shows that the contents of an element whose XPath is / html / body / div / div / p are stored in variables “product overview” and “product name”. In addition, the contents of the element whose XPath is / html / body / div / div / img are stored in a variable “image”.

ステップS117において、要素抽出部104が、受信部101から送信されたサイトURL(URL-1)と、Webコンテンツ要素抽出ルール取得部105から送信された図11(B)の要素抽出ルールを受信する。   In step S117, the element extraction unit 104 receives the site URL (URL-1) transmitted from the reception unit 101 and the element extraction rule of FIG. 11B transmitted from the Web content element extraction rule acquisition unit 105. .

ステップS118において、要素抽出部104が、取得したサイトURL(URL-1)と、図11(B)の要素抽出ルールを用いて、図12の既存サイト300からWebコンテンツ要素、すなわち、「商品概要」として「あじのなめろう」、画像として図13に示す画像、商品名として「あじのなめろう」を取得する。これらをWebコンテンツ要素と呼ぶ。   In step S118, the element extraction unit 104 uses the acquired site URL (URL-1) and the element extraction rule shown in FIG. 11B to extract Web content elements from the existing site 300 shown in FIG. "Aji no Namero" as the image, the image shown in FIG. 13 as the image, and "Aji no Namero" as the product name. These are called Web content elements.

ステップS119において、要素抽出部104が、取得したWebコンテンツ要素を要素別変換部110へ送信する。   In step S119, the element extraction unit 104 transmits the acquired Web content element to the element-specific conversion unit 110.

ステップS120において、要素別変換部110が、要素別適用API決定部103から送信された図10の要素別API適用ルールと、要素抽出部104から送信されたWebコンテンツ要素、商品概要(あじのなめろう)、画像(図13)、商品名(あじのなめろう)を受信する。ここで、説明のため、商品概要の内容(あじのなめろう)を商品概要1、画像の内容(図13)を画像1、商品名の内容(あじのなめろう)を商品名1と呼ぶことにする。   In step S120, the element-by-element conversion unit 110 performs the element-by-element API application rule of FIG. 10 transmitted from the element-by-element application API determination unit 103, the Web content element transmitted from the element extraction unit 104, and the product overview ), An image (FIG. 13), and a product name (Aji no Lick). Here, for the sake of explanation, the content of the product overview (Aji no Namenro) will be referred to as product overview 1, the content of the image (FIG. 13) will be referred to as image 1, and the content of the product name (Ajino Namero) will be referred to as product name 1. .

ステップS121において、要素別変換部110が、Webコンテンツ要素を変換API#1(301)へ送信する。   In step S121, the element-by-element conversion unit 110 transmits the Web content element to the conversion API # 1 (301).

ステップS122において、変換API#1(301)が、要素別変換部110から送信されたWebコンテンツ要素、商品概要1と商品名1を受信する。   In step S122, the conversion API # 1 (301) receives the Web content element, the product outline 1 and the product name 1 transmitted from the element-specific conversion unit 110.

ステップS123において、変換API#1(301)が、図10の要素別API適用ルールに従って、Webコンテンツ要素、商品概要1と商品名1を変換する。商品概要1、商品名1はともに「あじのなめろう」だが、これが変換API#1(301)により英語に翻訳され、「A mackerel namero」となる。これを商品概要2、商品名2と呼ぶ。画像1は、変換されない。   In step S123, the conversion API # 1 (301) converts the Web content element, the product outline 1 and the product name 1 according to the element-specific API application rule of FIG. Both Product Overview 1 and Product Name 1 are “Aji no Nametsuro”, but this is translated into English by conversion API # 1 (301) and becomes “A mackerel namero”. This is called product overview 2 and product name 2. Image 1 is not converted.

ステップS124において、変換API#1(301)が、Webコンテンツ要素、商品概要2と画像1、商品名2を変換API#2(302)へ送信する。   In step S124, the conversion API # 1 (301) transmits the Web content element, the product outline 2 and the image 1, and the product name 2 to the conversion API # 2 (302).

ステップS125において、変換API#2(302)が、変換API#1(301)から送信されたWebコンテンツ要素、商品概要2と画像1、商品名2を受信する。   In step S125, the conversion API # 2 (302) receives the Web content element, the product outline 2 and the image 1, and the product name 2 transmitted from the conversion API # 1 (301).

ステップS126において、変換API#2(302)が、図10の要素別API適用ルールに従って、Webコンテンツ要素を変換する。すなわち、商品概要2(A mackerel namero)は商品概要3(A traditional food of Chiba pref. It's like 'tartar for appetizers'.)に変換される。   In step S126, the conversion API # 2 (302) converts the Web content element according to the element-specific API application rule of FIG. That is, product summary 2 (A mackerel namero) is converted to product summary 3 (A traditional food of Chiba pref. It's like 'tartar for appetizers'.).

ここで、変換API#1(301)と変換API#2(302)の順番はどちらでも同じ出力が得られるようになっている。すなわち、変換元が英語であれば、英語の補足説明に変換する。また、日本語を補足説明に変換してから英語に翻訳することもでき、どちらも同じ出力が得られる。画像1と商品名2は、変換されない。   Here, the same output can be obtained regardless of the order of the conversion API # 1 (301) and the conversion API # 2 (302). That is, if the conversion source is English, it is converted into English supplementary explanation. You can also translate Japanese into supplementary explanations and then translate them into English, both of which produce the same output. Image 1 and product name 2 are not converted.

ステップS127において、変換API#2(302)が、Webコンテンツ要素、商品概要3と画像1、商品名2を変換API#3(303)へ送信する。   In step S127, the conversion API # 2 (302) transmits the Web content element, the product outline 3 and the image 1, and the product name 2 to the conversion API # 3 (303).

ステップS128において、変換API#3(303)が、変換API#2(302)から送信されたWebコンテンツ要素、商品概要3と画像1、商品名2を受信する。   In step S128, the conversion API # 3 (303) receives the Web content element, the product outline 3 and the image 1, and the product name 2 transmitted from the conversion API # 2 (302).

ステップS129において、変換API#3(303)が、図10の要素別API適用ルールに従って、Webコンテンツ要素を変換する。しかしながら、それぞれの要素は「−」の無変換が指示されているため、商品概要3と画像1、商品名2は、変換されずそのまま出力される。   In step S129, the conversion API # 3 (303) converts the Web content element according to the element-specific API application rule of FIG. However, since no conversion of “−” is instructed for each element, the product outline 3, the image 1, and the product name 2 are output as they are without being converted.

ステップS130において、変換API#3(303)が、Webコンテンツ要素、商品概要3と画像1、商品名2を要素別変換部110へ送信する。   In step S130, the conversion API # 3 (303) transmits the Web content element, the product outline 3 and the image 1, and the product name 2 to the element-specific conversion unit 110.

ステップS131において、要素別変換部110が、変換API#3(303)から送信された変換済みWebコンテンツ要素、商品概要3(A traditional food of Chiba pref. It's like 'tartar for appetizers'.)、画像1(図13)、商品名2(A mackerel namero)を受信する。   In step S131, the element-by-element conversion unit 110 converts the converted Web content element transmitted from the conversion API # 3 (303), product overview 3 (A traditional food of Chiba pref. It's like 'tartar for appetizers'.), Image 1 (FIG. 13) and product name 2 (A mackerel namero) are received.

ステップS132において、要素別変換部110が、変換済みWebコンテンツ要素、商品概要3と画像1、商品名2を表示整形部111へ送信する。   In step S132, the element conversion unit 110 transmits the converted Web content element, the product outline 3 and the image 1, and the product name 2 to the display shaping unit 111.

ステップS133において、表示整形部111が、テンプレート取得部102から送信された図8の要素別表示定義部107と、要素別変換部110から送信された変換済みWebコンテンツ要素、商品概要3、画像1、商品名2を受信する。   In step S133, the display shaping unit 111 converts the element-specific display definition unit 107 in FIG. 8 transmitted from the template acquisition unit 102 and the converted Web content element, product outline 3, image 1 transmitted from the element-by-element conversion unit 110. , Receive product name 2.

ステップS134において、表示整形部111が、変換済みWebコンテンツ要素、商品概要3、画像1、商品名2を図8の要素別表示定義で定義された各要素に挿入することにより、図14の変換済みWebコンテンツを生成する。   In step S134, the display shaping unit 111 inserts the converted Web content element, the product outline 3, the image 1, and the product name 2 into each element defined in the element-specific display definition in FIG. Generated web content

ステップS135において、表示整形部111が、図14の変換済みWebコンテンツを送信部112へ送信する。   In step S135, the display shaping unit 111 transmits the converted Web content in FIG.

ステップS136において、送信部112が、表示整形部111から図14の変換済みWebコンテンツを受信する。   In step S136, the transmission unit 112 receives the converted Web content in FIG. 14 from the display shaping unit 111.

ステップS137において、送信部112が、図14の変換済みWebコンテンツをブラウザ201へ送信する。ユーザが閲覧する変換済みWebコンテンツは図14のように見えている。   In step S137, the transmission unit 112 transmits the converted Web content in FIG. The converted web content viewed by the user looks like FIG.

ここでは、日本語の既存Webサイトを英訳して、補足情報を付与する例について説明した。変換APIが「翻訳(英語)」、「翻訳(中国語)」「翻訳(韓国語)」という複数の翻訳APIがある場合は、ユーザ属性値として、これらを利用するように指定すれば、多国語を併記することもできる。   Here, we explained an example in which an existing Japanese website was translated into English and supplementary information was added. If there are multiple translation APIs whose translation APIs are "Translation (English)", "Translation (Chinese)", and "Translation (Korean)", you can specify as many user attribute values by using them. A national language can also be written.

(実施例2)
実施例2では、ユーザ属性が実施例1と異なる場合について説明する。ユーザ属性値は○である。実施例1と同様のサイトURLを入力し、図15のようにユーザ属性とテンプレート種別の選択を行い、「送信」ボタンを押下する。この場合、3つのユーザ属性値(ユーザ属性"翻訳(英語)"、ユーザ属性"補足説明"、ユーザ属性"配色補正")はそれぞれ、−、×、○となる。
(Example 2)
In the second embodiment, a case where the user attribute is different from that of the first embodiment will be described. The user attribute value is ○. A site URL similar to that in the first embodiment is input, user attributes and template types are selected as shown in FIG. 15, and the “Send” button is pressed. In this case, the three user attribute values (user attribute “translation (English)”, user attribute “supplementary explanation”, user attribute “color arrangement correction”) are −, ×, and ◯, respectively.

その後の処理については、実施例1と同様であるため割愛する。   Since the subsequent processing is the same as in the first embodiment, it is omitted.

ステップS112において、画像の「配色補正」APIがルール3によって、○から−に変換される。商品概要の「翻訳(英語)」APIがルール3によって、○から−に変換される。商品概要の「補足説明」APIがルール2によって、○から×に変換される。商品名の「翻訳(英語)」APIがルール3によって、○から−に変換される。   In step S 112, the “color correction” API of the image is converted from ○ to − according to rule 3. The “translation (English)” API of the product summary is converted from ○ to − by rule 3. The “supplemental explanation” API in the product overview is converted from ○ to × by rule 2. The “translation (English)” API of the product name is converted from ○ to − according to rule 3.

この結果、要素別API適用ルールを得て、最終的にユーザが閲覧する変換済みWebコンテンツは図16のように見えている。   As a result, the converted Web content finally obtained by the user after obtaining the element-specific API application rules looks as shown in FIG.

(実施例3)
実施例3では、ユーザ属性が選択されなかった場合について説明する。ユーザ属性値は○である。実施例1と同様のサイトURLを入力し、図17のようにユーザ属性とテンプレート種別の選択を行い、「送信」ボタンを押下する。この場合、3つのユーザ属性値(ユーザ属性"翻訳(英語)"、ユーザ属性"補足説明"、ユーザ属性"配色補正")は指定されていない。そのため、各APIにあらかじめ設定された初期値が代入される。本実施例においては、ユーザ属性"翻訳(英語)"、ユーザ属性"補足説明"、ユーザ属性"配色補正"はそれぞれ、−、×、−となる。
(Example 3)
In the third embodiment, a case where no user attribute is selected will be described. The user attribute value is ○. A site URL similar to that in the first embodiment is input, user attributes and template types are selected as shown in FIG. 17, and the “Send” button is pressed. In this case, three user attribute values (user attribute “translation (English)”, user attribute “supplementary explanation”, user attribute “color scheme correction”) are not specified. Therefore, an initial value set in advance for each API is substituted. In this embodiment, the user attribute “translation (English)”, the user attribute “supplementary explanation”, and the user attribute “color arrangement correction” are −, ×, and −, respectively.

その後の処理については、実施例1と同様であるため割愛する。   Since the subsequent processing is the same as in the first embodiment, it is omitted.

ステップS112において、画像の「配色補正」APIがルール3によって、○から−に変換される。商品概要の「翻訳(英語)」APIがルール3によって、○から−に変換される。商品概要の「補足説明」APIがルール2によって、○から×に変換される。商品名の「翻訳(英語)」APIがルール3によって、○から−に変換される。   In step S 112, the “color correction” API of the image is converted from ○ to − according to rule 3. The “translation (English)” API of the product summary is converted from ○ to − by rule 3. The “supplemental explanation” API in the product overview is converted from ○ to × by rule 2. The “translation (English)” API of the product name is converted from ○ to − according to rule 3.

この結果、要素別API適用ルールを得て、最終的にユーザが閲覧する変換済みWebコンテンツは図18のように見えている。   As a result, the converted Web content that the user finally obtains by obtaining the element-specific API application rule looks like FIG.

なお、コンテンツ変換装置100は、例えば、バスを介し相互接続されるドライブ装置、補助記憶装置、メモリ装置、プロセッサ、インタフェース装置及び通信装置などのハードウェアリソースによって構成されてもよい。コンテンツ変換装置100における各種機能及び処理を実現するプログラムを含む各種コンピュータプログラムは、CD−ROM(Compact Disk−Read Only Memory)、DVD(Digital Versatile Disk)、フラッシュメモリなどの記録媒体によって提供されてもよい。プログラムを記憶した記録媒体がドライブ装置にセットされると、プログラムが記録媒体からドライブ装置を介して補助記憶装置にインストールされる。但し、プログラムのインストールは必ずしも記録媒体により行う必要はなく、ネットワークなどを介し何れかの外部装置からダウンロードするようにしてもよい。補助記憶装置は、インストールされたプログラムを格納すると共に、必要なファイルやデータなどを格納する。メモリ装置は、プログラムの起動指示があった場合に、補助記憶装置からプログラムやデータを読み出して格納する。プロセッサは、メモリ装置に格納されたプログラムやプログラムを実行するのに必要なパラメータなどの各種データに従って、コンテンツ変換装置100の各種機能及び処理を実行する。インタフェース装置は、ネットワーク又は外部装置に接続するための通信インタフェースとして用いられる。通信装置は、インターネットなどのネットワークと通信するための各種通信処理を実行する。しかしながら、コンテンツ変換装置100は、上述したハードウェア構成に限定されるものでなく、他の何れか適切なハードウェア構成により実現されてもよい。   Note that the content conversion device 100 may be configured by hardware resources such as a drive device, an auxiliary storage device, a memory device, a processor, an interface device, and a communication device that are interconnected via a bus. Various computer programs including programs for realizing various functions and processes in the content conversion apparatus 100 may be provided by a recording medium such as a CD-ROM (Compact Disk-Read Only Memory), a DVD (Digital Versatile Disk), or a flash memory. Good. When the recording medium storing the program is set in the drive device, the program is installed from the recording medium to the auxiliary storage device via the drive device. However, it is not always necessary to install the program using a recording medium, and the program may be downloaded from any external device via a network or the like. The auxiliary storage device stores the installed program and also stores necessary files and data. The memory device reads and stores the program and data from the auxiliary storage device when there is an instruction to start the program. The processor executes various functions and processes of the content conversion apparatus 100 according to various data such as a program stored in the memory device and parameters necessary for executing the program. The interface device is used as a communication interface for connecting to a network or an external device. The communication device executes various communication processes for communicating with a network such as the Internet. However, the content conversion apparatus 100 is not limited to the hardware configuration described above, and may be realized by any other appropriate hardware configuration.

ユーザ端末200は、パーソナルコンピュータ(PC)、スマートフォン、タブレット、テレビ等の通信機能を備えた各種情報処理装置であってもよく、コンテンツ変換装置100を介しサイト300に接続する。   The user terminal 200 may be various information processing apparatuses having communication functions such as a personal computer (PC), a smartphone, a tablet, and a television, and is connected to the site 300 via the content conversion apparatus 100.

以上、本発明の実施例について詳述したが、本発明は上述した特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to the specific embodiment mentioned above, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.

100 コンテンツ変換装置
101 受信部
102 テンプレート取得部
103 要素別適用API決定部
104 要素抽出部
105 Webコンテンツ要素抽出ルール取得部
106 テンプレート蓄積部
107 要素別表示定義部
108 要素別変換API定義部
109 要素抽出ルール蓄積部
110 要素別変換部
111 表示整形部
112 送信部
200 ユーザ端末
201 ブラウザ
300 既存サイト
301〜303 変換API
DESCRIPTION OF SYMBOLS 100 Content conversion apparatus 101 Reception part 102 Template acquisition part 103 Element application API determination part 104 Element extraction part 105 Web content element extraction rule acquisition part 106 Template storage part 107 Element display definition part 108 Element conversion API definition part 109 Element extraction Rule accumulation unit 110 Element-specific conversion unit 111 Display shaping unit 112 Transmission unit 200 User terminal 201 Browser 300 Existing sites 301 to 303 Conversion API

Claims (5)

サイトへのアクセス要求と共に、ユーザ属性に基づく変換要求及びテンプレート種別を受信する受信手段と、
前記サイトの表示情報における各要素の変換適用可否を示す変換適用可否情報、変換APIルール、及び前記変換要求に基づき変換対象要素と、前記変換対象要素ごとに適用される変換方法である変換APIとを決定し、前記決定された変換対象要素を対応する前記変換方法に従って変換する変換手段と、
変換後の表示情報を送信する送信手段と、
を有するコンテンツ変換装置であって、
前記ユーザ属性は、翻訳、補足説明及び配色補正の項目を含み、
前記受信手段は、前記ユーザ属性の各項目についてユーザによって指定された実行、無変換又は非表示を示す変換要求を受信し、
前記テンプレート種別は、所定の複数のユーザ端末の種別のそれぞれに対して複数設定されるテンプレートの種別を示し、
前記受信手段は、前記ユーザによって選択されたテンプレート種別を受信し、
前記変換適用可否情報は、前記各要素に対して変換APIの適用可否を示し、
前記変換APIルールは、前記テンプレート種別及び前記ユーザ属性の項目を有し、
前記変換APIルールは、
前記受信手段が受信した前記ユーザ属性の値が無変換を示す場合、変換APIを適用することなく、前記テンプレート種別に対応するテンプレートにおいて要素の内容を表示し、
前記受信手段が受信した前記ユーザ属性の値が非表示を示す場合、前記テンプレート種別に対応するテンプレートにおいて前記要素の内容を非表示とし、
前記受信手段が受信した前記ユーザ属性の値が無変換及び非表示の何れも示していない場合、前記テンプレート種別に対応するテンプレートにおいて前記ユーザ属性に基づく変換要求を実行する、
ルールであり、
前記変換手段は、前記変換APIルールに基づいて、
前記受信手段が受信した前記ユーザ属性の値が無変換を示す場合、変換APIを適用することなく、前記テンプレート種別に対応するテンプレートにおいて要素の内容を表示し、
前記受信手段が受信した前記ユーザ属性の値が非表示を示す場合、前記テンプレート種別に対応するテンプレートにおいて前記要素の内容を非表示とし、
前記受信手段が受信した前記ユーザ属性の値が無変換及び非表示の何れも示していない場合、前記受信手段が受信した前記ユーザ属性の値が実行を示すユーザ属性の項目について、前記変換適用可否情報に基づく変換APIの適用可否、及び、適用する変換APIを設定することで、前記変換対象要素と、前記変換対象要素のそれぞれに適用する変換方法である変換APIとを決定する要素別API適用ルールを作成し、
前記サイト、前記テンプレート、及び前記サイトと前記テンプレート種別とによって抽出方法が決定されるように予め設定されたWebコンテンツ要素抽出ルールに基づいて抽出された前記アクセス要求されたサイトのWebコンテンツ要素のそれぞれを、前記要素別API適用ルールで決定される変換APIに変換させ、
変換後のWebコンテンツ要素によって前記変換後の表示情報を生成し、
前記配色補正の変換に用いる変換APIは、配色を色弱者用に補正するAPIである、コンテンツ変換装置
A receiving means for receiving a conversion request based on a user attribute and a template type together with an access request to the site;
Conversion applicability information indicating conversion applicability of the elements in the display information of the site, converting API rules, and based on the conversion request, the conversion target element, a conversion method to be applied to each of the converted element conversion Converting means for determining an API and converting the determined conversion target element according to the corresponding conversion method;
A transmission means for transmitting the display information after conversion;
A content conversion device comprising :
The user attributes include items for translation, supplementary explanation and color correction,
The receiving means receives a conversion request indicating execution, no conversion or non-display specified by the user for each item of the user attribute,
The template type indicates a template type that is set in plural for each of a plurality of predetermined user terminal types,
The receiving means receives a template type selected by the user;
The conversion applicability information indicates whether the conversion API can be applied to each element,
The conversion API rule has items of the template type and the user attribute,
The conversion API rule is:
If the value of the user attribute received by the receiving means indicates no conversion, the content of the element is displayed in the template corresponding to the template type without applying the conversion API,
When the value of the user attribute received by the receiving means indicates non-display, the content of the element is hidden in the template corresponding to the template type,
If the value of the user attribute received by the receiving means indicates neither conversion nor non-display, execute a conversion request based on the user attribute in a template corresponding to the template type;
Rules,
The conversion means is based on the conversion API rule.
If the value of the user attribute received by the receiving means indicates no conversion, the content of the element is displayed in the template corresponding to the template type without applying the conversion API,
When the value of the user attribute received by the receiving means indicates non-display, the content of the element is hidden in the template corresponding to the template type,
When the value of the user attribute received by the receiving means indicates neither non-conversion nor non-display, the conversion applicability of the item of the user attribute indicated by the user attribute value received by the receiving means By applying the conversion API based on information and by setting the conversion API to be applied, the element-specific API application that determines the conversion target element and the conversion API that is the conversion method to be applied to each of the conversion target elements Create a rule
Each of the web content elements of the requested site extracted based on the web content element extraction rule set in advance so that the extraction method is determined by the site, the template, and the site and the template type. Is converted to a conversion API determined by the element-specific API application rule,
The display information after the conversion is generated by the Web content element after conversion,
The content conversion apparatus, wherein the conversion API used for conversion of the color scheme correction is an API that corrects the color scheme for a weak user .
前記受信手段が前記ユーザ属性に基づく変換要求を受信しなかった場合、前記変換手段は、所定の初期値に従って変換対象要素と変換方法とを決定し、前記決定された変換対象要素を対応する前記変換方法に従って変換する、請求項1記載のコンテンツ変換装置。 When the receiving unit does not receive the conversion request based on the user attribute, the converting unit determines a conversion target element and a conversion method according to a predetermined initial value, and corresponds to the determined conversion target element converting in accordance with the conversion method, according to claim 1 Symbol placing content conversion apparatus. サイトへのアクセス要求と共に、ユーザ属性に基づく変換要求及びテンプレート種別を受信するステップと、
前記サイトの表示情報における各要素の変換適用可否を示す変換適用可否情報、変換APIルール、及び前記変換要求に基づき変換対象要素と、前記変換対象要素ごとに適用される変換方法である変換APIとを決定するステップと、
前記決定された変換対象要素を対応する前記変換方法に従って変換するステップと、
変換後の表示情報を送信するステップと、
を有するコンテンツ変換方法であって、
前記ユーザ属性は、翻訳、補足説明及び配色補正の項目を含み、
前記受信するステップは、前記ユーザ属性の各項目についてユーザによって指定された実行、無変換又は非表示を示す変換要求を受信し、
前記テンプレート種別は、所定の複数のユーザ端末の種別のそれぞれに対して複数設定されるテンプレートの種別を示し、
前記受信するステップは、前記ユーザによって選択されたテンプレート種別を受信し、
前記変換適用可否情報は、前記各要素に対して変換APIの適用可否を示し、
前記変換APIルールは、前記テンプレート種別及び前記ユーザ属性の項目を有し、
前記変換APIルールは、
前記受信した前記ユーザ属性の値が無変換を示す場合、変換APIを適用することなく、前記テンプレート種別に対応するテンプレートにおいて要素の内容を表示し、
前記受信した前記ユーザ属性の値が非表示を示す場合、前記テンプレート種別に対応するテンプレートにおいて前記要素の内容を非表示とし、
前記受信した前記ユーザ属性の値が無変換及び非表示の何れも示していない場合、前記テンプレート種別に対応するテンプレートにおいて前記ユーザ属性に基づく変換要求を実行する、
ルールであり、
前記変換するステップは、前記変換APIルールに基づいて、
前記受信した前記ユーザ属性の値が無変換を示す場合、変換APIを適用することなく、前記テンプレート種別に対応するテンプレートにおいて要素の内容を表示し、
前記受信した前記ユーザ属性の値が非表示を示す場合、前記テンプレート種別に対応するテンプレートにおいて前記要素の内容を非表示とし、
前記受信した前記ユーザ属性の値が無変換及び非表示の何れも示していない場合、前記受信した前記ユーザ属性の値が実行を示すユーザ属性の項目について、前記変換適用可否情報に基づく変換APIの適用可否、及び、適用する変換APIを設定することで、前記変換対象要素と、前記変換対象要素のそれぞれに適用する変換方法である変換APIとを決定する要素別API適用ルールを作成し、
前記サイト、前記テンプレート、及び前記サイトと前記テンプレート種別とによって抽出方法が決定されるように予め設定されたWebコンテンツ要素抽出ルールに基づいて抽出された前記アクセス要求されたサイトのWebコンテンツ要素のそれぞれを、前記要素別API適用ルールで決定される変換APIに変換させ、
変換後のWebコンテンツ要素によって前記変換後の表示情報を生成し、
前記配色補正の変換に用いる変換APIは、配色を色弱者用に補正するAPIである、コンテンツ変換方法
Receiving a conversion request based on user attributes and a template type together with a request to access the site;
Conversion applicability information indicating conversion applicability of the elements in the display information of the site, converting API rules, and based on the conversion request, the conversion target element, a conversion method to be applied to each of the converted element conversion Determining the API ,
Converting the determined conversion target element according to the corresponding conversion method;
Sending the converted display information;
A content conversion method comprising :
The user attributes include items for translation, supplementary explanation and color correction,
The receiving step receives a conversion request indicating execution, no conversion or non-display specified by the user for each item of the user attribute;
The template type indicates a template type that is set in plural for each of a plurality of predetermined user terminal types,
The receiving step receives a template type selected by the user;
The conversion applicability information indicates whether the conversion API can be applied to each element,
The conversion API rule has items of the template type and the user attribute,
The conversion API rule is:
When the received value of the user attribute indicates no conversion, the content of the element is displayed in the template corresponding to the template type without applying the conversion API,
If the received value of the user attribute indicates non-display, the content of the element is hidden in the template corresponding to the template type,
If the received value of the user attribute indicates neither conversion nor non-display, execute a conversion request based on the user attribute in the template corresponding to the template type;
Rules,
The converting step is based on the conversion API rule.
When the received value of the user attribute indicates no conversion, the content of the element is displayed in the template corresponding to the template type without applying the conversion API,
If the received value of the user attribute indicates non-display, the content of the element is hidden in the template corresponding to the template type,
If the received value of the user attribute indicates neither conversion nor non-display, the user attribute value indicating the execution of the received user attribute value is a conversion API based on the conversion applicability information. By setting applicability and the conversion API to be applied, create an element-specific API application rule that determines the conversion target element and a conversion API that is a conversion method to be applied to each of the conversion target elements,
Each of the web content elements of the requested site extracted based on the web content element extraction rule set in advance so that the extraction method is determined by the site, the template, and the site and the template type. Is converted to a conversion API determined by the element-specific API application rule,
The display information after the conversion is generated by the Web content element after conversion,
The content conversion method, wherein the conversion API used for the conversion of the color correction is an API that corrects the color for the color weak .
請求項1又は2記載のコンテンツ変換装置の各手段としてコンピュータを機能させるためのプログラム。 The program for functioning a computer as each means of the content conversion apparatus of Claim 1 or 2 . 請求項記載のプログラムを記録する記録媒体。 A recording medium for recording the program according to claim 4 .
JP2017019894A 2017-02-06 2017-02-06 Content conversion apparatus, content conversion method, program, and recording medium Active JP6572249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017019894A JP6572249B2 (en) 2017-02-06 2017-02-06 Content conversion apparatus, content conversion method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017019894A JP6572249B2 (en) 2017-02-06 2017-02-06 Content conversion apparatus, content conversion method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2018128746A JP2018128746A (en) 2018-08-16
JP6572249B2 true JP6572249B2 (en) 2019-09-04

Family

ID=63172852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017019894A Active JP6572249B2 (en) 2017-02-06 2017-02-06 Content conversion apparatus, content conversion method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP6572249B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210071332A (en) * 2019-12-06 2021-06-16 삼성전자주식회사 Display system and the controlling method of the display system

Also Published As

Publication number Publication date
JP2018128746A (en) 2018-08-16

Similar Documents

Publication Publication Date Title
JP6051337B2 (en) Client-side page processing
US20080077855A1 (en) Generic website
US10621276B2 (en) User interface virtualization for web applications
US20090019133A1 (en) System, method and computer program for updating a web page in a web browser
US20130227014A1 (en) Data sharing system and method
US10581777B2 (en) Systems and methods for providing online chat-messages with configurable, interactive imagery
US20160179767A1 (en) Architecture for an application with integrated dynamic content
US20150113626A1 (en) Customized Log-In Experience
US20150058713A1 (en) Method and apparatus for sharing media content and method and apparatus for displaying media content
WO2005122005A1 (en) Web page translation device and web page translation method
WO2022048141A1 (en) Image processing method and apparatus, and computer readable storage medium
US7143359B2 (en) Emulating advanced graphical user interface elements in a hypermedia content browser
CN103384244A (en) Method and apparatus for configuring keyboard for web browser
JP2013512504A (en) Remote printing
KR20130130869A (en) Browsing system, terminal, image server, program, computer-readable recording medium recording said program, and method
JP6572249B2 (en) Content conversion apparatus, content conversion method, program, and recording medium
KR20140055004A (en) Apparatus and method for converting web page data and, server
US10484569B2 (en) Information processing apparatus, recording medium, and control method for displaying information by a browser
EP3532956B1 (en) System and method for on-the-fly conversion of non-accessible online documents to accessible documents
JP2011128970A (en) Web page creation support device, web page creation support method, computer program
KR101262493B1 (en) System and method for providing framework with user experience characteristics based on web
JP2009048332A (en) Web page browsing device
TW201810077A (en) Acceleration method for showing asian language fonts in pages, font server, and browsing end
CN104995619B (en) Webpage processing method and equipment
KR101414900B1 (en) Method and apparatus for moving web object based on intent

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190528

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190725

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: 20190806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190809

R150 Certificate of patent or registration of utility model

Ref document number: 6572249

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150