JP6325754B2 - Touch screen control method, apparatus, program, and recording medium - Google Patents

Touch screen control method, apparatus, program, and recording medium Download PDF

Info

Publication number
JP6325754B2
JP6325754B2 JP2017533680A JP2017533680A JP6325754B2 JP 6325754 B2 JP6325754 B2 JP 6325754B2 JP 2017533680 A JP2017533680 A JP 2017533680A JP 2017533680 A JP2017533680 A JP 2017533680A JP 6325754 B2 JP6325754 B2 JP 6325754B2
Authority
JP
Japan
Prior art keywords
sampling
touch screen
sensor
sensors
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017533680A
Other languages
Japanese (ja)
Other versions
JP2017527061A5 (en
JP2017527061A (en
Inventor
グオシェン リー
グオシェン リー
アンユー リュウ
アンユー リュウ
ドンドン ヤン
ドンドン ヤン
Original Assignee
シャオミ・インコーポレイテッド
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 シャオミ・インコーポレイテッド filed Critical シャオミ・インコーポレイテッド
Publication of JP2017527061A publication Critical patent/JP2017527061A/en
Publication of JP2017527061A5 publication Critical patent/JP2017527061A5/ja
Application granted granted Critical
Publication of JP6325754B2 publication Critical patent/JP6325754B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • G06F3/0443Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using a single layer of sensing electrodes
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04106Multi-sensing digitiser, i.e. digitiser using at least two different sensing technologies simultaneously or alternatively, e.g. for detecting pen and finger, for saving power or for improving position detection
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Position Input By Displaying (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

本発明は、電子分野に関し、特に、タッチスクリーン制御方法、、プログラム及び記録媒体に関する。 The present invention relates to an electronic field, in particular, touch screen control method, equipment, a program and a recording medium.

光センサは、一般的なセンサであり、携帯電話、タブレットPC、及びノートブックのような電子デバイスの中に、幅広く応用されている。   An optical sensor is a common sensor and is widely applied in electronic devices such as mobile phones, tablet PCs, and notebooks.

一般的に、電子デバイスのケースの前面の上部のエッジにおいて、一つの小さいホールを空けて、光センサを上記小さいホール内に設置する。電子デバイスは、光源から発生した周辺光が小さいホールを解して光センサに入射されると、光センサを利用して、周辺光の輝度値を測定する。   In general, a small hole is opened at the upper edge of the front surface of the case of the electronic device, and a photosensor is installed in the small hole. When the ambient light generated from the light source passes through a small hole and enters the optical sensor, the electronic device measures the luminance value of the ambient light using the optical sensor.

本発明は、関連技術中の問題を解決するために、タッチスクリーン制御方法、、プログラム及び記録媒体を提供する。 The present invention, in order to solve the problems in the related art and provides a touch screen control method, equipment, a program and a recording medium.

本発明の実施例に係る第1の態様によると、光センサが均一に分布されているタッチスクリーンを有する電子デバイスに適用されるタッチスクリーン制御方法を提供する。   According to a first aspect of an embodiment of the present invention, there is provided a touch screen control method applied to an electronic device having a touch screen in which optical sensors are uniformly distributed.

上記方法は、
上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択するステップと、
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するステップと
を含む。
The above method
Selecting N (N is a natural number of 2 or more) sampling sensors that are not shielded by the operating body from the light sensors distributed on the touch screen;
Controlling the touch screen using the N sampling sensors.

オプションとして、
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するステップは、
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップと、
上記周辺光の輝度値に基づいて、上記周辺光の輝度値と順相関関係を有する上記タッチスクリーンの輝度値を調節するステップと
を含む。
As an option,
The step of controlling the touch screen using the N sampling sensors includes:
Calculating a luminance value of ambient light based on the measurement values of the N sampling sensors;
Adjusting the brightness value of the touch screen having a forward correlation with the brightness value of the ambient light based on the brightness value of the ambient light.

オプションとして、
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するステップは、
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップと、
上記輝度値が所定の閾値を上回ると、キーボードライトをオン状態に制御するステップと、
上記輝度値が所定の閾値以下であると、キーボードライトをオフ状態に制御するステップと
を含む。
As an option,
The step of controlling the touch screen using the N sampling sensors includes:
Calculating a luminance value of ambient light based on the measurement values of the N sampling sensors;
Controlling the keyboard light to an on state when the luminance value exceeds a predetermined threshold;
And controlling the keyboard light to an off state when the luminance value is equal to or less than a predetermined threshold value.

オプションとして、上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップは、
上記N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除するステップと、
残りの各測定値の平均値を算出して、上記平均値を上記周辺光の輝度値とするステップと
を含む。
Optionally, calculating the brightness value of the ambient light based on the measured values of the N sampling sensors,
Among the measurement values of the N sampling sensors, the largest i (i is a positive integer) measurement value and the smallest j (j is a positive integer) measurement value. A step to delete,
Calculating an average value of the remaining measurement values and setting the average value as the luminance value of the ambient light.

オプションとして、
上記操作体に遮蔽された光センサの位置に基づいて、上記操作体の遮蔽位置を特定するステップと、
上記遮蔽位置に基づいて上記タッチスクリーンを制御するステップと
をさらに含む。
As an option,
Identifying the shielding position of the operating body based on the position of the optical sensor shielded by the operating body;
Controlling the touch screen based on the shielding position.

オプションとして、
上記操作体に遮蔽されていないN個のサンプリングセンサを選択するステップは、
上記操作体が上記タッチスクリーン上に作用する操作領域を取得して、上記操作領域を含む失効領域を特定するステップと、
上記失効領域の以外に位置する光センサの中から、N個のサンプリングセンサを選択するか、或いは、各選択待ちのサンプリングセンサに対して、N個のサンプリングセンサが選択されるまで、上記選択待ちのサンプリングセンサが上記失効領域内に位置すると、上記選択待ちのサンプリングセンサを、上記失効領域の以外に位置する代替のサンプリングセンサに切り替え、上記選択待ちのサンプリングセンサが上記失効領域の以外に位置すると、上記選択待ちのサンプリングセンサを選択するステップとを含み、
ここで、上記失効領域内の光センサに入射する周辺光は、上記操作体に遮蔽される。
As an option,
The step of selecting N sampling sensors not shielded by the operating body is as follows:
Obtaining an operation area on which the operating body acts on the touch screen, and specifying a revocation area including the operation area;
Select N sampling sensors from the optical sensors located outside the invalidation area, or wait for selection until N sampling sensors are selected for each of the sampling sensors waiting for selection. When the sampling sensor is located in the invalidation area, the sampling sensor waiting for selection is switched to an alternative sampling sensor located outside the invalidation area, and the sampling sensor waiting for selection is located outside the invalidation area. Selecting a sampling sensor waiting for selection,
Here, ambient light incident on the optical sensor in the invalidation area is shielded by the operating body.

オプションとして、
上記選択待ちのサンプリングセンサを、上記失効領域の以外に位置する代替のサンプリングセンサに切り替えるステップは、
光センサが上記タッチスクリーン上にアレイ分布された場合、行方向、或いは、列方向において、上記選択待ちのサンプリングセンサとの距離が最も近くて、且つ、上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るステップ、
或いは、
第1ライン上において所定の方向に沿ってサンプリングセンサを選択する場合、上記第1ラインと平行し、且つ、上記失効領域と互いに交差しない第2ラインを特定して、上記第2ライン上において上記選択待ちのサンプリングセンサに対応する光センサを取得して、上記代替のサンプリングセンサを得るか、或いは、上記所定の方向を沿って上記第1ライン上において上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るステップ
を含む。
As an option,
The step of switching the sampling sensor waiting for selection to an alternative sampling sensor located outside the invalidation area is as follows:
When the optical sensors are arrayed on the touch screen, the optical sensors that are closest to the sampling sensor waiting for selection in the row direction or the column direction and are located outside the invalidation area are arranged. Selecting to obtain the alternative sampling sensor;
Or
When selecting a sampling sensor along a predetermined direction on the first line, a second line that is parallel to the first line and does not intersect with the invalidation area is specified, and the sampling line is selected on the second line. An optical sensor corresponding to a sampling sensor waiting for selection is obtained to obtain the alternative sampling sensor, or an optical sensor located on the first line along the predetermined direction other than the invalidation area. Selecting to obtain the alternative sampling sensor.

本発明の実施例に係る第2の態様によると光センサが均一に分布されているタッチスクリーンを有する電子デバイスに適用される、タッチスクリーン制御装置を提供する。   According to a second aspect of the present invention, there is provided a touch screen control apparatus applied to an electronic device having a touch screen in which light sensors are uniformly distributed.

上記装置は、
上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択するためのセンサ選択モジュールと、
根据上記センサ選択モジュールが選択した上記N個のサンプリングセンサ上記タッチスクリーンを制御するための第1制御モジュールと
を備える。
The above device
A sensor selection module for selecting N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body from the optical sensors distributed on the touch screen;
A first control module for controlling the N sampling sensors selected by the sensor selection module and the touch screen.

オプションとして、
上記第1制御モジュールは、
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するための第1算出サブモジュールと、
上記第1算出サブモジュールが得た上記周辺光の輝度値に基づいて、上記周辺光の輝度値と順相関関係を有する上記タッチスクリーンの輝度値を調節するための輝度調節サブモジュールと
を備える。
As an option,
The first control module includes:
A first calculation submodule for calculating a luminance value of ambient light based on the measurement values of the N sampling sensors;
A luminance adjustment submodule for adjusting the luminance value of the touch screen having a forward correlation with the luminance value of the ambient light based on the luminance value of the ambient light obtained by the first calculation submodule.

オプションとして、
上記第1制御モジュールは、
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するための第2算出サブモジュールと、
上記第2算出サブモジュールが得た上記輝度値が所定の閾値を上回ると、キーボードライトをオン状態に制御するための第1制御サブモジュールと、
上記第2算出サブモジュールが得た上記輝度値が所定の閾値以下であると、キーボードライトをオフ状態に制御するための第2制御サブモジュールと
を備える。
As an option,
The first control module includes:
A second calculation submodule for calculating a luminance value of ambient light based on the measurement values of the N sampling sensors;
A first control submodule for controlling the keyboard light to an on state when the luminance value obtained by the second calculation submodule exceeds a predetermined threshold;
A second control submodule for controlling the keyboard light to an off state when the luminance value obtained by the second calculation submodule is equal to or less than a predetermined threshold value;

オプションとして、
上記第1算出サブモジュールは、また、上記N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除し、残りの各測定値の平均値を算出して、上記平均値を上記周辺光の輝度値とするか、
或いは、
上記第2算出サブモジュールは、また、上記N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除し、残りの各測定値の平均値を算出して、上記平均値を上記周辺光の輝度値とする。
As an option,
The first calculation sub-module also includes the largest i (i is a positive integer) measurement value and the smallest j (j is a positive value) among the measurement values of the N sampling sensors. Or the average value of each remaining measurement value, and the average value is used as the luminance value of the ambient light,
Or
The second calculation sub-module also includes the largest i (i is a positive integer) measurement value and the smallest j (j is a positive value) among the measurement values of the N sampling sensors. Are deleted, the average value of the remaining measurement values is calculated, and the average value is used as the luminance value of the ambient light.

オプションとして、
上記操作体に遮蔽された光センサの位置に基づいて、上記操作体の遮蔽位置を特定するための位置特定モジュールと、
上記位置特定モジュールが特定した上記遮蔽位置に基づいて、上記タッチスクリーンを制御するための第2制御モジュールと
をさらに備える。
As an option,
A position specifying module for specifying the shielding position of the operating body based on the position of the optical sensor shielded by the operating body;
And a second control module for controlling the touch screen based on the shielding position specified by the position specifying module.

オプションとして、
上記センサ選択モジュールは、
上記操作体が上記タッチスクリーン上に作用する操作領域を取得して、上記操作領域を含む失効領域を特定するための領域特定サブモジュールと、
上記失効領域の以外に位置する光センサの中から、N個のサンプリングセンサを選択するか、或いは、各選択待ちのサンプリングセンサに対して、N個のサンプリングセンサが選択されるまで、上記選択待ちのサンプリングセンサが上記失効領域内に位置すると、上記選択待ちのサンプリングセンサを、上記失効領域の以外に位置する代替のサンプリングセンサに切り替え、上記選択待ちのサンプリングセンサが上記失効領域の以外に位置すると、上記選択待ちのサンプリングセンサを選択するためのセンサ選択サブモジュールとを備え、
ここで、上記失効領域内の光センサに入射する周辺光は、上記操作体に遮蔽される。
As an option,
The sensor selection module
An area specifying submodule for acquiring an operation area on which the operating body acts on the touch screen, and specifying a revocation area including the operation area;
Select N sampling sensors from the optical sensors located outside the invalidation area, or wait for selection until N sampling sensors are selected for each of the sampling sensors waiting for selection. When the sampling sensor is located in the invalidation area, the sampling sensor waiting for selection is switched to an alternative sampling sensor located outside the invalidation area, and the sampling sensor waiting for selection is located outside the invalidation area. A sensor selection submodule for selecting the sampling sensor waiting for selection, and
Here, ambient light incident on the optical sensor in the invalidation area is shielded by the operating body.

オプションとして、上記センサ選択サブモジュールは、
光センサが上記タッチスクリーン上にアレイ分布された場合、行方向、或いは、列方向において、上記選択待ちのサンプリングセンサとの距離が最も近くて、且つ、上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るための第1選択サブモジュール、
或いは、
第1ライン上において所定の方向に沿ってサンプリングセンサを選択する場合、上記第1ラインと平行し、且つ、上記失効領域と互いに交差しない第2ラインを特定して、上記第2ライン上において上記選択待ちのサンプリングセンサに対応する光センサを取得して、上記代替のサンプリングセンサを得るか、或いは、上記所定の方向を沿って上記第1ライン上において上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るための第2選択サブモジュール
を備える。
Optionally, the sensor selection submodule is
When the optical sensors are arrayed on the touch screen, the optical sensors that are closest to the sampling sensor waiting for selection in the row direction or the column direction and are located outside the invalidation area are arranged. A first selection sub-module for selecting to obtain the alternative sampling sensor,
Or
When selecting a sampling sensor along a predetermined direction on the first line, a second line that is parallel to the first line and does not intersect with the invalidation area is specified, and the sampling line is selected on the second line. An optical sensor corresponding to a sampling sensor waiting for selection is obtained to obtain the alternative sampling sensor, or an optical sensor located on the first line along the predetermined direction other than the invalidation area. A second selection sub-module for selecting and obtaining the alternative sampling sensor;

本発明の実施例に係る第3の態様によると、タッチスクリーン制御装置を提供する。   According to a third aspect of an embodiment of the present invention, a touch screen control device is provided.

上記装置は、
光センサが均一に分布されているタッチスクリーンと、
プロセッサと、
上記プロセッサが実行可能な命令を記憶するためのメモリと
を備え、
上記プロセッサは、
上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択し、
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するように構成される。
本発明の実施例の第4の態様によると、プログラムを提供し、当該プログラムは、プロセッサに実行されることにより、上記のタッチスクリーン制御方法を実現する。
本発明の実施例の第5の態様によると、記録媒体を提供し、当該記録媒体には、上記プログラムが記録されている。
The above device
A touch screen with light sensors uniformly distributed;
A processor;
A memory for storing instructions executable by the processor,
The processor
From the optical sensors distributed on the touch screen, select N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body,
The touch screen is controlled using the N sampling sensors.
According to a fourth aspect of the embodiment of the present invention, a program is provided, and the program is executed by a processor to realize the touch screen control method described above.
According to a fifth aspect of the embodiment of the present invention, a recording medium is provided, and the program is recorded on the recording medium.

本発明の実施例が提供する構成の有益な効果は以下のとおりである。   The beneficial effects of the configuration provided by the embodiments of the present invention are as follows.

上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN個のサンプリングセンサを選択して、上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御することにより、これらN個の正確な測定値に基づいて、周辺光の輝度値を算出して、上記輝度値に基づいてタッチスクリーンを制御することができる。このようにして、小さいホール内に設置された一つの光センサが遮蔽され易いため、測定した周辺光の輝度値が不正確になって、タッチスクリーンの制御に影響を及ぼす問題を解決して、スクリーン制御の精度を改善する効果を得る。   By selecting N sampling sensors that are not shielded by the operating body from the optical sensors distributed on the touch screen, and controlling the touch screen using the N sampling sensors, The brightness value of the ambient light can be calculated based on these N accurate measurement values, and the touch screen can be controlled based on the brightness value. In this way, since one light sensor installed in a small hall is likely to be blocked, the brightness value of the measured ambient light becomes inaccurate, solving the problem affecting the control of the touch screen, The effect of improving the accuracy of screen control is obtained.

以上の統括な記述と以下の細部記述は、ただ例示的なものであり、本発明を制限するものではないと、理解するべきである。   It should be understood that the foregoing general description and the following detailed description are merely exemplary and do not limit the invention.

ここでの図面は、明細書に合併されて本明細書の一部を構成して本発明に合致する実施例を示し、明細書とともに本発明の原理の説明するに用いられる。
図1は、例示的な一実施例に係るタッチスクリーン制御方法を示すフローチャートである。 図2Aは、例示的なもう一実施例に係るタッチスクリーン制御方法を示すフローチャートである。 図2Bは、例示的なもう一実施例に係る光センサの分布模式図である。 図2Cは、例示的なもう一実施例に係る第1のケースの失効領域を示す模式図である。 図2Dは、例示的なもう一実施例に係る第2のケースの失効領域を示す模式図である。 図2Eは、例示的なもう一実施例に係る第3のケースの失効領域を示す模式図である。 図2Fは、例示的なもう一実施例に係る第1ラインを示す模式図である。 図2Gは、例示的なもう一実施例に係る第1ライン、及び第2ラインを示す模式図である。 図3は、例示的な一実施例に係るタッチスクリーン制御装置を示すブロック図である。 図4は、例示的な一実施例に係るタッチスクリーン制御装置を示すブロック図である。 図5は、例示的な一実施例に係るタッチスクリーン制御に使用される装置を示すブロック図である。
The drawings are hereby incorporated into the specification and constitute a part of this specification and illustrate an embodiment consistent with the present invention. Together with the specification, the drawings are used to explain the principles of the invention.
FIG. 1 is a flowchart illustrating a touch screen control method according to an exemplary embodiment. FIG. 2A is a flowchart illustrating a touch screen control method according to another exemplary embodiment. FIG. 2B is a distribution schematic diagram of an optical sensor according to another exemplary embodiment. FIG. 2C is a schematic diagram illustrating a revocation area of a first case according to another exemplary embodiment. FIG. 2D is a schematic diagram illustrating a revocation area of a second case according to another exemplary embodiment. FIG. 2E is a schematic diagram illustrating a revocation area of a third case according to another exemplary embodiment. FIG. 2F is a schematic diagram illustrating a first line according to another exemplary embodiment. FIG. 2G is a schematic diagram illustrating a first line and a second line according to another exemplary embodiment. FIG. 3 is a block diagram illustrating a touch screen controller according to an exemplary embodiment. FIG. 4 is a block diagram illustrating a touch screen controller according to an exemplary embodiment. FIG. 5 is a block diagram illustrating an apparatus used for touch screen control according to an exemplary embodiment.

ここで、例示的な実施例を詳細に説明する。また、説明中の例は、図面に示している。以下の記述において、図面を説明する際に特に説明しない場合、異なる図面中の同一の符号は、同一或は同様な要素を意味する。以下の例示的な実施例において記述する実施方法は、本発明に合致するすべての実施方法を代表しない。逆に、それらは、添付の特許請求の範囲において詳細に記述された、本発明のいくつかの態様と合致する装置、及び方法の例に過ぎない。   An exemplary embodiment will now be described in detail. Examples in the description are shown in the drawings. In the following description, the same reference numerals in different drawings refer to the same or similar elements unless otherwise described when the drawings are described. The implementation methods described in the following illustrative examples are not representative of all implementation methods consistent with the present invention. On the contrary, they are merely examples of apparatus and methods consistent with certain aspects of the present invention as described in detail in the appended claims.

図1は、例示的な一実施例に係るタッチスクリーン制御方法を示すフローチャートである。上記タッチスクリーン制御方法は、タッチスクリーンを有する電子デバイスに適用される。タッチスクリーン上には、光センサが均一に分布されている。図1に示したように、上記タッチスクリーン制御方法は、以下のステップを含む。   FIG. 1 is a flowchart illustrating a touch screen control method according to an exemplary embodiment. The touch screen control method is applied to an electronic device having a touch screen. Optical sensors are uniformly distributed on the touch screen. As shown in FIG. 1, the touch screen control method includes the following steps.

ステップ101において、タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択する。   In step 101, N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body are selected from the optical sensors distributed on the touch screen.

ステップ102において、N個のサンプリングセンサを利用してタッチスクリーンを制御する。   In step 102, the touch screen is controlled using N sampling sensors.

上記のように、本発明によって提供するタッチスクリーン制御方法によると、上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN個のサンプリングセンサを選択して、上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御することにより、これらN個の正確な測定値に基づいて、周辺光の輝度値を算出して、上記輝度値に基づいてタッチスクリーンを制御することができる。このようにして、小さいホール内に設置された一つの光センサが遮蔽され易いため、測定した周辺光の輝度値が不正確になって、タッチスクリーンの制御に影響を及ぼす問題を解決して、スクリーン制御の精度を改善する効果を得る。   As described above, according to the touch screen control method provided by the present invention, N sampling sensors that are not shielded by the operating body are selected from the optical sensors distributed on the touch screen, and the N By controlling the touch screen using the sampling sensors, the brightness value of the ambient light is calculated based on the N accurate measurement values, and the touch screen is controlled based on the brightness value. be able to. In this way, since one light sensor installed in a small hall is likely to be blocked, the brightness value of the measured ambient light becomes inaccurate, solving the problem affecting the control of the touch screen, The effect of improving the accuracy of screen control is obtained.

図2Aは、例示的なもう一実施例に係るタッチスクリーン制御方法を示すフローチャートである。上記タッチスクリーン制御方法は、タッチスクリーンを有する電子デバイスに適用される。タッチスクリーン上には、光センサが均一に分布されている。図2Aに示したように、上記タッチスクリーン制御方法は、以下のステップを含む。   FIG. 2A is a flowchart illustrating a touch screen control method according to another exemplary embodiment. The touch screen control method is applied to an electronic device having a touch screen. Optical sensors are uniformly distributed on the touch screen. As shown in FIG. 2A, the touch screen control method includes the following steps.

ステップ201において、上記操作体が上記タッチスクリーン上に作用する操作領域を取得して、操作領域を含む失効領域を特定し、ここで、失効領域内の光センサに入射する周辺光は、操作体によって遮蔽される。   In step 201, an operation area on which the operating body acts on the touch screen is acquired, and a revocation area including the operation area is specified. Here, ambient light incident on a photosensor in the revocation area is Is shielded by.

本実施例において、タッチスクリーン上には、光センサが均一に分布されている。図2Bに示した光センサの分布模式図を参考すると、丸は光センサ210を示し、最も上方の長方形は制御チップ220を示し、ラインは導線230を示し、下方に分布された各長方形はピクセル色ブロック(pixel color block)240を示す。ここで、各光センサ210は、導線230を解して制御チップ220に接続される。   In this embodiment, the photosensors are uniformly distributed on the touch screen. Referring to the distribution schematic diagram of the optical sensor shown in FIG. 2B, the circle indicates the optical sensor 210, the uppermost rectangle indicates the control chip 220, the line indicates the conductor 230, and each rectangle distributed below indicates the pixel. A color color block 240 is shown. Here, each optical sensor 210 is connected to the control chip 220 through the conducting wire 230.

タッチスクリーン上に多数の光センサが分布されているため、全部の光センサを利用して周辺光を測定すると、より多くのリソースを消費することになる。このため、電子デバイスは、この中のN個のサンプリングセンサを選択して、サンプリングセンサによって周辺光の輝度値を測定してもよい。電子デバイスは、N個のサンプリングセンサを選択する過程において、ユーザによりタッチスクリーン上でタッチ操作をトリガすると、操作体がタッチスクリーン上に作用するタッチ操作を検知できる。ここで、操作体は、ユーザの指であってもよいし、ユーザの手の平であってもよいし、ユーザの他の部位であってもよく、本実施例はこれに対して限定しない。   Since a large number of photosensors are distributed on the touch screen, more resources are consumed when ambient light is measured using all the photosensors. For this reason, the electronic device may select N sampling sensors among them and measure the luminance value of the ambient light by the sampling sensor. When the electronic device triggers a touch operation on the touch screen by the user in the process of selecting N sampling sensors, the electronic device can detect the touch operation that acts on the touch screen. Here, the operating body may be a user's finger, the user's palm, or another part of the user, and the present embodiment is not limited thereto.

タッチスクリーン上には、複数のタッチユニットが均一に分布されている。タッチ操作がタッチスクリーン上に作用されると、タッチ操作によって被れたタッチユニットの電気容量値が変更される。電子デバイスは、電気容量値が変更されたタッチユニットから形成された領域を、タッチ操作の操作領域として特定する。本実施例においては、電気容量値が変更されたタッチユニットを、接触部と呼ぶ。   A plurality of touch units are uniformly distributed on the touch screen. When the touch operation is applied to the touch screen, the capacitance value of the touch unit that is covered by the touch operation is changed. The electronic device identifies an area formed from the touch unit whose capacitance value has been changed as an operation area for the touch operation. In this embodiment, the touch unit whose electric capacitance value has been changed is called a contact portion.

操作体と操作領域とが互いに接触するため、操作領域内に位置する光センサにとっては、これら光センサに入射すべき周辺光が、操作体によって遮蔽される。このため、これら光センサによって測定した測定値は、周辺光の実際の輝度値ではないため、測定する周辺光の輝度値の精度に影響を及ぼす。また、光源が電子デバイスの上方に位置すると、周辺光に照射された操作体は、タッチスクリーン上に影を形成することになる。影内に位置する光センサによって測定された測定値も、周辺光の実際の輝度値ではないため、測定する周辺光の輝度値の精度に影響を及ぼす。このため、周辺光の輝度値を測定する時に、これら光センサの測定値を除外する必要がある。   Since the operating body and the operating area come into contact with each other, the ambient light to be incident on these optical sensors is shielded by the operating body for the optical sensors located in the operating area. For this reason, since the measurement value measured by these optical sensors is not the actual luminance value of the ambient light, it affects the accuracy of the luminance value of the ambient light to be measured. When the light source is positioned above the electronic device, the operating body irradiated with the ambient light forms a shadow on the touch screen. Since the measured value measured by the optical sensor located in the shadow is not the actual luminance value of the ambient light, it affects the accuracy of the luminance value of the ambient light to be measured. For this reason, when measuring the luminance value of ambient light, it is necessary to exclude the measured values of these optical sensors.

本実施例において、入射する周辺光が操作体によって遮蔽された光センサから形成した領域を、失効領域とする。上記失効領域は、操作領域、及び影領域を含む。操作体は、指である可能もあるし、手の平である可能もあるが、指及び手の平が操作する時に形成する影が互いに異なる。このため、本実施例においては、指、及び手の平が操作する時に形成する影が互いに異なることによって、互いに異なる影アルゴリズムを採用して、同一の影アルゴリズムを採用して指、及び手の平によって形成された失効領域を算出するため、失効領域の特定が不正確な問題を解決して、失効領域を特定する精度を改善する効果を得た。以下、失効領域の特定方法に対して、説明する。   In this embodiment, a region formed from the optical sensor in which the incident ambient light is shielded by the operating body is defined as an invalidation region. The revocation area includes an operation area and a shadow area. The operation body may be a finger or a palm, but shadows formed when the finger and the palm are operated are different from each other. For this reason, in this embodiment, the shadows formed when the finger and the palm are operated are different from each other, so that different shadow algorithms are adopted and the same shadow algorithm is adopted to form the fingers and the palm. In order to calculate the revocation area, the problem of inaccurate specification of the revocation area was solved, and the accuracy of specifying the revocation area was improved. Hereinafter, a method for specifying the revocation area will be described.

第1の特定方法において、操作領域内の任意の位置から操作領域の中心位置までの距離より大きい第1所定の長さを取得して、中心位置を中心として、第1所定の長さに基づいて操作領域を含む失効領域を特定する。   In the first specifying method, a first predetermined length larger than a distance from an arbitrary position in the operation area to the center position of the operation area is acquired, and based on the first predetermined length with the center position as a center. To specify the revocation area including the operation area.

ここで、第1所定の長さは、操作領域中の任意の位置から操作領域の中心位置までの距離より大きくする必要がある。このようして、操作領域内の全ての位置が全部失効領域内に位置することになる。一般的に、第1所定の長さを、例えば、20mmのように、より大きく設定してもよい。或いは、他の値に設定してもよく、本実施例においては第1所定の長さの値に対して限定しない。   Here, the first predetermined length needs to be larger than the distance from an arbitrary position in the operation area to the center position of the operation area. In this way, all the positions in the operation area are all located in the invalidation area. In general, the first predetermined length may be set larger, for example, 20 mm. Alternatively, other values may be set, and in the present embodiment, the value is not limited to the value of the first predetermined length.

本実施例において、失効領域の形状を設定してもよい。例えば、失効領域の形状は、円、楕円、正多角形、不規則形状、等であってもよい。失効領域の形状が円であると、第1所定の長さは半径の長さであり、失効領域の形状が正多角形であると、第1所定の長さは対角線の半分の長さである。   In this embodiment, the shape of the revocation area may be set. For example, the shape of the revocation area may be a circle, an ellipse, a regular polygon, an irregular shape, or the like. If the shape of the revocation area is a circle, the first predetermined length is the length of the radius, and if the shape of the revocation area is a regular polygon, the first predetermined length is half the length of the diagonal line. is there.

図2Cに示した第1のケースの失効領域の模式図を参考すると、図2Cの左側の図面においては、ユーザの指が操作体としてタッチスクリーン上に作用している。図2C右側の図面において、領域aは、指の操作領域であり、領域a内の黒丸は、操作領域の中心位置である。上記の中心位置を中心とし、第1所定の長さを半径として、領域bを得ることができる。領域bが、失効領域である。   Referring to the schematic diagram of the revocation area of the first case shown in FIG. 2C, in the drawing on the left side of FIG. 2C, the user's finger acts on the touch screen as the operating body. In the drawing on the right side of FIG. 2C, the area a is a finger operation area, and the black circle in the area a is the center position of the operation area. The region b can be obtained with the center position as the center and the first predetermined length as the radius. Region b is the revocation area.

第2の特定方法において、タッチ操作が操作領域内に作用する各接触部の操作強さを取得して、操作強さが減少される速度が一番速い方向を長軸方向と特定して、楕円の失効領域を生成する。上記長軸方向は、長軸上の第1位置から第2位置への方向であり、且つ、第1位置から操作領域までの距離は、第2位置から操作領域までの距離より小さい。上記楕円の失効領域は、操作領域を含む。   In the second identification method, the operation strength of each contact portion where the touch operation acts in the operation region is acquired, the direction in which the operation strength is reduced is determined as the long axis direction, Creates an ellipse stale region. The major axis direction is a direction from the first position to the second position on the major axis, and the distance from the first position to the operation area is smaller than the distance from the second position to the operation area. The ellipse revocation area includes an operation area.

指の影が細長形であるため、また、楕円の失効領域を設定してもよい。実現する時に、指の方向に基づいて影領域を特定し、また、影領域、及び操作領域に基づいて、失効領域を特定してもよい。ここで、指の方向は、操作強さに基づいて検出してもよい。
図2Dに示した第2のケースの失効領域の模式図を参考すると、図2Dの左側の図面において、ユーザの指が操作体としてタッチスクリーン上に作用される。図2Dの右側の図面において、領域aは、指の操作領域であり、指の方向に基づいて操作強さが減少される速度が一番速い方向は、第1位置であるD1、及び第2位置であるD2が位置する直線の方向である。長軸方向を特定した後、楕円の失効領域bを生成する。
Since the shadow of the finger is elongated, an ellipse revocation area may be set. When realizing, the shadow area may be specified based on the direction of the finger, and the revocation area may be specified based on the shadow area and the operation area. Here, the direction of the finger may be detected based on the operation strength.
Referring to the schematic diagram of the revocation area of the second case shown in FIG. 2D, in the drawing on the left side of FIG. 2D, the user's finger acts on the touch screen as the operating body. In the drawing on the right side of FIG. 2D, a region a is a finger operation region, and the direction in which the operation strength is reduced based on the direction of the finger is the fastest in the direction D1 and the second position. This is the direction of the straight line where the position D2 is located. After specifying the major axis direction, an elliptical revocation area b is generated.

第3の特定方法において、第2の所定の長さを取得し、操作領域の境界上の接触部を始点として、予め設定した方向に沿って第2の所定の長さだけ延長して得られた各接触部によって囲まれた領域を、操作領域を含む失効領域として特定する。ここで、予め設定した方向は、操作領域の中心位置から接触部への方向である。   In the third identification method, the second predetermined length is obtained and obtained by extending the second predetermined length along a preset direction from the contact portion on the boundary of the operation region as a starting point. The area surrounded by the contact portions is specified as the revocation area including the operation area. Here, the preset direction is a direction from the center position of the operation region to the contact portion.

ここで、第2の所定の長さを、より小さく設定してもよい。例えば、第2の所定の長さは、第1所定の長さより、小さい。第1所定の長さが10mmであると、第2の所定の長さを20mmに設定してもよい。当然ながら、第2の所定の長さを他の値に設定してもよく、本実施例においては第2の所定の長さの値に対して限定しない。   Here, the second predetermined length may be set smaller. For example, the second predetermined length is smaller than the first predetermined length. If the first predetermined length is 10 mm, the second predetermined length may be set to 20 mm. Of course, the second predetermined length may be set to another value, and in the present embodiment, the second predetermined length is not limited to the value of the second predetermined length.

図2Eに示した第3のケースの失効領域の模式図を参考すると、図2Eの左側の図面において、ユーザの手の平が操作体としてタッチスクリーン上に作用する。図2Eの右側の図面において、領域aは、手の平の操作領域であり、領域a中の黒丸は、操作領域の中心位置である。操作領域の境界上の各接触部に対して、中心位置から上記接触部への方向を、上記接触部に対応する所定の方向として特定して、上記接触部から上記所定の方向を沿って第2の所定の長さdだけ延長し、各接触部を延長して得られる接触部によって囲まれた領域bを、失効領域として特定する。   Referring to the schematic diagram of the revocation area of the third case shown in FIG. 2E, in the drawing on the left side of FIG. 2E, the palm of the user acts on the touch screen as the operating body. In the drawing on the right side of FIG. 2E, the area a is an operation area of the palm, and the black circle in the area a is the center position of the operation area. For each contact portion on the boundary of the operation region, the direction from the center position to the contact portion is specified as a predetermined direction corresponding to the contact portion, and the first direction from the contact portion along the predetermined direction is specified. A region b that is extended by a predetermined length d of 2 and is surrounded by contact portions obtained by extending each contact portion is specified as a revocation region.

ステップ202において、失効領域の以外に位置する光センサの中から、N(Nは2以上の自然数である)個のサンプリングセンサを選択するか、或いは、各選択待ちのサンプリングセンサに対して、N個のサンプリングセンサが選択されるまで、選択待ちのサンプリングセンサが失効領域内に位置すると、選択待ちのサンプリングセンサを失効領域の以外に位置する代替のサンプリングセンサに切り替え、選択待ちのサンプリングセンサが失効領域の以外に位置すると、選択待ちのサンプリングセンサを選択する。   In step 202, N sampling sensors (N is a natural number equal to or greater than 2) are selected from the optical sensors located outside the revocation area, or N is selected for the sampling sensors waiting for selection. If a sampling sensor waiting for selection is located in the invalidation area until one sampling sensor is selected, the sampling sensor waiting for selection is switched to an alternative sampling sensor located outside the invalidation area, and the sampling sensor waiting for selection expires. If it is located outside the area, a sampling sensor waiting for selection is selected.

本実施例は、失効領域に基づいてN個のサンプリングセンサを選択する選択方法を2種提供する。以下、これら2種の選択方法を、それぞれ、説明する。   The present embodiment provides two selection methods for selecting N sampling sensors based on the revocation area. Hereinafter, each of these two types of selection methods will be described.

第1の選択方法において、電子デバイスは、まず、失効領域に基づいて操作体によって遮蔽された光センサを除外してから、残りの光センサの中からN個のサンプリングセンサを選択する。この時、電子デバイスは、残りの光センサの中から、N個のサンプリングセンサをランダムに選択してもよいし、まず、サンプリングセンサの分布ラインを特定してから、分布ラインにそってN個のサンプリングセンサを選択してもよく、本実施例は選択方法に対して限定しない。   In the first selection method, the electronic device first excludes the optical sensors shielded by the operating body based on the expired area, and then selects N sampling sensors from the remaining optical sensors. At this time, the electronic device may randomly select N sampling sensors from the remaining optical sensors, or first specify the distribution line of the sampling sensor and then N N along the distribution line. The sampling sensor may be selected, and this embodiment is not limited to the selection method.

第2の選択方法において、電子デバイスは、まず、所定のルールに従って選択待ちのサンプリングセンサを特定して、失効領域に基づいて上記選択待ちのサンプリングセンサが操作体によって遮蔽されたことを特定されてから、上記選択待ちのサンプリングセンサに対応する代替のサンプリングセンサを選択する。ここで、代替のサンプリングセンサに入射する周辺光は、操作体によって遮蔽されない。   In the second selection method, the electronic device first specifies a sampling sensor waiting for selection according to a predetermined rule, and is specified that the sampling sensor waiting for selection is shielded by the operating body based on the invalidation area. Then, an alternative sampling sensor corresponding to the sampling sensor waiting for selection is selected. Here, the ambient light incident on the alternative sampling sensor is not shielded by the operating body.

実際に実現する時に、電子デバイスは、まず、所定のルールに従って、選択待ちのサンプリングセンサを特定する。ここで、所定のルールは、光センサがタッチスクリーン上にアレイ分布される場合、q(qは正の整数である)行を空けて1行を特定し、1行においてp(pは正の整数)個の光センサを空けて一つの選択待ちのサンプリングセンサを特定するルールであってもよい。特定した各選択待ちのサンプリングセンサは、均一にタッチスクリーン上に分布されるため、測定した周辺光の輝度値が、もっとも正確になる。例えば、電子デバイス上に、100*100の光センサが分布されている場合、Nを100に想定すると、第1行中の第1、第11、第21…第91の光センサを選択待ちのサンプリングセンサとして特定し、第11行中の第1、第11、第21…第91の光センサを選択待ちのサンプリングセンサとして特定し、…、第91行中の第1、第11、第21…第91の光センサを選択待ちのサンプリングセンサとして特定して、100個の選択待ちのサンプリングセンサを選択する。   When actually implemented, the electronic device first specifies a sampling sensor waiting for selection according to a predetermined rule. Here, when the photosensors are array-distributed on the touch screen, the predetermined rule specifies q (q is a positive integer) and identifies one row, and p (p is positive) in one row. It may be a rule that specifies a sampling sensor waiting for selection by leaving an integer number of optical sensors. Since the specified sampling sensors waiting to be selected are uniformly distributed on the touch screen, the measured brightness value of the ambient light becomes the most accurate. For example, when 100 * 100 photosensors are distributed on an electronic device, assuming that N is 100, the first, eleventh, twenty-first to nineteenth photosensors in the first row are waiting for selection. The first, eleventh, twenty-first to ninety-first photosensors in the eleventh row are identified as sampling sensors waiting for selection, and the first, eleventh, and twenty-first in the 91st row. ... The 91st optical sensor is specified as a sampling sensor waiting for selection, and 100 sampling sensors waiting for selection are selected.

或いは、所定のルールは、タッチスクリーン上で、サンプリングセンサの分布ラインを特定して、上記ラインを第1ラインとして、上記第1ライン上においてN個の選択待ちのサンプリングセンサを均一に特定するルールであってもよい。ここで、第1ラインは、直線であってもよいし、折線であってもよいし、曲線であってもよく、本実施例はこれに対して限定しない。図2Fに示した第1ラインの模式図を参考すると、ここで、第1ラインpは、横方向の直線であり、第1ラインqは、垂直の直線であり、第1ラインmは、対角線であり、第1ラインnは、曲線である。   Alternatively, the predetermined rule is that a sampling sensor distribution line is specified on the touch screen, the line is the first line, and N selection waiting sampling sensors are uniformly specified on the first line. It may be. Here, the first line may be a straight line, a broken line, or a curved line, and the present embodiment is not limited thereto. Referring to the schematic diagram of the first line shown in FIG. 2F, the first line p is a horizontal straight line, the first line q is a vertical straight line, and the first line m is a diagonal line. And the first line n is a curve.

本実施例において、一つの選択待ちのサンプリングセンサを特定した後に、上記選択待ちのサンプリングセンサが失効領域内に位置しているか否かを検出する必要がある。上記選択待ちのサンプリングセンサが失効領域内に位置していると、代替のサンプリングセンサを取得して、上記代替のサンプリングセンサを最終的に選択するサンプリングセンサとし、上記選択待ちのサンプリングセンサが失効領域の以外に位置すると、代替のサンプリングセンサを取得する必要がなく、上記選択待ちのサンプリングセンサを選択して最終的に選択するサンプリングセンサとする。   In this embodiment, after one sampling sensor waiting for selection is specified, it is necessary to detect whether or not the sampling sensor waiting for selection is located in the invalidation area. If the sampling sensor waiting for selection is located in the revocation area, an alternative sampling sensor is acquired and the alternative sampling sensor is finally selected as the sampling sensor, and the sampling sensor waiting for selection is the revocation area. If it is located other than the above, it is not necessary to acquire an alternative sampling sensor, and the sampling sensor waiting for selection is selected and finally selected.

本実施例は、選択待ちのサンプリングセンサを代替のサンプリングセンサに切り替える切り替え方法を2種提供する。以下、2種の切り替え方法をそれぞれ説明する。   This embodiment provides two switching methods for switching a sampling sensor waiting for selection to an alternative sampling sensor. Hereinafter, each of the two switching methods will be described.

第1に切り替え方法において、光センサがタッチスクリーン上にアレイ分布される場合、行方向、或いは、列方向において、選択待ちのサンプリングセンサとの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択して、代替のサンプリングセンサを得る。   First, in the switching method, when the optical sensors are distributed in an array on the touch screen, the distance from the sampling sensor waiting for selection is the closest in the row direction or the column direction, and the position is other than the invalidation area. Select an optical sensor to obtain an alternative sampling sensor.

ここで、電子デバイスは、行方向において選択待ちのサンプリングセンサとの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択して、上記光センサを代替のサンプリングセンサとして特定してもよいし、列方向上において選択待ちのサンプリングセンサとの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択して、上記光センサを代替のサンプリングセンサとして特定してもよいし、行方向において選択待ちのサンプリングセンサとの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択し、また、列方向において選択待ちのサンプリングセンサとの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択して、これら二つの光センサの中から選択待ちのサンプリングセンサとの距離が最も近い光センサを代替のサンプリングセンサとして特定してもよい。   Here, the electronic device selects an optical sensor that is closest to the sampling sensor waiting for selection in the row direction and is located outside the invalidation area, and identifies the optical sensor as an alternative sampling sensor. Alternatively, an optical sensor that is closest to the selection waiting sampling sensor in the column direction and is located outside the invalidation area is selected, and the optical sensor is specified as an alternative sampling sensor. It is also possible to select an optical sensor that is closest to the sampling sensor waiting for selection in the row direction and is located outside the invalidation region, and that is closest to the sampling sensor waiting for selection in the column direction. A sampling sensor that is close and is located outside the stale area and that is waiting to be selected from these two optical sensors. The closest optical sensor distance may be specified as an alternative sampling sensor.

例えば、選択待ちのサンプリングセンサが第15行の第20の光センサであり、且つ、第15行の第18-25の光センサが失効領域内に位置すると、第15行の第17の光センサを代替のサンプリングセンサとして特定してもよい。   For example, if the sampling sensor waiting for selection is the twentieth photosensor in the fifteenth row and the eighteenth to twenty-fifth photosensors in the fifteenth row are located in the invalidation region, the seventeenth photosensor in the fifteenth row May be specified as an alternative sampling sensor.

第2の切り替え方法において、第1ライン上において所定の方向に沿ってN個のサンプリングセンサを選択する場合、第1ラインに平行し、且つ、失効領域と互いに交差しない第2ラインを特定して、第2ラインにおいて選択待ちのサンプリングセンサに対応する光センサを取得して、代替のサンプリングセンサを得るか、或いは、所定の方向に沿って、第1ラインにおいて失効領域の以外に位置する光センサを選択して、代替のサンプリングセンサを得てもよい。   In the second switching method, when N sampling sensors are selected along a predetermined direction on the first line, the second line that is parallel to the first line and does not intersect with the invalidation area is specified. An optical sensor corresponding to the sampling sensor waiting for selection in the second line is obtained to obtain an alternative sampling sensor, or an optical sensor located in a predetermined direction other than the expired area along the predetermined line To obtain an alternative sampling sensor.

図2Gに示した第1ライン、及び第2ラインの模式図を参考すると、ここで、第1ラインgが横方向のラインであり、失効領域が一つの円の領域であると、第2ラインhは、第1ラインgと平行し、且つ、円の領域互いに交差しない。   Referring to the schematic diagram of the first line and the second line shown in FIG. 2G, when the first line g is a horizontal line and the revocation area is an area of one circle, the second line h is parallel to the first line g and does not intersect with each other in the circular region.

例えば、第15行を第1ラインとして選択し、選択待ちのサンプリングセンサが第1ライン上の第20の光センサであり、且つ、第1ライン上の第18-25の光センサ失効領域内に位置すると、まず、失効領域と互いに交差しない第2ラインを第20行として特定し、第2ライン上の第20のセンサを代替のサンプリングセンサとして特定するか、或いは、第1ライン上の第26の光センサを代替のサンプリングセンサとして特定してもよい。   For example, the 15th row is selected as the first line, the sampling sensor waiting for selection is the 20th photosensor on the first line, and within the 18-25th photosensor expiration region on the first line. Once located, the second line that does not intersect the stale area is identified as the 20th row and the 20th sensor on the 2nd line is identified as an alternative sampling sensor, or the 26th line on the 1st line is identified. May be specified as alternative sampling sensors.

電子デバイスは、代替のサンプリングセンサを選択した後に、続いて、残りのサンプリングセンサの選択が完了するまで、所定のルールに従って次の一つの選択待ちのサンプリングセンサを特定する。   After selecting the alternative sampling sensor, the electronic device subsequently specifies the next one of the sampling sensors waiting for selection according to a predetermined rule until selection of the remaining sampling sensors is completed.

電子デバイスは、第1ライン、及び第2ラインが存在する場合、第1ラインにおいて次の一つの選択待ちのサンプリングセンサを特定してもよいし、第2ラインにおいて次の一つの選択待ちのサンプリングセンサを特定してもよく、本実施例はこれに対して限定しない。光センサを選択する過程において、操作体が一つのラインにおいて再びタッチ操作する確率がより低いため、代替のサンプリングセンサを再び取得するのに消費する時間を削減して、選択效率を改善する効果を得る。   When the first line and the second line are present, the electronic device may identify the next one sampling sensor waiting for selection in the first line, or the next one sampling waiting for selection in the second line. The sensor may be specified, and the present embodiment is not limited thereto. In the process of selecting an optical sensor, the probability that the operating body touches again on a single line is lower, so the time consumed to acquire an alternative sampling sensor again can be reduced and the selection efficiency can be improved. obtain.

オプションとして、本実施例によって提供する方法は、以下のステップをさらに含む。   Optionally, the method provided by this example further comprises the following steps:

1)代替のサンプリングセンサから、選択待ちのサンプリングセンサに変位して、選択待ちのサンプリングセンサを始点として、第1ラインにおいて所定の方向に沿って次の一つの選択待ちのサンプリングセンサを選択するか、或いは、
2)代替のサンプリングセンサを始点として、第2ラインにおいて所定の方向に沿って次の一つの選択待ちのサンプリングセンサを特定する。
1) Displacement from the alternative sampling sensor to the sampling sensor waiting for selection, and selecting the next sampling sensor waiting for selection along the predetermined direction in the first line, starting from the sampling sensor waiting for selection Or
2) The next sampling sensor waiting for selection is specified along the predetermined direction in the second line, starting from the alternative sampling sensor.

二つの選択待ちのサンプリングセンサ同士の間に9個の光センサが存在すると想定すると、今度の選択待ちのサンプリングセンサが第20の光センサであるため、次の一つの選択待ちのサンプリングセンサを第1ライン上の第30の光センサとして特定するか、或いは、次の一つの選択待ちのサンプリングセンサを第2ライン上の第30の光センサとして特定してもよい。   Assuming that nine optical sensors exist between two sampling sensors waiting for selection, the next sampling sensor waiting for selection is the twentieth optical sensor. Alternatively, the 30th photosensor on one line may be specified, or the next sampling sensor waiting for selection may be specified as the 30th photosensor on the second line.

ステップ203において、N個のサンプリングセンサを利用してタッチスクリーンを制御する。   In step 203, the touch screen is controlled using N sampling sensors.

電子デバイスは、N個のサンプリングセンサを得た後に、上記のN個のサンプリングセンサによって、周辺光の輝度値を測定し、また、周辺光の輝度値に基づいてタッチスクリーンを制御する。以下、周辺光の輝度値に基づいてタッチスクリーンの輝度値、及びキーボードライトを制御する例を挙げて、説明する。   After obtaining the N sampling sensors, the electronic device measures the brightness value of the ambient light by the N sampling sensors, and controls the touch screen based on the brightness value of the ambient light. Hereinafter, an example in which the luminance value of the touch screen and the keyboard light are controlled based on the luminance value of the ambient light will be described.

第1の応用ケースにおいて、N個のサンプリングセンサを利用してタッチスクリーンを制御するステップは、N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップと、周辺光の輝度値に基づいてタッチスクリーンの輝度値を調節するステップとを含み、ここで、タッチスクリーンの輝度値と周辺光の輝度値とは、順相関関係を有する。   In the first application case, the step of controlling the touch screen using the N sampling sensors includes the step of calculating the brightness value of the ambient light based on the measurement values of the N sampling sensors, and the brightness of the ambient light. Adjusting the luminance value of the touch screen based on the value, wherein the luminance value of the touch screen and the luminance value of the ambient light have a forward correlation.

ここで、N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップは、N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除するステップと、残りの各測定値の平均値を算出して、平均値を周辺光の輝度値とするステップとを含む。   Here, the step of calculating the luminance value of the ambient light based on the measured values of the N sampling sensors is the largest i (i is a positive integer) among the measured values of the N sampling sensors. Deleting the measured values and the smallest j (j is a positive integer), calculating the average value of the remaining measured values, and calculating the average value as the luminance value of the ambient light And the step of.

光源は多数の場合に自然光であり、自然光が発生した周辺光は各サンプリングセンサに均一に入射されるため、各サンプリングセンサの測定値は、同様であるか、接近する。ある一つのサンプリングセンサが測定した測定値が高すぎか、或いは、低すぎる場合は、上記サンプリングセンサに問題が発生したおそれがあるため、この時の測定値も正確ではない値である。このため、周辺光の輝度値を測定する時に、これらサンプリングセンサの測定値を除外する必要がある。   Since the light source is natural light in many cases and the ambient light generated by natural light is uniformly incident on each sampling sensor, the measurement values of each sampling sensor are the same or approach. If the measured value measured by one sampling sensor is too high or too low, there may be a problem with the sampling sensor, and the measured value at this time is also an inaccurate value. For this reason, when measuring the luminance value of the ambient light, it is necessary to exclude the measurement values of these sampling sensors.

本実施例において、まず、測定値をスクリーニングして、一番大きいi個の測定値、及び一番小さいj個の測定値を削除してから、残りの測定値の平均値を算出することにより、算出して得た輝度値の精度を高める。   In this example, first, the measurement values are screened, and the largest i measurement values and the smallest j measurement values are deleted, and then the average value of the remaining measurement values is calculated. , Increase the accuracy of the calculated brightness value.

ここで、一番大きいi個の測定値、及び一番小さいj個の測定値を削除する時に、各測定値を小さくなる順にソートして、測定値のリストを得て、上記測定値のリストの中の前のi個の測定値、及び後のj個の測定値を削除してもよい。   Here, when deleting the largest i measurement values and the smallest j measurement values, each measurement value is sorted in ascending order to obtain a list of measurement values. The previous i measurement values and the subsequent j measurement values may be deleted.

算出過程を簡素化するために、タッチスクリーンが5個のサンプリングセンサを含む例を挙げて説明する。実際に実現する時に、光センサの数>>5である。5個のサンプリングセンサが測定した測定値が、それぞれ、N1、N2、N3、N4、及びN5であり、且つ、N3>N5>N2>N4>N1であり、i=j=1であると、周辺光の輝度値=(N2+ N4+ N5)/3である。   In order to simplify the calculation process, an example will be described in which the touch screen includes five sampling sensors. When actually realized, the number of photosensors >> 5. The measurement values measured by the five sampling sensors are N1, N2, N3, N4, and N5, N3> N5> N2> N4> N1, and i = j = 1. The luminance value of the ambient light = (N2 + N4 + N5) / 3.

本実施例において、周辺光の輝度値に基づいてタッチスクリーンの輝度値を調整することにより、周辺光の輝度値がより大きいと、タッチスクリーンの輝度値を増加し、周辺光の輝度値がより小さいと、タッチスクリーンの輝度値を減少してもよい。このようにして、タッチスクリーンの輝度値が、周辺光の輝度値に適応するようにして、ユーザの視力を保護する。ここで、周辺光の輝度値に基づいてタッチスクリーンの輝度値を調整する技術は、既に非常に成熟されているため、ここでは説明しない。   In this example, by adjusting the brightness value of the touch screen based on the brightness value of the ambient light, if the brightness value of the ambient light is larger, the brightness value of the touch screen is increased and the brightness value of the ambient light is more If it is smaller, the brightness value of the touch screen may be decreased. In this way, the user's visual acuity is protected by adapting the luminance value of the touch screen to the luminance value of the ambient light. Here, the technique for adjusting the brightness value of the touch screen based on the brightness value of the ambient light is already very mature and will not be described here.

第2の応用ケースにおいて、N個のサンプリングセンサを利用してタッチスクリーンを制御するステップは、N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップと、輝度値が所定の閾値を上回ると、キーボードライトをオン状態に制御するステップと、輝度値が所定の閾値以下であると、キーボードライトをオフ状態に制御するステップとを含む。   In the second application case, the step of controlling the touch screen using the N sampling sensors includes the step of calculating the brightness value of the ambient light based on the measurement values of the N sampling sensors, and the brightness value is predetermined. If the threshold value is exceeded, the keyboard light is controlled to be in an on state, and if the luminance value is not more than a predetermined threshold value, the keyboard light is controlled to be in an off state.

ここで、N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出する過程は、上記に記載したため、ここでは繰り返して説明しない。   Here, since the process of calculating the luminance value of the ambient light based on the measurement values of the N sampling sensors has been described above, it will not be repeated here.

キーボードライトは、ユーザがキーボードを利用して入力する際に照明を提供する。ユーザは、周辺光の輝度値がより小さいと、キーボードがどこにあるかよく見えないため、キーボードを操作できない。この時、キーボードライトをオン状態に制御して、操作の精度を改善し、周辺光の輝度値がより大きいと、キーボードライトをオフ状態に制御して、電子デバイスの電量を節約することができる。   The keyboard light provides illumination when the user inputs using the keyboard. If the brightness value of the ambient light is smaller, the user cannot see the keyboard and cannot operate the keyboard. At this time, the keyboard light is controlled to be turned on to improve the accuracy of the operation, and if the ambient light brightness value is larger, the keyboard light can be controlled to be turned off to save the electric power of the electronic device. .

電子デバイスは、周辺光の輝度値に基づいてタッチスクリーンを制御するほか、また、操作体によって遮蔽された光センサの位置を利用してタッチスクリーンを制御してもよく、本実施例によって提供する方法は、操作体によって遮蔽された光センサの位置に基づいて、操作体の遮蔽位置を特定するステップと、遮蔽位置に基づいてタッチスクリーンを制御するステップをさらに含むことを説明する必要がある。   The electronic device controls the touch screen based on the brightness value of the ambient light, and may control the touch screen using the position of the light sensor shielded by the operating body, which is provided in this embodiment. It is necessary to explain that the method further includes the steps of identifying the shielding position of the operating body based on the position of the optical sensor shielded by the operating body and controlling the touch screen based on the shielding position.

電子デバイスは、各光センサのタッチスクリーンにおける分布位置が既知であるため、遮蔽された光センサを特定した後に、また、操作体の遮蔽位置を特定して、遮蔽位置に基づいて操作体の操作位置を特定してもよい。1種の応用ケースにおいて、電子デバイスは、上記操作位置に基づいて、電気容量値を測定して得た操作領域が正しいか否かを検証することにより、操作領域を特定する精度をさらに改善できる。もう1種の応用ケースにおいて、電子デバイスは、上記の操作領域に基づいて、直接、タッチスクリーンを制御してもよい。例えば、タッチスクリーンを制御して、上記操作領域に対する操作に応答する。本実施例においては、タッチスクリーンを制御する方法に対して、限定しない。   Since the distribution position of each optical sensor on the touch screen is known, the electronic device specifies the shielded optical sensor, and also specifies the shielding position of the manipulation tool, and operates the manipulation tool based on the shielding position. The position may be specified. In one application case, the electronic device can further improve the accuracy of specifying the operation region by verifying whether the operation region obtained by measuring the capacitance value is correct based on the operation position. . In another application case, the electronic device may directly control the touch screen based on the operation area. For example, the touch screen is controlled to respond to an operation on the operation area. In the present embodiment, the method for controlling the touch screen is not limited.

上記のように、本発明によって提供するタッチスクリーン制御方法によると、上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN個のサンプリングセンサを選択して、上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御することにより、これらN個の正確な測定値に基づいて、周辺光の輝度値を算出して、上記輝度値に基づいてタッチスクリーンを制御することができる。このようにして、小さいホール内に設置された一つの光センサが遮蔽され易いため、測定した周辺光の輝度値が不正確になって、タッチスクリーンの制御に影響を及ぼす問題を解決して、スクリーン制御の精度を改善する効果を得た。   As described above, according to the touch screen control method provided by the present invention, N sampling sensors that are not shielded by the operating body are selected from the optical sensors distributed on the touch screen, and the N By controlling the touch screen using the sampling sensors, the brightness value of the ambient light is calculated based on the N accurate measurement values, and the touch screen is controlled based on the brightness value. be able to. In this way, since one light sensor installed in a small hall is likely to be blocked, the brightness value of the measured ambient light becomes inaccurate, solving the problem affecting the control of the touch screen, The effect of improving the accuracy of screen control was obtained.

また、行方向、或いは、列方向において、選択待ちのサンプリングセンサとの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択して、代替のサンプリングセンサを得る。ここで、特定した各サンプリングセンサがタッチスクリーン上に均一に分布されるため、測定した周辺光の輝度値がもっと正確になる。   Also, an alternative sampling sensor is obtained by selecting a photosensor that is closest to the sampling sensor waiting for selection in the row direction or the column direction and is located outside the invalidation region. Here, since the specified sampling sensors are uniformly distributed on the touch screen, the measured brightness value of the ambient light becomes more accurate.

図3は、例示的な一実施例に係るタッチスクリーン制御装置を示すブロック図である。上記タッチスクリーン制御装置は、タッチスクリーンを有する電子デバイスに適用される。タッチスクリーン上には、光センサが均一に分布されている。図3に示したように、上記タッチスクリーン制御装置は、センサ選択モジュール310、及び第1制御モジュール320を備える。   FIG. 3 is a block diagram illustrating a touch screen controller according to an exemplary embodiment. The touch screen control device is applied to an electronic device having a touch screen. Optical sensors are uniformly distributed on the touch screen. As shown in FIG. 3, the touch screen control device includes a sensor selection module 310 and a first control module 320.

上記センサ選択モジュール310は、タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(ここで、Nは2以上の自然数である)個のサンプリングセンサを選択する。   The sensor selection module 310 selects N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body from the optical sensors distributed on the touch screen.

上記第1制御モジュール320は、センサ選択モジュール310が選択したN個のサンプリングを利用して、センサタッチスクリーンを制御する。   The first control module 320 controls the sensor touch screen using the N samplings selected by the sensor selection module 310.

上記のように、本発明によって提供するタッチスクリーン制御装置によると、上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN個のサンプリングセンサを選択して、上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御することにより、これらN個の正確な測定値に基づいて、周辺光の輝度値を算出して、上記輝度値に基づいてタッチスクリーンを制御することができる。このようにして、小さいホール内に設置された一つの光センサが遮蔽され易いため、測定した周辺光の輝度値が不正確になって、タッチスクリーンの制御に影響を及ぼす問題を解決して、スクリーン制御の精度を改善する効果を得た。   As described above, according to the touch screen control device provided by the present invention, the N sampling sensors not shielded by the operating body are selected from the optical sensors distributed on the touch screen, and the N By controlling the touch screen using the sampling sensors, the brightness value of the ambient light is calculated based on the N accurate measurement values, and the touch screen is controlled based on the brightness value. be able to. In this way, since one light sensor installed in a small hall is likely to be blocked, the brightness value of the measured ambient light becomes inaccurate, solving the problem affecting the control of the touch screen, The effect of improving the accuracy of screen control was obtained.

図4は、例示的な一実施例に係るタッチスクリーン制御装置を示すブロック図である。上記タッチスクリーン制御装置は、タッチスクリーンを有する電子デバイスに適用される。タッチスクリーン上には、光センサが均一に分布されている。図4に示したように、上記タッチスクリーン制御装置は、センサ選択モジュール410、及び第1制御モジュール420を備える。   FIG. 4 is a block diagram illustrating a touch screen controller according to an exemplary embodiment. The touch screen control device is applied to an electronic device having a touch screen. Optical sensors are uniformly distributed on the touch screen. As shown in FIG. 4, the touch screen control device includes a sensor selection module 410 and a first control module 420.

上記センサ選択モジュール410は、タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(ここで、Nは2以上の自然数である)個のサンプリングセンサを選択する。   The sensor selection module 410 selects N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body from the optical sensors distributed on the touch screen.

上記第1制御モジュール420は、センサ選択モジュール410が選択したN個のサンプリングセンサによって、タッチスクリーンを制御する。   The first control module 420 controls the touch screen using the N sampling sensors selected by the sensor selection module 410.

オプションとして、第1制御モジュール420は、第1算出サブモジュール421、及び輝度調節サブモジュール422を備える。   As an option, the first control module 420 includes a first calculation sub-module 421 and a brightness adjustment sub-module 422.

上記第1算出サブモジュール421は、N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出する。   The first calculation submodule 421 calculates the luminance value of the ambient light based on the measurement values of the N sampling sensors.

上記輝度調節サブモジュール422は、第1算出サブモジュール421が得た周辺光の輝度値に基づいて、周辺光の輝度値と順相関関係を有するタッチスクリーンの輝度値を調節する。   The brightness adjustment submodule 422 adjusts the brightness value of the touch screen having a forward correlation with the brightness value of the ambient light based on the brightness value of the ambient light obtained by the first calculation submodule 421.

オプションとして、第1制御モジュール420は、第2算出サブモジュール423、第1制御サブモジュール424、及び第2制御サブモジュール425を備える。   As an option, the first control module 420 includes a second calculation submodule 423, a first control submodule 424, and a second control submodule 425.

上記第2算出サブモジュール423は、N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出する。   The second calculation submodule 423 calculates the brightness value of the ambient light based on the measurement values of the N sampling sensors.

上記第1制御サブモジュール424は、第2算出サブモジュール423が得た輝度値所定の閾値を上回ると、キーボードライトをオン状態に制御する。   The first control submodule 424 controls the keyboard light to be turned on when the luminance value obtained by the second calculation submodule 423 exceeds a predetermined threshold.

上記第2制御サブモジュール425は、第2算出サブモジュール423が得た輝度値が所定の閾値以下であると、キーボードライトをオフ状態に制御する。   The second control submodule 425 controls the keyboard light to be turned off when the luminance value obtained by the second calculation submodule 423 is equal to or less than a predetermined threshold value.

オプションとして、上記第1算出サブモジュール421は、また、N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除し、残りの各測定値の平均値を算出して、平均値を周辺光の輝度値とするか、或いは、
上記第2算出サブモジュール423は、また、N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除し、残りの各測定値の平均値を算出して、平均値を周辺光の輝度値とする。
As an option, the first calculation sub-module 421 may also include the largest i (i is a positive integer) measured value and the smallest j (of N sampling sensor measured values). j is a positive integer) and the average value of each remaining measurement value is calculated and the average value is the luminance value of the ambient light, or
The second calculation sub-module 423 also includes the largest i (i is a positive integer) measurement value and the smallest j (j is a positive value) among the measurement values of the N sampling sensors. Are deleted, the average value of the remaining measurement values is calculated, and the average value is set as the luminance value of the ambient light.

オプションとして、本実施例によって提供する装置は、位置特定モジュール430、及び第2制御モジュール440をさらに備える。   As an option, the apparatus provided by this embodiment further includes a position determination module 430 and a second control module 440.

上記位置特定モジュール430は、操作体によって遮蔽された光センサの位置に基づいて、操作体の遮蔽位置を特定する;
上記第2制御モジュール440は、位置特定モジュール430が特定した遮蔽位置に基づいて、タッチスクリーンを制御する。
The position specifying module 430 specifies the shielding position of the operating body based on the position of the optical sensor shielded by the operating body;
The second control module 440 controls the touch screen based on the shielding position specified by the position specifying module 430.

オプションとして、センサ選択モジュール410は、領域特定サブモジュール411、及びセンサ選択サブモジュール412を備える。   As an option, the sensor selection module 410 includes a region identification submodule 411 and a sensor selection submodule 412.

上記領域特定サブモジュール411は、操作体がタッチスクリーン上に作用する操作領域を取得して、操作領域を含む失効領域を特定し、ここで、失効領域内の光センサに入射する周辺光は、操作体によって遮蔽される。   The area specifying submodule 411 acquires an operation area on which the operating body acts on the touch screen, specifies an invalid area including the operation area, and the ambient light incident on the photosensor in the invalid area is It is shielded by the operating body.

上記センサ選択サブモジュール412は、失効領域の以外に位置する光センサの中から、N個のサンプリングセンサを選択するか、或いは、各選択待ちのサンプリングセンサに対して、N個のサンプリングセンサが選択されるまで、選択待ちのサンプリングセンサが失効領域内に位置すると、選択待ちのサンプリングセンサを失効領域の以外に位置する代替のサンプリングセンサに切り替え、選択待ちのサンプリングセンサが失効領域の以外に位置すると、選択待ちのサンプリングセンサを選択する。   The sensor selection sub-module 412 selects N sampling sensors from among the optical sensors located outside the expired area, or selects N sampling sensors for the sampling sensors waiting for selection. Until the sampling sensor waiting for selection is located in the invalidation area, the sampling sensor waiting for selection is switched to an alternative sampling sensor located outside the invalidation area, and the sampling sensor waiting for selection is located outside the invalidation area. Select a sampling sensor waiting for selection.

オプションとして、センサ選択サブモジュール412は、第1選択サブモジュール4121、或いは、第2選択サブモジュール4122を備える。   As an option, the sensor selection submodule 412 includes a first selection submodule 4121 or a second selection submodule 4122.

上記第1選択サブモジュール4121は、光センサがタッチスクリーン上にアレイ分布されると、行方向、或いは、列方向において、選択待ちのサンプリングセンサの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択して、代替のサンプリングセンサを得るか、或いは、
上記第2選択サブモジュール4122は、第1ライン上において所定の方向に沿ってサンプリングセンサを選択する場合、第1ラインに平行し、且つ、失効領域と互いに交差しない第2ラインを特定して、第2ライン上において選択待ちのサンプリングセンサに対応する光センサを取得して、代替のサンプリングセンサを得るか、或いは、所定の方向に沿って第1ライン上において失効領域の以外に位置する光センサを選択して、代替のサンプリングセンサを得る。
In the first selection sub-module 4121, when the optical sensors are arrayed on the touch screen, the sampling sensors waiting for selection are closest in the row direction or the column direction, and other than the invalidation area. Select a light sensor located to obtain an alternative sampling sensor, or
When the second selection sub-module 4122 selects a sampling sensor along a predetermined direction on the first line, the second selection sub-module 4122 specifies a second line that is parallel to the first line and does not intersect with the invalidation area, An optical sensor corresponding to the sampling sensor awaiting selection on the second line is obtained to obtain an alternative sampling sensor, or an optical sensor located on the first line other than the expired area along a predetermined direction To obtain an alternative sampling sensor.

上記のように、本発明によって提供するタッチスクリーン制御装置によると、上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN個のサンプリングセンサを選択して、上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御することにより、これらN個の正確な測定値に基づいて、周辺光の輝度値を算出して、上記輝度値に基づいてタッチスクリーンを制御することができる。このようにして、小さいホール内に設置された一つの光センサが遮蔽され易いため、測定した周辺光の輝度値が不正確になって、タッチスクリーンの制御に影響を及ぼす問題を解決して、スクリーン制御の精度を改善する効果を得る。   As described above, according to the touch screen control device provided by the present invention, the N sampling sensors not shielded by the operating body are selected from the optical sensors distributed on the touch screen, and the N By controlling the touch screen using the sampling sensors, the brightness value of the ambient light is calculated based on the N accurate measurement values, and the touch screen is controlled based on the brightness value. be able to. In this way, since one light sensor installed in a small hall is likely to be blocked, the brightness value of the measured ambient light becomes inaccurate, solving the problem affecting the control of the touch screen, The effect of improving the accuracy of screen control is obtained.

また、行方向、或いは、列方向において、選択待ちのサンプリングセンサとの距離が最も近くて、且つ、失効領域の以外に位置する光センサを選択して、代替のサンプリングセンサを得る。ここで、特定した各サンプリングセンサがタッチスクリーン上に均一に分布されるため、測定した周辺光の輝度値がもっと正確になる。   Also, an alternative sampling sensor is obtained by selecting a photosensor that is closest to the sampling sensor waiting for selection in the row direction or the column direction and is located outside the invalidation region. Here, since the specified sampling sensors are uniformly distributed on the touch screen, the measured brightness value of the ambient light becomes more accurate.

上記の実施例の装置について、その各モジュールが実行する操作の具体的な形態は既に当該方法に関する実施例において詳細に説明したため、ここでは詳細に説明しない。   Since the specific mode of operation performed by each module of the apparatus of the above embodiment has already been described in detail in the embodiment relating to the method, it will not be described in detail here.

本発明の例示的な一実施例は、本発明によって提供するタッチスクリーン制御方法を実現するタッチスクリーン制御装置を提供する。   An exemplary embodiment of the present invention provides a touch screen control apparatus that implements the touch screen control method provided by the present invention.

上記タッチスクリーン制御装置は、
光センサが均一に分布されているタッチスクリーンと、
プロセッサと、
上記プロセッサが実行可能な命令を記憶するためのメモリと
を備え、
上記プロセッサは、
上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択し、
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するように構成される。
The touch screen control device includes:
A touch screen with light sensors uniformly distributed;
A processor;
A memory for storing instructions executable by the processor,
The processor
From the optical sensors distributed on the touch screen, select N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body,
The touch screen is controlled using the N sampling sensors.

図5は、例示的な一実施例に係るタッチスクリーン制御に使用される装置500のブロック図である。例えば、装置500は、携帯電話、コンピューター、デジタル放送端末、メッセージ送受信デバイス、ゲームコンソール、タブレットデバイス、医療機器、フィットネス機器、パーソナルデジタルアシスタント等であってもよい。   FIG. 5 is a block diagram of an apparatus 500 used for touch screen control according to an exemplary embodiment. For example, the device 500 may be a mobile phone, a computer, a digital broadcasting terminal, a message transmission / reception device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

図5を参照して、装置500は、プロセスアセンブリ502、メモリ504、電源アセンブリ506、マルチメディアアセンブリ508、オーディオアセンブリ510、入出力(I/O)インターフェイス512、センサアセンブリ514、及び通信アセンブリ516のような一つ以上のアセンブリを含んでよい。   Referring to FIG. 5, apparatus 500 includes process assembly 502, memory 504, power supply assembly 506, multimedia assembly 508, audio assembly 510, input / output (I / O) interface 512, sensor assembly 514, and communication assembly 516. One or more assemblies may be included.

プロセスアセンブリ502は、一般的には装置500の全体の動作を制御するものであり、例えば、表示、電話呼び出し、データ通信、カメラ動作、及び記録動作と関連する動作を制御する。プロセスアセンブリ502は、一つ以上のプロセッサ520を含み、これらによって命令を実行することにより、上記の方法の全部、或は一部のステップを実現するようにしてもよい。なお、プロセスアセンブリ502は、一つ以上のモジュールを含み、これらによってプロセスアセンブリ502と他のアセンブリの間のインタラクションを容易にするようにしてもよい。例えば、プロセスアセンブリ502は、マルチメディアモジュールを含み、これらによってマルチメディアアセンブリ508とプロセスアセンブリ502の間のインタラクションを容易にするようにしてもよい。   The process assembly 502 generally controls the overall operation of the apparatus 500 and controls operations associated with, for example, display, telephone calls, data communications, camera operations, and recording operations. Process assembly 502 may include one or more processors 520 that execute instructions to implement all or some of the steps of the above method. Note that the process assembly 502 may include one or more modules that facilitate interaction between the process assembly 502 and other assemblies. For example, the process assembly 502 may include multimedia modules that facilitate interaction between the multimedia assembly 508 and the process assembly 502.

メモリ504は、各種類のデータを記憶することにより装置500の動作を支援するように構成される。これらのデータの例は、装置500において動作するいずれのアプリケーションプログラム又は方法の命令、連絡対象データ、電話帳データ、メッセージ、画像、ビデオ等を含む。メモリ504は、いずれの種類の揮発性メモリ、不揮発性メモリ記憶デバイスまたはそれらの組み合わせによって実現されてもよく、例えば、SRAM(Static Random Access Memory)EEPROM(Electrically Erasable Programmable Read−Only Memory)、EPROM(Erasable Programmable Read Only Memory)、PROM(Programmable ROM)、ROM(Read Only Member)、磁気メモリ、フラッシュメモリ、磁気ディスク、或いは光ディスクである。   The memory 504 is configured to support the operation of the device 500 by storing each type of data. Examples of these data include any application program or method instructions that operate on device 500, contact data, phone book data, messages, images, videos, and the like. The memory 504 may be realized by any kind of volatile memory, non-volatile memory storage device, or a combination thereof. For example, SRAM (Static Random Access Memory) EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM (EPROM) An Erasable Programmable Read Only Memory (PROM), a Programmable ROM (PROM), a ROM (Read Only Member), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

電源アセンブリ506は、装置500の多様なアセンブリに電力を供給する。電源アセンブリ506は、電源管理システム、一つ以上の電源、及び装置500のための電力の生成、管理及び割り当てに関連付けられている他のアセンブリを含んでもよい。   The power supply assembly 506 provides power to the various assemblies of the device 500. The power supply assembly 506 may include a power management system, one or more power supplies, and other assemblies associated with generating, managing, and allocating power for the device 500.

マルチメディアアセンブリ508は、前記装置500とユーザの間に一つの出力インターフェイスを提供するスクリーンを含む。上記の実施例において、スクリーンは液晶モニター(LCD)とタッチパネル(TP)を含んでもよい。スクリーンがタッチパネルを含むことにより、スクリーンはタッチスクリーンを実現することができ、ユーザからの入力信号を受信することができる。タッチパネルは一つ以上のタッチセンサを含んでおり、タッチ、スワイプ、及びタッチパネル上のジェスチャを検出することができる。前記タッチセンサは、タッチ、或はスワイプの動作の境界だけでなく、前記のタッチ、或はスワイプ操作に係る継続時間及び圧力も検出できる。上記の実施例において、マルチメディアアセンブリ508は、一つのフロントカメラ、及び/又はリアカメラを含む。装置500が、例えば撮影モード、或はビデオモード等の動作モードにある場合、フロントカメラ、及び/又はリアカメラは外部からマルチメディアデータを受信できる。フロントカメラとリアカメラのそれぞれは、一つの固定型の光レンズ系、或は可変焦点距離と光学ズーム機能を有するものであってもよい。   The multimedia assembly 508 includes a screen that provides an output interface between the device 500 and the user. In the above embodiment, the screen may include a liquid crystal monitor (LCD) and a touch panel (TP). When the screen includes the touch panel, the screen can realize the touch screen and can receive an input signal from the user. The touch panel includes one or more touch sensors, and can detect touch, swipe, and gesture on the touch panel. The touch sensor can detect not only the boundary of the touch or swipe operation but also the duration and pressure related to the touch or swipe operation. In the above embodiment, the multimedia assembly 508 includes one front camera and / or a rear camera. When the apparatus 500 is in an operation mode such as a shooting mode or a video mode, the front camera and / or the rear camera can receive multimedia data from the outside. Each of the front camera and the rear camera may have one fixed type optical lens system, or one having a variable focal length and an optical zoom function.

オーディオアセンブリ510は、オーディオ信号を入出力するように構成されてもよい。例えば、オーディオアセンブリ510は、一つのマイク(MIC)を含み、装置500が、例えば呼出しモード、記録モード、及び音声認識モード等の動作モードにある場合、マイクは外部のオーディオ信号を受信することができる。受信されたオーディオ信号は、さらにメモリ504に記憶されたり、通信アセンブリ516を介して送信されたりされる。上記の実施例において、オーディオアセンブリ510は、オーディオ信号を出力するための一つのスピーカーをさらに含む。   Audio assembly 510 may be configured to input and output audio signals. For example, the audio assembly 510 includes one microphone (MIC), and the device 500 may receive an external audio signal when the device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. it can. The received audio signal is further stored in the memory 504 or transmitted via the communication assembly 516. In the above embodiment, the audio assembly 510 further includes one speaker for outputting an audio signal.

I/Oインターフェイス512は、プロセスアセンブリ502と周辺インターフェイスモジュールの間にインターフェイスを提供するものであり、上記周辺インターフェイスモジュールは、キーボード、クリックホイール、ボタン等であってもよい。これらのボタンは、ホームボタン、ボリュームボタン、作動ボタン、ロッキングボタンを含んでもよいが、これらに限定されない。   The I / O interface 512 provides an interface between the process assembly 502 and the peripheral interface module, and the peripheral interface module may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, an activation button, and a locking button.

センサアセンブリ514は、装置500に各種の状態に対する評価を提供するための一つ以上のセンサを含む。例えば、センサアセンブリ514は、装置500のON/OFF状態、装置500のディスプレイとキーパッドのようなアセンブリの相対的な位置決めを検出できる。また、例えば、センサアセンブリ514は、装置500、或は装置500の一つのアセンブリの位置変更、ユーザと装置500とが接触しているか否か、装置500の方位、又は加速/減速、装置500の温度の変化を検出できる。センサアセンブリ514は、何れの物理的接触がない状態にて付近の物体の存在を検出するための近接センサを含んでもよい。センサアセンブリ514は、撮影アプリケーションに適用するため、CMOS、又はCCD画像センサのような光センサを含んでもよい。上記の実施例において、当該センサアセンブリ514は、加速度センサ、ジャイロスコープセンサ、磁気センサ、圧力センサ、及び温度センサをさらに含んでもよい。   The sensor assembly 514 includes one or more sensors for providing the device 500 with an assessment for various conditions. For example, the sensor assembly 514 can detect the relative positioning of an assembly such as the ON / OFF state of the device 500, the display and keypad of the device 500. Also, for example, the sensor assembly 514 may change the position of the device 500 or one assembly of the device 500, whether the user is in contact with the device 500, the orientation of the device 500, or acceleration / deceleration, Can detect changes in temperature. Sensor assembly 514 may include a proximity sensor for detecting the presence of nearby objects in the absence of any physical contact. The sensor assembly 514 may include a light sensor such as a CMOS or CCD image sensor for application in imaging applications. In the above embodiment, the sensor assembly 514 may further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, and a temperature sensor.

通信アセンブリ516は、装置500と他の機器の間に有線、又は利便性のよい形態の通信を提供する。装置500は、例えばWiFi(登録商標)、2G、3G、或はこれらの組み合わせのような、通信規格に基づいた無線ネットワークに接続されてもよい。一つの例示的な実施例において、通信アセンブリ516は、放送チャンネルを介して外部の放送管理システムからの放送信号、又は放送に関連する情報を受信する。一つの例示的な実施例において、前記通信アセンブリ516は、近距離無線通信(NFC)モジュールをさらに含むことにより、近距離通信を可能にする。例えば、NFCモジュールは、RFID(Radio Frequency IDentification)技術、IrDA(Infrared Data Association)技術、UWB(Ultra Wide Band)技術、BT(Bluetooth(登録商標))技術、他の技術に基づいて実現できる。   The communication assembly 516 provides a wired or convenient form of communication between the device 500 and other devices. The device 500 may be connected to a wireless network based on a communication standard, such as WiFi®, 2G, 3G, or a combination thereof. In one exemplary embodiment, the communication assembly 516 receives a broadcast signal from an external broadcast management system or information related to the broadcast over a broadcast channel. In one exemplary embodiment, the communication assembly 516 further includes a near field communication (NFC) module to enable near field communication. For example, the NFC module can be realized based on RFID (Radio Frequency IDentification) technology, IrDA (Infrared Data Association) technology, UWB (Ultra Wide Band) technology, BT (Bluetooth (registered trademark)) technology, and other technologies.

例示的な実施例において、装置500は、一つ以上のASIC(Application Specific Integrated Circuit)、DSP(Digital Signal Processor)、DSPD(Digital Signal Processing Device)、PLD(Programmable Logic Device)、FPGA(Field−Programmable Gate Array)、コントローラ、マイクロコントローラ、マイクロプロセッサ、または他の電子部品によって実現されるものであり、上記方法を実行する。   In an exemplary embodiment, the apparatus 500 includes one or more ASICs (Application Specific Integrated Circuits), DSPs (Digital Signal Processors), DSPDs (Digital Signal Processing Devices), PLDs (Progressive Integral Circuits). Gate Array), controller, microcontroller, microprocessor, or other electronic component that performs the above method.

例示的な実施例において、さらに、命令を含むコンピュータ読取り可能な非一時的な記録媒体、例えば命令を含むメモリ504を提供しており、装置500のプロセッサ520により上記命令を実行して上記方法を実現する。例えば、前記コンピュータ読取り可能な非一時的な記録媒体は、ROM、RAM、CD-ROM、磁気テープ、フロッピー(登録商標)ディスク、光データ記憶デバイス等である。   In an exemplary embodiment, a computer-readable non-transitory recording medium containing instructions, for example, a memory 504 containing instructions, is provided, and the instructions are executed by the processor 520 of the apparatus 500 to execute the method. Realize. For example, the computer-readable non-transitory recording medium is ROM, RAM, CD-ROM, magnetic tape, floppy (registered trademark) disk, optical data storage device, or the like.

当業者は、明細書を検討して本発明を実施した後、本発明の他の実施例を容易に考え出すことができる。本願は、本発明のいずれの変形、用途、又は適応的な変更をカバーすることを意図しており、これらの変形、用途、又は適応的な変更は、本発明の一般的な原理に従い、また、本発明は公開していない当該技術分野の公知の知識又は通常の技術手段を含む。明細書と実施例はただ例示として考慮され、本発明の本当の範囲と趣旨は以下の特許請求の範囲に記載される。   One skilled in the art can readily devise other embodiments of the invention after reviewing the specification and carrying out the invention. This application is intended to cover any variations, uses, or adaptive modifications of the present invention which, in accordance with the general principles of the present invention, and The present invention includes publicly known knowledge or ordinary technical means not disclosed. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being set forth in the following claims.

本発明は上記に記述され、また図面で示した厳密な構成に限定されず、その範囲を逸脱しない限り多様な置換えと変更を行うことができると、理解されるべきである。本発明の範囲は添付の特許請求の範囲のみにより限定される。   It is to be understood that the present invention is not limited to the precise construction described above and shown in the drawings, and that various substitutions and modifications can be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

本願は、出願番号がCN201510493149.2であって、出願日が2015年8月12日である中国特許出願に基づいて優先権を主張し、当該中国特許出願のすべての内容を援用する。   This application claims priority based on a Chinese patent application whose application number is CN2015104933149.2 and whose application date is August 12, 2015, and incorporates the entire contents of the Chinese patent application.

Claims (14)

光センサが均一に分布されているタッチスクリーンを有する電子デバイスに適用される、タッチスクリーン制御方法であって、
上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択するステップと、
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するステップと
を含み、
上記操作体に遮蔽されていないN個のサンプリングセンサを選択するステップは、
上記操作体が上記タッチスクリーン上に作用する操作領域を取得して、上記操作領域を含む失効領域を特定するステップと、
上記失効領域の以外に位置する光センサの中から、N個のサンプリングセンサを選択するか、或いは、各選択待ちのサンプリングセンサに対して、N個のサンプリングセンサが選択されるまで、上記選択待ちのサンプリングセンサが上記失効領域内に位置すると、上記選択待ちのサンプリングセンサを、上記失効領域の以外に位置する代替のサンプリングセンサに切り替え、上記選択待ちのサンプリングセンサが上記失効領域の以外に位置すると、上記選択待ちのサンプリングセンサを選択するステップとを含み、
ここで、上記失効領域内の光センサに入射する周辺光は、上記操作体に遮蔽されることを特徴とするタッチスクリーン制御方法。
A touch screen control method applied to an electronic device having a touch screen in which light sensors are uniformly distributed,
Selecting N (N is a natural number of 2 or more) sampling sensors that are not shielded by the operating body from the light sensors distributed on the touch screen;
Utilizing said N sampling sensors look including the step of controlling the touch screen,
The step of selecting N sampling sensors not shielded by the operating body is as follows:
Obtaining an operation area on which the operating body acts on the touch screen, and specifying a revocation area including the operation area;
Select N sampling sensors from the optical sensors located outside the invalidation area, or wait for selection until N sampling sensors are selected for each of the sampling sensors waiting for selection. When the sampling sensor is located in the invalidation area, the sampling sensor waiting for selection is switched to an alternative sampling sensor located outside the invalidation area, and the sampling sensor waiting for selection is located outside the invalidation area. Selecting a sampling sensor waiting for selection,
Here, the ambient light incident on the optical sensor in the invalidation area is shielded by the operation body .
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するステップは、
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップと、
上記周辺光の輝度値に基づいて、上記周辺光の輝度値と順相関関係を有する上記タッチスクリーンの輝度値を調節するステップと
を含むことを特徴とする請求項1に記載のタッチスクリーン制御方法。
The step of controlling the touch screen using the N sampling sensors includes:
Calculating a luminance value of ambient light based on the measurement values of the N sampling sensors;
The touch screen control method according to claim 1, further comprising: adjusting a brightness value of the touch screen having a forward correlation with the brightness value of the ambient light based on the brightness value of the ambient light. .
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するステップは、
上記N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除するステップと、
残りの各測定値の平均値を算出して、上記平均値を上記周辺光の輝度値とするステップと
を含むことを特徴とする請求項2に記載のタッチスクリーン制御方法。
The step of calculating the luminance value of the ambient light based on the measurement values of the N sampling sensors is as follows:
Among the measurement values of the N sampling sensors, the largest i (i is a positive integer) measurement value and the smallest j (j is a positive integer) measurement value. A step to delete,
The touch screen control method according to claim 2, further comprising: calculating an average value of each remaining measurement value and setting the average value as a luminance value of the ambient light.
上記操作体に遮蔽された光センサの位置に基づいて、上記操作体の遮蔽位置を特定するステップと、
上記遮蔽位置に基づいて上記タッチスクリーンを制御するステップと
をさらに含むことを特徴とする請求項1に記載のタッチスクリーン制御方法。
Identifying the shielding position of the operating body based on the position of the optical sensor shielded by the operating body;
The touch screen control method according to claim 1, further comprising: controlling the touch screen based on the shielding position.
上記選択待ちのサンプリングセンサを、上記失効領域の以外に位置する代替のサンプリングセンサに切り替えるステップは、
光センサが上記タッチスクリーン上にアレイ分布された場合、行方向、或いは、列方向において、上記選択待ちのサンプリングセンサとの距離が最も近くて、且つ、上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るステップ、
或いは、
第1ライン上において所定の方向に沿ってサンプリングセンサを選択する場合、上記第1ラインと平行し、且つ、上記失効領域と互いに交差しない第2ラインを特定して、上記第2ライン上において上記選択待ちのサンプリングセンサに対応する光センサを取得して、上記代替のサンプリングセンサを得るか、或いは、上記所定の方向を沿って上記第1ライン上において上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るステップ
を含むことを特徴とする請求項に記載のタッチスクリーン制御方法。
The step of switching the sampling sensor waiting for selection to an alternative sampling sensor located outside the invalidation area is as follows:
When the optical sensors are arrayed on the touch screen, the optical sensors that are closest to the sampling sensor waiting for selection in the row direction or the column direction and are located outside the invalidation area are arranged. Selecting to obtain the alternative sampling sensor;
Or
When selecting a sampling sensor along a predetermined direction on the first line, a second line that is parallel to the first line and does not intersect with the invalidation area is specified, and the sampling line is selected on the second line. An optical sensor corresponding to a sampling sensor waiting for selection is obtained to obtain the alternative sampling sensor, or an optical sensor located on the first line along the predetermined direction other than the invalidation area. The touch screen control method according to claim 1 , further comprising: selecting to obtain the alternative sampling sensor.
光センサが均一に分布されているタッチスクリーンを有する電子デバイスに適用される、タッチスクリーン制御装置であって、
上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択するためのセンサ選択モジュールと、
上記センサ選択モジュールが選択した上記N個のサンプリングセンサ上記タッチスクリーンを制御するための第1制御モジュールと
を備え
上記センサ選択モジュールは、
上記操作体が上記タッチスクリーン上に作用する操作領域を取得して、上記操作領域を含む失効領域を特定するための領域特定サブモジュールと、
上記失効領域の以外に位置する光センサの中から、N個のサンプリングセンサを選択するか、或いは、各選択待ちのサンプリングセンサに対して、N個のサンプリングセンサが選択されるまで、上記選択待ちのサンプリングセンサが上記失効領域内に位置すると、上記選択待ちのサンプリングセンサを、上記失効領域の以外に位置する代替のサンプリングセンサに切り替え、上記選択待ちのサンプリングセンサが上記失効領域の以外に位置すると、上記選択待ちのサンプリングセンサを選択するためのセンサ選択サブモジュールとを備え、
ここで、上記失効領域内の光センサに入射する周辺光は、上記操作体に遮蔽されることを特徴とするタッチスクリーン制御装置。
A touch screen control device applied to an electronic device having a touch screen in which light sensors are uniformly distributed,
A sensor selection module for selecting N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body from the optical sensors distributed on the touch screen;
A first control module for controlling the N sampling sensors selected by the sensor selection module and the touch screen ;
The sensor selection module
An area specifying submodule for acquiring an operation area on which the operating body acts on the touch screen, and specifying a revocation area including the operation area;
Select N sampling sensors from the optical sensors located outside the invalidation area, or wait for selection until N sampling sensors are selected for each of the sampling sensors waiting for selection. When the sampling sensor is located in the invalidation area, the sampling sensor waiting for selection is switched to an alternative sampling sensor located outside the invalidation area, and the sampling sensor waiting for selection is located outside the invalidation area. A sensor selection submodule for selecting the sampling sensor waiting for selection, and
Here, ambient light incident on the light sensor in the revocation region, the touch screen control device according to claim Rukoto shielded on the operation member.
上記第1制御モジュールは、
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するための第1算出サブモジュールと、
上記第1算出サブモジュールが得た上記周辺光の輝度値に基づいて、上記周辺光の輝度値と順相関関係を有する上記タッチスクリーンの輝度値を調節するための輝度調節サブモジュールと
を備えることを特徴とする請求項に記載のタッチスクリーン制御装置。
The first control module includes:
A first calculation submodule for calculating a luminance value of ambient light based on the measurement values of the N sampling sensors;
A luminance adjustment submodule for adjusting the luminance value of the touch screen having a forward correlation with the luminance value of the ambient light based on the luminance value of the ambient light obtained by the first calculation submodule. The touch screen control device according to claim 6 .
上記第1制御モジュールは、
上記N個のサンプリングセンサの測定値に基づいて周辺光の輝度値を算出するための第2算出サブモジュールと、
上記第2算出サブモジュールが得た上記輝度値が所定の閾値を上回ると、キーボードライトをオン状態に制御するための第1制御サブモジュールと、
上記第2算出サブモジュールが得た上記輝度値が所定の閾値以下であると、キーボードライトをオフ状態に制御するための第2制御サブモジュールと
を備えることを特徴とする請求項に記載のタッチスクリーン制御装置。
The first control module includes:
A second calculation submodule for calculating a luminance value of ambient light based on the measurement values of the N sampling sensors;
A first control submodule for controlling the keyboard light to an on state when the luminance value obtained by the second calculation submodule exceeds a predetermined threshold;
When the above-mentioned luminance value by the second calculating submodule was obtained is below a predetermined threshold value, according to claim 7, characterized in that it comprises a second control sub-module for controlling the keyboard lights off state Touch screen control device.
上記第1算出サブモジュールは、また、上記N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除し、残りの各測定値の平均値を算出して、上記平均値を上記周辺光の輝度値とするか、
或いは、
上記第2算出サブモジュールは、また、上記N個のサンプリングセンサの測定値の中から、一番大きいi(iは正の整数である)個の測定値、及び一番小さいj(jは正の整数である)個の測定値を削除し、残りの各測定値の平均値を算出して、上記平均値を上記周辺光の輝度値とする。
ことを特徴とする請求項に記載のタッチスクリーン制御装置。
The first calculation sub-module also includes the largest i (i is a positive integer) measurement value and the smallest j (j is a positive value) among the measurement values of the N sampling sensors. Or the average value of each remaining measurement value, and the average value is used as the luminance value of the ambient light,
Or
The second calculation sub-module also includes the largest i (i is a positive integer) measurement value and the smallest j (j is a positive value) among the measurement values of the N sampling sensors. Are deleted, the average value of the remaining measurement values is calculated, and the average value is used as the luminance value of the ambient light.
The touch screen control device according to claim 8 .
上記操作体に遮蔽された光センサの位置に基づいて、上記操作体の遮蔽位置を特定するための位置特定モジュールと、
上記位置特定モジュールが特定した上記遮蔽位置に基づいて、上記タッチスクリーンを制御するための第2制御モジュールと
をさらに備えることを特徴とする請求項に記載のタッチスクリーン制御装置。
A position specifying module for specifying the shielding position of the operating body based on the position of the optical sensor shielded by the operating body;
The touch screen control device according to claim 6 , further comprising: a second control module for controlling the touch screen based on the shielding position specified by the position specifying module.
上記センサ選択サブモジュールは、
光センサが上記タッチスクリーン上にアレイ分布された場合、行方向、或いは、列方向において、上記選択待ちのサンプリングセンサとの距離が最も近くて、且つ、上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るための第1選択サブモジュール、
或いは、
第1ライン上において所定の方向に沿ってサンプリングセンサを選択する場合、上記第1ラインと平行し、且つ、上記失効領域と互いに交差しない第2ラインを特定して、上記第2ライン上において上記選択待ちのサンプリングセンサに対応する光センサを取得して、上記代替のサンプリングセンサを得るか、或いは、上記所定の方向を沿って上記第1ライン上において上記失効領域の以外に位置する光センサを選択して、上記代替のサンプリングセンサを得るための第2選択サブモジュールと
を備えることを特徴とする請求項に記載のタッチスクリーン制御装置。
The sensor selection submodule
When the optical sensors are arrayed on the touch screen, the optical sensors that are closest to the sampling sensor waiting for selection in the row direction or the column direction and are located outside the invalidation area are arranged. A first selection sub-module for selecting to obtain the alternative sampling sensor,
Or
When selecting a sampling sensor along a predetermined direction on the first line, a second line that is parallel to the first line and does not intersect with the invalidation area is specified, and the sampling line is selected on the second line. An optical sensor corresponding to a sampling sensor waiting for selection is obtained to obtain the alternative sampling sensor, or an optical sensor located on the first line along the predetermined direction other than the invalidation area. The touch screen control device according to claim 6 , further comprising: a second selection sub-module for selecting and obtaining the alternative sampling sensor.
光センサが均一に分布されているタッチスクリーンと、
プロセッサと、
上記プロセッサが実行可能な命令を記憶するためのメモリと
を備え、
上記プロセッサは、
上記タッチスクリーン上に分布された光センサの中から、操作体に遮蔽されていないN(Nは2以上の自然数である)個のサンプリングセンサを選択し、
上記N個のサンプリングセンサを利用して上記タッチスクリーンを制御するように構成され
上記操作体に遮蔽されていないN個のサンプリングセンサを選択するステップは、
上記操作体が上記タッチスクリーン上に作用する操作領域を取得して、上記操作領域を含む失効領域を特定することと、
上記失効領域の以外に位置する光センサの中から、N個のサンプリングセンサを選択するか、或いは、各選択待ちのサンプリングセンサに対して、N個のサンプリングセンサが選択されるまで、上記選択待ちのサンプリングセンサが上記失効領域内に位置すると、上記選択待ちのサンプリングセンサを、上記失効領域の以外に位置する代替のサンプリングセンサに切り替え、上記選択待ちのサンプリングセンサが上記失効領域の以外に位置すると、上記選択待ちのサンプリングセンサを選択することとを含み、
ここで、上記失効領域内の光センサに入射する周辺光は、上記操作体に遮蔽される
ことを特徴とするタッチスクリーン制御装置。
A touch screen with light sensors uniformly distributed;
A processor;
A memory for storing instructions executable by the processor,
The processor
From the optical sensors distributed on the touch screen, select N sampling sensors (N is a natural number of 2 or more) that are not shielded by the operating body,
The touch screen is controlled using the N sampling sensors ,
The step of selecting N sampling sensors not shielded by the operating body is as follows:
Acquiring an operation area on which the operating body acts on the touch screen, and specifying a revocation area including the operation area;
Select N sampling sensors from the optical sensors located outside the invalidation area, or wait for selection until N sampling sensors are selected for each of the sampling sensors waiting for selection. When the sampling sensor is located in the invalidation area, the sampling sensor waiting for selection is switched to an alternative sampling sensor located outside the invalidation area, and the sampling sensor waiting for selection is located outside the invalidation area. Selecting the sampling sensor waiting for selection,
Here, the ambient light incident on the optical sensor in the invalidation area is shielded by the operation body .
プロセッサに実行されることにより、請求項1から請求項のいずれか1項に記載のタッチスクリーン制御方法を実現することを特徴とするプログラム。 By being executed by the processor, program characterized by implementing a touch screen control method as claimed in any one of claims 5. 請求項13に記載のプログラムが記録された記録媒体。 A recording medium on which the program according to claim 13 is recorded.
JP2017533680A 2015-08-12 2015-12-25 Touch screen control method, apparatus, program, and recording medium Active JP6325754B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201510493149.2A CN105094616B (en) 2015-08-12 2015-08-12 Touch screen control method and device
CN201510493149.2 2015-08-12
PCT/CN2015/098860 WO2017024723A1 (en) 2015-08-12 2015-12-25 Touch screen control method and apparatus

Publications (3)

Publication Number Publication Date
JP2017527061A JP2017527061A (en) 2017-09-14
JP2017527061A5 JP2017527061A5 (en) 2017-10-26
JP6325754B2 true JP6325754B2 (en) 2018-05-16

Family

ID=54575194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017533680A Active JP6325754B2 (en) 2015-08-12 2015-12-25 Touch screen control method, apparatus, program, and recording medium

Country Status (8)

Country Link
US (1) US10067594B2 (en)
EP (1) EP3130989B1 (en)
JP (1) JP6325754B2 (en)
KR (1) KR101796399B1 (en)
CN (1) CN105094616B (en)
MX (1) MX359584B (en)
RU (1) RU2652432C2 (en)
WO (1) WO2017024723A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094616B (en) 2015-08-12 2019-02-12 小米科技有限责任公司 Touch screen control method and device
CN107071168A (en) * 2017-03-31 2017-08-18 努比亚技术有限公司 A kind of method and device of display control
CN107426428A (en) * 2017-07-26 2017-12-01 北京小米移动软件有限公司 Electronic equipment and display lightness regulating method
CN107818753A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Screen brightness regulation method, device, storage medium and electronic equipment
US20210312853A1 (en) * 2018-08-02 2021-10-07 Ams Ag Ambient light sensing system
KR102639395B1 (en) * 2019-01-29 2024-02-23 삼성전자주식회사 Electronic device which mounted luminance sensor at a back side of a display and method for measureing luminanace using the luminance sensor
AU2021282088A1 (en) * 2020-05-29 2022-10-13 Stryker Corporation Patient support apparatus with automatic display control
CN113573444B (en) * 2021-07-23 2023-06-16 宁波方太厨具有限公司 Intelligent household appliance, light sensation control method and device thereof, and storage medium
WO2023197760A1 (en) * 2022-04-11 2023-10-19 深圳市洲明科技股份有限公司 Integrated module, display module, and photosensitive touch-control interaction system and method

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009663B2 (en) * 2003-12-17 2006-03-07 Planar Systems, Inc. Integrated optical light sensitive active matrix liquid crystal display
US7049575B2 (en) * 2003-09-09 2006-05-23 Apple Computer Inc. System for sensing ambient light having ambient stability probability
EP1728145B1 (en) * 2004-03-18 2008-12-03 Koninklijke Philips Electronics N.V. Scanning display apparatus
US7586479B2 (en) * 2004-06-10 2009-09-08 Samsung Electronics Co., Ltd. Display device and driving method thereof
EP2273309B1 (en) * 2005-02-28 2016-05-04 BlackBerry Limited Method and apparatus for controlling the backlight intensity of a liquid crystal display (LCD) using detected intensity of ambient light
JP4557228B2 (en) * 2006-03-16 2010-10-06 ソニー株式会社 Electro-optical device and electronic apparatus
EP2043081A3 (en) 2007-09-27 2010-04-14 TPO Displays Corp. Display devices with ambient light sensing
TW200935375A (en) * 2007-12-07 2009-08-16 Sony Corp Display and electronic apparatus
JP4978453B2 (en) * 2007-12-14 2012-07-18 セイコーエプソン株式会社 Sensing device, display device, and electronic device
JP5247139B2 (en) * 2007-12-26 2013-07-24 株式会社ジャパンディスプレイウェスト Display device and method, program, and electronic apparatus
JP4964850B2 (en) * 2008-08-29 2012-07-04 シャープ株式会社 Image analysis apparatus, image analysis method, imaging apparatus, image analysis program, and recording medium
JP2010129059A (en) * 2008-12-01 2010-06-10 Denso Corp Display device
CN201699857U (en) * 2010-02-03 2011-01-05 北京利亚德电子科技有限公司 Automatic LED-panel television shade and brightness detecting device
JP5695974B2 (en) * 2011-05-26 2015-04-08 京セラ株式会社 Mobile terminal, brightness control program, and brightness control method
GB2493931A (en) * 2011-08-22 2013-02-27 Apical Ltd Display Device Brightness and Dynamic Range Compression Control
US20130076712A1 (en) 2011-09-22 2013-03-28 Dong Zheng Distributed Light Sensors for Ambient Light Detection
US9477263B2 (en) 2011-10-27 2016-10-25 Apple Inc. Electronic device with chip-on-glass ambient light sensors
CN106969830B (en) * 2012-10-15 2018-12-07 华为终端(东莞)有限公司 A kind of method, structure and handheld terminal increasing optical sensor receiving angle
US9129548B2 (en) 2012-11-15 2015-09-08 Apple Inc. Ambient light sensors with infrared compensation
JP2014107153A (en) * 2012-11-28 2014-06-09 Kyocera Corp Electronic apparatus and method for controlling electronic apparatus
US9086796B2 (en) * 2013-01-04 2015-07-21 Apple Inc. Fine-tuning an operation based on tapping
KR102069808B1 (en) * 2013-05-16 2020-02-12 삼성디스플레이 주식회사 Organic light emitting display panel
EP2821888B1 (en) * 2013-07-01 2019-06-12 BlackBerry Limited Gesture detection using ambient light sensors
CN104517585A (en) * 2013-09-29 2015-04-15 联想(北京)有限公司 Method and device for adjusting display screen
CN104345876B (en) * 2013-08-07 2017-07-25 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104765422A (en) * 2015-04-28 2015-07-08 小米科技有限责任公司 Screen module of mobile equipment and mobile equipment
CN105094616B (en) * 2015-08-12 2019-02-12 小米科技有限责任公司 Touch screen control method and device
CN105094465B (en) * 2015-08-12 2018-02-02 小米科技有限责任公司 Ambient light measurement method and device
CN105094466B (en) * 2015-08-12 2018-03-20 小米科技有限责任公司 Ambient light measurement method and device

Also Published As

Publication number Publication date
KR101796399B1 (en) 2017-11-10
MX2016003879A (en) 2017-04-25
CN105094616A (en) 2015-11-25
US20170045987A1 (en) 2017-02-16
US10067594B2 (en) 2018-09-04
EP3130989B1 (en) 2022-02-23
KR20170030073A (en) 2017-03-16
CN105094616B (en) 2019-02-12
WO2017024723A1 (en) 2017-02-16
MX359584B (en) 2018-10-02
EP3130989A1 (en) 2017-02-15
RU2652432C2 (en) 2018-04-26
RU2016109777A (en) 2017-09-22
JP2017527061A (en) 2017-09-14

Similar Documents

Publication Publication Date Title
JP6325754B2 (en) Touch screen control method, apparatus, program, and recording medium
JP2017527061A5 (en)
JP6533535B2 (en) Gesture identification method, apparatus, program, and recording medium
JP6366699B2 (en) Fingerprint identification method and apparatus
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
US9819856B2 (en) Shooting parameter adjustment method and device
JP6317521B2 (en) Element wakeup method, apparatus, program, and recording medium
US10282586B2 (en) Method and apparatus for realizing touch button and fingerprint identification, and terminal device using same
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
CN111695382B (en) Fingerprint acquisition area determining method and fingerprint acquisition area determining device
US11080503B2 (en) Method and apparatus for identifying fingerprint, electronic device, and computer readable storage medium
EP3291062A1 (en) Method for adjusting photographing focus of mobile terminal through touch control panel and mobile terminal
US20140036131A1 (en) Method of capturing an image in a device and the device thereof
CN103927080A (en) Method and device for controlling control operation
JP6229069B2 (en) Mobile terminal, how to handle virtual buttons
CN105094465B (en) Ambient light measurement method and device
CN107480785A (en) The training method and device of convolutional neural networks
JP7127105B2 (en) Optical fingerprint module and signal processing method
US20170255335A1 (en) Light Sensor Input For Controlling Device
JP2016187105A (en) Electronic apparatus, method of controlling photographing with electronic apparatus, and program for controlling photographing with electronic apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160217

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170919

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180412

R150 Certificate of patent or registration of utility model

Ref document number: 6325754

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250