CN110083332A - Audio switching method, wearable device and computer readable storage medium - Google Patents

Audio switching method, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN110083332A
CN110083332A CN201910365960.0A CN201910365960A CN110083332A CN 110083332 A CN110083332 A CN 110083332A CN 201910365960 A CN201910365960 A CN 201910365960A CN 110083332 A CN110083332 A CN 110083332A
Authority
CN
China
Prior art keywords
signal strength
wearable device
signal
audio
mic
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
CN201910365960.0A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910365960.0A priority Critical patent/CN110083332A/en
Publication of CN110083332A publication Critical patent/CN110083332A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

This application discloses a kind of audio switching method, wearable device and computer readable storage mediums, it include: the second signal intensity of the first signal strength and auxiliary MIC acquisition audio signal that the wearable device main microphon MIC acquisition audio signal is obtained when detecting that the wearable device that bluetooth connection has been established is on call;Obtain the bluetooth MIC acquisition audio signal that the bluetooth headset for establishing bluetooth connection with the wearable device is sent, determine the third signal strength of bluetooth MIC acquisition audio signal, and it is maximum as Target Signal Strength to filter out in first signal strength, the second signal intensity and the third signal strength signal strength;The corresponding voice output mode of the Target Signal Strength is obtained, the voice in the wearable device is exported according to the voice output mode.The application improves the communication effect of wearable device.

Description

Audio switching method, wearable device and computer readable storage medium
Technical field
This application involves fields of communication technology more particularly to a kind of audio switching method, wearable device and computer can Read storage medium.
Background technique
At present wearable device (such as Wrist belt-type intelligence wrist machine, smartwatch, Intelligent bracelet) increasingly by people Like.But be wearable device durings call, broadcasting music etc., usually using the mode of outer sound reproduction sound, put outside When sound, others may interfere, it is also possible to which the privacy that will lead to user is intercepted by periphery people, is unfavorable for privacy of user peace Entirely, in order to solve this problem, have on the market at present and devise a kind of bone conduction audio-frequency output scheme for wearable device.But It is that user often will appear wearable device and have been coupled to the same of bluetooth headset using in wearable device communication process When, the phenomenon that still receiving calls using osteoacusis motor, seriously affect communication effect, allow user usage experience sense not It is good.Therefore, how to avoid because wearable device becomes at present without communication effect difference caused by planning, repeated acquisition audio Technical problem urgently to be resolved.
Summary of the invention
The main purpose of the present invention is to provide a kind of audio switching method, wearable device and computer-readable storages Medium, it is intended to which solving wearable device in the prior art, without planning, the technology of communication effect difference caused by repeated acquisition audio is asked Topic.
To achieve the above object, the embodiment of the present invention provides a kind of audio switching method, and the audio switching method includes:
When detecting that the wearable device that bluetooth connection has been established is on call, the wearable device master is obtained Microphone MIC acquires the first signal strength of audio signal and the second signal intensity of auxiliary MIC acquisition audio signal;
The bluetooth MIC acquisition audio signal that the bluetooth headset for establishing bluetooth connection with the wearable device is sent is obtained, Determine the third signal strength of the bluetooth MIC acquisition audio signal, and strong in first signal strength, the second signal It is maximum as Target Signal Strength that signal strength is filtered out in degree and the third signal strength;
The corresponding voice output mode of the Target Signal Strength is obtained, by the voice in the wearable device according to institute The predicate sound way of output is exported.
Optionally, described to obtain the corresponding voice output mode of the Target Signal Strength, it will be in the wearable device Voice the step of being exported according to the voice output mode, comprising:
If the Target Signal Strength is the first signal strength, it is determined that the corresponding voice output of the Target Signal Strength Mode is the output of osteoacusis motor;
The voice of the wearable device is exported according to the osteoacusis motor way of output.
Optionally, described to obtain the corresponding voice output mode of the Target Signal Strength, it will be in the wearable device Voice the step of being exported according to the voice output mode, further includes:
If the Target Signal Strength is second signal intensity, it is determined that the corresponding voice output of the Target Signal Strength Mode is loudspeaker output;
The voice of the wearable device is exported according to the loudspeaker way of output.
Optionally, described to obtain the corresponding voice output mode of the Target Signal Strength, it will be in the wearable device Voice the step of being exported according to the voice output mode, further includes:
If the Target Signal Strength is third signal strength, it is determined that the corresponding voice output of the Target Signal Strength Mode is earphone output;
The voice of the wearable device is exported according to the earphone way of output.
Optionally, described to be sieved in first signal strength, the second signal intensity and the third signal strength The step of being used as Target Signal Strength of select-out signal maximum intensity, comprising:
First signal strength and the third signal strength are compared;
If first signal strength is greater than the third signal strength, detect whether first signal strength is greater than The second signal intensity;
If first signal strength is greater than the second signal intensity, believe first signal strength as target Number intensity.
Optionally, described the step of being preferentially compared first signal strength and the third signal strength it Afterwards, comprising:
If first signal strength is less than or equal to the third signal strength, by the second signal intensity and institute Third signal strength is stated to be compared;
If the second signal intensity be less than or equal to the third signal strength, using the third signal strength as Target Signal Strength.
Optionally, it is described when detecting that the wearable device that bluetooth connection has been established is on call the step of, packet It includes:
When detecting that the wearable device that bluetooth connection has been established is on call, the wearable device master is obtained The first audio signal that MIC, auxiliary MIC and bluetooth MIC are received;
The audio input signal of the wearable device is determined based on each first audio signal.
Optionally, the step of the audio input signal that the wearable device is determined based on each first audio signal Suddenly, comprising:
The second audio signal that the main MIC is received is determined in each first audio signal;
And difference is done by other audio signals in second audio signal and each first audio signal, to obtain New audio signal is taken, and using the new audio signal as the audio input signal of the wearable device.
In addition, to achieve the above object, the present invention also provides a kind of wearable devices;
The wearable device includes: memory, processor and is stored on the memory and can be in the processor The computer program of upper operation, in which:
The step of computer program realizes audio switching method as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides computer storage mediums;
Computer program, the realization when computer program is executed by processor are stored in the computer storage medium Such as the step of above-mentioned audio switching method.
A kind of audio switching method, wearable device and the computer readable storage medium that the embodiment of the present invention proposes lead to It crosses when detecting that the wearable device that bluetooth connection has been established is on call, obtains the wearable device main microphon MIC acquires the first signal strength of audio signal and the second signal intensity of auxiliary MIC acquisition audio signal;Acquisition is worn with described It wears equipment and establishes the bluetooth MIC acquisition audio signal that the bluetooth headset of bluetooth connection is sent, determine the bluetooth MIC acquisition audio The third signal strength of signal, and in first signal strength, the second signal intensity and the third signal strength It is maximum as Target Signal Strength to filter out signal strength;The corresponding voice output mode of the Target Signal Strength is obtained, Voice in the wearable device is exported according to the voice output mode.The indigo plant sent by detection bluetooth headset The second signal intensity of the third signal strength of tooth MIC, the first signal strength of main MIC and auxiliary MIC respectively between comparison, come Determine the voice output mode of wearable device, thus allow wearable device can according to acquisition audio signal signal strength come Orderly acquisition audio signal, avoids interfering with each other for each MIC, improves the communication effect of wearable device, solves existing There is in technology wearable device without planning, the technical problem of communication effect difference caused by repeated acquisition audio.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 provides wearable device a kind of hardware schematic at the first visual angle of embodiment for the embodiment of the present application;
Fig. 3 provides wearable device a kind of hardware schematic at the second visual angle of embodiment for the embodiment of the present application;
Fig. 4 provides a kind of hardware schematic at embodiment third of wearable device visual angle for the embodiment of the present application;
Fig. 5 is a kind of hardware schematic at the 4th visual angle of embodiment of wearable device provided by the embodiments of the present application;
Fig. 6 provides the flow diagram of audio switching method first embodiment for the embodiment of the present application;
Fig. 7 provides the flow diagram of audio switching method second embodiment for the embodiment of the present application;
Fig. 8 provides the schematic diagram of a scenario of audio switching method wearable device for the embodiment of the present application;
Fig. 9 provides the schematic diagram of a scenario of the audio switching method osteoacusis motor way of output for the embodiment of the present application.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101 What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMA Location), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous CDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTE Phase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long time Into) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely Slightly., wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102, The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100 When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera, It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear, Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments, Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101 The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this hair Bright to propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 5 Shown, Fig. 5 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with It is all covered on the watchband of the equipment, the embodiment of the present application is not limited thereto.
The present invention provides a kind of audio switching method, which is mainly used on wearable device,
Specifically, in audio switching method first embodiment of the present invention, referring to Fig. 6, audio switching method includes:
Step S10 can be worn described in acquisition when detecting that the wearable device that bluetooth connection has been established is on call Wear the first signal strength of equipment main microphon MIC acquisition audio signal and the second signal intensity of auxiliary MIC acquisition audio signal;
It should be noted that in the present embodiment, wearable device needs to have main MIC (Microphone, microphone) With auxiliary MIC, as shown in figure 8, wearable device includes main body interconnected and wearing part, main MIC is set on wearing part, auxiliary MIC be set to main body or wearing part on, such as wearable device be smartwatch when, main body is dial plate, wearing part be watchband, MIC1 is main MIC, MIC supplemented by MIC2.
When wearable device receives the incoming call requests of main calling terminal, wearable device needs first to judge when current It carves and whether is in bluetooth connection status, it can determine whether wearable device establishes connection with bluetooth headset, and work as and pass through When judging that discovery wearable device is in bluetooth connection status, and detecting that user has received calls, i.e., at wearable device When talking state, main MIC, the auxiliary MIC of wearable device start to work, and just need to adopt by the main MIC of wearable device at this time Collect audio signal and auxiliary MIC acquires audio signal, and determines that the first signal strength of main MIC acquisition audio signal and auxiliary MIC are adopted Collect the second signal intensity of audio signal.First signal strength can be the sound that wearable device passes through MIC main MIC collected Frequency signal strength.Second signal intensity can be the audio signal strength that wearable device passes through MIC auxiliary MIC collected.
Step S20 obtains the bluetooth MIC acquisition sound that the bluetooth headset for establishing bluetooth connection with the wearable device is sent Frequency signal, determines the third signal strength of bluetooth MIC acquisition audio signal, and in first signal strength, described the It is maximum as Target Signal Strength that signal strength is filtered out in binary signal intensity and the third signal strength;
Third signal strength can be the MIC audio that wearable device is passed over by MIC bluetooth headset collected Signal strength.Target Signal Strength can be the first signal strength, signal strength in second signal intensity and third signal strength It is maximum.It is acquired when wearable device gets the bluetooth MIC that the bluetooth headset for establishing bluetooth connection with wearable device is sent When audio signal, it is thus necessary to determine that bluetooth MIC acquires the signal strength of audio signal, and sets wearable It is standby middle by the first signal strength of collected main MIC acquisition audio signal, the second signal intensity of auxiliary MIC acquisition audio signal It is compared with the third signal strength of bluetooth MIC acquisition audio signal.
It should be noted that when carrying out signal strength comparison, need first to allow the first signal of main MIC acquisition audio signal The third signal strength of intensity and bluetooth MIC acquisition audio signal compares.When the first signal strength of discovery is believed greater than third When number intensity, then second again by the first signal strength of main MIC acquisition audio signal and auxiliary MIC acquisition audio signal is needed Signal strength compares, and when the first signal strength is greater than second signal intensity, it may be considered that the first signal strength is Target Signal Strength.But when by judgement discovery when the first signal strength is imposed less than or equal to second signal, then can be with Think that second signal intensity is Target Signal Strength.
When by judging that the first signal strength of discovery is less than or equal to third signal strength, need third signal strength It is compared with second signal intensity, and when finding that second signal intensity is greater than third signal strength, it may be considered that second Signal strength is Target Signal Strength, but when by judging that discovery second signal intensity is less than or equal to third signal strength When, it may be considered that third signal strength is Target Signal Strength.
Step S30 obtains the corresponding voice output mode of the Target Signal Strength, by the language in the wearable device Sound is exported according to the voice output mode.
After determining Target Signal Strength in the first signal strength, second signal intensity and third signal strength, also need Determine the corresponding voice output mode of Target Signal Strength, and by the voice in wearable device according to the voice output mode It is exported.It should be noted that the corresponding voice output mode of the first signal strength is the output of osteoacusis motor;Second signal The corresponding voice output mode of intensity is loudspeaker output;The corresponding voice output mode of third signal strength is earphone output.
Wherein, under osteoacusis motor output mode, call audio signal can be converted to vibration letter by wearable device Number, and transmitted by bone medium (such as wrist bone, finger bone).On this basis, as shown in figure 9, when user will wear The a certain finger (such as index finger) for wearing the arm of wearable device withstand ear root or go deep into ear so that ear formed it is closed After sound chamber, vibration signal (only needing Vibration Signal in Frequency Domain) can be conducted into ear by bone medium, and ear-drum is caused to generate foot Enough resonance, so as to reach communication effect.Since the closed sound that call audio signal is only limited in ear's formation is intracavitary, this So that the people of surrounding can not intercept, achieve the effect that privacy is conversed.
Body conducting parts have can be set in wearable device bottom (contacting with wrist skin of soft tissue), wherein body Body conducting parts are also referred to as bone conduction vibrator, and correspondingly, wearable device is when switching to osteoacusis motor output mode, meeting Loudspeaker output mode and the corresponding earphone output mode of bluetooth headset are closed, so that call audio signal can not pass through loudspeaker or indigo plant Tooth earphone plays out, and wearable device can trigger the starting of body conducting parts, and call audio signal is transferred to Body conducting parts allow body conducting parts that call audio signal is converted to vibration signal and is carried out by bone medium Transmitting.Wherein, the vibration of vibration signal is a kind of pure physical vibration, will not generate harm to body.
The present embodiment is by when detecting that the wearable device that bluetooth connection has been established is on call, described in acquisition Wearable device main microphon MIC acquires the first signal strength of audio signal and the second signal of auxiliary MIC acquisition audio signal Intensity;The bluetooth MIC acquisition audio signal that the bluetooth headset for establishing bluetooth connection with the wearable device is sent is obtained, is determined The third signal strength of bluetooth MIC acquisition audio signal, and first signal strength, the second signal intensity and It is maximum as Target Signal Strength that signal strength is filtered out in the third signal strength;Obtain the Target Signal Strength pair The voice output mode answered exports the voice in the wearable device according to the voice output mode.Pass through inspection The second signal for surveying the third signal strength of bluetooth MIC, the first signal strength of main MIC and auxiliary MIC that bluetooth headset is sent is strong Comparison between degree is respective, to determine the voice output mode of wearable device, to allow wearable device can be according to acquisition The signal strength of audio signal carrys out orderly acquisition audio signal, avoids interfering with each other for each MIC, improves wearable device Communication effect, solve in the prior art that wearable device is without planning, the skill of communication effect difference caused by repeated acquisition audio Art problem.
Further, on the basis of first embodiment of the invention, propose audio switching method of the present invention second is real Example is applied, the present embodiment is the step S30 of first embodiment of the invention, obtains the corresponding voice output side of the Target Signal Strength Formula, the refinement for the step of voice in the wearable device is exported according to the voice output mode, referring to Fig. 7, Include:
Step a, if the Target Signal Strength is the first signal strength, it is determined that the corresponding language of the Target Signal Strength The sound way of output is the output of osteoacusis motor;
When by judging that discovery Target Signal Strength is the first signal strength, it may be considered that believing at current time first Number intensity is the largest, and can obtain the corresponding voice output mode of main MIC at this time, i.e. osteoacusis motor exports.
Step b exports the voice of the wearable device according to the osteoacusis motor way of output.
It, then can be straight when the voice output mode for determining wearable device in wearable device is that osteoacusis motor exports It connects and exports the voice of wearable device according to the osteoacusis motor way of output, and close the corresponding loudspeaker output of auxiliary MIC Mode and the corresponding earphone way of output of bluetooth MIC.Wherein, the voice of wearable device is to establish call with wearable device to connect The voice that another terminal connect is sent.
It in the present embodiment, can directly will be wearable by when determining Target Signal Strength is the first signal strength The voice of equipment is exported according to the osteoacusis motor way of output, has ensured the privacy of communication effect and dialog context.
Specifically, the corresponding voice output mode of the Target Signal Strength is obtained, by the language in the wearable device The step of sound is exported according to the voice output mode, further includes:
Step c, if the Target Signal Strength is second signal intensity, it is determined that the corresponding language of the Target Signal Strength The sound way of output is loudspeaker output;
When by judging that discovery Target Signal Strength is second signal intensity, it may be considered that believing at current time second Number intensity is the largest, and can obtain the corresponding voice output mode of auxiliary MIC at this time, i.e., loudspeaker export, that is, loudspeaker Output.
Step d exports the voice of the wearable device according to the loudspeaker way of output.
It, then can be directly by can when the voice output mode for determining wearable device in wearable device is that loudspeaker export The voice of wearable device is exported according to the loudspeaker way of output, and close the corresponding osteoacusis motor way of output of main MIC and The corresponding earphone way of output of bluetooth MIC.Wherein, the voice of wearable device is to establish the another of connection of conversing with wearable device The voice that one terminal is sent.
It in the present embodiment, can directly will be wearable when by determining that Target Signal Strength is second signal intensity The voice of equipment is exported according to the loudspeaker way of output, has ensured that user can clearly hear dialog context.
Specifically, the corresponding voice output mode of the Target Signal Strength is obtained, by the language in the wearable device The step of sound is exported according to the voice output mode, further includes:
Step e, if the Target Signal Strength is third signal strength, it is determined that the corresponding language of the Target Signal Strength The sound way of output is earphone output;
When by judging that discovery Target Signal Strength is third signal strength, it may be considered that believing in current time third Number intensity is the largest, and can obtain the corresponding voice output mode of bluetooth MIC at this time, i.e. earphone exports.
Step f exports the voice of the wearable device according to the earphone way of output.
It, then can be directly by can when the voice output mode for determining wearable device in wearable device is that earphone exports The voice of wearable device is exported according to the earphone way of output, and close the corresponding osteoacusis motor way of output of main MIC and The corresponding loudspeaker way of output of auxiliary MIC.Wherein, the voice of wearable device is to establish the another of connection that converse with wearable device The voice that terminal is sent.
It in the present embodiment, can directly will be wearable when by determining that Target Signal Strength is third signal strength The voice of equipment is exported according to the earphone way of output, to ensure the communication effect of wearable device.
Further, in first embodiment of the invention into second embodiment any one on the basis of, propose this hair The 3rd embodiment of bright audio switching method, the present embodiment are in first embodiment of the invention step S20, in first signal It is maximum as Target Signal Strength that signal strength is filtered out in intensity, the second signal intensity and the third signal strength The step of refinement, comprising:
First signal strength and the third signal strength are compared by step g;
It, can be with after getting the first signal strength, second signal intensity and third signal strength in wearable device First the first signal strength and third signal strength are compared, and after getting comparison result, need to believe with second again Number intensity is compared, that is, when the first signal strength is greater than third signal strength, the first signal strength and second are believed Number intensity compares, and determines Target Signal Strength with this comparing result;But when third signal strength is strong greater than the first signal It when spending, then needs to compare third signal strength and second signal intensity, and determines that target is believed based on this comparing result Number intensity.
Step h, if first signal strength is greater than the third signal strength, detecting first signal strength is It is no to be greater than the second signal intensity;
When by judging that the first signal strength is greater than third signal strength, then need to believe the first signal strength and second Number intensity is compared, can be using the first signal strength as mesh when finding that the first signal strength is greater than second signal intensity Mark signal strength.But when find second signal intensity be greater than the first signal strength when, then can using second signal intensity as Target Signal Strength.
Step j, if first signal strength be greater than the second signal intensity, using first signal strength as Target Signal Strength.
It, then can be directly by the first signal strength when by judging that the first signal strength of discovery is greater than second signal intensity As Target Signal Strength, so that it is determined that the way of output of wearable device voice is that the corresponding defeated voice of the first signal strength is defeated Mode out.
In the present embodiment, by the way that the first signal strength and third signal strength to be compared, and it is strong in the first signal When degree is greater than third signal strength, continue for the first signal strength and second signal intensity to be compared, by signal strength maximum The first signal strength as Target Signal Strength, to ensure communication effect.
Specifically, after the step of preferentially first signal strength and the third signal strength being compared, packet It includes:
Step k is strong by the second signal if first signal strength is less than or equal to the third signal strength Degree and the third signal strength are compared;
When by judging that the first signal strength of discovery is less than or equal to third signal strength, then third can be believed again Number intensity and second signal intensity is compared, and determines Target Signal Strength based on comparative result.
Step m is strong by the third signal if the second signal intensity is less than or equal to the third signal strength Degree is used as Target Signal Strength.
When by judging that discovery second signal intensity is less than or equal to third signal strength, then directly third can be believed Number intensity is as Target Signal Strength.But when by judging that discovery second signal intensity is greater than third signal strength, then may be used To think second signal intensity as Target Signal Strength.
In the present embodiment, by the first signal strength be less than or equal to third signal strength when, second signal is strong Degree and the first signal strength are compared, and using the maximum third signal strength of signal strength as Target Signal Strength, thus Communication effect is ensured.
Further, in first embodiment of the invention into 3rd embodiment any one on the basis of, propose this hair The fourth embodiment of bright audio switching method, the present embodiment are to have been established in first embodiment of the invention step S10 detecting The refinement of the step of when the wearable device of bluetooth connection is on call, comprising:
Step n is obtained described wearable when detecting that the wearable device that bluetooth connection has been established is on call The first audio signal that the main MIC of equipment, auxiliary MIC and bluetooth MIC are received;
First audio signal can be all audio signals that wearable device receives, including environmental noise and user Voice messaging.When detecting that the wearable device that bluetooth connection has been established is on call, wearable device is directly acquired The first audio signal that main MIC, auxiliary MIC and bluetooth MIC are received.
Step u determines the audio input signal of the wearable device based on each first audio signal.
After getting each first audio signal, need to be removed noise treatment to these the first audio signals, with Clearly user voice signal is obtained, i.e. the first audio signal by removal noise treatment is defeated as the audio of wearable device Enter signal.
In the present embodiment, it is received by obtaining the main MIC of wearable device, auxiliary MIC and bluetooth MIC in wearable device The first audio signal arrived, and the audio input signal of wearable device is determined according to these first audio signals, to ensure The accuracy of audio input signal.
Specifically, the step of audio input signal of the wearable device being determined based on each first audio signal, Include:
Step y determines the second audio signal that the main MIC is received in each first audio signal;
Second audio signal can be the corresponding audio signal of main MIC in the first audio signal.When passing through wearable device After main MIC, auxiliary MIC and bluetooth MIC get each first audio signal, need to determine master in these the first audio signals Corresponding second audio signal of MIC.
Step x, and made the difference by other audio signals in second audio signal and each first audio signal Value, to obtain new audio signal, and using the new audio signal as the audio input signal of the wearable device.
Other audio signals can be the corresponding audio signal of auxiliary MIC and the corresponding audio signal of bluetooth MIC.When determining Difference can be done by the second audio signal and other audio signals after two audio signals, to remove the shadow of environmental noise It rings, it can determine the new audio signal of not environmental noise according to this difference, and can be using this new audio signal as can The audio input signal of wearable device.
In the present embodiment, wearable device is determined by doing difference according to the second audio signal and other audio signals Audio input signal, influenced so as to avoid audio input signal by environmental noise.
The present invention also provides a kind of wearable device, the wearable device includes: memory, processor, communication bus And it is stored in the computer program on the memory:
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the computer program, to realize the step of each embodiment of above-mentioned audio switching method Suddenly.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has one Perhaps more than one program the one or more programs can also be executed by one or more than one processor with The step of embodiment each for realizing above-mentioned audio switching method.
Computer readable storage medium specific embodiment of the present invention and the basic phase of each embodiment of above-mentioned audio switching method Together, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of audio switching method, which is characterized in that the audio switching method includes:
When detecting that the wearable device that bluetooth connection has been established is on call, the main Mike of the wearable device is obtained Wind MIC acquires the first signal strength of audio signal and the second signal intensity of auxiliary MIC acquisition audio signal;
The bluetooth MIC acquisition audio signal that the bluetooth headset for establishing bluetooth connection with the wearable device is sent is obtained, is determined The third signal strength of bluetooth MIC acquisition audio signal, and first signal strength, the second signal intensity and It is maximum as Target Signal Strength that signal strength is filtered out in the third signal strength;
The corresponding voice output mode of the Target Signal Strength is obtained, by the voice in the wearable device according to institute's predicate The sound way of output is exported.
2. audio switching method as described in claim 1, which is characterized in that the acquisition Target Signal Strength is corresponding Voice output mode, the step of the voice in the wearable device is exported according to the voice output mode, comprising:
If the Target Signal Strength is the first signal strength, it is determined that the corresponding voice output mode of the Target Signal Strength For the output of osteoacusis motor;
The voice of the wearable device is exported according to the osteoacusis motor way of output.
3. audio switching method as described in claim 1, which is characterized in that the acquisition Target Signal Strength is corresponding Voice output mode is also wrapped the step of exported the voice in the wearable device according to the voice output mode It includes:
If the Target Signal Strength is second signal intensity, it is determined that the corresponding voice output mode of the Target Signal Strength For loudspeaker output;
The voice of the wearable device is exported according to the loudspeaker way of output.
4. audio switching method as described in claim 1, which is characterized in that the acquisition Target Signal Strength is corresponding Voice output mode is also wrapped the step of exported the voice in the wearable device according to the voice output mode It includes:
If the Target Signal Strength is third signal strength, it is determined that the corresponding voice output mode of the Target Signal Strength For earphone output;
The voice of the wearable device is exported according to the earphone way of output.
5. audio switching method as described in claim 1, which is characterized in that it is described in first signal strength, described Signal strength maximum the step of being used as Target Signal Strength, packet are filtered out in binary signal intensity and the third signal strength It includes:
First signal strength and the third signal strength are compared;
If first signal strength is greater than the third signal strength, detect first signal strength whether be greater than it is described Second signal intensity;
If first signal strength is greater than the second signal intensity, and first signal strength is strong as echo signal Degree.
6. audio switching method as claimed in claim 5, which is characterized in that described preferentially by first signal strength and institute After stating the step of third signal strength is compared, comprising:
If first signal strength is less than or equal to the third signal strength, by the second signal intensity and described the Three signal strengths are compared;
If the second signal intensity is less than or equal to the third signal strength, using the third signal strength as target Signal strength.
7. audio switching method as described in claim 1, which is characterized in that it is described detect have been established bluetooth connection can The step of when wearable device is on call, comprising:
When detecting that the wearable device that bluetooth connection has been established is on call, obtain the main MIC of the wearable device, The first audio signal that auxiliary MIC and bluetooth MIC are received;
The audio input signal of the wearable device is determined based on each first audio signal.
8. audio switching method as claimed in claim 7, which is characterized in that described to be determined based on each first audio signal The step of audio input signal of the wearable device, comprising:
The second audio signal that the main MIC is received is determined in each first audio signal;
Difference is done by other audio signals in second audio signal and each first audio signal, to obtain new sound Frequency signal, and using the new audio signal as the audio input signal of the wearable device.
9. a kind of wearable device, which is characterized in that the wearable device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
Such as Audio conversion described in any item of the claim 1 to 8 is realized when the computer program is executed by the processor The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as audio switching method described in any item of the claim 1 to 8 when the computer program is executed by processor The step of.
CN201910365960.0A 2019-04-29 2019-04-29 Audio switching method, wearable device and computer readable storage medium Pending CN110083332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910365960.0A CN110083332A (en) 2019-04-29 2019-04-29 Audio switching method, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910365960.0A CN110083332A (en) 2019-04-29 2019-04-29 Audio switching method, wearable device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110083332A true CN110083332A (en) 2019-08-02

Family

ID=67418388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910365960.0A Pending CN110083332A (en) 2019-04-29 2019-04-29 Audio switching method, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110083332A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071318A (en) * 2021-11-12 2022-02-18 阿波罗智联(北京)科技有限公司 Voice processing method, terminal device and vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108988909A (en) * 2018-07-25 2018-12-11 Oppo(重庆)智能科技有限公司 Audio-frequency processing method and device, electronic equipment, computer readable storage medium
CN109618052A (en) * 2018-12-11 2019-04-12 努比亚技术有限公司 A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108988909A (en) * 2018-07-25 2018-12-11 Oppo(重庆)智能科技有限公司 Audio-frequency processing method and device, electronic equipment, computer readable storage medium
CN109618052A (en) * 2018-12-11 2019-04-12 努比亚技术有限公司 A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071318A (en) * 2021-11-12 2022-02-18 阿波罗智联(北京)科技有限公司 Voice processing method, terminal device and vehicle
CN114071318B (en) * 2021-11-12 2023-11-14 阿波罗智联(北京)科技有限公司 Voice processing method, terminal equipment and vehicle

Similar Documents

Publication Publication Date Title
CN110087292A (en) Intelligent wearable device, energy-saving control method and computer readable storage medium
CN109982179A (en) Audio frequency signal output, device, wearable device and storage medium
CN110109725A (en) A kind of interface color method of adjustment and wearable device
CN110083220A (en) A kind of power-saving processing method and wearable device
CN110350935A (en) Audio signal output control method, wearable device and readable storage medium storing program for executing
CN110362368A (en) Picture customization display methods, relevant device and the storage medium of wearable device
CN110099337A (en) Bone conduction audio-frequency output mode adjusting method, wearable device and storage medium
CN110083331A (en) Wearable device play mode control method, device, wearable device and medium
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN110086940A (en) Message prompt method, wearable device and readable storage medium storing program for executing
CN109947524A (en) Interface display method, wearable device and computer readable storage medium
CN110086563A (en) A kind of method of controlling rotation, equipment and computer readable storage medium
CN110213637A (en) Method, wearable device and the readable storage medium storing program for executing of video file increase watermark
CN110086929A (en) Breath screen display methods, mobile phone, wearable device and computer readable storage medium
CN109947389A (en) Audio switching method, wearable device and computer readable storage medium
CN110134312A (en) Control method, wearable device and computer readable storage medium
CN110162161A (en) Control method, wearable device and the computer readable storage medium of target application
CN110083332A (en) Audio switching method, wearable device and computer readable storage medium
CN110150804A (en) A kind of Watchband fixing structure and wearable device
CN110267165A (en) Audio signal output control method, device, equipment and readable storage medium storing program for executing
CN110049253A (en) A kind of focusing control method, equipment and computer readable storage medium
CN110162375A (en) Interface display method, wearable device and readable storage medium storing program for executing
CN110111786A (en) A kind of audio-frequency processing method, equipment and computer readable storage medium
CN110113481A (en) Open method, terminal, wearable device and the medium of corresponding application on wearable device
CN109992087A (en) Optimization method, wearable device and the storage medium that wearable device data are shown

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