CN106231103A - A kind of method and system realizing volume and brightness regulation based on Proximity Sensor - Google Patents

A kind of method and system realizing volume and brightness regulation based on Proximity Sensor Download PDF

Info

Publication number
CN106231103A
CN106231103A CN201610627457.4A CN201610627457A CN106231103A CN 106231103 A CN106231103 A CN 106231103A CN 201610627457 A CN201610627457 A CN 201610627457A CN 106231103 A CN106231103 A CN 106231103A
Authority
CN
China
Prior art keywords
mobile terminal
distance
value
volume
brightness
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
CN201610627457.4A
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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201610627457.4A priority Critical patent/CN106231103A/en
Publication of CN106231103A publication Critical patent/CN106231103A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/605Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention relates to technical field of mobile terminals, disclose a kind of method and system realizing volume and brightness regulation based on Proximity Sensor, described method includes: in mobile terminal, Proximity Sensor obtains and blocks object to the distance between touch screen, and judges that described distance value is whether in default distance range;When judging that described distance value is in default distance range, according to the corresponding relation of default distance range Yu mobile terminal parameter, by the regulation of mobile terminal parameter value to the parameter corresponding with described distance value;Described mobile terminal parameter includes: volume, screen intensity and brightness of flash lamp.Whether the present invention judges whether to automatically adjust volume, screen intensity size and brightness of flash lamp size by described distance value in default distance range so that the parameter size after regulation is more suitable for the use environment of user, facilitates user.

Description

A kind of method and system realizing volume and brightness regulation based on Proximity Sensor
Technical field
The present invention relates to relate to technical field of mobile terminals, in particular one realizes sound based on Proximity Sensor Amount and the method and system of brightness regulation.
Background technology
The development of mobile phone correlation technique makes mobile phone be integrated with increasing sensor, wherein distance measuring sensor, as closely Range sensor, laser range sensor, ultrasound are equidistant, are widely used in the mobile devices such as mobile phone, but mobile phone Some parameters of self cannot be adjusted automatically according to external environmental condition.
In the modern life, mobile phone, landline telephone, computer etc. some can realize the electronic equipment of both sides' voice communication, Typically will manually carry out when the output volume of electronic equipment is adjusted, but, the method for this manual regulation volume is deposited In many defects.Such as, when user is when receiving calls, if opening outer sound, then illustrate that user has from mobile phone certain Distance, then the volume being accomplished by mobile phone tunes up, just can be easy to user and carry out Tonghua clearly, and when user puts mobile phone In one's ear time, natural mobile phone is close from the distance of user, avoids the need for the biggest volume, so needing mobile phone that volume is adjusted Little, add access customer in startup procedure, go to use manually regulation not only inconvenient, it is also possible to bring danger.
The pupil of people, when illuminance bigger by surrounding, can automatically shrink and regulate luminous flux.Some portable types The screen intensity of electronic equipment, if with surrounding illuminance difference is too many, user can not see Chu's screen or to screen Feel dazzling, for solving this kind of situation, general mobile electronic device all can have be provided with adjust brightness program, but one As be required for user and manually regulate, but, current screen intensity is automatically adjusted the less effective that scheme is obtained, often Can not get suitable brightness, user it is desirable that according to the screen backlight brightness of ambient light illumination self-checking device, allows user It is not required to do it yourself just can enjoy the screen intensity being most suitable for eyes in different environments, additionally uses mobile phone to enter as user When row is taken pictures, when ambient brightness is inadequate, often reminds user to open light filling or Flash Mode is taken pictures, make During with, inconvenience is the most intelligent.
Therefore, for drawbacks described above, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, it is provided that a kind of based on closely Whether sensor realizes the method and system of volume and brightness regulation, it is intended to by described distance value in default distance range Judge whether volume, screen intensity size and brightness of flash lamp size are automatically adjusted so that after regulation Parameter size is more suitable for the use environment of user, facilitates user.
It is as follows that the present invention solves the technical scheme that technical problem used:
A kind of method realizing volume and brightness regulation based on Proximity Sensor, wherein, including:
Step A, in mobile terminal, Proximity Sensor obtains and blocks object to the distance between touch screen, and judges described distance Whether value is in default distance range;
Step B, when judging that described distance value is in default distance range, joins with mobile terminal according to default distance range The corresponding relation of number, by the regulation of mobile terminal parameter value to the parameter corresponding with described distance value.
The described method realizing volume and brightness regulation based on Proximity Sensor, wherein, described mobile terminal parameter bag Include: volume, screen intensity and brightness of flash lamp.
The described method realizing volume and brightness regulation based on Proximity Sensor, wherein, wrapped before described step A Include:
S, whether detection user enters the concrete application program of mobile terminal, in this way, then starts Proximity Sensor, it is assumed that low coverage It is H from sensor maximum distance of reaction, H is divided into n interval, is respectively as follows: (0, H1), (H1, H2) (Hn-1, Hn), the design parameter value of the interval corresponding concrete Application Parameters of mobile terminal of each distance.
The described method realizing volume and brightness regulation based on Proximity Sensor, wherein, described concrete application package Include: converse, open software and take pictures.
The described method realizing volume and brightness regulation based on Proximity Sensor, wherein, described step A specifically includes:
A1, launches infrared ray to blocking on object by infrared LED in mobile terminal, measure that reflected light back returns time Between, obtain blocking object to distance h between touch screen by time interval;
A2, blocks object to distance h between touch screen by obtain, it is judged that whether described distance value h is in default distance Scope: (0, H1), (H1, H2) (Hn-1, HnIn).
The described method realizing volume and brightness regulation based on Proximity Sensor, wherein, described step B specifically includes:
B1, when the concrete application program that mobile terminal is opened is call, and judges that described distance value h is at default distance model When enclosing interior, according to the corresponding relation of default distance range Yu volume value, obtain corresponding volume value, volume is adjusted automatically The joint volume that extremely described distance range is corresponding;
B2, when the concrete application program that mobile terminal is opened is on software, and judge described distance value h default away from Time in the range of from, according to the corresponding relation of default distance range Yu screen intensity sizes values, obtain corresponding screen brightness value, Screen intensity is automatically adjusted to the screen intensity size that described distance range is corresponding;
B3, when the concrete application program that mobile terminal is opened is to take pictures, and judges that described distance value h is at default distance model When enclosing interior, according to the corresponding relation of default distance range Yu brightness of flash lamp sizes values, obtain corresponding brightness of flash lamp value, Brightness of flash lamp is automatically adjusted to the brightness of flash lamp size that described distance range is corresponding.
A kind of system realizing volume and brightness regulation based on Proximity Sensor, wherein, including:
Pre-set module, for detecting whether user enters the concrete application program of mobile terminal, in this way, then start closely Sensor, it is assumed that Proximity Sensor maximum distance of reaction is H, H is divided into n interval, be respectively as follows: (0, H1), (H1, H2) (Hn-1, Hn), the design parameter value of the interval corresponding concrete Application Parameters of mobile terminal of each distance;
Distance acquisition module, in mobile terminal, Proximity Sensor obtains and blocks object to the distance between touch screen, and Judge that described distance value is whether in default distance range;
Parameter adjustment module, for when judging that described distance value is in default distance range, according to default distance range With the corresponding relation of mobile terminal parameter, mobile terminal parameter value is regulated to the parameter the most corresponding with described distance value.
The described system realizing volume and brightness regulation based on Proximity Sensor, wherein, described mobile terminal parameter bag Include: volume, screen intensity and brightness of flash lamp;Described concrete application program includes: converses, opens software and take pictures.
The described system realizing volume and brightness regulation based on Proximity Sensor, wherein, described distance acquisition module has Body includes:
Distance measuring unit, is used for by the infrared LED transmitting infrared ray in mobile terminal to blocking object, measures reflection light The time reflected, obtain blocking object to distance h between touch screen by time interval;
Distance Judgment unit, for blocking object to distance h between touch screen by obtain, it is judged that described distance value h is No at default distance range: (0, H1), (H1, H2) (Hn-1, HnIn).
The described system realizing volume and brightness regulation based on Proximity Sensor, wherein, described parameter adjustment module has Body includes:
Sound volume regulation unit, is used for when the concrete application program that mobile terminal is opened is call, and judges described distance value h Time in default distance range, according to the corresponding relation of default distance range Yu volume value, obtain corresponding volume Value, is automatically adjusted to the volume that described distance range is corresponding by volume;
Screen intensity regulation unit, is used for when the concrete application program that mobile terminal is opened is on software, and judges institute State distance value h in default distance range time, according to the corresponding relation of default distance range Yu screen intensity sizes values, obtain Take the screen brightness value of correspondence, screen intensity is automatically adjusted to the screen intensity size that described distance range is corresponding;
Brightness of flash lamp regulation unit, is used for when the concrete application program that mobile terminal is opened is to take pictures, and judges described When distance value h is in default distance range, according to the corresponding relation of default distance range Yu brightness of flash lamp sizes values, obtain Take the brightness of flash lamp value of correspondence, brightness of flash lamp is automatically adjusted to the brightness of flash lamp size that described distance range is corresponding.
The present invention uses the Proximity Sensor generally possessed on mobile terminal device to achieve one and regulates more easily The method of volume, screen intensity and brightness of flash lamp, discloses one and realizes volume and brightness tune based on Proximity Sensor The method and system of joint, described method includes: in mobile terminal, Proximity Sensor obtains and blocks object between touch screen Distance, and judge that described distance value is whether in default distance range;When judging that described distance value is at default distance range Time interior, according to the corresponding relation of default distance range Yu mobile terminal parameter, by the regulation of mobile terminal parameter value to described The parameter that distance value is corresponding;Described mobile terminal parameter includes: volume, screen intensity and brightness of flash lamp.The present invention passes through It is bright whether described distance value judges whether volume, screen intensity size and flash lamp in default distance range Degree size automatically adjusts so that the parameter size after regulation is more suitable for the use environment of user, facilitates user.
Accompanying drawing explanation
Fig. 1 is the flow process that the present invention realizes the preferred embodiment of the method for volume and brightness regulation based on Proximity Sensor Figure.
Fig. 2 be the present invention realize the method for volume and brightness regulation based on Proximity Sensor be embodied as flow chart.
Fig. 3 is the function that the present invention realizes the preferred embodiment of the system of volume and brightness regulation based on Proximity Sensor Theory diagram.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention further describes.Should be appreciated that specific embodiment described herein, and need not only in order to explain the present invention In limiting the present invention.
Referring to Fig. 1, Fig. 1 is that the present invention realizes the preferable real of the method for volume and brightness regulation based on Proximity Sensor Execute the flow chart of example.
As it is shown in figure 1, the embodiment of the present invention provide a kind of realize volume and brightness regulation based on Proximity Sensor Method, comprises the following steps:
Step S100, in mobile terminal, Proximity Sensor obtains and blocks object to the distance between touch screen, and judges described Whether distance value is in default distance range.
In the present invention, described Proximity Sensor is to be found range by infrared ray, receive calls as cellphone subscriber or When putting into pocket, sensor may determine that mobile phone has pressed close to the face of people or clothes and cut out the touch controllable function of screen, this Sample is it is prevented that maloperation.
When opening the concrete application program of some mobile terminal, open Proximity Sensor, utilize in mobile terminal Proximity Sensor obtains and blocks object to the distance between touch screen, judge the most again described distance value whether default away from In the range of from.
In the present invention, also included before described step S100: whether detection user enters the concrete application of mobile terminal Program, in this way, then starts Proximity Sensor, it is assumed that Proximity Sensor maximum distance of reaction is H, and H is divided into n interval, It is respectively as follows: (0, H1), (H1, H2) (Hn-1, Hn), the interval corresponding mobile terminal of each distance specifically applies journey The design parameter value of order parameter.
Described mobile terminal parameter includes: volume, screen intensity and brightness of flash lamp;Described concrete application package Include: converse, open software and take pictures.
Described step S100 specifically includes: by the infrared LED transmitting infrared ray in mobile terminal to blocking on object, survey Amount time of returning of reflected light back, obtain blocking object to distance h between touch screen by time interval;By obtain Block object to distance h between touch screen, it is judged that whether described distance value h is at default distance range: (0, H1), (H1, H2) (Hn-1, HnIn).
Step S200, when judging that described distance value is in default distance range, according to default distance range and shifting The corresponding relation of dynamic terminal parameter, by the regulation of mobile terminal parameter value to the parameter corresponding with described distance value.
In the present invention, wherein said mobile terminal parameter includes that volume when conversing, unlatching mobile terminal are concrete The size of screen intensity and open the size of brightness of flash lamp when photographic head is taken pictures, when judging described distance value during software Time in default distance range, according to the corresponding relation of default distance range Yu mobile terminal parameter, mobile terminal is joined Numerical value regulation, to the parameter corresponding with described distance value, facilitates user.
Described step S200 specifically includes:
When the concrete application program that mobile terminal is opened is call, and judge that described distance value h is at default distance range Time interior, according to the corresponding relation of default distance range Yu volume value, obtain corresponding volume value, volume is automatically adjusted To the volume that described distance range is corresponding;
When the concrete application program that mobile terminal is opened is on software, and judge that described distance value h is in default distance In the range of time, according to the corresponding relation of default distance range Yu screen intensity sizes values, obtain corresponding screen brightness value, will Screen intensity is automatically adjusted to the screen intensity size that described distance range is corresponding;
When the concrete application program that mobile terminal is opened is to take pictures, and judge that described distance value h is at default distance range Time interior, according to the corresponding relation of default distance range Yu brightness of flash lamp sizes values, obtain corresponding brightness of flash lamp value, will Brightness of flash lamp is automatically adjusted to the brightness of flash lamp size that described distance range is corresponding.
It is clearer that volume and brightness for making the present invention specifically regulates flow process, shown below is and is embodied as flow process, Refer to Fig. 2, Fig. 2 be the present invention realize the method for volume and brightness regulation based on Proximity Sensor be embodied as flow process Figure.
Include as in figure 2 it is shown, be embodied as flow process:
S20, pre-sets the design parameter value of the distance of reaction interval correspondence concrete Application Parameters of correspondence mobile terminal, it is assumed that Proximity Sensor maximum distance of reaction is H, H is divided into n interval, is respectively as follows: (0, H1), (H1, H2) (Hn-1, Hn), the design parameter value of the interval corresponding concrete Application Parameters of mobile terminal of each distance.
S21, whether detection user enters the concrete application program of mobile terminal.
S22, if be detected that user does not enters into the concrete application program of mobile terminal, does not deals with, i.e. need not Regulate any parameter.
S23, if be detected that after user enters the concrete application program of mobile terminal, Proximity Sensor in mobile terminal Obtain and block object to the distance between touch screen.
S24, obtains according to Proximity Sensor in mobile terminal and blocks object to the distance between touch screen, it is judged that be described Whether distance value is in default distance range.
S25, if described distance value is not in default distance range, does not deals with, and i.e. need not regulate any ginseng Number.
S26, if described distance value is in default distance range, according to default distance range and mobile terminal parameter Corresponding relation, by the regulation of mobile terminal parameter value to the parameter the most corresponding with described distance value;Such as: when user is by mobile whole When the concrete application program opened of end is call, detects and belong to (H1, H2) by distance of reaction h this is interval, and (H1, H2) district Between a corresponding in advance concrete volume value, and volume and distance are directly proportional, i.e. the biggest volume value of distance is the biggest, institute With after judging that h belongs to (H1, H2) interval, In Call is adjusted to (H1, H2) interval corresponding tool by mobile terminal automatically The volume value of body, certain screen intensity size is also the same with the Principles of Regulation of brightness of flash lamp size.
Based on above-described embodiment, the present invention also provide for a kind of based on what Proximity Sensor realized volume and brightness regulation be System, referring to Fig. 3, Fig. 3 is the preferred embodiment that the present invention realizes the system of volume and brightness regulation based on Proximity Sensor Functional schematic block diagram.
As it is shown on figure 3, described system includes:
Pre-set module 310, for detecting whether user enters the concrete application program of mobile terminal, in this way, then start near Range sensor, it is assumed that Proximity Sensor maximum distance of reaction is H, H is divided into n interval, be respectively as follows: (0, H1), (H1, H2) (Hn-1, Hn), the design parameter value of the interval corresponding concrete Application Parameters of mobile terminal of each distance; As detailed above.
Distance acquisition module 320, in mobile terminal, Proximity Sensor obtains and blocks object between touch screen Distance, and judge that described distance value is whether in default distance range;As detailed above.
Parameter adjustment module 330, for when judging that described distance value is in default distance range, according to default away from From the corresponding relation of scope Yu mobile terminal parameter, by the regulation of mobile terminal parameter value to the parameter corresponding with described distance value; As detailed above.
Further, the described system realizing volume and brightness regulation based on Proximity Sensor, wherein, described mobile whole End parameter includes: volume, screen intensity and brightness of flash lamp;Described concrete application program includes: converse, open software and Take pictures;As detailed above.
The described system realizing volume and brightness regulation based on Proximity Sensor, wherein, described distance acquisition module has Body includes:
Distance measuring unit, is used for by the infrared LED transmitting infrared ray in mobile terminal to blocking object, measures reflection light The time reflected, obtain blocking object to distance h between touch screen by time interval;As detailed above.
Distance Judgment unit, for blocking object to distance h between touch screen by obtain, it is judged that described distance value Whether h is at default distance range: (0, H1), (H1, H2) (Hn-1, HnIn);As detailed above.
The described system realizing volume and brightness regulation based on Proximity Sensor, wherein, described parameter adjustment module has Body includes:
Sound volume regulation unit, is used for when the concrete application program that mobile terminal is opened is call, and judges described distance value h Time in default distance range, according to the corresponding relation of default distance range Yu volume value, obtain corresponding volume Value, is automatically adjusted to the volume that described distance range is corresponding by volume;As detailed above.
Screen intensity regulation unit, is used for when the concrete application program that mobile terminal is opened is on software, and sentences When disconnected described distance value h is in default distance range, close according to default distance range is corresponding with screen intensity sizes values System, obtains corresponding screen brightness value, screen intensity is automatically adjusted to the screen intensity size that described distance range is corresponding;Tool Body is described above.
Brightness of flash lamp regulation unit, is used for when the concrete application program that mobile terminal is opened is to take pictures, and judges When described distance value h is in default distance range, close according to default distance range is corresponding with brightness of flash lamp sizes values System, obtains corresponding brightness of flash lamp value, brightness of flash lamp is automatically adjusted to the brightness of flash lamp that described distance range is corresponding Size;As detailed above.
In sum, the invention discloses and a kind of realize volume and the method for brightness regulation based on Proximity Sensor and be System, described method includes: in mobile terminal, Proximity Sensor obtains and blocks object to the distance between touch screen, and judges institute State distance value whether in default distance range;When judging that described distance value is in default distance range, according to presetting The corresponding relation of distance range and mobile terminal parameter, by the regulation of mobile terminal parameter value to the ginseng the most corresponding with described distance value Number;Described mobile terminal parameter includes: volume, screen intensity and brightness of flash lamp.Whether the present invention passes through described distance value Judge whether volume, screen intensity size and brightness of flash lamp size are carried out automatically in default distance range Regulation so that the parameter size after regulation is more suitable for the use environment of user, facilitates user.
Certainly, one of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct related hardware (such as processor, controller etc.), described program can store In the storage medium of an embodied on computer readable, this program can include upon execution such as the flow process of above-mentioned each method embodiment.Its Described in storage medium can be memorizer, magnetic disc, CD etc..
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention Protect scope.

Claims (10)

1. the method realizing volume and brightness regulation based on Proximity Sensor, it is characterised in that including:
Step A, in mobile terminal, Proximity Sensor obtains and blocks object to the distance between touch screen, and judges described distance Whether value is in default distance range;
Step B, when judging that described distance value is in default distance range, joins with mobile terminal according to default distance range The corresponding relation of number, by the regulation of mobile terminal parameter value to the parameter corresponding with described distance value.
The method realizing volume and brightness regulation based on Proximity Sensor the most according to claim 1, it is characterised in that institute State mobile terminal parameter to include: volume, screen intensity and brightness of flash lamp.
The method realizing volume and brightness regulation based on Proximity Sensor the most according to claim 1, it is characterised in that Include before described step A:
S, whether detection user enters the concrete application program of mobile terminal, in this way, then starts Proximity Sensor, it is assumed that low coverage It is H from sensor maximum distance of reaction, H is divided into n interval, is respectively as follows: (0, H1), (H1, H2) (Hn-1, Hn), the design parameter value of the interval corresponding concrete Application Parameters of mobile terminal of each distance.
The method realizing volume and brightness regulation based on Proximity Sensor the most according to claim 3, it is characterised in that institute State concrete application program to include: converse, open software and take pictures.
The method realizing volume and brightness regulation based on Proximity Sensor the most according to claim 1, it is characterised in that institute State step A to specifically include:
A1, launches infrared ray to blocking on object by infrared LED in mobile terminal, measure that reflected light back returns time Between, obtain blocking object to distance h between touch screen by time interval;
A2, blocks object to distance h between touch screen by obtain, it is judged that whether described distance value h is in default distance Scope: (0, H1), (H1, H2) (Hn-1, HnIn).
The method realizing volume and brightness regulation based on Proximity Sensor the most according to claim 1, it is characterised in that institute State step B to specifically include:
B1, when the concrete application program that mobile terminal is opened is call, and judges that described distance value h is at default distance model When enclosing interior, according to the corresponding relation of default distance range Yu volume value, obtain corresponding volume value, volume is adjusted automatically The joint volume that extremely described distance range is corresponding;
B2, when the concrete application program that mobile terminal is opened is on software, and judge described distance value h default away from Time in the range of from, according to the corresponding relation of default distance range Yu screen intensity sizes values, obtain corresponding screen brightness value, Screen intensity is automatically adjusted to the screen intensity size that described distance range is corresponding;
B3, when the concrete application program that mobile terminal is opened is to take pictures, and judges that described distance value h is at default distance model When enclosing interior, according to the corresponding relation of default distance range Yu brightness of flash lamp sizes values, obtain corresponding brightness of flash lamp value, Brightness of flash lamp is automatically adjusted to the brightness of flash lamp size that described distance range is corresponding.
7. the system realizing volume and brightness regulation based on Proximity Sensor, it is characterised in that including:
Pre-set module, for detecting whether user enters the concrete application program of mobile terminal, in this way, then start closely Sensor, it is assumed that Proximity Sensor maximum distance of reaction is H, H is divided into n interval, be respectively as follows: (0, H1), (H1, H2) (Hn-1, Hn), the design parameter value of the interval corresponding concrete Application Parameters of mobile terminal of each distance;
Distance acquisition module, in mobile terminal, Proximity Sensor obtains and blocks object to the distance between touch screen, and Judge that described distance value is whether in default distance range;
Parameter adjustment module, for when judging that described distance value is in default distance range, according to default distance range With the corresponding relation of mobile terminal parameter, mobile terminal parameter value is regulated to the parameter the most corresponding with described distance value.
The system of volume and brightness regulation is realized the most according to claim 7, it is characterised in that institute based on Proximity Sensor State mobile terminal parameter to include: volume, screen intensity and brightness of flash lamp;Described concrete application program includes: converses, open Software and taking pictures.
The system of volume and brightness regulation is realized the most according to claim 7, it is characterised in that institute based on Proximity Sensor State distance acquisition module to specifically include:
Distance measuring unit, is used for by the infrared LED transmitting infrared ray in mobile terminal to blocking object, measures reflection light The time reflected, obtain blocking object to distance h between touch screen by time interval;
Distance Judgment unit, for blocking object to distance h between touch screen by obtain, it is judged that described distance value h is No at default distance range: (0, H1), (H1, H2) (Hn-1, HnIn).
The system of volume and brightness regulation is realized the most according to claim 7 based on Proximity Sensor, it is characterised in that Described parameter adjustment module specifically includes:
Sound volume regulation unit, is used for when the concrete application program that mobile terminal is opened is call, and judges described distance value h Time in default distance range, according to the corresponding relation of default distance range Yu volume value, obtain corresponding volume Value, is automatically adjusted to the volume that described distance range is corresponding by volume;
Screen intensity regulation unit, is used for when the concrete application program that mobile terminal is opened is on software, and judges institute State distance value h in default distance range time, according to the corresponding relation of default distance range Yu screen intensity sizes values, obtain Take the screen brightness value of correspondence, screen intensity is automatically adjusted to the screen intensity size that described distance range is corresponding;
Brightness of flash lamp regulation unit, is used for when the concrete application program that mobile terminal is opened is to take pictures, and judges described When distance value h is in default distance range, according to the corresponding relation of default distance range Yu brightness of flash lamp sizes values, obtain Take the brightness of flash lamp value of correspondence, brightness of flash lamp is automatically adjusted to the brightness of flash lamp size that described distance range is corresponding.
CN201610627457.4A 2016-08-03 2016-08-03 A kind of method and system realizing volume and brightness regulation based on Proximity Sensor Pending CN106231103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610627457.4A CN106231103A (en) 2016-08-03 2016-08-03 A kind of method and system realizing volume and brightness regulation based on Proximity Sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610627457.4A CN106231103A (en) 2016-08-03 2016-08-03 A kind of method and system realizing volume and brightness regulation based on Proximity Sensor

Publications (1)

Publication Number Publication Date
CN106231103A true CN106231103A (en) 2016-12-14

Family

ID=57536445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610627457.4A Pending CN106231103A (en) 2016-08-03 2016-08-03 A kind of method and system realizing volume and brightness regulation based on Proximity Sensor

Country Status (1)

Country Link
CN (1) CN106231103A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107087079A (en) * 2017-06-29 2017-08-22 深圳市泰衡诺科技有限公司上海分公司 Brightness control system and method under handsfree talk mode
CN107257430A (en) * 2017-04-26 2017-10-17 努比亚技术有限公司 A kind of camera control method, terminal and computer-readable recording medium
CN107506167A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN107592407A (en) * 2017-08-11 2018-01-16 北京安云世纪科技有限公司 The method and device of adjustment call relevant information in communication process
CN107948445A (en) * 2017-12-20 2018-04-20 西安易朴通讯技术有限公司 Audio reproducing apparatus, light sensation detecting system and method
CN108307022A (en) * 2018-01-23 2018-07-20 青岛海信移动通信技术股份有限公司 Method for controlling volume and device
CN108696652A (en) * 2017-04-06 2018-10-23 富士施乐株式会社 Detection device and device
CN108766362A (en) * 2018-05-04 2018-11-06 广东小天才科技有限公司 A kind of regulating system of screen intensity, method and device
US10244099B2 (en) 2017-03-07 2019-03-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for determining status of terminal, and terminal
CN110634426A (en) * 2018-06-22 2019-12-31 欧阳院红 Display device
CN112904986A (en) * 2021-03-24 2021-06-04 重庆电子工程职业学院 Computer auxiliary support
CN113439254A (en) * 2019-03-04 2021-09-24 深圳迈瑞生物医疗电子股份有限公司 Medical equipment output device control method, monitoring system and monitoring equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103915048A (en) * 2013-01-06 2014-07-09 北京京东方光电科技有限公司 Detecting sensor adjusting device and method and substrate detecting device
CN105096912A (en) * 2014-05-04 2015-11-25 深圳桑菲消费通信有限公司 Mobile terminal screen brightness adjustment method and mobile terminal
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103915048A (en) * 2013-01-06 2014-07-09 北京京东方光电科技有限公司 Detecting sensor adjusting device and method and substrate detecting device
CN105096912A (en) * 2014-05-04 2015-11-25 深圳桑菲消费通信有限公司 Mobile terminal screen brightness adjustment method and mobile terminal
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI684116B (en) * 2017-03-07 2020-02-01 大陸商廣東歐珀移動通信有限公司 Terminal state judgment method, device and terminal
US10244099B2 (en) 2017-03-07 2019-03-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for determining status of terminal, and terminal
CN108696652B (en) * 2017-04-06 2022-05-10 富士胶片商业创新有限公司 Detection device and device
CN108696652A (en) * 2017-04-06 2018-10-23 富士施乐株式会社 Detection device and device
CN107257430B (en) * 2017-04-26 2019-10-15 努比亚技术有限公司 A kind of camera control method, terminal and computer readable storage medium
CN107257430A (en) * 2017-04-26 2017-10-17 努比亚技术有限公司 A kind of camera control method, terminal and computer-readable recording medium
CN107087079B (en) * 2017-06-29 2023-05-26 深圳市泰衡诺科技有限公司上海分公司 Brightness adjusting system and method in hands-free call mode
CN107087079A (en) * 2017-06-29 2017-08-22 深圳市泰衡诺科技有限公司上海分公司 Brightness control system and method under handsfree talk mode
CN107592407A (en) * 2017-08-11 2018-01-16 北京安云世纪科技有限公司 The method and device of adjustment call relevant information in communication process
CN107506167B (en) * 2017-08-18 2020-06-30 Oppo广东移动通信有限公司 Volume control method and device of mobile terminal, storage medium and mobile terminal
CN107506167A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN107948445B (en) * 2017-12-20 2020-09-18 西安易朴通讯技术有限公司 Audio reproducing apparatus, light sensation detecting system and method
CN107948445A (en) * 2017-12-20 2018-04-20 西安易朴通讯技术有限公司 Audio reproducing apparatus, light sensation detecting system and method
CN108307022A (en) * 2018-01-23 2018-07-20 青岛海信移动通信技术股份有限公司 Method for controlling volume and device
CN108766362A (en) * 2018-05-04 2018-11-06 广东小天才科技有限公司 A kind of regulating system of screen intensity, method and device
CN110634426A (en) * 2018-06-22 2019-12-31 欧阳院红 Display device
CN113439254A (en) * 2019-03-04 2021-09-24 深圳迈瑞生物医疗电子股份有限公司 Medical equipment output device control method, monitoring system and monitoring equipment
CN112904986A (en) * 2021-03-24 2021-06-04 重庆电子工程职业学院 Computer auxiliary support

Similar Documents

Publication Publication Date Title
CN106231103A (en) A kind of method and system realizing volume and brightness regulation based on Proximity Sensor
CN104363337B (en) Method and device for regulating screen brightness of mobile terminal
CN106357925B (en) Switching method, device and the terminal of screen intensity shaping modes
CN105788536B (en) Back light brightness regulating method, device and terminal device
CN114449599B (en) Network link switching method based on electronic equipment position and electronic equipment
CN102984352B (en) Method and device of adjusting of screen luminance of terminal and terminal
US20130178246A1 (en) Enabling speaker phone mode of a portable voice communications device having a built-in camera
CN105072280A (en) Processing method and system for mobile terminal to automatically hang up
CN102420641A (en) Method and system for realizing automatic matching connection of Bluetooth headset
CN106921784A (en) A kind of system theme Night switching method and apparatus of mobile terminal
CN107147767B (en) In Call control method, device, storage medium and terminal
CN114095599B (en) Message display method and electronic equipment
CN102055849A (en) Method for self-testing intensity of surrounding light of mobile phone
WO2015131743A1 (en) Incoming call processing method, device and terminal
CN106227645A (en) electric quantity display method and device
CN107609442A (en) Barcode scanning method, mobile terminal and computer-readable recording medium
CN109151428A (en) automatic white balance processing method, device and computer storage medium
CN107631750A (en) For testing the method, apparatus, terminal and storage medium of terminal to be measured
US20090298549A1 (en) Handheld device and power saving method therefor
CN107592407A (en) The method and device of adjustment call relevant information in communication process
CN109257508A (en) A kind of method, storage medium and mobile terminal that automatic backlight is adjusted
CN114448015A (en) Temperature compensation method and device, terminal equipment and readable storage medium
WO2016131282A1 (en) Lighting application control method and apparatus for terminal, and terminal
CN107466470A (en) Method, apparatus, electronic equipment and the storage medium of control display screen backlight
US20070218859A1 (en) Method for switching operation modes of a mobile communication apparatus

Legal Events

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

Application publication date: 20161214