CN102866849B - Touch display screen closing method and mobile terminal thereof - Google Patents

Touch display screen closing method and mobile terminal thereof Download PDF

Info

Publication number
CN102866849B
CN102866849B CN201210348267.0A CN201210348267A CN102866849B CN 102866849 B CN102866849 B CN 102866849B CN 201210348267 A CN201210348267 A CN 201210348267A CN 102866849 B CN102866849 B CN 102866849B
Authority
CN
China
Prior art keywords
display screen
touch display
mobile terminal
camera
threshold
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
CN201210348267.0A
Other languages
Chinese (zh)
Other versions
CN102866849A (en
Inventor
陈彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaqin Technology Co Ltd
Original Assignee
Huaqin Telecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaqin Telecom Technology Co Ltd filed Critical Huaqin Telecom Technology Co Ltd
Priority to CN201210348267.0A priority Critical patent/CN102866849B/en
Publication of CN102866849A publication Critical patent/CN102866849A/en
Application granted granted Critical
Publication of CN102866849B publication Critical patent/CN102866849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a touch display screen closing method and a mobile terminal thereof. The touch display screen closing method comprises the following steps of: S11, detecting the light intensity at the periphery of the environment located by the mobile terminal by a camera; and S12, if the light intensity is smaller than a first light intensity threshold value, closing a touch display screen, and otherwise repeating the S11. The invention also discloses the mobile terminal using the touch display screen closing method. According to the touch display screen closing method disclosed by the invention, a mode that the camera detects the environment light intensity generally existing in the mobile terminal is utilized to judge approaching of an object, so the touch display screen closing method is convenient to realize; and the contrast ratio of images collected by the camera is further utilized to improve the accuracy of judging the approaching of the object. In addition, the mobile terminal with the adoption of the touch display screen closing method has a simple structure and is convenient to realize; and in addition, any new hardware does not need to be added, so the realization cost is low.

Description

Touch display screen method for closing and mobile terminal thereof
Technical field
The present invention relates to a kind of display screen method for closing and mobile terminal thereof, particularly relate to a kind of method for closing of touch display screen and use the mobile terminal of described method for closing.
Background technology
Now mobile terminal in the art also mainly uses independent proximity transducer collocation LED(light emitting diode) mode of lamp to be to realize this function, wherein utilize LED to launch infrared light, thus detect the infrared light through reflection by proximity transducer, thus judge whether whether user presses close to touch display screen, so correspondingly close the operation of touch display screen.
But this structure requires strict for sealing structure, namely need the sealing carrying out light, if when there is light leak or stray light between LED and proximity transducer, false triggering will be had to occur.And the high expensive of this structure.
Summary of the invention
The technical problem to be solved in the present invention is the interference that the close mode of the judgment object in order to overcome prior art is easily subject to ambient light, and complex structure, the defect that cost is high, a kind of touch display screen method for closing and mobile terminal thereof are provided, utilize the mode of ubiquitous camera testing environment light intensity in mobile terminal close to realize judgment object, so structure is simple, be convenient to realize.
The present invention solves above-mentioned technical matters by following technical proposals:
The invention provides a kind of touch display screen method for closing, for controlling the closedown of the touch display screen of mobile terminal, wherein said mobile terminal comprises a camera and a touch display screen, is characterized in, described touch display screen method for closing comprises the following steps:
S 11, described camera detects the light intensity of environment residing for mobile terminal;
S 12, if described light intensity is less than one first Intensity threshold, closes the touch function of described touch display screen, otherwise repeats step S 11.
The present invention utilizes the camera in mobile terminal to detect the mode of light intensity to realize the function of proximity transducer, and the size of the value of wherein said first Intensity threshold can be arranged arbitrarily.
In addition the closedown of described touch display screen can be realized, so be no longer described in detail herein by software existing in mobile terminal or hardware approach.
Preferably, described step S 11before further comprising the steps of:
S 10, detect described mobile terminal and whether be in electricity condition, if so, then open camera, and enter step S 11, otherwise repeat step S 10.
Because the user of mobile terminal can by face near mobile terminal when incoming call answering, so now more need to close touch display screen to prevent the generation of maloperation, so need equally in the present invention to start when entering electricity condition correspondingly to open the light intensity that camera carrys out testing environment.
Preferably, described step S 12for: if described light intensity is less than one first Intensity threshold, close touch function and the Presentation Function of described touch display screen, otherwise repeat step S 11.
Also have Presentation Function because touch display screen of the prior art not only has touch function, so only close touch function in user face near mobile terminal, screen can waste electric energy, and the brightness of screen also can have an impact to the detection of camera.So also need the Presentation Function of closing touch display screen further in the present invention.
Preferably, described first Intensity threshold is 0.1 Lux.
Present invention also offers a kind of touch display screen method for closing, for controlling the closedown of the touch display screen of mobile terminal, wherein said mobile terminal comprises a camera and a touch display screen, is characterized in, described touch display screen method for closing comprises the following steps:
S 21, described camera detects the light intensity of environment residing for mobile terminal;
S 22, if described light intensity is less than one first Intensity threshold, close the touch function of described touch display screen, flow process terminates, otherwise enters step S 23;
S 23, if described light intensity is less than one second Intensity threshold, enters step S 24, otherwise repeat step S 21;
S 24, described camera takes an image, detect the color contrast difference of described image, if contrast difference is less than a contrast threshold, then enter step S 25, otherwise enter step S 21;
S 25, close described touch display screen.
In order to improve the accuracy of detection in the present invention, so increase the deterministic process of the contrast of image further.The color contrast difference of wherein said image refers to the difference in image in each pixel between maximum-contrast and minimum contrast, i.e. the span value of the scope of contrast in integral image.
Preferably, described step S 22for: if described light intensity is less than one first Intensity threshold, closes touch function and the Presentation Function of described touch display screen, otherwise enter step S 23.
Preferably, described step S 25for: touch function and the Presentation Function of closing described touch display screen.
Preferably, described step S 21before further comprising the steps of:
S 20, detect described mobile terminal and whether be in electricity condition, if so, then open camera, and enter step S 21, otherwise repeat step S 20.
Preferably, described step S 24for:
Described camera takes described image;
The color contrast of multiple pixel is chosen from described image;
Relatively the color contrast difference of each pixel, if contrast difference is less than described contrast threshold, then enters step S 25, otherwise enter step S 21.
Preferably, described first Intensity threshold is 0.1 Lux, and described second Intensity threshold is 2 Luxs, and described contrast threshold is 0.
Present invention also offers a kind of mobile terminal, it comprises a camera, a touch display screen, a processor, a CTP(capacitance touch screen) module, be characterized in, described camera detects the light intensity of mobile terminal surrounding environment; When described processor detects that described light intensity is less than first Intensity threshold, described CTP module closes the touch function of described touch display screen.
Each composition device, unit or element of wherein said mobile terminal are all device, unit or elements conventional in existing mobile terminal, so be no longer described in detail herein.
Preferably, described first Intensity threshold is 0.1 Lux.
Preferably, when described processor detects that described light intensity is more than or equal to described first Intensity threshold and is less than second Intensity threshold, and when described processor also detects that the color contrast difference of the image that described camera is taken is less than a contrast threshold, described CTP module closes the touch function of described touch display screen.
Preferably, described processor detects that described light intensity is more than or equal to described first Intensity threshold and is less than described second Intensity threshold, and when the color contrast difference in the described image of described camera shooting between multiple pixel is less than described contrast threshold, described CTP module closes the touch function of described touch display screen.
Preferably, described mobile terminal also comprises a LCD and shows module, and described LCD shows module while described CTP module closes the touch function of described touch display screen, closes the Presentation Function of described touch display screen.
Preferably, described second Intensity threshold is 2 Luxs, and described contrast threshold is 0.
On the basis meeting this area general knowledge, above-mentioned each optimum condition, can combination in any, obtains the preferred embodiments of the invention.
Positive progressive effect of the present invention is:
Touch display screen method for closing of the present invention utilizes the mode of ubiquitous camera testing environment light intensity in mobile terminal close to realize judgment object, and institute is so that realize.
And the present invention further utilizes the contrast of camera collection image to improve the close accuracy of judgment object.
In addition adopt the mobile terminal structure of touch display screen method for closing of the present invention simple, be convenient to realize, and do not need to add any new hardware, so it is low to realize cost.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the touch display screen method for closing of preferred embodiment of the present invention.
Fig. 2 is the structural representation of the mobile terminal of preferred embodiment of the present invention.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
The light intensity of the camera collection of existing mobile terminal and image is utilized to judge whether to need the touch display screen of turning-off mobile terminal in the present embodiment.Thus close touch display screen when being necessary, prevent the maloperation of user, especially, when user's incoming call answering, because the loudspeaker of mobile terminal is arranged near touch display screen, so user ear is when near loudspeaker, the maloperation of touch display screen can be caused, therefore need when user's incoming call answering, close touch display screen, prevent the generation of maloperation.
So as shown in Figure 2, the mobile terminal 1 of the present embodiment comprises camera 11, touch display screen 12, processor 13 and a CTP module 14 and a LCD and shows module 15.
Wherein said camera 11 is preferably arranged at mobile terminal head, especially waits user when receiving calls in mobile terminal near loudspeaker, the part that face can block.Thus user is when receiving calls, can automatically close touch display screen 12.
Described CTP module 14 and LCD show the closedown of module 15 for the Presentation Function and touch function that control touch display screen.Remaining part is all device, unit or elements conventional in existing mobile terminal, so be no longer described in detail herein.
Wherein said camera 11 detects the light intensity L of mobile terminal 1 surrounding environment; When described processor 13 detects that described light intensity L is less than one first Intensity threshold Lt1, described CTP module 14 and LCD show module 15 and close described touch display screen 12.
And described processor 13 is when detecting that described light intensity is more than or equal to described first Intensity threshold Lt1 and is less than one second Intensity threshold Lt2, and when the difference D of the color contrast that described processor 13 also detects in the image that described camera 11 is taken between multiple pixel is less than a contrast threshold Dt, described CTP module 14 and LCD show Presentation Function and the touch function that module 15 closes described touch display screen 12.
Wherein in described image, choose 5 pixels in the present embodiment, described 5 pixels are uniformly distributed in described image, according to the feature of image gathered, can adopt varying number and have the pixel of different distributions in the picture in addition.
The specific works principle of the mobile terminal of the present embodiment is as follows:
Wherein said first Intensity threshold Lt1 is 0.1 Lux, and described second Intensity threshold Lt2 is 2 Luxs, and described contrast threshold Dt is 0.Wherein said first Intensity threshold Lt1, the second Intensity threshold Lt2 and contrast threshold Dt can arrange different values according to specific needs.
Step 1, detect described mobile terminal 1 and whether be in electricity condition, if so, then open camera 11, and enter step 2, otherwise repeat step 1.
Step 2, described camera 11 detects the light intensity L of environment residing for mobile terminal 1.
Step 3, if described light intensity L is less than described first Intensity threshold Lt1, close described touch display screen 12, flow process terminates, otherwise enters step, 4.
Step 4, if described light intensity L is less than described second Intensity threshold Lt2, enters step, 5, otherwise returns step 2.
Step 5, described camera 11 takes an image.
Step 6, chooses the color contrast of 5 pixels from described image, and wherein said 5 pixels are uniformly distributed in described image.
Step 7, compares the difference D of the color contrast of each pixel, if the difference D of contrast is less than described contrast threshold Dt, then enters step, 8, otherwise enters step 2.
Step 8, closes described touch display screen 12.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these embodiments, but these change and amendment all falls into protection scope of the present invention.

Claims (11)

1. a touch display screen method for closing, for controlling the closedown of the touch display screen of mobile terminal, wherein said mobile terminal comprises a camera and a touch display screen, it is characterized in that, described touch display screen method for closing comprises the following steps:
S 21, described camera detects the light intensity of environment residing for mobile terminal;
S 22, if described light intensity is less than one first Intensity threshold, close the touch function of described touch display screen, flow process terminates, otherwise enters step S 23;
S 23, if described light intensity is less than one second Intensity threshold, enters step S 24, otherwise repeat step S 21;
S 24, described camera takes an image, detect the color contrast difference of described image, if contrast difference is less than a contrast threshold, then enter step S 25, otherwise enter step S 21;
S 25, close the touch function of described touch display screen.
2. touch display screen method for closing as claimed in claim 1, is characterized in that, described step S 21before further comprising the steps of:
S 20, detect described mobile terminal and whether be in electricity condition, if so, then open camera, and enter step S 21, otherwise repeat step S 20.
3. touch display screen method for closing as claimed in claim 1, is characterized in that, described step S 24for:
Described camera takes described image;
The color contrast of multiple pixel is chosen from described image;
Relatively the color contrast difference of each pixel, if contrast difference is less than described contrast threshold, then enters step S 25, otherwise enter step S 21.
4. touch display screen method for closing as claimed in claim 1, is characterized in that, described step S 22for:
If described light intensity is less than one first Intensity threshold, closes touch function and the Presentation Function of described touch display screen, otherwise enter step S 23.
5. touch display screen method for closing as claimed in claim 1, is characterized in that, described step S 25for:
Close touch function and the Presentation Function of described touch display screen.
6. the touch display screen method for closing according to any one of claim 1-5, is characterized in that, described first Intensity threshold is 0.1 Lux, and described second Intensity threshold is 2 Luxs, and described contrast threshold is 0.
7. a mobile terminal, it comprises a camera, a touch display screen, a processor and a CTP module, it is characterized in that, described camera detects the light intensity of mobile terminal surrounding environment; When described processor detects that described light intensity is less than first Intensity threshold, described CTP module closes the touch function of described touch display screen; When described processor detects that described light intensity is more than or equal to described first Intensity threshold and is less than second Intensity threshold, and when described processor also detects that the color contrast difference of the image that described camera is taken is less than a contrast threshold, described CTP module closes the touch function of described touch display screen.
8. mobile terminal as claimed in claim 7, it is characterized in that, described first Intensity threshold is 0.1 Lux.
9. mobile terminal as claimed in claim 7, it is characterized in that, described processor detects that described light intensity is more than or equal to described first Intensity threshold and is less than described second Intensity threshold, and when the color contrast difference in the described image of described camera shooting between multiple pixel is less than described contrast threshold, described CTP module closes the touch function of described touch display screen.
10. mobile terminal as claimed in any one of claims 7-9, it is characterized in that, described mobile terminal also comprises a LCD and shows module, and described LCD shows module while described CTP module closes the touch function of described touch display screen, closes the Presentation Function of described touch display screen.
11. mobile terminals as claimed in claim 10, it is characterized in that, described second Intensity threshold is 2 Luxs, and described contrast threshold is 0.
CN201210348267.0A 2012-09-18 2012-09-18 Touch display screen closing method and mobile terminal thereof Active CN102866849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210348267.0A CN102866849B (en) 2012-09-18 2012-09-18 Touch display screen closing method and mobile terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210348267.0A CN102866849B (en) 2012-09-18 2012-09-18 Touch display screen closing method and mobile terminal thereof

Publications (2)

Publication Number Publication Date
CN102866849A CN102866849A (en) 2013-01-09
CN102866849B true CN102866849B (en) 2015-06-24

Family

ID=47445739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210348267.0A Active CN102866849B (en) 2012-09-18 2012-09-18 Touch display screen closing method and mobile terminal thereof

Country Status (1)

Country Link
CN (1) CN102866849B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104676821B (en) * 2013-11-29 2017-11-14 广东美的制冷设备有限公司 The method and apparatus for automatically turning on air-conditioner sleep mode
CN104717347A (en) * 2013-12-13 2015-06-17 中兴通讯股份有限公司 Method, device and terminal for liquid crystal display backlight management
CN104717348A (en) * 2013-12-13 2015-06-17 中兴通讯股份有限公司 Method, device and terminal for liquid crystal display backlight management
WO2016029449A1 (en) * 2014-08-29 2016-03-03 华为技术有限公司 Method and apparatus for preventing false touch of touchscreen
CN108012082A (en) * 2017-12-12 2018-05-08 青岛海信移动通信技术股份有限公司 A kind of terminal reduces the method and terminal of power consumption
CN112445531A (en) * 2019-08-29 2021-03-05 珠海格力电器股份有限公司 Method and device for preventing misoperation, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893994A (en) * 2010-07-14 2010-11-24 中兴通讯股份有限公司 Intelligent screen lock method and terminal
CN101945179A (en) * 2010-09-26 2011-01-12 中兴通讯股份有限公司 Method and device for automatically adjusting backlight brightness of mobile terminal and mobile terminal
CN102006356A (en) * 2010-09-27 2011-04-06 浙江大学 Method for detecting state of cell phone pocket by using Android operating system
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010226378A (en) * 2009-03-23 2010-10-07 Toshiba Corp Mobile communication terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893994A (en) * 2010-07-14 2010-11-24 中兴通讯股份有限公司 Intelligent screen lock method and terminal
CN101945179A (en) * 2010-09-26 2011-01-12 中兴通讯股份有限公司 Method and device for automatically adjusting backlight brightness of mobile terminal and mobile terminal
CN102006356A (en) * 2010-09-27 2011-04-06 浙江大学 Method for detecting state of cell phone pocket by using Android operating system
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal

Also Published As

Publication number Publication date
CN102866849A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN102866849B (en) Touch display screen closing method and mobile terminal thereof
CN102404448B (en) Mobile terminal screen control method and mobile terminal
CN103442128B (en) A kind of method and apparatus of display communication event
CN103781261B (en) The infrared lamp control method of infrared network video camera
CN102685306B (en) Method and mobile terminal for switching image collecting units
CN104023145B (en) A kind of method and device automatically opening the automatic backlight adjustment of mobile terminal
CN103428368B (en) Method and device for realizing silent incoming call of intelligent terminal
CN205193981U (en) Radar vision fuses intelligent warning system with low misstatement rate
CN104468912A (en) Method for controlling luminance of screen of mobile terminal and display terminal
CN103401961A (en) Method and system for automatically lightening screen of mobile phone
CN103404125B (en) Imageing sensor and include the filming apparatus of this imageing sensor
CN102510423A (en) Mobile hand-held device with touch screen and method and system for avoiding mistouching mobile hand-held device in call
US20070273680A1 (en) Method for adjusting visibility of a display and system thereof
CN107547703B (en) Elastic sleeve and mobile terminal
CN104869254A (en) Mobile terminal, incoming call prompting system and method
CN100574373C (en) Display system and display packing thereof
CN103136929B (en) Method enabling network terminal with photosensitive components to initialize
CN104898840A (en) Information processing method and apparatus, and electronic device
CN105245715A (en) Mobile terminal and screen state control method thereof
CN101086829A (en) Method and system for adjusting display contrast
CN201917717U (en) Light machine projection display system and projection screen
CN107181868B (en) Method and device for controlling screen turn-off of mobile terminal
CN104280787A (en) Device and method for detecting object approaching
CN203013726U (en) Image sensor module group and handheld type electronic device
CN104468982B (en) Mobile terminal that intelligence was reminded

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 201203 Shanghai city Pudong New Area Zhangjiang Keyuan Road No. 399 Building No. 1

Patentee after: HUAQIN TELECOM TECHNOLOGY Co.,Ltd.

Address before: 201203 Shanghai city Pudong New Area Zhangjiang Keyuan Road No. 399 Building No. 1

Patentee before: SHANGHAI HUAQIN TELECOM TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Patentee after: Huaqin Technology Co.,Ltd.

Address before: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Patentee before: Huaqin Technology Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Patentee after: Huaqin Technology Co.,Ltd.

Address before: 201203 Building 1, 399 Zhangyuan Road, Zhangjiang, Pudong New Area, Shanghai

Patentee before: HUAQIN TELECOM TECHNOLOGY Co.,Ltd.