A playback control method and system for reducing power consumption of Bluetooth headset
By establishing a playback intensity model and audio short packet playback technology, the problems directly related to power consumption of Bluetooth headset audio playback are solved, and the power consumption is effectively reduced and the playback effect is maintained.
Patent Information
- Application Number
- CN202411396777.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-10-09
AI Technical Summary
The audio playback of Bluetooth headphones is directly related to power consumption, but the existing technology has a lot of room for improvement in reducing power consumption, especially the lack of control over audio playback.
By establishing a playback intensity model, obtaining the audio to be played for complexity identification and clip extraction, identifying environmental noise, adjusting the audio intensity based on historical data, using short audio packets to play, and performing smoothness compensation to reduce power consumption.
It effectively reduces the power consumption of Bluetooth headphones, while ensuring playback effect and user experience, and avoiding excessive changes in sound size affecting user experience.
Smart Images

Figure CN118890578B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent terminals, and in particular to a playback control method and system for reducing power consumption of a Bluetooth headset. Background Art
[0002] Bluetooth headsets are hands-free headsets that use Bluetooth technology, allowing users to avoid the entanglement of annoying wires and make calls in various ways. Bluetooth headsets need to be charged, and their power consumption limits their usage time. Therefore, in order to increase their usage time, it is necessary to reduce the power consumption of Bluetooth headsets.
[0003] Existing means of controlling power consumption usually start from the signal reception and transmission of Bluetooth headsets to reduce power consumption. There is a direct relationship between the audio playback of Bluetooth headsets and power consumption, but the audio playback control of Bluetooth headsets is relatively lacking, resulting in a large room for improvement in reducing power consumption of Bluetooth headsets. Summary of the invention
[0004] In order to solve the above technical problems, a playback control method and system for reducing the power consumption of Bluetooth headsets are provided. The technical solution solves the problem that the existing means of controlling power consumption proposed in the above background technology usually start from the signal reception and transmission of Bluetooth headsets to reduce power consumption. There is a direct relationship between the audio playback of Bluetooth headsets and power consumption, but the audio playback control of Bluetooth headsets is relatively lacking, resulting in a large room for improvement in reducing power consumption of Bluetooth headsets.
[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:
[0006] A playback control method for reducing power consumption of a Bluetooth headset, comprising:
[0007] Build a playback intensity model;
[0008] Acquire the audio to be played, perform complexity recognition on the audio to be played, extract segments of the audio to be played based on the complexity recognition result, obtain at least one short audio packet, and sort the short audio packets in chronological order;
[0009] Obtaining a playback time point of an audio short packet in the audio to be played, and obtaining at least one interval time based on the playback time point, wherein the interval time is a playback interval between adjacent audio short packets;
[0010] Identify the environmental noise to obtain the actual noise and the actual noise intensity;
[0011] Based on the playback intensity model, the playback intensity of the audio short packet is obtained as the preliminary target audio intensity;
[0012] Based on historical data, obtain the minimum recognition value of the audio intensity difference of the human ear;
[0013] Performing smoothness compensation on the preliminary target audio intensities of the adjacent audio short packets to obtain a final target audio intensity;
[0014] The audio short packets are played using the final target audio intensity, and the playing intervals of adjacent audio short packets are equal to the corresponding interval time.
[0015] Preferably, the step of establishing the playback intensity model comprises the following steps:
[0016] Obtaining a frequency range of the noise, and evenly dividing the frequency range of the noise to obtain at least one noise frequency interval;
[0017] Obtaining the intensity range of the noise, using at least one sampling point to be evenly set within the intensity range of the noise;
[0018] Classifying the noise to obtain at least one noise set, wherein the frequencies of the noises in the noise set are within the same noise frequency interval;
[0019] Acquire at least one sample audio for testing, and play the noise in the noise set according to the intensity at the sampling point to form an environmental noise space;
[0020] In the ambient noise space, obtaining the minimum intensity of at least one sample audio played by the Bluetooth headset that can be accurately recognized by the human ear as the marking intensity;
[0021] The values of the sampling points and the marking intensities are paired and fitted to obtain a playback intensity fitting function, and the playback intensity fitting function is paired with a noise set to form a playback intensity model.
[0022] Preferably, the obtaining of the audio to be played and the identification of the complexity of the audio to be played comprises the following steps:
[0023] At least one sampling point is evenly set in the audio to be played, and the spacing between adjacent sampling points is equal. The intensity difference formula is used to calculate the change ratio of adjacent sampling points;
[0024] When the change ratio is greater than the preset value, the number of sampling points is increased, the spacing between adjacent sampling points is kept equal, and the change ratio of adjacent sampling points is updated. When the change ratio does not exceed the preset value, the number of sampling points is stopped from being increased;
[0025] Aggregate at least one sampling point to complete complexity identification of the audio to be played;
[0026] The strength gap formula is as follows: ,
[0027] Wherein, A is the change ratio of the adjacent sampling points, and a and b are the audio intensities at the adjacent sampling points respectively.
[0028] Preferably, extracting a segment of the audio to be played based on the complexity recognition result to obtain at least one short audio packet comprises the following steps:
[0029] Segmenting the audio to be played at least one sampling point to obtain at least one pre-audio short packet;
[0030] Acquire the common part of the adjacent pre-audio short packets as the intersection part, respectively acquire the parts of the adjacent pre-audio short packets outside the intersection part as the difference part, and when the intensity change amplitude of the difference part of the adjacent pre-audio short packets is less than the minimum recognition value, retain one of the adjacent pre-audio short packets and delete the other;
[0031] Repeat the previous step for the updated at least one pre-audio short packet until no more pre-audio short packets are deleted, and use the at least one pre-audio short packet that has been deleted as at least one audio short packet.
[0032] Preferably, obtaining at least one interval time based on the playback time point comprises the following steps:
[0033] The values of adjacent playback time points are subtracted to obtain the interval time.
[0034] Preferably, the step of identifying the environmental noise to obtain the actual noise and the actual noise intensity comprises the following steps:
[0035] Performing sound source identification on the ambient noise to obtain at least one noise point, and obtaining a direction line from the noise point to the Bluetooth headset, wherein the direction line is a line connecting the noise point to the Bluetooth headset;
[0036] Acquire environmental noise;
[0037] A movable baffle is arranged on the microphone in the Bluetooth headset, the movable baffle surrounds the microphone as far as possible, and the movable baffle moves to the azimuth line, so that the Bluetooth headset obtains the blocked noise;
[0038] The blocked noise is removed from the environmental noise to obtain the actual noise;
[0039] The ambient noise intensity and the noise intensity after blocking are obtained, and the actual noise intensity is obtained by subtracting the noise intensity after blocking from the ambient noise intensity.
[0040] Preferably, obtaining the playback intensity of the audio short packet based on the playback intensity model comprises the following steps:
[0041] Performing frequency recognition on the actual noise to obtain a noise set including the frequency of the actual noise as the actual noise set;
[0042] Substitute the actual noise intensity into the playback intensity fitting function corresponding to the actual noise set to obtain the preprocessing intensity, and select the largest one among at least one preprocessing intensity to obtain the playback intensity of the audio short packet.
[0043] Preferably, the step of obtaining the minimum recognition value of the audio intensity difference of the human ear based on the historical data comprises the following steps:
[0044] Acquire a first audio, the first audio intensity is a first preset intensity, acquire a second audio, the second audio intensity is a second preset intensity, and acquire at least one confusing audio, the first audio and the second audio being distinguishable by human ears;
[0045] Mixing the mixed audio, the first audio, and the second audio, and playing them in sequence;
[0046] When the human ear cannot distinguish the first audio and the second audio, the intensity difference between the first audio and the second audio is used as the minimum recognition value. When the human ear can distinguish the first audio and the second audio, the intensity difference between the first audio and the second audio is reduced to half of the original. The previous step is repeated until the human ear cannot distinguish the first audio and the second audio.
[0047] Preferably, performing smoothness compensation on the preliminary target audio intensities of the adjacent audio short packets to obtain the final target audio intensity comprises the following steps:
[0048] The audio short packet with an earlier timing sequence among the adjacent audio short packets is used as the first audio short packet, and the audio short packet with a later timing sequence among the adjacent audio short packets is used as the second audio short packet;
[0049] Subtracting the preliminary target audio intensity of the second audio short packet from the preliminary target audio intensity of the first audio short packet to obtain an intensity difference;
[0050] The absolute value of the intensity difference is divided by the minimum recognition value to obtain the number of positioning;
[0051] Evenly divide the first audio short packet into at least one compensation area, where the number of compensation areas is equal to the number of positioning;
[0052] Obtaining an intensity arithmetic progression, the intensity arithmetic progression is composed of compensation intensities, and the differences between adjacent compensation intensities are equal;
[0053] The first compensation strength is 0. When the strength difference is greater than 0, the difference between adjacent compensation strengths is equal to the minimum recognition value. When the strength difference is less than 0, the difference between adjacent compensation strengths is equal to the opposite of the minimum recognition value.
[0054] At least one compensation intensity is sequentially assigned to the compensation area, and the compensation intensity corresponding to the compensation area is added to the preliminary target audio intensity to obtain a final target audio intensity of the compensation area.
[0055] A playback control system for reducing the power consumption of a Bluetooth headset, used to implement the above-mentioned playback control method for reducing the power consumption of a Bluetooth headset, comprising:
[0056] A model building module, wherein the model building module builds a playback intensity model;
[0057] A short packet generation module, wherein the short packet generation module obtains the audio to be played, performs complexity recognition on the audio to be played, extracts segments of the audio to be played based on the complexity recognition result, obtains at least one audio short packet, and sorts the audio short packets in chronological order;
[0058] An interval acquisition module, wherein the interval acquisition module acquires a play time point of an audio short packet in the audio to be played, and obtains at least one interval time based on the play time point, wherein the interval time is a play interval between adjacent audio short packets;
[0059] A noise recognition module, wherein the noise recognition module recognizes the environmental noise to obtain the actual noise and the actual noise intensity;
[0060] A data calculation module, wherein the data calculation module obtains the playback intensity of the audio short packet based on the playback intensity model as a preliminary target audio intensity;
[0061] A data acquisition module, wherein the data acquisition module acquires a minimum recognition value of the audio intensity difference of the human ear based on historical data;
[0062] An audio compensation module, which performs smoothness compensation on preliminary target audio intensities of adjacent audio short packets to obtain a final target audio intensity;
[0063] An audio playing module is used to play the audio short packets using the final target audio intensity, and the playing interval between adjacent audio short packets is equal to the corresponding interval time.
[0064] Compared with the prior art, the present invention has the following beneficial effects:
[0065] By setting up a model building module, a short packet generation module, an interval acquisition module, a data acquisition module and an audio compensation module, the audio can be sampled and estimated. When playing, the audio short packet is used for playing. Thus, the frequency of playback can be reduced, and part of the audio can be played while producing the same effect as playing all the audio. Furthermore, the noise of the external environment is taken into consideration, and the volume of the played sound is adjusted to the minimum intensity that is not affected by external noise. Thus, the power consumption can be effectively controlled. In addition, in order to avoid excessive changes in the adjusted sound volume that affect the user experience, the sound is compensated so that the audio short packet connection is smooth and there will be no abrupt situations, thereby ensuring the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A schematic flow chart of a playback control method for reducing power consumption of a Bluetooth headset according to the present invention;
[0067] Figure 2 A schematic diagram of a flow chart of establishing a playback intensity model of the present invention;
[0068] Figure 3 A schematic diagram of a process of obtaining audio to be played and identifying the complexity of the audio to be played according to the present invention;
[0069] Figure 4 A schematic diagram of a process of extracting a segment of the audio to be played based on the complexity recognition result to obtain at least one short audio packet according to the present invention;
[0070] Figure 5 A schematic diagram of a process of identifying environmental noise to obtain actual noise and actual noise intensity according to the present invention;
[0071] Figure 6 A schematic diagram of a flow chart of obtaining the playback intensity of an audio short packet based on a playback intensity model of the present invention;
[0072] Figure 7 A schematic diagram of a process of obtaining a minimum recognition value of a human ear for an audio intensity difference based on historical data according to the present invention;
[0073] Figure 8 The present invention is a flow chart of performing smoothness compensation on the preliminary target audio intensities of adjacent audio short packets to obtain the final target audio intensity. DETAILED DESCRIPTION
[0074] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0075] Reference Figure 1As shown, a playback control method for reducing the power consumption of a Bluetooth headset includes:
[0076] Build a playback intensity model;
[0077] Acquire the audio to be played, perform complexity recognition on the audio to be played, extract segments of the audio to be played based on the complexity recognition result, obtain at least one short audio packet, and sort the short audio packets in chronological order;
[0078] Obtaining a playback time point of an audio short packet in the audio to be played, and obtaining at least one interval time based on the playback time point, wherein the interval time is a playback interval between adjacent audio short packets;
[0079] Identify the environmental noise to obtain the actual noise and the actual noise intensity;
[0080] Based on the playback intensity model, the playback intensity of the audio short packet is obtained as the preliminary target audio intensity;
[0081] Based on historical data, obtain the minimum recognition value of the audio intensity difference of the human ear;
[0082] Performing smoothness compensation on the preliminary target audio intensities of the adjacent audio short packets to obtain a final target audio intensity;
[0083] The audio short packets are played using the final target audio intensity, and the playing intervals of adjacent audio short packets are equal to the corresponding interval time.
[0084] In this solution, an audio short packet is generated for the audio to be played according to the changes in its audio. The audio short packet is part of the audio to be played, but the audio short packet can simulate an effect that is almost the same as the audio to be played. Therefore, using the audio short packet for playback can ensure the playback effect. At the same time, it can also reduce the playback frequency, thereby achieving the effect of reducing power consumption. In addition, since the volume of the sound is directly related to the power consumption, the louder the sound, the greater the power consumption. Therefore, when playing, the sound is reduced as much as possible while taking into account the ambient noise, thereby controlling the power consumption. However, since the ambient noise will change, the volume of the audio short packet will also change accordingly. Adjacent audio short packets may have abrupt changes. Therefore, they need to be smoothed to ensure that their connection is not too abrupt.
[0085] Reference Figure 2 As shown, establishing the playback intensity model includes the following steps:
[0086] Obtaining a frequency range of the noise, and evenly dividing the frequency range of the noise to obtain at least one noise frequency interval;
[0087] Obtaining the intensity range of the noise, using at least one sampling point to be evenly set within the intensity range of the noise;
[0088] Classifying the noise to obtain at least one noise set, wherein the frequencies of the noises in the noise set are within the same noise frequency interval;
[0089] Acquire at least one sample audio for testing, and play the noise in the noise set according to the intensity at the sampling point to form an environmental noise space;
[0090] In the ambient noise space, obtaining the minimum intensity of at least one sample audio played by the Bluetooth headset that can be accurately recognized by the human ear as the marking intensity;
[0091] The values of the sampling points and the marking intensities are paired and fitted to obtain a playback intensity fitting function, and the playback intensity fitting function is paired with a noise set to form a playback intensity model.
[0092] The playback intensity model is used to generate a minimum sound intensity that is not disturbed by noise, so that playback can be performed according to the minimum sound intensity, and the intensity of the played sound can be controlled, thereby controlling power consumption.
[0093] Reference Figure 3 As shown, obtaining the audio to be played and performing complexity recognition on the audio to be played includes the following steps:
[0094] At least one sampling point is evenly set in the audio to be played, and the spacing between adjacent sampling points is equal. The intensity difference formula is used to calculate the change ratio of adjacent sampling points;
[0095] When the change ratio is greater than the preset value, the number of sampling points is increased, the spacing between adjacent sampling points is kept equal, and the change ratio of adjacent sampling points is updated. When the change ratio does not exceed the preset value, the number of sampling points is stopped from being increased;
[0096] Aggregate at least one sampling point to complete complexity identification of the audio to be played;
[0097] The strength gap formula is as follows: ,
[0098] Wherein, A is the change ratio of the adjacent sampling points, and a and b are the audio intensities at the adjacent sampling points respectively.
[0099] The more complex the audio to be played is, the more samples are taken, and the higher the proportion of the played fragments to the audio to be played during playback. When the audio to be played is relatively simple, fewer samples are taken, and the proportion of the played fragments to the audio to be played is low. Therefore, the short audio packets generated by sampling can meet the playback needs, and since the audio to be played is partially played, the frequency of use of the Bluetooth headset's speaker is reduced, thereby limiting power consumption.
[0100] Reference Figure 4 As shown, based on the complexity recognition result, extracting a segment of the audio to be played to obtain at least one short audio packet includes the following steps:
[0101] Segmenting the audio to be played at least one sampling point to obtain at least one pre-audio short packet;
[0102] Acquire the common part of the adjacent pre-audio short packets as the intersection part, respectively acquire the parts of the adjacent pre-audio short packets outside the intersection part as the difference part, and when the intensity change amplitude of the difference part of the adjacent pre-audio short packets is less than the minimum recognition value, retain one of the adjacent pre-audio short packets and delete the other;
[0103] Repeat the previous step for the updated at least one pre-audio short packet until no more pre-audio short packets are deleted, and use the at least one pre-audio short packet that has been deleted as at least one audio short packet.
[0104] Based on the playback time point, obtaining at least one interval time comprises the following steps:
[0105] The values of adjacent playback time points are subtracted to obtain the interval time.
[0106] The position of the audio short packet in the audio to be played is fixed, and its interval time is determined accordingly. Therefore, in order to ensure the playback effect, the playback interval of the audio short packet needs to be set according to the playback interval of the audio short packet in the audio to be played.
[0107] Reference Figure 5 As shown, identifying the environmental noise to obtain the actual noise and the actual noise intensity includes the following steps:
[0108] Performing sound source identification on the ambient noise to obtain at least one noise point, and obtaining a direction line from the noise point to the Bluetooth headset, wherein the direction line is a line connecting the noise point to the Bluetooth headset;
[0109] Acquire environmental noise;
[0110] A movable baffle is arranged on the microphone in the Bluetooth headset, the movable baffle surrounds the microphone as far as possible, and the movable baffle moves to the azimuth line, so that the Bluetooth headset obtains the blocked noise;
[0111] The blocked noise is removed from the environmental noise to obtain the actual noise;
[0112] The ambient noise intensity and the noise intensity after blocking are obtained, and the actual noise intensity is obtained by subtracting the noise intensity after blocking from the ambient noise intensity.
[0113] The actual noise corresponds to the noise of each noise point. The actual noise generated by the noise point is the same type of noise. Therefore, it can be processed separately using the playback intensity model. At the same time, there is at least one such actual noise. The actual noise intensity of each actual noise will correspond to a unique preprocessing intensity. Therefore, the intensity that meets the playback requirements is the largest of at least one preprocessing intensity.
[0114] Reference Figure 6 As shown, based on the playback intensity model, obtaining the playback intensity of the audio short packet includes the following steps:
[0115] Performing frequency recognition on the actual noise to obtain a noise set including the frequency of the actual noise as the actual noise set;
[0116] Substitute the actual noise intensity into the playback intensity fitting function corresponding to the actual noise set to obtain the preprocessing intensity, and select the largest one among at least one preprocessing intensity to obtain the playback intensity of the audio short packet.
[0117] Reference Figure 7 As shown, based on historical data, obtaining the minimum recognition value of the audio intensity difference of the human ear includes the following steps:
[0118] Acquire a first audio, the first audio intensity is a first preset intensity, acquire a second audio, the second audio intensity is a second preset intensity, and acquire at least one confusing audio, the first audio and the second audio being distinguishable by human ears;
[0119] Mixing the mixed audio, the first audio, and the second audio, and playing them in sequence;
[0120] When the human ear cannot distinguish the first audio and the second audio, the intensity difference between the first audio and the second audio is used as the minimum recognition value. When the human ear can distinguish the first audio and the second audio, the intensity difference between the first audio and the second audio is reduced to half of the original. The previous step is repeated until the human ear cannot distinguish the first audio and the second audio.
[0121] When the minimum recognition value is used for compensation, it controls the intensity change to ensure that it changes gradually and is not detected by the human ear, thereby making the change smooth and ensuring the overall playback effect.
[0122] Reference Figure 8 As shown, performing smoothness compensation on the preliminary target audio intensities of the adjacent audio short packets to obtain the final target audio intensity includes the following steps:
[0123] The audio short packet with an earlier timing sequence among the adjacent audio short packets is used as the first audio short packet, and the audio short packet with a later timing sequence among the adjacent audio short packets is used as the second audio short packet;
[0124] Subtracting the preliminary target audio intensity of the second audio short packet from the preliminary target audio intensity of the first audio short packet to obtain an intensity difference;
[0125] The absolute value of the intensity difference is divided by the minimum recognition value to obtain the number of positioning;
[0126] Evenly divide the first audio short packet into at least one compensation area, where the number of compensation areas is equal to the number of positioning;
[0127] Obtaining an intensity arithmetic progression, the intensity arithmetic progression is composed of compensation intensities, and the differences between adjacent compensation intensities are equal;
[0128] The first compensation strength is 0. When the strength difference is greater than 0, the difference between adjacent compensation strengths is equal to the minimum recognition value. When the strength difference is less than 0, the difference between adjacent compensation strengths is equal to the opposite of the minimum recognition value.
[0129] At least one compensation intensity is sequentially assigned to the compensation area, and the compensation intensity corresponding to the compensation area is added to the preliminary target audio intensity to obtain a final target audio intensity of the compensation area.
[0130] The intensity of the compensation area of the first audio short packet is compensated using an intensity arithmetic progression, thereby ensuring that the change of at least one compensation area is gradual. The audio short packet will be adjacent to the other audio short packets before and after. Therefore, when adjusting in sequence, each audio short packet will be adjusted. As a result, adjacent audio short packets will change gradually without any abrupt changes.
[0131] A playback control system for reducing the power consumption of a Bluetooth headset, used to implement the above-mentioned playback control method for reducing the power consumption of a Bluetooth headset, comprising:
[0132] A model building module, wherein the model building module builds a playback intensity model;
[0133] A short packet generation module, wherein the short packet generation module obtains the audio to be played, performs complexity recognition on the audio to be played, extracts segments of the audio to be played based on the complexity recognition result, obtains at least one audio short packet, and sorts the audio short packets in chronological order;
[0134] An interval acquisition module, wherein the interval acquisition module acquires a play time point of an audio short packet in the audio to be played, and obtains at least one interval time based on the play time point, wherein the interval time is a play interval between adjacent audio short packets;
[0135] A noise recognition module, wherein the noise recognition module recognizes the environmental noise to obtain the actual noise and the actual noise intensity;
[0136] A data calculation module, wherein the data calculation module obtains the playback intensity of the audio short packet based on the playback intensity model as a preliminary target audio intensity;
[0137] A data acquisition module, wherein the data acquisition module acquires a minimum recognition value of the audio intensity difference of the human ear based on historical data;
[0138] An audio compensation module, which performs smoothness compensation on preliminary target audio intensities of adjacent audio short packets to obtain a final target audio intensity;
[0139] An audio playing module is used to play the audio short packets using the final target audio intensity, and the playing interval between adjacent audio short packets is equal to the corresponding interval time.
[0140] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned playback control method for reducing the power consumption of Bluetooth headsets is executed.
[0141] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).
[0142] In summary, the advantages of the present invention are: by setting a model building module, a short packet generation module, an interval acquisition module, a data acquisition module and an audio compensation module, the audio can be sampled and estimated, and when playing, the audio short packet is used for playing, thereby reducing the frequency of playback, playing part of the audio, and at the same time, producing the same effect as playing all the audio, and taking the noise of the external environment into consideration, the volume of the played sound is adjusted to the minimum intensity that is not interfered by external noise, thereby effectively controlling power consumption, and in addition, in order to avoid excessive changes in the adjusted sound volume that affects the user experience, the sound is compensated so that the audio short packet connection is smooth and there will be no abrupt situations, thereby ensuring the user experience.
[0143] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A playback control method for reducing the power consumption of Bluetooth headsets. It is characterized in that include: Build a playback intensity model; Acquire the audio to be played, perform complexity recognition on the audio to be played, extract segments of the audio to be played based on the complexity recognition result, obtain at least one short audio packet, and sort the short audio packets in chronological order; Obtaining a playback time point of an audio short packet in the audio to be played, and obtaining at least one interval time based on the playback time point, wherein the interval time is a playback interval between adjacent audio short packets; Identify the environmental noise to obtain the actual noise and the actual noise intensity; Based on the playback intensity model, the playback intensity of the audio short packet is obtained as the preliminary target audio intensity; Based on historical data, obtain the minimum recognition value of the audio intensity difference of the human ear; Performing smoothness compensation on the preliminary target audio intensities of the adjacent audio short packets to obtain a final target audio intensity; The audio short packets are played using the final target audio intensity, and the playing interval between adjacent audio short packets is equal to the corresponding interval time; The establishment of the playback intensity model comprises the following steps: Obtaining a frequency range of the noise, and evenly dividing the frequency range of the noise to obtain at least one noise frequency interval; Obtaining the intensity range of the noise, using at least one sampling point to be evenly set within the intensity range of the noise; Classifying the noise to obtain at least one noise set, wherein the frequencies of the noises in the noise set are within the same noise frequency interval; Acquire at least one sample audio for testing, and play the noise in the noise set according to the intensity at the sampling point to form an environmental noise space; In the ambient noise space, obtaining the minimum intensity of at least one sample audio played by the Bluetooth headset that can be accurately recognized by the human ear as the marking intensity; The value of the sampling point and the marking intensity are paired and fitted to obtain a playback intensity fitting function, and the playback intensity fitting function is paired with a noise set to form a playback intensity model; The obtaining of the audio to be played and the identification of the complexity of the audio to be played comprises the following steps: At least one sampling point is evenly set in the audio to be played, and the spacing between adjacent sampling points is equal. The intensity difference formula is used to calculate the change ratio of adjacent sampling points; When the change ratio is greater than the preset value, the number of sampling points is increased, the spacing between adjacent sampling points is kept equal, and the change ratio of adjacent sampling points is updated. When the change ratio does not exceed the preset value, the number of sampling points is stopped from being increased; Aggregate at least one sampling point to complete complexity identification of the audio to be played; The strength gap formula is as follows: , Wherein, A is the change ratio of adjacent sampling points, a and b are the audio intensities at adjacent sampling points respectively; The extracting of segments of the audio to be played based on the complexity recognition result to obtain at least one short audio packet comprises the following steps: Segmenting the audio to be played at least one sampling point to obtain at least one pre-audio short packet; Acquire the common part of the adjacent pre-audio short packets as the intersection part, respectively acquire the parts of the adjacent pre-audio short packets outside the intersection part as the difference part, and when the intensity change amplitude of the difference part of the adjacent pre-audio short packets is less than the minimum recognition value, retain one of the adjacent pre-audio short packets and delete the other; Repeat the previous step for the updated at least one pre-audio short packet until no more pre-audio short packets are deleted, and use the at least one pre-audio short packet that has been deleted as at least one audio short packet.
2. A playback control method for reducing power consumption of a Bluetooth headset according to claim 1, It is characterized in that The obtaining of at least one interval time based on the playback time point comprises the following steps: The values of adjacent playback time points are subtracted to obtain the interval time.
3. A playback control method for reducing power consumption of a Bluetooth headset according to claim 2, It is characterized in that The identifying of the environmental noise to obtain the actual noise and the actual noise intensity comprises the following steps: Performing sound source identification on the ambient noise to obtain at least one noise point, and obtaining a direction line from the noise point to the Bluetooth headset, wherein the direction line is a line connecting the noise point to the Bluetooth headset; Acquire environmental noise; A movable baffle is arranged on the microphone in the Bluetooth headset, the movable baffle surrounds the microphone as far as possible, and the movable baffle moves to the azimuth line, so that the Bluetooth headset obtains the blocked noise; The blocked noise is removed from the environmental noise to obtain the actual noise; The ambient noise intensity and the noise intensity after blocking are obtained, and the actual noise intensity is obtained by subtracting the noise intensity after blocking from the ambient noise intensity.
4. A playback control method for reducing power consumption of a Bluetooth headset according to claim 3, It is characterized in that The step of obtaining the playback intensity of the audio short packet based on the playback intensity model comprises the following steps: Performing frequency recognition on the actual noise to obtain a noise set including the frequency of the actual noise as the actual noise set; Substitute the actual noise intensity into the playback intensity fitting function corresponding to the actual noise set to obtain the preprocessing intensity, and select the largest one among at least one preprocessing intensity to obtain the playback intensity of the audio short packet.
5. A playback control method for reducing power consumption of a Bluetooth headset according to claim 4, It is characterized in that The method of obtaining the minimum recognition value of the audio intensity difference of the human ear based on the historical data comprises the following steps: Acquire a first audio, the first audio intensity is a first preset intensity, acquire a second audio, the second audio intensity is a second preset intensity, and acquire at least one confusing audio, the first audio and the second audio being distinguishable by human ears; Mixing the mixed audio, the first audio, and the second audio, and playing them in sequence; When the human ear cannot distinguish the first audio and the second audio, the intensity difference between the first audio and the second audio is used as the minimum recognition value. When the human ear can distinguish the first audio and the second audio, the intensity difference between the first audio and the second audio is reduced to half of the original. The previous step is repeated until the human ear cannot distinguish the first audio and the second audio.
6. A playback control method for reducing power consumption of a Bluetooth headset according to claim 5, It is characterized in that The smoothness compensation of the preliminary target audio intensities of the adjacent audio short packets to obtain the final target audio intensity comprises the following steps: The audio short packet with an earlier timing sequence among the adjacent audio short packets is used as the first audio short packet, and the audio short packet with a later timing sequence among the adjacent audio short packets is used as the second audio short packet; Subtracting the preliminary target audio intensity of the second audio short packet from the preliminary target audio intensity of the first audio short packet to obtain an intensity difference; The absolute value of the intensity difference is divided by the minimum recognition value to obtain the number of positioning; Evenly divide the first audio short packet into at least one compensation area, where the number of compensation areas is equal to the number of positioning; Obtaining an intensity arithmetic progression, the intensity arithmetic progression is composed of compensation intensities, and the differences between adjacent compensation intensities are equal; The first compensation strength is 0. When the strength difference is greater than 0, the difference between adjacent compensation strengths is equal to the minimum recognition value. When the strength difference is less than 0, the difference between adjacent compensation strengths is equal to the opposite of the minimum recognition value. At least one compensation intensity is sequentially assigned to the compensation area, and the compensation intensity corresponding to the compensation area is added to the preliminary target audio intensity to obtain a final target audio intensity of the compensation area.
7. A playback control system for reducing the power consumption of a Bluetooth headset, used to implement the playback control method for reducing the power consumption of a Bluetooth headset as claimed in any one of claims 1 to 6, It is characterized in that include: A model building module, wherein the model building module builds a playback intensity model; A short packet generation module, wherein the short packet generation module obtains the audio to be played, performs complexity recognition on the audio to be played, extracts segments of the audio to be played based on the complexity recognition result, obtains at least one audio short packet, and sorts the audio short packets in chronological order; An interval acquisition module, wherein the interval acquisition module acquires a play time point of an audio short packet in the audio to be played, and obtains at least one interval time based on the play time point, wherein the interval time is a play interval between adjacent audio short packets; A noise recognition module, wherein the noise recognition module recognizes the environmental noise to obtain the actual noise and the actual noise intensity; A data calculation module, wherein the data calculation module obtains the playback intensity of the audio short packet based on the playback intensity model as a preliminary target audio intensity; A data acquisition module, wherein the data acquisition module acquires a minimum recognition value of the audio intensity difference of the human ear based on historical data; An audio compensation module, which performs smoothness compensation on preliminary target audio intensities of adjacent audio short packets to obtain a final target audio intensity; An audio playing module is used to play the audio short packets using the final target audio intensity, and the playing interval between adjacent audio short packets is equal to the corresponding interval time.
Citation Information
Patent Citations
TWS Bluetooth earphone control method
CN117294985A
Test method and apparatus, and earphone and computer-readable storage medium
WO2022247673A1
