JP2015146565A - Server for causing terminal device to display display screen, and method - Google Patents

Server for causing terminal device to display display screen, and method Download PDF

Info

Publication number
JP2015146565A
JP2015146565A JP2014221295A JP2014221295A JP2015146565A JP 2015146565 A JP2015146565 A JP 2015146565A JP 2014221295 A JP2014221295 A JP 2014221295A JP 2014221295 A JP2014221295 A JP 2014221295A JP 2015146565 A JP2015146565 A JP 2015146565A
Authority
JP
Japan
Prior art keywords
image file
terminal device
server
display screen
terminal
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
JP2014221295A
Other languages
Japanese (ja)
Inventor
壮太 水島
Sota Mizushima
壮太 水島
陽介 畑中
Yosuke Hatanaka
陽介 畑中
佐藤 学
Manabu Sato
学 佐藤
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.)
DeNA Co Ltd
Original Assignee
DeNA Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DeNA Co Ltd filed Critical DeNA Co Ltd
Priority to JP2014221295A priority Critical patent/JP2015146565A/en
Publication of JP2015146565A publication Critical patent/JP2015146565A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce the time required for displaying a screen including an image in a terminal device.SOLUTION: A server includes: a storage section which stores information; and a display control section which responds to a request for displaying a display screen from a terminal device, and causes the terminal device to display, on the terminal device, a display screen including an image corresponding to one of an image file stored in a storage of the server and an image file stored in a storage of a terminal device selected according to a predetermined selection condition based on at least processing capacity of the terminal device and communication performance with the terminal device.

Description

本発明は、端末装置に表示画面を表示させるサーバ及び方法に関し、詳しくは、表示画面に含まれる画像に対応する画像ファイルを記憶する端末用記憶装置を有する端末装置と通信可能に接続され、当該端末装置に当該表示画面を表示させるサーバ及び方法に関する。   The present invention relates to a server and a method for displaying a display screen on a terminal device, and in particular, is connected to be able to communicate with a terminal device having a storage device for a terminal that stores an image file corresponding to an image included in the display screen. The present invention relates to a server and a method for displaying a display screen on a terminal device.

近年、スマートフォン等の端末装置において実行されるアプリケーション又はウェブブラウザを介してゲーム等の様々なデジタルコンテンツが提供されており、こうしたデジタルコンテンツの提供においては、様々な画像を含む画面が端末装置において表示される。こうした画面に含まれる画像が、例えば高解像度の画像である場合には、対応する画像ファイルのデータサイズが大きくなり、画像ファイルの転送等に時間を要する場合がある。画像ファイルの転送等に時間を要すると、画面の表示に要する時間が長くなってしまう。   In recent years, various digital contents such as games have been provided via applications executed on terminal devices such as smartphones or web browsers. In providing such digital contents, screens containing various images are displayed on the terminal devices. Is done. When the image included in such a screen is, for example, a high-resolution image, the data size of the corresponding image file increases, and it may take time to transfer the image file. If it takes time to transfer an image file, the time required to display the screen becomes longer.

一方、例えば、特開2013−115824号公報には、端末装置とサーバとの間で送受信されるパケットのラウンドトリップ時間に基づいて、端末装置が接続するネットワークの種類を判別する方法が提案されている。こうした方法を画像を含む画面の表示に適用し、端末装置が接続するネットワークの種類に応じた画像ファイルの転送等とすることによって、画像ファイルの転送等に要する時間を短縮することも考えられる。   On the other hand, for example, Japanese Unexamined Patent Application Publication No. 2013-115824 proposes a method of determining the type of network to which a terminal device is connected based on the round trip time of packets transmitted and received between the terminal device and a server. Yes. By applying such a method to the display of a screen including an image and transferring the image file according to the type of network to which the terminal device is connected, the time required for transferring the image file can be shortened.

特開2013−115824号公報JP 2013-115824 A

しかしながら、上述した方法では、ネットワークの種類の判別結果を画面の表示に適用する具体的な方法は提案されていない。また、画像を含む画面を表示する際には、画像ファイルの転送以外にも様々な処理が行われるから、ネットワークの種類のみを考慮した方法では、画面の表示に要する時間全体を十分に短縮できるとは限らない。従って、画像を含む画面の表示に影響を与え得る様々な情報を考慮して、画面の表示に要する時間全体を短縮する具体的な仕組みの提供が望まれる。   However, in the above-described method, a specific method for applying the network type determination result to screen display has not been proposed. In addition, when displaying a screen including an image, various processes are performed in addition to the transfer of the image file. Therefore, the method considering only the type of network can sufficiently shorten the entire time required for displaying the screen. Not necessarily. Therefore, it is desired to provide a specific mechanism that shortens the entire time required to display the screen in consideration of various information that can affect the display of the screen including the image.

本発明の実施形態は、端末装置における画像を含む画面の表示に要する時間を短縮することを目的の一つとする。本発明の他の目的は、本明細書全体を参照することにより明らかとなる。   An object of the embodiment of the present invention is to reduce the time required to display a screen including an image in a terminal device. Other objects of the present invention will become apparent by referring to the entire specification.

本発明の一実施形態に係るサーバは、表示画面に含まれる画像に対応する画像ファイルを記憶する端末用記憶装置を有する端末装置と通信可能に接続され、当該端末装置に当該表示画面を表示させるサーバであって、前記表示画面に含まれる画像に対応する画像ファイルを記憶するサーバ用記憶装置と、所定の命令を実行する一又は複数の物理的なプロセッサと、を備え、前記一又は複数の物理的なプロセッサは、前記所定の命令を実行することによって、前記端末装置からの前記表示画面の表示要求に応答し、当該端末装置の処理能力及び当該端末装置との間の通信能力に少なくとも基づく所定の選択条件に従って選択される前記端末用記憶装置に記憶されている前記画像ファイル及び前記サーバ用記憶装置に記憶されている前記画像ファイルの何れか一方を用いて、当該画像ファイルに対応する画像を含む当該表示画面を当該端末装置に表示させる表示制御機能を実現する。   A server according to an embodiment of the present invention is communicably connected to a terminal device having a storage device for a terminal that stores an image file corresponding to an image included in the display screen, and causes the terminal device to display the display screen. A server storage device for storing an image file corresponding to an image included in the display screen, and one or a plurality of physical processors for executing a predetermined command, The physical processor responds to the display screen display request from the terminal device by executing the predetermined instruction, and is based at least on the processing capability of the terminal device and the communication capability with the terminal device The image file stored in the terminal storage device selected according to a predetermined selection condition and the image file stored in the server storage device. Using one of Le, the display screen including an image corresponding to the image file to realize a display control function to be displayed on the terminal device.

本発明の一実施形態に係る方法は、表示画面に含まれる画像に対応する画像ファイルを記憶する端末用記憶装置を有する端末装置と通信可能に接続され、前記表示画面に含まれる画像に対応する画像ファイルを記憶するサーバ用記憶装置を備えるサーバが、当該端末装置に当該表示画面を表示させる方法であって、前記端末装置からの前記表示画面の表示要求に応答し、当該端末装置の処理能力及び当該端末装置との間の通信能力に少なくとも基づく所定の選択条件に従って選択される前記端末用記憶装置に記憶されている前記画像ファイル及び前記サーバ用記憶装置に記憶されている前記画像ファイルの何れか一方を用いて、当該画像ファイルに対応する画像を含む当該表示画面を当該端末装置に表示させる。   A method according to an embodiment of the present invention is communicably connected to a terminal device having a storage device for a terminal that stores an image file corresponding to an image included in a display screen, and corresponds to the image included in the display screen. A server comprising a server storage device for storing an image file is a method for displaying the display screen on the terminal device, and responds to a display screen display request from the terminal device, and the processing capability of the terminal device And any of the image file stored in the terminal storage device and the image file stored in the server storage device selected according to a predetermined selection condition based at least on the communication capability with the terminal device Using either of these, the display device including the image corresponding to the image file is displayed on the terminal device.

本発明の様々な実施形態によって、端末装置における画像を含む画面の表示に要する時間を短縮することができる。   Various embodiments of the present invention can reduce the time required to display a screen including an image on a terminal device.

本発明の一実施形態に係るサーバ10を含むシステム1のネットワーク構成を概略的に示すブロック図。1 is a block diagram schematically showing a network configuration of a system 1 including a server 10 according to an embodiment of the present invention. 一実施形態におけるサーバ10の機能を概略的に示すブロック図。The block diagram which shows the function of the server 10 in one Embodiment roughly. 一実施形態における端末能力管理テーブルによって管理される情報の一例を示す図。The figure which shows an example of the information managed by the terminal capability management table in one Embodiment. 一実施形態における表示制御処理の一例を示すフロー図。The flowchart which shows an example of the display control process in one Embodiment. 一実施形態における画像ファイルの取得先の選択条件の一例を示す図。The figure which shows an example of the selection conditions of the acquisition destination of the image file in one Embodiment.

図1は、本発明の一実施形態に係るサーバ10を含むシステム1のネットワーク構成を概略的に示すブロック図である。図1に示すように、一実施形態におけるサーバ10は、一般的なコンピュータとして構成される複数の端末装置30とインターネット等の通信網20を介して通信可能に接続されており、端末装置30に様々なインタネットサービスを提供し、このインターネットサービスで用いる様々な表示画面を端末装置30に表示させる。ここで、サーバ10が提供するインターネットサービスとしては、例えば、ゲーム等のデジタルコンテンツを提供するサービス、及び、それぞれ端末装置30を操作する複数のユーザ間の様々なコミュニケーション(チャット(ミニメール)、サークル、アバター、日記、伝言板、挨拶、通話等)を実現するプラットフォームサービス(SNSサービス)等を例示することができるが、これらに限定されない。   FIG. 1 is a block diagram schematically showing a network configuration of a system 1 including a server 10 according to an embodiment of the present invention. As shown in FIG. 1, the server 10 in one embodiment is connected to a plurality of terminal devices 30 configured as general computers via a communication network 20 such as the Internet so as to be able to communicate with the terminal devices 30. Various Internet services are provided, and various display screens used in the Internet service are displayed on the terminal device 30. Here, as an Internet service provided by the server 10, for example, a service that provides digital content such as a game, and various communications (chat (mini mail), circle) between a plurality of users who operate the terminal device 30 respectively. , Avatar, diary, message board, greeting, phone call, etc.) (but not limited to).

サーバ10は、図示のとおり、CPU(物理的なコンピュータプロセッサ)11と、メインメモリ12と、ユーザI/F13と、通信I/F14と、ストレージ15と、ディスクドライブ16とを含み、これらの各構成要素がバス17を介して互いに電気的に接続されている。CPU11は、ストレージ15から様々なプログラムをメインメモリ12にロードし、ロードしたプログラムに含まれる命令を実行する。メインメモリ12は、CPU11が実行するプログラムを格納するために用いられ、例えば、DRAMによって構成される。   As illustrated, the server 10 includes a CPU (physical computer processor) 11, a main memory 12, a user I / F 13, a communication I / F 14, a storage 15, and a disk drive 16. The components are electrically connected to each other via a bus 17. The CPU 11 loads various programs from the storage 15 into the main memory 12 and executes instructions included in the loaded programs. The main memory 12 is used for storing a program executed by the CPU 11, and is constituted by, for example, a DRAM.

ユーザI/F13は、例えば、オペレータの入力を受け付けるキーボードやマウス等の情報入力装置と、CPU11の演算結果を出力する液晶ディスプレイ等の情報出力装置とを含む。通信I/F14は、ハードウェア、ファームウェア、又はTCP/IPドライバやPPPドライバ等の通信用ソフトウェア又はこれらの組み合わせとして実装され、通信網20を介して端末装置30と通信可能に構成される。   The user I / F 13 includes, for example, an information input device such as a keyboard and a mouse that accepts an operator input, and an information output device such as a liquid crystal display that outputs a calculation result of the CPU 11. The communication I / F 14 is implemented as hardware, firmware, communication software such as a TCP / IP driver or a PPP driver, or a combination thereof, and is configured to be able to communicate with the terminal device 30 via the communication network 20.

ストレージ15は、例えば磁気ディスクドライブで構成され、サーバ10によって提供される各種サービスの進行を制御するための制御用プログラム等の様々なプログラムが記憶される。また、ストレージ15には、各種サービスにおいて用いられる各種データも記憶され得る。ストレージ15に記憶され得る各種データは、サーバ10と通信可能に接続されるサーバ10とは物理的に別体のデータベースサーバ等に格納されてもよい。ディスクドライブ16は、CD−ROM、DVD−ROM、DVD−R等の各種の記憶メディアに格納されたデータを読み込み、又は、これらの記憶メディアにデータを書き込む。   The storage 15 is composed of, for example, a magnetic disk drive, and stores various programs such as a control program for controlling the progress of various services provided by the server 10. The storage 15 can also store various data used in various services. Various data that can be stored in the storage 15 may be stored in a database server or the like that is physically separate from the server 10 that is communicably connected to the server 10. The disk drive 16 reads data stored in various storage media such as CD-ROM, DVD-ROM, and DVD-R, or writes data to these storage media.

一実施形態において、サーバ10は、階層構造の複数のウェブページから成るウェブサイトを管理するウェブサーバとしても機能し、端末装置30に対してこのウェブサイトを介して各種サービスを提供することができる。端末装置30は、ウェブページを表示するためのHTMLデータをサーバ10から取得し、取得したHTMLデータを解析して、当該ウェブページを端末装置30のユーザに提示することができる。例えば、このようなウェブページを介して提供されるゲームは、ブラウザゲームと称されることがある。ストレージ15には、このウェブページを表示するためのHTMLデータも記憶される。HTMLデータは、HTML等のマークアップ言語で記述されたHTML文書から成り、このHTML文書には、様々な画像が関連付けられている。また、HTML文書には、各種スクリプト言語等で記述されたプログラムが埋め込まれ得る。   In one embodiment, the server 10 also functions as a web server that manages a website composed of a plurality of hierarchical web pages, and can provide various services to the terminal device 30 via the website. . The terminal device 30 can acquire HTML data for displaying a web page from the server 10, analyze the acquired HTML data, and present the web page to the user of the terminal device 30. For example, a game provided through such a web page may be referred to as a browser game. The storage 15 also stores HTML data for displaying this web page. The HTML data is composed of an HTML document described in a markup language such as HTML, and various images are associated with the HTML document. Also, programs written in various script languages can be embedded in the HTML document.

ストレージ15には、端末装置30においてブラウザソフトウェア以外の実行環境上で実行されるアプリケーションプログラム(以下、「アプリケーション」と言うことがある。)も格納され得る。このアプリケーションには、各種処理を実行するためのプログラムや当該プログラム実行時に参照される画像ファイル等の各種データを含めることができる。プログラムは、例えば、Objective−C、Java(登録商標)等のオブジェクト指向プログラミング言語で作成される。ストレージ15に記憶されたアプリケーションは、配信要求に応じて端末装置30に配信され得る。サーバ10から配信されたアプリケーションは、端末装置30において、CPU31の制御に従って通信I/F34を介して受信され、受信されたアプリケーションがストレージ35に送信され記憶される。このアプリケーションは、ユーザによる端末装置30の操作に応じて起動され、端末装置30に実装されたNgCore(商標)やAndroid(商標)等の実行環境上で実行される。サーバ10は、端末装置30で実行されているアプリケーションに対して必要な各種データを提供し得る。また、サーバ10は、端末装置30から送信される各種データをユーザ毎に記憶することで、ユーザ毎にゲームの進行等の各種サービスの状況を管理することができる。   The storage 15 can also store an application program (hereinafter also referred to as “application”) that is executed on the terminal device 30 in an execution environment other than browser software. This application can include various data such as a program for executing various processes and an image file referred to when the program is executed. The program is created in an object-oriented programming language such as Objective-C or Java (registered trademark). The application stored in the storage 15 can be distributed to the terminal device 30 in response to the distribution request. The application distributed from the server 10 is received by the terminal device 30 via the communication I / F 34 under the control of the CPU 31, and the received application is transmitted and stored in the storage 35. This application is activated in response to an operation of the terminal device 30 by the user, and is executed on an execution environment such as NgCore (trademark) and Android (trademark) installed in the terminal device 30. The server 10 can provide various data necessary for an application executed on the terminal device 30. Further, the server 10 stores various data transmitted from the terminal device 30 for each user, so that the status of various services such as game progress can be managed for each user.

このように、サーバ10は、各種サービスを提供するウェブサイトを管理し、当該ウェブサイトを構成するウェブページを端末装置30からの要求に応じて配信することにより、各種サービスを提供することができる。また、サーバ10は、このようなブラウザベースのサービスとは代替的に、又は、ブラウザベースのサービスに加えて、端末装置30で実行されるアプリケーションとの通信に基づいて各種サービスを提供することができる。詳細な説明は省略するが、サーバ10は、各種サービスの提供開始時におけるユーザの認証処理や各種サービスの提供に応じて発生する課金処理を行う機能等を有することもできる。   In this way, the server 10 can provide various services by managing websites that provide various services, and delivering web pages constituting the websites in response to requests from the terminal device 30. . Further, the server 10 can provide various services based on communication with an application executed on the terminal device 30 in place of the browser-based service or in addition to the browser-based service. it can. Although detailed explanation is omitted, the server 10 can also have a function of performing user authentication processing at the start of provision of various services, billing processing that occurs in response to provision of various services, and the like.

端末装置30は、一実施形態において、サーバ10から取得したウェブサイトのウェブページをウェブブラウザ上で表示すると共にアプリケーションを実行するためのアプリケーション実行環境を実装した任意の情報処理装置であり、パーソナルコンピュータ、スマートフォン、タブレット端末、及びゲーム専用端末等が含まれ得る。   In one embodiment, the terminal device 30 is an arbitrary information processing device in which an application execution environment for displaying the web page of the website acquired from the server 10 is displayed on the web browser and executing the application. Smartphones, tablet terminals, game-dedicated terminals, and the like may be included.

端末装置30は、図示のとおり、CPU(物理的なコンピュータプロセッサ)31と、メインメモリ32と、ユーザI/F33と、通信I/F34と、ストレージ35と、を含み、これらの各構成要素がバス36を介して互いに電気的に接続されている。   As illustrated, the terminal device 30 includes a CPU (physical computer processor) 31, a main memory 32, a user I / F 33, a communication I / F 34, and a storage 35. They are electrically connected to each other via a bus 36.

CPU31は、ストレージ35から様々なプログラムをメインメモリ32にロードし、ロードしたプログラムに含まれる命令を実行する。メインメモリ32は、CPU31が実行するプログラムを格納するために用いられ、例えば、DRAMによって構成される。   The CPU 31 loads various programs from the storage 35 into the main memory 32 and executes instructions included in the loaded programs. The main memory 32 is used for storing a program executed by the CPU 31, and is constituted by, for example, a DRAM.

ユーザI/F33は、ユーザの入力を受け付ける情報入力装置と、CPU31の演算結果を出力する情報出力装置であり、タッチパネルを備える液晶ディスプレイなどの表示装置を含む。   The user I / F 33 is an information input device that accepts user input and an information output device that outputs the calculation result of the CPU 31, and includes a display device such as a liquid crystal display including a touch panel.

通信I/F34は、ハードウェア、ファームウェア、又は、TCP/IPドライバやPPPドライバ等の通信用ソフトウェア又はこれらの組み合わせとして実装され、通信網20を介してサーバ10と通信可能に構成される。   The communication I / F 34 is implemented as hardware, firmware, communication software such as a TCP / IP driver or a PPP driver, or a combination thereof, and is configured to be able to communicate with the server 10 via the communication network 20.

ストレージ35は、例えば磁気ディスクドライブやフラッシュメモリ等により構成され、オペレーティングシステム及びアプリケーションプログラム等の様々なプログラム、並びにこれらのプログラムによって扱われる様々なデータ(例えば、アプリケーションプログラムに含まれる画像ファイル等)を記憶し得る。ここで、ストレージ35は、内蔵ストレージ及び取り外し可能なリムーバブルストレージの両方が含まれ得る。リムーバブルストレージとしては、例えば、フラッシュメモリが内蔵されたSDメモリカード等が含まれ得る。   The storage 35 includes, for example, a magnetic disk drive, a flash memory, and the like, and stores various programs such as an operating system and application programs, and various data handled by these programs (for example, image files included in the application programs). You can remember. Here, the storage 35 may include both a built-in storage and a removable removable storage. The removable storage may include, for example, an SD memory card with a built-in flash memory.

このようなアーキテクチャを有する端末装置30は、例えば、HTMLデータを解釈して画面表示するためのブラウザソフトウェアを備えており、このブラウザソフトウェアの機能によりサーバ10から取得したHTMLデータを解釈して、受信したHTMLデータに対応するウェブページを表示することができる。また、端末装置30は、ブラウザソフトウェアに組み込まれるプラグインソフトを備えており、HTMLデータに埋め込まれたSWF形式等のファイルをサーバ10又は他のサーバ等から取得し、当該SWF形式のファイルをブラウザソフトウェア及びプラグインソフトを用いて実行することもできる。   The terminal device 30 having such an architecture includes, for example, browser software for interpreting HTML data and displaying the screen, and interprets and receives HTML data acquired from the server 10 by the function of the browser software. A web page corresponding to the HTML data thus displayed can be displayed. Further, the terminal device 30 includes plug-in software incorporated in browser software, acquires a file in SWF format or the like embedded in HTML data from the server 10 or another server, and the SWF format file is acquired from the browser. It can also be executed using software and plug-in software.

端末装置30においてブラウザソフトウェア又はアプリケーションプログラムが実行されると、例えば、プログラムにより指示されたアニメーションや操作用アイコンが端末装置30に表示される。ユーザは、端末装置30のユーザI/F33を用いて各種指示を入力することができる。ユーザから入力された指示は、端末装置30のブラウザやNgCore(商標)等の実行環境の機能を通じてサーバ10に伝達される。   When browser software or an application program is executed in the terminal device 30, for example, an animation or an operation icon instructed by the program is displayed on the terminal device 30. The user can input various instructions using the user I / F 33 of the terminal device 30. The instruction input from the user is transmitted to the server 10 through functions of the execution environment such as the browser of the terminal device 30 and NgCore (trademark).

端末装置30において実行される複数のアプリケーションプログラムの少なくとも一部は、端末装置30に表示する画面領域の少なくとも一部に、HTMLデータを解釈してウェブページに相当する表示画面を表示可能な領域(WebView領域)が設定されている。こうしたWebView領域が設定されているアプリケーションプログラムでは、端末装置30に表示する画面のうち、WebView領域の表示をサーバ10に対して要求し、WebView領域以外の領域の表示を(サーバ10に対して要求することなく)端末装置30(アプリケーションプログラム)によって行う。   At least a part of a plurality of application programs executed in the terminal device 30 is an area in which a display screen corresponding to a web page can be displayed by interpreting HTML data in at least a part of a screen area displayed on the terminal device 30 ( WebView area) is set. In the application program in which the WebView area is set, the server 10 requests the server 10 to display the WebView area among the screens displayed on the terminal device 30, and displays the area other than the WebView area (requests to the server 10. Without) the terminal device 30 (application program).

次に、一実施形態におけるサーバ10が有する機能について説明する。図2は、一実施形態におけるサーバ10が有する機能を概略的に示すブロック図である。一実施形態におけるサーバ10は、図示するように、情報を記憶する記憶部51と、端末装置30からの表示画面の表示要求に応答し、この端末装置30の処理能力及びこの端末装置30との間の通信能力に少なくとも基づく所定の選択条件に従って選択される端末装置30のストレージ35(端末用記憶装置)に記憶されている画像ファイル及びサーバ10のストレージ15(サーバ用記憶装置)に記憶されている画像ファイルの何れか一方を用いて、この画像ファイルに対応する画像を含む表示画面を端末装置30に表示させる表示制御部52と、を有する。これらの機能は、CPU11やメインメモリ12、ストレージ15に記憶されている各種プログラムやテーブルなどが協働して動作することによって実現され、例えば、CPU11がロードしたプログラムに含まれる命令を実行することによって実現される。   Next, functions of the server 10 in the embodiment will be described. FIG. 2 is a block diagram schematically illustrating functions of the server 10 according to an embodiment. As shown in the figure, the server 10 in one embodiment responds to a display screen display request from the storage unit 51 that stores information and the terminal device 30, and the processing capability of the terminal device 30 and the terminal device 30. The image file stored in the storage 35 (terminal storage device) of the terminal device 30 selected according to a predetermined selection condition based on at least the communication capability between them and the storage 15 (server storage device) of the server 10 A display control unit 52 that displays a display screen including an image corresponding to the image file on the terminal device 30 using any one of the existing image files. These functions are realized by the various programs and tables stored in the CPU 11, the main memory 12, and the storage 15 operating in cooperation, for example, executing instructions included in the program loaded by the CPU 11. It is realized by.

一実施形態における記憶部51は、ストレージ15等によって実現され、サーバ10に通信可能に接続された端末装置30の処理能力及び通信能力に関する情報を管理する端末能力管理テーブル51aと、端末装置30に表示させる表示画面に含まれる画像に対応する画像ファイルを管理する画像ファイル管理データベース51bとを有する。図3は、一実施形態の端末能力管理テーブル51aによって管理される情報の一例を示す図である。端末能力管理テーブル51aは、図示するように、端末装置30を識別する「端末ID」に対応付けて、この端末装置30に割り当てられている「IPアドレス」、この端末装置30とサーバ10との間の通信に用いられているネットワークの種別を示す「ネットワーク種別」、この端末装置30のモデルを示す「端末モデル」等の情報を管理する。ここで「ネットワーク種別」には、具体的には、「WiFi」、「3G」、「LTE」等を示す値が設定され、こうしたネットワークの種別は、例えば、端末装置30に割り当てられているIPアドレスから判別することができる。また「端末モデル」には、端末装置30のメーカー、機種及びOS等を特定可能なモデル名等を示す値が設定され、こうしたモデル名等は、例えば、端末装置30のOSの機能によって取得されたモデル名等に関する情報を端末装置30から取得することができる。この端末能力管理テーブル51aによって管理される情報は、例えば、端末装置30がサーバ10に通信可能に接続したタイミングでサーバ10によって登録される。ここで、端末能力管理テーブル51aによって管理される情報を、定期的に又は任意のタイミングで更新するようにしても良い。   The storage unit 51 according to the embodiment is realized by the storage 15 or the like, and includes a terminal capability management table 51 a that manages information regarding processing capability and communication capability of the terminal device 30 that is communicably connected to the server 10, and the terminal device 30. An image file management database 51b for managing image files corresponding to images included in the display screen to be displayed; FIG. 3 is a diagram illustrating an example of information managed by the terminal capability management table 51a according to the embodiment. As shown in the figure, the terminal capability management table 51 a is associated with a “terminal ID” for identifying the terminal device 30, an “IP address” assigned to the terminal device 30, and the terminal device 30 and the server 10. Information such as “network type” indicating the type of network used for communication between the terminals and “terminal model” indicating the model of the terminal device 30 is managed. Here, specifically, values indicating “WiFi”, “3G”, “LTE”, and the like are set in the “network type”, and the network type is, for example, an IP assigned to the terminal device 30. It can be determined from the address. In the “terminal model”, a value indicating a model name or the like that can specify the manufacturer, model, and OS of the terminal device 30 is set. The model name and the like are acquired by, for example, the function of the OS of the terminal device 30. Information on the model name and the like obtained from the terminal device 30 can be acquired. Information managed by the terminal capability management table 51a is registered by the server 10 at the timing when the terminal device 30 is connected to the server 10 so as to be communicable. Here, the information managed by the terminal capability management table 51a may be updated periodically or at an arbitrary timing.

一実施形態における画像ファイル管理データベース51bは、端末装置30に表示させる表示画面に含まれる画像に対応する画像ファイル自体が格納されると共に、この画像ファイルに関する情報(データサイズ等)が管理されている。ここで、画像ファイル管理データベース51bは、サーバ10と通信可能なストレージ15とは別の装置に構成することもできる。   In the image file management database 51b according to the embodiment, the image file itself corresponding to the image included in the display screen displayed on the terminal device 30 is stored, and information (data size and the like) related to the image file is managed. . Here, the image file management database 51b can also be configured in a device different from the storage 15 that can communicate with the server 10.

次に、こうして構成された一実施形態におけるサーバ10の動作について説明する。図4は、一実施形態におけるサーバ10によって実行される表示制御処理の一例を示すフロー図である。この表示制御処理は、端末装置30から表示画面の表示要求を受信したときにサーバ10の表示制御部52によって実行される。例えば、端末装置30にインストールされているアプリケーションプログラムが実行され、このアプリケーションプログラムの実行に応じて端末装置30にログイン画面等の初期画面を表示する際に、この初期画面の画面領域の一部として設定されているWebView領域に表示する表示画面の表示要求が、端末装置30からサーバ10に対して行われる。   Next, the operation of the server 10 in the embodiment configured as described above will be described. FIG. 4 is a flowchart illustrating an example of the display control process executed by the server 10 according to the embodiment. The display control process is executed by the display control unit 52 of the server 10 when a display screen display request is received from the terminal device 30. For example, when an application program installed in the terminal device 30 is executed and an initial screen such as a login screen is displayed on the terminal device 30 in accordance with the execution of the application program, as a part of the screen area of the initial screen A display screen display request to be displayed in the set WebView area is sent from the terminal device 30 to the server 10.

表示制御処理では、まず、図示するように、表示要求のなされた表示画面に含まれる画像に対応する画像ファイルのデータサイズを取得する(ステップS100)。一実施形態では、画像ファイルのデータサイズは、上述したように、画像ファイル管理データベース51bで管理されており、サーバ10は、表示要求のなされた表示画面に含まれる1又は複数の画像にそれぞれ対応する画像ファイルのデータサイズを、画像ファイル管理データベース51bから取得する。   In the display control process, first, as shown in the figure, the data size of the image file corresponding to the image included in the display screen requested to be displayed is acquired (step S100). In the embodiment, as described above, the data size of the image file is managed by the image file management database 51b, and the server 10 corresponds to each of one or a plurality of images included in the display screen requested to be displayed. The data size of the image file to be acquired is acquired from the image file management database 51b.

次に、表示画面の表示要求を行った端末装置30の処理能力、及び、この端末装置30との間の通信能力に関する情報を取得する(ステップS110)。具体的には、一実施形態では、表示画面の表示要求を行った端末装置30の処理能力に関する情報として、端末能力管理テーブル51aで管理されている「端末モデル」の値を取得し、この端末装置30との間の通信能力に関する情報として、同じく端末能力管理テーブル51aで管理されている「ネットワーク種別」の値を取得する。   Next, information regarding the processing capability of the terminal device 30 that has requested display of the display screen and the communication capability with the terminal device 30 is acquired (step S110). Specifically, in one embodiment, the value of “terminal model” managed in the terminal capability management table 51a is acquired as information regarding the processing capability of the terminal device 30 that has requested display of the display screen. The value of “network type” managed in the terminal capability management table 51a is acquired as information related to the communication capability with the device 30.

こうして、表示画面に含まれる画像に対応する画像ファイルのデータサイズ、端末装置30の処理能力に関する情報、及び、端末装置30との間の通信能力に関する情報を取得すると、これらの情報に基づいて、端末装置30が表示画面の表示に用いる画像ファイルの取得先として端末装置30(具体的にはストレージ35等)又はサーバ10(具体的にはストレージ15等)の何れか一方を選択する(ステップS120)。画像ファイルのデータサイズ、端末装置30の処理能力、及び端末装置30との間の通信能力に基づく画像ファイルの取得先の選択は、様々な選択条件を適用して行うことができる。例えば、端末装置30及びサーバ10それぞれを取得先とした場合に、端末装置30によって画像ファイルを取得して対応する画像を表示するのに要する時間(画像の表示に要する全体の所要時間)の予測値が小さい何れか一方を、画像ファイルの取得先として選択するような選択条件を適用することができる。   Thus, when acquiring the data size of the image file corresponding to the image included in the display screen, the information about the processing capability of the terminal device 30, and the information about the communication capability with the terminal device 30, based on these information, The terminal device 30 selects either the terminal device 30 (specifically the storage 35 or the like) or the server 10 (specifically the storage 15 or the like) as an acquisition destination of the image file used for displaying the display screen (step S120). ). The selection of the acquisition destination of the image file based on the data size of the image file, the processing capability of the terminal device 30, and the communication capability with the terminal device 30 can be performed by applying various selection conditions. For example, when each of the terminal device 30 and the server 10 is an acquisition destination, the time required to acquire an image file by the terminal device 30 and display the corresponding image (the total time required to display the image) is predicted. It is possible to apply a selection condition in which one of the small values is selected as the image file acquisition destination.

ここで、端末装置30による画像の表示に要する全体の所要時間の予測値が小さい何れか一方を画像ファイルの取得先とする選択条件の具体例を説明する。一実施形態では、端末装置30において表示画面に含まれる画像を表示する際には、端末装置30において、エンコード処理(所定の変換処理、例えば、base64エンコード処理)が施された画像ファイル(以下、「エンコード化画像ファイル」と言うことがある。)をレンダリングして表示する。また、この画像ファイルに対するエンコード処理は、画像ファイルの取得先が端末装置30である場合には端末装置30側で実行され、画像ファイルの取得先がサーバ10である場合にはサーバ10側で実行される。ここで、画像ファイルの取得先を端末装置30とする場合には、この画像ファイルに対応する画像の表示に要する全体の所要時間は、以下の時間の合計と考えることができる。

(1)端末装置30を画像ファイルの取得先とする場合の全体の所要時間
(1−1)画像ファイルのストレージ35等からの読み出し時間
(1−2)画像ファイルのエンコード処理時間
(1−3)エンコード化画像ファイルのレンダリング時間

また、画像ファイルの取得先をサーバ10とする場合には、この画像ファイルに対応する画像の表示に要する所要時間は、以下の時間の合計と考えることができる。

(2)サーバ10を画像ファイルの取得先とする場合の全体の所要時間
(2−1)エンコード化画像ファイルのサーバ10からの転送時間
(2−2)エンコード化画像ファイルのレンダリング時間

例えば、これらの時間のうち、全体の所要時間に対する影響が大きいと考えられる「(1−2)画像ファイルのエンコード処理時間」、及び、「(2−1)エンコード化画像ファイルの転送時間」に着目することができる。そして、これらを比較した結果、「(1−2)画像ファイルのエンコード処理時間」の方が短い場合には端末装置30を取得先として選択し、「(2−1)エンコード化画像ファイルの転送時間」の方が短い場合にはサーバ10を取得先とする選択条件とすることができる。
Here, a specific example of a selection condition in which one of the predicted values of the total required time required for displaying an image by the terminal device 30 is set as the acquisition destination of the image file will be described. In one embodiment, when an image included in a display screen is displayed on the terminal device 30, an image file (hereinafter, referred to as a base64 encoding process) subjected to an encoding process (a predetermined conversion process, for example, a base64 encoding process) is performed on the terminal apparatus 30. Renders and displays "encoded image file". The encoding process for the image file is executed on the terminal device 30 side when the acquisition destination of the image file is the terminal device 30, and is executed on the server 10 side when the acquisition destination of the image file is the server 10. Is done. Here, when the acquisition destination of the image file is the terminal device 30, the total time required for displaying the image corresponding to the image file can be considered as the sum of the following times.

(1) Total required time when the terminal device 30 is an image file acquisition destination (1-1) Reading time of the image file from the storage 35 or the like (1-2) Encoding processing time of the image file (1-3 ) Rendering time of encoded image file

Further, when the image file acquisition destination is the server 10, the time required for displaying the image corresponding to the image file can be considered as the total of the following times.

(2) Overall required time when the server 10 is the image file acquisition source (2-1) Transfer time of the encoded image file from the server 10 (2-2) Rendering time of the encoded image file

For example, among these times, “(1-2) Image file encoding processing time” and “(2-1) Encoded image file transfer time”, which are considered to have a large influence on the overall required time, are considered. You can pay attention. As a result of comparison, if “(1-2) Image file encoding processing time” is shorter, the terminal device 30 is selected as an acquisition destination, and “(2-1) Transfer of encoded image file” is selected. When the “time” is shorter, the selection condition with the server 10 as the acquisition destination can be set.

ここで、「(1−2)画像ファイルのエンコード処理時間」は、例えば、「画像ファイルのデータサイズ/端末装置30の処理能力」という計算式で求めることができ、又、「(2−1)エンコード化画像ファイルの転送時間」は、「エンコード化画像ファイルのデータサイズ/端末装置30との間の通信能力」という計算式で求めることができる。また、「エンコード化画像ファイル」のデータサイズは、元の画像ファイル(エンコード処理が施される前の画像ファイル)のデータサイズに基づいて計算することができる(例えば、base64エンコード処理がなされる場合には、エンコード化画像ファイルのデータサイズは、元の画像ファイルのデータサイズの4/3倍(約1.3倍)とすることができる)。そして、端末装置30の処理能力として、上述した「端末モデル」毎に単位時間当たりにエンコード処理を可能なデータサイズを予め設定しておくと共に、端末装置30との間の通信能力として、上述した「ネットワーク種別」毎に単位時間当たりに転送可能なデータサイズ(通信速度)を予め設定しておくことにより、「(1−2)画像ファイルのエンコード処理時間」及び「(2−1)エンコード化画像ファイルの転送時間」をそれぞれ計算することができる。   Here, “(1-2) Image file encoding processing time” can be obtained, for example, by a calculation formula of “image file data size / processing capability of terminal device 30”, and “(2-1 The “transfer time of the encoded image file” can be obtained by a calculation formula “data size of the encoded image file / communication capability with the terminal device 30”. In addition, the data size of the “encoded image file” can be calculated based on the data size of the original image file (image file before being subjected to the encoding process) (for example, when base64 encoding process is performed) The data size of the encoded image file can be 4/3 times (approximately 1.3 times) the data size of the original image file). As the processing capability of the terminal device 30, a data size that can be encoded per unit time is set in advance for each “terminal model” described above, and the communication capability with the terminal device 30 is described above. By setting in advance a data size (communication speed) that can be transferred per unit time for each “network type”, “(1-2) image file encoding processing time” and “(2-1) encoding” Each “image file transfer time” can be calculated.

ここで、「(1−2)画像ファイルのエンコード処理時間」は「画像ファイルのデータサイズ/端末装置30の処理能力」によって計算することができるから、端末装置30の処理能力が高いほど、「(1−2)画像ファイルのエンコード処理時間」は短くなる。従って、この選択条件は、端末装置30の処理能力が高いほど、画像ファイルの取得先として端末装置30が優先して選択される傾向の条件であると言える。また、「(2−1)エンコード化画像ファイルの転送時間」は、「エンコード化画像ファイルのデータサイズ/端末装置30との間の通信能力」によって計算することができるから、端末装置30との間の通信能力が高いほど、「(2−1)エンコード化画像ファイルの転送時間」は短くなる。従って、この選択条件は、端末装置30との間の通信能力が高いほど、画像ファイルの取得先としてサーバ10が優先して選択される傾向の条件であると言える。さらに、「(2−1)エンコード化画像ファイルの転送時間」は、「エンコード化画像ファイルのデータサイズ/端末装置30との間の通信能力」によって計算することができ、一実施形態では、このエンコード化画像ファイルのデータサイズは、元の画像ファイルのデータサイズに所定の倍率(例えば、約1.3倍)を乗じた値となっている。従って、元の画像ファイルのデータサイズが大きくなるに従って増大する時間の変化量は、「画像ファイルのデータサイズ/端末装置30の処理能力」によって計算される「(1−2)画像ファイルのエンコード処理時間」よりも、「エンコード化画像ファイルのデータサイズ/端末装置30との間の通信能力」によって計算される「(2−1)エンコード化画像ファイルの転送時間」の方が大きくなる。即ち、この選択条件は、画像ファイルのデータサイズが大きいほど、画像ファイルの取得先として端末装置30が優先して選択される傾向の条件であると言える。   Here, since “(1-2) image file encoding processing time” can be calculated by “image file data size / processing capability of terminal device 30”, the higher the processing capability of terminal device 30, the more “ (1-2) Image file encoding processing time "becomes shorter. Therefore, it can be said that this selection condition is a condition in which the terminal device 30 tends to be preferentially selected as an image file acquisition destination as the processing capability of the terminal device 30 increases. Further, “(2-1) Transfer time of encoded image file” can be calculated by “data size of encoded image file / communication capability with terminal device 30”. “(2-1) Transfer time of encoded image file” is shorter as the communication capability between the two is higher. Therefore, it can be said that this selection condition is a condition in which the server 10 is preferentially selected as the acquisition destination of the image file as the communication capability with the terminal device 30 is higher. Furthermore, “(2-1) Encoded image file transfer time” can be calculated by “encoded image file data size / communication capability with terminal device 30”. The data size of the encoded image file is a value obtained by multiplying the data size of the original image file by a predetermined magnification (for example, about 1.3 times). Accordingly, the amount of time change that increases as the data size of the original image file increases is calculated by “(1-2) Image file encoding process” calculated by “Image file data size / processing capability of terminal device 30”. “(2-1) Transfer time of encoded image file” calculated by “data size of encoded image file / communication capability with terminal device 30” is larger than “time”. That is, it can be said that this selection condition is a condition in which the terminal device 30 is preferentially selected as the image file acquisition destination as the image file data size is larger.

また、上述した所要時間の予測値の比較に代えて、画像ファイルのデータサイズ、端末装置30の処理能力(具体的には「端末モデル」)、及び、端末装置30との間の通信能力(具体的には「ネットワーク種別」)の組合せ毎に画像ファイルの取得先を予め設定しておき、この設定内容に従って画像ファイルの取得先を選択するようにすることもできる。図5は、こうした画像ファイルの取得先の選択条件を予め設定した選択条件テーブルの一例である。この例では、図示するように、画像ファイルのデータサイズの範囲及び端末装置30の「端末モデル」の組合せ毎に、画像ファイルの取得先を選択する基準値となる通信速度の値が設定されている。例えば、図示するように、画像ファイルのデータサイズが「501KByte以上」であって、端末装置30の「端末モデル」が「モデルA」である場合には、通信速度の基準値は16Mbpsに設定されている。そして、端末装置30との間の「ネットワーク種別」に対応する通信速度(予め「ネットワーク種別」毎に設定しておく)がこの基準値以上である場合には、画像ファイルの取得先としてサーバ10が選択され、基準値未満である場合には、画像ファイルの取得先として端末装置30が選択される。   Further, instead of comparing the predicted values of the required time described above, the data size of the image file, the processing capability of the terminal device 30 (specifically, the “terminal model”), and the communication capability with the terminal device 30 ( Specifically, an image file acquisition destination may be set in advance for each combination of “network type”), and an image file acquisition destination may be selected according to the set content. FIG. 5 is an example of a selection condition table in which selection conditions for such image file acquisition destinations are set in advance. In this example, as shown in the figure, for each combination of the range of the image file data size and the “terminal model” of the terminal device 30, a communication speed value serving as a reference value for selecting an acquisition destination of the image file is set. Yes. For example, as shown in the figure, when the data size of the image file is “501 Kbytes or more” and the “terminal model” of the terminal device 30 is “model A”, the reference value of the communication speed is set to 16 Mbps. ing. When the communication speed corresponding to the “network type” with the terminal device 30 (which is set in advance for each “network type”) is equal to or higher than the reference value, the server 10 is acquired as the image file acquisition destination. Is selected and is less than the reference value, the terminal device 30 is selected as the acquisition destination of the image file.

また、図5の例では、「端末モデル」が「モデルA」の場合の方が「モデルB」の場合よりも、通信速度の基準値として大きな値が設定され、「モデルA」の場合の方が「モデルB」の場合よりも画像ファイルの取得先として端末装置30が優先して選択される傾向となっている。これは、「モデルA」の方が「モデルB」よりも処理能力が高い(例えば、CPUの性能が高い)ことに基づく。即ち、この選択条件は、上述したように、端末装置30の処理能力が高いほど画像ファイルの取得先として端末装置30が優先して選択される傾向にあるから、処理能力が比較的高い「モデルA」では、「モデルB」と比較して通信速度の基準値として大きな値が設定されており、「ネットワーク種別」に対応する通信速度が速く(大きな基準値以上の通信速度であり)上述した「(2−1)エンコード化画像ファイルの転送時間」が大きく短縮される場合を除き、画像ファイルの取得先として端末装置30が選択されることになる。   In the example of FIG. 5, a larger value is set as the reference value for the communication speed when the “terminal model” is “model A” than when the “model B” is “model A”. The terminal device 30 tends to be preferentially selected as the acquisition destination of the image file as compared with the case of “model B”. This is based on the fact that “model A” has a higher processing capability (for example, higher CPU performance) than “model B”. In other words, as described above, the higher the processing capability of the terminal device 30, the higher the processing capability of the terminal device 30, the higher the processing capability of the model device having a relatively high processing capability. In “A”, a large value is set as the reference value of the communication speed compared to “Model B”, and the communication speed corresponding to “Network type” is high (the communication speed is greater than the large reference value). Unless “(2-1) Transfer time of encoded image file” is greatly shortened, the terminal device 30 is selected as the acquisition destination of the image file.

ここで、一実施形態では、表示要求のなされた表示画面に複数の画像が含まれる場合には、この複数の画像にそれぞれ対応する画像ファイル毎に取得先を選択する。従って、表示画面に含まれる複数の画像毎に、画像ファイルの取得先が異なる場合がある。   Here, in one embodiment, when a display screen for which a display request is made includes a plurality of images, an acquisition source is selected for each image file corresponding to each of the plurality of images. Therefore, the acquisition destination of the image file may be different for each of the plurality of images included in the display screen.

こうして画像ファイルの取得先を選択すると、表示画面の表示用データを生成して端末装置30に対して送信し(ステップS130)、この表示制御処理を終了する。一実施形態では、端末装置30に送信する表示画面の表示用データには、端末装置30に、ステップS120で選択された取得先に記憶されている画像ファイルを用いて表示画面を表示させるための命令が含まれている。より具体的には、例えば、選択された取得先がサーバ10である(サーバ10に記憶されている画像ファイルを用いる)場合には、サーバ10によってエンコード処理(例えば、base64エンコード処理)のなされたエンコード化画像ファイル(例えば、英数字によって構成されるデータ)を表示用データ(例えば、HTMLデータ)に付加して端末装置30に送信し、選択された取得先が端末装置30である(端末装置30に記憶されている画像ファイルを用いる)場合には、この画像ファイルの取得先が端末装置30であることを示す情報を表示用データに付加して端末装置30に送信する。そして、サーバ10から表示用データを受信した端末装置30では、上述した命令に従って、受信した表示用データに付加されているエンコード化画像ファイルを用いてレンダリングし、又は、端末装置30のストレージ35等から読み出した画像ファイルに対してエンコード処理を実行した上でレンダリングし、画像ファイルに対応する画像を含む表示画面を表示する。こうした表示画面を表示する処理は、当業者にとって一般的な処理であるから、これ以上の詳細な説明は省略する。   When the acquisition destination of the image file is selected in this way, display data for the display screen is generated and transmitted to the terminal device 30 (step S130), and the display control process is terminated. In one embodiment, the display screen display data to be transmitted to the terminal device 30 is used for causing the terminal device 30 to display the display screen using the image file stored in the acquisition source selected in step S120. Instructions are included. More specifically, for example, when the selected acquisition destination is the server 10 (using an image file stored in the server 10), an encoding process (for example, a base64 encoding process) is performed by the server 10. An encoded image file (for example, data composed of alphanumeric characters) is added to display data (for example, HTML data) and transmitted to the terminal device 30, and the selected acquisition destination is the terminal device 30 (terminal device) 30), information indicating that the acquisition destination of the image file is the terminal device 30 is added to the display data and transmitted to the terminal device 30. Then, the terminal device 30 that has received the display data from the server 10 renders using the encoded image file added to the received display data in accordance with the above-described command, or the storage 35 of the terminal device 30 or the like. The image file read out from the image file is encoded and rendered, and a display screen including an image corresponding to the image file is displayed. Since the process of displaying such a display screen is a general process for those skilled in the art, further detailed description is omitted.

ここで、上述した実施形態では、表示画面に複数の画像が含まれる場合に、この複数の画像にそれぞれ対応する画像ファイル毎に取得先を選択するようにしたが、必ずしも複数の画像ファイルの全てについて取得先を選択する必要はない。例えば、データサイズが大きい(所定の閾値以上の)画像ファイルのみの取得先を上述した選択条件に従って選択し、データサイズが小さい(所定の閾値未満の)画像ファイルについては、一律に、端末装置30及びサーバ10の何れか一方(例えば、サーバ10)を取得先とするようにしても良い。また、表示画面に複数の画像が含まれる場合に、複数の画像ファイル毎に取得先を選択し、この選択結果に基づいて、複数の画像ファイルの取得先として1つの取得先を決定する(複数の画像ファイルの取得先を統一する)ようにしても良い(例えば、取得先として選択された画像ファイルの数が多い何れか一方に統一する)。さらに、表示画面に複数の画像が含まれる場合に、複数の画像ファイルのデータサイズの合計値に基づいて、複数の画像ファイルの取得先として1つの取得先を選択するようにしても良い。   Here, in the above-described embodiment, when a plurality of images are included in the display screen, the acquisition source is selected for each image file corresponding to each of the plurality of images. There is no need to select an acquisition source. For example, an acquisition destination of only image files having a large data size (greater than or equal to a predetermined threshold) is selected in accordance with the selection conditions described above, and for image files having a small data size (less than a predetermined threshold), the terminal device 30 is uniformly used. One of the server 10 and the server 10 (for example, the server 10) may be the acquisition destination. When a plurality of images are included in the display screen, an acquisition destination is selected for each of the plurality of image files, and one acquisition destination is determined as an acquisition destination of the plurality of image files based on the selection result (multiple images). (For example, the number of image files selected as the acquisition destination may be unified). Furthermore, when a plurality of images are included in the display screen, one acquisition destination may be selected as an acquisition destination of the plurality of image files based on the total value of the data sizes of the plurality of image files.

以上説明した一実施形態におけるサーバ10では、端末装置30からの表示画面の表示要求に応答し、この端末装置30の処理能力及びこの端末装置との間の通信能力に少なくとも基づく所定の選択条件に従って選択される端末装置30(ストレージ35、端末用記憶装置)に記憶されている画像ファイル及びサーバ10(ストレージ15、サーバ用記憶装置)に記憶されている画像ファイルの何れか一方を用いて、画像ファイルに対応する画像を含む表示画面を端末装置30に表示させる。従って、端末装置30の処理能力及び端末装置30との間の通信能力に基づくより適切な取得先に記憶されている画像ファイルを用いて表示画面を表示させることができ、この結果、端末装置30における画像を含む画面の表示に要する時間を短縮することができる。   In the server 10 in the embodiment described above, in response to the display screen display request from the terminal device 30, according to a predetermined selection condition based at least on the processing capability of the terminal device 30 and the communication capability with the terminal device. Using either one of the image file stored in the selected terminal device 30 (storage 35, storage device for terminal) and the image file stored in the server 10 (storage device 15, storage device for server), an image A display screen including an image corresponding to the file is displayed on the terminal device 30. Accordingly, the display screen can be displayed using an image file stored in a more appropriate acquisition source based on the processing capability of the terminal device 30 and the communication capability with the terminal device 30. As a result, the terminal device 30 can be displayed. The time required for displaying a screen including an image can be reduced.

また、一実施形態におけるサーバ10では、端末装置30の処理能力及び端末装置30との間の通信能力に加え、画像ファイルのデータサイズに基づいて画像ファイルの取得先を選択するから、より適切な取得先に記憶されている画像ファイルを用いて表示画面を表示させることができる。例えば、元の画像ファイルのデータサイズの変化量と、所定の変換処理(一実施形態では、base64エンコード処理等のエンコード処理)を施した後の画像ファイルのデータサイズの変化量とが異なる場合であって、この所定の変換処理が、元の画像ファイルの取得先に応じて異なる場合(一実施形態では、元の画像ファイルの取得先が端末装置30である場合には端末装置30側でエンコード処理を実行し、取得先がサーバ10である場合にはサーバ10側でエンコード処理を実行する)等において、より適切な取得先に記憶されている画像ファイルを用いて表示画面を表示させることができる。   In addition, in the server 10 according to the embodiment, in addition to the processing capability of the terminal device 30 and the communication capability with the terminal device 30, the acquisition destination of the image file is selected based on the data size of the image file. The display screen can be displayed using the image file stored in the acquisition destination. For example, when the change amount of the data size of the original image file is different from the change amount of the data size of the image file after performing a predetermined conversion process (in one embodiment, an encoding process such as a base64 encoding process). If this predetermined conversion process differs depending on the acquisition destination of the original image file (in one embodiment, if the acquisition source of the original image file is the terminal device 30, encoding is performed on the terminal device 30 side). Process, and when the acquisition destination is the server 10, the server 10 side performs an encoding process) to display a display screen using an image file stored in a more appropriate acquisition destination. it can.

一実施形態では、端末装置30の処理能力及び端末装置30との間の通信能力に加え、画像ファイルのデータサイズに基づいて画像ファイルの取得先を選択するようにしたが、画像ファイルのデータサイズについては考慮せずに、端末装置30の処理能力及び端末装置30との間の通信能力に基づいて画像ファイルの取得先を選択するようにしても良い。   In one embodiment, the acquisition source of the image file is selected based on the data size of the image file in addition to the processing capability of the terminal device 30 and the communication capability with the terminal device 30, but the data size of the image file The image file acquisition destination may be selected based on the processing capability of the terminal device 30 and the communication capability with the terminal device 30.

一実施形態では、端末装置30の処理能力に関する情報として「端末モデル」を例示し、端末装置30との間の通信能力に関する情報として「ネットワーク種別」を例示したが、これらの情報に代えて、又は、これらの情報に加えて、端末装置30の処理能力や端末装置30との間の通信能力に関連するその他の情報を適用することもできる。例えば、上述した処理能力や通信能力を示す値(例えば、レイテンシ、電波強度等)を端末装置30側で取得又は計測し、この取得又は計測された値を端末装置30から取得するようにしても良い。   In one embodiment, the “terminal model” is exemplified as information relating to the processing capability of the terminal device 30 and the “network type” is exemplified as information relating to the communication capability with the terminal device 30, but instead of these pieces of information, Alternatively, in addition to these pieces of information, other information related to the processing capability of the terminal device 30 and the communication capability with the terminal device 30 may be applied. For example, a value (for example, latency, radio wave intensity, etc.) indicating the processing capability or communication capability described above is acquired or measured on the terminal device 30 side, and the acquired or measured value is acquired from the terminal device 30. good.

一実施形態では、画像ファイルの取得先を選択する処理(具体的には、表示制御処理のステップS120)をサーバ10側で行うようにしたが、端末装置30側で行うようにすることもできる。例えば、画像ファイルの取得先を選択する上述した選択条件に従うアルゴリズムを実装したプログラムを端末装置30側で実行させると共に端末装置30の処理能力及び通信能力に関する情報等をサーバ10から端末装置30に対して送信し、端末装置30側でこのプログラムを実行することによって、画像ファイルの取得先を選択する処理を端末装置30側で行うようにすることができる。この場合において、画像ファイルの取得先としてサーバ10が選択された場合には、端末装置30からサーバ10に対して、画像ファイル(又はエンコード化画像ファイル)を要求するようにすれば良い。   In the embodiment, the processing for selecting the acquisition destination of the image file (specifically, step S120 of the display control processing) is performed on the server 10 side, but may be performed on the terminal device 30 side. . For example, a program that implements an algorithm that complies with the above-described selection conditions for selecting an image file acquisition source is executed on the terminal device 30 side, and information about processing capability and communication capability of the terminal device 30 is transmitted from the server 10 to the terminal device 30. The terminal device 30 can execute processing for selecting the acquisition destination of the image file by executing the program on the terminal device 30 side. In this case, when the server 10 is selected as an image file acquisition destination, the terminal device 30 may request the server 10 for an image file (or an encoded image file).

本明細書で説明された処理及び手順は、実施形態中で明示的に説明されたもの以外にも、ソフトウェア、ハードウェアまたはこれらの任意の組み合わせによって実現される。より具体的には、本明細書で説明される処理及び手順は、集積回路、揮発性メモリ、不揮発性メモリ、磁気ディスク、光ストレージ等の媒体に、当該処理に相当するロジックを実装することによって実現される。また、本明細書で説明される処理及び手順は、それらの処理・手順をコンピュータプログラムとして実装し、各種のコンピュータに実行させることが可能である。   The processes and procedures described in this specification are implemented by software, hardware, or any combination thereof other than those explicitly described in the embodiments. More specifically, the processes and procedures described in this specification are performed by mounting logic corresponding to the processes on a medium such as an integrated circuit, a volatile memory, a nonvolatile memory, a magnetic disk, or an optical storage. Realized. Further, the processes and procedures described in this specification can be implemented as a computer program and executed by various computers.

本明細書中で説明される処理及び手順が単一の装置、ソフトウェア、コンポーネント、モジュールによって実行される旨が説明されたとしても、そのような処理または手順は複数の装置、複数のソフトウェア、複数のコンポーネント、及び/又は複数のモジュールによって実行され得る。また、本明細書中で説明されるデータ、テーブル、又はデータベースが単一のメモリに格納される旨説明されたとしても、そのようなデータ、テーブル、又はデータベースは、単一の装置に備えられた複数のメモリまたは複数の装置に分散して配置された複数のメモリに分散して格納され得る。さらに、本明細書において説明されるソフトウェアおよびハードウェアの要素は、それらをより少ない構成要素に統合して、またはより多い構成要素に分解することによって実現することも可能である。   Even if the processes and procedures described herein are described as being performed by a single device, software, component, or module, such processes or procedures may be performed by multiple devices, multiple software, multiple Component and / or multiple modules. In addition, even though the data, tables, or databases described herein are described as being stored in a single memory, such data, tables, or databases are provided on a single device. Alternatively, the data can be distributed and stored in a plurality of memories or a plurality of memories arranged in a plurality of devices. Further, the software and hardware elements described herein may be implemented by integrating them into fewer components or by decomposing them into more components.

本明細書において、発明の構成要素が単数もしくは複数のいずれか一方として説明された場合、又は、単数もしくは複数のいずれとも限定せずに説明された場合であっても、文脈上別に解すべき場合を除き、当該構成要素は単数又は複数のいずれであってもよい。   In the present specification, when the constituent elements of the invention are described as one or a plurality, or when they are described without being limited to one or a plurality of cases, they should be understood separately in context. The component may be either singular or plural.

1 システム
10 サーバ
20 通信網
30 端末装置
51 記憶部
52 表示制御部
1 System 10 Server 20 Communication Network 30 Terminal Device 51 Storage Unit 52 Display Control Unit

Claims (8)

表示画面に含まれる画像に対応する画像ファイルを記憶する端末用記憶装置を有する端末装置と通信可能に接続され、当該端末装置に当該表示画面を表示させるサーバであって、
前記表示画面に含まれる画像に対応する画像ファイルを記憶するサーバ用記憶装置と、
所定の命令を実行する一又は複数の物理的なプロセッサと、を備え、
前記一又は複数の物理的なプロセッサは、前記所定の命令を実行することによって、
前記端末装置からの前記表示画面の表示要求に応答し、当該端末装置の処理能力及び当該端末装置との間の通信能力に少なくとも基づく所定の選択条件に従って選択される前記端末用記憶装置に記憶されている前記画像ファイル及び前記サーバ用記憶装置に記憶されている前記画像ファイルの何れか一方を用いて、当該画像ファイルに対応する画像を含む当該表示画面を当該端末装置に表示させる表示制御機能を実現する、
サーバ。
A server that is communicably connected to a terminal device having a storage device for a terminal that stores an image file corresponding to an image included in the display screen, and displays the display screen on the terminal device,
A storage device for a server for storing an image file corresponding to an image included in the display screen;
One or more physical processors that execute predetermined instructions;
The one or more physical processors execute the predetermined instructions,
In response to the display screen display request from the terminal device, the terminal device is stored in the terminal storage device selected according to a predetermined selection condition based at least on the processing capability of the terminal device and the communication capability with the terminal device. A display control function for causing the terminal device to display the display screen including an image corresponding to the image file using either the image file or the image file stored in the server storage device. Realize,
server.
請求項1記載のサーバであって、
前記表示制御機能は、前記サーバ用記憶装置に記憶されている前記画像ファイルを用いる場合には、当該画像ファイルに対して所定の変換処理を施して前記端末装置に送信し、
前記端末装置は、前記端末用記憶装置に記憶されている前記画像ファイルを用いる場合には、当該画像ファイルに対して前記所定の変換処理を施して当該所定の変換処理が施された画像ファイルを用いて前記表示画面を表示し、前記サーバ用記憶装置に記憶されている前記画像ファイルを用いる場合には、前記表示制御機能によって送信される前記所定の変換処理が施された画像ファイルを用いて前記表示画面を表示する、
サーバ。
The server according to claim 1, wherein
When using the image file stored in the server storage device, the display control function performs a predetermined conversion process on the image file and transmits the image file to the terminal device.
When the terminal device uses the image file stored in the terminal storage device, the terminal device performs the predetermined conversion process on the image file, and the image file subjected to the predetermined conversion process is processed. When the display screen is used and the image file stored in the server storage device is used, the image file subjected to the predetermined conversion process transmitted by the display control function is used. Displaying the display screen;
server.
前記所定の選択条件は、前記処理能力が高いほど前記端末用記憶装置に記憶されている前記画像ファイルが優先して選択される傾向の条件である請求項1又は2記載のサーバ。   3. The server according to claim 1, wherein the predetermined selection condition is a condition in which the image file stored in the terminal storage device is preferentially selected as the processing capability is higher. 前記所定の選択条件は、前記通信能力が高いほど前記サーバ用記憶装置に記憶されている前記画像ファイルが優先して選択される傾向の条件である請求項1ないし3いずれか記載のサーバ。   The server according to any one of claims 1 to 3, wherein the predetermined selection condition is a condition that the image file stored in the server storage device is preferentially selected as the communication capability is higher. 前記所定の選択条件は、前記処理能力及び前記通信能力に加え、前記表示画面に含まれる画像に対応する前記画像ファイルのデータサイズに基づく条件である請求項1ないし4いずれか記載のサーバ。   5. The server according to claim 1, wherein the predetermined selection condition is a condition based on a data size of the image file corresponding to an image included in the display screen in addition to the processing capability and the communication capability. 前記所定の選択条件は、前記画像ファイルのデータサイズが大きいほど前記端末用記憶装置に記憶されている前記画像ファイルが優先して選択される傾向の条件である請求項5記載のサーバ。   6. The server according to claim 5, wherein the predetermined selection condition is a condition in which the image file stored in the terminal storage device tends to be preferentially selected as the data size of the image file increases. 請求項1ないし6いずれか記載のサーバであって、
前記表示画面は、前記端末装置において実行可能なアプリケーションプログラムの実行に応じて表示される画面領域の少なくとも一部の領域に表示され、
前記端末用記憶装置は、前記アプリケーションプログラムに含まれる前記画像ファイルを記憶する、
サーバ。
The server according to any one of claims 1 to 6,
The display screen is displayed in at least a part of a screen area displayed in accordance with execution of an application program executable in the terminal device,
The terminal storage device stores the image file included in the application program;
server.
表示画面に含まれる画像に対応する画像ファイルを記憶する端末用記憶装置を有する端末装置と通信可能に接続され、前記表示画面に含まれる画像に対応する画像ファイルを記憶するサーバ用記憶装置を備えるサーバが、当該端末装置に当該表示画面を表示させる方法であって、
前記端末装置からの前記表示画面の表示要求に応答し、当該端末装置の処理能力及び当該端末装置との間の通信能力に少なくとも基づく所定の選択条件に従って選択される前記端末用記憶装置に記憶されている前記画像ファイル及び前記サーバ用記憶装置に記憶されている前記画像ファイルの何れか一方を用いて、当該画像ファイルに対応する画像を含む当該表示画面を当該端末装置に表示させる、
方法。
A server storage device is provided that is communicably connected to a terminal device having a storage device for a terminal that stores an image file corresponding to an image included in the display screen, and stores an image file corresponding to the image included in the display screen. A method in which a server displays the display screen on the terminal device,
In response to the display screen display request from the terminal device, the terminal device is stored in the terminal storage device selected according to a predetermined selection condition based at least on the processing capability of the terminal device and the communication capability with the terminal device. Using the image file stored in the storage device for the server and the image file stored in the server storage device, causing the terminal device to display the display screen including an image corresponding to the image file.
Method.
JP2014221295A 2014-10-30 2014-10-30 Server for causing terminal device to display display screen, and method Pending JP2015146565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014221295A JP2015146565A (en) 2014-10-30 2014-10-30 Server for causing terminal device to display display screen, and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014221295A JP2015146565A (en) 2014-10-30 2014-10-30 Server for causing terminal device to display display screen, and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014018339A Division JP5643449B1 (en) 2014-02-03 2014-02-03 Server and method for displaying display screen on terminal device

Publications (1)

Publication Number Publication Date
JP2015146565A true JP2015146565A (en) 2015-08-13

Family

ID=53890604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014221295A Pending JP2015146565A (en) 2014-10-30 2014-10-30 Server for causing terminal device to display display screen, and method

Country Status (1)

Country Link
JP (1) JP2015146565A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020981A (en) * 2019-03-27 2019-07-16 阿里巴巴集团控股有限公司 A kind of image information processing method, device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020981A (en) * 2019-03-27 2019-07-16 阿里巴巴集团控股有限公司 A kind of image information processing method, device and electronic equipment

Similar Documents

Publication Publication Date Title
US11868785B2 (en) Application program page processing method and device
JP6253110B2 (en) Using the application cache to update installed application resources
WO2018196617A1 (en) Page loading method, system, server and terminal
CN109542427B (en) System customization method and device, electronic equipment and storage medium
US8495617B2 (en) Interworking system between user terminal and smart card for executing widget, and method thereof
US20140208326A1 (en) File presenting method and apparatus for a smart terminal
JP5543010B1 (en) Login request apparatus and method for requesting login to predetermined server, and program used therefor
CN105573733B (en) Method, web front-end and the system that browser is communicated with web front-end
WO2020048189A1 (en) Image generation
US9396053B2 (en) Error handling in a network resource generation environment
CN105868420A (en) Network resource loading mode configuration method and device
AU2016202576B2 (en) Techniques for evaluating applications through use of an auxiliary application
JP5643449B1 (en) Server and method for displaying display screen on terminal device
CN108062336A (en) Media information processing method and device
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
JP2015156209A (en) information processing system
JP2015146565A (en) Server for causing terminal device to display display screen, and method
US20180088930A1 (en) Updating code within an application
CN109857503B (en) Page interaction effect self-adaption method and device and electronic equipment
US20140237133A1 (en) Page download control method, system and program for ie core browser
JP5740026B1 (en) Server and method for displaying display screen
JP6122123B2 (en) Screen display program
JP6344994B2 (en) Information processing terminal, control method, and program
JP2015185177A (en) Server for displaying display screen, and method
US20220066810A1 (en) Information processing system and method of controlling information processing system