CN102572054A - Method and system for controlling volume via single volume regulation key - Google Patents

Method and system for controlling volume via single volume regulation key Download PDF

Info

Publication number
CN102572054A
CN102572054A CN201110432185XA CN201110432185A CN102572054A CN 102572054 A CN102572054 A CN 102572054A CN 201110432185X A CN201110432185X A CN 201110432185XA CN 201110432185 A CN201110432185 A CN 201110432185A CN 102572054 A CN102572054 A CN 102572054A
Authority
CN
China
Prior art keywords
acceleration
volume
module
variable sum
axle
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.)
Withdrawn
Application number
CN201110432185XA
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.)
Guangdong Bubugao Electronic Industry Co Ltd
Original Assignee
Guangdong Bubugao Electronic Industry 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 Guangdong Bubugao Electronic Industry Co Ltd filed Critical Guangdong Bubugao Electronic Industry Co Ltd
Priority to CN201110432185XA priority Critical patent/CN102572054A/en
Publication of CN102572054A publication Critical patent/CN102572054A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephone Set Structure (AREA)

Abstract

The invention discloses a method for controlling volume via a single volume regulation key. The method is characterized by comprising the following steps of: pressing the single volume regulation key for a long time to start a gravity acceleration sensor; acquiring an acceleration value and the acceleration direction in any one axial direction or combination of any two axial directions of an X axis, a Y axis and a Z axis once at intervals of time T through the gravity acceleration sensor; if the acceleration value is more than a preset acceleration threshold, adding 1 to a variable sum, wherein the variable sum is the acceleration acquisition times; if the variable sum is more than a preset threshold times, turning up or down the volume according to the property of the acceleration direction. The method in the invention, combined with the gravity acceleration sensor, can realize volume control via the single volume regulation key, can save structure space of a mobile phone undoubtedly to meet the modern pursuit of designing light and thin mobile phones, and also can reduce the cost of the mobile phones.

Description

A kind of method and system of single-tone amount adjusting key control volume
Technical field:
The present invention relates to a kind of method and system of single-tone amount adjusting key control volume.
Background technology:
Existing mobile phone, its volume is regulated has two kinds usually: a kind of is to utilize two volume keys to realize regulating, and another kind is to utilize software to realize regulating.
The method of utilizing two volume buttons to regulate must be used two volume buttons; Be respectively that volume increases button and volume-down keys; Be used for controlling the increase of volume respectively and reducing; Two volume buttons are unfavorable for saving the handset structure space pursuing the frivolous epoch of mobile phone now, reduce the mobile phone cost.
And the realization of software adjustment then need be passed through a series of menu operation, the process more complicated.
Summary of the invention:
The object of the present invention is to provide a kind of method of single-tone amount adjusting key control volume.
A kind of method of single-tone amount adjusting key control volume is characterized in that comprising: long by said single volume adjusting key unlatching acceleration of gravity transducer; Utilize arbitrary axial or wantonly two axial accekeration and directions thereof that make up in X axle of the per interval T collection of acceleration of gravity transducer, Y axle, the Z axle; If accekeration is greater than preset acceleration rate threshold, then variable sum adds 1, and said variable sum is the acceleration times of collection; If variable sum is greater than the predetermined threshold value number of times, positive and negative according to the acceleration direction of being gathered then, regulating volume increases or reduces.
As a kind of improvement of such scheme, if the acceleration direction of being gathered is then regulated the volume increase for just; Otherwise regulating volume reduces.
Another object of the present invention is to provide a kind of system of single-tone amount adjusting key control volume.
A kind of system of single-tone amount adjusting key control volume is characterized in that comprising: acceleration of gravity transducer opening module is used for opening the acceleration of gravity transducer through long by said single volume adjusting key; The acceleration acquisition module, it utilizes arbitrary axial or wantonly two axial accekeration and directions thereof that make up in X axle of the per interval T collection of acceleration of gravity transducer, Y axle, the Z axle; Acceleration times of collection counting module is used for during greater than preset acceleration rate threshold, making variable sum add 1 at accekeration, and said variable sum is the acceleration times of collection; Volume adjusting module is used at variable sum during greater than the predetermined threshold value number of times, positive and negative according to the acceleration direction of being gathered, and regulating volume increases or reduces.
As a kind of improvement of such scheme, said volume adjusting module comprises that volume increases module and volume down little module; Said volume increases module, and being used in the acceleration direction of being gathered is correct time, and regulating volume increases; Said volume down little module is used for not being correct time in the acceleration direction of being gathered, and regulates volume and reduces.
The present invention's method or system in conjunction with the acceleration of gravity transducer, can realize single volume adjusting key control volume, can save the structure space of mobile phone undoubtedly for the design of pursuing frivolous mobile phone now, reduce the mobile phone cost.
Description of drawings:
Fig. 1 is the structured flowchart of the present invention's system.
Fig. 2 is the flow chart of the present invention's method.
Embodiment:
As shown in Figure 1; The system of a kind of single-tone amount adjusting key control volume of the present invention comprises that acceleration of gravity transducer opening module 101, acceleration acquisition module 102, acceleration times of collection counting module 103, volume increase module 104 and volume down little module 105.
Acceleration of gravity transducer opening module 101 is used for opening the acceleration of gravity transducer through long by said single volume adjusting key.
Said acceleration acquisition module 102; It utilizes arbitrary axial or wantonly two axial accekeration and directions thereof that make up in X axle of the per interval T collection of acceleration of gravity transducer, Y axle, the Z axle; Time T described in the present embodiment is 50ms, mainly gathers the acceleration of X-direction.
Said acceleration times of collection counting module 103 is used for during greater than preset acceleration rate threshold, making variable sum add 1 at accekeration, and said variable sum is the acceleration times of collection, in the present embodiment, and said preset acceleration rate threshold 2.5.
Said volume increases module 104, be used at variable sum greater than the predetermined threshold value number of times, and the acceleration direction of being gathered is correct time; The adjusting volume increases, and in the present embodiment, said threshold number is 5 times; Mainly be in order to prevent misoperation, need repeatedly to gather then and judge.
Said volume down little module 105 is used for being not more than the predetermined threshold value number of times at variable sum, and the acceleration direction of being gathered is regulated volume and reduced for correct time.
Fig. 2 is the particular flow sheet of the method for a kind of single-tone amount adjusting key control volume of the present invention, and this flow process starts from step S201, and is then at step S202, long by said single volume adjusting key unlatching acceleration of gravity transducer.
At step S203, utilize arbitrary axial or wantonly two axial accekeration and directions thereof that make up in X axle of the per interval T collection of acceleration of gravity transducer, Y axle, the Z axle, time T described in the present embodiment is 50ms, mainly gathers the acceleration of X-direction.
Do you at step S204, judge that the accekeration of being gathered is greater than preset acceleration rate threshold?
When the judged result of step S204 when being, get into step S205; Otherwise, return step S203.
At step S205, variable sum adds 1, and said variable sum is the acceleration times of collection.
Is judgment variable sum greater than the predetermined threshold value number of times at step S206?
When the judged result of step S206 when being, get into step S207; Otherwise, return step S203.
Do you at step S207, judge that the acceleration direction gathered is for just?
When the judged result of step S207 when being, get into step S208; Otherwise, get into step S209.
At step S208, regulating volume increases.
At step S209, regulate volume and reduce.
At step S210, finish this time to regulate.
When the mobile phone that is provided with the acceleration of gravity transducer installing native system and defining a certain button be the volume adjusting key after, only need longly by this volume adjusting key, mobile phone is got into interrupt, finally realize single-tone amount adjusting key control volume.
The above is merely preferred embodiment of the present invention, is not to be used for limiting the scope that the present invention implements, and all equal variation and modifications of doing according to claim of the present invention all fall into the scope that patent of the present invention contains.

Claims (4)

1. the method for single-tone amount adjusting key control volume is characterized in that comprising:
Long by said single volume adjusting key unlatching acceleration of gravity transducer;
Utilize arbitrary axial or wantonly two axial accekeration and directions thereof that make up in X axle of the per interval T collection of acceleration of gravity transducer, Y axle, the Z axle;
If accekeration is greater than preset acceleration rate threshold, then variable sum adds 1, and said variable sum is the acceleration times of collection;
If variable sum is greater than the predetermined threshold value number of times, positive and negative according to the acceleration direction of being gathered then, regulating volume increases or reduces.
2. the method for a kind of single-tone amount adjusting key control volume according to claim 1 is characterized in that: if the acceleration direction of being gathered is then regulated the volume increase for just; Otherwise regulating volume reduces.
3. the system of single-tone amount adjusting key control volume is characterized in that comprising:
Acceleration of gravity transducer opening module is used for opening the acceleration of gravity transducer through long by said single volume adjusting key;
The acceleration acquisition module, it utilizes arbitrary axial or wantonly two axial accekeration and directions thereof that make up in X axle of the per interval T collection of acceleration of gravity transducer, Y axle, the Z axle;
Acceleration times of collection counting module is used for during greater than preset acceleration rate threshold, making variable sum add 1 at accekeration, and said variable sum is the acceleration times of collection;
Volume adjusting module is used at variable sum during greater than the predetermined threshold value number of times, positive and negative according to the acceleration direction of being gathered, and regulating volume increases or reduces.
4. the system of a kind of single-tone amount adjusting key control volume according to claim 3 is characterized in that: said volume adjusting module comprises that volume increases module and volume down little module;
Said volume increases module, and being used in the acceleration direction of being gathered is correct time, and regulating volume increases;
Said volume down little module is used for not being correct time in the acceleration direction of being gathered, and regulates volume and reduces.
CN201110432185XA 2011-12-19 2011-12-19 Method and system for controlling volume via single volume regulation key Withdrawn CN102572054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110432185XA CN102572054A (en) 2011-12-19 2011-12-19 Method and system for controlling volume via single volume regulation key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110432185XA CN102572054A (en) 2011-12-19 2011-12-19 Method and system for controlling volume via single volume regulation key

Publications (1)

Publication Number Publication Date
CN102572054A true CN102572054A (en) 2012-07-11

Family

ID=46416504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110432185XA Withdrawn CN102572054A (en) 2011-12-19 2011-12-19 Method and system for controlling volume via single volume regulation key

Country Status (1)

Country Link
CN (1) CN102572054A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152465A (en) * 2013-01-23 2013-06-12 广东欧珀移动通信有限公司 Method for raising or lowering volume of mobile phone with triple-axis acceleration sensor
CN103607504A (en) * 2013-11-13 2014-02-26 广东欧珀移动通信有限公司 Mobile terminal and volume adjustment method and apparatus thereof
CN104754078A (en) * 2013-12-27 2015-07-01 中兴通讯股份有限公司 Mobile terminal volume regulation and control device, method and mobile terminal
CN104799733A (en) * 2014-01-27 2015-07-29 科勒公司 Speaker and shower
CN105919622A (en) * 2016-04-26 2016-09-07 江苏物联网研究发展中心 Electronic stethoscope with volume adjusted by single key and method
CN106406498A (en) * 2016-09-26 2017-02-15 宇龙计算机通信科技(深圳)有限公司 A method and a device for invoking terminal applications based on an acceleration sensor and a terminal
CN106550114A (en) * 2016-10-12 2017-03-29 乐视控股(北京)有限公司 Automatically adjust the method and device of mobile terminal loudness
USD804611S1 (en) 2012-04-23 2017-12-05 Kohler Co. Shower head
US10003873B2 (en) 2011-09-06 2018-06-19 Kohler Co. Speaker and shower
US10787799B2 (en) 2011-09-06 2020-09-29 Kohler Co. Shower and speaker assembly
US10945059B2 (en) 2011-09-06 2021-03-09 Kohler Co. Shower assembly

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11832042B2 (en) 2011-09-06 2023-11-28 Kohler Co. Speaker and shower
US10171900B2 (en) 2011-09-06 2019-01-01 Kohler Co. Speaker and shower
US10003873B2 (en) 2011-09-06 2018-06-19 Kohler Co. Speaker and shower
US10787799B2 (en) 2011-09-06 2020-09-29 Kohler Co. Shower and speaker assembly
US10945059B2 (en) 2011-09-06 2021-03-09 Kohler Co. Shower assembly
US11178475B2 (en) 2011-09-06 2021-11-16 Kohler Co. Speaker and shower
USD804611S1 (en) 2012-04-23 2017-12-05 Kohler Co. Shower head
USD857159S1 (en) 2012-04-23 2019-08-20 Kohler Co. Shower head
CN103152465B (en) * 2013-01-23 2016-03-30 广东欧珀移动通信有限公司 Three dimension acceleration sensor is utilized to realize the method for mobile phone volume plus-minus
CN103152465A (en) * 2013-01-23 2013-06-12 广东欧珀移动通信有限公司 Method for raising or lowering volume of mobile phone with triple-axis acceleration sensor
CN103607504A (en) * 2013-11-13 2014-02-26 广东欧珀移动通信有限公司 Mobile terminal and volume adjustment method and apparatus thereof
WO2015096469A1 (en) * 2013-12-27 2015-07-02 中兴通讯股份有限公司 Volume adjustment and control device and method for mobile terminal, and mobile terminal
CN104754078A (en) * 2013-12-27 2015-07-01 中兴通讯股份有限公司 Mobile terminal volume regulation and control device, method and mobile terminal
CN104754078B (en) * 2013-12-27 2019-08-13 中兴通讯股份有限公司 A kind of volume control device and method, the mobile terminal of mobile terminal
CN104799733A (en) * 2014-01-27 2015-07-29 科勒公司 Speaker and shower
CN105919622A (en) * 2016-04-26 2016-09-07 江苏物联网研究发展中心 Electronic stethoscope with volume adjusted by single key and method
CN106406498A (en) * 2016-09-26 2017-02-15 宇龙计算机通信科技(深圳)有限公司 A method and a device for invoking terminal applications based on an acceleration sensor and a terminal
CN106550114A (en) * 2016-10-12 2017-03-29 乐视控股(北京)有限公司 Automatically adjust the method and device of mobile terminal loudness

Similar Documents

Publication Publication Date Title
CN102572054A (en) Method and system for controlling volume via single volume regulation key
CN101661375B (en) Touch control method, system and display terminal
CN102413442A (en) Method for preventing loss of mobile phone and mobile phone
CN103019490A (en) Method and system for operating optimized capacitive touch screen
CN103078991B (en) A kind of method and mobile terminal controlling touch-screen closedown
CN104345944B (en) Device, method and the mobile terminal of adaptive adjustment touch input panel layout
CN102929425B (en) A kind of touch key control method and device
CN103558990A (en) Method and system for rapidly opening or operating applications on mobile terminal
CN105867679A (en) Touch control method, touch control apparatus, and terminal
CN102325219A (en) Method and device for processing electric quantity of mobile terminal
CN101834947A (en) Intelligent system and method for turning off alarm clock on cell phone
CN101446883A (en) Method for controlling mobile equipment by touch screen
CN103914295B (en) Wake events management method, wake events managing device
CN105302471A (en) Alarm setting method and alarm setting device
US20170131893A1 (en) Terminal control method and device
CN105511765A (en) Screen brightness adjusting method, device and electronic equipment
CN102799268A (en) Left and right hand identification method for handheld terminal
CN104660777A (en) Touch screen cellphone and function setting method for physical buttons thereof
CN104618994A (en) Intelligent terminal power saving system and method
CN104699372A (en) Method and system for self-adaptively changing window size
CN105630161A (en) Android system-based gesture control ring and using method thereof
CN103167182A (en) Mobile terminal with alarm clock control system
CN102655556A (en) Application method and system of gravity sensor for mobile phones
CN103024183A (en) Method and system for awakening mobile phone
CN103685693A (en) Information processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C04 Withdrawal of patent application after publication (patent law 2001)
WW01 Invention patent application withdrawn after publication

Open date: 20120711