CN101902526B - Mobile terminal and volume control method and device thereof - Google Patents

Mobile terminal and volume control method and device thereof Download PDF

Info

Publication number
CN101902526B
CN101902526B CN201010233161.7A CN201010233161A CN101902526B CN 101902526 B CN101902526 B CN 101902526B CN 201010233161 A CN201010233161 A CN 201010233161A CN 101902526 B CN101902526 B CN 101902526B
Authority
CN
China
Prior art keywords
instantaneous acceleration
portable terminal
volume control
gravity sensor
acceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010233161.7A
Other languages
Chinese (zh)
Other versions
CN101902526A (en
Inventor
顾建良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pelus Intelligent Technology Shandong Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201010233161.7A priority Critical patent/CN101902526B/en
Publication of CN101902526A publication Critical patent/CN101902526A/en
Application granted granted Critical
Publication of CN101902526B publication Critical patent/CN101902526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the technical field of mobile terminals, and discloses a mobile terminal, and a volume control method and a volume control device thereof. The volume control method comprises the following steps of: acquiring the instantaneous acceleration of the mobile terminal in the instantaneous motion process of the mobile terminal; calculating a volume control value which corresponds to the instantaneous acceleration according to the acquired instantaneous acceleration; and controlling the volume playing of the mobile terminal according to the calculated volume control value. Byacquiring the instantaneous acceleration of the motion of the mobile terminal, calculating the corresponding volume control value according to the instantaneous acceleration and adjusting the volume playing according to the calculated volume control value, the volume control method makes the mobile terminal automatically adjust the volume playing according to the motion condition per se, greatly improves the quality of the sound received by a user, enhances the user experience on the music further, and is humanized.

Description

A kind of portable terminal and method for controlling volume thereof and device
Technical field
The invention belongs to technical field of mobile terminals, be specifically related to a kind of portable terminal and method for controlling volume thereof and device.
Background technology
Along with the continuous development of portable terminal technology, the user is more and more higher to the requirement of mobile terminal function.
Be example with the mobile phone, the user is in the process of using mobile phone to play music, volume generally all is that the user sets in the menu of volume is set, and the sound that the volume player plays is come out is also fixed, and the rhythm of music also can only be play regularly according to the volume control value that the user arranges.
When running into the situation of playing some dynamic music, the twisting action can take place along with the beat health of music in the user, and then drive motion of mobile terminals, if portable terminal and user are in motion process, sound is play constant always words, to influence the quality that the user receives sound greatly, reduced the further experience of user to music, lack hommization.
How to regulate volume automatically according to the motion conditions of portable terminal and play, improve the quality that the user receives sound, and the user is one of direction of technical field of mobile terminals research to the further experience of music.
Summary of the invention
The object of the present invention is to provide a kind of mobile terminal loudness control method, be intended to regulate volume automatically according to the motion conditions of portable terminal and play, improve the quality that the user receives sound, and the user is to the further experience of music.
The embodiment of the invention is achieved in that a kind of mobile terminal loudness control method, said method comprising the steps of:
In the instantaneous moving process of described portable terminal, obtain the instantaneous acceleration of described portable terminal;
According to the instantaneous acceleration of obtaining, calculate the volume control value of described instantaneous acceleration correspondence;
Control the broadcast of described mobile terminal loudness according to the described volume control value that calculates.
Another purpose of the embodiment of the invention is to provide a kind of mobile terminal loudness control device, and described device comprises:
The instantaneous acceleration acquisition module is for the instantaneous acceleration of obtaining described portable terminal;
The volume control value computing module is used for calculating the volume control value of described instantaneous acceleration correspondence according to the instantaneous acceleration of obtaining;
The volume transmit control module is used for controlling according to the described volume control value that calculates the broadcast of described mobile terminal loudness.
An also purpose of the embodiment of the invention is to provide a kind of portable terminal, and described terminal comprises a gravity sensor, also comprises the sound volume control device that the embodiment of the invention provides, and described gravity sensor connects described sound volume control device.
The embodiment of the invention is by obtaining the instantaneous acceleration of motion of mobile terminals, obtain corresponding volume control value according to described instantaneous acceleration calculating, adjust the broadcast of volume according to the volume control value that calculates, making portable terminal to regulate volume automatically according to the motion conditions of self plays, improved the quality that the user receives sound greatly, strengthened the further experience of user to music, very hommization is beneficial to the popularization of portable terminal.
Description of drawings
The flow chart of the mobile terminal loudness control method that Fig. 1 provides for the embodiment of the invention;
The structure chart of the mobile terminal loudness control device that Fig. 2 provides for the embodiment of the invention;
The structure chart of the portable terminal that Fig. 3 provides for the embodiment of the 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 explaining the present invention, and be not used in restriction the present invention.
Fig. 1 shows the flow process of the mobile terminal loudness control method that the embodiment of the invention provides.Wherein, described portable terminal connects a gravity sensor.
In step S101, judge whether to detect the interrupt signal of described gravity sensor, if then carry out step S102; Otherwise proceed this determining step.
In step S102, obtain the instantaneous acceleration of described portable terminal.
The user is in listening to the music process, when music rhythm is strong, the user can twist health along with music, and then the motion of drive portable terminal, at this moment, the variation that gravity sensor (G-sensor) is sensed the portable terminal acceleration, the variation of portable terminal acceleration can make gravity sensor produce interrupt signal, the baseband chip that is connected with described gravity sensor will detect the interrupt signal that gravity sensor produces, and reads current acceleration by the I2C interface from G-sensor inside.
In step S103, according to the instantaneous acceleration of obtaining, calculate the volume control value of described instantaneous acceleration correspondence.
In step S104, control the broadcast of described mobile terminal loudness according to the described volume control value that calculates.
Wherein, in step S103, according to the instantaneous acceleration of obtaining, the specific algorithm that calculates the volume control value of described instantaneous acceleration correspondence is described below:
Baseband chip will be done absolute value from the acceleration that gravity sensor obtains and handle, use 10 analog to digital converters (Analog-to-Digital Converter, ADC) resolution, dynamic range are ± gravity sensor of 2g, wherein g is acceleration of gravity; Suppose that it is a that baseband chip is read the ADC value of the acceleration of gravity sensor, then current acceleration magnitude is
Figure BSA00000200066700031
Wherein the span of a is 0~512, because direction is arranged, so embody with the form of complement code;
Suppose that the portable terminal instantaneous acceleration is 2g, the dynamic range that the mobile terminal loudness controlling value arranges is-22db~+ 23db, be a step with 3db, 16 ladders altogether, then baseband chip 11 with the formula that instantaneous acceleration is converted to volume control value is:
- 22 db + ( a 32 - 1 ) × 3 db .
The present invention utilizes g-sensor to respond to the current behavior of brandishing mobile phone of user, and according to the firmly degree of brandishing mobile phone, automatically regulate the volume of music, make like this when broadcast has more intense timing, the user can brandish mobile phone according to rhythm, volume increases at rhythm point automatically, make the user more accurate for the assurance degree of timing, body and mind is dissolved in the music more and is gone, improved the quality that the user receives sound greatly, strengthened the further experience of user to music, hommization very.
Fig. 2 shows the mobile terminal loudness control device that the embodiment of the invention provides, and wherein, described portable terminal connects a gravity sensor.
See also Fig. 2, interrupt signal detection module 21 is for the interrupt signal that judges whether to detect described gravity sensor, if then control the instantaneous acceleration that described instantaneous acceleration acquisition module 22 obtains described portable terminal.
Volume control value computing module 23 is used for calculating the volume control value of described instantaneous acceleration correspondence according to the instantaneous acceleration of obtaining;
Volume transmit control module 24 is used for controlling according to the described volume control value that calculates the broadcast of described mobile terminal loudness.
The algorithm that described volume control value computing module 23 calculates the volume control value of described instantaneous acceleration correspondence specifically describes as follows:
Instantaneous acceleration acquisition module 22 will be done absolute value from the acceleration that gravity sensor obtains and handle, use 10 analog to digital converter (Analog-to-Digital Converter, ADC) resolution, dynamic range are ± gravity sensor of 2g, and wherein g is acceleration of gravity; Suppose that it is a that baseband chip is read the ADC value of the acceleration of gravity sensor, then current acceleration magnitude is
Figure BSA00000200066700042
Wherein the span of a is 0~512, because direction is arranged, so embody with the form of complement code;
Suppose that the portable terminal instantaneous acceleration is 2g, the dynamic range that the mobile terminal loudness controlling value arranges is-22db~+ 23db, be a step with 3db, 16 ladders altogether, then baseband chip 11 with the formula that instantaneous acceleration is converted to volume control value is:
- 22 db + ( a 32 - 1 ) × 3 db .
The embodiment of the invention also provides a kind of portable terminal, see also Fig. 3, described terminal comprises a gravity sensor, also comprise the sound volume control device that the embodiment of the invention provides, described gravity sensor connects described sound volume control device, in view of described sound volume control device in conjunction with the operation principle of described gravity sensor in above existing detailed description, repeat no more herein.
The embodiment of the invention is by obtaining the instantaneous acceleration of portable terminal transient motion, obtain corresponding volume control value according to described instantaneous acceleration calculating, adjust the broadcast of volume according to the volume control value that calculates, making portable terminal to regulate volume automatically according to the motion conditions of self plays, improved the quality that the user receives sound greatly, strengthened the further experience of user to music, hommization very is beneficial to the popularization of portable terminal.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and these improvement and conversion all should belong to the protection range of claims of the present invention.

Claims (3)

1. a mobile terminal loudness control method is characterized in that, said method comprising the steps of:
In the instantaneous moving process of described portable terminal, obtain the instantaneous acceleration of described portable terminal;
According to the instantaneous acceleration of obtaining, calculate the volume control value of described instantaneous acceleration correspondence;
Control the broadcast of described mobile terminal loudness according to the described volume control value that calculates;
Described portable terminal connects a gravity sensor, and described portable terminal obtains the instantaneous acceleration of described portable terminal according to the gravity sensor that is connected with described portable terminal;
Before obtaining the instantaneous acceleration of described portable terminal, described method also comprises:
Judge whether to detect the interrupt signal of described gravity sensor, if then obtain the instantaneous acceleration of described portable terminal according to the interrupt signal of described gravity sensor;
And baseband chip will be done absolute value from the acceleration that gravity sensor obtains and handle;
The formula that calculates the volume control value of described instantaneous acceleration correspondence is:
- 22 db + ( a 32 - 1 ) × 3 db ;
Wherein, the maximum of described portable terminal instantaneous acceleration is 2g, and the ADC value of instantaneous acceleration is a, the dynamic range that mobile terminal loudness play to arrange be (22db ,+23db), 3db is a step;
Read current acceleration by the I2C interface from gravity sensor inside.
2. a mobile terminal loudness control device is characterized in that, described device comprises:
The instantaneous acceleration acquisition module is for the instantaneous acceleration of obtaining described portable terminal;
The volume control value computing module is used for calculating the volume control value of described instantaneous acceleration correspondence according to the instantaneous acceleration of obtaining;
The volume transmit control module is used for controlling according to the described volume control value that calculates the broadcast of described mobile terminal loudness;
Described portable terminal connects a gravity sensor, and described portable terminal obtains the instantaneous acceleration of described portable terminal according to the gravity sensor that is connected with described portable terminal;
Described device also comprises:
The interrupt signal detection module is for the interrupt signal that judges whether to detect described gravity sensor, if then control the instantaneous acceleration that described instantaneous acceleration acquisition module obtains described portable terminal; And the instantaneous acceleration acquisition module will be done absolute value from the acceleration that gravity sensor obtains and handle;
The formula that described volume control value computing module calculates the volume control value of described instantaneous acceleration correspondence is:
- 22 db + ( a 32 - 1 ) × 3 db ;
Wherein, the maximum of described portable terminal instantaneous acceleration is 2g, and the ADC value of instantaneous acceleration is a, the dynamic range that mobile terminal loudness play to arrange be (22db ,+23db), 3db is a step;
Read current acceleration by the I2C interface from gravity sensor inside.
3. a portable terminal is characterized in that, described terminal comprises a gravity sensor, also comprises the described sound volume control device of claim 2, and described gravity sensor connects described sound volume control device.
CN201010233161.7A 2010-07-21 2010-07-21 Mobile terminal and volume control method and device thereof Active CN101902526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010233161.7A CN101902526B (en) 2010-07-21 2010-07-21 Mobile terminal and volume control method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010233161.7A CN101902526B (en) 2010-07-21 2010-07-21 Mobile terminal and volume control method and device thereof

Publications (2)

Publication Number Publication Date
CN101902526A CN101902526A (en) 2010-12-01
CN101902526B true CN101902526B (en) 2013-10-02

Family

ID=43227720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010233161.7A Active CN101902526B (en) 2010-07-21 2010-07-21 Mobile terminal and volume control method and device thereof

Country Status (1)

Country Link
CN (1) CN101902526B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035945B (en) * 2010-12-23 2015-10-28 惠州Tcl移动通信有限公司 A kind of mobile phone of automatic adjustment ringer volume and method
TW201234828A (en) * 2011-02-15 2012-08-16 Wistron Corp Mobile communication device and mehtod for adjusting volume thereof
CN102647504B (en) * 2011-02-16 2013-07-17 三星电子(中国)研发中心 Method for controlling applications in mobile phone
CN102262876B (en) * 2011-04-13 2013-10-30 浙江吉利汽车研究院有限公司 System and method for automatically adjusting sound volume of car horn
CN102546893B (en) * 2011-11-18 2014-12-17 捷开通讯科技(上海)有限公司 Device and method for adjusting volume of mobile terminal
CN102420905A (en) * 2011-11-30 2012-04-18 深圳市五巨科技有限公司 Method and device for controlling mobile phone to play music by using gravity sensor
CN102595272A (en) * 2012-02-27 2012-07-18 南京理工大学常熟研究院有限公司 Motion earphones capable of adjusting volume automatically
CN102710868A (en) * 2012-06-28 2012-10-03 上海华勤通讯技术有限公司 Mobile terminal and bell control method
CN103714836A (en) * 2012-09-29 2014-04-09 联想(北京)有限公司 Method for playing audio information and electronic equipment
CN103051788B (en) * 2012-12-14 2015-04-29 惠州Tcl移动通信有限公司 Mobile terminal and volume adjusting method thereof
CN104184868B (en) * 2013-05-22 2019-01-29 中兴通讯股份有限公司 A kind of method, device and mobile terminal adjusting In Call
CN103607504A (en) * 2013-11-13 2014-02-26 广东欧珀移动通信有限公司 Mobile terminal and volume adjustment method and apparatus thereof
CN104754078B (en) * 2013-12-27 2019-08-13 中兴通讯股份有限公司 A kind of volume control device and method, the mobile terminal of mobile terminal
CN105376385B (en) * 2015-10-23 2018-06-29 广东欧珀移动通信有限公司 A kind of method for regulation of sound volume and user terminal
CN105744073A (en) * 2016-03-30 2016-07-06 来安县新元机电设备设计有限公司 Mobile terminal volume control method and mobile terminal
CN106888413B (en) * 2017-03-28 2019-05-03 深圳市元鼎科技有限公司 A kind of dynamic sound box and its control method
CN107426612A (en) * 2017-05-31 2017-12-01 厦门幻世网络科技有限公司 A kind of method and medium for controlling broadcasting speed
CN108055408B (en) * 2017-12-28 2019-12-24 维沃移动通信有限公司 Application program control method and mobile terminal
CN108632466B (en) * 2018-04-28 2021-01-08 维沃移动通信有限公司 Volume compensation method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925319A (en) * 2005-09-01 2007-03-07 乐金电子(惠州)有限公司 Volume automatic regulating device using speed sensor and its regulating method
CN101102564A (en) * 2007-07-25 2008-01-09 中兴通讯股份有限公司 A method for controlling mobile phone to play music
CN101131685A (en) * 2006-08-25 2008-02-27 佛山市顺德区顺达电脑厂有限公司 Method for automatically adjusting play sound volume of electronic device
CN101212734A (en) * 2006-12-27 2008-07-02 上海晨兴电子科技有限公司 Mobile telephone capable of adjusting volume by shaking

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925319A (en) * 2005-09-01 2007-03-07 乐金电子(惠州)有限公司 Volume automatic regulating device using speed sensor and its regulating method
CN101131685A (en) * 2006-08-25 2008-02-27 佛山市顺德区顺达电脑厂有限公司 Method for automatically adjusting play sound volume of electronic device
CN101212734A (en) * 2006-12-27 2008-07-02 上海晨兴电子科技有限公司 Mobile telephone capable of adjusting volume by shaking
CN101102564A (en) * 2007-07-25 2008-01-09 中兴通讯股份有限公司 A method for controlling mobile phone to play music

Also Published As

Publication number Publication date
CN101902526A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN101902526B (en) Mobile terminal and volume control method and device thereof
US11557395B2 (en) Portable exercise-related data apparatus
CN106027796B (en) A kind of information processing method, terminal and running shoes
US7915512B2 (en) Method and apparatus for adjusting the cadence of music on a personal audio device
EP1919573A2 (en) Performance monitoring apparatus
ATE520072T1 (en) ELECTRONIC PEN AND CONTROL DEVICE AND METHOD THEREOF
CN104811862B (en) A kind of audio amplifier method for controlling volume and terminal
WO2008027638A3 (en) System and method for determining a carrier to interference-noise ratio
WO2017101719A1 (en) Method and device for adjusting earphone sound volume
CN104826277A (en) Intelligent motion control method and equipment for treadmill
EP1585014A3 (en) Electronic apparatus, input device, and input method
WO2013015179A1 (en) Portable electronic apparatus, signal processing method, and regeneration method
KR101380341B1 (en) The apparatus of force plate with 4 channel
WO2009140149A3 (en) Wireless skin surface potential sensing system and method
CN101350208A (en) Multimedia apparatus with pedometer and control method thereof
CN102088498A (en) Mobile phone and method for assisting in keeping fit with same
CN204744208U (en) Muscle detector and massage appearance
CN111131952A (en) Control method of earphone assembly, earphone assembly and computer readable storage medium
CN112546538A (en) Intelligent skipping rope pad
CN201774574U (en) Mobile terminal capable of automatically controlling volume
JP2007222539A (en) Portable terminal device with health sensor function
CN105078725A (en) Muscle detector, muscle massage device and muscle detection method
CN108225369B (en) Information acquisition method and device and related medium product
TW201133467A (en) Voice detecting method
CN109060211B (en) Power measuring device for riding platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201229

Address after: 225700 No. 1 Chuang Road, Zhaoyang street, Xinghua, Taizhou, Jiangsu.

Patentee after: XINGHUA TIANDONG SOFTWARE TECHNOLOGY Co.,Ltd.

Address before: 511400 No.106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province (self compiled Building 1) x1301-a4845 (cluster registration) (JM)

Patentee before: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Effective date of registration: 20201229

Address after: 511400 No.106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province (self compiled Building 1) x1301-a4845 (cluster registration) (JM)

Patentee after: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Address before: 516006 TCL mobile communication company, No. 23 residential district, Huizhou hi tech Development Zone, Huicheng District, Guangdong

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220106

Address after: 252000 room 3-402, yunshang building, Lushan Road, Jiuzhou street, high tech Zone, Liaocheng City, Shandong Province

Patentee after: Pelus Intelligent Technology (Shandong) Co.,Ltd.

Address before: 225700 No. 1 Chuang Road, Zhaoyang street, Xinghua, Taizhou, Jiangsu.

Patentee before: XINGHUA TIANDONG SOFTWARE TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right