CN103986818A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN103986818A
CN103986818A CN201410129186.0A CN201410129186A CN103986818A CN 103986818 A CN103986818 A CN 103986818A CN 201410129186 A CN201410129186 A CN 201410129186A CN 103986818 A CN103986818 A CN 103986818A
Authority
CN
China
Prior art keywords
electronic equipment
audio
frequency information
transport module
sent
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.)
Granted
Application number
CN201410129186.0A
Other languages
Chinese (zh)
Other versions
CN103986818B (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 invention provides an information processing method and an electronic device. The method is applied in a first electronic device having a first transmission module. Communication connection can be established between the first electronic device and at least two second electronic devices. Data transmission is performed between the first electronic device and the second electronic devices through the first transmission module. The method comprises the following steps: the state of the first electronic device is detected to obtain a first detection result; and when the first detection result shows that the first electronic device is in the first state, the acquired first audio information is sent to the second electronic devices through the first transmission module so as to make the received first audio information outputted by each second electronic device separately.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to computer technology, relate in particular to a kind of information processing method and electronic equipment.
Background technology
At present, electronic equipment, as panel computer, mobile phone etc., can only connect a bluetooth earphone conventionally.And in daily life and work, often can run into following scene: when calling party and callee converse by mobile phone, calling party and/or callee may have a plurality of people to wish to participate in call simultaneously; When listening to the music by bluetooth earphone, user can wish that two ears can hear music to there is better audibility; When hearing a good music, user can wish to share with together with friend at one's side; Now, user often wishes that several bluetooth earphones are connected with electronic equipment simultaneously, to share voice or music sources.But an electronic equipment can not be connected with a plurality of bluetooth earphones simultaneously in prior art.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention provides a kind of information processing method and electronic equipment.
The embodiment of the present invention provides a kind of information processing method, be applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, and described method comprises:
Detect the residing state of described the first electronic equipment, obtain the first testing result;
When described the first testing result shows described the first electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
Wherein, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described the first electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
Wherein, described the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, comprising:
Controlling described the first transport module adopts time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment.
Wherein, the quantity of described the first transport module is at least two, and before the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, described method also comprises:
Each first transport module is mated from different second electronic equipments of described the first electronic equipment of access respectively;
Accordingly, described the first audio-frequency information is sent to described the second electronic equipment by the first transport module, for:
Control the first transport module described in each and described the first audio-frequency information is sent to respectively to the second electronic equipment of coupling.
Wherein, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, described method also comprises:
Obtain the second audio-frequency information that described the second electronic equipment that described the first transport module receives is sent;
Described the second audio-frequency information obtaining is synthesized to the 3rd audio-frequency information;
Described the 3rd audio-frequency information is issued to described the 3rd electronic equipment.
Wherein, the quantity of described the first transport module is at least two, and receive the second audio-frequency information that described the second electronic equipment sends by the first transport module before, described method also comprises:
Each first transport module is mated from different second electronic equipments of described the first electronic equipment of access respectively;
Accordingly, the second audio-frequency information that described the second electronic equipment is sent is:
The second audio-frequency information that the second electronic equipment mating with self receiving by each first transport module is sent.
Wherein, the residing state of described the first electronic equipment of described detection, obtains the first testing result, comprising:
Detect the identification information of the second electronic equipment establishing a communications link with described the first electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described the first electronic equipment is in the first state.
The embodiment of the present invention provides a kind of electronic equipment, described electronic equipment comprises the first transport module, described electronic equipment is set up wireless connections with at least two the second electronic equipments, described electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, and described electronic equipment comprises:
Detection module, for detection of the residing state of described electronic equipment, obtains the first testing result;
Processing module, for when described the first testing result shows described electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
Wherein, when described electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
Wherein, described processing module, adopts time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment specifically for controlling described the first transport module.
Wherein, the quantity of described the first transport module is at least two, and described electronic equipment also comprises:
Matching module, for mating each first transport module respectively from different second electronic equipments of the described electronic equipment of access;
Described processing module, sends to described the first audio-frequency information respectively the second electronic equipment of coupling specifically for controlling the first transport module described in each.
Wherein, when described electronic equipment and the 3rd electronic equipment are during in talking state, described electronic equipment also comprises:
Acquisition module, the second audio-frequency information of sending for obtaining described the second electronic equipment that described the first transport module receives;
Synthesis module, for synthesizing the 3rd audio-frequency information by described the second audio-frequency information obtaining;
The second transport module, for issuing described the 3rd electronic equipment by described the 3rd audio-frequency information.
Wherein, the quantity of described the first transport module is at least two, and described electronic equipment also comprises:
Matching module, for mating each first transport module respectively from different second electronic equipments of the described electronic equipment of access;
Accordingly, the second audio-frequency information that described the second electronic equipment is sent is:
The second audio-frequency information that the second electronic equipment mating with self receiving by each first transport module is sent.
Wherein, described detection module, specifically for detecting the identification information of the second electronic equipment establishing a communications link with described electronic equipment, obtains the quantity of identification information, when the quantity of described identification information is more than or equal to two, described electronic equipment is in the first state.
Compared with prior art, in the technical scheme of the embodiment of the present invention, described method is applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, described method comprises: detect the residing state of described the first electronic equipment, obtain the first testing result; When described the first testing result shows described the first electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.Thus, in the present invention, the first electronic equipment can be connected with a plurality of the second electronic equipments and use a plurality of the second electronic equipments to carry out audio frequency output simultaneously, thereby meets the demand that user uses a plurality of the second electronic equipments simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the realization flow schematic diagram of the first embodiment of a kind of information processing method provided by the invention;
Fig. 2 is the realization flow schematic diagram of the second embodiment of a kind of information processing method provided by the invention;
Fig. 3 is the realization flow schematic diagram of the 3rd embodiment of a kind of information processing method provided by the invention;
Fig. 4 is the realization flow schematic diagram of the 4th embodiment of a kind of information processing method provided by the invention;
Fig. 5 is the realization flow schematic diagram of the 5th embodiment of a kind of information processing method provided by the invention;
Fig. 6 is the structural representation of the embodiment of a kind of electronic equipment provided by the invention.
Embodiment
For making the application's object, technical scheme and advantage clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.In the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.In the step shown in the flow chart of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out.And, although there is shown logical order in flow process, in some cases, can carry out shown or described step with the order being different from herein.
The first embodiment of a kind of information processing method provided by the invention, be applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, and described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment.The first electronic equipment described in the present embodiment can be smart mobile phone, panel computer etc.; Described the second electronic equipment can be bluetooth earphone; Described the first transport module can be Bluetooth chip.
As shown in Figure 1, described method comprises:
Step 101, detect the residing state of described the first electronic equipment, obtain the first testing result;
Here, the residing state of described the first electronic equipment of described detection, obtains the first testing result, can comprise:
Detect the identification information of the second electronic equipment establishing a communications link with described the first electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described the first electronic equipment is in the first state.
In actual applications, described identification information can be that (Media Access Control, MAC) address is controlled in media interviews.
Step 102, when described the first testing result shows described the first electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
It should be noted that, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described the first electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
Thus, in the embodiment of the present invention, the first electronic equipment can be connected with a plurality of the second electronic equipments and use a plurality of the second electronic equipments to carry out audio frequency output simultaneously, thereby meets the demand that user uses a plurality of the second electronic equipments simultaneously.
The second embodiment of a kind of information processing method provided by the invention, be applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, and described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment.The first electronic equipment described in the present embodiment can be smart mobile phone, panel computer etc.; Described the second electronic equipment can be bluetooth earphone; Described the first transport module can be Bluetooth chip, and the quantity of described the first transport module is one.
As shown in Figure 2, described method comprises:
Step 201, detect the residing state of described the first electronic equipment, obtain the first testing result;
Here, the residing state of described the first electronic equipment of described detection, obtains the first testing result, can comprise:
Detect the identification information of the second electronic equipment establishing a communications link with described the first electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described the first electronic equipment is in the first state.
In actual applications, described identification information can be MAC Address.
Step 202, when described the first testing result shows described the first electronic equipment in the first state, control described the first transport module and adopt time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
Below a kind of implementation of time-multiplexed send mode is described in detail.
First, according to the data volume of the transmission rate of bluetooth earphone and smart mobile phone and the first audio-frequency information to be sent, determine the duration of transmit time segments;
Be understandable that, transmission rate is higher, the duration of the less transmit time segments of data volume is shorter; Transmission rate is lower, the duration of the larger transmit time segments of data volume is longer.
Then, determine the quantity of transmit time segments according to the quantity of the bluetooth earphone establishing a communications link with described smart mobile phone, the quantity of transmit time segments is identical with the quantity of bluetooth earphone; Very close to each other between each transmit time segments.
Suppose, the quantity of the bluetooth earphone of access is four, and the quantity of transmit time segments is four so;
Then, according to a definite sequence, at each transmit time segments, to each bluetooth earphone, send the first audio-frequency information respectively successively;
For example, by the access order of bluetooth earphone, send successively, at first transmit time segments, to the bluetooth earphone of first access, send the first audio-frequency information, at second transmit time segments, to the bluetooth earphone of second access, send the first audio-frequency information, the like.Certainly, also can select at random bluetooth earphone to send.
The duration that it is pointed out that transmit time segments is less than certain threshold value, for example, be less than 200ms, in order to avoid that each bluetooth earphone receives the interval of the first audio-frequency information is larger, affects user's experience.
It should be noted that, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described the first electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
Thus, in the embodiment of the present invention, control described the first transport module and adopt time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment, avoid the hardware of described the first electronic equipment to change, thereby save cost.
The 3rd embodiment of a kind of information processing method provided by the invention, be applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, and the first electronic equipment described in the present embodiment can be smart mobile phone, panel computer etc.; Described the second electronic equipment can be bluetooth earphone; The quantity of described the first transport module is at least two, and described the first transport module can be Bluetooth chip; Described the 3rd electronic equipment can be smart mobile phone, panel computer etc.
As shown in Figure 3, described method comprises:
Step 301, by each first transport module respectively from access described the first electronic equipment different the second electronic equipments mate;
Step 302, detect the residing state of described the first electronic equipment, obtain the first testing result;
Here, the residing state of described the first electronic equipment of described detection, obtains the first testing result, can comprise:
Detect the identification information of the second electronic equipment establishing a communications link with described the first electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described the first electronic equipment is in the first state.
In actual applications, described identification information can be MAC Address.
Step 303, when described the first testing result shows described the first electronic equipment in the first state, control the first transport module described in each and described the first audio-frequency information is sent to respectively to the second electronic equipment of coupling, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
It should be noted that, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described the first electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
Thus, in the embodiment of the present invention, at the first electronic equipment, a plurality of the first transmission units are set, thereby can avoid the send mode of described the first audio-frequency information to modify, and then save the system resource of the first electronic equipment.
The 4th embodiment of a kind of information processing method provided by the invention, be applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, and the first electronic equipment described in the present embodiment can be smart mobile phone, panel computer etc.; Described the second electronic equipment can be bluetooth earphone; Described the first transport module can be Bluetooth chip.
As shown in Figure 4, described method comprises:
Step 401, detect the residing state of described the first electronic equipment, obtain the first testing result;
Here, the residing state of described the first electronic equipment of described detection, obtains the first testing result, can comprise:
Detect the identification information of the second electronic equipment establishing a communications link with described the first electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described the first electronic equipment is in the first state.
In actual applications, described identification information can be MAC Address.
Step 402, when described the first testing result shows described the first electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each;
It should be noted that, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described the first electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
Step 403, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, obtain the second audio-frequency information that described the second electronic equipment that described the first transport module receives is sent;
It should be noted that, when the quantity of described the first transport module is one, controls described the first transport module and adopt time-multiplexed mode to receive the second audio-frequency information that described the second electronic equipment is sent simultaneously;
Below a kind of implementation of time-multiplexed receive mode is described in detail.
First, according to the transmission rate of bluetooth earphone and smart mobile phone, determine the duration that receives the period;
Be understandable that, the duration of higher reception period of transmission rate is shorter; The duration of lower reception period of transmission rate is longer.
Then, according to the quantity of the bluetooth earphone establishing a communications link with described smart mobile phone, determine the quantity that receives the period, receive the quantity of period identical with the quantity of bluetooth earphone;
Suppose, the quantity of the bluetooth earphone of access is four, and the quantity that receives so the period is four;
Then, according to a definite sequence, in each reception period, receive respectively the second audio-frequency information that each bluetooth earphone is sent successively;
For example, access order by bluetooth earphone receives successively, at first, receive the second audio-frequency information that the period receives the bluetooth earphone transmission of first access, at second, receive the second audio-frequency information that the period receives the bluetooth earphone transmission of second access, the like.Certainly, also can select at random bluetooth earphone to receive.
It is pointed out that the duration that receives the period is less than certain threshold value, for example, be less than 200ms, with the default requirement of data fit that guarantees the second audio-frequency information that each reception period receives to sample and obtain, in order to avoid affect tonequality.
Step 404, described the second audio-frequency information obtaining is synthesized to the 3rd audio-frequency information;
Step 405, described the 3rd audio-frequency information is issued to described the 3rd electronic equipment.
It should be noted that, the sequencing of above-mentioned steps 402 and step 403 is not limited here.
Thus, in the embodiment of the present invention, the first electronic equipment can be connected with a plurality of the second electronic equipments and use a plurality of the second electronic equipments to carry out audio frequency reception simultaneously, thereby meets the demand that user uses a plurality of the second electronic equipments simultaneously.
The 5th embodiment of a kind of information processing method provided by the invention, be applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, and the first electronic equipment described in the present embodiment can be smart mobile phone, panel computer etc.; Described the second electronic equipment can be bluetooth earphone; Described the first transport module can be Bluetooth chip, and the quantity of described the first transport module is at least two.
As shown in Figure 5, described method comprises:
Step 501, by each first transport module respectively from access described the first electronic equipment different the second electronic equipments mate;
Step 502, detect the residing state of described the first electronic equipment, obtain the first testing result;
Here, the residing state of described the first electronic equipment of described detection, obtains the first testing result, can comprise:
Detect the identification information of the second electronic equipment establishing a communications link with described the first electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described the first electronic equipment is in the first state.
In actual applications, described identification information can be MAC Address.
Step 503, when described the first testing result shows described the first electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each;
It should be noted that, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described the first electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
Step 504, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, obtain the second audio-frequency information that described the second electronic equipment that described the first transport module receives is sent;
Here, the second audio-frequency information that described the second electronic equipment is sent can be:
The second audio-frequency information that the second electronic equipment mating with self receiving by each first transport module is sent.
Step 505, described the second audio-frequency information obtaining is synthesized to the 3rd audio-frequency information;
Step 506, described the 3rd audio-frequency information is issued to described the 3rd electronic equipment.
Thus, in the embodiment of the present invention, at the first electronic equipment, a plurality of the first transmission units are set, thereby can avoid the receive mode of described the first audio-frequency information to modify, and then save the system resource of the first electronic equipment.
The first embodiment of a kind of electronic equipment provided by the invention, as shown in Figure 6, described electronic equipment comprises the first transport module 601, described electronic equipment is set up wireless connections with at least two the second electronic equipments, described electronic equipment carries out transfer of data by described the first transport module 601 with described the second electronic equipment, and described electronic equipment also comprises:
Detection module 602, for detection of the residing state of described electronic equipment, obtains the first testing result;
Concrete, described detection module can detect the identification information of the second electronic equipment establishing a communications link with described electronic equipment, obtains the quantity of identification information, and when the quantity of described identification information is more than or equal to two, described electronic equipment is in the first state.
In actual applications, described identification information can be MAC Address.
Processing module 603, for when described the first testing result shows described electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module 601, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
It should be noted that, when described electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
The first electronic equipment described in the present embodiment can be smart mobile phone, panel computer etc.; Described the second electronic equipment can be bluetooth earphone.
Above-mentioned detection module 602, processing module 603 can be in electronic equipment central processing unit (Central Processing Unit, CPU), digital signal processor (Digital Signal Processor, DSP) or programmable logic array (Field-Programmable Gate Array, FPGA) realize.
Thus, in the embodiment of the present invention, the first electronic equipment can be connected with a plurality of the second electronic equipments and use a plurality of the second electronic equipments to carry out audio frequency output simultaneously, thereby meets the demand that user uses a plurality of the second electronic equipments simultaneously.
In one embodiment, the quantity of described the first transport module is one, and described processing module adopts time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment specifically for controlling described the first transport module.
Below a kind of implementation of time-multiplexed send mode is described in detail.
First, according to the data volume of the transmission rate of bluetooth earphone and smart mobile phone and the first audio-frequency information to be sent, determine the duration of transmit time segments;
Be understandable that, transmission rate is higher, the duration of the less transmit time segments of data volume is shorter; Transmission rate is lower, the duration of the larger transmit time segments of data volume is longer.
Then, determine the quantity of transmit time segments according to the quantity of the bluetooth earphone establishing a communications link with described smart mobile phone, the quantity of transmit time segments is identical with the quantity of bluetooth earphone;
Suppose, the quantity of the bluetooth earphone of access is four, and the quantity of transmit time segments is four so;
Then, according to a definite sequence, at each transmit time segments, to each bluetooth earphone, send the first audio-frequency information respectively successively;
For example, by the access order of bluetooth earphone, send successively, at first transmit time segments, to the bluetooth earphone of first access, send the first audio-frequency information, at second transmit time segments, to the bluetooth earphone of second access, send the first audio-frequency information, the like.Certainly, also can select at random bluetooth earphone to send.
The duration that it is pointed out that transmit time segments is less than certain threshold value, for example, be less than 200ms, in order to avoid that each bluetooth earphone receives the interval of the first audio-frequency information is larger, affects user's experience.
Thus, in the embodiment of the present invention, control described the first transport module and adopt time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment, avoid the hardware of described the first electronic equipment to change, thereby save cost.
In one embodiment, the quantity of described the first transport module is at least two, and described electronic equipment also comprises:
Matching module, for mating each first transport module respectively from different second electronic equipments of the described electronic equipment of access;
Described processing module, sends to described the first audio-frequency information respectively the second electronic equipment of coupling specifically for controlling the first transport module described in each.
Thus, in the embodiment of the present invention, at the first electronic equipment, a plurality of the first transmission units are set, thereby can avoid the send mode of described the first audio-frequency information to modify, and then save the system resource of the first electronic equipment.
In one embodiment, when described electronic equipment and the 3rd electronic equipment are during in talking state, described electronic equipment also comprises:
Acquisition module, the second audio-frequency information of sending for obtaining described the second electronic equipment that described the first transport module receives;
Synthesis module, for synthesizing the 3rd audio-frequency information by described the second audio-frequency information obtaining;
The second transport module, for issuing described the 3rd electronic equipment by described the 3rd audio-frequency information.
It should be noted that, when the quantity of described the first transport module is one, controls described the first transport module and adopt time-multiplexed mode to receive the second audio-frequency information that described the second electronic equipment is sent simultaneously;
Below a kind of implementation of time-multiplexed receive mode is described in detail.
First, according to the transmission rate of bluetooth earphone and smart mobile phone, determine the duration that receives the period;
Be understandable that, the duration of higher reception period of transmission rate is shorter; The duration of lower reception period of transmission rate is longer.
Then, according to the quantity of the bluetooth earphone establishing a communications link with described smart mobile phone, determine the quantity that receives the period, receive the quantity of period identical with the quantity of bluetooth earphone;
Suppose, the quantity of the bluetooth earphone of access is four, and the quantity that receives so the period is four;
Then, according to a definite sequence, in each reception period, receive respectively the second audio-frequency information that each bluetooth earphone is sent successively;
For example, access order by bluetooth earphone receives successively, at first, receive the second audio-frequency information that the period receives the bluetooth earphone transmission of first access, at second, receive the second audio-frequency information that the period receives the bluetooth earphone transmission of second access, the like.Certainly, also can select at random bluetooth earphone to receive.
It is pointed out that the duration that receives the period is less than certain threshold value, for example, be less than 200ms, with the default requirement of data fit that guarantees the second audio-frequency information that each reception period receives to sample and obtain, in order to avoid affect tonequality.
Described in the present embodiment, the 3rd electronic equipment can be smart mobile phone, panel computer etc.
Thus, in the embodiment of the present invention, the first electronic equipment can be connected with a plurality of the second electronic equipments and use a plurality of the second electronic equipments to carry out audio frequency reception simultaneously, thereby meets the demand that user uses a plurality of the second electronic equipments simultaneously.
In one embodiment, the quantity of described the first transport module is at least two, and described electronic equipment also comprises:
Matching module, for mating each first transport module respectively from different second electronic equipments of the described electronic equipment of access;
Accordingly, the second audio-frequency information that described the second electronic equipment is sent is:
The second audio-frequency information that the second electronic equipment mating with self receiving by each first transport module is sent.
Thus, in the embodiment of the present invention, at the first electronic equipment, a plurality of the first transmission units are set, thereby can avoid the receive mode of described the first audio-frequency information to modify, and then save the system resource of the first electronic equipment.
In the several embodiment that provide in the application, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can there is other dividing mode, as: a plurality of unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can ignore, or do not carry out.In addition, coupling each other of each shown or discussed part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations; Both can be positioned at a place, also can be distributed in a plurality of network element; Can select according to the actual needs part or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, can be also that each unit is distinguished separately as a unit, also can be integrated in a unit two or more unit; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as movable storage device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CDs.
Or, if the above-mentioned integrated unit of the present invention usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.Understanding based on such, the part that the technical scheme of the embodiment of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprises that some instructions are used so that method is all or part of described in each embodiment of a computer equipment (can be personal computer, server or the network equipment etc.) execution the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as movable storage device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (14)

1. an information processing method, be applied to have in the first electronic equipment of the first transport module, described the first electronic equipment can establish a communications link with at least two the second electronic equipments, described the first electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, it is characterized in that, described method comprises:
Detect the residing state of described the first electronic equipment, obtain the first testing result;
When described the first testing result shows described the first electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
2. method according to claim 1, is characterized in that, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described the first electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
3. method according to claim 1 and 2, is characterized in that, described the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, comprising:
Controlling described the first transport module adopts time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment.
4. method according to claim 1 and 2, is characterized in that, the quantity of described the first transport module is at least two, and before the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, described method also comprises:
Each first transport module is mated from different second electronic equipments of described the first electronic equipment of access respectively;
Accordingly, described the first audio-frequency information is sent to described the second electronic equipment by the first transport module, for:
Control the first transport module described in each and described the first audio-frequency information is sent to respectively to the second electronic equipment of coupling.
5. method according to claim 1, is characterized in that, when described the first electronic equipment and the 3rd electronic equipment are during in talking state, described method also comprises:
Obtain the second audio-frequency information that described the second electronic equipment that described the first transport module receives is sent;
Described the second audio-frequency information obtaining is synthesized to the 3rd audio-frequency information;
Described the 3rd audio-frequency information is issued to described the 3rd electronic equipment.
6. method according to claim 5, is characterized in that, the quantity of described the first transport module is at least two, and receive the second audio-frequency information that described the second electronic equipment sends by the first transport module before, described method also comprises:
Each first transport module is mated from different second electronic equipments of described the first electronic equipment of access respectively;
Accordingly, the second audio-frequency information that described the second electronic equipment is sent is:
The second audio-frequency information that the second electronic equipment mating with self receiving by each first transport module is sent.
7. method according to claim 1, is characterized in that, the residing state of described the first electronic equipment of described detection, obtains the first testing result, comprising:
Detect the identification information of the second electronic equipment establishing a communications link with described the first electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described the first electronic equipment is in the first state.
8. an electronic equipment, described electronic equipment comprises the first transport module, described electronic equipment is set up wireless connections with at least two the second electronic equipments, described electronic equipment carries out transfer of data by described the first transport module and described the second electronic equipment, it is characterized in that, described electronic equipment comprises:
Detection module, for detection of the residing state of described electronic equipment, obtains the first testing result;
Processing module, for when described the first testing result shows described electronic equipment in the first state, the first obtained audio-frequency information is sent to described the second electronic equipment by the first transport module, so that the second electronic equipment is exported respectively described the first audio-frequency information of receiving described in each.
9. electronic equipment according to claim 8, is characterized in that, when described electronic equipment and the 3rd electronic equipment are during in talking state, the first audio-frequency information obtaining is the voice messaging that the 3rd received electronic equipment sends;
Or,
When the audio player of described electronic equipment is in running order, the first audio-frequency information obtaining is audio-frequency information corresponding to audio player institute playing music.
10. electronic equipment according to claim 8 or claim 9, is characterized in that described processing module adopts time-multiplexed mode that the first audio-frequency information is sent to described the second electronic equipment specifically for controlling described the first transport module.
11. electronic equipments according to claim 8 or claim 9, is characterized in that, the quantity of described the first transport module is at least two, and described electronic equipment also comprises:
Matching module, for mating each first transport module respectively from different second electronic equipments of the described electronic equipment of access;
Described processing module, sends to described the first audio-frequency information respectively the second electronic equipment of coupling specifically for controlling the first transport module described in each.
12. electronic equipments according to claim 8, is characterized in that, when described electronic equipment and the 3rd electronic equipment are during in talking state, described electronic equipment also comprises:
Acquisition module, the second audio-frequency information of sending for obtaining described the second electronic equipment that described the first transport module receives;
Synthesis module, for synthesizing the 3rd audio-frequency information by described the second audio-frequency information obtaining;
The second transport module, for issuing described the 3rd electronic equipment by described the 3rd audio-frequency information.
13. electronic equipments according to claim 12, is characterized in that, the quantity of described the first transport module is at least two, and described electronic equipment also comprises:
Matching module, for mating each first transport module respectively from different second electronic equipments of the described electronic equipment of access;
Accordingly, the second audio-frequency information that described the second electronic equipment is sent is:
The second audio-frequency information that the second electronic equipment mating with self receiving by each first transport module is sent.
14. electronic equipments according to claim 8, it is characterized in that, described detection module, specifically for detecting the identification information of the second electronic equipment establishing a communications link with described electronic equipment, obtain the quantity of identification information, when the quantity of described identification information is more than or equal to two, described electronic equipment 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 true CN103986818A (en) 2014-08-13
CN103986818B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792105A (en) * 2016-02-29 2016-07-20 联想(北京)有限公司 Data transmission method and electronic device
WO2018032455A1 (en) * 2016-08-18 2018-02-22 华为技术有限公司 Bluetooth communication method and terminal
CN108024128A (en) * 2017-11-30 2018-05-11 广东欧珀移动通信有限公司 Control method, device, terminal device and the storage medium that Bluetooth music plays

Citations (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
CN103561299A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Multi-media file playing method, mobile terminal and multi-media file playing system

Patent Citations (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
CN103561299A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Multi-media file playing method, mobile terminal and multi-media file playing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792105A (en) * 2016-02-29 2016-07-20 联想(北京)有限公司 Data transmission method and electronic device
WO2018032455A1 (en) * 2016-08-18 2018-02-22 华为技术有限公司 Bluetooth communication method and terminal
CN109644216A (en) * 2016-08-18 2019-04-16 华为技术有限公司 A kind of method and terminal of Bluetooth communication
CN113411793A (en) * 2016-08-18 2021-09-17 华为技术有限公司 Bluetooth communication method and terminal
US11129218B2 (en) 2016-08-18 2021-09-21 Huawei Technologies Co., Ltd. Bluetooth communication method and terminal
US11812485B2 (en) 2016-08-18 2023-11-07 Huawei Technologies Co., Ltd. Bluetooth communication method and terminal
CN108024128A (en) * 2017-11-30 2018-05-11 广东欧珀移动通信有限公司 Control method, device, terminal device and the storage medium that Bluetooth music plays
CN108024128B (en) * 2017-11-30 2020-01-14 Oppo广东移动通信有限公司 Control method and device for Bluetooth music playing, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN103986818B (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
CN106936987B (en) Method and device capable of identifying voice source of Bluetooth headset
CN103391118A (en) Bluetooth headset and audio sharing method by virtue of Bluetooth headsets
CN102215287B (en) Method and device for switching audio channels of communication module
CN104735607A (en) Data transmission method, mobile terminal and system
US20150055781A1 (en) Wireless speaker device and wirelessly multi-channel audio system thereof
CN106302997A (en) A kind of output control method, electronic equipment and system
CN106254993A (en) A kind of earphone left and right acoustic channels self-adaptation control method and device
CN111124351B (en) Audio output method, audio output device, electronic equipment and storage medium
CN105516905A (en) Connection method and device of Bluetooth devices
CN104967729A (en) Information response method of mobile terminal, information response system of mobile terminal, mobile terminal and intelligent bracelet
CN103945253A (en) Volume control method and device and multimedia playing control method and device
CN112469009A (en) Bluetooth data transmission method, device, terminal and storage medium
CN107148649A (en) Audio playback and audio reproduction system
CN103793193A (en) Mode switching method for audio interface, audio interface and electronic equipment
CN105704110A (en) Media transmission method, media control method and device
CN103986818A (en) Information processing method and electronic device
CN103516869A (en) Scene mode setting method, scene mode setting device, mobile communication terminal and communication equipment
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
CN116761110B (en) Multi-point bluetooth headset control method, system, storage medium and equipment
CN104581515A (en) Audio playing device and method as well as mobile terminal
CN103929691A (en) Information processing method and electronic equipment
CN110213789B (en) Bluetooth connection method, terminal device, Bluetooth device, and computer storage medium
CN102682713B (en) Method for information display and mobile terminal, electronic ink display equipment

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