CN107623776A - A kind of method for controlling volume, system and mobile terminal - Google Patents

A kind of method for controlling volume, system and mobile terminal Download PDF

Info

Publication number
CN107623776A
CN107623776A CN201710737276.1A CN201710737276A CN107623776A CN 107623776 A CN107623776 A CN 107623776A CN 201710737276 A CN201710737276 A CN 201710737276A CN 107623776 A CN107623776 A CN 107623776A
Authority
CN
China
Prior art keywords
volume
information
mobile terminal
identification information
mentioned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710737276.1A
Other languages
Chinese (zh)
Inventor
周思源
刘旭东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710737276.1A priority Critical patent/CN107623776A/en
Publication of CN107623776A publication Critical patent/CN107623776A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present invention belongs to communication technical field, more particularly to a kind of method for controlling volume, system and mobile terminal.Methods described is applied to mobile terminal, including:Obtain the identification information for the Bluetooth audio equipment being connected with the mobile terminal;According to the identification information, corresponding information volume is obtained;According to the information volume, the volume of the currently playing voice data of the mobile terminal is adjusted, and sends the voice data to the Bluetooth audio equipment and plays out.The embodiment of the present invention enables to the different Bluetooth audio equipments from mobile terminal connection to use each self-corresponding volume playing audio-fequency data, and the volume of voice data is manually adjusted without user, improves Consumer's Experience.

Description

A kind of method for controlling volume, system and mobile terminal
Technical field
The present embodiments relate to the communications field, more particularly to a kind of method for controlling volume, system and mobile terminal.
Background technology
User would generally pass through bluetooth module and bluetooth earphone, Baffle Box of Bluetooth, on-vehicle Bluetooth, the mobile terminal of mobile terminal Connected Deng Bluetooth audio equipment, the voice data that above-mentioned mobile terminal transmission is received by above-mentioned Bluetooth audio equipment plays out.
Because the type and usage scenario of Bluetooth audio equipment are different, each Bluetooth audio equipment is required for user real When the suitable volume of de-regulation.If previous Bluetooth audio equipment is on-vehicle Bluetooth or Baffle Box of Bluetooth, broadcasting The volume of voice data can be bigger;And when user reuses bluetooth earphone and removes to listen the voice data of broadcasting, volume is still protected The level of sound volume in a upper Bluetooth audio equipment is held, this can cause user's dysacusis.Similarly, if previous bluetooth sound When frequency equipment is bluetooth earphone, the volume of the voice data of broadcasting can be smaller;And when user reuses on-vehicle Bluetooth or indigo plant When tooth audio amplifier removes to listen the voice data of broadcasting, volume is also held in the level of sound volume of a Bluetooth audio equipment, can cause The experience of user's audition reduces.
Therefore, when mobile terminal is by Bluetooth audio equipment playing audio-fequency data, it is necessary to which user manually adjusts audio number According to volume, cause user's operating experience poor.
The content of the invention
The embodiment of the present invention provides a kind of method for controlling volume, system and mobile terminal, to solve to pass through in mobile terminal , it is necessary to the problem of user manually adjusts the volume of voice data during Bluetooth audio equipment playing audio-fequency data.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of method for controlling volume, applied to mobile whole End, including:
Obtain the identification information for the Bluetooth audio equipment being connected with the mobile terminal;
According to the identification information, corresponding information volume is obtained;
According to the information volume, the volume of the currently playing voice data of the mobile terminal is adjusted, and described in sending Voice data to the Bluetooth audio equipment plays out.
The embodiment of the present invention additionally provides a kind of sound-volume control system, applied to mobile terminal, including:
Identification information acquisition module, for obtaining the identification information for the Bluetooth audio equipment being connected with the mobile terminal;
Information volume acquisition module, for according to the identification information, obtaining corresponding information volume;
Information volume control module, for according to the information volume, adjusting the currently playing audio of the mobile terminal The volume of data, and send the voice data to the Bluetooth audio equipment and play out.
The embodiment of the present invention is additionally provided with a kind of mobile terminal, including processor, memory and is stored in the storage On device and the computer program that can run on the processor, the computer program are realized such as during the computing device The step of method for controlling volume any one of the claims.
The embodiment of the present invention still further provides a kind of computer-readable recording medium, the computer-readable recording medium Upper storage computer program, realized when the computer program is executed by processor as any one of above-mentioned claim The step of method for controlling volume.
In embodiments of the present invention, believed by obtaining with the mark of the Bluetooth audio equipment of above-mentioned mobile terminal bluetooth connection The corresponding information volume of breath, then according to above-mentioned information volume, adjusts the currently playing voice data of above-mentioned mobile terminal Volume, concurrently serve and state voice data to above-mentioned Bluetooth audio equipment and play out, enable to be connected with mobile terminal Different Bluetooth audio equipments use each self-corresponding volume playing audio-fequency data, manually adjust sound without user The volume of frequency evidence, improves Consumer's Experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
The flow chart for the step of Fig. 1 is a kind of method for controlling volume of the inventive method embodiment one;
The flow chart for the step of Fig. 2 is a kind of method for controlling volume of the inventive method embodiment two;
Fig. 3 is a kind of structured flowchart of one of sound-volume control system of apparatus of the present invention embodiment three;
Fig. 4 is a kind of two structured flowchart of sound-volume control system of apparatus of the present invention embodiment three;
Fig. 5 is a kind of structured flowchart of mobile terminal of apparatus of the present invention example IV;
Fig. 6 is a kind of structural representation of mobile terminal of apparatus of the present invention embodiment five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
【Embodiment of the method one】
Shown in reference picture 1, the embodiments of the invention provide a kind of audio control method, applied to mobile terminal, specifically may be used With including step 101-103:
Step 101:Obtain the identification information for the Bluetooth audio equipment being connected with above-mentioned mobile terminal.
In embodiments of the present invention, mobile terminal include but is not limited to be such as mobile phone, tablet personal computer, notebook computer, Palm PC, wearable device etc. can playing audio-fequency data, and the mobile terminal comprising bluetooth module.
Above-mentioned Bluetooth audio equipment includes but is not limited to bluetooth earphone, Baffle Box of Bluetooth, on-vehicle Bluetooth, mobile terminal etc. can Playing audio-fequency data, and the terminal comprising bluetooth module.
In embodiments of the present invention, in above-mentioned acquisition and the mark of the Bluetooth audio equipment of above-mentioned mobile terminal bluetooth connection Before information, the above method also includes:Bluetooth is established by the bluetooth module and above-mentioned Bluetooth audio equipment of above-mentioned mobile terminal Connection;Then above-mentioned acquisition and include the step of the identification information of the Bluetooth audio equipment of above-mentioned mobile terminal bluetooth connection:Read With the identification information of the Bluetooth audio equipment of above-mentioned mobile terminal bluetooth connection.
Similarly, in embodiments of the present invention, can also be established in above-mentioned mobile terminal and above-mentioned Bluetooth audio equipment blue Before tooth connection, the response message of Bluetooth connection request is directed to by obtaining above-mentioned Bluetooth audio equipment, to obtain above-mentioned bluetooth The identification information of audio frequency apparatus.
Above-mentioned identification information include but is not limited to device name, hardware address, device type mark etc. can be identified for that it is above-mentioned The information of Bluetooth audio equipment.
Step 102:According to above-mentioned identification information, corresponding information volume is obtained.
In embodiments of the present invention, according to above-mentioned identification information, information volume corresponding with above-mentioned identification information is obtained.Example Such as, the identification information of each Bluetooth audio equipment and the corresponding pass of corresponding information volume are store in default server System, then it can obtain the volume letter corresponding with above-mentioned identification information by carrying out internet communication with above-mentioned default server Breath;Further, it is also possible to the information volume of the recommendation of Bluetooth audio equipment corresponding to above-mentioned identification information is searched by internet.
It is understood that above-mentioned information volume represents that the first of the voice data of above-mentioned mobile terminal playing gives great volume It is small;The voice data of above-mentioned first volume is played out being by movement described above terminal and be sent to above-mentioned audio-frequence player device When, the second volume played out is suitable for listening to object, such as human ear is suitable.It is because above-mentioned The impedance of audio-frequence player device, sensitivity etc. may exist on the volume of above-mentioned voice data and influences, such as pass through bluetooth Sound equipment may can more embody the bass effect of voice data when playing, cause the volume that human ear is heard to change.But It is, for same Bluetooth audio equipment, if audio plays arrange parameter constant, above-mentioned first volume and above-mentioned the Fixed correspondence be present in two volumes.
It is apparent that the voice data of a certain volume is played out being by movement described above terminal and be sent to bluetooth earphone When, if the volume that human ear is heard is suitable;The voice data of so same volume is being by movement described above terminal hair When giving Baffle Box of Bluetooth and playing out, the volume that human ear is heard is relatively low because bluetooth earphone to human ear propagation away from It is near from more than with a distance from Baffle Box of Bluetooth to human ear.Therefore, the suitable information volume of different Bluetooth audio equipments is different.
Step 103:According to above-mentioned information volume, the volume of the currently playing voice data of above-mentioned mobile terminal is adjusted, and Above-mentioned voice data to above-mentioned Bluetooth audio equipment is sent to play out.
In embodiments of the present invention, above-mentioned mobile terminal can send currently playing music data to above-mentioned bluetooth sound Frequency equipment plays out, and can send currently playing call voice data to above-mentioned Bluetooth audio equipment and play out.
In embodiments of the present invention, above-mentioned mobile terminal can will receive or call the real-time of rear mobile terminal playing Call voice data send to above-mentioned Bluetooth audio equipment and played out, and can also answer the audio/video of above-mentioned mobile terminal The media audio data played with program, which are sent to above-mentioned Bluetooth audio equipment, to be played out, and can also lead to above-mentioned mobile terminal The media audio data for crossing the audio/video of browser broadcasting send to above-mentioned Bluetooth audio equipment and played out.Certainly, it is of the invention Embodiment is not limited to above-mentioned application scenarios.
In a word, above-mentioned voice data can at least include music data, speech data etc.;Accordingly, above-mentioned information volume Media information volume, In Call information etc. can be included.
It is understood that the volume of the currently playing voice data of above-mentioned mobile terminal is adjusted according to above-mentioned information volume The essence of size is that the amplitude of the audio signal of above-mentioned voice data is adjusted, and then above-mentioned mobile terminal is by above-mentioned adjustment Voice data afterwards is sent to above-mentioned Bluetooth audio equipment, by above-mentioned Bluetooth audio equipment by the audio signal of above-mentioned voice data Played by loudspeaker.
In embodiments of the present invention, believed by obtaining with the mark of the Bluetooth audio equipment of above-mentioned mobile terminal bluetooth connection The corresponding information volume of breath, then according to above-mentioned information volume, adjusts the currently playing voice data of above-mentioned mobile terminal Volume, concurrently serve and state voice data to above-mentioned Bluetooth audio equipment and play out, enable to be connected with mobile terminal Different Bluetooth audio equipments use each self-corresponding volume playing audio-fequency data, manually adjust sound without user The volume of frequency evidence, improves Consumer's Experience.
【Embodiment of the method two】
Shown in reference picture 2, the embodiments of the invention provide a kind of audio control method, applied to mobile terminal, specifically may be used With including step 201-207:
Step 201:In the upper once connection procedure of above-mentioned mobile terminal and above-mentioned Bluetooth audio equipment, above-mentioned indigo plant is obtained The information volume of the identification information of tooth audio frequency apparatus and above-mentioned mobile terminal.
In embodiments of the present invention, if not establishing the mapping relations of identification information and information volume also, or corresponding guarantor The identification information and information volume deposited, then in the upper once connection procedure of above-mentioned mobile terminal and above-mentioned Bluetooth audio equipment, With regard to obtaining the identification information of above-mentioned Bluetooth audio equipment and the information volume of above-mentioned mobile terminal, it is easy to subsequently believe above-mentioned mark Breath is corresponding with above-mentioned information volume to be preserved.The information volume of above-mentioned mobile terminal is may be considered customer acceptance with above-mentioned bluetooth Information volume corresponding to audio frequency apparatus, i.e., in the upper once connection procedure of above-mentioned mobile terminal and above-mentioned Bluetooth audio equipment by The volume for the above-mentioned voice data that above-mentioned Bluetooth audio equipment plays is suitable.
Step 202:By the preservation corresponding with above-mentioned information volume of above-mentioned identification information.
With reference to shown in table 1, record saves above-mentioned mobile terminal and sends currently playing voice data to above-mentioned bluetooth When audio frequency apparatus plays out, the corresponding pass of the information volume of the identification information of above-mentioned Bluetooth audio equipment and above-mentioned mobile terminal It system, can be the form of table, can be the form or other forms of database.
Identification information Information volume
Identification information 1 Information volume 1
Identification information 2 Information volume 2
Table 1
Further, the type information of above-mentioned voice data can also be obtained, preserve above-mentioned identification information, type information and The corresponding relation of above-mentioned information volume;The above-mentioned type information can include music information and call-information etc.;Above-mentioned music information Musical genre information, music atmosphere information etc. can specifically be included.
Because when playing music using same Bluetooth audio equipment, probably due to the difference of type information, user wish Broadcasting volume it is different;Such as rock music, with respect to country music, user wishes that the volume of broadcasting is bigger;It is such as sad The music of the relatively cheerful and light-hearted atmosphere of the music of atmosphere, user wish that the volume of broadcasting is smaller.
Therefore, in embodiments of the present invention, can once connect in above-mentioned mobile terminal and the upper of above-mentioned Bluetooth audio equipment In termination process, identification information, the type information of above-mentioned voice data of above-mentioned bluetooth equipment are obtained, is then obtained and above-mentioned bluetooth The type information of the identification information of equipment, above-mentioned voice data, the corresponding information volume preserved;According to above-mentioned information volume, adjust The volume of the currently playing voice data of whole above-mentioned mobile terminal, concurrently serve and state voice data to above-mentioned Bluetooth audio frequency and set It is standby to play out.
Step 203:Obtain the identification information for the Bluetooth audio equipment being connected with above-mentioned mobile terminal.
Step 204:Judge whether the information volume of preservation corresponding with above-mentioned identification information.
In embodiments of the present invention, when the information volume of preservation corresponding with above-mentioned identification information be present, then can perform Step 205;When in the absence of the information volume of preservation corresponding with above-mentioned identification information, then step 206 can be performed.
Step 205:According to above-mentioned identification information, the information volume of reading preservation corresponding with above-mentioned identification information.
In embodiments of the present invention, in the above-mentioned corresponding identification information and information volume preserved, read and above-mentioned mark The corresponding information volume preserved of information;Then step 207 can be performed.
For example, above-mentioned identification information is bluetooth earphone I types, then in the above-mentioned corresponding identification information preserved and information volume In, the information volume for reading preservation corresponding with above-mentioned bluetooth earphone I types is 30 decibels;For example, above-mentioned identification information is bluetooth sound Case II types, then in the above-mentioned corresponding identification information and information volume preserved, read preserve corresponding with above-mentioned Baffle Box of Bluetooth II types Information volume be 110 decibels.
Step 206:When in the absence of the information volume of preservation corresponding with above-mentioned identification information, above-mentioned mobile terminal is obtained Default volume information.
In embodiments of the present invention, when the above-mentioned corresponding identification information preserved and there is no above-mentioned identification information in information volume When, obtain the default volume information of above-mentioned mobile terminal;Then step 207 can be performed, i.e., according to above-mentioned default volume information, The volume of the currently playing voice data of above-mentioned mobile terminal is adjusted, concurrently serves and states voice data to above-mentioned Bluetooth audio equipment Play out.
Above-mentioned default volume information can be audio-frequency information corresponding to the most frequently used Bluetooth audio equipment of user or Information volume corresponding to user's last time playing audio-fequency data of record, can also be a certain specific volume, i.e., will not It is too small, discomfort, such as 50 decibels will not be also brought to human ear.
Alternatively, in a kind of embodiment of the embodiment of the present invention, the above method can also include:
Detect whether the operation of adjustment information volume be present;
When detecting the presence of the operation of adjustment information volume, according to above-mentioned testing result, renewal and above-mentioned identification information The corresponding information volume preserved.
That is, first detecting whether the operation that user adjusts information volume be present, such as detect that user presses sound Measure the operation of function key, it is determined that user is dissatisfied to current information volume, that is to say, that with current identification information pair The information volume that should be preserved is not suitable for;Therefore the information volume after the operation of above-mentioned adjustment information volume, renewal pair are obtained The information volume corresponding with current identification information in the identification information and information volume that should preserve.
Therefore the embodiment of the present invention can be according to the above-mentioned corresponding identification information preserved of practical operation real-time update of user And information volume, improve the applicability and popularity of application.
Step 207:According to above-mentioned information volume, the volume of the currently playing voice data of above-mentioned mobile terminal is adjusted, and Above-mentioned voice data to above-mentioned Bluetooth audio equipment is sent to play out.
On the one hand the embodiment of the present invention enables to the different Bluetooth audio equipments from mobile terminal connection using respective Corresponding volume playing audio-fequency data, the volume of voice data is manually adjusted without user, improves user Experience;On the other hand, it can preserve and update the above-mentioned corresponding identification information preserved and information volume, improve being applicable for application Property and popularity.
【Device embodiment three】
Shown in reference picture 3, the embodiments of the invention provide a kind of sound-volume control system, applied to mobile terminal, specifically may be used With including:
Identification information acquisition module 301, for obtaining the mark letter for the Bluetooth audio equipment being connected with above-mentioned mobile terminal Breath;
Information volume acquisition module 302, for according to above-mentioned identification information, obtaining corresponding information volume;
Information volume control module 303, for according to above-mentioned information volume, adjusting the currently playing sound of above-mentioned mobile terminal The volume of frequency evidence, concurrently serve and state voice data to above-mentioned Bluetooth audio equipment and play out.
Shown in reference picture 4, alternatively, on the basis of above-mentioned Fig. 3, above-mentioned information volume acquisition module 302 can include:
First information volume acquiring unit 3021, for according to above-mentioned identification information, reading corresponding with above-mentioned identification information The information volume of preservation.
Further, said system can also include:
Corresponding relation acquisition module 304, for being once connected with the upper of above-mentioned Bluetooth audio equipment in above-mentioned mobile terminal During, obtain the identification information of above-mentioned Bluetooth audio equipment and the information volume of above-mentioned mobile terminal;
Corresponding relation preserving module 305, for by above-mentioned identification information it is corresponding with above-mentioned information volume preserve.
Further, above-mentioned information volume acquisition module 302 can also include:
Second information volume acquiring unit 3022, for when in the absence of the information volume of preservation corresponding with above-mentioned identification information When, obtain the default volume information of above-mentioned mobile terminal.
Further, said system can also include:
Detection module 306 is operated, for detecting whether the operation of adjustment information volume be present;
Corresponding relation update module 307, for when detect the presence of adjustment information volume operation when, according to above-mentioned detection As a result, the information volume of preservation corresponding with above-mentioned identification information is updated.
Above-mentioned mobile terminal can realize each process that mobile terminal is realized in Fig. 1 to Fig. 2 embodiment of the method, to keep away Exempt to repeat, repeat no more here.
On the one hand the embodiment of the present invention enables to the different Bluetooth audio equipments from mobile terminal connection using respective Corresponding volume playing audio-fequency data, the volume of voice data is manually adjusted without user, improves user Experience;On the other hand, it can preserve and update the above-mentioned corresponding identification information preserved and information volume, improve being applicable for application Property and popularity.
【Device embodiment four】
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in Fig. 5 includes:At least One processor 501, memory 502, at least one network interface 504, other users interface 503.It is each in mobile terminal 500 Individual component is coupled by bus system 505.It is understood that bus system 505 is used to realize the connection between these components Communication.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But For the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 502 be intended to including but not limited to these With the memory of any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 5022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application The program stored in program 5022 or instruction, processor 501 are used to obtain the Bluetooth audio equipment being connected with above-mentioned mobile terminal Identification information;According to above-mentioned identification information, corresponding information volume is obtained;According to above-mentioned information volume, above-mentioned movement is adjusted The volume of the currently playing voice data of terminal, concurrently serve and state voice data to above-mentioned Bluetooth audio equipment and play out.
The method that the embodiments of the present invention disclose can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 502, processor 501 read the information in memory 502, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place Manage in device, controller, microcontroller, microprocessor, other electronic units for performing the above-mentioned function of the application or its combination.
For software realize, can by perform the module (such as process, function etc.) of the above-mentioned function of the embodiment of the present invention come Realize the above-mentioned technology of the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can To realize within a processor or outside processor.
Alternatively, processor 501 is additionally operable to:According to above-mentioned identification information, read and obtain protect corresponding with above-mentioned identification information The information volume deposited.
Further, processor 501 is additionally operable to:Once it is connected with the upper of above-mentioned Bluetooth audio equipment in above-mentioned mobile terminal During, obtain the identification information of above-mentioned Bluetooth audio equipment and the information volume of above-mentioned mobile terminal;By above-mentioned identification information It is corresponding with above-mentioned information volume to preserve.
Further, processor 501 is additionally operable to:When in the absence of the information volume of preservation corresponding with above-mentioned identification information, Obtain the default volume information of above-mentioned mobile terminal.
Further, processor 501 is additionally operable to:Detect whether the operation of adjustment information volume be present;Deposited when detecting When adjusting the operation of information volume, according to above-mentioned testing result, the information volume of renewal preservation corresponding with above-mentioned identification information.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
On the one hand the embodiment of the present invention enables to the different Bluetooth audio equipments from mobile terminal connection using respective Corresponding volume playing audio-fequency data, the volume of voice data is manually adjusted without user, improves user Experience;On the other hand, it can preserve and update the above-mentioned corresponding identification information preserved and information volume, improve being applicable for application Property and popularity.
【Device embodiment five】
Fig. 6 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 600 can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric Brain etc..
Mobile terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680, power supply 690。
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 660 again, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 621, and call storage Data in second memory 622, the various functions and processing data of mobile terminal 600 are performed, so as to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 are used for the Bluetooth audio equipment that acquisition is connected with above-mentioned mobile terminal Identification information;According to above-mentioned identification information, corresponding information volume is obtained;According to above-mentioned information volume, adjust above-mentioned mobile whole The volume of currently playing voice data is held, is concurrently served and is stated voice data to above-mentioned Bluetooth audio equipment and play out.
Alternatively, processor 660 is additionally operable to:According to above-mentioned identification information, preservation corresponding with above-mentioned identification information is read Information volume.
Further, processor 660 is additionally operable to:Once it is connected with the upper of above-mentioned Bluetooth audio equipment in above-mentioned mobile terminal During, obtain the identification information of above-mentioned Bluetooth audio equipment and the information volume of above-mentioned mobile terminal;By above-mentioned identification information It is corresponding with above-mentioned information volume to preserve.
Further, processor 660 is additionally operable to:When in the absence of the information volume of preservation corresponding with above-mentioned identification information, Obtain the default volume information of above-mentioned mobile terminal.
Further, processor 660 is additionally operable to:Detect whether the operation of adjustment information volume be present;Deposited when detecting When adjusting the operation of information volume, according to above-mentioned testing result, the information volume of renewal preservation corresponding with above-mentioned identification information.
It can be seen that on the one hand the embodiment of the present invention enables to the different Bluetooth audio equipments from mobile terminal connection to use Each self-corresponding volume playing audio-fequency data, the volume of voice data is manually adjusted without user, is improved Consumer's Experience;On the other hand, it can preserve and update the above-mentioned corresponding identification information preserved and information volume, improve application Applicability and popularity.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor, memory and is stored in above-mentioned deposit On reservoir and the computer program that can be run on above-mentioned processor, the computer program are realized during above-mentioned computing device Each process of method for controlling volume embodiment is stated, and identical technique effect can be reached, it is no longer superfluous here to avoid repeating State.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored on above computer readable storage medium storing program for executing There is computer program, the computer program realizes each process of above-mentioned method for controlling volume embodiment when being executed by processor, And identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, above-mentioned computer-readable recording medium, Read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access can be included Memory, abbreviation RAM), magnetic disc or CD etc..
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of said units, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If above-mentioned function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment above method of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
It is above-mentioned above, it is only the embodiment of the present invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

  1. A kind of 1. method for controlling volume, it is characterised in that applied to mobile terminal, including:
    Obtain the identification information for the Bluetooth audio equipment being connected with the mobile terminal;
    According to the identification information, corresponding information volume is obtained;
    According to the information volume, the volume of the currently playing voice data of the mobile terminal is adjusted, and sends the audio Data to the Bluetooth audio equipment plays out.
  2. 2. according to the method for claim 1, it is characterised in that it is described according to the identification information, obtain corresponding volume The step of information, includes:
    According to the identification information, the information volume of reading preservation corresponding with the identification information.
  3. 3. according to the method for claim 2, it is characterised in that in the bluetooth sound for obtaining and being connected with the mobile terminal Before the step of identification information of frequency equipment, in addition to:
    In the upper once connection procedure of the mobile terminal and the Bluetooth audio equipment, the Bluetooth audio equipment is obtained The information volume of identification information and the mobile terminal;
    By identification information preservation corresponding with the information volume.
  4. 4. according to the method for claim 2, it is characterised in that it is described according to the identification information, obtain corresponding volume The step of information, also includes:
    When in the absence of the information volume of preservation corresponding with the identification information, the default volume letter of the mobile terminal is obtained Breath.
  5. 5. according to the method for claim 1, it is characterised in that also include:
    Detect whether the operation of adjustment information volume be present;
    It is corresponding with the identification information according to the testing result, renewal when detecting the presence of the operation of adjustment information volume The information volume of preservation.
  6. A kind of 6. sound-volume control system, it is characterised in that applied to mobile terminal, including:
    Identification information acquisition module, for obtaining the identification information for the Bluetooth audio equipment being connected with the mobile terminal;
    Information volume acquisition module, for according to the identification information, obtaining corresponding information volume;
    Information volume control module, for according to the information volume, adjusting the currently playing voice data of the mobile terminal Volume, and send the voice data to the Bluetooth audio equipment and play out.
  7. 7. system according to claim 6, it is characterised in that the information volume acquisition module includes:
    First information volume acquiring unit, for according to the identification information, the sound of reading preservation corresponding with the identification information Measure information.
  8. 8. system according to claim 7, it is characterised in that the system also includes:
    Corresponding relation acquisition module, in the upper once connection procedure of the mobile terminal and the Bluetooth audio equipment, Obtain the identification information of the Bluetooth audio equipment and the information volume of the mobile terminal;
    Corresponding relation preserving module, for by the identification information it is corresponding with the information volume preserve.
  9. 9. system according to claim 7, it is characterised in that the information volume acquisition module also includes:
    Second information volume acquiring unit, for when in the absence of the information volume of preservation corresponding with the identification information, obtaining The default volume information of the mobile terminal.
  10. 10. system according to claim 1, it is characterised in that the system also includes:
    Detection module is operated, for detecting whether the operation of adjustment information volume be present;
    Corresponding relation update module, for when detecting the presence of the operation of adjustment information volume, according to the testing result, more The newly information volume of preservation corresponding with the identification information.
  11. 11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 5 during the computing device Any one of method for controlling volume the step of.
  12. 12. a kind of computer-readable recording medium, it is characterised in that computer journey is stored on the computer-readable recording medium Sequence, the method for controlling volume as any one of claim 1 to 5 is realized when the computer program is executed by processor Step.
CN201710737276.1A 2017-08-24 2017-08-24 A kind of method for controlling volume, system and mobile terminal Pending CN107623776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710737276.1A CN107623776A (en) 2017-08-24 2017-08-24 A kind of method for controlling volume, system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710737276.1A CN107623776A (en) 2017-08-24 2017-08-24 A kind of method for controlling volume, system and mobile terminal

Publications (1)

Publication Number Publication Date
CN107623776A true CN107623776A (en) 2018-01-23

Family

ID=61088930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710737276.1A Pending CN107623776A (en) 2017-08-24 2017-08-24 A kind of method for controlling volume, system and mobile terminal

Country Status (1)

Country Link
CN (1) CN107623776A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628573A (en) * 2018-04-18 2018-10-09 福州瑞芯微电子股份有限公司 A kind of method and apparatus for supporting polymorphic type audio signal to input
CN109284081A (en) * 2018-09-20 2019-01-29 维沃移动通信有限公司 A kind of output method of audio, device and audio frequency apparatus
CN110764730A (en) * 2018-07-25 2020-02-07 杭州海康威视数字技术股份有限公司 Method and device for playing audio data
CN111277929A (en) * 2018-07-27 2020-06-12 Oppo广东移动通信有限公司 Wireless earphone volume control method, wireless earphone and mobile terminal
CN112073865A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Bluetooth headset volume setting method and device and electronic equipment
CN112272170A (en) * 2020-10-19 2021-01-26 广州博冠信息科技有限公司 Voice communication method and device, electronic equipment and storage medium
CN112614322A (en) * 2020-11-24 2021-04-06 佳禾智能科技股份有限公司 Wireless sound box volume control method, computer readable storage medium and wireless sound box
CN113010139A (en) * 2021-03-10 2021-06-22 北京奇艺世纪科技有限公司 Screen projection method and device and electronic equipment
US11042354B1 (en) 2020-03-06 2021-06-22 Sony Corporation Audio adjustment control for wireless device
CN113038337A (en) * 2021-02-02 2021-06-25 深圳千岸科技股份有限公司 Audio playing method, wireless earphone and computer readable storage medium
CN113489844A (en) * 2021-07-01 2021-10-08 荣耀终端有限公司 Volume gear adjusting method and electronic equipment
CN113504887A (en) * 2021-06-02 2021-10-15 荣耀终端有限公司 Volume setting method and electronic equipment
CN114173255A (en) * 2021-12-03 2022-03-11 Oppo广东移动通信有限公司 Parameter adjusting method and related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070249295A1 (en) * 1999-11-12 2007-10-25 Sony Corporation Telephone set, communication adaptor, home appliance control method, and program recording medium
CN103986821A (en) * 2014-04-24 2014-08-13 小米科技有限责任公司 Method, equipment and system for carrying out parameter adjustment
CN105427874A (en) * 2015-11-11 2016-03-23 广东欧珀移动通信有限公司 Method and system for configuring playing parameters of Bluetooth loudspeaker box and mobile terminal
CN106792386A (en) * 2016-12-05 2017-05-31 青岛海信电器股份有限公司 A kind of terminal volume adjusting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070249295A1 (en) * 1999-11-12 2007-10-25 Sony Corporation Telephone set, communication adaptor, home appliance control method, and program recording medium
CN103986821A (en) * 2014-04-24 2014-08-13 小米科技有限责任公司 Method, equipment and system for carrying out parameter adjustment
CN105427874A (en) * 2015-11-11 2016-03-23 广东欧珀移动通信有限公司 Method and system for configuring playing parameters of Bluetooth loudspeaker box and mobile terminal
CN106792386A (en) * 2016-12-05 2017-05-31 青岛海信电器股份有限公司 A kind of terminal volume adjusting method and device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628573A (en) * 2018-04-18 2018-10-09 福州瑞芯微电子股份有限公司 A kind of method and apparatus for supporting polymorphic type audio signal to input
CN110764730B (en) * 2018-07-25 2023-11-14 杭州海康威视数字技术股份有限公司 Method and device for playing audio data
CN110764730A (en) * 2018-07-25 2020-02-07 杭州海康威视数字技术股份有限公司 Method and device for playing audio data
EP3823299A4 (en) * 2018-07-27 2021-09-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling volume of wireless headset, wireless headset and mobile terminal
CN111277929A (en) * 2018-07-27 2020-06-12 Oppo广东移动通信有限公司 Wireless earphone volume control method, wireless earphone and mobile terminal
US11632621B2 (en) 2018-07-27 2023-04-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling volume of wireless headset, and computer-readable storage medium
CN111277929B (en) * 2018-07-27 2022-01-14 Oppo广东移动通信有限公司 Wireless earphone volume control method, wireless earphone and mobile terminal
CN109284081B (en) * 2018-09-20 2022-06-24 维沃移动通信有限公司 Audio output method and device and audio equipment
CN109284081A (en) * 2018-09-20 2019-01-29 维沃移动通信有限公司 A kind of output method of audio, device and audio frequency apparatus
CN112073865A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Bluetooth headset volume setting method and device and electronic equipment
CN112073865B (en) * 2019-06-10 2023-07-14 海信视像科技股份有限公司 Volume setting method and device of Bluetooth headset and electronic equipment
US11042354B1 (en) 2020-03-06 2021-06-22 Sony Corporation Audio adjustment control for wireless device
CN112272170A (en) * 2020-10-19 2021-01-26 广州博冠信息科技有限公司 Voice communication method and device, electronic equipment and storage medium
CN112614322A (en) * 2020-11-24 2021-04-06 佳禾智能科技股份有限公司 Wireless sound box volume control method, computer readable storage medium and wireless sound box
CN113038337A (en) * 2021-02-02 2021-06-25 深圳千岸科技股份有限公司 Audio playing method, wireless earphone and computer readable storage medium
CN113038337B (en) * 2021-02-02 2022-10-28 深圳千岸科技股份有限公司 Audio playing method, wireless earphone and computer readable storage medium
CN113010139B (en) * 2021-03-10 2023-09-05 北京奇艺世纪科技有限公司 Screen projection method and device and electronic equipment
CN113010139A (en) * 2021-03-10 2021-06-22 北京奇艺世纪科技有限公司 Screen projection method and device and electronic equipment
CN113504887A (en) * 2021-06-02 2021-10-15 荣耀终端有限公司 Volume setting method and electronic equipment
CN113489844A (en) * 2021-07-01 2021-10-08 荣耀终端有限公司 Volume gear adjusting method and electronic equipment
CN114173255A (en) * 2021-12-03 2022-03-11 Oppo广东移动通信有限公司 Parameter adjusting method and related product

Similar Documents

Publication Publication Date Title
CN107623776A (en) A kind of method for controlling volume, system and mobile terminal
CN105872253B (en) Live broadcast sound processing method and mobile terminal
CN107071119B (en) A kind of sound removing method and mobile terminal
CN103513769B (en) Method, device and mobile terminal for setting key function
CN106791109A (en) A kind of sound prompting method and mobile terminal
CN107105367A (en) A kind of acoustic signal processing method and terminal
CN107450883B (en) A kind of audio data processing method, device and mobile terminal
CN106782460A (en) The method and apparatus for generating music score
CN106782613A (en) Signal detecting method and device
CN107277268A (en) A kind of audio frequency playing method and mobile terminal
CN106126174A (en) The control method of a kind of scene audio and electronic equipment
CN107743279A (en) A kind of earphone noise-reduction method, earphone and mobile terminal
CN106303789A (en) A kind of way of recording, earphone and mobile terminal
CN106599204A (en) Method and device for recommending multimedia content
CN106714038B (en) A kind of control method and mobile terminal of sound intensity
CN107749302A (en) Audio-frequency processing method, device, storage medium and terminal
CN106973168A (en) Speech playing method, device and computer equipment
CN107071174A (en) A kind of method of speech processing and mobile terminal
CN110191221A (en) Audio-frequency processing method, circuit and terminal
CN106847307A (en) Signal detecting method and device
CN108541080A (en) First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian
CN107645682A (en) Carry out live method and system
CN106653068A (en) Audio data playing method, device and terminal
CN108124059A (en) A kind of way of recording and mobile terminal
CN107016990A (en) Audio signal generation method and device

Legal Events

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

Application publication date: 20180123