CN108762715A - Electronic equipment audio control method, device and equipment - Google Patents
Electronic equipment audio control method, device and equipment Download PDFInfo
- Publication number
- CN108762715A CN108762715A CN201810642793.5A CN201810642793A CN108762715A CN 108762715 A CN108762715 A CN 108762715A CN 201810642793 A CN201810642793 A CN 201810642793A CN 108762715 A CN108762715 A CN 108762715A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- volume
- sound
- volume adjustment
- adjustment instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management 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)
- Circuit For Audible Band Transducer (AREA)
Abstract
The application proposes a kind of electronic equipment audio control method, device and equipment, wherein method includes:Whether detection electronic equipment starts global sound control function;If electronic equipment starts global sound control function, when getting volume adjustment instruction, according to the target volume in volume adjustment instruction, the corresponding target drive current of electronic equipment sound intermediate frequency processing circuit is determined;According to target drive current, drive control is carried out to audio frequency processing circuit.This method utilizes global sound control function as a result, realizes the volume for adjusting all types sound in electronic equipment by a volume adjustment instruction, improves the efficiency for adjusting volume and flexibility.
Description
Technical field
This application involves technical field of electronic equipment more particularly to a kind of electronic equipment audio control method, device and set
It is standby.
Background technology
With the development of electronic technology, the function that electronic equipment may be implemented is more and more abundant.In order to realize electronic equipment
Various functions, the sound of electronic equipment is divided into multiple types, for example, ringing-type, multiple media types and alarm clock type
It can separate Deng, user and adjust all types of sound and its volume.
However, although the above sound control method meets the demand of user to a certain extent, control mode is more
It is single, it is not applied for controlling the demand of sound under different scenes.
Apply for content
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the application is to propose a kind of electronic equipment audio control method, this method is using entirely
Office's sound control function realizes through a volume adjustment instruction, adjusts the volume of all types sound in electronic equipment, subtract
The step of individually adjusting each type sound in associated scenario is lacked, has improved the efficiency for adjusting volume, improve electronic equipment
The flexibility of sound control, improves user experience.
Second purpose of the application is to propose a kind of electronic equipment sound control apparatus.
The application third purpose is to propose a kind of electronic equipment.
The 4th purpose of the application is to propose a kind of computer readable storage medium.
To achieve the goals above, the application first aspect embodiment proposes a kind of electronic equipment audio control method,
This method includes:
Detect whether the electronic equipment starts global sound control function;
If the electronic equipment starts global sound control function, when getting volume adjustment instruction, according to institute
The target volume in volume adjustment instruction is stated, determines the corresponding target drive current of the electronic equipment sound intermediate frequency processing circuit;
According to the target drive current, drive control is carried out to the audio frequency processing circuit.
The electronic equipment audio control method of the embodiment of the present application detects whether electronic equipment starts global sound first
Control function refers to if starting global sound control function when getting volume adjustment instruction according to the volume adjustment
Target volume in order determines the corresponding target drive current of electronic equipment sound intermediate frequency processing circuit, and then according to target drives
Electric current carries out drive control to audio frequency processing circuit.This method utilizes global sound control function as a result, realizes by one
Secondary volume adjustment instruction, adjust electronic equipment in all types sound volume, reduce individually adjusted in associated scenario it is each
The step of type sound, improves the efficiency for adjusting volume, improves the flexibility of electronic equipment sound control, improve user
Experience.
To achieve the goals above, the application second aspect embodiment proposes a kind of electronic equipment sound control apparatus,
Including:
Detection module, for detecting whether the electronic equipment starts global sound control function;
Determining module is getting volume adjustment if starting global sound control function for the electronic equipment
When instruction, according to the target volume in the volume adjustment instruction, determine that the electronic equipment sound intermediate frequency processing circuit is corresponding
Target drive current;
Control module, for according to the target drive current, drive control to be carried out to the audio frequency processing circuit.
The electronic equipment sound control apparatus of the embodiment of the present application is realized using global sound control function by one
Secondary volume adjustment instruction, adjust electronic equipment in all types sound volume, reduce individually adjusted in associated scenario it is each
The step of type sound, improves the efficiency for adjusting volume, improves the flexibility of electronic equipment sound control, improve user
Experience.
To achieve the goals above, the application third aspect embodiment proposes a kind of electronic equipment, including:Memory,
Processor and storage are on a memory and the computer program that can run on a processor, wherein described in the processor execution
When program, the electronic equipment audio control method as described in above-described embodiment is realized.
To achieve the goals above, the application fourth aspect embodiment proposes a kind of computer readable storage medium,
On be stored with computer program, electronic equipment sound control as described in above-described embodiment is realized when which is executed by processor
Method.
The additional aspect of the application and advantage will be set forth in part in the description, and will partly become from the following description
It obtains obviously, or recognized by the practice of the application.
Description of the drawings
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
The a kind of electronic equipment audio control method flow diagram that Fig. 1 is provided by the embodiment of the present application;
A kind of specific electronic equipment audio control method flow diagram that Fig. 2 is provided by the embodiment of the present application;
The a kind of electronic equipment sound control apparatus structural schematic diagram that Fig. 3 is provided by the embodiment of the present application;
A kind of specific electronic equipment sound control apparatus structural schematic diagram that Fig. 4 is provided by the embodiment of the present application.
Fig. 5 is the structural schematic diagram of the electronic equipment of the application one embodiment;And
Fig. 6 is the structural schematic diagram of the electronic equipment of the application another embodiment.
Specific implementation mode
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the electronic equipment audio control method, device and equipment of the embodiment of the present application are described.
Wherein, electronic equipment audio control method provided by the embodiments of the present application, can be by provided by the embodiments of the present application
Electronic equipment sound control apparatus executes, which can be configured in the electronic device, for realizing the sound to electronic equipment
Sound control system.
The flow diagram for a kind of electronic equipment audio control method that Fig. 1 is provided by the embodiment of the present application, such as Fig. 1 institutes
Show, which includes the following steps:
Step 101, whether detection electronic equipment starts global sound control function.
Wherein, global sound control function is for realizing the work(of the volume of all types sound in electronic equipment is adjusted
Energy.After user starts global sound control function, the volume of any sound in electronic equipment is adjusted, so that it may to adjust electricity simultaneously
The volume of all types sound in sub- equipment.
When concrete application, as an example, electronic equipment sound control apparatus can detect in electronics processors
The process being currently running, to judge whether electronic equipment starts global sound control function.If being currently running in processor complete
The process of office's sound control function, then illustrate that electronic equipment has currently had been turned on global sound control function.
Step 102, if electronic equipment starts global sound control function, when getting volume adjustment instruction, root
According to the target volume in volume adjustment instruction, the corresponding target drive current of electronic equipment sound intermediate frequency processing circuit is determined.
Wherein, volume adjustment instruction can be the volume tune for any kind sound that electronic equipment sound control apparatus obtains
Section instruction, for example, it can be the ringing volume regulating command of electronic equipment, multimedia volume adjustment instruction, alarm clock volume tune
Section instruction and In Call regulating command etc..
Wherein, volume adjustment instruction includes target volume, and target volume is the size of volume value to be adjusted.For example, working as
When user needs electronic equipment being adjusted to mute state, target volume zero.In concrete application, electronic equipment sound control dress
The target volume that can be obtained by different modes in volume adjustment instruction input by user is set, for example, when user adjusts electricity
In sub- equipment when volume key, according to the target volume in the acquisition volume adjustment instruction of the variation of volume key potentiometer resistance, or
Person obtains target volume according to the numerical value change of the volume bar in volume setting application.
It should be noted that after electronic equipment starts global sound control function, user adjusts any kind sound
Volume be target volume, then the volume of other types sound is adjusted to same volume in electronic equipment.If for example, user
The ringing volume for adjusting electronic equipment is zero, then the multimedia volume, alarm clock volume etc. of the electronic equipment, which synchronize, is adjusted to zero.
In concrete application, volume value and electric current can be pre-set in the memory of electronic equipment sound control apparatus
The mapping relations of signal, later, after electronic equipment sound control apparatus receives volume adjustment instruction, you can according to setting in advance
The mapping relations set determine and the target volume matching current value in volume adjustment instruction.
Step 103, according to target drive current, drive control is carried out to audio frequency processing circuit.
Specifically, according to target volume, after determining corresponding target drive current, you can control driving circuit, output pair
The target drive current answered, to drive audio frequency processing circuit to export the audio signal equal with target sound magnitude.
It should be noted that if detecting the not actuated global sound control function of electronic equipment, then electronic equipment sound control
Device processed is when getting volume adjustment instruction, it is first determined the corresponding sound type of volume adjustment instruction and target volume.
As an example, when electronic equipment sound control apparatus can adjust volume according to user, electronic equipment is current
The application program being currently running determines the corresponding sound type of volume adjustment instruction, for example, user is in multimedia application interface tune
Wave volume is saved, then the corresponding sound type of the volume adjustment instruction is multiple media types.Then, electronic equipment sound control fills
The target volume that can be obtained by the method for above-described embodiment in volume adjustment instruction input by user is set, in turn, in determination
When application call electronic equipment sound intermediate frequency processing circuit corresponding with sound type, according to the corresponding target drives electricity of target volume
Stream carries out drive control to audio frequency processing circuit, and realization principle is similar, and details are not described herein.
In conclusion the electronic equipment audio control method of the embodiment of the present application, detects whether electronic equipment starts first
Global sound control function, if starting global sound control function when getting volume adjustment instruction, according to described
Target volume in volume adjustment instruction determines the corresponding target drive current of electronic equipment sound intermediate frequency processing circuit, Jin Ergen
According to target drive current, drive control is carried out to audio frequency processing circuit.Global sound control function is utilized as a result, is realized logical
A volume adjustment instruction is crossed, the volume of all types sound in electronic equipment is adjusted, reduces in associated scenario and individually adjust
The step of each type sound, improves the efficiency for adjusting volume, improves the flexibility of electronic equipment sound control, improve
User experience.
Based on above-described embodiment, in practical application, user may trigger production when that need not adjust volume of electronic device
The maloperation of raw volume adjustment instruction, for example, user touches unintentionally the volume key etc. of electronic equipment.In order to avoid user's
Maloperation changes the wave volume of electronic equipment, and the embodiment of the present application proposes a kind of specific electronic equipment sound control side
Method, a kind of specific electronic equipment audio control method flow diagram that Fig. 2 is provided by the embodiment of the present application.
As shown in Fig. 2, the electronic equipment audio control method includes the following steps:
Step 201, whether detection electronic equipment starts global sound control function.
Wherein, the method that whether detection electronic equipment starts global sound control function can refer to retouching for above-described embodiment
It states, details are not described herein.
Step 202, if electronic equipment starts global sound control function, after getting volume adjustment instruction, sentence
Whether disconnected electronic equipment is currently in black state, if so, 204 are thened follow the steps, if it is not, thening follow the steps 203.
It is appreciated that when user does not operate electronic equipment, electronic equipment may be made to enter by operation power key black
Screen state, alternatively, electronic equipment is not affected by after the operational order of user in preset time automatically into black state.Electronics is set
It is standby to receive volume adjustment instruction under black state, it may be possible to it is triggered due to the maloperation of user, in order to avoid user
Maloperation change the wave volume of electronic equipment, electronic equipment sound control apparatus first determines whether electronic equipment is currently located
In black state.
Specifically, as an example, electronic equipment sound control apparatus can be by detecting electronic equipment display screen curtain
Backlight whether work, judge electronic equipment currently whether be in black state, if backlight does not receive electronic equipment and shows
The operating voltage that the driving circuit of screen applies, then judge that electronic equipment is currently at black state.
Step 203, volume adjustment instruction is responded.
Specifically, if electronic equipment is not presently within black state, judge that volume adjustment instruction is by user according to need
The volume adjustment to be carried out operation triggering, and then electronic equipment sound control apparatus responds volume adjustment instruction, according to volume
Target volume in regulating command determines the corresponding target drive current of electronic equipment sound intermediate frequency processing circuit, to audio
It manages circuit and carries out drive control.Specific audio frequency processing circuit control method is referred to the description of above-described embodiment, herein not
It repeats again.
Step 204, the audio data that electronic equipment is presently in environment is obtained.
Specifically, if electronic equipment is currently at black state, volume adjustment instruction may be the maloperation by user
Triggering, in order to further increase the accuracy rate for adjusting electronic equipment sound, it can be combined with electronic equipment and be presently in environment
Audio data, determine volume adjustment instruction whether by user maloperation trigger.
It is appreciated that when user is in the environment of the needs such as library, classroom or meeting-place are kept quite, electronics can be turned down
Situations such as to avoid can't hear the tinkle of bells, the sound of electronic equipment can be turned up when user is under noisy noisy environment in the sound of equipment
Sound.To which electronic equipment sound control apparatus, which pre-sets user, may adjust the environmental audio value model of volume of electronic device
Enclose, when electronic equipment local environment audio data less than value range minimum value or more than the maximum value of value range, then
User be likely to be at need adjust volume of electronic device in the environment of, when the audio data of electronic equipment local environment is in value model
When enclosing interior, user is under normal environment, then the probability of user's adjusting volume of electronic device is relatively low under black state.To,
It can be presently in the audio data of environment according to electronic equipment, further judge whether volume adjustment instruction is grasped by the mistake of user
It triggers.
When specific implementation, as a kind of possible realization method, the sound pick-up of electronic equipment gets the sound of current environment
Voice signal is converted to electric signal by analog/digital conversion device, is then carried out by audio frequency processing circuit by frequency after
Amplification, filtering, decaying and weighted and etc., the quantitative indicating value of environmental audio data is finally sent to electronic equipment sound control
Device.
Step 205, when determining that audio data meets preset condition, ignore the volume adjustment instruction got.
Specifically, when electronic equipment is presently in the audio data of environment in preset value range, due to electronics
Equipment is currently at black state, and the probability that user carries out volume adjustment is relatively low, to judge that volume adjustment instruction is by user
Maloperation triggering, and then ignore the volume adjustment instruction got.
It is appreciated that if audio data does not meet preset condition, user may lower economize on electricity in black state and set
Standby volume, for example, user is to reduce operating procedure of spreading its tail, the volume adjusting function being provided under black state, to electronics
Equipment sound control apparatus responds volume adjustment instruction.Wherein, electronic equipment sound control apparatus can control the adjusting of volume
Amplitude, when avoiding accurately determining the volume value adjusted under black state, the volume of adjusting exceeds preset adjustable range,
When specific implementation, electronic equipment sound control apparatus can the true corresponding target drive current of stator-device sound intermediate frequency processing circuit
Less than threshold value.
It should be noted that in order to further increase the accuracy rate for adjusting electronic equipment sound, the hair for ignoring user is avoided
Go out volume adjustment operation, electronic equipment sound control apparatus can also be according to the number of preset sensor acquisition in electronic equipment
According to determining electronic equipment motion state residing before and after obtaining volume adjustment instruction.If being appreciated that, sub- equipment is obtaining sound
Electronic equipment remains static before and after amount regulating command, shows that the position of electronic equipment does not change, then electronic equipment institute
The environment at place may also not change, and electronic equipment is received in the case where black state and residing environment are to change
The possibility operated to volume adjustment is relatively low, to which electronic equipment sound control apparatus is determining that audio data meets preset item
Part, and determine that electronic equipment when remaining static before and after obtaining volume adjustment instruction, is ignored the volume adjustment got and referred to
It enables.
The electronic equipment audio control method of the embodiment of the present application, first determines whether electronic equipment is currently in blank screen shape
State, the audio data that environment is then presently in by obtaining electronic equipment judge whether volume adjustment instruction is grasped by the mistake of user
It triggers, improves the accuracy rate for adjusting electronic equipment sound, avoid the maloperation of user from changing the volume of electronic equipment, promoted
User experience.
In order to realize that above-described embodiment, the embodiment of the present application also proposed a kind of electronic equipment sound control apparatus, Fig. 3 is
According to the structural schematic diagram of user's camera arrangement of the application one embodiment, as shown in figure 3, the electronic equipment sound control fills
Set including:Detection module 100, determining module 200 and control module 300.
Wherein, detection module 100, for detecting whether electronic equipment starts global sound control function.
Determining module 200 refers to if starting global sound control function for electronic equipment getting volume adjustment
When enabling, according to the target volume in volume adjustment instruction, the corresponding target drives electricity of electronic equipment sound intermediate frequency processing circuit is determined
Stream.
Control module 300, for according to target drive current, drive control to be carried out to audio frequency processing circuit.
Specifically, the volume adjustment instruction that determining module 200 obtains includes ringing volume regulating command, multimedia volume tune
At least one of section instruction and alarm clock volume regulating command.
Further, it if detection module 100 detects the not actuated global sound control function of electronic equipment, is getting
When volume adjustment instruction, the corresponding sound type of volume adjustment instruction and target volume are determined, in turn, determining module 200 is true
When fixed application call electronic equipment sound intermediate frequency processing circuit corresponding with sound type, according to the corresponding target drives of target volume
Electric current carries out drive control to the audio frequency processing circuit.
In a kind of possible realization method of the embodiment of the present application, as shown in figure 4, on the basis of embodiment as shown in Figure 3
On, determining module 200, including:
Judging unit 210, for after getting volume adjustment instruction, judging whether electronic equipment is currently in blank screen shape
State.
Acquiring unit 220 is presently in for when determining that electronic equipment is currently at black state, obtaining electronic equipment
The audio data of environment.
Execution unit 230 refers to for when determining that audio data meets preset condition, ignoring the volume adjustment got
It enables.
Specifically, determining module 200 is additionally operable to, when audio data does not meet preset condition, determine electronic equipment sound intermediate frequency
The corresponding target drive current of processing circuit is less than threshold value.
In the application one embodiment, control module 300 is specifically used for determining that electronic equipment is not presently within blank screen
When state, volume adjustment instruction is responded.
In the application one embodiment, when determining that audio data meets preset condition, ignore the volume got
Before regulating command, determining module 200 is additionally operable to, according to the data of preset sensor acquisition in electronic equipment, determine that electronics is set
It is standby to remain static before and after obtaining volume adjustment instruction.
It should be noted that the aforementioned description to embodiment of the method, is also applied for the device of the embodiment of the present application, realize
Principle is similar, and details are not described herein.
In conclusion the electronic equipment sound control apparatus of the embodiment of the present application, detects whether electronic equipment starts first
Global sound control function, if starting global sound control function when getting volume adjustment instruction, according to described
Target volume in volume adjustment instruction determines the corresponding target drive current of electronic equipment sound intermediate frequency processing circuit, Jin Ergen
According to target drive current, drive control is carried out to audio frequency processing circuit.Global sound control function is utilized as a result, is realized logical
A volume adjustment instruction is crossed, the volume of all types sound in electronic equipment is adjusted, reduces in associated scenario and individually adjust
The step of each type sound, improves the efficiency for adjusting volume, improves the flexibility of electronic equipment sound control, improve
User experience.
In order to realize that above-described embodiment, the application also propose a kind of electronic equipment.
Fig. 5 is the structural schematic diagram of the electronic equipment of the application one embodiment.The electronic equipment that Fig. 5 is shown is only one
A example should not bring any restrictions to the function and use scope of the embodiment of the present application.
As shown in figure 5, above-mentioned electronic equipment 200 includes:It memory 210, processor 220 and is stored on memory 210
And the computer program that can be run on processor 220, when the processor 220 executes described program, to realize second aspect
Electronic equipment radio communication performance test methods described in embodiment.
In a kind of optional way of realization, as shown in fig. 6, the electronic equipment 200 can also include:Memory 210 and
Processor 220, connects the bus 230 of different components (including memory 210 and processor 220), and memory 210 is stored with calculating
Machine program realizes that the electronic equipment radio communication performance described in the embodiment of the present application is surveyed when processor 220 executes described program
Method for testing.
Bus 230 indicates one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts
For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Electronic equipment 200 typically comprises a variety of computer equipment readable mediums.These media can be it is any can be by
The usable medium that electronic equipment 200 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 210 can also include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 240 and/or cache memory 250.Electronic equipment 200 may further include that other are removable/and it can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 260 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").It, can be with although being not shown in Fig. 6
It provides for the disc driver to moving non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 230.Memory 210 may include at least one program
There is one group of (for example, at least one) program module, these program modules to be configured to perform the application for product, the program product
The function of each embodiment.
Program/utility 280 with one group of (at least one) program module 270, can be stored in such as memory
In 210, such program module 270 include --- but being not limited to --- operating system, one or more application program, other
Program module and program data may include the realization of network environment in each or certain combination in these examples.Journey
Sequence module 270 usually executes function and/or method in embodiments described herein.
Electronic equipment 200 can also be with one or more external equipments 290 (such as keyboard, sensing equipment, display 291
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 200 communicate, and/or with make
Any equipment that the electronic equipment 200 can be communicated with other one or more computing devices (such as network interface card, modem
Etc.) communication.This communication can be carried out by input/output (I/O) interface 292.Also, electronic equipment 200 can also lead to
Cross network adapter 293 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, example
Such as internet) communication.As shown, network adapter 293 is communicated by bus 230 with other modules of electronic equipment 200.It answers
When understanding, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 200, including it is but unlimited
In:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
It should be noted that the electricity of the implementation process and technical principle of the electronic equipment of the present embodiment referring to previous embodiment
The explanation of sub- equipment audio control method, details are not described herein again.
Electronic equipment provided by the embodiments of the present application, detects whether electronic equipment starts global sound control work(first
Can, if starting global sound control function when getting volume adjustment instruction, according in the volume adjustment instruction
Target volume determines the corresponding target drive current of electronic equipment sound intermediate frequency processing circuit, and then according to target drive current, right
Audio frequency processing circuit carries out drive control.Global sound control function is utilized as a result, is realized and is referred to by a volume adjustment
It enables, adjusts the volume of all types sound in electronic equipment, reduce the step for individually adjusting each type sound in associated scenario
Suddenly, the efficiency for adjusting volume is improved, the flexibility of electronic equipment sound control is improved, improves user experience.
To achieve the above object, the application also proposes a kind of computer readable storage medium.
The wherein computer readable storage medium, is stored thereon with computer program, when which is executed by processor, with
Realize the electronic equipment audio control method described in above-described embodiment.
In a kind of optional way of realization, arbitrary group of one or more computer-readable media may be used in the present embodiment
It closes.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable to deposit
Storage media for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor
Part, or the arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Have
The electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium, which can be any, includes or the tangible medium of storage program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated,
Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission for by instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partly executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service
It is connected by internet for quotient).
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.Such as, if realized in another embodiment with hardware, following skill well known in the art can be used
Any one of art or their combination are realized:With for data-signal realize logic function logic gates from
Logic circuit is dissipated, the application-specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the application can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of application
Type.
Claims (10)
1. a kind of electronic equipment audio control method, which is characterized in that including:
Detect whether the electronic equipment starts global sound control function;
If the electronic equipment starts global sound control function, when getting volume adjustment instruction, according to the sound
The target volume in regulating command is measured, determines the corresponding target drive current of the electronic equipment sound intermediate frequency processing circuit;
According to the target drive current, drive control is carried out to the audio frequency processing circuit.
2. the method as described in claim 1, which is characterized in that it is described to get volume adjustment instruction, including:
Get ringing volume regulating command;
Alternatively, getting multimedia volume adjustment instruction;
Alternatively, getting alarm clock volume regulating command.
3. the method as described in claim 1, which is characterized in that whether the detection electronic equipment starts global sound
After control function, further include:
If the not actuated global sound control function of electronic equipment determines the sound when getting volume adjustment instruction
Measure the corresponding sound type of regulating command and target volume;
When determining electronic equipment sound intermediate frequency processing circuit described in application call corresponding with the sound type, according to the mesh
The corresponding target drive current of mark with phonetic symbols amount carries out drive control to the audio frequency processing circuit.
4. method as described in any one of claims 1-3, which is characterized in that if the electronic equipment starts global sound control
Function;
It is described get volume adjustment instruction after, further include:
Judge whether the electronic equipment is currently in black state;
If so, obtaining the audio data that the electronic equipment is presently in environment;
When determining that the audio data meets preset condition, ignore the volume adjustment instruction got.
5. method as claimed in claim 4, which is characterized in that described to judge whether the electronic equipment is currently in blank screen shape
After state, further include:
If it is not, then responding the volume adjustment instruction.
6. method as claimed in claim 4, which is characterized in that the audio for obtaining the electronic equipment and being presently in environment
After data, further include:
If the audio data does not meet preset condition, it is determined that the corresponding target of the electronic equipment sound intermediate frequency processing circuit
Driving current is less than threshold value.
7. such as method described in claim 5 or 6, which is characterized in that described to determine that the audio data meets preset item
When part, before ignoring the volume adjustment instruction got, further include:
According to the data of preset sensor acquisition in the electronic equipment, determine that the electronic equipment is obtaining the volume tune
It remains static before and after section instruction.
8. a kind of electronic equipment sound control apparatus, which is characterized in that including:
Detection module, for detecting whether the electronic equipment starts global sound control function;
Determining module is getting volume adjustment instruction if starting global sound control function for the electronic equipment
When, according to the target volume in the volume adjustment instruction, determine the corresponding target of the electronic equipment sound intermediate frequency processing circuit
Driving current;
Control module, for according to the target drive current, drive control to be carried out to the audio frequency processing circuit.
9. a kind of electronic equipment, which is characterized in that including:Memory, processor and storage are on a memory and can be in processor
The computer program of upper operation when the processor executes described program, realizes the electronics as described in any in claim 1-7
Equipment audio control method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The electronic equipment audio control method as described in any in claim 1-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810642793.5A CN108762715B (en) | 2018-06-21 | 2018-06-21 | Electronic equipment sound control method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810642793.5A CN108762715B (en) | 2018-06-21 | 2018-06-21 | Electronic equipment sound control method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108762715A true CN108762715A (en) | 2018-11-06 |
CN108762715B CN108762715B (en) | 2021-04-02 |
Family
ID=63979674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810642793.5A Active CN108762715B (en) | 2018-06-21 | 2018-06-21 | Electronic equipment sound control method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762715B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110636169A (en) * | 2019-08-30 | 2019-12-31 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN111309282A (en) * | 2020-02-11 | 2020-06-19 | RealMe重庆移动通信有限公司 | Audio device power consumption control method and device, audio device and storage medium |
CN111897508A (en) * | 2019-05-06 | 2020-11-06 | 上海擎感智能科技有限公司 | Audio control method, system, storage medium and device |
CN112256231A (en) * | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Volume control method, device, terminal and storage medium |
CN114115791A (en) * | 2021-11-17 | 2022-03-01 | 惠州视维新技术有限公司 | Electronic device, sound control method, and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102545812A (en) * | 2010-12-31 | 2012-07-04 | 上海博泰悦臻电子设备制造有限公司 | Volume control method for multi-task system |
CN103081355A (en) * | 2010-08-31 | 2013-05-01 | 苹果公司 | Dynamic adjustment of master and individual volume controls |
CN103472994A (en) * | 2013-09-06 | 2013-12-25 | 乐得科技有限公司 | Operation control achieving method, device and system based on voice |
CN103677703A (en) * | 2012-09-18 | 2014-03-26 | 联想(北京)有限公司 | Electronic equipment and volume adjusting method thereof |
US20140232671A1 (en) * | 2010-04-07 | 2014-08-21 | Apple Inc. | Device, Method, and Graphical User Interface for Managing Concurrently Open Software Applications |
CN104243671A (en) * | 2013-06-17 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Volume adjustment method and device and electronic device |
CN104898970A (en) * | 2015-04-30 | 2015-09-09 | 努比亚技术有限公司 | Volume control method and apparatus |
CN105955701A (en) * | 2016-06-21 | 2016-09-21 | 深圳市金立通信设备有限公司 | Volume adjustment method and terminal |
CN106126170A (en) * | 2016-06-16 | 2016-11-16 | 广东欧珀移动通信有限公司 | The audio method to set up of a kind of terminal and terminal |
CN106201430A (en) * | 2016-08-31 | 2016-12-07 | 维沃移动通信有限公司 | A kind of method of volume adjusting and electronic equipment |
CN107402711A (en) * | 2017-07-19 | 2017-11-28 | 北京小米移动软件有限公司 | Volume adjusting method, device and computer-readable recording medium |
-
2018
- 2018-06-21 CN CN201810642793.5A patent/CN108762715B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140232671A1 (en) * | 2010-04-07 | 2014-08-21 | Apple Inc. | Device, Method, and Graphical User Interface for Managing Concurrently Open Software Applications |
CN103081355A (en) * | 2010-08-31 | 2013-05-01 | 苹果公司 | Dynamic adjustment of master and individual volume controls |
CN102545812A (en) * | 2010-12-31 | 2012-07-04 | 上海博泰悦臻电子设备制造有限公司 | Volume control method for multi-task system |
CN103677703A (en) * | 2012-09-18 | 2014-03-26 | 联想(北京)有限公司 | Electronic equipment and volume adjusting method thereof |
CN104243671A (en) * | 2013-06-17 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Volume adjustment method and device and electronic device |
CN103472994A (en) * | 2013-09-06 | 2013-12-25 | 乐得科技有限公司 | Operation control achieving method, device and system based on voice |
CN104898970A (en) * | 2015-04-30 | 2015-09-09 | 努比亚技术有限公司 | Volume control method and apparatus |
CN106126170A (en) * | 2016-06-16 | 2016-11-16 | 广东欧珀移动通信有限公司 | The audio method to set up of a kind of terminal and terminal |
CN105955701A (en) * | 2016-06-21 | 2016-09-21 | 深圳市金立通信设备有限公司 | Volume adjustment method and terminal |
CN106201430A (en) * | 2016-08-31 | 2016-12-07 | 维沃移动通信有限公司 | A kind of method of volume adjusting and electronic equipment |
CN107402711A (en) * | 2017-07-19 | 2017-11-28 | 北京小米移动软件有限公司 | Volume adjusting method, device and computer-readable recording medium |
Non-Patent Citations (1)
Title |
---|
一直都在扯淡: ""安卓怎么控制全局音量?今天被害惨了"", 《HTTPS://TIEBA.BAIDU.COM/P/1867307207?RED_TAG=2108794005》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897508A (en) * | 2019-05-06 | 2020-11-06 | 上海擎感智能科技有限公司 | Audio control method, system, storage medium and device |
CN110636169A (en) * | 2019-08-30 | 2019-12-31 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN111309282A (en) * | 2020-02-11 | 2020-06-19 | RealMe重庆移动通信有限公司 | Audio device power consumption control method and device, audio device and storage medium |
CN111309282B (en) * | 2020-02-11 | 2023-08-22 | RealMe重庆移动通信有限公司 | Audio equipment power consumption control method and device, audio equipment and storage medium |
CN112256231A (en) * | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Volume control method, device, terminal and storage medium |
CN112256231B (en) * | 2020-10-20 | 2024-05-07 | 北京字节跳动网络技术有限公司 | Volume control method, device, terminal and storage medium |
CN114115791A (en) * | 2021-11-17 | 2022-03-01 | 惠州视维新技术有限公司 | Electronic device, sound control method, and storage medium |
CN114115791B (en) * | 2021-11-17 | 2024-02-06 | 惠州视维新技术有限公司 | Electronic device, sound control method, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108762715B (en) | 2021-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108762715A (en) | Electronic equipment audio control method, device and equipment | |
CN107995535A (en) | A kind of method, apparatus, equipment and computer-readable storage medium for showing video | |
CN107995536A (en) | A kind of method, apparatus, equipment and computer-readable storage medium for extracting video preview | |
CN107622770A (en) | voice awakening method and device | |
CN108600796B (en) | Control mode switch method, equipment and the computer-readable medium of smart television | |
CN107919130A (en) | Method of speech processing and device based on high in the clouds | |
CN107610702A (en) | Terminal device standby wakeup method, apparatus and computer equipment | |
CN108681440A (en) | A kind of smart machine method for controlling volume and system | |
CN107527630B (en) | Voice endpoint detection method and device and computer equipment | |
KR102331660B1 (en) | Methods and apparatuses for controlling voice of electronic devices, computer device and storage media | |
KR20170034154A (en) | Method and electronic device for providing contents | |
CN109960642A (en) | Automatic test approach and device | |
CN111124108B (en) | Model training method, gesture control method, device, medium and electronic equipment | |
CN108563655A (en) | Text based event recognition method and device | |
EP3425630A1 (en) | Electronic device-awakening method and apparatus, device and computer-readable storage medium | |
CN106596394A (en) | Hair detection method, terminal and comb | |
EP4102499A1 (en) | Wakeup testing method and apparatus, electronic device and readable storage medium | |
CN108920072A (en) | Electronic device touchscreen control method, device, electronic equipment and storage medium | |
CN107741808A (en) | Application program actions menu method to set up, mobile terminal and storage device | |
KR20220044446A (en) | Method and apparatus for testing vehicle-mounted voice device, electronic device and storage medium | |
KR20210040856A (en) | Interactive method of smart rearview mirror, apparatus, electronic device and storage medium | |
CN108804897A (en) | Screen control method, device, computer equipment and storage medium | |
CN110660376B (en) | Audio processing method, device and storage medium | |
CN107343101A (en) | A kind of method, apparatus, equipment and storage medium for realizing orientation recording | |
CN108784733A (en) | auscultation system and method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |