JP2004171281A - Web content conversion and editing system - Google Patents

Web content conversion and editing system Download PDF

Info

Publication number
JP2004171281A
JP2004171281A JP2002336649A JP2002336649A JP2004171281A JP 2004171281 A JP2004171281 A JP 2004171281A JP 2002336649 A JP2002336649 A JP 2002336649A JP 2002336649 A JP2002336649 A JP 2002336649A JP 2004171281 A JP2004171281 A JP 2004171281A
Authority
JP
Japan
Prior art keywords
content
mobile station
request message
size
editing system
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
JP2002336649A
Other languages
Japanese (ja)
Inventor
Akira Tanaka
暁 田中
Satoshi Nishizawa
聡 西澤
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.)
SoftBank Corp
Original Assignee
Vodafone KK
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 Vodafone KK filed Critical Vodafone KK
Priority to JP2002336649A priority Critical patent/JP2004171281A/en
Publication of JP2004171281A publication Critical patent/JP2004171281A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a Web content conversion and editing system that can absorb constraints on a mobile station. <P>SOLUTION: The Web content conversion and editing system 12 sets, in a definition file, content types and the size of each content type acceptable by a mobile station 10, and compares content acquired from application servers 13a to 13c with the setting information in the definition file. If the acquired content is of an unset content type or of a size larger than the defined size, information to the effect is transmitted to the mobile station 10 in place of the content. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、ウェブ上に位置するコンテンツ提供元のアプリケーションサーバから移動通信網における移動局が、コンテンツを取得するためのウェブコンテンツ変換編集システムに関するものである。
【0002】
【従来の技術】
一般に、1980年代のアナログ方式の移動通信システム(NTT方式,AMPS(Advanced Mobile Phone Service),TACS(Total Access Communications System)など)が第1世代と呼ばれ、1990年代のディジタル方式の移動通信システム(PDC(Personal Digital Cellular telecommunication system),GSM(global system for mobile communication),IS−54,IS−95など)が第2世代(以下、「2Gシステム」という)と呼ばれている。これらの移動通信システムの普及はめざましく、我が国においては移動電話の普及台数は6000万台を超えるまでに至っている。このような移動電話は携帯電話機として普及しており、携帯電話機を端末としてインターネットメールを送受信することや、ウェブコンテンツをインターネット上のサーバから取得することが行われるようになってきている。
【0003】
【発明が解決しようとする課題】
オフィスや家庭におけるパーソナルコンピュータ等に導入されている一般的なウェブブラウザや、ウェブサイト上で公開されている各種コンテンツ等は、パーソナルコンピュータ等の大型のディスプレイ装置に表示することを前提として設計されて提供されている。一方、携帯電話機においては携帯性を重視していることから、ディスプレイにおけるメッセージ表示領域や、取得したデータを格納するメモリ領域が制限されている。また、携帯電話機のほとんどは、一般的なウェブブラウジング機能を備えているが、パーソナルコンピュータ等にインストールされているウェブブラウザの豊富な機能の全てを備えてはいない。従って、携帯電話機からインターネット上で公開されている各種コンテンツを取得しようとしてもコンテンツを完全に取得できない場合があるという問題点があった。また、各種コンテンツを取得した場合に、表示できなかったり表示されても異常な表示になってしまうという問題点があった。
【0004】
そこで、本発明は、移動局における制約を吸収することのできるウェブコンテンツ変換編集システムを提供することを目的としている。
【0005】
【課題を解決するための手段】
上記目的を達成するために、本発明のウェブコンテンツ変換編集システムは、移動局とコンテンツ提供元との間で送受信されるメッセージの変換編集を行うウェブコンテンツ変換編集システムであって、前記移動局からのコンテンツを要求する要求メッセージを処理して前記コンテンツ提供元に送信する第1制御手段と、前記要求メッセージに対応して前記コンテンツ提供元から取得した応答メッセージを処理して前記移動局へ送信する第2制御手段とを備え、前記第2制御手段は、前記移動局が受け入れることができるコンテンツタイプと、該コンテンツタイプ毎のサイズを設定した定義ファイルにおいて設定されているコンテンツタイプおよびサイズと、前記要求メッセージに対応して前記コンテンツ提供元から取得したコンテンツのコンテンツタイプおよびサイズとを対比して、取得した当該コンテンツのコンテンツタイプが前記定義ファイルに設定されていないか、または、サイズが前記定義ファイルに設定されているサイズ以上とされている場合は、当該コンテンツに替えてその旨を示す情報を前記移動局へ送るようにしている。
【0006】
次に、上記目的を達成することのできる本発明の他のウェブコンテンツ変換編集システムは、移動局とコンテンツ提供元との間で送受信されるメッセージの変換編集を行うウェブコンテンツ変換編集システムであって、前記移動局からのコンテンツを要求する要求メッセージを処理して前記コンテンツ提供元に送信する第1制御手段と、前記要求メッセージに対応して前記コンテンツ提供元から取得した応答メッセージを処理して前記移動局へ送信する第2制御手段とを備え、前記第1制御手段が、前記移動局からコンテンツの一部を指定して取得する要求メッセージを受け取った際には、前記第1制御手段は、前記要求メッセージを前記コンテンツ提供元から前記コンテンツの全てを取得する要求メッセージに編集して前記コンテンツ提供元に送るようにしている。
【0007】
また、上記本発明の他のウェブコンテンツ変換編集システムにおいて、前記第2制御手段は、前記編集した要求メッセージに応じて前記コンテンツ提供元から取得した応答メッセージにおけるコンテンツの内の、前記移動局からの要求メッセージにおいて指定されている一部のコンテンツを前記移動局へ送るようにしてもよい。
【0008】
次に、上記目的を達成することのできる本発明のさらに他のウェブコンテンツ変換編集システムは、移動局とコンテンツ提供元との間で送受信されるメッセージの変換編集を行うウェブコンテンツ変換編集システムであって、前記移動局からのコンテンツを要求する要求メッセージを処理して前記コンテンツ提供元に送信する第1制御手段と、前記要求メッセージに対応して前記コンテンツ提供元から取得した応答メッセージを処理して前記移動局へ送信する第2制御手段とを備え、前記第1制御手段は、前記移動局から圧縮されたコンテンツを要求する要求メッセージを受け取った際に、前記コンテンツ提供元から非圧縮とされているコンテンツを取得する要求メッセージに編集して前記コンテンツ提供元に送信するようにしている。
【0009】
さらに、上記本発明のさらに他のウェブコンテンツ変換編集システムにおいて、前記第2制御手段は、前記編集した要求メッセージに応じて前記コンテンツ提供元から取得した非圧縮とされているコンテンツを、前記移動局から前記要求メッセージにより指定された圧縮タイプになるよう圧縮処理して前記移動局へ送信するようにしてもよい。
さらにまた、上記本発明のさらに他のウェブコンテンツ変換編集システムにおいて、前記移動局からのコンテンツを取得する要求メッセージに、受け入れられる圧縮タイプ情報が指定されていた場合は、前記第2制御手段は、前記移動局が受け入れることができるコンテンツサイズが少なくとも設定されている定義ファイルに設定されているコンテンツサイズと、前記編集した要求メッセージに対応して前記コンテンツ提供元から取得した非圧縮のコンテンツのコンテンツサイズとを対比して、取得した当該コンテンツのコンテンツサイズが前記定義ファイルに設定されているコンテンツサイズ以上とされている場合に、前記取得した非圧縮のコンテンツを指定された圧縮タイプになるよう圧縮処理して前記移動局へ送るようにしてもよい。
【0010】
このような本発明によれば、取得したコンテンツタイプやサイズが設定外とされている場合は、コンテンツに替えてその旨を示す情報を移動局へ送るようにしている。これにより、移動局の制約から取得できないコンテンツを取得しないと共にそのことをユーザに知らせることができる。この場合、取得できないコンテンツは移動局へ送られないことから、限られた無線リソースを無駄に使用することを防止することができる。
また、移動局からコンテンツの一部を要求された際には、コンテンツ提供元から全コンテンツを取得して、指定された一部のコンテンツを移動局へ送るようにしている。これにより、データ矛盾を生じることなく移動局が一部のコンテンツを取得することができるようになる。
【0011】
さらに、移動局から圧縮されたコンテンツを要求された際には、コンテンツ提供元からは非圧縮のコンテンツを取得し、指定された圧縮タイプに圧縮して送るようにしている。これにより、コンテンツ提供元から取得したコンテンツを解凍した後に、さらに圧縮する処理を行う必要をなくすことができ、処理効率が低下することを防止することができる。また、移動局の仕様上の制約等を極力吸収することができ、移動局におけるウェブ通信におけるユーザビリティを向上することができるようになる。
【0012】
【発明の実施の形態】
本発明の実施の形態のウェブコンテンツ変換編集システムを備えるネットワークの概略構成を図1に示す。
図1に示すネットワークは、移動通信網とインターネット等の他のネットワークとを有しており、移動通信網は、例えば携帯電話機とされる移動局(MS)10と無線通信路11として示されている。また、他のネットワークはそのネットワーク上に位置しているアプリケーションサーバ13a、13b、13cとして示されている。本発明にかかるウェブコンテンツ変換編集システム12は、移動通信網と他のネットワークとの間に配置されており、移動局10とコンテンツ提供元であるアプリケーションサーバ13a〜13cとの間で送受信されるメッセージの変換編集を行っている。
【0013】
移動局10は、アプリケーションサーバ13a〜13cのいずれかからコンテンツを取得する際にHTTP(HyperText Transport Protocol)リクエスト(Request)をアプリケーションサーバ13a〜13cに向けて送信する。このHTTPリクエストを受けたアプリケーションサーバ13a〜13cは、要求されたコンテンツをエンティテイボディとするHTTPレスポンス(Response)を移動局10へ向けて送り出す。この場合において、移動局10とアプリケーションサーバ13a〜13cとの間に配置されている本発明にかかるウェブコンテンツ変換編集システム12は、次に説明するウェブコンテンツ変換編集に関する後述する各種処理を実行する。
【0014】
ウェブコンテンツ変換編集システム12が実行するウェブコンテンツ変換編集処理の一つにページサイズチェック処理がある。このページサイズチェック処理は、移動局10がコンテンツを取得する際に、アプリケーションサーバ13a〜13cのいずれかから送られて来たHTTPレスポンスにおけるコンテンツであるエンティテイボディのバイト長をチェックする処理である。このページサイズチェック処理を行うことにより、移動局10が不用意にコンテンツ提供側のアプリケーションサーバ13a〜13cから大きなコンテンツを取得することを防止し、無線通信路11のリソースを有効に利用できるようになる。ページサイズチェック処理においてあらかじめ設定する上限バイト長は、HTTP/1.1のレスポンスヘッダで指定されるコンテンツタイプ(text(テキスト)、image(イメージ)、application(アプリケーション)等)毎にページサイズチェック定義ファイルで設定するようにしている。
【0015】
このページサイズチェック定義ファイルでは、コンテンツタイプおよびそのサイズ長が、間に「,」を入れて示されている。その一例を説明すると、「text/x−mml,1024」は、コンテンツがx−mmlタイプのテキストファイルのバイト長の上限が1024バイト長未満とされていることを意味しており、当該タイプのバイト長が1024バイト以上とされている場合は、チェックエラーを送信する。また、「text/*,0」は、コンテンツがページサイズチェック定義ファイルで定義されている以外のテキスト系コンテンツとされている場合は、非許容コンテンツとしてエラー送信することを意味している。さらに、「image/png.2048」はPNG(Portable Network Graphics)タイプのイメージファイルのバイト長の上限が2048バイト未満とされていることを意味しており、当該タイプのバイト長が2048バイト以上とされている場合は、チェックエラーを送信する。他のコンテンツタイプに対するサイズ長も、図3に示すページサイズチェック定義ファイルにおける該当する定義ファイルを同様に解釈することができる。
【0016】
ウェブコンテンツ変換編集システム12が実行するコンテンツ変換編集処理におけるページサイズチェック処理では、アプリケーションサーバ13a〜13cのいずれかからコンテンツを取得した時に、エンティテイボディのバイト長情報を得る。そして、ページサイズチェック定義ファイルを参照して、この定義ファイルに設定されているコンテンツタイプおよびサイズ長と、取得されたコンテンツのコンテンツタイプとエンティテイボディのバイト長とを対比する。ここで、アプリケーションサーバ13a〜13cのいずれかから取得したコンテンツのコンテンツタイプが一致しない場合は、コンテンツタイプが異なる旨のエラーメッセージを、要求されたコンテンツに代えて移動局10へ送信する。また、エンティテイボディのバイト長が設定されているサイズ長以上と判断された際に、あらかじめ用意されているコンテンツのサイズが大きすぎる旨のエラーメッセージを、要求されたコンテンツに代えて移動局10へ送信する。なお、HTTP/1.1のレスポンスヘッダにおいてコンテンツがCGI(Common Gateway Interface)等のプログラムとされてコンテンツサイズが未指定とされている場合は、エンティティボディ部のサイズを計算してそのバイト長を算出し、算出結果に基づいてページサイズチェック処理を行うようにする。
【0017】
ここで、ウェブコンテンツ変換編集システム12が実行するページサイズチェック処理のフローチャートを図2に示す。
ページサイズチェック処理がスタートすると、ステップS10にてアプリケーションサーバ13a〜13cのいずれかからHTTPリクエストに対して取得されたHTTPレスポンスにおけるレスポンスヘッダよりtext/HTML等のコンテンツタイプ(Content−Type)を取得する。次いで、ステップS11にてレスポンスヘッダから取得されたコンテンツタイプと、ページサイズチェック定義ファイル中で設定されているコンテンツタイプとを対比してコンテンツタイプが一致するか否かが判断される。ここで、一致すると判断された場合はステップS13に分岐してページサイズチェック定義ファイル中で設定されている当該コンテンツタイプのサイズの設定値が”0”か否かが判断される。ここで、当該コンテンツタイプのサイズの設定値が”0”と判断されると、そのコンテンツタイプはサポートされていないことからステップS20に分岐して「未サポートコンテンツである」旨のページを移動局10へ送信して、移動局10の表示部にそのページを表示させる。この場合、コンテンツは取得されず移動局10へ送られない。
【0018】
また、ステップS14にて当該コンテンツタイプのサイズの設定値が”0”でないと判断されると、ステップS14に進んでレスポンスヘッダにコンテンツのサイズ(Content−Length)が設定されているか否かが判断される。ここで、レスポンスヘッダにコンテンツのサイズ(Content−Length)が設定されていると判断された場合は、ステップS15に進んでレスポンスヘッダより「1236」等のコンテンツのサイズ(Content−Length)が取得される。また、ステップS14にてレスポンスヘッダにコンテンツのサイズ(Content−Length)が設定されていないと判断された場合は、ステップS16へ分岐してHTTPレスポンスのエンティティボディ部のサイズを計算して代用する。ただし、コンテンツを分割して送るチャンクド(Chunked)転送コーディングとされている場合は、分割されているコンテンツを結合後、エンティティボディ部のサイズを計算して代用する。
【0019】
そして、ステップS15あるいはステップS16の処理が終了すると、ステップS17にて取得あるいは計算されたコンテンツのサイズが、ページサイズチェック定義ファイル中で設定されている当該コンテンツタイプのサイズ以上か否かが判断される。ここで、ページサイズチェック定義ファイル中で設定されている当該コンテンツタイプのサイズより小さいと判断された場合は、HTTPレスポンスにおけるコンテンツのサイズが移動局10の仕様に合ったサイズとされていることからステップS18に進み、取得されたHTTPレスポンスが編集されることなくそのまま移動局10へ送信される。また、ページサイズチェック定義ファイル中で設定されている当該コンテンツタイプのサイズ以上と判断された場合はステップS19に進み、HTTPレスポンスにおけるコンテンツのサイズが大きすぎて移動局10の仕様を逸脱していることから、「コンテンツサイズが大きすぎる」旨のページを、コンテンツに替えて移動局10へ送信して、移動局10の表示部にそのページを表示させる。なお、ステップS11にてページサイズチェック定義ファイル中で設定されているコンテンツタイプとを対比してコンテンツタイプが一致しないと判断された場合は、そのコンテンツタイプを制限する条件が設定されていないことからステップS12に進んで取得されたHTTPレスポンスが編集されることなくそのまま移動局10へ送信される。
【0020】
以上説明したページサイズチェック処理においては、コンテンツを分割して送るチャンクド転送コーディングが指定されている場合は、コンテンツをアプリケーションサーバ13a〜13cのいずれかからコンテンツを分割して取得してウェブコンテンツ変換編集システム12が移動局10へ送る際に、分割されたコンテンツを結合した全体のサイズにおいてページサイズチェック処理を行うようにする。なお、コンテンツタイプおよびサイズを定義するページサイズチェック定義ファイルはその設定内容が変更可能とされている。
【0021】
次に、ウェブコンテンツ変換編集システム12が実行するウェブコンテンツ変換編集処理の一つにレンジリクエスト対応処理がある。レンジリクエストとは、コンテンツの内で範囲を指定してその範囲だけを取得するリクエストである。ところで、コンテンツが圧縮処理等されている場合は、コンテンツの圧縮処理の形態がウェブコンテンツ変換編集システム12を間に挟んで異なる場合があり、この場合には移動局10側とアプリケーションサーバ13a〜13cのコンテンツ提供側において、コンテンツのサイズ等の物理的実体が異なる場合がある。すると、移動局10がレンジリクエストにより部分コンテンツの要求をした際に、要求した部分コンテンツと取得した部分コンテンツとの間にデータの矛盾が生じるおそれがあることになる。
【0022】
そこで、これを防止するために、ウェブコンテンツ変換編集システム12は、移動局10から受け取ったHTTPリクエストにおけるヘッダーにレンジを指定するヘッダがあった場合(レンジリクエスト)は、このレンジを指定しているレンジリクエストのヘッダーを削除してアプリケーションサーバ13a〜13c側へ送り、アプリケーションサーバ13a〜13c側からのレスポンスとして全コンテンツを受け取るようにする。そして、ウェブコンテンツ変換編集システム12は、受け取った全コンテンツの内のレンジリクエストのヘッダーにおいて指定された範囲の部分コンテンツを移動局10へ送るようにする。これにより、要求した部分コンテンツと取得した部分コンテンツとの間にデータの矛盾が生じるおそれを防止することができる。しかし、移動局10からの全てのレンジリクエストの要求を拒否してしまうと、アプリケーションサーバ13a〜13c側から常に全コンテンツを送信することになり通信効率が低下することになる。そこで、要求した部分コンテンツと取得した部分コンテンツとの間にデータの矛盾が生じるおそれが通常は生じないファイルタイプをレンジリクエスト対象処理外のファイルとして定義している。このRangeリクエスト対象処理外定義ファイルの一例を図5に示す。そして、HTTPリクエストにより要求されたコンテンツのファイルタイプの拡張子が、図5に示す定義された拡張子と一致する場合は、レンジリクエストをそのままアプリケーションサーバ13a〜13cへ向けて送信する。これにより、通信効率の低下を防止することができる。
【0023】
ここで、Rangeリクエスト対応処理のフローチャートを図4に示す。
Rangeリクエスト対応処理がスタートされると、ステップS30にてHTTPリクエストのリクエストヘッダよりコンテンツのファイルタイプを示す拡張子が取得される。次いで、ステップS31にてリクエストヘッダから取得された拡張子がRangeリクエスト対象処理外定義ファイル中で設定されている拡張子と一致するか否かが判断される。Rangeリクエスト対象処理外定義ファイルの一例が図5に示されており、レンジリクエスト対応処理対象外のファイルタイプを示す拡張子が設定されている。ステップS31にてリクエストヘッダから取得された拡張子がRangeリクエスト対象処理外定義ファイル中で設定されている拡張子と一致すると判断された場合は、リクエストされているコンテンツのファイルタイプは、レンジリクエスト対応処理対象外のファイルタイプとなる。そこで、ステップS35に分岐してリクエストヘッダを編集することなく、そのままアプリケーションサーバ13a〜13cへ向けてウェブコンテンツ変換編集システム12から送信される。この場合、レンジリクエストとされていてもそのままアプリケーションサーバ13a〜13cに、そのHTTPリクエストが送信される。
【0024】
また、ステップS31にてリクエストヘッダから取得された拡張子がRangeリクエスト対象処理外定義ファイル中で設定されている拡張子と一致しないと判断された場合は、リクエストされているコンテンツのファイルタイプは、レンジリクエスト対応処理が行われるファイルタイプとなる。そこで、ステップS32に進んで、HTTPリクエストのリクエストヘッダにレンジ(Range)が指定されているレンジリクエストとされているか否かが判断される。ここで、HTTPリクエストがレンジリクエストと判断された場合は、ステップS34へ分岐してリクエストヘッダからレンジ(Range)部分を削除して、アプリケーションサーバ13a〜13cへ向けて編集したHTTPリクエストを送信する。
【0025】
これにより、コンテンツ提供元であるアプリケーションサーバ13a〜13cからは全コンテンツのHTTPレスポンスが送信され、ウェブコンテンツ変換編集システム12は、HTTPレスポンスとして全コンテンツを受け取るようになる。そして、ウェブコンテンツ変換編集システム12は、受け取った全コンテンツの内のレンジリクエストにおいて指定された範囲の部分コンテンツを移動局10へ送るようにする。また、ステップS32にてリクエストヘッダにレンジ(Range)が指定されておらずレンジリクエストでないと判断された場合は、ステップS33に進んでリクエストヘッダを編集することなく、そのままアプリケーションサーバ13a〜13cへ向けてHTTPリクエストを送信する。
【0026】
このように、レンジリクエストのリクエストヘッダからレンジ(Range)部分を削除しないファイルタイプをRangeリクエスト対象処理外定義ファイルにて設定して、該当するファイルタイプのレンジリクエストを受け取ったときには、レンジリクエストヘッダからレンジ(Range)部分を削除することなくアプリケーションサーバ13a〜13c側へ送るようにしている。これにより、通信効率の低下を防止することができる。なお、Rangeリクエスト対象処理外定義ファイルで設定しておくRangeリクエスト対応処理の対象外のファイルタイプとしては、図5に示すように移動局10側とアプリケーションサーバ13a〜13cのコンテンツ提供側において、コンテンツのサイズ等の物理的実体が異なるおそれの少ないjpegやpngのファイルタイプとされる。
【0027】
次に、ウェブコンテンツ変換編集システム12が実行するウェブコンテンツ変換編集処理の一つにHTTPエンティティボディの圧縮処理がある。
HTTPエンティティボディの圧縮処理は、移動局10側とコンテンツを提供するアプリケーションサーバ13a〜13c側の間で転送されるデータ量を減らし、無線通信路11のリソースを有効に利用するために行われる。ウェブコンテンツ変換編集システム12は、アプリケーションサーバ13a〜13c側から受信したHTTPレスポンスにおいて、移動局10からの要求に応じエンティティボディ(コンテンツ)を圧縮して移動局10側に送信する。なお、アプリケーションサーバ13a〜13cから圧縮したエンティティボディを送ると、その圧縮タイプを移動局10において受け入れられない場合があることから、ウェブコンテンツ変換編集システム12において圧縮されているエンティティボディを解凍してから圧縮することになり、処理効率が低下する。これを防止するために、ウェブコンテンツ変換編集システム12はアプリケーションサーバ13a〜13c側から非圧縮のエンティティボディを、HTTPレスポンスとして受け取るようにする。そして、ウェブコンテンツ変換編集システム12において、コンテンツの変換及び編集処理を行った後、圧縮処理を行うようにする。
【0028】
ところで、移動局10はHTTPリクエストにおけるアクセプト・エンコーディング(Accept−Encoding)ヘッダにより、受け入れられる圧縮タイプを指定するようにしている。このアクセプト・エンコーディングヘッダにおいて、指定している圧縮タイプの値がNULL値(または、「identify」)とされている場合は、移動局10においてコンテンツ圧縮が許容されていない場合である。また、圧縮タイプのいずれかが指定されている場合、および、アクセプト・エンコーディングヘッダが指定されていない場合は、移動局10においてコンテンツ圧縮が許容されている場合であり、この場合に限ってウェブコンテンツ変換編集システム12において、移動局10において受け入れられる圧縮タイプのエンティティボディの圧縮を行うようにしている。
【0029】
この場合、コンテンツ提供側においてはコンテンツを圧縮して送信させないことを通知するため、ウェブコンテンツ変換編集システム12は、移動局10からのHTTPリクエストにNULL値(または、「identify」)を設定したアクセプト・エンコーディングヘッダを追加し、コンテンツ提供側であるアプリケーションサーバ13a〜13cに送信する。これにより、アプリケーションサーバ13a〜13c側からのHTTPレスポンスは非圧縮となる。なお、移動局10からのHTTPリクエストにおけるアクセプト・エンコーディングヘッダにおいて、指定している圧縮タイプの値がNULL値(または、「identify」)とされている場合は、前述したようにコンテンツ圧縮が非許容とされているため、ウェブコンテンツ変換編集システム12は、コンテンツ圧縮を行わない。また、ウェブコンテンツ変換編集システム12が行う圧縮タイプとしては、一般にDEFLATE形式またはGZIP形式が用いられる。
【0030】
ここで、ウェブコンテンツ変換編集システム12が実行するHTTPエンティティボディ圧縮処理1のフローチャートを図6に示す。このHTTPエンティティボディ圧縮処理1では、移動局10からのHTTPリクエストのヘッダの編集が行われる。
HTTPエンティティボディ圧縮処理1がスタートすると、ステップS40にて移動局10からのHTTPリクエストのリクエストヘッダにおける圧縮タイプを指定するAccept−Encodingが取得される。次いで、取得したAccept−Encodingにおいて圧縮タイプが指定されているか否かが判断される。ここで、Accept−Encodingにおいて圧縮タイプが指定されていないと判断された場合は、移動局10においてコンテンツ圧縮が許容されている場合であり、ステップS44に分岐する。ステップS44では、リクエストヘッダにおけるAccept−EncodingにNULL値(または、「identify」)を設定して、コンテンツ提供側であるアプリケーションサーバ13a〜13cに送信する。これにより、アプリケーションサーバ13a〜13c側からのHTTPレスポンスは非圧縮となる。
【0031】
また、ステップS41にてAccept−Encodingにより圧縮タイプが指定されていると判断された場合は、ステップS42に進みリクエストヘッダにおけるAccept−EncodingにNULL値(または、「identify」)が設定されているか否かが判断される。ここで、Accept−EncodingにNULL値(または、「identify」)が設定されていると判断された場合は、移動局10においてコンテンツ圧縮が許容されていない場合であり、ステップS45に分岐する。ステップS45ではリクエストヘッダのAccept−Encodingを編集することなく、コンテンツ提供側であるアプリケーションサーバ13a〜13cに送信する。これにより、アプリケーションサーバ13a〜13c側からのHTTPレスポンスは非圧縮となる。
【0032】
また、ステップS42にてAccept−EncodingにNULL値(または、「identify」)ではない圧縮タイプが設定されていると判断された場合は、移動局10において設定された圧縮タイプのコンテンツ圧縮が許容されている場合であり、ステップS43に進む。ステップS43では、リクエストヘッダにおけるAccept−EncodingにNULL値(または、「identify」)を設定して、コンテンツ提供側であるアプリケーションサーバ13a〜13cに送信する。これにより、アプリケーションサーバ13a〜13c側からのHTTPレスポンスは非圧縮となる。このようにして、コンテンツ提供側であるアプリケーションサーバ13a〜13cからのHTTPレスポンスは非圧縮とされてウェブコンテンツ変換編集システム12が受信するようになる。そして、ウェブコンテンツ変換編集システム12は、移動局10からのHTTPリクエストにおけるリクエストヘッダのAccept−Encodingの指定に応じた圧縮タイプでエンティティボディを圧縮したHTTPレスポンスを移動局に送信する。
【0033】
ところで、圧縮するか否かをコンテンツタイプおよびエンティティボディのバイト長が、ページサイズチェック定義ファイルで設定されているコンテンツタイプおよび設定されているサイズ長を超える場合に圧縮するようにしてもよい。この場合、圧縮対象となるコンテンツタイプおよびサイズ長を定義するページサイズチェック定義ファイルは変更可能とされている。さらにまた、ウェブコンテンツ変換編集システム12は、エンティティボディの圧縮を行ったHTTPレスポンスにコンテンツ・エンコーディング(Content−Encoding)ヘッダを追加することにより、圧縮タイプを指定して移動局10に送信するようにしている。このコンテンツ・エンコーディングに設定する値は、例えば「DEFLATE」または「GZIP」とされる。なお、画像ファイルは通常圧縮されているため、圧縮対象のコンテンツタイプから除外されている。
【0034】
ここで、ウェブコンテンツ変換編集システム12が実行するHTTPエンティティボディ圧縮処理2のフローチャートを図7に示す。このHTTPエンティティボディ圧縮処理2では、取得したHTTPレスポンスのエンティティボディの圧縮処理が行われる。
HTTPエンティティボディ圧縮処理2がスタートすると、ステップS50にてコンテンツ提供側であるアプリケーションサーバ13a〜13cからのHTTPレスポンスのレスポンスヘッダからコンテンツタイプ(Content−Type)を取得する。次いで、ステップS51にてレスポンスヘッダから取得されたコンテンツタイプと、ページサイズチェック定義ファイル中で設定されているコンテンツタイプとを対比してコンテンツタイプが一致するか否かが判断される。ここで、一致すると判断された場合はステップS53に分岐してレスポンスヘッダより「1236」等のコンテンツのサイズ(Content−Length)が取得される。
【0035】
次いで、ページサイズチェック定義ファイル中で設定されている当該コンテンツタイプのサイズ以上か否かが判断される。ここで、ページサイズチェック定義ファイル中で設定されている当該コンテンツタイプのサイズより小さいと判断された場合は、HTTPレスポンスにおけるコンテンツのサイズが移動局10の仕様に合ったサイズとされていることからステップS55に進み、取得されたHTTPレスポンスのエンティティボディが圧縮されることなくそのまま移動局10へ送信される。また、ページサイズチェック定義ファイル中で設定されている当該コンテンツタイプのサイズ以上と判断された場合は、HTTPレスポンスにおけるコンテンツのサイズが移動局10の仕様より大きすぎることから、ステップS56に進みHTTPレスポンスのエンティティボディの圧縮が行われる。この場合、HTTPレスポンスのエンティティボディを例えばDEFLATE形式あるいはGZIP形式で圧縮を行い、その圧縮タイプの値をコンテンツ・エンコーディング(Content−Encoding)に設定して移動局10に送信する。これにより、HTTPレスポンスにおけるコンテンツのサイズが移動局10の仕様を超える場合でも、圧縮することによりコンテンツサイズの条件をクリアして移動局10はコンテンツを取得することができるようになる。
【0036】
なお、レンジリクエストであって、かつ、コンテンツの圧縮が指定されている場合は、ウェブコンテンツ変換編集システム12は、非圧縮の全コンテンツを要求するHTTPリクエストのリクエストヘッダに編集してコンテンツ提供元であるアプリケーションサーバ13a〜13cに送信する。これにより、アプリケーションサーバ13a〜13cからのHTTPレスポンスは非圧縮の全コンテンツとなる。そこで、ウェブコンテンツ変換編集システム12は、指定された範囲のコンテンツに指定されている圧縮タイプの圧縮処理を施して移動局10へ送信するようにしている。
【0037】
【発明の効果】
本発明は以上説明したように、取得したコンテンツタイプやサイズが設定外とされている場合は、コンテンツに替えてその旨を示す情報を移動局へ送るようにしている。これにより、移動局の制約から取得できないコンテンツを取得しないと共にそのことをユーザに知らせることができる。この場合、取得できないコンテンツは移動局へ送られないことから、限られた無線リソースを無駄に使用することを防止することができる。
また、移動局からコンテンツの一部を要求された際には、コンテンツ提供元から全コンテンツを取得して、指定された一部のコンテンツを移動局へ送るようにしている。これにより、データ矛盾を生じることなく移動局が一部のコンテンツを取得することができるようになる。
【0038】
さらに、移動局から圧縮されたコンテンツを要求された際には、コンテンツ提供元からは非圧縮のコンテンツを取得し、指定された圧縮タイプに圧縮して送るようにしている。これにより、コンテンツ提供元から取得したコンテンツを解凍した後に、さらに圧縮する処理を行う必要をなくすことができ、処理効率が低下することを防止することができる。また、移動局の仕様上の制約等を極力吸収することができ、移動局におけるウェブ通信におけるユーザビリティを向上することができるようになる。
【図面の簡単な説明】
【図1】本発明の実施の形態のウェブコンテンツ変換編集システムを備えるネットワークの概略構成を示す図である。
【図2】本発明の実施の形態のウェブコンテンツ変換編集システムで実行するページサイズチェック処理のフローチャートである。
【図3】本発明の実施の形態のウェブコンテンツ変換編集システムで設定されているページサイズチェック定義ファイルである。
【図4】本発明の実施の形態のウェブコンテンツ変換編集システムで実行するRangeリクエスト対応処理のフローチャートである。
【図5】本発明の実施の形態のウェブコンテンツ変換編集システムで設定されているRangeリクエスト対応処理対象外定義ファイルである。
【図6】本発明の実施の形態のウェブコンテンツ変換編集システムで実行するHTTPエンティティボディ圧縮処理1のフローチャートである。
【図7】本発明の実施の形態のウェブコンテンツ変換編集システムで実行するHTTPエンティティボディ圧縮処理2のフローチャートである。
【符号の説明】
10 移動局、11 無線通信路、12 ウェブコンテンツ変換編集システム、13a アプリケーションサーバ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a web content conversion / editing system for a mobile station in a mobile communication network to acquire content from an application server serving as a content provider located on the web.
[0002]
[Prior art]
In general, analog mobile communication systems of the 1980s (NTT system, Advanced Mobile Phone Service (AMPS), Total Access Communications System (TACS), etc.) are called first generation, and digital mobile communication systems of the 1990s ( PDC (Personal Digital Cellular communication system), GSM (global system for mobile communication), IS-54, IS-95, etc. are called the second generation (hereinafter, referred to as "2G system"). The spread of these mobile communication systems has been remarkable, and in Japan, the number of mobile phones spread has exceeded 60 million. Such mobile phones have become widespread as mobile phones, and sending and receiving Internet mail using the mobile phone as a terminal and acquiring web contents from a server on the Internet have been performed.
[0003]
[Problems to be solved by the invention]
General web browsers introduced in personal computers and the like in offices and homes, and various contents published on websites are designed on the premise that they are displayed on a large display device such as a personal computer. Are provided. On the other hand, the importance of portability in mobile phones limits the message display area on the display and the memory area for storing acquired data. Most mobile phones have a general web browsing function, but do not have all of the rich functions of a web browser installed in a personal computer or the like. Therefore, there is a problem that even when trying to acquire various contents published on the Internet from a mobile phone, the contents may not be completely acquired. In addition, when various contents are acquired, there is a problem in that the contents cannot be displayed or even if displayed, the display becomes abnormal.
[0004]
Therefore, an object of the present invention is to provide a web content conversion / editing system capable of absorbing restrictions in a mobile station.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, a web content conversion and editing system of the present invention is a web content conversion and editing system for performing conversion and editing of a message transmitted and received between a mobile station and a content provider. First control means for processing a request message for requesting the content and transmitting the request message to the content provider; processing a response message obtained from the content provider in response to the request message and transmitting the response message to the mobile station A second control unit, the second control unit comprising: a content type that can be accepted by the mobile station; a content type and a size set in a definition file in which a size for each content type is set; In response to the request message, a copy of the content obtained from the content In contrast to the content type and size, if the content type of the acquired content is not set in the definition file, or if the size is equal to or larger than the size set in the definition file, the Instead of the content, information indicating this is sent to the mobile station.
[0006]
Next, another web content conversion / editing system of the present invention capable of achieving the above object is a web content conversion / editing system for converting and editing a message transmitted / received between a mobile station and a content provider. A first control unit for processing a request message for requesting content from the mobile station and transmitting the request message to the content provider; and processing a response message obtained from the content provider in response to the request message. And a second control means for transmitting to the mobile station, when the first control means receives a request message for specifying and acquiring a part of the content from the mobile station, the first control means, Providing the content by editing the request message into a request message for obtaining all of the content from the content provider; So that send to.
[0007]
Further, in the other web content conversion / editing system of the present invention, the second control means may include, from the content of the response message obtained from the content provider in response to the edited request message, Some of the contents specified in the request message may be sent to the mobile station.
[0008]
Next, still another web content conversion / editing system of the present invention capable of achieving the above object is a web content conversion / editing system for converting and editing a message transmitted / received between a mobile station and a content provider. A first control means for processing a request message for requesting content from the mobile station and transmitting the request message to the content provider; and processing a response message obtained from the content provider in response to the request message. A second control unit for transmitting to the mobile station, wherein the first control unit is uncompressed from the content provider when receiving a request message for requesting compressed content from the mobile station. The content is edited into a request message for acquiring the content and transmitted to the content provider.
[0009]
Further, in still another web content conversion / editing system according to the present invention, the second control means transmits the uncompressed content obtained from the content provider in response to the edited request message to the mobile station. The compression processing may be performed so that the compression type specified by the request message is transmitted to the mobile station.
Still further, in still another web content conversion / editing system of the present invention, in a case where acceptable compression type information is specified in a request message for acquiring content from the mobile station, the second control means includes: A content size set in a definition file in which a content size acceptable by the mobile station is set, and a content size of uncompressed content obtained from the content provider in response to the edited request message When the content size of the obtained content is set to be equal to or larger than the content size set in the definition file, the compression process is performed so that the obtained non-compressed content becomes the specified compression type. May be sent to the mobile station.
[0010]
According to the present invention, when the acquired content type or size is not set, information indicating the fact is transmitted to the mobile station instead of the content. As a result, it is possible to not acquire the content that cannot be acquired due to the restrictions of the mobile station and to inform the user of the content. In this case, since the content that cannot be obtained is not sent to the mobile station, it is possible to prevent a limited use of the radio resources.
Further, when a part of the content is requested from the mobile station, all the contents are acquired from the content provider, and the specified part of the content is sent to the mobile station. As a result, the mobile station can acquire some contents without causing data inconsistency.
[0011]
Further, when a compressed content is requested from a mobile station, uncompressed content is obtained from a content provider, and is compressed and transmitted to a designated compression type. As a result, it is possible to eliminate the necessity of performing a further compression process after decompressing the content obtained from the content provider, and prevent a reduction in processing efficiency. In addition, restrictions on specifications of the mobile station can be absorbed as much as possible, and usability of the mobile station in web communication can be improved.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows a schematic configuration of a network including a web content conversion / editing system according to an embodiment of the present invention.
The network shown in FIG. 1 includes a mobile communication network and another network such as the Internet. The mobile communication network is shown as a mobile station (MS) 10 which is a mobile phone, for example, and a wireless communication path 11. I have. Other networks are shown as application servers 13a, 13b, 13c located on the network. The web content conversion / editing system 12 according to the present invention is arranged between a mobile communication network and another network, and is a message transmitted / received between the mobile station 10 and the application servers 13a to 13c as content providers. Conversion editing.
[0013]
The mobile station 10 transmits an HTTP (HyperText Transport Protocol) request (Request) to the application servers 13a to 13c when acquiring content from any of the application servers 13a to 13c. Upon receiving the HTTP request, the application servers 13a to 13c send an HTTP response (Response) having the requested content as an entity body to the mobile station 10. In this case, the web content conversion and editing system 12 according to the present invention, which is arranged between the mobile station 10 and the application servers 13a to 13c, executes the following various processes related to web content conversion and editing described below.
[0014]
One of the web content conversion and editing processes executed by the web content conversion and editing system 12 is a page size check process. This page size check process is a process of checking the byte length of the entity body which is the content in the HTTP response sent from any of the application servers 13a to 13c when the mobile station 10 acquires the content. . By performing the page size check process, it is possible to prevent the mobile station 10 from inadvertently obtaining large content from the application server 13a to 13c on the content providing side, and to effectively use the resources of the wireless communication path 11. Become. The upper limit byte length that is set in advance in the page size check processing is a page size check definition for each content type (text (text), image (image), application (application), etc.) specified in the HTTP / 1.1 response header. It is set in a file.
[0015]
In this page size check definition file, the content type and its size length are indicated with "," between them. To explain an example, “text / x-mml, 1024” means that the upper limit of the byte length of the text file of the x-mml type is less than 1024 bytes. If the byte length is 1024 bytes or more, a check error is transmitted. “Text / *, 0” means that if the content is text-based content other than that defined in the page size check definition file, error transmission is performed as non-permitted content. Further, “image / png.2048” means that the upper limit of the byte length of a PNG (Portable Network Graphics) type image file is less than 2048 bytes, and the byte length of the type is 2048 bytes or more. If so, send a check error. The size length for other content types can be interpreted in the same way as the corresponding definition file in the page size check definition file shown in FIG.
[0016]
In the page size check process in the content conversion / editing process executed by the web content conversion / editing system 12, when content is acquired from any of the application servers 13a to 13c, byte length information of the entity body is obtained. Then, referring to the page size check definition file, the content type and the size length set in the definition file are compared with the content type of the acquired content and the byte length of the entity body. Here, if the content types of the content obtained from any of the application servers 13a to 13c do not match, an error message indicating that the content type is different is transmitted to the mobile station 10 instead of the requested content. Further, when it is determined that the byte length of the entity body is equal to or larger than the set size length, an error message indicating that the size of the content prepared in advance is too large is replaced by the mobile station 10 instead of the requested content. Send to If the content is a program such as CGI (Common Gateway Interface) and the content size is not specified in the HTTP / 1.1 response header, the size of the entity body part is calculated and the byte length is calculated. The calculation is performed, and the page size check processing is performed based on the calculation result.
[0017]
Here, a flowchart of the page size check processing executed by the web content conversion / editing system 12 is shown in FIG.
When the page size check process starts, in step S10, a content type (Content-Type) such as text / HTML is acquired from a response header in the HTTP response acquired for the HTTP request from any of the application servers 13a to 13c. . Next, in step S11, the content type acquired from the response header is compared with the content type set in the page size check definition file to determine whether or not the content types match. Here, if it is determined that they match, the process branches to step S13, and it is determined whether the set value of the size of the content type set in the page size check definition file is "0". Here, if the set value of the size of the content type is determined to be “0”, the content type is not supported, and the process branches to step S20 to display a page indicating “unsupported content” on the mobile station. 10 to display the page on the display unit of the mobile station 10. In this case, the content is not obtained and is not sent to the mobile station 10.
[0018]
If it is determined in step S14 that the set value of the size of the content type is not “0”, the process proceeds to step S14 to determine whether the content size (Content-Length) is set in the response header. Is done. If it is determined that the content size (Content-Length) is set in the response header, the process proceeds to step S15, and the content size (Content-Length) such as “1236” is obtained from the response header. You. If it is determined in step S14 that the content size (Content-Length) is not set in the response header, the flow branches to step S16 to calculate and substitute the size of the entity body portion of the HTTP response. However, in the case of Chunked transfer coding in which the content is divided and transmitted, after combining the divided content, the size of the entity body part is calculated and substituted.
[0019]
When the processing in step S15 or step S16 is completed, it is determined whether the size of the content obtained or calculated in step S17 is equal to or larger than the size of the content type set in the page size check definition file. You. Here, when it is determined that the size of the content type set in the page size check definition file is smaller than that of the content type, it is determined that the size of the content in the HTTP response conforms to the specification of the mobile station 10. Proceeding to step S18, the obtained HTTP response is transmitted to the mobile station 10 without being edited. If it is determined that the size of the content type is equal to or larger than the size of the content type set in the page size check definition file, the process proceeds to step S19, and the size of the content in the HTTP response is too large and deviates from the specification of the mobile station 10. Therefore, a page indicating that the content size is too large is transmitted to the mobile station 10 instead of the content, and the page is displayed on the display unit of the mobile station 10. If it is determined in step S11 that the content type does not match the content type set in the page size check definition file, it means that the condition for restricting the content type has not been set. Proceeding to step S12, the obtained HTTP response is transmitted to the mobile station 10 without being edited.
[0020]
In the above-described page size check processing, when chunked transfer coding for dividing and sending the content is specified, the content is divided and acquired from any of the application servers 13a to 13c to convert and edit the web content. When transmitting to the mobile station 10 by the system 12, the page size check processing is performed on the entire size obtained by combining the divided contents. The contents of the page size check definition file that defines the content type and size can be changed.
[0021]
Next, one of the web content conversion and editing processes executed by the web content conversion and editing system 12 is a range request handling process. The range request is a request for specifying a range in the content and acquiring only the range. By the way, when the content is subjected to the compression processing or the like, the form of the content compression processing may be different with the web content conversion and editing system 12 interposed therebetween. In this case, the mobile station 10 and the application servers 13a to 13c are used. In some cases, the physical entity such as the size of the content is different on the content provider side. Then, when the mobile station 10 requests the partial content by the range request, data inconsistency may occur between the requested partial content and the acquired partial content.
[0022]
Therefore, in order to prevent this, the web content conversion / editing system 12 specifies this range when the header in the HTTP request received from the mobile station 10 includes a range (range request). The header of the range request is deleted, sent to the application servers 13a to 13c, and all contents are received as a response from the application servers 13a to 13c. Then, the web content conversion / editing system 12 sends to the mobile station 10 the partial content in the range specified in the header of the range request in the received content. This can prevent a possibility that data inconsistency occurs between the requested partial content and the acquired partial content. However, if all range requests from the mobile station 10 are rejected, all contents are always transmitted from the application servers 13a to 13c, and communication efficiency is reduced. Therefore, a file type that does not normally cause a data inconsistency between the requested partial content and the acquired partial content is defined as a file that is not subject to range request processing. FIG. 5 shows an example of this Range request non-process definition file. Then, when the extension of the file type of the content requested by the HTTP request matches the defined extension shown in FIG. 5, the range request is transmitted as it is to the application servers 13a to 13c. As a result, a decrease in communication efficiency can be prevented.
[0023]
Here, FIG. 4 shows a flowchart of the Range request handling process.
When the Range request handling process is started, an extension indicating the file type of the content is acquired from the request header of the HTTP request in step S30. Next, it is determined whether or not the extension acquired from the request header in step S31 matches the extension set in the Range request non-process definition file. FIG. 5 shows an example of the definition file not to be processed for the Range request, in which an extension indicating a file type not to be processed for the range request is set. If it is determined in step S31 that the extension acquired from the request header matches the extension set in the definition file not subject to the Range request processing, the file type of the requested content is determined to correspond to the range request. The file type is not processed. Therefore, the request is transmitted from the web content conversion and editing system 12 to the application servers 13a to 13c without editing the request header by branching to step S35. In this case, even if the request is a range request, the HTTP request is transmitted to the application servers 13a to 13c as they are.
[0024]
If it is determined in step S31 that the extension acquired from the request header does not match the extension set in the Range request target non-processing definition file, the file type of the requested content is This is the file type for which range request handling processing is performed. Then, the process proceeds to step S32, and it is determined whether or not the HTTP request is a range request in which a range (Range) is specified in the request header. Here, if the HTTP request is determined to be a range request, the process branches to step S34, where the range (Range) portion is deleted from the request header, and the edited HTTP request is transmitted to the application servers 13a to 13c.
[0025]
As a result, HTTP responses of all contents are transmitted from the application servers 13a to 13c, which are content providers, and the web content conversion / editing system 12 receives all contents as HTTP responses. Then, the web content conversion / editing system 12 sends to the mobile station 10 the partial content in the range specified in the range request of the received entire content. If it is determined in step S32 that the range (Range) is not specified in the request header and the request is not a range request, the flow advances to step S33 to directly send the request header to the application servers 13a to 13c without editing the request header. To send an HTTP request.
[0026]
As described above, a file type that does not delete the range (Range) portion from the request header of the range request is set in the non-range request target definition file, and when a range request of the corresponding file type is received, the range request header is deleted. The data is sent to the application servers 13a to 13c without deleting the range. As a result, a decrease in communication efficiency can be prevented. The file types that are not subjected to the Range request corresponding processing set in the Range request non-processing definition file include the contents on the mobile station 10 side and the contents providing side of the application servers 13a to 13c as shown in FIG. The file type is a jpeg or png file type in which the physical entity such as the size of the file is unlikely to be different.
[0027]
Next, one of the web content conversion / editing processes executed by the web content conversion / editing system 12 is a compression process of the HTTP entity body.
The compression processing of the HTTP entity body is performed to reduce the amount of data transferred between the mobile station 10 and the application servers 13a to 13c that provide the contents, and to effectively use the resources of the wireless communication path 11. The web content conversion / editing system 12 compresses an entity body (content) in response to a request from the mobile station 10 in the HTTP response received from the application server 13a to 13c, and transmits the compressed entity body to the mobile station 10. When the compressed entity body is sent from the application servers 13a to 13c, the compression type may not be accepted in the mobile station 10. Therefore, the entity body compressed in the web content conversion and editing system 12 is decompressed. , The processing efficiency is reduced. To prevent this, the web content conversion / editing system 12 receives an uncompressed entity body from the application server 13a to 13c as an HTTP response. Then, in the web content conversion and editing system 12, the content is converted and edited, and then the compression process is performed.
[0028]
By the way, the mobile station 10 specifies an acceptable compression type by using an Accept-Encoding header in an HTTP request. In this accept encoding header, when the value of the specified compression type is a NULL value (or “identify”), the mobile station 10 does not permit content compression. Further, when any of the compression types is specified, and when the accept encoding header is not specified, the content compression is permitted in the mobile station 10. The conversion and editing system 12 compresses an entity body of a compression type that is accepted by the mobile station 10.
[0029]
In this case, to notify that the content provider does not compress and transmit the content, the web content conversion / editing system 12 accepts the HTTP request from the mobile station 10 by setting a NULL value (or “identify”). -Add an encoding header and send it to the application servers 13a to 13c, which are the content providers. As a result, HTTP responses from the application servers 13a to 13c are not compressed. If the value of the specified compression type is a NULL value (or “identify”) in the accept encoding header of the HTTP request from the mobile station 10, the content compression is not permitted as described above. Therefore, the web content conversion / editing system 12 does not perform content compression. As a compression type performed by the web content conversion / editing system 12, a DEFLATE format or a GZIP format is generally used.
[0030]
Here, FIG. 6 shows a flowchart of HTTP entity body compression processing 1 executed by the web content conversion / editing system 12. In the HTTP entity body compression process 1, the header of the HTTP request from the mobile station 10 is edited.
When the HTTP entity body compression process 1 starts, in step S40, Accept-Encoding specifying the compression type in the request header of the HTTP request from the mobile station 10 is acquired. Next, it is determined whether or not the compression type is specified in the acquired Accept-Encoding. Here, when it is determined that the compression type is not specified in the Accept-Encoding, it means that the content compression is permitted in the mobile station 10, and the process branches to step S44. In step S44, a NULL value (or “identify”) is set in Accept-Encoding in the request header, and the result is transmitted to the application servers 13a to 13c on the content providing side. As a result, HTTP responses from the application servers 13a to 13c are not compressed.
[0031]
If it is determined in Step S41 that the compression type has been specified by Accept-Encoding, the process proceeds to Step S42, and a NULL value (or “identify”) is set in Accept-Encoding in the request header. Is determined. Here, if it is determined that a NULL value (or “identify”) is set in Accept-Encoding, it means that content compression is not permitted in the mobile station 10, and the process branches to step S45. In step S45, the request header Accept-Encoding is transmitted to the application server 13a to 13c, which is the content providing side, without editing. As a result, HTTP responses from the application servers 13a to 13c are not compressed.
[0032]
If it is determined in step S42 that a compression type that is not a NULL value (or “identify”) is set in Accept-Encoding, content compression of the compression type set in the mobile station 10 is permitted. And proceeds to step S43. In step S43, a NULL value (or “identify”) is set in Accept-Encoding in the request header, and the result is transmitted to the application servers 13a to 13c on the content providing side. As a result, HTTP responses from the application servers 13a to 13c are not compressed. In this way, the HTTP response from the application server 13a to 13c, which is the content provider, is uncompressed and is received by the web content conversion / editing system 12. Then, the web content conversion / editing system 12 transmits to the mobile station an HTTP response obtained by compressing the entity body with a compression type corresponding to the specification of Accept-Encoding in the request header of the HTTP request from the mobile station 10.
[0033]
By the way, whether to compress or not may be compressed when the content type and the byte length of the entity body exceed the content type and the size length set in the page size check definition file. In this case, the page size check definition file that defines the content type and size length to be compressed can be changed. Furthermore, the web content conversion / editing system 12 adds a content-encoding (Content-Encoding) header to the HTTP response obtained by compressing the entity body, and specifies the compression type to transmit to the mobile station 10. ing. The value set for the content encoding is, for example, “DEFLATE” or “GZIP”. Since the image file is usually compressed, it is excluded from the content types to be compressed.
[0034]
Here, a flowchart of the HTTP entity body compression processing 2 executed by the web content conversion / editing system 12 is shown in FIG. In this HTTP entity body compression processing 2, compression processing of the entity body of the obtained HTTP response is performed.
When the HTTP entity body compression process 2 starts, in step S50, the content type (Content-Type) is acquired from the response header of the HTTP response from the application server 13a to 13c on the content providing side. Next, in step S51, the content type acquired from the response header is compared with the content type set in the page size check definition file to determine whether or not the content types match. If it is determined that they match, the process branches to step S53, and the content size (Content-Length) such as “1236” is obtained from the response header.
[0035]
Next, it is determined whether or not the size is equal to or larger than the size of the content type set in the page size check definition file. Here, when it is determined that the size of the content type set in the page size check definition file is smaller than that of the content type, it is determined that the size of the content in the HTTP response conforms to the specification of the mobile station 10. Proceeding to step S55, the entity body of the obtained HTTP response is transmitted to the mobile station 10 without being compressed. If it is determined that the size of the content type set in the page size check definition file is equal to or larger than the size of the content type, the process proceeds to step S56 because the content size of the HTTP response is too large than the specification of the mobile station 10. Of the entity body is performed. In this case, the entity body of the HTTP response is compressed in, for example, the DEFLATE format or the GZIP format, the value of the compression type is set to content encoding (Content-Encoding), and transmitted to the mobile station 10. As a result, even when the content size in the HTTP response exceeds the specification of the mobile station 10, the mobile station 10 can acquire the content by clearing the content size condition by compressing.
[0036]
If the request is a range request and the content compression is specified, the web content conversion / editing system 12 edits the request header of the HTTP request requesting all the uncompressed content, and edits the request header at the content provider. The data is transmitted to certain application servers 13a to 13c. Thereby, the HTTP responses from the application servers 13a to 13c are all uncompressed contents. Therefore, the web content conversion / editing system 12 performs a compression process of the specified compression type on the content in the specified range and transmits the content to the mobile station 10.
[0037]
【The invention's effect】
As described above, according to the present invention, when the acquired content type or size is out of the setting, information indicating the fact is transmitted to the mobile station instead of the content. As a result, it is possible to not acquire the content that cannot be acquired due to the restrictions of the mobile station and to inform the user of the content. In this case, since the content that cannot be obtained is not sent to the mobile station, it is possible to prevent a limited use of the radio resources.
Further, when a part of the content is requested from the mobile station, all the contents are acquired from the content provider, and the specified part of the content is sent to the mobile station. As a result, the mobile station can acquire some contents without causing data inconsistency.
[0038]
Further, when a compressed content is requested from a mobile station, an uncompressed content is obtained from a content provider, and is compressed and transmitted to a designated compression type. As a result, it is possible to eliminate the necessity of performing a further compression process after decompressing the content obtained from the content provider, and prevent a reduction in processing efficiency. Further, it is possible to absorb restrictions on the specifications of the mobile station as much as possible, thereby improving usability of the mobile station in web communication.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a schematic configuration of a network including a web content conversion / editing system according to an embodiment of the present invention.
FIG. 2 is a flowchart of a page size check process executed by the web content conversion / editing system according to the embodiment of the present invention.
FIG. 3 is a page size check definition file set in the web content conversion / editing system according to the embodiment of the present invention.
FIG. 4 is a flowchart of a Range request corresponding process executed by the web content conversion / editing system according to the embodiment of the present invention.
FIG. 5 is a non-Range request-compatible definition file set in the web content conversion / editing system according to the embodiment of the present invention.
FIG. 6 is a flowchart of HTTP entity body compression processing 1 executed by the web content conversion / editing system according to the embodiment of the present invention.
FIG. 7 is a flowchart of HTTP entity body compression processing 2 executed by the web content conversion / editing system according to the embodiment of the present invention.
[Explanation of symbols]
Reference Signs List 10 mobile station, 11 wireless communication channel, 12 web content conversion / editing system, 13a application server

Claims (6)

移動局とコンテンツ提供元との間で送受信されるメッセージの変換編集を行うウェブコンテンツ変換編集システムであって、
前記移動局からのコンテンツを要求する要求メッセージを処理して前記コンテンツ提供元に送信する第1制御手段と、
前記要求メッセージに対応して前記コンテンツ提供元から取得した応答メッセージを処理して前記移動局へ送信する第2制御手段とを備え、
前記第2制御手段は、前記移動局が受け入れることができるコンテンツタイプと、該コンテンツタイプ毎のサイズを設定した定義ファイルにおいて設定されているコンテンツタイプおよびサイズと、前記要求メッセージに対応して前記コンテンツ提供元から取得したコンテンツのコンテンツタイプおよびサイズとを対比して、取得した当該コンテンツのコンテンツタイプが前記定義ファイルに設定されていないか、または、サイズが前記定義ファイルに設定されているサイズ以上とされている場合は、当該コンテンツに替えてその旨を示す情報を前記移動局へ送るようにしたことを特徴とするウェブコンテンツ変換編集システム。
A web content conversion and editing system for converting and editing a message transmitted and received between a mobile station and a content provider,
First control means for processing a request message for requesting content from the mobile station and transmitting the request message to the content provider;
Second control means for processing a response message obtained from the content provider in response to the request message and transmitting the response message to the mobile station,
The second control means includes a content type that can be accepted by the mobile station, a content type and a size set in a definition file in which a size for each content type is set, and the content corresponding to the request message. Compare the content type and size of the content obtained from the provider, and the content type of the obtained content is not set in the definition file, or the size is equal to or larger than the size set in the definition file If so, the content is sent to the mobile station, instead of the content, to the mobile station.
移動局とコンテンツ提供元との間で送受信されるメッセージの変換編集を行うウェブコンテンツ変換編集システムであって、
前記移動局からのコンテンツを要求する要求メッセージを処理して前記コンテンツ提供元に送信する第1制御手段と、
前記要求メッセージに対応して前記コンテンツ提供元から取得した応答メッセージを処理して前記移動局へ送信する第2制御手段とを備え、
前記第1制御手段が、前記移動局からコンテンツの一部を指定して取得する要求メッセージを受け取った際には、前記第1制御手段は、前記要求メッセージを前記コンテンツ提供元から前記コンテンツの全てを取得する要求メッセージに編集して前記コンテンツ提供元に送るようにしたことを特徴とするウェブコンテンツ変換編集システム。
A web content conversion and editing system for converting and editing a message transmitted and received between a mobile station and a content provider,
First control means for processing a request message for requesting content from the mobile station and transmitting the request message to the content provider;
Second control means for processing a response message obtained from the content provider in response to the request message and transmitting the response message to the mobile station,
When the first control means receives a request message for specifying and acquiring a part of content from the mobile station, the first control means transmits the request message from the content provider to all of the content. The web content conversion and editing system is characterized in that it is edited into a request message for acquiring the content and sent to the content provider.
前記第2制御手段は、前記編集した要求メッセージに応じて前記コンテンツ提供元から取得した応答メッセージにおけるコンテンツの内の、前記移動局からの要求メッセージにおいて指定されている一部のコンテンツを前記移動局へ送るようにしたことを特徴とする請求項2記載のウェブコンテンツ変換編集システム。The second control unit is configured to, based on the edited request message, a part of the contents in the response message obtained from the content provider specified in the request message from the mobile station, to the mobile station. 3. The web content conversion / editing system according to claim 2, wherein the web content conversion / editing system is sent to a web site. 移動局とコンテンツ提供元との間で送受信されるメッセージの変換編集を行うウェブコンテンツ変換編集システムであって、
前記移動局からのコンテンツを要求する要求メッセージを処理して前記コンテンツ提供元に送信する第1制御手段と、
前記要求メッセージに対応して前記コンテンツ提供元から取得した応答メッセージを処理して前記移動局へ送信する第2制御手段とを備え、
前記第1制御手段は、前記移動局から圧縮されたコンテンツを要求する要求メッセージを受け取った際に、前記コンテンツ提供元から非圧縮とされているコンテンツを取得する要求メッセージに編集して前記コンテンツ提供元に送信するようにしたことを特徴とするウェブコンテンツ変換編集システム。
A web content conversion and editing system for converting and editing a message transmitted and received between a mobile station and a content provider,
First control means for processing a request message for requesting content from the mobile station and transmitting the request message to the content provider;
Second control means for processing a response message obtained from the content provider in response to the request message and transmitting the response message to the mobile station,
When the first control means receives a request message for requesting compressed content from the mobile station, the first control means edits the request message to acquire uncompressed content from the content provider and provides the content. A web content conversion and editing system characterized by being transmitted to the original.
前記第2制御手段は、前記編集した要求メッセージに応じて前記コンテンツ提供元から取得した非圧縮とされているコンテンツを、前記移動局から前記要求メッセージにより指定された圧縮タイプになるよう圧縮処理して前記移動局へ送信するようにしたことを特徴とする請求項4記載のウェブコンテンツ変換編集システム。The second control means performs a compression process on the uncompressed content obtained from the content provider in response to the edited request message so that the content becomes a compression type specified by the request message from the mobile station. The web content conversion and editing system according to claim 4, wherein the content is transmitted to the mobile station. 前記移動局からのコンテンツを取得する要求メッセージに、受け入れられる圧縮タイプ情報が指定されていた場合は、前記第2制御手段は、前記移動局が受け入れることができるコンテンツサイズが少なくとも設定されている定義ファイルに設定されているコンテンツサイズと、前記編集した要求メッセージに対応して前記コンテンツ提供元から取得した非圧縮のコンテンツのコンテンツサイズとを対比して、取得した当該コンテンツのコンテンツサイズが前記定義ファイルに設定されているコンテンツサイズ以上とされている場合に、前記取得した非圧縮のコンテンツを指定された圧縮タイプになるよう圧縮処理して前記移動局へ送るようにしたことを特徴とする請求項4記載のウェブコンテンツ変換編集システム。In a case where the acceptable compression type information is specified in the request message for acquiring the content from the mobile station, the second control means determines that the content size acceptable by the mobile station is at least set. The content size set in the file is compared with the content size of the uncompressed content obtained from the content provider in response to the edited request message, and the obtained content size of the content is defined in the definition file. Wherein when the content size is set to be equal to or larger than the content size, the obtained uncompressed content is subjected to a compression process so as to be a specified compression type and sent to the mobile station. 4. The web content conversion and editing system according to 4.
JP2002336649A 2002-11-20 2002-11-20 Web content conversion and editing system Pending JP2004171281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002336649A JP2004171281A (en) 2002-11-20 2002-11-20 Web content conversion and editing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002336649A JP2004171281A (en) 2002-11-20 2002-11-20 Web content conversion and editing system

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2008128175A Division JP4750151B2 (en) 2008-05-15 2008-05-15 Web content conversion editing system
JP2008128176A Division JP4739369B2 (en) 2008-05-15 2008-05-15 Web content conversion editing system

Publications (1)

Publication Number Publication Date
JP2004171281A true JP2004171281A (en) 2004-06-17

Family

ID=32700427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002336649A Pending JP2004171281A (en) 2002-11-20 2002-11-20 Web content conversion and editing system

Country Status (1)

Country Link
JP (1) JP2004171281A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008096417A1 (en) * 2007-02-06 2008-08-14 Panasonic Corporation Content list display device and content list display method
JP2011501586A (en) * 2007-10-31 2011-01-06 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Payload compression for session initiation protocol messages

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008096417A1 (en) * 2007-02-06 2008-08-14 Panasonic Corporation Content list display device and content list display method
JP2011501586A (en) * 2007-10-31 2011-01-06 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Payload compression for session initiation protocol messages

Similar Documents

Publication Publication Date Title
KR102147246B1 (en) Method and apparatus to improve performance in communication network
CN101554034B (en) Methods and apparatus for requesting wireless communication device performance data and providing the data in optimal file size
TWI461022B (en) System and method for implementing mbms handover during download delivery
US20060047844A1 (en) One step approach to deliver multimedia from local PC to mobile devices
US6996417B2 (en) Radio terminal, information processing system using radio terminal, and external processing terminal for assisting radio terminal
EP3013015B1 (en) Packet compression method and apparatus
US9356985B2 (en) Streaming video to cellular phones
EP1916797A1 (en) Authentication authorization accounting protocol message transmitting method
WO2011088640A1 (en) Method for mobile terminal to browse multimedia resource and corresponding system and communication system
KR101724516B1 (en) Method, device and system for evaluating user experience value of video quality
US9866356B2 (en) Data distribution method and device
US9483579B2 (en) Method, system and computer program for adding content to a data container
KR101640105B1 (en) Method and apparatus for content delivery in radio access networks
CN101917479A (en) Method and device for improving grouped data service in mobile network
EP3292678B1 (en) System, terminal, server, and method for data transmission
CN101364991A (en) System realizing WAP website fast browsing and method thereof
CN100421374C (en) Method for interacting office documents based on mobile communication network
WO2005027466A1 (en) System and method for proxy-based redirection of resource requests
JP4739369B2 (en) Web content conversion editing system
JP2004171281A (en) Web content conversion and editing system
JP4750151B2 (en) Web content conversion editing system
WO2013189335A2 (en) Multimedia message forwarding method and device
US8977763B1 (en) Systems and methods for distributing streams and stream metadata
CN107580339B (en) Information transmission method, device and wireless communication system
CN107509218A (en) A kind of information transferring method, device and wireless communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080318

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080610

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081021