CN105376385A - Volume adjusting method and user terminal - Google Patents

Volume adjusting method and user terminal Download PDF

Info

Publication number
CN105376385A
CN105376385A CN201510703762.2A CN201510703762A CN105376385A CN 105376385 A CN105376385 A CN 105376385A CN 201510703762 A CN201510703762 A CN 201510703762A CN 105376385 A CN105376385 A CN 105376385A
Authority
CN
China
Prior art keywords
action event
user terminal
rid
predetermined acceleration
value range
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.)
Granted
Application number
CN201510703762.2A
Other languages
Chinese (zh)
Other versions
CN105376385B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510703762.2A priority Critical patent/CN105376385B/en
Publication of CN105376385A publication Critical patent/CN105376385A/en
Application granted granted Critical
Publication of CN105376385B publication Critical patent/CN105376385B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a volume adjusting method and a user terminal, and relates to the technical field of communication. The method comprises that when the user terminal plays sound of a first volume value, a first preset acceleration range value matching the first volume value is obtained; the real-time acceleration value of the user terminal is detected; a second preset acceleration range value to which the real-time acceleration belongs is identified; whether the first preset acceleration range value is consistent with the second preset acceleration range value is determined via comparison, when the first preset acceleration range value is not consistent with the second preset acceleration range value, the first volume value is adjusted to a second volume value matching the second preset acceleration range value; and the first volume value is different from the second volume value. The volume adjusting method and the user terminal can be used to improve the volume adjusting efficiency.

Description

A kind of method for regulation of sound volume and user terminal
Technical field
The present invention relates to communication technique field, be specifically related to a kind of method for controlling volume and user terminal.
Background technology
Along with the raising day by day of living standard, the use of the user terminals such as mobile phone, flat board, computer is more and more universal.In the actual use of user terminal, user needs the volume adjusting user terminal usually.Such as, user is in some more noisy environment, may due to Environmental Noise Influence, the music of call voice or broadcasting cannot be caught, the volume key that now user just has to adjust to manually user terminal just can carry out volume increase, this Method compare with manual setting volume is loaded down with trivial details, thus reduces the efficiency of volume adjustment.
Summary of the invention
The embodiment of the invention discloses a kind of method for regulation of sound volume and user terminal, the efficiency of volume adjustment can be promoted.
Embodiment of the present invention first aspect discloses a kind of method for regulation of sound volume, comprising:
When user terminal plays the sound of the first volume value, obtain the first predetermined acceleration value range of described first volume value coupling;
Detect the real time acceleration value of described user terminal;
Identify the second predetermined acceleration value range belonging to described real time acceleration;
Contrast described first predetermined acceleration value range whether consistent with described second predetermined acceleration value range, when described first predetermined acceleration value range and described second predetermined acceleration value range inconsistent time, described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range; Wherein, described first volume value is not identical with described second volume value size.
As the optional execution mode of one, when described first predetermined acceleration value range is less than described second predetermined acceleration value range, describedly described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range, comprising:
Judge whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is increased to the second volume value matched with described second predetermined acceleration value range.
As the optional execution mode of one, when described first predetermined acceleration value range is greater than described second predetermined acceleration value range, describedly described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range, comprising:
Judge whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is reduced to the second volume value matched with described second predetermined acceleration value range.
As the optional execution mode of one, whether the described wearable device judging that described user terminal and described user terminal are bound all there is same action event in preset duration, comprising:
Detect described user terminal whether to occur first and get rid of action event, if described user terminal occurs first get rid of action event, whether the wearable device detecting the binding of described user terminal occurs second is got rid of action event, if described wearable device occurs second get rid of action event, judge described first get rid of that action event and described second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that described first gets rid of action event and described second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at described preset duration, get rid of whipping that action event comprises and make initial time if described first gets rid of action event and described second and be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at described preset duration, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if described first gets rid of action event and described second, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if described first gets rid of action event and described second, then judge that described user terminal and described wearable device all in described preset duration, same action event occur.
As the optional execution mode of one, when user terminal plays the sound of the first volume value, obtain the first predetermined acceleration value range of described first volume value coupling, comprising:
When user terminal plays the sound of the first volume value, judge whether the current enable volume adjustment modes of described user terminal is volume self-regulation mode, if the current enable volume adjustment modes of described user terminal is described volume self-regulation mode, obtain the first predetermined acceleration value range of described first volume value coupling.
Embodiment of the present invention second aspect discloses a kind of user terminal, comprising:
Acquiring unit, for when described user terminal plays the sound of the first volume value, obtains the first predetermined acceleration value range of described first volume value coupling;
Detecting unit, for detecting the real time acceleration value of getting described user terminal;
Recognition unit, for identifying the second predetermined acceleration value range belonging to described real time acceleration;
Contrast unit, whether consistent with described second predetermined acceleration value range for contrasting described first predetermined acceleration value range;
Adjustment unit, for at the comparing result of described contrast unit be described first predetermined acceleration value range and described second predetermined acceleration value range inconsistent time, described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range; Wherein, described first volume value is not identical with described second volume value size.
As the optional execution mode of one, when described first predetermined acceleration value range is less than described second predetermined acceleration value range, the mode that described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range by described adjustment unit is specially:
Described adjustment unit judges whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is increased to the second volume value matched with described second predetermined acceleration value range.
As the optional execution mode of one, when described first predetermined acceleration value range is greater than described second predetermined acceleration value range, the mode that described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range by described adjustment unit is specially:
Described adjustment unit judges whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is reduced to the second volume value matched with described second predetermined acceleration value range.
As the optional execution mode of one, described adjustment unit judges that the mode whether wearable device of described user terminal and the binding of described user terminal same action event all occurs in preset duration is specially:
Described adjustment unit detects described user terminal and whether occurs first and get rid of action event, if described user terminal occurs first get rid of action event, whether the wearable device detecting the binding of described user terminal occurs second is got rid of action event, if described wearable device occurs second get rid of action event, judge described first get rid of that action event and described second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that described first gets rid of action event and described second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at described preset duration, get rid of whipping that action event comprises and make initial time if described first gets rid of action event and described second and be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at described preset duration, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if described first gets rid of action event and described second, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if described first gets rid of action event and described second, then judge that described user terminal and described wearable device all in described preset duration, same action event occur.
As the optional execution mode of one, described acquiring unit is specifically for when described user terminal plays the sound of the first volume value, judge whether the current enable volume adjustment modes of described user terminal is volume self-regulation mode, if the current enable volume adjustment modes of described user terminal is described volume self-regulation mode, obtain the first predetermined acceleration value range of described first volume value coupling.
Compared with prior art, the embodiment of the present invention has following beneficial effect:
In the embodiment of the present invention, when the first predetermined acceleration value range belonging to the first volume value of playing of the second predetermined acceleration value range of user terminal belonging to the real time acceleration identifying user terminal and user terminal is inconsistent, first volume value can be adjusted to the second volume value matched with the second predetermined acceleration value range, wherein, the first volume value is not identical with the second volume value size.Visible, implement the embodiment of the present invention, user terminal can carry out according to the real time acceleration of user terminal the broadcast sound volume adjusting sound automatically, neatly, thus can save and adjust volume to manually, improves the efficiency of volume adjustment.
In addition, in the embodiment of the present invention, user is when handset user terminal, and user can carry out " shaking " operation to user terminal, and user to user terminal is rocked faster, and the volume that user terminal is play is larger; Otherwise user to user terminal is rocked slower, the volume that user terminal is play is less, thus can promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of method for regulation of sound volume disclosed in the embodiment of the present invention;
Fig. 2 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method for regulation of sound volume and user terminal, the efficiency of volume adjustment can be promoted.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of method for regulation of sound volume disclosed in the embodiment of the present invention.Wherein, in the method for regulation of sound volume shown in Fig. 1, user can carry out " shaking " user terminal when handset user terminal, thus can adjust the volume value of user terminal broadcasting automatically, neatly.As shown in Figure 1, this method for regulation of sound volume can comprise the following steps.
101, when user terminal plays the sound of the first volume value, the first predetermined acceleration value range of the first volume value coupling is obtained.
In the embodiment of the present invention, user terminal not only can comprise personal digital assistant (PersonalDigitalAssistant, PDA), mobile internet device (MobileInternetDevice, MID), all kinds of electronics such as Intelligent worn device (as intelligent watch, Intelligent bracelet), the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, when user terminal plays the sound of the first volume value, user terminal can judge whether the current enable volume adjustment modes of user terminal is volume self-regulation mode, if the current enable volume adjustment modes of user terminal is volume self-regulation mode, then obtain the first predetermined acceleration value range of the first volume value coupling; Otherwise if the current enable volume adjustment modes of user terminal is not volume self-regulation mode, the volume value that can only adjust user terminal to manually and play is described, now user terminal can terminate the flow process described by Fig. 1.
In the embodiment of the present invention, user terminal can be previously stored with the predetermined acceleration value range of multiple non-overlapping copies, and each predetermined acceleration value range mates a volume value respectively, and wherein, the volume value of any two predetermined acceleration value ranges coupling is different.Wherein, predetermined acceleration value range is larger, and the volume value of the volume value coupling of predetermined acceleration value range coupling is larger; Otherwise predetermined acceleration value range is less, the volume value of the volume value coupling of predetermined acceleration value range coupling is less.Such as, user terminal can be previously stored with predetermined acceleration value range [0m/s 2, 10m/s 2], predetermined acceleration value range [11m/s 2, 20m/s 2] and predetermined acceleration value range [21m/s 2, 30m/s 2], wherein, predetermined acceleration value range [0m/s 2, 10m/s 2] volume value that mates can be 50 decibels; And predetermined acceleration value range [11m/s 2, 20m/s 2] volume value that mates can be 60 decibels; And predetermined acceleration value range [21m/s 2, 30m/s 2] volume value that mates can be 70 decibels.
In the embodiment of the present invention, when user terminal plays sound (as calling voice or the music) of the first volume value, user terminal can according to the first volume value, from the matching relationship of the predetermined acceleration value range prestored and volume value, obtain the predetermined acceleration value range of the first volume value coupling as the first predetermined acceleration value range.Such as, when user terminal is according to the first volume value, be [0m/s from the predetermined acceleration value range prestored with identifying the predetermined acceleration value range that the first volume value mates the matching relationship of volume value 2, 10m/s 2] time, so predetermined acceleration value range can be [0m/s by user terminal 2, 10m/s 2] as first volume value coupling the first predetermined acceleration value range.
Or, in the embodiment of the present invention, the predetermined acceleration value range that can be prestored by high in the clouds and the matching relationship of volume value, when user terminal plays the sound of the first volume value, user terminal can send the first volume value to high in the clouds, and high in the clouds from the matching relationship of the predetermined acceleration value range prestored and volume value, can obtain the predetermined acceleration value range of the first volume value coupling as the first predetermined acceleration value range, and return to user terminal.Such as, high in the clouds can be [0m/s with identifying the predetermined acceleration value range that the first volume value mates the matching relationship of volume value from the predetermined acceleration value range prestored 2, 10m/s 2], so predetermined acceleration value range can be [0m/s by high in the clouds 2, 10m/s 2] as the first predetermined acceleration value range of the first volume value coupling, and return to user terminal.Obviously, this mode can save the matching relationship of predetermined acceleration value range that user terminal prestores and volume value, reduces taking user terminal internal memory.
102, user terminal detects the real time acceleration value of user terminal.
In the embodiment of the present invention, user can carry out " shaking " user terminal when handset user terminal, and correspondingly, user terminal can utilize its built-in acceleration transducer to detect the real time acceleration value of user terminal.
103, the second predetermined acceleration value range belonging to user terminal identification real time acceleration.
In the embodiment of the present invention, as previously described, the predetermined acceleration value range that user terminal can prestore and the matching relationship of volume value, correspondingly, user terminal can according to this real time acceleration, the predetermined acceleration value range belonging to this real time acceleration is identified, as the second predetermined acceleration value range from the matching relationship of the predetermined acceleration value range prestored and volume value.Such as, when user terminal is according to this real time acceleration, from the matching relationship of the predetermined acceleration value range prestored and volume value, the predetermined acceleration value range identified belonging to this real time acceleration is [21m/s 2, 30m/s 2] time, predetermined acceleration value range can be [21m/s by user terminal 2, 30m/s 2] as the second predetermined acceleration value range belonging to real time acceleration.
In the embodiment of the present invention, as previously described, high in the clouds can from the matching relationship of the predetermined acceleration value range prestored and volume value, correspondingly, this real time acceleration can be sent to high in the clouds by user terminal, by high in the clouds according to this real time acceleration, from the matching relationship of the predetermined acceleration value range prestored and volume value, identify the predetermined acceleration value range belonging to this real time acceleration, return to user terminal as the second predetermined acceleration value range.Such as, when high in the clouds is according to this real time acceleration, from the matching relationship of the predetermined acceleration value range prestored and volume value, the predetermined acceleration value range identified belonging to this real time acceleration is [11m/s 2, 20m/s 2], high in the clouds is being [11m/s by predetermined acceleration value range 2, 20m/s 2] as the second predetermined acceleration value range belonging to real time acceleration, and return to user terminal.
104, whether user terminal to contrast the first predetermined acceleration value range consistent with the second predetermined acceleration value range, if so, performs step 105; Otherwise, if the first predetermined acceleration value range is consistent with the second predetermined acceleration value range, process ends.
In the embodiment of the present invention, when user terminal contrast the first predetermined acceleration value range whether consistent with the second predetermined acceleration value range time, illustrate that the first volume value of the first predetermined acceleration value range coupling is different from the second volume value that the second predetermined acceleration value range mates, now user terminal just needs to adjust the first volume value automatically, neatly.
105, the first volume value is adjusted to the second volume value matched with the second predetermined acceleration value range by user terminal; Wherein, the first volume value is not identical with the second volume value size.
As the optional execution mode of one, when the first predetermined acceleration value range is less than the second predetermined acceleration value range, the first volume value is adjusted to the second volume value matched with the second predetermined acceleration value range and can be comprised by user terminal:
User terminal judges whether the wearable device of user terminal and user terminal binding all same action event occurs in preset duration, if there is same action event, the first volume value is increased to the second volume value matched with the second predetermined acceleration value range.
As the optional execution mode of another kind, when the first predetermined acceleration value range is greater than the second predetermined acceleration value range, the first volume value is adjusted to the second volume value matched with the second predetermined acceleration value range and can be comprised by user terminal:
User terminal judges whether the wearable device of user terminal and user terminal binding all same action event occurs in preset duration, if there is same action event, the first volume value is reduced to the second volume value matched with the second predetermined acceleration value range.
As the optional execution mode of one, user terminal judges whether the wearable device of user terminal and user terminal binding same action event all occurs in preset duration and can comprise:
Whether user terminal detection user terminal occurs first is got rid of action event, if user terminal occurs first get rid of action event, whether the wearable device detecting user terminal binding occurs second is got rid of action event, if wearable device occurs second get rid of action event, judge first get rid of that action event and second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that first gets rid of action event and second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at preset duration, get rid of whipping that action event comprises and make initial time if first gets rid of action event and second and be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at preset duration, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if first gets rid of action event and second, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if first gets rid of action event and second, then judge that user terminal and wearable device all in described preset duration, same action event occur.
See also Fig. 2, Fig. 2 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.As shown in Figure 2, user terminal can be taken by user, and the same hand that user holds user terminal can also carry wearable device (as Intelligent bracelet, intelligent watch), and user terminal and wearable device can be bound by bluetooth approach.In the framework shown in Fig. 2, user can towards whipping user terminal while of some directions and wearable device, correspondingly, when wearable device detects that whipping occurs to be done, wearable device can send comprise whipping do initial time and get rid of duration get rid of action event to user terminal, correspondingly, user terminal can detect user terminal and whether occur first and get rid of action event, if user terminal occurs first get rid of action event, whether the wearable device detecting user terminal binding occurs second is got rid of action event, if wearable device occurs second get rid of action event, judge first get rid of that action event and second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that first gets rid of action event and second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration (as 10 seconds), and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at preset duration, get rid of whipping that action event comprises and make initial time if first gets rid of action event and second and be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at preset duration, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value (as 0.03 second), get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if first gets rid of action event and second, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value (as 0.03 second), get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if first gets rid of action event and second, determine that user terminal and wearable device all same action event occur in preset duration.
In the embodiment of the present invention, the accuracy the first volume value being adjusted to the second volume value matched with the second predetermined acceleration value range can be promoted based on the network architecture shown in Fig. 2, and promote Consumer's Experience.
In the method described by Fig. 1, when the first predetermined acceleration value range belonging to the first volume value of playing of the second predetermined acceleration value range of user terminal belonging to the real time acceleration identifying user terminal and user terminal is inconsistent, first volume value can be adjusted to the second volume value matched with the second predetermined acceleration value range, wherein, the first volume value is not identical with the second volume value size.Visible, implement the embodiment of the present invention, user terminal can carry out according to the real time acceleration of user terminal the broadcast sound volume adjusting sound automatically, neatly, thus can save and adjust volume to manually, improves the efficiency of volume adjustment.
In addition, in the method described by Fig. 1, user is when handset user terminal, and user can carry out " shaking " operation to user terminal, and user to user terminal is rocked faster, and the volume that user terminal is play is larger; Otherwise user to user terminal is rocked slower, the volume that user terminal is play is less, thus can promote Consumer's Experience.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention.Wherein, user, when the user terminal shown in hand-held Fig. 3, can carry out " shaking " user terminal, thus can adjust the volume value of user terminal broadcasting automatically, neatly.As shown in Figure 3, this user terminal can comprise:
Acquiring unit 301, during for playing the sound of the first volume value at user terminal, obtains the first predetermined acceleration value range of the first volume value coupling;
Detecting unit 302, for detecting the real time acceleration value of user terminal;
Recognition unit 303, for identifying the second predetermined acceleration value range belonging to real time acceleration;
Contrast unit 304, whether consistent with the second predetermined acceleration value range for contrasting the first predetermined acceleration value range;
Adjustment unit 305, for contrast the comparing result of unit 304 be the first predetermined acceleration value range and described second predetermined acceleration value range inconsistent time, the first volume value is adjusted to the second volume value matched with the second predetermined acceleration value range; Wherein, the first volume value is not identical with the second volume value size.
In the embodiment of the present invention, when user terminal plays the sound of the first volume value, acquiring unit 301 can judge whether the current enable volume adjustment modes of user terminal is volume self-regulation mode, if the current enable volume adjustment modes of user terminal is volume self-regulation mode, then acquiring unit 301 can obtain the first predetermined acceleration value range of the first volume value coupling; Otherwise if the current enable volume adjustment modes of user terminal is not volume self-regulation mode, the volume value that can only adjust user terminal to manually and play is described, now user terminal can terminate to perform volume adjustment flow process.
In the embodiment of the present invention, user terminal can be previously stored with the predetermined acceleration value range of multiple non-overlapping copies, and each predetermined acceleration value range mates a volume value respectively, and wherein, the volume value of any two predetermined acceleration value ranges coupling is different.Wherein, predetermined acceleration value range is larger, and the volume value of the volume value coupling of predetermined acceleration value range coupling is larger; Otherwise predetermined acceleration value range is less, the volume value of the volume value coupling of predetermined acceleration value range coupling is less.Such as, user terminal can be previously stored with predetermined acceleration value range [0m/s 2, 10m/s 2], predetermined acceleration value range [11m/s 2, 20m/s 2] and predetermined acceleration value range [21m/s 2, 30m/s 2], wherein, predetermined acceleration value range [0m/s 2, 10m/s 2] volume value that mates can be 50 decibels; And predetermined acceleration value range [11m/s 2, 20m/s 2] volume value that mates can be 60 decibels; And predetermined acceleration value range [21m/s 2, 30m/s 2] volume value that mates can be 70 decibels.
In the embodiment of the present invention, when user terminal plays sound (as calling voice or the music) of the first volume value, acquiring unit 301 can according to the first volume value, from the matching relationship of the predetermined acceleration value range prestored and volume value, obtain the predetermined acceleration value range of the first volume value coupling as the first predetermined acceleration value range.Such as, when acquiring unit 301 is according to the first volume value, be [0m/s from the predetermined acceleration value range prestored with identifying the predetermined acceleration value range that the first volume value mates the matching relationship of volume value 2, 10m/s 2] time, so predetermined acceleration value range can be [0m/s by acquiring unit 301 2, 10m/s 2] as first volume value coupling the first predetermined acceleration value range.
Or, in the embodiment of the present invention, the predetermined acceleration value range that can be prestored by high in the clouds and the matching relationship of volume value, when user terminal plays the sound of the first volume value, acquiring unit 301 can send the first volume value to high in the clouds, and high in the clouds from the matching relationship of the predetermined acceleration value range prestored and volume value, can obtain the predetermined acceleration value range of the first volume value coupling as the first predetermined acceleration value range, and return to acquiring unit 301.Such as, high in the clouds can be [0m/s with identifying the predetermined acceleration value range that the first volume value mates the matching relationship of volume value from the predetermined acceleration value range prestored 2, 10m/s 2], so predetermined acceleration value range can be [0m/s by high in the clouds 2, 10m/s 2] as the first predetermined acceleration value range of the first volume value coupling, and return to acquiring unit 301.Obviously, this mode can save the matching relationship of predetermined acceleration value range that user terminal prestores and volume value, reduces taking user terminal internal memory.
In the embodiment of the present invention, user can carry out " shaking " user terminal when handset user terminal, and correspondingly, detecting unit 302 can utilize its built-in acceleration transducer to detect the real time acceleration value of user terminal.
In the embodiment of the present invention, as previously described, the predetermined acceleration value range that user terminal can prestore and the matching relationship of volume value, correspondingly, recognition unit 303 can according to this real time acceleration, the predetermined acceleration value range belonging to this real time acceleration is identified, as the second predetermined acceleration value range from the matching relationship of the predetermined acceleration value range prestored and volume value.Such as, when recognition unit 303 is according to this real time acceleration, from the matching relationship of the predetermined acceleration value range prestored and volume value, the predetermined acceleration value range identified belonging to this real time acceleration is [21m/s 2, 30m/s 2] time, predetermined acceleration value range can be [21m/s by recognition unit 303 2, 30m/s 2] as the second predetermined acceleration value range belonging to real time acceleration.
In the embodiment of the present invention, as previously described, high in the clouds can from the matching relationship of the predetermined acceleration value range prestored and volume value, correspondingly, this real time acceleration can be sent to high in the clouds by recognition unit 303, by high in the clouds according to this real time acceleration, from the matching relationship of the predetermined acceleration value range prestored and volume value, identify the predetermined acceleration value range belonging to this real time acceleration, return to recognition unit 303 as the second predetermined acceleration value range.Such as, when high in the clouds is according to this real time acceleration, from the matching relationship of the predetermined acceleration value range prestored and volume value, the predetermined acceleration value range identified belonging to this real time acceleration is [11m/s 2, 20m/s 2] time, high in the clouds is being [11m/s by predetermined acceleration value range 2, 20m/s 2] as the second predetermined acceleration value range belonging to real time acceleration, and return to recognition unit 303.
In the embodiment of the present invention, when contrast unit 304 contrast the first predetermined acceleration value range whether consistent with the second predetermined acceleration value range time, illustrate that the first volume value of the first predetermined acceleration value range coupling is different from the second volume value that the second predetermined acceleration value range mates, now adjustment unit 305 just needs to adjust the first volume value automatically, neatly.
As the optional execution mode of one, when the first predetermined acceleration value range is less than the second predetermined acceleration value range, the mode that the first volume value is adjusted to the second volume value matched with the second predetermined acceleration value range by adjustment unit 305 is specifically as follows:
Adjustment unit 305 judges whether the wearable device of user terminal and user terminal binding all same action event occurs in preset duration, if there is same action event, the first volume value is increased to the second volume value matched with described second predetermined acceleration value range.
As the optional execution mode of another kind, when the first predetermined acceleration value range is greater than the second predetermined acceleration value range, the mode that the first volume value is adjusted to the second volume value matched with the second predetermined acceleration value range by adjustment unit 305 is specifically as follows:
Adjustment unit 305 judges whether the wearable device of user terminal and user terminal binding all same action event occurs in preset duration, if there is same action event, the first volume value is reduced to the second volume value matched with the second predetermined acceleration value range.
As the optional execution mode of another kind, adjustment unit 305 judges that the mode whether wearable device of user terminal and user terminal binding same action event all occurs in preset duration is specially:
Adjustment unit 305 detects user terminal and whether occurs first and get rid of action event, if user terminal occurs first get rid of action event, whether the wearable device detecting user terminal binding occurs second is got rid of action event, if wearable device occurs second get rid of action event, judge first get rid of that action event and second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that first gets rid of action event and second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at preset duration, get rid of whipping that action event comprises and make initial time if first gets rid of action event and second and be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at preset duration, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if first gets rid of action event and second, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if first gets rid of action event and second, then judge that user terminal and wearable device all in described preset duration, same action event occur.Obviously, this execution mode can promote the accuracy the first volume value being adjusted to the second volume value matched with the second predetermined acceleration value range, and promotes Consumer's Experience.
Visible, when the first predetermined acceleration value range belonging to the first volume value of playing of the second predetermined acceleration value range of user terminal shown in Fig. 3 belonging to the real time acceleration identifying user terminal and user terminal is inconsistent, first volume value can be adjusted to the second volume value matched with the second predetermined acceleration value range, wherein, the first volume value is not identical with the second volume value size.Visible, implement the embodiment of the present invention, user terminal can carry out according to the real time acceleration of user terminal the broadcast sound volume adjusting sound automatically, neatly, thus can save and adjust volume to manually, improves the efficiency of volume adjustment.
In addition, implement the user terminal shown in Fig. 3, user is when handset user terminal, and user can carry out " shaking " operation to user terminal, and user to user terminal is rocked faster, and the volume that user terminal is play is larger; Otherwise user to user terminal is rocked slower, the volume that user terminal is play is less, thus can promote Consumer's Experience.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium comprises read-only memory (Read-OnlyMemory, ROM), random asccess memory (RandomAccessMemory, RAM), programmable read only memory (ProgrammableRead-onlyMemory, PROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammableReadOnlyMemory, EPROM), disposable programmable read-only memory (One-timeProgrammableRead-OnlyMemory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-ErasableProgrammableRead-OnlyMemory, EEPROM), read-only optical disc (CompactDiscRead-OnlyMemory, or other disk storages CD-ROM), magnetic disc store, magnetic tape storage, or can be used in any other medium computer-readable carrying or store data.
Above a kind of method for regulation of sound volume disclosed in the embodiment of the present invention and user terminal are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for regulation of sound volume, is characterized in that, comprising:
When user terminal plays the sound of the first volume value, obtain the first predetermined acceleration value range of described first volume value coupling;
Detect the real time acceleration value of described user terminal;
Identify the second predetermined acceleration value range belonging to described real time acceleration;
Contrast described first predetermined acceleration value range whether consistent with described second predetermined acceleration value range, when described first predetermined acceleration value range and described second predetermined acceleration value range inconsistent time, described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range; Wherein, described first volume value is not identical with described second volume value size.
2. method according to claim 1, it is characterized in that, when described first predetermined acceleration value range is less than described second predetermined acceleration value range, describedly described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range, comprising:
Judge whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is increased to the second volume value matched with described second predetermined acceleration value range.
3. method according to claim 1, it is characterized in that, when described first predetermined acceleration value range is greater than described second predetermined acceleration value range, describedly described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range, comprising:
Judge whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is reduced to the second volume value matched with described second predetermined acceleration value range.
4. according to the method in claim 2 or 3, it is characterized in that, whether the described wearable device judging that described user terminal and described user terminal are bound all there is same action event in preset duration, comprising:
Detect described user terminal whether to occur first and get rid of action event, if described user terminal occurs first get rid of action event, whether the wearable device detecting the binding of described user terminal occurs second is got rid of action event, if described wearable device occurs second get rid of action event, judge described first get rid of that action event and described second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that described first gets rid of action event and described second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at described preset duration, get rid of whipping that action event comprises and make initial time if described first gets rid of action event and described second and be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at described preset duration, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if described first gets rid of action event and described second, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if described first gets rid of action event and described second, then judge that described user terminal and described wearable device all in described preset duration, same action event occur.
5. the method according to any one of Claims 1 to 4, is characterized in that, when user terminal plays the sound of the first volume value, obtains the first predetermined acceleration value range of described first volume value coupling, comprising:
When user terminal plays the sound of the first volume value, judge whether the current enable volume adjustment modes of described user terminal is volume self-regulation mode, if the current enable volume adjustment modes of described user terminal is described volume self-regulation mode, obtain the first predetermined acceleration value range of described first volume value coupling.
6. a user terminal, is characterized in that, comprising:
Acquiring unit, for when described user terminal plays the sound of the first volume value, obtains the first predetermined acceleration value range of described first volume value coupling;
Detecting unit, for detecting the real time acceleration value of described user terminal;
Recognition unit, for identifying the second predetermined acceleration value range belonging to described real time acceleration;
Contrast unit, whether consistent with described second predetermined acceleration value range for contrasting described first predetermined acceleration value range;
Adjustment unit, for at the comparing result of described contrast unit be described first predetermined acceleration value range and described second predetermined acceleration value range inconsistent time, described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range; Wherein, described first volume value is not identical with described second volume value size.
7. user terminal according to claim 6, it is characterized in that, when described first predetermined acceleration value range is less than described second predetermined acceleration value range, the mode that described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range by described adjustment unit is specially:
Described adjustment unit judges whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is increased to the second volume value matched with described second predetermined acceleration value range.
8. user terminal according to claim 6, it is characterized in that, when described first predetermined acceleration value range is greater than described second predetermined acceleration value range, the mode that described first volume value is adjusted to the second volume value matched with described second predetermined acceleration value range by described adjustment unit is specially:
Described adjustment unit judges whether the wearable device of described user terminal and the binding of described user terminal all same action event occurs in preset duration, if there is same action event, described first volume value is reduced to the second volume value matched with described second predetermined acceleration value range.
9. the user terminal according to claim 7 or 8, is characterized in that, described adjustment unit judges that the mode whether wearable device of described user terminal and the binding of described user terminal same action event all occurs in preset duration is specially:
Described adjustment unit detects described user terminal and whether occurs first and get rid of action event, if described user terminal occurs first get rid of action event, whether the wearable device detecting the binding of described user terminal occurs second is got rid of action event, if described wearable device occurs second get rid of action event, judge described first get rid of that action event and described second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that described first gets rid of action event and described second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at described preset duration, get rid of whipping that action event comprises and make initial time if described first gets rid of action event and described second and be all positioned at preset duration, and described first gets rid of action event and described second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at described preset duration, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if described first gets rid of action event and described second, judge that described first gets rid of action event and described second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if described first gets rid of action event and described second, then judge that described user terminal and described wearable device all in described preset duration, same action event occur.
10. the user terminal according to any one of claim 6 ~ 9, it is characterized in that, described acquiring unit is specifically for when described user terminal plays the sound of the first volume value, judge whether the current enable volume adjustment modes of described user terminal is volume self-regulation mode, if the current enable volume adjustment modes of described user terminal is described volume self-regulation mode, obtain the first predetermined acceleration value range of described first volume value coupling.
CN201510703762.2A 2015-10-23 2015-10-23 A kind of method for regulation of sound volume and user terminal Expired - Fee Related CN105376385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510703762.2A CN105376385B (en) 2015-10-23 2015-10-23 A kind of method for regulation of sound volume and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510703762.2A CN105376385B (en) 2015-10-23 2015-10-23 A kind of method for regulation of sound volume and user terminal

Publications (2)

Publication Number Publication Date
CN105376385A true CN105376385A (en) 2016-03-02
CN105376385B CN105376385B (en) 2018-06-29

Family

ID=55378177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510703762.2A Expired - Fee Related CN105376385B (en) 2015-10-23 2015-10-23 A kind of method for regulation of sound volume and user terminal

Country Status (1)

Country Link
CN (1) CN105376385B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106847275A (en) * 2016-12-27 2017-06-13 广东小天才科技有限公司 Method for controlling wearable device and wearable device
CN108055408A (en) * 2017-12-28 2018-05-18 维沃移动通信有限公司 A kind of application control method and mobile terminal
CN108829254A (en) * 2018-06-21 2018-11-16 广东小天才科技有限公司 Method, system and related equipment for realizing interaction between microphone and user terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101659233A (en) * 2009-09-18 2010-03-03 广州风神汽车有限公司 Method, device and system for controlling sound pressure of loudspeaker of automobile
CN101783064A (en) * 2009-01-20 2010-07-21 英华达(南京)科技有限公司 Remote controller reaching operating function based on movement locus and operation method thereof
CN101902526A (en) * 2010-07-21 2010-12-01 惠州Tcl移动通信有限公司 Mobile terminal and volume control method and device thereof
US20140274217A1 (en) * 2013-03-14 2014-09-18 Samsung Electronics Co., Ltd. Method and apparatus for operating electronic device with cover

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783064A (en) * 2009-01-20 2010-07-21 英华达(南京)科技有限公司 Remote controller reaching operating function based on movement locus and operation method thereof
CN101659233A (en) * 2009-09-18 2010-03-03 广州风神汽车有限公司 Method, device and system for controlling sound pressure of loudspeaker of automobile
CN101902526A (en) * 2010-07-21 2010-12-01 惠州Tcl移动通信有限公司 Mobile terminal and volume control method and device thereof
US20140274217A1 (en) * 2013-03-14 2014-09-18 Samsung Electronics Co., Ltd. Method and apparatus for operating electronic device with cover

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106847275A (en) * 2016-12-27 2017-06-13 广东小天才科技有限公司 Method for controlling wearable device and wearable device
CN108055408A (en) * 2017-12-28 2018-05-18 维沃移动通信有限公司 A kind of application control method and mobile terminal
CN108055408B (en) * 2017-12-28 2019-12-24 维沃移动通信有限公司 Application program control method and mobile terminal
CN108829254A (en) * 2018-06-21 2018-11-16 广东小天才科技有限公司 Method, system and related equipment for realizing interaction between microphone and user terminal

Also Published As

Publication number Publication date
CN105376385B (en) 2018-06-29

Similar Documents

Publication Publication Date Title
EP3340243B1 (en) Method for performing voice control on device with microphone array, and device thereof
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN109461449B (en) Voice wake-up method and system for intelligent device
CN103871408B (en) Method and device for voice identification and electronic equipment
WO2017032030A1 (en) Volume adjusting method and user terminal
CN106126167B (en) A kind of sound effect treatment method and terminal device
US9197731B2 (en) Method and device for changing dynamic display effect of mobile phone application by way of voice control
CN103366744B (en) Based on the method and apparatus of Voice command portable terminal
CN105376385A (en) Volume adjusting method and user terminal
CN109121046A (en) Plug-hole processing method and Related product
CN108733341B (en) Voice interaction method and device
CN111161746B (en) Voiceprint registration method and system
CN104902334B (en) Program broadcasting method and device
CN110491419B (en) Playing control method, system and terminal equipment
CN103426429A (en) Voice control method and voice control device
CN103916511A (en) Information processing method and electronic equipment
CN105554218B (en) A kind of Headphone volume adjusting method and relevant device
CN114979921A (en) Earphone sound leakage detection method and device and Bluetooth earphone
CN110197663B (en) Control method and device and electronic equipment
CN104754099A (en) Conversation volume adjusting method
CN109584877B (en) Voice interaction control method and device
CN109147783B (en) Voice recognition method, medium and system based on Karaoke system
CN105788590A (en) Speech recognition method, device, mobile terminal
CN109862171A (en) Terminal equipment control method and device
CN105959845B (en) External equipment identification circuit, methods, devices and systems based on earphone socket

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180629