CN103167128A - System and method for achieving automatic sleep of mobile phone based on proximity sensor - Google Patents

System and method for achieving automatic sleep of mobile phone based on proximity sensor Download PDF

Info

Publication number
CN103167128A
CN103167128A CN2012102783204A CN201210278320A CN103167128A CN 103167128 A CN103167128 A CN 103167128A CN 2012102783204 A CN2012102783204 A CN 2012102783204A CN 201210278320 A CN201210278320 A CN 201210278320A CN 103167128 A CN103167128 A CN 103167128A
Authority
CN
China
Prior art keywords
mobile phone
proximity sensor
cpu
microprocessor
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012102783204A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN2012102783204A priority Critical patent/CN103167128A/en
Publication of CN103167128A publication Critical patent/CN103167128A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a system and a method for achieving automatic sleep of a mobile phone based on a proximity sensor. The method comprises the steps: A, starting the proximity sensor of the mobile phone, enabling a touch screen of the mobile phone to be in an open state, and selecting to shield the proximity sensor; B, detecting the actual distance between the mobile phone and a screen through the proximity sensor, and sending the actual distance to a microprocessor; C, invoking a distance standard value stored in a storage through the microprocessor, comparing the distance standard value with the actual distance, if the actual distance is smaller than the distance standard value, producing a signal of closing the touch screen, and sending the signal to a mobile phone central processing unit (CPU); and D, receiving the signal of closing the touch screen through the CPU, controlling a power supply management module to close the touch screen of the mobile phone, and enabling the mobile phone to be in a sleep state. Compared wit the prior art, operation is not needed, as long as an object is close to the touch screen of the mobile phone, the touch screen can be closed automatically, the situation of touching by accident can be prevented effectively, and at the same time, the problems that time consumption is long due to overtime closing of the touch screen of the system, and the operation of closing the touch screen by pressing a button is troublesome are solved.

Description

Realize the system and method for mobile phone sleep mode automatically based on Proximity Sensor
Technical field
The present invention relates to mobile phone, what be specifically related to is a kind of system and method for realizing the mobile phone sleep mode automatically based on Proximity Sensor.
Background technology
present smart mobile phone has larger touch-screen usually, can realize the operation of mobile phone is controlled by touch screen, because touch-screen can be realized controlling by touching or just contacting, when bringing better experience to the user, also there is the problem that false touch easily occurs, for this reason, when using this class smart mobile phone, need to or close the situation that screen prevents false touch by screen locking, but at present mobile phone screen locking or to close screen be all by pressing the overtime realization of mobile phone POWER key or system, can cause the mobile phone key serious wear owing to often pressing the POWER key, and operation very bothers, realize that screen closes and system is overtime, consuming time longer again, and the situation of false touch easily appears.
Summary of the invention
The object of the present invention is to provide a kind of system and method for realizing the mobile phone sleep mode automatically based on Proximity Sensor, to solve present smart mobile phone in use, need to be by the overtime mobile phone screen autoshutdown of realizing of POWER key or system, existing troublesome poeration, the easily problem of false touch.
The objective of the invention is to be achieved through the following technical solutions.
A kind of system that realizes the mobile phone sleep mode automatically based on Proximity Sensor, comprise mobile phone body, be arranged on touch screen and wiring board in mobile phone body, be provided with microprocessor, CPU and Proximity Sensor on described wiring board, described Proximity Sensor is connected with CPU by microprocessor, for detection of the distance near the Mobile phone touch control screen, and the distance value that obtains is sent to microprocessor, by sending to CPU after microprocessor processes.
Preferably, this system also includes a power management module that is connected with CPU, is used for according to cpu instruction the closing hand phone touch screen.
Preferably, this system also includes a memory that is connected with microprocessor, stores the criterion distance value of closing screen in this memory.
Preferably, this system also includes a communication management module that is connected with CPU, is used for when mobile phone is in communication state, produces communication instruction and sends to CPU, controls microprocessor by CPU and closes Proximity Sensor.
In addition, the present invention also provides a kind of method that realizes the mobile phone sleep mode automatically based on Proximity Sensor, comprises step:
A, starting hand-set Proximity Sensor, and make the Mobile phone touch control screen be in opening, select to block Proximity Sensor;
Actual range between B, Proximity Sensor detection of handset and shelter, and send to microprocessor;
C, microprocessor call the criterion distance value in memory, compare with above-mentioned actual range, if actual range less than this criterion distance value, produces the signal of closing touch screen, send to mobile phone CPU;
After D, CPU receive above-mentioned signal of closing touch screen, control power management module closing hand phone touch screen, make mobile phone be in sleep state.
Preferably, comprise before steps A:
The criterion distance value of closing hand phone screen is set, and with its corresponding stored in mobile phone memory, during less than this criterion distance value, mobile phone screen is closed near Mobile phone touch control screen distance.
Preferably, also comprise before steps A:
Judge whether mobile phone is in incoming call, remove electricity, the communication state of short message receiving-transmitting and communication process, if so, the communication management module produces communication instruction and sends to CPU, controls microprocessor by CPU and closes Proximity Sensor; If not, enter steps A.
Preferably, step C comprises:
Microprocessor calls the criterion distance value in memory, compares with above-mentioned actual range, if actual range less than this criterion distance value, produces the signal of closing touch screen, sends to mobile phone CPU; If actual range greater than this criterion distance value, finishes.
The system and method for realizing the mobile phone sleep mode automatically based on Proximity Sensor provided by the invention, by the Proximity Sensor that is arranged in mobile phone, the distance near mobile phone is detected, to obtain corresponding distance value, by relatively judgement, control mobile phone screen and close.Compared with prior art, the present invention need not operation, as long as there is object can realize automatically that near mobile phone screen screen closes, can effectively prevent the situation of false touch, avoided simultaneously going out because system is overtime and shielded existing length consuming time, and button closes the problem of the existing troublesome poeration of screen.
Description of drawings
Fig. 1 is system principle diagram of the present invention.
Fig. 2 is operation principle flow chart of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also shown in Figure 1ly, Fig. 1 is system principle diagram of the present invention.The invention provides a kind of system that realizes the mobile phone sleep mode automatically based on Proximity Sensor, being mainly used in solving present pass screen need to be by realizing existing troublesome poeration by key control or by system is overtime, length consuming time, and the problem that easily produces false touch, as long as the present invention has object can realize automatically that near mobile phone screen screen closes, can effectively prevent the situation of false touch.
The system that realizes the mobile phone sleep mode automatically based on Proximity Sensor of the present invention, include mobile phone body, be arranged on touch screen and wiring board in mobile phone body, be provided with microprocessor, CPU, Proximity Sensor, power management module, memory and communication management module on described wiring board, described Proximity Sensor is connected with CPU by microprocessor, for detection of the distance near the Mobile phone touch control screen, and the distance value that obtains is sent to microprocessor, by sending to CPU after microprocessor processes; Power management module is connected with CPU, is used for according to cpu instruction, and the closing hand phone touch screen makes mobile phone be in sleep state; Memory is connected with microprocessor, stores be used to the criterion distance value of closing screen; The communication management module is connected with CPU, is used for being in incoming call at mobile phone, removes electricity, during the communication state of short message receiving-transmitting and communication process, and the generation communication instruction sends to CPU, controls microprocessor by CPU and closes Proximity Sensor.
when native system is in wake-up states at mobile phone, can directly mobile phone be put into pocket or block mobile phone with hand, corresponding Proximity Sensor correspondence detects close actual range, such as the distance of hand and mobile phone screen or the distance of pocket and screen etc., the actual range that obtain this moment is sent to microprocessor, microprocessor calls the criterion distance value in memory, compare with above-mentioned actual range, if less than the criterion distance value, expression needs the closing hand phone touch screen, corresponding transmission is closed screen command to CPU, CPU controls power management module and closes touch screen, make mobile phone enter into sleep state, thereby save user's operation, experience more easily is provided.
Need to prove in addition when mobile phone is in communication state or other just at mode of operation, can not trigger and start Proximity Sensor and enter aforesaid operations.
Be more than to realize the explanation of the system of mobile phone sleep mode automatically to the present invention is based on Proximity Sensor, the present invention is based on Proximity Sensor below in conjunction with 2 pairs, accompanying drawing and realize that the method for mobile phone sleep mode automatically is further described.
Shown in Figure 2, Fig. 2 is operation principle flow chart of the present invention.The present invention also provides a kind of method that realizes the mobile phone sleep mode automatically based on Proximity Sensor, and it comprises that specifically step is as follows:
At first the criterion distance value of closing hand phone screen is set, and with its corresponding stored in mobile phone memory, during less than this criterion distance value, mobile phone screen is closed near Mobile phone touch control screen distance;
Then judge whether mobile phone is in incoming call, remove electricity, the communication state of short message receiving-transmitting and communication process, if so, the communication management module produces communication instruction and sends to CPU, controls microprocessor by CPU and closes Proximity Sensor; If not, can open Proximity Sensor.
Judge simultaneously whether mobile phone is in or state is used in user's normal running, such as play games, see the mode of operation such as video by mobile phone, if so, control microprocessor by CPU and close Proximity Sensor; If not, can open Proximity Sensor.
A, starting hand-set Proximity Sensor, and make the Mobile phone touch control screen be in opening, select to block Proximity Sensor;
Actual range between B, Proximity Sensor detection of handset and shelter, and send to microprocessor;
C, microprocessor call the criterion distance value in memory, compare with above-mentioned actual range, if actual range less than this criterion distance value, produces the signal of closing touch screen, send to mobile phone CPU;
After D, CPU receive above-mentioned signal of closing touch screen, control power management module closing hand phone touch screen, make mobile phone be in sleep state.
Microprocessor calls the criterion distance value in memory, compares with above-mentioned actual range, if actual range less than this criterion distance value, produces the signal of closing touch screen, sends to mobile phone CPU; If actual range greater than this criterion distance value, finishes.
The present invention detects the distance near mobile phone by the Proximity Sensor that is arranged in mobile phone, to obtain corresponding distance value, by relatively judgement, controls mobile phone screen and closes.Compared with prior art, the present invention need not operation, as long as there is object can realize automatically that near mobile phone screen screen closes, can effectively prevent the situation of false touch, avoided simultaneously going out because system is overtime and shielded existing length consuming time, and button closes the problem of the existing troublesome poeration of screen.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. system that realizes the mobile phone sleep mode automatically based on Proximity Sensor, comprise mobile phone body, be arranged on touch screen and wiring board in mobile phone body, it is characterized in that being provided with on described wiring board microprocessor, CPU and Proximity Sensor, described Proximity Sensor is connected with CPU by microprocessor, for detection of the distance near the Mobile phone touch control screen, and the distance value that obtains is sent to microprocessor, by sending to CPU after microprocessor processes.
2. the system that realizes the mobile phone sleep mode automatically based on Proximity Sensor according to claim 1, characterized by further comprising a power management module that is connected with CPU, is used for according to cpu instruction the closing hand phone touch screen.
3. the system that realizes the mobile phone sleep mode automatically based on Proximity Sensor according to claim 1, characterized by further comprising a memory that is connected with microprocessor, stores the criterion distance value of closing screen in this memory.
4. the system that realizes the mobile phone sleep mode automatically based on Proximity Sensor according to claim 1, characterized by further comprising a communication management module that is connected with CPU, be used for when mobile phone is in communication state, produce communication instruction and send to CPU, control microprocessor by CPU and close Proximity Sensor.
5. method that realizes the mobile phone sleep mode automatically based on Proximity Sensor is characterized in that comprising step:
A, starting hand-set Proximity Sensor, and make the Mobile phone touch control screen be in opening, select to block Proximity Sensor;
Actual range between B, Proximity Sensor detection of handset and shelter, and send to microprocessor;
C, microprocessor call the criterion distance value in memory, compare with above-mentioned actual range, if actual range less than this criterion distance value, produces the signal of closing touch screen, send to mobile phone CPU;
After D, CPU receive above-mentioned signal of closing touch screen, control power management module closing hand phone touch screen, make mobile phone be in sleep state.
6. the method that realizes the mobile phone sleep mode automatically based on Proximity Sensor according to claim 5 is characterized in that comprising before steps A:
The criterion distance value of closing hand phone screen is set, and with its corresponding stored in mobile phone memory, during less than this criterion distance value, mobile phone screen is closed near Mobile phone touch control screen distance.
7. the method that realizes the mobile phone sleep mode automatically based on Proximity Sensor according to claim 5 is characterized in that also comprising before steps A:
Judge whether mobile phone is in incoming call, remove electricity, the communication state of short message receiving-transmitting and communication process, if so, the communication management module produces communication instruction and sends to CPU, controls microprocessor by CPU and closes Proximity Sensor; If not, enter steps A.
8. the method that realizes the mobile phone sleep mode automatically based on Proximity Sensor according to claim 5 is characterized in that step C comprises:
Microprocessor calls the criterion distance value in memory, compares with above-mentioned actual range, if actual range less than this criterion distance value, produces the signal of closing touch screen, sends to mobile phone CPU; If actual range greater than this criterion distance value, finishes.
CN2012102783204A 2012-08-07 2012-08-07 System and method for achieving automatic sleep of mobile phone based on proximity sensor Pending CN103167128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102783204A CN103167128A (en) 2012-08-07 2012-08-07 System and method for achieving automatic sleep of mobile phone based on proximity sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102783204A CN103167128A (en) 2012-08-07 2012-08-07 System and method for achieving automatic sleep of mobile phone based on proximity sensor

Publications (1)

Publication Number Publication Date
CN103167128A true CN103167128A (en) 2013-06-19

Family

ID=48589860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102783204A Pending CN103167128A (en) 2012-08-07 2012-08-07 System and method for achieving automatic sleep of mobile phone based on proximity sensor

Country Status (1)

Country Link
CN (1) CN103167128A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516901A (en) * 2013-09-18 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep of mobile intelligent device
CN103902854A (en) * 2014-03-18 2014-07-02 深圳创维数字技术股份有限公司 Method and terminal for preventing misoperation
CN104305648A (en) * 2014-10-28 2015-01-28 广东小天才科技有限公司 Energy-saving bracelet and control method of energy-saving bracelet
CN104363346A (en) * 2014-11-20 2015-02-18 惠州Tcl移动通信有限公司 Conversation processing method and system based on mobile terminal and mobile terminal
CN104618649A (en) * 2015-01-29 2015-05-13 深圳市金立通信设备有限公司 Terminal
CN104639833A (en) * 2015-01-29 2015-05-20 深圳市金立通信设备有限公司 Method for controlling camera device
CN104767867A (en) * 2014-01-07 2015-07-08 中兴通讯股份有限公司 Automatic mobile phone sleep method and device
CN105653033A (en) * 2015-12-29 2016-06-08 广东欧珀移动通信有限公司 Method and device for controlling screen bright and black of terminal
CN107102778A (en) * 2015-01-19 2017-08-29 青岛海信移动通信技术股份有限公司 A kind of detection method of touch screen and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking 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
CN102176733A (en) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling screen backlight
CN102306132A (en) * 2011-08-10 2012-01-04 中兴通讯股份有限公司 Mobile terminal and method for waking up mobile terminal
CN102340300A (en) * 2010-07-21 2012-02-01 中兴通讯股份有限公司 Mobile terminal touch key locking method and apparatus thereof
CN102572075A (en) * 2010-12-23 2012-07-11 康佳集团股份有限公司 Information anti-theft method and mobile phone thereof
EP2477306A1 (en) * 2009-09-10 2012-07-18 Huizhou Tcl Mobile Communication Co., Ltd. Power supply unit for mobile terminal and power supply switching method for mobile terminal
CN102609661A (en) * 2012-02-17 2012-07-25 深圳市金立通信设备有限公司 Screen locking control system and method of intelligent equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2477306A1 (en) * 2009-09-10 2012-07-18 Huizhou Tcl Mobile Communication Co., Ltd. Power supply unit for mobile terminal and power supply switching method for mobile terminal
CN102340300A (en) * 2010-07-21 2012-02-01 中兴通讯股份有限公司 Mobile terminal touch key locking method and apparatus thereof
CN102006356A (en) * 2010-09-27 2011-04-06 浙江大学 Method for detecting state of cell phone pocket by using Android operating system
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN102572075A (en) * 2010-12-23 2012-07-11 康佳集团股份有限公司 Information anti-theft method and mobile phone thereof
CN102176733A (en) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling screen backlight
CN102306132A (en) * 2011-08-10 2012-01-04 中兴通讯股份有限公司 Mobile terminal and method for waking up mobile terminal
CN102609661A (en) * 2012-02-17 2012-07-25 深圳市金立通信设备有限公司 Screen locking control system and method of intelligent equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516901A (en) * 2013-09-18 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep of mobile intelligent device
CN104767867A (en) * 2014-01-07 2015-07-08 中兴通讯股份有限公司 Automatic mobile phone sleep method and device
CN103902854A (en) * 2014-03-18 2014-07-02 深圳创维数字技术股份有限公司 Method and terminal for preventing misoperation
CN104305648A (en) * 2014-10-28 2015-01-28 广东小天才科技有限公司 Energy-saving bracelet and control method of energy-saving bracelet
CN104305648B (en) * 2014-10-28 2016-03-16 广东小天才科技有限公司 A kind of energy-conservation bracelet and be applied to the control method of this energy-conservation bracelet
CN104363346A (en) * 2014-11-20 2015-02-18 惠州Tcl移动通信有限公司 Conversation processing method and system based on mobile terminal and mobile terminal
CN107102778A (en) * 2015-01-19 2017-08-29 青岛海信移动通信技术股份有限公司 A kind of detection method of touch screen and terminal
CN107132951A (en) * 2015-01-19 2017-09-05 青岛海信移动通信技术股份有限公司 A kind of detection method of touch screen and terminal
CN107168583A (en) * 2015-01-19 2017-09-15 青岛海信移动通信技术股份有限公司 A kind of detection method of touch screen and terminal
CN104639833A (en) * 2015-01-29 2015-05-20 深圳市金立通信设备有限公司 Method for controlling camera device
CN104618649A (en) * 2015-01-29 2015-05-13 深圳市金立通信设备有限公司 Terminal
CN104618649B (en) * 2015-01-29 2018-03-13 深圳市金立通信设备有限公司 A kind of terminal
CN104639833B (en) * 2015-01-29 2018-05-15 深圳市金立通信设备有限公司 A kind of control method of camera device
CN105653033A (en) * 2015-12-29 2016-06-08 广东欧珀移动通信有限公司 Method and device for controlling screen bright and black of terminal
CN105653033B (en) * 2015-12-29 2018-09-04 广东欧珀移动通信有限公司 A kind of control method and device of the bright screen of terminal and the screen that goes out

Similar Documents

Publication Publication Date Title
CN103167128A (en) System and method for achieving automatic sleep of mobile phone based on proximity sensor
CN103685762B (en) A kind of mobile terminal and control method thereof
CN100583658C (en) Sensor screen saver
CN103150050B (en) Touch screen terminal and method of work thereof
CN107277266B (en) Mode switching method and device
CN103167151A (en) Automatic screen-locking system and method for mobile phone placed in pocket
CN102917130A (en) Method and system for preventing mis-operation of touch-screen intelligent mobile phone
CN101951444A (en) Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN102917124A (en) Method for dynamically adjusting threshold of distance sensor, and mobile terminal
CN103516913B (en) The method and apparatus that mobile phone display screen auto sleep wakes up up
KR20170012177A (en) Method and device for waking up mcu chip
CN105137831B (en) Energy-saving mode open method and device
US8558809B2 (en) Apparatus and method for operation according to movement in portable terminal
CN103412719A (en) Method and device for preventing touch screen terminal from misoperation
CN102572119B (en) A kind of mobile terminal and electricity saving method thereof
CN103873636A (en) Method and device for controlling mobile phone power supply and charging
CN104836869A (en) Mobile communication terminal and mobile communication terminal power-on method
CN104899080A (en) Method and apparatus for switching real-time image in instant messaging
CN105589761A (en) Method and apparatus for implementing terminal control and mobile terminal
CN105827792B (en) The unlocking screen method and electronic equipment of a kind of electronic equipment
CN103685730A (en) Mobile terminal communication control method and mobile terminal thereof
CN103227858A (en) Method for locking and screen closing of communication device during communication
CN105807891A (en) Screen control method and device, and electronic equipment
TW201607348A (en) Method for managing data traffic of software and portable electronic apparatus using the same
CN107861620B (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130619