CN109274407B - 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
CN109274407B
CN109274407B CN201810923422.4A CN201810923422A CN109274407B CN 109274407 B CN109274407 B CN 109274407B CN 201810923422 A CN201810923422 A CN 201810923422A CN 109274407 B CN109274407 B CN 109274407B
Authority
CN
China
Prior art keywords
antenna
audio data
encoding rate
audio
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.)
Active
Application number
CN201810923422.4A
Other languages
Chinese (zh)
Other versions
CN109274407A (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a data transmission method and device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to an electronic device which comprises a first antenna and a second antenna. The method comprises the following steps: when the electronic equipment runs with a target application program, the working state of the first antenna is detected, when the electronic equipment is connected to the audio playing equipment through the Bluetooth, whether the 2.4G frequency band of the first antenna is used by the WiFi is judged according to the working state, and when the 2.4G frequency band of the first antenna is used by the WiFi, the electronic equipment is controlled to transmit audio data to the audio playing equipment through the second antenna. This application is through setting up mutually independent first antenna and second antenna in advance to when the 2.4G frequency channel of first antenna is used by wiFi, transmit bluetooth audio data through the second antenna, in order to avoid the problem of bluetooth and wiFi coexistence, improve the data transmission reliability.

Description

Data transmission method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a data transmission method and apparatus, an electronic device, and a storage medium.
Background
With the development of science and technology, electronic devices have become one of the most common electronic products in people's daily life. Moreover, a user often receives audio data of the electronic device through an audio playing device connected to the electronic device, but the audio data received by the audio playing device may be jammed, which causes a problem of poor user experience.
Disclosure of Invention
In view of the above problems, the present application provides a data transmission method, an apparatus, an electronic device, and a storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to an electronic device, where the electronic device includes a first antenna and a second antenna, and the method includes: when the electronic equipment runs with a target application program, detecting the working state of the first antenna, wherein the target application program at least supports the playing of audio data; when the electronic equipment is connected to audio playing equipment through Bluetooth, judging whether the 2.4G frequency band of the first antenna is used by WiFi or not according to the working state; when the 2.4G frequency band of the first antenna is being used by the WiFi, the electronic equipment is controlled to transmit the audio data to the audio playing equipment through the second antenna.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to an electronic device, where the electronic device includes a first antenna and a second antenna, and the apparatus includes: the working state detection module is used for detecting the working state of the first antenna when the electronic equipment runs a target application program, and the target application program at least supports the playing of audio data; the working state judging module is used for judging whether the 2.4G frequency band of the first antenna is used by WiFi or not according to the working state when the electronic equipment is connected to audio playing equipment through Bluetooth; and the audio data transmission module is used for controlling the electronic equipment to transmit the audio data to the audio playing equipment through the second antenna when the 2.4G frequency band of the first antenna is used by the WiFi.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is coupled to the processor, and the memory stores instructions, and the processor executes the above method when the instructions are executed by the processor.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
Compared with the prior art, according to the scheme provided by the application, when the electronic equipment runs with a target application program, the working state of the first antenna is detected, the target application program at least supports playing of audio data, when the electronic equipment is connected to the audio playing equipment through Bluetooth, whether the 2.4G frequency band of the first antenna is used by WiFi is judged according to the working state, when the 2.4G frequency band of the first antenna is used by WiFi, the electronic equipment is controlled to transmit the audio data to the audio playing equipment through the second antenna, therefore, through presetting the first antenna and the second antenna which are independent of each other, and when the 2.4G frequency band of the first antenna is used by WiFi, the Bluetooth audio data are transmitted through the second antenna, the coexistence problem of Bluetooth and WiFi is avoided, the number of audio data cards is reduced, and the reliability of data transmission is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an application environment suitable for use in embodiments of the present application;
fig. 2 is a schematic flow chart illustrating a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram illustrating a back side of an electronic device provided in an embodiment of the present application;
fig. 4 is a schematic flow chart illustrating a data transmission method according to another embodiment of the present application;
fig. 5 is a schematic flow chart illustrating a data transmission method according to still another embodiment of the present application;
fig. 6 is a flowchart illustrating a step S304 of the data transmission method provided by the embodiment illustrated in fig. 5 of the present application;
fig. 7 is a flowchart illustrating a step S305 of the data transmission method provided by the embodiment illustrated in fig. 5 of the present application;
fig. 8 shows a block diagram of a data transmission apparatus provided in an embodiment of the present application;
fig. 9 is a block diagram of an electronic device for executing a data transmission method according to an embodiment of the present application;
fig. 10 illustrates a storage unit for storing or carrying program codes for implementing a data transmission method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The current electronic device 100 generally has a Bluetooth (BT) module and a WiFi (WiFi) module. The Bluetooth module can be a chip basic circuit set integrating a Bluetooth function and used for wireless network communication; the Wi-Fi module can be an embedded module which converts a serial port or TTL level into a level meeting the Wi-Fi wireless network communication standard, a wireless network protocol IEEE802.11b.g.n protocol stack and a TCP/IP protocol stack are built in the Wi-Fi module, and the hardware equipment is embedded into the Wi-Fi module and can be directly connected to the Internet by utilizing Wi-Fi. The electronic device 100 can perform bluetooth connection with a bluetooth device 200 (e.g., an audio playing device such as a bluetooth headset or a bluetooth sound box, or a video playing device such as a projector or a television) through a bluetooth module; the electronic device 100 may also perform a WiFi connection through a WiFi module, for example, the electronic device 100 connects to a wireless local area network through the WiFi module to perform data interaction with a server 300 (e.g., a cloud server, a mobile phone, a computer, a tablet computer, etc.), as shown in fig. 1.
As the demand of users for electronic devices increases, the electronic devices start to support playing audio data in order to meet the demands of users and provide convenience for users, wherein the audio architecture of the electronic devices is similar to that of computers, and is mainly completed by processors and built-in audio CODECs (CODECs). Specifically, the processor receives the input of audio data, converts the audio data into an I2S signal, transmits the I2S signal to the CODEC, converts the I2 signal into an analog signal, and plays the analog signal.
Further, the electronic device may be connected to an external audio playing device, and the audio playing device plays audio data, specifically, the audio playing device may receive the audio data transmitted by the electronic device and play the audio data, where the audio playing device may include an earphone, a sound box, a vehicle-mounted device, and the like. In many cases, the electronic device and the external audio playing device need to use a network for data transmission, for example, the electronic device and the audio playing device need to use a Wireless Fidelity (WiFi) connection for data transmission, or the electronic device and the audio playing device need to use a Bluetooth (BT) connection for data transmission, and optionally, in a general case, the electronic device may be connected with the audio playing device through Bluetooth, and transmit the audio data to the audio playing device through Bluetooth for playing.
The electronic equipment at present generally comprises a Bluetooth module and a WiFi module, the electronic equipment can be connected to audio playing equipment such as a Bluetooth headset through the Bluetooth module, music playing is carried out on the electronic equipment, then audio data are transmitted to the audio playing equipment through Bluetooth, and the audio playing equipment receives the audio data and outputs the audio data. However, the WiFi of the electronic device supports a 2.4G band and a 5G band, wherein the WiFi2.4G band and the bluetooth 2.4G band overlap, and the WiFi and the bluetooth share a radio frequency antenna, so if both the bluetooth and the WiFi use the 2.4G band, there is a problem of preempting antenna resources, i.e. a problem of BT/WiFi coexistence, thereby causing a problem of audio data blockage.
In view of the above problems, the inventors have found through long-term research and propose a data transmission method, an apparatus, an electronic device, and a storage medium provided in the embodiments of the present application, where a first antenna and a second antenna that are independent of each other are preset, and when a 2.4G frequency band of the first antenna is used by WiFi, bluetooth audio data is transmitted through the second antenna, so as to avoid the problem of coexistence of bluetooth and WiFi, reduce the number of audio data cards, and improve the reliability of data transmission. The specific data transmission method is described in detail in the following embodiments.
Examples
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a data transmission method according to an embodiment of the present application. The data transmission method is used for transmitting Bluetooth audio data through the second antenna by presetting the first antenna and the second antenna which are independent from each other and when the 2.4G frequency band of the first antenna is used by WiFi, so that the problem of coexistence of Bluetooth and WiFi is avoided, the audio data jamming is reduced, and the data transmission reliability is improved. In a specific embodiment, the data transmission method is applied to the data transmission apparatus 400 shown in fig. 8 and the electronic device 100 (fig. 9) configured with the data transmission apparatus 400. The specific flow of the embodiment will be described below by taking an electronic device as an example, and it is understood that the electronic device applied in the embodiment may be a smart phone, a tablet computer, a wearable electronic device, a vehicle-mounted device, a gateway, and the like, and is not limited specifically herein. As will be described in detail with respect to the flow shown in fig. 2, the data transmission method may specifically include the following steps:
step S101: when the electronic equipment runs with a target application program, the working state of the first antenna is detected, and the target application program at least supports the playing of audio data.
Referring to fig. 2, in the present embodiment, the electronic device includes a first antenna a and a second antenna B, where the first antenna a and the second antenna B are disposed independently from each other, and as a mode, the first antenna a and the second antenna B are both connected to a main board of the electronic device and disposed at a certain distance on the main board, for example, the first antenna a and the second antenna B are disposed at a distance of 3mm, and in addition, the first antenna a and the second antenna B include but are not limited to a printed antenna, an assembly structure, and the like. Further, the first antenna a supports at least a 2.4G frequency band and a 5G frequency band, so that when the first antenna a is in the operating mode, the electronic device can be operated in the bluetooth mode, the WiFi mode, or both the bluetooth mode and the WiFi mode; the second antenna B supports at least a 2.4G frequency band, that is, the second antenna B may be an independent bluetooth antenna, so when the second antenna B is in an operating state, the electronic device may operate in a bluetooth mode, a WiFi mode, or a bluetooth mode simultaneously, and it can be understood that when the first antenna a and the second antenna B are in an operating state simultaneously, the electronic device may be in a WiFi mode through the first antenna a, and the electronic device may be in a bluetooth mode through the second antenna B, so that BT/WiFi coexistence of the electronic device may be achieved.
In this embodiment, the application program of the electronic device may include an application program running in the foreground of the electronic device, an application program running in the background of the electronic device, or an application program that is switched to run in the foreground and the background of the electronic device. Specifically, an application program running in the foreground refers to an application program which can generally interact with a user and can run in the foreground, and the application program can be suspended when the application program is not visible (such as games); background running applications mean very limited interaction with the user, except during configuration, where other times of the lifetime are hidden (e.g., SMS auto-answer program and alarm clock program); the application program which is switched to run in the foreground and the background of the electronic equipment refers to the application program which can be switched between the foreground and the background at will. It is understood that when an application is not killed (kill), the application is characterized as running on the electronic device.
Further, a target application is determined from the applications run by the electronic device, where the target application may include a single application or may include multiple applications, and is not limited herein. In this embodiment, the target application at least supports playing of audio data, that is, the target application has at least audio output, for example, the target application may include a music playing application, a video playing application, a conversation application, a game application, and the like, and the application may output audio data, or may output audio data and image data at the same time.
Further, when it is detected that the electronic device runs the target application program, the operating state of the first antenna is detected, and it can be understood that the operating state of the first antenna at least may include a network connection state, a network disconnection state, and a network connection in-progress state, where when the first antenna is in the network connection state, it may be characterized that the first antenna is in the operating mode, and further, a use state of the first antenna when the first antenna is in the operating mode is detected. As one way, when the first antenna is in a network connection state, the first antenna may be in a mobile network connection state, for example: in a 4G network connection state, in a 3G network connection state or in a 2G network connection state; the first antenna may be in a wireless network connected state, for example: in a WiFi connection state or in a MiFi connection state; the electronic device may also be in a bluetooth connection state, and the like, which is not limited herein.
Step S102: when the electronic equipment is connected to audio playing equipment through Bluetooth, whether the 2.4G frequency band of the first antenna is used by WiFi is judged according to the working state.
As one mode, in this embodiment, the audio playing device may include a bluetooth module, and the audio playing device may perform bluetooth connection with the electronic device through the bluetooth module. When it is detected that the electronic device is connected to the audio playing device through bluetooth, for example, when it is detected that both the electronic device and the audio playing device are powered on bluetooth and the electronic device and the audio playing device are successfully paired, it may be characterized that the electronic device is connected to the audio playing device through bluetooth.
It can be understood that, in this embodiment, it may also be detected whether the device connected to the electronic device through bluetooth is an audio playing device, wherein, in the electronic device based on the android operating system, the device type currently connected through bluetooth may be determined by a return value obtained based on instantiating the bluetooth class. If the returned value is AUDIO _ VIDEO _ CAMCORDER, the image acquisition equipment is characterized; if the returned value is AUDIO _ VIDEO _ CAR _ AUDIO, the vehicle-mounted equipment is characterized; if the returned value is AUDIO _ VIDEO _ HIFI _ AUDIO, the AUDIO or VIDEO playing device is characterized as an AUDIO playing device or a VIDEO playing device, such as a bluetooth headset; if the returned value is AUDIO _ VIDEO _ MICROPHONE, it is characterized as a MICROPHONE.
When the electronic equipment is determined to be connected to the audio playing equipment through the Bluetooth, whether the 2.4G frequency band of the first antenna is used by the WiFi is judged based on the working state of the first antenna obtained through current detection. Specifically, when the first antenna is in the working state, it is first detected whether the first antenna is in the WiFi connection state, and if it is detected that the first antenna is in the WiFi connection state, it is detected whether the frequency band used by the WiFi is a 5G frequency band or a 2.4G frequency band, so as to determine whether the WiFi is using the 2.4G frequency band of the first antenna.
Step S103: when the 2.4G frequency band of the first antenna is being used by the WiFi, the electronic equipment is controlled to transmit the audio data to the audio playing equipment through the second antenna.
The audio data output by the electronic device may be obtained locally from the electronic device, or may be obtained from a server through a network, which is not limited herein. After the electronic device obtains the audio data from the local or the server, the audio data is subjected to audio decoding, audio processing and Bluetooth CODEC encoding processing, and then transmitted to an audio playing device for output. When the 2.4G frequency band of the first antenna is determined to be being used by WiFi, it is characterized that the WiFi is using the first antenna resource, so that if the audio data is transmitted to the audio playing device through the first antenna at this time, sufficient first antenna resource may not be allocated, so that the audio data transmission is slow, the audio data is jammed, and the user experience is poor. Therefore, in this embodiment, when it is determined that the 2.4G band of the first antenna is being used by WiFi, the electronic device is controlled to transmit the audio data to the audio playing device through the second antenna, and since the 2.4G band of the second antenna is not being used by WiFi, the coexistence problem of bluetooth and WiFi is avoided, the jamming of the audio data is reduced, and the reliability of data transmission is improved.
According to the data transmission method provided by one embodiment of the application, when the electronic device runs with a target application program, the working state of the first antenna is detected, the target application program at least supports playing of audio data, when the electronic device is connected to the audio playing device through bluetooth, whether the 2.4G frequency band of the first antenna is used by WiFi is judged according to the working state, when the 2.4G frequency band of the first antenna is used by WiFi, the electronic device is controlled to transmit the audio data to the audio playing device through the second antenna, therefore, by presetting the first antenna and the second antenna which are independent of each other, and when the 2.4G frequency band of the first antenna is used by WiFi, the bluetooth audio data is transmitted through the second antenna, so that the problem of coexistence of bluetooth and WiFi is avoided, audio data cards are reduced, and data transmission reliability is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a data transmission method according to another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with respect to the flow shown in fig. 4, and the method may specifically include the following steps:
step S201: and detecting whether the foreground of the electronic equipment runs an application program supporting the playing of the audio data.
In this embodiment, the application program running in the foreground of the electronic device is detected, and then it is determined whether the application program running in the foreground supports playing of the audio data. Specifically, the foreground application may be identified, for example, the application information is identified as a video playing application, a music playing application, or a novel viewer application, and then whether the foreground application supports playing of audio data is determined according to the application information obtained by identification.
Step S202: and when the foreground runs the application program supporting the playing of the audio data, taking the application program running in the foreground as the target application program.
As one way, when it is determined that the foreground-running application supports the playing of audio data, the foreground-running application is taken as the target application.
Step S203: and when the foreground does not run the application program supporting the playing of the audio data, searching the application program supporting the playing of the audio data from the application programs running in the background to be used as the target application program.
As another way, when it is determined that the application program running in the foreground of the electronic device does not support the playing of the audio data or the application program is not running in the foreground of the electronic device, a plurality of application programs running in the background of the electronic device are correspondingly acquired, and the application program supporting the playing of the audio data is searched for as the target application program among the plurality of application programs. It is to be understood that there is generally one application capable of outputting audio data running in the background, and if there are a plurality of applications capable of outputting audio data running in the background, one of the applications is selected as the target application.
Step S204: when the electronic equipment runs with a target application program, the working state of the first antenna is detected, and the target application program at least supports the playing of audio data.
Step S205: when the electronic equipment is connected to audio playing equipment through Bluetooth, whether the 2.4G frequency band of the first antenna is used by WiFi is judged according to the working state.
Step S206: acquiring an encoding rate of the audio data when the 2.4G band of the first antenna is being used by the WiFi.
As one way, when the 2.4G band of the first antenna is being used by WiFi, the encoding rate of the audio data output by the electronic device is correspondingly obtained. It is understood that, after receiving the audio data, the processor converts the audio data into an I2S signal, and transmits the signal to the encoder for encoding, wherein, a plurality of encoding types are corresponding in the encoder, and each encoding type has a different encoding rate, further, when the encoding rate of the audio data is higher, the sound quality of the audio data is better represented, the amount of data to be transmitted is larger, and when the encoding rate of the audio data is lower, the sound quality of the audio data is worse represented, the amount of data to be transmitted is smaller.
In this embodiment, the signal quality is positively correlated with the coding rate, that is, the better the signal is, the larger the corresponding coding rate is, that is, after sampling, quantizing, and encoding the analog signal is completed, the larger the proportion of the useful information part in the data stream is; conversely, the worse the signal, the smaller the corresponding coding rate, i.e. the smaller the proportion of useful information in the data stream after sampling, quantizing and coding the analog signal.
Specifically, the increase of the coding rate may be to increase the sampling rate, or to reduce the useless information and retain more useful information during the coding process, i.e. to reduce the compression ratio, for example, an encoding algorithm that stores 16-bit data of each sample in the audio stream at 4-bit, the compression ratio is 4: 1, 25% of the useful information is retained, and if the compression ratio is changed to 8 bits, the compression ratio is changed to 2:1, the compression ratio is reduced, and 50% of the useful information is retained, more useful information is retained, but the data amount of the audio data becomes larger.
Step S207: and judging whether the encoding rate is higher than a preset encoding rate.
The electronic device is preset and stored with a preset encoding rate, the preset encoding rate is used as a judgment basis for the encoding rate of the audio data, therefore, after the encoding rate of the audio data is obtained, the encoding rate is compared with the preset encoding rate to judge whether the encoding rate is higher than the preset encoding rate, it can be understood that when the encoding rate is higher than the preset encoding rate, the data quantity representing the encoding rate is higher than the preset data quantity, and the transmission needs to be completed by occupying a larger antenna resource, and when the encoding rate is not higher than the preset encoding rate, the data quantity representing the encoding rate is not higher than the preset data quantity, and the transmission can be completed by needing a smaller antenna resource.
Step S208: and when the encoding rate is higher than the preset encoding rate, controlling the electronic equipment to transmit the audio data to the audio playing equipment through the second antenna.
Further, in this embodiment, when the encoding rate is higher than the preset encoding rate, the audio data corresponding to the encoding rate needs to occupy a larger antenna resource for transmission, but the 2.4G band of the first antenna is being used by WiFi, so the electronic device can be controlled to transmit the audio data to the audio playing device through the second antenna, and it can be understood that, since the 2.4G band of the second antenna is only used by bluetooth, the audio data can be transmitted to the audio playing device quickly and stably.
Step S209: and when the encoding rate is not higher than the preset encoding rate, controlling the electronic equipment to transmit the audio data to the audio playing equipment through the first antenna.
Further, in this embodiment, when the encoding rate is not higher than the preset encoding rate, the audio data corresponding to the encoding rate does not need to occupy a larger antenna resource for transmission, and therefore, as a mode, even if the 2.4G frequency band of the first antenna is being used by WiFi, the audio data transmission will not be greatly affected, and the electronic device is controlled to transmit the audio data to the audio playing device through the first antenna, so that power consumption of the electronic device caused by simultaneous operation of the first antenna and the second antenna can be reduced.
Step S210: and when the encoding rate is not higher than the preset encoding rate, increasing the encoding rate to obtain the current encoding rate, and adjusting the audio data according to the current encoding rate to obtain the current audio data, wherein the current encoding rate is higher than the preset encoding rate.
As another way, when the encoding rate is not higher than the preset encoding rate, the sound quality characterizing the audio data is poor, and therefore, the encoding rate may be increased to obtain the current encoding rate, and of course, in the present embodiment, the current encoding rate obtained by increasing is higher than the preset encoding rate. Then, the audio data is adjusted according to the current encoding rate to obtain the current audio data, and it can be understood that the sound quality of the current audio data obtained after the adjustment is better than that of the audio data before the adjustment.
Step S211: and controlling the electronic equipment to transmit the current audio data to the audio playing equipment through the second antenna.
Furthermore, the electronic device is controlled to transmit the current audio data to the audio playing device through the second antenna, and when the encoding rate of the current audio data is higher than the preset encoding rate, the current audio data is represented to occupy a larger antenna resource for transmission, but the 2.4G frequency band of the first antenna is being used by WiFi, so that the electronic device can be controlled to transmit the current audio data to the audio playing device through the second antenna.
In another embodiment of the present application, when the foreground runs the application program supporting the playing of the audio data, the foreground runs the application program as a target application program, when the foreground does not run the application program supporting the playing of the audio data, the application program supporting the playing of the audio data is searched from the application programs running in the background as the target application program, when the electronic device runs the target application program, the operating state of the first antenna is detected, when the electronic device is connected to the audio playing device through bluetooth, whether the 2.4G band of the first antenna is being used by WiFi is determined according to the operating state, when the 2.4G band of the first antenna is being used by WiFi, the encoding rate of the audio data is obtained, and when the encoding rate is higher than the encoding rate preset, the electronic device is controlled to transmit the audio data to the audio playing device through the second antenna, when the encoding rate is not higher than the preset encoding rate, the electronic device is controlled to transmit the audio data to the audio playing device through the first antenna, or the encoding rate is increased to obtain the current encoding rate, the audio data is adjusted according to the current encoding rate to obtain the current audio data, the current encoding rate is higher than the preset encoding rate, and the electronic device is controlled to transmit the current audio data to the audio playing device through the second antenna.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a data transmission method according to still another embodiment of the present application. As will be explained in detail with respect to the flow shown in fig. 5, the method may specifically include the following steps:
step S301: when the electronic equipment runs with a target application program, the working state of the first antenna is detected, and the target application program at least supports the playing of audio data.
Step S302: when the electronic equipment is connected to audio playing equipment through Bluetooth, whether the 2.4G frequency band of the first antenna is used by WiFi is judged according to the working state.
Step S303: when the 2.4G frequency band of the first antenna is being used by the WiFi, the electronic equipment is controlled to transmit the audio data to the audio playing equipment through the second antenna.
Step S304: and when the WiFi stops using the 2.4G frequency band of the first antenna, acquiring the remaining audio data to be transmitted in the audio data.
In this embodiment, in the process of transmitting the audio data to the audio playing device through the second antenna, the working state of the first antenna of the electronic device is detected in real time, and if it is detected that the first antenna is disconnected from the WiFi, it is represented that the current first antenna is not used by the WiFi, so that the first antenna can allocate sufficient antenna resources to bluetooth transmission, and therefore, the electronic device obtains the remaining audio data to be transmitted in the audio data as a response.
Referring to fig. 6, fig. 6 is a flowchart illustrating a step S304 of the data transmission method according to the embodiment of the application shown in fig. 5. As will be explained in detail with respect to the flow shown in fig. 6, the method may specifically include the following steps:
step S3041: and when the WiFi stops using the 2.4G frequency band of the first antenna, detecting the working state of the 2.4G frequency band of the first antenna within a preset time length.
As an implementable manner, when it is detected that the WiFi stops using the 2.4G frequency band of the first antenna, the operating state of the 2.4G frequency band of the first antenna within the preset time duration is detected, it can be understood that, because there may be a reason that the network is unstable, the first antenna may be disconnected from the WiFi temporarily, but within the preset time duration, the first antenna may be reconnected with the WiFi and affect transmission of the audio data again, and therefore, in order to ensure stability of audio data transmission, the operating state of the 2.4G frequency band of the first antenna within the preset time duration is correspondingly detected.
Step S3042: and when the 2.4G frequency band of the first antenna is not used within the preset time, acquiring the audio data to be transmitted.
It can be understood that if the first antenna is not detected to be connected to the WiFi within the preset time, it may be considered that the first antenna is not connected to the WiFi any more, and at this time, the remaining audio data to be transmitted may be correspondingly obtained.
Step S305: and controlling the electronic equipment to transmit the audio data to be transmitted to the audio playing equipment through the first antenna.
In this embodiment, because the first antenna is in an unused state, after the audio data to be transmitted is acquired, the audio data to be transmitted can be transmitted to an audio playing device through the first antenna.
Referring to fig. 7, fig. 7 is a flowchart illustrating a step S305 of the data transmission method according to the embodiment of the application shown in fig. 5. As will be explained in detail with respect to the flow shown in fig. 7, the method may specifically include the following steps:
step S3051: controlling the electronic device to disconnect from the second antenna.
Step S3052: and controlling the electronic equipment to transmit the audio data to be transmitted to the audio playing equipment through the first antenna.
As an implementation manner, when the audio data to be transmitted is transmitted to the audio device through the first antenna, the connection between the electronic device and the second antenna is disconnected, so as to achieve the purpose of reducing the power consumption of the electronic device.
In another embodiment of the present application, when an electronic device runs a target application program, a working state of a first antenna is detected, where the target application program at least supports playing of audio data, when the electronic device is connected to an audio playing device through bluetooth, it is determined whether a 2.4G band of the first antenna is being used by WiFi according to the working state, when the 2.4G band of the first antenna is being used by WiFi, the electronic device is controlled to transmit the audio data to the audio playing device through a second antenna, when the WiFi stops using the 2.4G band of the first antenna, remaining audio data to be transmitted in the audio data is obtained, and the electronic device is controlled to transmit the audio data to be transmitted to the audio playing device through the first antenna, and an antenna used for Bluetooth transmission is switched, so that the flexibility of data transmission is improved, and the power consumption is reduced.
Referring to fig. 8, fig. 8 is a block diagram illustrating a data transmission apparatus 400 according to an embodiment of the present disclosure. The data transmission apparatus 400 is applied to an electronic device, the electronic device includes a first antenna and a second antenna, and the following description will be made with respect to a block diagram shown in fig. 8, where the data transmission apparatus 400 includes: a working state detection module 410, a working state judgment module 420 and an audio data transmission module 430, wherein:
a working state detection module 410, configured to detect a working state of the first antenna when a target application runs on the electronic device, where the target application at least supports playing of audio data.
And the working state judgment module 420 is configured to judge whether the 2.4G frequency band of the first antenna is being used by WiFi according to the working state when the electronic device is connected to an audio playing device through bluetooth.
An audio data transmission module 430, configured to control the electronic device to transmit the audio data to the audio playing device through the second antenna when the 2.4G frequency band of the first antenna is being used by the WiFi. Further, the audio data transmission module 230 includes: the encoding rate obtains submodule piece, encoding rate and judges submodule piece and audio data transmission submodule piece, wherein:
an encoding rate acquisition sub-module for acquiring an encoding rate of the audio data when the 2.4G band of the first antenna is being used by the WiFi.
And the coding rate judging submodule is used for judging whether the coding rate is higher than a preset coding rate.
And the audio data transmission sub-module is used for controlling the electronic equipment to transmit the audio data to the audio playing equipment through the second antenna when the encoding rate is higher than the preset encoding rate.
The audio transmission sub-module is further configured to control the electronic device to transmit the audio data to the audio playing device through the first antenna when the encoding rate is not higher than the preset encoding rate; or increasing the encoding rate to obtain a current encoding rate, and adjusting the audio data according to the current encoding rate to obtain current audio data, wherein the current encoding rate is higher than the preset encoding rate; and controlling the electronic equipment to transmit the current audio data to the audio playing equipment through the second antenna.
Further, the data transmission apparatus 400 further includes: the audio data acquisition module waits to transmit, wherein:
and the to-be-transmitted audio data acquisition module is used for acquiring the remaining to-be-transmitted audio data in the audio data when the WiFi stops using the 2.4G frequency band of the first antenna. Further, the module for acquiring audio data to be transmitted includes: the working state detection submodule and the audio data acquisition submodule to be transmitted are provided, wherein:
and the working state detection submodule is used for detecting the working state of the 2.4G frequency band of the first antenna within the preset time when the WiFi stops using the 2.4G frequency band of the first antenna.
And the audio data to be transmitted acquisition submodule is used for acquiring the audio data to be transmitted when the 2.4G frequency band of the first antenna is not used within the preset time length.
The audio data transmission module 430 is further configured to control the electronic device to transmit the audio data to be transmitted to the audio playing device through the first antenna.
Further, the audio data transmission module 430 further includes:
the audio transmission sub-module is further used for controlling the electronic equipment to disconnect the second antenna; and controlling the electronic equipment to transmit the audio data to be transmitted to the audio playing equipment through the first antenna.
Further, the data transmission apparatus 400 further includes: an application detection module and a confirmation module, wherein:
and the application program detection module is used for detecting whether the foreground of the electronic equipment runs the application program supporting the playing of the audio data.
And the confirmation module is used for taking the application program operated by the foreground as the target application program when the application program supporting the playing of the audio data is operated by the foreground.
The confirmation module is further configured to, when the foreground does not run the application program supporting the playing of the audio data, search the application program supporting the playing of the audio data from the application programs running in the background as the target application program.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The data transmission device provided by the embodiment of the application comprises a working state detection module, a working state judgment module and an audio data transmission module, wherein the working state detection module is used for detecting the working state of the first antenna when the electronic equipment runs a target application program, the working state judgment module is used for judging whether the 2.4G frequency band of the first antenna is used by WiFi according to the working state when the electronic equipment is connected to audio playing equipment through Bluetooth, the audio data transmission module is used for controlling the electronic equipment to transmit the audio data to the audio playing equipment through the second antenna when the 2.4G frequency band of the first antenna is used by WiFi, so that the first antenna and the second antenna which are independent from each other are preset, and when the 2.4G frequency band of the first antenna is used by WiFi, and Bluetooth audio data is transmitted through the second antenna, so that the problem of coexistence of Bluetooth and WiFi is avoided, and the reliability of data transmission is improved.
Referring to fig. 9, a block diagram of an electronic device 100 according to an embodiment of the present disclosure is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a bluetooth module 130, a WiFi module 140, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform the methods as described in the foregoing method embodiments.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The bluetooth module 130 is used for implementing bluetooth connection between the electronic device and the bluetooth device, and data interaction between the electronic device and the bluetooth device. Specifically, the bluetooth protocol may be used with the bluetooth device by 5.0/4.2/4.1/2.1/2.0, or may also be used by Bluetooth Low Energy (BLE), bluetooth Enhanced Data Rate (EDR), or bluetooth Basic Rate (BR). The basic circuit structure is similar to the WiFi module, and can also be composed of a power amplifier, a wireless transceiver, a transceiver switcher, a low noise amplifier, an antenna, and the like. The bluetooth module 130 may use a first communication frequency band, wherein the first communication frequency band may be 2.4 GHZ.
The WiFi module 140 is used for implementing connection with a WiFi access point and data interaction with the WiFi access point. Specifically, the communication connection may be established with the peripheral device through a Wireless Fidelity (WiFi) protocol (e.g., IEEE 802.10A, IEEE802.11b, IEEE802.11g, and/or IEEE802.11 n, which are standards of the institute of electrical and electronics engineers), and the WiFi module may include a power amplifier, a Wireless transceiver, a transceiver switch, a low noise amplifier, an antenna, and the like. When sending signals, the transceiver itself will directly output a low-Power weak rf signal, which is sent to a Power Amplifier (PA) for Power amplification, and then radiated to the space through an Antenna (Antenna) by a Transmit/receive switch (Transmit/receive switch). When receiving signals, the antenna senses electromagnetic signals in the space, and the electromagnetic signals are sent to a Low Noise Amplifier (LNA) for amplification after passing through the switcher, so that the amplified signals can be directly sent to the transceiver for processing and demodulation. The WiFi module 140 may use a first communication frequency band and a second communication frequency band, wherein the first communication frequency band may be 2.4GHz, and the second communication frequency band may be 5 GHz.
Referring to fig. 10, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 500 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-volatile computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
In summary, the data transmission method, apparatus, electronic device and storage medium provided in the embodiments of the present application detect the operating state of the first antenna when the electronic device runs the target application, the target application program at least supports the playing of audio data, and when the electronic equipment is connected to the audio playing equipment through Bluetooth, judging whether the 2.4G frequency band of the first antenna is used by WiFi according to the working state, when the 2.4G frequency band of the first antenna is being used by WiFi, the control electronic equipment transmits audio data to the audio playing equipment through the second antenna, therefore, by presetting the first antenna and the second antenna which are independent from each other and when the 2.4G frequency band of the first antenna is used by WiFi, the Bluetooth audio data are transmitted through the second antenna, so that the problem of coexistence of Bluetooth and WiFi is avoided, the number of audio data cards is reduced, and the reliability of data transmission is improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A data transmission method is applied to an electronic device, the electronic device comprises a first antenna and a second antenna, and the method comprises the following steps:
when the electronic equipment runs with a target application program, detecting the working state of the first antenna, wherein the target application program at least supports the playing of audio data;
when the electronic equipment is connected to audio playing equipment through Bluetooth, judging whether the 2.4G frequency band of the first antenna is used by WiFi or not according to the working state;
acquiring an encoding rate of the audio data when the 2.4G band of the first antenna is being used by the WiFi;
judging whether the encoding rate is higher than a preset encoding rate;
and when the encoding rate is higher than the preset encoding rate, controlling the electronic equipment to transmit the audio data to the audio playing equipment in a Bluetooth mode through the second antenna.
2. The method of claim 1, further comprising:
when the encoding rate is not higher than the preset encoding rate, controlling the electronic equipment to transmit the audio data to the audio playing equipment through the first antenna; or
Increasing the encoding rate to obtain a current encoding rate, adjusting the audio data according to the current encoding rate to obtain current audio data, wherein the current encoding rate is higher than the preset encoding rate, and controlling the electronic equipment to transmit the current audio data to the audio playing equipment in a Bluetooth mode through the second antenna.
3. The method of claim 1 or 2, wherein after controlling the electronic device to transmit the audio data to the audio playback device in the bluetooth mode through the second antenna when the 2.4G band of the first antenna is being used by the WiFi, further comprising:
when the WiFi stops using the 2.4G frequency band of the first antenna, acquiring the remaining audio data to be transmitted in the audio data;
and controlling the electronic equipment to transmit the audio data to be transmitted to the audio playing equipment through the first antenna.
4. The method of claim 3, wherein the obtaining remaining audio data to be transmitted in the audio data when the WiFi stops using the 2.4G frequency band of the first antenna comprises:
when the WiFi stops using the 2.4G frequency band of the first antenna, detecting the working state of the 2.4G frequency band of the first antenna within a preset time length;
and when the 2.4G frequency band of the first antenna is not used within the preset time, acquiring the audio data to be transmitted.
5. The method of claim 3, wherein the controlling the electronic device to transmit the audio data to be transmitted to the audio playing device through the first antenna comprises:
controlling the electronic device to disconnect from the second antenna; and
and controlling the electronic equipment to transmit the audio data to be transmitted to the audio playing equipment through the first antenna.
6. The method according to claim 1, wherein before detecting the operating state of the first antenna when the target application is running on the electronic device, the method further comprises:
detecting whether a foreground of the electronic equipment runs an application program supporting the playing of audio data;
when the foreground runs the application program supporting the playing of the audio data, taking the application program running in the foreground as the target application program;
and when the foreground does not run the application program supporting the playing of the audio data, searching the application program supporting the playing of the audio data from the application programs running in the background to be used as the target application program.
7. A data transmission apparatus, applied to an electronic device including a first antenna and a second antenna, the apparatus comprising:
the working state detection module is used for detecting the working state of the first antenna when the electronic equipment runs a target application program, and the target application program at least supports the playing of audio data;
the working state judging module is used for judging whether the 2.4G frequency band of the first antenna is used by WiFi or not according to the working state when the electronic equipment is connected to audio playing equipment through Bluetooth;
an encoding rate acquisition sub-module for acquiring an encoding rate of the audio data when the 2.4G band of the first antenna is being used by the WiFi;
the encoding rate judging submodule is used for judging whether the encoding rate is higher than a preset encoding rate;
and the audio data transmission sub-module is used for controlling the electronic equipment to transmit the audio data to the audio playing equipment in a Bluetooth mode through the second antenna when the encoding rate is higher than the preset encoding rate.
8. An electronic device, comprising a memory and a processor, the memory coupled to the processor, the memory storing a computer program, the processor performing the method of any of claims 1-6 when the computer program is executed by the processor.
9. A computer-readable storage medium, in which a computer program is stored, which computer program can be invoked by a processor to perform the method according to any one of claims 1 to 6.
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 CN109274407A (en) 2019-01-25
CN109274407B true 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)

Families Citing this family (7)

* 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
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
CN116017614B (en) * 2023-02-23 2023-08-11 荣耀终端有限公司 Communication method and electronic equipment

Citations (4)

* 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
CN105992362A (en) * 2014-10-13 2016-10-05 联发科技股份有限公司 Method and device of managing data transmission and wireless system
CN108282193A (en) * 2017-01-06 2018-07-13 三星电子株式会社 Electronic equipment and the method for controlling its wireless communication

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120329395A1 (en) * 2011-06-27 2012-12-27 Qualcomm Atheros, Inc. Dynamic antenna sharing
US8847754B2 (en) * 2012-11-15 2014-09-30 James Buchheim Locator beacon and radar application for mobile device
US9544934B2 (en) * 2015-06-05 2017-01-10 Apple Inc. Device and method for antenna synchronization and selection
US20170033461A1 (en) * 2015-07-27 2017-02-02 Qualcomm Incorporated Low-profile antenna with high isolation for bluetooth and wifi coexistence
US9681366B2 (en) * 2015-10-06 2017-06-13 Htc Corporation Electronic device and method for controlling the same
US10098038B2 (en) * 2016-05-31 2018-10-09 Mediatek Inc. Wireless module and method of reducing interference between multiple wireless antennas
CN107222777B (en) * 2017-07-19 2019-02-26 深圳创维数字技术有限公司 A kind of set-top box WiFi and Bluetooth coexistence optimization method and device
CN108282166B (en) * 2018-01-17 2021-03-02 Oppo广东移动通信有限公司 Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment

Patent Citations (4)

* 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
CN102412858A (en) * 2011-11-04 2012-04-11 中兴通讯股份有限公司 Radio frequency transceiver, terminal and method for receiving signal for terminal
CN105992362A (en) * 2014-10-13 2016-10-05 联发科技股份有限公司 Method and device of managing data transmission and wireless system
CN108282193A (en) * 2017-01-06 2018-07-13 三星电子株式会社 Electronic equipment and the method for controlling its wireless communication

Also Published As

Publication number Publication date
CN109274407A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN109274407B (en) Data transmission method, device, electronic equipment and storage medium
CN109151194B (en) Data transmission method, device, electronic equipment and storage medium
CN109041024B (en) Code rate optimization method and device, electronic equipment and storage medium
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
CN109257500B (en) Audio playing method and device, electronic equipment and storage medium
CN109150399B (en) Data transmission method and device, electronic equipment and computer readable medium
CN107402790B (en) Application program starting method and device, storage medium and terminal
CN109273017B (en) Encoding control method and device and electronic equipment
US10950238B2 (en) Bluetooth speaker base, method and system for controlling thereof
CN109450851B (en) Device connection method, electronic device, and computer-readable medium
CN113676269B (en) Data transmission method of electronic device, medium thereof, and electronic device
CN109107158B (en) Sound effect processing method and device, electronic equipment and computer readable storage medium
CN110650405A (en) Wireless earphone control system, method, device and storage medium
CN109271131B (en) Earphone control method and device, electronic equipment and storage medium
CN109922539B (en) Network connection method and related product
CN109257732B (en) Equipment control method and device and electronic equipment
CN109410900B (en) Sound effect processing method and device and electronic equipment
WO2023020240A1 (en) Device control method and apparatus, and chip, electronic device and storage medium
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
CN110299930B (en) Antenna switching method and related equipment
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN109102816B (en) Encoding control method and device and electronic equipment
CN111740748B (en) Antenna control method, antenna control device, electronic equipment and computer readable medium
CN116582942A (en) Dual-channel data transmission method, device and storage medium
CN113038437A (en) Data transmission method, device, storage medium and terminal equipment

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