CN110337095A - The parameter updating method, device and audio that audio listens to equipment listen to equipment - Google Patents
The parameter updating method, device and audio that audio listens to equipment listen to equipment Download PDFInfo
- Publication number
- CN110337095A CN110337095A CN201910495904.9A CN201910495904A CN110337095A CN 110337095 A CN110337095 A CN 110337095A CN 201910495904 A CN201910495904 A CN 201910495904A CN 110337095 A CN110337095 A CN 110337095A
- Authority
- CN
- China
- Prior art keywords
- voice data
- terminal
- audio
- parameter
- data transmission
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
This application involves parameter updating methods, device and audio that a kind of audio listens to equipment to listen to equipment, which is communicated to connect by the low-power consumption bluetooth established between audio listening equipment and terminal;And communicated to connect by low-power consumption bluetooth, obtain the bluetooth performance parameter of terminal;To search corresponding first voice data transmission parameter from the voice data transmission parameter list of low-power consumption bluetooth according to the bluetooth performance parameter of acquisition;Parameter update is carried out according to the firmware that the first voice data transmission parameter found listens to equipment to audio, promote the compatibility that audio listens to equipment and terminal, solve compatible cannot to cause between real-time voice assistant earphone and terminal real-time voice assistant earphone can not normal use the technical issues of, and effectively prevent the loss of data during voice data transmission.
Description
Technical field
This application involves fields of communication technology, and parameter updating method, the device of equipment are listened to more particularly to a kind of audio
And audio listens to equipment.
Background technique
With the prevalence of intelligent sound box, occurs a kind of real-time voice assistant's earphone of energy body-worn in the market.At present
The scheme of use is: real-time voice assistant earphone is established classical Bluetooth communication with terminal and is connect, and real-time voice assistant's earphone is by language
After sound wakes up, earphone passes through hands-free specification agreement (Hands-FreeProfile, abbreviation HFP) or customized serial linear simulation
(RFCOMM) voice data that earphone acquires is sent to terminal by agreement, and voice data is sent to cloud server and carried out by terminal
Speech recognition, and answer corresponding with voice data is returned to terminal.Answer corresponding with voice data is sent to ear by terminal
Machine plays out.
In the conventional technology, it is helped by using the voice data of bluetooth technology with low power consumption transmission compression with reducing real-time voice
The power consumption of hand earphone.But cannot be compatible between the real-time voice assistant earphone and terminal equipped with low-power consumption bluetooth module,
Cause real-time voice assistant earphone can not normal use.
Summary of the invention
Based on this, it is necessary to compatible real-time voice cannot be caused to help between real-time voice assistant earphone and terminal
Hand earphone can not normal use the technical issues of, a kind of audio be provided listen to parameter updating method, device and the audio of equipment and listen
Listen equipment.
A kind of audio listens to the parameter updating method of equipment, which comprises
The low-power consumption bluetooth that the audio is listened between equipment and terminal is established to communicate to connect;
It is communicated to connect by the low-power consumption bluetooth, obtains the bluetooth performance parameter of the terminal;
According to the bluetooth performance parameter of acquisition, the lookup pair from the voice data transmission parameter list of low-power consumption bluetooth
The the first voice data transmission parameter answered;
Parameter is carried out according to the firmware that the first voice data transmission parameter found listens to equipment to the audio
It updates.
In one of the embodiments, the method also includes:
When searching the first voice data transmission parameter corresponding less than with the terminal, more whether Xiang Suoshu terminal issued
The prompt of new speech data transmission parameters;
If receiving the reply for needing to update voice data transmission parameter, Xiang Suoshu terminal sends voice data transmission parameter
Update request, it is described update request be used to indicate by low-power consumption bluetooth described in the terminal test communicate to connect packet loss
Rate.
The packet loss communicated to connect in one of the embodiments, by low-power consumption bluetooth described in the terminal test, packet
It includes:
Second speech data configured transmission is set;
It is communicated to connect under the second speech data configured transmission by low-power consumption bluetooth described in the terminal test
Packet loss.
In one of the embodiments, the method also includes:
Receive the packet loss for the low-power consumption bluetooth communication connection that the terminal returns;
If the packet loss is unsatisfactory for preset condition, the second speech data configured transmission is modified;
The packet loss is retested under second speech data configured transmission after the modification, until the packet loss meets
The preset condition.
The second speech data configured transmission includes compress speech ratio in one of the embodiments,;It is described to pass through institute
State terminal setting second speech data configured transmission, comprising:
By the terminal, the compress speech ratio is set;
The second speech data configured transmission further includes the size of compress speech packet more every than voice data, voice packet transmission
Interval time;It is described to pass through low-power consumption bluetooth communication link described in the terminal test under the second speech data configured transmission
The packet loss connect, comprising:
According to the compress speech than calculating compressed audio data stream size;
According to the compressed audio data stream size calculate the every packet of the voice data size and the voice packet
Send interval time;
In the case where the size of the every packet of the voice data and the voice packet send interval time, pass through the terminal test institute
State the packet loss of low-power consumption bluetooth communication connection;
If the packet loss is unsatisfactory for preset condition, the second speech data configured transmission is modified, comprising:
If the packet loss is unsatisfactory for preset condition, the size and the voice packet for reducing the every packet of the voice data are sent
Interval time.
In one of the embodiments, the method also includes:
Obtain the modification number of the second speech data configured transmission;
When the modification number of the second speech data configured transmission is greater than preset threshold, and the packet loss is still discontented
When sufficient preset condition, the prompt for whether reducing voice data transmission quality issued;
If receiving the prompt for reducing voice data transmission quality, compress speech ratio is improved, and according to the voice after raising
Corresponding third voice data transmission parameter is arranged in compression ratio, and passes through the end under the third voice data transmission parameter
End retests the packet loss of the low-power consumption bluetooth communication connection.
In one of the embodiments, the method also includes:
If the packet loss is unable to satisfy the preset condition, cannot be compatible with by the terminal sending terminal described
The prompt of audio listening equipment;Or
If the packet loss is unable to satisfy the preset condition, the voice data transmission parameter that the terminal is sent is received
Stop updating request, stoppings, which updates request and be used to indicate the audio and listen to equipment, to be issued described in the terminal cannot be compatible with
The prompt of audio listening equipment.
In one of the embodiments, in the bluetooth performance parameter according to acquisition, from preset voice data
Before searching corresponding first voice data transmission parameter in configured transmission list, the method also includes:
Detect the connection signal intensity that the audio listens to equipment;
The bluetooth performance parameter according to acquisition is searched from preset voice data transmission parameter list and is corresponded to
The first voice data transmission parameter, comprising:
If the connection signal intensity is not less than preset threshold, according to the bluetooth performance parameter of acquisition, from preset
Corresponding first voice data transmission parameter is searched in voice data transmission parameter list, and is not turned on secondary retransmission mechanism;
In the bluetooth performance parameter according to acquisition, the lookup pair from preset voice data transmission parameter list
After the first voice data transmission parameter answered, the method also includes:
If the connection signal intensity is lower than preset threshold, listened according to the bluetooth performance parameter of the terminal with the audio
Listening the audio data stream size of equipment, it is determined whether to enable secondary retransmission mechanism;
If opening secondary retransmission mechanism, the packet loss of the low-power consumption bluetooth communication connection is retested, and judges to open
Whether the packet loss after secondary retransmission mechanism meets preset condition;
If the packet loss is still unsatisfactory for preset condition, compress speech ratio, and the compress speech ratio after raising are improved
Under retest the packet loss, until the packet loss meets the preset condition.
Above-mentioned audio listens to the parameter updating method of equipment, passes through the low-power consumption established between audio listening equipment and terminal
Bluetooth communication connection;And communicated to connect by low-power consumption bluetooth, obtain the bluetooth performance parameter of terminal;To according to the indigo plant of acquisition
Tooth performance parameter searches corresponding first voice data transmission ginseng from the voice data transmission parameter list of low-power consumption bluetooth
Number;Parameter update is carried out according to the firmware that the first voice data transmission parameter found listens to equipment to audio, promotes audio
The compatibility of equipment and terminal is listened to, solves that compatible real-time voice cannot be led between real-time voice assistant earphone and terminal
Assistant's earphone can not normal use the technical issues of, and effectively prevent the loss of data during voice data transmission.
Detailed description of the invention
Fig. 1 is the applied environment figure for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 2 is the flow diagram for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 3 a to Fig. 3 b is the flow diagram for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 4 is the flow diagram for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 5 is the flow diagram for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 6 is the flow diagram for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 7 a to Fig. 7 b is the flow diagram for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 8 a is the composition schematic diagram that one embodiment sound intermediate frequency listens to equipment;
Fig. 8 b is the flow diagram for the parameter updating method that one embodiment sound intermediate frequency listens to equipment;
Fig. 9 is the structural block diagram for the parameter updating device that one embodiment sound intermediate frequency listens to equipment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
The application provides a kind of parameter updating method of audio listening equipment, can be applied to application ring as shown in Figure 1
In border.Wherein, audio listens to equipment 110 and is equipped with low-power consumption bluetooth communication module, and terminal 120 is equipped with low-power consumption bluetooth and communicates mould
Block.By low-power consumption bluetooth communication module, the low-power consumption bluetooth communication link between terminal 120 and audio listening equipment 110 is established
It connects.Voice assistant application program, the bluetooth performance of the available terminal 120 of voice assistant application program are installed in terminal 120
Parameter, and the bluetooth performance parameter of terminal 120 is sent to by audio by low-power consumption bluetooth communication connection and listens to equipment 110, sound
Frequency listens to the bluetooth performance parameter that equipment 110 receives terminal 120.Audio, which is listened to, prestores voice data transmission ginseng in equipment 110
Ordered series of numbers table, terminal Bluetooth performance parameter is prestored in voice data transmission parameter list and audio listens to equipment voice data transmission
The corresponding relationship of parameter.To which according to the bluetooth performance parameter received, audio listens to equipment 110 from voice data transmission parameter
The first voice data transmission parameter corresponding with terminal Bluetooth performance parameter is searched in list.When audio listens to the factory of equipment 110
It is provided with voice data transmission parameter, equipment 110 is listened to audio according to the first voice data transmission parameter found and is dispatched from the factory
When the voice data transmission parameter that is arranged be updated so that audio listen to equipment 110 can be compatible with terminal 120, solve
Compatible cannot certainly cause between real-time voice assistant earphone and terminal real-time voice assistant earphone can not normal use skill
Art problem.
It is understood that audio listen to equipment 110 by widely with the listening of many terminals or playback feature relatively
It uses, can be, but not limited to a belt earphone, headphone, headset, pleasant earphone etc..Terminal 120 can be, but not limited to
Portable audio device, portable multimedia apparatus, personal computer, laptop, smart phone, tablet computer and portable
Formula wearable device.
In one embodiment, the application provides a kind of parameter updating method of audio listening equipment, applies in this way
Audio in Fig. 1 is illustrated for listening to equipment, as shown in Fig. 2, the parameter updating method the following steps are included:
S210, the low-power consumption bluetooth established between audio listening equipment and terminal communicate to connect.
Wherein, low-power consumption bluetooth (Bluetooth Low Energy, abbreviation BLE) is the individual of bluetooth sig design
Local area network technology.Significantly reduced relative to classical bluetooth, while low-power consumption bluetooth is intended to keep equivalent communication range power consumption and
Cost.Specifically, audio listens to equipment and terminal is equipped with low-power consumption bluetooth communication module, when audio listening equipment and terminal are equal
When opening bluetooth, establishes the low-power consumption bluetooth that audio is listened between equipment and terminal and communicate to connect.It is understood that passing through sound
Frequency, which listens to the low-power consumption bluetooth communication connection between equipment and terminal, can transmit the voice data such as phonetic order, audio-frequency information.
S220, it is communicated to connect by low-power consumption bluetooth, obtains the bluetooth performance parameter of terminal.
Wherein, bluetooth performance parameter refers to the performance parameter of low-power consumption bluetooth module in terminal, for example, bluetooth performance is joined
Number can be the maximum allowable data packet size of bluetooth protocol version, low-power consumption bluetooth, low-power consumption bluetooth minimum allowable sends interval
Deng.Specifically, terminal is equipped with voice assistant application program, passes through the bluetooth of the available terminal of voice assistant application program
Performance parameter.It is communicated to connect by low-power consumption bluetooth, the bluetooth performance parameter of terminal is sent to audio and listens to equipment, then audio
Listen to the bluetooth performance parameter that equipment obtains terminal.
S230, the bluetooth performance parameter according to the terminal of acquisition, from the voice data transmission parameter list of low-power consumption bluetooth
It is middle to search corresponding first voice data transmission parameter.
Wherein, voice data transmission parameter, which refers to communicating to connect by low-power consumption bluetooth, listens to equipment and terminal in audio
Between transmitting audio data parameter, voice data transmission parameter can be the size of the every packet of voice data, voice packet send between
Every time, compress speech ratio, secondary re-transmission switch parameter etc..Compress speech ratio refers to promote efficiency of transmission for audio and listen to
The collected voice data of equipment carries out compressing used scale parameter.Secondary re-transmission switch parameter refers to for changing secondary
Retransmit the parameter of switch state.Terminal Bluetooth performance parameter is prestored in voice data transmission parameter list and audio listens to equipment
The relation data of first voice data transmission parameter, and voice data transmission parameter list is stored in the storage that audio listens to equipment
Region (such as rom).It should be noted that voice data transmission parameter list is can to listen to equipment low-power consumption according to audio
Bluetooth communication connection terminal and update, then the first voice data transmission parameter may include factory when be stored in advance in audio
The voice data transmission parameter in equipment is listened to, also may include to guarantee that audio listens to the link quality factory of equipment and terminal
The voice data transmission parameter for being arranged and saving afterwards.
Specifically, it is communicated to connect by low-power consumption bluetooth, audio listens to equipment and obtains terminal Bluetooth performance parameter, and audio is listened
It listens and prestores voice data transmission parameter list in equipment, then according to the terminal Bluetooth performance parameter of acquisition from voice data transmission
The corresponding first voice data transmission parameter of terminal Bluetooth performance parameter is searched in parameter list.It should be noted that can incite somebody to action
The memory that audio listens to equipment is divided, and the storage region of fixed space is marked off, which is used for storaged voice
Data transmission parameters list.
S240, parameter is carried out more according to the firmware that the first voice data transmission parameter found listens to equipment to audio
Newly.
Wherein, firmware refers to that serving as audio listens to that equipment is most basic, the software of bottom work, and the program of firmware is
Referring to firmware progress parameter update for perhaps modification can not be directly read by user will be in the program of firmware or source code
Parameter improves.Specifically, terminal Bluetooth is searched from voice data transmission parameter list by terminal Bluetooth performance parameter
The corresponding first voice data transmission parameter of performance parameter listens audio using the first voice data transmission parameter found
The firmware of equipment is listened to carry out parameter update.
In the present embodiment, communicated to connect by the low-power consumption bluetooth established between audio listening equipment and terminal;And pass through
Low-power consumption bluetooth communication connection, obtains the bluetooth performance parameter of terminal;Thus according to the bluetooth performance parameter of acquisition, from low-power consumption
Corresponding first voice data transmission parameter is searched in the voice data transmission parameter list of bluetooth;According to the first language found
The firmware that sound data transmission parameters listen to equipment to audio carries out parameter update, and it is compatible with terminal to promote audio listening equipment
Property, it solves compatible to cause real-time voice assistant earphone can not normal use between real-time voice assistant earphone and terminal
The technical issues of, and it effectively prevent the loss of data during voice data transmission.
In one embodiment, as shown in Figure 3a, the parameter updating method is further comprising the steps of:
S310a, when searching the first voice data transmission parameter corresponding less than with terminal, to terminal sending whether update
The prompt of voice data transmission parameter;
If S320a, receiving the reply for needing to update voice data transmission parameter, voice data transmission ginseng is sent to terminal
Several update requests.
Wherein, it updates request and is used to indicate the packet loss communicated to connect by terminal test low-power consumption bluetooth.Packet loss
(Loss Tolerance or Packet Loss Rate) refers to that lost data packet number accounts for transmitted data group in test
Ratio.Specifically, terminal Bluetooth performance parameter is prestored in voice data transmission parameter list and audio listens to the first language of equipment
The relation data of sound data transmission parameters.First voice data transmission parameter is the terminal for most of models, voice data
Configured transmission list does not simultaneously include the first voice data transmission parameter corresponding with all terminals.Search less than with part terminal
When corresponding first voice data transmission parameter, audio listens to equipment issues the prompt for whether updating voice data transmission parameter,
Currently whether voice data transmission parameter can be updated with inquiry terminal.If the state of present terminal can execute voice data biography
The update of defeated parameter, terminal listen to the prompt that equipment sends update voice data transmission parameter to audio, and audio is listened to equipment and connect
The reply for needing to update voice data transmission parameter is received, Xiang Suoshu terminal sends the update request of voice data transmission parameter,
So as to update the compatibility between voice data transmission parameter promotion terminal and audio listening equipment by dynamic.
Further, as shown in Figure 3b, the parameter updating method is further comprising the steps of:
S310b, when searching the first voice data transmission parameter corresponding less than with terminal, whether detection terminal is in empty
Not busy state;
If S320b, terminal are in idle condition, the update request of voice data transmission parameter is sent to terminal.
Wherein, idle state refers to that terminal is in the state without operation back to desktop.Specifically, search less than with
When the corresponding first voice data transmission parameter of part terminal, voice data transmission parameter can be updated by dynamic, so that eventually
End and audio listening equipment are compatible.Therefore, whether detection terminal is in the idle state or standby mode of no operation, if
Terminal is in idle state or standby mode without operation, and audio listens to equipment and sends voice data transmission parameter to terminal
Update request.In the present embodiment, when searching the first voice data transmission parameter corresponding less than with terminal, whether detection terminal
It is in idle condition, if terminal is in idle condition, the update request of voice data transmission parameter is sent to terminal, to audio
The voice data transmission parameter for listening to equipment is updated, and promotes the compatibility between audio listening equipment and terminal.
In one embodiment, the packet loss communicated to connect by terminal test low-power consumption bluetooth, comprising: the second language of setting
Sound data transmission parameters;The packet loss communicated to connect under second speech data configured transmission by terminal test low-power consumption bluetooth
Rate.
Wherein, second speech data configured transmission refers to that audio is listened to equipment and is arranged according to the bluetooth performance parameter of terminal
Voice data transmission parameter.Specifically, when searching the first voice data transmission parameter corresponding less than with part terminal, sound
Frequency listens to whether environment inquiry terminal speech data transmission parameters allow to change, if the permission of the voice data transmission parameter of terminal
Change, then audio listens to equipment setting second speech data configured transmission.Under second speech data configured transmission, audio is listened to
Equipment sends voice data to terminal, listens to low-power consumption bluetooth communication connection between equipment and terminal by terminal test audio
Packet loss.
Illustratively, firstly, audio, which listens to equipment, sends beginning flag signal to terminal;Secondly, audio is listened in equipment
One section of voice analog signal is prestored, after being compressed this section of voice analog signal using voice data compression algorithm, will be pressed
Voice analog signal after contracting is sent to terminal;Finally, audio, which listens to equipment, sends end mark signal to terminal.Terminal installation
There is voice assistant application program, the packet loss of low-power consumption bluetooth communication connection can be calculated by the voice assistant application program,
And the packet loss being calculated is returned into audio and listens to equipment, audio listens to equipment and judges current voice by the packet loss
Terminal and audio listen to whether the low-power consumption bluetooth communication connection between equipment meets voice data transmission under data transmission parameters
Demand.
In the present embodiment, when terminal Bluetooth performance parameter can not be obtained, by test packet loss to update audio listening
The second speech data configured transmission of equipment, solve because audio listen to the unified setting of equipment factory it is incompatible with present terminal and
Audio is caused to listen to the technical problem that equipment cannot be run or phonetic recognization rate is too low.
In one embodiment, as shown in figure 4, the parameter updating method is further comprising the steps of:
S410, the packet loss for receiving the low-power consumption bluetooth communication connection that terminal returns;
If S420, packet loss are unsatisfactory for preset condition, second speech data configured transmission is modified;
Packet loss is retested under S430, second speech data configured transmission after the modification, until packet loss meets in advance
If condition.
Wherein, the setting of preset condition is related to the quality of voice data transmission quality, and the setting of preset condition can root
It is determined according to actual conditions, does not limit the specific value of preset condition herein.Specifically, terminal is equipped with voice assistant and answers
With program, the packet loss of low-power consumption bluetooth communication connection can be calculated by the voice assistant application program, and will be calculated
Packet loss return to audio listen to equipment, audio listen to equipment receive terminal return low-power consumption bluetooth communication connection packet loss
Rate, and judge whether packet loss meets preset condition.If packet loss is unsatisfactory for preset condition, modification audio listens to the second of equipment
Voice data transmission parameter.In conjunction with modified second speech data configured transmission, low-power consumption bluetooth communication connection is retested
Packet loss, until packet loss meets preset condition.This shows to meet the second speech data transmission of preset condition in packet loss
Under parameter, audio listens to equipment can be compatible with terminal, and terminal is listened to the low-power consumption bluetooth between equipment with audio and communicated
Connection meets the needs of voice data transmission.It should be noted that can save corresponding with the packet loss for meeting preset condition
Second speech data configured transmission can be stored in voice data transmission parameter list by second speech data configured transmission,
The storage region (such as rom) that audio listens to equipment can also be divided, a part is for storing voice data transmission ginseng
Ordered series of numbers table, a part is for storing second speech data configured transmission.It, can when audio listens to equipment and the terminal is again coupled to
Parameter update is carried out to call directly the firmware that second speech data configured transmission listens to equipment to audio, does not need to set again
It sets.
In the present embodiment, by loop test packet loss dynamically to update the second speech data transmission that audio listens to equipment
Parameter, connecting its low-power consumption bluetooth between terminal can be used normally, and solve because audio listens to equipment factory unification
It is arranged incompatible with present terminal and audio is caused to listen to the technical problem that equipment cannot be run or phonetic recognization rate is too low.
In one embodiment, second speech data configured transmission includes compress speech ratio.As shown in figure 5, setting second
Voice data transmission parameter, comprising:
S510, setting compress speech ratio.
Wherein, compress speech is than referring to the permitted ratio compressed to voice data of terminal.Specifically, audio is listened
It listens whether environment inquiry terminal speech compression ratio allows to change, if terminal allows to change compress speech ratio, and returns to change voice
The audio that is indicated to of compression ratio listens to setting, and audio listens to setting and new compress speech ratio is arranged.
Preferably, if the permitted compress speech ratio of terminal be it is variable, it is excellent in order to guarantee the transmission quality of voice data
First setting audio listens to the compress speech of equipment fidelity the most than being minimum compress speech ratio.
Second speech data configured transmission includes the size of the every packet of voice data, voice packet transmission interval time.Continuing with
Referring to Fig. 5, the packet loss communicated to connect under second speech data configured transmission by terminal test low-power consumption bluetooth, including with
Lower step:
S520, according to compress speech than calculating compressed audio data stream size.
Specifically, firstly, audio listening equipment combination audio sample rate is acquired voice data to form voice data
Stream, then, audio listen to the compress speech ratio that equipment obtains terminal, compare collected voice data according to compress speech and flow into
Row compression, and calculate compressed audio data stream size.Preferably, the minimum compress speech of equipment is listened to according to audio
Than then according to the size of minimum compress speech audio data stream more compressed than calculating.
S530, the size that the every packet of voice data is calculated according to compressed audio data stream size and voice packet transmission interval
Time.
Wherein, the ratio that the size of the every packet of voice data and voice packet send interval time is equal to audio data stream size.
Specifically, audio listens to equipment according to the permitted compress speech ratio of terminal, and compresses to collected audio data stream,
And compressed audio data stream size is calculated, to calculate the every packet of voice data according to compressed audio data stream size
Size and voice packet send interval time.
S540, in the case where the size and voice packet of the every packet of voice data send interval time, it is blue to pass through terminal test low-power consumption
The packet loss of tooth communication connection.
Specifically, it is determined between the size of the every packet of voice data and voice packet transmission according to compressed audio data stream size
Every the time, in the case where the size and voice packet of the determining every packet of voice data send interval time parameter, audio listens to equipment to end
End sends voice data, calculates the ratio that lost data packet number accounts for transmitted data group by the voice assistant program of terminal
Rate, i.e. testing audio listen to the packet loss of the low-power consumption bluetooth communication connection between equipment and terminal.
If packet loss is unsatisfactory for preset condition, second speech data configured transmission is modified, comprising:
If S550, packet loss are unsatisfactory for preset condition, when the size and voice packet for reducing the every packet of voice data send interval
Between.
Specifically, when packet loss is unsatisfactory for preset condition, compress speech ratio is selected to remain unchanged, due to audio data stream
Size is equal to the size and the ratio of voice packet transmission interval time of the every packet of voice data, passes through and reduces the big of the every packet of voice data
Small and voice packet sends interval time to guarantee that audio data stream size is constant, to guarantee the transmission quality of voice data not
Become.
In this implementation, if packet loss is unsatisfactory for preset condition, by keeping compress speech than constant, reduction voice data is every
The size and voice packet of packet send interval time, improve the compatibility between audio listening equipment and terminal.
In one embodiment, as shown in fig. 6, the parameter updating method is further comprising the steps of:
S610, the modification number for obtaining second speech data configured transmission;
S620, when second speech data configured transmission modification number be greater than preset threshold, and packet loss still be unsatisfactory for
When preset condition, the prompt for whether reducing voice data transmission quality issued;
If S630, receiving the reply for needing to reduce voice data transmission quality, compress speech ratio is improved;
S640, according to the compress speech after raising than corresponding third voice data transmission parameter is arranged;
S650, the packet loss for retesting low-power consumption bluetooth communication connection by terminal under third voice data transmission parameter
Rate.
Wherein, voice data transmission quality is decided by compress speech ratio.Specifically, if packet loss is unsatisfactory for preset condition,
The size and voice packet for reducing the every packet of voice data send interval time, after modifying second speech data configured transmission every time,
The size and voice packet of the every packet of voice data after reduction send and retest packet loss under interval time parameter, while recording the
The modification number of two voice data transmission parameters.The modification number for obtaining second speech data configured transmission, when the second voice number
Be greater than preset threshold according to the modification number of configured transmission, and packet loss is still when being unsatisfactory for preset condition, audio listen to equipment to
Whether terminal issues reduces the prompt of voice data transmission quality, if the compress speech ratio of terminal allows to change, terminal is to audio
It listens to equipment and returns to the reply for needing to reduce voice data transmission quality, audio, which is listened to equipment and received, to be needed to reduce voice data
The reply of transmission quality, and improve compress speech ratio.Then, according to the compress speech after raising than corresponding third voice is arranged
Data transmission parameters;The packet loss of low-power consumption bluetooth communication connection is retested by terminal under third voice data transmission parameter
Rate.
Further, collected audio data stream is compared according to the compress speech after raising to be compressed, and calculate pressure
Audio data stream size after contracting.The size and voice packet of the every packet of voice data are calculated according to compressed audio data stream size
Send interval time.In the case where the size and voice packet of the every packet of voice data send interval time parameter, pass through the low function of terminal test
Consume the packet loss of Bluetooth communication connection.Terminal will improve compress speech and return to audio listening equipment than the packet loss of rear test,
Audio listens to the packet loss that equipment receives the low-power consumption bluetooth communication connection that terminal returns;If packet loss is unsatisfactory for preset condition,
Third voice data transmission parameter is modified, for example the size for reducing the every packet of voice data and voice packet transmission interval time are to guarantee
Audio data stream size is constant.Packet loss is retested under third voice data transmission parameter after the modification, until packet loss
Meet preset condition.
In the present embodiment, by recording the modification number of second speech data configured transmission, if second speech data transmits
The modification number of parameter is greater than preset threshold, and packet loss remains unchanged when being unsatisfactory for preset condition, and can pass through reduces voice data
Transmission quality promotes audio and listens to compatibility between equipment and terminal, solve because audio listen to the unified setting of equipment factory with
Present terminal is incompatible and audio is caused to listen to the technical problem that equipment cannot be run or phonetic recognization rate is too low.
In one embodiment, the parameter updating method is further comprising the steps of: if the packet loss be unable to satisfy it is described
Preset condition, the prompt that the audio listens to equipment cannot be compatible with by issuing the terminal by the terminal;Or
If the packet loss is unable to satisfy the preset condition, the voice data transmission parameter that the terminal is sent is received
Stop updating request, stoppings, which updates request and be used to indicate the audio and listen to equipment, to be issued described in the terminal cannot be compatible with
The prompt of audio listening equipment.
Specifically, by improving compress speech ratio, and the compress speech after raising is passed than changing voice data under parameter
Defeated parameter, the packet loss that audio listens to the low power loss communication connection between equipment and terminal are unable to satisfy preset condition, show sound
Frequency listens to equipment can not be compatible with terminal, and terminal can be directly issued by terminal cannot be compatible with mentioning for the audio listening equipment
Show.
Alternatively, terminal listens to equipment to audio and sends voice data biography when audio listening equipment can not be compatible with terminal
The stopping of defeated parameter updates request.Audio, which listens to equipment and receives stopping, updating request, and issues terminal and be unable to compatible audio and listen
The prompt of equipment is listened, to remind user, so that user is learnt that the two cannot be compatible with, promotes user experience.
In one embodiment, as shown in Figure 7a, in the bluetooth performance parameter according to acquisition, from the voice of low-power consumption bluetooth
Before searching corresponding first voice data transmission parameter in data transmission parameters list, method further include:
S710, detection audio listen to the connection signal intensity of equipment;
According to the bluetooth performance parameter of acquisition, searched from the voice data transmission parameter list of low-power consumption bluetooth corresponding
First voice data transmission parameter, comprising:
If S720, connection signal intensity are not less than preset threshold, according to the bluetooth performance parameter of acquisition, from low-power consumption bluetooth
Voice data transmission parameter list in search corresponding first voice data transmission parameter, and be not turned on secondary retransmission mechanism.
Wherein, connection signal intensity (Received Signal Strength Indicator, RSSI) refers to audio
The low-power consumption bluetooth signal power that the terminal that equipment receives is sent is listened to, terminal and audio listen to the distance between equipment can shadow
Ring the signal power received.Secondary retransmission mechanism refers to a VoP of every transmission, if the VoP does not have
It is identified and receives, secondary retransmission VoP.
Specifically, detection audio listens to the connection signal intensity of equipment, the connection signal intensity that will test and default threshold
Value is compared, if connection signal intensity is not less than preset threshold, shows the link matter of current low-power consumption bluetooth communication connection
Amount meets the needs of voice data transmission.So, audio listens to equipment according to the bluetooth performance parameter of acquisition, passes from voice data
Corresponding first voice data transmission parameter is searched in defeated parameter list, and does not need to open secondary retransmission mechanism.
As shown in Figure 7b, it in the bluetooth performance parameter according to acquisition, is arranged from the voice data transmission parameter of low-power consumption bluetooth
After searching corresponding first voice data transmission parameter in table, this method further include:
If S730, connection signal intensity are lower than preset threshold, equipment is listened to according to the bluetooth performance parameter of terminal and audio
Audio data stream size it is determined whether to enable secondary retransmission mechanism;
If S740, opening secondary retransmission mechanism, the packet loss of low-power consumption bluetooth communication connection is retested, and judges to open
Whether the packet loss after secondary retransmission mechanism meets preset condition;
If S750, packet loss are still unsatisfactory for preset condition, compress speech ratio, and the compress speech ratio after raising are improved
Under retest packet loss, until packet loss meets preset condition.
Wherein, the bluetooth performance parameter of terminal include the maximum allowable data packet size of low-power consumption bluetooth, low-power consumption bluetooth most
Small to allow to send interval, sending interval according to the maximum allowable data packet size of low-power consumption bluetooth and low-power consumption bluetooth minimum allowable can
To calculate the acceptable audio data stream size of terminal institute.By the acceptable audio data stream size of terminal institute and audio
The audio data stream size listened under equipment parameter current is compared, if the acceptable audio data stream size of terminal institute is big
The audio data stream size under equipment parameter current is listened in audio, illustrates that the performance of terminal is rich, secondary re-transmission can be opened
Mechanism.
Specifically, the connection signal intensity that will test is compared with preset threshold, if connection signal intensity is lower than pre-
If threshold value, show that the link quality of current low-power consumption bluetooth communication connection is unsatisfactory for the demand of voice data transmission.Need root
According to terminal bluetooth performance parameter and audio listen to equipment audio data stream size it is determined whether to enable secondary retransmission mechanism, if
The bluetooth performance parameter of terminal is rich, then opens secondary retransmission mechanism, and retests losing for low-power consumption bluetooth communication connection
Packet rate.Next, it is determined that opening whether the packet loss after secondary retransmission mechanism meets preset condition.On the one hand, if secondary re-transmission machine
Packet loss after system is opened is improved, and meets preset condition, and unlatching parameter to the audio for saving secondary retransmission mechanism is listened to
The storage region (such as rom) of equipment can be automatic when the connection signal intensity of low-power consumption bluetooth is again at such case
Open secondary retransmission mechanism.On the other hand, if packet loss is still unsatisfactory for preset condition, compress speech ratio is improved, and improving
Packet loss is retested under compress speech ratio afterwards, until packet loss meets preset condition.It should be noted that if by opening
Open secondary retransmission mechanism and improve compress speech ratio can not change Bluetooth signal be deteriorated when audio listen to equipment using effect it is poor
When, then equipment is listened to by terminal or audio and issues non-serviceable prompt.
In the present embodiment, by opening secondary retransmission mechanism and improving compress speech ratio, solve when Bluetooth signal is deteriorated
When audio listen to equipment using effect be deteriorated or non-serviceable problem.
In one embodiment, as shown in Figure 8 a, audio listens to equipment and is equipped with low-power consumption bluetooth communication module 810, classics
Bluetooth communication 820.It includes that the piezoelectricity connecting with low-power consumption bluetooth communication module 810 wakes up microphone that audio, which listens to equipment,
811, the first digital microphone 812, the second digital microphone 813, optical proximity sensor 814, Hall sensor 815 and voice
Wake up key 816.It further includes the LED light 821 connecting with classical bluetooth communication 820, earphone loudspeaker that audio, which listens to equipment,
822, multifunction push key 823, volume button 824.As shown in Figure 8 b, a kind of parameter update side of audio listening equipment is provided
Method, method includes the following steps:
S802, the low-power consumption bluetooth established between audio listening equipment and terminal communicate to connect;
S804, it is communicated to connect by low-power consumption bluetooth, obtains the bluetooth performance parameter of terminal;
S806, the bluetooth performance parameter according to acquisition, are searched from the voice data transmission parameter list of low-power consumption bluetooth
Corresponding first voice data transmission parameter;
S808, parameter is carried out more according to the firmware that the first voice data transmission parameter found listens to equipment to audio
Newly;
S810, when searching the first voice data transmission parameter corresponding less than with terminal, to terminal sending whether update
The prompt of voice data transmission parameter;
If S812, receiving the reply for needing to update voice data transmission parameter, voice data transmission ginseng is sent to terminal
Several update requests;
Wherein, it updates request and is used to indicate the packet loss communicated to connect by terminal test low-power consumption bluetooth.Pass through terminal
Test the packet loss of low-power consumption bluetooth communication connection, comprising: setting second speech data configured transmission;It is passed in second speech data
The packet loss communicated to connect under defeated parameter by terminal test low-power consumption bluetooth.
S814, the packet loss for receiving the low-power consumption bluetooth communication connection that terminal returns;
If S816, packet loss are unsatisfactory for preset condition, when the size and voice packet for reducing the every packet of voice data send interval
Between;
Packet loss is retested under S818, second speech data configured transmission after the modification, until packet loss meets in advance
If condition;
S820, the modification number for obtaining second speech data configured transmission;
S822, when second speech data configured transmission modification number be greater than preset threshold, and packet loss still be unsatisfactory for
When preset condition, the prompt for whether reducing voice data transmission quality issued;
If S824, receiving the reply for needing to reduce voice data transmission quality, compress speech ratio is improved;
S826, according to the compress speech after raising than corresponding third voice data transmission parameter is arranged;
S828, the packet loss for retesting low-power consumption bluetooth communication connection by terminal under third voice data transmission parameter
Rate;
If S830, packet loss are unable to satisfy preset condition, the stopping for the voice data transmission parameter that terminal is sent is received more
New request.
Wherein, stop updating and request to be used to indicate the prompt that terminal sending terminal is unable to compatible audio listening equipment.
It should be understood that although each step in above-mentioned flow chart is successively shown according to the instruction of arrow, this
A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps
It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, in above-mentioned flow chart at least
A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps
Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to
Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps
Ground executes.
In one embodiment, as shown in figure 9, providing a kind of parameter updating device 900 of audio listening equipment.The ginseng
Counting updating device includes:
Bluetooth communication link block 910, the low-power consumption bluetooth communication link for establishing between audio listening equipment and terminal
It connects;
Performance parameter obtains module 920, for communicating to connect by low-power consumption bluetooth, obtains the bluetooth performance ginseng of terminal
Number;
Configured transmission searching module 930, for the bluetooth performance parameter according to acquisition, from the voice data of low-power consumption bluetooth
Corresponding first voice data transmission parameter is searched in configured transmission list;
Firmware parameters update module 940, for being set according to the first voice data transmission parameter found to audio listening
Standby firmware carries out parameter update.
In one embodiment, which further includes that parameter updates cue module and updates request transmission mould
Block;Wherein:
Parameter updates cue module, is used for when searching the first voice data transmission parameter corresponding less than with terminal, to
Terminal issues the prompt for whether updating voice data transmission parameter;
Request sending module is updated, if needing to update the reply of voice data transmission parameter for receiving, is sent out to terminal
The updates of sending voice data transmission parameters is requested, and is updated request and is used to indicate and is communicated to connect by terminal test low-power consumption bluetooth
Packet loss.
In one embodiment, which further includes packet loss test module, for low by terminal test
The packet loss of power consumption Bluetooth communication connection.
Further, packet loss test module further includes transmission parameter settings module;Transmission parameter settings module, for setting
Set second speech data configured transmission;
Packet loss test module is also used under second speech data configured transmission logical by terminal test low-power consumption bluetooth
Believe the packet loss of connection.
In one embodiment, the parameter updating device further include packet loss receiving module, configured transmission modified module and
Packet loss retests module;Wherein:
Packet loss receiving module, the packet loss of the low-power consumption bluetooth communication connection for receiving terminal return;
Configured transmission modified module modifies second speech data configured transmission if being unsatisfactory for preset condition for packet loss;
Packet loss retests module, for retesting packet loss under second speech data configured transmission after the modification
Rate, until packet loss meets preset condition.
In one embodiment, second speech data configured transmission includes compress speech ratio;Transmission parameter settings module, also
For compress speech ratio to be arranged;
Second speech data configured transmission further includes the size of compress speech packet more every than voice data, voice packet transmission interval
Time;Packet loss test module is also used to according to compress speech than calculating compressed audio data stream size;After compression
Audio data stream size calculate the every packet of voice data size and voice packet send interval time;In the big of the every packet of voice data
Small and voice packet was sent under interval time, the packet loss communicated to connect by terminal test low-power consumption bluetooth;
Configured transmission modified module, if being unsatisfactory for preset condition for packet loss, reduce the every packet of voice data size and
Voice packet sends interval time.
In one embodiment, which further includes that modification number obtains module, transmission quality reduces prompt
Module and compress speech are than improving module;Wherein:
It modifies number and obtains module, for obtaining the modification number of second speech data configured transmission;
Transmission quality reduces cue module, is greater than default threshold for the modification number when second speech data configured transmission
Value, and packet loss remains unchanged when being unsatisfactory for preset condition, issues the prompt for whether reducing voice data transmission quality;
Compress speech is than improving module, if needing to reduce the reply of voice data transmission quality for receiving, improves language
Sound compression ratio;
Transmission parameter settings module is also used to be passed according to the compress speech after raising than corresponding third voice data is arranged
Defeated parameter;
Packet loss test module is also used under third voice data transmission parameter retest low-power consumption indigo plant by terminal
The packet loss of tooth communication connection.
In one embodiment, which further includes stopping updating cue module, if can not for packet loss
Meet preset condition, the stopping for receiving the voice data transmission parameter that terminal is sent updates request, stops updating request for referring to
Show that audio listens to equipment and issues the prompt that terminal is unable to compatible audio listening equipment.
In one embodiment, which further includes signal strength detection module, is listened to for detecting audio
The connection signal intensity of equipment;
Configured transmission searching module, if being also used to connection signal intensity not less than preset threshold, according to the bluetooth of acquisition
Energy parameter, searches corresponding first voice data transmission parameter from the voice data transmission parameter list of low-power consumption bluetooth, and
It is not turned on secondary retransmission mechanism;
The parameter updating device further includes retransmitting to open judgment module.
It retransmits and opens judgment module, if being lower than preset threshold for connection signal intensity, joined according to the bluetooth performance of terminal
It is determined whether to enable secondary retransmission mechanism for the audio data stream size of several and audio listening equipment;
Packet loss retests module, if being also used to open secondary retransmission mechanism, retests low-power consumption bluetooth communication link
The packet loss connect, and whether the packet loss for judging to open after secondary retransmission mechanism meets preset condition;
Compress speech, if being still unsatisfactory for preset condition for packet loss, improves compress speech ratio than improving module, with
Packet loss is retested under compress speech ratio after raising, until packet loss meets preset condition.
The specific restriction for listening to the parameter updating device of equipment about audio may refer to set above for audio listening
The restriction of standby parameter updating method, details are not described herein.Above-mentioned audio listens to each mould in the parameter updating device of equipment
Block can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independence
In processor in computer equipment, it can also be stored in a software form in the memory in computer equipment, in order to
Processor, which calls, executes the corresponding operation of the above modules.
In one embodiment, it provides a kind of audio and listens to equipment, including memory, processor and be stored in described
On memory and the computer program that can run on the processor, the processor are realized when executing the computer program
The step of method described in any of the above-described embodiment.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes the method and step in above-described embodiment when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. the parameter updating method that a kind of audio listens to equipment, which is characterized in that the described method includes:
The low-power consumption bluetooth that the audio is listened between equipment and terminal is established to communicate to connect;
It is communicated to connect by the low-power consumption bluetooth, obtains the bluetooth performance parameter of the terminal;
According to the bluetooth performance parameter of the terminal of acquisition, searched from the voice data transmission parameter list of low-power consumption bluetooth
Corresponding first voice data transmission parameter;
Parameter update is carried out according to the firmware that the first voice data transmission parameter found listens to equipment to the audio.
2. the method according to claim 1, wherein the method also includes:
When searching the first voice data transmission parameter corresponding less than with the terminal, whether more Xiang Suoshu terminal issues newspeak
The prompt of sound data transmission parameters;
If receiving the reply for needing to update voice data transmission parameter, Xiang Suoshu terminal sends voice data transmission parameter more
New request, described update request to be used to indicate the packet loss communicated to connect by low-power consumption bluetooth described in the terminal test.
3. according to the method described in claim 2, it is characterized in that, passing through low-power consumption bluetooth communication link described in the terminal test
The packet loss connect, comprising:
Second speech data configured transmission is set;
The packet loss communicated to connect under the second speech data configured transmission by low-power consumption bluetooth described in the terminal test
Rate.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Receive the packet loss for the low-power consumption bluetooth communication connection that the terminal returns;
If the packet loss is unsatisfactory for preset condition, the second speech data configured transmission is modified;
The packet loss is retested under second speech data configured transmission after the modification, until described in packet loss satisfaction
Preset condition.
5. according to the method described in claim 4, it is characterized in that, the second speech data configured transmission includes compress speech
Than;The setting second speech data configured transmission, comprising:
The compress speech ratio is set;
The second speech data configured transmission further includes the size of compress speech packet more every than voice data, voice packet transmission interval
Time;It is described to pass through the communication connection of low-power consumption bluetooth described in the terminal test under the second speech data configured transmission
Packet loss, comprising:
According to the compress speech than calculating compressed audio data stream size;
The size of the every packet of the voice data is calculated according to the compressed audio data stream size and the voice packet is sent
Interval time;
In the case where the size of the every packet of the voice data and the voice packet send interval time, by low described in the terminal test
The packet loss of power consumption Bluetooth communication connection;
If the packet loss is unsatisfactory for preset condition, the second speech data configured transmission is modified, comprising:
If the packet loss is unsatisfactory for preset condition, the size and the voice packet for reducing the every packet of the voice data send interval
Time.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
Obtain the modification number of the second speech data configured transmission;
When the second speech data configured transmission modification number be greater than preset threshold, and the packet loss still be unsatisfactory for it is pre-
If when condition, the prompt for whether reducing voice data transmission quality issued;
If receiving the reply for needing to reduce voice data transmission quality, compress speech ratio is improved, and according to the voice after raising
Corresponding third voice data transmission parameter is arranged in compression ratio, and passes through the end under the third voice data transmission parameter
End retests the packet loss of the low-power consumption bluetooth communication connection.
7. according to the method described in claim 4, it is characterized in that, the method also includes:
If the packet loss is unable to satisfy the preset condition, the audio cannot be compatible with by issuing the terminal by the terminal
Listen to the prompt of equipment;Or
If the packet loss is unable to satisfy the preset condition, the stopping for the voice data transmission parameter that the terminal is sent is received
Update request, the stopping update request, which is used to indicate the audio, which listens to the equipment sending terminal, cannot be compatible with the audio
Listen to the prompt of equipment.
8. according to the described in any item methods of claim 2 to 7, which is characterized in that in the bluetooth according to acquisition
Can parameter, searched from the voice data transmission parameter list of low-power consumption bluetooth corresponding first voice data transmission parameter it
Before, the method also includes:
Detect the connection signal intensity that the audio listens to equipment;
The bluetooth performance parameter according to acquisition, the lookup pair from the voice data transmission parameter list of low-power consumption bluetooth
The the first voice data transmission parameter answered, comprising:
If the connection signal intensity is not less than preset threshold, according to the bluetooth performance parameter of acquisition, from low-power consumption bluetooth
Voice data transmission parameter list in search corresponding first voice data transmission parameter, and be not turned on secondary retransmission mechanism;
In the bluetooth performance parameter according to acquisition, searched from the voice data transmission parameter list of low-power consumption bluetooth
After corresponding first voice data transmission parameter, the method also includes:
If the connection signal intensity is lower than preset threshold, set according to the bluetooth performance parameter of the terminal and audio listening
It is determined whether to enable secondary retransmission mechanism for standby audio data stream size;
If opening secondary retransmission mechanism, the packet loss of the low-power consumption bluetooth communication connection is retested, and judges to open secondary
Whether the packet loss after retransmission mechanism meets preset condition;
If the packet loss is still unsatisfactory for preset condition, compress speech ratio is improved, and weight under the compress speech ratio after raising
The packet loss is newly tested, until the packet loss meets the preset condition.
9. the parameter updating device that a kind of audio listens to equipment, which is characterized in that described device includes:
Bluetooth communication link block, the low-power consumption bluetooth communication link for establishing between the audio listening equipment and the terminal
It connects;
Performance parameter obtains module, for communicating to connect by the low-power consumption bluetooth, obtains the bluetooth performance ginseng of the terminal
Number;
Configured transmission searching module is passed for the bluetooth performance parameter according to acquisition from the voice data of low-power consumption bluetooth
Corresponding first voice data transmission parameter is searched in defeated parameter list;
Firmware parameters update module, for being set according to the first voice data transmission parameter found to audio listening
Standby firmware carries out parameter update.
10. a kind of audio listens to equipment, including memory, processor and it is stored on the memory and can be in the processing
The computer program run on device, which is characterized in that the processor realized when executing the computer program claim 1 to
Step in any one of 8 methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910495904.9A CN110337095B (en) | 2019-06-10 | 2019-06-10 | Parameter updating method and device for audio listening equipment and audio listening equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910495904.9A CN110337095B (en) | 2019-06-10 | 2019-06-10 | Parameter updating method and device for audio listening equipment and audio listening equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110337095A true CN110337095A (en) | 2019-10-15 |
CN110337095B CN110337095B (en) | 2022-06-10 |
Family
ID=68140828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910495904.9A Active CN110337095B (en) | 2019-06-10 | 2019-06-10 | Parameter updating method and device for audio listening equipment and audio listening equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110337095B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385621A (en) * | 2020-03-18 | 2020-07-07 | 海信视像科技股份有限公司 | Display device and Bluetooth audio transmission method |
EP4099736A4 (en) * | 2020-02-25 | 2023-06-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmission method, data transmission apparatus, and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047845A (en) * | 2006-03-29 | 2007-10-03 | 腾讯科技(深圳)有限公司 | Device and method for regulating vedio communication data code ratio |
US20100166056A1 (en) * | 2002-12-10 | 2010-07-01 | Steve Perlman | System and method for encoding video using a selected tile and tile rotation pattern |
CN101854308A (en) * | 2010-06-09 | 2010-10-06 | 武汉必联网络技术有限公司 | Self-adaptation realizing method of high-tone quality service network of VoIP system |
US20160360208A1 (en) * | 2002-12-10 | 2016-12-08 | Sony Interactive Entertainment America Llc | System and Method for Selecting a Video Encoding Format Based on Feedback Data |
CN106231353A (en) * | 2016-07-22 | 2016-12-14 | 北京小米移动软件有限公司 | VoIP communication means and device |
CN106792462A (en) * | 2016-12-22 | 2017-05-31 | 深圳Tcl数字技术有限公司 | Bluetooth audio frequency transmits method of adjustment and device |
CN108494788A (en) * | 2018-03-29 | 2018-09-04 | 深圳市国富前海区块链技术股份有限公司 | Transmission method, data transmission device and the computer readable storage medium of data |
-
2019
- 2019-06-10 CN CN201910495904.9A patent/CN110337095B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100166056A1 (en) * | 2002-12-10 | 2010-07-01 | Steve Perlman | System and method for encoding video using a selected tile and tile rotation pattern |
US20160360208A1 (en) * | 2002-12-10 | 2016-12-08 | Sony Interactive Entertainment America Llc | System and Method for Selecting a Video Encoding Format Based on Feedback Data |
CN101047845A (en) * | 2006-03-29 | 2007-10-03 | 腾讯科技(深圳)有限公司 | Device and method for regulating vedio communication data code ratio |
CN101854308A (en) * | 2010-06-09 | 2010-10-06 | 武汉必联网络技术有限公司 | Self-adaptation realizing method of high-tone quality service network of VoIP system |
CN106231353A (en) * | 2016-07-22 | 2016-12-14 | 北京小米移动软件有限公司 | VoIP communication means and device |
CN106792462A (en) * | 2016-12-22 | 2017-05-31 | 深圳Tcl数字技术有限公司 | Bluetooth audio frequency transmits method of adjustment and device |
CN108494788A (en) * | 2018-03-29 | 2018-09-04 | 深圳市国富前海区块链技术股份有限公司 | Transmission method, data transmission device and the computer readable storage medium of data |
Non-Patent Citations (1)
Title |
---|
连达: "蓝牙视频传输系统关键技术研究", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4099736A4 (en) * | 2020-02-25 | 2023-06-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmission method, data transmission apparatus, and electronic device |
US12120759B2 (en) | 2020-02-25 | 2024-10-15 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmission method, data transmission apparatus, and electronic device |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN110337095B (en) | 2022-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112397062B (en) | Voice interaction method, device, terminal and storage medium | |
WO2021000876A1 (en) | Voice control method, electronic equipment and system | |
US9344793B2 (en) | Audio apparatus and methods | |
US10182138B2 (en) | Smart way of controlling car audio system | |
WO2020107466A1 (en) | Point to multi-point data transmission method and device | |
CN113163435B (en) | Method for determining back-off power and method for adjusting transmission power | |
CN108196821B (en) | Hand free device with the identification of continuous keyword | |
US20100330908A1 (en) | Telecommunications device with voice-controlled functions | |
CN110460981B (en) | Bluetooth object searching method and electronic equipment | |
CN111628916B (en) | Method for cooperation of intelligent sound box and electronic equipment | |
CN108696848B (en) | Electronic device for short-range communication and coverage compensation method thereof | |
US20190027139A1 (en) | Digital voice assistant operation system | |
CN107071152A (en) | Method and system for automatically adjusting volume of sound equipment based on state of call equipment | |
CN110337095A (en) | The parameter updating method, device and audio that audio listens to equipment listen to equipment | |
WO2022143258A1 (en) | Voice interaction processing method and related apparatus | |
US9602935B2 (en) | Method for operating a hearing system as well as a hearing device | |
WO2021233398A1 (en) | Wireless audio system, wireless communication method, and device | |
WO2024002298A1 (en) | Voice instruction processing method, apparatus and system, and storage medium | |
WO2021150647A1 (en) | System and method for data analytics for communications in walkie-talkie network | |
CN112634932A (en) | Audio signal processing method and device, server and related equipment | |
CN115499818B (en) | Data processing method, system, electronic device, bluetooth peripheral device and storage medium | |
CN114666444B (en) | Equipment control method and device and electronic equipment | |
CN116056050A (en) | Audio playing method, electronic equipment and system | |
CN110351690B (en) | Intelligent voice system and voice processing method thereof | |
WO2023165513A1 (en) | Communication method, electronic device, and apparatus |
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 |