CN107493380A - volume adjusting method, device, storage medium and terminal device - Google Patents

volume adjusting method, device, storage medium and terminal device Download PDF

Info

Publication number
CN107493380A
CN107493380A CN201710710453.7A CN201710710453A CN107493380A CN 107493380 A CN107493380 A CN 107493380A CN 201710710453 A CN201710710453 A CN 201710710453A CN 107493380 A CN107493380 A CN 107493380A
Authority
CN
China
Prior art keywords
terminal device
volume adjusting
bluetooth
volume
bluetooth equipment
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
CN201710710453.7A
Other languages
Chinese (zh)
Inventor
许钊铵
严锋贵
甘高亭
郑志勇
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong 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 CN201710710453.7A priority Critical patent/CN107493380A/en
Publication of CN107493380A publication Critical patent/CN107493380A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of volume adjusting method, device, storage medium and terminal device, this method includes:When detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, judge whether the bluetooth equipment is vehicle-mounted Bluetooth equipment;The volume adjusting information according to corresponding to determining the judged result and default regulation table;The volume of the terminal device is adjusted according to the volume adjusting information.The advantage of the invention is that improve the volume adjusting efficiency of terminal device.

Description

Volume adjusting method, device, storage medium and terminal device
Technical field
The present embodiments relate to computer realm, more particularly to a kind of volume adjusting method, device, storage medium and end End equipment.
Background technology
With the development of mobile network, terminal device is gradually popularized in the life of people and opened, most common of which terminal Equipment is exactly smart mobile phone, in the prior art, the volume of smart mobile phone is adjusted generally by the physical button on mobile phone, or Mobile phone volume is adjusted by mobile phone screen control button;And such volume adjusting mode underaction is, it is necessary to further perfect.
The content of the invention
The embodiment of the present invention provides a kind of volume adjusting method, device, storage medium and terminal device, improves terminal and sets Standby volume adjusting efficiency.
In a first aspect, the embodiments of the invention provide a kind of volume adjusting method, including:
When detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, judge whether the bluetooth equipment is car Carry bluetooth equipment;
The volume adjusting information according to corresponding to determining the judged result and default regulation table;
The volume of the terminal device is adjusted according to the volume adjusting information.
Second aspect, the embodiments of the invention provide a kind of volume adjustment device, including:
Bluetooth judge module, for when detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, judging Whether the bluetooth equipment is vehicle-mounted Bluetooth equipment;
Volume adjusting determining module, for the volume adjusting letter according to corresponding to the judged result and default regulation table determination Breath;
Adjustment module, for the volume of the terminal device to be adjusted according to the volume adjusting information.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, volume adjusting method as described in the present embodiment of the invention is realized when the program is executed by processor.
Fourth aspect, the embodiments of the invention provide a kind of terminal device, including memory, processor and it is stored in storage And can be in the computer program of processor operation on device, it is characterised in that real during computer program described in the computing device Now volume adjusting method as described in the present embodiment of the invention.
The method of a kind of volume adjusting provided in the embodiment of the present invention, by judging to connect with the bluetooth module of terminal device Whether the bluetooth equipment connect is vehicle-mounted Bluetooth equipment, intelligently to be adjusted to the volume of terminal device according to judged result Section.By using above-mentioned technical proposal, the volume adjusting efficiency of terminal device can be improved.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of volume adjusting method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 4 is a kind of volume adjusting schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another volume adjusting schematic diagram provided in an embodiment of the present invention;
Fig. 6 is another volume adjusting schematic diagram provided in an embodiment of the present invention;
Fig. 7 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 8 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram of the location information of terminal device provided in an embodiment of the present invention;
Figure 10 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Figure 11 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Figure 12 is another volume adjusting schematic diagram provided in an embodiment of the present invention;
Figure 13 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention;
Figure 14 is a kind of structural representation of terminal device provided in an embodiment of the present invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It is appreciated that It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for illustrating , for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
The volume adjusting function of existing smart mobile phone is more passive, typically need user adjust manually volume by Key, the volume of smart mobile phone could be adjusted.When user is usually using mobile phone, mobile phone volume can typically be adjusted to One more moderate volume value, and when user needs to use mobile phone to connect vehicle-mounted Bluetooth sound equipment to play music, it is necessary to hand The dynamic volume value for heightening mobile phone, the so operation to user bring inconvenience.Volume adjusting provided in an embodiment of the present invention Method can solve the problems, such as that above-mentioned volume control is more passive well.
Fig. 1 is a kind of schematic flow sheet of volume adjusting method provided in an embodiment of the present invention, and this method can be by volume Control device performs, and wherein the device can be realized by software and/or hardware, can typically be integrated in terminal device.Such as Fig. 1 Shown, this method includes:
Step 101, when detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, the bluetooth equipment is judged Whether it is vehicle-mounted Bluetooth equipment.
Wherein, bluetooth equipment can be but not limited to vehicle-mounted Bluetooth equipment, Bluetooth audio device, bluetooth earphone etc..
Alternatively, step 101 can be implemented by following manner, as shown in Figure 2:
Step 1011, when detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, obtain the bluetooth and set Standby bluetooth title.
Wherein, bluetooth equipment has corresponding title, and the title of bluetooth equipment is generally the title of its own brand.
Step 1012, the on-vehicle Bluetooth title table of storage is traveled through according to the bluetooth title.
On-vehicle Bluetooth title table stores the title of the on-vehicle Bluetooth of most of automobile on the market, for example, being equipped with Carkit The on-vehicle Bluetooth title of the automobile of on-vehicle Bluetooth series is " Carkit ", and the bluetooth title of Toyota Motor is " Toyota ", Land Rover Bluetooth title " Range Rover " etc. of automobile.
Step 1013, judge whether there is the bluetooth title in the on-vehicle Bluetooth title table, if it is, the indigo plant Tooth equipment is vehicle-mounted Bluetooth equipment, if it is not, then the bluetooth equipment is not vehicle-mounted Bluetooth equipment.
When the title for the bluetooth equipment that the bluetooth module of terminal device connects is stored in on-vehicle Bluetooth title table, then judging should Bluetooth equipment is vehicle-mounted Bluetooth equipment.
Alternatively, as shown in figure 3, step 1013 can also be implemented by following manner:
Step 1013, judge whether there is the bluetooth title in the on-vehicle Bluetooth title table, if it is, obtaining institute State the location information of terminal device and perform step 1014;If it is not, then the bluetooth equipment is not vehicle-mounted Bluetooth equipment.
Step 1014, according to the location information of terminal device and the map datum of terminal device, the bluetooth equipment is judged Whether it is vehicle-mounted Bluetooth equipment.
Wherein, optionally, it may determine that whether location information is on road, such as by location information and map datum Fruit terminal device is positioned on road, then the bluetooth equipment that bluetooth module is connected is probably vehicle-mounted Bluetooth equipment.Or/and pass through The translational speed of terminal device can be determined according to location information and map datum, can also judge that terminal is set by translational speed It is standby whether on automobile, for example, translational speed in more than 30km/s, then the bluetooth equipment that mobile terminal is connected is it is more likely that vapour Car.Location information therein can be gps signal, and map datum can be the map datum interface installed on terminal device, Such as equipment carries map application, Baidu map or high moral map.
Many-sided it can judge that bluetooth module connects by bluetooth title, the location information of terminal device and translational speed Whether the bluetooth equipment connect is vehicle-mounted Bluetooth equipment.
Step 102, the volume adjusting information according to corresponding to determining the judged result and default regulation table.
Corresponding volume adjusting information when the bluetooth equipment that default regulation table includes connection is vehicle-mounted Bluetooth equipment, Yi Jilian The bluetooth equipment connect corresponding volume adjusting information when not being vehicle-mounted Bluetooth equipment.For example, when judged result is to be, it is corresponding Volume adjusting information is increase by 5, as shown in figure 4, the current volume value of terminal device is that 3 (volume range of terminal device is 0-10), when the bluetooth module and vehicle-mounted Bluetooth equipment of terminal device establish connection, after being adjusted according to volume adjusting information Terminal device volume be 8, as shown in Figure 5;When the bluetooth module and vehicle-mounted Bluetooth equipment of terminal device disconnect, eventually The volume of end equipment will become the volume value 3 before establishing connection again, as shown in Figure 6.
Optionally, as shown in fig. 7, also comprising the following steps before step 102:
Step 1020, the translational speed of terminal device is obtained.
Accordingly, step 102 can be implemented by following manner:
The volume adjusting information according to corresponding to determining the judged result, the translational speed and default regulation table.
Wherein, the travel speed of automobile can also impact to the Auditory Perception of people, when fast running, automobile and The friction of air can bring certain noise, so, it is necessary to higher volume value when translational speed is higher;Such as the institute of table 1 Show, for the partial content of default regulation table, can according to corresponding to determining judged result, translational speed volume adjusting information, such as Judged result is translational speed 60km/h when being, so corresponding volume adjusting information is increase by 6.
Table 1
Wherein, translational speed can be known by the gps signal and map datum of terminal device, can also be set by terminal Standby acceleration transducer is known.
Optionally, as shown in figure 8, also comprising the following steps before step 102:
Step 1021, according to the location information of the terminal device and the map datum of the terminal device, described in acquisition The traffic information of road where location information;
Accordingly, step 102 can be implemented by following manner:
The volume adjusting information according to corresponding to determining the judged result, the traffic information and default regulation table.
Wherein, as shown in figure 9, position location corresponding to the location information of the terminal device be shown in positioned at municipal government and On First Avenue between VolksGarden, the traffic information of First Avenue is known to be unimpeded by the map datum of terminal device, Unimpeded road noise is relatively small.As shown in table 2, it is the partial content of default regulation table, judged result and road can be passed through Volume adjusting information corresponding to the determination of condition information.For example, judged result is yes, traffic information is unimpeded, corresponding volume adjusting Information is increase by 5.
Table 2
Alternatively, step 102 can also be implemented by following manner:
The volume according to corresponding to determining the judged result, the translational speed, the traffic information and default regulation table Adjust information.
As shown in table 3, it is the partial content of default regulation table.It is yes, translational speed 35km/h according to judged result, road Condition information is unimpeded, and corresponding volume adjusting information is increase by 5.By many factors determine corresponding to volume adjusting information, can To obtain more accurate rational volume value.
Table 3
Step 103, the volume of the terminal device is adjusted according to the volume adjusting information.
Wherein, alternatively, the mode volume of the terminal device being adjusted includes:
Mode one, the first predetermined adjustment in the volume adjusting information are to the current volume of the terminal device Value increase and/or reduction;Or
Mode two, the second default tune that the current volume value of the terminal device is arranged in the volume adjusting information Section value;Or
Mode three, the volume regulation coefficient in the volume adjusting information are to the current volume value of the terminal device Increase and/or reduction.
Wherein, for example, the volume range of terminal device is 0-10, the first predetermined adjustment in volume adjusting information is 3, Attribute is adjusted as increase, the current volume value of terminal device is 5;Then after executive mode one, the volume value of terminal device will It is adjusted to 8.Correspondingly, if the first predetermined adjustment in volume adjusting information is 3, regulation attribute then performs to reduce After mode one, the volume value of terminal device will be adjusted to 2.
And for example, the second predetermined adjustment in volume adjusting information is 7, and the current volume value of terminal device is 5;Then perform After mode two, the volume value of terminal device will be adjusted directly to 7.
For another example, the volume regulation coefficient in volume adjusting information is 1.2, and the current volume value of terminal device is 5, then performs After mode three, the volume value of terminal device will be adjusted to 6 (5*1.2);If the volume adjustment system in volume adjusting information Number is 0.8, and the current volume value of terminal device is 5, then after executive mode three, the volume value of terminal device will be adjusted to 4 (5*0.8)。
Wherein, alternatively, when the current volume value of the terminal device is not equal to second predetermined adjustment, by institute The current volume value for stating terminal device is arranged to the second predetermined adjustment in the volume adjusting information.
Alternatively, as shown in Figure 10, step 103 can also be implemented by following manner:
Step 103a, the noise figure under current environment is determined by the sound transducer of the terminal device;
The noise figure is specially the sound decibel value in environment, such as the noise figure of general office is 50 decibels, street The noise figure in road is 30 decibels.
Step 103b, the noise figure is multiplied by preset ratio coefficient, and second is determined according to the volume adjusting information Volume adjusting information;
For example, 0-20 decibels are imperceptible sound;20-40 decibels are quiet, the sound softly prattled on; 40-30 decibels are the sound that general room is talked;30-30 decibels are sound that is noisy and damaging nerve;30-90 decibels are very Noisy, nerve cell is destroyed.Noise figure in 0-40 decibels is that will not have an impact to user for the sense of hearing of mobile phone volume, 40-30 decibels have minimal effect to the sense of hearing of user, and 30-30 decibels are to be affected greatly to the sense of hearing of user, 30-90 points Bei Zehui causes very big influence to the sense of hearing of user.
As shown in table 4, preset ratio coefficient is 0 corresponding to the noise figure of 0-40 decibels;The noise figure of 40-30 decibels is corresponding Preset ratio coefficient be that the sense of hearing of 0.006 couple of user has minimal effect, preset ratio system corresponding to the noise figure of 30-30 decibels Number is 0.012;Preset ratio coefficient is 0.02 corresponding to the noise figure of 30-90 decibels.According to the difference of noise figure, by noise figure Preset ratio multiplication corresponding with its, then sum with volume adjusting information to obtain the second volume adjusting information.
Table 4
Noise figure/decibel Preset ratio coefficient
0-40 0
40-30 0.006
30-30 0.012
30-90 0.02
For example, the first predetermined adjustment in volume adjusting information is 3, regulation attribute is increase, terminal device it is current Volume value is 5;Noise figure under current environment is 50, and corresponding preset ratio coefficient is 0.006, then is multiplied by the noise figure Preset ratio coefficient, then summed with the first predetermined adjustment in the volume adjusting information:50*0.006+3=3.3 obtain Second volume adjusting information is increase 3.3, and after adjustment, the volume value of terminal device is 8.3.
And for example, the second predetermined adjustment in volume adjusting information is 7, and the current volume value of terminal device is 5;Then by institute State noise figure and be multiplied by preset ratio coefficient, then summed with the second predetermined adjustment in the volume adjusting information:50*0.006+ 7=7.3;After adjustment, the volume value of terminal device is 7.3.
Step 103c, the volume of the terminal device is adjusted according to the second volume adjusting information.
Specific regulation process is referred to associated description above.
Alternatively, as shown in figure 11, the embodiment of the present invention also comprises the following steps:
Step 201, the selection information of user is received, and on-vehicle Bluetooth title table is returned to use according to the selection information of user Family;
Step 202, editor's information of user is received, and on-vehicle Bluetooth title table is compiled according to editor's information Volume.
Wherein, because user sometimes can modify to the title of the on-vehicle Bluetooth of his automobile, and not using dispatching from the factory The bluetooth title of equipment, so on-vehicle Bluetooth title table may also include the bluetooth title of user's sets itself.Meanwhile user also may be used Edlin, deletion or addition are entered with the content to on-vehicle Bluetooth title table, as shown in figure 12, user's sets itself can be added On-vehicle Bluetooth title " my automobile 1 " and " my automobile 2 ", on-vehicle Bluetooth title therein can also be entered edlin or Delete.
Such as the structured flowchart that Figure 13 is a kind of volume adjustment device that inventive embodiments provide, the device can be by software And/or hardware is realized, is typically integrated in terminal device, as shown in figure 13, the device includes:
Bluetooth judge module 301, for when the bluetooth module and bluetooth equipment of terminal device establish connection, described in judgement Whether bluetooth equipment is vehicle-mounted Bluetooth equipment;
Volume adjusting determining module 302, adjusted for the volume according to corresponding to the judged result and default regulation table determination Save information;
Adjustment module 303, for the volume of the terminal device to be adjusted according to the volume adjusting information.
Alternatively, the bluetooth judge module includes:
Title Traversal Unit, deposited for obtaining the bluetooth title of the bluetooth equipment, and according to bluetooth title traversal The on-vehicle Bluetooth title table of storage;
Title judging unit, for judging whether there is the bluetooth title in the on-vehicle Bluetooth title table, if it is, Then the bluetooth equipment is vehicle-mounted Bluetooth equipment, if it is not, then the bluetooth equipment is not vehicle-mounted Bluetooth equipment.
Alternatively, title Traversal Unit is specifically used for:
Judge whether there is the bluetooth title in the on-vehicle Bluetooth title table, if obtaining the terminal device Location information;If it is not, then the bluetooth equipment is not vehicle-mounted Bluetooth equipment;
According to the location information and the map datum of the terminal device, judge whether the bluetooth equipment is vehicle-mounted indigo plant Tooth equipment.
Optionally, in addition to:
Speed acquiring unit, for obtaining the translational speed of terminal device;
Accordingly, volume adjusting determining module is specifically used for:According to the judged result, the translational speed and default tune Save volume adjusting information corresponding to table determination.
Optionally, in addition to:
Traffic information acquiring unit:For the location information according to the terminal device and the map number of the terminal device According to the traffic information of road where obtaining the location information;
Accordingly, volume adjusting determining module is specifically used for:According to the judged result, the traffic information and default tune Save volume adjusting information corresponding to table determination.
Alternatively, adjustment module is specifically used for:
Noise figure under current environment is determined by the sound transducer of the terminal device, the noise figure is multiplied by pre- If proportionality coefficient, then sum to obtain the second volume adjusting information with the volume adjusting information, and adjusted according to second volume The volume of the terminal device is adjusted section information.
Optionally, adjustment module is specifically used for:
The first predetermined adjustment in the volume adjusting information increases the current volume value of the terminal device And/or reduce;Or
The current volume value of the terminal device is arranged to the second predetermined adjustment in the volume adjusting information;Or
The current volume value increase to the terminal device of volume regulation coefficient in the volume adjusting information and/ Or reduce.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The volume adjusting operation that executable instruction is not limited to the described above, can also carry out the volume that any embodiment of the present invention is provided Associative operation in adjusting method.
The embodiments of the invention provide a kind of terminal device, sound provided in an embodiment of the present invention can be integrated in the terminal device Quantity regulating device.Figure 14 is a kind of structural representation of terminal device provided in an embodiment of the present invention.As shown in figure 14, the terminal Equipment can include:Housing (not shown), touch-screen (not shown), touch key-press (not shown), memory 401st, central processing unit (Central Processing Unit, CPU) 402 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the interior volume that the housing surrounds;Institute State CPU402 and the memory 401 is arranged on the circuit board;The power circuit, for for each of the terminal device Individual circuit or device power supply;The memory 401, for storing executable program code;The CPU402 passes through described in reading The executable program code stored in memory 401 runs computer program corresponding with the executable program code, with Realize following steps:
When detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, judge whether the bluetooth equipment is car Carry bluetooth equipment;
The volume adjusting information according to corresponding to determining the judged result and default regulation table;
The volume of the terminal device is adjusted according to the volume adjusting information.
The terminal device also includes:Peripheral Interface 403, RF (Radio Frequency, radio frequency) circuit 405, audio-frequency electric Road 406, loudspeaker 411, power management chip 408, input/output (I/O) subsystem 409, touch-screen 412, other input/controls Control equipment 410 and outside port 404, these parts are communicated by one or more communication bus or signal wire 407.
It should be understood that graphic terminal 400 is only an example of terminal device, and terminal device 400 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
Below with regard to the present embodiment provide the terminal device for volume adjusting be described in detail, the terminal device with Exemplified by mobile phone.
Memory 401, the memory 401 can be accessed by CPU402, Peripheral Interface 403 etc., and the memory 401 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU402 and deposited by Peripheral Interface 403, the Peripheral Interface 403 Reservoir 401.
I/O subsystems 409, the I/O subsystems 409 can be by the input/output peripherals in equipment, such as touch-screen 412 With other input/control devicess 410, Peripheral Interface 403 is connected to.I/O subsystems 409 can include the He of display controller 4091 For controlling one or more input controllers 4092 of other input/control devicess 410.Wherein, one or more input controls Device 4092 processed receives electric signal from other input/control devicess 410 or sends electric signal to other input/control devicess 410, Other input/control devicess 410 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 4092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 412, the touch-screen 412 are the input interface and output interface between subscriber terminal equipment and user, Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 4091 in I/O subsystems 409 receives electric signal from touch-screen 412 or sent out to touch-screen 412 Electric signals.Touch-screen 412 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 4091 The interaction of user interface object on touch-screen 412, that is, realize man-machine interaction, the user interface being shown on touch-screen 412 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 405, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 405 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 405 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 405 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 406, it is mainly used in receiving voice data from Peripheral Interface 403, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 411.
Loudspeaker 411, for the voice signal for receiving mobile phone from wireless network by RF circuits 405, it is reduced to sound And play the sound to user.
Power management chip 408, the hardware for being connected by CPU402, I/O subsystem and Peripheral Interface are powered And power management.
Terminal device provided in an embodiment of the present invention, the volume adjusting efficiency of terminal device can be improved.
Any implementation of the executable present invention of volume adjustment device, storage medium and terminal device provided in above-described embodiment The volume adjusting method that example is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not in above-described embodiment In detailed description ins and outs, reference can be made to the volume adjusting method that any embodiment of the present invention is provided.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. volume adjusting method, it is characterised in that including:
    When detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, judge whether the bluetooth equipment is vehicle-mounted indigo plant Tooth equipment;
    The volume adjusting information according to corresponding to determining the judged result and default regulation table;
    The volume of the terminal device is adjusted according to the volume adjusting information.
  2. 2. the method as described in claim 1, it is characterised in that described to judge whether the bluetooth equipment is vehicle-mounted Bluetooth equipment Including:
    The bluetooth title of the bluetooth equipment is obtained, and the on-vehicle Bluetooth title table of storage is traveled through according to the bluetooth title;
    Judge whether there is the bluetooth title in the on-vehicle Bluetooth title table, if it is, the bluetooth equipment is vehicle-mounted Bluetooth equipment, if it is not, then the bluetooth equipment is not vehicle-mounted Bluetooth equipment.
  3. 3. method as claimed in claim 2, it is characterised in that described to judge whether there is institute in the on-vehicle Bluetooth title table Bluetooth title is stated, if it is, the bluetooth equipment is vehicle-mounted Bluetooth equipment, if it is not, then the bluetooth equipment is not vehicle-mounted Bluetooth equipment includes:
    Judge whether there is the bluetooth title in the on-vehicle Bluetooth title table, if obtaining the positioning of the terminal device Information;If it is not, then the bluetooth equipment is not vehicle-mounted Bluetooth equipment;
    According to the location information and the map datum of the terminal device, judge whether the bluetooth equipment is that on-vehicle Bluetooth is set It is standby.
  4. 4. the method as described in any one of claims 1 to 3, it is characterised in that described according to the judged result and default tune Before saving volume adjusting information corresponding to table determination, in addition to:
    Obtain the translational speed of terminal device;
    Accordingly, the volume adjusting information according to corresponding to determining judged result and default regulation table includes:
    The volume adjusting information according to corresponding to determining the judged result, the translational speed and default regulation table.
  5. 5. the method as described in any one of claims 1 to 3, it is characterised in that described according to judged result and default regulation table It is determined that before corresponding volume adjusting information, in addition to:
    According to the location information of the terminal device and the map datum of the terminal device, road where the location information is obtained The traffic information on road;
    Accordingly, the volume adjusting information according to corresponding to determining judged result and default regulation table includes:
    The volume adjusting information according to corresponding to determining the judged result, the traffic information and default regulation table.
  6. 6. the method as described in any one of claims 1 to 3, it is characterised in that according to the volume adjusting information to the end The volume of end equipment be adjusted including:
    Noise figure under current environment is determined by the sound transducer of the terminal device, the noise figure is multiplied by the second ratio Example coefficient, and the second regulation information is determined according to the volume adjusting information;
    The volume of the terminal device is adjusted according to the described second regulation information.
  7. 7. the method as described in any one of claims 1 to 3, it is characterised in that according to the volume adjusting information to the end The volume of end equipment be adjusted including:
    The current volume value increase to the terminal device of the first predetermined adjustment in the volume adjusting information and/or Reduce;Or
    The current volume value of the terminal device is arranged to the second predetermined adjustment in the volume adjusting information;Or
    Volume regulation coefficient in the volume adjusting information increases and/or subtracted to the current volume value of the terminal device It is small.
  8. A kind of 8. volume adjustment device, it is characterised in that including:
    Bluetooth judge module, for when detecting that the bluetooth module of terminal device and bluetooth equipment establish connection, described in judgement Whether bluetooth equipment is vehicle-mounted Bluetooth equipment;
    Volume adjusting determining module, for the volume adjusting information according to corresponding to the judged result and default regulation table determination;
    Adjustment module, for the volume of the terminal device to be adjusted according to the volume adjusting information.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The volume adjusting method as any one of claim 1-7 is realized during row.
  10. 10. a kind of terminal device, it is characterised in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, it is characterised in that realize that claim 1-7 such as appoints described in the computing device during computer program Volume adjusting method described in one.
CN201710710453.7A 2017-08-18 2017-08-18 volume adjusting method, device, storage medium and terminal device Pending CN107493380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710710453.7A CN107493380A (en) 2017-08-18 2017-08-18 volume adjusting method, device, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710710453.7A CN107493380A (en) 2017-08-18 2017-08-18 volume adjusting method, device, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN107493380A true CN107493380A (en) 2017-12-19

Family

ID=60645690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710710453.7A Pending CN107493380A (en) 2017-08-18 2017-08-18 volume adjusting method, device, storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN107493380A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235756A (en) * 2020-10-12 2021-01-15 安徽芯智科技有限公司 Vehicle-mounted Bluetooth sound intelligent control method
CN112985446A (en) * 2019-12-12 2021-06-18 观致汽车有限公司 Automatic adjustment algorithm for vehicle navigation volume
WO2022033282A1 (en) * 2020-08-14 2022-02-17 华为技术有限公司 Data processing method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668078A (en) * 2009-09-16 2010-03-10 美商威睿电通公司 Wireless mobile communication device, chip set and hand-free mode adjusting method
CN104717344A (en) * 2013-12-12 2015-06-17 联想(北京)有限公司 Application mode switching method and device for mobile terminal and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668078A (en) * 2009-09-16 2010-03-10 美商威睿电通公司 Wireless mobile communication device, chip set and hand-free mode adjusting method
CN104717344A (en) * 2013-12-12 2015-06-17 联想(北京)有限公司 Application mode switching method and device for mobile terminal and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112985446A (en) * 2019-12-12 2021-06-18 观致汽车有限公司 Automatic adjustment algorithm for vehicle navigation volume
CN112985446B (en) * 2019-12-12 2024-05-14 观致汽车有限公司 Automatic adjusting method for vehicle navigation volume
WO2022033282A1 (en) * 2020-08-14 2022-02-17 华为技术有限公司 Data processing method and related device
CN112235756A (en) * 2020-10-12 2021-01-15 安徽芯智科技有限公司 Vehicle-mounted Bluetooth sound intelligent control method
CN112235756B (en) * 2020-10-12 2023-12-29 安徽芯智科技有限公司 Vehicle-mounted Bluetooth sound intelligent control method

Similar Documents

Publication Publication Date Title
CN110870201B (en) Audio signal adjusting method, device, storage medium and terminal
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN107343076A (en) Volume adjusting method, device, storage medium and mobile terminal
CN107562405B (en) Audio playing control method and device, storage medium and mobile terminal
CN108108142A (en) Voice information processing method, device, terminal device and storage medium
CN107302638A (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN105280195A (en) Method and device for processing speech signal
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
CN103714824A (en) Audio processing method, audio processing device and terminal equipment
CN107040661A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN109672775B (en) Method, device and terminal for adjusting awakening sensitivity
CN109243488B (en) Audio detection method, device and storage medium
CN107483731A (en) Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN106358290A (en) Detecting method for GPS positioning interference of mobile terminal, device and mobile terminal
CN107493380A (en) volume adjusting method, device, storage medium and terminal device
CN107526568A (en) volume adjusting method, device, terminal device and storage medium
CN107508983A (en) volume adjusting method, device, storage medium and terminal device
CN110599989A (en) Audio processing method, device and storage medium
CN107799113A (en) Audio-frequency processing method, device, storage medium and mobile terminal
CN107145327A (en) A kind of audio frequency playing method, device and smart machine
CN107526569B (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN107479852A (en) volume adjusting method, device, terminal device and storage medium
CN107508978A (en) volume adjusting method, device, storage medium and terminal device
CN107483732A (en) Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal

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: 20171219