CN103986818B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN103986818B
CN103986818B CN201410129186.0A CN201410129186A CN103986818B CN 103986818 B CN103986818 B CN 103986818B CN 201410129186 A CN201410129186 A CN 201410129186A CN 103986818 B CN103986818 B CN 103986818B
Authority
CN
China
Prior art keywords
electronic device
audio information
electronic equipment
transmission module
electronic
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.)
Active
Application number
CN201410129186.0A
Other languages
Chinese (zh)
Other versions
CN103986818A (en
Inventor
郝壮壮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410129186.0A priority Critical patent/CN103986818B/en
Publication of CN103986818A publication Critical patent/CN103986818A/en
Application granted granted Critical
Publication of CN103986818B publication Critical patent/CN103986818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of information processing method and electronic equipment, wherein, described method is applied to have in the first electronic equipment of the first transport module, described first electronic equipment can set up communication connection with at least two the second electronic equipment, described first electronic equipment is carried out data transmission with described second electronic equipment by described first transport module, described method includes: detects described first electronic equipment state in which, obtains the first testing result;When described first testing result shows that described first electronic equipment is in the first state, the first audio-frequency information obtained is sent to described second electronic equipment by the first transport module, so that each described second electronic equipment exports described first audio-frequency information received respectively.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to computer technologies, and in particular, to an information processing method and an electronic device.
Background
At present, electronic devices, such as tablet computers, mobile phones, etc., can be connected with only one bluetooth headset. In daily life and work, the following scenes are often encountered: when a calling party and a called party are in a call through a mobile phone, a plurality of people of the calling party and/or the called party may want to participate in the call at the same time; when listening to music through a bluetooth headset, a user may want both ears to hear the music for better listening effect; when hearing a good music, the user may wish to share with friends around; at this time, the user often wants several bluetooth headsets to be connected with the electronic device at the same time in order to share voice or music resources. However, one electronic device cannot be connected to a plurality of bluetooth headsets at the same time in the prior art.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device.
An embodiment of the present invention provides an information processing method, which is applied to a first electronic device having a first transmission module, where the first electronic device is capable of establishing a communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module, where the method includes:
detecting the state of the first electronic equipment to obtain a first detection result;
and when the first detection result shows that the first electronic equipment is in the first state, sending the obtained first audio information to the second electronic equipment through a first transmission module, so that the second electronic equipment respectively outputs the received first audio information.
When the first electronic device and the third electronic device are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic device;
or,
when the audio player of the first electronic device is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
Wherein the sending the obtained first audio information to the second electronic device through a first transmission module includes:
and controlling the first transmission module to transmit the first audio information to the second electronic equipment in a time division multiplexing mode.
Wherein the number of the first transmission modules is at least two, and before the obtained first audio information is sent to the second electronic device through the first transmission module, the method further includes:
matching each first transmission module with different second electronic equipment accessed to the first electronic equipment respectively;
correspondingly, the sending the first audio information to the second electronic device through the first transmission module is:
and controlling each first transmission module to respectively send the first audio information to the matched second electronic equipment.
When the first electronic device and the third electronic device are in a call state, the method further comprises the following steps:
acquiring second audio information sent by the second electronic equipment and received by the first transmission module;
synthesizing the acquired second audio information into third audio information;
and sending the third audio information to the third electronic equipment.
Wherein, the number of the first transmission module is at least two, and before the second audio information sent by the second electronic device is received through the first transmission module, the method further comprises:
matching each first transmission module with different second electronic equipment accessed to the first electronic equipment respectively;
correspondingly, the second audio information sent by the second electronic device is:
and second audio information sent by the second electronic equipment matched with the first electronic equipment is received through each first transmission module.
The detecting the state of the first electronic device to obtain a first detection result includes:
the method comprises the steps of detecting identification information of second electronic equipment which establishes communication connection with the first electronic equipment to obtain the number of the identification information, and when the number of the identification information is larger than or equal to two, the first electronic equipment is in a first state.
An embodiment of the present invention provides an electronic device, where the electronic device includes a first transmission module, the electronic device establishes wireless connection with at least two second electronic devices, and the electronic device performs data transmission with the second electronic devices through the first transmission module, and the electronic device includes:
the detection module is used for detecting the state of the electronic equipment to obtain a first detection result;
and the processing module is used for sending the obtained first audio information to the second electronic equipment through the first transmission module when the first detection result shows that the electronic equipment is in the first state, so that the second electronic equipment respectively outputs the received first audio information.
When the electronic equipment and the third electronic equipment are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic equipment;
or,
when the audio player of the electronic equipment is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
The processing module is specifically configured to control the first transmission module to send the first audio information to the second electronic device in a time division multiplexing manner.
Wherein, the quantity of first transmission module is two at least, electronic equipment still includes:
the matching module is used for matching each first transmission module with different second electronic equipment accessed to the electronic equipment;
the processing module is specifically configured to control each of the first transmission modules to send the first audio information to the matched second electronic device, respectively.
Wherein, when the electronic device is in a conversation state with a third electronic device, the electronic device further comprises:
the acquisition module is used for acquiring second audio information received by the first transmission module and sent by the second electronic equipment;
the synthesis module is used for synthesizing the acquired second audio information into third audio information;
and the second transmission module is used for sending the third audio information to the third electronic equipment.
Wherein, the quantity of first transmission module is two at least, electronic equipment still includes:
the matching module is used for matching each first transmission module with different second electronic equipment accessed to the electronic equipment;
correspondingly, the second audio information sent by the second electronic device is:
and second audio information sent by the second electronic equipment matched with the first electronic equipment is received through each first transmission module.
The detection module is specifically configured to detect identification information of a second electronic device that establishes a communication connection with the electronic device, to obtain the number of the identification information, and when the number of the identification information is greater than or equal to two, the electronic device is in a first state.
Compared with the prior art, in the technical solution of the embodiment of the present invention, the method is applied to a first electronic device having a first transmission module, the first electronic device can establish communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module, and the method includes: detecting the state of the first electronic equipment to obtain a first detection result; and when the first detection result shows that the first electronic equipment is in the first state, sending the obtained first audio information to the second electronic equipment through a first transmission module, so that the second electronic equipment respectively outputs the received first audio information. Therefore, the first electronic equipment can be simultaneously connected with the plurality of second electronic equipment and can output audio by using the plurality of second electronic equipment, so that the requirement of a user on simultaneously using the plurality of second electronic equipment is met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating an implementation of a first embodiment of an information processing method according to the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a second embodiment of an information processing method according to the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a third embodiment of an information processing method according to the present invention;
fig. 4 is a schematic flow chart of an implementation of a fourth embodiment of an information processing method according to the present invention;
fig. 5 is a schematic flow chart of an implementation of a fifth embodiment of an information processing method according to the present invention;
fig. 6 is a schematic structural diagram of an embodiment of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The first embodiment of the information processing method provided by the invention is applied to a first electronic device with a first transmission module, the first electronic device can establish communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module. In this embodiment, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device may be a bluetooth headset; the first transmission module may be a bluetooth chip.
As shown in fig. 1, the method includes:
step 101, detecting the state of the first electronic device to obtain a first detection result;
here, the detecting the state of the first electronic device to obtain the first detection result may include:
the method comprises the steps of detecting identification information of second electronic equipment which establishes communication connection with the first electronic equipment to obtain the number of the identification information, and when the number of the identification information is larger than or equal to two, the first electronic equipment is in a first state.
In practical applications, the identification information may be a Media Access Control (MAC) address.
And 102, when the first detection result indicates that the first electronic device is in the first state, sending the obtained first audio information to the second electronic devices through a first transmission module, so that the second electronic devices respectively output the received first audio information.
It should be noted that, when the first electronic device and the third electronic device are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic device;
or,
when the audio player of the first electronic device is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
Therefore, the first electronic device can be simultaneously connected with the plurality of second electronic devices and can output audio by using the plurality of second electronic devices, so that the requirement of a user on simultaneously using the plurality of second electronic devices is met.
A second embodiment of the information processing method provided by the present invention is applied to a first electronic device having a first transmission module, where the first electronic device can establish a communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module. In this embodiment, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device may be a bluetooth headset; the first transmission module may be a bluetooth chip, and the number of the first transmission modules is one.
As shown in fig. 2, the method includes:
step 201, detecting the state of the first electronic device to obtain a first detection result;
here, the detecting the state of the first electronic device to obtain the first detection result may include:
the method comprises the steps of detecting identification information of second electronic equipment which establishes communication connection with the first electronic equipment to obtain the number of the identification information, and when the number of the identification information is larger than or equal to two, the first electronic equipment is in a first state.
In practical applications, the identification information may be a MAC address.
Step 202, when the first detection result indicates that the first electronic device is in the first state, controlling the first transmission module to transmit the first audio information to the second electronic devices in a time division multiplexing manner, so that each of the second electronic devices outputs the received first audio information respectively.
One implementation of the time-division multiplexing transmission scheme is described in detail below.
Firstly, determining the duration of a sending time period according to the transmission rate of the Bluetooth headset and the smart phone and the data volume of first audio information to be sent;
it can be understood that the higher the transmission rate, the smaller the data amount, and the shorter the duration of the transmission period; the lower the transmission rate, the larger the amount of data, the longer the duration of the transmission period.
Then, determining the number of sending time periods according to the number of the Bluetooth earphones which establish communication connection with the smart phone, wherein the number of the sending time periods is the same as that of the Bluetooth earphones; there is no gap between the transmission periods.
Assuming that the number of the accessed bluetooth headsets is four, the number of the transmission periods is four;
then, sequentially sending first audio information to each Bluetooth headset in each sending time interval according to a certain sequence;
for example, the transmission is performed in sequence according to the access sequence of the bluetooth headset, the first audio information is transmitted to the first accessed bluetooth headset in the first transmission period, the first audio information is transmitted to the second accessed bluetooth headset in the second transmission period, and so on. Of course, the bluetooth headset may also be randomly selected for transmission.
It should be noted that the duration of the sending period is less than a certain threshold, for example, less than 200ms, so as to prevent the user experience from being affected due to the large interval between the bluetooth headsets receiving the first audio information.
It should be noted that, when the first electronic device and the third electronic device are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic device;
or,
when the audio player of the first electronic device is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
Therefore, in the embodiment of the present invention, the first transmission module is controlled to send the first audio information to the second electronic device in a time division multiplexing manner, so as to avoid changing hardware of the first electronic device, thereby saving cost.
The third embodiment of the information processing method provided by the present invention is applied to a first electronic device having a first transmission module, where the first electronic device can establish a communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module, and in this embodiment, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device may be a bluetooth headset; the number of the first transmission modules is at least two, and the first transmission modules can be Bluetooth chips; the third electronic device may be a smartphone, a tablet computer, or the like.
As shown in fig. 3, the method includes:
step 301, matching each first transmission module with different second electronic devices accessed to the first electronic device respectively;
step 302, detecting the state of the first electronic device to obtain a first detection result;
here, the detecting the state of the first electronic device to obtain the first detection result may include:
the method comprises the steps of detecting identification information of second electronic equipment which establishes communication connection with the first electronic equipment to obtain the number of the identification information, and when the number of the identification information is larger than or equal to two, the first electronic equipment is in a first state.
In practical applications, the identification information may be a MAC address.
Step 303, when the first detection result indicates that the first electronic device is in the first state, controlling each first transmission module to respectively send the first audio information to the matched second electronic device, so that each second electronic device respectively outputs the received first audio information.
It should be noted that, when the first electronic device and the third electronic device are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic device;
or,
when the audio player of the first electronic device is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
Therefore, in the embodiment of the invention, the plurality of first transmission units are arranged on the first electronic equipment, so that the modification of the sending mode of the first audio information can be avoided, and the system resources of the first electronic equipment are saved.
The fourth embodiment of the information processing method provided by the present invention is applied to a first electronic device having a first transmission module, where the first electronic device can establish a communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module, and in this embodiment, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device may be a bluetooth headset; the first transmission module may be a bluetooth chip.
As shown in fig. 4, the method includes:
step 401, detecting the state of the first electronic device to obtain a first detection result;
here, the detecting the state of the first electronic device to obtain the first detection result may include:
the method comprises the steps of detecting identification information of second electronic equipment which establishes communication connection with the first electronic equipment to obtain the number of the identification information, and when the number of the identification information is larger than or equal to two, the first electronic equipment is in a first state.
In practical applications, the identification information may be a MAC address.
Step 402, when the first detection result indicates that the first electronic device is in the first state, sending the obtained first audio information to the second electronic devices through a first transmission module, so that each of the second electronic devices respectively outputs the received first audio information;
it should be noted that, when the first electronic device and the third electronic device are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic device;
or,
when the audio player of the first electronic device is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
Step 403, when the first electronic device and the third electronic device are in a call state, acquiring second audio information sent by the second electronic device and received by the first transmission module;
it should be noted that, when the number of the first transmission modules is one, the first transmission modules are controlled to receive the second audio information sent by the second electronic device simultaneously in a time division multiplexing manner;
one implementation of the time division multiplexing reception scheme is described in detail below.
Firstly, determining the duration of a receiving period according to the transmission rate of a Bluetooth headset and a smart phone;
it is understood that the higher the transmission rate, the shorter the duration of the reception period; the lower the transmission rate, the longer the duration of the reception period.
Then, determining the number of receiving time periods according to the number of the Bluetooth earphones which establish communication connection with the smart phone, wherein the number of the receiving time periods is the same as that of the Bluetooth earphones;
assuming that the number of the accessed bluetooth headsets is four, the number of the reception periods is four;
then, sequentially receiving second audio information sent by each Bluetooth earphone in each receiving time interval according to a certain sequence;
for example, the receiving is performed in sequence according to the accessing sequence of the bluetooth headset, the second audio information sent by the first accessed bluetooth headset is received in the first receiving period, the second audio information sent by the second accessed bluetooth headset is received in the second receiving period, and so on. Of course, a bluetooth headset may be randomly selected for reception.
It should be noted that the duration of the receiving time period is less than a certain threshold, for example, less than 200ms, so as to ensure that the data obtained by sampling the second audio information received in each receiving time period meets the preset requirement, so as to avoid affecting the sound quality.
Step 404, synthesizing the acquired second audio information into third audio information;
step 405, sending the third audio information to the third electronic device.
It should be noted that, the order of the above steps 402 and 403 is not limited herein.
Therefore, the first electronic device can be connected with the plurality of second electronic devices at the same time and receive audio by using the plurality of second electronic devices, so that the requirement of a user on using the plurality of second electronic devices at the same time is met.
A fifth embodiment of the information processing method provided by the present invention is applied to a first electronic device with a first transmission module, where the first electronic device is capable of establishing a communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module, and in this embodiment, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device may be a bluetooth headset; the first transmission module can be a bluetooth chip, and the number of the first transmission modules is at least two.
As shown in fig. 5, the method includes:
step 501, matching each first transmission module with different second electronic devices accessed to the first electronic device respectively;
step 502, detecting the state of the first electronic device to obtain a first detection result;
here, the detecting the state of the first electronic device to obtain the first detection result may include:
the method comprises the steps of detecting identification information of second electronic equipment which establishes communication connection with the first electronic equipment to obtain the number of the identification information, and when the number of the identification information is larger than or equal to two, the first electronic equipment is in a first state.
In practical applications, the identification information may be a MAC address.
Step 503, when the first detection result indicates that the first electronic device is in the first state, sending the obtained first audio information to the second electronic devices through a first transmission module, so that each of the second electronic devices respectively outputs the received first audio information;
it should be noted that, when the first electronic device and the third electronic device are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic device;
or,
when the audio player of the first electronic device is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
Step 504, when the first electronic device and a third electronic device are in a conversation state, acquiring second audio information sent by the second electronic device and received by the first transmission module;
here, the second audio information sent by the second electronic device may be:
and second audio information sent by the second electronic equipment matched with the first electronic equipment is received through each first transmission module.
Step 505, synthesizing the obtained second audio information into third audio information;
step 506, sending the third audio information to the third electronic device.
Therefore, in the embodiment of the invention, the plurality of first transmission units are arranged on the first electronic equipment, so that the receiving mode of the first audio information can be prevented from being modified, and the system resources of the first electronic equipment are saved.
As shown in fig. 6, a first embodiment of an electronic device provided by the present invention includes a first transmission module 601, where the electronic device establishes a wireless connection with at least two second electronic devices, and performs data transmission with the second electronic devices through the first transmission module 601, where the electronic device further includes:
the detection module 602 is configured to detect a state of the electronic device to obtain a first detection result;
specifically, the detection module may detect identification information of a second electronic device that establishes a communication connection with the electronic device to obtain the number of the identification information, and when the number of the identification information is greater than or equal to two, the electronic device is in the first state.
In practical applications, the identification information may be a MAC address.
The processing module 603 is configured to, when the first detection result indicates that the electronic device is in the first state, send the obtained first audio information to the second electronic devices through the first transmission module 601, so that each of the second electronic devices respectively outputs the received first audio information.
It should be noted that, when the electronic device and the third electronic device are in a conversation state, the obtained first audio information is the received voice information sent by the third electronic device;
or,
when the audio player of the electronic equipment is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
In this embodiment, the first electronic device may be a smart phone, a tablet computer, or the like; the second electronic device may be a bluetooth headset.
The detection module 602 and the processing module 603 may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable logic Array (FPGA) in the electronic device.
Therefore, the first electronic device can be simultaneously connected with the plurality of second electronic devices and can output audio by using the plurality of second electronic devices, so that the requirement of a user on simultaneously using the plurality of second electronic devices is met.
In an embodiment, the number of the first transmission modules is one, and the processing module is specifically configured to control the first transmission modules to send the first audio information to the second electronic device in a time division multiplexing manner.
One implementation of the time-division multiplexing transmission scheme is described in detail below.
Firstly, determining the duration of a sending time period according to the transmission rate of the Bluetooth headset and the smart phone and the data volume of first audio information to be sent;
it can be understood that the higher the transmission rate, the smaller the data amount, and the shorter the duration of the transmission period; the lower the transmission rate, the larger the amount of data, the longer the duration of the transmission period.
Then, determining the number of sending time periods according to the number of the Bluetooth earphones which establish communication connection with the smart phone, wherein the number of the sending time periods is the same as that of the Bluetooth earphones;
assuming that the number of the accessed bluetooth headsets is four, the number of the transmission periods is four;
then, sequentially sending first audio information to each Bluetooth headset in each sending time interval according to a certain sequence;
for example, the transmission is performed in sequence according to the access sequence of the bluetooth headset, the first audio information is transmitted to the first accessed bluetooth headset in the first transmission period, the first audio information is transmitted to the second accessed bluetooth headset in the second transmission period, and so on. Of course, the bluetooth headset may also be randomly selected for transmission.
It should be noted that the duration of the sending period is less than a certain threshold, for example, less than 200ms, so as to prevent the user experience from being affected due to the large interval between the bluetooth headsets receiving the first audio information.
Therefore, in the embodiment of the present invention, the first transmission module is controlled to send the first audio information to the second electronic device in a time division multiplexing manner, so as to avoid changing hardware of the first electronic device, thereby saving cost.
In an embodiment, the number of the first transmission modules is at least two, and the electronic device further includes:
the matching module is used for matching each first transmission module with different second electronic equipment accessed to the electronic equipment;
the processing module is specifically configured to control each of the first transmission modules to send the first audio information to the matched second electronic device, respectively.
Therefore, in the embodiment of the invention, the plurality of first transmission units are arranged on the first electronic equipment, so that the modification of the sending mode of the first audio information can be avoided, and the system resources of the first electronic equipment are saved.
In one embodiment, when the electronic device is in a call state with a third electronic device, the electronic device further includes:
the acquisition module is used for acquiring second audio information received by the first transmission module and sent by the second electronic equipment;
the synthesis module is used for synthesizing the acquired second audio information into third audio information;
and the second transmission module is used for sending the third audio information to the third electronic equipment.
It should be noted that, when the number of the first transmission modules is one, the first transmission modules are controlled to receive the second audio information sent by the second electronic device simultaneously in a time division multiplexing manner;
one implementation of the time division multiplexing reception scheme is described in detail below.
Firstly, determining the duration of a receiving period according to the transmission rate of a Bluetooth headset and a smart phone;
it is understood that the higher the transmission rate, the shorter the duration of the reception period; the lower the transmission rate, the longer the duration of the reception period.
Then, determining the number of receiving time periods according to the number of the Bluetooth earphones which establish communication connection with the smart phone, wherein the number of the receiving time periods is the same as that of the Bluetooth earphones;
assuming that the number of the accessed bluetooth headsets is four, the number of the reception periods is four;
then, sequentially receiving second audio information sent by each Bluetooth earphone in each receiving time interval according to a certain sequence;
for example, the receiving is performed in sequence according to the accessing sequence of the bluetooth headset, the second audio information sent by the first accessed bluetooth headset is received in the first receiving period, the second audio information sent by the second accessed bluetooth headset is received in the second receiving period, and so on. Of course, a bluetooth headset may be randomly selected for reception.
It should be noted that the duration of the receiving time period is less than a certain threshold, for example, less than 200ms, so as to ensure that the data obtained by sampling the second audio information received in each receiving time period meets the preset requirement, so as to avoid affecting the sound quality.
In this embodiment, the third electronic device may be a smart phone, a tablet computer, or the like.
Therefore, the first electronic device can be connected with the plurality of second electronic devices at the same time and receive audio by using the plurality of second electronic devices, so that the requirement of a user on using the plurality of second electronic devices at the same time is met.
In an embodiment, the number of the first transmission modules is at least two, and the electronic device further includes:
the matching module is used for matching each first transmission module with different second electronic equipment accessed to the electronic equipment;
correspondingly, the second audio information sent by the second electronic device is:
and second audio information sent by the second electronic equipment matched with the first electronic equipment is received through each first transmission module.
Therefore, in the embodiment of the invention, the plurality of first transmission units are arranged on the first electronic equipment, so that the receiving mode of the first audio information can be prevented from being modified, and the system resources of the first electronic equipment are saved.
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 the functional units in the embodiments of the present invention 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 capable of storing program codes, such as a removable Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. An information processing method applied to a first electronic device with a first transmission module, wherein the first electronic device is capable of establishing communication connection with at least two second electronic devices, and the first electronic device performs data transmission with the second electronic devices through the first transmission module, the method comprising:
detecting the state of the first electronic equipment to obtain a first detection result;
when the first detection result shows that the first electronic equipment is in a first state, the obtained first audio information is sent to the second electronic equipment through a first transmission module, so that the second electronic equipment respectively outputs the received first audio information;
when the first electronic device and the third electronic device are in a call state, the method further comprises the following steps:
acquiring second audio information sent by the second electronic equipment and received by the first transmission module;
synthesizing the acquired second audio information into third audio information;
and sending the third audio information to the third electronic equipment.
2. The method according to claim 1, wherein when the first electronic device and a third electronic device are in a call state, the obtained first audio information is received voice information sent by the third electronic device;
or,
when the audio player of the first electronic device is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
3. The method according to claim 1 or 2, wherein the sending the obtained first audio information to the second electronic device through a first transmission module comprises:
and controlling the first transmission module to transmit the first audio information to the second electronic equipment in a time division multiplexing mode.
4. The method according to claim 1 or 2, wherein the number of the first transmission modules is at least two, and before the obtained first audio information is transmitted to the second electronic device through the first transmission module, the method further comprises:
matching each first transmission module with different second electronic equipment accessed to the first electronic equipment respectively;
correspondingly, the sending the first audio information to the second electronic device through the first transmission module is:
and controlling each first transmission module to respectively send the first audio information to the matched second electronic equipment.
5. The method of claim 1, wherein the number of the first transmission module is at least two, and before the second audio information sent by the second electronic device is received through the first transmission module, the method further comprises:
matching each first transmission module with different second electronic equipment accessed to the first electronic equipment respectively;
correspondingly, the second audio information sent by the second electronic device is:
and second audio information sent by the second electronic equipment matched with the first electronic equipment is received through each first transmission module.
6. The method of claim 1, wherein detecting the state of the first electronic device to obtain a first detection result comprises:
the method comprises the steps of detecting identification information of second electronic equipment which establishes communication connection with the first electronic equipment to obtain the number of the identification information, and when the number of the identification information is larger than or equal to two, the first electronic equipment is in a first state.
7. An electronic device, the electronic device including a first transmission module, the electronic device establishing wireless connection with at least two second electronic devices, the electronic device performing data transmission with the second electronic devices through the first transmission module, the electronic device comprising:
the detection module is used for detecting the state of the electronic equipment to obtain a first detection result;
the processing module is used for sending the obtained first audio information to the second electronic equipment through the first transmission module when the first detection result shows that the electronic equipment is in the first state, so that the second electronic equipment respectively outputs the received first audio information;
when the electronic device is in a call state with a third electronic device, the electronic device further includes:
the acquisition module is used for acquiring second audio information received by the first transmission module and sent by the second electronic equipment;
the synthesis module is used for synthesizing the acquired second audio information into third audio information;
and the second transmission module is used for sending the third audio information to the third electronic equipment.
8. The electronic device according to claim 7, wherein when the electronic device is in a call state with a third electronic device, the obtained first audio information is received voice information sent by the third electronic device;
or,
when the audio player of the electronic equipment is in a working state, the obtained first audio information is the audio information corresponding to the music file played by the audio player.
9. The electronic device according to claim 7 or 8, wherein the processing module is specifically configured to control the first transmission module to send the first audio information to the second electronic device in a time division multiplexing manner.
10. The electronic device according to claim 7 or 8, wherein the number of the first transmission modules is at least two, the electronic device further comprising:
the matching module is used for matching each first transmission module with different second electronic equipment accessed to the electronic equipment;
the processing module is specifically configured to control each of the first transmission modules to send the first audio information to the matched second electronic device, respectively.
11. The electronic device of claim 7, wherein the first transmission module is at least two in number, the electronic device further comprising:
the matching module is used for matching each first transmission module with different second electronic equipment accessed to the electronic equipment;
correspondingly, the second audio information sent by the second electronic device is:
and second audio information sent by the second electronic equipment matched with the first electronic equipment is received through each first transmission module.
12. The electronic device according to claim 7, wherein the detecting module is specifically configured to detect identification information of a second electronic device that establishes a communication connection with the electronic device, to obtain a number of the identification information, and when the number of the identification information is greater than or equal to two, the electronic device is in the first state.
CN201410129186.0A 2014-04-01 2014-04-01 A kind of information processing method and electronic equipment Active CN103986818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129186.0A CN103986818B (en) 2014-04-01 2014-04-01 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129186.0A CN103986818B (en) 2014-04-01 2014-04-01 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103986818A CN103986818A (en) 2014-08-13
CN103986818B true CN103986818B (en) 2016-10-05

Family

ID=51278639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129186.0A Active CN103986818B (en) 2014-04-01 2014-04-01 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103986818B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792105B (en) * 2016-02-29 2022-05-31 联想(北京)有限公司 Data transmission method and electronic equipment
EP3493643B1 (en) * 2016-08-18 2021-03-03 Huawei Technologies Co., Ltd. Bluetooth communication method and terminal
CN108024128B (en) * 2017-11-30 2020-01-14 Oppo广东移动通信有限公司 Control method and device for Bluetooth music playing, terminal equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340730A (en) * 2010-07-23 2012-02-01 希姆通信息技术(上海)有限公司 Method for playing multi-channel stereo by matching multiple mobile phones
CN102377457A (en) * 2010-08-11 2012-03-14 中兴通讯股份有限公司 Method and device for sharing audio information by mobile communication terminals
CN102821195A (en) * 2012-07-23 2012-12-12 宇龙计算机通信科技(深圳)有限公司 Terminal and multi-audio-frequency output method
CN103391118A (en) * 2013-07-23 2013-11-13 广东欧珀移动通信有限公司 Bluetooth headset and audio sharing method by virtue of Bluetooth headsets
CN103561299B (en) * 2013-10-31 2017-09-08 宇龙计算机通信科技(深圳)有限公司 Method for broadcasting multimedia file, mobile terminal and multimedia file playing system

Also Published As

Publication number Publication date
CN103986818A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
EP3629561B1 (en) Data transmission method and system, and bluetooth headphone
US9762317B2 (en) Playing synchronized mutichannel media on a combination of devices
CN106936987B (en) Method and device capable of identifying voice source of Bluetooth headset
JP6596173B1 (en) Incoming call management method and apparatus
CN109040446B (en) Call processing method and related product
CN103414982A (en) Method and device for offering voice
EP2083606A3 (en) Multi-standby mobile terminal and host function providing method for the same
CN108810860B (en) Audio transmission method, terminal equipment and main earphone
WO2018049892A1 (en) Data transmission method and apparatus, and terminal
CN111124351B (en) Audio output method, audio output device, electronic equipment and storage medium
US20170195817A1 (en) Simultaneous Binaural Presentation of Multiple Audio Streams
CN112771828A (en) Audio data communication method and electronic equipment
CN103986818B (en) A kind of information processing method and electronic equipment
CN107682553B (en) Call signal sending method and device, mobile terminal and storage medium
CN103942507A (en) Information processing method and electronic device
CN108363628A (en) Message treatment method, device, terminal and computer readable storage medium
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
CN108605067B (en) Method for playing audio and mobile terminal
CN110602683A (en) Bluetooth control method, device, mobile terminal and storage medium
CN108154886A (en) Noise suppressing method and device, electronic device and computer readable storage medium
CN116761110B (en) Multi-point bluetooth headset control method, system, storage medium and equipment
US10397389B2 (en) Method, apparatus and system for exchanging a data communication via an audio connector
CN113678481B (en) Wireless audio system, audio communication method and equipment
CN109413132B (en) Apparatus and method for delivering audio to an identified recipient

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant