CN113760219A - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN113760219A CN113760219A CN202110967826.5A CN202110967826A CN113760219A CN 113760219 A CN113760219 A CN 113760219A CN 202110967826 A CN202110967826 A CN 202110967826A CN 113760219 A CN113760219 A CN 113760219A
- Authority
- CN
- China
- Prior art keywords
- channel
- audio stream
- bluetooth headset
- stream transmitted
- switching
- 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
- 230000010365 information processing Effects 0.000 title claims abstract description 31
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 238000000034 method Methods 0.000 claims abstract description 46
- 238000004891 communication Methods 0.000 claims abstract description 38
- 230000004044 response Effects 0.000 claims abstract description 34
- 230000000694 effects Effects 0.000 claims description 43
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application discloses an information processing method and device, wherein the method comprises the following steps: if the Bluetooth headset operates on the basis of the low-power audio, acquiring and outputting an audio stream transmitted by the first electronic equipment which establishes wireless communication connection through a first channel; obtaining a configuration instruction transmitted by a second electronic device which has established wireless communication connection through a second channel, wherein the configuration instruction is used for indicating a response mode of the Bluetooth headset responding to an audio stream transmitted through the second channel; responding to output of an audio stream transmitted over the second channel based on the configuration instruction.
Description
Technical Field
The embodiment of the application relates to electronic technology, and relates to but is not limited to an information processing method and device.
Background
In the prior art, Low Energy Audio (LE Audio) in bluetooth 6 standard, which is seeking for comments, supports a many-to-one multipoint access mode, that is, one bluetooth headset may be connected to multiple devices such as a mobile phone and a computer at the same time. The specification defines that the earphone uses different channels to connect different devices, and the current switching method is the audio frequency in the back, and the use right of the earphone is preempted. This approach is simple and crude, and does not allow for good user experience.
Disclosure of Invention
In view of this, the present application provides an information processing method and apparatus.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides an information processing method, where the method includes: if the Bluetooth headset operates on the basis of the low-power audio, acquiring and outputting an audio stream transmitted by the first electronic equipment which establishes wireless communication connection through a first channel; obtaining a configuration instruction transmitted by a second electronic device which has established wireless communication connection through a second channel, wherein the configuration instruction is used for indicating a response mode of the Bluetooth headset responding to an audio stream transmitted through the second channel; responding to output of an audio stream transmitted over the second channel based on the configuration instruction.
In a second aspect, an embodiment of the present application provides an information processing apparatus, including: the first obtaining module is used for obtaining and outputting an audio stream transmitted by a first electronic device through a first channel, wherein the first electronic device is connected with the Bluetooth headset through wireless communication; a second obtaining module, configured to obtain a configuration instruction transmitted by a second electronic device that has established a wireless communication connection through a second channel, where the configuration instruction is used to instruct a response mode of the bluetooth headset to respond to an audio stream transmitted through the second channel; a response module for responding to output of the audio stream transmitted through the second channel based on the configuration instruction.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps in the method when executing the program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the method.
In the embodiment of the application, firstly, the bluetooth headset operates based on the low-power audio to obtain and output an audio stream transmitted by a first electronic device through a first channel, wherein the first electronic device is established with wireless communication connection; then, acquiring a configuration instruction transmitted by second electronic equipment which has established wireless communication connection through a second channel; finally, responding to the output of the audio stream transmitted through the second channel based on the configuration instruction. Therefore, according to the configuration instruction, the Bluetooth headset responds to the output of the audio stream transmitted through the second channel, the problems that in the prior art, the audio output is simply and roughly switched and fine user experience cannot be achieved are solved, the effects of switching the audio and determining the signal output mode according to the configuration instruction are achieved, and the Bluetooth headset is simple and comfortable and brings better use experience to users.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of another information processing method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of another information processing method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a switching list of a bluetooth headset according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 6 is a hardware entity diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, specific technical solutions of the present application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that some of the embodiments described herein are only for explaining the technical solutions of the present application, and are not intended to limit the technical scope of the present application.
An information processing method provided in an embodiment of the present application is applied to a bluetooth headset, and as shown in fig. 1, the following steps are performed:
step S101, if the Bluetooth headset runs on the basis of low-power audio, obtaining and outputting an audio stream transmitted by a first electronic device through a first channel, wherein the first electronic device is established with wireless communication connection;
in some embodiments, the bluetooth headset operates based on low power audio and may establish a low power connection with multiple electronic devices, i.e., the bluetooth headset is capable of receiving audio from multiple electronic devices simultaneously using bluetooth low energy without having to shuttle between different electronic devices. In practice, the electronic device may include a computer, a mobile phone, and the like. The bluetooth headset may obtain and output an audio stream of a first electronic device of the plurality of electronic devices connected to the bluetooth headset through the first channel, for example, the bluetooth headset may connect to a mobile phone of a user through the second channel while connecting to the computer of the user through the first channel, and the bluetooth headset obtains and outputs an audio stream (e.g., music) transmitted by the computer through the first channel after the wireless communication connection is established.
Step S102, obtaining a configuration instruction transmitted by a second electronic device which has established wireless communication connection through a second channel, wherein the configuration instruction is used for indicating a response mode of the Bluetooth headset responding to an audio stream transmitted through the second channel;
in some embodiments, the bluetooth headset obtains a configuration instruction transmitted by the second electronic device through the second channel when the second electronic device requests to play an audio stream of the second electronic device, where the configuration instruction is used to instruct the bluetooth headset to play a response mode of the audio stream transmitted by the second channel, for example, when the bluetooth headset is playing an audio stream transmitted by a computer through a first channel, the configuration instruction transmitted by the mobile phone through the second channel is obtained.
In some embodiments, the bluetooth headset may be configured to store a switching list, where the switching list is used to record the configuration command transmitted by the second electronic device through the second channel, and the configuration command transmitted by the second channel is sent by the second electronic device to the bluetooth headset.
And step S103, responding to the output of the audio stream transmitted by the second channel based on the configuration instruction.
In practice, the bluetooth headset obtains configuration instructions for the second channel transmission and determines how to respond to the output of the audio stream transmitted by the second channel based on the configuration instructions. For example, the output mode of the audio stream transmitted by the second channel may be determined according to a default setting of the bluetooth headset, or may be determined according to a selection of a user.
In the embodiment of the application, firstly, the bluetooth headset operates based on the low-power audio to obtain and output an audio stream transmitted by a first electronic device through a first channel, wherein the first electronic device is established with wireless communication connection; then, acquiring a configuration instruction transmitted by second electronic equipment which has established wireless communication connection through a second channel; finally, responding to the output of the audio stream transmitted through the second channel based on the configuration instruction. Therefore, according to the configuration instruction, the Bluetooth headset responds to the output of the audio stream transmitted through the second channel, the problems that in the prior art, the audio output is simply and roughly switched and fine user experience cannot be achieved are solved, the effects of switching the audio and determining the signal output mode according to the configuration instruction are achieved, and the Bluetooth headset is simple and comfortable and brings better use experience to users.
The information processing method provided by the embodiment of the application is applied to the Bluetooth headset and executes the following steps:
step 111, if the bluetooth headset operates based on the low-power audio, obtaining and outputting an audio stream transmitted by the first electronic device through the first channel, wherein the first electronic device is established with the wireless communication connection;
step 112, obtaining a configuration instruction transmitted by a second electronic device which has established wireless communication connection through a second channel, where the configuration instruction is used to instruct a response mode of the bluetooth headset to respond to an audio stream transmitted through the second channel, and the configuration instruction includes a switching mode and a switching effect;
and 113, responding to the output of the audio stream transmitted through the second channel based on the switching mode and the switching effect, wherein the switching effect comprises sound fade-in, direct switching and mixing switching.
In some embodiments, the switching effect may be set to be a sound fade-in effect, for example, music sound of a computer may be gradually reduced, and a switched mobile phone call may be gradually enhanced, so as to bring a better use experience to a user.
In the embodiment of the application, the user can set the switching effect in the configuration instruction according to actual needs so as to improve the use experience of the user.
An information processing method provided in an embodiment of the present application is applied to a bluetooth headset, and as shown in fig. 2, the following steps are performed:
step S201, if the Bluetooth headset runs based on low-power audio, obtaining and outputting an audio stream transmitted by a first electronic device through a first channel, wherein the first electronic device is established with wireless communication connection;
step S202, obtaining a configuration instruction transmitted by a second electronic device through a second channel, wherein the configuration instruction is used for indicating a response mode of the Bluetooth headset responding to an audio stream transmitted through the second channel, and the configuration instruction comprises a switching mode and a switching effect, wherein the switching mode comprises a first switching mode, and the first switching mode is used for switching and playing the audio stream transmitted through the second channel;
in some embodiments, the first switching manner is also referred to as "first-in (play)", i.e., without waiting for direct play. For example, when a mobile phone connected to the second channel requests a call, the switching mode may be set as the first switching mode, that is, the call prompt tone is directly played in the bluetooth headset.
In some embodiments, the configuration command transmitted by the second electronic device through the second channel, which has established the wireless communication connection, is obtained, and the configuration command transmitted by the first electronic device through the first channel is cleared. Therefore, only one configuration instruction of the audio stream requested to be played is kept in the Bluetooth headset, and the processing logic of the Bluetooth headset is simple and high in efficiency.
Step S203, based on the first switching mode, the bluetooth headset outputs the audio stream transmitted by the second channel.
In the implementation process, the bluetooth headset directly outputs the audio stream transmitted by the second channel based on the switching effect under the condition that the bluetooth headset acquires the first switching mode and the switching effect.
In an embodiment of the present application, the switching manner includes a first switching manner, where the first switching manner is to switch and play an audio stream transmitted by the second channel. Therefore, the Bluetooth headset can directly output the audio stream transmitted by the second channel based on the switching effect under the condition of acquiring the first switching mode transmitted by the second channel, and the requirement of the user for directly switching the audio stream transmitted by the second channel is met.
In the embodiment of the application, the configuration instruction transmitted by the second electronic device through the second channel after the wireless communication connection is established is obtained, and the configuration instruction transmitted by the first electronic device through the first channel is cleared at the same time. Therefore, only one configuration instruction of the audio stream requested to be played is kept in the Bluetooth headset, and the processing logic of the Bluetooth headset is simple and high in efficiency.
The information processing method provided by the embodiment of the application is applied to the Bluetooth headset and executes the following steps:
step 211, if the bluetooth headset operates based on the low-power audio, obtaining and outputting an audio stream transmitted by the first electronic device through the first channel, wherein the first electronic device has established the wireless communication connection;
step 212, obtaining a configuration instruction transmitted by a second electronic device through a second channel, where the configuration instruction is used to indicate a response mode in which the bluetooth headset responds to an audio stream transmitted through the second channel, and the configuration instruction includes a switching mode and a switching effect, where the switching mode includes a first switching mode, where the first switching mode is to switch and play the audio stream transmitted through the second channel, and the configuration instruction further includes turning on a call when a key trigger event of the bluetooth headset is obtained when an attribute of the audio stream transmitted through the second channel is a call;
in some embodiments, in the case that the attribute of the audio stream transmitted by the second channel is a call, since it is necessary for the user to inform the user of the connection of the call in time, it is necessary to switch the bluetooth headset to play the incoming call alert tone in time.
Step 213, based on the first switching mode, the bluetooth headset outputs a call prompt tone transmitted by the second channel;
after the conversation is switched, the Bluetooth headset can play an incoming call prompt tone for prompting a user to answer, for example, a telephone ring can be played before a voice telephone is connected, and a prompt tone of a WeChat telephone can be played before a WeChat telephone is connected.
And 214, under the condition of acquiring the key triggering event of the Bluetooth headset, the Bluetooth headset is connected with a call.
In practice, the bluetooth headset needs to acquire a key trigger event to determine to connect the phone.
In this embodiment of the application, when the attribute of the audio stream transmitted in the second channel is a call, the configuring instruction further includes turning on the call when the key trigger event of the bluetooth headset is acquired. Therefore, after the call request sent by switching to the second channel can be met, the user triggers the key triggering event of the Bluetooth headset, and the call answering is effectively completed.
The information processing method provided by the embodiment of the application is applied to the Bluetooth headset and executes the following steps:
step 221, if the bluetooth headset operates based on the low-power audio, obtaining and outputting an audio stream transmitted by the first electronic device through the first channel, wherein the first electronic device is established with the wireless communication connection;
step 222, obtaining a configuration instruction transmitted by a second channel by a second electronic device that has established a wireless communication connection, where the configuration instruction is used to indicate a response mode in which the bluetooth headset responds to an audio stream transmitted by the second channel, and the configuration instruction includes a switching mode and a switching effect, where the switching mode includes a first switching mode, where the first switching mode is to switch and play the audio stream transmitted by the second channel, and the first switching mode further includes switching and outputting the audio stream transmitted by the first channel when a key trigger event of the bluetooth headset is obtained;
in some embodiments, in the case that the bluetooth headset switches to play the audio stream transmitted by the second channel, the setting of the first switching manner may further include switching back to output the audio stream transmitted by the first channel again in the case that the key trigger event of the bluetooth headset is acquired. For example, when the call transmitted in the second channel is ended, the bluetooth headset may acquire a key trigger event triggered by the user to switch back to the music played by the computer transmitted in the first channel.
Step 223, based on the first switching mode, the bluetooth headset outputs the audio stream transmitted by the second channel;
step 224, under the condition of acquiring the key triggering event of the bluetooth headset, the bluetooth headset switches to output the audio stream transmitted by the first channel.
In this embodiment of the application, based on the first switching manner, the bluetooth headset outputs an audio stream transmitted by the second channel; and under the condition of acquiring the key triggering event of the Bluetooth headset, the Bluetooth headset switches and outputs the audio stream transmitted by the first channel. Therefore, the key triggering event of the Bluetooth headset can be effectively triggered to meet the switching requirement under the condition that the user needs to switch the Bluetooth headset to output the audio stream transmitted by the first channel.
The information processing method provided by the embodiment of the application is applied to the Bluetooth headset and executes the following steps:
231, if the bluetooth headset operates based on the low-power audio, obtaining and outputting an audio stream transmitted by the first electronic device through the first channel, wherein the first electronic device is connected with the bluetooth headset through wireless communication;
step 232, obtaining a configuration instruction transmitted by a second channel by a second electronic device that has established a wireless communication connection, where the configuration instruction is used to indicate a response mode in which the bluetooth headset responds to an audio stream transmitted by the second channel, and the configuration instruction includes a switching mode and a switching effect, where the switching mode includes a first switching mode, where the first switching mode is to switch and play the audio stream transmitted by the second channel, and the first switching mode further includes keeping outputting the audio stream transmitted by the second channel when a key trigger event of the bluetooth headset is obtained; under the condition that a key triggering event of the Bluetooth headset is not acquired, under the condition that the waiting output duration meets a time threshold, determining to switch back to the audio stream transmitted by the first channel;
in some embodiments, the first switching manner further includes, when the key trigger event of the bluetooth headset is acquired, keeping outputting the audio stream transmitted by the second channel, for example, the audio stream transmitted by the second channel of the bluetooth headset is music transmitted by a mobile phone, and when the bluetooth headset acquires the key trigger event, keeping outputting the music transmitted by the mobile phone.
In some embodiments, in a case where the key trigger event of the bluetooth headset is not acquired, in response to a case where a waiting output duration meets a time threshold, it is determined to switch back to the audio stream transmitted in the first channel, for example, in a case where the audio stream transmitted by the mobile phone played by the bluetooth headset meets a certain duration, the key trigger event of the bluetooth headset is not acquired, and the audio stream transmitted by the computer may be automatically switched back.
Step 233, based on the first switching mode, the bluetooth headset outputs the audio stream transmitted by the second channel;
step 234, under the condition of acquiring a key triggering event of the bluetooth headset, the bluetooth headset switches and outputs the audio stream transmitted by the first channel;
and 235, under the condition that the key triggering event of the bluetooth headset is not acquired, under the condition that the waiting output time meets the time threshold, determining to switch back to the audio stream transmitted by the first channel.
In this embodiment of the application, based on the first switching manner, the bluetooth headset outputs an audio stream transmitted by the second channel; under the condition of acquiring a key triggering event of the Bluetooth headset, the Bluetooth headset switches and outputs an audio stream transmitted by the first channel; and under the condition that the key triggering event of the Bluetooth headset is not acquired, under the condition that the waiting output duration meets a time threshold, determining to switch back to the audio stream transmitted by the first channel. In this way, the user may set the first switching mode to include determining to switch to output the audio stream transmitted by the first channel according to a key trigger event of the bluetooth headset, and may also set the first switching mode to include determining to switch back to the audio stream transmitted by the first channel in response to the condition that the waiting output duration satisfies the time threshold without acquiring the key trigger event of the bluetooth headset.
An information processing method provided in an embodiment of the present application is applied to a bluetooth headset, and as shown in fig. 3, the following steps are performed:
step S301, if the Bluetooth headset runs based on low-power audio, obtaining and outputting an audio stream transmitted by a first electronic device through a first channel, wherein the first electronic device is established with wireless communication connection;
step S302, obtaining a configuration instruction transmitted by a second electronic device through a second channel, wherein the configuration instruction is used for indicating a response mode of the Bluetooth headset responding to an audio stream transmitted through the second channel, the configuration instruction comprises a switching mode and a switching effect, the switching mode comprises a second switching mode, and the second switching mode is voice prompt information which is used for outputting a key trigger event for prompting a user to trigger the Bluetooth headset and determining whether the audio stream transmitted through the second channel needs to be switched and played;
in some embodiments, the second switching manner is also referred to as "enter (play)" and is to switch to the audio stream transmitted by the second channel first, but to output a voice prompt message to prompt the user whether to switch to play the audio stream transmitted by the second channel. The user can set the audio stream which does not need to be switched in time as the second switching mode according to the actual requirement. For example, when the bluetooth headset is playing music of the first channel and music of the second channel is accessed, the bluetooth headset may output a voice prompt message to prompt the user whether to switch the output signal of the bluetooth headset to the music of the second channel.
In some embodiments, the bluetooth headset may detect a signal output command for the voice prompt information, and the user may communicate with the bluetooth headset by using voice recognition to send the signal output command, or may send the signal output command by using a button provided on the bluetooth headset.
Step S303, outputting voice prompt information based on the second switching mode;
under the condition that the Bluetooth headset receives the second switching mode, the Bluetooth headset can output voice prompt information firstly to prompt the user that the second channel needs to play audio streams and prompt the user to select which mode to switch or not to switch the audio streams transmitted by the second channel. For example, the bluetooth headset may prompt the user to trigger a button of the bluetooth headset to switch to the audio stream transmitted on the second channel.
Step S304, detecting a key triggering event of the Bluetooth headset aiming at the voice prompt information;
in the implementation process, after the voice prompt message is output, the bluetooth headset starts to detect whether the user triggers the key of the bluetooth headset.
Step S305, determining an output mode of the audio stream transmitted by the second channel based on the key triggering event of the bluetooth headset.
And under the condition that the Bluetooth headset detects the key triggering event, determining the output mode of the audio stream transmitted by the second channel according to the setting of the key triggering event.
In the embodiment of the application, the switching mode includes a second switching mode, and the second switching mode is to output a voice prompt message prompting a user to trigger a key trigger event of the bluetooth headset to determine whether to switch to play an audio stream transmitted by a second channel. Therefore, the user can set the audio stream which does not need to be switched in time as a second switching mode, prompt information is output, the user is prompted to select whether the switching is needed, and the switching requirements of the user on different audio streams are met.
The information processing method provided by the embodiment of the application is applied to the Bluetooth headset and executes the following steps:
311, if the bluetooth headset operates based on the low-power audio, obtaining and outputting an audio stream transmitted by the first electronic device through the first channel, wherein the first electronic device is connected with the bluetooth headset through wireless communication;
step 312, obtaining a configuration instruction transmitted by a second channel by a second electronic device that has established a wireless communication connection, where the configuration instruction is used to indicate a response mode in which the bluetooth headset responds to an audio stream transmitted by the second channel, the configuration instruction includes a switching mode and a switching effect, the switching mode includes a second switching mode, where the second switching mode is to output a voice prompt message that prompts a user to trigger a key trigger event of the bluetooth headset to determine whether to switch to play the audio stream transmitted by the second channel, and the second switching mode includes that the bluetooth headset switches to output the audio stream transmitted by the second channel when the key trigger event of the bluetooth headset is obtained; or, the second switching manner includes that the bluetooth headset keeps outputting the audio stream transmitted by the first channel under the condition of acquiring a key triggering event of the bluetooth headset; or, the second switching manner includes switching to play the audio stream transmitted by the second channel in response to the condition that the waiting output duration meets the time threshold value under the condition that the key triggering event of the bluetooth headset is not acquired;
for example, the user may trigger a button of the bluetooth headset to switch to output the audio stream transmitted by the second channel; or, the user can trigger a key of the bluetooth headset to keep outputting the audio stream transmitted by the first channel; or, under the condition that the bluetooth headset does not acquire the key triggering event, in response to the condition that the waiting output duration meets the time threshold, switching to play the audio stream transmitted by the second channel. Therefore, the user can set different triggering modes and triggering effects of the triggering methods according to actual needs.
313, outputting voice prompt information based on the second switching mode;
step 314, detecting a key triggering event of the bluetooth headset aiming at the voice prompt information;
step 315, under the condition of obtaining the key triggering event of the bluetooth headset, the bluetooth headset switches and outputs the audio stream transmitted by the second channel; or, under the condition of acquiring the key triggering event of the bluetooth headset, the bluetooth headset keeps outputting the audio stream transmitted by the first channel; or under the condition that the key triggering event of the Bluetooth headset is not acquired, under the condition that the waiting output duration meets the time threshold, switching to play the audio stream transmitted by the second channel.
In the embodiment of the application, a user can trigger the key of the Bluetooth headset to switch and output the audio stream transmitted by the second channel; or, the user can trigger a key of the bluetooth headset to keep outputting the audio stream transmitted by the first channel; or, under the condition that the bluetooth headset does not acquire the key triggering event, in response to the condition that the waiting output duration meets the time threshold, switching to play the audio stream transmitted by the second channel. Therefore, the user can set different triggering modes and triggering effects of the triggering methods according to actual needs.
The information processing method provided by the embodiment of the application is applied to the Bluetooth headset and executes the following steps:
step 321, if the bluetooth headset operates based on the low-power audio, obtaining and outputting an audio stream transmitted by the first electronic device through the first channel, wherein the first electronic device has established a wireless communication connection, and the bluetooth headset comprises a right-ear headset and a left-ear headset;
322, obtaining a configuration instruction transmitted by a second channel by a second electronic device that has established a wireless communication connection, where the configuration instruction is used to instruct a response mode in which the bluetooth headset responds to an audio stream transmitted by the second channel, the configuration instruction includes a switching mode and a switching effect, the switching mode includes a third switching mode and a fourth switching mode, and the third switching mode is that the right-ear headset and the left-ear headset simultaneously output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel; the fourth switching mode is that the right ear earphone and the left ear earphone respectively output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel;
step 323, based on the third switching manner and the switching effect, the right ear earphone and the left ear earphone simultaneously output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel; or, based on the fourth switching manner and the switching effect, the right ear earphone and the left ear earphone output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel, respectively.
In some embodiments, the third switching manner is that the right ear earphone and the left ear earphone output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel simultaneously. For example, the right ear earphone and the left ear earphone may tune down the music sound transmitted by the first channel as a background, and the right ear earphone and the left ear earphone simultaneously output the call voice transmitted by the second channel on the basis of the music.
In some embodiments, the right ear headphone and the left ear headphone output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel, respectively. For example, the user may listen to the speech transmitted on the second channel using either the right ear headphone or the left ear headphone, while the other headphone continues to output the audio stream transmitted on the first channel.
In this embodiment of the application, the bluetooth headset may output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel simultaneously by the right ear headset and the left ear headset based on the third switching manner and the switching effect; or, based on the fourth switching manner and the switching effect, the right ear earphone and the left ear earphone output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel, respectively. Therefore, the user can set the most comfortable switching mode and switching effect according to the use habit of the user.
Fig. 4 is a schematic diagram of a switching list of a bluetooth headset according to an embodiment of the present application, as shown in fig. 4, the schematic diagram includes a first electronic device 41, a second electronic device 42, a configuration instruction (table B)43 recorded by the second electronic device, a bluetooth headset 44, and a configuration instruction (table a)45 stored by the bluetooth headset, wherein,
table B43 may be the data signal sent by the second electronic device to the bluetooth headset 44, and the switching manner of the data signal with different attributes in the second electronic device may be recorded in table B43.
In some embodiments, in the event that the second electronic device 42 establishes the second channel connection with the bluetooth headset 44, table B43 may be sent to the bluetooth headset 44, and the bluetooth headset 44 outputs the audio stream of the second electronic device according to the configuration instructions recorded in table B43.
In some embodiments, configuration instructions sent by a plurality of different devices may be recorded in table a, where the configuration instructions may include attributes of an audio stream and a rating corresponding to the attributes, for example, the attributes of the audio stream may be music, telephone, or video, where the telephone may be rated higher than the video, and the video may be rated higher than the music. Here, the bluetooth headset may determine the switching manner according to the level corresponding to the different music attributes acquired from table a. For example, the bluetooth headset is playing music transmitted from the first channel, the second channel requests to play a phone alert tone, and since the phone level is higher than that of the music, the bluetooth headset will directly switch to the second channel for playing.
In some embodiments, at least one default playing mode or switching mode may be stored in table a, and when the electronic device does not store table B, the bluetooth headset receives a playing request from the electronic device, and may play using the default playing mode or switching mode in table a.
In the embodiment of the application, the bluetooth headset stores a switching list, and the switching list records a configuration instruction for switching the audio stream output by the second channel. Therefore, the Bluetooth headset can switch and output the audio stream of the second electronic equipment on the basis of meeting the requirements of the user according to the configuration instruction.
In the prior art, the device corresponding to the low-power audio representation is a back-in audio, and the use right of the Bluetooth headset is preempted. For example, the bluetooth headset may be connected to a computer and a mobile phone at the same time, and when a user is listening to a song using the computer, if the user clicks on the mobile phone to play a song or a phone call, or even an alarm, the audio from the mobile phone channel (channel) immediately occupies the play right of the bluetooth headset. This method is simple and rough, and cannot achieve good user experience.
As shown in fig. 4, taking the first electronic device 41 as a computer and the second electronic device 42 as a mobile phone as an example, one computer 41 and one mobile phone 42 are connected to the low power audio bluetooth headset 44 at the same time, the computer 41 occupies the first channel of the bluetooth headset, and the mobile phone 42 occupies the second channel of the bluetooth headset.
The firmware side of the bluetooth headset 44 maintains a table a45 in which the switching manner and switching effect of the channels are recorded in table a 45. The computer 41 or handset 42 connected to the bluetooth headset 44 maintains another table B43, which B43 records the channel switching patterns and switching effects used by the different applications.
When the mobile phone 42 or the computer 41 initiates a new audio stream on the channel connected to the bluetooth headset 44, the mobile phone 42 or the computer 41 first determines the source of the audio stream, then queries the settings in the table B43, sends an instruction to the bluetooth headset 44, and the bluetooth headset 44 first updates the table a45 and then performs subsequent formal switching according to the table a 45. Here, the configuration instruction may be a switching manner and a switching effect corresponding to the queried audio stream. Because table B43 belongs to the setup table, i.e., the operational modes corresponding to different audio streams are recorded. And table a45 records the manner and effect of the switch to be performed by the bluetooth headset 44. This table a45 is updated each time according to the settings passed by the command.
For example, in the case where music played from the computer 41 on the first channel is being played in the bluetooth headset 44, the WeChat of the cellular phone 42 is coming to a voice call request. At this time, the background bluetooth service of the mobile phone 42 will first query its own table B43, and the switching manner of the channels occupied by the WeChat audio is obtained as follows: enter first (play), a key-on and hold mode is required, and the effect is a fade-in effect. Here, the first-in (play) may be a direct play without waiting. Because the IP-based call application, like WeChat, is switched on first and then controlled whether to hang up or not. Table a45 in bluetooth headset 44 may be updated first via the second channel. The handset 42 then sends the audio to the second channel. The bluetooth headset 44 then directly plays the audio coming from the WeChat of the handset 42, using a faded-up sound effect switch. In the event that the user taps a key on the bluetooth headset 44, a key tap event is returned to the handset 42 and the WeChat of the handset 42 completes the listening action. Here, the button on the bluetooth headset 44 may be a talk button on the bluetooth headset 44. This button is used in the same manner as a conventional bluetooth headset in a telephone mode.
As another example, the same Bluetooth headset 44 plays music from the computer 41 on the first channel. At this time, the user clicks a jittered video on the mobile phone 42, and at this time, the mobile phone 42 looks up the table B43 to obtain a jittered channel switching mode: enter first (play), click the button to switch back to the previous first channel, and the effect is fade-in. The handset 42 then updates the table a45 in the bluetooth headset 44 via the second channel. The audio is then sent to the second channel. The bluetooth headset 44 then switches to the jittered audio sent directly to the handset 42 using the faded-in audio effect. When the user taps a key on the bluetooth headset 44, the bluetooth headset 44 switches the playback content directly back to the first channel.
In some embodiments, the switching modes of the bluetooth headset may include the following five modes: firstly, entering (playing), returning a key event to the mobile phone, and keeping playing; firstly, entering (playing), and switching the key event back to the original channel; firstly, entering (playing), keeping playing the key event, and switching back to the original channel after several seconds without the key event; back input (prompt tone), and key event switching playing; and (4) entering later (prompt tone), rejecting the key event, and automatically switching to play after several seconds without the key event.
The bluetooth headset switching effect may include the following three ways: sound fade-in, direct switching and mixing.
The switching method shown in fig. 4 can achieve the effects of simplicity, comfort and better user experience.
Based on the foregoing embodiments, an information processing apparatus is provided in an embodiment of the present application, where the apparatus includes modules and sub-modules included in the modules, and may be implemented by a processor in an electronic device; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 5 is a schematic diagram of a composition structure of an information processing apparatus according to an embodiment of the present application, and as shown in fig. 5, the information processing apparatus 500 includes:
a first obtaining module 501, configured to obtain and output an audio stream transmitted by a first electronic device through a first channel, where a wireless communication connection is established, if the bluetooth headset operates based on a low-power audio;
a second obtaining module 502, configured to obtain a configuration instruction transmitted by a second electronic device that has established a wireless communication connection through a second channel, where the configuration instruction is used to instruct a response mode of the bluetooth headset to respond to an audio stream transmitted through the second channel;
a response module 503, configured to respond to the output of the audio stream transmitted through the second channel based on the configuration instruction.
In some embodiments, the configuration instruction includes a switching manner and a switching effect, and the responding module 503 is further configured to respond to the output of the audio stream transmitted through the second channel based on the switching manner and the switching effect, where the switching effect includes a sound fade-in, a direct switch, and a mix switch.
In some embodiments, the switching manner includes a first switching manner, where the first switching manner is to switch to play the audio stream transmitted by the second channel, and the response module 503 is further configured to output the audio stream transmitted by the second channel by the bluetooth headset based on the first switching manner.
In some embodiments, in a case that the attribute of the audio stream transmitted by the second channel is a call, the configuration instruction further includes turning on the call in a case that a key triggering event of the bluetooth headset is obtained, and the response module 503 includes a first output submodule and a turning-on submodule, where the first output submodule is configured to output a call alert tone transmitted by the second channel by the bluetooth headset based on the first switching manner; and the connection submodule is used for connecting the Bluetooth headset to a call under the condition of acquiring the button triggering event of the Bluetooth headset.
In some embodiments, the first switching manner further includes switching to output the audio stream transmitted by the first channel when a key triggering event of the bluetooth headset is obtained, and the response module 503 includes a second output submodule and a third output submodule, where the second output submodule is configured to output the audio stream transmitted by the second channel by the bluetooth headset based on the first switching manner; and the third output submodule is used for switching and outputting the audio stream transmitted by the first channel by the Bluetooth headset under the condition of acquiring the key triggering event of the Bluetooth headset.
In some embodiments, the first switching mode further comprises keeping outputting the audio stream transmitted by the second channel under the condition of acquiring the key triggering event of the bluetooth headset; under the condition that a key triggering event of the bluetooth headset is not acquired, in response to the condition that the waiting output duration meets a time threshold, determining to switch back to the audio stream transmitted by the first channel, where the response module 503 includes a fourth output submodule and a fifth output submodule, where the fourth output submodule is configured to switch and output the audio stream transmitted by the first channel by the bluetooth headset under the condition that the key triggering event of the bluetooth headset is acquired; and the fifth output submodule is used for responding to the condition that the waiting output duration meets a time threshold value under the condition that the key triggering event of the Bluetooth headset is not acquired, and determining to switch back to the audio stream transmitted by the first channel.
In some embodiments, the switching manner includes a second switching manner, where the second switching manner is to output a key triggering event prompting a user to trigger the bluetooth headset to determine whether to switch to play a voice prompt message of an audio stream transmitted by a second channel, and the response module 503 includes a sixth output submodule, a detection submodule, and a determination submodule, where the sixth output submodule is configured to output the voice prompt message based on the second switching manner; the detection submodule is used for detecting a key triggering event of the Bluetooth headset aiming at the voice prompt information; and the determining submodule is used for determining an output mode of the audio stream transmitted by the second channel based on a key triggering event of the Bluetooth headset.
In some embodiments, the second switching manner includes that the bluetooth headset switches to output the audio stream transmitted by the second channel when the bluetooth headset key triggering event is acquired; or, the second switching manner includes that the bluetooth headset keeps outputting the audio stream transmitted by the first channel under the condition of acquiring the key triggering event of the bluetooth headset; or, the second switching manner includes switching to play the audio stream transmitted by the second channel in response to the condition that the waiting output duration meets the time threshold value under the condition that the key triggering event of the bluetooth headset is not acquired; the determining submodule is used for switching and outputting the audio stream transmitted by the second channel by the Bluetooth headset under the condition of acquiring a key triggering event of the Bluetooth headset; or, under the condition of acquiring a key triggering event of the bluetooth headset, the bluetooth headset keeps outputting the audio stream transmitted by the first channel; or under the condition that the key triggering event of the Bluetooth headset is not acquired, under the condition that the waiting output duration meets the time threshold, switching to play the audio stream transmitted by the second channel.
In some embodiments, the bluetooth headset includes a right-ear headset and a left-ear headset, and the switching manner includes a third switching manner and a fourth switching manner, where the third switching manner is that the right-ear headset and the left-ear headset simultaneously output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel; the fourth switching mode is that the right ear earphone and the left ear earphone respectively output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel; the response module 503 includes a seventh output sub-module, configured to output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel simultaneously by the right ear earphone and the left ear earphone based on the third switching manner; or, based on the fourth switching manner, the right-ear earphone and the left-ear earphone output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel, respectively.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
In the embodiment of the present application, if the information processing method is implemented in the form of a software functional module and sold or used as a standalone product, the information processing method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing an electronic device (which may be a tablet computer, a desktop computer, a server, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the information processing method provided in the above-described embodiments.
Correspondingly, based on the same technical concept, an embodiment of the present application provides an electronic device, configured to implement the information processing method described in the foregoing method embodiment, and fig. 6 is a schematic diagram of a hardware entity of the electronic device according to the embodiment of the present application, and as shown in fig. 6, the hardware entity of the electronic device 600 includes: comprising a memory 601 and a processor 602, said memory 601 storing a computer program operable on said processor 602, said processor 602 implementing the steps in the information processing method provided in the above embodiments when executing said program.
The Memory 601 is configured to store instructions and applications executable by the processor 602, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 602 and modules in the electronic device 600, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Correspondingly, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the information processing method provided in the above-described embodiments.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a tablet computer, a notebook computer, a desktop computer, a server, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. An information processing method, characterized in that the method comprises:
if the Bluetooth headset operates on the basis of the low-power audio, acquiring and outputting an audio stream transmitted by the first electronic equipment which establishes wireless communication connection through a first channel;
obtaining a configuration instruction transmitted by a second electronic device which has established wireless communication connection through a second channel, wherein the configuration instruction is used for indicating a response mode of the Bluetooth headset responding to an audio stream transmitted through the second channel;
responding to output of an audio stream transmitted over the second channel based on the configuration instruction.
2. The method of claim 1, wherein the configuration instructions include a switch mode and a switch effect,
the responding to the output of the audio stream transmitted through the second channel based on the configuration instruction comprises:
responding to the output of the audio stream transmitted through the second channel based on the switching manner and the switching effect, wherein the switching effect comprises sound fade-in, direct switching and mixing switching.
3. The method of claim 2, wherein the switching manner comprises a first switching manner, wherein the first switching manner is to switch to play the audio stream transmitted by the second channel,
the responding to the output of the audio stream transmitted through the second channel based on the configuration instruction comprises:
and outputting the audio stream transmitted by the second channel by the Bluetooth headset based on the first switching mode.
4. The method of claim 3, wherein in the event that the attribute of the audio stream transmitted by the second channel is a call, the configuration instructions further comprise placing the call on if a key trigger event for the Bluetooth headset is acquired,
the outputting, by the bluetooth headset, the audio stream transmitted by the second channel based on the first switching manner includes:
based on the first switching mode, the Bluetooth headset outputs a call prompt tone transmitted by the second channel;
and under the condition of acquiring the key triggering event of the Bluetooth headset, the Bluetooth headset is connected with a call.
5. The method of claim 3, wherein the first switching mode further comprises switching output of the audio stream transmitted by the first channel in case of acquiring a key trigger event of the Bluetooth headset,
the outputting, by the bluetooth headset, the audio stream transmitted by the second channel based on the first switching manner includes:
based on the first switching mode, the Bluetooth headset outputs the audio stream transmitted by the second channel;
and under the condition of acquiring the key triggering event of the Bluetooth headset, the Bluetooth headset switches and outputs the audio stream transmitted by the first channel.
6. The method of claim 3, wherein the first switching mode further comprises keeping outputting the audio stream transmitted by the second channel in case of acquiring a key triggering event of the Bluetooth headset; under the condition that a key triggering event of the Bluetooth headset is not acquired, in response to the condition that the waiting output duration meets a time threshold, determining to switch back to the audio stream transmitted by the first channel,
the outputting, by the bluetooth headset, the audio stream transmitted by the second channel based on the first switching manner includes:
based on the first switching mode, the Bluetooth headset outputs the audio stream transmitted by the second channel;
under the condition of acquiring a key triggering event of the Bluetooth headset, the Bluetooth headset switches and outputs an audio stream transmitted by the first channel;
and under the condition that the key triggering event of the Bluetooth headset is not acquired, under the condition that the waiting output duration meets a time threshold, determining to switch back to the audio stream transmitted by the first channel.
7. The method of claim 2, wherein the switching mode comprises a second switching mode, wherein the second switching mode is to output a voice prompt message prompting a user to trigger a key trigger event of the Bluetooth headset to determine whether to switch to play the audio stream transmitted by the second channel,
the responding to the output of the audio stream transmitted through the second channel based on the configuration instruction comprises:
outputting voice prompt information based on the second switching mode;
detecting a key trigger event of the Bluetooth headset for the voice prompt information;
and determining the output mode of the audio stream transmitted by the second channel based on the key triggering event of the Bluetooth headset.
8. The method of claim 7, wherein the second switching manner comprises that the Bluetooth headset switches to output the audio stream transmitted by the second channel under the condition that the button triggering event of the Bluetooth headset is acquired; or, the second switching manner includes that the bluetooth headset keeps outputting the audio stream transmitted by the first channel under the condition of acquiring the key triggering event of the bluetooth headset; or, the second switching manner includes switching to play the audio stream transmitted by the second channel in response to the condition that the waiting output duration meets the time threshold value under the condition that the key triggering event of the bluetooth headset is not acquired;
the determining the output mode of the audio stream transmitted by the second channel based on the key triggering event of the bluetooth headset includes:
under the condition of acquiring a key triggering event of the Bluetooth headset, the Bluetooth headset switches and outputs an audio stream transmitted by the second channel; or,
under the condition of acquiring a key triggering event of the Bluetooth headset, the Bluetooth headset keeps outputting an audio stream transmitted by the first channel; or,
and under the condition that the key triggering event of the Bluetooth headset is not acquired, under the condition that the waiting output duration meets the time threshold, switching to play the audio stream transmitted by the second channel.
9. The method according to claim 2, wherein the bluetooth headset comprises a right-ear headset and a left-ear headset, and the switching manner comprises a third switching manner and a fourth switching manner, wherein the third switching manner is that the right-ear headset and the left-ear headset simultaneously output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel; the fourth switching mode is that the right ear earphone and the left ear earphone respectively output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel;
the responding to the output of the audio stream transmitted through the second channel based on the configuration instruction comprises:
based on the third switching mode, the right ear earphone and the left ear earphone simultaneously output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel; or,
based on the fourth switching manner, the right ear earphone and the left ear earphone respectively output the audio stream transmitted by the first channel and the audio stream transmitted by the second channel.
10. An information processing apparatus characterized by comprising:
the first obtaining module is used for obtaining and outputting an audio stream transmitted by a first electronic device through a first channel, wherein the first electronic device is connected with the Bluetooth headset through wireless communication;
a second obtaining module, configured to obtain a configuration instruction transmitted by a second electronic device that has established a wireless communication connection through a second channel, where the configuration instruction is used to instruct a response mode of the bluetooth headset to respond to an audio stream transmitted through the second channel;
a response module for responding to output of the audio stream transmitted through the second channel based on the configuration instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110967826.5A CN113760219A (en) | 2021-08-23 | 2021-08-23 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110967826.5A CN113760219A (en) | 2021-08-23 | 2021-08-23 | Information processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113760219A true CN113760219A (en) | 2021-12-07 |
Family
ID=78790818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110967826.5A Pending CN113760219A (en) | 2021-08-23 | 2021-08-23 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113760219A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115002273A (en) * | 2022-05-25 | 2022-09-02 | 恒玄科技(上海)股份有限公司 | Audio stream playing method and device, mobile terminal, Bluetooth headset and storage medium |
WO2024113982A1 (en) * | 2022-11-28 | 2024-06-06 | 中兴通讯股份有限公司 | Bluetooth connection method, mobile terminal, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110191442A (en) * | 2019-04-18 | 2019-08-30 | 华为技术有限公司 | A kind of Bluetooth connecting method, equipment and system |
CN111182597A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Processing method and device |
CN111312262A (en) * | 2020-01-19 | 2020-06-19 | 鲨港科技(上海)有限公司 | Audio information transmission system, method and device and corresponding two-wheel vehicle and helmet |
CN111934724A (en) * | 2020-09-18 | 2020-11-13 | 恒玄科技(北京)有限公司 | Wireless communication method for earphone and intelligent device and wireless earphone assembly |
-
2021
- 2021-08-23 CN CN202110967826.5A patent/CN113760219A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110191442A (en) * | 2019-04-18 | 2019-08-30 | 华为技术有限公司 | A kind of Bluetooth connecting method, equipment and system |
CN111182597A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Processing method and device |
CN111312262A (en) * | 2020-01-19 | 2020-06-19 | 鲨港科技(上海)有限公司 | Audio information transmission system, method and device and corresponding two-wheel vehicle and helmet |
CN111934724A (en) * | 2020-09-18 | 2020-11-13 | 恒玄科技(北京)有限公司 | Wireless communication method for earphone and intelligent device and wireless earphone assembly |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115002273A (en) * | 2022-05-25 | 2022-09-02 | 恒玄科技(上海)股份有限公司 | Audio stream playing method and device, mobile terminal, Bluetooth headset and storage medium |
CN115002273B (en) * | 2022-05-25 | 2024-01-16 | 恒玄科技(上海)股份有限公司 | Audio stream playing method and device, mobile terminal, bluetooth headset and storage medium |
WO2024113982A1 (en) * | 2022-11-28 | 2024-06-06 | 中兴通讯股份有限公司 | Bluetooth connection method, mobile terminal, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9386147B2 (en) | Muting and un-muting user devices | |
CN105630586B (en) | Information processing method and electronic equipment | |
JP2017538341A (en) | Volume control method, system, device and program | |
US9300795B2 (en) | Voice input state identification | |
CN105491252A (en) | Method and device of switching color ring back tone | |
CN113760219A (en) | Information processing method and device | |
US20220286538A1 (en) | Earphone device and communication method | |
CN103985394A (en) | Audio file playing method | |
WO2017117293A1 (en) | Simultaneous binaural presentation of multiple audio streams | |
CN114040373A (en) | Audio service processing method and device, electronic equipment and storage medium | |
JP5005103B1 (en) | Call system | |
CN103984518A (en) | Intelligent mobile terminal | |
CN111107226A (en) | Volume control method applied to mobile terminal | |
WO2020063451A1 (en) | Call voicemail messaging method, terminal, and device having storage function | |
CN113423007A (en) | Control method and device for multi-audio playing, electronic equipment and storage medium | |
CN109600470B (en) | Mobile terminal and sound production control method thereof | |
WO2018035868A1 (en) | Method for outputting audio, electronic device, and storage medium | |
CN103985396A (en) | Audio playing method | |
CN100559805C (en) | Mobile terminals and the message output method that is used for this terminal | |
CN106406808A (en) | Volume processing method, device and terminal | |
CN2922049Y (en) | Digital music player with carry-on speaker audio device capable of playing Mic sound | |
CN107124512B (en) | The switching method and apparatus of audio-frequency play mode | |
KR100663493B1 (en) | Apparatus and method for multimedia call in a portable terminal with mp3 play function | |
JP2007049358A (en) | Portable terminal and program | |
CN111556406B (en) | Audio processing method, audio processing device and earphone |
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 |