CN108848264A - Control method, device, storage medium and the electronic equipment of microphone - Google Patents

Control method, device, storage medium and the electronic equipment of microphone Download PDF

Info

Publication number
CN108848264A
CN108848264A CN201810630346.8A CN201810630346A CN108848264A CN 108848264 A CN108848264 A CN 108848264A CN 201810630346 A CN201810630346 A CN 201810630346A CN 108848264 A CN108848264 A CN 108848264A
Authority
CN
China
Prior art keywords
information
preset
electronic equipment
microphone
judging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810630346.8A
Other languages
Chinese (zh)
Inventor
黄粟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810630346.8A priority Critical patent/CN108848264A/en
Publication of CN108848264A publication Critical patent/CN108848264A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses control method, device, storage medium and the electronic equipment of a kind of microphone, wherein the embodiment of the present application is by acquiring the status information of electronic equipment when electronic equipment is in voice wake-up states;Judge whether status information is preset state information;When judging status information is preset state information, microphone is opened, to acquire voice messaging;When judging status information not is preset state information, mute microphone (MIC).With this when electronic equipment is in voice wake-up states, it can be chosen whether to open microphone according to the status information of electronic equipment, avoid the state that microphone is constantly in monitoring, save the electricity of electronic equipment, improve the cruising ability of electronic equipment.

Description

Control method, device, storage medium and the electronic equipment of microphone
Technical field
This application involves electronic equipment control technology field more particularly to a kind of control methods of microphone, device, storage Medium and electronic equipment.
Background technique
With the continuous development of electronic technology, the function of electronic equipment such as mobile phone is stronger and stronger, and user can pass through hand Machine easily realizes that the various functions such as electronic business transaction, amusement, mobile phone have become the indispensable tool of people's trip, therefore, user It is also increasingly stronger to the dependence of mobile phone.
Currently, mobile phone can open voice arousal function, believed by the voice that the microphone on mobile phone obtains user in real time Breath, it is quick by voice to realize to determine and execute corresponding operation instruction by carrying out keyword extraction to voice messaging The effect of mobile phone is manipulated, still, continues listening state since microphone is in, will cause the loss of power consumption, influence the continuous of mobile phone Boat ability.
Summary of the invention
The embodiment of the present application provides control method, device, storage medium and the electronic equipment of a kind of microphone, can reduce The power consumption of mobile phone promotes the cruising ability of mobile phone.
In a first aspect, the embodiment of the present application provides a kind of control method of microphone, including:
When electronic equipment is in voice wake-up states, the status information of the electronic equipment is acquired;
Judge whether the status information is preset state information;
When judging the status information is preset state information, microphone is opened, to acquire voice messaging;
When judging the status information not is preset state information, mute microphone (MIC).
Second aspect, a kind of control device for the microphone that the embodiment of the present application provides, including:
Acquisition unit, for acquiring the status information of the electronic equipment when electronic equipment is in voice wake-up states;
Judging unit, for judging whether the status information is preset state information;
Opening unit, for microphone being opened, to acquire language when judging the status information is preset state information Message breath;
Closing unit, for when judging the status information not is preset state information, mute microphone (MIC).
The third aspect, storage medium provided by the embodiments of the present application, is stored thereon with computer program, when the computer When program is run on computers, so that the computer executes the controlling party of the microphone provided such as the application any embodiment Method.
Fourth aspect, electronic equipment provided by the embodiments of the present application, including processor and memory, the memory have meter Calculation machine program, the processor is by calling the computer program, for executing the wheat provided such as the application any embodiment The control method of gram wind.
The embodiment of the present application is by acquiring the status information of electronic equipment when electronic equipment is in voice wake-up states; Judge whether status information is preset state information;When judging status information is preset state information, microphone is opened, with Acquire voice messaging;When judging status information not is preset state information, mute microphone (MIC).With this when electronic equipment is in When voice wake-up states, it can be chosen whether to open microphone according to the status information of electronic equipment, avoid microphone one The straight state in monitoring, saves the electricity of electronic equipment, improves the cruising ability of electronic equipment.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made And other beneficial effects are apparent.
Fig. 1 is the application environment schematic diagram of speech detection provided by the embodiments of the present application.
Fig. 2 is the flow diagram of the control method of microphone provided by the embodiments of the present application.
Fig. 3 is another flow diagram of the control method of microphone provided by the embodiments of the present application.
Fig. 4 is the module diagram of the control device of microphone provided by the embodiments of the present application.
Fig. 5 is another module diagram of the control device of microphone provided by the embodiments of the present application.
Fig. 6 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 7 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to execute in the arithmetic system as.It is somebody's turn to do herein not Same component, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And the device and method being somebody's turn to do herein is excellent Being implemented in the form of software for choosing, can also be implemented on hardware, certainly within the application protection scope.
Concrete analysis explanation is carried out below.
In the present embodiment, the angle of the control device from microphone is described, the control device tool of the microphone Body can integrate in electronic equipment, such as mobile phone, tablet computer, palm PC (PDA, Personal Digital Assistant) etc..
Referring to Fig. 1, Fig. 1 is a kind of application environment schematic diagram of speech detection provided in an embodiment of the present invention.It is described to answer With environment, including user 11 and electronic equipment 12.
Wherein, the electronic equipment 12, including at least the microphone for detecting 11 voice of user, the microphone, scientific name It is the energy conversion device that voice signal is converted to electric signal for microphone, by " Microphone " this English word sound It translates.Also referred to as microphone, microphone.
Further, when electronic equipment is in voice wake-up states, user 11 issues specific sound, for example " little Ou is asked Unlock " etc., which gets the specific sound of user by microphone progress speech detection 121, and by the spy Determine sound and be converted to electric signal, and noise suppressed 122 is carried out to the electric signal and is handled, the noise suppressed refer to elimination, reduction or Suppress the random variation interference in image.Characteristic processing 123, this feature processing 123 are carried out to the electric signal after noise suppressed 122 Vocal print feature extraction is specifically referred to, since the vocal print feature not only has specificity, but also has the characteristics of relative stability.Adult After, the sound of people can keep stablizing relatively for a long time constant.It is demonstrated experimentally that no matter talker is deliberately to imitate other people sound and language Gas, or whisper in sb.'s ear are softly talked, even if imitating remarkably true to life, vocal print feature is not but identical always.So by the sound of extraction Line feature and default vocal print feature carry out voice print matching 124, obtain corresponding similarity 125, when similarity 125 is greater than certain threshold When value, vocal print feature is verified, and electronic equipment 12 executes unlocking function.
It can be seen from above-mentioned application scenarios when being in voice wake-up states, microphone needs to be constantly in monitoring shape State certainly will will cause the loss of power consumption, and then influence the cruising ability of electronic equipment 12 to obtain the acoustic information in environment.
The embodiment of the present invention is by acquiring the electronic equipment 12 when the electronic equipment 12 is in voice wake-up states Status information, judge whether the status information is preset state information, when judge the status information be preset state When information, the microphone of electronic equipment 12 is just opened, to acquire voice messaging, and is default when judging the status information not When status information, the microphone of electronic equipment 12 is closed, to save the power consumption of electronic equipment.
The embodiment of the present application provides a kind of control method of microphone, and the control method of the microphone can be applied to electronics In equipment.As shown in Fig. 2, the control method of the microphone, may comprise steps of:
In step s101, when electronic equipment is in voice wake-up states, the status information of electronic equipment is acquired.
Wherein, when user needs using Voiceprint Recognition System function, voice arousal function can be opened, for example open electricity The setting of sub- equipment, finds voice assistant, then finds voice and wakes up option, opens voice arousal function.
In one embodiment, it when first time using voice arousal function, needs to be trained user to word is waken up Study, if user needs to unlock electronic equipment, can input the voice keyword of " unlock " etc..
Further, after the electronic equipment opens voice arousal function, which is at voice and wakes up shape State, electronic equipment can continue the acoustic information of monitoring condition by microphone, and be analyzed the acoustic information listened to, sound The operation such as line feature extraction and vocal print feature verifying, so that can be rung accordingly according to the voice messaging of user in real time It answers, that is to say, that microphone is in running order always.
The status information of electronic equipment is acquired, the status information when electronic equipment is in voice wake-up states based on this It indicates the use environment information of electronic equipment, can be the location of electronic equipment information, temporal information or information about power Etc..The status information may be the location of electronic equipment information and temporal information.
In step s 102, judge whether status information is preset state information.
Wherein, when judging status information is preset state information, step S103 is executed;When judging status information not When for preset state information, step S104 is executed.The preset state information is the default use environment information of electronic equipment, can be with For preset position information, preset time period or default charge value etc..The preset state information may be predeterminated position letter Breath and preset time information.
In some embodiments, it before this judges the step of whether status information is preset state information, can also wrap It includes:
(1) information about power of electronic equipment is obtained;
(2) detect whether the information about power is lower than preset threshold;
(3) execute the step of whether status information is preset state information judged;
(4) it executes and opens microphone, the step of to acquire voice messaging.
Wherein, electronic equipment is when comparision of quantity of electricity abundance, it may not be necessary to power consumption is saved, so obtaining electronics first The information about power of equipment, the information about power can be percents, which is to judge whether electric quantity for electronic equipment fills The critical condition of foot illustrates that electricity is inadequate when detecting the information about power lower than preset threshold, executes step (3), executes The step of whether status information is preset state information judged.When detecting the information about power not less than preset threshold, explanation Comparision of quantity of electricity is sufficient, does not need to save power consumption, execute step (4), directly executes and open microphone, to acquire the step of voice messaging Suddenly.
In some embodiments, which may include location information, this judges whether the status information is pre- If the step of status information, may include:
(1.1) judge whether the location information is preset position information;
(1.2) it is determined as that the status information is preset state information;
(1.3) being determined as the status information not is preset state information.
Wherein, user generally it is some often in place (preset position information) will use electronic equipment probability it is bigger, It is relatively low using the probability of electronic equipment and seldom in place, so judge whether the location information is preset position information, When judging the location information is preset position information, illustrates that user is in often in place, execute step (1.2), be determined as The status information is preset state information.When judging the location information not is preset position information, illustrate that user is not at Often in place, being determined as the status information not is preset state information.
In some embodiments, which may include temporal information, this judges whether the status information is pre- If the step of status information, may include:
(2.1) judge whether the temporal information is in preset time period;
(2.2) it is determined as that the status information is preset state information;
(2.3) being determined as the status information not is preset state information.
Wherein, the probability that user generally will use electronic equipment in some common periods (preset time period) is bigger, And be of little use the period (preset time period) will use electronic equipment the probability is relatively small, so whether judging the temporal information In preset time period, when judging that the temporal information is in preset time period, when illustrating that electronic equipment is currently at common Between section, execute step (2.2), be determined as the status information be preset state information.When judging that it is pre- that the temporal information is not at If when the period, illustrating that electronic equipment is not currently in the common period, executing step (2.3), be determined as the status information not For preset state information.
In some embodiments, which can also include information about power, when information about power is greater than low battery threshold When value, illustrate that the current electricity of electronic equipment is non-too low, be determined as the status information be preset state information, when information about power not When greater than default power threshold, illustrate the current low battery of electronic equipment, being determined as the status information not is preset state letter Breath.
In some embodiments, which can also include location information and temporal information, the judgement shape The step of whether state information is preset state information may include:
(3.1) judge whether the location information is preset position information;
(3.2) judge whether the temporal information is in preset time period;
(3.3) it is determined as that the status information is preset state information;
(3.4) being determined as the status information not is preset state information.
Wherein, user is often in the state of place (preset position information) and common period (preset time period), It is high using the probability of electronic equipment, without often at place (preset position information) and not in the common period (when default Between section) in the state of, it is relatively low using the probability of electronic equipment, so first determine whether the location information is predeterminated position, when When judging that the location information is preset position information, illustrate user in common site, executes (3.2) and then judge that the time believes Whether breath is in preset time period, when judging that the temporal information is in preset time period, illustrates electronic equipment on common ground Under the premise of point, also in the common period, execute step (3.3).When judging that the location information is not preset position information Perhaps illustrate electronic equipment when judging the temporal information not is preset time period not in common site or be not at common Period executes step (3.4), and being determined as the status information not is preset state information.
In one embodiment, before the step of status information of the acquisition electronic equipment, can also include:
(4.1) historical position information and historical time information of the acquisition electronic equipment when being in use state;
(4.2) learning model building is carried out to the historical position information and historical time information, generate preset position information with And preset time period.
Wherein, electronic equipment can acquire electronic equipment historical position information in a state of use and temporal information Multiple samples, and carry out learning model building to multiple sample, generate artificial intelligence library, and will frequency of occurrence is most in a state of use More historical position informations generates preset position information, when the period that the time in a state of use is more concentrated generates default Between section.Therefore, so that the generation of preset position information and preset time period is more bonded the use habit of user, accuracy is more It is high.
In step s 103, microphone is opened.
Wherein, when judging status information is preset state information, illustrate that the default environmental information of electronic equipment is normal With environmental information, user specially speaks, and the probability for generating voice messaging controlling electronic devices is bigger, sets at this point, opening electronics Standby upper microphone, the voice messaging in real-time monitoring condition.
In step S104, mute microphone (MIC).
Wherein, when judging status information not is preset state information, illustrate the default environmental information of electronic equipment not To commonly use environmental information, user specially speaks, and generating voice messaging controlling electronic devices, the probability is relatively small, at this point, closing electricity Microphone in sub- equipment saves power consumption.
It can be seen from the above, a kind of control method of microphone provided in this embodiment, by being in voice when electronic equipment When wake-up states, the status information of electronic equipment is acquired;Judge whether status information is preset state information;When judgement does well When information is preset state information, microphone is opened, to acquire voice messaging;It is preset state letter when judging status information not When breath, mute microphone (MIC).With this when electronic equipment is in voice wake-up states, can according to the status information of electronic equipment come It chooses whether to open microphone, avoids the state that microphone is constantly in monitoring, save the electricity of electronic equipment, improve The cruising ability of electronic equipment.
Citing, is described in further detail by the method according to described in above-described embodiment below.
Referring to Fig. 3, Fig. 3 is another flow diagram of the control method of microphone provided by the embodiments of the present application.
Specifically, this method includes:
In step s 201, historical position information and historical time letter of the acquisition electronic equipment when being in use state Breath.
Wherein it is possible to acquire historical position information and history of a period of time inner electronic equipment when in use state Multiple samples of temporal information such as acquire historical position information and history of 14 days inner electronic equipments when being in use state Multiple samples of temporal information, use state are user after electronic equipment unlock, and electronic equipment is in the state worked normally. If a sample can be for electronic equipment when in use, 44 divide when historical position information is place 1 and historical time is 21.
In step S202, learning model building is carried out to historical position information and historical time information, generates predeterminated position Information and preset time period.
Wherein it is possible to by convolutional neural networks to the multiple historical position informations and historical event information of multiple samples Learning model building is carried out, artificial intelligence library is generated, and by artificial intelligence library, the biggish several historical position informations of probability of occurrence are true It is set to preset position information, such as preset position information can be place 1, place 2 and place 3.By historical time information Period compared with concentration determines preset time period, when such as preset time period can be 7 it is whole to 9 when 15 divide, 11 when 45 when dividing to 13 30 points and 18 when it is whole to 23 when 15 divide.
In step S203, when electronic equipment is in voice wake-up states, the status information of electronic equipment is acquired.
Wherein, when electronic equipment is in voice wake-up states, the status information of electronic equipment is acquired, the status information packet Location information and temporal information are included, 20 divide when the location information for such as acquiring electronic equipment is place 2 and temporal information is 21.
In step S204, the information about power of electronic equipment is obtained.
Wherein, electronic equipment is when comparision of quantity of electricity abundance, it may not be necessary to power consumption is saved, so obtaining electronics first The information about power of equipment, the information about power can be percents, if current electric quantity information is 90 percent.
In step S205, whether detection information about power is lower than preset threshold.
Wherein, the preset threshold be judge electric quantity for electronic equipment whether Chong Zu critical condition, such as 80 percent, work as inspection When measuring the information about power lower than preset threshold, illustrate that electricity is inadequate, executes step S206.When detecting the information about power not When lower than preset threshold, illustrate comparision of quantity of electricity abundance, do not need to save power consumption, directly execution step S208.
In step S206, judge whether location information is preset position information.
Wherein, which is that user often holds in place when judging location information is preset position information Row step S207 executes step S209 when judging location information not is preset position information.
In step S207, judge whether temporal information is in preset time period.
Wherein, which is that user often uses the period, when judging location information is preset position information, is said Bright electronic equipment further judges whether temporal information is in preset time period in common site, when judging at temporal information When preset time period, step S208 is executed, when judging that temporal information is not at preset time period, executes step S209.
In step S208, microphone is opened.
Wherein, when detecting information about power not less than preset threshold, illustrate comparision of quantity of electricity abundance, execute and open Mike Wind.Or when judging that location information is preset position information and judges that temporal information is in preset time period, explanation Electronic equipment is under the premise of common site, and also in the common period, electronic equipment is very high using probability, executes and opens wheat Gram wind, so that electronic equipment is by the voice messaging in the real-time monitoring condition of microphone, so that user can be controlled by speaking Electronic equipment processed.
In step S209, mute microphone (MIC).
Wherein, when judging location information not and being that preset position information or temporal information are not at preset time period, Illustrate electronic equipment not in common site or be not at the common period, electronic equipment is not high using probability, executes and closes wheat Gram wind, the waste of power consumption is caused to avoid the voice messaging in the real-time monitoring condition of microphone.
It can be seen from the above, a kind of control method of microphone provided in this embodiment, is existed by acquiring multiple electronic equipments Historical position information and historical time information when in use state carry out learning model building, and generation meets user's use habit Preset position information and preset time period acquire the position of electronic equipment when electronic equipment is in voice wake-up states Information and temporal information, and work as and judge that location information is that preset position information and temporal information are in preset time period When, microphone is opened, to acquire voice messaging, when judging location information not and be preset position information or temporal information not When in preset time period, mute microphone (MIC).It, can be according to electronic equipment with this when electronic equipment is in voice wake-up states Status information come choose whether open microphone, avoid the state that microphone is constantly in monitoring, save electronic equipment Electricity, improve the cruising ability of electronic equipment.
For the control method convenient for better implementation microphone provided by the embodiments of the present application, the embodiment of the present application is also provided A kind of device of the control method based on above-mentioned microphone.The wherein meaning of noun and phase in the control method of above-mentioned microphone Together, specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the module diagram of the control device of microphone provided by the embodiments of the present application.It is specific and Speech, the control device 300 of the microphone, including:Acquisition unit 31, judging unit 32, opening unit 33 and closing unit 34.
Acquisition unit 31, for acquiring the status information of the electronic equipment when electronic equipment is in voice wake-up states.
Further, after the electronic equipment opens voice arousal function, which is at voice and wakes up shape State, electronic equipment can continue the acoustic information of monitoring condition by microphone, and be analyzed the acoustic information listened to, sound The operation such as line feature extraction and vocal print feature verifying, so that can be rung accordingly according to the voice messaging of user in real time It answers, that is to say, that microphone is in running order always.
Based on this, acquisition unit 31 acquires the status information of electronic equipment when electronic equipment is in voice wake-up states, The status information indicates the use environment information of electronic equipment, can for the location of electronic equipment information, temporal information or Person's information about power etc..The status information may be the location of electronic equipment information and temporal information.
Judging unit 32, for judging whether the status information is preset state information.
Wherein, which is the default use environment information of electronic equipment, can be preset position information, in advance If period or default charge value etc..The preset state information may be preset position information and preset time letter Breath.
In some embodiments, which may include temporal information, which is specifically also used to sentence Whether the temporal information of breaking is in preset time period, when judging that the temporal information is in preset time period, is determined as the shape State information is that preset state information is determined as the status information not when judging that the temporal information is not at preset time period For preset state information.
In some embodiments, which can also include location information and temporal information, the judging unit 32, be specifically also used to judge whether the location information is preset position information, when judge the location information for predeterminated position letter When breath, judge whether the temporal information is in preset time period, when judging that the temporal information is in preset time period, determines It is preset state information for the status information, when judging the location information not and be preset position information or when judging this Between information when not being preset time period, being determined as the status information not is preset state information.
In some embodiments, before which executes, can also include:History acquisition unit (is not marked Know), for acquiring historical position information and historical time information of the electronic equipment when in use state.Modeling unit (not identifying), for carrying out learning model building to the historical position information and historical time information, generate preset position information with And preset time period.
Opening unit 33, for microphone being opened, to acquire language when judging the status information is preset state information Message breath.
Wherein, when opening unit 33 judges that status information is preset state information, illustrate the default ring of electronic equipment Border information is common environmental information, and user specially speaks, and the probability for generating voice messaging controlling electronic devices is bigger, at this point, Opening unit 33 opens the microphone on electronic equipment, the voice messaging in real-time monitoring condition.
Closing unit 34, for when judging the status information not is preset state information, mute microphone (MIC).
Wherein, when it is preset state information that closing unit 34, which judges status information not, illustrate the default of electronic equipment Environmental information is not common environmental information, and user specially speaks, and generating voice messaging controlling electronic devices, the probability is relatively small, this When, closing unit 34 closes the microphone on electronic equipment, saves power consumption.
Fig. 5 can be referred to together, and Fig. 5 is another module signal of the control device of microphone provided by the embodiments of the present application Figure, the control device 300 of the microphone can also include:
Wherein, which may include location information, which may include judgment sub-unit 321, One determines subelement 322 and the second judgement subelement 323.
Further, judgment sub-unit 321, for judging whether the location information is preset position information.First sentences Stator unit 322, for when judging the location information is preset position information, being determined as that the status information is preset state Information.The second judgement subelement 323, for being determined as the shape when judging the location information not is preset position information State information is not preset state information.
Acquiring unit 35, for obtaining the information about power of electronic equipment.
Detection unit 36, for detecting whether the information about power is lower than preset threshold.
The judging unit 32 is also used to when detecting the information about power lower than preset threshold, and execution judges that the state is believed Whether breath is preset state information.
The opening unit 34 is also used to execute when detecting the information about power not less than preset threshold and open microphone, To acquire voice messaging.
It can be seen from the above, a kind of control device of microphone provided in this embodiment, acquisition unit 31 when electronics by setting When for being in voice wake-up states, the status information of electronic equipment is acquired;Judging unit 32 judges whether status information is default Status information;When opening unit 33 judges that status information is preset state information, microphone is opened, to acquire voice letter Breath;When it is preset state information that closing unit 34, which judges status information not, mute microphone (MIC).With this when electronic equipment is in When voice wake-up states, it can be chosen whether to open microphone according to the status information of electronic equipment, avoid microphone one The straight state in monitoring, saves the electricity of electronic equipment, improves the cruising ability of electronic equipment.
The embodiment of the present application also provides a kind of electronic equipment.Referring to Fig. 6, electronic equipment 500 include processor 501 and Memory 502.Wherein, processor 501 and memory 502 are electrically connected.
The processor 500 is the control centre of electronic equipment 500, utilizes various interfaces and the entire electronic equipment of connection Various pieces, the computer program in memory 502 by operation or load store, and call and be stored in memory Data in 502 execute the various functions of electronic equipment 500 and handle data, to carry out whole prison to electronic equipment 500 Control.
The memory 502 can be used for storing software program and module, and processor 501 is stored in memory by operation 502 computer program and module, thereby executing various function application and data processing.Memory 502 can mainly include Storing program area and storage data area, wherein storing program area can computer needed for storage program area, at least one function Program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to electronic equipment The data etc. of creation.In addition, memory 502 may include high-speed random access memory, it can also include non-volatile memories Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also include Memory Controller, to provide access of the processor 501 to memory 502.
In the embodiment of the present application, the processor 501 in electronic equipment 500 can be according to following step, by one or one The corresponding instruction of the process of a above computer program is loaded into memory 502, and is stored in by the operation of processor 501 Computer program in reservoir 502, thus realize various functions, it is as follows:
When electronic equipment is in voice wake-up states, the status information of the electronic equipment is acquired;
Judge whether the status information is preset state information;
When judging the status information is preset state information, microphone is opened, to acquire voice messaging;
When judging the status information not is preset state information, mute microphone (MIC).
In some embodiments, which includes location information, is judging whether the status information is default shape When state information, processor 501 can specifically execute following steps:
Judge whether the location information is preset position information;
When judging the location information is preset position information, it is determined as that the status information is preset state information;
When judging the location information not is preset position information, being determined as the status information not is preset state letter Breath.
In some embodiments, which includes temporal information, is judging whether the status information is default shape When state information, processor 501 can specifically execute following steps:
Judge whether the temporal information is in preset time period;
When judging that the temporal information is in preset time period, it is determined as that the status information is preset state information;
When judging that the temporal information is not at preset time period, being determined as the status information not is preset state letter Breath.
In some embodiments, which includes location information and temporal information, is judging the status information Whether when being preset state information, processor 501 can specifically execute following steps:
Judge whether the location information is preset position information;
When judging the location information is preset position information, judge whether the temporal information is in preset time period;
When judging that the temporal information is in preset time period, it is determined as that the status information is preset state information;
When judging the location information not and be preset position information or when judging that the temporal information is not preset time Duan Shi, being determined as the status information not is preset state information.
In some embodiments, before the status information of acquisition electronic equipment, processor 501 can also be executed specifically Following steps:
Acquire historical position information and historical time information of the electronic equipment when being in use state;
Learning model building is carried out to the historical position information and historical time information, generate preset position information and is preset Period.
In some embodiments, before judging whether the status information be preset state information, processor 501 may be used also Specifically to execute following steps:
Obtain the information about power of electronic equipment;
Detect whether the information about power is lower than preset threshold;
When detecting the information about power lower than preset threshold, execution judges whether the status information is preset state information The step of;
When detecting the information about power not less than preset threshold, executes and open microphone, to acquire the step of voice messaging Suddenly.
It can be seen from the above, the electronic equipment of the embodiment of the present application, by adopting when electronic equipment is in voice wake-up states The status information of set electron equipment;Judge whether status information is preset state information;When judging that status information is default shape When state information, microphone is opened, to acquire voice messaging;When judging status information not is preset state information, wheat is closed Gram wind.With this when electronic equipment is in voice wake-up states, it can be chosen whether open according to the status information of electronic equipment Microphone is opened, the state that microphone is constantly in monitoring is avoided, saves the electricity of electronic equipment, improve electronic equipment Cruising ability.
Referring to Figure 7 together, in some embodiments, electronic equipment 500 can also include:Display 503, radio frequency electrical Road 504, voicefrequency circuit 505 and power supply 506.Wherein, wherein display 503, radio circuit 504, voicefrequency circuit 505 and Power supply 506 is electrically connected with processor 501 respectively.
The display 503 be displayed for information input by user or be supplied to user information and various figures User interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display 503 may include display panel, in some embodiments, can use liquid crystal display (Liquid Crystal Display, LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) match Set display panel.
The radio circuit 504 can be used for transceiving radio frequency signal, with by wireless communication with the network equipment or other electronics Equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The voicefrequency circuit 505 can be used for providing the audio between user and electronic equipment by loudspeaker, microphone and connecing Mouthful.
The power supply 506 is used to all parts power supply of electronic equipment 500.In some embodiments, power supply 506 can With logically contiguous by power-supply management system and processor 501, thus charged, discharged by power-supply management system realization management, And the functions such as power managed.
Although being not shown in Fig. 7, electronic equipment 500 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer When program is run on computers, so that the computer executes the control method of the microphone in any of the above-described embodiment, such as: When electronic equipment is in voice wake-up states, the status information of electronic equipment is acquired;Judge whether status information is default shape State information;When judging status information is preset state information, microphone is opened, to acquire voice messaging;When judging shape When state information is not preset state information, mute microphone (MIC).
In the embodiment of the present application, storage medium can be magnetic disk, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It should be noted that for the control method of the microphone of the embodiment of the present application, this field common test personnel It is understood that realize all or part of the process of the control method of the microphone of the embodiment of the present application, being can be by computer journey Sequence is completed to control relevant hardware, and the computer program can be stored in a computer-readable storage medium, such as deposit Storage executes in the memory of electronic equipment, and by least one processor in the electronic equipment, can wrap in the process of implementation Include the process of the embodiment of the control method such as microphone.Wherein, the storage medium can be magnetic disk, CD, read-only storage Device, random access memory etc..
For the control device of the microphone of the embodiment of the present application, each functional module be can integrate in a processing core In piece, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.On It states integrated module both and can take the form of hardware realization, can also be realized in the form of software function module.The collection If at module realized in the form of software function module and when sold or used as an independent product, also can store In one computer-readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of control method of microphone, device, storage medium and electronics provided by the embodiment of the present application are set above Standby to be described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art Member, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as the limitation to the application.

Claims (11)

1. a kind of control method of microphone, which is characterized in that including:
When electronic equipment is in voice wake-up states, the status information of the electronic equipment is acquired;
Judge whether the status information is preset state information;
When judging the status information is preset state information, microphone is opened, to acquire voice messaging;
When judging the status information not is preset state information, mute microphone (MIC).
2. the control method of microphone as described in claim 1, which is characterized in that the status information includes location information, It is described to judge the step of whether status information is preset state information, including:
Judge whether the location information is preset position information;
When judging the location information is preset position information, it is determined as that the status information is preset state information;
When judging the location information not is preset position information, being determined as the status information not is preset state letter Breath.
3. the control method of microphone as described in claim 1, which is characterized in that the status information includes temporal information, It is described to judge the step of whether status information is preset state information, including:
Judge whether the temporal information is in preset time period;
When judging that the temporal information is in preset time period, it is determined as that the status information is preset state information;
When judging that the temporal information is not at preset time period, being determined as the status information not is preset state letter Breath.
4. the control method of microphone as described in claim 1, which is characterized in that the status information include location information with And temporal information, it is described to judge the step of whether status information is preset state information, including:
Judge whether the location information is preset position information;
When judging the location information is preset position information, judge whether the temporal information is in preset time period;
When judging that the temporal information is in preset time period, it is determined as that the status information is preset state information;
When judging the location information not and be preset position information or when judging that the temporal information is not preset time Duan Shi, being determined as the status information not is preset state information.
5. the control method of microphone as claimed in claim 4, which is characterized in that the status information of the acquisition electronic equipment The step of before, further include:
Acquire historical position information and historical time information of the electronic equipment when being in use state;
Learning model building is carried out to the historical position information and historical time information, generate preset position information and it is default when Between section.
6. such as the control method of microphone described in any one of claim 1 to 5, which is characterized in that the judgement state Before the step of whether information is preset state information, further include:
Obtain the information about power of electronic equipment;
Detect whether the information about power is lower than preset threshold;
When detecting the information about power lower than preset threshold, execution judges whether the status information is preset state information The step of;
It when detecting the information about power not less than preset threshold, executes and opens microphone, the step of to acquire voice messaging.
7. a kind of control device of microphone, which is characterized in that including:
Acquisition unit, for acquiring the status information of the electronic equipment when electronic equipment is in voice wake-up states;
Judging unit, for judging whether the status information is preset state information;
Opening unit, for opening microphone when judging the status information is preset state information, to acquire voice letter Breath;
Closing unit, for when judging the status information not is preset state information, mute microphone (MIC).
8. the control device of microphone as claimed in claim 7, which is characterized in that the status information includes location information, The judging unit, including:
Judgment sub-unit, for judging whether the location information is preset position information;
First determines subelement, for when judging the location information is preset position information, being determined as the state letter Breath is preset state information;
Second determines subelement, for being determined as the state when judging the location information not is preset position information Information is not preset state information.
9. such as the control device of the described in any item microphones of claim 7 to 8, which is characterized in that described device further includes obtaining Take unit and detection unit:
Acquiring unit, for obtaining the information about power of electronic equipment;
Detection unit, for detecting whether the information about power is lower than preset threshold;
The judging unit is also used to when detecting the information about power lower than preset threshold, and execution judges the state letter Whether breath is preset state information;
The opening unit is also used to execute when detecting the information about power not less than preset threshold and open microphone, with Acquire voice messaging.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program is in computer When upper operation, so that the computer executes the control method such as microphone as claimed in any one of claims 1 to 6.
11. a kind of electronic equipment, including processor and memory, the memory have computer program, which is characterized in that described Processor is by calling the computer program, for executing the controlling party such as microphone as claimed in any one of claims 1 to 6 Method.
CN201810630346.8A 2018-06-19 2018-06-19 Control method, device, storage medium and the electronic equipment of microphone Pending CN108848264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810630346.8A CN108848264A (en) 2018-06-19 2018-06-19 Control method, device, storage medium and the electronic equipment of microphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810630346.8A CN108848264A (en) 2018-06-19 2018-06-19 Control method, device, storage medium and the electronic equipment of microphone

Publications (1)

Publication Number Publication Date
CN108848264A true CN108848264A (en) 2018-11-20

Family

ID=64203158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810630346.8A Pending CN108848264A (en) 2018-06-19 2018-06-19 Control method, device, storage medium and the electronic equipment of microphone

Country Status (1)

Country Link
CN (1) CN108848264A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338484A (en) * 2020-03-27 2020-06-26 乌鲁木齐明华智能电子科技有限公司 Self-learning man-machine interaction method
CN111338457A (en) * 2020-03-13 2020-06-26 RealMe重庆移动通信有限公司 Mobile terminal control method, mobile terminal control device and mobile terminal
CN111831100A (en) * 2020-07-06 2020-10-27 Oppo广东移动通信有限公司 Electronic device control method and device, storage medium and electronic device
CN112218201A (en) * 2020-09-30 2021-01-12 珠海格力电器股份有限公司 Monitoring method, device, equipment and storage medium
CN113012692A (en) * 2021-01-28 2021-06-22 广州朗国电子科技有限公司 Intelligent household appliance, voice control method and storage device
CN113038214A (en) * 2021-03-03 2021-06-25 深圳创维-Rgb电子有限公司 Standby control method, terminal device and readable storage medium
CN113497995A (en) * 2020-04-08 2021-10-12 华为技术有限公司 Microphone array control method and device, electronic equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578474A (en) * 2013-10-25 2014-02-12 小米科技有限责任公司 Method, device and equipment for voice control
WO2015184828A1 (en) * 2014-10-20 2015-12-10 中兴通讯股份有限公司 Terminal having plurality of mics, mic setting method therefor and sound quality enhancement method
CN105786604A (en) * 2016-03-01 2016-07-20 上海卓易科技股份有限公司 Application opening method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578474A (en) * 2013-10-25 2014-02-12 小米科技有限责任公司 Method, device and equipment for voice control
WO2015184828A1 (en) * 2014-10-20 2015-12-10 中兴通讯股份有限公司 Terminal having plurality of mics, mic setting method therefor and sound quality enhancement method
CN105786604A (en) * 2016-03-01 2016-07-20 上海卓易科技股份有限公司 Application opening method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338457A (en) * 2020-03-13 2020-06-26 RealMe重庆移动通信有限公司 Mobile terminal control method, mobile terminal control device and mobile terminal
CN111338484A (en) * 2020-03-27 2020-06-26 乌鲁木齐明华智能电子科技有限公司 Self-learning man-machine interaction method
CN113497995A (en) * 2020-04-08 2021-10-12 华为技术有限公司 Microphone array control method and device, electronic equipment and computer storage medium
CN113497995B (en) * 2020-04-08 2023-04-04 华为技术有限公司 Microphone array control method and device, electronic equipment and computer storage medium
CN111831100A (en) * 2020-07-06 2020-10-27 Oppo广东移动通信有限公司 Electronic device control method and device, storage medium and electronic device
CN111831100B (en) * 2020-07-06 2022-03-22 Oppo广东移动通信有限公司 Electronic device control method and device, storage medium and electronic device
CN112218201A (en) * 2020-09-30 2021-01-12 珠海格力电器股份有限公司 Monitoring method, device, equipment and storage medium
CN112218201B (en) * 2020-09-30 2022-02-11 珠海格力电器股份有限公司 Monitoring method, device, equipment and storage medium
WO2022068113A1 (en) * 2020-09-30 2022-04-07 珠海格力电器股份有限公司 Monitoring method and apparatus, and device and storage medium
CN113012692A (en) * 2021-01-28 2021-06-22 广州朗国电子科技有限公司 Intelligent household appliance, voice control method and storage device
CN113038214A (en) * 2021-03-03 2021-06-25 深圳创维-Rgb电子有限公司 Standby control method, terminal device and readable storage medium

Similar Documents

Publication Publication Date Title
CN108848264A (en) Control method, device, storage medium and the electronic equipment of microphone
JP7101322B2 (en) Voice trigger for digital assistant
CN110288978B (en) Speech recognition model training method and device
CN107644642B (en) Semantic recognition method and device, storage medium and electronic equipment
KR101726945B1 (en) Reducing the need for manual start/end-pointing and trigger phrases
CN106201424B (en) A kind of information interacting method, device and electronic equipment
CN109192210B (en) Voice recognition method, wake-up word detection method and device
CN108810280A (en) Processing method, device, storage medium and the electronic equipment of voice collecting frequency
US20150127345A1 (en) Name Based Initiation of Speech Recognition
CN108108142A (en) Voice information processing method, device, terminal device and storage medium
CN107464557A (en) Call recording method, device, mobile terminal and storage medium
CN110890093A (en) Intelligent device awakening method and device based on artificial intelligence
CN108922525B (en) Voice processing method, device, storage medium and electronic equipment
CN110570840B (en) Intelligent device awakening method and device based on artificial intelligence
CN103077721A (en) Voice memorandum method of mobile terminal and mobile terminal
CN108806684B (en) Position prompting method and device, storage medium and electronic equipment
CN108712566A (en) A kind of voice assistant awakening method and mobile terminal
CN109286728B (en) Call content processing method and terminal equipment
KR20190009488A (en) An electronic device and system for deciding a duration of receiving voice input based on context information
CN108924343A (en) Control method of electronic device, device, storage medium and electronic equipment
CN110175016A (en) Start the method for voice assistant and the electronic device with voice assistant
CN108600559B (en) Control method and device of mute mode, storage medium and electronic equipment
CN107403623A (en) Store method, terminal, Cloud Server and the readable storage medium storing program for executing of recording substance
CN111684783A (en) Automatically performing actions by a mobile computing device
CN107295193B (en) Ring control method, ring control device, storage medium and electronic equipment

Legal Events

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

Application publication date: 20181120

RJ01 Rejection of invention patent application after publication