CN109873906A - A kind of wireless headset control method, system and electronic equipment and storage medium - Google Patents
A kind of wireless headset control method, system and electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109873906A CN109873906A CN201910324022.6A CN201910324022A CN109873906A CN 109873906 A CN109873906 A CN 109873906A CN 201910324022 A CN201910324022 A CN 201910324022A CN 109873906 A CN109873906 A CN 109873906A
- Authority
- CN
- China
- Prior art keywords
- wireless headset
- information
- host
- preset condition
- context information
- 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
Links
Landscapes
- Telephone Function (AREA)
- Headphones And Earphones (AREA)
Abstract
This application discloses a kind of wireless headset control method, system and a kind of electronic equipment and computer readable storage mediums, this method comprises: when receiving current call, current context information is obtained, and determines whether host meets the first preset condition according to the current context information;Wherein, first preset condition includes at least and has connected wireless headset and the wireless headset is pleasant;The incoming number of the current call is obtained, and determines whether the incoming number meets the second preset condition;If being all satisfied, the current call is answered, and the telephony stream of the current call is exported by the wireless headset.It can be seen that wireless headset control method provided by the present application, the auto-pickup of incoming call is realized based on wireless headset, sense that the user experience is improved.
Description
Technical field
This application involves ear phone technology fields, more specifically to a kind of wireless headset control method, system and one kind
Electronic equipment and a kind of computer readable storage medium.
Background technique
Wireless headset generally comprises Bluetooth chip, is connected by Bluetooth protocol with the hosts such as such as mobile phone, smartwatch.When depositing
In phone incoming call, the confirmation of manually operated wireless headset is answered, and wireless headset is sent to host by Bluetooth transmission and instructed,
Host incoming call answering, telephony stream are exported by wireless headset.Above scheme needs manually receive calls, and user experience is bad.
Therefore, how to realize that auto-pickup of sending a telegram here is that those skilled in the art need the technology solved to ask based on wireless headset
Topic.
Summary of the invention
The application's is designed to provide a kind of wireless headset control method, system and a kind of electronic equipment and a kind of calculating
Machine readable storage medium storing program for executing realizes incoming call auto-pickup based on wireless headset.
To achieve the above object, this application provides a kind of wireless headset control methods, comprising:
When receiving current call, current context information is obtained, and determine that host is according to the current context information
The first preset condition of no satisfaction;Wherein, first preset condition includes at least and has connected wireless headset and the wireless headset
It is pleasant;
The incoming number of the current call is obtained, and determines whether the incoming number meets the second preset condition;
If being all satisfied, the current call is answered, and the telephony stream of the current call is passed through into the wireless headset
Output.
Wherein, second preset condition includes the incoming number that the incoming number is non-malicious phone, and/or, institute
The history for stating the corresponding incoming person of incoming number answers record satisfaction and answers condition.
It is wherein, described to determine whether host meets the first preset condition according to the current context information, comprising:
When detect have connected wireless headset when, judge whether the capacitance touch button of the wireless headset detects human body
It touches or whether temperature sensor detects human body temperature;
If so, determining that host has connected wireless headset and the wireless headset is pleasant.
Wherein, the current context information includes appointing in the status information of light information, audio-frequency information and the host
One or appoint several combinations.
Wherein, if the current context information includes the light information, the acquisition current context information, and according to
The current context information determines whether host meets the first preset condition, comprising:
The light information is obtained by the light sensor of the wireless headset, and determines whether the light information is full
The light condition on sufficient daytime.
Wherein, if the current context information includes the status information of the host, the acquisition current context information,
And determine whether host meets the first preset condition according to the current context information, comprising:
Determine whether the host is non-mute mode according to the status information of the host.
Wherein, if the current context information includes audio-frequency information, the acquisition current context information, and according to described
Current context information determines whether host meets the first preset condition, comprising:
The audio-frequency information is obtained by the microphone of the wireless headset;
Sound frequency curve is determined according to the audio-frequency information, and determines whether the sound frequency curve meets the non-sound of snoring
Feature.
Wherein, if the current context information includes audio-frequency information and motion information, the acquisition current context information,
And determine whether host meets the first preset condition according to the current context information, comprising:
The audio-frequency information is obtained by the microphone of the wireless headset, passes through the motion sensor of the wireless headset
Obtain the motion information;
Judge whether the wireless headset is in nonstatic state according to the motion information;
If so, determining whether the host meets the first preset condition;
If it is not, then when there are when audio stream, determine the first preset condition of the host satisfaction in the audio-frequency information.
To achieve the above object, this application provides a kind of wireless headset control systems, comprising:
First determining module, for obtaining current context information, and work as front ring according to described when receiving current call
Border information determines whether host meets the first preset condition;Wherein, first preset condition includes at least host and has connected nothing
The line earphone and wireless headset is pleasant;
Second determining module for obtaining the incoming number of the current call, and determines whether the incoming number is full
The second preset condition of foot;
Module is answered, it is described for answering when meeting first preset condition and second preset condition simultaneously
Current call, and the telephony stream of the current call is exported by the wireless headset.
To achieve the above object, this application provides a kind of electronic equipment, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of above-mentioned wireless headset control method.
To achieve the above object, this application provides a kind of computer readable storage medium, the computer-readable storages
It is stored with computer program on medium, such as above-mentioned wireless headset control method is realized when the computer program is executed by processor
The step of.
By above scheme it is found that a kind of wireless headset control method provided by the present application, comprising: work as to come when receiving
When electric, current context information is obtained, and determine whether host meets the first preset condition according to the current context information;Its
In, first preset condition includes at least and has connected wireless headset and the wireless headset is pleasant;Work as to come described in obtaining
The incoming number of electricity, and determine whether the incoming number meets the second preset condition;If being all satisfied, answer described when coming
Electricity, and the telephony stream of the current call is exported by the wireless headset.
Wireless headset control method provided by the present application is provided with both sides condition for incoming call sound, on the one hand foundation
Environmental information, when host has connected wireless headset and detects that the wireless headset is pleasant, it is believed that it is default to meet first
Condition.On the other hand according to the incoming number of current call, which needs to meet the second preset condition.Work as current call
When meeting above-mentioned condition, the telephony stream of host auto-pickup, current call is exported by wireless headset.It can be seen that the application
The wireless headset control method of offer, the auto-pickup of incoming call is realized based on wireless headset, sense that the user experience is improved.This Shen
A kind of wireless headset control system and a kind of electronic equipment and a kind of computer readable storage medium please be also disclose, it equally can be real
Existing above-mentioned technical effect.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Application.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.Attached drawing is and to constitute specification for providing further understanding of the disclosure
A part, be used to explain the disclosure together with following specific embodiment, but do not constitute the limitation to the disclosure.Attached
In figure:
Fig. 1 is a kind of flow chart of wireless headset control method shown according to an exemplary embodiment;
Fig. 2 is the flow chart of another wireless headset control method shown according to an exemplary embodiment;
Fig. 3 is a kind of structure chart of wireless headset control system shown according to an exemplary embodiment;
Fig. 4 is the structure chart according to a kind of electronic equipment shown in an exemplary embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
In the prior art, need to be manually operated wireless headset with incoming call answering, user experience is bad.Therefore, at this
In application, it is provided with both sides condition for incoming call sound, when host meets the first preset condition, the telephone number of current call
When meeting the second preset condition, automatic call answering, telephony stream is exported by wireless headset, realizes incoming call based on wireless headset
Auto-pickup.
The embodiment of the present application discloses a kind of wireless headset control method, realizes incoming call based on wireless headset and connects automatically
It listens.
Referring to Fig. 1, a kind of flow chart of wireless headset control method shown according to an exemplary embodiment, such as Fig. 1 institute
Show, comprising:
S101: when receiving current call, current context information is obtained, and determine and lead according to the current context information
Whether machine meets the first preset condition;Wherein, first preset condition, which includes at least, has connected wireless headset and described wireless
Earphone is pleasant;
The executing subject of the present embodiment is host, such as mobile phone, smartwatch, wherein include Bluetooth chip, it can be with nothing
Line earphone carries out pairing connection.In this step, the condition in terms of being provided with environment for incoming call sound, i.e. the first preset condition.
Environmental information herein may include the data of the charging box acquisition of host, wireless headset and wireless headset.The number of host acquisition
According to the status information that can be host, which describes the present mode of host, such as silent mode, bell mode.Nothing
The data of line earphone acquisition may include temperature information, the light of the information of capacitance touch button acquisition, temperature sensor acquisition
Light information and audio-frequency information, the motion information of motion sensor acquisition of microphone acquisition of sensor acquisition etc., charging box
The data of acquisition also may include light information and motion information etc..
When detecting current call incoming call, judge whether host connects wireless headset, if so, to the wireless headset into
The pleasant detection of row.Specifically, whether can detect human body touch or temperature sensing by the capacitance touch button of wireless headset
Whether device detects that human body temperature is judged, if so, illustrate that wireless headset is pleasant, it can be (Chinese complete by AVRCP
Claim: audio/video is remotely controlled specification, full name in English: Audio/Video Remote Control Profile) judging result is sent out
It send to host side.Certainly before whether host connects wireless headset, can also include judge the corresponding charging box of host whether by
It opens, when the light sensor of the charging box detects the luminous intensity of exposed earphone, illustrates that charging box is turned on, open this and fill
The bluetooth of the corresponding wireless headset of electric box, so that host connects wireless headset.
It should be noted that the first preset condition in this step can only include above-mentioned condition, i.e., only comprising having connected
The wireless headset and wireless headset is pleasant, also may include other conditions, the present embodiment is without without specifically limiting.
S102: the incoming number of the current call is obtained, and determines whether the incoming number meets the second default item
Part;
In this step, the condition in terms of being provided with incoming number for incoming call sound, i.e. the second preset condition, the present embodiment
Second preset condition is not limited specifically.For example, it is non-malicious phone that the second preset condition, which may include incoming number,
Incoming number.Specifically, user can preset blacklist or white list in address list, not in blacklist or in white list
Number be non-malicious number.And the number for being not present in blacklist and white list, general database can be passed through
Or the format of incoming number judges whether it is harassing call or fraudulent call, if so, being unsatisfactory for the second preset condition.
For another example, the second preset condition can also answer record satisfaction including the history of the corresponding incoming person of incoming number and answer
Condition.Specifically, obtain the address list being locally stored first, when, there are when the incoming number, calling the incoming call number in address list
The history of the corresponding incoming person of code answers record.It, and can it is understood that incoming person and number can be one-to-one relationship
Think one-to-many relationship.For example, incoming person A corresponds to two numbers, respectively number 1 and number 2, when incoming number is number
It when 1, can only call the history of number 1 to answer record, the history of number 1 and number 2 can also be called to answer record simultaneously.Sentence
Disconnected history answers whether record meets the condition of answering, and is not limited specifically the condition of answering herein.Rejection number can be limited,
It is unsatisfactory for the condition of answering when being more than preset value such as rejection, rejection ratio can also be limited, as being discontented with when rejection is more than preset ratio
Foot answers condition.
It should be noted that above-mentioned introduction judges whether incoming number meets the process of the second preset condition, master is executed
Body can may be wireless headset for host.When executing subject is host, the address list being locally stored and other letters are called
Breath, is judged in conjunction with incoming number, generates testing result.When executing subject is wireless headset, host is by local address book
It is sent to wireless headset with incoming number, wireless headset combination other information is judged, is generated testing result and is returned to host.
It is understood that step S101 and step S102 may be performed simultaneously there is no the sequencing in step,
It can successively execute.
S103: when meeting first preset condition and second preset condition simultaneously, answering the current call,
And the telephony stream of the current call is exported by the wireless headset.
In this step, host collects all testing results, the testing result that generates including itself and wireless headset, fills
It is pre- to meet above-mentioned steps received first when testing result is to answer current call simultaneously for the testing result that electric box generates
If when condition and the second preset condition, answering current call, telephony stream is exported by wireless headset, and telephony stream can pass through HFP
(Chinese name: hands-free specification, full name in English: Hands-Free-Profile) is transmitted between host and wireless headset.
Wireless headset control method provided by the embodiments of the present application is provided with both sides condition, a side for incoming call sound
Face is according to environmental information, when host has connected wireless headset and detects that the wireless headset is pleasant, it is believed that meets the
One preset condition.On the other hand according to the incoming number of current call, which needs to meet the second preset condition.When working as
When preceding incoming call meets above-mentioned condition, the telephony stream of host auto-pickup, current call is exported by wireless headset.It can be seen that
Wireless headset control method provided by the embodiments of the present application, the auto-pickup of incoming call is realized based on wireless headset, improves use
Family experience sense.
On the basis of the above embodiments, the first preset condition can also include other content, introduce in detail below,
It is specific:
If current context information includes above-mentioned light information, current context information is obtained, and work as front ring according to described
Border information determines that the step of whether host meets the first preset condition includes: to obtain by the light sensor of the wireless headset
The light information, and determine whether the light information meets the light condition on daytime.
In this scheme, the first preset condition further includes the light condition whether light information meets daytime, can when meeting
To receive calls, it will test result and be sent to host side.Preferably, it can judge that the light of wireless headset and charging box passes simultaneously
Whether the light information that sensor is got meets the light condition on daytime, if being to be determined as daytime, wireless headset and charging
Box will test result respectively and be sent to host side.
If current context information includes the status information of the host, current context information is obtained, and work as according to described
Preceding environmental information determines that the step of whether host meets the first preset condition includes: to determine institute according to the status information of the host
State whether host is non-mute mode.
In this scheme, the first preset condition further includes whether current configuration mode is non-mute mode, and current matches
The mode of setting can be determined according to the status information of host, and non-mute mode herein includes the mode that can be received calls,
User can be configured in advance.
If current context information includes audio-frequency information, current context information is obtained, and according to the current context information
Determine that the step of whether host meets the first preset condition includes: to obtain the audio letter by the microphone of the wireless headset
Breath;Sound frequency curve is determined according to the audio-frequency information, and determines whether the sound frequency curve meets non-sound of snoring feature.
In this scheme, the first preset condition further includes whether the wearer of wireless headset is in non-sleep state.For
The judgement of non-sleep state can use the audio-frequency information of the microphone acquisition of wireless headset, according to the audio-frequency information generation sound
Voice frequency curve illustrates wearer in a dormant state when the sound frequency curve meets sound of snoring feature, otherwise stops in non-
Breath state can carry out telephone receiving.
It further include motion information if the current context information not only includes audio-frequency information, then the acquisition current environment
Information, and determine that the step of whether host meets the first preset condition includes: by the nothing according to the current context information
The microphone of line earphone obtains the audio-frequency information, obtains the motion information by the motion sensor of the wireless headset;
Judge whether the wireless headset is in nonstatic state according to the motion information;If so, determining whether the host is full
The first preset condition of foot;If it is not, then when there are when audio stream, determine the first default item of the host satisfaction in the audio-frequency information
Part.
In this scheme, the first preset condition further includes whether the wearer of wireless headset is in non-resting state.Pass through
The motion information that the motion sensor of wireless headset obtains judges whether wireless headset is in nonstatic state, if so, explanation
Wearer is in non-resting state, if it is not, then judging in audio-frequency information with the presence or absence of A2DP (Chinese name: advanced audio transmission
Specification, full name in English: Advanced Audio Distribution Profile) etc. audio streams, and if it exists, illustrate wearer
In non-resting state, otherwise illustrate that wearer is in resting state.
It should be noted that those skilled in the art can be according to the actual situation according to above-mentioned for the first preset condition
It introduces and different quantity, type and judgement sequence is set, herein without specifically limiting.
The embodiment of the present application discloses a kind of wireless headset control method, and relative to above-described embodiment, the present embodiment is to skill
Art scheme has made further instruction and optimization.It is specific:
Referring to fig. 2, the flow chart of another wireless headset control method shown according to an exemplary embodiment, such as Fig. 2
It is shown, comprising:
S201: when receiving current call, whether detection host connects wireless headset;If so, into S202;If
It is no, then terminate process;
S202: judge whether the capacitance touch button of the wireless headset detects whether are human body touch or temperature sensor
Detect human body temperature;If so, into S203;If it is not, then terminating process;
S203: the light information is obtained by the light sensor of the wireless headset, and determines the light information
Whether the light condition on daytime is met;If so, into S204;If it is not, then entering S211;
S204: determine whether the host is non-mute mode according to the status information of the host;If so, into
S205;If it is not, then entering S211;
S205: the sound frequency curve is obtained by the microphone of the wireless headset, and determines the sound frequency
Whether curve meets non-sound of snoring feature;If so, into S206;If it is not, then entering S211;
S206: the motion information is obtained by the motion sensor of wireless headset, and is determined according to the motion information
Whether wearer is in nonstatic state;If so, into S208;If it is not, then entering S207;
S207: judge in the audio-frequency information with the presence or absence of audio stream;If so, into S208;If it is not, then entering
S211;
S208: obtaining the incoming number of the current call, and judges whether the incoming number is non-malicious phone
Incoming number;If so, into S209;If it is not, then entering S211;
S209: judge that the history of the corresponding incoming person of the incoming number answers whether record meets the condition of answering;If so,
Then enter S210;If it is not, then entering S211;
S210: the current call is answered, and the telephony stream of the current call is exported by the wireless headset;
S211: current call described in rejection.
A kind of wireless headset control system provided by the embodiments of the present application is introduced below, a kind of nothing described below
Line earphone control system can be cross-referenced with a kind of above-described wireless headset control method.
Referring to Fig. 3, a kind of structure chart of wireless headset control system shown according to an exemplary embodiment, such as Fig. 3 institute
Show, comprising:
First determining module 301, for obtaining current context information, and work as according to described when receiving current call
Preceding environmental information determines whether host meets the first preset condition;Wherein, first preset condition includes at least host and has connected
It connects wireless headset and the wireless headset is pleasant;
Whether second determining module 302 for obtaining the incoming number of the current call, and determines the incoming number
Meet the second preset condition;
Module 303 is answered, for answering institute when meeting first preset condition and second preset condition simultaneously
Current call is stated, and the telephony stream of the current call is exported by the wireless headset.
Wireless headset control system provided by the embodiments of the present application is provided with both sides condition, a side for incoming call sound
Face is according to environmental information, when host has connected wireless headset and detects that the wireless headset is pleasant, it is believed that meets the
One preset condition.On the other hand according to the incoming number of current call, which needs to meet the second preset condition.When working as
When preceding incoming call meets above-mentioned condition, the telephony stream of host auto-pickup, current call is exported by wireless headset.It can be seen that
Wireless headset control system provided by the embodiments of the present application, the auto-pickup of incoming call is realized based on wireless headset, improves use
Family experience sense.
On the basis of the above embodiments, second preset condition includes described next as a preferred implementation manner,
Electric number is the incoming number of non-malicious phone, and/or, the history of the corresponding incoming person of the incoming number is answered record and is met
Answer condition.
On the basis of the above embodiments, first determining module 301 includes: as a preferred implementation manner,
First acquisition unit, for obtaining current context information when receiving current call;
First judging unit, for when detect have connected wireless headset when, judge the capacitance touch of the wireless headset
Whether key detects whether human body touch or temperature sensor detect human body temperature;If so, determining that host has connected nothing
The line earphone and wireless headset is pleasant.
On the basis of the above embodiments, the current context information includes light letter as a preferred implementation manner,
Breath, audio-frequency information and the host any one of status information or appoint several combinations.
On the basis of the above embodiments, if the current context information includes described as a preferred implementation manner,
Light information, then first determining module 301 obtains the light specifically by the light sensor of the wireless headset
Information, and determine whether the light information meets the module of the light condition on daytime.
On the basis of the above embodiments, if the current context information includes described as a preferred implementation manner,
The status information of host, then first determining module 301 is specially to determine the host according to the status information of the host
Whether be non-mute mode module.
On the basis of the above embodiments, if the current context information includes audio as a preferred implementation manner,
Information, then first determining module 301 obtains the audio-frequency information specifically by the microphone of the wireless headset;According to
The audio-frequency information determines sound frequency curve, and determines whether the sound frequency curve meets the module of non-sound of snoring feature.
On the basis of the above embodiments, if the current context information includes audio as a preferred implementation manner,
Information and motion information, then first determining module 301 include:
Second acquisition unit passes through the nothing for obtaining the audio-frequency information by the microphone of the wireless headset
The motion sensor of line earphone obtains the motion information;
Second judgment unit, for judging whether the wireless headset is in nonstatic state according to the motion information;
If so, determining whether the host meets the first preset condition;If it is not, then when in the audio-frequency information there are when audio stream,
Determine that the host meets the first preset condition.
About the system in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Present invention also provides a kind of electronic equipment, referring to fig. 4, a kind of electronic equipment 400 provided by the embodiments of the present application
Structure chart, as shown in figure 4, may include processor 11 and memory 12.The electronic equipment 400 can also include multimedia group
Part 13, one or more of input/output (I/O) interface 14 and communication component 15.
Wherein, processor 11 is used to control the integrated operation of the electronic equipment 400, to complete above-mentioned wireless headset control
All or part of the steps in method.Memory 12 is for storing various types of data to support in the electronic equipment 400
Operation, these data for example may include the instruction of any application or method for operating on the electronic equipment 400,
And the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory
12 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static random-access
Memory (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory
(Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable
Read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory
(Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as
ROM), magnetic memory, flash memory, disk or CD.Multimedia component 13 may include screen and audio component.Wherein shield
Curtain for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include one
A microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in memory
It 12 or is sent by communication component 15.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O interface
14 provide interface between processor 11 and other interface modules, other above-mentioned interface modules can be keyboard, mouse, button
Deng.These buttons can be virtual push button or entity button.Communication component 15 for the electronic equipment 400 and other equipment it
Between carry out wired or wireless communication.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field
Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication
Component 15 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 400 can be by one or more application specific integrated circuit
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part is realized, for executing above-mentioned wireless headset control method.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should
The step of above-mentioned wireless headset control method is realized when program instruction is executed by processor.For example, the computer-readable storage medium
Matter can be the above-mentioned memory 12 including program instruction, and above procedure instruction can be executed by the processor 11 of electronic equipment 400
To complete above-mentioned wireless headset control method.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also
Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application
It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (11)
1. a kind of wireless headset control method characterized by comprising
When receiving current call, current context information is obtained, and determine whether host is full according to the current context information
The first preset condition of foot;Wherein, first preset condition includes at least and has connected wireless headset and the wireless headset has entered
Ear;
The incoming number of the current call is obtained, and determines whether the incoming number meets the second preset condition;
If being all satisfied, the current call is answered, and the telephony stream of the current call is exported by the wireless headset.
2. wireless headset control method according to claim 1, which is characterized in that second preset condition includes described next
Electric number is the incoming number of non-malicious phone, and/or, the history of the corresponding incoming person of the incoming number is answered record and is met
Answer condition.
3. wireless headset control method according to claim 1, which is characterized in that described true according to the current context information
Determine whether host meets the first preset condition, comprising:
When detect have connected wireless headset when, judge whether the capacitance touch button of the wireless headset detects human body touch
Or whether temperature sensor detects human body temperature;
If so, determining that host has connected wireless headset and the wireless headset is pleasant.
4. wireless headset control method according to any one of claims 1 to 3, which is characterized in that the current environment letter
Breath includes any one of light information, the status information of audio-frequency information and the host or appoints several combinations.
5. wireless headset control method according to claim 4, which is characterized in that if the current context information includes described
Light information, then the acquisition current context information, and it is pre- according to the current context information to determine whether host meets first
If condition, comprising:
The light information is obtained by the light sensor of the wireless headset, and it is white to determine whether the light information meets
It light condition.
6. wireless headset control method according to claim 4, which is characterized in that if the current context information includes described
The status information of host, then the acquisition current context information, and determine whether host meets according to the current context information
First preset condition, comprising:
Determine whether the host is non-mute mode according to the status information of the host.
7. wireless headset control method according to claim 4, which is characterized in that if the current context information includes audio
Information, then the acquisition current context information, and determine whether host meets the first default item according to the current context information
Part, comprising:
The audio-frequency information is obtained by the microphone of the wireless headset;
Sound frequency curve is determined according to the audio-frequency information, and it is special to determine whether the sound frequency curve meets the non-sound of snoring
Sign.
8. wireless headset control method according to claim 4, which is characterized in that if the current context information includes audio
Information and motion information, then the acquisition current context information, and determine whether host meets according to the current context information
First preset condition, comprising:
The audio-frequency information is obtained by the microphone of the wireless headset, is obtained by the motion sensor of the wireless headset
The motion information;
Judge whether the wireless headset is in nonstatic state according to the motion information;
If so, determining whether the host meets the first preset condition;
If it is not, then when there are when audio stream, determine the first preset condition of the host satisfaction in the audio-frequency information.
9. a kind of wireless headset control system characterized by comprising
First determining module is believed for when receiving current call, obtaining current context information, and according to the current environment
It ceases and determines whether host meets the first preset condition;Wherein, first preset condition includes at least host and has connected wireless ear
The machine and wireless headset is pleasant;
Second determining module for obtaining the incoming number of the current call, and determines whether the incoming number meets the
Two preset conditions;
Module is answered, it is described current for answering when meeting first preset condition and second preset condition simultaneously
Incoming call, and the telephony stream of the current call is exported by the wireless headset.
10. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the wireless headset controlling party as described in any one of claim 1 to 8 when for executing the computer program
The step of method.
11. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the wireless headset control method as described in any one of claim 1 to 8 when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910324022.6A CN109873906A (en) | 2019-04-22 | 2019-04-22 | A kind of wireless headset control method, system and electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910324022.6A CN109873906A (en) | 2019-04-22 | 2019-04-22 | A kind of wireless headset control method, system and electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109873906A true CN109873906A (en) | 2019-06-11 |
Family
ID=66922904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910324022.6A Pending CN109873906A (en) | 2019-04-22 | 2019-04-22 | A kind of wireless headset control method, system and electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109873906A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111698371A (en) * | 2020-06-05 | 2020-09-22 | 北京搜狗科技发展有限公司 | Voice broadcasting method and device, earphone and server |
CN116887117A (en) * | 2023-08-08 | 2023-10-13 | 深圳市星科启创新科技有限公司 | Control method and device of wireless earphone, wireless earphone and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104868932A (en) * | 2015-04-30 | 2015-08-26 | 青岛歌尔声学科技有限公司 | Wearable electronic equipment, communication method and device thereof |
CN105187663A (en) * | 2015-09-28 | 2015-12-23 | 努比亚技术有限公司 | Method and terminal for automatic calls |
-
2019
- 2019-04-22 CN CN201910324022.6A patent/CN109873906A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104868932A (en) * | 2015-04-30 | 2015-08-26 | 青岛歌尔声学科技有限公司 | Wearable electronic equipment, communication method and device thereof |
CN105187663A (en) * | 2015-09-28 | 2015-12-23 | 努比亚技术有限公司 | Method and terminal for automatic calls |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111698371A (en) * | 2020-06-05 | 2020-09-22 | 北京搜狗科技发展有限公司 | Voice broadcasting method and device, earphone and server |
CN116887117A (en) * | 2023-08-08 | 2023-10-13 | 深圳市星科启创新科技有限公司 | Control method and device of wireless earphone, wireless earphone and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100585705B1 (en) | Method for displaying residual quantity of battery in the bluetooth headset | |
CN104380254B (en) | The quick method and terminal for starting application service | |
JP5845453B1 (en) | Surveillance camera system | |
US7460664B2 (en) | Handsfree system and incoming call answering method in handsfree system | |
US10630826B2 (en) | Information processing device | |
CN105100484B (en) | A kind of methods, devices and systems for terminating voice call | |
CN104837154B (en) | The control method and device of wireless access points | |
CN102377871A (en) | Information processing equipment and control method thereof | |
CN105072280A (en) | Processing method and system for mobile terminal to automatically hang up | |
CN105656523A (en) | Bluetooth master device, incoming call processing method and device of the same | |
CN106936993A (en) | Terminal screen control method and device | |
CN105915521A (en) | Multi-party communication management method, device and terminal | |
CN106657645A (en) | Call request processing method and device, calling method and device, and related terminal | |
CN107135305B (en) | Message reminding method, device and terminal | |
CN115190197A (en) | Bluetooth headset-based communication method and device and storage medium | |
CN109903765A (en) | Sound control method and device | |
CN109873906A (en) | A kind of wireless headset control method, system and electronic equipment and storage medium | |
JP5845454B1 (en) | Monitoring system | |
CN105635482A (en) | Call processing method and device | |
CN107547975B (en) | Switching method, system and the voice collector of voice-grade channel | |
CN105187612B (en) | A kind of reminding method and device of talking state | |
CN106657647A (en) | Incoming call processing method and device and mobile terminal | |
CN104794074B (en) | External equipment recognition methods and device | |
CN108513218A (en) | Voice-frequency channel control method and electronic equipment | |
CN103379205A (en) | Device and method for driving communication prompt |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190611 |