Beidou short message compression method and mobile terminal

By collecting power consumption and thermal status parameters in real time, dynamically matching compression algorithms and adjusting transmission parameters of the BeiDou radio frequency module, and coordinating the scheduling of power consumption and thermal management modules, the problem of fragmented power consumption management in BeiDou short message technology has been solved, communication efficiency has been improved and heat accumulation has been avoided, and the mobile terminal has achieved efficient and stable operation in dynamic environments.

CN122160835APending Publication Date: 2026-06-05SHANGHAI LONGCHEER TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI LONGCHEER TECH CO LTD
Filing Date
2026-03-25
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In the existing BeiDou short message technology, the compression algorithm and power management are separated, which cannot dynamically adapt to the power consumption status of the mobile terminal. This leads to unnecessary power consumption and CPU temperature rise in low power or high heat scenarios, reducing communication efficiency and posing a risk of heat accumulation.

Method used

By collecting power consumption and thermal status parameters of mobile terminals in real time, the power consumption status level is dynamically determined, the compression algorithm is adaptively matched, the transmission parameters of the Beidou radio frequency module are adjusted, and the power consumption and thermal management modules are coordinated and scheduled to achieve coordinated optimization of power consumption and thermal management.

Benefits of technology

It effectively solves the problem of the disconnect between compression algorithm and power management, avoids unnecessary power consumption and CPU temperature rise in low power or high heat scenarios, improves communication efficiency, avoids the risk of heat accumulation, and ensures the efficient and stable operation of BeiDou short messages in dynamic environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122160835A_ABST
    Figure CN122160835A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of wireless communication, in particular to a Beidou short message compression method and a mobile terminal. The present application collects power consumption parameters and thermal state parameters of the mobile terminal in real time through the drive layer interface of the mobile terminal; determines the current power consumption state level based on the power consumption parameters and the thermal state parameters; matches the corresponding compression algorithm from the preset adaptive compression algorithm library according to the power consumption state level; calls the matched compression algorithm to compress the Beidou short message data; adjusts the transmission parameters of the Beidou radio frequency module according to the power consumption state level, and cooperatively schedules the power consumption module and the thermal management module of the mobile terminal. The present application effectively solves the problem that the compression algorithm and the power consumption management are separated in the prior art, and the mobile terminal power consumption state cannot be dynamically adapted, avoids unnecessary power consumption and CPU temperature rise in low power or high heat scenarios, improves communication efficiency, and avoids the risk of heat superposition in the "compression-transmission" process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication technology, and in particular to a BeiDou short message compression method and a mobile terminal. Background Technology

[0002] With the widespread adoption of the BeiDou Navigation Satellite System, the BeiDou short message function on mobile phones has become an important supplementary means of emergency communication and communication in remote areas.

[0003] Currently, mobile BeiDou short message technology mainly focuses on optimizing data compression algorithms to improve data transmission efficiency, or on low-power design of the BeiDou module itself. However, there is a clear technological disconnect between the two, and no collaborative optimization mechanism has been formed. Existing compression algorithms mostly use fixed parameter configurations, which cannot adapt to the dynamically changing power consumption of mobile phones. For example, in low-battery scenarios, high-computing-power deep compression algorithms are still used, which exacerbates power consumption. In high-heat scenarios, the compression parallelism is not adjusted, leading to increased CPU temperature rise, triggering system thermal throttling, and actually reducing communication efficiency. At the same time, the BeiDou short message transmission design for mobile phones involves the collaboration of multiple components such as the CPU, radio frequency module, and battery. Existing technologies cannot avoid the heat accumulation problem in the "compression-transmission" process. Summary of the Invention

[0004] The purpose of this invention is to provide a BeiDou short message compression method and mobile terminal to coordinate the scheduling of power consumption and thermal management modules, thereby balancing communication reliability and power consumption.

[0005] To address the aforementioned technical problems, this invention provides a BeiDou short message compression method and a mobile terminal.

[0006] The BeiDou short message compression method of the present invention includes: The power consumption and thermal status parameters of the mobile terminal are collected in real time through the driver layer interface of the mobile terminal. Based on the power consumption parameters and thermal state parameters, the current power consumption state level is determined; Based on the power consumption state level, a corresponding compression algorithm is matched from a preset adaptive compression algorithm library, wherein the adaptive compression algorithm library contains at least two compression algorithms with different computing power consumption and compression characteristics. The matched compression algorithm is invoked to compress the BeiDou short message data; Based on the power consumption status level, the transmission parameters of the Beidou radio frequency module are adjusted, and the power consumption module and thermal management module of the mobile terminal are coordinated and scheduled.

[0007] Furthermore, the power consumption parameters include remaining battery power, RF module power consumption, and CPU load; The thermal parameters include CPU core temperature, battery temperature, RF module temperature, and thermal mitigation level.

[0008] Furthermore, determining the current power consumption state level based on the power consumption parameters and thermal state parameters includes: The temperature rise rate of the CPU and RF module is calculated based on a preset time window. The remaining power, thermal mitigation level, temperature of each component, and temperature rise rate are compared with a preset quantization threshold table to match the current power consumption status level. The quantization threshold table corresponds to different power consumption status levels based on different ranges of remaining power, thermal mitigation level, temperature of each component, and temperature rise rate.

[0009] Furthermore, the power consumption state levels include high power consumption and low heat generation state, high power consumption and high heat generation state, balanced power consumption state, low power consumption and low heat generation state, low power consumption and high heat generation state, and extreme emergency critical state.

[0010] Furthermore, the adaptive compression algorithm library includes the improved LZ77 algorithm, LZ4 algorithm, Brotli algorithm, Zstd static pre-dictionary algorithm, and static FSE minimalist coding algorithm; When the power consumption state is a high power consumption and low heat generation state, the improved LZ77 algorithm is matched. When the power consumption state is high power consumption and high heat generation, the LZ4 algorithm is matched. When the power consumption state is balanced, the Brotli algorithm is matched. When the power consumption state is low power consumption and low heat generation state or low power consumption and high heat generation state, the Zstd static pre-dictionary algorithm is matched. When the power consumption state is in an extreme emergency critical state, the static FSE minimal coding algorithm is matched.

[0011] Furthermore, when the power consumption state is high power consumption and low heat generation, the CPU computing power scheduling permission is configured to 4 threads; When the power consumption state is high power consumption and high heat generation, configure the CPU computing power scheduling permission to 2 threads; When the power consumption state is balanced, low power consumption and low heat generation, low power consumption and high heat generation, or extreme emergency critical state, configure the CPU computing power scheduling permission to single thread.

[0012] Furthermore, the power consumption module and thermal management module of the collaboratively scheduled mobile terminal include: Control commands are generated based on the power consumption status level; The control command is sent to the power consumption module of the mobile terminal to adjust the CPU's computing power scheduling strategy and / or the power supply priority of the Beidou radio frequency module. The control command is sent to the thermal management module of the mobile terminal to trigger a thermal throttling or heat dissipation strategy corresponding to the power consumption state level.

[0013] Furthermore, it also includes closed-loop feedback adjustment steps, including: Record the operational data of each BeiDou short message data compression and transmission process; The process of comparing the running data with a preset threshold, dynamically correcting the parameters and transmission strategy of the adaptive compression algorithm library, and feeding back the data to the power consumption status level determination process.

[0014] Furthermore, the operational data includes at least one of compression time, CPU temperature rise increment, actual power consumption, and transmission success rate.

[0015] The present invention also provides a mobile terminal, including a CPU, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the CPU, the CPU communicates with the storage medium via the bus, and the CPU executes the machine-readable instructions to perform the memory reclamation method described in any of the above technical solutions.

[0016] The present invention also provides a terminal device, including a CPU, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the CPU, the CPU communicates with the storage medium via the bus, and the CPU executes the machine-readable instructions to perform the memory reclamation method described in any of the above technical solutions.

[0017] Compared with the prior art, the present invention has at least the following beneficial effects: This invention dynamically determines the power consumption status level by collecting the power consumption and thermal status parameters of the mobile terminal in real time, and adaptively matches the compression algorithm, adjusts the transmission parameters of the BeiDou radio frequency module, and coordinates the scheduling of the power consumption and thermal management modules accordingly. This effectively solves the problem of the separation between compression algorithm and power consumption management in traditional BeiDou short message technology, which cannot dynamically adapt to the power consumption status of the mobile terminal. It avoids unnecessary power consumption and CPU temperature rise in low-battery or high-heat scenarios, improves communication efficiency, and avoids the risk of heat accumulation during the "compression-transmission" process. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating an embodiment of the BeiDou short message compression method of the present invention. Detailed Implementation

[0019] The BeiDou short message compression method and mobile terminal of the present invention will be described below with reference to the schematic diagrams, which illustrate preferred embodiments of the present invention. It should be understood that those skilled in the art can modify the present invention described herein while still achieving the advantageous effects of the present invention. Therefore, the following description should be understood as being of broad knowledge to those skilled in the art and is not intended to limit the present invention.

[0020] The component designations used in this document, such as "first" and "second," are merely for distinguishing the described objects and do not have any sequential or technical meaning. The terms "connection" and "linkage" used in this invention, unless otherwise specified, include both direct and indirect connections (linkages). It should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are used only for the convenience of describing the invention and simplifying the description. They do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as limiting the invention.

[0021] The invention is described more specifically by way of example in the following paragraphs with reference to the accompanying drawings. The advantages and features of the invention will become clearer from the following description and claims. It should be noted that the drawings are in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of the invention.

[0022] The following is a reference to the accompanying drawings in the instruction manual. Figure 1 The present invention describes the BeiDou short message compression method and mobile terminal.

[0023] In some of these embodiments, such as Figure 1 As shown, the BeiDou short message compression method includes: Step S100: Collect the power consumption parameters and thermal status parameters of the mobile terminal in real time through the driver layer interface of the mobile terminal; Step S200: Determine the current power consumption state level based on the power consumption parameters and thermal state parameters; Step S300: According to the power consumption state level, match the corresponding compression algorithm from the preset adaptive compression algorithm library, wherein the adaptive compression algorithm library contains at least two compression algorithms with different computing power consumption and compression characteristics; Step S400: Invoke the matched compression algorithm to compress the BeiDou short message data; Step S500: Adjust the transmission parameters of the Beidou radio frequency module according to the power consumption status level, and coordinate the power consumption module and thermal management module of the mobile terminal.

[0024] Among them, the driver layer interface of a mobile terminal refers to a set of programming interfaces provided by the underlying layer of the mobile terminal operating system, which allows upper-layer applications or services to access and control hardware devices, such as sensors, power management units, and radio frequency modules, in order to obtain real-time operating data or issue control commands.

[0025] The BeiDou radio frequency module refers to the hardware unit in a mobile terminal that is responsible for sending and receiving BeiDou short message signals. Its transmission parameters (such as transmission power and modulation method) will affect power consumption and transmission performance.

[0026] A power consumption module is a hardware or software unit in a mobile terminal that is responsible for power management and power scheduling. For example, it can control the CPU frequency, the number of cores, and the power supply priority of each component.

[0027] A thermal management module refers to a hardware or software unit in a mobile terminal that is responsible for monitoring and controlling the device temperature. For example, it can trigger strategies such as thermal throttling, fan control, or adjusting the operating frequency of components to prevent overheating.

[0028] In the BeiDou short message compression method of the present invention, in step S100, the power consumption parameters and thermal status parameters of the mobile terminal are first collected in real time through the driver layer interface of the mobile terminal. These data can be obtained directly or indirectly through APIs provided by the operating system. The collection period can be configured according to actual needs, for example, 500 milliseconds, or once per second, or once every few seconds, to ensure data real-time performance.

[0029] Secondly, in step S200, the current power consumption state level is determined based on the collected power consumption parameters and thermal state parameters. For example, a series of rules or models can be preset, and the collected power consumption data and thermal state data can be input into them. The current device operating state is then determined through logical judgment or calculation.

[0030] Further, in step S300, based on the determined power consumption state level, a corresponding compression algorithm is matched from a preset adaptive compression algorithm library. This adaptive compression algorithm library contains at least two compression algorithms with different computational costs and compression characteristics. For example, it may include an algorithm with high computational complexity but high compression ratio, and an algorithm with low computational complexity but moderate compression ratio. When the device is in a certain power consumption state level, the system selects the most suitable compression algorithm for the current state from the algorithm library according to a preset matching strategy. For example, a simple lookup table can be used to associate each power consumption state level with a recommended compression algorithm.

[0031] Subsequently, in step S400, the matched compression algorithm is invoked to compress the BeiDou short message data. Once a suitable compression algorithm is determined, the BeiDou short message data will be fed into that algorithm for processing to reduce the data volume. For example, general data compression techniques can be used, such as dictionary-based compression, statistical compression, or hybrid compression. The compression process can be executed on the mobile terminal's processor, and its computing power consumption will be affected by the complexity of the selected algorithm.

[0032] Finally, in step S500, the transmission parameters of the BeiDou radio frequency module are adjusted according to the determined power consumption status level, and the power consumption module and thermal management module of the mobile terminal are coordinated and scheduled. For example, when the device is in a power-constrained state, the transmission power of the BeiDou radio frequency module can be reduced or its transmission frame length can be adjusted to reduce energy consumption. Among them, the data packet size is positively correlated with the transmission frame length. The larger the packet, the longer the single frame transmission frame. When the maximum carrying capacity of a single BeiDou short message exceeds the capacity of a single frame, multiple frames will be split. The transmission power is adapted differently according to the data packet size and priority. The transmission priority is divided according to the importance of the data packet. Combined with the real-time power consumption / thermal status of the mobile phone, an asymmetric adaptation strategy is implemented for the transmission parameters of data packets with different priorities and the allocation of mobile phone resources, that is, high-priority core data is prioritized, and low-priority non-core data is restricted. Specifically, the stricter the power consumption and thermal constraints, the more stable the baseline transmission power of high-priority short packets will be, the more complete the retransmission mechanism will be retained, and the frame length will be adjusted only slightly to control the temperature rise. At the same time, they will have absolute preemption rights over radio frequency and computing resources. As the packet size increases and the constraints tighten, the transmission power will be significantly reduced, ultra-short frames will be split, and the transmission interval will be extended.

[0033] Simultaneously, instructions can be sent to the power consumption module of the mobile terminal, requesting it to adjust the processor's operating frequency or number of cores to reduce overall power consumption. Furthermore, the thermal management system can be notified to take appropriate measures based on the current thermal status level, such as activating cooling mechanisms or limiting certain high-power operations to prevent overheating. Through this coordinated scheduling, the compression and transmission processes can be optimized overall in terms of power consumption and heat dissipation.

[0034] This invention dynamically determines the power consumption status level by collecting the power consumption and thermal status parameters of the mobile terminal in real time, and adaptively matches the compression algorithm, adjusts the transmission parameters of the BeiDou radio frequency module, and coordinates the scheduling of the power consumption and thermal management modules accordingly. This effectively solves the problem of the separation between compression algorithm and power consumption management in traditional BeiDou short message technology, which cannot dynamically adapt to the power consumption status of the mobile terminal. It avoids unnecessary power consumption and CPU temperature rise in low-battery or high-heat scenarios, improves communication efficiency, and avoids the risk of heat accumulation during the "compression-transmission" process.

[0035] Furthermore, in some embodiments, the power consumption parameters include remaining battery power, RF module power consumption, and CPU load; The thermal parameters include CPU core temperature, battery temperature, RF module temperature, and thermal mitigation level.

[0036] Specifically, remaining battery power refers to the current available percentage or absolute value of battery power in a mobile terminal. This can be obtained in various ways, such as by directly reading the battery percentage register from the battery management chip or power management unit.

[0037] Radio frequency (RF) module power consumption refers to the electrical energy consumed by the BeiDou RF module during operation (such as transmission and reception). This parameter can be obtained by real-time measurement using a dedicated power consumption monitoring circuit or a power consumption sensor integrated inside the RF module, or it can be estimated based on the RF module's operating mode (such as transmission power level and modulation method) and a preset power consumption model.

[0038] CPU load refers to the level of activity of the central processing unit (CPU) in processing tasks within a specific time period, usually expressed as a percentage. Real-time CPU utilization can be obtained through the application programming interface (API) provided by the operating system.

[0039] CPU core temperature refers to the real-time operating temperature of each core within the central processing unit. Battery temperature refers to the real-time operating temperature of the mobile terminal's battery. RF module temperature refers to the real-time operating temperature of the BeiDou RF module. The CPU core temperature, battery temperature, and RF module temperature can be synchronously obtained by parsing files in the corresponding paths within the operating system through the Thermal HAL layer (Thermal Hardware Abstraction Layer, a subsystem in the Android operating system specifically responsible for thermal management).

[0040] Thermal mitigation level refers to the grading mechanism used by the mobile terminal thermal management system to characterize the current thermal state of the device. There are 0-7 levels, with higher levels indicating more severe overheating. This can be monitored through the Thermal HAL layer.

[0041] The definition of the specific parameters mentioned above provides a foundation for the accurate determination of power state levels, thereby supporting the effective execution of adaptive compression algorithms and cooperative scheduling.

[0042] Furthermore, in some embodiments, determining the current power state level based on the power consumption parameters and thermal state parameters includes: The temperature rise rate of the CPU and RF module is calculated based on a preset time window. The remaining power, thermal mitigation level, temperature of each component, and temperature rise rate are compared with a preset quantization threshold table to match the current power consumption status level. The quantization threshold table corresponds to different power consumption status levels based on different ranges of remaining power, thermal mitigation level, temperature of each component, and temperature rise rate.

[0043] Specifically, the temperature rise rate refers to the amount of temperature change per unit time, reflecting the dynamic trend of equipment heating and potential overheating risks. Calculating the temperature rise rate of the CPU and RF module aims to more accurately assess the real-time heat load of the equipment, avoiding judgment biases that may result from relying solely on instantaneous temperature values. This can be achieved by periodically collecting temperature values ​​of the CPU and RF module within a preset time window, and then calculating the average temperature rise rate by dividing the temperature difference by the time window length. For example, the system can collect temperature data at fixed time intervals and calculate the rate of temperature change over a past period. Alternatively, algorithms such as moving averages or exponential smoothing can be used to process continuously collected temperature data to smooth temperature fluctuations, thereby more accurately estimating the temperature rise rate and avoiding the influence of instantaneous temperature jumps on the status judgment results. This process requires filtering out instantaneous temperature fluctuations.

[0044] Subsequently, the remaining power, thermal mitigation level, temperature of each component, and temperature rise rate are compared with a preset quantization threshold table to match the current power state level. This comparison process aims to comprehensively consider multiple dimensions of parameters and achieve accurate and quantitative judgment of the current power state level by comparing with the predefined quantization threshold table.

[0045] The quantization threshold table corresponds to different power consumption state levels based on the remaining power, thermal mitigation level, temperature of each component, and temperature rise rate in different ranges. Table 1 below shows the quantization threshold table in one embodiment. In this embodiment, the power consumption state levels are divided into 6 levels, including high power consumption and low heat generation state, high power consumption and high heat generation state, balanced power consumption state, low power consumption and low heat generation state, low power consumption and high heat generation state, and extreme emergency critical state. The parameter ranges corresponding to each power consumption state level are as follows: Table 1 Quantization Threshold Table By setting different ranges for different parameters in the quantization threshold table, various complex combinations of power consumption and thermal state can be defined in a refined manner. Furthermore, this quantization threshold table can also be trained and generated using a machine learning model. By inputting a large amount of historical operating data (including various parameters and corresponding actual power consumption states), the model can learn and generate a decision logic that can output power consumption state levels based on real-time parameters. This logic can be considered a dynamic "quantization threshold table."

[0046] By incorporating temperature rise rate calculation into the above technical solution, the dynamic trend of device heating can be captured, avoiding misjudgments caused by relying solely on instantaneous temperature. Combining the acquired remaining battery power, thermal mitigation level, component temperatures, and temperature rise rate, a comprehensive comparison is performed using a preset quantification threshold table, achieving accurate and quantitative judgment of the current power consumption state level. This multi-dimensional and dynamic judgment mechanism overcomes the limitations of single-parameter judgment, ensuring the comprehensiveness and objectivity of state assessment. This allows for more accurate adaptation to real-time power consumption changes in mobile terminals, preventing misjudgments that could exacerbate system resource consumption or reduce communication efficiency in high-heat or low-battery scenarios. It also provides a reliable foundation for subsequent selection of adaptive compression algorithms and adjustment of transmission parameters.

[0047] Furthermore, in some embodiments, the adaptive compression algorithm library includes the improved LZ77 algorithm, LZ4 algorithm, Brotli algorithm, Zstd static pre-dictionary algorithm, and static FSE minimalist coding algorithm; When the power consumption state is a high power consumption and low heat generation state, the improved LZ77 algorithm is matched. When the power consumption state is high power consumption and high heat generation, the LZ4 algorithm is matched. When the power consumption state is balanced, the Brotli algorithm is matched. When the power consumption state is low power consumption and low heat generation state or low power consumption and high heat generation state, the Zstd static pre-dictionary algorithm is matched. When the power consumption state is in an extreme emergency critical state, the static FSE minimal coding algorithm is matched.

[0048] Specifically, the adaptive compression algorithm library is a pre-configured or dynamically updated collection of algorithms. Its core is to include at least two compression algorithms with different computing power consumption and compression characteristics to meet the dynamic needs of mobile terminals under different power consumption and thermal conditions.

[0049] Among them, the improved LZ77 algorithm is an optimized version of a dictionary-based lossless data compression algorithm. It can optimize the sliding window size, which can be configured from 128 to 512 bytes, with a compression ratio of 3:1 to 5:1. It has low computing power consumption and is suitable for the fast transmission needs of high power consumption and low heat generation scenarios.

[0050] The LZ4 algorithm retains the basic prefix matching of LZ77, completely removes redundant hash retrieval and long matching optimization, has extremely simple encoding logic, a compression ratio of 3:1, and consumes about 40% less computing power than the improved LZ77 algorithm. It also has extremely low CPU load and is suitable for low-load requirements in high-power and high-heat scenarios.

[0051] The Brotli algorithm combines LZ77 dictionary matching with static / dynamic Huffman coding, which can dynamically adjust redundancy, balance compression ratio and computing power, achieve a compression ratio of 5:1-8:1, consume moderate computing power, have strong anti-interference capabilities, and balance performance, making it suitable for scenarios that require a balance between efficiency and reliability in power consumption scenarios.

[0052] Zstd static pre-dictionary algorithm supports predefined BeiDou-specific static dictionaries (with built-in fields such as location, distress call, and coordinates). It adopts dictionary mapping and lightweight encoding methods, without complex iterations, and achieves a compression ratio of 8:1-15:1. It supports binary core data extraction and is suitable for lossless compression requirements in high compression ratio and low power consumption scenarios.

[0053] The static FSE minimalist coding algorithm predefines a fixed coding table for emergency fields (including four core emergency fields: distress call, coordinates, power consumption, and vital signs). It eliminates redundant matching and iteration, performing only direct mapping coding. The compression ratio is 12:1-20:1, with no parallel computing overhead or CPU temperature rise. It is suitable for emergency transmission requirements with zero additional load and high compression ratio in extreme low power and ultra-high temperature critical scenarios.

[0054] The aforementioned power consumption state and algorithm matching mechanism determines the current power consumption state level based on the power consumption parameters and thermal state parameters monitored in real time by the mobile terminal, and selects the most suitable compression algorithm from the aforementioned adaptive compression algorithm library for the current state.

[0055] Among them, the high power consumption and low heat generation state means that the mobile terminal has sufficient power, the core components such as the CPU have strong load capacity, and the temperature is at a normal or low level, and the system has enough resources to support high-intensity computing tasks.

[0056] High power consumption and high heat generation state refers to a mobile terminal having sufficient power, but the temperature of core components such as the CPU is high, posing a risk of thermal throttling. In this case, it is necessary to reduce the computing intensity to avoid overheating.

[0057] Balanced power consumption state refers to the mobile terminal being in normal operating condition, with power consumption and heat generation both within a controllable range, and system resources at a moderate level.

[0058] Low power consumption and low heat generation state or low power consumption and high heat generation state refers to the mobile terminal having low battery or the system being in power saving mode, requiring strict control of power consumption. Even if the heat generation is not high, power saving should be prioritized; if the heat generation is high, computing power should be reduced even more.

[0059] Extreme emergency critical state refers to an emergency situation where the mobile terminal has extremely low battery power, or the system is facing severe overheating and is about to shut down. At this time, the primary goal is to ensure that BeiDou short messages can be compressed and sent quickly, even if compression efficiency is sacrificed.

[0060] Through the above technical solution, this invention clarifies the specific composition of the adaptive compression algorithm library and its matching rules with different power consumption state levels, thereby solving the problem of inaccurate algorithm selection.

[0061] When the mobile terminal is in a high-power, low-heat state, the system resources are sufficient. When matched with the improved LZ77 algorithm, it can make full use of computing power to achieve a high compression ratio and improve data transmission efficiency.

[0062] When in a high-power, high-heat state, to avoid further aggravation of heat generation, the LZ4 algorithm is matched, which effectively reduces the CPU's computational load and temperature rise while ensuring a certain compression effect.

[0063] Under balanced power consumption conditions, the Brotli algorithm is matched to comprehensively optimize compression efficiency and resource consumption, achieving a good balance between performance and energy consumption.

[0064] For low-power, low-heat or low-power, high-heat states, the Zstd static pre-dictionary algorithm is matched. This algorithm is optimized for the characteristics of BeiDou short messages and can achieve effective compression with low computing power consumption under resource constraints.

[0065] Especially under extreme emergency and critical conditions, the matching static FSE simplified coding algorithm ensures that compression processing can still be completed at the fastest speed when system resources are extremely scarce, thus guaranteeing the basic communication function of BeiDou short messages. This effectively avoids resource waste or communication interruption caused by improper algorithm selection, and significantly improves the adaptability and reliability of BeiDou short messages in dynamic environments of mobile terminals.

[0066] Furthermore, in some embodiments, when the power consumption state is a high power consumption and low heat generation state, the CPU computing power scheduling permission is configured to 4 threads; When the power consumption state is high power consumption and high heat generation, configure the CPU computing power scheduling permission to 2 threads; When the power consumption state is balanced, low power consumption and low heat generation, low power consumption and high heat generation, or extreme emergency critical state, configure the CPU computing power scheduling permission to single thread.

[0067] CPU scheduling permissions refer to the strategies employed by the operating system or hardware level to restrict or allocate the use of CPU cores and threads. It determines the number of CPU threads an application can utilize simultaneously, directly impacting the parallel processing capability, power consumption, and heat generation of computing tasks. Configuring CPU scheduling permissions can be achieved in several ways. For example, the number of CPU cores or threads available to a specific process or application can be limited by modifying the operating system kernel's scheduling parameters; alternatively, the CPU's power management unit settings can be adjusted to dynamically regulate the CPU's frequency and voltage, combined with thread allocation strategies, to indirectly control computing power.

[0068] Through the above technical solution, this invention can dynamically adjust the CPU's computing power allocation based on the real-time power consumption and thermal status of the mobile terminal, thereby effectively solving the problem of improper CPU resource scheduling. When the system is in a high-power, low-heat state, configuring 4-thread permissions allows the BeiDou short message compression task to fully utilize the CPU's multi-core parallel processing capabilities, maximizing compression efficiency and processing speed without causing overheating. When the system is in a high-power, high-heat state, the CPU computing power scheduling permission is adjusted to 2 threads to moderately reduce CPU load, reduce heat generation, and prevent the system from triggering thermal throttling due to overheating, thereby maintaining communication stability and efficiency. In balanced power consumption, low-power, low-heat, low-power, high-heat, or extreme emergency critical states, configuring single-thread permissions can minimize CPU power consumption and heat generation, ensuring that the BeiDou short message function can still operate stably under resource constraints or emergency situations, avoiding system instability or rapid power depletion due to unnecessary computing power consumption. This dynamic CPU thread configuration based on power consumption status, combined with the matching and selection of the adaptive compression algorithm library, forms a more refined and efficient resource management mechanism. This ensures the overall performance optimization of the BeiDou short message compression and transmission process and achieves a synergistic balance between power consumption and thermal management.

[0069] Furthermore, in some embodiments, the power consumption module and thermal management module of the collaboratively scheduled mobile terminal include: Control commands are generated based on the power consumption status level; The control command is sent to the power consumption module of the mobile terminal to adjust the CPU's computing power scheduling strategy and / or the power supply priority of the Beidou radio frequency module. The control command is sent to the thermal management module of the mobile terminal to trigger a thermal throttling or heat dissipation strategy corresponding to the power consumption state level.

[0070] The purpose of generating control instructions based on the power consumption state level is to translate the current power consumption state level of the system into executable, targeted operation instructions to guide the collaborative work of various modules within the mobile terminal. Its function is to provide a clear decision-making basis for subsequent power consumption management and thermal management, ensuring that the system can make precise adjustments based on real-time status.

[0071] The control command is sent to the power consumption module of the mobile terminal to adjust the CPU's computing power scheduling strategy and / or the power supply priority of the Beidou radio frequency module. The purpose of this step is to directly intervene in the power consumption allocation of the mobile terminal and optimize the overall power consumption, extend the battery life, or avoid overload by finely managing the CPU resources and the power supply of the Beidou radio frequency module.

[0072] The control command is sent to the thermal management module of the mobile terminal to trigger the thermal throttling or heat dissipation strategy corresponding to the power consumption state level. The purpose of this step is to effectively prevent the device from overheating and avoid triggering the system thermal protection mechanism due to excessive temperature, which could lead to performance degradation or device damage, and ensure the stable operation of the Beidou short message function.

[0073] Specifically, based on different power consumption state levels, different control commands are issued to the power consumption module and thermal management module of the mobile terminal, for example: For the high power consumption and low heat generation state, the control instructions are as follows: prioritize the power supply of the Beidou radio frequency module to the first tier of the system, grant the CPU big core 4-thread computing power scheduling permission, remove the temporary restrictions on CPU computing power current limiting and temperature threshold, and temporarily prevent the thermal HAL layer from triggering the thermal throttling strategy related to the Beidou module to ensure the computing power supply throughout the compression and transmission process.

[0074] For the high power consumption and low heat generation state, the control instructions are as follows: maintain the power supply priority of the Beidou RF module in the first echelon of the system, limit the CPU computing power scheduling to 2 threads, disable the CPU large core overclocking permission, reduce the compression computing load, enable real-time temperature monitoring of the Beidou module in the Thermal HAL layer, trigger the mild thermal throttling strategy, limit the continuous working time of the RF module, and avoid heat accumulation.

[0075] For the balanced power consumption state, the control instructions are as follows: set the power supply priority of the Beidou radio frequency module to the normal system priority, limit the CPU computing power scheduling to 1 thread, and balance the computing power supply and power consumption; the Thermal HAL layer maintains the normal thermal management strategy, does not trigger additional thermal throttling, and ensures stable system operation.

[0076] For low-power, low-heat conditions, the control instructions are as follows: the power supply priority of the Beidou radio frequency module is raised to the system core priority to ensure power supply stability; the CPU computing power scheduling is limited to 1 thread; non-core CPU cores are shut down to reduce the power consumption of the compression process; the Thermal HAL layer maintains a low-load thermal management strategy and does not trigger thermal throttling.

[0077] For low-power, high-heat-generating states, the control instructions are as follows: lock the power supply priority of the BeiDou RF module to the system core priority to ensure emergency power supply, forcibly limit CPU computing power scheduling to 1 thread, shut down all non-core CPUs, lock the CPU core frequency to the minimum keep-alive frequency, and reduce the computing power load and heat generation; enable a strict thermal throttling strategy in the Thermal HAL layer to limit the continuous working time of the RF module, suspend the heat dissipation resource occupation of all non-core modules, and prioritize the heat dissipation of the BeiDou module.

[0078] In extreme emergency critical states, the control instructions are as follows: The BeiDou radio frequency module is forcibly locked as the highest power supply priority in the system, and all power supply current limiting and power-down strategies for the BeiDou module are disabled; a process freeze instruction is issued to the system kernel, shutting down all unnecessary peripheral power supplies, background processes, and non-core CPUs except for BeiDou short message communication, and locking the frequency of the remaining single CPU core to the minimum keep-alive frequency, thus preventing additional power consumption and heat generation from the bottom layer; the Thermal HAL layer suspends the heat dissipation scheduling of all non-core modules, allocating all heat dissipation resources to the BeiDou radio frequency module and CPU core, triggering extreme thermal protection strategies, and prohibiting any operations that may cause the temperature to rise further.

[0079] Through the above technical solution, this invention generates refined control instructions based on real-time power consumption levels, enabling dynamic adjustment of the CPU's computing power scheduling strategy and / or the power supply priority of the BeiDou radio frequency module. This bidirectional, synchronous collaborative scheduling mechanism ensures that power management and thermal management are no longer isolated processes, but rather form a tightly integrated whole. In this way, this invention effectively avoids the potential heat accumulation problem during the "compression-transmission" process, preventing system performance degradation or communication interruption due to overheating, while optimizing power consumption and ensuring the efficient and stable operation of the BeiDou short message function under various dynamic power consumption and thermal conditions.

[0080] Furthermore, in some embodiments, a closed-loop feedback adjustment step is also included, comprising: Record the operational data of each BeiDou short message data compression and transmission process; The process of comparing the running data with a preset threshold, dynamically correcting the parameters and transmission strategy of the adaptive compression algorithm library, and feeding back the data to the power consumption status level determination process.

[0081] The operational data includes at least one of the following: compression time, CPU temperature rise increment, actual power consumption, and transmission success rate.

[0082] The closed-loop feedback adjustment step aims to achieve adaptive optimization and performance improvement of the system by monitoring its operating status in real time and adjusting system parameters based on the monitoring results. Its core lies in forming a "monitor-evaluate-adjust" cycle to ensure the system can continuously adapt to changes in the external environment and fluctuations in its internal state. This step can be implemented by integrating a feedback control module into the operating system or application layer of the mobile terminal. This module periodically collects operating data, analyzes it according to preset logic or models, and generates adjustment instructions.

[0083] The recorded operational data, detailing the compression and transmission processes of each BeiDou short message, is used to obtain the system's performance and resource consumption during actual operation, providing an objective basis for subsequent evaluation and adjustments. By recording key operational data, the efficiency of the compression algorithm, the performance of the transmission link, and the resource utilization of the mobile terminal can be quantified.

[0084] The comparison of the operational data with preset thresholds is used to assess whether the current system's operating status meets expectations or whether there is room for optimization. By comparing actual operational data with preset performance or resource consumption thresholds, potential performance bottlenecks, resource waste, or anomalies can be identified. For example, a series of operational data thresholds can be predefined, such as upper limits for compression time, CPU temperature rise increment, actual power consumption, and transmission success rate. After acquiring the operational data, conditional statements are used to compare each data point with its corresponding threshold.

[0085] The dynamic adjustment of the parameters and transmission strategy of the adaptive compression algorithm library is the core of the closed-loop feedback mechanism. It aims to adjust the system's behavior based on comparison results to optimize performance or resource utilization. By adjusting the parameters and transmission strategy of the compression algorithm, the system can better adapt to the current power consumption state and environmental conditions. For example, based on the comparison results, a suitable adjustment scheme can be selected from a predefined set of parameter adjustment rules. If the temperature rise increment exceeds the limit, the number of parallel threads for the corresponding algorithm is reduced; if the compression time is too long, the compression level can be reduced or a compression algorithm with lower computational load can be switched; if the transmission success rate is too low, the algorithm redundancy is increased.

[0086] The process of feeding back the power status level judgment ensures the integrity of the closed-loop feedback, allowing the corrected system state to influence subsequent power status level judgments, thus forming a continuous optimization cycle. By feeding the adjustment results back to the power status judgment module, the system's perception of its own state can be more accurate and real-time. For example, dynamically corrected parameters and strategies can be used as input to update certain weights, thresholds, or model parameters within the power status level judgment module. If the transmission strategy adjustment causes a change in the RF module's power consumption, this change should be included in the next power parameter evaluation.

[0087] By recording the operational data of each BeiDou short message data compression and transmission process, the system can obtain real-time performance data, thus avoiding the rigidity of algorithm parameters and transmission strategies. Comparing this operational data with preset thresholds allows the system to accurately identify performance deviations or abnormal resource consumption, such as increased compression time or aggravated temperature rise. Based on this, the system can dynamically correct the parameters and transmission strategies of the adaptive compression algorithm library, such as adjusting the compression level, switching algorithms, or optimizing transmission power, enabling the BeiDou short message compression method to continuously adapt to the dynamically changing power consumption state and environmental conditions of mobile terminals. Furthermore, the corrected information is fed back into the power consumption state level judgment process, forming a continuously optimizing loop. This makes the judgment of the power consumption state level more accurate and real-time, ensuring that the entire BeiDou short message compression system maintains efficient, stable, and low-power operation in various complex scenarios, effectively avoiding the heat accumulation problem in the "compression-transmission" process, and improving communication efficiency and user experience.

[0088] The present invention also provides a mobile terminal, which may be a smartphone, a tablet computer, or other smart electronic devices.

[0089] The mobile terminal includes a CPU, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the CPU. The CPU communicates with the storage medium via the bus. The CPU executes the machine-readable instructions to perform the BeiDou short message compression method as described in any of the above embodiments.

[0090] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A BeiDou short message compression method, characterized in that, include: The power consumption and thermal status parameters of the mobile terminal are collected in real time through the driver layer interface of the mobile terminal. Based on the power consumption parameters and thermal state parameters, the current power consumption state level is determined; Based on the power consumption state level, a corresponding compression algorithm is matched from a preset adaptive compression algorithm library, wherein the adaptive compression algorithm library contains at least two compression algorithms with different computing power consumption and compression characteristics. The matched compression algorithm is invoked to compress the BeiDou short message data; Based on the power consumption status level, the transmission parameters of the Beidou radio frequency module are adjusted, and the power consumption module and thermal management module of the mobile terminal are coordinated and scheduled.

2. The BeiDou short message compression method according to claim 1, characterized in that, The power consumption parameters include remaining battery power, RF module power consumption, and CPU load. The thermal parameters include CPU core temperature, battery temperature, RF module temperature, and thermal mitigation level.

3. The BeiDou short message compression method according to claim 2, characterized in that, The step of determining the current power consumption state level based on the power consumption parameters and thermal state parameters includes: The temperature rise rate of the CPU and RF module is calculated based on a preset time window. The remaining power, thermal mitigation level, temperature of each component, and temperature rise rate are compared with a preset quantization threshold table to match the current power consumption status level. The quantization threshold table corresponds to different power consumption status levels based on different ranges of remaining power, thermal mitigation level, temperature of each component, and temperature rise rate.

4. The BeiDou short message compression method according to claim 1, characterized in that, The power consumption status levels include high power consumption and low heat generation, high power consumption and high heat generation, balanced power consumption, low power consumption and low heat generation, low power consumption and high heat generation, and extreme emergency critical state.

5. The BeiDou short message compression method according to claim 4, characterized in that, The adaptive compression algorithm library includes the improved LZ77 algorithm, LZ4 algorithm, Brotli algorithm, Zstd static pre-dictionary algorithm, and static FSE minimalist coding algorithm; When the power consumption state is a high power consumption and low heat generation state, the improved LZ77 algorithm is matched. When the power consumption state is high power consumption and high heat generation, the LZ4 algorithm is matched. When the power consumption state is balanced, the Brotli algorithm is matched. When the power consumption state is low power consumption and low heat generation state or low power consumption and high heat generation state, the Zstd static pre-dictionary algorithm is matched. When the power consumption state is in an extreme emergency critical state, the static FSE minimal coding algorithm is matched.

6. The BeiDou short message compression method according to claim 5, characterized in that, When the power consumption state is high power consumption and low heat generation, configure the CPU computing power scheduling permission to 4 threads; When the power consumption state is high power consumption and high heat generation, configure the CPU computing power scheduling permission to 2 threads; When the power consumption state is balanced, low power consumption and low heat generation, low power consumption and high heat generation, or extreme emergency critical state, configure the CPU computing power scheduling permission to single thread.

7. The BeiDou short message compression method according to claim 1, characterized in that, The power consumption module and thermal management module of the collaboratively scheduled mobile terminal include: Control commands are generated based on the power consumption status level; The control command is sent to the power consumption module of the mobile terminal to adjust the CPU's computing power scheduling strategy and / or the power supply priority of the Beidou radio frequency module. The control command is sent to the thermal management module of the mobile terminal to trigger a thermal throttling or heat dissipation strategy corresponding to the power consumption state level.

8. The BeiDou short message compression method according to claim 1, characterized in that, It also includes closed-loop feedback adjustment steps, including: Record the operational data of each BeiDou short message data compression and transmission process; The process of comparing the running data with a preset threshold, dynamically correcting the parameters and transmission strategy of the adaptive compression algorithm library, and feeding back the data to the power consumption status level determination process.

9. The BeiDou short message compression method according to claim 8, characterized in that, The operational data includes at least one of the following: compression time, CPU temperature rise increment, actual power consumption, and transmission success rate.

10. A mobile terminal, characterized in that, The system includes a CPU, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the CPU. The CPU communicates with the storage medium via the bus. The CPU executes the machine-readable instructions to perform the memory reclamation method according to any one of claims 1 to 9.