CN102457599A - Method for detecting light of current environment by mobile phone camera - Google Patents

Method for detecting light of current environment by mobile phone camera Download PDF

Info

Publication number
CN102457599A
CN102457599A CN2010105259989A CN201010525998A CN102457599A CN 102457599 A CN102457599 A CN 102457599A CN 2010105259989 A CN2010105259989 A CN 2010105259989A CN 201010525998 A CN201010525998 A CN 201010525998A CN 102457599 A CN102457599 A CN 102457599A
Authority
CN
China
Prior art keywords
mobile phone
camera
light intensity
light
current environment
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
CN2010105259989A
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.)
SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD
Original Assignee
SHANGHAI THREE FLAG COMMUNICATION 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 SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD filed Critical SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD
Priority to CN2010105259989A priority Critical patent/CN102457599A/en
Publication of CN102457599A publication Critical patent/CN102457599A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method for detecting light of a current environment by a mobile phone camera. A mobile phone baseband chip is used as a main control chip and communicates with and controls the camera through an I2C interface; meanwhile, data transmission between the mobile phone baseband chip and the camera is realized by using a dedicated 8-pin data interface; light sensed information output by the camera is transmitted to a service program in a message form; and the service program compares the acquired light intensity change range and frequency with a preset level, and adjusts a screen backlight and a keyboard of mobile terminal equipment so as to save electric power.

Description

A kind of implementation method that current environment light is detected through mobile phone cam
Technical field
The present invention relates to the mobile communication equipment field, relate in particular to a kind of implementation method that current environment light is detected through mobile phone cam.
Background technology
Present stage, the use of mobile phone more and more widely and has the trend that becomes people's daily life necessity, so the power saving performance of mobile phone more and more receives people's attention.In the mobile phone use, no matter current environment light is strong and weak, display backlight and keyboard back light brightness all are the same, though can manual adjustments, complicated steps and not intelligent.Simultaneously, all be to utilize the independent light sensor that the ambient light intensity detection is regulated the backlight and keyboard back light of mobile phone screen in the market, can increase hardware cost like this.The low-carbon (LC) life is the life style that everyone should pursue, the human earth environment of depending on for existence and living of protection.Extensively reached the frequent communication equipment that uses by people like this for mobile phone like this, just need to pass through intrinsic camera module and realize detecting automatically the current environment light intensity, to reach purpose of power saving.
Summary of the invention
To the deficiency of present prior art, the objective of the invention is to does not increase under the prerequisite of hardware cost, utilizes the intrinsic camera module of portable terminal to obtain light intensity and regulates backlight of mobile terminal and keyboard light, thereby reach purpose of power saving.
The objective of the invention is to realize through following technical scheme:
A kind of implementation method that current environment light is detected through mobile phone cam; Described mobile terminal device with camera function; Comprise chip for cell phone and camera; Mobile phone base band chip is realized communication and control to camera as main control chip through the I2C interface, and camera is realized the reception of view data through the 8BIT data/address bus.The data that software is exported YUV and jpeg data form respectively according to the pixel size of camera output output to mobile phone base band chip, and the data of these two kinds of forms not only comprise view data, also comprise light sensation information simultaneously.
The light sensation information that described mobile phone cam will be stored in the register sends to application layer through Drive Layer with the form of message.For making real-time and the accuracy that reads the light sensation value; For making mobile phone reasonability of regulating backlight with keyboard back light; Open a service role (ServiceTASK) in application layer; The monitoring camera obtains the current environment light intensity to be changed, generally be with one 8 bit value (being that number range is 0~255) expression light intensity from the most weak to the strongest.Service role is confirmed next step operation of doing according to obtaining light intensity value excursion and frequency through software algorithm.
Described light intensity value can be divided into five grades, and corresponding range of light intensity is 0 to 51,51 to 102,102 to 153,153 to 204,204 to 255.Corresponding mobile phone display screen is backlight also to be divided into five grades with the press key lamp backlight illumination, is respectively bright, brighter, normal, darker and gloomy, and promptly the light intensity of current environment and mobile phone backlight illumination are inversely proportional to, and regulates real-time and reaches more purpose of power saving.Concrete adjusting algorithm is following: under the situation that mobile phone key can be used; Per 60 seconds of service role (but this detect frequency user set) obtains the light intensity value that Drive Layer reports and compares judgement, if the light intensity value excursion is current grade, and the message that does not then report backlight level to change; Avoid message too much; Otherwise report corresponding backlight level value, it is backlight to reach the real-time regulated mobile phone, thereby power saving.
Description of drawings
Fig. 1 is communication terminal baseband chip of the present invention and camera communication sketch map;
Fig. 2 is light intensity of the present invention and communication terminal corresponding sketch map backlight;
Fig. 3 regulates flow chart automatically for light intensity of the present invention.
Embodiment
Below in conjunction with accompanying drawing, further specify the present invention and how to realize:
Embodiment
As shown in Figure 1, mobile phone base band chip is as main control chip, and through I2C interface control camera, camera receives view data through the 8BIT data/address bus.The pixel size that software is exported according to camera is exported the mobile phone base band chip that outputs to of YUV and jpeg data form respectively, and mobile phone base band chip deposits view data and light sensation information in related register respectively.
The light sensation information that mobile phone cam will be stored in the register sends to application layer through Drive Layer with the form of message.Service role monitoring current environment light intensity changes, and obtains current light intensity value.Service role is confirmed next step operation of doing according to obtaining light intensity value excursion and frequency through software algorithm.
Under the situation that mobile phone key can be used; Per 60 seconds of service role (but this detect frequency user set) obtains the light intensity value that Drive Layer reports and compares judgements (like Fig. 2), if the light intensity value excursion is current grade, does not then report the message of backlight level variation; Avoid message too much; Otherwise report corresponding backlight level value, according to service role report backlight level carry out the mobile phone screen adjusting (like Fig. 3) with the key-press backlight lamp backlight, reach purpose of power saving.

Claims (3)

1. one kind is passed through the implementation method that mobile phone cam detects current environment light; It is characterized in that: described mobile phone base band chip is as main control chip; Realize communication and control through the I2C interface to camera; Camera is realized the reception of light sensation data through the 8BIT data/address bus, and is stored in the register; Drive Layer sends to application layer with the form of message, and frequency and scope that service routine changes according to light intensity are according to the screen backlight and the keyboard back light of grade adjustment mobile phone.
2. a kind of implementation method that current environment light is detected through mobile phone cam according to claim 1; It is characterized in that: the light sensation information that described mobile phone cam will be stored in the register sends to application layer through Drive Layer with the form of message; Open a service role (Service TASK) in application layer; The monitoring camera obtains the current environment light intensity to be changed; Service role is confirmed next step operation of doing according to obtaining light intensity value excursion and frequency through software algorithm.
3. a kind of implementation method that current environment light is detected through mobile phone cam according to claim 1; It is characterized in that: described under the situation that mobile phone key can be used; Service role obtained the light intensity value that Drive Layer reports in per 60 seconds and compares judgement; If the light intensity value excursion is current grade, the message that does not then report backlight level to change; Otherwise report corresponding backlight level value, it is backlight to reach the real-time regulated mobile phone.
CN2010105259989A 2010-10-29 2010-10-29 Method for detecting light of current environment by mobile phone camera Pending CN102457599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105259989A CN102457599A (en) 2010-10-29 2010-10-29 Method for detecting light of current environment by mobile phone camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105259989A CN102457599A (en) 2010-10-29 2010-10-29 Method for detecting light of current environment by mobile phone camera

Publications (1)

Publication Number Publication Date
CN102457599A true CN102457599A (en) 2012-05-16

Family

ID=46040239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105259989A Pending CN102457599A (en) 2010-10-29 2010-10-29 Method for detecting light of current environment by mobile phone camera

Country Status (1)

Country Link
CN (1) CN102457599A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601808A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Method for automatically adjusting screen luminance by detecting environment light through mobile phone camera
CN104952131A (en) * 2015-06-19 2015-09-30 福建星网锐捷通讯股份有限公司 Method and device for visitor's visit time register of building intercom system
CN105867587A (en) * 2016-03-25 2016-08-17 广东欧珀移动通信有限公司 A touch key brightness adjusting method and adjusting system and a terminal apparatus
CN107135368A (en) * 2017-03-20 2017-09-05 广东小天才科技有限公司 Picture light adjusting method and device for video call
CN110636230A (en) * 2019-10-31 2019-12-31 Oppo广东移动通信有限公司 Exposure adjusting method, device, equipment and storage medium
CN111832249A (en) * 2019-04-11 2020-10-27 珠海金山办公软件有限公司 Document display method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050212824A1 (en) * 2004-03-25 2005-09-29 Marcinkiewicz Walter M Dynamic display control of a portable electronic device display
CN101179789A (en) * 2007-09-12 2008-05-14 青岛海信移动通信技术股份有限公司 Backlight brightness self-adjusting mobile phone and implementing method thereof
CN101378563A (en) * 2007-08-28 2009-03-04 深圳富泰宏精密工业有限公司 Electricity-saving system and method for mobile phones

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050212824A1 (en) * 2004-03-25 2005-09-29 Marcinkiewicz Walter M Dynamic display control of a portable electronic device display
CN101378563A (en) * 2007-08-28 2009-03-04 深圳富泰宏精密工业有限公司 Electricity-saving system and method for mobile phones
CN101179789A (en) * 2007-09-12 2008-05-14 青岛海信移动通信技术股份有限公司 Backlight brightness self-adjusting mobile phone and implementing method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601808A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Method for automatically adjusting screen luminance by detecting environment light through mobile phone camera
CN104952131A (en) * 2015-06-19 2015-09-30 福建星网锐捷通讯股份有限公司 Method and device for visitor's visit time register of building intercom system
CN105867587A (en) * 2016-03-25 2016-08-17 广东欧珀移动通信有限公司 A touch key brightness adjusting method and adjusting system and a terminal apparatus
CN107135368A (en) * 2017-03-20 2017-09-05 广东小天才科技有限公司 Picture light adjusting method and device for video call
CN111832249A (en) * 2019-04-11 2020-10-27 珠海金山办公软件有限公司 Document display method and device and electronic equipment
CN110636230A (en) * 2019-10-31 2019-12-31 Oppo广东移动通信有限公司 Exposure adjusting method, device, equipment and storage medium
CN110636230B (en) * 2019-10-31 2021-03-05 Oppo广东移动通信有限公司 Exposure adjusting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105050246B (en) A kind of method and mobile terminal of mobile terminal regulation lamplight brightness
CN103247281B (en) A kind of method and electronic equipment adjusting display brightness
CN102457599A (en) Method for detecting light of current environment by mobile phone camera
CN102231255B (en) Energy-efficient display and electronic equipment
CN104468912A (en) Method for controlling luminance of screen of mobile terminal and display terminal
TWI383112B (en) Lighting system and related method capable of reducing electricity consumption
CN104464686A (en) Display brilliance control method and electronic device
CN102821210A (en) Power-saving method for reading with intelligent terminal
CN101945179A (en) Method and device for automatically adjusting backlight brightness of mobile terminal and mobile terminal
CN102842291B (en) A kind of back light adjusting system based on obverse face detection and method
CN104616626A (en) Brightness adjusting device and method of display device
CN104918310A (en) Mobile terminal with rapid power saving function and rapid power saving method thereof
CN201378891Y (en) LED road lamp control system
CN101197865A (en) Illumination method for mobile communication terminal and mobile communication terminal thereof
CN102982769B (en) A kind of method of Automatic adjusument screen appointed area brightness
CN109257483B (en) Method for adjusting opening and closing angles of display screens and multi-screen terminal
CN101826290A (en) Backlight control method and mobile terminal
CN104424915A (en) Electronic apparatus and method for controlling brightness for display
CN201509229U (en) Mobile terminal
US20110310071A1 (en) Energy efficient display system
CN105227776A (en) backlight intelligent adjusting method and device
CN109445393B (en) Light sensing automatic lighting system based on mobile terminal positioning
CN106657676A (en) Screen brightness adjusting method and device
CN1124729C (en) Electric economizer for screen and keyboard lighting of mobile telephone set and its usage
CN103606366A (en) Outdoor display screen brightness self adjusting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120516