JP5556626B2 - Cursor movement control device and program - Google Patents
Cursor movement control device and program Download PDFInfo
- Publication number
- JP5556626B2 JP5556626B2 JP2010266018A JP2010266018A JP5556626B2 JP 5556626 B2 JP5556626 B2 JP 5556626B2 JP 2010266018 A JP2010266018 A JP 2010266018A JP 2010266018 A JP2010266018 A JP 2010266018A JP 5556626 B2 JP5556626 B2 JP 5556626B2
- Authority
- JP
- Japan
- Prior art keywords
- screen
- cursor
- display
- movement
- landscape
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、カーソル移動制御装置及びプログラムに関する。 The present invention relates to a cursor movement control device and a program.
従来、ユーザが使うクライアント端末に必要最小限の処理をさせ、ほとんどの処理をサーバ装置側に集中させたシンクライアントシステムが知られている。サーバ装置は、クライアント端末に表示させるための画面データをクライアント端末に送信して表示させている。クライアント端末は、画面データをサーバ装置から受信して表示し、表示画面上でローカルカーソル(ポインタ)を移動可能にしてユーザによる操作を受け付け、当該操作に応じたイベント情報をサーバ装置に送信している。ローカルカーソルとは、クライアント端末側のカーソルである。 2. Description of the Related Art Conventionally, a thin client system is known in which a client terminal used by a user performs necessary minimum processing and most processing is concentrated on a server device side. The server device transmits screen data to be displayed on the client terminal to the client terminal for display. The client terminal receives and displays the screen data from the server device, allows the local cursor (pointer) to move on the display screen, accepts an operation by the user, and transmits event information corresponding to the operation to the server device. Yes. The local cursor is a cursor on the client terminal side.
また、クライアント端末において、ポインティングデバイスの操作によって行われたポインタの移動速度や移動距離が予め設定された速度より速い若しくは設定された距離より長いと判断された場合には単なるポインタ移動中などと判定してサーバ装置へのイベント情報の送信を省略するシンクライアントシステムが知られている(例えば、特許文献1参照)。サーバ装置への無駄なイベント情報送信回数を削減してクライアント端末の電力消費を抑えることができる。 In the client terminal, if it is determined that the moving speed or moving distance of the pointer performed by operating the pointing device is faster than the preset speed or longer than the preset distance, it is determined that the pointer is simply moving. A thin client system that omits transmission of event information to a server device is known (see, for example, Patent Document 1). It is possible to reduce the power consumption of the client terminal by reducing the number of useless event information transmissions to the server device.
また、電子メールのデータ量が所定の値を超えた場合に、あらかじめ設定されたスクロール速度及びスクロール行数で、電子メールを自動スクロールで表示する携帯端末が知られている(例えば、特許文献2参照)。 In addition, a portable terminal that automatically displays an e-mail with a scroll speed and the number of scroll lines set in advance when the amount of e-mail data exceeds a predetermined value is known (for example, Patent Document 2). reference).
シンクライアントシステムのクライアント端末として、携帯端末を用いる要請がある。携帯端末は、一般的に長方形の画面を表示する表示部を有する。また、携帯端末として、長方形の長辺を縦方向にした縦長画面と、長方形の長辺を横方向にした横長画面と、を切り替えて表示できるものがある。 There is a demand to use a portable terminal as a client terminal of a thin client system. A portable terminal generally has a display unit that displays a rectangular screen. Some portable terminals can switch between a vertically long screen having a long side of a rectangle in a vertical direction and a horizontally long screen having a long side of a rectangle in a horizontal direction.
しかし、縦長画面に比べ横長画面における描画速度が遅い携帯端末をシンクライアントシステムのクライアント端末に用いると、横長画面のときのローカルカーソルの移動速度が、縦長画面のときに比べて遅くなり、カーソルを早く移動させた場合に、カーソルの表示が追随できなくなる。これは、横長画面のときは、縦長画面のときに比べて携帯端末の表示画面の描画処理などに要する負荷が大きくなるからである。 However, if a mobile device with a slow drawing speed on a landscape screen compared to a portrait screen is used as a client terminal for a thin client system, the movement speed of the local cursor on a landscape screen will be slower than on a portrait screen. When moved quickly, the cursor display cannot follow. This is because the load required for the drawing process of the display screen of the portable terminal is larger in the case of the landscape screen than in the case of the portrait screen.
従来のポインタの移動速度や移動距離に応じてイベント情報送信を省略するシンクライアントシステムや、電子メールを所定のスクロール速度及びスクロール行数で表示する携帯端末装置は、縦長画面と横長画面とでローカルカーソルの移動量を制御するものでない。このため、携帯端末を用いたシンクライアントシステムにおいて、縦長画面と横長画面とのローカルカーソルの移動速度が異なることを解消できなかった。 Conventional thin client systems that omit the transmission of event information according to the moving speed and moving distance of pointers, and portable terminal devices that display e-mails at a predetermined scrolling speed and the number of scroll lines are local on a vertically long screen and a horizontally long screen. It does not control the amount of cursor movement. For this reason, in the thin client system using a portable terminal, it cannot be solved that the moving speed of the local cursor differs between the portrait screen and the landscape screen.
また、ローカルカーソルの移動速度をユーザが予め操作設定する方法も考えられるが、ユーザの操作負担が大きい。しかも、ローカルカーソルの移動速度は、たとえ予め操作設定しても、クライアント端末の負荷によって変化するおそれがあった。 Although a method in which the user sets the movement speed of the local cursor in advance can be considered, the operation burden on the user is large. In addition, the moving speed of the local cursor may change depending on the load on the client terminal even if the operation is set in advance.
本発明の課題は、ユーザが設定を行うことなく横長画面においても縦長画面と同等の速度のカーソル移動を行うことである。 An object of the present invention is to perform cursor movement at a speed equivalent to that of a vertically long screen even on a horizontally long screen without setting by a user.
上記課題を解決するために、請求項1に記載の発明のカーソル移動制御装置は、
長方形状の表示パネルを有し、当該表示パネルに横長画面もしくは縦長画面として画面を表示する表示部と、
前記表示部の表示画面が横長画面か縦長画面かを検出する縦横検出部と、
前記表示画面が横長画面の際のカーソル移動の平均速度と縦長画面の際のカーソル移動の平均速度とを算出する演算部と、
前記表示画面が縦長画面の際のカーソル移動の平均速度が、横長画面の際のカーソル移動の平均速度より速い場合に、前記横長画面の際のカーソルの移動量を増加させる制御部と、を備える。
In order to solve the above-mentioned problem, the cursor movement control device according to claim 1 is provided.
A display unit having a rectangular display panel and displaying the screen as a horizontally long screen or a vertically long screen on the display panel;
A portrait and landscape detector that detects whether the display screen of the display unit is a landscape screen or a portrait screen;
A calculation unit that calculates an average speed of cursor movement when the display screen is a landscape screen and an average speed of cursor movement when the display screen is a portrait screen;
A control unit that increases the amount of movement of the cursor when the display screen is a landscape screen when the average speed of cursor movement when the display screen is a portrait screen is faster than the average speed of cursor movement when the landscape screen is .
請求項2に記載の発明は、請求項1に記載のカーソル移動制御装置において、
前記制御部は、前記表示画面が縦長画面の際のカーソル移動の平均速度が、横長画面の際のカーソル移動の平均速度より速い場合に、前記横長画面の際のカーソルの移動量を、前記縦長画面の際のカーソルの移動量とほぼ同じ移動量になる値に増加させる。
The invention according to claim 2 is the cursor movement control device according to claim 1,
When the average speed of cursor movement when the display screen is a vertically long screen is faster than the average speed of cursor movement when the display screen is a horizontally long screen, the control unit determines the amount of movement of the cursor when the horizontally long screen is The value is increased to a value that is almost the same as the movement amount of the cursor on the screen.
請求項3に記載の発明は、請求項1又は2に記載のカーソル移動制御装置において、
シンクライアントシステムのサーバ装置と通信する通信部と、
前記通信部により、前記カーソルの位置情報をイベント情報として前記サーバ装置に送信する送信制御部と、を備え、
前記制御部は、前記増加させたカーソルの移動量に基づく当該カーソルの位置情報を生成し、この位置情報に基づいて前記表示画面に前記カーソルを表示すると共に、前記生成された位置情報を前記サーバ装置に送信する。
The invention according to claim 3 is the cursor movement control device according to claim 1 or 2,
A communication unit that communicates with the server device of the thin client system;
A transmission control unit that transmits the position information of the cursor as event information to the server device by the communication unit;
The control unit generates position information of the cursor based on the increased amount of cursor movement, displays the cursor on the display screen based on the position information, and displays the generated position information on the server. Send to device.
請求項4に記載の発明のプログラムは、
コンピュータを、
長方形状の表示パネルを有し、当該表示パネルに横長画面もしくは縦長画面として画面を表示する表示部、
前記表示部の表示画面が横長画面か縦長画面かを検出する縦横検出部、
前記表示画面が横長画面の際のカーソル移動の平均速度と縦長画面の際のカーソル移動の平均速度とを算出する演算部、
前記表示画面が縦長画面の際のカーソル移動の平均速度が、横長画面の際のカーソル移動の平均速度より速い場合に、前記横長画面の際のカーソルの移動量を増加させる制御部、
として機能させる。
The program of the invention according to claim 4 is:
Computer
A display unit having a rectangular display panel and displaying the screen as a landscape or portrait screen on the display panel;
A portrait and landscape detector that detects whether the display screen of the display unit is a landscape or portrait screen;
A calculation unit that calculates an average speed of cursor movement when the display screen is a landscape screen and an average speed of cursor movement when the screen is a portrait screen;
A control unit that increases the amount of movement of the cursor when the display screen is a landscape screen when the average speed of cursor movement when the display screen is a portrait screen is faster than the average speed of cursor movement when the landscape screen is displayed;
To function as.
本発明によれば、ユーザが設定を行うことなく横長画面においても縦長画面と同等の速度のカーソル移動を行うことができる。 According to the present invention, a cursor can be moved at a speed equivalent to that of a vertically long screen even on a horizontally long screen without setting by the user.
以下、添付図面を参照して本発明に係る実施の形態を詳細に説明する。なお、本発明は、図示例に限定されるものではない。 Embodiments according to the present invention will be described below in detail with reference to the accompanying drawings. The present invention is not limited to the illustrated example.
図1及び図2を参照して、本実施の形態の装置構成を説明する。先ず、図1を参照して、本実施の形態のシンクライアントシステム1の全体構成を説明する。図1に、本実施の形態のシンクライアントシステム1の構成を示す。 With reference to FIG.1 and FIG.2, the apparatus structure of this Embodiment is demonstrated. First, the overall configuration of the thin client system 1 according to the present embodiment will be described with reference to FIG. FIG. 1 shows a configuration of a thin client system 1 according to the present embodiment.
図1に示すように、シンクライアントシステム1は、カーソル位置制御装置としてのサーバ装置10と、クライアント端末20と、を備える。サーバ装置10及びクライアント端末20は、通信ネットワークN及び基地局30を介してネットワーク接続されている。
As shown in FIG. 1, the thin client system 1 includes a
シンクライアントシステム1は、ユーザが使うクライアント端末20に必要最小限の処理をさせ、クライアント端末20側のアプリケーションプログラム等、ほとんどの処理をサーバ装置10に集中させた画面転送型のシンクライアントシステムである。
The thin client system 1 is a screen transfer type thin client system in which a
サーバ装置10は、クライアント端末20の管理装置であり、クライアント端末20でユーザに作業させるためのアプリケーションプログラムを実行する。サーバ装置10は、アプリケーションプログラムに応じた表示画面のフレームデータを作成して、通信ネットワークN及び基地局30を介してクライアント端末20に送信する。また、サーバ装置10は、基地局30及び通信ネットワークNを介してクライアント端末20から受信したイベント情報に応じて、アプリケーションプログラムに関する各種処理を実行する。
The
クライアント端末20は、サーバ装置10のクライアント端末であり、携帯端末である。クライアント端末20は、シンクライアントシステムの専用端末として説明するが、これに限定されるものではない。クライアント端末20は、携帯電話機、PHS(Personal Handyphone System)端末、PDA(Personal Digital Assistant)等により構成されることとしてもよい。
The
クライアント端末20は、操作部22と、表示パネル24aと、を備える。操作部22は、クライアント端末20のユーザの操作入力を受け付ける。表示パネル24aは、長方形状の表示パネルであり、縦長画面と横長画面とを切り替えて表示できる。表示パネル24aの解像度は、FWVGA(Full Wide Video Gate Array、854×480ピクセル)とするが、これに限定されるものではない。
The
また、クライアント端末20は、基地局30と無線通信を行う。無線通信方式は、例えば、HSDPA(High Speed Packet Access)や、EV−DO Rev.A等の携帯電話通信方式とするが、これに限定されるものではない。クライアント端末20は、基地局30との無線通信を介して、通信ネットワークN上のサーバ装置10と通信が可能である。
In addition, the
また、クライアント端末20は、通信ネットワークN及び基地局30を介して、サーバ装置10から受信したフレームデータに応じて、アプリケーションプログラムに応じた画面を表示パネル24aに表示する。また、クライアント端末20は、操作部22を介するユーザからの操作入力を受け付け、イベント情報として、基地局30及び通信ネットワークNを介してサーバ装置10に送信する。
Further, the
また、クライアント端末20は、表示パネル24aにおける表示を縦長画面よりも横長画面にした方が、ローカルカーソルの移動速度が遅い端末であるものとする。
Further, it is assumed that the
基地局30は、通信ネットワークNに接続され、通信ネットワークN上の機器と通信を行うとともに、クライアント端末20と無線通信を行う。そして、基地局30は、通信ネットワークN上の機器であるサーバ装置10と、クライアント端末20との通信を中継する。
The
通信ネットワークNは、例えばインターネットであり、WAN(Wide Area Network)、LAN(Local Area Network)、専用回線等を含んでもよい。 The communication network N is, for example, the Internet, and may include a WAN (Wide Area Network), a LAN (Local Area Network), a dedicated line, and the like.
なお、シンクライアントシステム1は、1台のクライアント端末20を備える構成としたが、これに限定されるものではない。シンクライアントシステム1は、複数台のクライアント端末20を備える構成としてもよい。
Although the thin client system 1 is configured to include one
次いで、図2を参照して、クライアント端末20の内部の機能構成を説明する。クライアント端末20は、演算部、制御部としてのCPU(Central Processing Unit)21と、操作部22と、RAM(Random Access Memory)23と、表示部24と、ROM(Read Only Memory)25と、無線通信部26と、フレームバッファメモリ27と、縦横検出部28と、計時部29と、電源部29aと、を備える。クライアント端末20において、電源部29aを除く各部は、バス29bを介して互いに接続されている。
Next, the internal functional configuration of the
CPU21は、クライアント端末20の各部を中央制御する。CPU21は、各種プログラムのうち指定されたプログラムをROM25から読み出してRAM23に展開し、展開されたプログラムとの協働で各種処理を実行する。
The
CPU21は、カーソル移動制御プログラム251に従い、表示部24の表示画面が横長画面の際のローカルカーソル移動の平均速度と縦長画面の際のローカルカーソル移動の平均速度とを算出し、前記表示画面が縦長画面の際のカーソル移動の平均速度が、横長画面の際のローカルカーソル移動の平均速度より速い場合に、前記横長画面の際のローカルカーソルの移動量を、横長画面の際のローカルカーソルの移動量と同じになる値に増加させ、そのローカルカーソルの位置情報をサーバ装置10に送信する。
In accordance with the cursor
操作部22は、文字入力キー等の各種キーからなるキー群を備え、ユーザからの各キーの押下入力に応じた操作情報をCPU21に出力する。操作部22は、少なくともローカルカーソルを移動するためのカーソルキーを含む。
The
RAM23は、揮発性の半導体メモリであり、各種データ及び各種プログラムを格納するワークエリアを有する。
The
表示部24は、LCD(Liquid Crystal Display)、EL(ElectroLuminescence)ディスプレイ等の表示パネル24aを備え、CPU21から入力される表示情報に応じて表示パネル24aに各種表示を行う。表示部24は、CPU21の指示に従い、縦長画面、横長画面を切り替えて、表示パネル24aに画面を表示する。
The
ROM25は、各種データ及び各種プログラムを記憶する読み出し専用の半導体メモリである。ROM25には、カーソル移動制御プログラム251が記憶されている。
The
無線通信部26は、HSDPA等の携帯電話通信方式の無線通信部である。無線通信部26は、アンテナ、変調部、復調部、信号処理部等を備え、基地局30と無線通信を行う。無線通信部26は、送信する情報の信号を、信号処理部で信号処理し、変調部により変調してアンテナから無線電波として基地局30に送信する。また、無線通信部26は、アンテナにより基地局30から受信した無線電波の受信信号を復調部により復調し、信号処理部で信号処理して受信情報を得る。
The
フレームバッファメモリ27は、RAM等により構成され、サーバ装置10から受信した表示画面のフレームデータを一時的に記憶するバッファメモリである。
The
縦横検出部28は、表示部24(表示パネル24a)の表示画面が縦長画面であるか横長画面であるかを検出する検出部であり、その検出情報をCPU21に出力する。縦横検出部28は、例えば、API(Application Program Interface)により、ソフトウェアで実現される。この構成では、ユーザによる操作部22を介する指定操作入力に応じた表示画面が縦長画面又は横長画面である旨の情報がAPIにより保持される。しかし、縦横検出部28は、この構成に限定されるものではない。縦横検出部28は、加速度センサにより、重力方向に対する表示画面の向きから縦長画面又は横長画面を検出する構成や、表示パネル24aが回転式である場合に、表示パネル24aの回転位置を検出する検出スイッチの状態に応じて縦長画面又は横長画面を検出する構成等、ハードウェアで実現することとしてもよい。
The vertical /
計時部29は、現在時刻を計時する計時回路を備え、現在の時刻情報を計時してCPU21に出力する。
The
電源部29aは、リチウム電池等の二次電池であり、クライアント端末20の各部に電源供給を行う。
The
次に、図3〜図8を参照して、シンクライアントシステム1の動作を説明する。図3に、クライアント端末20で実行されるカーソル移動制御処理を示す。図4に、縦長画面241の座標を示す。図5に、カーソル移動制御処理の第1のカーソル表示処理を示す。図6に、横長画面242の座標を示す。図7に、カーソル移動制御処理の第2のカーソル表示処理を示す。
Next, the operation of the thin client system 1 will be described with reference to FIGS. FIG. 3 shows a cursor movement control process executed on the
先ず、シンクライアントシステム1の基本的な動作を説明する。例えば、クライアント端末20において、CPU21は、ユーザから操作部22を介してサーバ装置10への接続指示が入力されると、無線通信部26により、基地局30及び通信ネットワークNを介して、サーバ装置10への接続要求をサーバ装置10に送信する。
First, the basic operation of the thin client system 1 will be described. For example, in the
そして、サーバ装置10は、クライアント端末20から接続要求を受信し、受信した接続要求に対応するアプリケーションプログラムを起動し、アプリケーションプログラムの表示画面のフレームデータを作成し、通信ネットワークN及び基地局30を介して、作成したフレームデータをクライアント端末20に送信する。
Then, the
そして、クライアント端末20において、CPU21は、無線通信部26により、サーバ装置10からフレームデータを受信すると、受信したフレームデータに基づいて画面を表示部24に表示し、操作部22を介して表示画面に応じた操作入力を受け付ける。このとき、表示画面には、ローカルカーソルが表示され、このローカルカーソルの移動の操作入力を受け付ける。
In the
そして、CPU21は、操作部22を介して操作入力されると、当該操作入力に応じたイベント情報を作成して、無線通信部26により、基地局30及び通信ネットワークNを介して、イベント情報をサーバ装置10に送信する。
When the operation input is made via the
そして、サーバ装置10は、クライアント端末20からイベント情報を受信し、受信したイベント情報に対応しアプリケーションプログラムに関する処理を実行する。また、サーバ装置10は、イベント情報に応じた処理実行後又は周期的に、アプリケーションプログラムの新たな表示画面のフレームデータを作成し、通信ネットワークN及び基地局30を介して、作成したフレームデータをクライアント端末20に送信する。
Then, the
このように、クライアント端末20による画面表示、操作入力及びイベント情報送信と、サーバ装置10によるイベント情報に応じた処理実行及びフレームデータ送信とが、クライアント端末20による操作を終了するまで繰り返し実行される。
In this manner, screen display, operation input and event information transmission by the
例えば、実行指示対象のアプリケーションプログラムが、サーバ装置10に記憶されている書類データを編集する書類編集プログラムである場合を簡単に説明する。サーバ装置10は、磁気のクライアント端末20からの実行指示情報に応じて、書類編集プログラムを起動し、書類編集画面のフレームデータをクライアント端末20に送信する。
For example, the case where the application program to be executed is a document editing program for editing document data stored in the
クライアント端末20のCPU21は、無線通信部26によりフレームデータをサーバ装置10から受信し、フレームデータに応じた書類編集画面を表示部24に表示する。そして、CPU21は、操作部22を介して、書類編集画面に応じた操作入力を受け付け、イベント情報として無線通信部26によりサーバ装置10に送信する。
The
サーバ装置10は、イベント情報をクライアント端末20から受信し、当該イベント情報に応じた処理を実行する。例えば、イベント情報が書類データの更新データである場合に、サーバ装置10は、自機に記憶されている書類データをイベント情報に応じて更新する。
The
次いで、クライアント端末20で実行されるカーソル移動制御処理を説明する。カーソル移動制御処理は、サーバ装置10から受信したフレームデータに応じた画面表示において、横長画面のローカルカーソルの移動速度を、縦長画面の移動速度に合わせる様に移動及び表示の制御をする処理である。
Next, a cursor movement control process executed on the
クライアント端末20において、例えば、サーバ装置10への接続要求送信に応じて、無線通信部26によりサーバ装置10からの表示画面のフレームデータが受信され、このフレームデータに対応する表示部24への画面及び当該画面内のローカルカーソルの表示が開始される。この表示部24への画面及びローカルカーソルの表示をトリガとして、CPU21により、ROM25から読み出されて適宜RAM23に展開されたカーソル移動制御プログラムに従い、カーソル移動制御処理を実行する。
In the
図3に示すように、先ず、CPU21は、縦横検出部28による表示画面の検出結果に応じて、表示部24の表示パネル24aの表示画面が縦長画面であるか否かを判別する(ステップS11)。縦長画面である場合(ステップS11;YES)、CPU21は、表示画面内のローカルカーソルの移動開始座標(x0,y0)をRAM23に保持(記憶)し、変数nを0に設定し、計時部29から出力される時刻情報に応じてタイマtをスタートする(ステップS12)。
As shown in FIG. 3, first, the
図4に示すように、表示部24に表示中の画面がFWVGAの縦長画面241である場合に、左上端点を原点Oとし、短辺L1、長辺L2を軸としてピクセル単位の座標(x,y)がとられ、移動開始座標(x0,y0)がとられる。また、タイマtは、計時部29から出力される時刻情報に応じて経時的にカウントアップされていく。
As shown in FIG. 4, when the screen being displayed on the
そして、CPU21は、ユーザから操作部22への操作入力により、ローカルカーソルの移動操作があるか否かを判別する(ステップS13)。ローカルカーソルの移動操作がない場合(ステップS13;NO)、ステップS11に移行される。ローカルカーソルの移動操作がある場合(ステップS13;YES)、CPU21は、カウント中のタイマtが、予め設定された閾値の時間thを経過したか否かを判別する(ステップS14)。時間thは、例えば、40[ms]であるものとするが、これに限定されるものではない。
And CPU21 discriminate | determines whether there exists any movement operation of a local cursor by the operation input to the
タイマtが時間thを経過していない場合(ステップS14;NO)、ステップS14に移行される。タイマtが時間thを経過した場合(ステップS14;YES)、CPU21は、ローカルカーソルを表示する第1のカーソル表示処理を実行する(ステップS15)。
When the timer t has not passed the time th (step S14; NO), the process proceeds to step S14. When the timer t has passed the time th (step S14; YES), the
ここで、図5を参照して、ステップS15の第1のカーソル表示処理を説明する。先ず、CPU21は、表示部24に表示中の縦長画面における操作部22のローカルカーソル移動入力に応じたローカルカーソルの現在座標(x1,y1)を、無線通信部26によりイベント情報である現在のローカルカーソルの位置情報x1,y1としてサーバ装置10に送信する(ステップS151)。現在座標(x1,y1)は、例えば、図4に示す座標(x1,y1)である。サーバ装置10は、基地局30及び通信ネットワークNを介して、イベント情報である現在の位置情報x1,y1をクライアント端末20から受信し、受信した位置情報x1,y1に応じて各種処理を行う。
Here, the first cursor display processing in step S15 will be described with reference to FIG. First, the
そして、CPU21は、ローカルカーソルをステップS151で取得した座標(x1,y1)の座標に移動して表示部24の縦長画面内に表示し(ステップS152)、第1のカーソル表示処理を終了する。
Then, the
図3に戻り、ステップS15の実行後、CPU21は、ステップS15でローカルカーソル表示に用いた現在座標(x1,y1)をRAM23に保持する(ステップS16)。そして、CPU21は、次式(1)を用いて、ローカルカーソルの移動距離l1を算出してRAM23に保持する(ステップS17)。
l1={(x1−x0)2+(y1−y0)2}1/2 …(1)
移動距離l1は、図4に示される現在座標(x1,y1)と座標(x0,y0)との間の距離である。
Returning to FIG. 3, after executing step S15, the
l1 = {(x1-x0) 2 + (y1-y0) 2 } 1/2 (1)
The movement distance l1 is a distance between the current coordinates (x1, y1) and the coordinates (x0, y0) shown in FIG.
そして、CPU21は、次式(2)を用いて、ローカルカーソルの移動速度v1を算出してRAM23に保持する(ステップS18)。
v1=l1/t …(2)
Then, the
v1 = l1 / t (2)
そして、CPU21は、変数nを1インクリメントし、タイマtを0に設定し、座標(x0,y0)に現在座標(x1,y1)の値を代入して設定する(ステップS19)。そして、CPU21は、変数nが、予め設定された整数の閾値nhであるか否かを判別する(ステップS20)。変数nが閾値nh未満である場合(ステップS20;NO)、ステップS13に移行される。
Then, the
変数nが閾値nh以上である場合(ステップS20;YES)、CPU21は、次式(3)を用いて、ローカルカーソルの(移動)平均速度v1_aveを算出してRAM23に保持する(ステップS22)。
v1_ave=Σv1/n …(3)
Σv1は、現在までの新しいn個の移動速度v1の加算値である。
When the variable n is greater than or equal to the threshold value nh (step S20; YES), the
v1_ave = Σv1 / n (3)
Σv1 is an addition value of the new n moving speeds v1 up to the present time.
そして、CPU21は、変数nを0に設定する(ステップS22)。そして、CPU21は、アプリケーションプログラムを終了して、表示部24のクライアントとしての画面及びローカルカーソル表示を終了するか否かを判別する(ステップS23)。クライアントとしての表示を終了しない場合(ステップS23;NO)、ステップS13に移行される。クライアントとしての表示を終了する場合(ステップS23;YES)、カーソル移動制御処理が終了する。このとき、CPU21は、無線通信部26によりアプリケーションプログラムの終了指示情報をサーバ装置10に送信する。
And CPU21 sets the variable n to 0 (step S22). Then, the
横長画面である場合(ステップS11;NO)、CPU21は、ローカルカーソルの移動開始座標(x0,y0)をRAM23に保持し、変数nを0に設定し、計時部29から出力される時刻情報に応じてタイマtをスタートする(ステップS24)。
When the screen is a landscape screen (step S11; NO), the
図6に示すように、表示部24に表示中の画面がFWVGAの縦長画面241である場合に、左上端点を原点Oとし、長辺L2、短辺L1を軸としてピクセル単位の座標(x,y)がとられ、移動開始座標(x0,y0)がとられる。
As shown in FIG. 6, when the screen being displayed on the
そして、CPU21は、ユーザからの操作部22への操作入力により、ローカルカーソルの移動操作があるか否かを判別する(ステップS25)。ローカルカーソルの移動操作がない場合(ステップS25;NO)、ステップS11に移行される。ローカルカーソルの移動操作がある場合(ステップS25;YES)、CPU21は、カウント中のタイマtが、予め設定された閾値の時間thを経過したか否かを判別する(ステップS26)。
And CPU21 discriminate | determines whether there exists any movement operation of a local cursor by the operation input to the
タイマtが時間thを経過していない場合(ステップS26;NO)、ステップS26に移行される。タイマtが時間thを経過した場合(ステップS26;YES)、CPU21は、ローカルカーソルを表示する第2のカーソル表示処理を実行する(ステップS27)。
When the timer t has not passed the time th (step S26; NO), the process proceeds to step S26. When the timer t has passed the time th (step S26; YES), the
ここで、図7を参照して、ステップS15の第1のカーソル表示処理を説明する。先ず、CPU21は、平均速度v1_aveと、後述する平均速度v2_aveとをRAM23に保持中であるか否かを判別する(ステップS271)。平均速度v1_ave,v2_aveを保持中である場合(ステップS271;YES)、CPU21は、保持中の平均速度v1_ave,v2_aveについて、v1_ave>v2_aveであるか否かを判別する(ステップS272)。
Here, the first cursor display processing in step S15 will be described with reference to FIG. First, the
v1_ave>v2_aveである場合(ステップS272;YES)、CPU21は、次式(4),(5)により、操作部22のローカルカーソル移動入力に応じたローカルカーソルの現在座標(x2,y2)と、後述する保持中の移動方向と、を用いて、修正した位置情報x2b,y2bを算出しRAM23に保持する(ステップS273)。
x2b=x2±(v1_ave−v2_ave)*th …(4)
y2b=y2±(v1_ave−v2_ave)*th …(5)
修正した位置情報x2b,y2bは、例えば、図6に示す座標(x2b,y2b)に対応する。また、式(4)の±は、保持中のX方向の移動方向の±に対応する。式(5)の±は、保持中のY方向の移動方向の±に対応する。
When v1_ave> v2_ave (step S272; YES), the
x2b = x2 ± (v1_ave−v2_ave) * th (4)
y2b = y2 ± (v1_ave−v2_ave) * th (5)
The corrected position information x2b, y2b corresponds to, for example, the coordinates (x2b, y2b) shown in FIG. Further, ± in Expression (4) corresponds to ± in the movement direction in the X direction being held. In the equation (5), ± corresponds to ± in the moving direction in the Y direction during holding.
そして、CPU21は、ステップS273で算出した表示部24に表示中の縦長画面におけるローカルカーソルの現在座標(x2b,y2b)を、無線通信部26によりイベント情報である現在の位置情報x2b,y2bとしてサーバ装置10に送信する(ステップS274)。サーバ装置10は、基地局30及び通信ネットワークNを介して、イベント情報である現在の位置情報x2b,y2bをクライアント端末20から受信し、受信した位置情報x2b,y2bに応じて各種処理を行う。
Then, the
そして、CPU21は、ローカルカーソルをステップS273で算出した現在座標(x2b,y2b)の座標に移動して表示部24の横長画面内に表示し(ステップS275)、第2のカーソル表示処理を終了する。
Then, the
平均速度v1_ave,v2_aveを保持中でない場合(ステップS271;NO)、又はv1_ave>v2_aveでない場合(ステップS272;NO)、CPU21は、表示部24に表示中の横長画面における操作部22のローカルカーソル移動入力に応じたローカルカーソルの現在座標(x2,y2)を、無線通信部26により現在のローカルカーソルの位置情報x2,y2としてサーバ装置10に送信する(ステップS276)。サーバ装置10は、基地局30及び通信ネットワークNを介して、イベント情報である現在の位置情報x2,y2をクライアント端末20から受信し、受信した位置情報x2,y2に応じて各種処理を行う。
When the average speeds v1_ave and v2_ave are not being held (step S271; NO), or when v1_ave> v2_ave is not satisfied (step S272; NO), the
そして、CPU21は、ローカルカーソルをステップS276で取得した座標(x2,y2)に移動して表示部24の横長画面内に表示し(ステップS277)、第2のカーソル表示処理を終了する。
Then, the
図3に戻り、ステップS27の実行後、CPU21は、ステップS27でローカルカーソル表示に用いた現在座標(x2,y2)をRAM23に保持する(ステップS28)。ステップS27で現在座標(x2b,y2b)をローカルカーソル表示に用いた場合に、ステップS28では、現在座標(x2b,y2b)が現在座標(x2,y2)としてRAM23に保持される。
Returning to FIG. 3, after executing step S27, the
そして、CPU21は、次式(6)を用いて、ローカルカーソルの移動距離l2を算出してRAM23に保持する(ステップS29)。
l2={(x2−x0)2+(y2−y0)2}1/2 …(6)
移動距離l2は、図6に示される移動後の座標(x2,y2)(座標(x2b,y2b))と座標(x0,y0)との間の距離である。
Then, the
l2 = {(x2−x0) 2 + (y2−y0) 2 } 1/2 (6)
The movement distance l2 is a distance between the coordinate (x2, y2) (coordinate (x2b, y2b)) and the coordinate (x0, y0) after the movement shown in FIG.
そして、CPU21は、ローカルカーソルの移動方向を算出してRAM23に保持する(ステップS30)。ローカルカーソルの移動方向は、x方向の変化分(x2−x0)の値の正負(±)と、y方向の変化分(y2−y0)の正負(±)として算出される。例えば、図6に示す例では、x2>x0、y2>y0であるため、ローカルカーソルの移動方向は、x方向:+、y方向:+となる。
Then, the
そして、CPU21は、次式(7)を用いて、ローカルカーソルの移動速度v2を算出してRAM23に保持する(ステップS31)。
v2=l2/t …(7)
Then, the
v2 = l2 / t (7)
そして、CPU21は、変数nを1インクリメントし、タイマtを0に設定し、座標(x0,y0)に現在座標(x2,y2)の値を代入して設定する(ステップS32)。そして、CPU21は、変数nが、予め設定された閾値nhであるか否かを判別する(ステップS33)。変数nが閾値nh未満である場合(ステップS33;NO)、ステップS25に移行される。
Then, the
変数nが閾値nh以上である場合(ステップS20;YES)、CPU21は、次式(8)を用いて、ローカルカーソルの(移動)平均速度v2_aveを算出してRAM23に保持する(ステップS34)。
v2_ave=Σv2/n …(8)
Σv2は、現在までの新しいn個の移動速度v2の加算値とする。
When the variable n is greater than or equal to the threshold value nh (step S20; YES), the
v2_ave = Σv2 / n (8)
Σv2 is an added value of the new n moving speeds v2 up to the present time.
そして、CPU21は、変数nを0に設定する(ステップS35)。そして、CPU21は、アプリケーションプログラムを終了して、表示部24のクライアントとしての画面及びローカルカーソル表示を終了するか否かを判別する(ステップS36)。クライアントとしての表示を終了しない場合(ステップS36;NO)、ステップS25に移行される。クライアントとしての表示を終了する場合(ステップS36;YES)、カーソル移動制御処理が終了する。このとき、CPU21は、無線通信部26によりアプリケーションプログラムの終了指示情報をサーバ装置10送信する。
And CPU21 sets the variable n to 0 (step S35). And CPU21 complete | finishes an application program and discriminate | determines whether the screen and local cursor display as a client of the
以上、本実施の形態によれば、クライアント端末20は、長方形状の表示パネル24aを有し、表示パネル24aに横長画面もしくは縦長画面として画面を表示する表示部24と、表示部24の表示画面が横長画面か縦長画面かを検出する縦横検出部28と、を備える。また、クライアント端末20は、前記表示画面が横長画面の際のローカルカーソルの平均速度v1_aveと縦長画面の際のローカルカーソルの平均速度v2_aveとを算出し、前記表示画面が縦長画面の際のカーソルの平均速度v1_aveが、横長画面の際のカーソルの平均速度v2_aveより速い場合に、前記横長画面の際のカーソルの移動量を、横長画面の際のカーソルの移動量と同じになる値に増加させるCPU21を備える。
As described above, according to the present embodiment, the
このため、シンクライアントシステム1において、ユーザが設定を行うことなく横長画面においても縦長画面と同じ速度のローカルカーソル移動を行うことができる。 For this reason, in the thin client system 1, the local cursor can be moved at the same speed as the portrait screen on the landscape screen without any setting by the user.
また、クライアント端末20のCPU21は、無線通信部26により、ローカルカーソルの位置情報をイベント情報としてサーバ装置10に送信し、前記増加させたローカルカーソルの移動量に基づく当該ローカルカーソルの位置情報を生成し、この位置情報に基づいて前記表示画面に前記ローカルカーソルを表示すると共に、前記生成された位置情報をサーバ装置10に送信する。このため、シンクライアントシステム1において、サーバ装置10は、クライアント端末20から受信した横長画面においても縦長画面と同等の速度のローカルカーソルの位置情報に応じて、クライアント端末20に提供するアプリケーションプログラムに関する処理を適切に行うことができる。
Further, the
以上の説明では、本発明に係るプログラムのコンピュータ読み取り可能な媒体としてROM25を使用した例を開示したが、この例に限定されない。
その他のコンピュータ読み取り可能な媒体として、フラッシュメモリ等の不揮発性メモリ、CD−ROM等の可搬型記録媒体を適用することが可能である。
また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。
In the above description, an example in which the
As other computer-readable media, a non-volatile memory such as a flash memory and a portable recording medium such as a CD-ROM can be applied.
A carrier wave is also applied to the present invention as a medium for providing program data according to the present invention via a communication line.
なお、上記実施の形態における記述は、本発明に係るカーソル移動制御装置及びプログラムの一例であり、これに限定されるものではない。 The description in the above embodiment is an example of the cursor movement control device and the program according to the present invention, and the present invention is not limited to this.
上記実施の形態では、クライアント端末20が携帯端末である構成としたが、これに限定されるものではない。クライアント端末20が、縦長画面及び横長画面を切り替えて表示でき、縦長画面に比べて横長画面でローカルカーソルの移動速度が遅い端末であれば、据え置き型の端末でもよい。
In the above embodiment, the
上記実施の形態では、クライアント端末20の操作部22がキー操作部である構成としたが、これに限定されるものではない。クライアント端末は、操作部がマウス等のポインティングデバイスを備えてもよく、このポインティングデバイスのローカルカーソル(ポインタ)の移動を制御する構成としてもよい。
In the said embodiment, although the
また、上記実施の形態では、ローカルカーソルの平均速度v1_ave、v2_aveを画面表示中に繰り返し算出する構成としたが、これに限定されるものではない。例えば、ローカルカーソルの平均速度を、予め設けられたカーソル速度検出モードにおいてローカルカーソルの動きから算出する構成としてもよく、表示画面が縦長画面若しくは横長画面に切り替えられた際の初期の状態で算出する構成としてもよい。 In the above embodiment, the average speeds v1_ave and v2_ave of the local cursor are repeatedly calculated during the screen display. However, the present invention is not limited to this. For example, the average speed of the local cursor may be calculated from the movement of the local cursor in the cursor speed detection mode provided in advance, and is calculated in the initial state when the display screen is switched to the portrait screen or landscape screen. It is good also as a structure.
また、上記実施の形態の図7のカーソル移動制御処理の第2のカーソル表示処理のステップS272の判別条件式を、v1_ave>k*v2_ave(k=任意の係数、例えば1.1)とし、係数kを設定可能な構成としてもよい。 In addition, the determination conditional expression in step S272 of the second cursor display process of the cursor movement control process of FIG. 7 of the above embodiment is v1_ave> k * v2_ave (k = arbitrary coefficient, for example, 1.1), and the coefficient It is good also as a structure which can set k.
また、上記実施の形態では、図7のカーソル移動制御処理のステップS273の位置情報x2b,y2bの算出において、横長画面の際のローカルカーソルの移動量を、縦長画面の際のカーソルの移動量と同じになる値に増加させることとしたが、これに限定されるものではない。位置情報x2b,y2bの算出において、横長画面の際のローカルカーソルの移動量を、縦長画面の際のローカルカーソルの移動量とほぼ同じ移動量になる値に増加させる構成としてもよい。 Further, in the above embodiment, in the calculation of the position information x2b and y2b in step S273 of the cursor movement control process of FIG. 7, the movement amount of the local cursor on the landscape screen is set to the movement amount of the cursor on the portrait screen. The value is increased to the same value, but is not limited to this. In the calculation of the position information x2b and y2b, the amount of movement of the local cursor on the landscape screen may be increased to a value that is substantially the same as the amount of movement of the local cursor on the portrait screen.
また、上記実施の形態におけるシンクライアントシステム1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。 Of course, the detailed configuration and detailed operation of each component of the thin client system 1 in the above embodiment can be changed as appropriate without departing from the spirit of the present invention.
1 シンクライアントシステム
10 サーバ装置
20 クライアント端末
21 CPU
22 操作部
23 RAM
24 表示部
24a 表示パネル
25 ROM
26 無線通信部
27 フレームバッファメモリ
28 縦横検出部
29 計時部
29a 電源部
29b バス
30 基地局
N 通信ネットワーク
DESCRIPTION OF SYMBOLS 1
22
24
26
Claims (4)
前記表示部の表示画面が横長画面か縦長画面かを検出する縦横検出部と、
前記表示画面が横長画面の際のカーソル移動の平均速度と縦長画面の際のカーソル移動の平均速度とを算出する演算部と、
前記表示画面が縦長画面の際のカーソル移動の平均速度が、横長画面の際のカーソル移動の平均速度より速い場合に、前記横長画面の際のカーソルの移動量を増加させる制御部と、を備えるカーソル移動制御装置。 A display unit having a rectangular display panel and displaying the screen as a horizontally long screen or a vertically long screen on the display panel;
A portrait and landscape detector that detects whether the display screen of the display unit is a landscape screen or a portrait screen;
A calculation unit that calculates an average speed of cursor movement when the display screen is a landscape screen and an average speed of cursor movement when the display screen is a portrait screen;
A control unit that increases the amount of movement of the cursor when the display screen is a landscape screen when the average speed of cursor movement when the display screen is a portrait screen is faster than the average speed of cursor movement when the landscape screen is Cursor movement control device.
前記通信部により、前記カーソルの位置情報をイベント情報として前記サーバ装置に送信する送信制御部と、を備え、
前記制御部は、前記増加させたカーソルの移動量に基づく当該カーソルの位置情報を生成し、この位置情報に基づいて前記表示画面に前記カーソルを表示すると共に、前記生成された位置情報を前記サーバ装置に送信する請求項1又は2に記載のカーソル移動制御装置。 A communication unit that communicates with the server device of the thin client system;
A transmission control unit that transmits the position information of the cursor as event information to the server device by the communication unit;
The control unit generates position information of the cursor based on the increased amount of cursor movement, displays the cursor on the display screen based on the position information, and displays the generated position information on the server. The cursor movement control device according to claim 1 or 2, which is transmitted to the device.
長方形状の表示パネルを有し、当該表示パネルに横長画面もしくは縦長画面として画面を表示する表示部、
前記表示部の表示画面が横長画面か縦長画面かを検出する縦横検出部、
前記表示画面が横長画面の際のカーソル移動の平均速度と縦長画面の際のカーソル移動の平均速度とを算出する演算部、
前記表示画面が縦長画面の際のカーソル移動の平均速度が、横長画面の際のカーソル移動の平均速度より速い場合に、前記横長画面の際のカーソルの移動量を増加させる制御部、
として機能させるためのプログラム。 Computer
A display unit having a rectangular display panel and displaying the screen as a landscape or portrait screen on the display panel;
A portrait and landscape detector that detects whether the display screen of the display unit is a landscape or portrait screen;
A calculation unit that calculates an average speed of cursor movement when the display screen is a landscape screen and an average speed of cursor movement when the screen is a portrait screen;
A control unit that increases the amount of movement of the cursor when the display screen is a landscape screen when the average speed of cursor movement when the display screen is a portrait screen is faster than the average speed of cursor movement when the landscape screen is displayed;
Program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010266018A JP5556626B2 (en) | 2010-11-30 | 2010-11-30 | Cursor movement control device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010266018A JP5556626B2 (en) | 2010-11-30 | 2010-11-30 | Cursor movement control device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012118651A JP2012118651A (en) | 2012-06-21 |
JP5556626B2 true JP5556626B2 (en) | 2014-07-23 |
Family
ID=46501422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010266018A Active JP5556626B2 (en) | 2010-11-30 | 2010-11-30 | Cursor movement control device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5556626B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111949150B (en) * | 2020-07-01 | 2024-02-13 | 广州希科医疗器械科技有限公司 | Method and device for controlling peripheral switching, storage medium and electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3019178B2 (en) * | 1993-05-27 | 2000-03-13 | インターナショナル・ビジネス・マシーンズ・コーポレイション | Screen display sharing system |
JP2003323402A (en) * | 2002-05-01 | 2003-11-14 | Ntt Docomo Inc | Thin client system, and thin client terminal, thin client terminal control method and control program therefor |
JP2004288048A (en) * | 2003-03-24 | 2004-10-14 | Ntt Data Corp | Pointing system |
JP4917513B2 (en) * | 2007-10-29 | 2012-04-18 | シャープ株式会社 | Portable information terminal with electrostatic pad |
WO2010032354A1 (en) * | 2008-09-22 | 2010-03-25 | 日本電気株式会社 | Image object control system, image object control method, and program |
-
2010
- 2010-11-30 JP JP2010266018A patent/JP5556626B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012118651A (en) | 2012-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10684673B2 (en) | Apparatus and control method based on motion | |
US10269160B2 (en) | Method and apparatus for processing image | |
EP2921947B1 (en) | Device and method for controlling a display panel | |
EP3136214A1 (en) | Touch operation method and apparatus for terminal | |
US10614772B2 (en) | Display method and terminal device | |
JP6081769B2 (en) | Program, information processing apparatus, information processing method, and information processing system | |
CN108513671B (en) | Display method and terminal for 2D application in VR equipment | |
CN109542304B (en) | Display content loading method, device, equipment and storage medium | |
US20230104250A1 (en) | Application icon display method and apparatus, and electronic device | |
JP2011022851A (en) | Display terminal, image processing system, and image processing method | |
CN104461312A (en) | Display control method and electronic equipment | |
US10623901B2 (en) | Wireless mobile communication apparatus, wireless communication method and program | |
JP2013050921A (en) | Pointer position correction method, pointer position correction program, and server device | |
CN108021416B (en) | Media resource loading method and terminal | |
US20130307767A1 (en) | Display device and display method | |
JP5696563B2 (en) | Information processing apparatus, screen update method, screen update program, and information processing system | |
US9021709B2 (en) | Electronic device magnetic interference indication method | |
JP5556626B2 (en) | Cursor movement control device and program | |
JP7077540B2 (en) | Terminal device, display system, and control method of terminal device | |
CN104063192A (en) | Display method and electronic equipment | |
JP2013214235A (en) | Display control device, display control method, and program | |
CN112269513A (en) | Interface display method and device and electronic equipment | |
JP6520674B2 (en) | Display system, display terminal, display method, and display program | |
KR101783389B1 (en) | Display apparatus and method for controlling operation of terminal apparatus | |
JP2001028000A (en) | Mobile communication document processor and screen display method that the processor implements |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131003 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140423 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140507 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140520 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5556626 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |