CN109413525A - Encoding rate method of adjustment, device, electronic equipment and storage medium - Google Patents

Encoding rate method of adjustment, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109413525A
CN109413525A CN201811161224.5A CN201811161224A CN109413525A CN 109413525 A CN109413525 A CN 109413525A CN 201811161224 A CN201811161224 A CN 201811161224A CN 109413525 A CN109413525 A CN 109413525A
Authority
CN
China
Prior art keywords
electricity
bluetooth headset
encoding rate
audio data
less
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
CN201811161224.5A
Other languages
Chinese (zh)
Other versions
CN109413525B (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 CN201811161224.5A priority Critical patent/CN109413525B/en
Publication of CN109413525A publication Critical patent/CN109413525A/en
Application granted granted Critical
Publication of CN109413525B publication Critical patent/CN109413525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/002Dynamic bit allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of encoding rate method of adjustment, device, electronic equipment and storage mediums, are related to technical field of electronic equipment.Wherein, this method comprises: whether the electricity for the bluetooth headset that judgement is connect with the electronic equipment is less than or equal to default electricity;If so, the encoding rate of audio data is adjusted to be less than preset threshold;After the audio data is handled according to encoding rate adjusted, it is transmitted to the bluetooth headset.The program can make bluetooth headset when electricity is lower, can more power saving to reception, decoding and playing process of audio etc..

Description

Encoding rate method of adjustment, device, electronic equipment and storage medium
Technical field
This application involves technical field of electronic equipment, more particularly, to a kind of encoding rate method of adjustment, device, electronics Equipment and storage medium.
Background technique
With the development of electronic device technology and wireless connection technology, the technology development of bluetooth headset is more and more mature, Using more and more extensive.Wherein, bluetooth headset can receive electronic equipment by bluetooth wireless connection to electronic equipment Audio data carries out audio broadcasting, and the data transmission between earphone and electronic equipment is no longer dependent on wired connection, greatly mentions The high convenience used.But a kind of equipment of the bluetooth connection as wireless connection, power supply cannot be connected at any time, need according to Rely mobile power source.Therefore, bluetooth headset needs more power saving.
Summary of the invention
In view of the above problems, present applicant proposes a kind of encoding rate method of adjustment, device, electronic equipment and storage medium, To improve the above problem.
In a first aspect, the embodiment of the present application provides a kind of encoding rate method of adjustment, it is applied to electronic equipment, the method It include: to judge whether the electricity for the bluetooth headset connecting with the electronic equipment is less than or equal to default electricity;If so, by audio The encoding rate of data is adjusted to be less than preset threshold;After the audio data is handled according to encoding rate adjusted, it is transmitted to The bluetooth headset.
Second aspect, the embodiment of the present application provide a kind of encoding rate adjustment device, are applied to electronic equipment, described device It include: judgment module, for judging whether the electricity for the bluetooth headset connecting with the electronic equipment is less than or equal to default electricity Amount;Encoding rate adjust module, if for judgment module determine result be it is yes, by the encoding rate of audio data be adjusted to be less than preset Threshold value;Transmission module is transmitted to the bluetooth headset after handling the audio data according to encoding rate adjusted.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Memory; One or more programs.Wherein one or more of programs are stored in the memory and are configured as by one Or multiple processors execute, one or more of programs are configured to carry out above-mentioned 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 such as above-mentioned method.
Encoding rate method of adjustment, device, electronic equipment and storage medium provided by the embodiments of the present application are according to bluetooth headset Electricity adjustment audio data encoding rate.Wherein, when the electricity for determining bluetooth headset is less than preset threshold, by audio data Encoding rate be adjusted to be less than preset threshold, then audio data adjusted is transmitted to bluetooth headset, makes bluetooth headset to sound Reception, decoding and playing process of frequency etc. can more power savings.
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 connection schematic diagram of electronic equipment and bluetooth headset provided by the embodiments of the present application;
Fig. 2 shows another connection schematic diagrams of electronic equipment provided by the embodiments of the present application and bluetooth headset;
Fig. 3 shows the flow chart of the encoding rate method of adjustment of one embodiment of the application offer.
Fig. 4 shows the flow chart for the encoding rate method of adjustment that another embodiment of the application provides.
Fig. 5 shows the flow chart for the encoding rate method of adjustment that the another embodiment of the application provides.
Fig. 6 shows the flow chart of the part steps of the encoding rate method of adjustment of the application another embodiment offer.
Fig. 7 shows a kind of default mapping table of electricity and encoding rate provided by the embodiments of the present application.
Fig. 8 shows the functional block diagram of encoding rate adjustment device provided by the embodiments of the present application.
Fig. 9 shows the structural block diagram of electronic equipment provided by the embodiments of the present application.
Figure 10 is being adjusted for saving or carrying realization according to the encoding rate 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.
As the type of audio-frequence player device increases and the promotion of play sound effect, more users can select by mobile phone, The audio output that the electronic equipments such as tablet computer are played is played out to audio-frequence player device.Wherein, common audio plays Equipment includes vehicle-carrying music player, speaker and earphone etc..Wherein, earphone includes wired earphone or wireless headset.
By taking earphone as an example.If earphone is wired earphone, the connection of wired earphone and electronic equipment passes through physical circuit, electronics Equipment passes through physical circuit for audio transmission to wired earphone, so that wired earphone carries out audio broadcasting.
In order to free the use of earphone in the case where wired, disobey the connection between earphone and electronic equipment Rely the ease of use for increasing earphone in physical circuit, wireless headset comes into being.Wireless headset is set previously according to it with electronics The standby wireless communication protocol supported jointly establishes communication link, and then electronic equipment passes through the communication link for audio transmission again To wireless headset, so that wireless headset carries out audio broadcasting.Wherein, wireless communication protocol may include WLAN protocol, bluetooth association View or Zigbee protocol etc., the application are illustrated by taking the wireless headset connected in wireless headset by Bluetooth protocol as an example.
In the embodiment of the present application, Bluetooth protocol, proprietary protocol or other lives can be passed through with other equipment such as electronic equipments The earphone that order etc. is established bluetooth connection, and carried out data transmission, is defined as bluetooth headset, such as TWS (True Wireless Stereo) earphone, TWS Plus earphone etc..
One electronic equipment can be attached with a bluetooth headset by Bluetooth protocol, can also pass through in parallel or string The mode of connection is connected to two bluetooth headsets.Wherein, mode in parallel is, as shown in Figure 1, electronic equipment 600 is according to bluetooth Agreement directly carries out bluetooth connection with bluetooth headset A and bluetooth headset B simultaneously;Concatenated mode is, as shown in Fig. 2, electric Sub- equipment 600 is with one of bluetooth headset A bluetooth connection, the bluetooth headset A bluetooth connection again with electronic equipment bluetooth connection To another bluetooth headset B.
When electronic equipment 600 connects a bluetooth headset, when carrying out audio broadcasting, the indigo plant is sent by audio data Tooth earphone plays;When electronic equipment 600 connects two bluetooth headsets, audio number can be sent simultaneously to two bluetooth headsets According to playing out two bluetooth headsets.Wherein, when electronic equipment 600 connects two bluetooth headsets, if side in parallel Formula, then electronic equipment 600 directly can send two bluetooth headsets for audio data simultaneously;If concatenated mode, then may be used To be that electronic equipment 600 will be sent to the audio datas of two bluetooth headsets and all pass through bluetooth and be sent to and its bluetooth connection Earphone, the audio data that will be sent to another bluetooth headset again with the earphone of its bluetooth connection are transmitted to another bluetooth ear Machine.
Wireless bluetooth headset is not connected with power supply, if the electricity up time after charging is too short, will increase filling for user Electric frequency reduces the usage experience of user.Either, it is used after user's charging in the case where that can not charge, very using the time Then because low battery is not available in the case where short, and user can not charge at this time, reduce the usage experience of user.Cause This, needs that bluetooth headset is made to have electricity-saving function.
Inventors discovered through research that the data volume of bluetooth headset processing is bigger, the data volume of such as transmission is bigger, solves yardage Bigger etc. according to the bigger and played data amount of amount, the electricity of consumption is bigger.Therefore, the feelings played in the sound for guaranteeing to need to play Under condition, the data processing amount of bluetooth headset is reduced to a certain extent, bluetooth headset can more power saving.
And audio data is carried out bluetooth volume when passing through blue tooth transmission audio frequency data with certain encoding rate by electronic equipment It is sent to bluetooth headset after code, encoding rate is lower, and the data after coding are smaller, and the received data of bluetooth headset are smaller, needs The data for decoding and playing are smaller.By taking mp3 file as an example, mp3 file is decoded as PCM (Pulse Code by electronic equipment Modulation) file, then by PCM document No. be the file that can be transmitted by bluetooth, such as AAC (Advanced Audio Coding, Advanced Audio Coding), SBC (Sub-band coding, sub-band coding) etc..It is being by PCM document No. When by the file of Bluetooth transmission, encoding rate is higher, i.e., the coding of higher code rate, and the data after coding are bigger;Encoding rate Lower, i.e. the more coding of low bit- rate, the data after coding are smaller, and the data for being sent to bluetooth headset are smaller.Bluetooth headset The data received are decoded as PCM file again to play out, the data that bluetooth receives are smaller, need decoded data processing Smaller, the data of broadcasting are also smaller, can more save electricity.
Therefore, encoding rate method of adjustment, device provided by the embodiment of the present application, electronic equipment 600 are inventors herein proposed And storage medium is turned down the encoding rate for being transferred to the audio data of bluetooth headset, is made in the case where electrical quantity of bluetooth headset is too low The data volume of bluetooth headset processing reduces, and saves electricity.
It below will be by specific embodiment to encoding rate method of adjustment provided by the embodiments of the present application, device, electronic equipment 600 and storage medium be described in detail.
Referring to Fig. 3, the embodiment of the present application provides a kind of encoding rate method of adjustment.In this method, electronic equipment will be passed The defeated encoding rate to bluetooth headset is turned down.Specifically, this method comprises:
Step S110: whether the electricity for the bluetooth headset that judgement is connect with the electronic equipment is less than or equal to default electricity Amount.
The available electricity to the bluetooth headset of its bluetooth connection of electronic equipment, also, judge whether the electricity is small In or equal to default electricity.The deterministic process can be in real time, be also possible to carry out according to predetermined period.
Wherein, bluetooth headset sends electronic equipment for the facility information of itself by bluetooth, and electronic equipment passes through to it Facility information is parsed, and can be obtained the electricity of bluetooth headset.For example, electronic equipment uses system API (Application Programming Interface, application programming interface) broadcast data for arriving bluetooth equipment is scanned, as IOS system uses The framework:CoreBluetooth/CoreBluetooth.h arrived;The framework:android that Android is used .bluetooth.BluetoothAdapter, android.bluetooth.BluetoothDevice and android.blu etooth.BluetoothManager.Bluetooth information about power can be obtained by parsing further according to the agreement oneself defined to it.
The occurrence and specific manifestation form of default electricity when electronic equipment is judged are in the embodiment of the present application It does not limit.Wherein, default electricity can be indicated by percentage, can also be any by fractional representation, or by other The data of form indicate.When the charge value for obtaining bluetooth equipment, the charge value of acquisition can be converted to and default electricity format After consistent data, then carry out size comparison.According to comparison result judge bluetooth headset electricity whether be less than or equal to it is default Electricity.
Step S120: if so, the encoding rate of audio data is adjusted to be less than preset threshold.
If it is determined that the electricity of bluetooth headset is less than default electricity, then when needing to save use of the electricity to increase bluetooth headset It is long.Wherein it is possible to the electric quantity consumption of bluetooth headset is reduced by the data processing amount for reducing bluetooth headset, and bluetooth headset receives The data encoding rate arrived is lower, and the manageable data volume of bluetooth headset is fewer, and power consumption is lower.
Therefore, the encoding rate of audio data can be turned down.Specifically, the electricity in bluetooth headset is in greater than default electricity When the state of amount, audio data is generally encoded with higher encoding rate, i.e., be higher than preset threshold encoding rate into Row coding can play better sound quality so that sound details is more in the audio data that bluetooth headset obtains.When electricity is less than Or when being equal to default electricity, then the mode for turning down audio data coding rate can be, and the encoding rate of audio data can be adjusted To less than preset threshold.
Wherein, which, which can be, is arranged by system and is stored, and is also possible to by user setting.User setting can be with It is to be arranged under set interface in advance, is also possible to user and is configured or changes currently.For example, default being provided with In the case where threshold value, the encoding rate of audio data is adjusted to the encoding rate less than preset threshold, if being transferred to bluetooth headset Audio data normal play, user think low battery of the sound quality without influence or bluetooth headset, and user can be again by default threshold Value is turned down.If the audio data for being transferred to bluetooth headset plays, sound quality loss is excessive, and user can also be appropriate by preset threshold It is turned up.To which user can turn down and be turned up operation by result of broadcast combination preset threshold, and searching out one makes audio The encoding rate that data point reuse arrives is as small as possible and influences on the sound quality of audio data as unobvious as possible.
Step S130: after the audio data is handled according to encoding rate adjusted, it is transmitted to the bluetooth headset.
Electronic equipment is handled audio data according to the encoding rate adjusted.Specifically, can be according to the coding Rate is encoded to be sent to the audio data of bluetooth recently by bluetooth, and the audio data after coding is passed through bluetooth mould Block is transmitted to bluetooth headset in a manner of Bluetooth transmission.
For example, electronic equipment plays out the corresponding music of MP3 music file by bluetooth headset.By mp3 file It is decoded as PCM file, then the PCM document No. can be passed through the coding text of Bluetooth transmission by the encoding rate by adjusting after The coding file is passed through Bluetooth transmission to bluetooth headset by part.After bluetooth headset receives the coding file, to the coding file It is played after decoding.
In the embodiment of the present application, it is adjusted according to the electricity for the bluetooth headset for being connected to electronic equipment to bluetooth headset and is transmitted The encoding rate of audio data the encoding rate of audio data is adjusted to default threshold when electricity is less than or equal to default electricity Value, by after audio data coding, to be sent to bluetooth headset by preset threshold.So that the data volume that bluetooth headset receives is more Small, data volume to be treated is then smaller, to realize the saving of electrical quantity of bluetooth headset.
Encoding rate method of adjustment provided by the embodiments of the present application is then obtained when electronic equipment is connected to a bluetooth headset The electricity for this earphone that the electricity for the bluetooth headset got is attached to, the electricity for determining the earphone are less than preset threshold When, then the encoding rate of audio data can be adjusted to be less than preset threshold.When the earphone for being connected to electronic equipment is two indigo plants Tooth earphone can be handled by method as shown in Figure 4.Specifically, the bluetooth headset connecting with the electronic equipment can To be respectively defined as the first bluetooth headset and the second bluetooth headset, which of two of them bluetooth headset is the first bluetooth Earphone, which is the second bluetooth headset, is not limited in the embodiment of the present application.
In addition, electronic equipment 600 is connected to two bluetooth headsets, if include left channel data in the audio data played with And right data, then a bluetooth headset sends left channel data thereto, and a bluetooth headset sends right channel thereto Data.Wherein, left channel data and right data can be the dephased identical audio data of tool, that is to say, that The sound wave of the sound for the right channel that the sound wave and right data of the sound of the L channel generated according to left channel data generate, It is identical for period, frequency, amplitude, but have dephased sound wave.Make bluetooth headset when playing audio, a bluetooth ear The sound of L channel is put in machine sowing, and a bluetooth headset plays the sound of right channel, and the sound of two kinds of sound channels usually has centainly Phase difference, travel to corresponding human ear, enable users to generate good three-dimensional audio experience.If desired the audio data played The stereo data is then respectively transmitted to the first bluetooth headset and the second bluetooth headset as stereo data by this.Therefore, The audio data of first bluetooth headset corresponding in audio data can be defined as the first audio data, by corresponding second bluetooth ear The audio data of machine is defined as second audio data.
For example, if in the audio data of electronic equipment including left channel data and right data.If the first bluetooth ear Machine is left earphone, for receiving left channel data;If the second bluetooth headset is right earphone, for receiving right data, then will Left channel data is as the first audio data, using right data as second audio data.If the first bluetooth headset is auris dextra Machine, for receiving right data;If the second bluetooth headset is left earphone, for receiving left channel data, then by right channel number According to as the first audio data, using left channel data as second audio data.
If the audio data of electronic equipment is stereo data, it is sent to the audio data definition of the first bluetooth headset For the first audio data, the audio data for being sent to the second bluetooth headset is defined as second audio data.
Specifically, as shown in figure 4, this method comprises:
Step S210: whether the electricity for any one bluetooth headset that judgement is connect with the electronic equipment is less than or equal to Default electricity.If so, executing step S220;If it is not, executing step S210.
Step S220: the encoding rate of first audio data and the second audio data is adjusted to be less than pre- If threshold value.
When electronic equipment connection is there are two bluetooth headset, can be less than in the electricity for having any one bluetooth headset default All start power saving when electricity.It may determine that the electricity for whether having any one in two bluetooth headsets is less than or equal to default electricity Amount.
That is, if the electricity of the first bluetooth headset is less than or equal to the electricity of default electricity or the second bluetooth headset Amount is less than or equal to default electricity or the first bluetooth headset and the electricity of the second bluetooth headset is respectively less than or is equal to default electricity Amount, then determine whether the electricity of any one bluetooth headset of the electronic equipment connection is less than or equal to default electricity.
As an implementation, in the embodiment of the present application, it can be, when determination has the electricity of a bluetooth headset small When default electricity, whether the electricity of another bluetooth headset, which is less than or equal to default electricity, no longer to judge, then It can execute and the encoding rate of first audio data and the second audio data is adjusted to less than preset threshold Operation.
Optionally, in this embodiment, in the electronic device, the corresponding coding rate parameter of encoding rate can only have one A, the first audio data and second audio data are all encoded using the corresponding value of this coding rate parameter as encoding rate.? When adjusting encoding rate, then the value of the coding rate parameter is adjusted.Coding rate parameter adjusted is corresponding to be worth as first The encoding rate of audio data and the encoding rate of second audio data.
Optionally, in this embodiment, in the electronic device, the corresponding coding rate parameter of encoding rate may include two It is a, such as the first coding rate parameter and the second coding rate parameter.Wherein the corresponding value of the first coding rate parameter is used as the first audio The encoding rate of data, encoding rate of the corresponding value of the second coding rate parameter as second audio data.Therefore, it can be compiled to first Code rate parameter and the second coding rate parameter are adjusted separately, and the first coding rate parameter and the second coding rate parameter is corresponding Value be adjusted to be less than preset threshold.
Optionally, in this embodiment, the first coding rate parameter and the corresponding value of the second coding rate parameter can phases Together, make the first audio data and second audio data after encoding rate adjustment, encoding rate is identical.
Optionally, in this embodiment, the first coding rate parameter and the corresponding value of the second coding rate parameter can also be with It is different, that is to say, that the first audio data can be respectively corresponded, the first coding rate parameter, corresponding second audio data setting are set Second coding rate parameter.
Optionally, in this embodiment, the first coding rate parameter and the corresponding value of the second coding rate parameter are set respectively When setting, the encoding rate of the higher bluetooth headset of wherein electricity can be disposed higher than to the coding of the lower bluetooth headset of electricity Rate.That is, the value that the first coding rate parameter can be set is high if the electricity of the first bluetooth headset is higher than the second bluetooth headset In the second coding rate parameter;If the electricity of the second bluetooth headset is higher than the first bluetooth headset, the second coding rate parameter can be set Value be higher than the first coding rate parameter.
As an implementation, electronic equipment can also the electricity to two bluetooth headsets be made whether to be less than or wait In the judgement of default electricity.If the electricity of only one bluetooth headset is less than or equal to default electricity, can be by the bluetooth headset The encoding rate of corresponding audio data is adjusted to lower than preset threshold, and the corresponding encoding rate of another bluetooth headset, which is maintained at, to be higher than Preset threshold.If the electricity of two bluetooth headsets is respectively less than or is equal to default electricity, the corresponding encoding rate of two bluetooth headsets It is all adjusted to lower than preset threshold.
In the embodiment of the present application, if the electricity of two bluetooth headsets is all larger than default electricity, step can be continued to execute Whether rapid S210, the electricity for judging whether there is any one bluetooth headset are less than default electricity.
Step S230: after the audio data is handled according to encoding rate adjusted, it is transmitted to the bluetooth headset.
After first audio data is encoded according to the corresponding encoding rate of the first audio data, pass through Bluetooth transmission to One bluetooth headset;After second audio data is encoded according to the corresponding encoding rate of second audio data, pass through Bluetooth transmission To the second bluetooth headset.
In the embodiment of the present application, bluetooth connection can be to the electronic equipment of two bluetooth headsets, has any one The electricity of a bluetooth headset is less than default electricity, then the encoding rate for being sent to the audio data of the first bluetooth headset is adjusted to low After preset threshold, the audio data for being sent to the first bluetooth headset is encoded according to the encoding rate;Second will be sent to The encoding rate of the audio data of bluetooth headset is adjusted to lower than after preset threshold, according to the encoding rate to being sent to the second bluetooth ear The audio data of machine is encoded.
In the embodiment of the present application, when electronic equipment connect two bluetooth headsets, can also according to two bluetooth headsets it Between electricity difference carry out encoding rate adjustment.Specifically, Fig. 5 is referred to, this method comprises:
Step S310: whether the electricity for any one bluetooth headset that judgement is connect with the electronic equipment is less than or equal to Default electricity.If so, executing step S320;If it is not, executing step S310.
Judge whether the electricity for the bluetooth headset connecting with the electronic equipment is less than or equal to default electricity.If electronics is set The bluetooth headset of standby connection only one, then directly the encoding rate of the audio data is adjusted to be less than preset threshold, further according to The encoding rate is sent to bluetooth headset after encoding to audio data.If the bluetooth headset of electronic equipment bluetooth connection includes two A, then whether the electricity for judging whether there is any one bluetooth headset is less than or equal to default electricity.
Step S320: judge whether that the electricity of only one bluetooth headset is less than or equal to default electricity.If so, executing step Rapid S330;If it is not, executing step S350.
When the electricity that electronic equipment is determined with bluetooth headset is less than or equal to default electricity, it is less than or equal in judgement pre- If the quantity of the bluetooth headset of electricity.That is, determining whether it is small according to the electricity of a bluetooth headset in electronic equipment After default electricity, also to judge whether it is less than or equal to default electricity according to the electricity of another bluetooth headset. Electricity is preset when the electricity of two bluetooth headsets is respectively less than or is equal to, S350 is thened follow the steps, when only one bluetooth ear of judgement When the electricity of machine is less than or equal to default electricity, step S330 is executed.
Step S330: judge whether the electricity difference between two bluetooth headsets is less than preset difference value.If so, executing step S340;If it is not, executing step S350.
When the electricity of only one bluetooth headset is less than default electricity, if electricity difference mistake between two bluetooth headsets Greatly, then the electricity of another bluetooth headset is more sufficient, can keep the coding of high code rate, with the broadcasting sound quality kept;If two Electricity difference is smaller between bluetooth headset, shows that the electricity of another bluetooth headset is relatively low, can also be depleted to quickly lower than pre- If electricity, therefore, the encoding rate of the corresponding audio data of another bluetooth headset can be also adjusted.
Therefore, when the electricity of only one bluetooth headset is less than or equal to default electricity, calculate two bluetooth headsets it Between electricity difference, and judge whether the electricity difference is less than preset difference value.
Step S340: the encoding rate of first audio data and the second audio data is adjusted to be less than pre- If threshold value.
If electricity difference is less than preset difference value between two bluetooth headsets, the electricity of two bluetooth headsets is all lower, can All to turn down the encoding rate of the corresponding audio data of two bluetooth headsets, it is adjusted to be less than preset threshold.
Step S350: the encoding rate that electricity is less than or equal to the corresponding audio data of bluetooth headset of default electricity is adjusted It is remained unchanged to the encoding rate for being less than preset threshold, the corresponding audio data of another bluetooth headset.
If the electricity difference is not less than preset difference value, i.e. the electricity difference is greater than or equal to preset difference value, then by electricity Encoding rate less than or equal to the corresponding audio data of bluetooth headset of default electricity is adjusted to be less than preset threshold, another is blue The encoding rate of the corresponding audio data of tooth earphone remains unchanged.
That is, the electricity of the second bluetooth headset is big if the electricity of the first bluetooth headset is less than or equal to default electricity In default electricity, and the electricity difference between two bluetooth headsets is not less than preset threshold, then by the coding of the first audio data Rate is adjusted to be less than preset threshold, and the encoding rate of second audio data remains unchanged.
If the electricity of the second bluetooth headset is less than or equal to default electricity, the electricity of the first bluetooth headset is greater than default electricity Amount, and the electricity difference between two bluetooth headsets is not less than preset threshold, then is adjusted to the encoding rate of second audio data Less than preset threshold, the encoding rate of the first audio data is remained unchanged.
Optionally, in the embodiment of the present application, if the encoding rate of the corresponding audio data of another bluetooth headset is greater than in advance If threshold value then remains unchanged, if the encoding rate of the corresponding audio data of another bluetooth headset is less than or equal to preset threshold, Then the encoding rate of the corresponding audio data of another bluetooth headset is adjusted to be greater than preset threshold.
Step S360: after the audio data is handled according to encoding rate adjusted, it is transmitted to the bluetooth headset.
In the embodiment of the present application, if the electricity of only one in two bluetooth headsets is less than or equal to default electricity, The electricity of the electricity or two bluetooth headsets that adjust a bluetooth headset is determined according to electricity difference between two bluetooth headsets. If electricity difference is less than preset threshold, the encoding rate of corresponding two bluetooth headsets is adjusted to lower than preset threshold;If electricity Difference is greater than or equal to preset threshold, then is adjusted to the corresponding encoding rate of bluetooth headset that electricity is less than or equal to default electricity Less than preset threshold.To determine that electricity is greater than the bluetooth headset of default electricity according to the electricity difference between two bluetooth headsets Whether power saving, both allow being better balanced using the time for electricity between two bluetooth headsets, bluetooth headset pair can also be made The encoding rate answered is maintained at value when.
It, can also be true according to the corresponding relationship of electricity and encoding rate in encoding rate method of adjustment provided by the embodiments of the present application The fixed encoding rate to be adjusted to.Specifically, as shown in fig. 6, this method may include:
Step S410: whether the electricity for the bluetooth headset that judgement is connect with the electronic equipment is less than or equal to default electricity Amount.If so, executing step S420;If it is not, executing step S440.
As an implementation, because reducing the encoding rate of audio data, then the audio data meeting that bluetooth headset obtains There is certain sound quality loss, loses some music details, there may be certain influence on audio experience, therefore, if with the electronics The bluetooth headset of equipment connection is two, and the also greater than default electricity of the electricity of one of bluetooth headset, then can temporarily not Save the operation of electricity.
Therefore, in this embodiment, the electricity of bluetooth headset that judgement is connect with the electronic equipment whether be less than or It can be equal to default electricity, judge two electrical quantity of bluetooth headset connecting with the electronic equipment whether both less than or equal to pre- If electricity.If two electrical quantity of bluetooth headset of electronic equipment connection determine and the electronics both less than or equal to default electricity The electrical quantity of bluetooth headset of equipment connection is less than or equal to default electricity, can perform the next step rapid.That is, in the embodiment party In formula, if two electrical quantity of bluetooth headset connecting with the electronic equipment then follow the steps both less than or equal to default electricity S420;If two electrical quantity of bluetooth headset connecting with the electronic equipment have one to be greater than default electricity, step can be executed S440 can continue to execute step S410.
As an implementation, whether the electricity for the bluetooth headset that judgement is connect with the electronic equipment is less than or equal to Default electricity, the electricity for being also possible to judge whether there is any one bluetooth headset are less than or equal to default electricity.If any one The electricity of a bluetooth headset is less than or equal to default electricity, thens follow the steps S420;If the electricity of two bluetooth headsets is both greater than Default electricity, thens follow the steps S440.
Step S420: according to electricity and the corresponding relationship of encoding rate, obtain that bluetooth headset current electric quantity is corresponding to be less than The target code rate of preset threshold.
The remaining capacity of bluetooth headset is different, remaining different using the time.For same encoding rate, electricity is lower, blue The residue of tooth earphone is shorter using duration.Therefore, electricity can be corresponded to, corresponding encoding rate is set.Wherein, electricity is lower, coding Rate is lower.Less than or equal to the electricity of default electricity, the corresponding encoding rate of setting is less than preset threshold;Greater than default electricity The corresponding encoding rate of electricity, setting is greater than preset threshold.
The concrete mode of corresponding electricity setting encoding rate does not limit in the embodiment of the present application.As a kind of embodiment party Formula can be, and preset and be stored with default mapping table, include in the default mapping table electricity and encoding rate it Between corresponding relationship.As Fig. 7 shows a kind of default mapping table, wherein A1, A2 and A3 respectively indicate different electricity Amount, B1, B2 and B3 respectively indicate different encoding rates.According to default mapping table, bluetooth headset current electric quantity pair is searched The encoding rate answered, using the encoding rate as target code rate.That is, searching after the electricity for obtaining bluetooth headset pre- If the corresponding electricity A of the electricity in mapping table, using the corresponding encoding rate B of electricity A in default mapping table as the electricity Measure corresponding target code rate.
In addition, electricity A can be a specific value, be also possible to an electricity section in default mapping table. Such as A1, A2 and A3 can be respectively different specific charge values in Fig. 7, can also be respectively different electricity sections.If In default mapping table, electricity is a specific value, can be in default mapping relations after the electricity for obtaining bluetooth headset It is searched and the nearest signal strength of the electricity size in table.If electricity A is a section in default mapping table, blue obtaining Section after the electricity of tooth earphone, where the electricity being searched in default mapping table.
As an implementation, it can be, pre-establish and be stored with the functional relation between electricity and encoding rate, from And the corresponding encoding rate of bluetooth headset current electric quantity can be calculated according to the functional relation, as target code rate.
As an implementation, the bluetooth headset that electricity is preset for being less than or equal to, can be stored in advance a coding Rate is as target code rate.The encoding rate by user setting and can store, and can also be arranged and be stored by system.
In the embodiment of the present application, it can only obtain and be less than or equal to coding corresponding to the bluetooth headset of default electricity Rate, the also corresponding encoding rate of available all bluetooth headsets.
Step S430: the encoding rate of audio data is adjusted to the target code rate.
If having got the corresponding target code rate of the first bluetooth headset, the first bluetooth headset is corresponded into audio data Encoding rate is adjusted to its corresponding target code rate.
If having got the corresponding target code rate of the second bluetooth headset, the second bluetooth headset is corresponded into audio data Encoding rate adjustment schedules to last corresponding target code rate.
Step S440: if the encoding rate of audio data is less than or equal to preset threshold, the encoding rate of audio data is adjusted To greater than preset threshold.
If the electrical quantity of bluetooth headset connecting with the electronic equipment is greater than default electricity, and if audio data encoding rate it is small In or equal to preset threshold, for example, bluetooth headset is when electricity is lower than default electricity, corresponding encoding rate is adjusted to lower than default Threshold value, electricity is higher than default electricity after bluetooth headset is charged, then is adjusted to the encoding rate of audio data be greater than default threshold Value.
The encoding rate greater than preset threshold being specifically adjusted to, can be, according to bluetooth headset current electric quantity corresponding relationship It determines.It is also possible to be previously provided with the normal encoding rate to audio data, that is to say, that in the case where not considering charge condition The encoding rate for the file that audio data coding can be transmitted at bluetooth, as the encoding rate being adjusted to.
As an implementation, if there are two bluetooth headsets for electronic equipment connection, there is the electricity of any one bluetooth headset Amount is greater than default electricity, then the electrical quantity of bluetooth headset for being judged to connecting with the electronic equipment is greater than default electricity, by two indigo plants The encoding rate of the audio data of tooth earphone is all adjusted to be greater than preset threshold.
As an implementation, if there are two bluetooth headsets for electronic equipment connection, there is the electricity of any one bluetooth headset Amount is greater than default electricity, then the electrical quantity of bluetooth headset for being judged to connecting with the electronic equipment is greater than default electricity, by two indigo plants The encoding rate that electricity is greater than the audio data of the bluetooth headset of default electricity in tooth earphone is all adjusted to be greater than preset threshold.
As an implementation, if electronic equipment connection is there are two bluetooth headset, the electricity of two bluetooth headsets is big In default electricity, the electrical quantity of bluetooth headset for being just judged to connecting with the electronic equipment is greater than default electricity, by two bluetooth ears The encoding rate of the audio data of machine is all adjusted to be greater than preset threshold.
Certainly, it if the encoding rate of audio data is natively greater than preset threshold, can not operate, keep the coding Rate.
Step S450: after the audio data is handled according to encoding rate adjusted, it is transmitted to the bluetooth headset.
In encoding rate method of adjustment provided by the embodiments of the present application, it can be determined according to the corresponding relationship of electricity and encoding rate The encoding rate to be adjusted to, thus, the encoding rate for adjusting audio data more agrees with the practical electricity of bluetooth headset, reaches Save the balance of electricity and sound quality.
, can be cross-referenced between same or similar step in the embodiment of the present application, for there is same or similar step Rapid step, is no longer repeated.In addition, can be rationally combined between each embodiment and each embodiment.
The embodiment of the present application also provides a kind of encoding rates to adjust device 500, is applied to electronic equipment.Fig. 8 is referred to, it should Device 500 may include: judgment module 510, and whether the electricity of the bluetooth headset for judging to connect with the electronic equipment is small In or equal to default electricity.Encoding rate adjust module 520, if for judgment module determine result be it is yes, by the volume of audio data Code rate is adjusted to be less than preset threshold.Transmission module 530, for handling the audio data according to encoding rate adjusted Afterwards, it is transmitted to the bluetooth headset.
Optionally, if encoding rate adjustment module 520 be also used to judgment module determine result be it is no, by the coding of audio data Rate is adjusted to be greater than preset threshold.
Optionally, if the bluetooth headset connecting with the electronic equipment includes the first bluetooth headset and the second bluetooth ear Machine, include in the audio data corresponding first bluetooth headset the first audio data and corresponding second bluetooth headset second Audio data.Whether the electricity of any one bluetooth headset that then determination module can be used for judging to connect with the electronic equipment Less than or equal to default electricity.If it is determined that result be it is yes, then encoding rate adjustment module 520 can be used for the first audio number Accordingly and the encoding rate of the second audio data is adjusted to be less than preset threshold.
Optionally, when the electricity of only one bluetooth headset is less than or equal to default electricity, which can also include poor It is worth judgment module, whether the electricity difference for judging between two bluetooth headsets is less than preset difference value.If the difference judges mould Block judging result is that then encoding rate adjustment module 520 can be used for first audio data and the second audio number According to encoding rate be adjusted to be less than preset threshold.
Optionally, if the difference judgment module judging result is no, encoding rate adjustment module 520 can be used for electricity is small In or equal to default electricity the corresponding audio data of bluetooth headset encoding rate be adjusted to be less than preset threshold, another bluetooth The encoding rate of the corresponding audio data of earphone remains unchanged.
Optionally, if the bluetooth headset being connect with the electronic equipment be two, judgment module 510 can be used for judge with Whether two electrical quantity of bluetooth headset of the electronic equipment connection are both less than or equal to default electricity;If so, determining and the electricity The electrical quantity of bluetooth headset of sub- equipment connection is less than or equal to default electricity.
Optionally, encoding rate adjustment module 520 may include searching unit and adjustment unit.Wherein, searching unit is used According to mapping table is preset, the corresponding encoding rate less than preset threshold of current electric quantity of bluetooth headset is searched as target Encoding rate;Adjustment unit is used to the encoding rate of audio data being adjusted to the target code rate.
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.For above-mentioned side Each embodiment and embodiment in method embodiment can have corresponding module or unit to execute, the embodiment of the present application In no longer describe one by one.
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.
Another embodiment of the application additionally provides a kind of electronic equipment 600, the electronic equipment 600 can be smart phone, Tablet computer, music player devices etc. can run the electronic equipment of application program.Fig. 9 is referred to, which includes One or more processors 610 (only show one) in figure, memory 620, and one or more programs.Wherein, described one A or multiple programs are stored in the memory 620 and are configured as being executed by one or more of processors 610, institute It states one or more programs and is configured to carry out method described in said one or multiple embodiments.
Processor 610 may include one or more processing core.Processor 610 is whole using various interfaces and connection Various pieces in a electronic equipment 600, by run or execute the instruction being stored in memory 620, program, code set or Instruction set, and the data being stored in memory 620 are called, execute the various functions and processing data of electronic equipment 600.It can Selection of land, processor 610 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 610 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 610, be realized separately through one piece of communication chip.
Memory 620 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Memory 620 can be used for store instruction, program, code, code set or instruction set.It deposits Reservoir 620 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 the instruction of at least one function, for realizing instruction of above-mentioned each embodiment of the method etc..Storage data area is also It can be with data (such as phone directory, audio, video data, chat record data) etc. that electronic equipment 600 is created in use.
As shown in figure 9, the electronic equipment further includes bluetooth (Bluetooth, BT) module 630.Wherein, bluetooth module can be with Refer to the chip basic circuit set of integrated Bluetooth function, is used for wireless network communication.The bluetooth module 630 and processor are electrical Connection, electronic equipment can pass through bluetooth connection between the bluetooth module 630 and bluetooth headset
Referring to FIG. 10, it illustrates a kind of structural frames of computer readable storage medium provided by the embodiments of the present application Figure.Program code is stored in the computer-readable storage medium 700, said program code can be called by processor and be executed State method described in embodiment of the method.
Computer-readable storage medium 700 can be (the read-only storage of electrically erasable of such as flash memory, EEPROM Device), the electronic memory of EPROM, hard disk or ROM etc.Optionally, computer-readable storage medium 700 includes non-easy The property lost computer-readable medium (non-transitory computer-readable storage medium).Computer can Read the memory space that storage medium 700 has the program code 710 for executing any method and step in the above method.These journeys Sequence code can read or be written to this one or more computer journey from one or more computer program product In sequence product.Program code 710 can for example be compressed in a suitable form.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (10)

1. a kind of encoding rate method of adjustment, which is characterized in that be applied to electronic equipment, which comprises
Judge whether the electricity for the bluetooth headset connecting with the electronic equipment is less than or equal to default electricity;
If so, the encoding rate of audio data is adjusted to be less than preset threshold;
After the audio data is handled according to encoding rate adjusted, it is transmitted to the bluetooth headset.
2. the method according to claim 1, wherein the method also includes:
If the electrical quantity of bluetooth headset connecting with the electronic equipment is greater than default electricity, the encoding rate of audio data is adjusted to big In preset threshold.
3. the method according to claim 1, wherein if the bluetooth headset connecting with the electronic equipment includes the One bluetooth headset and the second bluetooth headset include the first audio data of corresponding first bluetooth headset in the audio data with And the second audio data of corresponding second bluetooth headset, the electricity for judging the bluetooth headset connecting with the electronic equipment are It is no to include: less than or equal to default electricity
Judge whether the electricity for any one bluetooth headset connecting with the electronic equipment is less than or equal to default electricity;
If so, it is described the encoding rate of audio data is adjusted to include: less than preset threshold
The encoding rate of first audio data and the second audio data is adjusted to be less than preset threshold.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Electricity is preset when the electricity of only one bluetooth headset is less than or equal to, it is described by first audio data and described The encoding rate of second audio data is adjusted to be less than before preset threshold, further includes:
Judge whether the electricity difference between two bluetooth headsets is less than preset difference value;
If the electricity difference is less than preset difference value, execute described by first audio data and the second audio data Encoding rate be adjusted to be less than preset threshold the step of.
5. according to the method described in claim 4, it is characterized in that, if the electricity difference is greater than or equal to preset difference value, institute State the encoding rate of audio data is adjusted to include: less than preset threshold
The encoding rate that electricity is less than or equal to the corresponding audio data of bluetooth headset of default electricity is adjusted to be less than default threshold Value, the encoding rate of the corresponding audio data of another bluetooth headset remain unchanged.
6. the method according to claim 1, wherein if the bluetooth headset connecting with the electronic equipment is two It is a, it is described to judge whether the electrical quantity of bluetooth headset connecting with the electronic equipment is less than or equal to default electricity and includes:
Judge two electrical quantity of bluetooth headset connecting with the electronic equipment whether both less than or equal to default electricity;
If so, determining that the electrical quantity of bluetooth headset connecting with the electronic equipment is less than or equal to default electricity.
7. the method according to claim 1, wherein described be adjusted to the encoding rate of audio data less than default Threshold value, further includes:
According to default mapping table, the corresponding encoding rate less than preset threshold of current electric quantity of bluetooth headset is searched as mesh Mark encoding rate;
The encoding rate of audio data is adjusted to the target code rate.
8. a kind of encoding rate adjusts device, which is characterized in that be applied to electronic equipment, described device includes:
Judgment module, for judging whether the electricity for the bluetooth headset connecting with the electronic equipment is less than or equal to default electricity Amount;
Encoding rate adjust module, if for judgment module determine result be it is yes, by the encoding rate of audio data be adjusted to be less than in advance If threshold value;
Transmission module is transmitted to the bluetooth headset after handling the audio data according to encoding rate adjusted.
9. a kind of electronic equipment characterized by comprising
One or more processors;
Memory;
One or more programs, wherein one or more of programs are stored in the memory and are configured as by described One or more processors execute, and one or more of programs are configured to carry out as claim 1-7 is described in any item Method.
10. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute the method according to claim 1 to 7.
CN201811161224.5A 2018-09-30 2018-09-30 Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium Active CN109413525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811161224.5A CN109413525B (en) 2018-09-30 2018-09-30 Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811161224.5A CN109413525B (en) 2018-09-30 2018-09-30 Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109413525A true CN109413525A (en) 2019-03-01
CN109413525B CN109413525B (en) 2020-01-14

Family

ID=65465872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811161224.5A Active CN109413525B (en) 2018-09-30 2018-09-30 Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109413525B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650400A (en) * 2019-09-30 2020-01-03 歌尔科技有限公司 Wireless earphone and low-power-consumption method, device and system thereof
CN111385621A (en) * 2020-03-18 2020-07-07 海信视像科技股份有限公司 Display device and Bluetooth audio transmission method
CN112671967A (en) * 2020-12-22 2021-04-16 英华达(上海)科技有限公司 Bluetooth headset control method, system, device and medium
CN112866859A (en) * 2021-01-20 2021-05-28 维沃移动通信有限公司 Audio playing method and device and wireless earphone
CN114584814A (en) * 2020-11-30 2022-06-03 华为技术有限公司 Method for adjusting power consumption of terminal, method for adjusting code rate and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090099851A1 (en) * 2007-10-11 2009-04-16 Broadcom Corporation Adaptive bit pool allocation in sub-band coding
CN102301744A (en) * 2009-01-29 2011-12-28 高通股份有限公司 Audio coding selection based on device operating condition
EP2658222A1 (en) * 2012-04-18 2013-10-30 Huawei Device Co., Ltd. Method and electronic device for determining headset line sequence
CN106782578A (en) * 2016-12-06 2017-05-31 努比亚技术有限公司 A kind of distributed solution code controller, distributed coding/decoding method and voice frequency terminal
CN107681993A (en) * 2017-09-14 2018-02-09 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting audio frequency parameter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090099851A1 (en) * 2007-10-11 2009-04-16 Broadcom Corporation Adaptive bit pool allocation in sub-band coding
CN102301744A (en) * 2009-01-29 2011-12-28 高通股份有限公司 Audio coding selection based on device operating condition
EP2658222A1 (en) * 2012-04-18 2013-10-30 Huawei Device Co., Ltd. Method and electronic device for determining headset line sequence
CN106782578A (en) * 2016-12-06 2017-05-31 努比亚技术有限公司 A kind of distributed solution code controller, distributed coding/decoding method and voice frequency terminal
CN107681993A (en) * 2017-09-14 2018-02-09 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting audio frequency parameter

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650400A (en) * 2019-09-30 2020-01-03 歌尔科技有限公司 Wireless earphone and low-power-consumption method, device and system thereof
CN111385621A (en) * 2020-03-18 2020-07-07 海信视像科技股份有限公司 Display device and Bluetooth audio transmission method
CN111385621B (en) * 2020-03-18 2022-08-02 海信视像科技股份有限公司 Display device and Bluetooth audio transmission method
CN114584814A (en) * 2020-11-30 2022-06-03 华为技术有限公司 Method for adjusting power consumption of terminal, method for adjusting code rate and related equipment
CN112671967A (en) * 2020-12-22 2021-04-16 英华达(上海)科技有限公司 Bluetooth headset control method, system, device and medium
CN112866859A (en) * 2021-01-20 2021-05-28 维沃移动通信有限公司 Audio playing method and device and wireless earphone
CN112866859B (en) * 2021-01-20 2023-08-18 维沃移动通信有限公司 Audio playing method and device and wireless earphone

Also Published As

Publication number Publication date
CN109413525B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN109413525A (en) Encoding rate method of adjustment, device, electronic equipment and storage medium
CN109246671B (en) Data transmission method, device and system
CN109246672A (en) Data transmission method, device, system and bluetooth headset
CN109347581A (en) Bluetooth headset connection method, device, electronic equipment and storage medium
CN109003618A (en) Coding control method, device, electronic equipment and storage medium
KR102569374B1 (en) How to operate a Bluetooth device
CN108738006A (en) Data transmission method based on bluetooth and device
CN110166877A (en) A kind of audio frequency playing method, device and the charging box of TWS earphone
CN107005800B (en) Audio file transmission and receiving method, device, equipment and system
CN109273017A (en) Coding control method, device and electronic equipment
CN108370580A (en) Match user equipment and network scheduling period
CN109151861A (en) Encoding rate method of adjustment, device and electronic equipment
CN110460931A (en) Method, bluetooth headset and the storage medium of call are realized based on bluetooth headset
CN109274813A (en) Optimization of rate method, apparatus, electronic equipment and storage medium
CN107079474B (en) For reducing silence descriptor frame transmission rate to improve the apparatus and method of the performance in more SIM wireless telecom equipments
CN109257642A (en) Video resource playback method, device, electronic equipment and storage medium
CN105407225A (en) Data transmission method and Bluetooth equipment
CN108738007B (en) Audio transmission method, equipment and system
CN109358832A (en) Audio frequency transmission method, device, electronic equipment and storage medium
CN109684025A (en) A kind of remote communication method and relevant apparatus
CN106550149A (en) A kind of terminal device and its implementation of idle screen automatic color-changing
CN107223317A (en) Determine the method and device of modulation coding mode
CN109298846A (en) Audio frequency transmission method, device, electronic equipment and storage medium
CN106028401A (en) Selection method and system for voice coding rate in call
CN117062034A (en) Bluetooth data transmission method, device, 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