CN109274407A - Data transmission method, device, electronic equipment and storage medium - Google Patents

Data transmission method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109274407A
CN109274407A CN201810923422.4A CN201810923422A CN109274407A CN 109274407 A CN109274407 A CN 109274407A CN 201810923422 A CN201810923422 A CN 201810923422A CN 109274407 A CN109274407 A CN 109274407A
Authority
CN
China
Prior art keywords
antenna
electronic equipment
audio
audio data
wifi
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
CN201810923422.4A
Other languages
Chinese (zh)
Other versions
CN109274407B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810923422.4A priority Critical patent/CN109274407B/en
Publication of CN109274407A publication Critical patent/CN109274407A/en
Application granted granted Critical
Publication of CN109274407B publication Critical patent/CN109274407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0064Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with separate antennas for the more than one band
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0805Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching
    • H04B7/0814Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching based on current reception conditions, e.g. switching to different antenna when signal level is below threshold

Abstract

This application discloses a kind of data transmission method, device, electronic equipment and storage mediums, are related to technical field of electronic equipment.This method is applied to electronic equipment, and electronic equipment includes first antenna and the second antenna.The described method includes: when electronic equipment operation has destination application, detect the working condition of first antenna, when electronic equipment passes through bluetooth connection to audio-frequence player device, judge whether the 2.4G frequency range of first antenna is being used by WiFi according to working condition, when the 2.4G frequency range of first antenna is by WiFi in use, audio data is transmitted to audio-frequence player device by the second antenna by controlling electronic devices.The application by presetting mutually independent first antenna and the second antenna, and in the 2.4G frequency range of first antenna by WiFi in use, by the second antenna transmission Bluetooth audio frequency data, the problem of being coexisted to avoid bluetooth and WiFi, improve data transfer reliability.

Description

Data transmission method, device, electronic equipment and storage medium
Technical field
This application involves technical field of electronic equipment, set more particularly, to a kind of data transmission method, device, electronics Standby and storage medium.
Background technique
With the development of science and technology, electronic equipment have become in people's daily life most common electronic product it One.Also, user often receives the audio data of electronic equipment by the audio-frequence player device connecting with electronic equipment, but It is that the audio data that audio-frequence player device receives may have Caton, the bad problem of user experience.
Summary of the invention
In view of the above problems, present applicant proposes a kind of data transmission method, device, electronic equipment and storage medium, To solve the above problems.
In a first aspect, the embodiment of the present application provides a kind of data transmission method, it is applied to electronic equipment, the electronics is set Standby includes first antenna and the second antenna, which comprises when electronic equipment operation has destination application, detection The working condition of the first antenna, the destination application at least support the broadcasting of audio data;When the electronic equipment When by bluetooth connection to audio-frequence player device, whether just the 2.4G frequency range of the first antenna is judged according to the working condition It is used by WiFi;When the 2.4G frequency range of the first antenna is being led to by the WiFi in use, controlling the electronic equipment It crosses second antenna and the audio data is transmitted to the audio-frequence player device.
Second aspect, the embodiment of the present application provide a kind of data transmission device, are applied to electronic equipment, and the electronics is set Standby includes first antenna and the second antenna, and described device includes: working condition detection module, for running when the electronic equipment When having destination application, the working condition of the first antenna is detected, the destination application at least supports audio data Broadcasting;Working condition judgment module is used for when the electronic equipment passes through bluetooth connection to audio-frequence player device, according to institute It states working condition and judges whether the 2.4G frequency range of the first antenna is being used by WiFi;Audio data transmission module, is used for When the 2.4G frequency range of the first antenna is by the WiFi in use, controlling the electronic equipment passes through second antenna The audio data is transmitted to the audio-frequence player device.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including memory and processor, the storage Device is couple to the processor, the memory store instruction, when executed by the processor the processor Execute the above method.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable Program code is stored in storage medium, said program code can be called by processor and execute the above method.
Compared with the existing technology, scheme provided by the present application, when electronic equipment operation has destination application, detection the The working condition of one antenna, the destination application at least support the broadcasting of audio data, when electronic equipment passes through bluetooth connection When to audio-frequence player device, judge whether the 2.4G frequency range of first antenna is being used by WiFi according to working condition, when first The 2.4G frequency range of antenna is by WiFi in use, audio data is transmitted to audio by the second antenna by controlling electronic devices broadcasts Equipment is put, thus by presetting mutually independent first antenna and the second antenna, and in the 2.4G frequency range quilt of first antenna WiFi the problem of coexisting to avoid bluetooth and WiFi, reduces audio number in use, by the second antenna transmission Bluetooth audio frequency data According to Caton, improve data transfer reliability.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows a kind of suitable for application environment schematic diagram provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams for the data transmission method that the application one embodiment provides;
Fig. 3 shows the structural schematic diagram at the back side of electronic equipment provided by the embodiments of the present application;
Fig. 4 shows the flow diagram of the data transmission method of another embodiment of the application offer;
Fig. 5 shows the flow diagram of the data transmission method of the application further embodiment offer;
Fig. 6 shows the process signal of the step S304 for the data transmission method that the application embodiment shown in fig. 5 provides Figure;
Fig. 7 shows the process signal of the step S305 for the data transmission method that the application embodiment shown in fig. 5 provides Figure;
Fig. 8 shows the module frame chart of data transmission device provided by the embodiments of the present application;
Fig. 9 shows the embodiment of the present application for executing the electronic equipment of the data transmission method according to the embodiment of the present application Block diagram;
Figure 10 shows passing for saving or carrying realization according to the data of the embodiment of the present application for the embodiment of the present application The storage unit of the program code of transmission method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
Current electronic equipment 100 generally has bluetooth (Bluetooth, BT) module and WiFi (Wireless Fidelity, WiFi) module.Wherein, bluetooth module can refer to the chip basic circuit set of integrated Bluetooth function, be used for nothing Line network communication;Wi-Fi module can be the insertion for switching to serial ports or Transistor-Transistor Logic level to meet Wi-Fi wireless network communication standards Formula module, built-in wireless network protocol IEEE802.11b.g.n protocol stack and ICP/IP protocol stack, hardware device are embedded in Wi- Fi module directly can be connected to internet using Wi-Fi.Electronic equipment 100 can be by bluetooth module and bluetooth equipment 200 (such as The audio-frequence player devices such as bluetooth headset, Baffle Box of Bluetooth, the video playback apparatus such as projector, television set) carry out bluetooth connection;Electronics Equipment 100 can also carry out WiFi connection by WiFi module, as electronic equipment 100 is connected to wireless local area by WiFi module Net, to carry out data interaction with server 300 (such as Cloud Server, mobile phone, computer and tablet computer), as shown in Figure 1.
Requirement with user to electronic equipment is higher and higher, therefore, electronic equipment in order to meet the needs of users and It is provided conveniently for user, starts to support playing audio-fequency data, wherein the audio framework of electronic equipment and the audio framework of computer It is similar, mainly completed by processor and built-in audio CODEC (codec).Specifically, processor receives audio data Input after, be converted to I2S signal, and be transmitted to CODEC and be converted into analog signal, then play out.
Further, electronic equipment can be connect with external audio frequency playback equipment, be played by the audio-frequence player device Audio data, specifically, the audio-frequence player device can receive the audio data that electronic equipment comes, and by audio data It plays out, wherein the audio-frequence player device may include earphone, speaker and mobile unit etc..And in many situations, electricity Sub- equipment needs just carry out data transmission using network with external audio-frequence player device, for example, electronic equipment is broadcast with audio It puts equipment and needs to connect using Wireless Fidelity (Wireless Fidelity, WiFi) and carry out data transmission or electronic equipment and sound Frequency playback equipment, which needs to connect using bluetooth (Bluetooth, BT), to carry out data transmission, optionally, in general, electricity Sub- equipment can be connect by bluetooth with audio-frequence player device, and by bluetooth by audio data be transmitted to audio-frequence player device into Row plays.
Wherein, current electronic equipment generally has bluetooth module and WiFi module, and electronic equipment can pass through bluetooth mould Block is connected to the audio-frequence player devices such as bluetooth headset, carries out music on an electronic device, audio data is then passed through indigo plant Tooth is transferred to audio-frequence player device, and audio-frequence player device receives audio data and exports again.But the WiFi of electronic equipment is supported 2.4G frequency range and 5G frequency range, wherein WiFi2.4G frequency range and bluetooth 2.4G frequency range have overlapping, and WiFi and bluetooth share one Radio-frequency antenna, therefore, if bluetooth and WiFi when using 2.4G frequency range, can there are problems that seizing antenna resources, i.e. BT/ The problem of WiFi coexists, thus the problem of causing audio data Caton.
In view of the above-mentioned problems, inventor has found by long-term research, and propose data provided by the embodiments of the present application Transmission method, device, electronic equipment and storage medium, by presetting mutually independent first antenna and the second antenna, And in the 2.4G frequency range of first antenna by WiFi in use, by the second antenna transmission Bluetooth audio frequency data, to avoid bluetooth and The problem of WiFi coexists reduces audio data Caton, improve data transfer reliability.Wherein, specific data transmission method exists It is described in detail in subsequent embodiment.
Embodiment
Referring to Fig. 2, the flow diagram of the data transmission method provided Fig. 2 shows the application one embodiment.Institute It states data transmission method to be used for by presetting mutually independent first antenna and the second antenna, and in the 2.4G of first antenna Frequency range, in use, by the second antenna transmission Bluetooth audio frequency data, the problem of coexisting to avoid bluetooth and WiFi, is reduced by WiFi Audio data Caton, improve data transfer reliability.In the particular embodiment, the data transmission method is applied to such as Fig. 8 Shown in data transmission device 400 and the electronic equipment 100 (Fig. 9) configured with the data transmission device 400.It below will be with For electronic equipment, illustrate the detailed process of the present embodiment, it will of course be understood that, electronic equipment applied by the present embodiment It can be smart phone, tablet computer, wearable electronic equipment, mobile unit, gateway etc., not do specific restriction herein.Under Face will be explained in detail for process shown in Fig. 2, and the data transmission method can specifically include following steps:
Step S101: when electronic equipment operation has destination application, the work shape of the first antenna is detected State, the destination application at least support the broadcasting of audio data.
Referring to Fig. 2, in the present embodiment, the electronic equipment includes first antenna A and the second antenna B, wherein first Antenna A and the second antenna B are arranged independently of each other, and as a kind of mode, first antenna A and the second antenna B are both connected to electronics On the mainboard of equipment, and setting spaced apart on the main board, for example, first antenna A and the second interval antenna B 3mm setting, in addition, first antenna A and the second antenna B include but are not limited to printed antenna, assembling structure part etc..Further Ground, first antenna A at least support 2.4G frequency range and 5G frequency range, therefore, when first antenna A is in operating mode, can make described Electronic device works are under bluetooth mode, work under WiFi mode or works at the same time under bluetooth mode and under WiFi mode; Second antenna B at least supports 2.4G frequency range, i.e. the second antenna B can be independent Bluetooth antenna, therefore, when the second antenna B is in work It when making state, can make the electronic device works under bluetooth mode, work under WiFi mode or work at the same time in bluetooth Under mode, it will of course be understood that, in first antenna A and the second antenna B while in working condition, can pass through first day Line A is in electronic equipment under WiFi mode, and is in electronic equipment under bluetooth mode by the second antenna B, so as to Realize that electronic equipment BT/WiFi coexists.
In the present embodiment, the application program of electronic equipment may include electronic equipment front stage operation application program, The application program on the application program in electronic equipment running background or the foreground in electronic equipment and backstage switchover operation.Specifically Ground, the application program of front stage operation refers to can usually interact with user, can operate in the application program on foreground, when it not It can be seen that when will be suspended (such as: game);The application program of running background refer to user interaction it is very limited, in addition to configuration Period, the other times of life cycle are all hiding (such as: SMS automatically replies program and alarm clock program);In electronic equipment Foreground and the application program of backstage switchover operation refer to the application program that can arbitrarily switch between foreground and backstage.It can With understanding, when application program is not killed (kill), characterizes the application program and run on an electronic device.
Further, destination application is determined from the application program that electronic equipment is run, wherein the target application journey Sequence may include single application program, also may include multiple application programs, it is not limited here.In the present embodiment, described Destination application at least supports the broadcasting of audio data, that is to say, that the destination application at least audio output, example Such as, which may include music class application program, video playback class application program, conversational class application journey Sequence, game class application program etc., the application program can export audio data, can also export audio data and picture number simultaneously According to etc..
Further, when detecting that electronic equipment operation has destination application, the working condition of first antenna is carried out Detection, it is possible to understand that, the working condition of the first antenna at least may include network connection state, network not-connected status and State in network connection, wherein when the first antenna is in network connection state, the first antenna can be characterized and be in work Operation mode, and use state when being further in operating mode to first antenna detects.As a kind of mode, when first When antenna is in network connection state, which may be at mobile network's connection status, such as: it is connected to the network in 4G State is in 3G network connection status or is in 2G network connection state;The first antenna may be at wireless network connection shape State, such as: in WiFi connection status or it is in MiFi connection status;The electronic equipment is also in bluetooth connection status Deng it is not limited here.
Step S102: when the electronic equipment passes through bluetooth connection to audio-frequence player device, according to the working condition Judge whether the 2.4G frequency range of the first antenna is being used by WiFi.
As a kind of mode, in the present embodiment, the audio-frequence player device may include bluetooth module, and the audio is broadcast Bluetooth connection can be carried out by the bluetooth module and the electronic equipment by putting equipment.Wherein, when detecting that the electronics sets When for passing through bluetooth connection to audio-frequence player device, for example, when detecting that electronic equipment and audio-frequence player device open bluetooth, And when the electronic equipment and audio-frequence player device successful matching, the electronic equipment can be characterized and played by bluetooth connection to audio Equipment.
It should be understood that in the present embodiment, whether the equipment that can also pass through bluetooth connection to electronic equipment is audio Playback equipment is detected, wherein in the electronic equipment based on android operating system, can pass through Case-based Reasoning The obtained return value of BluetoothClass.Device class determines the currently device type by bluetooth connection.If returning Value be AUDIO_VIDEO_CAMCORDER, then be characterized as image capture device;If the value returned is AUDIO_VIDEO_CAR_ AUDIO is then characterized as mobile unit;If the value returned is AUDIO_VIDEO_HIFI_AUDIO, it is characterized as audio broadcasting and sets Standby or video playback apparatus, for example, bluetooth headset;If the value returned is AUDIO_VIDEO_MICROPHONE, it is characterized For microphone.
Wherein, it when determining the electronic equipment by bluetooth connection to audio-frequence player device, is obtained based on current detection First antenna working condition, judge whether the 2.4G frequency range of the first antenna is being used by WiFi.Specifically, when described When first antenna is in running order, detected first to whether the first antenna is in WiFi connection status, if detecting The first antenna is in WiFi connection status, then detects to the WiFi frequency range used, that is, detects the frequency that the WiFi is used Whether section is 5G frequency range or 2.4G frequency range, so as to judge WiFi in the 2.4G frequency range using the first antenna.
Step S103: when the 2.4G frequency range of the first antenna is being set by the WiFi in use, controlling the electronics It is standby that the audio data is transmitted to by the audio-frequence player device by second antenna.
Wherein, the audio data of electronic equipment output can be obtains from the local of the electronic equipment, is also possible to lead to It crosses network to obtain from server, it is not limited here.When the electronic equipment is obtained from the described local or described server After the audio data, audio decoder, audio processing and bluetooth CODEC coded treatment first can be carried out to the audio data, then It is transmitted to audio-frequence player device output.Wherein, in the 2.4G frequency range for determining the first antenna by WiFi in use, characterization First antenna resource is used in the WiFi, therefore, sets if audio data is transmitted to audio broadcasting by first antenna at this time It is standby, enough first antenna resources may not be distributed, to keep audio data transmission slower, cause audio data Caton, use The problem of family experience difference.Therefore, in the present embodiment, used by WiFi in the 2.4G frequency range for determining the first antenna When, then audio data is transmitted to audio-frequence player device by the second antenna by controlling electronic devices, due to the 2.4G of the second antenna Frequency range is not being used by WiFi, to avoid bluetooth and the coexistence problems of WiFi, is reduced the Caton of audio data, is improved number According to the reliability of transmission.
The data transmission method that the application one embodiment provides, when electronic equipment operation has destination application, inspection The working condition of first antenna is surveyed, which at least supports the broadcasting of audio data, when electronic equipment passes through bluetooth When being connected to audio-frequence player device, judge whether the 2.4G frequency range of first antenna is being used by WiFi according to working condition, when The 2.4G frequency range of first antenna is by WiFi in use, audio data is transmitted to sound by the second antenna by controlling electronic devices Frequency playback equipment, thus by presetting mutually independent first antenna and the second antenna, and in the 2.4G of first antenna frequency Section, in use, by the second antenna transmission Bluetooth audio frequency data, the problem of coexisting to avoid bluetooth and WiFi, reduces sound by WiFi Frequency is according to Caton, improve data transfer reliability.
Referring to Fig. 4, Fig. 4 shows the flow diagram of the data transmission method of another embodiment of the application offer. The method is applied to above-mentioned electronic equipment, will be explained in detail below for process shown in Fig. 4, the method is specific It may comprise steps of:
Step S201: detect the electronic equipment foreground whether the application program of the broadcasting of operation support audio data.
In the present embodiment, the application program of electronic equipment front stage operation is detected, then judges the front stage operation Whether application program supports the broadcasting of audio data.Specifically, the application program of the front stage operation can be identified, for example, identification The application information is video playback class application program, is that music class application program either novel reader class is answered out With program etc., then judge whether the application program of the front stage operation supports audio number according to the application information that identification obtains According to broadcasting.
Step S202: when the front stage operation supports the application program of the broadcasting of audio data, by the front stage operation Application program as the destination application.
As a kind of mode, when the application program for determining the front stage operation supports the broadcasting of audio data, then corresponding to will Front stage operation application program as destination application.
Step S203: when the foreground does not have the application program of the broadcasting of operation support audio data, from running background Application program in search support audio data broadcasting application program as the destination application.
Alternatively, when the application program for the front stage operation for determining the electronic equipment does not support broadcasting for audio data Put or when the foreground of the electronic equipment does not run application program, then it is corresponding obtain electronic equipment running background it is multiple Application program, and the application program for the broadcasting for supporting audio data is searched in multiple application programs as destination application. It should be understood that the application program that can export audio data in running background is generally one, if the energy in running background is defeated When the application program of audio data is multiple out, then select one of them as destination application.
Step S204: when electronic equipment operation has destination application, the work shape of the first antenna is detected State, the destination application at least support the broadcasting of audio data.
Step S205: when the electronic equipment passes through bluetooth connection to audio-frequence player device, according to the working condition Judge whether the 2.4G frequency range of the first antenna is being used by WiFi.
Step S206: when the 2.4G frequency range of the first antenna is by the WiFi in use, obtain the audio number According to encoding rate.
As a kind of mode, when the 2.4G frequency range of the first antenna is by WiFi in use, the corresponding electronics that obtains is set The encoding rate of the audio data of standby output.It should be understood that being converted to I2S signal, and transmit after processor receives audio data It is encoded into encoder, wherein corresponding a variety of type of codings in the encoder, and every kind of type of coding is corresponding with difference Encoding rate, further, when the encoding rate of the audio data is higher, the sound quality for characterizing the audio data is better, required The data volume of transmission is bigger, and when the encoding rate of the audio data is lower, the sound quality for characterizing the audio data is poorer, required biography Defeated data volume is smaller.
Wherein, in the present embodiment, the signal quality is positively correlated with the encoding rate, that is to say, that and signal is better, Its corresponding encoding rate is bigger, i.e., after the completion of sampling, quantifying to analog signal, encode, useful information part institute in data flow The ratio accounted for is bigger;Opposite, signal is poorer, and corresponding encoding rate is smaller, i.e., is sampling, quantifying to analog signal, encoding After the completion, ratio shared by useful information part is smaller in data flow.
Specifically, the raising of encoding rate can be raising sample rate, be also possible to during coding, reduce useless Information and the more useful informations of reservation, i.e. reduction compression ratio, for example, a kind of encryption algorithm, will sample every time in sound stream 16bit data stored with 4bit, then compression ratio is 4:1, then has 25% useful information to be retained, and if compression ratio become For 8bit, then compression ratio becomes 2:1, and compression ratio is reduced, and has 50% useful information to be retained, more useful information quilts It remains, but the data quantitative change of audio data is bigger.
Step S207: judge whether the encoding rate is higher than pre-arranged code rate.
Wherein, pre-arranged code rate is preset and is stored in the electronic equipment, which is used to be used as sound The judgment basis of the encoding rate of frequency evidence, therefore, after the encoding rate for obtaining the audio data, by the encoding rate with it is described pre- If encoding rate is compared, to judge whether the encoding rate is higher than pre-arranged code rate, it is possible to understand that, when the encoding rate is higher than When pre-arranged code rate, the data volume for characterizing the encoding rate is higher than preset data amount, needs to occupy biggish antenna resources and completes to pass It is defeated, when the encoding rate is not higher than pre-arranged code rate, characterize the data volume of the encoding rate not higher than preset data amount, need compared with Small antenna resources can complete transmission.
Step S208: when the encoding rate is higher than the pre-arranged code rate, the electronic equipment is controlled by described the The audio data is transmitted to the audio-frequence player device by two antennas.
Further, in the present embodiment, when the encoding rate is higher than pre-arranged code rate, it is corresponding to characterize the encoding rate Audio data, which needs to occupy biggish antenna resources, to be transmitted, and still, the 2.4G frequency range of first antenna is used by WiFi, Therefore, it can control the electronic equipment and audio data be transmitted to by audio-frequence player device by the second antenna, it is possible to understand that, Since the 2.4G frequency range of the second antenna is only used by bluetooth, can be very fast and stable the audio data be transmitted to Audio-frequence player device.
Step S209: when the encoding rate is not higher than the pre-arranged code rate, the electronic equipment is controlled described in The audio data is transmitted to the audio-frequence player device by first antenna.
Further, in the present embodiment, when the encoding rate is not higher than pre-arranged code rate, it is corresponding to characterize the encoding rate Audio data do not need to occupy biggish antenna resources and transmitted, therefore, as a kind of mode, even if first antenna 2.4G frequency range is used by WiFi, but will not cause too much influence to the transmission of audio data, then controls electronics and set It is standby that audio data is transmitted to by audio-frequence player device by first antenna, so as to reduce first antenna and the second antenna simultaneously Work electron equipment bring power consumption.
Step S210: when the encoding rate is not higher than the pre-arranged code rate, increases the encoding rate and obtain current compile Code rate adjusts the audio data according to the present encoding rate and obtains current audio data, and the present encoding rate is higher than institute State pre-arranged code rate.
Alternatively, when the encoding rate is not higher than pre-arranged code rate, characterize the sound quality of the audio data compared with Therefore difference can increase the encoding rate and obtain present encoding rate, certainly, in the present embodiment, by increasing the current volume obtained Code rate is higher than the pre-arranged code rate.Then the audio data is adjusted according to the current encoding rate and obtains current audio data, it can be with Understand, the sound quality of the current audio data obtained after adjustment is better than the audio data before adjustment.
Step S211: control the electronic equipment current audio data is transmitted to by second antenna it is described Audio-frequence player device.
Further, it controls the electronic equipment and the current audio data is transmitted to by audio by second antenna Playback equipment characterizes the current audio data and needs to occupy when being higher than pre-arranged code rate due to the encoding rate of current audio data Biggish antenna resources are transmitted, and still, the 2.4G frequency range of first antenna is used by WiFi, therefore, can control institute It states electronic equipment and current audio data is transmitted to by audio-frequence player device by the second antenna, it is possible to understand that, due to second day The 2.4G frequency range of line is only used by bluetooth, therefore, not only can be very fast and stable the current audio data be transmitted to sound Frequency playback equipment, moreover it is possible to obtain sound quality more preferably audio data.
The data transmission method that another embodiment of the application provides, when the broadcasting of foreground operation support audio data is answered When with program, using the application program of front stage operation as destination application, when foreground does not have broadcasting for operation support audio data When the application program put, the application program for the broadcasting for supporting audio data is searched from the application program of running background as target Application program detects the working condition of first antenna when electronic equipment operational objective application program, when electronic equipment passes through indigo plant When tooth is connected to audio-frequence player device, judge whether the 2.4G frequency range of first antenna is being used by WiFi according to working condition, When the 2.4G frequency range of first antenna is by WiFi in use, obtain the encoding rate of the audio data, when the encoding rate is higher than in advance If when encoding rate, audio data is transmitted to audio-frequence player device by the second antenna by controlling electronic devices, when encoding rate is not high When pre-arranged code rate, audio data is transmitted to audio-frequence player device by first antenna by controlling electronic devices, or increasing should Encoding rate obtains present encoding rate, obtains current audio data, the present encoding according to the current encoding rate adjustment audio data Rate is higher than pre-arranged code rate, and current audio data is transmitted to audio-frequence player device, phase by the second antenna by controlling electronic devices Compared with the first data transmission method, this method can also select first antenna or second day according to the encoding rate of audio data Line transmits audio data.
Referring to Fig. 5, Fig. 5 shows the flow diagram of the data transmission method of the application further embodiment offer. It will be explained in detail below for process shown in fig. 5, the method can specifically include following steps:
Step S301: when electronic equipment operation has destination application, the work shape of the first antenna is detected State, the destination application at least support the broadcasting of audio data.
Step S302: when the electronic equipment passes through bluetooth connection to audio-frequence player device, according to the working condition Judge whether the 2.4G frequency range of the first antenna is being used by WiFi.
Step S303: when the 2.4G frequency range of the first antenna is being set by the WiFi in use, controlling the electronics It is standby that the audio data is transmitted to by the audio-frequence player device by second antenna.
Step S304: when the WiFi stops using the 2.4G frequency range of the first antenna, the audio data is obtained In remaining audio data to be transmitted.
In the present embodiment, during audio data is transferred to audio-frequence player device by the second antenna, in real time The working condition of the first antenna of the electronic equipment is detected, the first antenna disconnects the connection between WiFi, table if detecting Current first antenna is levied not used by WiFi, therefore, which can distribute enough antenna resources to Bluetooth transmission, Therefore, electronic equipment obtains remaining audio data to be transmitted in the audio data in response.
Referring to Fig. 6, Fig. 6 shows the step S304's of the data transmission method of the application embodiment illustrated in fig. 5 offer Flow diagram.It will be explained in detail below for process shown in fig. 6, the method can specifically include following step It is rapid:
Step S3041: when the WiFi stops using the 2.4G frequency range of the first antenna, the first antenna is detected Working condition of the 2.4G frequency range in preset duration.
As a kind of enforceable mode, when detecting that the WiFi stops using the 2.4G frequency range of first antenna, to this Working condition of the 2.4G frequency range of first antenna in preset duration is detected, it is possible to understand that, since there may be networks Unstable reason causes temporarily to disconnect between first antenna and WiFi, but in preset duration, which can It can reconnect with WiFi, the transmission of audio data is impacted again, therefore, in order to ensure the stabilization of audio data transmission Property, then correspond to working condition of the 2.4G frequency range for detecting the first antenna in preset duration.
Step S3042: when the 2.4G frequency range of the first antenna is not used in the preset duration, institute is obtained State audio data to be transmitted.
It should be understood that if not detecting in preset duration, first antenna connects WiFi, it may be considered that this One antenna will not establish connection with the WiFi again, at this point it is possible to which corresponding obtain remaining audio data to be transmitted.
Step S305: the electronic equipment is controlled by the first antenna, the audio data to be transmitted is transmitted to institute State audio-frequence player device.
In the present embodiment, since the first antenna is in unused state, obtaining the transfer audio to be passed After data, the audio data to be transmitted can be transmitted to by audio-frequence player device by the first antenna.
Referring to Fig. 7, Fig. 7 shows the step S305's of the data transmission method of the application embodiment illustrated in fig. 5 offer Flow diagram.It will be explained in detail below for process shown in Fig. 7, the method can specifically include following step It is rapid:
Step S3051: the connection of the electronic equipment disconnection and second antenna is controlled.
Step S3052: it controls the electronic equipment and is transmitted to the audio data to be transmitted by the first antenna The audio-frequence player device.
As an implementation, the audio data to be transmitted is being transferred to the same of audio frequency apparatus by first antenna When, the connection between the electronic equipment and the second antenna is disconnected, to achieve the purpose that reduce the power consumption of the electronic equipment.
The data transmission method that the application further embodiment provides, when electronic equipment operation has destination application, The working condition of first antenna is detected, which at least supports the broadcasting of audio data, when electronic equipment passes through indigo plant When tooth is connected to audio-frequence player device, judge whether the 2.4G frequency range of first antenna is being used by WiFi according to working condition, When the 2.4G frequency range of first antenna is by WiFi in use, audio data is transmitted to by controlling electronic devices by the second antenna Audio-frequence player device obtains remaining to be transmitted in audio data when WiFi stops using the 2.4G frequency range of the first antenna Audio data to be transmitted is transmitted to audio-frequence player device by first antenna by audio data, controlling electronic devices, compared to A kind of data transmission method, this method can also be when WiFi stop using the 2.4G frequency range of first antenna, and switching Bluetooth transmission makes Antenna reduces power consumption to promote the flexibility of data transmission.
Referring to Fig. 8, Fig. 8 shows the module frame chart of data transmission device 400 provided by the embodiments of the present application.The data Transmitting device 400 is applied to electronic equipment, which includes first antenna and the second antenna, will be directed to shown in Fig. 8 below Block diagram be illustrated, the data transmission device 400 includes: working condition detection module 410, working condition judgment module 420 and audio data transmission module 430, in which:
Working condition detection module 410, for detecting described the when electronic equipment operation has destination application The working condition of one antenna, the destination application at least support the broadcasting of audio data.
Working condition judgment module 420 is used for when the electronic equipment passes through bluetooth connection to audio-frequence player device, root Judge whether the 2.4G frequency range of the first antenna is being used by WiFi according to the working condition.
Audio data transmission module 430, for when the first antenna 2.4G frequency range by the WiFi in use, It controls the electronic equipment and the audio data is transmitted to by the audio-frequence player device by second antenna.Further Ground, the audio data transmission module 230 include: encoding rate acquisition submodule, encoding rate judging submodule and audio data Transmit submodule, in which:
Encoding rate acquisition submodule, for the 2.4G frequency range when the first antenna by the WiFi in use, obtaining Take the encoding rate of the audio data.
Encoding rate judging submodule, for judging whether the encoding rate is higher than pre-arranged code rate.
Audio data transmits submodule, for controlling the electronics when the encoding rate is higher than the pre-arranged code rate The audio data is transmitted to the audio-frequence player device by second antenna by equipment.
The audio transmission submodule is also used to when the encoding rate is not higher than the pre-arranged code rate, described in control The audio data is transmitted to the audio-frequence player device by the first antenna by electronic equipment;Or increase the encoding rate Present encoding rate is obtained, the audio data is adjusted according to the present encoding rate and obtains current audio data, the current volume Code rate is higher than the pre-arranged code rate;It controls the electronic equipment and is transmitted the current audio data by second antenna To the audio-frequence player device.
Further, the data transmission device 400 further include: audio data to be transmitted obtains module, in which:
Audio data to be transmitted obtains module, for stopping using the 2.4G frequency range of the first antenna as the WiFi When, obtain remaining audio data to be transmitted in the audio data.Further, the audio data to be transmitted obtains mould Block, comprising: working condition detection sub-module and audio data acquisition submodule to be transmitted, in which:
Working condition detection sub-module, when for stopping using the 2.4G frequency range of the first antenna as the WiFi, inspection Survey working condition of the 2.4G frequency range of the first antenna in preset duration.
Audio data acquisition submodule to be transmitted, for the 2.4G frequency range when the first antenna in the preset duration When being not used, the audio data to be transmitted is obtained.
The audio data transmission module 430, being also used to control the electronic equipment will be described by the first antenna Audio data to be transmitted is transmitted to the audio-frequence player device.
Further, the audio data transmission module 430, further includes:
The audio transmission submodule is also used to control the connection of the electronic equipment disconnection and second antenna;With And the audio data to be transmitted is transmitted to the audio-frequence player device by the first antenna by the control electronic equipment.
Further, the data transmission device 400 further include: application program detection module and confirmation module, in which:
Application program detection module, for detect the electronic equipment foreground whether the broadcasting of operation support audio data Application program.
Confirmation module, when for supporting the application program of broadcasting of audio data when the front stage operation, by the foreground The application program of operation is as the destination application.
The confirmation module, when the application program for the broadcasting for being also used to not have operation support audio data when the foreground, The application program for the broadcasting for supporting audio data is searched from the application program of running background as the destination application.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
Data transmission device provided by the embodiments of the present application include working condition detection module, working condition judgment module with And audio data transmission module, wherein working condition detection module is used to have destination application when electronic equipment operation When, the working condition of the first antenna is detected, working condition judgment module is used to pass through bluetooth connection when the electronic equipment When to audio-frequence player device, judge whether the 2.4G frequency range of the first antenna is made by WiFi according to the working condition With audio data transmission module is used for the 2.4G frequency range when the first antenna by the WiFi in use, described in control The audio data is transmitted to the audio-frequence player device by second antenna by electronic equipment, thus by presetting Mutually independent first antenna and the second antenna, and in the 2.4G frequency range of first antenna by WiFi in use, pass through the second antenna Transmit Bluetooth audio frequency data, the problem of coexisting to avoid bluetooth and WiFi, improve data transfer reliability.
Referring to Fig. 9, it illustrates the structural block diagrams of a kind of electronic equipment 100 provided by the embodiments of the present application.The electronics Equipment 100, which can be smart phone, tablet computer, e-book etc., can run the electronic equipment of application program.In the application Electronic equipment 100 may include one or more such as lower component: processor 110, memory 120, bluetooth module 130, WiFi mould Block 140 and one or more application program, wherein one or more application programs can be stored in memory 120 and quilt It is configured to be executed by one or more processors 110, one or more programs are configured to carry out such as preceding method embodiment institute The method of description.
Processor 110 may include one or more processing core.Processor 110 is whole using various interfaces and connection Various pieces in a electronic equipment 100, by run or execute the instruction being stored in memory 120, program, code set or Instruction set, and the data being stored in memory 120 are called, execute the various functions and processing data of electronic equipment 100.It can Selection of land, processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Memory 120 can be used for store instruction, program, code, code set or instruction set.It deposits Reservoir 120 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for Realize the instruction etc. of following each embodiments of the method.Storage data area can also store the number that terminal 100 is created in use According to (such as phone directory, audio, video data, chat record data) etc..
Bluetooth module 130 for realizing the bluetooth connection between electronic equipment and bluetooth equipment, and with bluetooth equipment it Between data interaction.Specifically, can also pass through with bluetooth equipment by Bluetooth protocol 5.0/4.2/4.1/2.1/2.0 Bluetooth low energy consumption technologies (Bluetooh Low Energy, BLE), bluetooth enhancing rate technology (Enhanced Data Rate, ) or bluetooth basic rate (Base Rate, BR) etc. EDR.Its basic circuit composition is similar with WiFi module, can also be by function The composition such as rate amplifier, wireless transceiver, transmit/receive switch, low-noise amplifier and antenna.The bluetooth module 130 can make With the first communications band, wherein first communications band can be 2.4GHZ.
WiFi module 140 is for realizing the connection between WiFi access point, and the data between WiFi access point Interaction.Specifically, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as U.S. electric can be passed through with peripheral apparatus It is assisted with Electronic Engineering Association standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n) View establishes communication connection, then WiFi module may include power amplifier, wireless transceiver, transmit/receive switch, low noise amplification Device and antenna etc..When sending signal, transceiver itself can directly export low power faint radiofrequency signal, send to power and put Big device (Power Amplifier, PA) carries out power amplification, then passes through transmit/receive switch (Transmit/Receive Switch) space is radiated to via antenna (Antenna).When receiving signal, antenna can sense the electromagnetic signal in space, lead to It crosses after switch to send to low-noise amplifier (Low Noise Amplifier, LNA) and amplify, in this way, amplified letter Number can be directly fed to transceiver is handled, and is demodulated.The first communications band and can be used in the WiFi module 140 Two communications bands, wherein the first communications band can be 2.4GHz, and the second communications band can be 5Ghz.
Referring to Fig. 10, it illustrates a kind of structural frames of computer readable storage medium provided by the embodiments of the present application Figure.Program code is stored in the computer-readable medium 500, said program code can be called by processor and execute the above method Method described in embodiment.
Computer readable storage medium 500 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 500 includes non-volatile meter Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage Medium 500 has the memory space for the program code 510 for executing any method and step in the above method.These program codes can With from reading or be written in one or more computer program product in this one or more computer program product. Program code 510 can for example be compressed in a suitable form.
In conclusion data transmission method provided by the embodiments of the present application, device, electronic equipment and storage medium, when When electronic equipment operation has destination application, the working condition of first antenna is detected, which at least supports sound The broadcasting of frequency evidence judges first antenna according to working condition when electronic equipment passes through bluetooth connection to audio-frequence player device 2.4G frequency range whether used by WiFi, when first antenna 2.4G frequency range by WiFi in use, control electronics setting It is standby that audio data is transmitted to by audio-frequence player device by the second antenna, thus by presetting mutually independent first antenna With the second antenna, and in the 2.4G frequency range of first antenna by WiFi in use, by the second antenna transmission Bluetooth audio frequency data, with It avoids the problem that bluetooth and WiFi coexist, reduces audio data Caton, improve data transfer reliability.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (10)

1. a kind of data transmission method, which is characterized in that be applied to electronic equipment, the electronic equipment includes first antenna and the Two antennas, which comprises
When electronic equipment operation has destination application, the working condition of the first antenna is detected, the target is answered The broadcasting of audio data is at least supported with program;
When the electronic equipment passes through bluetooth connection to audio-frequence player device, judged described first day according to the working condition Whether the 2.4G frequency range of line is being used by WiFi;
When the 2.4G frequency range of the first antenna is by the WiFi in use, control the electronic equipment by described second The audio data is transmitted to the audio-frequence player device by antenna.
2. the method according to claim 1, wherein described when the 2.4G frequency range of the first antenna is by institute It states WiFi and is played in use, controlling the electronic equipment and the audio data being transmitted to the audio by second antenna Equipment, comprising:
When the 2.4G frequency range of the first antenna is by the WiFi in use, obtain the encoding rate of the audio data;
Judge whether the encoding rate is higher than pre-arranged code rate;
When the encoding rate is higher than the pre-arranged code rate, controls the electronic equipment and pass through second antenna for the sound Frequency evidence is transmitted to the audio-frequence player device.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When the encoding rate is not higher than the pre-arranged code rate, controlling the electronic equipment will be described by the first antenna Audio data is transmitted to the audio-frequence player device;Or
Increase the encoding rate and obtain present encoding rate, the audio data is adjusted according to the present encoding rate and obtains current sound Frequency evidence, the present encoding rate are higher than the pre-arranged code rate;
It controls the electronic equipment and the current audio data is transmitted to by the audio-frequence player device by second antenna.
4. method according to claim 1-3, which is characterized in that the 2.4G frequency range when the first antenna By the WiFi in use, control the electronic equipment audio data is transmitted to by second antenna it is described After audio-frequence player device, further includes:
When the WiFi stops using the 2.4G frequency range of the first antenna, obtain remaining to be transmitted in the audio data Audio data;
It controls the electronic equipment audio data to be transmitted is transmitted to by audio broadcasting by the first antenna and set It is standby.
5. according to the method described in claim 4, it is characterized in that, described when the WiFi stops using the first antenna When 2.4G frequency range, remaining audio data to be transmitted in the audio data is obtained, comprising:
When the WiFi stops using the 2.4G frequency range of the first antenna, the 2.4G frequency range of the first antenna is detected pre- If the working condition in duration;
When the 2.4G frequency range of the first antenna is not used in the preset duration, the transfer audio number to be passed is obtained According to.
6. according to the method described in claim 4, it is characterized in that, the control electronic equipment passes through the first antenna The audio data to be transmitted is transmitted to the audio-frequence player device, comprising:
Control the connection of the electronic equipment disconnection and second antenna;And
It controls the electronic equipment audio data to be transmitted is transmitted to by audio broadcasting by the first antenna and set It is standby.
7. the method according to claim 1, wherein described when electronic equipment operation has destination application When, before the working condition for detecting the first antenna, further includes:
Detect the electronic equipment foreground whether the application program of the broadcasting of operation support audio data;
When the front stage operation support audio data broadcasting application program when, using the application program of the front stage operation as The destination application;
When the foreground does not have the application program of the broadcasting of operation support audio data, looked into from the application program of running background Look for the application program for the broadcasting for supporting audio data as the destination application.
8. a kind of data transmission device, which is characterized in that be applied to electronic equipment, the electronic equipment includes first antenna and the Two antennas, described device include:
Working condition detection module, for detecting the first antenna when electronic equipment operation has destination application Working condition, the destination application at least supports the broadcasting of audio data;
Working condition judgment module is used for when the electronic equipment passes through bluetooth connection to audio-frequence player device, according to described Working condition judges whether the 2.4G frequency range of the first antenna is being used by WiFi;
Audio data transmission module, for the 2.4G frequency range when the first antenna by the WiFi in use, control institute It states electronic equipment and the audio data is transmitted to by the audio-frequence player device by second antenna.
9. a kind of electronic equipment, which is characterized in that including memory and processor, the memory is couple to the processor, The memory store instruction, the processor executes claim 1-7 such as and appoints when executed by the processor Method described in one.
10. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute the method according to claim 1 to 7.
CN201810923422.4A 2018-08-14 2018-08-14 Data transmission method, device, electronic equipment and storage medium Active CN109274407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810923422.4A CN109274407B (en) 2018-08-14 2018-08-14 Data transmission method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810923422.4A CN109274407B (en) 2018-08-14 2018-08-14 Data transmission method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109274407A true CN109274407A (en) 2019-01-25
CN109274407B CN109274407B (en) 2020-08-21

Family

ID=65153325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810923422.4A Active CN109274407B (en) 2018-08-14 2018-08-14 Data transmission method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109274407B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290278A (en) * 2019-08-02 2019-09-27 惠州Tcl移动通信有限公司 Data transmission method, device, storage medium and terminal based on bluetooth
CN110336568A (en) * 2019-05-29 2019-10-15 努比亚技术有限公司 Promote the method and electronic equipment of electronic equipment bluetooth performance
CN112969038A (en) * 2021-01-29 2021-06-15 北京字节跳动网络技术有限公司 Data transmission method and device, electronic equipment and computer readable storage medium
CN113133074A (en) * 2021-04-22 2021-07-16 荣耀终端有限公司 WiFi network switching method and device
CN114513572A (en) * 2020-11-16 2022-05-17 深圳市万普拉斯科技有限公司 Method and device for switching antenna of terminal equipment and terminal
CN116017614A (en) * 2023-02-23 2023-04-25 荣耀终端有限公司 Communication method and electronic equipment
WO2023142782A1 (en) * 2022-01-28 2023-08-03 荣耀终端有限公司 Antenna configuration method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102412858A (en) * 2011-11-04 2012-04-11 中兴通讯股份有限公司 Radio frequency transceiver, terminal and method for receiving signal for terminal
TW201249119A (en) * 2011-05-30 2012-12-01 Ralink Technology Corp RF processing circuit and wireless communication device using the same
US20120329395A1 (en) * 2011-06-27 2012-12-27 Qualcomm Atheros, Inc. Dynamic antenna sharing
US20140135042A1 (en) * 2012-11-15 2014-05-15 James Buchheim Locator Beacon and Radar Application for Mobile Device
CN105992362A (en) * 2014-10-13 2016-10-05 联发科技股份有限公司 Method and device of managing data transmission and wireless system
CN106253938A (en) * 2015-06-05 2016-12-21 苹果公司 For sky line locking and the equipment of selection and method
CN106571855A (en) * 2015-10-06 2017-04-19 宏达国际电子股份有限公司 Electronic device and method for controlling the same
CN107222777A (en) * 2017-07-19 2017-09-29 深圳创维数字技术有限公司 A kind of set top box WiFi and Bluetooth coexistence optimization method and device
CN107453762A (en) * 2016-05-31 2017-12-08 联发科技股份有限公司 Wireless module and the method for reducing the interference between wireless antenna
CN107851904A (en) * 2015-07-27 2018-03-27 高通股份有限公司 Low profile antenna with the high isolation coexisted for bluetooth and WIFI
CN108282193A (en) * 2017-01-06 2018-07-13 三星电子株式会社 Electronic equipment and the method for controlling its wireless communication
CN108282166A (en) * 2018-01-17 2018-07-13 广东欧珀移动通信有限公司 Mutual interference processing method, device, storage medium and electronic equipment coexists in antenna

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201249119A (en) * 2011-05-30 2012-12-01 Ralink Technology Corp RF processing circuit and wireless communication device using the same
US20120329395A1 (en) * 2011-06-27 2012-12-27 Qualcomm Atheros, Inc. Dynamic antenna sharing
CN102412858A (en) * 2011-11-04 2012-04-11 中兴通讯股份有限公司 Radio frequency transceiver, terminal and method for receiving signal for terminal
US20140135042A1 (en) * 2012-11-15 2014-05-15 James Buchheim Locator Beacon and Radar Application for Mobile Device
CN105992362A (en) * 2014-10-13 2016-10-05 联发科技股份有限公司 Method and device of managing data transmission and wireless system
CN106253938A (en) * 2015-06-05 2016-12-21 苹果公司 For sky line locking and the equipment of selection and method
CN107851904A (en) * 2015-07-27 2018-03-27 高通股份有限公司 Low profile antenna with the high isolation coexisted for bluetooth and WIFI
CN106571855A (en) * 2015-10-06 2017-04-19 宏达国际电子股份有限公司 Electronic device and method for controlling the same
CN107453762A (en) * 2016-05-31 2017-12-08 联发科技股份有限公司 Wireless module and the method for reducing the interference between wireless antenna
CN108282193A (en) * 2017-01-06 2018-07-13 三星电子株式会社 Electronic equipment and the method for controlling its wireless communication
CN107222777A (en) * 2017-07-19 2017-09-29 深圳创维数字技术有限公司 A kind of set top box WiFi and Bluetooth coexistence optimization method and device
CN108282166A (en) * 2018-01-17 2018-07-13 广东欧珀移动通信有限公司 Mutual interference processing method, device, storage medium and electronic equipment coexists in antenna

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
方晓农: "无线局域网与蓝牙技术共存性研究", 《电信快报》 *
班达: "蓝牙和IEEE802.11无线局域网共存问题探析", 《电脑知识与技术》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336568A (en) * 2019-05-29 2019-10-15 努比亚技术有限公司 Promote the method and electronic equipment of electronic equipment bluetooth performance
CN110290278A (en) * 2019-08-02 2019-09-27 惠州Tcl移动通信有限公司 Data transmission method, device, storage medium and terminal based on bluetooth
CN114513572A (en) * 2020-11-16 2022-05-17 深圳市万普拉斯科技有限公司 Method and device for switching antenna of terminal equipment and terminal
CN112969038A (en) * 2021-01-29 2021-06-15 北京字节跳动网络技术有限公司 Data transmission method and device, electronic equipment and computer readable storage medium
CN113133074A (en) * 2021-04-22 2021-07-16 荣耀终端有限公司 WiFi network switching method and device
CN113133074B (en) * 2021-04-22 2022-03-01 荣耀终端有限公司 WiFi network switching method and device
WO2023142782A1 (en) * 2022-01-28 2023-08-03 荣耀终端有限公司 Antenna configuration method and device
CN116017614A (en) * 2023-02-23 2023-04-25 荣耀终端有限公司 Communication method and electronic equipment
CN116017614B (en) * 2023-02-23 2023-08-11 荣耀终端有限公司 Communication method and electronic equipment

Also Published As

Publication number Publication date
CN109274407B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN109274407A (en) Data transmission method, device, electronic equipment and storage medium
CN114009055B (en) Screen-throwing display method and electronic equipment
CN109003618A (en) Coding control method, device, electronic equipment and storage medium
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
CN103166941B (en) A kind of method and device of data sharing
CN109151194B (en) Data transmission method, device, electronic equipment and storage medium
CN109041024A (en) Optimization of rate method, apparatus, electronic equipment and storage medium
CN109274813A (en) Optimization of rate method, apparatus, electronic equipment and storage medium
CN102823237A (en) Television appliance
CN114390337B (en) Screen projection method and system and electronic equipment
CN110913442A (en) Network switching method and device, electronic equipment and storage medium
CN109150399A (en) Data transmission method, device, electronic equipment and computer-readable medium
JP6961708B2 (en) Network connection method and equipment
CN109450851B (en) Device connection method, electronic device, and computer-readable medium
US20220369394A1 (en) Bluetooth reconnection method and related apparatus
CN111010693B (en) Method for providing wireless fidelity network access service and electronic equipment
CN109257732B (en) Equipment control method and device and electronic equipment
EP4047471A1 (en) Audio data processing method, server, and storage medium
US20220408281A1 (en) Method for Adjusting Quantity of Data Streams, Terminal, and MIMO System
CN104732993A (en) Wireless router music player
CN112689172B (en) Program playing method and device, set top box and storage medium
US9338275B2 (en) Terminal network for wireless voice communication
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
CN112422514A (en) Multimedia data transmission method and device, intelligent household equipment and storage medium
RU121411U1 (en) WIRELESS VOICE TERMINAL

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant