CN106453791A - A sound signal output method and apparatus and an earphone state detection method and apparatus - Google Patents
A sound signal output method and apparatus and an earphone state detection method and apparatus Download PDFInfo
- Publication number
- CN106453791A CN106453791A CN201610952326.3A CN201610952326A CN106453791A CN 106453791 A CN106453791 A CN 106453791A CN 201610952326 A CN201610952326 A CN 201610952326A CN 106453791 A CN106453791 A CN 106453791A
- Authority
- CN
- China
- Prior art keywords
- speaker device
- ear speaker
- terminal
- real
- acoustical signal
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/6058—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
- H04M1/6066—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/6058—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Abstract
The present invention provides a sound signal output method and apparatus and an earphone state detection method and apparatus, wherein the sound signal output method includes the following steps: obtaining a real-time state of an earphone apparatus if the terminal needs to output a sound signal after the terminal establishes a connection with the earphone apparatus; when the real time state of the earphone apparatus is in the state of being used, outputting the sound signal through the earphone apparatus; and when the real time state of the headphone apparatus is in the state of being available, directly outputting the sound signal through the terminal. According to the technical scheme of the present invention, through detection of the state of the earphone apparatus, whether the sound signal of the terminal is output from the earphone apparatus or directly output by the terminal can be intelligently determined; great flexibility is provided; and the user usage experience is improved.
Description
Technical field
The present invention relates to field of terminal technology, believes in particular to a kind of output intent of acoustical signal, a kind of sound
Number output device, a kind of condition detection method of ear speaker device and a kind of condition checkout gear of ear speaker device.
Background technology
At present, ear speaker device is had been obtained for extensively as a kind of accessory of terminal unit (such as mobile phone, panel computer etc.)
Popularization.Ear speaker device is generally divided into wired earphone and wireless headset (as bluetooth earphone), no matter it is wired earphone or wireless ear
Machine, when earphone is connected with terminal unit, the acoustical signal acquiescence of terminal unit is exported from earphone.
After terminal unit is connected with earphone, if the acoustical signal of terminal unit is always exported from earphone, then in user
Use during may there is inconvenience.For example, user is connected with mobile phone using bluetooth earphone, if a certain moment user is not
Wear bluetooth earphone and mobile phone receives incoming call, even if at this moment user cannot also hear call language by earpiece near ear
Sound, it is clear that the voice output mode of this fixation have impact on the experience of user.
Content of the invention
The present invention is based at least one above-mentioned technical problem, it is proposed that a kind of output scheme of new acoustical signal and
The state-detection scheme of ear speaker device, can be by detecting to the state of ear speaker device, with the sound of intelligent decision terminal
Signal is exported or directly exported by terminal by ear speaker device, with great motility, is conducive to lifting the use of user
Experience.
In view of this, according to the first aspect of the invention, it is proposed that a kind of output intent of acoustical signal, including:Terminal
After being connected with ear speaker device foundation, if the terminal needs acoustical signal is exported, the real-time of the ear speaker device is obtained
State;When the real-time status of the ear speaker device is use state, the acoustical signal is exported by the ear speaker device;?
When the real-time status of the ear speaker device is unused state, the acoustical signal is directly exported by the terminal.
In the technical scheme, after terminal and ear speaker device are set up and are connected, and when terminal needs to export acoustical signal,
By obtaining the real-time status of ear speaker device so that ear speaker device is when in use state, and such as user has worn earphone and set
When standby, the acoustical signal of terminal can be exported by ear speaker device, to ensure that user listens to acoustical signal using ear speaker device;
And when ear speaker device is in unused state, when such as user does not wear ear speaker device, the acoustical signal of terminal can be by eventually
End directly exports, it is ensured that even if user does not wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid in ear speaker device and
After terminal connection, user does not wear ear speaker device and leads to not the problem of uppick acoustical signal.It can be seen that, the skill of the present invention
Art scheme is capable of the acoustical signal of intelligent decision terminal to be exported or directly exported by terminal by ear speaker device, with great
Motility, is conducive to lifting the experience of user.
Wherein, ear speaker device can be wired earphone equipment, or wireless headphone device (as Bluetooth earphone equipment
Deng).
In technique scheme, it is preferable that obtain the ear speaker device real-time status the step of, specifically include:To
The ear speaker device sends a notification message, and whether the notification message is described for notifying ear speaker device detection user to wear
Ear speaker device;Receive the testing result of ear speaker device transmission;The reality of the ear speaker device is determined according to the testing result
When state.
In the technical scheme, as ear speaker device is directly contact with user, therefore pass through to send to ear speaker device
Notification message, is detected wear condition of the user to ear speaker device, enabling accurately detect earphone by ear speaker device itself
Equipment is in use state or unused state, and then can be easy to accurately determine that acoustical signal is carried out by which kind of mode
Output, it is ensured that user being capable of uppick acoustical signal.
In technique scheme, it is preferable that the real-time shape for determining the ear speaker device according to the testing result
The step of state, specifically include:If the testing result shows that the user has worn the ear speaker device, it is determined that the earphone
Equipment is in the use state;If the testing result shows that the user does not wear the ear speaker device, it is determined that described
Ear speaker device is in the unused state.
In the technical scheme, when user has worn ear speaker device, illustrate that user is currently in use ear speaker device, now may be used
To determine ear speaker device in use state;On the contrary, when user does not wear ear speaker device, illustrating that user does not currently use
Ear speaker device, thus may determine that ear speaker device is in unused state.
In any of the above-described technical scheme, it is preferable that the output intent of the acoustical signal also includes:Detect the terminal
Voice or video communication request is whether received, and/or detects whether the terminal has initiated voice or video communication request,
And/or detect whether the terminal needs to play audio file or video file;If detect the terminal receive voice or
Video communication ask, detect the terminal initiated voice or video communication request, or detect the terminal need broadcast
Playback frequency file or video file, it is determined that the terminal needs to export acoustical signal.
Wherein, when detecting, terminal receives voice or video communication is asked (including being connected to phone, receiving voice-enabled chat
Or Video chat etc.), or detect terminal and initiated voice or video communication request (including dialing number, initiating voice-enabled chat
Or Video chat etc.) when, if ear speaker device is in unused state, terminal directly exports acoustical signal by its receiver, when
So, terminal can also pass through its speaker output acoustical signal.Need to play audio file or video file when terminal is detected
When, if ear speaker device is in unused state, terminal directly exports acoustical signal by its speaker.
According to the second aspect of the invention, it is also proposed that a kind of condition detection method of ear speaker device, the ear speaker device
On be provided with sensor for detecting state, the condition detection method includes:Ear speaker device is being connected it with terminal foundation
Afterwards, detect whether to receive the notification message of terminal transmission, the notification message is used for notifying the ear speaker device to detect
The real-time status of itself;When the notification message of terminal transmission is received, the ear is detected by the sensor
The real-time status of machine equipment;The real-time status for detecting is sent to the terminal.
In the technical scheme, by the sensor of detection state is provided on ear speaker device, and receiving end
During the notification message that end sends, the real-time status of ear speaker device is detected so that terminal can be according to the reality of ear speaker device
When state come determine by ear speaker device output acoustical signal still acoustical signal is directly exported by terminal, it is ensured that even if user is not
Wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid after ear speaker device is connected with terminal, user does not wear ear
Machine equipment and lead to not the problem of uppick acoustical signal, be conducive to lifted user experience.
In technique scheme, it is preferable that the real-time status for detecting the ear speaker device by the sensor
The step of, specifically include:Whether the ear speaker device is worn by the sensor senses user, has been set with obtaining the earphone
Standby real-time status.Wherein, the sensor for arranging on ear speaker device can be gravity sensor and/or optical pickocff.
According to the third aspect of the invention we, it is also proposed that a kind of output device of acoustical signal, including:Acquiring unit, uses
After setting up and being connected in terminal and ear speaker device, if the terminal needs acoustical signal is exported, the ear speaker device is obtained
Real-time status;Control unit, during for the real-time status in the ear speaker device for use state, by the ear speaker device
The acoustical signal is exported, and when being unused state for the real-time status in the ear speaker device, straight by the terminal
Connect the output acoustical signal.
In the technical scheme, after terminal and ear speaker device are set up and are connected, and when terminal needs to export acoustical signal,
By obtaining the real-time status of ear speaker device so that ear speaker device is when in use state, and such as user has worn earphone and set
When standby, the acoustical signal of terminal can be exported by ear speaker device, to ensure that user listens to acoustical signal using ear speaker device;
And when ear speaker device is in unused state, when such as user does not wear ear speaker device, the acoustical signal of terminal can be by eventually
End directly exports, it is ensured that even if user does not wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid in ear speaker device and
After terminal connection, user does not wear ear speaker device and leads to not the problem of uppick acoustical signal.It can be seen that, the skill of the present invention
Art scheme is capable of the acoustical signal of intelligent decision terminal to be exported or directly exported by terminal by ear speaker device, with great
Motility, is conducive to lifting the experience of user.
In technique scheme, it is preferable that the acquiring unit includes:Transmitting element, for the ear speaker device
Send a notification message, the notification message is used for notifying whether ear speaker device detection user wears the ear speaker device;Connect
Unit is received, for receiving the testing result of ear speaker device transmission;First determining unit, for true according to the testing result
The real-time status of the fixed ear speaker device.
In the technical scheme, as ear speaker device is directly contact with user, therefore pass through to send to ear speaker device
Notification message, is detected wear condition of the user to ear speaker device, enabling accurately detect earphone by ear speaker device itself
Equipment is in use state or unused state, and then can be easy to accurately determine that acoustical signal is carried out by which kind of mode
Output, it is ensured that user being capable of uppick acoustical signal.
In technique scheme, it is preferable that first determining unit specifically for:Show institute in the testing result
When stating user and having worn the ear speaker device, determine the ear speaker device in the use state;In the testing result table
When the bright user does not wear the ear speaker device, determine the ear speaker device in the unused state.
In the technical scheme, when user has worn ear speaker device, illustrate that user is currently in use ear speaker device, now may be used
To determine ear speaker device in use state;On the contrary, when user does not wear ear speaker device, illustrating that user does not currently use
Ear speaker device, thus may determine that ear speaker device is in unused state.
In any of the above-described technical scheme, it is preferable that the output device of the acoustical signal also includes:Detector unit, uses
In detecting whether the terminal receives voice or video communication request, and/or detect the terminal whether initiated voice or
Video communication is asked, and/or detects whether the terminal needs to play audio file or video file;Second determining unit, uses
Receiving voice or video communication request in the terminal being detected in the detector unit, or detects the terminal and initiate
Voice or video communication request, or detect the terminal and need to play audio file or during video file, determine the terminal
Need to export acoustical signal.
Wherein, voice or video communication request are received when detecting terminal, or detects terminal and initiated voice or regarded
During frequency communication request, if ear speaker device is in unused state, terminal directly exports acoustical signal by its receiver, certainly,
Terminal can also pass through its speaker and export acoustical signal.Need to play audio file or during video file when terminal is detected,
If ear speaker device is in unused state, terminal directly exports acoustical signal by its speaker.
According to the fourth aspect of the invention, it is also proposed that a kind of condition checkout gear of ear speaker device, the ear speaker device
On be provided with sensor for detecting state, the condition checkout gear includes:First detector unit, in ear speaker device
Set up with terminal after being connected, detect whether the notification message of terminal transmission is received, the notification message is used for notifying
The ear speaker device detects the real-time status of itself;Second detector unit, for receiving the described logical of terminal transmission
The real-time status of the ear speaker device when knowing message, is detected by the sensor;Transmitting element, for detecting described second
The real-time status that unit is detected is sent to the terminal.
In the technical scheme, by the sensor of detection state is provided on ear speaker device, and receiving end
During the notification message that end sends, the real-time status of ear speaker device is detected so that terminal can be according to the reality of ear speaker device
When state come determine by ear speaker device output acoustical signal still acoustical signal is directly exported by terminal, it is ensured that even if user is not
Wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid after ear speaker device is connected with terminal, user does not wear ear
Machine equipment and lead to not the problem of uppick acoustical signal, be conducive to lifted user experience.
In technique scheme, it is preferable that second detector unit specifically for:Used by sensor detection
Whether family has worn the ear speaker device, to obtain the real-time status of the ear speaker device.Wherein, the biography for arranging on ear speaker device
Sensor can be gravity sensor and/or optical pickocff.
According to the fifth aspect of the invention, it is also proposed that a kind of terminal, including:Sound letter as described in the above-mentioned third aspect
Number output device.
According to the sixth aspect of the invention, it is also proposed that a kind of ear speaker device, including:Ear speaker device body, it is arranged on ear
Sensor on machine equipment body, and the condition checkout gear of the ear speaker device as described in above-mentioned fourth aspect.Wherein, earphone
Equipment can be wired earphone equipment, or wireless headphone device (such as Bluetooth earphone equipment etc.).
By above technical scheme, it is possible to achieve the detection to ear speaker device state, and then it is capable of intelligent decision terminal
Acoustical signal is exported or directly exported by terminal by ear speaker device, with great motility, is conducive to lifting user's
Experience.
Description of the drawings
Fig. 1 shows the schematic flow sheet of the output intent of acoustical signal according to an embodiment of the invention;
Fig. 2 shows the schematic flow sheet of the real-time status of the acquisition ear speaker device shown in Fig. 1;
Fig. 3 shows the schematic block diagram of the output device of acoustical signal according to first embodiment of the invention;
Fig. 4 shows the schematic block diagram of the output device of the acoustical signal of second embodiment according to the present invention;
Fig. 5 shows the internal structure schematic diagram of the acquiring unit shown in Fig. 3 and Fig. 4;
Fig. 6 shows the schematic flow sheet of the condition detection method of ear speaker device according to an embodiment of the invention;
Fig. 7 shows the schematic block diagram of the condition checkout gear of ear speaker device according to an embodiment of the invention;
Fig. 8 shows interaction schematic diagram according to an embodiment of the invention between mobile phone and bluetooth earphone;
Fig. 9 shows the schematic block diagram of terminal according to an embodiment of the invention;
Figure 10 shows the schematic block diagram of ear speaker device according to an embodiment of the invention.
Specific embodiment
In order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete real
Apply mode to be further described in detail the present invention.It should be noted that in the case of not conflicting, the enforcement of the application
Feature in example and embodiment can be mutually combined.
A lot of details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also
Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment restriction.
Fig. 1 shows the schematic flow sheet of the output intent of acoustical signal according to an embodiment of the invention.
As shown in figure 1, the output intent of acoustical signal according to an embodiment of the invention, including:
Step S10, terminal if the terminal needs to export acoustical signal, is obtained after being connected with ear speaker device foundation
Take the real-time status of the ear speaker device.
In step slo, for how determining whether terminal needs to export acoustical signal, embodiments of the invention are proposed
Scheme is as follows:Whether detection terminal receives voice or video communication request, and/or whether detection terminal has been initiated voice or regarded
Frequency communication request, and/or whether detection terminal need to play audio file or video file;If detecting the terminal to receive
Voice or video communication request, or detect the terminal and initiated voice or video communication request, or detect the terminal
Need to play audio file or video file, it is determined that the terminal needs to export acoustical signal.
The output intent of the acoustical signal shown in Fig. 1 also includes:
Step S12, when the real-time status of the ear speaker device is use state, described by ear speaker device output
Acoustical signal.
Step S14, when the real-time status of the ear speaker device is unused state, directly exports institute by the terminal
State acoustical signal.
In step S14, when the real-time status of ear speaker device is unused state, if detecting terminal to receive voice
Or video communication request, detect terminal initiated voice or video communication request, then terminal is directly exported by its receiver
Acoustical signal, certainly, terminal can also pass through its speaker and export acoustical signal;If detecting terminal needs to play audio file
Or video file, then terminal is directly by its speaker output acoustical signal.
In one embodiment of the invention, in step S10 the step of the real-time status of acquisition ear speaker device, concrete as schemed
Shown in 2, including:
Step S101, sends a notification message to ear speaker device, and the notification message is used for notifying the ear speaker device to detect
Whether user wears the ear speaker device.
Step S102, receives the testing result that the ear speaker device sends.
Step S103, determines the real-time status of the ear speaker device according to the testing result.
In the technical scheme, as ear speaker device is directly contact with user, therefore pass through to send to ear speaker device
Notification message, is detected wear condition of the user to ear speaker device, enabling accurately detect earphone by ear speaker device itself
Equipment is in use state or unused state, and then can be easy to accurately determine that acoustical signal is carried out by which kind of mode
Output, it is ensured that user being capable of uppick acoustical signal.
Further, step S103 is specifically included:If the testing result shows that the user has worn the earphone and set
Standby, it is determined that the ear speaker device is in the use state;If the testing result shows that the user does not wear the ear
Machine equipment, it is determined that the ear speaker device is in the unused state.
In above-mentioned technical scheme, after terminal and ear speaker device are set up and be connected, and terminal needs to export sound letter
Number when, by obtain ear speaker device real-time status so that ear speaker device in use state when, such as user has worn ear
During machine equipment, the acoustical signal of terminal can be exported by ear speaker device, to ensure that user listens to sound using ear speaker device
Signal;And when ear speaker device is in unused state, when such as user does not wear ear speaker device, the acoustical signal of terminal can lead to
Cross terminal directly to export, it is ensured that even if user does not wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid set in earphone
For after being connected with terminal, user does not wear ear speaker device and leads to not the problem of uppick acoustical signal.It can be seen that, the present invention
Technical scheme to be capable of the acoustical signal of intelligent decision terminal exported or directly exported by terminal by ear speaker device, with pole
Big motility, is conducive to lifting the experience of user.
Fig. 3 shows the schematic block diagram of the output device of acoustical signal according to first embodiment of the invention.
As shown in figure 3, the output device 300 of acoustical signal according to first embodiment of the invention, including:Obtain single
Unit 302 and control unit 304.
Wherein, acquiring unit 302 is used for after terminal and ear speaker device are set up and be connected, if the terminal needs output sound
Message number, then obtain the real-time status of the ear speaker device;Control unit 304 is used for
During use state, the acoustical signal is exported by the ear speaker device, and in the real-time status of the ear speaker device being
During unused state, the acoustical signal is directly exported by the terminal.
In the technical scheme, after terminal and ear speaker device are set up and are connected, and when terminal needs to export acoustical signal,
By obtaining the real-time status of ear speaker device so that ear speaker device is when in use state, and such as user has worn earphone and set
When standby, the acoustical signal of terminal can be exported by ear speaker device, to ensure that user listens to acoustical signal using ear speaker device;
And when ear speaker device is in unused state, when such as user does not wear ear speaker device, the acoustical signal of terminal can be by eventually
End directly exports, it is ensured that even if user does not wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid in ear speaker device and
After terminal connection, user does not wear ear speaker device and leads to not the problem of uppick acoustical signal.It can be seen that, the skill of the present invention
Art scheme is capable of the acoustical signal of intelligent decision terminal to be exported or directly exported by terminal by ear speaker device, with great
Motility, is conducive to lifting the experience of user.
Further, as shown in figure 4, the output device 400 of acoustical signal according to second embodiment of the present invention,
On the basis of the acquiring unit 302 shown in Fig. 3 and control unit 304, also include:Detector unit 402 and second determines
Unit 404.
Wherein, detector unit 402 is used for detecting whether the terminal receives voice or video communication request, and/or inspection
Survey whether the terminal has initiated voice or video communication request, and/or detect whether the terminal needs to play audio file
Or video file;Second determining unit 404 receives voice or video for detecting the terminal in the detector unit 402
Communication request, or detect the terminal initiated voice or video communication request, or detect the terminal need play sound
When frequency file or video file, determine that the terminal needs to export acoustical signal.
Wherein, voice or video communication request are received when detecting terminal, or detects terminal and initiated voice or regarded
During frequency communication request, if ear speaker device is in unused state, terminal directly exports acoustical signal by its receiver, certainly,
Terminal can also pass through its speaker and export acoustical signal.Need to play audio file or during video file when terminal is detected,
If ear speaker device is in unused state, terminal directly exports acoustical signal by its speaker.
Further, in one embodiment of the invention, as shown in figure 5, above-mentioned acquiring unit 302 includes:Send
Unit 3022, receiving unit 3024 and the first determining unit 3026.
Wherein, transmitting element 3022 is used for sending a notification message to the ear speaker device, and the notification message is used for notifying
Whether the ear speaker device detection user wears the ear speaker device;Receiving unit 3024 is used for receiving ear speaker device transmission
Testing result;First determining unit 3026 is used for determining the real-time status of the ear speaker device according to the testing result.
In the technical scheme, as ear speaker device is directly contact with user, therefore pass through to send to ear speaker device
Notification message, is detected wear condition of the user to ear speaker device, enabling accurately detect earphone by ear speaker device itself
Equipment is in use state or unused state, and then can be easy to accurately determine that acoustical signal is carried out by which kind of mode
Output, it is ensured that user being capable of uppick acoustical signal.
In technique scheme, it is preferable that first determining unit 3026 specifically for:In the testing result table
When the bright user has worn the ear speaker device, determine the ear speaker device in the use state;Tie in the detection
When fruit shows that the user does not wear the ear speaker device, determine the ear speaker device in the unused state.
In the technical scheme, when user has worn ear speaker device, illustrate that user is currently in use ear speaker device, now may be used
To determine ear speaker device in use state;On the contrary, when user does not wear ear speaker device, illustrating that user does not currently use
Ear speaker device, thus may determine that ear speaker device is in unused state.
The invention allows for a kind of terminal, including:The output device 300 of acoustical signal or such as Fig. 4 as shown in Figure 3
Shown in acoustical signal output device 400.
Fig. 6 shows the schematic flow sheet of the condition detection method of ear speaker device according to an embodiment of the invention, wherein,
The sensor being provided with ear speaker device for detecting state.
As shown in fig. 6, the condition detection method of ear speaker device according to an embodiment of the invention, including:
Step S60, ear speaker device detects whether to receive the notice of terminal transmission after being connected with terminal foundation
Message, the notification message is used for notifying the ear speaker device to detect the real-time status of itself.
Step S62, when the notification message of terminal transmission is received, detects the ear by the sensor
The real-time status of machine equipment.
Step S64, the real-time status for detecting is sent to the terminal.
In the technical scheme, by the sensor of detection state is provided on ear speaker device, and receiving end
During the notification message that end sends, the real-time status of ear speaker device is detected so that terminal can be according to the reality of ear speaker device
When state come determine by ear speaker device output acoustical signal still acoustical signal is directly exported by terminal, it is ensured that even if user is not
Wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid after ear speaker device is connected with terminal, user does not wear ear
Machine equipment and lead to not the problem of uppick acoustical signal, be conducive to lifted user experience.
Further, step S62 is specifically included:Set by whether the sensor senses user has worn the earphone
Standby, to obtain the real-time status of the ear speaker device.Wherein, the sensor for arranging on ear speaker device can be gravity sensor
And/or optical pickocff.
Fig. 7 shows the schematic block diagram of the condition checkout gear of ear speaker device according to an embodiment of the invention, wherein, ear
The sensor being provided with machine equipment for detecting state.
As shown in fig. 7, the condition checkout gear 700 of ear speaker device according to an embodiment of the invention, including:First detection
Unit 702, the second detector unit 704 and transmitting element 706.
Wherein, the first detector unit 702 is used for after ear speaker device and terminal are set up and be connected, and detects whether to receive institute
The notification message of terminal transmission is stated, the notification message is used for notifying the ear speaker device to detect the real-time status of itself;Second
Detector unit 704 is used for, when the notification message of terminal transmission is received, detecting the ear by the sensor
The real-time status of machine equipment;The real-time status that transmitting element 706 is used for detecting the second detector unit 704 is sent to institute
State terminal.
In the technical scheme, by the sensor of detection state is provided on ear speaker device, and receiving end
During the notification message that end sends, the real-time status of ear speaker device is detected so that terminal can be according to the reality of ear speaker device
When state come determine by ear speaker device output acoustical signal still acoustical signal is directly exported by terminal, it is ensured that even if user is not
Wear ear speaker device, it is also possible to uppick acoustical signal, it is to avoid after ear speaker device is connected with terminal, user does not wear ear
Machine equipment and lead to not the problem of uppick acoustical signal, be conducive to lifted user experience.
Further, the second detector unit 704 specifically for:Whether worn by the sensor senses user described
Ear speaker device, to obtain the real-time status of the ear speaker device.Wherein, the sensor for arranging on ear speaker device can be that gravity is passed
Sensor and/or optical pickocff.
The invention allows for a kind of ear speaker device, the ear speaker device includes:Ear speaker device body, it is arranged on ear speaker device
Sensor on body, and the condition checkout gear 700 of ear speaker device as shown in Figure 7.Wherein, ear speaker device can be
Wired earphone equipment, or wireless headphone device (such as Bluetooth earphone equipment etc.).
Technical scheme is elaborated above respectively in terms of the terminal and ear speaker device two, below in conjunction with Fig. 8, with end
Hold as a example by being bluetooth earphone for mobile phone, ear speaker device, describe interaction therebetween in detail.
As shown in figure 8, the interaction between mobile phone and bluetooth earphone according to an embodiment of the invention, including:
Step 801, mobile phone is set up with bluetooth earphone and is connected.Specifically, mobile phone is set up wireless by bluetooth and bluetooth earphone
Connection.
Step 802, mobile phone is sent a notification message to bluetooth earphone when needing to export acoustical signal.Such as, mobile phone is being sent out
Go out voice or video communication request (including dialing number, initiating voice-enabled chat or Video chat etc.), or mobile phone is being received
Voice or video communication are asked (including being connected to call, receiving voice-enabled chat or Video chat etc.), or mobile phone is needing
When playing audio file or video file, send a notification message to bluetooth earphone.
Step 803, by sensor, bluetooth earphone recognizes whether bluetooth earphone is worn on user's ear.Specifically, blue
Optical pickocff or gravity sensor etc. can be provided with tooth earphone, by these sensors for arranging detecting bluetooth earphone
Whether it is worn on user's ear.
Step 804, bluetooth earphone notifies testing result to mobile phone.I.e. whether user has been worn bluetooth ear by bluetooth earphone
The testing result of machine is notified to mobile phone.
Step 805, mobile phone determines the equipment of output acoustical signal according to the testing result that bluetooth earphone sends.Specifically,
When bluetooth earphone is in use state, i.e., when user has worn bluetooth earphone, acoustical signal can be exported by bluetooth earphone;When
Bluetooth earphone is in unused state, i.e., when user does not wear bluetooth earphone, mobile phone is by its receiver or speaker output sound
Message number.
Wherein, for the embodiment shown in Fig. 8, mobile phone therein can also be replaced by miscellaneous equipment, such as can be by flat board
Computer, MP3 etc. replace;Bluetooth earphone therein can also be replaced by wired earphone or other types of wireless headset.
Fig. 9 shows the schematic block diagram of terminal according to an embodiment of the invention.
As shown in figure 9, terminal according to an embodiment of the invention, including:Processor 1, input equipment 2,3 and of output device
Memorizer 5.In some embodiments of the invention, processor 1, input equipment 2, output device 3 and memorizer 5 can be by total
Line 4 or other modes connection, in Fig. 9 as a example by being connected by bus 4.
Wherein, memorizer 5 is used for storing batch processing code, and processor 1 calls the program code for storing in memorizer 5,
For executing following operation:
After terminal and ear speaker device are set up and be connected, if the terminal needs to export acoustical signal, filled by input
Put the real-time status of the 2 acquisitions ear speaker device;
When the real-time status of the ear speaker device is use state, the ear speaker device is passed through by the output device 3
Export the acoustical signal;
When the real-time status of the ear speaker device is unused state, straight by the terminal by the output device 3
Connect the output acoustical signal.
Used as a kind of optional embodiment, processor 1 calls the program code for storing in memorizer 5, is additionally operable to execute
Hereinafter operate:
Sent a notification message to the ear speaker device by output device 3, the notification message is used for notifying the earphone
Whether equipment detection user wears the ear speaker device;
The testing result of ear speaker device transmission is received by input equipment 2;
The real-time status of the ear speaker device is determined according to the testing result.
Used as a kind of optional embodiment, processor 1 calls the program code for storing in memorizer 5, is additionally operable to execute
Hereinafter operate:
If the testing result shows that the user has worn the ear speaker device, it is determined that the ear speaker device is in institute
State use state;
If the testing result shows that the user does not wear the ear speaker device, it is determined that the ear speaker device is in institute
State unused state.
Used as a kind of optional embodiment, processor 1 calls the program code for storing in memorizer 5, is additionally operable to execute
Hereinafter operate:
Detect whether the terminal receives voice or video communication request, and/or detect whether the terminal is initiated
Voice or video communication request, and/or detect whether the terminal needs to play audio file or video file;
If detect the terminal receive voice or video communication request, or detect the terminal initiated voice or
Video communication is asked, or is detected the terminal and needed to play audio file or video file, it is determined that the terminal needs defeated
Go out acoustical signal.
Figure 10 shows the schematic block diagram of ear speaker device according to an embodiment of the invention.
As shown in Figure 10, ear speaker device according to an embodiment of the invention, including:Processor 1', input equipment 2', output
Device 3' and memorizer 5'.In some embodiments of the invention, processor 1', input equipment 2', output device 3' and storage
Device 5' can pass through bus 4' or other modes connect, in Figure 10 as a example by being connected by bus 4'.
Wherein, memorizer 5' is used for storing batch processing code, and processor 1' calls the program generation for storing in memorizer 5'
Code, for executing following operation:
After ear speaker device and terminal are set up and be connected, detect whether input equipment 2' receives the logical of terminal transmission
Know message, the notification message is used for notifying the ear speaker device to detect the real-time status of itself;
When input equipment 2' receives the notification message of terminal transmission, by being arranged on ear speaker device
Sensor detects the real-time status of the ear speaker device;
By output device 3', the real-time status for detecting is sent to the terminal.
Used as a kind of optional embodiment, processor 1' calls the program code for storing in memorizer 5', specifically for
Execute following operation:
Whether the ear speaker device is worn by the sensor senses user, to obtain the real-time of the ear speaker device
State.
Step in the method for the embodiment of the present invention can carry out order adjustment according to actual needs, merge and delete.
The output device of the acoustical signal of the embodiment of the present invention, the condition checkout gear of ear speaker device, terminal and earphone set
Unit in standby can be merged according to actual needs, divides and be deleted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage
Medium include read only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read only memory
(Electrically-ErasableProgrammable Read-Only Memory, EEPROM), read-only optical disc (Compact
DiscRead-Only Memory, CD-ROM) or other disk storages, disk memory, magnetic tape storage or can use
In carrying or any other medium computer-readable of data storage.
Technical scheme is described in detail above in association with accompanying drawing, the present invention proposes a kind of new acoustical signal
The state-detection scheme of output scheme and ear speaker device, can be by detecting to the state of ear speaker device, with intelligent decision
The acoustical signal of terminal is exported or directly exported by terminal by ear speaker device, with great motility, is conducive to lifting
The experience of user.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (12)
1. a kind of output intent of acoustical signal, it is characterised in that include:
Terminal if the terminal needs to export acoustical signal, is obtained the earphone and sets after being connected with ear speaker device foundation
Standby real-time status;
When the real-time status of the ear speaker device is use state, the acoustical signal is exported by the ear speaker device;
When the real-time status of the ear speaker device is unused state, the acoustical signal is directly exported by the terminal.
2. the output intent of acoustical signal according to claim 1, it is characterised in that the acquisition ear speaker device
The step of real-time status, specifically include:
Send a notification message to the ear speaker device, the notification message is used for notifying whether ear speaker device detection user wears
Wear the ear speaker device;
Receive the testing result of ear speaker device transmission;
The real-time status of the ear speaker device is determined according to the testing result.
3. the output intent of acoustical signal according to claim 2, it is characterised in that described true according to the testing result
The step of real-time status of the fixed ear speaker device, specifically include:
If the testing result shows that the user has worn the ear speaker device, it is determined that the ear speaker device is made in described
Use state;
If the testing result shows that the user does not wear the ear speaker device, it is determined that the ear speaker device in described not
Use state.
4. the output intent of acoustical signal according to any one of claim 1 to 3, it is characterised in that also include:
Detect whether the terminal receives voice or video communication request, and/or detect whether the terminal has initiated voice
Or video communication request, and/or detect whether the terminal needs to play audio file or video file;
If detecting the terminal voice or video communication request is received, or detect the terminal and initiated voice or video
Communication request, or detect the terminal and need to play audio file or video file, it is determined that the terminal needs output sound
Message number.
5. a kind of condition detection method of ear speaker device, it is characterised in that be provided with for detecting state on the ear speaker device
Sensor, the condition detection method includes:
Ear speaker device detects whether to receive the notification message of terminal transmission after being connected with terminal foundation, described logical
Know message for notifying the ear speaker device to detect the real-time status of itself;
When the notification message of terminal transmission is received, the real-time of the ear speaker device is detected by the sensor
State;
The real-time status for detecting is sent to the terminal.
6. the condition detection method of ear speaker device according to claim 5, it is characterised in that described by the sensor
Detect the ear speaker device real-time status the step of, specifically include:
Whether the ear speaker device is worn by the sensor senses user, to obtain the real-time shape of the ear speaker device
State.
7. a kind of output device of acoustical signal, it is characterised in that include:
Acquiring unit, after setting up and being connected in terminal and ear speaker device, if the terminal needs to export acoustical signal, obtains
Take the real-time status of the ear speaker device;
Control unit, during for the real-time status in the ear speaker device for use state, exports institute by the ear speaker device
Acoustical signal is stated, and when being unused state for the real-time status in the ear speaker device, is directly exported by the terminal
The acoustical signal.
8. the output device of acoustical signal according to claim 7, it is characterised in that the acquiring unit includes:
Transmitting element, for sending a notification message to the ear speaker device, the notification message is used for notifying the ear speaker device
Whether detection user wears the ear speaker device;
Receiving unit, for receiving the testing result of ear speaker device transmission;
First determining unit, for determining the real-time status of the ear speaker device according to the testing result.
9. the output device of acoustical signal according to claim 8, it is characterised in that first determining unit is specifically used
In:
When the testing result shows that the user has worn the ear speaker device, determine that the ear speaker device is made in described
Use state;
When the testing result shows that the user does not wear the ear speaker device, determine the ear speaker device in described not
Use state.
10. the output device of the acoustical signal according to any one of claim 7 to 9, it is characterised in that also include:
Detector unit, for detecting whether the terminal receives voice or video communication request, and/or detects that the terminal is
No initiated voice or video communication request, and/or detect whether the terminal needs to play audio file or video file;
Second determining unit, receives voice or video communication request for detecting the terminal in the detector unit, or
Detecting the terminal and initiated voice or video communication request, or detect the terminal needs to play audio file or video
During file, determine that the terminal needs to export acoustical signal.
11. a kind of condition checkout gears of ear speaker device, it is characterised in that be provided with for detecting state on the ear speaker device
Sensor, the condition checkout gear includes:
First detector unit, after setting up and being connected in ear speaker device and terminal, detects whether to receive terminal transmission
Notification message, the notification message be used for notify the ear speaker device to detect the real-time status of itself;
Second detector unit, for when the notification message of terminal transmission is received, being detected by the sensor
The real-time status of the ear speaker device;
Transmitting element, the real-time status for detecting second detector unit is sent to the terminal.
The condition checkout gear of 12. ear speaker devices according to claim 11, it is characterised in that second detector unit
Specifically for:
Whether the ear speaker device is worn by the sensor senses user, to obtain the real-time shape of the ear speaker device
State.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610952326.3A CN106453791A (en) | 2016-10-27 | 2016-10-27 | A sound signal output method and apparatus and an earphone state detection method and apparatus |
PCT/CN2016/107777 WO2018076434A1 (en) | 2016-10-27 | 2016-11-29 | Sound signal outputting method and device, and earphone state detecting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610952326.3A CN106453791A (en) | 2016-10-27 | 2016-10-27 | A sound signal output method and apparatus and an earphone state detection method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106453791A true CN106453791A (en) | 2017-02-22 |
Family
ID=58179339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610952326.3A Pending CN106453791A (en) | 2016-10-27 | 2016-10-27 | A sound signal output method and apparatus and an earphone state detection method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106453791A (en) |
WO (1) | WO2018076434A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566604A (en) * | 2017-07-12 | 2018-01-09 | 广东小天才科技有限公司 | The control method and user terminal of a kind of prompting message |
CN108924330A (en) * | 2018-07-25 | 2018-11-30 | 联想(北京)有限公司 | Information processing method, device and electronic equipment |
CN109195053A (en) * | 2018-09-14 | 2019-01-11 | 歌尔科技有限公司 | A kind of method, apparatus and wireless headset of wireless headset connection |
WO2020082387A1 (en) * | 2018-10-27 | 2020-04-30 | 深圳市欢太科技有限公司 | Method for changing audio channel, and related device |
CN113472379A (en) * | 2021-06-23 | 2021-10-01 | 芯海科技(深圳)股份有限公司 | Intercommunication method, earphone box, earphone and storage medium |
WO2022033176A1 (en) * | 2020-08-14 | 2022-02-17 | Oppo广东移动通信有限公司 | Audio play control method and apparatus, and electronic device and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175014B (en) * | 2019-05-28 | 2023-03-21 | 歌尔科技有限公司 | Wireless earphone volume control method, system, wireless earphone and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100150368A1 (en) * | 2008-12-12 | 2010-06-17 | Cisco Technology, Inc. | Apparatus, System, and Method for Audio Communications |
CN101951534A (en) * | 2010-07-09 | 2011-01-19 | 深圳桑菲消费通信有限公司 | Method for additionally arranging sensor on earphone to adjust state of mobile terminal |
CN103024193A (en) * | 2012-12-25 | 2013-04-03 | 北京百度网讯科技有限公司 | Mobile terminal and play control method and play control device for same |
CN104427101A (en) * | 2013-08-27 | 2015-03-18 | 联想(北京)有限公司 | Method for status switching of electronic device and wearable device, and method for sending identification information |
CN105554217A (en) * | 2015-12-24 | 2016-05-04 | 联想(北京)有限公司 | Control method and electronic equipment |
-
2016
- 2016-10-27 CN CN201610952326.3A patent/CN106453791A/en active Pending
- 2016-11-29 WO PCT/CN2016/107777 patent/WO2018076434A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100150368A1 (en) * | 2008-12-12 | 2010-06-17 | Cisco Technology, Inc. | Apparatus, System, and Method for Audio Communications |
CN101951534A (en) * | 2010-07-09 | 2011-01-19 | 深圳桑菲消费通信有限公司 | Method for additionally arranging sensor on earphone to adjust state of mobile terminal |
CN103024193A (en) * | 2012-12-25 | 2013-04-03 | 北京百度网讯科技有限公司 | Mobile terminal and play control method and play control device for same |
CN104427101A (en) * | 2013-08-27 | 2015-03-18 | 联想(北京)有限公司 | Method for status switching of electronic device and wearable device, and method for sending identification information |
CN105554217A (en) * | 2015-12-24 | 2016-05-04 | 联想(北京)有限公司 | Control method and electronic equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566604A (en) * | 2017-07-12 | 2018-01-09 | 广东小天才科技有限公司 | The control method and user terminal of a kind of prompting message |
CN108924330A (en) * | 2018-07-25 | 2018-11-30 | 联想(北京)有限公司 | Information processing method, device and electronic equipment |
CN109195053A (en) * | 2018-09-14 | 2019-01-11 | 歌尔科技有限公司 | A kind of method, apparatus and wireless headset of wireless headset connection |
US11627404B2 (en) | 2018-09-14 | 2023-04-11 | Goertek Inc. | Wireless earphone linking method and apparatus and wireless earphone |
WO2020082387A1 (en) * | 2018-10-27 | 2020-04-30 | 深圳市欢太科技有限公司 | Method for changing audio channel, and related device |
CN112771889A (en) * | 2018-10-27 | 2021-05-07 | 深圳市欢太科技有限公司 | Audio channel replacing method and related equipment |
WO2022033176A1 (en) * | 2020-08-14 | 2022-02-17 | Oppo广东移动通信有限公司 | Audio play control method and apparatus, and electronic device and storage medium |
CN113472379A (en) * | 2021-06-23 | 2021-10-01 | 芯海科技(深圳)股份有限公司 | Intercommunication method, earphone box, earphone and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018076434A1 (en) | 2018-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453791A (en) | A sound signal output method and apparatus and an earphone state detection method and apparatus | |
CN103236094B (en) | Gate control system and the method with mobile terminal unblock access control equipment | |
US10630826B2 (en) | Information processing device | |
WO2019184398A1 (en) | Method for processing signals, terminal device, and non-transitory computer-readable storage medium | |
CN104484150B (en) | Method, device and a kind of terminal that a kind of audio is played | |
US8165308B2 (en) | Arrangement and method for determining operational mode of a communication device | |
CN112203206B (en) | Microphone hole blockage detection method and related product | |
CN108541080B (en) | Method for realizing loop connection between first electronic equipment and second electronic equipment and related product | |
CN102413402A (en) | Audio frequency control method of audio frequency output device and audio frequency output device | |
CN103200311A (en) | Control method and control device of communication terminal conversation audio passage and communication terminal | |
CN105282339B (en) | A kind of method, device and mobile terminal monitoring Mike's working condition | |
CN105138319A (en) | Event reminding method and apparatus | |
CN108549529A (en) | Control the method and device of audio output | |
CN109089201B (en) | Microphone hole blockage detection method and related product | |
CN106453838B (en) | Volume adjusting method and device | |
CN103838159B (en) | A kind of control method, device and electronic equipment | |
CN104702756A (en) | Detecting method and detecting device for soundless call | |
CN103238312B (en) | Control audio signal | |
CN110381215B (en) | Audio distribution method and device, storage medium and computer equipment | |
WO2018201943A1 (en) | Device control method, device and system | |
WO2018035868A1 (en) | Method for outputting audio, electronic device, and storage medium | |
CN104902084B (en) | A kind of intelligent call method, apparatus and equipment | |
CN105635378A (en) | Call quality adjusting method, device and mobile terminal | |
CN108605067B (en) | Method for playing audio and mobile terminal | |
CN112399638B (en) | Communication connection establishment method, storage medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170222 |