Intercom power consumption control method and device, electronic equipment and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-03
- Publication Date
- 2026-08-04
AI Technical Summary
[0004]本申请的目的在于提出了一种对讲机的功耗控制方法,旨在解决现有的对讲机功耗控制缺乏自适应动态调节能力,导致功耗高、续航短的问题
[0009] This application obtains the walkie-talkie's operating information, identifies the walkie-talkie's current business scenario and the working status of each functional module based on the operating information; dynamically adjusts the walkie-talkie processor's operating frequency and operating voltage according to the current business scenario and a scenario adaptation strategy; and adjusts the operating parameters of each functional module in conjunction with the working status of each functional module. In this way, the overall operating power consumption of the walkie-talkie can be adaptively and dynamically optimized, effectively reducing the device's power consumption and extending the walkie-talkie's battery life.
Smart Images

Figure CN122513853A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication equipment technology, and in particular to a power consumption control method, apparatus, electronic device and storage medium for a walkie-talkie. Background Technology
[0002] With the rapid development of wireless communication technology, multi-functional walkie-talkies have been widely used in various scenarios. Existing multi-functional walkie-talkies typically integrate multiple functions such as Bluetooth audio playback, Mesh self-organizing network intercom, and mobile terminal APP interconnection to meet users' comprehensive needs for intercom communication, music entertainment, and device management.
[0003] In related technologies, the power consumption control of multi-functional walkie-talkies generally adopts a fixed high-frequency processor operation strategy to meet the peak computing requirements of Mesh voice encoding and decoding. This approach results in high power consumption and short standby time for the walkie-talkie. Summary of the Invention
[0004] The purpose of this application is to propose a power consumption control method for walkie-talkies, which aims to solve the problem that existing walkie-talkie power consumption control lacks adaptive dynamic adjustment capabilities, resulting in high power consumption and short battery life.
[0005] This application provides a power consumption control method for a walkie-talkie, the method comprising: Obtain the operational information of the walkie-talkie, identify the current business scenario of the walkie-talkie based on the operational information, and the working status of each functional module of the walkie-talkie; Based on the current business scenario, dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the scenario adaptation strategy; In addition, the working parameters of each functional module are adjusted in conjunction with the working status of each functional module. The walkie-talkie's functional modules include at least: a mesh module, a Bluetooth module, and an audio module; the operating parameters of each functional module are adjusted in conjunction with its operating status, including: Adjust the wake-up and listening duty cycle of the mesh module according to the network topology and service operation status of the mesh module. Adjust the listening interval of the Bluetooth module according to the connection status and data interaction status of the Bluetooth module. Adjust the power supply voltage and bias current of the audio module according to the audio environment status and audio output configuration of the audio module.
[0006] Accordingly, this application also provides a power consumption control device for a walkie-talkie, comprising: The acquisition unit is used to acquire the walkie-talkie's operating information, identify the walkie-talkie's current business scenario based on the operating information, and the working status of each functional module of the walkie-talkie. The first adjustment unit is used to dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the current business scenario and the scenario adaptation strategy. The second adjustment unit is used to adjust the working parameters of each functional module in conjunction with the working status of each functional module. The walkie-talkie's functional modules include at least: a mesh module, a Bluetooth module, and an audio module; the operating parameters of each functional module are adjusted in conjunction with its operating status, including: Adjust the wake-up and listening duty cycle of the mesh module according to the network topology and service operation status of the mesh module. Adjust the listening interval of the Bluetooth module according to the connection status and data interaction status of the Bluetooth module. Adjust the power supply voltage and bias current of the audio module according to the audio environment status and audio output configuration of the audio module.
[0007] Accordingly, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the power consumption control method of the walkie-talkie described above when executing the program.
[0008] Accordingly, this application also provides a storage medium storing a plurality of instructions adapted for loading by a processor to execute the power consumption control method for the walkie-talkie described above.
[0009] This application obtains the walkie-talkie's operating information, identifies the walkie-talkie's current business scenario and the working status of each functional module based on the operating information; dynamically adjusts the walkie-talkie processor's operating frequency and operating voltage according to the current business scenario and a scenario adaptation strategy; and adjusts the operating parameters of each functional module in conjunction with the working status of each functional module. In this way, the overall operating power consumption of the walkie-talkie can be adaptively and dynamically optimized, effectively reducing the device's power consumption and extending the walkie-talkie's battery life. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] in: Figure 1 This is a flowchart illustrating a power consumption control method for a walkie-talkie provided in an embodiment of this application.
[0012] Figure 2 This is a flowchart illustrating another power consumption control method for a walkie-talkie provided in an embodiment of this application.
[0013] Figure 3 This is another flowchart illustrating a power consumption control method for a walkie-talkie provided in an embodiment of this application.
[0014] Figure 4 This is a structural block diagram of a power consumption control device for a walkie-talkie provided in an embodiment of this application.
[0015] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0016] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0017] This application provides a power consumption control method, apparatus, storage medium, and electronic device for walkie-talkies. Specifically, the power consumption control method for walkie-talkies in this application can be executed by an electronic device, which can be a terminal or a server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, and big data and artificial intelligence platforms.
[0018] Based on the above problems, this application provides a power consumption control method, device, electronic device and storage medium for walkie-talkies, which can adaptively and dynamically optimize the overall operating power consumption of the walkie-talkie, effectively reduce the power consumption of the device, and thus extend the battery life of the walkie-talkie.
[0019] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0020] Please see Figure 1 , Figure 1 This is a flowchart illustrating a power consumption control method for a walkie-talkie provided in an embodiment of this application. The specific flow of this power consumption control method for the walkie-talkie is as follows: 101. Obtain the operation information of the walkie-talkie, identify the current business scenario of the walkie-talkie based on the operation information, and the working status of each functional module of the walkie-talkie.
[0021] Among them, the operation information is real-time collected data and status identification information that can reflect the overall operation status of the walkie-talkie, the operation status of its services, and the working status of each functional module.
[0022] In some embodiments, the operating information of the walkie-talkie may include: overall service operation information, network (such as MESH network) communication status information, module interaction data information, audio operating condition acquisition information, system operating status information, etc.
[0023] For example, overall system operation information may include: voice intercom service start / stop status, Bluetooth audio playback service operation status, terminal application data interaction connection status, and multi-service simultaneous operation identification information; network communication status information may include: mesh network topology identity information, mesh network node communication connection status, neighbor node detection status, and RF link transceiver status; module interaction data information may include Bluetooth link establishment status, Bluetooth data transmission and reception traffic, data interaction idle time, and terminal command transmission status; audio operating condition acquisition information may include: real-time environmental noise data collected by the microphone, user-preset audio output volume parameters, and audio amplifier output operation status; system operation status information may include: device task scheduling queue information, system pending short-term tasks type and quantity, overall system sleep / wake-up trigger status, and power supply on / off status of each module.
[0024] In some embodiments, the business scenarios of the walkie-talkie may include at least: standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration.
[0025] In the standby scenario, the walkie-talkie is not initiating or transmitting voice communication services, nor is it running Bluetooth audio playback services. There is also no data interaction with external terminal applications. The entire device only retains the basic operation links, and all other service links are in a silent standby state.
[0026] In the Bluetooth audio playback scenario, the Bluetooth module stably receives the audio data stream transmitted from the external device, the main control unit completes the audio data decoding process, and outputs the decoded audio signal for playback.
[0027] In the mesh network intercom scenario, walkie-talkies utilize the mesh network communication link to achieve half-duplex voice communication, completing the encoding, transmission, reception, and decoding of voice signals to enable voice intercom interaction between devices within the network. This mesh network intercom can be a MESH intercom system.
[0028] In the terminal connection configuration scenario, the walkie-talkie establishes a communication connection with the mobile application via a Bluetooth communication link. The two only exchange a small amount of configuration and query data packets to complete simple operations such as device parameter configuration and status query.
[0029] In some embodiments, the functional modules of the walkie-talkie may include at least: a mesh module, a Bluetooth module, and an audio module.
[0030] Among them, the mesh module is used to complete the tasks in the mesh intercom scenario, the Bluetooth module is used to complete the tasks in the Bluetooth audio playback scenario and the terminal connection configuration scenario, and the audio module is used to complete the tasks in the Bluetooth audio playback scenario.
[0031] In some embodiments, identifying the current service scenario of the walkie-talkie and the working status of each functional module based on operational information may include: based on the collected operational information of the walkie-talkie, and through preset judgment rules, identifying the current service scenario and the working status of each functional module respectively. This provides a basis for subsequent power consumption adjustment.
[0032] In identifying business scenarios, the system can combine the walkie-talkie's service start / stop signals, communication connection status, and data transmission status to distinguish and identify scenarios such as pure standby, Bluetooth audio playback, mesh network intercom, terminal connection configuration, and multi-service mixed operation.
[0033] In identifying the working status of each functional module, the determination can be made separately for each module: For mesh network communication modules, identify their network topology and whether they are in the voice call service operation state; For Bluetooth modules, identify their link connection status and whether they are in an idle state with no data interaction for a long time; For the audio module, the current audio output condition is determined by combining the collected environmental noise data with the user-set volume parameters. At the same time, it can also simultaneously identify the internal task operation status and power supply status of each module. After completing all identification work, it will output the identified current business scenario and the working status results of each module.
[0034] In some embodiments, the judgment rules for business scenarios, the judgment thresholds for the working status of each functional module, and the recognition logic can be preset in the walkie-talkie processor.
[0035] The preset business scenarios can include pure standby scenarios, Bluetooth audio playback scenarios, mesh network intercom scenarios, terminal connection configuration scenarios, and multi-service mixed operation scenarios. The preset working states of each functional module include running state, idle state, sleep state, and corresponding sub-conditions (such as the network topology state of the mesh network module, the link connection and data interaction state of the Bluetooth module, etc.). At the same time, various judgment thresholds are preset (such as the Bluetooth no data interaction duration threshold, the environmental noise sampling threshold, etc.) to ensure that the recognition process is standardized and executable.
[0036] In some embodiments, the walkie-talkie has a built-in scene sensor that monitors the system message queue in real time, captures and integrates various operating information of the whole machine from the queue, and then analyzes and judges the aggregated operating information based on preset judgment rules. On the one hand, it identifies the current business scenario of the device, such as pure standby, Bluetooth audio playback, mesh network intercom, terminal application configuration, and multi-service hybrid. On the other hand, it simultaneously determines the actual working status of each functional module and finally outputs the recognition result.
[0037] 102. Based on the current business scenario, dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the scenario adaptation strategy.
[0038] In some embodiments, the current service scenario is one of standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration; then the step "dynamically adjust the operating frequency and operating voltage of the intercom processor according to the current service scenario and the scenario adaptation strategy" may include the following operations: If the current business scenario is standby, the main frequency will be adjusted to the first operating frequency, and the operating voltage will be adjusted accordingly to a voltage value that matches the first operating frequency; If the current business scenario is Bluetooth audio playback, adjust the main operating frequency to the second operating frequency, and correspondingly adjust the operating voltage to a voltage value that matches the second operating frequency; If the current business scenario is a terminal connection configuration scenario, the main operating frequency will be temporarily adjusted to the third operating frequency to interact with the terminal. After the interaction is completed, it will be adjusted back to the first operating frequency, and the operating voltage will be adjusted accordingly. If the current business scenario is mesh intercom, the operating frequency will be adjusted to the fourth operating frequency, and the operating voltage will be adjusted to a voltage value that matches the fourth operating frequency. During the transmission interval, the operating frequency will be adjusted back to the first operating frequency.
[0039] Among them, the first operating frequency is less than the second operating frequency, the second operating frequency is less than the third operating frequency, and the third operating frequency is less than the fourth operating frequency.
[0040] In this application embodiment, multiple different main control operating frequencies and their matching operating voltages are preset. The order of the multiple frequencies is: first operating frequency < second operating frequency < third operating frequency < fourth operating frequency. The frequency and matching voltage of each level can be matched and set according to the computing power and real-time requirements of different business operations.
[0041] Specific adjustment strategies can be as follows: When the walkie-talkie is in a pure standby service scenario, the main control processor's operating frequency is adjusted to the first operating frequency (e.g., <48MHz), and the core operating voltage is adjusted to the lowest stable voltage value adapted to this frequency, maintaining only the computing power required for the basic operation of the device; at this time, the Bluetooth module and the mesh network communication module enter a deep sleep state, only enabling the low-power listening function to minimize the static power consumption of the whole device.
[0042] When the scenario is identified as Bluetooth audio playback, the audio decoding operation is a medium-power task. The main control frequency is adjusted to the second working frequency (e.g., 48MHz~96MHz). This frequency band can just meet the real-time requirements of audio decoding, which can effectively avoid stuttering and delay in audio playback. At the same time, the operating voltage is adjusted to the minimum stable voltage that is compatible with the second working frequency, so as to control the power consumption output while ensuring smooth playback.
[0043] When the device is identified as a terminal application connection configuration scenario, it only needs to complete a small number of configuration data packet interactions. The overall operation logic is simple. First, the main control frequency is briefly increased to the third working frequency (such as 96MHz). Based on this frequency level, the data interaction and parameter configuration work is quickly completed. After the interaction process is completed, the main frequency is quickly dropped back to the first working frequency in a very short time. The corresponding operating voltage is adjusted synchronously with the main frequency change throughout the process, taking into account both the interaction response speed and the low power consumption operation requirements.
[0044] When the scenario is identified as a mesh network intercom service, the voice encoding and decoding operations and network routing maintenance have high requirements for real-time data transmission. It is necessary to ensure that the end-to-end communication latency meets the usage standards. Therefore, the main control frequency is adjusted to the fourth operating frequency (e.g., 120MHz), and the corresponding operating voltage is dynamically matched synchronously. Since the intercom uses a half-duplex communication mode, when the voice signal transmission stops and the signal reception standby is entered, there is no need to maintain a high main frequency. The main control frequency is immediately adjusted back to the first operating frequency to achieve dynamic frequency reduction and energy saving.
[0045] In some embodiments, the method may further include the following steps: If the current business scenario is mesh network intercom, the importance of voice frames should be classified during the mesh network intercom process; During high-importance voice frames, the system maintains the fourth operating frequency, while during low-importance voice frames, it temporarily switches to the second or third operating frequency.
[0046] In some embodiments, Mesh intercom performs real-time importance classification of voice frames: high-energy, key semantic frames are marked as high importance, while silent, low-energy frames are marked as low importance. During high-importance frames, the fourth operating frequency is maintained to ensure real-time performance; during low-importance frames, the system temporarily switches to the second or third operating frequency, significantly reducing average power consumption without affecting the call experience and further improving battery life.
[0047] In some embodiments, each service scenario of the walkie-talkie is assigned a priority; the current service scenario includes at least two of the following: standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration. The step "Dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the current business scenario and the scenario adaptation strategy" can include the following operations: Identify the target business scenario with the highest priority among the multiple business scenarios included in the current business scenario; Based on the adjustment strategy corresponding to the target business scenario, the operating frequency and operating voltage are adjusted.
[0048] This solution pre-sets the operating priority for various business scenarios. When the walkie-talkie is running two or more services at the same time and is in a mixed business scenario with multiple services coexisting, the highest priority target business scenario is selected from the multiple coexisting business scenarios through the built-in priority arbitration mechanism.
[0049] In some embodiments, mesh intercom has a higher priority than Bluetooth audio playback and terminal connection configuration; the method may further include the following steps: If the current business scenario includes mesh intercom and Bluetooth audio playback / terminal connection configuration, during the operation of mesh intercom, the business data of Bluetooth audio playback / terminal connection configuration is processed based on the idle time interval between adjacent voice transmission frames.
[0050] Among them, the mesh intercom service has the highest priority, while the priority of the remaining Bluetooth audio playback service and terminal connection configuration service decreases in that order. The pure standby scenario is in the default low priority state.
[0051] If the current business scenario is determined to include multiple business scenarios, including mesh intercom, then the highest priority mesh intercom service can be used as the control benchmark. The parameter configuration can be completed directly according to the main frequency and voltage adjustment strategy corresponding to the mesh intercom scenario, ensuring that the real-time performance and transmission delay indicators of voice intercom communication meet the standards.
[0052] For Bluetooth audio playback and terminal application data interaction services that run concurrently, the processor's operating frequency and voltage are no longer increased separately. Instead, the idle short-time window between adjacent voice frames during mesh network voice transmission is fully utilized to interleave secondary service processing such as audio decoding and playback, terminal data transmission and reception, and parameter interaction. The corresponding operations can be completed by relying on the main frequency computing power already set for the intercom service, without the need to additionally increase the system's operating frequency. This ensures the stable operation of core services while effectively avoiding the power consumption surge caused by multiple concurrent services.
[0053] 103. Adjust the working parameters of each functional module in a coordinated manner according to the working status of each functional module.
[0054] In some embodiments, the step "adjusting the working parameters of each functional module in conjunction with its working status" may include the following operations: Adjust the wake-up and listening duty cycle of the mesh module according to the network topology and service operation status of the mesh module. Adjust the listening interval of the Bluetooth module according to the connection status and data interaction status of the Bluetooth module. Adjust the power supply voltage and bias current of the audio module according to the audio environment status and audio output configuration of the audio module.
[0055] Among them, the network topology status refers to the node identity and network hierarchy position of the mesh communication module in the entire network. It can be mainly divided into different topology roles such as leaf nodes and relay nodes, which determine the data forwarding function undertaken by the node in the network. The service operation status refers to whether the mesh network communication module is currently carrying voice intercom service, which is divided into two categories: voice call service operation status and idle operation status without voice call. Wake-up listening duty cycle is a power consumption control parameter for mesh RF modules. It represents the duration for which the module wakes up and activates the RF signal to listen for channel signals, and is the proportion of time it occupies in a complete working cycle. The smaller the duty cycle value, the lower the standby power consumption of the RF receiver.
[0056] In some embodiments, the wake-up listening duty cycle of the mesh module is adjusted according to the network topology and service operation status of the mesh module. Specifically, this can include the following methods: When the determination module is in the leaf node topology and is in an idle service running state without voice calls, it actively reduces the default wake-up listening duty cycle (for example, from the default 1% to 0.1%~0.5%), further reducing the radio frequency listening time and significantly reducing the radio frequency receiving power consumption. If the module is a relay node, or is currently in the state of voice call service operation, the standard wake-up listening duty cycle will be maintained to ensure the normal and stable network data forwarding and voice communication link. By flexibly switching duty cycle parameters according to different operating conditions, the overall power consumption of the mesh module is optimized to the maximum extent while meeting the networking communication requirements.
[0057] The connection status refers to the link establishment status between the Bluetooth module and the external device, which is divided into two states: established communication link and not established communication link.
[0058] Data interaction status refers to the actual data transmission status within the Bluetooth link after it is established, and is divided into two types: continuous data interaction and no data interaction for a long time. The listening interval refers to the time between when the Bluetooth module resumes scanning and listening after completing one channel scan. The longer the interval, the longer the module's sleep time and the lower the overall power consumption.
[0059] In some embodiments, the listening interval of the Bluetooth module is adjusted according to the connection status and data interaction status of the Bluetooth module. Specifically, this may include the following methods: When the Bluetooth module has not established an external connection, it maintains the default basic listening interval for quickly searching for paired devices. When the Bluetooth module has successfully established a communication link and is in a state of frequent data interaction such as sending and receiving audio and configuration commands, a shorter listening interval is adopted to ensure the real-time and continuous data transmission. When the Bluetooth module has established a connection, but the duration of no effective data interaction exceeds the preset threshold (e.g., 5 seconds), it is determined to enter the idle working state and actively extends the Bluetooth channel listening interval (e.g., from 30ms to more than 400ms) to reduce the power consumption caused by frequent module wake-up scanning. Once a data interaction signal is detected again, the system immediately resumes the normal monitoring interval, balancing communication response speed with low power consumption requirements.
[0060] Among them, the audio environment status refers to the level of ambient noise in the field, which is collected in real time by the microphone. It is used to judge the noise level of the current listening environment and serves as the external environment basis for adjusting the audio power amplifier. Audio output configuration refers to the device playback volume level and fixed volume value manually set by the user. These are the working parameters that are manually set by the audio output end. The power supply voltage is the operating power supply voltage for the audio power amplifier circuit. The voltage is dynamically adjustable according to the operating conditions. Bias current is the static operating current of an audio power amplifier circuit. It is used to ensure stable linear amplification of the power amplifier. Proper adjustment can improve the power amplifier's operating efficiency.
[0061] In some embodiments, the audio environment status and audio output configuration corresponding to the audio module are acquired in real time, and the power supply voltage and bias current of the audio power amplifier are dynamically adjusted according to the linkage matching rules between the two. Specifically, this may include the following methods: The louder the ambient noise and the higher the user-set playback volume, the higher the audio amplifier power supply voltage and bias current will be adjusted simultaneously to ensure sufficient audio output loudness and clear sound quality. When the ambient noise is low or the set playback volume is low, the power amplifier's power supply voltage and bias current are automatically reduced, so that the audio power amplifier always works in the high-efficiency operating range.
[0062] This dynamic adjustment method allows the amplifier to adapt to the actual listening environment and usage needs, effectively reducing the ineffective power consumption of the audio circuit while ensuring audio playback quality.
[0063] In some embodiments, the method may further include the following steps: Based on the current business scenario, power supply control is implemented for each functional module of the walkie-talkie.
[0064] This step adopts an external power gating method, in which the power management unit configures independent power supply circuits for various functional modules such as Bluetooth module, mesh network communication module, and audio sensing sensors, so as to realize the isolation of the power supply path of each module and the individual on / off control.
[0065] Specifically, based on the identified current business scenario, it accurately determines whether each functional module has corresponding running tasks and usage requirements. If it is detected that a certain functional module has no business task scheduling requirements, such as when the user turns off the Bluetooth audio playback function, terminates the mesh network intercom service, or the sensor does not need to collect data, the module is determined to be in a completely idle state.
[0066] At this point, the power management unit directly cuts off the independent power supply circuit of the idle functional module, completely disconnecting the power input. This not only stops the module's normal operating power consumption but also eliminates the static leakage power consumption generated during the module's standby state. When subsequent business scenarios change and the corresponding functional module needs to be activated again, the power management unit restores power, allowing the module to quickly return to normal operating status.
[0067] By controlling power outages independently in separate modules and allocating power resources as needed, power consumption is significantly reduced from the hardware power supply level, further improving the overall low-power operation of the machine.
[0068] In some embodiments, the method may further include the following steps: Multiple short-duration tasks are aggregated along the time dimension and then executed in batches. After the task is completed, control the walkie-talkie to enter deep sleep mode.
[0069] In this embodiment, the walkie-talkie has a built-in task scheduler, which is responsible for coordinating and managing various scattered short-term tasks within the system, including low-frequency, lightweight tasks such as sending and receiving heartbeat messages for terminal applications and detecting neighbor nodes in the mesh network.
[0070] Instead of performing distributed, immediate execution of the aforementioned short-term tasks, the scheduler aggregates and consolidates these scattered short-term tasks over time, forming batch task groups for unified and sequential execution. Once all aggregated batch tasks have been completed, the scheduler immediately issues a hibernation command, controlling the entire machine to quickly switch to deep hibernation mode.
[0071] This operating mode can effectively reduce the switching losses and additional power consumption caused by frequent device wake-ups and exits from hibernation, reduce the number of invalid system starts and stops, maximize the duration of deep hibernation while completing necessary background tasks, and further reduce the overall power consumption of the whole machine.
[0072] This application discloses a power consumption control method for a walkie-talkie. The method includes: acquiring the walkie-talkie's operating information; identifying the current service scenario of the walkie-talkie and the working status of each functional module of the walkie-talkie based on the operating information; dynamically adjusting the operating frequency and operating voltage of the walkie-talkie processor according to the current service scenario and a scenario adaptation strategy; and adjusting the operating parameters of each functional module in conjunction with the working status of each functional module. In this way, the overall power consumption of the walkie-talkie can be adaptively and dynamically optimized, effectively reducing the power consumption of the device and extending the battery life of the walkie-talkie.
[0073] Based on the above description, the following examples will further illustrate the power consumption control method for the walkie-talkie of this application. Please refer to... Figure 2 , Figure 2 A flowchart illustrating another power consumption control method for a walkie-talkie provided in this application embodiment is shown below. System power-on initialization: After the walkie-talkie is powered on, it first executes the system initialization process, completing preparations such as hardware module self-test, parameter configuration loading, and startup of scene sensor and power management unit, and then enters the continuous low-power control main loop.
[0074] Scene perception and recognition process: The scene sensor listens to the system message queue. The scene sensor built into the walkie-talkie continuously listens to the internal message queue of the system and captures business event messages, hardware status messages and data transmission messages in the queue in real time as the data source for scene recognition. The scene perceiver identifies the current active business scenario (multiple scenarios can coexist). Based on preset business characteristic rules, it parses and matches the monitored messages to identify the active business scenario currently in which the walkie-talkie is located. It can support a single business scenario or a mixed scenario in which multiple services coexist. Specific scenarios include the following: Scenario A: Pure standby: No voice intercom, no Bluetooth audio playback, no APP data interaction, only basic link operation; Scenario B: Bluetooth music playback: The Bluetooth module receives the audio stream, the main controller performs audio decoding and outputs playback; Scenario C: Mesh Intercom: Half-duplex voice communication via mesh network links, including voice encoding / decoding and routing maintenance; Scenario D: APP connection configuration: Bluetooth transmits small data packets to the mobile APP for parameter configuration or status query; Scenario E: Hybrid Scenario: Two or more services exist simultaneously, such as "Mesh intercom + Bluetooth music playback" or "Mesh intercom + APP configuration", etc.
[0075] Dynamic Frequency and Core Voltage Regulation (DVFS): Based on the identified business scenarios, the system adjusts the main control processor's operating frequency and core voltage using a Dynamic Voltage and Frequency Scaling (DVFS) mechanism, following a "scenario-matched frequency / voltage + priority arbitration" strategy. If it is scenario A (pure standby): reduce the main frequency to the lowest sustain frequency, adjust the core voltage to the lowest stable value matching the frequency, and retain only the basic operating capabilities; For scenario B (Bluetooth music playback): Adjust the main frequency to a medium frequency suitable for audio decoding (such as 48MHz~96MHz), and adjust the core voltage to the minimum stable voltage of the corresponding frequency, balancing decoding real-time performance and power consumption control. For scenario C (Mesh intercom): increase the main frequency to a high frequency (such as 120MHz) that meets the end-to-end delay requirements and dynamically match the voltage; during half-duplex transmission intervals (receive state), immediately reduce the frequency to the standby frequency to reduce unnecessary power consumption; The system detects the operation status of the walkie-talkie's physical buttons, including at least the PTT button. When the PTT button is detected as being partially pressed but not yet transmitting, the processor's operating frequency is pre-increased from the current frequency to the fourth operating frequency corresponding to the mesh walkie-talkie, and the operating voltage is simultaneously increased. When the PTT button is detected as being released, the frequency drops back to its original value after a preset delay.
[0076] Walkie-talkie PTT buttons typically employ a two-stage mechanical structure: a half-stroke pre-press and a full-stroke trigger transmission. During the half-stroke phase, the switch is not yet activated, but the user's pressing intention can be detected by a pressure sensor or capacitor. Upon detecting the half-stroke signal, the system immediately initiates a processor frequency upsampling operation, rapidly increasing the current main frequency (which may be the standby frequency or Bluetooth audio frequency) to the fourth operating frequency required for mesh intercom, such as 120MHz. Simultaneously, the core voltage is increased, ensuring that when the user continues pressing to the full-stroke trigger transmission, the processor is already at a high frequency, enabling immediate voice encoding / decoding and transmission processing, thus shortening the delay from button press to actual voice transmission. After the user releases the PTT button, the system does not immediately downsampling but delays for a preset duration, such as 100ms or 200ms, to prevent frequent frequency upsampling and downsampling during rapid, continuous pressing, which would increase power consumption and latency. After the delay, the frequency returns to its original level.
[0077] Frequency switching is preemptively completed using the half-stroke signal of the PTT button, while frequency downsampling after release avoids the additional power consumption caused by frequent frequency ups and downsampling. The unique button interaction details of walkie-talkies are fully utilized, deeply coupling the physical operation of the walkie-talkie with processor power consumption control, ensuring the real-time performance of mesh network intercom while minimizing unnecessary power consumption.
[0078] If it is scenario D (APP connection configuration): briefly increase the main frequency to a medium-high frequency (such as 96MHz) to quickly process data interaction, and then quickly drop back to the standby frequency within 1ms after completion, with the voltage adjusted synchronously. For scenario E (hybrid scenario): Execute the priority arbitration strategy, configuring the main frequency and voltage based on the highest priority business scenario. For example, Mesh intercom has the highest priority, so it is configured according to the parameters of scenario C; Bluetooth music playback or APP data is processed within a short window between voice frames, so there is no need to increase the main frequency.
[0079] The system acquires real-time battery level information for the walkie-talkie. When the real-time battery level falls below a preset threshold, the operating frequency and voltage for each service scenario in the scenario adaptation strategy are lowered by one or more levels, ensuring that the lowered frequency does not fall below the minimum operating frequency requirement for each service scenario. When the real-time battery level rises above the preset threshold, the original scenario adaptation strategy is restored.
[0080] It should be noted that real-time battery power information is obtained through the walkie-talkie's internal power management chip or fuel gauge. The preset power threshold can be set to 20%, 15%, or 10% of the total capacity, and the specific value can be adjusted according to the product's battery life requirements. When the battery power is below this threshold, it indicates that the device is in a low-power state and urgently needs to extend its remaining usage time. At this time, the system does not change the business scenario identification logic, but rather reduces the target main frequency corresponding to each scenario by one or more levels based on the original scenario adaptation strategy. For example, the first operating frequency for the standby scenario is 32MHz, which can be further reduced to 24MHz when the battery is low; the second operating frequency for Bluetooth audio playback is reduced from 64MHz to 48MHz; and the fourth operating frequency for mesh intercom is reduced from 120MHz to 96MHz. At the same time, the core operating voltage is simultaneously reduced to the minimum stable value that matches the new frequency. The frequency reduction must ensure the minimum operating frequency requirement for each business scenario. For example, mesh intercom must maintain at least 96MHz to ensure real-time voice encoding and decoding, and Bluetooth audio playback requires at least 48MHz to avoid audio stuttering. When the battery level rises above the threshold after the user charges the walkie-talkie or replaces the battery, the system automatically restores the original scene adaptation strategy to ensure the best performance of each service.
[0081] By incorporating battery state into the power consumption control feedback loop, adaptive adjustment that "saves more power when the battery is low" is achieved. The frequency is proactively reduced when users most need extended battery life, and the availability of core services is guaranteed by the constraint of "not falling below the minimum requirements".
[0082] The system collects the ambient temperature of the walkie-talkie. When the ambient temperature exceeds a preset temperature threshold, it proactively reduces the processor's operating frequency and voltage to no higher than the second operating frequency, and correspondingly reduces the operating parameters of each functional module until the temperature returns to a safe range. During periods when the temperature exceeds the threshold, mesh network walkie-talkie services prioritize ensuring the minimum computing power required for voice encoding and decoding, suspending non-critical background routing maintenance tasks.
[0083] Specifically, the ambient temperature is collected in real time by a temperature sensor integrated inside the walkie-talkie, such as a thermistor built into the processor or an independent temperature sensing chip. Preset temperature thresholds can be set according to the device's hardware tolerance limits and heat dissipation design, such as 50℃, 55℃, or 60℃. When the walkie-talkie operates under high load for extended periods, such as continuous mesh network intercom or in high-temperature environments like outdoor summer weather, the processor temperature may rise rapidly. Excessive temperature not only increases leakage power consumption but may also damage components. In this case, the system actively limits the operating frequency to no higher than the second operating frequency, i.e., the frequency corresponding to Bluetooth audio playback, to avoid further overheating. Simultaneously, for the high-priority mesh network intercom service, the system prioritizes ensuring the minimum computing power required for voice encoding and decoding, such as maintaining the main frequency above 96MHz, but suspends non-critical tasks such as background routing table maintenance and neighbor node detection to reduce computational load and heat generation. When the temperature sensor detects that the temperature has dropped to a safe range, such as below 45℃, the system gradually restores the original main frequency and voltage configuration.
[0084] By organically combining thermal management and power consumption control of the walkie-talkie, performance degradation or hardware damage caused by overheating is prevented, while the continuity of core communication is ensured by suspending non-critical tasks. Traditional power consumption control schemes only focus on energy consumption and ignore temperature feedback, which may lead to the device continuing to operate under high load at high temperatures, creating a vicious cycle of "high temperature → high leakage current → even higher temperature". Temperature-triggered active frequency reduction and task trimming effectively break this cycle, improving the reliability and safety of the device in extreme environments, and is especially suitable for scenarios such as long-term walkie-talkies and outdoor high-temperature operations.
[0085] On the other hand, such as Figure 3 In the current business scenario of mesh network intercom, the energy spectrum of the audio signal collected by the microphone is analyzed in real time. When the energy of consecutive voice frames is detected to be lower than the silence threshold and exceeds a preset duration, it is determined that the system has entered the silent speaking stage. The processor's main frequency is temporarily switched to the second operating frequency, and the transmit power of the mesh network module is reduced simultaneously. When the voice energy is detected to rise again, the system immediately restores the fourth operating frequency and the original transmit power.
[0086] In some embodiments, the energy spectrum of the audio signal is obtained by short-time energy analysis of PCM data acquired by the microphone. The silence threshold can be set to 1.5 times the background noise energy or dynamically adjusted according to the ambient noise. This multiplier can effectively distinguish between normal speech energy, which is typically 3-10 times the background noise, and silent segments, avoiding misjudgment due to noise fluctuations when the threshold is below 1.2 times, while also avoiding missing low-energy speech tails when the threshold is above 2 times. During mesh network intercom, users do not actually speak continuously, but rather have silent phases such as pauses, thinking, and breathing. During these silent phases, the energy of the speech frames is extremely low, requiring no high-complexity encoding and decoding or intercom transmission. Real-time detection of these silent phases is crucial. A single pause in human speech is typically longer than 200ms. Gaps shorter than 200ms are still considered continuous speech and should not be down-frequencyd, otherwise frequent switching would increase power consumption and latency. 200ms strikes a balance between effectively capturing long pauses and avoiding frequent switching. If the energy level drops below the mute threshold for approximately 200ms across multiple consecutive frames (e.g., 10 frames), the system is determined to be in a mute mode. The processor's clock speed is immediately reduced from the fourth operating frequency to the second operating frequency (the Bluetooth audio playback level). Simultaneously, the mesh module's transmit power is reduced or the transmit channel is shut down to conserve power. When the user resumes speaking and the voice energy recovers, the high frequency and original transmit power are immediately restored to ensure the next voice frame can be processed promptly.
[0087] This solution achieves ultra-fine-grained power consumption optimization for walkie-talkies during mesh network communication by analyzing voice content in real time. It can identify pauses and proactively reduce the frequency, further lowering average power consumption without affecting the call experience. Real-world testing shows that silent phases account for 30%-50% of normal conversations; this solution can further reduce power consumption in mesh network communication scenarios by 15%-25%.
[0088] Other low-power collaborative strategies: After completing the main control frequency and voltage regulation, the system synchronously executes the following module-level low-power strategies to achieve deep optimization of the overall power consumption, as follows: The duty cycle of the Mesh module is adaptively adjusted based on the network topology (leaf node / relay node) and service operation status (whether there is intercom service). For example, when it is a leaf node and there is no intercom service, the duty cycle is reduced from the default 1% to 0.1%~0.5% to reduce RF receiver power consumption. The routing table update frequency of the mesh module is monitored. When the routing table update frequency is lower than the first threshold, the network topology is determined to be stable, and the wake-up listening duty cycle of the leaf nodes is reduced to less than one-tenth of the preset default duty cycle. When the routing table update frequency is higher than the second threshold, the network topology is determined to be unstable, and the wake-up listening duty cycle of the relay nodes is temporarily increased to a level higher than the preset default value until the routing table is stable.
[0089] In a understandable way, the routing table update frequency reflects the degree of change in the mesh network topology. In a walkie-talkie network, node movement or signal changes cause the routing table to be constantly updated. Leaf nodes, i.e., edge nodes that do not forward data from other nodes, do not need to listen frequently when the network is stable. The wake-up listening duty cycle can be reduced from the default 1% to 0.1% or even lower to significantly save RF receiver power consumption. When the topology is stable and the node is a leaf node, the network has no need for its relay forwarding function. The default duty cycle of 0.1% is sufficient to maintain basic presence beacons and can reduce RF standby power consumption by about 90%, while a duty cycle below 0.05% may increase the risk of disconnection. However, when the network is turbulent, such as when multiple nodes move simultaneously or there is significant interference, the routing table update frequency increases. At this time, relay nodes, i.e., nodes responsible for forwarding data, need to listen to the channel more frequently to maintain network connectivity. Therefore, their duty cycle is temporarily increased to 1.2 or 1.5 times the default value until the routing table stabilizes again. This multiplier can increase the channel sensing success rate to over 95% without significantly increasing power consumption; however, the power consumption benefit decreases beyond 1.5 times. The first and second thresholds can be the number of updates per unit time. Considering that in stationary or low-speed moving scenarios, the routing table update frequency of a walkie-talkie mesh network is typically less than 5 times / minute; 10 times / minute can tolerate normal environmental fluctuations and avoid frequent switching; when nodes move rapidly or channel quality changes drastically, the update frequency often exceeds 40 times / minute, so setting it to 50 times / minute can filter out instantaneous fluctuations, ensuring that the increased duty cycle is only triggered during periods of continuous turbulence. The first and second thresholds can be set to less than 10 times / minute for stability and more than 50 times / minute for turbulence.
[0090] By using the stability of the mesh network's routing table as the basis for adjusting the wake-up listening duty cycle, more refined power consumption control is achieved than simply based on node roles. When the network is stable, leaf nodes can enter an extremely low-power listening mode, significantly extending standby time; when the network is unstable, relay nodes proactively increase their listening frequency to ensure network reliability, avoiding network fragmentation due to excessive power saving. This adaptive mechanism enables the mesh intercom system to dynamically balance power consumption and network performance, making it particularly suitable for scenarios such as emergency communication and field operations where nodes move frequently.
[0091] The Bluetooth connection parameters dynamically extend the listening interval, adjusting it based on the Bluetooth module's connection status and data interaction status. When a connection is established but no data interaction occurs for more than a set threshold (e.g., 5 seconds), the listening interval is extended from 30ms to over 400ms to reduce idle power consumption. When the current business scenario is Bluetooth audio playback, the device type and protocol version of the connected Bluetooth external device are identified. If the Bluetooth external device is a low-power audio device that supports LE Audio, low-power transmission mode is enabled, and the transmission power and listening interval of the Bluetooth module are reduced accordingly; if the Bluetooth external device is a classic Bluetooth device, the normal parameters are maintained.
[0092] It should be noted that the device type of a Bluetooth external device can be obtained by querying the device's appearance service UUID or manufacturer information, and the protocol version can be obtained through the Bluetooth protocol stack's version negotiation mechanism. LE Audio is a new audio transmission protocol introduced in Bluetooth 5.2 and above, based on the LC3 codec, which features lower power consumption and higher compression efficiency. When a walkie-talkie detects that the connected Bluetooth headset or speaker supports LE Audio, the system automatically enables low-power transmission mode, reducing the Bluetooth module's transmit power from the default +4dBm to 0dBm or lower, while extending the listening interval from 30ms to over 100ms to further reduce the Bluetooth module's power consumption. 0dBm is the standard lower limit for Bluetooth Low Energy transmit power, which can reduce RF power consumption by approximately 75% while maintaining a stable connection within 10 meters. Below 0dBm, the connection may become unstable. LEAudio's LC3 codec has stronger packet loss resistance, ensuring smooth audio playback even with a 100ms listening interval, while classic Bluetooth typically requires less than 30ms to avoid interruptions. An interval of over 100ms can reduce the Bluetooth module's idle power consumption by approximately 70%. For classic Bluetooth devices that do not support LE Audio, the standard parameters will be maintained to ensure compatibility and audio quality. Audio decoding in low-power transmission mode is still handled by the processor, but due to the smaller data volume, the processor's clock speed can be appropriately reduced.
[0093] The transmission strategy is dynamically adjusted based on the capabilities of the connected Bluetooth device, fully leveraging the low-power advantages of the new LE Audio standard. Through device identification and differentiated configuration, the walkie-talkie automatically enters low-power mode to extend playback time when connected to LE Audio-enabled devices. Simultaneously, this solution maintains good backward compatibility with older devices.
[0094] Dynamic bias control of audio power amplifier dynamically adjusts the power supply voltage or bias current of the audio power amplifier based on the ambient noise collected by the microphone and the volume value set by the user, so that it operates at the highest efficiency point (such as Class-G / Class-H dynamic tracking) and reduces the power consumption of audio circuit. Peripheral independent power gating + task aggregation and fast sleep mode: Peripheral power gating provides independent power supply circuits for modules such as Bluetooth, Mesh, and sensors. When the module is completely idle (such as when the user turns off Bluetooth), the power management unit completely cuts off the power supply to eliminate leakage power consumption. Task aggregation and rapid sleep: The scheduler aggregates short tasks such as APP heartbeat and Mesh neighbor detection in time and processes them in batches. After the task is completed, the walkie-talkie is immediately controlled to enter deep sleep mode, reducing the extra power consumption caused by frequent entry and exit from sleep mode.
[0095] Return to the scene listening loop.
[0096] After all the above low-power strategies have been executed, the walkie-talkie returns to the step of "scene sensor listening to system message queue" and continuously loops the scene recognition and power control process to dynamically adapt to changes in the walkie-talkie's service scenarios and achieve full-process adaptive low-power control.
[0097] This embodiment combines scene awareness, dynamic master control adjustment, and multi-module collaborative low-power strategy to effectively reduce ineffective power consumption in standby, idle, and multi-service concurrent scenarios while ensuring the normal operation of various walkie-talkie services, thus significantly improving the walkie-talkie's battery life.
[0098] To facilitate better implementation of the walkie-talkie power consumption control method provided in this application embodiment, this application embodiment also provides a walkie-talkie power consumption control device based on the above-described walkie-talkie power consumption control method. The meanings of the terms used are the same as in the walkie-talkie power consumption control method described above, and specific implementation details can be found in the descriptions in the method embodiments.
[0099] Please see Figure 4 , Figure 4 A structural block diagram of a power consumption control device for a walkie-talkie provided in this application embodiment, the device comprising: The acquisition unit 301 is used to acquire the operation information of the walkie-talkie, identify the current business scenario of the walkie-talkie and the working status of each functional module of the walkie-talkie based on the operation information; The first adjustment unit 302 is used to dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the current business scenario and the scenario adaptation strategy. The second adjustment unit 303 is used to adjust the working parameters of each functional module in conjunction with the working status of each functional module.
[0100] In some embodiments, the business scenarios of the walkie-talkie include at least: standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration.
[0101] In some embodiments, the current service scenario is one of standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration; The first adjustment unit 302 may include: The first adjustment subunit is used to adjust the main frequency to the first operating frequency if the current business scenario is standby, and correspondingly adjust the operating voltage to a voltage value that matches the first operating frequency. The second adjustment subunit is used to adjust the main operating frequency to the second operating frequency if the current business scenario is Bluetooth audio playback, and correspondingly adjust the operating voltage to a voltage value that matches the second operating frequency. The third adjustment subunit is used to briefly adjust the main frequency to the third working frequency to interact with the terminal if the current business scenario is a terminal connection configuration scenario. After the interaction is completed, it is adjusted back to the first working frequency, and the operating voltage is adjusted accordingly. The fourth adjustment subunit is used to adjust the operating frequency to the fourth working frequency if the current business scenario is mesh network intercom, and correspondingly adjust the operating voltage to a voltage value that matches the fourth working frequency, and adjust the operating frequency to the first working frequency during the transmission interval. Among them, the first operating frequency is less than the second operating frequency, the second operating frequency is less than the third operating frequency, and the third operating frequency is less than the fourth operating frequency.
[0102] In some embodiments, each service scenario of the walkie-talkie is assigned a priority; the current service scenario includes at least two of the following: standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration. The first adjustment unit 302 may include: The sub-unit is used to identify the target business scenario with the highest priority among multiple business scenarios included in the current business scenario. The fifth adjustment subunit is used to adjust the operating frequency and operating voltage based on the adjustment strategy corresponding to the target business scenario.
[0103] In some embodiments, mesh intercom has a higher priority than Bluetooth audio playback and terminal connection configuration; the device may further include: The first processing unit is used to process the service data of Bluetooth audio playback / terminal connection configuration based on the idle time interval between adjacent voice transmission frames during the operation of mesh intercom, if the current service scenario includes mesh intercom and Bluetooth audio playback / terminal connection configuration.
[0104] In some embodiments, the functional modules of the walkie-talkie include at least: a mesh module, a Bluetooth module, and an audio module; The second adjustment unit 303 may include: The sixth adjustment subunit is used to adjust the wake-up listening duty cycle of the mesh module according to the network topology status and service operation status of the mesh module. The seventh adjustment subunit is used to adjust the listening interval of the Bluetooth module according to the connection status and data interaction status of the Bluetooth module. The eighth adjustment subunit is used to adjust the power supply voltage and bias current of the audio module according to the audio environment status and audio output configuration of the audio module.
[0105] In some embodiments, the device may further include: The first control unit is used to control the power supply to each functional module of the walkie-talkie according to the current business scenario.
[0106] In some embodiments, the device may further include: The execution unit is used to aggregate multiple short-time tasks along the time dimension and then execute them in batches. The second control unit is used to control the walkie-talkie to enter a deep sleep mode after the task is completed.
[0107] In some embodiments, the device may further include: The hierarchical unit is used to classify the importance of voice frames during mesh network intercom if the current business scenario is mesh network intercom. The second processing unit is used to maintain the fourth operating frequency during high-importance speech frames and temporarily switch to the second or third operating frequency during low-importance speech frames.
[0108] This application discloses a power consumption control device for a walkie-talkie. An acquisition unit 301 acquires the walkie-talkie's operating information, identifies the current service scenario and the working status of each functional module based on this information. A first adjustment unit 302 dynamically adjusts the walkie-talkie processor's operating frequency and voltage according to a scenario adaptation strategy based on the current service scenario. A second adjustment unit 303 adjusts the operating parameters of each functional module in conjunction with its working status. In this way, the overall power consumption of the walkie-talkie can be adaptively and dynamically optimized, effectively reducing the device's power consumption and extending the walkie-talkie's battery life.
[0109] Accordingly, embodiments of this application also provide an electronic device. For example... Figure 5 As shown, Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 400 includes a processor 401 with one or more processing cores, a memory 402 with one or more storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 and the memory 402 are electrically connected. Those skilled in the art will understand that... Figure 5 The electronic device structures shown herein do not constitute a limitation on electronic devices and may include, but are not limited to, those shown. Figure 5 It can show more or fewer parts, or combine certain parts, or arrange different parts.
[0110] The processor 401 is the control center of the electronic device 400. It connects various parts of the electronic device 400 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it performs various functions of the electronic device 400 and processes data, thereby monitoring the electronic device 400 as a whole.
[0111] In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more applications into the memory 402 according to the following steps, and the processor 401 runs the applications stored in the memory 402 to realize various functions: Obtain the operational information of the walkie-talkie, identify the current business scenario of the walkie-talkie based on the operational information, and the working status of each functional module of the walkie-talkie; Based on the current business scenario, dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the scenario adaptation strategy; Furthermore, the operating parameters of each functional module are adjusted in conjunction with the operating status of each functional module.
[0112] This application embodiment obtains the walkie-talkie's operating information, identifies the walkie-talkie's current business scenario and the working status of each functional module based on the operating information; dynamically adjusts the walkie-talkie processor's operating frequency and operating voltage according to the current business scenario and a scenario adaptation strategy; and adjusts the operating parameters of each functional module in conjunction with the working status of each functional module. In this way, the overall operating power consumption of the walkie-talkie can be adaptively and dynamically optimized, effectively reducing the device's power consumption and extending the walkie-talkie's battery life.
[0113] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0114] Optional, such as Figure 5 As shown, the electronic device 400 may further include a display 403 and an input unit 404. The processor 401 is electrically connected to both the display 403 and the input unit 404. Those skilled in the art will understand that... Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0115] Display 403 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. Display 403 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, guidance information, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include a touch detection device and a touch controller.
[0116] The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 401. It can also receive and execute commands from the processor 401. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 401 to determine the type of touch event. Subsequently, the processor 401 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and display panel can be integrated into the display 403 to achieve input and output functions. However, in some embodiments, the touch panel and display panel can be implemented as two independent components to achieve input and output functions. That is, the display 403 can also be used as part of the input unit 404 to achieve input functions.
[0117] The input unit 404 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
[0118] In some embodiments, the electronic device may further include an audio circuit, which can provide an audio interface between the user and the device control device via a speaker and a microphone. The audio circuit can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by the audio circuit, converted back into audio data, and processed by the processor 401. The audio data is then transmitted via a radio frequency circuit to, for example, another device control device, or output to a memory 402 for further processing. The audio circuit may also include an earphone jack to provide communication between a peripheral headset and the device control device.
[0119] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0120] As can be seen from the above, the electronic device provided in this embodiment can acquire the operation information of the walkie-talkie, identify the current business scenario of the walkie-talkie and the working status of each functional module of the walkie-talkie based on the operation information; dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the scenario adaptation strategy based on the current business scenario; and adjust the working parameters of each functional module in conjunction with the working status of each functional module.
[0121] Therefore, embodiments of this application provide a storage medium storing multiple computer programs that can be loaded by a digital signal processor to execute steps in any of the device control methods provided in embodiments of this application. For example, the computer program can execute the following steps: Obtain the operational information of the walkie-talkie, identify the current business scenario of the walkie-talkie based on the operational information, and the working status of each functional module of the walkie-talkie; Based on the current business scenario, dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the scenario adaptation strategy; Furthermore, the operating parameters of each functional module are adjusted in conjunction with the operating status of each functional module.
[0122] This application embodiment acquires the walkie-talkie's operating information, identifies the walkie-talkie's current business scenario and the working status of each functional module based on the operating information; dynamically adjusts the walkie-talkie processor's operating frequency and operating voltage according to the current business scenario and a scenario adaptation strategy; and adjusts the operating parameters of each functional module in conjunction with the working status of each functional module. In this way, the overall operating power consumption of the walkie-talkie can be adaptively and dynamically optimized, effectively reducing the device's power consumption and extending the walkie-talkie's battery life.
[0123] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0124] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0125] Since the computer program stored in the storage medium can execute the steps of any of the device control methods provided in the embodiments of this application, the beneficial effects that any of the device control methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0126] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A power consumption control method for a walkie-talkie, characterized in that, The method includes: The system acquires the operational information of the walkie-talkie, identifies the current business scenario of the walkie-talkie and the working status of each functional module of the walkie-talkie based on the operational information; Based on the current business scenario, the operating frequency and operating voltage of the walkie-talkie processor are dynamically adjusted according to the scenario adaptation strategy; In addition, the working parameters of each functional module are adjusted in conjunction with the working status of each functional module. The walkie-talkie's functional modules include at least: a mesh module, a Bluetooth module, and an audio module; the step of adjusting the operating parameters of each functional module in conjunction with its operating status includes: Based on the network topology and service operation status of the mesh module, the wake-up listening duty cycle of the mesh module is adjusted accordingly. The listening interval of the Bluetooth module is adjusted according to the connection status and data interaction status of the Bluetooth module. Adjust the power supply voltage and bias current of the audio module according to the audio environment status and audio output configuration of the audio module.
2. The method according to claim 1, characterized in that, The business scenarios of the walkie-talkie include at least: standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration.
3. The method according to claim 2, characterized in that, The current business scenario is one of standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration. The step of dynamically adjusting the operating frequency and operating voltage of the walkie-talkie processor according to the current business scenario and a scenario adaptation strategy includes: If the current business scenario is standby, the operating frequency is adjusted to the first working frequency, and the operating voltage is adjusted accordingly to a voltage value that matches the first working frequency; If the current business scenario is Bluetooth audio playback, the operating frequency is adjusted to the second operating frequency, and the operating voltage is adjusted accordingly to a voltage value that matches the second operating frequency; If the current business scenario is a terminal connection configuration scenario, the main operating frequency is briefly adjusted to the third operating frequency to interact with the terminal, and after the interaction is completed, it is adjusted back to the first operating frequency, and the operating voltage is adjusted accordingly. If the current business scenario is mesh network intercom, the operating frequency is adjusted to the fourth working frequency, and the operating voltage is adjusted to a voltage value that matches the fourth working frequency. During the transmission interval, the operating frequency is adjusted to the first working frequency. Wherein, the first operating frequency is less than the second operating frequency, the second operating frequency is less than the third operating frequency, and the third operating frequency is less than the fourth operating frequency.
4. The method according to claim 2, characterized in that, The walkie-talkie has a priority setting for each service scenario; The current business scenario includes at least two of the following: standby, Bluetooth audio playback, mesh network intercom, and terminal connection configuration. The step of dynamically adjusting the operating frequency and operating voltage of the walkie-talkie processor according to the current business scenario and a scenario adaptation strategy includes: Determine the target business scenario with the highest priority among the multiple business scenarios included in the current business scenario; Based on the adjustment strategy corresponding to the target business scenario, the operating frequency and the operating voltage are adjusted.
5. The method according to claim 4, characterized in that, The mesh network intercom has a higher priority than the Bluetooth audio playback and the terminal connection configuration; the method further includes: If the current service scenario includes mesh intercom and Bluetooth audio playback / terminal connection configuration, during the operation of the mesh intercom, the service data of Bluetooth audio playback / terminal connection configuration is processed based on the idle time interval between adjacent voice transmission frames.
6. The method according to claim 1, characterized in that, The method further includes: Based on the current business scenario, power supply control is performed on each functional module of the walkie-talkie.
7. The method according to claim 1, characterized in that, The method further includes: Multiple short-duration tasks are aggregated along the time dimension and then executed in batches. After the task is completed, control the walkie-talkie to enter deep sleep mode.
8. The method according to claim 1, characterized in that, The method further includes: If the current business scenario is mesh network intercom, the importance of voice frames is classified during the mesh network intercom process; During high-importance voice frames, the system maintains the fourth operating frequency, while during low-importance voice frames, it temporarily switches to the second or third operating frequency.
9. The power consumption control method for a walkie-talkie according to claim 1, characterized in that, The method further includes: Obtain the real-time battery power information of the walkie-talkie; when the real-time battery power is lower than the preset power threshold, reduce the overall operating frequency and operating voltage of each service scenario in the scenario adaptation strategy by one level, and the reduction shall not be lower than the minimum operating frequency requirement of each service scenario. When the real-time battery level rises above the preset battery threshold, the original scene adaptation strategy is restored.
10. The power consumption control method for a walkie-talkie according to claim 1, characterized in that, The method further includes: The ambient temperature of the walkie-talkie was collected; When the ambient temperature exceeds the preset temperature threshold, the main operating frequency and operating voltage of the walkie-talkie processor are actively reduced to the second operating frequency and below, and the operating parameters of each functional module are reduced accordingly until the temperature drops back to a safe range. Among them, when the temperature exceeds the threshold, the mesh intercom service will prioritize ensuring the minimum computing power requirements for voice encoding and decoding, and suspend non-critical back-end routing maintenance tasks.
11. The power consumption control method for a walkie-talkie according to claim 1, characterized in that, The method further includes: The operation status of the physical buttons on the walkie-talkie is detected, and the physical buttons include at least the PTT button; When it is detected that the PTT button has been pressed to half its travel but has not triggered transmission, the processor's main operating frequency is increased from the current frequency to the fourth operating frequency corresponding to the mesh intercom, and the operating voltage is increased simultaneously. When the PTT button is detected to be released, the frequency drops back to its original frequency after a preset delay.
12. The power consumption control method for a walkie-talkie according to claim 1, characterized in that, The step of adjusting the wake-up listening duty cycle of the mesh network module according to the network topology and service operation status of the mesh network module includes: Monitor the routing table update frequency of the mesh network module; When the routing table update frequency is lower than the first threshold, the network topology is determined to be stable, and the wake-up listening duty cycle of the leaf nodes is reduced to a value significantly lower than the preset default duty cycle. When the routing table update frequency is higher than the second threshold, the network topology is determined to be unstable. The wake-up listening duty cycle of the relay node is temporarily increased to a level higher than the preset default value until the routing table is stable.
13. The power consumption control method for a walkie-talkie according to claim 1, characterized in that, The method further includes: When the current business scenario is Bluetooth audio playback, identify the device type and protocol version of the connected Bluetooth external device; If the Bluetooth external device is a low-power audio device and supports LE Audio, then the low-power transmission mode is enabled, and the transmission power and listening interval of the Bluetooth module are reduced accordingly. If the Bluetooth external device is a classic Bluetooth device, then maintain the normal parameters.
14. The power consumption control method for a walkie-talkie according to claim 1, characterized in that, The method further includes: When the current business scenario is mesh network intercom, the energy spectrum of the audio signal collected by the microphone is analyzed in real time; When the energy of consecutive voice frames is detected to be lower than the silence threshold and exceeds the preset duration, it is determined that the silent speaking stage has been entered. The processor's main frequency is temporarily switched to the second operating frequency, and the transmit power of the mesh module is reduced simultaneously. When the voice energy is detected to have returned, the system immediately resumes the fourth operating frequency and the original transmission power.
15. A power consumption control device for a walkie-talkie, characterized in that, The device includes: The acquisition unit is used to acquire the operation information of the walkie-talkie, identify the current business scenario of the walkie-talkie and the working status of each functional module of the walkie-talkie based on the operation information; The first adjustment unit is used to dynamically adjust the operating frequency and operating voltage of the walkie-talkie processor according to the current business scenario and the scenario adaptation strategy. The second adjustment unit is used to adjust the working parameters of each functional module in conjunction with the working status of each functional module. The walkie-talkie's functional modules include at least: a mesh module, a Bluetooth module, and an audio module; the step of adjusting the operating parameters of each functional module in conjunction with its operating status includes: Based on the network topology and service operation status of the mesh module, the wake-up listening duty cycle of the mesh module is adjusted accordingly. The listening interval of the Bluetooth module is adjusted according to the connection status and data interaction status of the Bluetooth module. Adjust the power supply voltage and bias current of the audio module according to the audio environment status and audio output configuration of the audio module.
16. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement the power consumption control method for a walkie-talkie as described in any one of claims 1 to 14.
17. A storage medium, characterized in that, The storage medium stores multiple instructions, which are adapted for loading by a processor to execute the power consumption control method for a walkie-talkie according to any one of claims 1 to 14.