CN109151194A - 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
CN109151194A
CN109151194A CN201810923280.1A CN201810923280A CN109151194A CN 109151194 A CN109151194 A CN 109151194A CN 201810923280 A CN201810923280 A CN 201810923280A CN 109151194 A CN109151194 A CN 109151194A
Authority
CN
China
Prior art keywords
buffer
electronic equipment
buffer threshold
audio
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810923280.1A
Other languages
Chinese (zh)
Other versions
CN109151194B (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 CN201810923280.1A priority Critical patent/CN109151194B/en
Publication of CN109151194A publication Critical patent/CN109151194A/en
Application granted granted Critical
Publication of CN109151194B publication Critical patent/CN109151194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • 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/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces

Abstract

The embodiment of the present application discloses a kind of data transmission method, device, electronic equipment and storage medium, is related to technical field of electronic equipment.This method is applied to electronic equipment, the described method includes: when electronic equipment operation has destination application, detect the current characteristic information of destination application, detect the connection status of electronic equipment, when electronic equipment passes through bluetooth connection to audio-frequence player device, according to current characteristic information, determines the buffer threshold of the buffer joint passed through during audio data is transferred to audio-frequence player device, the audio data of audio-frequence player device is transferred to according to the buffer threshold caching electronic equipment.The characteristic information for the application program that the application is run according to electronic equipment obtains the buffer threshold of the buffer joint passed through during audio data is transferred to audio-frequence player device, to reduce the delay of audio data and increase the flexibility of data buffering.

Description

Data transmission method, device, electronic equipment and storage medium
Technical field
This application involves technical field of electronic equipment, set more particularly, to a kind of data transmission method, device, electronics Standby and storage medium.
Background technique
With the development of science and technology, electronic equipment have become in people's daily life most common electronic product it One.Also, user often receives the audio-frequency information of electronic equipment by the audio-frequence player device connecting with electronic equipment, but It is that the audio data that audio-frequence player device receives may have delay, causes the broadcasting picture of audio data and electronic equipment Face is asynchronous, the bad problem of user experience.
Summary of the invention
In view of the above problems, present applicant proposes a kind of data transmission method, device, electronic equipment and storage medium, To solve the above problems.
In a first aspect, the embodiment of the present application provides a kind of data transmission method, it is applied to electronic equipment, the method packet It includes: when electronic equipment operation has destination application, detecting the current characteristic information of the destination application, In, the destination application at least supports the broadcasting of audio data;Detect the connection status of the electronic equipment;When the electricity When sub- equipment passes through bluetooth connection to audio-frequence player device, according to the current characteristic information, determination passes the audio data The buffer threshold of the buffer joint passed through during being defeated by the audio-frequence player device, wherein when the buffer joint When audio data through buffering reaches the buffer threshold, the audio data is handled;It is slow according to the buffer threshold The electronic equipment is deposited to the audio data of the audio-frequence player device.
Second aspect, the embodiment of the present application provide a kind of data transmission device, are applied to electronic equipment, described device packet It includes: characteristic information detection module, for detecting the target application journey when electronic equipment operation has destination application The current characteristic information of sequence, wherein the destination application at least supports the broadcasting of audio data;Connection status detects mould Block, for detecting the connection status of the electronic equipment;Buffer threshold obtains module, for passing through bluetooth when the electronic equipment When being connected to audio-frequence player device, according to the current characteristic information, determine that the audio data, which is transferred to the audio, to be broadcast The buffer threshold of the buffer joint passed through during putting equipment, when the audio data that the buffer joint has buffered reaches When the buffer threshold, the audio data is handled;Audio data cache module, for slow according to the buffer threshold The electronic equipment is deposited to the audio data of the audio-frequence player device.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including memory and processor, the memory It is couple to the processor, the memory store instruction, the processor is held when executed by the processor The row above method.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable Program code is stored in storage medium, said program code can be called by processor and execute the above method.
Compared with the existing technology, scheme provided by the present application detects mesh when electronic equipment operation has destination application Mark the current characteristic information of application program, wherein the destination application at least supports the broadcasting of audio data, and detection electronics is set Standby connection status, according to current characteristic information, is determined sound when electronic equipment passes through bluetooth connection to audio-frequence player device Frequency according to the buffer joint passed through during being transferred to audio-frequence player device buffer threshold, wherein when buffer joint When audio data through buffering reaches buffer threshold, audio data is handled, according to the buffer threshold caching electronic equipment It is transferred to the audio data of audio-frequence player device, so that obtaining will according to the characteristic information of the application program of electronic equipment operation The buffer threshold for the buffer joint that audio data is passed through during being transferred to audio-frequence player device, to reduce audio data Delay and the flexibility for increasing data buffering.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows a kind of suitable for application environment schematic diagram provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams for the data transmission method that the application one embodiment provides;
Fig. 3 shows the flow diagram of the data transmission method of another embodiment of the application offer;
Fig. 4 shows the flow diagram of the data transmission method of the application further embodiment offer;
Fig. 5 shows the process signal of the step S330 for the data transmission method that the application embodiment shown in Fig. 4 provides Figure;
Fig. 6 shows the process signal of the step S340 for the data transmission method that the application embodiment shown in Fig. 4 provides Figure;
Fig. 7 shows the module frame chart of data transmission device provided by the embodiments of the present application;
Fig. 8 shows the embodiment of the present application for executing the electronic equipment of the data transmission method according to the embodiment of the present application Block diagram;
Fig. 9 shows transmitting for saving or carrying realization according to the data of the embodiment of the present application for the embodiment of the present application The storage unit of the program code of method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
Current electronic equipment 100 generally has bluetooth (Bluetooth, BT) module and WiFi (Wireless Fidelity, WiFi) module.Wherein, bluetooth module can refer to the chip basic circuit set of integrated Bluetooth function, be used for nothing Line network communication;Wi-Fi module can be the insertion for switching to serial ports or Transistor-Transistor Logic level to meet Wi-Fi wireless network communication standards Formula module, built-in wireless network protocol IEEE802.11b.g.n protocol stack and ICP/IP protocol stack, hardware device are embedded in Wi- Fi module directly can be connected to internet using Wi-Fi.Electronic equipment 100 can be by bluetooth module and bluetooth equipment 200 (such as The audio-frequence player devices such as bluetooth headset, Baffle Box of Bluetooth, the video playback apparatus such as projector, television set) carry out bluetooth connection;Electronics Equipment 100 can also carry out WiFi connection by WiFi module, as electronic equipment 100 is connected to wireless local area by WiFi module Net, to carry out data interaction with server 300 (such as Cloud Server, mobile phone, computer and tablet computer), as shown in Figure 1.
As the requirement to electronic equipment of user is higher and higher, therefore, electronic equipment in order to meet the needs of users with And provided conveniently for user, start to support playing audio-fequency data, wherein the audio framework of electronic equipment and the audio rack of computer Structure is similar, is mainly completed by processor and built-in audio CODEC (codec).Specifically, processor receives audio number According to input after, be converted to I2S signal, and be transmitted to CODEC and be converted into analog signal, then play out.
Further, electronic equipment can be connect with external audio frequency playback equipment, be played by the audio-frequence player device Audio data, specifically, the audio-frequence player device can receive the audio data that mobile terminal transmits, and by audio data It plays out, wherein the audio-frequence player device may include earphone, speaker and mobile unit etc..And in many situations, electricity Sub- equipment needs just carry out data transmission using network with external audio-frequence player device, for example, electronic equipment is broadcast with audio It puts equipment and needs to connect using Wireless Fidelity (Wireless Fidelity, WiFi) and carry out data transmission or electronic equipment and sound Frequency playback equipment, which needs to connect using bluetooth (Bluetooth, BT), to carry out data transmission, optionally, in general, electricity Sub- equipment can be connect by bluetooth with audio-frequence player device, and by bluetooth by audio data be transmitted to audio-frequence player device into Row plays.But when unstable networks, the application program including audio data sensitive to network delay is easy to appear network Delay, is in front stage operation if there is the application program of network delay, then the application program of the front stage operation then will appear Sound delay time, for example, network game is played when game class application program is used in user, since the game class application program prolongs network More sensitive late, therefore, if network quality is poor, game picture is easy to appear Caton or game picture is asynchronous with audio The problem of.
Wherein, cause one of above situation the reason is that audio data buffered problem.Specifically, electronic equipment exists Audio data is transferred to during audio-frequence player device plays out, audio data can pass through the audio decoder of electronic equipment The CODEC coding module of module, audio processing modules and bluetooth, after being then output to audio-frequence player device, and can be by indigo plant Tooth CODEC decoder module (on audio-frequence player device), and in above-mentioned process flow, in order to coordinate the number between adjacent block According to processing speed, a buffer joint can be all configured between adjacent block, which can be handled audio data Process in audio data after previous resume module buffered, then adjacent next module of previous module is saved from buffering again Data are read in point to be handled.And the maximum cushioning data for the buffer joint that electronic device usually configures are fixed, and are worked as When the data volume of buffer joint buffering reaches the maximum cushioning data, next buffer joint is just started to process, to will cause sound The problem of frequency is according to delay.
In view of the above-mentioned problems, inventor has found by long-term research, and propose data provided by the embodiments of the present application Transmission method, device, electronic equipment and storage medium are determined according to the characteristic information of the application program of electronic equipment operation The buffer threshold of the buffer joint passed through during audio data is transferred to audio-frequence player device, to reduce audio data Delay and increase data buffering flexibility.Wherein, specific data transmission method carries out in detail in subsequent embodiment Explanation.
Embodiment
Referring to Fig. 2, the flow diagram of the data transmission method provided Fig. 2 shows the application one embodiment.Institute The characteristic information of application program of the data transmission method for running according to electronic equipment is stated, determines and audio data is transferred to sound The buffer threshold of the buffer joint passed through during frequency playback equipment is delayed with reducing the delay of audio data and increasing data The flexibility of punching.In the particular embodiment, the data transmission method is applied to data transmission device 400 as shown in Figure 7 And the electronic equipment 100 (Fig. 8) configured with the data transmission device 400.It will illustrate this reality by taking electronic equipment as an example below The detailed process of example is applied, it will of course be understood that, electronic equipment applied by the present embodiment can be smart phone, plate electricity Brain, wearable electronic equipment, mobile unit, gateway etc. do not do specific restriction herein.It will be directed to process shown in Fig. 2 below It is explained in detail, the data transmission method can specifically include following steps:
Step S110: when electronic equipment operation has destination application, working as the destination application is detected Preceding characteristic information, wherein the destination application at least supports the broadcasting of audio data.
In the present embodiment, the application program of electronic equipment operation may include the application journey in electronic equipment front stage operation The application program on sequence, the application program in electronic equipment running background or the foreground in electronic equipment and backstage switchover operation.Tool Body, foreground application refers to can usually interact with user, the application program on foreground can be operated in, when it is invisible When will be suspended (such as: game);Background application refer to user interaction it is very limited, in addition to configuration during, life The other times for depositing the phase are all hiding (such as: SMS automatically replies program and alarm clock program);On the foreground of electronic equipment with after The application program of platform switchover operation refers to the application program that can arbitrarily switch between foreground and backstage.It should be understood that When application program is not killed (kill), characterizes the application program and run on an electronic device.
Further, destination application is determined from the application program that electronic equipment is run, wherein the target application journey Sequence may include single application program, also may include multiple application programs, it is not limited here.In the present embodiment, described Destination application at least supports the broadcasting of audio data, that is to say, that the destination application at least audio output, example Such as, which may include music class application program, video playback class application program, conversational class application journey Sequence, game class application program etc., the application program can export audio data, can also export audio data and picture number simultaneously According to etc..
Further, after determining destination application, the characteristic information of the destination application is detected, In, it is possible to understand that, due to the change with parameters such as times, the characteristic information of the destination application is it can also happen that change Become, therefore, the characteristic information of destination application can be detected in real time, to obtain the current spy of the destination application Reference breath.Wherein, which may include the type of the destination application, operating status etc., does not do have herein The restriction of body.
Step S120: the connection status of the electronic equipment is detected.
In the present embodiment, the connection status of electronic equipment is detected, it is possible to understand that, the connection of the electronic equipment State includes having connected, connecting and being not connected with three states, wherein when the electronic equipment is in connected status, The electronic equipment may be at mobile network's connection status, such as: in 4G network connection state, it is in 3G network connection status Or it is in 2G network connection state;The electronic equipment may be at wireless network connection state, such as: it is in WiFi connection status Or in MiFi connection status etc.;The electronic equipment is also in bluetooth connection status etc., it is not limited here.
Step S130: when the electronic equipment passes through bluetooth connection to audio-frequence player device, according to the current signature Information determines the buffering threshold of the buffer joint passed through during the audio data is transferred to the audio-frequence player device Value, wherein the buffer threshold characterization triggering starts the ginseng handled the audio data that the buffer joint has buffered Number.
As a kind of mode, in the present embodiment, the audio-frequence player device includes bluetooth module, and audio broadcasting is set It is standby bluetooth connection to be carried out by the bluetooth module and the electronic equipment.Wherein, when detecting that the electronic equipment is logical When crossing bluetooth connection to audio-frequence player device, detect that electronic equipment and audio-frequence player device open bluetooth for example, working as, and should When electronic equipment and audio-frequence player device successful matching, the electronic equipment can be characterized and set by bluetooth connection to audio broadcasting It is standby.
It should be understood that in the present embodiment, whether the equipment that can also pass through bluetooth connection to electronic equipment is audio Playback equipment is detected, wherein in the electronic equipment based on android operating system, can pass through Case-based Reasoning The obtained return value of BluetoothClass.Device class determines the currently device type by bluetooth connection.If returning Value be AUDIO_VIDEO_CAMCORDER, then be characterized as image capture device;If the value returned is AUDIO_VIDEO_CAR_ AUDIO is then characterized as mobile unit;If the value returned is AUDIO_VIDEO_HIFI_AUDIO, it is characterized as audio broadcasting and sets Standby or video playback apparatus, for example, bluetooth headset;If the value returned is AUDIO_VIDEO_MICROPHONE, it is characterized For microphone.
Wherein, the audio data of electronic equipment output can be obtains from the local of the electronic equipment, is also possible to lead to It crosses network to obtain from server, it is not limited here.When the electronic equipment is obtained from the described local or described server After the audio data, audio decoder, audio processing and bluetooth CODEC coded treatment first can be carried out to the audio data.Example Such as, in the electronic device, can have buffer joint between audio decoder module and audio processing modules, and audio processing modules with And buffer joint also can be set between bluetooth CODEC coding module, and bluetooth CODEC coding module and execute audio data It is sent between the module of audio-frequence player device and buffer joint also can be set.In another example can also in audio-frequence player device To be provided with buffer joint, and the buffering Buffer for the buffer joint being arranged in the audio-frequence player device is less than the electronic equipment and sets The buffering Buffer for the buffer joint set.
Wherein, each buffer joint presets buffering Buffer, wherein and the size of buffering Buffer immobilizes, But the buffer threshold in each buffering Buffer can be set to difference, that is to say, that the buffer threshold of each buffer joint Its change can be controlled by software dynamic, it is possible to understand that, it can be less than or equal to by the buffer threshold of software control slow Buffer is rushed, for example, it is assumed that the buffering Buffer of some buffer joint is 3k, buffer threshold can be set to 2K, 1K etc..Cause This can determine electronic equipment corresponding with the current characteristic information by audio according to current characteristic information in the present embodiment The buffer threshold for the buffer joint that data are passed through during being transferred to audio-frequence player device, that is to say, that can be true respectively The buffer threshold of fixed each buffer joint, wherein the audio data that the buffer threshold is used to buffer when the buffer joint reaches When to the buffer threshold, then next module handles the audio data.
Step S140: the electronic equipment is cached to described in the audio-frequence player device according to the buffer threshold Audio data.
As a kind of mode, after the buffer threshold for determining each buffer joint, transmission warp is cached according to the buffer threshold The audio data of the buffer joint is crossed, and when the audio data of caching reaches the buffer threshold, the audio data is continued It is transmitted toward next buffer joint, until the audio data is transmitted to the audio-frequence player device output.It should be understood that being directed to The different characteristic information of destination application corresponds to the different of sound delay time for destination application and requires, setting is different Buffer threshold, so as to effectively reduce audio data delay and the problem of CPU power consumption, with promoted audio output effect with User experience.
It alternatively, can also be after the current characteristic information for obtaining destination application, according to the current spy Levy the cpu frequency of corresponding with the current characteristic information electronic equipment of acquisition of information, and be based on the cpu frequency to audio data into Row processing.It should be understood that cpu frequency is higher, the code execution of electronic equipment is faster, and sound delay time is lower, and cpu frequency is got over Low, the code execution of electronic equipment is slower, and sound delay time is higher, therefore, can be according to the characteristic information of the destination application Judge requirement of the destination application for sound delay time, it is more demanding for sound delay time, CPU frequency can be improved Rate, and it is lower for sound delay time requirement, it can suitably reduce cpu frequency.
The data transmission method that the application one embodiment provides, when electronic equipment operation has destination application, inspection The current characteristic information for surveying destination application, detects the connection status of electronic equipment, when electronic equipment passes through bluetooth connection extremely When audio-frequence player device, according to current characteristic information, determines and passed through during audio data is transferred to audio-frequence player device The buffer threshold for the buffer joint crossed is transferred to the audio number of audio-frequence player device according to the buffer threshold caching electronic equipment According to obtain audio data being transferred to audio-frequence player device according to the characteristic information of the application program of electronic equipment operation During the buffer threshold of buffer joint that is passed through, to reduce the delay of audio data and increase the flexible of data buffering Property.
Referring to Fig. 3, Fig. 3 shows the flow diagram of the data transmission method of another embodiment of the application offer. The method is applied to above-mentioned electronic equipment, will be explained in detail below for process shown in Fig. 3, the method is specific It may comprise steps of:
Step S210: when electronic equipment operation has destination application, working as the destination application is detected Preceding characteristic information, wherein the destination application at least supports the broadcasting of audio data.
Step S220: the connection status of the electronic equipment is detected.
Step S230: when the electronic equipment by bluetooth connection to audio-frequence player device, and the destination application In the running background of the electronic equipment, using second buffer threshold as the buffer threshold of the buffer joint.
In the present embodiment, the buffer threshold includes the first buffer threshold and the second buffer threshold, wherein this is first slow Threshold value is rushed less than second buffer threshold, for example, first buffer threshold is 1K, which is 2K.
As a kind of mode, when electronic equipment passes through bluetooth connection to audio-frequence player device, to the destination application Operating status detected, specifically, the foreground of electronic equipment is currently running in the destination application or is run on It is detected on the backstage of electronic equipment.Wherein, when detecting running background of the destination application in electronic equipment, this When, the destination application does not need real-time display picture or responds the operation of user, it is thereby possible to select relatively large Buffer threshold of second buffer threshold as buffer joint at this time, it is possible to understand that, when the relatively large second buffering threshold of selection When value, the power consumption of CPU can be reduced while promoting the data volume of buffer joint caching, wherein when the target application When program is switched to front stage operation from running background, since the data volume of caching is big,, can be into one when network is poor Step reduces the delay of audio data.
Step S240: when the electronic equipment by bluetooth connection to audio-frequence player device, and the destination application In the front stage operation of the electronic equipment, using first buffer threshold as the buffer threshold of the buffer joint.
Alternatively, when detecting front stage operation of the destination application in electronic equipment, at this point, described Destination application needs real-time display picture or responds the operation of user, it is thereby possible to select relatively small first buffering Buffer threshold of the threshold value as buffer joint at this time, it is possible to understand that, it, can be with when selecting relatively small first buffer threshold The rate that audio data is transferred to next node by each buffer joint is promoted, so that the audio data is transmitted to institute as soon as possible Audio-frequence player device output is stated, the delay of audio data is reduced.
Step S250: when the destination application switches to the running background from the front stage operation, institute is controlled The buffer threshold for stating buffer joint increases to second buffer threshold from first buffer threshold.
In the present embodiment, when the target application switches to running background from front stage operation, the mesh at this time is characterized Mark application program does not need real-time display picture, therefore, can be by the buffer threshold of each buffer joint from the first buffer threshold Increase to the second buffer threshold;Likewise, characterizing this when the destination application switches to front stage operation from running background Shi Suoshu destination application needs real-time display picture, therefore, the buffer threshold of each buffer joint can be delayed from second It rushes threshold value and is reduced to the first buffer threshold, to reduce application program audio data asking of occurring postponing in front and back switching Topic.
Step S260: the electronic equipment is cached to described in the audio-frequence player device according to the buffer threshold Audio data.
The data transmission method that another embodiment of the application provides, when electronic equipment operation has destination application, The current characteristic information for detecting the destination application detects the connection status of electronic equipment, when the electronic equipment passes through bluetooth Audio-frequence player device is connected to, and destination application is in the running background of electronic equipment, using the second buffer threshold as slow The buffer threshold for rushing node, when electronic equipment by bluetooth connection to audio-frequence player device, and destination application is set in electronics When standby front stage operation, using the first buffer threshold as the buffer threshold of buffer joint, when the destination application is transported from foreground When row switches to running background, the buffer threshold for controlling the buffer joint increases to the second buffer threshold from the first buffer threshold, The audio data of audio-frequence player device is transferred to according to the buffer threshold caching electronic equipment, compared to the first transmission side data Method, this method can obtain different buffer thresholds in front stage operation or running background according to application program, to reduce audio number According to delay and reduce CPU power consumption.
Referring to Fig. 4, Fig. 4 shows the flow diagram of the data transmission method of the application further embodiment offer. It will be explained in detail below for process shown in Fig. 4, the method can specifically include following steps:
Step S310: when electronic equipment operation has destination application, working as the destination application is detected Preceding characteristic information, wherein the destination application at least supports the broadcasting of audio data.
Step S320: the connection status of the electronic equipment is detected.
Step S330: the type of the destination application is obtained.
It, can be in electronic equipment in advance to the application program of all broadcastings that can support audio data as a kind of mode Classify, and sorted each application program is corresponded to and is stored under different types.Determining target application journey After sequence, the destination application can be matched one by one with each application program of storage, be answered with obtaining with the target With the type where the application program of procedure match and the application program, so as to obtain the class of the destination application Type.
Alternatively, can also by way of identifying the audio data that the destination application is exported, Obtain the type of the destination application.
Referring to Fig. 5, Fig. 5 shows the step S330's of the data transmission method of the application embodiment illustrated in fig. 4 offer Flow diagram.It will be explained in detail below for process shown in fig. 5, the method can specifically include following step It is rapid:
Step S331: the electronic equipment is obtained to the data content of the audio-frequence player device.
Specifically, the data content to electronic equipment to audio-frequence player device identifies, wherein by described The identification of data content, the available data content are voice messaging or music information;Or by the data The identification of appearance obtains the data content and corresponds to text information, based on the specifying information of the text acquisition of information data content, example Such as, obtaining the data content is the lyrics or communicating voice.
Step S332: content obtains the type of the destination application based on the data.
It is further right, the type of the destination application is obtained based on the data content, it is possible to understand that, it is identified when passing through The data content gets the data content when being voice messaging, it may be considered that its corresponding destination application is call Class or voice class application program etc.;And when to obtain the data content be music information by identifying the data content, then may be used To think its corresponding destination application as music class application program etc..
Step S340: the buffer threshold of the buffer joint is determined based on the type of the destination application.
Further, in the present embodiment, the characteristic information of the destination application includes the destination application Type can determine the buffer threshold of buffer joint after the type for obtaining the destination application based on the type.
As a kind of mode, the electronic equipment presets and is stored with mapping table, is denoted as default mapping relations Table, wherein the default mapping table includes therefore the mapping relations between type and buffer threshold are obtaining the target After the type of application program, the corresponding buffering threshold of the type can be searched in the default mapping table based on the type Value, then using the buffer threshold as the buffer threshold of the buffer joint.
Referring to Fig. 6, Fig. 6 shows the step S340's of the data transmission method of the application embodiment illustrated in fig. 4 offer Flow diagram.It will be explained in detail below for process shown in fig. 6, the method can specifically include following step It is rapid:
Step S341: when the type is the first kind, using the third buffer threshold as the buffer joint Buffer threshold.
Step S342: when the type is Second Type, using the 4th buffer threshold as the buffer joint Buffer threshold, wherein the instantaneity of the first kind requires the instantaneity requirement for being higher than the Second Type.
In the present embodiment, the buffer threshold further includes third buffer threshold and the 4th buffer threshold, and the third is slow Threshold value is rushed less than the 4th buffer threshold, for example, the third buffer threshold is 3K, the 4th buffer threshold is 4K.
The third is buffered when the type for detecting the destination application is the first kind as a kind of mode Buffer threshold of the threshold value as the buffer joint, when the type for detecting the destination application is that instantaneity requires to be higher than first When the Second Type that the instantaneity of type requires, then it will be greater than the 4th buffer threshold of the third buffer threshold as the buffering The buffer threshold of node.It should be understood that in the present embodiment, when the instantaneity of the destination application requires high, such as One of conversational class application program, voice class application program, video class application program and video playback class application program or It is several, it is believed that such destination application is more sensitive for sound delay time, therefore, can suitably select lesser third Buffer threshold of the buffer threshold as buffer joint can promote each buffer joint for audio data and be transferred to next node Rate reduces the delay of audio data so that the audio data is transmitted to the audio-frequence player device output as soon as possible.And work as When the instantaneity of the destination application requires low, such as music class application program, it is believed that such application program pair Answer sound delay time than less sensitive, it is thereby possible to select buffer threshold of biggish 4th buffer threshold as buffer joint, it can With promoted the buffer joint caching data volume while reduce CPU power consumption.
Further, it is assumed that the destination application supports music, video playing and voice communication etc. simultaneously, For example, when the destination application is wechat, QQ etc., wherein it should be understood that video playing and voice communication are for i.e. When property is more demanding, and music is lower for instantaneity requirement.As a kind of mode, since the destination application includes There are the video playback capability and voice call function more demanding for instantaneity, therefore, even if the destination application is same When include that lower music playback function is required for instantaneity, still, carrying out sound to reduce the destination application There is the case where Caton when playing in frequency, and the destination application can be divided into the first kind, i.e., by the target application Procedure division is the type more demanding to instantaneity, at this point, the destination application can correspond to lesser third buffering threshold Value, so that audio data can be transmitted to audio-frequence player device output as soon as possible.
Alternatively, it is logical that destination application progress music, video playing and voice are obtained respectively The historical data of words specifically can obtain the destination application respectively and carry out music, view within a preset period of time Frequency plays and the number of voice communication, for example, obtain the destination application respectively carried out music within past one month The number of broadcasting, video playing and voice communication, certainly, the historical time can also be two months, the past three months in the past Deng it is not limited here.Further, the destination application is divided based on the historical data of the destination application Class, for example, carrying out music, video playing and the number of voice communication to the target application based on the destination application Program is classified, wherein when the number that the destination application carries out video playing and voice communication is broadcast far below music The number put, it is believed that the destination application is mainly used for carrying out music, at this point it is possible to by the target application journey Sequence is divided into Second Type, i.e., is divided into the destination application and requires lower type to instantaneity, at this point, the mesh Mark application program can correspond to biggish 4th buffer threshold, reduce CPU function while promoting the data volume of buffer joint caching Consumption;Opposite, when the destination application carries out the number of video playing and voice communication and carries out the number of music Number suitable or much higher than music, at this point it is possible to the destination application is divided into the first kind, i.e., it will be described Destination application is divided into the type more demanding to instantaneity, at this point, the destination application can correspond to lesser Three buffer thresholds, so that audio data can be transmitted to audio-frequence player device output as soon as possible.
Step S350: the electronic equipment is cached to described in the audio-frequence player device according to the buffer threshold Audio data.
The data transmission method that the application further embodiment provides, when electronic equipment operation has destination application, The current characteristic information for detecting the destination application detects the connection status of electronic equipment, obtains the class of destination application Type, type based on the destination application obtain electronic equipment and audio data are transferred to institute during audio-frequence player device The buffer threshold of the buffer joint of process is transferred to the audio number of audio-frequence player device according to the buffer threshold caching electronic equipment According to, compared to the first data transmission method, this method can obtain different buffer thresholds according to the type of application program, with Meets the needs of different application is for instantaneity.
Referring to Fig. 7, Fig. 7 shows the module frame chart of data transmission device 400 provided by the embodiments of the present application.The data Transmitting device 400 is applied to electronic equipment, will be illustrated below for block diagram shown in Fig. 7, the data transmission device 400 It include: characteristic information detection module 410, connection status detection module 420, buffer threshold acquisition module 430 and audio data Cache module 440, in which:
Characteristic information detection module 410, for detecting the mesh when electronic equipment operation has destination application Mark the current characteristic information of application program, wherein the destination application at least supports the broadcasting of audio data.
Connection status detection module 420, for detecting the connection status of the electronic equipment.
Buffer threshold obtains module 430, is used for when the electronic equipment passes through bluetooth connection to audio-frequence player device, root According to the current characteristic information, determine that is passed through during the audio data is transferred to the audio-frequence player device delays Rush the buffer threshold of node, wherein when the audio data that the buffer joint has buffered reaches the buffer threshold, to institute Audio data is stated to be handled.
Further, the buffer threshold includes the first buffer threshold and the second buffer threshold, first buffer threshold Less than the second buffer threshold, it includes: buffer threshold acquisition submodule and buffering adjusting thresholds that the buffer threshold, which obtains module 430, Submodule, in which:
Buffer threshold acquisition submodule, for when running background of the destination application in the electronic equipment, Using second buffer threshold as the buffer threshold of the buffer joint.
The buffer threshold acquisition submodule is also used to transport when the destination application on the foreground of the electronic equipment When row, using first buffer threshold as the buffer threshold of the buffer joint.
Buffer threshold adjusting submodule, for switching to the backstage from the front stage operation when the destination application When operation, the buffer threshold for controlling the buffer joint increases to second buffer threshold from first buffer threshold.
Further, the buffer threshold obtains module 430 further include: type acquisition submodule and buffer threshold obtain son Module, in which:
Type acquisition submodule, for obtaining the type of the destination application.
Further, the type acquisition submodule includes: data content acquiring unit and contents acquiring unit, in which:
Data content acquiring unit, for obtaining the electronic equipment in the data of the audio-frequence player device Hold.
Type acquiring unit obtains the type of the destination application for content based on the data.
Buffer threshold acquisition submodule, for obtaining the slow of the buffer joint based on determining for the destination application Rush threshold value.
Further, the buffer threshold further includes third buffer threshold and the 4th buffer threshold, and the third buffers threshold Value is less than the 4th buffer threshold, the buffer threshold acquisition submodule, comprising: buffer threshold acquiring unit, in which:
Buffer threshold acquiring unit, for determining that the corresponding buffer threshold of the type is according to mapping table is preset The buffer threshold of the buffer joint, wherein include the mapping between type and buffer threshold in the default mapping table Relationship.
Buffer threshold acquiring unit, be also used to when the type be the first kind when, using the third buffer threshold as The buffer threshold of the buffer joint.
Buffer threshold acquiring unit, be also used to when the type be Second Type when, using the 4th buffer threshold as The buffer threshold of the buffer joint, wherein the instantaneity of the first kind requires the instantaneity for being higher than the Second Type It is required that.
Audio data cache module 440, for caching the electronic equipment to the sound according to the buffer threshold The audio data of frequency playback equipment.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
Data transmission device provided by the embodiments of the present application include characteristic information detection module, connection status detection module, Buffer threshold obtains module and audio data cache module, wherein characteristic information detection module is used to work as the electronic equipment When operation has destination application, the current characteristic information of the destination application is detected, connection status detection module is used for The connection status of the electronic equipment is detected, buffer threshold obtains module and is used to pass through bluetooth connection to sound when the electronic equipment When frequency playback equipment, according to the current characteristic information, determines and the audio data is transferred to the audio-frequence player device The buffer threshold of the buffer joint passed through in the process, audio data cache module are used for according to buffer threshold caching Electronic equipment gives the audio data of the audio-frequence player device, thus according to the application program of electronic equipment operation Characteristic information obtains the buffer threshold of the buffer joint passed through during audio data is transferred to audio-frequence player device, To reduce the delay of audio data and increase the flexibility of data buffering.
Referring to Fig. 8, it illustrates the structural block diagrams of a kind of electronic equipment 100 provided by the embodiments of the present application.The electronics Equipment 100, which can be smart phone, tablet computer, e-book etc., can run the electronic equipment of application program.In the application Electronic equipment 100 may include one or more such as lower component: processor 110, memory 120, bluetooth module 130, WiFi mould Block 140 and one or more application program, wherein one or more application programs can be stored in memory 120 and quilt It is configured to be executed by one or more processors 110, one or more programs are configured to carry out such as preceding method embodiment institute The method of description.
Processor 110 may include one or more processing core.Processor 110 is whole using various interfaces and connection Various pieces in a electronic equipment 100, by run or execute the instruction being stored in memory 120, program, code set or Instruction set, and the data being stored in memory 120 are called, execute the various functions and processing data of electronic equipment 100.It can Selection of land, processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Memory 120 can be used for store instruction, program, code, code set or instruction set.It deposits Reservoir 120 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for Realize the instruction etc. of following each embodiments of the method.Storage data area can also store the number that terminal 100 is created in use According to (such as phone directory, audio, video data, chat record data) etc..
Bluetooth module 130 for realizing the bluetooth connection between electronic equipment and bluetooth equipment, and with bluetooth equipment it Between data interaction.Specifically, can also pass through with bluetooth equipment by Bluetooth protocol 5.0/4.2/4.1/2.1/2.0 Bluetooth low energy consumption technologies (Bluetooh Low Energy, BLE), bluetooth enhancing rate technology (Enhanced Data Rate, ) or bluetooth basic rate (Base Rate, BR) etc. EDR.Its basic circuit composition is similar with WiFi module, can also be by function The composition such as rate amplifier, wireless transceiver, transmit/receive switch, low-noise amplifier and antenna.The bluetooth module 130 can make With the first communications band, wherein first communications band can be 2.4GHZ.
WiFi module 140 is for realizing the connection between WiFi access point, and the data between WiFi access point Interaction.Specifically, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as U.S. electric can be passed through with peripheral apparatus It is assisted with Electronic Engineering Association standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n) View establishes communication connection, then WiFi module may include power amplifier, wireless transceiver, transmit/receive switch, low noise amplification Device and antenna etc..When sending signal, transceiver itself can directly export low power faint radiofrequency signal, send to power and put Big device (Power Amplifier, PA) carries out power amplification, then passes through transmit/receive switch (Transmit/Receive Switch) space is radiated to via antenna (Antenna).When receiving signal, antenna can sense the electromagnetic signal in space, lead to It crosses after switch to send to low-noise amplifier (Low Noise Amplifier, LNA) and amplify, in this way, amplified letter Number can be directly fed to transceiver is handled, and is demodulated.The first communications band and can be used in the WiFi module 140 Two communications bands, wherein the first communications band can be 2.4GHz, and the second communications band can be 5Ghz.
Referring to Fig. 9, it illustrates a kind of structural block diagrams of computer readable storage medium provided by the embodiments of the present application. Program code is stored in the computer-readable medium 500, said program code can be called by processor and execute above method reality Apply method described in example.
Computer readable storage medium 500 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 500 includes non-volatile meter Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage Medium 500 has the memory space for the program code 510 for executing any method and step in the above method.These program codes can With from reading or be written in one or more computer program product in this one or more computer program product. Program code 510 can for example be compressed in a suitable form.
In conclusion data transmission method provided by the embodiments of the present application, device, electronic equipment and storage medium, when When electronic equipment operation has destination application, the current characteristic information of destination application is detected, wherein the target application journey Sequence at least supports the broadcasting of audio data, detects the connection status of electronic equipment, when electronic equipment passes through bluetooth connection to audio When playback equipment, passed through during audio data is transferred to audio-frequence player device according to current characteristic information, determination The buffer threshold of buffer joint, wherein when the audio data that buffer joint has buffered reaches buffer threshold, to audio data It is handled, the audio data of audio-frequence player device is transferred to according to the buffer threshold caching electronic equipment, thus according to electronics The characteristic information of the application program of equipment operation, what acquisition was passed through during audio data is transferred to audio-frequence player device The buffer threshold of buffer joint, to reduce the delay of audio data and increase the flexibility of data buffering.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (12)

1. a kind of data transmission method, which is characterized in that be applied to electronic equipment, which comprises
When electronic equipment operation has destination application, the current characteristic information of the destination application is detected, In, the destination application at least supports the broadcasting of audio data;
Detect the connection status of the electronic equipment;
When the electronic equipment passes through bluetooth connection to audio-frequence player device, according to the current characteristic information, determine institute State the buffer threshold of the buffer joint passed through during audio data is transferred to the audio-frequence player device, wherein work as institute When stating the audio data that buffer joint has buffered and reaching the buffer threshold, the audio data is handled;
The electronic equipment is cached to the audio data of the audio-frequence player device according to the buffer threshold.
2. the method according to claim 1, wherein the buffer threshold includes that the first buffer threshold and second are slow Threshold value is rushed, first buffer threshold is less than second buffer threshold, and it is described according to the current characteristic information, it determines institute State the buffer threshold of the buffer joint passed through during audio data is transferred to the audio-frequence player device, comprising:
When front stage operation of the destination application in the electronic equipment, using first buffer threshold as described slow Rush the buffer threshold of node;And
When running background of the destination application in the electronic equipment, using second buffer threshold as described slow Rush the buffer threshold of node.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When the destination application switches to the running background from the front stage operation, the slow of the buffer joint is controlled It rushes threshold value and increases to second buffer threshold from first buffer threshold.
4. method according to claim 1-3, which is characterized in that it is described according to the current characteristic information, really Determine the buffer threshold of the buffer joint passed through during the audio data is transferred to the audio-frequence player device, packet It includes:
Obtain the type of the destination application;
The buffer threshold of the buffer joint is determined based on the type of the destination application.
5. according to the method described in claim 4, it is characterized in that, the type based on the destination application determines institute State the buffer threshold of buffer joint, comprising:
According to default mapping table, determine that the corresponding buffer threshold of the type is the buffer threshold of the buffer joint, In, it include the mapping relations between type and buffer threshold in the default mapping table.
6. according to the method described in claim 4, it is characterized in that, the buffer threshold further includes third buffer threshold and the 4th Buffer threshold, the third buffer threshold are less than the 4th buffer threshold, the type based on the destination application Determine the buffer threshold of the buffer joint, comprising:
When the type is the first kind, using the third buffer threshold as the buffer threshold of the buffer joint;And
When the type is Second Type, using the 4th buffer threshold as the buffer threshold of the buffer joint, wherein The instantaneity of the first kind requires the instantaneity requirement for being higher than the Second Type.
7. according to the method described in claim 6, it is characterized in that, the first kind includes at least call type, voice class One or more of type, video type and video playing type, the Second Type include at least music type.
8. according to the method described in claim 4, it is characterized in that, the type for obtaining the destination application, comprising:
The electronic equipment is obtained to the data content of the audio-frequence player device;
Content obtains the type of the destination application based on the data.
9. the method according to claim 1, wherein the method also includes:
The cpu frequency of the electronic equipment is obtained according to the current characteristic information;
The audio data is handled based on the cpu frequency.
10. a kind of data transmission device, which is characterized in that be applied to electronic equipment, described device includes:
Characteristic information detection module, for detecting the target application when electronic equipment operation has destination application The current characteristic information of program, wherein the destination application at least supports the broadcasting of audio data;
Connection status detection module, for detecting the connection status of the electronic equipment;
Buffer threshold obtains module, is used for when the electronic equipment passes through bluetooth connection to audio-frequence player device, according to described Current characteristic information determines the buffer joint passed through during the audio data is transferred to the audio-frequence player device Buffer threshold, when the audio data that the buffer joint has buffered reaches the buffer threshold, to the audio data It is handled;
Audio data cache module is set for caching the electronic equipment according to the buffer threshold to audio broadcasting The standby audio data.
11. a kind of electronic equipment, which is characterized in that including memory and processor, the memory is couple to the processor, The memory store instruction, the processor executes claim 1-9 such as and appoints when executed by the processor Method described in one.
12. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute such as the described in any item methods of claim 1-9.
CN201810923280.1A 2018-08-14 2018-08-14 Data transmission method, device, electronic equipment and storage medium Active CN109151194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810923280.1A CN109151194B (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
CN201810923280.1A CN109151194B (en) 2018-08-14 2018-08-14 Data transmission method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109151194A true CN109151194A (en) 2019-01-04
CN109151194B CN109151194B (en) 2021-03-02

Family

ID=64792922

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN109151194B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503979A (en) * 2019-08-01 2019-11-26 腾讯科技(深圳)有限公司 Monitoring method, device, medium and the electronic equipment of audio output effect
CN110784858A (en) * 2019-10-10 2020-02-11 RealMe重庆移动通信有限公司 Bluetooth device control method and device, electronic device and storage medium
CN110808969A (en) * 2019-10-28 2020-02-18 网御安全技术(深圳)有限公司 Data transmission method and system, electronic device and storage medium
CN111432304A (en) * 2020-03-20 2020-07-17 江苏紫米电子技术有限公司 Earphone control method, earphone control device, electronic equipment, earphone control system and storage medium
CN111954051A (en) * 2020-02-11 2020-11-17 华为技术有限公司 Method, equipment and system for transmitting video and audio
CN112469012A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth communication method and related device
CN112468841A (en) * 2020-11-26 2021-03-09 Oppo广东移动通信有限公司 Audio transmission method and device, intelligent equipment and computer readable storage medium
CN112669859A (en) * 2019-10-16 2021-04-16 Oppo广东移动通信有限公司 Communication mode control method and device
CN114698081A (en) * 2020-12-28 2022-07-01 北京小米移动软件有限公司 Method and device for controlling data transmission, electronic equipment and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101416510A (en) * 2006-03-29 2009-04-22 索尼爱立信移动通讯有限公司 Method and system for managing audio data
CN101499095A (en) * 2009-03-11 2009-08-05 南京联创科技股份有限公司 Buffer construction method used for data sharing platform
CN101719911A (en) * 2009-11-24 2010-06-02 中兴通讯股份有限公司 Method, device and system capable of transmitting multimedia data by Bluetooth and playing in real time
CN103209215A (en) * 2013-04-16 2013-07-17 上海爱数软件有限公司 Distributed caching method for system management data and file management system
US20140177496A1 (en) * 2012-12-20 2014-06-26 Seven Networks, Inc. Systems and methods for application management of mobile device radio state promotion and demotion
CN104137563A (en) * 2012-02-28 2014-11-05 高通股份有限公司 Customized buffering at sink device in wireless display system based on application awareness
US20140365212A1 (en) * 2010-11-20 2014-12-11 Alon Konchitsky Receiver Intelligibility Enhancement System
US20150215359A1 (en) * 2012-06-12 2015-07-30 Wi-Lan Labs, Inc. Systems and methods for using client-side video buffer occupancy for enhanced quality of experience in a communication network
CN105556977A (en) * 2013-09-04 2016-05-04 高通股份有限公司 Dynamic and automatic control of latency buffering for audio/video streaming
CN106454937A (en) * 2016-09-29 2017-02-22 东南大学 Distribution control method for caching space of mobile terminal
CN107018484A (en) * 2017-06-01 2017-08-04 建荣半导体(深圳)有限公司 Bluetooth communication method, its device, Bluetooth system and bluetooth equipment
CN107105096A (en) * 2017-04-28 2017-08-29 努比亚技术有限公司 A kind of audio-frequency processing method, terminal and storage medium
CN107203340A (en) * 2017-05-15 2017-09-26 建荣半导体(深圳)有限公司 Method for spacial multiplex, multiplexer and its bluetooth equipment
CN107404340A (en) * 2017-08-29 2017-11-28 广东欧珀移动通信有限公司 Transmission method, device, terminal and the storage medium of Bluetooth audio frequency data
CN107920258A (en) * 2016-10-11 2018-04-17 中国移动通信有限公司研究院 A kind of data processing method and device
CN107993679A (en) * 2017-11-02 2018-05-04 广东思派康电子科技有限公司 A kind of playback method of the buffer-type MP3 music players of embedded bluetooth headset

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101416510A (en) * 2006-03-29 2009-04-22 索尼爱立信移动通讯有限公司 Method and system for managing audio data
CN101499095A (en) * 2009-03-11 2009-08-05 南京联创科技股份有限公司 Buffer construction method used for data sharing platform
CN101719911A (en) * 2009-11-24 2010-06-02 中兴通讯股份有限公司 Method, device and system capable of transmitting multimedia data by Bluetooth and playing in real time
US20140365212A1 (en) * 2010-11-20 2014-12-11 Alon Konchitsky Receiver Intelligibility Enhancement System
CN104137563A (en) * 2012-02-28 2014-11-05 高通股份有限公司 Customized buffering at sink device in wireless display system based on application awareness
US20150215359A1 (en) * 2012-06-12 2015-07-30 Wi-Lan Labs, Inc. Systems and methods for using client-side video buffer occupancy for enhanced quality of experience in a communication network
US20140177496A1 (en) * 2012-12-20 2014-06-26 Seven Networks, Inc. Systems and methods for application management of mobile device radio state promotion and demotion
CN103209215A (en) * 2013-04-16 2013-07-17 上海爱数软件有限公司 Distributed caching method for system management data and file management system
CN105556977A (en) * 2013-09-04 2016-05-04 高通股份有限公司 Dynamic and automatic control of latency buffering for audio/video streaming
CN106454937A (en) * 2016-09-29 2017-02-22 东南大学 Distribution control method for caching space of mobile terminal
CN107920258A (en) * 2016-10-11 2018-04-17 中国移动通信有限公司研究院 A kind of data processing method and device
CN107105096A (en) * 2017-04-28 2017-08-29 努比亚技术有限公司 A kind of audio-frequency processing method, terminal and storage medium
CN107203340A (en) * 2017-05-15 2017-09-26 建荣半导体(深圳)有限公司 Method for spacial multiplex, multiplexer and its bluetooth equipment
CN107018484A (en) * 2017-06-01 2017-08-04 建荣半导体(深圳)有限公司 Bluetooth communication method, its device, Bluetooth system and bluetooth equipment
CN107404340A (en) * 2017-08-29 2017-11-28 广东欧珀移动通信有限公司 Transmission method, device, terminal and the storage medium of Bluetooth audio frequency data
CN107993679A (en) * 2017-11-02 2018-05-04 广东思派康电子科技有限公司 A kind of playback method of the buffer-type MP3 music players of embedded bluetooth headset

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503979B (en) * 2019-08-01 2023-11-21 腾讯科技(深圳)有限公司 Audio output effect monitoring method, device, medium and electronic equipment
CN110503979A (en) * 2019-08-01 2019-11-26 腾讯科技(深圳)有限公司 Monitoring method, device, medium and the electronic equipment of audio output effect
WO2021043250A1 (en) * 2019-09-06 2021-03-11 华为技术有限公司 Bluetooth communication method, and related device
CN112469012A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth communication method and related device
CN110784858A (en) * 2019-10-10 2020-02-11 RealMe重庆移动通信有限公司 Bluetooth device control method and device, electronic device and storage medium
CN110784858B (en) * 2019-10-10 2023-05-09 RealMe重庆移动通信有限公司 Bluetooth device control method and device, electronic device and storage medium
CN112669859A (en) * 2019-10-16 2021-04-16 Oppo广东移动通信有限公司 Communication mode control method and device
CN112669859B (en) * 2019-10-16 2024-04-02 Oppo广东移动通信有限公司 Communication mode control method and device
CN110808969A (en) * 2019-10-28 2020-02-18 网御安全技术(深圳)有限公司 Data transmission method and system, electronic device and storage medium
CN111954051A (en) * 2020-02-11 2020-11-17 华为技术有限公司 Method, equipment and system for transmitting video and audio
CN111954051B (en) * 2020-02-11 2021-10-26 华为技术有限公司 Method and system for transmitting video and audio data, cloud server and storage medium
CN111432304B (en) * 2020-03-20 2022-06-17 江苏紫米电子技术有限公司 Earphone control method, earphone control device, electronic equipment, earphone control system and storage medium
CN111432304A (en) * 2020-03-20 2020-07-17 江苏紫米电子技术有限公司 Earphone control method, earphone control device, electronic equipment, earphone control system and storage medium
CN112468841A (en) * 2020-11-26 2021-03-09 Oppo广东移动通信有限公司 Audio transmission method and device, intelligent equipment and computer readable storage medium
CN114698081A (en) * 2020-12-28 2022-07-01 北京小米移动软件有限公司 Method and device for controlling data transmission, electronic equipment and storage medium
CN114698081B (en) * 2020-12-28 2023-10-17 北京小米移动软件有限公司 Method and device for controlling data transmission, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109151194B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN109151194A (en) Data transmission method, device, electronic equipment and storage medium
US10510356B2 (en) Voice processing method and device
CN109347581B (en) Bluetooth headset connection method and device, electronic equipment and storage medium
CN106531177B (en) Audio processing method, mobile terminal and system
CN109246671B (en) Data transmission method, device and system
CN107992282B (en) Audio data processing method and device, computer device and readable storage device
CN109003618A (en) Coding control method, device, electronic equipment and storage medium
CN109445739A (en) Audio frequency playing method, device, electronic equipment and computer-readable medium
CN109041024A (en) Optimization of rate method, apparatus, electronic equipment and storage medium
CN109284080B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109151211B (en) Voice processing method and device and electronic equipment
CN109274813A (en) Optimization of rate method, apparatus, electronic equipment and storage medium
CN109274407B (en) Data transmission method, device, electronic equipment and storage medium
CN109107158B (en) Sound effect processing method and device, electronic equipment and computer readable storage medium
CN109379491A (en) Audio frequency playing method, device, electronic equipment and computer-readable medium
CN109151212B (en) Equipment control method and device and electronic equipment
CN109257500A (en) Audio frequency playing method, device, electronic equipment and storage medium
CN109450851B (en) Device connection method, electronic device, and computer-readable medium
CN109379490B (en) Audio playing method and device, electronic equipment and computer readable medium
WO2022017007A1 (en) Audio data processing method, server, and storage medium
CN109413555A (en) Audio-frequency inputting method, device, earphone and electronic equipment
CN109151789A (en) Interpretation method, device, system and bluetooth headset
CN107835452A (en) Data processing method and related product
CN104952454B (en) The processing method and speech communication terminal of a kind of voice data
CN109271131B (en) Earphone control method and device, electronic equipment and storage medium

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