CN113453114A - Encoding control method, encoding control device, wireless headset and storage medium - Google Patents

Encoding control method, encoding control device, wireless headset and storage medium Download PDF

Info

Publication number
CN113453114A
CN113453114A CN202110735822.4A CN202110735822A CN113453114A CN 113453114 A CN113453114 A CN 113453114A CN 202110735822 A CN202110735822 A CN 202110735822A CN 113453114 A CN113453114 A CN 113453114A
Authority
CN
China
Prior art keywords
wireless
audio data
wireless earphone
parameter
earphone
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
CN202110735822.4A
Other languages
Chinese (zh)
Other versions
CN113453114B (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 CN202110735822.4A priority Critical patent/CN113453114B/en
Publication of CN113453114A publication Critical patent/CN113453114A/en
Priority to PCT/CN2022/094710 priority patent/WO2023273701A1/en
Application granted granted Critical
Publication of CN113453114B publication Critical patent/CN113453114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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 OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/04Speech 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 using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/24Variable rate codecs, e.g. for generating different qualities using a scalable representation such as hierarchical encoding or layered encoding
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a coding control method, a coding control device, a wireless earphone and a storage medium. The method comprises the following steps: in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone transmits the audio data acquired by the first wireless earphone and the second wireless earphone respectively and coded to the electronic equipment; acquiring communication quality parameters of wireless communication between a first wireless earphone and electronic equipment; and respectively controlling the coding rate of the first wireless earphone and the second wireless earphone for coding the collected audio data according to the communication quality parameters. The method can avoid the jamming or interruption of the wireless earphone recording.

Description

Encoding control method, encoding control device, wireless headset and storage medium
Technical Field
The present application relates to the field of audio processing technologies, and in particular, to a method and an apparatus for controlling encoding, a wireless headset, and a storage medium.
Background
With the rapid progress of the technology level and the living standard, the wireless earphone is more and more widely applied due to the characteristics of convenient carrying and the like. Among them, True Wireless Stereo (TWS) headphones are more popular among users because they completely eliminate the trouble of wires and are more free to use. Current wireless headsets are typically provided with a microphone for the collection of sound in a recording scene. However, when the wireless headset is used for recording, the wireless headset is prone to jamming or interruption of recording when the wireless headset transmits the acquired two-channel audio data to the electronic device because the two-channel audio data can be acquired.
Disclosure of Invention
In view of the above problems, the present application provides a coding control method, apparatus, wireless headset and storage medium.
In a first aspect, an embodiment of the present application provides a coding control method, which is applied to a first wireless headset, where the first wireless headset is connected to a second wireless headset and an electronic device, and both the first wireless headset and the second wireless headset are provided with audio acquisition devices. The method comprises the following steps: in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone transmits the audio data acquired by the first wireless earphone and the second wireless earphone and coded to the electronic equipment; acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment; and respectively controlling the coding rates of the first wireless earphone and the second wireless earphone for coding the collected audio data according to the communication quality parameters.
In a second aspect, an embodiment of the present application provides a coding control device, which is applied to a first wireless headset, where the first wireless headset is connected to a second wireless headset and an electronic device, and both the first wireless headset and the second wireless headset are provided with an audio acquisition device, where the device includes: the data transmission module is used for transmitting the audio data which are respectively acquired by the first wireless earphone and the second wireless earphone and are coded to the electronic equipment by the first wireless earphone in the process of audio acquisition of the first wireless earphone and the second wireless earphone; the quality acquisition module is used for acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment; and the code rate control module is used for respectively controlling the first wireless earphone and the second wireless earphone to carry out coding code rate for coding the acquired audio data according to the communication quality parameters.
In a third aspect, an embodiment of the present application provides a wireless headset, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the encoding control method provided by the first aspect above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be called by a processor to execute the encoding control method provided in the first aspect.
According to the scheme, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone connected with the electronic equipment sends the audio data acquired by the first wireless earphone and the second wireless earphone respectively and subjected to encoding to the electronic equipment, communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment are acquired, and then the first wireless earphone and the second wireless earphone are controlled to encode the encoding code rate of the acquired audio data respectively according to the communication quality parameters. Therefore, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, and the code rate of the first wireless earphone and the second wireless earphone for encoding the audio data is controlled according to the communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment, so that the blockage during audio data transmission is avoided, the blockage or interruption of the recorded audio is caused, and the recording effect is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application environment provided by an embodiment of the present application.
Fig. 2 shows another schematic diagram of an application environment provided by the embodiment of the present application.
Fig. 3 shows another schematic diagram of an application environment provided by the embodiment of the present application.
Fig. 4 shows a flow chart of an encoding control method according to an embodiment of the present application.
Fig. 5 shows a flow chart of an encoding control method according to another embodiment of the present application.
Fig. 6 shows a flow chart of an encoding control method according to yet another embodiment of the present application.
Fig. 7 shows a schematic diagram of an application scenario provided in an embodiment of the present application.
Fig. 8 shows another schematic diagram of an application scenario provided in an embodiment of the present application.
Fig. 9 shows a further schematic diagram of an application scenario provided in an embodiment of the present application.
Fig. 10 is a schematic diagram illustrating a principle of a coding control method according to an embodiment of the present application.
Fig. 11 shows a flow chart of an encoding control method according to yet another embodiment of the present application.
Fig. 12 shows a flow chart of an encoding control method according to yet another embodiment of the present application.
Fig. 13 shows a flow chart of an encoding control method according to yet another embodiment of the present application.
FIG. 14 shows a block diagram of an encoding control apparatus according to an embodiment of the present application.
Fig. 15 is a block diagram of a wireless headset for performing a coding control method according to an embodiment of the present application.
Fig. 16 is a storage unit for storing or carrying program codes for implementing the encoding control method according to the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Electronic devices (such as smart phones and tablet computers) have become one of the most common consumer electronic products in daily life, and with the development of wireless communication technology, wireless headsets are increasingly widely used due to the characteristics of convenience in carrying and the like when users record sounds by using the electronic devices. Among them, a True Wireless Stereo (TWS) headset has an increasing share in the headset market due to its excellent characteristics of being more comfortable to wear, convenient to use, unobtrusive, smaller and more beautiful.
Binaural stereo recording (Binaural Audio) is a recording technique that highly restores the real sense of hearing by providing microphones at the positions of both ears of an artificial head so that sound arriving at the position of each ear can be captured and both signals can be reproduced separately at each ear. This reproduction is not suitable for monophonic playback, and if the desired effect is not achieved by speaker playback, headphones are often used to completely separate the sound signals received by the two ears, which allows the artificial head to completely reproduce the content heard by the listener.
When the binaural stereo recording is realized, microphones (microphones, MIC) respectively arranged on two earphones of the TWS earphone can be used for receiving sound, and the effect of the binaural recording technology can be achieved. After two earphones of the TWS earphone collect audio data, the recorded dual-channel audio needs to be transmitted to the mobile phone Bluetooth through a Bluetooth protocol. Because the recording sound field needs to be guaranteed, the format of the recorded audio needs to guarantee at least 48khz, 16bit and 2 sound channels, and the bandwidth after compression also needs at least 400 and 500kbps (kilobits per second), if the signal of bluetooth fluctuates or the earphone is far away from the mobile phone, the transmission bandwidth will become small, and the transmission process is easy to be jammed or interrupted, thereby causing the recording to be jammed or interrupted.
In view of the above problems, the inventor provides a coding control method, an apparatus, a wireless headset and a storage medium provided in this embodiment of the present application, which can be used to transmit audio data to a first wireless headset of an electronic device during recording by the first wireless headset and a second wireless headset, and control code rates of the first wireless headset and the second wireless headset for coding the audio data according to communication quality parameters of wireless communication between the first wireless headset and the electronic device, so as to avoid the jamming or interruption of the recorded audio due to the jamming during audio data transmission, thereby improving the recording effect.
Before introducing the coding control method of the embodiment of the present application, an application environment corresponding to the coding control method is introduced. As shown in fig. 1, an application environment corresponding to the encoding control method includes a sound recording system 10, where the sound recording system 10 includes an electronic device 11, a first wireless headset 12, and a second wireless headset 13. The electronic device 11 may be a smart phone, a tablet computer, an electronic book, a smart wearable device, or the like, which is capable of running an application program and has a function of collecting an audio signal. The first Wireless earphone 12 and the second Wireless earphone 13 form a True Wireless Stereo (TWS) earphone, wherein the left and right earphones of the TWS earphone are independent from each other and do not need to be connected by cables, and Wireless separation of left and right sound channels can be realized. In the embodiment of the present application, the sounds of the left and right channels can be collected by the first wireless earphone 12 and the second wireless earphone 13, respectively.
In the embodiment of the present application, an application program capable of acquiring audio is installed in the electronic device 11, and specifically, the application program may be audio playing software, video playing software, or call software, or other software capable of triggering audio playing. An audio acquisition device, such as a microphone, may be disposed in each of the first wireless headset 12 and the second wireless headset 13. The first wireless headset 12 and the second wireless headset 13 may be provided with an audio capturing device to capture audio signals, and the electronic device 11 may process the audio signals to generate audio files. Of course, the electronic device 11 may also send the audio to be played to at least one of the first wireless headset 12 and the second wireless headset 13, and play the voice by at least one of the first wireless headset 12 and the second wireless headset 13.
As an embodiment, as shown in fig. 2, the electronic device 11 can be connected to the first wireless headset 12 and the second wireless headset 13 at the same time. The first wireless headset 12 and the second wireless headset 13 can directly transmit audio data to the electronic device 11, or receive and play audio data transmitted by the electronic device 11.
As another embodiment, as shown in fig. 3, the electronic device 11 is connected to the first wireless headset 12 through bluetooth, and then the first wireless headset 12 is connected to the second wireless headset 13 through bluetooth, so that the electronic device 11, the first wireless headset 12 and the second wireless headset 13 are connected simultaneously through networking, that is, the first wireless headset 12 serves as a relay for the electronic device 11 and the second wireless headset 13.
In the embodiment of the present application, the electronic device 11, the first wireless headset 12 and the second wireless headset 13 are connected in the manner shown in fig. 3, so that the first wireless headset 12 can be used as a master headset, and the second wireless headset 13 can be used as a slave headset.
Referring to fig. 4, fig. 4 is a flowchart illustrating a coding control method according to an embodiment of the present application. In a specific embodiment, the encoding method may be applied to the above-mentioned sound recording system, and specifically, the execution subject of the method may be a first wireless earphone, the first wireless earphone and the second wireless earphone are both provided with audio acquisition devices, and the first wireless earphone and the second wireless earphone adopt the connection manner shown in fig. 4. As will be described in detail with respect to the flow shown in fig. 4, the encoding control method may specifically include the following steps:
step S110: in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone sends the audio data acquired by the first wireless earphone and the second wireless earphone respectively and coded to the electronic equipment.
The first wireless earphone is used as a main earphone and is connected with the electronic equipment and the second wireless earphone, and when the first wireless earphone and the second wireless earphone are used for recording, the first wireless earphone and the second wireless earphone can respectively collect audio data and encode the collected audio data to obtain the audio data for being transmitted to the electronic equipment. The first wireless earphone encodes the collected audio data to obtain audio data which can be used as audio data corresponding to one of the two channels; the second wireless earphone encodes the collected audio data to obtain audio data, and the audio data can be used as audio data corresponding to another channel in the two channels. Optionally, the audio data collected and encoded by the first wireless headset may be audio data corresponding to a left channel, and the audio data collected and encoded by the second wireless headset may be audio data corresponding to a right channel; alternatively, the audio data collected and encoded by the first wireless headset may be the audio data corresponding to the right channel, and the audio data collected and encoded by the second wireless headset may be the audio data corresponding to the left channel.
In this embodiment of the application, when recording is performed through the first wireless earphone and the second wireless earphone, in a process of acquiring audio data through the first wireless earphone and the second wireless earphone, and when the first wireless earphone is a main earphone connected to the electronic device, the audio data acquired and encoded by the first wireless earphone and the audio data acquired and encoded by the second wireless earphone may be sent to the electronic device through the first wireless earphone. When the first wireless earphone collects and codes audio data to obtain audio data of one of the two channels, the second wireless earphone also collects and codes the audio data to obtain audio data of the other of the two channels, and the second wireless earphone is connected with the first wireless earphone to send the obtained audio data to the first wireless earphone; the first wireless earphone can combine the audio data of the two sound channels and then send the combined audio data to the electronic equipment, so that the electronic equipment can receive the audio data of the two sound channels acquired by the first wireless earphone and the second wireless earphone and generate an audio file according to the received audio data.
In some embodiments, when the first wireless headset and the second wireless headset are used in a recording process, the first wireless headset and the second wireless headset may be in a wearing state or a non-wearing state. For example, the first wireless headset and the second wireless headset may be worn by the same user in the left ear and the right ear, so that sound arriving at each ear position can be captured and recorded audio can be reproduced separately in each ear when played; for another example, the first wireless earphone and the second wireless earphone can be worn by different users in the same real scene, so that audio data at different spatial positions in the space where the real scene is located can be acquired, and a spatial sense can be reproduced when the recorded audio is played; for another example, the first wireless headset may be worn and the second wireless headset may be held in the hand, thereby enabling recording in an interview scenario. Of course, the wearing states of the first wireless earphone and the second wireless earphone for recording may not be limited.
In some embodiments, the first wireless headset and the second wireless headset may also be used to capture the sound of a given user when used for recording. Optionally, the first wireless headset and the second wireless headset may collect the sound of the designated user according to a phase angle between the sound source and the second wireless headset, or according to a voiceprint feature of the designated user, so as to obtain the audio data of the designated user. When the first wireless earphone and the second wireless earphone are used for collecting the sound of a designated user, the first wireless earphone and the second wireless earphone can collect the sound of the same user, for example, the teaching audio of a teacher is collected in a teaching scene; the first wireless headset and the second wireless headset may also be used by the user to capture different user sounds, for example, in an interview scenario, the first wireless headset may be used to capture the interviewer's sound and the second wireless headset may be used for the interviewee's sound. Of course, the specific application scenario of the first wireless headset and the second wireless headset for recording may not be limited.
In some embodiments, when the first wireless headset transmits the encoded audio data collected by the first wireless headset and the encoded audio data collected by the second wireless headset to the electronic device, the encoded audio data collected by the first wireless headset and the encoded audio data collected by the second wireless headset may be combined into an audio data packet.
In a possible implementation manner, the audio data collected by the first wireless headset and the audio data collected by the second wireless headset respectively and subjected to encoding include timestamps, and the first wireless headset may combine the audio data with the same timestamp in the audio data acquired by the first wireless headset and the audio data acquired by the second wireless headset respectively according to the timestamps included in the audio data to obtain an audio data packet for sending to the electronic device.
In a possible implementation manner, the first wireless earphone and the second wireless earphone may generate audio data packets according to audio data generated within the same duration in the audio acquisition process, when recording starts, the first packet of audio data packets may be synchronized, after the synchronization succeeds, the audio data packets generated by the first wireless earphone and the second wireless earphone are combined, and the subsequent generated audio data packets do not need to be synchronized and may be directly combined to obtain the audio data packets for sending to the electronic device.
Step S120: and acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment.
In the embodiment of the application, the first wireless earphone can acquire the communication quality parameter of the wireless communication between the first wireless earphone and the electronic device in the recording process, so that the communication quality of the wireless communication between the first wireless earphone and the electronic device can be determined according to the communication quality parameter, and the coding code rate of the first wireless earphone and the coding code rate of the second wireless earphone for coding the acquired audio data are dynamically controlled, so that the bandwidths required by the first wireless earphone when the audio data are transmitted to the electronic device are different, and the blockage during the transmission is avoided.
In some embodiments, the first wireless headset may detect, in real time, a communication quality parameter of wireless communication between the first wireless headset and the electronic device, so as to control, according to the communication quality parameter, an encoding rate at which the first wireless headset and the second wireless headset encode the collected audio data, so that the encoding rate matches the communication quality; the first wireless headset may also acquire the communication quality parameter of the wireless communication between the first wireless headset and the electronic device according to the set frequency, for example, the first wireless headset may acquire the communication quality parameter of the wireless communication between the first wireless headset and the electronic device every 10 seconds.
In some embodiments, the communication quality parameters may include one or more of the following parameters: received signal strength, retransmission rate, packet loss rate, and channel occupancy. It is to be understood that the obtained communication quality parameter may reflect the communication quality of the wireless communication between the first wireless headset and the electronic device, and of course, the specific communication quality parameter may not be limited, for example, the communication quality parameter may also include a magnitude vector difference, and the like.
Alternatively, the communication quality parameter may include a bluetooth received signal strength. When the first wireless headset acquires the bluetooth receiving signal strength, the first wireless headset may determine the first receiving signal strength according to a broadcast sent by the electronic device, acquire a second receiving signal strength detected by the electronic device from the electronic device, and calculate a third receiving signal strength according to the first receiving signal strength and the second receiving signal strength, as the bluetooth receiving signal strength between the first wireless headset and the electronic device. For example, an average value of the first received signal strength and the second received signal strength may be acquired as the third received signal strength, and the third received signal strength may be obtained by performing a weighted calculation on the first received signal strength and the second received signal strength based on a weight corresponding to the first received signal strength and a weight corresponding to the second received signal strength, for example. In addition, when the first and second received signal strengths are obtained, a plurality of received signal strengths measured within a certain period of time may be obtained, and an average value may be obtained based on the plurality of received signal strengths to obtain the first and second received signal strengths, for example, the first wireless headset may detect 8192 times within 1 second and calculate the average value to obtain the first received signal strength.
Optionally, the communication quality parameter may include a retransmission rate. When the first wireless headset acquires the retransmission rate, the first wireless headset may acquire a ratio between the number of automatic retransmissions and the preset number after sending the preset number of data packets to the electronic device, so as to obtain the retransmission rate. When the first wireless headset acquires the retransmission rate, the first wireless headset may also acquire the number of data packets sent in the target duration as a first number, and the number of automatically retransmitted data packets as a second number, and then acquire a ratio of the second number to the first number to obtain the retransmission rate.
Step S130: and respectively controlling the coding rates of the first wireless earphone and the second wireless earphone for coding the collected audio data according to the communication quality parameters.
In this embodiment of the application, after the first wireless headset acquires the communication quality parameter, the first wireless headset and the second wireless headset may respectively control, according to the communication quality parameter, an encoding rate at which the collected audio data is encoded by the first wireless headset and the second wireless headset, so that the encoding rate is matched with the communication quality parameter, and the situation that the audio data is jammed when being transmitted to the electronic device due to a high encoding rate when the communication quality is poor is avoided.
In some embodiments, when the first wireless headset controls the first wireless headset and the second wireless headset to encode the encoding rate of the collected audio data according to the communication quality parameter, the encoding rate matching the communication quality parameter may be determined, and then the first wireless headset is controlled to encode at the encoding rate; in addition, the determined coding rate can be sent to the second wireless headset to instruct the second wireless headset to perform coding at the coding rate, so that the coding rates of the first wireless headset and the second wireless headset can be respectively controlled according to the communication quality parameters.
In some embodiments, the first wireless headset may control the first wireless headset to perform encoding at the encoding code rate after determining the corresponding encoding code rate according to the communication quality parameter; in addition, the communication quality parameter may be sent to the second wireless headset, and the second wireless headset determines a corresponding coding rate according to the communication quality parameter in the same manner of determining the coding rate, and then controls the second wireless headset to perform coding at the coding rate.
According to the coding control method provided by the embodiment of the application, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, and according to the communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment, the code rates of the first wireless earphone and the second wireless earphone for coding the audio data are controlled, so that the coding code rates are adaptive to the communication quality parameters, the blocking and pause of the audio data during transmission are avoided, the blocking and pause of the recorded audio are caused, and the recording effect is improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a coding control method according to another embodiment of the present application, where the coding control method is applied to the first wireless headset. In this embodiment, the communication quality parameters acquired by the first wireless headset may include a plurality of quality parameters. As will be described in detail with respect to the flow shown in fig. 5, the encoding control method may specifically include the following steps:
step S210: in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone sends the audio data acquired by the first wireless earphone and the second wireless earphone respectively and coded to the electronic equipment.
Step S220: and acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment.
In the embodiment of the present application, step S210 and step S220 may refer to the contents of other embodiments, and are not described herein again.
Step S230: and determining the corresponding coding code rate as a target code rate according to the multiple quality parameters.
In this embodiment of the application, the communication quality parameters of the wireless communication with the electronic device, which are acquired by the first wireless earphone, may include multiple quality parameters, so as to synthesize the multiple quality parameters and determine the coding rate corresponding to the first wireless earphone and the second wireless earphone as the target coding rate. The plurality of quality parameters may include at least received signal strength, retransmission rate, and packet loss rate, and of course, the plurality of quality parameters may also include more parameters for reflecting communication quality between the first wireless headset and the electronic device, for example, parameters such as channel occupancy ratio may also be included.
In some embodiments, a correspondence between the coding rate and different parameter values of the multiple quality parameters may be preset, and the first wireless headset may obtain, as the target coding rate, the coding rate corresponding to the first wireless headset and the second wireless headset by searching for the coding rate corresponding to the obtained parameter values of the multiple quality parameters in the correspondence. Wherein, the higher the parameter values of the quality parameters are, the higher the coding code rate is.
In other embodiments, the first wireless headset may determine whether the current encoding code rate satisfies a first condition according to a plurality of quality parameters, where the first condition is a condition for smooth transmission when audio data encoded according to the current encoding code rate is transmitted to the electronic device under the obtained plurality of quality parameters; if the current coding rate does not meet the first condition, the coding rate can be reduced to avoid jamming during transmission; if the current coding rate meets the first condition, further judging whether the current coding rate meets a second condition, wherein the second condition is a condition for smooth transmission when the current coding rate is transmitted to the electronic equipment under the acquired multiple quality parameters after the coding rate is increased; if the current coding rate meets the second condition, the coding rate can be increased so as to improve the quality of the audio data transmitted to the electronic equipment; if the current coding rate does not satisfy the second condition, the current coding rate can be kept unchanged.
Of course, the specific manner of determining the target code rate by the first wireless earphone according to the multiple quality parameters may not be limited. For example, the first wireless earphone may determine whether the plurality of quality parameters satisfy the corresponding parameter conditions, and determine the corresponding code rate as the target code rate according to the determination result.
Step S240: and respectively controlling the first wireless earphone and the second wireless earphone to encode the collected audio data at the target code rate.
In this embodiment of the present application, after the first wireless headset determines the target code rate, the first wireless headset and the second wireless headset may be respectively controlled to encode the acquired audio data at the target code rate. Optionally, if the current coding rate is different from the target coding rate, the first wireless headset may be controlled to adjust the coding rate to the target coding rate; additionally, the target code rate may be sent to the second wireless headset to instruct the second wireless headset to adjust the coding code rate to the target code rate.
In some embodiments, if the same logic that determines the corresponding code rate as the target code rate according to the multiple quality parameters is set in both the first wireless earphone and the second wireless earphone, the multiple quality parameters may also be sent to the second wireless earphone when controlling the coding rate of the second wireless earphone, so that the second wireless earphone may determine the code rate corresponding to the multiple quality parameters according to the logic and then adjust the coding rate to the code rate.
According to the coding control method provided by the embodiment of the application, in the process of audio collection of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, various quality parameters of wireless communication between the first wireless earphone and the electronic equipment are integrated, and the code rate of the first wireless earphone and the code rate of the second wireless earphone for coding the audio data are controlled, so that the coding rate of the first wireless earphone and the second wireless earphone for coding can be adapted to the various quality parameters, the blockage during audio data transmission is avoided, the blockage or interruption of the recorded audio is caused, and the recording effect is improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a coding control method according to another embodiment of the present application, where the coding control method is applied to the first wireless headset. In this embodiment, the communication quality parameters acquired by the first wireless headset may include a plurality of quality parameters. As will be described in detail with respect to the flow shown in fig. 6, the encoding control method may specifically include the following steps:
step S310: in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone sends the audio data acquired by the first wireless earphone and the second wireless earphone respectively and coded to the electronic equipment.
Step S320: and acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment.
In the embodiment of the present application, step S310 and step S320 may refer to the contents of other embodiments, and are not described herein again.
Step S330: and acquiring the quantity of the quality parameters meeting the corresponding preset parameter conditions in the multiple quality parameters, wherein each quality parameter corresponds to one preset parameter condition.
In this embodiment, each quality parameter of the plurality of quality parameters acquired by the first wireless headset may correspond to a preset parameter condition, where the preset parameter condition is used to determine whether the quality parameter satisfies smooth transmission of audio data to the electronic device. The first wireless headset may match each quality parameter with a preset parameter condition corresponding to each quality parameter, and then determine the number of quality parameters satisfying the corresponding preset parameter condition. It is understood that the greater the number of quality parameters satisfying the preset parameter condition, the better the communication quality of the wireless communication between the first wireless headset and the electronic device.
In some embodiments, the preset parameter condition may be a parameter value condition. Each quality parameter may correspond to a plurality of parameter values, for example, each quality parameter is a plurality of parameter values of the type of quality parameter acquired within a preset time period. The first wireless earphone may obtain a target parameter value corresponding to each quality parameter based on a plurality of parameter values corresponding to each quality parameter; matching a target parameter value corresponding to each quality parameter with a corresponding parameter value condition, wherein each quality parameter corresponds to one parameter value condition; and acquiring the quantity of target quality parameters in the multiple quality parameters, wherein the target parameter values of the target quality parameters are matched with the corresponding parameter value conditions. Alternatively, the first wireless headset may obtain the target parameter value corresponding to each quality parameter based on a plurality of parameter values corresponding to each quality parameter, where an average value of the plurality of parameter values corresponding to each quality parameter is obtained as the target parameter value corresponding to each quality parameter.
It can be understood that, different types of quality parameters have different parameter values, so that corresponding parameter value conditions need to be set for different quality parameters. For example, when the quality parameter is the received signal strength, the parameter value condition may be: the intensity of the received signal is-105 dBm (decibel-milliwatt) -95 dBm; when the quality parameter is the retransmission rate, the parameter value condition may be: the retransmission rate is less than 0.05. Of course, the specific parameter value conditions may not be limited, and may be set according to actual requirements.
In one possible implementation, the first wireless headset may obtain a target parameter value corresponding to each quality parameter and a variation trend corresponding to each quality parameter based on a plurality of parameter values corresponding to each quality parameter; matching a target parameter value corresponding to each quality parameter with a corresponding parameter value condition, wherein each quality parameter corresponds to one parameter value condition; and acquiring the quantity of target quality parameters in the multiple quality parameters, wherein the target parameter values of the target quality parameters are matched with the corresponding parameter value conditions, and the variation trend corresponding to the target quality parameters is not a reduction trend. In this embodiment, the plurality of parameter values corresponding to each quality parameter may be parameter values obtained within a preset time period, and the first wireless headset may further determine a variation trend of each quality parameter based on the plurality of parameter values corresponding to each quality parameter, and determine the number of quality parameters satisfying the corresponding preset parameter condition by integrating whether each quality parameter satisfies the corresponding parameter value condition and the variation trend of each quality parameter. It can be understood that, for a certain quality parameter, if it simultaneously satisfies the corresponding parameter value condition and the trend of the change is not a decreasing trend, it indicates that the communication quality represented by the quality parameter is better.
Step S340: and determining a corresponding coding rate as a target coding rate based on the number, wherein the coding rate is positively correlated with the number.
In this embodiment of the present application, after the first wireless headset determines the number of quality parameters satisfying the corresponding preset parameter condition, the first wireless headset may determine, based on the number, the corresponding coding rate as the target rate. Since the larger the determined above number is, the better the communication quality of the communication between the first wireless headset and the electronic device is, the coding rate may be positively correlated with the number, that is, the larger the number is, the better the communication quality is, and thus the higher the coding rate is.
In some embodiments, the first wireless headset stores a corresponding relationship between the coding rate and the number, and the first wireless headset may determine the coding rate corresponding to the number determined above by looking up the corresponding relationship, and use the coding rate as the target rate.
Illustratively, the coding rate in different cases is illustrated with various quality parameters including the received signal strength and the retransmission rate. Wherein, the coding rate includes three ranges, 100-200 kbps, 200-300 kbps, and 300-400 kbps; when the recording is started, the initial compression code rate is set to be the highest, namely the communication quality is better under the general condition, at the moment, the high code rate is adopted for coding, and the recorded sound quality is the best; in the subsequent recording process, determining an encoding code rate according to the number of parameters meeting the corresponding preset parameter conditions in the received signal strength and the retransmission rate, wherein if the received signal strength and the retransmission rate both meet the corresponding preset parameter conditions, the encoding code rate can be 300-400 kbps; if one of the received signal strength and the retransmission rate meets the corresponding preset parameter condition, the coding code rate can be 200-300 kbps; if the received signal strength and the retransmission rate do not correspond to the preset parameter condition, the coding rate can be 100-200 kbps.
In some scenarios, referring to fig. 7, if the user wears the first wireless headset 12 and the second wireless headset 13 and holds the electronic device 11, the number of quality parameters satisfying the preset parameter condition in the obtained multiple quality parameters is M; referring to fig. 8, if the user wears the first wireless earphone 12 and the second wireless earphone 13 and the electronic device 11 is placed in a pocket of a garment, the number of quality parameters satisfying the preset parameter condition among the obtained multiple quality parameters is N; where N and M are positive integers, since the electronic device 11 in fig. 8 is in a pocket and the wireless communication between the first wireless headset 12 and the electronic device 13 is affected, N obtained is smaller than M, that is, the communication quality in the scenario shown in fig. 8 is inferior to that in the scenario shown in fig. 7, and at this time, the coding rate determined based on N is lower than the coding rate determined based on M, thereby ensuring that the recording does not become stuck or discontinuous when the electronic device 11 is in the pocket.
In some scenarios, please refer to fig. 7 again, if the user wears the first wireless headset 12 and the second wireless headset 13 and holds the electronic device 11, the number of quality parameters satisfying the preset parameter condition among the obtained multiple quality parameters is M; referring to fig. 9, if the user wears the first wireless earphone 12 and the second wireless earphone 13, the electronic device 11 is placed on a desktop far away from the first wireless earphone, and the number of quality parameters satisfying the preset parameter condition among the obtained multiple quality parameters is T; wherein M and T are positive integers, since the electronic device 11 in fig. 9 is placed on a desktop and has a certain distance from a user, wireless communication between the first wireless headset 12 and the electronic device 13 is affected, and thus, T obtained is smaller than M, that is, communication quality in fig. 9 is inferior to that in fig. 7, at this time, a coding rate determined based on T is lower than a coding rate determined based on M, thereby ensuring that when the electronic device 11 has a certain distance from the user, a recording will not be jammed or interrupted.
Step S350: and respectively controlling the first wireless earphone and the second wireless earphone to encode the collected audio data at the target code rate.
In this embodiment of the present application, after the first wireless headset determines the target code rate, the first wireless headset and the second wireless headset may be respectively controlled to encode the acquired audio data at the target code rate. Optionally, if the current coding rate is different from the target coding rate, the first wireless headset may be controlled to adjust the coding rate to the target coding rate; additionally, the target code rate may be sent to the second wireless headset to instruct the second wireless headset to adjust the coding code rate to the target code rate.
In some embodiments, if the same logic that determines the corresponding code rate as the target code rate according to the multiple quality parameters is set in both the first wireless earphone and the second wireless earphone, the multiple quality parameters may also be sent to the second wireless earphone when controlling the coding rate of the second wireless earphone, so that the second wireless earphone may determine the code rate corresponding to the multiple quality parameters according to the logic and then adjust the coding rate to the code rate.
For example, referring to fig. 10, a TWS module, a stability identification module, a rate control module, an encoder, and an SPP (Serial Port Profile) transmission module are disposed in the first wireless headset, and an encoder, a rate control module, and a TWS module are disposed in the second wireless headset. The TWS module of the second wireless earphone is used for transmitting the audio data which is collected and encoded by the TWS module to the first wireless earphone; the stability identification module of the first wireless earphone is used for acquiring communication quality parameters, the code rate control module is used for determining a characteristic value of a corresponding coding code rate according to the communication quality parameters, then the characteristic value is sent to the encoder, and the encoder adjusts the coding code rate to the corresponding code rate according to the characteristic value; the stability identification module of the first wireless earphone can also send the acquired communication quality parameters to the code rate control module of the second wireless earphone, and similarly, the code rate control module in the second wireless earphone can determine the characteristic value of the corresponding coding code rate according to the communication quality parameters and then send the characteristic value to the encoder, and the encoder adjusts the coding code rate to the corresponding code rate according to the characteristic value.
In some embodiments, when the first wireless headset determines the coding rate according to the multiple quality parameters, the coding rates for coding by the first wireless headset and the second wireless headset may be the same or different. Optionally, the first wireless headset may further obtain a communication quality parameter of wireless communication with the second wireless headset, and then determine, according to the communication quality parameter, a corresponding coding rate as the first coding rate, where the mode of determining the coding rate may refer to the mode of determining the coding rate according to the communication quality parameter; if the first code rate is the same as the target code rate, the first wireless earphone and the second wireless earphone can be controlled to carry out coding at the target code rate; if the first code rate is less than the target code rate, the second wireless earphone can be controlled to encode at the first code rate, the first wireless earphone is controlled to encode at the target code rate, and when the audio data of the second wireless earphone and the audio data of the first wireless earphone are combined, the audio data sent by the second wireless earphone can be adjusted to the audio data at the target code rate and then combined to obtain the audio data at the target code rate, so that the smooth transmission of the audio data between the second wireless earphone and the first wireless earphone can be ensured, and the quality of the audio data obtained after the first wireless earphone is encoded is relatively good; if the first code rate is smaller than the target code rate, it is necessary to preferentially ensure that audio data transmission can be smoothly performed between the first wireless headset and the electronic device, and therefore, the first wireless headset and the second wireless headset can be controlled to perform encoding at the target code rate, and therefore, smooth audio data transmission can be ensured between the second wireless headset and the first wireless headset and between the first wireless headset and the electronic device.
According to the coding control method provided by the embodiment of the application, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, the number of quality parameters meeting the corresponding preset parameter modulation condition is determined according to various quality parameters of wireless communication between the first wireless earphone and the electronic equipment, and the corresponding coding code rate is determined according to the number, so that the coding code rate of coding of the first wireless earphone and the second wireless earphone can be adapted to the various quality parameters, the blockage during audio data transmission is avoided, the blockage or interruption of the recorded audio is caused, and the recording effect is improved.
Referring to fig. 11, fig. 11 is a flowchart illustrating a coding control method according to still another embodiment of the present application, where the coding control method is applied to the first wireless headset. In this embodiment, the communication quality parameters acquired by the first wireless headset may include a plurality of quality parameters. As will be described in detail with respect to the flow shown in fig. 11, the encoding control method may specifically include the following steps:
step S410: in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone sends the audio data acquired by the first wireless earphone and the second wireless earphone respectively and coded to the electronic equipment.
Step S420: and acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment.
In the embodiment of the present application, step S310 and step S320 may refer to the contents of other embodiments, and are not described herein again.
Step S430: and acquiring a quality score corresponding to each quality parameter in the multiple quality parameters.
In this embodiment of the application, when determining the corresponding coding code rate based on the multiple quality parameters, the first wireless headset may obtain a quality score corresponding to each of the multiple quality parameters, so as to determine a score of the current communication quality according to the quality score corresponding to each of the multiple quality parameters.
In some embodiments, the first wireless headset may be provided with a correspondence between the quality score of each quality parameter and a different parameter value of each quality parameter, and the first wireless headset may obtain a score corresponding to the parameter value of each quality parameter according to the correspondence. The score of the quality parameter may be in positive correlation with the parameter value of the quality parameter, that is, the higher the parameter value of each quality parameter is, the better the communication quality corresponding to the quality parameter is, and thus the score may also be higher.
Step S440: and acquiring the weight corresponding to each quality parameter.
In the embodiment of the present application, the first wireless headset may further store a weight corresponding to each quality parameter. The weight corresponding to each quality parameter can be preset, wherein the weights of different quality parameters can be the same or different.
Alternatively, the weight corresponding to each quality parameter may be set by the wireless headset before shipment and stored in the wireless headset, so that the wireless headset can read the weight to calculate the score of the communication quality parameter when being used for recording.
Optionally, the weight corresponding to each quality parameter may also be set by the user before the wireless headset starts recording. For example, the electronic device may display a configuration interface for configuring the weight of each quality parameter, and the electronic device may acquire the weight of each quality parameter configured by the user based on the operation of the user; after the electronic device obtains the weight of each quality parameter configured by the user, the electronic device can send the weight of each quality parameter to the wireless headset, so that the wireless headset can obtain the weight of each quality parameter configured in the recording process.
Step S450: and acquiring the quality score corresponding to the communication quality parameter as a total score based on the weight corresponding to each quality parameter and the quality score corresponding to each quality parameter.
In this embodiment, the first wireless headset may perform weighting calculation based on the weight corresponding to each quality parameter and the quality score corresponding to each quality parameter, which are obtained as described above, so as to obtain the quality score corresponding to the communication quality parameter as the total score. The weighting calculation may be weighted summation, weighted averaging, or the like, and the specific calculation manner may not be limited.
Step S460: and determining a corresponding coding rate as a target coding rate based on the total score, wherein the coding rate is positively correlated with the total score.
In this embodiment of the application, after determining the total score corresponding to the communication quality parameter based on the quality score corresponding to each quality parameter, the first wireless headset may determine, based on the total score, a corresponding coding rate as the target coding rate. The total score represents the score of the current communication quality, and the higher the total score is, the better the communication quality is, so that the coding rate and the total score are in positive correlation, that is, the higher the total score is, the higher the coding rate is.
In some embodiments, the first wireless headset stores a corresponding relationship between the coding rate and the total score of the communication quality parameter, and when determining the corresponding coding rate based on the total score, the first wireless headset may search for the coding rate corresponding to the obtained total score based on the corresponding relationship.
Step S470: and respectively controlling the first wireless earphone and the second wireless earphone to encode the collected audio data at the target code rate.
In the embodiment of the present application, step S460 may refer to the contents of the foregoing embodiments, and is not described herein again.
According to the coding control method provided by the embodiment of the application, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, the score of the quality corresponding to each quality parameter is obtained according to various quality parameters of wireless communication between the first wireless earphone and the electronic equipment, and the total score corresponding to the communication quality parameters is calculated according to the score and the weight of each quality parameter.
Referring to fig. 12, fig. 12 is a flowchart illustrating a coding control method according to yet another embodiment of the present application, where the coding control method is applied to the first wireless headset. As will be described in detail with respect to the flow shown in fig. 12, the encoding control method may specifically include the following steps:
step S510: in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone sends the audio data acquired by the first wireless earphone and the second wireless earphone respectively and coded to the electronic equipment.
Step S520: and acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment.
Step S530: and respectively controlling the coding rates of the first wireless earphone and the second wireless earphone for coding the collected audio data according to the communication quality parameters.
In the embodiment of the present application, steps S510 to S530 may refer to contents of other embodiments, which are not described herein again.
Step S540: and if the parameter value corresponding to the communication quality parameter is lower than a first threshold value, detecting the distance between the first wireless earphone and the electronic equipment.
In the embodiment of the application, after the first wireless headset obtains the communication quality parameter, the parameter value corresponding to the communication quality parameter may be compared with the first threshold; determining whether the parameter value is lower than a first threshold value according to the comparison result; if the current communication quality is lower than the first threshold, the communication quality between the first wireless earphone and the electronic equipment is poor, and the poor communication quality is mostly caused by the fact that the first wireless earphone is far away from the electronic equipment, so that the distance between the first wireless earphone and the electronic equipment can be detected to determine whether the current communication quality is caused by the fact that the first wireless earphone is far away from the electronic equipment; if the value is not lower than the first threshold value, the communication quality between the wireless earphone and the electronic equipment is good, and therefore no processing is needed.
In some embodiments, the first wireless headset detects a distance of the first wireless headset from the electronic device, and may determine the distance of the first wireless headset from the electronic device according to a broadcast message sent by the electronic device and a received signal strength indication carried in the broadcast message. The distance between the first wireless earphone and the electronic device may be inversely related to the received signal strength, that is, the greater the received signal strength, the closer the first wireless earphone is to the electronic device. Of course, the manner in which the first wireless headset detects its distance from the electronic device may not be limited.
Step S550: if the distance is less than a distance threshold, increasing the transmission power of the wireless communication of the first wireless headset.
In this embodiment of the present application, after the distance from the first wireless headset to the electronic device is obtained, the distance may be compared with a distance threshold; determining whether the distance is less than a distance threshold value according to the comparison result; when the obtained distance between the first wireless earphone and the electronic device is smaller than the distance threshold, it indicates that the current communication quality of the wireless communication between the first wireless earphone and the electronic device is not good, which is caused by the long distance between the first wireless earphone and the electronic device, so that the transmitting power of the wireless communication of the first wireless earphone can be increased, the transmission quality of the first wireless earphone for transmitting the audio data to the electronic device is improved, and the jamming during the audio data transmission is avoided. When the obtained distance between the first wireless earphone and the electronic device is not less than the distance threshold, it indicates that the current communication quality of the wireless communication between the first wireless earphone and the electronic device is not good, and is not caused by the fact that the distance between the first wireless earphone and the electronic device is long.
In some embodiments, since increasing the transmission power of the wireless communication may increase power consumption, when determining that the distance between the first wireless headset and the electronic device is less than the distance threshold, the first wireless headset may further obtain the remaining power of the first wireless headset; if the remaining capacity is larger than the capacity threshold, it indicates that the current remaining capacity is sufficient, so the transmission power of the wireless communication of the first wireless headset is increased. If the residual electric quantity is less than or equal to the electric quantity threshold value, the current residual electric quantity is insufficient, and at the moment, the wearing state of the first wireless earphone can be acquired; and if the first wireless earphone is in a wearing state, outputting target prompt information, wherein the target prompt information is used for prompting a user to reduce the distance between the first wireless earphone and the electronic equipment.
According to the coding control method provided by the embodiment of the application, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, and according to the communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment, the code rates of the first wireless earphone and the second wireless earphone for coding the audio data are controlled, so that the coding code rates are adaptive to the communication quality parameters, the blocking and pause of the audio data during transmission are avoided, the blocking and pause of the recorded audio are caused, and the recording effect is improved. In addition, the transmission power is increased when the parameter value is lower than the first threshold value and the distance relative to the electronic equipment is greater than the distance threshold value according to the comparison between the parameter value of the communication quality parameter and the first threshold value, so that the smoothness of the first wireless earphone in transmitting the audio data to the electronic equipment is effectively ensured, and the blocking or interruption of the recording is further avoided.
Referring to fig. 13, fig. 13 is a flowchart illustrating a coding control method according to yet another embodiment of the present application, where the coding control method is applied to the first wireless headset. As will be described in detail with respect to the flow shown in fig. 13, the encoding control method may specifically include the following steps:
step S610: in the process of audio collection of the first wireless earphone and the second wireless earphone, the first wireless earphone stores collected and coded first audio data packets in a first buffer area, and stores received second audio data packets collected and coded by the second wireless earphone in a second buffer area.
In this embodiment of the application, in the process of recording by the first wireless earphone and the second wireless earphone, the first wireless earphone and the second wireless earphone are both provided with buffer areas, where the buffer area in the first wireless earphone is a first buffer area and a second buffer area, and the buffer area in the second wireless earphone is a third buffer area. When the second wireless earphone is recording, the second audio data packet obtained by encoding the collected audio data can be put into a third buffer area; the first wireless headset may place the first audio data packet into the first buffer area, where the first audio data packet is obtained by encoding the acquired audio data. And after the second wireless earphone sends the second audio data packet in the third buffer area to the first wireless earphone, the first wireless earphone stores the second audio data packet in the second buffer area, and then the uplink data sending process is carried out.
Step S620: and merging the first audio data packet and the second audio data packet and then sending the merged first audio data packet and second audio data packet to the electronic equipment.
In this embodiment of the application, when sending the uplink data, the first wireless headset may take out the first audio data packet in the first buffer and the second audio data packet in the second buffer, and then send the same audio data packet after merging the first audio data packet and the second audio data packet to the electronic device.
In some embodiments, during binaural recording, synchronization between the audio data packets acquired by the first wireless headset and the second wireless headset needs to be ensured, that is, acquisition times corresponding to the first audio data packet and the second audio data packet that the first wireless headset needs to combine need to be synchronized and consistent, so as to ensure authenticity of the combined audio data packets. Optionally, based on the first time stamp of the first audio data packet and the second time stamp of the second audio data packet, if the first time stamp is consistent with the second time stamp, the first audio data and the second audio data may be integrated into one audio data packet.
In other embodiments, the first wireless headset may synchronize the first audio packet at the beginning of the recording, and the subsequent audio packets may be merged directly. If the first audio data packet and the second audio data packet are the first audio data packet in the recording process, comparing the first audio data packet with the second audio data packet according to the synchronous information in the first audio data packet and the second audio data packet; and if the first audio data packet is matched with the second audio data, merging the first audio data packet and the second audio data packet and then sending the merged first audio data packet and second audio data packet to the electronic equipment. For subsequently acquired audio data packets, combining the audio data packets respectively acquired by the first wireless earphone and the second wireless earphone according to the time sequence of acquisition, and transmitting the audio data packets to the electronic equipment; certainly, the first wireless earphone and the second wireless earphone may also number the collected and encoded audio data packets according to the sequence of the audio data packet generation, and after the comparison of the respective generated first audio data packets is successful, the audio data packets with the same number need to be directly merged and then transmitted to the electronic device.
After receiving the audio data packet transmitted by the first wireless headset, the electronic device may generate an audio file based on the audio data packet, specifically, the audio file may be generated in a specified audio format after performing operations such as encoding or optimization on the audio data packet, where the specified audio format may be MP3, WAV, FLC, and the like, and the specific audio format may not be limited.
In some embodiments, when the first wireless headset transmits the audio data, which is acquired by the first wireless headset and encoded by the second wireless headset, to the electronic device, code rate information may be further added to the audio data, so that after the electronic device receives the audio data, the code rate of the audio data may be obtained according to the code rate information, and thus when the audio data is further processed to generate an audio file, the sampling rate, the bit number information, the intensity of compressed data, and the like during processing may be adjusted according to the code rate.
Step S630: and acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment.
Step S640: and respectively controlling the coding rates of the first wireless earphone and the second wireless earphone for coding the collected audio data according to the communication quality parameters.
In the embodiment of the present application, step S630 and step S640 may refer to the contents of the foregoing embodiments, and are not described herein again.
In some embodiments, after the first wireless headset obtains the communication quality parameter, the first wireless headset may further compare a parameter value corresponding to the communication quality parameter with a second threshold; determining whether the parameter value is lower than a second threshold value according to the comparison result; if the value is lower than the second threshold, it indicates that the communication quality between the first wireless earphone and the electronic device is not good, and in this case, the situation that the acquired audio data is lost in the process of being transmitted to the electronic device may occur, so that the buffer data amount of the first buffer area and the second buffer area may be increased, the audio data is prevented from being lost in the case of low transmission efficiency, and the acquired audio content may be effectively retained.
It should be noted that the rate control method provided in the foregoing embodiment may also be applied to a second wireless headset, and when the second wireless headset is connected to the electronic device and the first wireless headset as a main headset, the rate control method provided in the foregoing embodiment may be executed.
According to the coding control method provided by the embodiment of the application, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, and according to the communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment, the code rates of the first wireless earphone and the second wireless earphone for coding the audio data are controlled, so that the coding code rates are adaptive to the communication quality parameters, the blocking and pause of the audio data during transmission are avoided, the blocking and pause of the recorded audio are caused, and the recording effect is improved. In addition, when the first wireless earphone transmits the audio data acquired by the first wireless earphone and the second wireless earphone to the electronic equipment, the audio data are combined and then transmitted, the audio data acquired and coded by the first wireless earphone and the second wireless earphone are synchronized, the electronic equipment does not need to receive the audio data, and then the audio data corresponding to the first wireless earphone and the second wireless earphone are synchronously compared, so that the complex design of the electronic equipment side can be reduced.
Referring to fig. 14, a block diagram of an encoding control apparatus 400 according to an embodiment of the present disclosure is shown. This encoding control device 400 is applied to a first wireless headset, which is connected to a second wireless headset and an electronic device, and both the first wireless headset and the second wireless headset are provided with audio acquisition devices. The encoding control device 400 includes: a data transmission module 410, a quality acquisition module 420 and a rate control module 430. The data transmission module 410 is configured to send, to the electronic device, audio data that are acquired and encoded by the first wireless headset and the second wireless headset respectively in a process of audio acquisition by the first wireless headset and the second wireless headset; the quality obtaining module 420 is configured to obtain a communication quality parameter of wireless communication between the first wireless headset and the electronic device; the code rate control module 430 is configured to respectively control the coding code rates at which the first wireless headset and the second wireless headset encode the acquired audio data according to the communication quality parameter.
In some embodiments, the data transmission module 410 may include: the device comprises a data caching module and a data sending module. The data cache module is used for storing the collected and coded first audio data packet in a first buffer area by the first wireless earphone and storing the received second audio data packet collected and coded by the second wireless earphone in a second buffer area; the data sending module is used for merging the first audio data packet and the second audio data packet and sending the merged first audio data packet and the merged second audio data packet to the electronic equipment.
As a possible implementation manner, the data transmission module 410 may be further configured to compare the first audio data packet and the second audio data according to the synchronization information in the first audio data packet and the second audio data packet if the first audio data packet and the second audio data packet are the first audio data packet in the recording process; and if the first audio data packet is matched with the second audio data, merging the first audio data packet and the second audio data packet and then sending the merged first audio data packet and the merged second audio data packet to the electronic equipment.
As a possible implementation, the encoding control apparatus 400 may further include: and a cache adjusting module. The buffer adjustment module is configured to, after the communication quality parameter of communication between the first wireless headset and the electronic device is obtained, increase buffer data amounts of the first buffer and the second buffer if a parameter value corresponding to the communication quality parameter is lower than a second threshold.
In some embodiments, the plurality of quality parameters comprises one or more of the following quality parameters: received signal strength, retransmission rate, and packet loss rate.
In some embodiments, the communication quality parameter comprises a plurality of quality parameters. The rate control module 430 includes a rate determination unit and a control execution unit. The code rate determining unit is used for determining a corresponding code rate as a target code rate according to the multiple quality parameters; the control execution unit is used for respectively controlling the first wireless earphone and the second wireless earphone to encode the collected audio data at the target code rate.
As a possible implementation, the code rate determining unit may be configured to: acquiring the quantity of quality parameters which meet corresponding preset parameter conditions in the multiple quality parameters, wherein each quality parameter corresponds to one preset parameter condition; and determining a corresponding coding rate as a target coding rate based on the number, wherein the coding rate is positively correlated with the number.
Optionally, each quality parameter includes a plurality of parameter values within a preset time length. The code rate determining unit may be configured to: acquiring a target parameter value corresponding to each quality parameter based on a plurality of parameter values corresponding to each quality parameter; matching the target parameter value corresponding to each quality parameter with the corresponding parameter value condition, wherein each quality parameter corresponds to one parameter value condition; and acquiring the quantity of target quality parameters in the multiple quality parameters, wherein the target parameter values of the target quality parameters are matched with the corresponding parameter value conditions.
As a possible implementation, the code rate determining unit may be configured to: obtaining a quality score corresponding to each quality parameter in the multiple quality parameters; acquiring the weight corresponding to each quality parameter; acquiring a quality score corresponding to the communication quality parameter as a total score based on the weight corresponding to each quality parameter and the quality score corresponding to each quality parameter; and determining a corresponding coding rate as a target coding rate based on the total score, wherein the coding rate is positively correlated with the total score.
In some embodiments, the encoding control apparatus 400 may further include: the device comprises a distance acquisition module and a power increasing module. The distance acquisition module is used for detecting the distance between the first wireless earphone and the electronic equipment if the parameter value corresponding to the communication quality parameter is lower than a first threshold value; the power increasing module is configured to increase the transmission power of the wireless communication of the first wireless headset if the distance is less than a distance threshold.
As a possible implementation, the power increasing module may be configured to: if the distance is smaller than a distance threshold value, acquiring the residual electric quantity of the first wireless earphone; and if the residual electric quantity is larger than the electric quantity threshold value, increasing the transmitting power of the wireless communication of the first wireless earphone.
Optionally, the encoding control apparatus 400 may further include: wear detection module and suggestion module. The wearing detection module is used for acquiring the wearing state of the first wireless earphone if the residual electric quantity is less than or equal to an electric quantity threshold value; the prompting module is used for outputting target prompting information if the first wireless earphone is in a wearing state, wherein the target prompting information is used for prompting a user to reduce the distance between the first wireless earphone and the electronic equipment.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
To sum up, the scheme that this application provided, through the in-process that carries out the audio frequency collection at first wireless earphone and second wireless earphone, the audio data transmission after the first wireless earphone who is connected with electronic equipment gathers first wireless earphone and second wireless earphone separately and through the code sends electronic equipment, acquires wireless communication's between first wireless earphone and the electronic equipment communication quality parameter, then according to communication quality parameter, controls first wireless earphone and second wireless earphone respectively and carries out the code rate of code to the audio data of gathering. Therefore, in the process of audio acquisition of the first wireless earphone and the second wireless earphone, the first wireless earphone is used for transmitting audio data to the electronic equipment, and the code rate of the first wireless earphone and the second wireless earphone for encoding the audio data is controlled according to the communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment, so that the blockage during audio data transmission is avoided, the blockage or interruption of the recorded audio is caused, and the recording effect is improved.
Referring to fig. 15, a block diagram of a wireless headset according to an embodiment of the present application is shown. The wireless headset 100 of the present application may include one or more of the following components: a processor 110, a memory 120, an audio capture device 130, a communication device 140, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform the methods as described in the foregoing method embodiments, the memory 120, the audio capture device 130, and the communication device 140 all connected to the processor 110. The audio capture device 130 may be a microphone and the communication device 140 may be a wireless communication device, such as a bluetooth communication module
Processor 110 may include one or more processing cores. The processor 110 interfaces with various components throughout the wireless headset 100 using various interfaces and lines to perform various functions of the wireless headset 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The memory data area may also store data created by the wireless headset 100 during use (e.g., phone book, audio-video data, chat log data), etc.
Referring to fig. 16, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (15)

1. A coding control method is applied to a first wireless earphone, the first wireless earphone is connected with a second wireless earphone and an electronic device, the first wireless earphone and the second wireless earphone are both provided with audio acquisition devices, and the method comprises the following steps:
in the process of audio acquisition of the first wireless earphone and the second wireless earphone, transmitting the audio data acquired and encoded by the first wireless earphone and the second wireless earphone to the electronic equipment;
acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment;
and respectively controlling the coding rates of the first wireless earphone and the second wireless earphone for coding the collected audio data according to the communication quality parameters.
2. The method of claim 1, wherein sending the encoded audio data collected by each of the first wireless headset and the second wireless headset to the electronic device comprises:
the first wireless earphone stores the collected and coded first audio data packet in a first buffer area, and stores the received and coded second audio data packet collected by the second wireless earphone in a second buffer area;
and merging the first audio data packet and the second audio data packet and then sending the merged first audio data packet and second audio data packet to the electronic equipment.
3. The method of claim 2, wherein prior to sending the merged first audio data packet and second audio data packet to the electronic device, the method further comprises:
if the first audio data packet and the second audio data packet are the first audio data packet in the audio acquisition process, comparing the first audio data packet with the second audio data packet according to the synchronous information in the first audio data packet and the second audio data packet;
and if the first audio data packet is matched with the second audio data, merging the first audio data packet and the second audio data packet and then sending the merged first audio data packet and the merged second audio data packet to the electronic equipment.
4. The method of claim 2, wherein after the obtaining of the communication quality parameter for the communication between the first wireless headset and the electronic device, the method further comprises:
and if the parameter value corresponding to the communication quality parameter is lower than a second threshold value, increasing the buffer data amount of the first buffer area and the second buffer area.
5. The method of claim 1, wherein the communication quality parameters comprise one or more of the following quality parameters: received signal strength, retransmission rate, and packet loss rate.
6. The method according to any one of claims 1 to 5, wherein the communication quality parameter comprises a plurality of quality parameters, and the controlling the coding rates of the first wireless headset and the second wireless headset to encode the collected audio data according to the communication quality parameters comprises:
determining a corresponding coding code rate as a target code rate according to the multiple quality parameters;
and respectively controlling the first wireless earphone and the second wireless earphone to encode the collected audio data at the target code rate.
7. The method of claim 6, wherein the determining the corresponding coding rate as the target coding rate according to the quality parameters comprises:
acquiring the quantity of quality parameters which meet corresponding preset parameter conditions in the multiple quality parameters, wherein each quality parameter corresponds to one preset parameter condition;
and determining a corresponding coding rate as a target coding rate based on the number, wherein the coding rate is positively correlated with the number.
8. The method according to claim 7, wherein each quality parameter includes a plurality of parameter values within a preset time duration, and the obtaining the number of quality parameters satisfying the corresponding preset parameter condition from among the plurality of quality parameters includes:
acquiring a target parameter value corresponding to each quality parameter based on a plurality of parameter values corresponding to each quality parameter;
matching the target parameter value corresponding to each quality parameter with the corresponding parameter value condition, wherein each quality parameter corresponds to one parameter value condition;
and acquiring the quantity of target quality parameters in the multiple quality parameters, wherein the target parameter values of the target quality parameters are matched with the corresponding parameter value conditions.
9. The method of claim 6, wherein the determining the corresponding coding rate as the target coding rate according to the quality parameters comprises:
obtaining a quality score corresponding to each quality parameter in the multiple quality parameters;
acquiring the weight corresponding to each quality parameter;
acquiring a quality score corresponding to the communication quality parameter as a total score based on the weight corresponding to each quality parameter and the quality score corresponding to each quality parameter;
and determining a corresponding coding rate as a target coding rate based on the total score, wherein the coding rate is positively correlated with the total score.
10. The method of any of claims 1-6, wherein after said obtaining a communication quality parameter for wireless communication between the first wireless headset and the electronic device, the method further comprises:
if the parameter value corresponding to the communication quality parameter is lower than a first threshold value, detecting the distance between the first wireless earphone and the electronic equipment;
if the distance is less than a distance threshold, increasing the transmission power of the wireless communication of the first wireless headset.
11. The method of claim 10, wherein increasing the transmit power of the wireless communication of the first wireless headset if the distance is less than a distance threshold comprises:
if the distance is smaller than a distance threshold value, acquiring the residual electric quantity of the first wireless earphone;
and if the residual electric quantity is larger than the electric quantity threshold value, increasing the transmitting power of the wireless communication of the first wireless earphone.
12. The method of claim 11, wherein after the obtaining the remaining power of the first wireless headset, the method further comprises:
if the residual electric quantity is smaller than or equal to an electric quantity threshold value, acquiring the wearing state of the first wireless earphone;
and if the first wireless earphone is in a wearing state, outputting target prompt information, wherein the target prompt information is used for prompting a user to reduce the distance between the first wireless earphone and the electronic equipment.
13. The utility model provides a code control device which characterized in that is applied to first wireless earphone, first wireless earphone is connected with second wireless earphone and electronic equipment, first wireless earphone with second wireless earphone all is provided with audio acquisition device, the device includes: a data transmission module, a quality acquisition module and a code rate control module, wherein,
the data transmission module is used for transmitting the audio data which are respectively collected by the first wireless earphone and the second wireless earphone and are coded to the electronic equipment in the process of audio collection of the first wireless earphone and the second wireless earphone;
the quality acquisition module is used for acquiring communication quality parameters of wireless communication between the first wireless earphone and the electronic equipment;
and the code rate control module is used for respectively controlling the first wireless earphone and the second wireless earphone to carry out coding code rate for coding the acquired audio data according to the communication quality parameters.
14. A wireless headset, comprising:
an audio acquisition device;
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-12.
15. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 12.
CN202110735822.4A 2021-06-30 2021-06-30 Encoding control method, encoding control device, wireless headset and storage medium Active CN113453114B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110735822.4A CN113453114B (en) 2021-06-30 2021-06-30 Encoding control method, encoding control device, wireless headset and storage medium
PCT/CN2022/094710 WO2023273701A1 (en) 2021-06-30 2022-05-24 Coding control method and apparatus, wireless earphone, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110735822.4A CN113453114B (en) 2021-06-30 2021-06-30 Encoding control method, encoding control device, wireless headset and storage medium

Publications (2)

Publication Number Publication Date
CN113453114A true CN113453114A (en) 2021-09-28
CN113453114B CN113453114B (en) 2023-04-07

Family

ID=77814598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110735822.4A Active CN113453114B (en) 2021-06-30 2021-06-30 Encoding control method, encoding control device, wireless headset and storage medium

Country Status (2)

Country Link
CN (1) CN113453114B (en)
WO (1) WO2023273701A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339350A (en) * 2021-12-30 2022-04-12 Oppo广东移动通信有限公司 Data processing method and device and electronic equipment
CN115022537A (en) * 2022-05-24 2022-09-06 Oppo广东移动通信有限公司 Video shooting method and device, electronic equipment and storage medium
WO2023273701A1 (en) * 2021-06-30 2023-01-05 Oppo广东移动通信有限公司 Coding control method and apparatus, wireless earphone, and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622198A (en) * 2004-12-31 2005-06-01 清华大学 Self-adaptive frame selection line spectrum frequency parameter quantization method
CN101252425A (en) * 2008-04-09 2008-08-27 杭州华三通信技术有限公司 Loss package error correcting method and system of self-adapting network
US20130115946A1 (en) * 2011-11-07 2013-05-09 Renesas Mobile Corporation Transmission of channel quality indications
JP2013110635A (en) * 2011-11-22 2013-06-06 Kddi Corp Handover parameter adjusting device, handover parameter adjusting method and computer program
CN104517613A (en) * 2013-09-30 2015-04-15 华为技术有限公司 Method and device for evaluating speech quality
US20150296395A1 (en) * 2014-04-15 2015-10-15 Telefonaktiebolaget L M Ericsson (Publ) Technique for Evaluation of a Parameter Adjustment in a Mobile Communications Network
CN105190747A (en) * 2012-10-05 2015-12-23 弗朗霍夫应用科学研究促进协会 Encoder, decoder and methods for backward compatible dynamic adaption of time/frequency resolution in spatial-audio-object-coding
US20180279050A1 (en) * 2017-03-24 2018-09-27 Samsung Electronics Co., Ltd. Method and electronic device for transmitting audio data to multiple external devices
CN110855522A (en) * 2019-11-13 2020-02-28 国网上海市电力公司 Electric energy meter communication quality detection method based on analytic hierarchy process
WO2020124611A1 (en) * 2018-12-22 2020-06-25 华为技术有限公司 Rate control method and device
CN112583716A (en) * 2020-12-22 2021-03-30 广州技象科技有限公司 Path selection method and device based on data transmission of Internet of things

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457700B (en) * 2010-10-26 2015-08-12 中兴通讯股份有限公司 Audio data transmission method and system
DK2590436T3 (en) * 2011-11-01 2014-06-02 Phonak Ag Binaural hearing device and method to operate the hearing device
CN107333339B (en) * 2017-05-16 2020-09-01 恒玄科技(上海)股份有限公司 Audio data transmission method between double wireless earphones and double wireless earphones
CN109120933B (en) * 2018-10-11 2021-05-14 广州酷狗计算机科技有限公司 Method, device and equipment for dynamically adjusting code rate and storage medium
CN110913375B (en) * 2019-11-27 2023-07-04 南京中感微电子有限公司 Wireless communication system and equipment
CN112291661A (en) * 2020-10-23 2021-01-29 安声(重庆)电子科技有限公司 Bluetooth earphone
CN113453114B (en) * 2021-06-30 2023-04-07 Oppo广东移动通信有限公司 Encoding control method, encoding control device, wireless headset and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622198A (en) * 2004-12-31 2005-06-01 清华大学 Self-adaptive frame selection line spectrum frequency parameter quantization method
CN101252425A (en) * 2008-04-09 2008-08-27 杭州华三通信技术有限公司 Loss package error correcting method and system of self-adapting network
US20130115946A1 (en) * 2011-11-07 2013-05-09 Renesas Mobile Corporation Transmission of channel quality indications
JP2013110635A (en) * 2011-11-22 2013-06-06 Kddi Corp Handover parameter adjusting device, handover parameter adjusting method and computer program
CN105190747A (en) * 2012-10-05 2015-12-23 弗朗霍夫应用科学研究促进协会 Encoder, decoder and methods for backward compatible dynamic adaption of time/frequency resolution in spatial-audio-object-coding
CN104517613A (en) * 2013-09-30 2015-04-15 华为技术有限公司 Method and device for evaluating speech quality
US20150296395A1 (en) * 2014-04-15 2015-10-15 Telefonaktiebolaget L M Ericsson (Publ) Technique for Evaluation of a Parameter Adjustment in a Mobile Communications Network
US20180279050A1 (en) * 2017-03-24 2018-09-27 Samsung Electronics Co., Ltd. Method and electronic device for transmitting audio data to multiple external devices
WO2020124611A1 (en) * 2018-12-22 2020-06-25 华为技术有限公司 Rate control method and device
CN110855522A (en) * 2019-11-13 2020-02-28 国网上海市电力公司 Electric energy meter communication quality detection method based on analytic hierarchy process
CN112583716A (en) * 2020-12-22 2021-03-30 广州技象科技有限公司 Path selection method and device based on data transmission of Internet of things

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEI GENG: "An Amended Rate Model on the Intra-rate and Quantization Parameter for Video Coding under the Complexity Constrains", 《2009 SECOND INTERNATIONAL SYMPOSIUM ON INFORMATION SCIENCE AND ENGINEERING》 *
熊丽荣: "基于Q-learning的HTTP自适应流码率控制方法研究", 《 通信学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023273701A1 (en) * 2021-06-30 2023-01-05 Oppo广东移动通信有限公司 Coding control method and apparatus, wireless earphone, and storage medium
CN114339350A (en) * 2021-12-30 2022-04-12 Oppo广东移动通信有限公司 Data processing method and device and electronic equipment
CN114339350B (en) * 2021-12-30 2023-12-05 Oppo广东移动通信有限公司 Data processing method and device and electronic equipment
CN115022537A (en) * 2022-05-24 2022-09-06 Oppo广东移动通信有限公司 Video shooting method and device, electronic equipment and storage medium
CN115022537B (en) * 2022-05-24 2023-08-29 Oppo广东移动通信有限公司 Video shooting method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113453114B (en) 2023-04-07
WO2023273701A1 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
CN113453114B (en) Encoding control method, encoding control device, wireless headset and storage medium
CN113542479B (en) Recording method, recording device, wireless earphone and storage medium
US10930262B2 (en) Artificially generated speech for a communication session
EP3273620B1 (en) Controlling connected multimedia devices
CN112313929A (en) Method for automatically switching Bluetooth audio coding modes and electronic equipment
CN109461450B (en) Audio data transmission method, system, storage medium and Bluetooth headset
CN114616606A (en) Multi-device conferencing with improved destination playback
EP3163942A1 (en) Method, system, and related device for data transmission
US11089411B2 (en) Systems and methods for coordinating rendering of a remote audio stream by binaural hearing devices
US11503405B2 (en) Capturing and synchronizing data from multiple sensors
WO2021185077A1 (en) Audio processing method, apparatus and system
WO2021160040A1 (en) Audio transmission method and electronic device
CN113553025B (en) Control method and system of Bluetooth headset based on game mode
KR101597768B1 (en) Interactive multiparty communication system and method using stereophonic sound
CN115022766B (en) Audio data playing method and equipment
CN113573202A (en) Data transmission control method and system of Bluetooth headset
CN114501239A (en) Master-slave switching method and device of earphone, Bluetooth earphone and storage medium
CN114422897A (en) Audio processing method and device, electronic equipment and storage medium
US20240029755A1 (en) Intelligent speech or dialogue enhancement
CN114640740B (en) Communication processing method, device, electronic equipment and storage medium
CN115174538A (en) Data transmission method and device, electronic equipment and computer readable medium
CN117857964A (en) Control method and device of equipment, bluetooth headset and storage medium
CN115665607A (en) Audio processing method, device, earphone and storage medium
CN115602144A (en) Recording method, recording device, wireless earphone, user terminal and computer readable medium
CN117440440A (en) Bluetooth headset low-delay transmission method

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