CN109275129B - Communication processing method, communication processing device, electronic equipment and storage medium - Google Patents

Communication processing method, communication processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109275129B
CN109275129B CN201810923294.3A CN201810923294A CN109275129B CN 109275129 B CN109275129 B CN 109275129B CN 201810923294 A CN201810923294 A CN 201810923294A CN 109275129 B CN109275129 B CN 109275129B
Authority
CN
China
Prior art keywords
buffering
audio
equipment
electronic device
audio playing
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
CN201810923294.3A
Other languages
Chinese (zh)
Other versions
CN109275129A (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 CN201810923294.3A priority Critical patent/CN109275129B/en
Publication of CN109275129A publication Critical patent/CN109275129A/en
Application granted granted Critical
Publication of CN109275129B publication Critical patent/CN109275129B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application discloses a communication processing method, a communication processing device, electronic equipment and a storage medium, wherein the communication processing method is applied to the electronic equipment, and the method comprises the following steps: detecting a connection state between the electronic equipment and other equipment; when the audio playing device is connected with the electronic device through the Bluetooth, detecting the network state of the electronic device; and when the network state of the electronic equipment is a set state, sending a buffering adjustment instruction to the audio playing equipment, wherein the buffering adjustment instruction is used for indicating the audio playing equipment to increase the buffering threshold value of the buffering node of the audio playing equipment. The method can increase the audio data which can be cached by the audio playing equipment, and avoid the problem that the playing sound of the audio playing equipment is blocked.

Description

Communication processing method, communication processing device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication processing method and apparatus, an electronic device, and a storage medium.
Background
Electronic devices, such as mobile phones, tablet computers, etc., have become one of the most common consumer electronic products in people's daily life. When a user uses the electronic device, the audio playing device connected with the electronic device is often used to receive the audio information of the electronic device. However, the electronic device may interrupt sending of the audio data, so that the audio data received by the audio playing device is also interrupted, which causes the sound played by the audio playing device to be jammed.
Disclosure of Invention
In view of the above problems, the present application provides a communication processing 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 communication processing method, which is applied to an electronic device, and the method includes: detecting a connection state between the electronic equipment and other equipment; when the audio playing device is connected with the electronic device through the Bluetooth, detecting the network state of the electronic device; and when the network state of the electronic equipment is a set state, sending a buffering adjustment instruction to the audio playing equipment, wherein the buffering adjustment instruction is used for indicating the audio playing equipment to increase the buffering threshold value of the buffering node of the audio playing equipment.
In a second aspect, an embodiment of the present application provides a communication processing apparatus, which is applied to an electronic device, and the apparatus includes: the system comprises a communication detection module, a network detection module and an adjustment control module, wherein the communication detection module is used for detecting the connection state between the electronic equipment and other equipment; the network detection module is used for detecting the network state of the electronic equipment when the audio playing equipment is connected with the electronic equipment through Bluetooth; the adjustment control module is used for sending a buffering adjustment instruction to the audio playing device when the network state of the electronic device is a set state, wherein the buffering adjustment instruction is used for indicating the audio playing device to increase the buffering threshold value of the buffering node of the audio playing device.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a bluetooth module, where the memory and the bluetooth module are coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the processor performs the communication processing method provided in the first aspect.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a program code executable by a processor, where the program code causes the processor to execute the communication processing method provided in the first aspect.
Compared with the prior art, the communication processing method, the communication processing device, the electronic equipment and the storage medium provided by the application have the advantages that by detecting the connection state between the electronic equipment and other equipment, when the audio playing equipment is connected with the electronic equipment through Bluetooth, the network state of the electronic equipment is detected, and when the network state of the electronic equipment is a set state, a buffering adjusting instruction is sent to the audio playing equipment and used for indicating the audio playing equipment to increase the buffering threshold value of the buffering node of the audio playing equipment, so that the buffering threshold value of the buffering node of the audio playing equipment is increased under a certain network state, audio data which can be buffered by the audio playing equipment is increased, and the problem that the playing sound of the audio playing equipment is blocked is avoided.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
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 flowchart illustrating a communication processing method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a communication processing method according to another embodiment of the present application;
fig. 3 shows a flowchart of step S250 in the communication processing method provided in the embodiment of the present application;
fig. 4 is a flowchart illustrating a communication processing method according to another embodiment of the present application;
fig. 5 is a flowchart illustrating step S350 in the communication processing method according to the embodiment of the present application;
fig. 6 is a block diagram showing a structure of a communication processing apparatus according to an embodiment of the present application;
fig. 7 shows a block diagram of an electronic device according to an embodiment of the present application, which is used for executing a communication processing method according to an embodiment of the present application.
Detailed Description
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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Currently, with the progress of science and technology, most electronic devices can play audio data. The audio architecture of electronic devices is similar to that of computers, and is mainly implemented by a processor and a built-in audio CODEC (coder-decoder). Specifically, the processor receives the input of audio data, converts the audio data into an I2S (Inter-IC Sound, integrated circuit built-in audio bus) signal, transmits the signal to the CODEC, converts the signal into an analog signal, and plays the signal.
With the further development of scientific technology and the increase of the demands of users, the electronic equipment can be connected with external audio playing equipment, and audio data can be played through the audio playing equipment. The audio playing device may include earphones, a sound box, a vehicle-mounted device and the like. The audio playing device connected with the electronic device can receive the audio data transmitted by the electronic device and play the audio data. The electronic device can be connected with the audio playing device in a wired mode or a wireless mode.
At present, users usually connect audio playing devices with electronic devices in a wireless manner to realize that the audio playing devices play audio data. When the audio playing device is wirelessly connected with the electronic device, the electronic device and the audio playing device connected with the electronic device need to use a network to perform 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, etc. In most cases, the electronic device can be connected with the audio playing device through bluetooth, and transmit audio data to the audio playing device through bluetooth for playing.
When the network state of the electronic device is not good or unstable, the electronic device sends audio data to the audio playing device and is interrupted, and when the electronic device is used as a data sending end and sends data, the audio playing device also receives data and is interrupted. In addition, because the data buffer amount of the audio playing device is small, when the audio playing device receives data and is interrupted, the audio playing device can quickly play the buffered data, and the sound played by the audio playing device is blocked.
In view of the above problems, the inventor has conducted long-term research and proposed a communication processing method, an apparatus, an electronic device, and a storage medium according to embodiments of the present application, where when the electronic device is connected to an audio playing device via bluetooth and a network state of the electronic device is a set state, a buffer threshold of a buffer node of the audio playing device is increased, so that an amount of data that can be buffered by the audio playing device is increased, and it is avoided that when data transmission by the electronic device is interrupted, a playing sound of the audio playing device is jammed, thereby improving user experience. The specific communication processing method is described in detail in the following embodiments.
In an embodiment, please refer to fig. 1, and fig. 1 is a flowchart illustrating a communication processing method according to an embodiment of the present application. According to the communication processing method, the buffer threshold value of the buffer node of the audio playing device is increased, so that the data volume which can be buffered by the audio playing device is increased, the phenomenon that playing sound of the audio playing device is blocked when the data sending of the electronic device is interrupted is avoided, and the user experience is improved. In a specific embodiment, the communication processing method is applied to the communication processing apparatus 400 shown in fig. 6 and an electronic device (fig. 7) configured with the communication processing 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, an intelligent gateway, and the like, and is not limited specifically herein. As will be described in detail with respect to the flow shown in fig. 1, the communication processing method may specifically include the following steps:
step S110: detecting a connection state between the electronic device and other devices.
At present, electronic devices often transmit audio data to an audio playing device for playing by connecting the audio playing device. And for the user with higher demand, the Bluetooth function of the electronic equipment can be utilized, so that the audio playing equipment is connected with the electronic equipment through Bluetooth, and the audio data is played. When the electronic device transmits the audio data to the audio broadcasting device for broadcasting through bluetooth communication, the situation that the electronic device sends the audio data is interrupted exists. In order to avoid the influence on the playing effect caused by the interruption of the audio data sent by the electronic equipment, the condition that the audio data of the electronic equipment is played through Bluetooth can be processed.
In the embodiment of the application, the connection state between the electronic device and other devices can be detected first, so that the situation that the electronic device is in communication connection with the audio playing device is processed in the following.
The connection state between the electronic device and the other device includes the existence of communication connection between the other device and the electronic device, the communication connection mode between the other device and the electronic device, the absence of communication connection with the other device, the communication connection with the other device, and the like. When the electronic device is in the connected state, the electronic device may be in a mobile network connected state, for example: when other devices are in communication connection with the electronic device, the connection mode may be a WiFi (WIreless-Fidelity) connection, a bluetooth connection, a MiFi (Mobile WiFi, Mobile router, or Mobile hotspot) connection, or the like. In the embodiment of the present application, a communication connection state between a specific electronic device and another device is not limited.
Step S120: when an audio playing device is connected to the electronic device through Bluetooth, the network state of the electronic device is detected.
In the embodiment of the application, the electronic device can be connected with other devices through Bluetooth. Therefore, when the other device is connected to the electronic device through bluetooth or the electronic device is connected to the other device through bluetooth, step S110 may detect that there is bluetooth connection between the other device and the electronic device. For example, when the bluetooth functions of the electronic device and other devices are detected in step S110, and the electronic device is successfully paired with other devices that start the bluetooth functions, it may be determined that there is a bluetooth connection between the other devices and the electronic device.
Furthermore, the device type of other devices connected with the electronic device in a bluetooth communication manner can be used to determine whether the device connected with the electronic device in a bluetooth communication manner is an audio playing device.
As one approach, in an android operating system based electronic device, the type of device currently connected through bluetooth may be determined by a return value obtained based on instantiating a 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.
Therefore, the condition that the electronic equipment is connected with the audio playing equipment through Bluetooth communication can be detected. When electronic equipment is connected with audio playback equipment bluetooth, electronic equipment transmits to audio playback equipment's data for obtaining from the server through the network under the majority of the circumstances, consequently under the not good circumstances of electronic equipment's network condition, electronic equipment sends audio data to audio playback equipment and can appear interrupting.
In the embodiment of the application, the network state of the electronic device can be detected when the Bluetooth communication connection between the electronic device and the audio playing device is detected. The network status may include status information such as a network signal, a network speed, and the like of the electronic device. When the electronic device is an android operating system-based device, the NetworkInfo object corresponding to the ConnectivityManager object can be obtained after the ConnectivityManager object is obtained, and then information about network connection is taken out of the NetworkInfo object. The ConnectivityManager object is used for viewing network states and managing network connection related operations, and the NetworkInfo object contains all information of network connections.
Step S130: and when the network state of the electronic equipment is a set state, sending a buffering adjustment instruction to the audio playing equipment, wherein the buffering adjustment instruction is used for indicating the audio playing equipment to increase the buffering threshold value of the buffering node of the audio playing equipment.
In this embodiment, when the network status of the electronic device is detected as the set status in step S120, it indicates that there may be an interruption in sending the audio data to the audio playing device by the electronic device. The setting state may be a state in which a network condition of the electronic device is not good, for example, a network signal of the electronic device is lower than a certain level, a network speed of the electronic device is lower than a certain speed, and the like. In the set state, the electronic device can still acquire the audio data through the network, but the speed of acquiring the audio data may not keep pace with the transmission speed of the audio data, and therefore, the transmission of the audio data by the electronic device may be interrupted.
When the network state of the electronic device is detected to be a set state, the state can be processed. In the embodiment of the application, the buffering threshold value of the buffering node of the audio playing device is increased, so that the audio data which can be buffered by the audio playing device is increased, and the situation that when the transmission of the audio data by the electronic device is interrupted, the audio data received by the audio playing device is also interrupted, and after the audio playing device finishes playing the buffered less audio data, the playing interruption occurs, and the playing sound is blocked is shown.
It can be understood that, when the electronic device obtains the audio data through the network and then transmits the audio data to the audio playing device, the buffer node of the audio playing device buffers the received audio data. A buffering Buffer (a buffering register) is preset in a buffering node of the audio playing device, wherein the size of the buffering Buffer is fixed, and in a normal case, a buffering threshold is set in the buffering node of the audio playing device, and the buffering threshold is used for processing the buffered audio data by a processing module of the audio playing device when the buffered audio data of the buffering node reaches the buffering threshold, so as to realize playing of the audio data.
In addition, the buffering threshold of the buffering node of the audio playing device may be adjustable, that is, the buffering threshold of the buffering node of the audio playing device may be dynamically controlled by software to change, and the buffering threshold controlled by the software may be less than or equal to the buffering Buffer. For example, when the Buffer of the Buffer node of the audio playback device is 5KB, the Buffer threshold thereof may be set to 5KB, 4KB, 3KB, or the like.
Therefore, when the network state of the electronic device is a set state, the buffering adjustment instruction can be sent to the audio playing device, so that the audio playing device increases the buffering threshold of the buffering node according to the buffering adjustment instruction. It can be understood that, the audio playing device increases the buffering threshold of its buffering node according to the buffering adjustment instruction, that is, the audio playing device increases the current buffering threshold of its buffering node, so that the increased buffering threshold is greater than the current buffering threshold, thereby achieving the effect of increasing the audio playing device and increasing the amount of audio data that can be buffered by the audio playing device. Therefore, when the electronic equipment sends the audio data due to the network state and is interrupted, the audio playing equipment can play more audio data, and the audio playing equipment is prevented from being blocked when playing sound.
According to the communication processing method provided by the embodiment of the application, when the audio playing device is connected with the electronic device through the Bluetooth, the network state of the electronic device is detected, and when the network state of the electronic device is a set state, a buffering adjustment instruction is sent to the audio playing device, so that the audio playing device increases the buffering threshold value of the buffering node of the audio playing device according to the buffering adjustment instruction, the buffering threshold value of the buffering node of the audio playing device is increased under a certain network state, more audio data can be played by the audio playing device, and the audio playing device is prevented from being blocked when playing sound.
In an embodiment, please refer to fig. 2, and fig. 2 is a flowchart illustrating a communication processing method according to an embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 2, the communication processing method may specifically include the following steps:
step S210: detecting a connection state between the electronic device and other devices.
Step S220: when the electronic equipment is connected with audio playing equipment through Bluetooth, whether audio data transmitted to the audio playing equipment by the electronic equipment is from a network or not is judged.
Since the audio data sent by the electronic device to the audio playing device may originate from a local source (i.e., the audio data stored in the electronic device) in addition to the network. When the audio data output by the electronic equipment is from the local, the electronic equipment transmits the audio data to the audio playing equipment without interruption, and the audio playing equipment does not jam when playing the audio data, so that the situation is not required to be processed.
Therefore, in the embodiment of the application, when detecting that the electronic device is in bluetooth communication connection with the audio playing device, it may be determined whether audio data transmitted to the audio playing device by the electronic device originates from a network, so as to determine whether to subsequently process audio data transmission between the electronic device and the audio playing device, thereby avoiding interruption of sound playing caused by interruption of audio data transmission by the electronic device.
Step S230: and if the audio data is sourced from the network, detecting the network state of the electronic equipment.
In step S220, if it is detected that the audio data transmitted from the electronic device to the audio playing device originates from the network, it indicates that the electronic device may be in a bad network state, and the transmission of the audio data by the electronic device is interrupted. Therefore, when the audio data output by the electronic device is from the network, the network state of the electronic device can be detected, so that the electronic device can be processed when the network state of the electronic device is not good.
Step S240: and when the network state of the electronic equipment is a set state, sending a buffering adjustment instruction to the audio playing equipment, wherein the buffering adjustment instruction is used for indicating the audio playing equipment to increase the buffering threshold value of the buffering node of the audio playing equipment.
In this embodiment, when the network status of the electronic device is detected as the set status in step S230, it indicates that there may be an interruption in sending the audio data to the audio playing device by the electronic device.
Further, setting the state may include: the network signal intensity of the electronic device is lower than a first set intensity, the average network signal intensity of the electronic device in a set time period is lower than a second set intensity, the current network speed of the electronic device is lower than a first set speed, or the average network speed of the electronic device in the set time period is lower than a second set speed, wherein the first set intensity is lower than the second set intensity, and the first set speed is lower than the second set speed.
It can be understood that, if the current network signal strength of the electronic device at the current moment is lower than the first set strength, it may indicate that the network signal strength of the electronic device is at a very low level, at this time, the audio data acquisition speed will be very low, and an interruption may occur when the electronic device sends the audio data to the audio playing device. For example, the current network signal strength of the electronic device is lower than-80 dBm (decibel-milliwatt), which indicates that the electronic device may interrupt sending the audio data to the audio playing device. Of course, the first setting intensity is merely an example, and does not represent a limitation on the first setting intensity in the embodiment of the present application.
In addition, if the average network signal intensity of the electronic device in a time period is lower than the second set intensity, it may indicate that the network signal intensity of the electronic device in the time period is always at a lower level, the audio data acquisition speed is also lower, and there may be an interruption in sending the audio data to the audio playing device by the electronic device. For example, if the average network signal strength of the electronic device is lower than-60 dBm (decibel-milliwatt) during a period of time, it indicates that there may be an interruption in sending audio data from the electronic device to the audio playback device. Of course, the second setting intensity is merely an example, and does not represent a limitation on the second setting intensity in the embodiment of the present application.
In addition, when the current network speed of the electronic device at the current moment is lower than the first set speed, it indicates that the speed of the electronic device acquiring the audio data from the network is very low, and an interruption of the electronic device transmitting the audio data may occur. For example, a current network speed of the electronic device below 100Kb/s indicates that an interruption in the transmission of audio data by the electronic device may occur. In addition, when the average network speed of the electronic device in the set time period is lower than the second set speed, the speed of the electronic device acquiring the audio data from the network is low, and an interruption of the electronic device transmitting the audio data may also occur. For example, an average network speed of the electronic device over a period of time that is less than 150Kb/s indicates that an interruption in the transmission of audio data by the electronic device may occur. Of course, the first set speed and the second set speed are only examples, and do not represent limitations on the first set speed and the second set speed in the embodiments of the present application.
Therefore, when any one of the four network states is detected, the buffering threshold value of the buffering node of the audio playing device is increased, so that the audio data which can be buffered by the audio playing device is increased, and the situation that when the transmission of the audio data by the electronic device is interrupted, the audio playing device also receives the audio data is interrupted, so that the audio playing device plays the buffered less audio data completely, the playing is interrupted, and the playing is indicated as a sound card pause is generated.
Step S250: and increasing the size of the buffering threshold values of all buffering nodes which are passed by the audio data in the electronic equipment to the audio broadcasting equipment to a set size.
In the embodiment of the application, in the process that the electronic device transmits the audio data to the audio playing device for playing, the audio data passes through the audio decoding module, the audio processing module and the bluetooth CODEC coding module of the electronic device, and then passes through the bluetooth CODEC decoding module of the audio playing device after being output to the audio playing device. In the above processing flow, in order to coordinate the data processing speed between adjacent modules, a buffer node may be configured between adjacent modules, and the buffer node may buffer the audio data processed by a previous module in the audio data processing flow, and then read data from the buffer node for processing by a next module adjacent to the previous module.
In addition, these buffering nodes in the electronic device are also consistent with the buffering nodes of the audio playing device, and each buffering node may be provided with a buffering threshold.
In the embodiment of the present application, since the buffering threshold of the buffering node of the audio playing device is added, and in the processing flow, when the data amount buffered by the buffering node reaches the buffering threshold, the next buffering node starts processing, so as to ensure that the audio data sent by the electronic device is synchronized with the audio data played by the audio playing device, the buffering thresholds of all buffering nodes in the process of sending the audio data can be matched with the buffering threshold of the buffering node of the audio playing device.
Therefore, in the embodiment of the present application, please refer to fig. 3, step S250 may include:
step S251: determining all buffer nodes which are passed by the electronic equipment when the audio data are transmitted to the audio broadcasting equipment.
It can be understood that all modules through which the audio data are transmitted to the audio playing device and the buffer nodes between the modules can be found according to the transmission path of the audio data. Therefore, all buffer nodes which are passed by the audio data in the electronic equipment to the audio playing equipment can be determined.
Step S252: and obtaining the size of the buffer threshold value of the buffer node of the current audio playing device.
It is understood that, in order to match the buffering threshold values of all the buffering nodes in the electronic device with the buffering threshold values of the buffering nodes of the audio playing device, the size of the buffering threshold value of the buffering node of the current audio playing device may be obtained.
Step S253: and increasing the size of the buffering threshold values of all the buffering nodes to a set size, wherein the set size is not larger than the size of the buffering threshold value of the buffering node of the current audio playing device.
After obtaining the size of the buffering threshold of the buffering node of the current audio playing device, the buffering thresholds of all the buffering nodes in the electronic device may be increased according to the size of the buffering threshold of the buffering node of the current audio playing device.
Specifically, the buffering threshold values of all buffering nodes in the electronic device may be increased to a set size, so that the buffering threshold values of all buffering nodes are increased, where the set size is not greater than the buffering threshold value of the buffering node of the current audio playing device. As one approach, the set size may coincide with the size of the buffering threshold of the buffering node of the current audio playback device.
According to the communication processing method provided by the embodiment of the application, when the electronic equipment is connected with the audio playing equipment through the Bluetooth, whether audio data transmitted to the audio playing equipment by the electronic equipment is from a network is judged, when the audio data is from the network, the network state of the electronic equipment is detected, and then when the network state of the electronic equipment is a set state, the buffer threshold values of the buffer nodes of the audio playing equipment are increased, and in addition, the buffer threshold values of all the buffer nodes of the electronic equipment are also increased. Therefore, the buffer threshold value of the buffer node of the audio playing device is increased under a certain network state, more audio data can be played by the audio playing device, and the audio playing device is prevented from being jammed when playing sound.
In an embodiment, please refer to fig. 4, and fig. 4 is a flowchart illustrating a communication processing method according to an embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 4, the communication processing method may specifically include the following steps:
step S310: detecting a connection state between the electronic device and other devices.
Step S320: when the audio playing device is connected with the electronic device through the Bluetooth, the network state of the electronic device is detected.
Step S330: and when the network state of the electronic equipment is a set state, acquiring the running information of an application program corresponding to the audio data transmitted to the audio playing equipment by the electronic equipment.
In the embodiment of the application, when the network state of the electronic device is detected to be the set state, the buffering threshold value of the buffering node of the audio playing device is increased. When the buffering threshold of the buffering node of the audio playing device is increased, the buffering threshold of the buffering node of the audio playing device may be increased according to the information of the application program corresponding to the audio data.
In this embodiment, the operation information of the application program corresponding to the audio data may include: the application program is in foreground or in background, the functional components called by the application program, the type of the application program, the data output by the application program and the like. It will be appreciated that the application supports at least audio data, i.e. the application has at least audio output. For example, the application may include a music playing application, a video playing application, a talking application, a gaming application, etc. Of course, the application program may output audio data, image data, and the like at the same time.
Step S340: and generating a buffering adjustment instruction based on the operation information, and sending the buffering adjustment instruction to the audio playing equipment.
After the operation information of the application program corresponding to the audio data is obtained, a buffering adjustment instruction can be generated according to the operation information and sent to the audio playing device, so that the buffering threshold value of the buffering node of the audio playing device is increased.
In the embodiment of the present application, please refer to fig. 5, step S340 may include:
step S341: determining a target size of a buffering threshold of a buffering node of the audio playback device based on the type of the application.
In this embodiment of the application, the running information of the application corresponding to the audio data includes a type of the application. The target size of the buffering threshold of the buffering node of the audio playing device may be determined according to the type of the application program.
When the type of the application program is determined, the type of the application program may be determined according to the content of the audio data, for example, if the audio data is music data, the type of the application program may be determined to be a music application type, and if the audio data is voice data, the type of the application program may be determined to be a call application type. Or classifying all the application programs in advance in the electronic device, storing the classified application programs in different types correspondingly, and matching the application programs with the stored application programs one by one when determining the application types of the application programs to obtain the types of the application programs.
Step S342: and generating a buffering adjustment instruction according to the target size, and sending the buffering adjustment instruction to the audio playing equipment, wherein the buffering adjustment instruction is used for instructing the audio playing equipment to increase the size of the buffering threshold value of the buffering node of the audio playing equipment to the target size.
After the type of the application program is determined, a buffering adjustment instruction may be generated according to the type of the application program, so as to increase the size of the buffering threshold of the buffering node of the audio playing device to the size corresponding to the type.
First, a target size to which a buffering threshold of a buffering node of an audio playing device is to be increased may be determined according to the type of the application program. In this embodiment of the application, the electronic device may preset and store a corresponding relationship between the target size and the type of the application program, and therefore, after the type of the application program is obtained, the target size corresponding to the type of the application program may be found according to the corresponding relationship.
It will be appreciated that different application types may correspond to different target sizes. For application types with higher requirements on sound playing continuity, such as music applications, video applications and other types of applications, the target size can be higher; applications of a type that does not require much continuity in sound playback, such as telephony applications, video chat applications, etc., may correspond to a lower target size.
And then, after the target size corresponding to the type of the application program is determined, generating a buffer adjustment instruction according to the target size, wherein the buffer adjustment instruction carries the target size to which the audio playing device needs to increase the buffer threshold value of the buffer node of the audio playing device. Therefore, after the electronic device sends the buffering adjustment instruction to the audio playing device, the audio playing device may increase the buffering threshold of its buffering node to the target size according to the buffering adjustment instruction. Therefore, when different application types are used, the target size increased by the audio playing equipment is different, the playing continuity of the audio playing equipment is ensured, and meanwhile, the power consumption of the audio playing equipment is reduced.
The communication processing method provided by the embodiment of the application detects the network state of the electronic equipment when the electronic equipment is connected with the audio playing equipment through Bluetooth, determines the running information of the application program corresponding to the audio data when the network state of the electronic equipment is a set state, and finally increases the buffer threshold value of the buffer node of the audio playing equipment according to the running information, so that the buffer threshold value corresponds to the type of the application program, the data volume which can be cached by the audio playing equipment is increased, the phenomenon that the audio playing equipment is jammed when playing sound is avoided, and the power consumption of the audio playing equipment is reduced while the playing continuity of the audio playing equipment is ensured.
In one embodiment, referring to fig. 6, fig. 6 illustrates a block diagram of a communication processing apparatus 400 according to an embodiment of the present application. The communication processing apparatus 400 is applied to an electronic device. As will be explained below with respect to the block diagram shown in fig. 6, the communication processing apparatus 400 includes: a communication detection module 410, a network detection module 420, and a regulation control module 430. The communication detection module 410 is configured to detect a connection state between the electronic device and another device; the network detection module 420 is configured to detect a network state of the electronic device when there is a bluetooth connection between the audio playback device and the electronic device; the adjustment control module 430 is configured to send a buffering adjustment instruction to the audio playing device when the network state of the electronic device is a set state, where the buffering adjustment instruction is used to instruct the audio playing device to increase a buffering threshold of a buffering node of the audio playing device.
In an embodiment of the present application, the setting state includes: the network signal intensity of the electronic device is lower than a first set intensity, the average network signal intensity of the electronic device in a set time period is lower than a second set intensity, the current network speed of the electronic device is lower than a first set speed, or the average network speed of the electronic device in the set time period is lower than a second set speed, wherein the first set intensity is lower than the second set intensity, and the first set speed is lower than the second set speed.
In the embodiment of the present application, the adjustment control module 430 may include: the device comprises an information acquisition unit and an adjustment execution unit. The information acquisition unit is used for acquiring the running information of an application program corresponding to the audio data transmitted to the audio playing device by the electronic device when the network state of the electronic device is a set state; the adjustment execution unit is used for generating a buffering adjustment instruction based on the operation information and sending the buffering adjustment instruction to the audio playing equipment.
Further, the adjustment execution unit may specifically be configured to: determining a target size of a buffering threshold of a buffering node of the audio playback device based on the type of the application; and generating a buffering adjustment instruction according to the target size, and sending the buffering adjustment instruction to the audio playing equipment, wherein the buffering adjustment instruction is used for instructing the audio playing equipment to increase the size of the buffering threshold value of the buffering node of the audio playing equipment to the target size.
In this embodiment, the network detection module 420 may include: the device comprises a data judgment unit and a detection execution unit. The data judgment unit is used for judging whether the audio data transmitted to the audio playing equipment by the electronic equipment is from a network or not when the electronic equipment is connected to the audio playing equipment through Bluetooth; the detection execution unit is used for detecting the network state of the electronic equipment if the audio data is from the network.
In this embodiment of the present application, the communication processing apparatus 400 may further include: and a buffer adjusting module. The buffer adjusting module may be configured to increase the size of the buffer threshold of all buffer nodes through which the audio data in the electronic device is transmitted to the audio broadcasting device to a set size.
Further, the buffering adjustment module 430 may be specifically configured to: determining all buffer nodes which are passed by the electronic equipment when the audio data are transmitted to the audio broadcasting equipment; obtaining the size of a buffer threshold value of a buffer node of the current audio playing equipment; and increasing the size of the buffering threshold values of all the buffering nodes to a set size, wherein the set size is not larger than the size of the buffering threshold value of the buffering node of the current audio playing device.
In an embodiment, referring to fig. 7, based on the communication processing method and apparatus, an electronic device 100 capable of executing the communication processing method is further provided in the embodiment of the present application. Electronic device 100 includes one or more processors 102 (only one shown), memory 104, and bluetooth module 110 coupled to each other. The memory 104 stores a program corresponding to the communication processing method provided by the above embodiment, and the processor 102 may execute the program stored in the memory 104.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces. The peripheral interface may be implemented based on the following standards: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface may comprise only a bus; in other examples, the peripheral interface may also include other elements, such as one or more controllers, e.g., a display controller for interfacing with the display panel or a memory controller for interfacing with a memory. In addition, these controllers may be separate from the peripheral interfaces and integrated within the processor 102 or within the corresponding peripherals.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronic body portion 10 or the primary display 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The bluetooth module 110, which may be a PCBA board integrated with bluetooth function, is used for short-distance wireless communication and is divided into a bluetooth data module and a bluetooth voice module according to functions, wherein the bluetooth data module performs wireless data transmission, and the bluetooth voice module performs wireless data transmission of voice and stereo audio.
The electronic device 100 may be a mobile or smart phone (e.g., an iPhone (TM) based, Android (TM) based phone), a Portable gaming device (e.g., a Nintendo DS (TM), PlayStation Portable (TM), Game boy Advance (TM), iPhone (TM)), a laptop, a PDA, a Portable Internet device, a music player, and a data storage device, other handheld devices, and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, etc., the electronic device 100 may also be other wearable devices (e.g., a head-mounted device (HMD) such as electronic glasses, electronic clothing, an electronic bracelet, an electronic necklace, an electronic tattoo, a mobile terminal, or a smart watch).
In one embodiment, the present application provides a computer-readable storage medium having a program code executable by a processor, where the program code causes the processor to execute the communication processing method provided by the first aspect.
In the context of this document, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
To sum up, according to the communication processing method, apparatus, electronic device and storage medium provided by the present application, by detecting a connection state between the electronic device and another device, when the audio playing device is connected to the electronic device via bluetooth, a network state of the electronic device is detected, and when the network state of the electronic device is a set state, a buffering adjustment instruction is sent to the audio playing device, where the buffering adjustment instruction is used to instruct the audio playing device to increase a buffering threshold of a buffering node of the audio playing device, so that the buffering threshold of the buffering node of the audio playing device is increased under a certain network state, audio data that can be buffered by the audio playing device is increased, and the problem that the audio playing device is jammed in playing sound is avoided.
In the description of this specification, any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units 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 integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.

Claims (8)

1. A communication processing method is applied to an electronic device, and the method comprises the following steps:
detecting a connection state between the electronic equipment and other equipment;
when audio playing equipment is connected with the electronic equipment through Bluetooth, detecting the network state of the electronic equipment, wherein the electronic equipment acquires audio data through a network and transmits the audio data to the audio playing equipment for playing;
when the network state of the electronic equipment is a set state, acquiring running information of an application program corresponding to audio data transmitted to the audio playing equipment by the electronic equipment at present, wherein the running information comprises the type of the application program;
determining a target size of a buffering threshold of a buffering node of the audio playing device based on the type of the application program, wherein the types of different application programs have different requirements on sound playing continuity, and the corresponding target sizes are different;
generating a buffering regulation instruction according to the target size, sending the buffering regulation instruction to the audio playing equipment, wherein the buffering regulation instruction is used for indicating the audio playing equipment to increase the size of a buffering threshold value of a buffering node of the audio playing equipment to the target size, the set state is used for representing the poor state of a network condition, the buffering threshold value is used for processing and playing buffered audio data when the buffered audio data of the buffering node reaches the buffering threshold value, a buffering register is preset in the buffering node, and the size of the buffering register is fixed and unchanged.
2. The method of claim 1, wherein setting the state comprises: the network signal intensity of the electronic device is lower than a first set intensity, the average network signal intensity of the electronic device in a set time period is lower than a second set intensity, the current network speed of the electronic device is lower than a first set speed, or the average network speed of the electronic device in the set time period is lower than a second set speed, wherein the first set intensity is lower than the second set intensity, and the first set speed is lower than the second set speed.
3. The method according to claim 1 or 2, wherein the detecting the network status of the electronic device when there is a bluetooth connection between an audio playing device and the electronic device comprises:
when the audio playing device is connected with the electronic device through the Bluetooth, judging whether audio data transmitted to the audio playing device by the electronic device is from a network or not;
and if the audio data is sourced from the network, detecting the network state of the electronic equipment.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and increasing the size of the buffering threshold values of all buffering nodes which are passed by the audio data in the electronic equipment to the audio broadcasting equipment to a set size.
5. The method of claim 4, wherein increasing the size of the buffering threshold of all buffering nodes through which the audio data in the electronic device is transmitted to the audio broadcasting device to a set size comprises:
determining all buffer nodes which are passed by the electronic equipment when the audio data are transmitted to the audio broadcasting equipment;
obtaining the size of a buffer threshold value of a buffer node of the current audio playing equipment;
and increasing the size of the buffering threshold values of all the buffering nodes to a set size, wherein the set size is not larger than the size of the buffering threshold value of the buffering node of the current audio playing device.
6. A communication processing apparatus applied to an electronic device, the apparatus comprising: a communication detection module, a network detection module and an adjustment control module, wherein the adjustment control module comprises an information acquisition unit and an adjustment execution unit,
the communication detection module is used for detecting the connection state between the electronic equipment and other equipment;
the network detection module is used for detecting the network state of the electronic equipment when the audio playing equipment is connected with the electronic equipment through Bluetooth, wherein the electronic equipment acquires audio data through a network and transmits the audio data to the audio playing equipment for playing;
the information acquisition unit is used for acquiring running information of an application program corresponding to audio data transmitted to the audio playing device by the electronic device when the network state of the electronic device is a set state, wherein the running information comprises the type of the application program;
the adjustment execution unit is used for determining the target size of the buffering threshold value of the buffering node of the audio playing device based on the type of the application program, wherein the types of different application programs have different requirements on sound playing continuity, and the corresponding target sizes are different;
the adjusting execution unit is further used for generating a buffering adjusting instruction according to the target size and sending the buffering adjusting instruction to the audio playing equipment, the buffering adjusting instruction is used for indicating the audio playing equipment to increase the size of a buffering threshold value of a buffering node of the audio playing equipment to the target size, the set state is used for representing the state with poor network conditions, the buffering threshold value is used for processing and playing buffered audio data when the buffered audio data of the buffering node reaches the buffering threshold value, a processing module of the audio playing equipment is used for processing and playing the buffered audio data, the buffering node is provided with a buffering register in advance, and the size of the buffering register is fixed and unchanged.
7. An electronic device comprising a memory, a processor, and a bluetooth module, the memory and the bluetooth module coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-5.
8. A computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the method of any one of claims 1-5.
CN201810923294.3A 2018-08-14 2018-08-14 Communication processing method, communication processing device, electronic equipment and storage medium Active CN109275129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810923294.3A CN109275129B (en) 2018-08-14 2018-08-14 Communication processing method, communication processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810923294.3A CN109275129B (en) 2018-08-14 2018-08-14 Communication processing method, communication processing device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109275129A CN109275129A (en) 2019-01-25
CN109275129B true CN109275129B (en) 2021-10-22

Family

ID=65153324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810923294.3A Active CN109275129B (en) 2018-08-14 2018-08-14 Communication processing method, communication processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109275129B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110062103A (en) * 2019-03-06 2019-07-26 惠州Tcl移动通信有限公司 The output volume control method and its mobile terminal of receiving device, storage medium
CN110072242B (en) * 2019-04-18 2022-11-18 Oppo广东移动通信有限公司 Network signal adjusting method and device, routing equipment, terminal and storage medium
CN112469012A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth communication method and related device
CN112105006A (en) * 2019-12-12 2020-12-18 炬力(珠海)微电子有限公司 Bluetooth device playing method and device
CN113452570B (en) * 2020-03-27 2023-05-19 Oppo广东移动通信有限公司 Play adjustment method, play device, electronic apparatus, and storage medium
CN112435678B (en) * 2020-11-17 2024-06-25 广州安凯微电子股份有限公司 Audio playing processing method
CN114257870B (en) * 2021-12-20 2024-03-15 北京字跳网络技术有限公司 Short video playing method, device, equipment and storage medium
CN114640740B (en) * 2022-03-22 2024-03-12 Oppo广东移动通信有限公司 Communication processing method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301290A (en) * 2013-07-15 2015-01-21 联想(北京)有限公司 Information processing method and electronic equipment
CN105556977A (en) * 2013-09-04 2016-05-04 高通股份有限公司 Dynamic and automatic control of latency buffering for audio/video streaming
CN107613379A (en) * 2017-09-30 2018-01-19 努比亚技术有限公司 A kind of switching method of network connection, terminal and readable storage medium storing program for executing
CN108353239A (en) * 2015-09-08 2018-07-31 伯斯有限公司 Wireless audio synchronizes

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430475A (en) * 2015-11-04 2016-03-23 北京奇虎科技有限公司 Buffering method and device of video data
US10440491B2 (en) * 2015-11-17 2019-10-08 Caavo Inc Multi-channel audio over a wireless network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301290A (en) * 2013-07-15 2015-01-21 联想(北京)有限公司 Information processing method and electronic equipment
CN105556977A (en) * 2013-09-04 2016-05-04 高通股份有限公司 Dynamic and automatic control of latency buffering for audio/video streaming
CN108353239A (en) * 2015-09-08 2018-07-31 伯斯有限公司 Wireless audio synchronizes
CN107613379A (en) * 2017-09-30 2018-01-19 努比亚技术有限公司 A kind of switching method of network connection, terminal and readable storage medium storing program for executing

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109275129B (en) Communication processing method, communication processing device, electronic equipment and storage medium
CN109005582B (en) Transmission power adjusting method, device, electronic equipment and storage medium
US10931805B2 (en) Method and apparatus for controlling application program, and electronic device
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
CN108683798B (en) Sound output control method and mobile terminal
WO2021008614A1 (en) Method for establishing communication connection and wearable device
CN109151194B (en) Data transmission method, device, electronic equipment and storage medium
CN109144642B (en) Display control method, display control device, electronic equipment and storage medium
CN109413555B (en) Audio output method and device, earphone and electronic equipment
CN110784858B (en) Bluetooth device control method and device, electronic device and storage medium
CN109413526B (en) Earphone control method, earphone control device, electronic equipment and storage medium
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN109151212B (en) Equipment control method and device and electronic equipment
CN109284080B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109107158B (en) Sound effect processing method and device, electronic equipment and computer readable storage medium
CN108024128B (en) Control method and device for Bluetooth music playing, terminal equipment and storage medium
CN109274407B (en) Data transmission method, device, electronic equipment and storage medium
CN109271131B (en) Earphone control method and device, electronic equipment and storage medium
CN109842872B (en) Working mode control method, Bluetooth headset, terminal and computer storage medium
WO2020034780A1 (en) Transmission control method and apparatus, electronic device, and storage medium
CN109151783B (en) Data transmission method and device, electronic equipment and storage medium
US20210019111A1 (en) Electronic device for outputting audio through usb port and method thereof
CN111078186A (en) Playing method and electronic equipment
CN109151669B (en) Earphone control method, earphone control device, electronic equipment and storage medium
US20210224028A1 (en) Audio output device and method for controlling output speed of audio data thereof

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