CN114828170A - Method and device for improving endurance time of communication device - Google Patents

Method and device for improving endurance time of communication device Download PDF

Info

Publication number
CN114828170A
CN114828170A CN202110112547.0A CN202110112547A CN114828170A CN 114828170 A CN114828170 A CN 114828170A CN 202110112547 A CN202110112547 A CN 202110112547A CN 114828170 A CN114828170 A CN 114828170A
Authority
CN
China
Prior art keywords
data
frequency
uplink
downlink
processor
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
CN202110112547.0A
Other languages
Chinese (zh)
Other versions
CN114828170B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110112547.0A priority Critical patent/CN114828170B/en
Publication of CN114828170A publication Critical patent/CN114828170A/en
Application granted granted Critical
Publication of CN114828170B publication Critical patent/CN114828170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0287Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and device for improving the endurance time of a communication device, the method comprising: the method comprises the steps of obtaining a first state and a second state, wherein the first state indicates whether uplink data comprise effective data or not, the second state indicates whether downlink data comprise the effective data or not, the effective data refer to data transmitted with information quantity, and the uplink data and the downlink data comprise the effective data to adjust the operating frequency of a processor. By adopting the method, the endurance time of the communication device can be prolonged by adjusting the operating frequency of the processor, and the power consumption of the communication device is saved.

Description

Method and device for improving endurance time of communication device
Technical Field
The embodiment of the application relates to the field of communication, in particular to a method and a device for improving the endurance time of a communication device.
Background
True Wireless Stereo (TWS) headsets have a great market potential, attracting the competition of numerous manufacturers. The method provides high-quality tone quality, strong endurance and good comfort for users, and the three key indexes become important references for the users to select the TWS earphone. Especially, the cruising problem is always the technical bottleneck of the design of the TWS earphone.
Wherein endurance depends on power consumption, and the larger the power consumption, the less endurance for the TWS headset of the same battery capacity. While increasing battery capacity can effectively increase endurance, it will also result in an increase in the size and weight of the headset. The increase in size and weight of the headset will affect the comfort of the user in wearing the headset for a long time.
Disclosure of Invention
The embodiment of the application provides a method and a device for improving the endurance time of a communication device, which are used for improving the endurance capacity of the communication device.
In a first aspect, an embodiment of the present application provides a method for improving a endurance time of a communication device, where the method includes: the method comprises the steps of obtaining a first state and a second state, wherein the first state indicates whether uplink data comprise valid data, the second state indicates whether downlink data comprise valid data, and further the operating frequency of a processor can be configured according to the first state and the second state.
The method can be applied to a scene that at least two users carry out communication, wherein the uplink data refers to data sent to a communication opposite terminal. The downlink data refers to data received from the opposite end of the call. The valid data refers to data transmitted with an information amount, or the valid data refers to data including substantial content. For example, the valid data may include voice data of a call between users, and for example, the valid data may also include some environmental data, for example, during the call with the user b, the user a plays a piece of audio through another device (e.g., a tablet, a computer, or a television), where the piece of audio is information that the user a wants the user b to hear, and thus the piece of audio is also valid data. Or, when the user a rings or knocks the door bell at home or the user c talks to the user a during the conversation with the user b, the door bell, the knocks, and the voice of the user c are also valid data. It should be understood that the foregoing examples are not intended to limit the embodiments of the present application, and the valid data is not limited to voice data of a call between users, and may also include other data with information content. Then, the example of the user a in the call with the user b additionally explains the concept of downlink data, and the opposite end of the call of the user a is the user b. Thus, the uplink data of the telephony device of the user a refers to data to be sent to the user b, such as the voice data of the user a or the environmental sound of the user a, and the downlink data of the telephony device of the user a refers to the received data from the user b, such as the voice data of the user b or the environmental sound of the user b.
The operating frequency of a processor refers to the clock frequency or master frequency of the processor. Compared with the prior art, in the call process, the operating frequency of the processor is always at the fixed frequency, and the operating frequency of the processor can be dynamically adjusted by combining whether the uplink data comprises the effective data and whether the downlink data comprises the effective data. Because the running frequency of the processor is dynamically variable, the processor can work at a lower running frequency, so that the power consumption of the communication device can be saved, and the endurance time of the communication device is prolonged.
In one possible design, configuring the operating frequency of the processor according to the first state and the second state may employ the following method: and when the uplink data and the downlink data both comprise valid data, configuring the operating frequency of the processor as a first frequency. The first frequency is higher frequency, and the design can ensure that the conversation quality between users is not influenced.
In one possible design, configuring the operating frequency of the processor according to a first state and a second state further includes: and when at least one of the uplink data and the downlink data does not comprise the valid data, configuring the operating frequency of the processor as a second frequency, wherein the second frequency is less than the first frequency.
In one possible design, adjusting the operating frequency of the processor based on the first state and the second state may employ the following: when the uplink data and the downlink data both comprise valid data, configuring the operating frequency of the processor as a first frequency; when at least one of the uplink data and the downlink data does not comprise valid data, adjusting the operating frequency of the processor from a first frequency to a second frequency, wherein the second frequency is smaller than the first frequency. By adopting the design, when the uplink data and the downlink data comprise effective data, the operating frequency of the processor is kept high; when at least one of the uplink data and the downlink data does not include effective data, the processor does not need to be kept at a higher operating frequency, the reduction of the operating frequency of the processor does not affect the communication quality between users, the reduction of the operating frequency of the processor can also realize the power consumption saving of the processor, and the duration of the headset is prolonged.
In one possible design, when neither the uplink data nor the downlink data includes valid data, the operating frequency of the processing is configured to be a third frequency. If the operating frequency of the processor is a second frequency before that, adjusting the operating frequency of the processor from the second frequency to a third frequency, the third frequency being less than or equal to the second frequency. When the uplink data and the downlink data do not comprise effective data, the operating frequency of the processor is reduced, the power consumption of the processor can be effectively saved, and the endurance time of the equipment is prolonged.
In one possible design, adjusting the operating frequency of the processor based on the first state and the second state may employ the following: when the uplink data and the downlink data both comprise valid data, configuring the operating frequency of the processor as a first frequency; when the uplink data and the downlink data do not comprise valid data, adjusting the operating frequency of the processor from a first frequency to a third frequency, wherein the third frequency is smaller than the first frequency. By adopting the design, when the uplink data and the downlink data both comprise effective data, the operating frequency of the processor is kept higher, when the uplink data and the downlink data do not comprise the effective data, the processor does not need to be kept at the higher operating frequency, the operating frequency of the processor is reduced, the communication quality between users cannot be influenced, the power consumption of the processor can be saved by reducing the operating frequency of the processor, and the duration of the headset is prolonged.
In summary, in a possible implementation manner of the embodiment of the present application, the operating frequency of the processor may be set to a corresponding one of a first frequency, a second frequency and a third frequency according to whether the uplink data and the downlink data include valid data, where the first frequency is higher than the second frequency and the third frequency is less than or equal to the second frequency. Setting the operating frequency of the processor to be a first frequency when the uplink data and the downlink data both comprise valid data; setting the operating frequency of the processor to be a second frequency when at least one of the uplink data and the downlink data does not comprise valid data; and when the uplink data and the downlink data do not comprise valid data, setting the operating frequency of the processor as a third frequency. When the uplink data and the downlink data meet the judgment condition, the operating frequency of the processor can be adjusted to the corresponding frequency. That is, when the determination condition is satisfied, the operating frequency of the processor may be switched among the first frequency, the second frequency, and the third frequency, from a lower frequency to a higher frequency, or from a lower frequency to a higher frequency.
In one possible design, the uplink data is stored in a first buffer, and the first buffer is used for storing data to be processed by using a first preset audio algorithm. And when the uplink data does not comprise valid data, setting the first buffer to be zero. By adopting the design, when the uplink data comprises effective data, the first preset algorithm processing is executed on the uplink data, and when the uplink data does not comprise the effective data, the first preset algorithm processing is not executed on the uplink data. Therefore, the sound effect optimization of the uplink data including the effective data can be realized to ensure the user experience, and the waste of power consumption caused by the sound effect optimization of the uplink data not including the effective data can be avoided.
The zeroing of the first cache means that all bytes stored in the first cache are zeroed.
In a possible design, the downlink data is stored in a second buffer, and the second buffer is used for storing data to be processed by using a second preset audio algorithm. And when the downlink data does not comprise valid data, setting the second buffer to zero. By adopting the design, when the downlink data comprises effective data, the second preset algorithm processing is executed on the downlink data, and when the downlink data does not comprise the effective data, the second preset algorithm processing is not executed on the downlink data. Therefore, the method and the device can realize the effect optimization of the downlink data including the effective data to ensure the user experience, and can avoid the waste of power consumption caused by the effect optimization of the downlink data not including the effective data.
Wherein, zeroing the second cache means zeroing all bytes stored in the second cache.
It is understood that the first preset algorithm and the second preset algorithm may be the same algorithm (for example, 3A algorithm) or different algorithms, and the embodiment of the present application is not limited thereto.
In a possible design, when at least one of the uplink data and the downlink data does not include valid data, if a duration that an operating frequency of the processor is at the same frequency (e.g., a first frequency) is greater than or equal to a first duration, the operating frequency of the processor is configured to be a second frequency; in other words, the operating frequency of the processor is adjusted from the frequency (e.g., the first frequency) to the second frequency. In the embodiment of the application, the running frequency of the slave processor is started at the frequency, and the timer is triggered to start timing. When at least one of the uplink data and the downlink data does not comprise valid data, the time length indicated by the timer is combined to judge whether to execute the adjustment of the operating frequency, so that the influence on the system performance caused by frequently switching the operating frequency of the processor can be avoided.
In a possible design, when neither the uplink data nor the downlink data includes valid data, if a duration that an operating frequency of the processor is at a same frequency (for example, a first frequency) is greater than or equal to a second duration, the operating frequency of the processor is configured to be the third frequency. In the embodiment of the application, the running frequency of the slave processor is started at the frequency, and the timer is triggered to start timing. When at least one of the uplink data and the downlink data does not comprise valid data, the time length indicated by the timer is combined to judge whether to execute the adjustment of the operating frequency, so that the influence on the system performance caused by frequently switching the operating frequency of the processor can be avoided.
In one possible design, when the uplink data is not all 0, the first status indicates that the uplink data includes valid data; or, when the uplink data are all 0, the first status indicates that the uplink data do not include valid data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and has high accuracy.
In one possible design, when the downlink data is not all 0, the second status indicates that the downlink data includes valid data; or, when all the downlink data are 0, the second state indicates that the downlink data do not include valid data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and has high accuracy.
Illustratively, a segment of speech may be divided into one or more data packets, the size of which may be determined by the audio protocol. For example, every 10ms of speech as a packet, a 3s segment of speech may be split into 300 packets. Each packet may comprise one or more 16-bit (bit) data streams, each bit having a value of 0 or 1.
The uplink data may be referred to as an uplink packet. When the values of the bits in the uplink data packet are all 0, the first state indicates that the uplink data packet does not include valid data. When the uplink data packets are not all 0, the first state indicates that the uplink data packets include valid data.
Similarly, the downlink data may refer to a downlink data packet. When the values of the bits in the downlink data packet are all 0, the first state indicates that the downlink data packet does not include valid data. When the downlink data packets are not all 0, the first state indicates that the downlink data packets include valid data.
In one possible design, the first status indicates that the uplink data does not include valid data when a first parameter is less than or equal to a first preset threshold, where the first parameter is calculated according to an amplitude of the uplink data; or, when the first parameter is greater than a first preset threshold, the first state indicates that the uplink data includes valid data, where the first parameter is calculated according to the amplitude of the uplink data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and is easy to realize.
In one possible design, when a second parameter is greater than a second preset threshold, the second state indicates that the downlink data includes valid data, where the second parameter is calculated according to an amplitude of the downlink data; or, when a second parameter is smaller than or equal to the second preset threshold, the second state indicates that the downlink data does not include valid data, where the second parameter is calculated according to the amplitude of the downlink data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and is easy to realize.
Illustratively, a segment of speech may be divided into one or more data packets, the size of which may be determined by the audio protocol. For example, every 10ms of speech as a packet, a 3s segment of speech may be split into 300 packets. Each packet may comprise one or more 16-bit (bit) data streams, each bit having a value of 0 or 1. Further, each 16-bit data stream may be converted from a 2-ary system to a 10-ary system, a difference between a 10-ary system number corresponding to each 16-bit data stream and a 10-ary system number corresponding to a baseline may be used as an amplitude of the 16-bit data stream, and an amplitude mean value or an amplitude root mean square and the like of one data packet may be calculated.
The uplink data may be referred to as an uplink packet. The first parameter may refer to an amplitude mean value or an amplitude root mean square of values of bits in the uplink data packet. Similarly, the downlink data may refer to a downlink data packet. The second parameter may refer to an amplitude mean value or an amplitude root mean square of values of bits in the downlink data packet.
In a second aspect, an embodiment of the present application provides a method for improving a endurance time of a communication device, where the method includes: acquiring a data state, wherein the data state indicates whether data comprises valid data or not, and the valid data refers to data transmitted by information quantity; and judging whether the data is processed by a preset algorithm or not according to the data state, and when the data state indicating data does not comprise the effective data, not executing the preset algorithm processing on the data. Compared with the method that whether the effective data is included in the data or not is not distinguished, the data is subjected to algorithm processing, unnecessary power consumption is caused, the method does not perform algorithm processing on the data when the effective data is not included in the data, and performs algorithm processing on the data when the effective data is judged to be included in the data, so that the power consumption can be saved.
The data may be uplink data or downlink data. Specifically, whether the uplink data includes valid data is obtained, and whether the uplink data is processed by a first preset algorithm is judged according to whether the uplink data includes valid data. And acquiring whether the downlink data comprises effective data, and judging whether the downlink data is processed by a second preset algorithm according to whether the downlink data comprises the effective data. It is understood that the first preset algorithm and the second preset algorithm may be the same algorithm (for example, 3A algorithm) or different algorithms, and the embodiment of the present application is not limited thereto. In addition, the judgment process of the uplink data and the judgment process of the downlink data are independent.
By adopting the method, whether the preset algorithm processing is executed on the data is judged according to whether the data comprises the valid data. Therefore, the user experience can be guaranteed by performing sound effect optimization on the data including the effective data, and power consumption waste caused by performing sound effect optimization on the data not including the effective data can be avoided.
In one possible design, the data is uplink data, and the preset algorithm is a first preset algorithm. The uplink data is stored in a first cache, and the first cache is used for storing data to be processed by the first preset audio algorithm. And when the uplink data does not comprise valid data, setting the first buffer to be zero. Or, when the uplink data comprises valid data, processing the uplink data by using the first preset audio algorithm.
By adopting the design, when the uplink data comprises effective data, the first preset algorithm processing is executed on the uplink data, and when the uplink data does not comprise the effective data, the first preset algorithm processing is not executed on the uplink data. Therefore, the sound effect optimization of the uplink data including the effective data can be realized to ensure the user experience, and the power consumption waste caused by the sound effect optimization of the uplink data not including the effective data can be avoided.
In one possible design, the data is downlink data, and the preset algorithm is a second preset algorithm. And the second cache stores the downlink data and is used for storing data to be processed by adopting the second preset audio algorithm. And when the downlink data does not comprise valid data, setting the second buffer to zero. Or, when the downlink data includes valid data, processing the downlink data by using the second preset audio algorithm. By adopting the design, when the downlink data comprises effective data, the second preset algorithm processing is executed on the downlink data, and when the downlink data does not comprise the effective data, the second preset algorithm processing is not executed on the downlink data. Therefore, the method and the device can realize the effect optimization of the downlink data including the effective data to ensure the user experience, and can avoid the power consumption waste caused by the effect optimization of the downlink data not including the effective data.
In one possible design, when the uplink data is not all 0, the first status indicates that the uplink data includes valid data; or, when the uplink data are all 0, the first status indicates that the uplink data do not include valid data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and has high accuracy.
In one possible design, when the downlink data is not all 0, the second state indicates that the downlink data includes valid data; or, when all the downlink data are 0, the second state indicates that the downlink data do not include valid data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and has high accuracy.
In one possible design, the first status indicates that the uplink data does not include valid data when a first parameter is less than or equal to a first preset threshold, where the first parameter is calculated according to an amplitude of the uplink data; or, when the first parameter is greater than a first preset threshold, the first state indicates that the uplink data includes valid data, where the first parameter is calculated according to the amplitude of the uplink data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and is easy to realize.
In one possible design, when a second parameter is greater than a second preset threshold, the second state indicates that the downlink data includes valid data, where the second parameter is calculated according to an amplitude of the downlink data; or, when a second parameter is smaller than or equal to the second preset threshold, the second state indicates that the downlink data does not include valid data, where the second parameter is calculated according to the amplitude of the downlink data. By adopting the design, whether the uplink data comprises the effective data can be judged, and the method is simple and convenient and is easy to realize.
In a third aspect, an embodiment of the present application provides an apparatus for improving a endurance time of a communication apparatus, where the apparatus includes: an obtaining unit, configured to obtain a first state and a second state, where the first state indicates whether uplink data includes valid data, and the second state indicates whether downlink data includes valid data; the effective data refers to data transmitted by information quantity; and the processing unit is used for configuring the operating frequency of the processor according to the first state and the second state.
In one possible design, the processing unit is configured to configure the operating frequency of the processor to be a first frequency when both the uplink data and the downlink data include valid data.
In one possible design, the processing unit is further configured to configure the operating frequency of the processor to be a second frequency when at least one of the uplink data and the downlink data does not include valid data, where the second frequency is smaller than the first frequency. That is, the operating frequency of the processor may be adjusted from a first frequency to a second frequency.
In a possible design, the processing unit is further configured to configure the operating frequency of the processor to be a third frequency when neither the uplink data nor the downlink data includes valid data, where the third frequency is less than or equal to the second frequency.
In one possible design, the processing unit is configured to configure an operating frequency of the processor to be a first frequency when both the uplink data and the downlink data include valid data; when the uplink data and the downlink data do not comprise valid data, adjusting the operating frequency of the processor from a first frequency to a third frequency, wherein the third frequency is smaller than the first frequency.
In a possible design, the apparatus further includes a first buffer, where the first buffer stores the uplink data, and the first buffer is configured to store data that needs to be processed by using a first preset audio algorithm; the processing unit is configured to set the first buffer to zero when the uplink data does not include valid data.
In a possible design, the apparatus further includes a second cache, where the second cache stores the downlink data, and is configured to store data that needs to be processed by using a second preset audio algorithm; the processing unit is configured to set the second buffer to zero when the downlink data does not include valid data.
In a possible design, the processing unit is configured to, when at least one of the uplink data and the downlink data does not include valid data, configure the operating frequency of the processor to be the second frequency if a duration that the operating frequency of the processor is at the same frequency (for example, the first frequency) is greater than or equal to a first duration.
In a possible design, the processing unit is configured to, when neither the uplink data nor the downlink data includes valid data, configure the operating frequency of the processor to be the third frequency if a duration that the operating frequency of the processor is at the same frequency (for example, the first frequency) exceeds a second duration.
In one possible design, when the uplink data is not all 0, the first status indicates that the uplink data includes valid data; or, when the uplink data are all 0, the first status indicates that the uplink data do not include valid data.
In one possible design, when the downlink data is not all 0, the second status indicates that the downlink data includes valid data; or, when all the downlink data are 0, the second state indicates that the downlink data do not include valid data.
In one possible design, the first status indicates that the uplink data does not include valid data when a first parameter is less than or equal to a first preset threshold, where the first parameter is calculated according to an amplitude of the uplink data; or, when the first parameter is greater than a first preset threshold, the first state indicates that the uplink data includes valid data, where the first parameter is calculated according to the amplitude of the uplink data.
In a possible design, when a second parameter is greater than a second preset threshold, the second state indicates that the downlink data includes valid data, where the second parameter is calculated according to an amplitude of the downlink data; or, when a second parameter is smaller than or equal to the second preset threshold, the second state indicates that the downlink data does not include valid data, where the second parameter is calculated according to the amplitude of the downlink data.
In a fourth aspect, an embodiment of the present application provides an apparatus for improving a endurance time of a communication apparatus, where the method includes: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a data state, the data state indicates whether data comprises valid data or not, and the valid data refers to data transmitted by information quantity; the processing unit is used for determining whether the data is processed by a preset algorithm according to the data state; and when the data state indicating data does not comprise the valid data, not executing the preset algorithm processing on the data.
In one possible design, the data is uplink data, and the preset algorithm is a first preset algorithm; the uplink data is stored in a first cache, and the first cache is used for storing data to be processed by the first preset audio algorithm. And the processing unit is configured to set the first buffer to zero when the uplink data does not include valid data, or process the uplink data by using the first preset audio algorithm when the uplink data includes valid data.
In one possible design, the data is downlink data, and the preset algorithm is a second preset algorithm; and the second cache stores the downlink data and is used for storing data to be processed by adopting the second preset audio algorithm. And the processing unit is configured to set the second buffer to zero when the downlink data does not include valid data, or to process the downlink data by using the second preset audio algorithm when the downlink data includes valid data.
The beneficial effects of the designs in the third aspect and the fourth aspect may refer to the beneficial effects of the corresponding designs in the first aspect and the second aspect, and repeated details are not repeated.
In a fifth aspect, an embodiment of the present application provides a communication apparatus, including a processor and a memory, where the memory is used to store a computer program, and the processor calls the memory to execute the computer program to implement any one of the possible designs according to the first aspect or any one of the possible designs according to the second aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, in which a computer program or instructions are stored, and when the computer program or instructions are executed by a communication device, the computer program or instructions implement any one of the possible designs of the first aspect or any one of the possible designs of the second aspect.
In a seventh aspect, the present application provides a computer program product, which when run on a communication apparatus, causes the communication apparatus to execute any one of the possible designs of the first aspect or any one of the possible designs of the second aspect.
Drawings
Fig. 1(a) is a schematic view of a scenario in which a terminal device a and a terminal device B communicate in an embodiment of the present application;
fig. 1(B) is a schematic diagram of an uplink and a downlink in a scenario where a terminal device a communicates with a terminal device B in an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a correspondence relationship between an existing uplink and downlink load and an operating frequency of a DSP core in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an earphone in an embodiment of the present application;
FIG. 4 is a block diagram of a processor hierarchy in an embodiment of the present application;
FIG. 5 is a flowchart illustrating an overview of a method for improving headset endurance in an embodiment of the present application;
fig. 6(a) is a schematic diagram illustrating determining whether uplink data includes valid data according to an embodiment of the present application;
fig. 6(b) is a schematic diagram illustrating determining whether downlink data includes valid data in an embodiment of the present application;
fig. 7(a) is a second schematic diagram illustrating determining whether uplink data includes valid data according to an embodiment of the present application;
fig. 7(b) is a second schematic diagram illustrating determining whether downlink data includes valid data according to an embodiment of the present application;
FIG. 8 is a diagram illustrating an embodiment of determining whether data includes valid data;
fig. 9 is a schematic diagram illustrating reporting of a first state and a second state in an embodiment of the present application;
FIG. 10(a) is one of schematic diagrams of an upstream path and a downstream path in an embodiment of the present application;
fig. 10(b) is a second schematic diagram of an upstream path and a downstream path in an embodiment of the present application;
FIG. 11 is a diagram illustrating one embodiment of dynamically adjusting the operating frequency of a DSP core;
FIG. 12 is a second schematic diagram illustrating dynamically adjusting the operating frequency of a DSP core according to an embodiment of the present application;
fig. 13 is a schematic diagram illustrating a correspondence relationship between uplink and downlink loads and an operating frequency of a DSP core in an embodiment of the present application;
fig. 14 is a schematic structural diagram of a communication device in an embodiment of the present application.
Detailed Description
First, technical terms related to the embodiments of the present application will be described below.
1. TWS earphone (TWS Bluetooth earphone)
Compared with a wired earphone, the TWS earphone abandons wired troubles, achieves a real wireless structure, is free to move, can have multiple functions, and has better performances in tone quality, noise reduction and conversation quality. In addition, the TWS earphone is also provided with a portable box with charging and storage functions, and the TWS earphone can be automatically charged when placed into the portable box, so that the charging is very convenient.
The TWS earphone comprises a main ear and an auxiliary ear, wherein the main ear can be responsible for collecting uplink data, and the auxiliary ear can be responsible for collecting downlink data. The stereo system is formed by the main ear and the auxiliary ear, and better user experience can be realized by matching with a professional noise reduction technology.
2. Bluetooth communication
Based on the development of the bluetooth chip technology, terminal devices such as mobile phones and the like can transmit downlink data to the earphones based on a bluetooth protocol and receive uplink data collected by the earphones.
Illustratively, a handset establishes a connection with a headset. When the terminal equipment starts voice call, the earphone is informed to enter a call scene. An application core (ACore) in the headset controls a Digital Signal Processing (DSP) core to perform a call service.
3. Uplink path and downlink path
The uplink data refers to data sent to the opposite call end. The downlink data refers to data received from the opposite end of the call.
The following describes, by taking a scenario in which the terminal device a and the terminal device B communicate with each other, a transmission process of uplink data on an uplink channel of the communication device and a transmission process of downlink data on a downlink channel of the communication device, where the communication device establishes a connection (for example, a bluetooth connection) with the terminal device a. As shown in fig. 1(a), the communication device collects uplink data and transmits the uplink data to the terminal device a, and the terminal device a transmits the uplink data to the terminal device B. And the terminal equipment B sends the downlink data to the terminal equipment A, the terminal equipment A sends the downlink data to the communication equipment, and the communication equipment plays the downlink data. The communication device may be a component in the terminal device a, or may be a device independent from the terminal device a. Illustratively, the communication device may be an earphone, the terminal device a and the terminal device B may be a mobile phone of the user a and a mobile phone of the user B, respectively, the user a and the user B perform a voice call, and the user a wears the earphone. The uplink data and the downlink data mentioned herein refer to uplink and downlink data of the terminal device a or the communication device, the uplink data refers to data that is collected by the communication device and is to be sent to the terminal device B, and the downlink data refers to data that is received by the communication device and is received from the terminal device B.
As shown in fig. 1(b), in the headset uplink path, uplink data may be collected by any one or more of a Main microphone (Main Mic), a sub-Mic, and a bone vibration sensor (VPU), and transmitted to the DSP core via a Codec (Codec). The DSP core receives input uplink data through a communication bus protocol, calls sampling frequency converter (SRC) to process in sequence, and processes the uplink data through a 3A Uplink (UL) algorithm, the SRC and an uplink coding and decoding module. Further, the uplink data processed by the DSP core is transmitted to a Bluetooth (BT) core, and the BT core sends the uplink data to the terminal device a through an air interface. Further, the terminal device a processes the uplink data and sends the processed uplink data to the terminal device B.
As shown in fig. 1(B), the downlink data is sent from the terminal device B to the terminal device a, and the terminal device a may transmit the downlink data to the BT core of the headset through the bluetooth transmission module. In a downlink path, downlink data is transmitted from the BT core to the DSP core, and the DSP core sequentially calls a downlink codec module, an SRC, a 3A Downlink (DL) algorithm, the SRC, an audio mixing and gain processing module to sequentially perform processing on the downlink data, and outputs the downlink data processed by the DSP core through a communication bus protocol. Further, the downlink data processed by the DSP core is transmitted to Codec, and played through a Speaker (SPK). In a call scene, three cores are mainly used in the headset to participate in work, and the Acore is an application core and is mainly responsible for function logic control, such as call starting and call ending. Most functions of the Acore are actually in a sleep state during the whole call, and therefore, the power consumption of the Acore is also low (wherein, the Acore is not shown in fig. 1(a) and 1 (b)). The BT core is mainly responsible for transmitting uplink data and downlink data, and is generally in a low power consumption operating mode. The DSP core is responsible for encoding, decoding and processing uplink data and downlink data, for example, the DSP core may process the uplink data and the downlink data through an audio algorithm such as interface scheduling 3A. Therefore, in a call scenario, the power consumption of the headset is mostly derived from the DSP core. The 3A is a generic term of three algorithms, namely, An Echo Cancellation (AEC), an Automatic Gain Control (AGC), and an Active Noise Control (ANC).
Table 1 shows a cruising ability analysis table of 5 TWS headphones. The general call endurance of the following TWS headset is to be improved and does not reach the endurance level expected by the user.
TABLE 1
Figure BDA0002919446580000081
Figure BDA0002919446580000091
In addition, in a call scenario, the DSP core in the TWS headset always operates at a fixed frequency, which is typically set uniformly by the headset when the headset leaves the factory, and the frequency does not change with the change of the surrounding environment, as shown in table 2.
TABLE 2
Audio data Operating frequency of DSP core
Uplink data Fixed frequency M 1
Downstream data Fixed frequency M 1
Both uplink and downlink data exist Fixed frequency M 1
No data exists between uplink and downlink Fixed frequency M 1
As can be seen from table 2, the uplink and downlink data states can be divided into four types, where only uplink data exists, only downlink data exists, both uplink and downlink data exist, and both uplink and downlink data do not exist. Under the four states, the DSP core always works at a fixed M 1 Frequency. In an actual call scenario, the users of both parties of the call speak alternately in most cases, that is, the ratio of the speaking time of the users of both parties to the total call time is low. Illustratively, silence data (which may also be referred to as noise data or background noise data) accounts for up to about 60% of the call scenario.
As shown in fig. 2, in the voice communication process, the situation that the uplink and downlink loads are executed simultaneously, that is, the situation that the uplink and downlink data exist simultaneously, occurs only in a very small time period, but the DSP core always operates at a fixed frequency to ensure that the maximum load can be executed normally. Therefore, the DSP core operating at a fixed frequency will consume a lot of power during the whole call life cycle. The upper half of fig. 2 shows the waveforms of the uplink data and the waveforms of the downlink data, and the lower half of fig. 2 shows the operating frequencies of the DSP cores corresponding to the waveforms of the uplink data and the waveforms of the downlink data.
It can be understood that the terminal device referred to in this embodiment of the present application may refer to a terminal device having a bluetooth module, for example, a mobile phone, a computer, a tablet, and the like, which is not limited in this embodiment of the present application.
The embodiment of the application is not limited to be applied to the TWS headset, and can also be applied to other headsets with Bluetooth modules.
Fig. 3 shows a possible structure of the earphone. The headset may include a processor, a memory, and may further include a bluetooth communication module, an audio module, one or more microphones, one or more speakers, a bone vibration sensor, a charge management module, a fuel gauge management module, a battery, an acceleration sensor, a magnetic sensor, a gyroscope sensor, a pressure sensor, a proximity light sensor, a hall sensor, a touch sensor, and the like.
The processor includes one or more processing units, for example, the processor may be an application processor, a bluetooth processor, a digital signal processor, or the like. The different processors may be stand-alone devices or may be integrated into one or more processing units.
The memory is used for storing program codes executable by the system. The memory may include an internal memory and/or an external memory, such as Flash memory (Flash). Illustratively, the memory may simultaneously store audio data files, such as some necessary alert tones and the like.
The processor may invoke the memory to execute the program code executable by the system for implementing the method for improving the endurance of the communication device according to various embodiments of the present application.
The Bluetooth communication module is used for transmitting audio data based on a Bluetooth protocol.
The audio module is used for managing and controlling the input and output of audio data, and the audio module can be connected with one or more microphone devices and one or more loudspeaker devices, and can also be used for high-level functions such as human voice recognition and the like by using the bone vibration sensor.
One or more microphones are used to collect audio data and one or more speakers are used to play the audio data.
The charging management module is connected with the battery and the processor and used for managing and controlling the charging and discharging of the system, and the electricity meter management module is used for measuring the electricity consumption condition of the system. The battery is used to power the system.
The acceleration sensor is used for detecting the movement of the earphone in all directions. The magnetic sensor comprises a Hall sensor and can be used for services such as box opening detection and the like. The gyroscope sensor is used to determine the state of motion of the headset. The pressure sensor is used for detecting pressure signals received by the earphone and is mainly used for pressing functions. The proximity optical sensor is used for detecting whether an object is near the earphone, and is mainly used for wearing detection and other services. The touch sensor is used for detecting whether the headset has a sliding operation, and is generally used for services such as volume control and the like. The bone vibration sensor is used for converting a sound signal into a mechanical vibration signal, and is used for services such as human voice detection and the like.
It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the earphone. In other embodiments of the present application, the headset may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The software system of the communication device may employ a layered architecture that divides the software into layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. Fig. 4 is a block diagram of a software configuration of a communication apparatus according to an embodiment of the present application. In some embodiments, the software system of the communication device is divided into three layers, namely, a kernel and driver layer, a framework and algorithm layer and an application layer from bottom to top.
Wherein the application layer may comprise a series of application packages. The framework and algorithm layer provides an Application Programming Interface (API) and a programming framework for the application programs of the application layer. The framework and algorithm layer includes some predefined functions, and illustratively, the framework and algorithm layer includes software modules for implementing the method for improving the endurance time of the communication device according to the embodiments of the present application. The kernel and driver layers are layers between hardware and software.
The embodiment of the application can be applied to a scene of communication between at least two users. For example, the user a makes a voice call with the user B by dialing a mobile phone number of the user B, or the user a makes a voice call or a video call with the user B through preset software. For example, a teleconference is performed between a plurality of users through preset software, or a video call is performed between a plurality of users through preset software. The preset software refers to software with a voice call function or a video call function. Any user can wear the earphone, and the earphone can adopt the method for adjusting the operating frequency of the processor provided by the embodiment of the application. The embodiment of the present application does not limit the specific structure of the earphone and the processor.
The uplink data referred to in the embodiments of the present application may also be referred to as uplink audio data, which refers to audio data sent to the opposite end of the call. The downlink data, which may also be referred to as downlink audio data, refers to audio data received from the opposite end of the call.
Based on this, the embodiment of the present application provides a method for improving a cruising time of a communication device, so as to achieve improvement of a cruising ability of an earphone. The communication device may be a headset, or a chip in the headset, or a processor, or a DSP core, etc. In the following, a communication device is taken as an example, and as shown in fig. 5, the method includes:
s501: the headset acquires a first state and a second state.
The first state indicates whether the uplink data includes valid data, and the first state may be denoted as S in . Wherein S is in 1, indicates that the uplink data includes valid data, S in 0 indicates that the uplink data does not include valid data. The second state indicates whether the downlink data includes valid data, and the second state may be denoted as S out . Wherein S is out 1 denotes that the downlink data includes valid data, S out 0 denotes the followingThe line data does not include valid data.
It should be noted that the uplink data may refer to an uplink data packet, and the downlink data may refer to a downlink data packet. Illustratively, a segment of speech may be divided into one or more data packets, the size of which may be determined by the audio protocol. For example, every 10ms of speech as a packet, a 3s segment of speech may be split into 300 packets. Each packet may comprise one or more 16-bit (bit) data streams, each bit having a value of 0 or 1. In addition, each 16-bit data stream can be converted from a 2-system to a 10-system, and the difference between the 10-system number corresponding to each 16-bit data stream and the 10-system number corresponding to the baseline can be used as the amplitude corresponding to the 16-bit data stream. Further, in the above manner, during the call, the amplitudes of the plurality of uplink packets and the amplitudes of the plurality of downlink packets may be obtained, and further, the waveform of the uplink data and the waveform of the downlink data may be plotted, as shown in fig. 2, and in addition, the baseline shown in fig. 2 is not necessarily 0, and may be other values. Further, the amplitude mean value or the amplitude root mean square of a packet can be calculated.
The valid data referred to in the embodiments of the present application refers to data transmitted with an information amount, or the valid data refers to data including substantial content. For example, the valid data may include voice data of a call between users, or the valid data may refer to non-noise data, or the valid data refers to data other than 0, or the valid data refers to data conforming to a preset curve rule, and the like. For another example, the valid data may also include some environmental data, for example, during the conversation with the user b, the user a plays a piece of audio through another device (e.g., a tablet, a computer, or a television), where the piece of audio is information that the user a wants the user b to hear, and thus the piece of audio is also valid data. Or, when the user a rings or knocks the door bell at home or the user c talks to the user a during the conversation with the user b, the door bell, the knocks, and the voice of the user c are also valid data. It should be understood that the foregoing examples are not intended to limit the embodiments of the present application, and the valid data is not limited to voice data of a call between users, and may also include other data with information content.
For example, but not limited to, the headset may determine whether the uplink data and the downlink data include valid data in the following manners 1 to 3, and then determine the first state and the second state.
Mode 1: whether the data packet includes valid data is determined by detecting whether the data packet is all 0 s. The data packet may be referred to as an uplink data packet or a downlink data packet.
For example, the headset may detect for each packet and determine whether all packets are 0. As shown in fig. 6(a), for each uplink packet, it is determined whether all the uplink packets are 0, and when all the uplink packets are 0, the first state S is obtained in 0. When the uplink data packet is not completely 0, acquiring a first state S in 1. Similarly, as shown in fig. 6(b), for each downlink data packet, it is determined whether all downlink data packets are 0, and when all downlink data packets are 0, the first state S is obtained out 0. When the downlink data packet is not all 0, acquiring a first state S out =1。
And 2, judging whether the data packet comprises valid data or not by detecting whether the energy of the data packet meets a preset condition or not. The data packet may be referred to as an uplink data packet or a downlink data packet.
Illustratively, the energy of the upstream data packet may be characterized by a first parameter, wherein the first parameter is calculated from the amplitude of the upstream data packet. For example, the first parameter may be an amplitude mean or an amplitude root of the uplink data packet. As shown in fig. 7(a), when the earphone determines that the first parameter is less than or equal to the first preset threshold, the first state S is obtained in 0. Or, when the earphone determines that the first parameter is greater than the first preset threshold, acquiring a first state S in =1。
It should be noted that the setting of the first preset threshold will affect the judgment of the valid data, generally, the first preset threshold may be determined according to an empirical value, and the empirical value is generally determined through experiments or historical data, for example, the value range of the first preset threshold is 30 to 80, and in addition, the first preset threshold may also be adjusted according to the environmental background sound.
Similarly, the energy of the downlink data packet can be characterized by a second parameter, wherein the second parameter is calculated according to the amplitude of the downlink data packet. For example, the second parameter may be an amplitude mean or an amplitude root of the downlink packet. As shown in fig. 7(b), when the earphone determines that the second parameter is greater than the second preset threshold, the second state S is obtained out 1. Or when the earphone determines that the second parameter is smaller than or equal to a second preset threshold value, acquiring a second state S out =0。
It should be noted that the setting of the second preset threshold will affect the judgment of the valid data, generally, the second preset threshold may be determined according to an empirical value, and the empirical value is generally determined through experiments or historical data, for example, the value range of the second preset threshold is 30-80, and in addition, the second preset threshold may also be adjusted according to the environmental background sound.
It will be appreciated that the first and second preset thresholds may be the same or different.
Mode 3: firstly, logarithm operation is executed for each data in the data packet, and then the logarithm results of the data are summed to be the corresponding energy of the data packet. Further, for the data packets with energy greater than the preset threshold, whether the amplitude distribution curve of each data packet conforms to gaussian distribution is further judged, if so, the data packet is determined to include valid data, and otherwise, the data packet does not include valid data. If the energy is judged to be less than or equal to the preset threshold, it is determined that the data packet does not include valid data, as shown in fig. 8.
The data packet may be an uplink data packet or a downlink data packet. Mode 3 is an open source scheme, and mode 3 may have a plurality of implementation manners, which is not limited in this application embodiment.
In the above-mentioned modes 1 to 3, it should be noted that the first mode 1 to 3 are only examples and are not intended to limit the embodiments of the present application, and those skilled in the art may determine the first state and the second state in other manners.
Secondly, the above-mentioned modes 1 to 3 may also be used in combination, for example, the mode 2 is combined with the mode 3, in the mode 2, when the earphone determines that the first parameter is less than or equal to the first preset threshold, the method of the mode 3 is adopted to determine whether the sum of the logarithm results of each data in the uplink data packet is greater than a preset threshold, and if so, then determine whether the amplitude distribution curve of the uplink data packet conforms to gaussian distribution. For example, the mode 1 is combined with the mode 2, or the mode 1 is combined with the mode 3.
Thirdly, the process of determining whether the uplink data includes valid data and the process of determining whether the downlink data includes valid data are independent of each other, that is, the first state and the second state are also independent of each other.
In addition, in some embodiments, the first buffer stores uplink data, and the first buffer is used to store data that needs to be processed by using a first preset audio algorithm. When the uplink data does not include valid data, the first buffer is set to zero, that is, the uplink data is not processed by adopting a first preset algorithm. Specifically, when the uplink data does not include valid data, the uplink data is transmitted to the bluetooth BT core, and the uplink data is not processed by using the first preset audio algorithm. And when the uplink data comprises effective data, after the uplink data is processed by adopting a first preset audio algorithm, the processed uplink data is transmitted to the BT core. The first preset audio algorithm herein may refer to a 3A algorithm. It should be noted that, when the uplink data does not include valid data, the uplink data at this time is not discarded, but only skips the processing of the first preset audio algorithm, and directly enters the next operation, or the uplink data skips the processing of the first preset audio algorithm and is replaced with preset noise data. Therefore, the sound effect optimization of the uplink data including the effective data can be realized to ensure the user experience, and the power consumption waste caused by the sound effect optimization of the uplink data not including the effective data can be avoided.
Similarly, the second cache stores the downlink data, and the second cache is used for storing the data to be processed by adopting a second preset audio algorithm. And when the downlink data does not comprise the valid data, the second cache is set to zero, namely the downlink data is not processed by adopting a second preset algorithm. Specifically, when the downlink data does not include valid data, the downlink data is transmitted to the codec, and the downlink data is not processed by using the second preset audio algorithm. And when the downlink data comprises effective data, after the downlink data is processed by adopting a second preset audio algorithm, the processed uplink data is transmitted to the coder-decoder. The second preset audio algorithm may be referred to as a 3A algorithm. It should be noted that, when the downlink data does not include valid data, the downlink data at this time is not discarded, but the processing of the second preset audio algorithm is skipped, and the next operation is directly performed, or the downlink data is skipped through the processing of the second preset audio algorithm and is replaced with preset noise data. Therefore, the method and the device can realize the effect optimization of the downlink data including the effective data to ensure the user experience, and can avoid the power consumption waste caused by the effect optimization of the downlink data not including the effective data.
It is understood that the first preset algorithm and the second preset algorithm may be the same algorithm (for example, 3A algorithm) or different algorithms, and the embodiment of the present application is not limited thereto.
The above-mentioned preset noise data, which may also be referred to as comfort noise data, may be generated from the ambient background sound or stored in the headphone in advance, for example, the preset noise data herein may be all-0 data.
It should be noted that, because the earphone system is in the debugging process within the preset time period when the call is just started, during this time period, even if it is determined that the uplink data does not include valid data, the uplink data is processed by using the first preset audio algorithm, and after the preset time period, if the uplink data does not include valid data, the uplink data is not processed by using the first preset audio algorithm. The same applies to the downlink data.
The stability of the algorithm can be ensured through the design, and the phenomena of system working abnormity, such as blockage, noise and the like caused by frequent system state switching are avoided. The size of the preset time period is related to the performance of the earphone, for example, the value range of the preset time period is 50ms to 200 ms.
Fig. 9 is a schematic diagram illustrating reporting of the first state and the second state, where the first module may be configured to determine the adjusted operating frequency of the DSP core, that is, to execute S502. The second module is for determining a first state and the third module is for determining a second state. In addition, the first module may be named an adaptive frequency modulation module, the second module may be named a first valid data identification module, and the third module may be named a second valid data identification module. The second module may report the first state to the first module after determining the first state. The third module may report the second state to the first module after determining the second state.
Illustratively, the first module, the second module, and the third module may be located at the framework and algorithm layer in fig. 4.
In some embodiments, the DSP core may invoke corresponding computer programs for the first module, the second module, and the third module, respectively, to perform corresponding functions. When the operating frequency of the DSP core is a first frequency, the first module triggers the operating power of the DSP core to be adjusted to a second frequency after determining the adjusted operating frequency (for example, a second frequency) of the DSP core. When the operating frequency of the DSP core is the second frequency, the first module triggers the operating power of the DSP core to be adjusted to the first frequency after determining the adjusted operating frequency (such as the first frequency) of the DSP core.
In some embodiments, the DSP core may invoke corresponding computer programs for the first module, the second module, and the third module, respectively, to perform corresponding functions. When the operating frequency of the DSP core is the first frequency, after the first module determines the adjusted operating frequency (for example, the second frequency) of the DSP core, the first module may notify the application processor of the second frequency, and issue, by the application processor, a first instruction to the DSP core, where the first instruction is used to instruct the DSP core to adjust the operating power of the DSP core to the second frequency. Alternatively, after determining the adjusted operating frequency (e.g., the second frequency) of the DSP core, the first module sends a first notification message to the application processor, where the first notification message indicates to turn down the operating frequency of the DSP core. And the application processor issues a second instruction to the DSP core, wherein the second instruction is used for instructing the DSP core to reduce the running power of the DSP core. When the operating frequency of the DSP core is the second frequency, after the first module determines the adjusted operating frequency (for example, the first frequency) of the DSP core, the first module may notify the application processor of the first frequency, and issue, by the application processor, a third instruction to the DSP core, where the third instruction is used to instruct the DSP core to adjust the operating power of the DSP core to the first frequency. Alternatively, after determining the adjusted operating frequency (e.g., the first frequency) of the DSP core, the first module sends a second notification message to the application processor, where the second notification message indicates to increase the operating frequency of the DSP core. And the application processor issues a fourth instruction to the DSP core, wherein the fourth instruction is used for instructing the DSP core to increase the running power of the DSP core.
In some embodiments, the DSP core may execute computer programs corresponding to the second module and the third module, respectively, and the application processor core executes computer programs corresponding to the first module. When the operating frequency of the DSP core is the first frequency, after determining the adjusted operating frequency (for example, the second frequency) of the DSP core, the first module issues a first instruction to the DSP core, where the first instruction is used to instruct the DSP core to adjust the operating power of the DSP core to the second frequency. Or, after determining the adjusted operating frequency (for example, the second frequency) of the DSP core, the first module issues a second instruction to the DSP core, where the second instruction is used to instruct the DSP core to reduce the operating power of the DSP core. When the operating frequency of the DSP core is the second frequency, after the first module determines the adjusted operating frequency (for example, the first frequency) of the DSP core, the application processor issues a third instruction to the DSP core, where the third instruction is used to instruct the DSP core to adjust the operating power of the DSP core to the first frequency. Or, after determining the adjusted operating frequency (e.g., the first frequency) of the DSP core, the first module issues a fourth instruction to the DSP core, where the fourth instruction is used to instruct the DSP core to increase the operating power of the DSP core.
Fig. 10(a) and 10(b) are schematic diagrams of an upstream path and a downstream path. Illustratively, the user a makes a voice call with the user B, the user a wears an earphone, that is, the mobile phone of the user a and the mobile phone of the user B execute a voice call service, and the earphone establishes a bluetooth connection with the mobile phone of the user a. The uplink data is data collected from the user a side, and the downlink data is data collected from the user B side. Illustratively, the handset of user a may correspond to terminal device a in fig. 1(a), the handset of user B may correspond to terminal device B in fig. 1(a), and the headset may correspond to the communication device in fig. 1 (a).
Specifically, the uplink data can be collected by the Main Mic, the sub Mic and the VPU of the earphone and transmitted to the DSP core through the Codec. The DSP core receives input uplink data through a communication bus protocol, and the DSP core sequentially calls the SRC and the second module to sequentially process the uplink data.
If the second module outputs S in If the uplink data include valid data, the DSP core sequentially calls the uplink 3A algorithm, the SRC, and the uplink codec module to process the uplink data. Further, the uplink data processed by the DSP core is transmitted to the BT core, and the BT core sends the uplink data to the mobile phone of the user a through the air interface. Further, the mobile phone of the user a processes the uplink data and sends the uplink data to the mobile phone of the user B.
If the second module outputs S in When the uplink data does not include valid data, in fig. 10(a), the DSP core sequentially calls the fourth module, the SRC, and the uplink codec module to process the preset noise data. And the fourth module replaces the uplink data with the preset noise data. Illustratively, the preset noise data may be generated from the ambient background sound or may be stored in the headset in advance, for example, the preset noise data herein may be all-0 data. Further, the preset noise data processed by the DSP core is transmitted to the BT core, and the BT core sends the preset noise data to the mobile phone of the user a through the air interface. Further, the mobile phone of the user a processes the preset noise data and sends the processed preset noise data to the mobile phone of the user B. In fig. 10(b), the DSP core sequentially calls the SRC and the uplink codec module to process uplink data. Further, the uplink data processed by the DSP core is transmitted to the BT core, and the BT core sends the uplink data to the mobile phone of the user a through the air interface. Further, the mobile phone of the user a processes the uplink data and sends the uplink data to the mobile phone of the user B.
And the mobile phone of the user A receives downlink data from the mobile phone of the user B and transmits the downlink data to the BT core of the earphone through the Bluetooth transmission module of the mobile phone of the user A. Further, downlink data are transmitted from the BT core to the DSP core, and the DSP core sequentially calls the downlink coding and decoding module, the SRC, and the third module to process the downlink data.
If the third module outputs S out If the downlink data includes valid data, the DSP core sequentially calls a downlink 3A algorithm, an SRC, a mixing and gain processing module to process the downlink data, and outputs the downlink data processed by the DSP core through a communication bus protocol. Further, the downlink data processed by the DSP core is transmitted to Codec and played by SPK.
If the third module outputs S out In fig. 10(a), the DSP core sequentially calls the fifth module, the SRC, and the mixing and gain processing module to process the preset noise data, and outputs the preset noise data processed by the DSP core through the communication bus protocol. Further, the preset noise data processed by the DSP core is transmitted to Codec and played by SPK. And the fifth module replaces the preset noise data with the downlink data. Illustratively, the preset noise data may be generated from the ambient background sound or stored in the headphone in advance, for example, the preset noise data herein may be all-0 data. In fig. 10(b), the DSP core sequentially calls the SRC, the mixing and gain processing module to process the uplink data, and outputs the uplink data processed by the DSP core through the communication bus protocol. Further, the uplink data processed by the DSP core is transmitted to Codec and played by SPK.
S502: the earphone adjusts the operating frequency of the processor according to the first state and the second state.
In some embodiments, the upstream data and the downstream data each include valid data, and the operating frequency of the headset configuration processor is a first frequency. The first frequency is a higher frequency, and the design can ensure that the call quality between users is not influenced.
In some embodiments, the operating frequency of the headset configuration processor is the second frequency when at least one of the upstream data and the downstream data does not include valid data. The headset may adjust the operating frequency of the processor from a first frequency to a second frequency, the second frequency being less than the first frequency. By adopting the design, when at least one of the uplink data and the downlink data does not comprise effective data, the processor does not need to be kept at a higher operating frequency, the operating frequency of the processor is reduced, the communication quality between users cannot be influenced, the power consumption of the processor can be saved by reducing the operating frequency of the processor, and the duration of the headset is prolonged.
In some embodiments, when neither the uplink data nor the downlink data includes valid data, the operating frequency of the headset configuration processor is a third frequency, and the third frequency is less than or equal to the second frequency. By adopting the design, when the uplink data and the downlink data do not comprise effective data, the processor does not need to be kept at a higher operating frequency, the operating frequency of the processor is reduced, the communication quality between users cannot be influenced, the operating frequency of the processor is reduced, the power consumption of the processor can be saved, and the duration of the headset is prolonged.
Optionally, the operating frequency of the processor may be periodically adjusted according to the first state and the second state, for example, the operating frequency of the processor may be periodically adjusted in response to a determination result whether the uplink data and the downlink data include valid data; the operating frequency of the processor may also be adjusted in response to the determination result of whether the uplink data and the downlink data include valid data.
A specific process for determining the operating frequency of the processor according to the first state and the second state is described below with reference to example 1 and example 2, and it is understood that example 1 and example 2 are only examples and are not intended to limit the embodiments of the present application.
Example 1:
and when the uplink data comprises valid data and the downlink data comprises valid data, adjusting the operating frequency of the processor to be a first frequency. And when the uplink data does not comprise the valid data and/or the downlink data does not comprise the valid data, adjusting the operating frequency of the processor from the first frequency to a second frequency, wherein the second frequency is less than the first frequency. By adopting the method, when the uplink data comprises the effective data and the downlink data comprises the effective data, the operating frequency of the processor is higher. When the upstream data does not include valid data and/or the downstream data does not include valid data, the operating frequency of the processor is low. The running frequency of the processor is dynamically adjusted along with whether the uplink data comprise effective data or not and whether the downlink data comprise effective data or not, so that the power consumption of the processor can be effectively saved, and the duration of the headset is prolonged.
Illustratively, as shown in FIG. 11, the processor includes a DSP core, when S in 1 and S out Operating power of the DSP core is at M1 when S is equal to 1 in 0 and/or S out 0, i.e. S in 1 and S out 0, or S in 0 and S out 1, or S in 0 and S out And the running power of the DSP core is at M2, and M2 < M1.
TABLE 3
A first state and a second state Operating frequency of DSP core
S in =0,S out =1 M2
S in =1,S out =0 M2
S in =1,S out =1 M1
S in =0,S out =0 M2
In addition, in order to avoid frequently switching the operating frequency of the processor, when the uplink data does not include valid data and/or the downlink data does not include valid data, if the duration that the operating frequency of the processor is at the first frequency exceeds the first duration, the operating frequency of the processor is adjusted from the first frequency to the second frequency. Illustratively, the timer is triggered to start counting when the operating frequency of the slave processor is at a first frequency. The first duration may be determined according to an empirical value, and the empirical value is generally determined through experiments or historical data, for example, the first duration ranges from 80ms to 150 ms. After that, if the uplink data includes valid data and the downlink data does not include valid data, the operating frequency of the processor is adjusted from the second frequency to the first frequency, and the adjustment of the operating frequency is immediately performed to ensure the call quality of the user.
Example 2:
and when the uplink data comprises valid data and the downlink data comprises valid data, adjusting the operating frequency of the processor to be a first frequency. And when the uplink data does not comprise the valid data or the downlink data does not comprise the valid data, adjusting the operating frequency of the processor from the first frequency to a second frequency, wherein the second frequency is less than the first frequency. And when the uplink data does not comprise the valid data and the downlink data does not comprise the valid data, adjusting the operating frequency of the processor from the first frequency to a third frequency, wherein the third frequency is less than the first frequency. By adopting the method, when the uplink data comprises the valid data and the downlink data comprises the valid data, the operating frequency of the processor is the highest. When the upstream data does not include valid data or the downstream data does not include valid data, the operating frequency of the processor is higher. When the upstream data does not include valid data and the downstream data does not include valid data, the operating frequency of the processor is lowest. The running frequency of the processor is dynamically adjusted along with whether the uplink data comprise effective data or not and whether the downlink data comprise effective data or not, so that the power consumption of the processor can be effectively saved, and the duration of the headset is prolonged.
Illustratively, as shown in FIGS. 12 and 13, the processor includes a DSP core, when S in 1 and S out The operating power of the DSP core is at M1, 1. When S is in 0 or S out 0, i.e. S in 1 and S out 0, or S in 0 and S out The operating power of the DSP core is at M2, M2 < M1, whichever is 1. When S is in 0 and S out And the running power of the DSP core is at M3, and M3 < M2. The upper half of fig. 3 shows the waveforms of the uplink data and the waveforms of the downlink data, and the lower half of fig. 3 shows the operating frequencies of the DSP cores corresponding to the waveforms of the uplink data and the waveforms of the downlink data. Compared with fig. 2, the working frequency of the DSP core changes with the change of the uplink and downlink loads, and power consumption can be saved and endurance time can be improved by dynamically adjusting the working frequency of the DSP core.
TABLE 4
A first state and a second state Operating frequency of DSP core
S in =0,S out =1 M2
S in =1,S out =0 M2
S in =1,S out =1 M1
S in =0,S out =0 M3
In addition, in order to avoid frequently switching the operating frequency of the processor, when the uplink data does not include valid data or the downlink data does not include valid data, if the duration that the operating frequency of the processor is in the first frequency exceeds the second duration, the operating frequency of the processor is adjusted from the first frequency to the second frequency. After that, if the uplink data includes valid data and the downlink data does not include valid data, the operating frequency of the processor is adjusted from the second frequency to the first frequency, and the adjustment of the operating frequency is immediately performed to ensure the call quality of the user. Or, after that, if the uplink data does not include valid data and the downlink data does not include valid data, it may be determined that the time length during which the operating frequency of the processor is at the second frequency exceeds the third time length, and if the time length exceeds the third time length, the operating frequency of the processor is adjusted from the second frequency to the third frequency.
Similarly, when the uplink data does not include valid data and the downlink data does not include valid data, if the duration that the operating frequency of the processor is at the first frequency exceeds the fourth duration, the operating frequency of the processor is adjusted from the first frequency to the third frequency. After that, if the uplink data includes valid data and the downlink data does not include valid data, the operating frequency of the processor is adjusted from the third frequency to the first frequency, and the adjustment of the operating frequency is immediately performed to ensure the call quality of the user. After that, if the uplink data does not include valid data or the downlink data does not include valid data, the operating frequency of the processor is adjusted from the third frequency to the second frequency, and the adjustment of the operating frequency is immediately performed to ensure the call quality of the user.
The method for determining the second duration, the third duration, and the fourth duration may refer to the method for determining the first duration, which is not described herein again.
In addition, the earphone adopting the method of the embodiment shown in fig. 5 is tested through two scenarios of ANC function off and ANC function on, and the specific test parameters are shown in table 5. When the ANC function is off, the average current of the primary and secondary ears using the method of the embodiment shown in fig. 5 is reduced by 1.42mA, the endurance of the headset is increased (4.97-4.41) × 0.6 ≈ 30 minutes, and when the ANC function is on, the average current of the primary and secondary ears is reduced by 1.88mA, and the endurance of the headset is increased (4.37-3.80) ≈ 0.6 ≈ 30 minutes.
TABLE 5
Figure BDA0002919446580000171
It is to be understood that in order to implement the functions of the above-described embodiments, those skilled in the art should readily appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software driven hardware depends on the particular application scenario and design constraints imposed on the solution.
Fig. 14 is a schematic structural diagram of a possible communication device according to an embodiment of the present application. These communication devices can be used to implement the functions of the headset in the above method embodiments, and therefore, the advantages of the above method embodiments can also be achieved. In the embodiment of the present application, the communication device may be a headset, or a chip in the headset, or a processor, or a DSP core, etc.
As shown in fig. 14, the communication apparatus 1400 includes a processing unit 1410 and an acquisition unit 1420. The communication device 1400 is used to implement the functions of the headset in the method embodiment shown in fig. 5 described above. An obtaining unit 1420, configured to obtain a first state and a second state, where the first state indicates whether uplink data includes valid data, and the second state indicates whether downlink data includes valid data; the effective data refers to data transmitted by information quantity;
a processing unit 1410, configured to determine an operating frequency of the processor according to the first state and the second state.
More detailed descriptions about the processing unit 1410 and the obtaining unit 1420 can be directly obtained by referring to the related descriptions in the embodiment of the method shown in fig. 5, which are not repeated herein.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network appliance, a user device, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape; or optical media such as Digital Video Disks (DVDs); it may also be a semiconductor medium, such as a Solid State Drive (SSD).
In the embodiments of the present application, unless otherwise specified or conflicting with respect to logic, the terms and/or descriptions in different embodiments have consistency and may be mutually cited, and technical features in different embodiments may be combined to form a new embodiment according to their inherent logic relationship.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a alone, A and B together, and B alone, wherein A and B may be singular or plural. In the description of the text of the present application, the character "/" generally indicates that the former and latter associated objects are in an "or" relationship; in the formula of the present application, the character "/" indicates that the preceding and following related objects are in a relationship of "division".
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of the present application. The sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of the processes should be determined by their functions and inherent logic.

Claims (33)

1. A method for increasing a duration of a communication device, the method comprising:
acquiring a first state and a second state, wherein the first state indicates whether uplink data comprises effective data, and the second state indicates whether downlink data comprises effective data; the effective data refers to data transmitted by information quantity;
and configuring the running frequency of the processor according to the first state and the second state.
2. The method of claim 1, wherein configuring the operating frequency of a processor according to the first state and the second state comprises:
and when the uplink data and the downlink data both comprise valid data, configuring the operating frequency of the processor as a first frequency.
3. The method of claim 2, wherein configuring an operating frequency of a processor according to the first state and the second state further comprises:
and when at least one of the uplink data and the downlink data does not comprise valid data, configuring the operating frequency of the processor as a second frequency, wherein the second frequency is smaller than the first frequency.
4. The method of claim 3, wherein the method further comprises:
and when the uplink data and the downlink data do not comprise valid data, configuring the operating frequency of the processor as a third frequency, wherein the third frequency is less than or equal to the second frequency.
5. The method according to any one of claims 1 to 4, wherein a first buffer stores the upstream data, and the first buffer is used for storing data to be processed by using a first preset audio algorithm;
the method further comprises the following steps:
and when the uplink data does not comprise valid data, setting the first buffer to be zero.
6. The method according to any one of claims 1 to 5, wherein a second buffer stores the downlink data, the second buffer being configured to store data to be processed using a second predetermined audio algorithm;
the method further comprises the following steps:
and when the downlink data does not comprise valid data, setting the second buffer to zero.
7. The method of claim 3, further comprising:
and when at least one of the uplink data and the downlink data does not comprise valid data, if the duration of the operating frequency of the processor in the same frequency is greater than or equal to a first duration, configuring the operating frequency of the processor as the second frequency.
8. The method of claim 4, further comprising:
when the uplink data and the downlink data do not comprise valid data, if the duration of the operating frequency of the processor in the same frequency is greater than or equal to a second duration, configuring the operating frequency of the processor to be the third frequency.
9. The method of any one of claims 1 to 8,
when the uplink data is not all 0, the first state indicates that the uplink data comprises valid data;
or, when the uplink data are all 0, the first status indicates that the uplink data do not include valid data.
10. The method of any one of claims 1 to 8,
when the downlink data is not all 0, the second state indicates that the downlink data comprises valid data;
or, when all the downlink data are 0, the second state indicates that the downlink data do not include valid data.
11. The method of any one of claims 1 to 8,
when a first parameter is smaller than or equal to a first preset threshold value, the first state indicates that the uplink data does not include valid data, wherein the first parameter is calculated according to the amplitude of the uplink data;
or, when the first parameter is greater than a first preset threshold, the first state indicates that the uplink data includes valid data, where the first parameter is calculated according to the amplitude of the uplink data.
12. The method of any one of claims 1 to 8,
when a second parameter is greater than a second preset threshold, the second state indicates that the downlink data comprises valid data, wherein the second parameter is calculated according to the amplitude of the downlink data;
or, when a second parameter is smaller than or equal to the second preset threshold, the second state indicates that the downlink data does not include valid data, where the second parameter is calculated according to the amplitude of the downlink data.
13. A method for increasing a duration of a communication device, the method comprising:
acquiring a data state, wherein the data state indicates whether data comprises valid data or not, and the valid data refers to data transmitted by information quantity;
judging whether the data is processed by a preset algorithm or not according to the data state;
and when the data state indicating data does not comprise the valid data, not executing the preset algorithm processing on the data.
14. The method of claim 13, wherein the data is uplink data, and the predetermined algorithm is a first predetermined algorithm; the first cache stores the uplink data, and is used for storing data to be processed by adopting the first preset audio algorithm;
judging whether the data is processed by a preset algorithm according to the data state, wherein the judgment comprises the following steps:
when the uplink data does not comprise valid data, setting the first cache to zero;
or, when the uplink data comprises valid data, processing the uplink data by using the first preset audio algorithm.
15. The method of claim 13, wherein the data is downlink data and the predetermined algorithm is a second predetermined algorithm; the downlink data is stored in a second cache, and the second cache is used for storing data needing to be processed by adopting the second preset audio algorithm;
judging whether the data is processed by a preset algorithm according to the data state, wherein the judgment comprises the following steps:
when the downlink data does not comprise valid data, setting the second cache to zero;
or, when the downlink data includes valid data, processing the downlink data by using the second preset audio algorithm.
16. An apparatus for increasing a duration of a communication device, the apparatus comprising:
an obtaining unit, configured to obtain a first state and a second state, where the first state indicates whether uplink data includes valid data, and the second state indicates whether downlink data includes valid data; the effective data refers to data transmitted by information quantity;
and the processing unit is used for configuring the operating frequency of the processor according to the first state and the second state.
17. The apparatus of claim 16, wherein the processing unit is configured to configure the operating frequency of the processor to be a first frequency when both the upstream data and the downstream data comprise valid data.
18. The apparatus of claim 17, wherein the processing unit is further configured to configure the operating frequency of the processor to be a second frequency when at least one of the upstream data and the downstream data does not include valid data, and the second frequency is smaller than the first frequency.
19. The apparatus as recited in claim 18, said processing unit to further:
and when the uplink data and the downlink data do not comprise valid data, configuring the operating frequency of the processor as a third frequency, wherein the third frequency is less than or equal to the second frequency.
20. The apparatus according to any one of claims 16-19, further comprising a first buffer, wherein the first buffer stores the upstream data, and the first buffer is configured to store data that needs to be processed by using a first predetermined audio algorithm; the processing unit is configured to set the first buffer to zero when the uplink data does not include valid data.
21. The apparatus according to any one of claims 16-20, further comprising a second buffer, wherein the second buffer stores the downlink data, and the second buffer is configured to store data that needs to be processed by using a second predetermined audio algorithm; the processing unit is configured to set the second buffer to zero when the downlink data does not include valid data.
22. The apparatus of claim 18, wherein the processing unit is configured to configure the operating frequency of the processor as the second frequency if a duration of the operating frequency of the processor at the same frequency is greater than or equal to a first duration when at least one of the uplink data and the downlink data does not include valid data.
23. The apparatus of claim 19, wherein the processing unit is configured to configure the operating frequency of the processor as the third frequency if a duration of the operating frequency of the processor in the same frequency is greater than or equal to a second duration when neither the uplink data nor the downlink data includes valid data.
24. The apparatus according to any of claims 16-23, wherein the first status indicates that the uplink data comprises valid data when the uplink data is not all 0; or, when the uplink data is all 0, the first state indicates that the uplink data does not include valid data.
25. The apparatus according to any of claims 16-23, wherein the second status indicates that the downlink data includes valid data when the downlink data is not all 0; or, when all the downlink data are 0, the second state indicates that the downlink data do not include valid data.
26. The apparatus according to any of claims 16-23, wherein the first status indicates that the uplink data does not include valid data when a first parameter is less than or equal to a first preset threshold, wherein the first parameter is calculated from an amplitude of the uplink data; or, when the first parameter is greater than a first preset threshold, the first state indicates that the uplink data includes valid data, where the first parameter is calculated according to the amplitude of the uplink data.
27. The apparatus according to any of claims 16-23, wherein the second status indicates that the downlink data comprises valid data when a second parameter is greater than a second preset threshold, wherein the second parameter is calculated according to an amplitude of the downlink data; or, when a second parameter is less than or equal to the second preset threshold, the second state indicates that the downlink data does not include valid data, where the second parameter is calculated according to an amplitude of the downlink data.
28. An apparatus for improving endurance of a communication device, the method comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a data state, the data state indicates whether data comprises valid data or not, and the valid data refers to data transmitted by information quantity;
the processing unit is used for judging whether the data is processed by a preset algorithm according to the data state; and when the data state indicating data does not comprise the valid data, not executing the preset algorithm processing on the data.
29. The apparatus of claim 28, wherein the data is uplink data and the predetermined algorithm is a first predetermined algorithm; the first cache stores the uplink data, and is used for storing data to be processed by adopting the first preset audio algorithm; the processing unit is configured to set the first buffer to zero when the uplink data does not include valid data, or process the uplink data by using the first preset audio algorithm when the uplink data includes valid data.
30. The apparatus of claim 28, wherein the data is downlink data, and the predetermined algorithm is a second predetermined algorithm; the downlink data is stored in a second cache, and the second cache is used for storing data needing to be processed by adopting the second preset audio algorithm; the processing unit is configured to set the second buffer to zero when the downlink data does not include valid data, or process the downlink data by using the second preset audio algorithm when the downlink data includes valid data.
31. A communications apparatus comprising a processor and a memory, the memory for storing a computer program, the processor invoking the memory to execute the computer program for implementing the method of any one of claims 1 to 15.
32. A computer-readable storage medium, in which a computer program is stored which, when executed by a communication apparatus, carries out the method according to any one of claims 1 to 15.
33. A computer program product, characterized in that the computer program product comprises a computer program for implementing the method according to any of claims 1 to 15 when the computer program is executed.
CN202110112547.0A 2021-01-27 2021-01-27 Method and device for improving endurance time of communication device Active CN114828170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110112547.0A CN114828170B (en) 2021-01-27 2021-01-27 Method and device for improving endurance time of communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110112547.0A CN114828170B (en) 2021-01-27 2021-01-27 Method and device for improving endurance time of communication device

Publications (2)

Publication Number Publication Date
CN114828170A true CN114828170A (en) 2022-07-29
CN114828170B CN114828170B (en) 2024-07-16

Family

ID=82524983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110112547.0A Active CN114828170B (en) 2021-01-27 2021-01-27 Method and device for improving endurance time of communication device

Country Status (1)

Country Link
CN (1) CN114828170B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020090078A1 (en) * 2001-01-11 2002-07-11 Telefonaktiebolaget L M Ericsson (Publ). Side-tone control within a telecommunication instrument
CN101751111A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method and device for adjusting chip power dissipation
US20130223635A1 (en) * 2012-02-27 2013-08-29 Cambridge Silicon Radio Limited Low power audio detection
WO2018076265A1 (en) * 2016-10-28 2018-05-03 华为技术有限公司 Method for adjusting call audio node, and terminal device
CN109005578A (en) * 2018-08-14 2018-12-14 广东小天才科技有限公司 Method for reducing power consumption of video call and wearable device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020090078A1 (en) * 2001-01-11 2002-07-11 Telefonaktiebolaget L M Ericsson (Publ). Side-tone control within a telecommunication instrument
CN101751111A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method and device for adjusting chip power dissipation
US20130223635A1 (en) * 2012-02-27 2013-08-29 Cambridge Silicon Radio Limited Low power audio detection
WO2018076265A1 (en) * 2016-10-28 2018-05-03 华为技术有限公司 Method for adjusting call audio node, and terminal device
CN109005578A (en) * 2018-08-14 2018-12-14 广东小天才科技有限公司 Method for reducing power consumption of video call and wearable device

Also Published As

Publication number Publication date
CN114828170B (en) 2024-07-16

Similar Documents

Publication Publication Date Title
US8775172B2 (en) Machine for enabling and disabling noise reduction (MEDNR) based on a threshold
TWI469138B (en) Method, apparatus and article of manufacture for modifying intelligibility of speech in a downlink voice signal during a call
US9344793B2 (en) Audio apparatus and methods
CN110493678B (en) Earphone control method and device, earphone and storage medium
KR101540896B1 (en) Generating a masking signal on an electronic device
CN108476256A (en) A kind of volume adjusting method and terminal
CN103379231B (en) A kind of wireless session phone and carry out the method for voice signal transmission
US20070237339A1 (en) Environmental noise reduction and cancellation for a voice over internet packets (VOIP) communication device
CN108886647B (en) Earphone noise reduction method and device, master earphone, slave earphone and earphone noise reduction system
CN108540906A (en) Volume adjusting method, earphone and computer readable storage medium
CN110839190B (en) Earphone wearing detection method and device, earphone and readable storage medium
US20070263847A1 (en) Environmental noise reduction and cancellation for a cellular telephone communication device
WO2016086633A1 (en) Method and apparatus for adaptively adjusting speech recognition rate, and storage medium
JP2012516471A (en) Audio coding selection based on device operating conditions
US8924205B2 (en) Methods and systems for automatic enablement or disablement of noise reduction within a communication device
CN114125616B (en) Low-power consumption method and device of wireless earphone, wireless earphone and readable storage medium
CN108766468A (en) A kind of intelligent sound detection method, wireless headset, TWS earphones and terminal
CN101552823A (en) Volume management system and method
CN111063363B (en) Voice acquisition method, audio equipment and device with storage function
CN113038316A (en) Earphone control method and device, Bluetooth earphone and storage medium
KR101592422B1 (en) Earset and control method for the same
CN101883164A (en) Adaptive volume gain device and method
CN114828170A (en) Method and device for improving endurance time of communication device
WO2007120734A2 (en) Environmental noise reduction and cancellation for cellular telephone and voice over internet packets (voip) communication devices
CN109511040A (en) A kind of whisper in sb.&#39;s ear amplification method, device and earphone

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