CN107885479A - A kind of method for regulation of sound volume, terminal device and computer-readable medium - Google Patents

A kind of method for regulation of sound volume, terminal device and computer-readable medium Download PDF

Info

Publication number
CN107885479A
CN107885479A CN201710945418.3A CN201710945418A CN107885479A CN 107885479 A CN107885479 A CN 107885479A CN 201710945418 A CN201710945418 A CN 201710945418A CN 107885479 A CN107885479 A CN 107885479A
Authority
CN
China
Prior art keywords
volume
terminal device
audio frequency
frequency apparatus
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201710945418.3A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710945418.3A priority Critical patent/CN107885479A/en
Publication of CN107885479A publication Critical patent/CN107885479A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of method for regulation of sound volume, terminal device and computer-readable medium, wherein method includes:When having detected audio frequency apparatus access, target volume is obtained, the target volume is the volume for adapting to terminal device media play;The broadcast sound volume of the terminal device, which is adjusted to the target volume, the broadcast sound volume, includes at least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume.Using the embodiment of the present invention, can intelligently, automatically regulate access audio frequency apparatus media play volume, the convenient and swift property of lifting volume adjustment, lift Consumer's Experience.

Description

A kind of method for regulation of sound volume, terminal device and computer-readable medium
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of method for regulation of sound volume, terminal device and computer-readable Medium.
Background technology
With the continuous development of terminal technology and the continuous popularization of terminal device, it is essential that terminal device has turned into people Communication tool.Particularly mobile phone, its purposes have a variety of, including make a phone call, listen music, see video etc..Using process Middle find that user can use outside audio frequency apparatus mostly, such as earphone, sound equipment answer multimedia audio, for example, see video, Listen music etc..
In practice, it has been found that when terminal device is connected into external audio frequency apparatus, it will usually the sound of regulation audio frequency apparatus manually Amount, to prevent the too small user of volume from not hearing sound, or volume crosses the auditory system of macrolesion people.However, above-mentioned volume adjusting Mode depends on user's active behavior, and the number of volume adjusting is probably multiple, so can also increase the power consumption of terminal device, And user's operation is inconvenient victory, influences Consumer's Experience.
The content of the invention
The embodiment of the present invention provides a kind of method for regulation of sound volume, can automatically, intelligently realize the volume of external audio frequency equipment Adjustment, lift Consumer's Experience.
In a first aspect, the embodiments of the invention provide a kind of method for regulation of sound volume, this method includes:
When having detected audio frequency apparatus access, target volume is obtained, the target volume is adaptation terminal device media The volume of broadcasting;
The broadcast sound volume of the terminal device is adjusted to the target volume, the broadcast sound volume include it is following in extremely One item missing:Ringing volume, media volume, alarm clock volume, reminding sound volume.
In some possible embodiments, before the acquisition target volume, in addition to:Determine setting for the audio frequency apparatus Standby type, the device type include air transmitted type and osteoacusis type;The target volume and the audio frequency apparatus Device type associates.
In some possible embodiments, when the type of the audio frequency apparatus is air transmitted type, the target sound Measure as the first volume;
When the type of the audio frequency apparatus is osteoacusis type, the target volume is the second volume;
Wherein, first volume is less than second volume.
In some possible embodiments, the acquisition target volume includes:Obtained from volume data storehouse at least one Candidate's volume;According at least one candidate's volume, the target volume is obtained.
In some possible embodiments, methods described also includes:Obtain going through for the audio frequency apparatus at least once History broadcast sound volume, and the history broadcast sound volume is stored into the volume data storehouse;
Wherein, the history broadcast sound volume is set for user side, and/or terminal equipment side setting.
In some possible embodiments, methods described also includes:Preset when the quantity of the history broadcast sound volume exceedes During threshold value, the history broadcast sound volume is pre-processed, with the history after the storage processing in the volume data storehouse Broadcast sound volume;Wherein, the pretreatment includes at least one in the following:Edge data, discarding stale data, data are removed to go Handle again.
In some possible embodiments, the acquisition target volume includes:If receive system to set on the audio During the broadcast message of standby access, then the target volume is obtained.
Second aspect, the embodiments of the invention provide a kind of terminal device, the terminal device includes being used to perform above-mentioned the The unit of the method for one side.
The third aspect, the embodiments of the invention provide another terminal device, including processor, input equipment, output are set Standby and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to deposit Storage supports terminal to perform the computer program of the above method, and the computer program includes programmed instruction, the processor by with Put for calling described program to instruct, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
Terminal device obtains target volume, the target when having detected audio frequency apparatus access in the embodiment of the present invention Then volume adjusts the broadcast sound volume of the terminal device to the target sound to adapt to the volume of terminal device media play Amount, the broadcast sound volume include at least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume;So The media play volume of terminal device can intelligently, be automatically adjusted, the convenient and swift property of volume adjustment is realized, compared to existing The manual regulative mode of technology, moreover it is possible to reduce the power consumption of terminal device, lift Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of method for regulation of sound volume provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of audio frequency apparatus access terminal equipment provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow diagram for method for regulation of sound volume that another embodiment of the present invention provides;
Fig. 4 is a kind of schematic block diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram for terminal device that another embodiment of the present invention provides;
Fig. 6 is a kind of schematic block diagram for terminal device that another embodiment of the present invention provides.
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.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of method for regulation of sound volume, side as shown in Figure 1 referring to Fig. 1 Method may include step is implemented as follows:
Step S102, terminal device obtains target volume when having detected audio frequency apparatus access, and the target volume is Adapt to the volume of terminal device media play.
In the application, the mode of audio frequency apparatus access terminal equipment includes but is not limited to physical connection and wireless connection.With Physical connection is illustrated, as audio frequency apparatus (such as earphone) by earphone jack inserts terminal device.Illustrated with wireless connection, such as passed through The communication modes such as bluetooth, WiFi and terminal device carry out wireless connection.
The target volume is the volume for being adapted to hearing user, and as terminal device multimedia gives great volume It is small.
Step S104, described terminal device adjusts the broadcast sound volume of the terminal device to the target volume, described Broadcast sound volume includes at least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume.
Some specific embodiments of the present invention and alternative embodiment is described below.
In step S102, user is in using terminal device procedures, if it is desired to external audio frequency equipment carries out related more matchmakers When the volume of body is answered, the physical interface (such as earphone jack) that may be selected to provide by terminal device accesses audio frequency apparatus.Or Wireless communication technology (such as bluetooth, short haul connection) access terminal equipment can also be used in audio frequency apparatus.The above-mentioned two kinds of sounds provided Frequency equipment access way, merely illustrative do not form limit.
Correspondingly, whether terminal device is detectable currently has audio frequency apparatus access, if so, can then obtain target volume; Otherwise flow is terminated.
In an alternative embodiment, for terminal device when being connected into audio frequency apparatus, system is transmittable to be connected into the audio frequency apparatus Broadcast message.Correspondingly, the volume control module of terminal device receives the broadcast message, determines that the terminal device currently connects Entering has audio frequency apparatus, continues follow-up process, obtains target volume.
For example, as shown in Figure 2 it is a kind of by physical receptacle access audio frequency apparatus schematic diagram.User can pass through physics Jack inserts audio frequency apparatus, and when terminal device detects the audio frequency apparatus insertion, system can carry out being connected into the audio The broadcast of equipment.Correspondingly when volume control module receives the broadcast, the target can be obtained from volume data storehouse Volume.
In step S102 the first embodiment, when terminal device has detected audio frequency apparatus access, terminal is set Standby to obtain target volume, the target volume can be that user side or terminal equipment side are set in advance in the terminal device or clothes It is engaged in device, the present invention does not limit.
In step S102 second of embodiment, when terminal device has detected audio frequency apparatus access, terminal is set It is standby that at least one candidate's volume can be obtained from volume data storehouse, then according at least one candidate's volume, described in acquisition Target volume.
Specifically, terminal device can store one or more history broadcast sound volumes in volume data storehouse in advance, it is described to go through The volume for the multimedia that history broadcast sound volume records when can carry out volume adjustment manually every time by user.Alternatively, it is described History broadcast sound volume can also by history access audio frequency apparatus when adjust to volume.
Correspondingly, terminal device can select one or more history broadcast sound volumes from the volume data storehouse, as time Select volume.Then at least one candidate's volume is handled, obtains target volume.Processing on candidate's volume Including but not limited to:Average, take maximum, take minimum value etc. to handle, the present invention does not limit.
In step S102 the third embodiment, when terminal device has detected audio frequency apparatus access, terminal is set The standby type that can determine that the audio frequency apparatus, then obtains the target volume, the mesh according to the type of the audio frequency apparatus Mark with phonetic symbols amount is relevant with the type of the audio frequency apparatus.Wherein it is determined that the mode of the type of the audio frequency apparatus includes but is not limited to The modes such as model or mark by obtaining the audio frequency apparatus obtain, and the present invention does not limit.
Specifically, terminal device, which can be each or every kind of audio frequency apparatus in volume data storehouse in advance, sets one or more History broadcast sound volume, the history broadcast sound volume are the volume for being adapted to terminal device multimedia size.The history plays The volume for the multimedia that volume records when can carry out volume adjustment manually every time by user.Correspondingly, the terminal is set It is standby when detecting the audio frequency apparatus access, can be found from volume data storehouse matched with the audio frequency apparatus one or Multiple history broadcast sound volumes, as candidate's volume.Then the terminal device is any from candidate's volume chooses one Individual volume is as the target volume.Or the terminal device can be handled at least one candidate's volume, such as Average, take maximum, take minimum value etc., obtain a target volume, the present invention does not limit.
In an alternative embodiment, the type of the audio frequency apparatus include but is not limited to air transmitted type, osteoacusis type, Worn type type, non-Worn type type etc..The target volume being adapted to corresponding to different types of audio frequency apparatus can be different.Example Such as, for the audio frequency apparatus of air transmitted type, the approach that user perceives sound is to enter inner ear by air transmitted, is Ensure that its corresponding target volume of user's auditory system can be amount of bass, the application is referred to as the first volume.For osteoacusis type Audio frequency apparatus for, user perceive sound approach be to be conducted by skull/bone head, its corresponding target volume can be high pitch Amount, the application are referred to as the second volume.Wherein, first volume is less than second volume.
And for example, it is directed to for the audio frequency apparatus of Worn type type and non-Worn type type, the audio of Worn type type is set The audio frequency apparatus that standby corresponding target audio (the application can be described as the 3rd volume) to be adjusted is smaller than non-Worn type type is corresponding Target audio to be adjusted (the application can be described as the 4th volume).
In an alternative embodiment, before the acquisition target volume, in addition to:Acquisition is set for the audio at least once Standby history broadcast sound volume, and the history broadcast sound volume is stored into the volume data storehouse;Wherein, the history plays Volume is set for user side, and/or terminal equipment side setting.
Specifically, terminal device can obtain all previous history broadcast sound volume that volume adjusting is carried out to the audio frequency apparatus, and The history broadcast sound volume is stored into the volume data storehouse.The quantity of the history broadcast sound volume can be one or more It is individual.Set manually in addition, the history broadcast sound volume can be user, and/or the terminal device is pre-set, this hair It is bright not limit.
In practical application, it is directed to for the terminal device newly used, such as new cell-phone, the volume data storehouse may be not History of existence broadcast sound volume (such as history broadcast sound volume), now terminal device dependent volume can be obtained from server by network Data, can further select some to meet the volume data that user's auditory system can receive by experimental analysis, and by it As the storage of history broadcast sound volume into the volume data storehouse.
Alternatively,, can if detect that each user carries out volume adjusting manually when terminal device is connected into audio frequency apparatus Current regulation volume is recorded, and as the storage of history broadcast sound volume into the volume data storehouse.
In an alternative embodiment, methods described also includes:When the quantity of the history broadcast sound volume exceedes predetermined threshold value, The history broadcast sound volume is pre-processed, sound is played with the history after the storage processing in the volume data storehouse Amount;Wherein, the pretreatment includes at least one in the following:Remove edge data, abandon stale data, at data deduplication Reason.
Specifically, when terminal device detects that the quantity of the history broadcast sound volume stored in the volume data storehouse exceedes in advance If during threshold value, the terminal device can pre-process to the history broadcast sound volume, for example, remove edge data, lose it is expired Data, go out to fall duplicate data etc., the present invention does not limit.
In step S104, after terminal device obtains the target volume, the broadcast sound volume of equipment of itself can be adjusted to institute State target volume.
In alternative embodiment, the broadcast sound volume includes but is not limited to any one of following or multinomial:Ringing volume, matchmaker Body volume, alarm clock volume, reminding sound volume, In Call, volume of music or multimedia volume etc., the present invention do not limit.
Terminal device obtains target volume, the target when having detected audio frequency apparatus access in the embodiment of the present invention Then volume adjusts the broadcast sound volume of the terminal device to the target sound to adapt to the volume of terminal device media play Amount, the broadcast sound volume include at least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume;So The media play volume of terminal device can intelligently, be automatically adjusted, the convenient and swift property of volume adjustment is realized, compared to existing The manual regulative mode of technology, moreover it is possible to reduce the power consumption of terminal device, lift Consumer's Experience.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of method for regulation of sound volume, side as shown in Figure 3 referring to Fig. 3 Method may include step is implemented as follows:
Step S202, the history broadcast sound volume for being directed to the audio frequency apparatus at least once is obtained, and the history is played Volume is stored into volume data storehouse;Wherein, the history broadcast sound volume is set for user side, and/or the terminal device What side was set.
Step S204, when the quantity of the history broadcast sound volume exceedes predetermined threshold value, the history broadcast sound volume is entered Row pretreatment, with the history broadcast sound volume after the storage processing in the volume data storehouse;Wherein, the pretreatment includes At least one in the following:Remove edge data, abandon stale data, data deduplication processing.
Step S206, when having detected audio frequency apparatus access, if receiving what system accessed on the audio frequency apparatus Broadcast message, it is determined that the device type of the audio frequency apparatus.
In alternative embodiment, the device type includes air transmitted type and osteoacusis type.
Step S208, at least one candidate's volume is obtained from volume data storehouse, candidate's volume belongs to the history Broadcast sound volume.
Step S210, according at least one candidate's volume, obtain the target volume, the target volume with it is described The device type association of audio frequency apparatus, the target volume are the volume for adapting to terminal device media play.
In alternative embodiment, when the type of the audio frequency apparatus is air transmitted type, the target volume is first Volume;When the type of the audio frequency apparatus is osteoacusis type, the target volume is the second volume;Wherein, described first Volume is less than second volume.
Step S212, adjusting the broadcast sound volume of the terminal device to the target volume, the broadcast sound volume includes At least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume.
It should be noted that step S202 is performed before being placed on step S208, step S204 is placed on after step S202 Either step before or after perform, the present invention do not limit.
Terminal device obtains target volume, the target when having detected audio frequency apparatus access in the embodiment of the present invention Then volume adjusts the broadcast sound volume of the terminal device to the target sound to adapt to the volume of terminal device media play Amount, the broadcast sound volume include at least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume;So The media play volume of terminal device can intelligently, be automatically adjusted, the convenient and swift property of volume adjustment is realized, compared to existing The manual regulative mode of technology, moreover it is possible to reduce the power consumption of terminal device, lift Consumer's Experience.
The embodiment of the present invention also provides a kind of terminal device, and the terminal device is used to perform the method described in foregoing any one Unit.Specifically, it is a kind of schematic block diagram of terminal device provided in an embodiment of the present invention referring to Fig. 4.The end of the present embodiment End equipment 400 includes:Acquiring unit 402 and processing unit 404;Wherein:
The acquiring unit 402, for when having detected audio frequency apparatus access, obtaining target volume, the target sound Measure to adapt to the volume of terminal device media play;
The processing unit 404, it is described to broadcast for the broadcast sound volume of the terminal device to be adjusted to the target volume Playback amount includes at least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume.
It is another terminal device provided in an embodiment of the present invention please also refer to Fig. 5, the terminal device 400 includes The acquiring unit 402 and the processing unit 404 in embodiment described in Fig. 4, wherein, the terminal device also includes determining Unit 406;Before the acquiring unit is used to obtain target volume,
The determining unit 406, for determining the device type of the audio frequency apparatus, the device type passes including air Conductivity type and osteoacusis type;The target volume associates with the device type of the audio frequency apparatus.
In some possible embodiments, when the type of the audio frequency apparatus is air transmitted type, the target sound Measure as the first volume;When the type of the audio frequency apparatus is osteoacusis type, the target volume is the second volume;Wherein, First volume is less than second volume.
In some possible embodiments, the acquiring unit 402, for obtaining at least one time from volume data storehouse Select volume;According at least one candidate's volume, the target volume is obtained.
In some possible embodiments, the terminal device also includes memory cell 408;
The memory cell 408, it is directed to the history broadcast sound volume of the audio frequency apparatus at least once for obtaining, and by institute History broadcast sound volume is stated to store into the volume data storehouse;
Wherein, the history broadcast sound volume is set for user side, and/or terminal equipment side setting.
In some possible embodiments,
The processing unit 404, it is additionally operable to, when the quantity of the history broadcast sound volume exceedes predetermined threshold value, go through to described History broadcast sound volume is pre-processed, with the history broadcast sound volume after the storage processing in the volume data storehouse;Wherein, institute Stating pretreatment includes at least one in the following:Remove edge data, abandon stale data, data deduplication processing.
In some possible embodiments, the acquiring unit 402, if for receiving system on the audio frequency apparatus During the broadcast message of access, then the target volume is obtained.
Terminal device obtains target volume, the target when having detected audio frequency apparatus access in the embodiment of the present invention Then volume adjusts the broadcast sound volume of the terminal device to the target sound to adapt to the volume of terminal device media play Amount, the broadcast sound volume include at least one in the following:Ringing volume, media volume, alarm clock volume, reminding sound volume;So The media play volume of terminal device can intelligently, be automatically adjusted, the convenient and swift property of volume adjustment is realized, compared to existing The manual regulative mode of technology, moreover it is possible to reduce the power consumption of terminal device, lift Consumer's Experience.
It is a kind of schematic block diagram for terminal device that another embodiment of the present invention provides referring to Fig. 6.This reality as depicted Applying the terminal in example can include:One or more processors 801;One or more input equipments 802, one or more output Equipment 803 and memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 and memory 804 pass through bus 805 connections.Memory 802 is used to store computer program, and the computer program includes programmed instruction, and processor 801 is used for Perform the programmed instruction that memory 802 stores.Wherein, processor 801 is arranged to call described program instruction to perform:
When having detected audio frequency apparatus access, target volume is obtained, the target volume is adaptation terminal device media The volume of broadcasting;
The broadcast sound volume of the terminal device is adjusted to the target volume, the broadcast sound volume include it is following in extremely One item missing:Ringing volume, media volume, alarm clock volume, reminding sound volume.
In some possible embodiments, before the acquisition target volume, it is additionally operable to perform:Determine the audio frequency apparatus Device type, the device type includes air transmitted type and osteoacusis type;The target volume is set with the audio Standby device type association.
In some possible embodiments, when the type of the audio frequency apparatus is air transmitted type, the target sound Measure as the first volume;
When the type of the audio frequency apparatus is osteoacusis type, the target volume is the second volume;
Wherein, first volume is less than second volume.
In some possible embodiments, the acquisition target volume includes:Obtained from volume data storehouse at least one Candidate's volume;According at least one candidate's volume, the target volume is obtained.
In some possible embodiments, it is additionally operable to perform:Obtain and broadcast at least once for the history of the audio frequency apparatus Playback amount, and the history broadcast sound volume is stored into the volume data storehouse;
Wherein, the history broadcast sound volume is set for user side, and/or terminal equipment side setting.
In some possible embodiments, it is additionally operable to perform:When the quantity of the history broadcast sound volume exceedes predetermined threshold value When, the history broadcast sound volume is pre-processed, played with the history after the storage processing in the volume data storehouse Volume;Wherein, the pretreatment includes at least one in the following:Remove edge data, abandon stale data, at data deduplication Reason.
In some possible embodiments, the acquisition target volume includes:If receive system to set on the audio During the broadcast message of standby access, then the target volume is obtained.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 802 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 803 can include display (LCD etc.), loudspeaker etc..
The memory 804 can include read-only storage and random access memory, and to processor 801 provide instruction and Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited Store up the information of device type.
In the specific implementation, processor 801, input equipment 802, the output equipment 803 described in the embodiment of the present invention can The implementation described in methods described embodiment provided in an embodiment of the present invention is performed, also can perform institute of the embodiment of the present invention The implementation of the terminal of description, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor Either method step described in embodiment of the method as described above.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The 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 scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

1. a kind of method for regulation of sound volume, it is characterised in that methods described includes:
When having detected audio frequency apparatus access, target volume is obtained, the target volume is adaptation terminal device media play Volume;
The broadcast sound volume of the terminal device is adjusted to the target volume, the broadcast sound volume include it is following at least one :Ringing volume, media volume, alarm clock volume, reminding sound volume.
2. according to the method for claim 1, it is characterised in that before the acquisition target volume, in addition to:
The device type of the audio frequency apparatus is determined, the device type includes air transmitted type and osteoacusis type;It is described Target volume associates with the device type of the audio frequency apparatus.
3. according to the method for claim 2, it is characterised in that
When the type of the audio frequency apparatus is air transmitted type, the target volume is the first volume;
When the type of the audio frequency apparatus is osteoacusis type, the target volume is the second volume;
Wherein, first volume is less than second volume.
4. according to the method for claim 1, it is characterised in that the acquisition target volume includes:
At least one candidate's volume is obtained from volume data storehouse;
According at least one candidate's volume, the target volume is obtained.
5. according to the method for claim 4, it is characterised in that methods described also includes:
The history broadcast sound volume for being directed to the audio frequency apparatus at least once is obtained, and the history broadcast sound volume is stored to described In volume data storehouse;
Wherein, the history broadcast sound volume is set for user side, and/or terminal equipment side setting.
6. according to the method for claim 5, it is characterised in that methods described also includes:
When the quantity of the history broadcast sound volume exceedes predetermined threshold value, the history broadcast sound volume is pre-processed, with The history broadcast sound volume in the volume data storehouse after storage processing;
Wherein, the pretreatment includes at least one in the following:Remove edge data, abandon stale data, at data deduplication Reason.
7. according to the method any one of claim 1-4, it is characterised in that the acquisition target volume includes:
If receive the broadcast message that system accesses on the audio frequency apparatus, the target volume is obtained.
8. a kind of terminal device, it is characterised in that including for performing the method as described in claim 1-7 any claims Unit.
A kind of 9. terminal device, it is characterised in that including processor, input equipment, output equipment and memory, the processing Device, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the meter Calculation machine program includes programmed instruction, and the processor is arranged to call described program instruction, performs claim 1-7 such as and appoint Method described in one.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-7.
CN201710945418.3A 2017-10-10 2017-10-10 A kind of method for regulation of sound volume, terminal device and computer-readable medium Withdrawn CN107885479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710945418.3A CN107885479A (en) 2017-10-10 2017-10-10 A kind of method for regulation of sound volume, terminal device and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710945418.3A CN107885479A (en) 2017-10-10 2017-10-10 A kind of method for regulation of sound volume, terminal device and computer-readable medium

Publications (1)

Publication Number Publication Date
CN107885479A true CN107885479A (en) 2018-04-06

Family

ID=61781407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710945418.3A Withdrawn CN107885479A (en) 2017-10-10 2017-10-10 A kind of method for regulation of sound volume, terminal device and computer-readable medium

Country Status (1)

Country Link
CN (1) CN107885479A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271072A (en) * 2018-07-31 2019-01-25 深圳点猫科技有限公司 A kind of volume adjusting method and system based on education operating system
CN109582272A (en) * 2018-11-23 2019-04-05 Oppo(重庆)智能科技有限公司 A kind of control method, terminal device and storage medium
CN110996166A (en) * 2019-12-18 2020-04-10 深圳市千晟电声科技有限公司 Audio control method and device
CN111208736A (en) * 2019-12-17 2020-05-29 中移(杭州)信息技术有限公司 Intelligent sound box control method and device, electronic equipment and storage medium
CN111930338A (en) * 2020-08-10 2020-11-13 北京字节跳动网络技术有限公司 Volume recommendation method, device, equipment and storage medium
CN113504887A (en) * 2021-06-02 2021-10-15 荣耀终端有限公司 Volume setting method and electronic equipment
CN114339542A (en) * 2021-11-26 2022-04-12 北京罗克维尔斯科技有限公司 Volume adjusting method and device, electronic equipment and medium
CN115643339A (en) * 2022-11-18 2023-01-24 荣耀终端有限公司 Method for adjusting volume, electronic device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872180A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for adjusting volume of terminal device
CN106055304A (en) * 2016-06-08 2016-10-26 乐视控股(北京)有限公司 Volume regulating method and device for earphone
CN106453838A (en) * 2016-09-12 2017-02-22 北京小米移动软件有限公司 Method and apparatus for adjusting volume
CN106648527A (en) * 2016-11-08 2017-05-10 乐视控股(北京)有限公司 Volume control method, device and playing equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872180A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for adjusting volume of terminal device
CN106055304A (en) * 2016-06-08 2016-10-26 乐视控股(北京)有限公司 Volume regulating method and device for earphone
CN106453838A (en) * 2016-09-12 2017-02-22 北京小米移动软件有限公司 Method and apparatus for adjusting volume
CN106648527A (en) * 2016-11-08 2017-05-10 乐视控股(北京)有限公司 Volume control method, device and playing equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271072A (en) * 2018-07-31 2019-01-25 深圳点猫科技有限公司 A kind of volume adjusting method and system based on education operating system
CN109582272A (en) * 2018-11-23 2019-04-05 Oppo(重庆)智能科技有限公司 A kind of control method, terminal device and storage medium
CN111208736A (en) * 2019-12-17 2020-05-29 中移(杭州)信息技术有限公司 Intelligent sound box control method and device, electronic equipment and storage medium
CN111208736B (en) * 2019-12-17 2023-10-27 中移(杭州)信息技术有限公司 Intelligent sound box control method and device, electronic equipment and storage medium
CN110996166A (en) * 2019-12-18 2020-04-10 深圳市千晟电声科技有限公司 Audio control method and device
CN111930338A (en) * 2020-08-10 2020-11-13 北京字节跳动网络技术有限公司 Volume recommendation method, device, equipment and storage medium
EP4184310A4 (en) * 2020-08-10 2024-01-03 Beijing Bytedance Network Tech Co Ltd Volume recommendation method and apparatus, device and storage medium
CN113504887A (en) * 2021-06-02 2021-10-15 荣耀终端有限公司 Volume setting method and electronic equipment
CN114339542A (en) * 2021-11-26 2022-04-12 北京罗克维尔斯科技有限公司 Volume adjusting method and device, electronic equipment and medium
CN115643339A (en) * 2022-11-18 2023-01-24 荣耀终端有限公司 Method for adjusting volume, electronic device and computer readable storage medium
CN115643339B (en) * 2022-11-18 2023-08-04 荣耀终端有限公司 Method for adjusting volume, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107885479A (en) A kind of method for regulation of sound volume, terminal device and computer-readable medium
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN108521521A (en) volume adjusting method, mobile terminal and computer readable storage medium
WO2017215203A1 (en) Signal output method and apparatus
CN107426322A (en) A kind of PUSH message target matching method, server, terminal and computer-readable recording medium
CN107122156A (en) A kind of method for controlling volume and terminal
CN111083678B (en) Playing control method and system of Bluetooth sound box and intelligent device
CN108170500A (en) Download progress method for refreshing, terminal device and computer readable storage medium
CN107193527A (en) A kind of audio control method, terminal and computer-readable recording medium
CN108174031A (en) A kind of volume adjusting method, terminal device and computer readable storage medium
CN107679885A (en) A kind of ad data acquisition methods and device
CN107331405A (en) A kind of voice information processing method and server
CN107181506A (en) The method and bluetooth earphone of a kind of control terminal playing resource
CN106534514A (en) Incoming call processing method and terminal
CN106714033A (en) Method for preventing cracking voice of audio device, and terminal
CN107729109A (en) One kind management application drawing calibration method, terminal and computer-readable medium
CN107705796A (en) A kind of processing method of voice data, terminal and computer-readable medium
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN106648326A (en) Method for regulating screen-off time, and mobile terminal
CN110491419B (en) Playing control method, system and terminal equipment
CN107734121A (en) Method for controlling volume, device, storage medium and electronic equipment
CN106776223A (en) Mobile device uses the management method and device of duration
CN109889644A (en) A kind of tone information listens to method and apparatus and storage medium
CN108021301A (en) A kind of volume adjusting method, terminal device and computer-readable recording medium
CN110086941A (en) Speech playing method, device and terminal 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180406

WW01 Invention patent application withdrawn after publication