Power consumption control method and device for a communication device

By pausing the cellular module when the 5G monitoring device is started, counting the power consumption of other modules and optimizing the SIM card and power supply methods, the insufficient power supply caused by excessive power consumption of the cellular module is solved, and stable and reliable video streaming is achieved.

CN116133094BActive Publication Date: 2025-07-25ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211606479.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2025-07-25
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

The cellular modules of 5G monitoring equipment consume high power, resulting in excessive overall power consumption, which is prone to insufficient power supply for external power sources.

Method used

The startup of the cellular module is paused when the communication device is started, count the power consumption of other modules, determine the startup mode and power supply mode according to the remaining power consumption and cellular module parameters, optimize the working mode of the cellular module through SIM card switching and internal battery power supply, and select the optimal combination to achieve stable and reliable video streaming.

Benefits of technology

Within the maximum power supply range of external power supply, reliable, stable and smooth video streaming of cellular modules is realized, avoiding insufficient power supply due to excessive power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116133094B_ABST
    Figure CN116133094B_ABST
Patent Text Reader

Abstract

The present application discloses a power consumption control method and device for a communication device, which are used to determine the startup mode of a cellular module and the power supply mode for the cellular module according to the power consumption of functional modules in the communication device, so as to achieve reliable, stable and smooth transmission of code streams within the maximum power supply range of an external power supply for the cellular module. A power consumption control method for a communication device provided by the present application includes: when starting the communication device, suspending the startup of the cellular module in the communication device and counting the power consumption of other modules in the communication device except the cellular module; when other modules in the communication device are started up, determining the remaining power that the external power supply in the communication device can currently provide according to the power consumption of other modules, and determining the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technologies, and in particular, to a method and apparatus for power consumption control of a communication device. Background Art

[0002] 5G monitoring devices are widely used in various industries. For example, 5G-based monitoring devices are used in key locations such as parks, subways, and docks. The network characteristics of 5G with ultra-large bandwidth and low latency enable the transmission of ultra-high-definition videos such as 4K and 8K, greatly improving the construction convenience. There is no need to deploy network cables, and only by inserting a SIM (Subscriber Identity Module) card, the device can quickly access the external network and transmit the data collected by the camera to the cloud platform in real time. While 5G brings convenience, there are also some problems, such as power consumption. Summary of the Invention

[0003] Embodiments of this application provide a method and apparatus for power consumption control of a communication device, which are used to determine the startup mode of a cellular module and the power supply mode for the cellular module according to the power consumption of functional modules in the communication device, so as to achieve reliable, stable, and smooth transmission of a bitstream within the maximum power supply range of an external power supply for the cellular module.

[0004] A method for power consumption control of a communication device provided by an embodiment of this application includes:

[0005] When starting the communication device, suspend starting the cellular module in the communication device, and count the power consumption of other modules in the communication device except the cellular module;

[0006] When other modules in the communication device are started up, determine the remaining power that the external power supply in the communication device can currently provide according to the power consumption of the other modules, and determine the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module.

[0007] Through this method, when starting the communication device, suspend starting the cellular module in the communication device, and count the power consumption of other modules in the communication device except the cellular module; when other modules in the communication device are started up, determine the remaining power that the external power supply in the communication device can currently provide according to the power consumption of the other modules, and determine the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module, so as to achieve reliable, stable, and smooth transmission of a video bitstream within the maximum power supply range of the external power supply for the cellular module.

[0008] In some embodiments, the cellular module includes a first cellular module and a second cellular module; wherein, the preset maximum power consumption of the second cellular module is less than that of the first cellular module.

[0009] Determine the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power consumption currently provided by the external power supply and the power consumption parameters of the cellular module, including:

[0010] When the remaining power consumption currently provided by the external power supply is greater than or equal to the preset maximum power consumption of the second cellular module, assign a second SIM card to the second cellular module, assign a first SIM card to the first cellular module, and supply power to the second cellular module through the external power supply, and supply power to the first cellular module through the internal battery in the communication device.

[0011] By this method, it is realized to determine the startup mode of the cellular module and the power supply method for the cellular module according to the current remaining power consumption of the external power supply.

[0012] In some embodiments, the method further includes:

[0013] Determine the power consumption and the smoothness of data stream transmission during the operation of the first cellular module, and determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0014] Assign a first SIM card to the second cellular module, assign a second SIM card to the first cellular module, and re-determine the power consumption and the smoothness of data stream transmission during the operation of the first cellular module, and re-determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0015] Select the combination of the cellular module and the SIM card with the best smoothness of data stream transmission and the lowest power consumption, and only start the cellular module in this combination mode, and supply power to the cellular module in this combination mode through the external power supply.

[0016] By this method, it is realized to select the optimal combination of the SIM card and the cellular module, and then to realize reliable, stable and smooth transmission of the code stream within the maximum power supply range of the external power supply through this combination.

[0017] In some embodiments, while supplying power to the cellular module in this combination mode through the external power supply, the method further includes:

[0018] Charge the internal battery in the communication device through the external power supply.

[0019] In some embodiments, the cellular module includes a first cellular module and a second cellular module; wherein, the preset maximum power consumption of the second cellular module is less than that of the first cellular module;

[0020] Determine the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module, including:

[0021] When the remaining power that the external power supply can currently provide is less than the preset maximum power consumption of the second cellular module, allocate a second SIM card to the second cellular module and supply power to the second cellular module through the internal battery in the communication device.

[0022] Through this method, it is realized to determine the startup mode of the cellular module and the power supply method for the cellular module according to the current remaining power of the external power supply.

[0023] In some embodiments, the method further includes:

[0024] Determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0025] If the smoothness meets the preset conditions and the power consumption is less than the remaining power that the external power supply can currently provide, supply power to the second cellular module through the external power supply;

[0026] If the smoothness does not meet the preset conditions, allocate a first SIM card to the second cellular module.

[0027] Through this method, it is realized to determine whether to switch the SIM card according to the power consumption and the smoothness of data transmission of the second cellular module.

[0028] In some embodiments, the method further includes:

[0029] Redetermine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0030] If the smoothness of the second cellular module during the redetermined operation does not meet the preset conditions, allocate a first SIM card or a second SIM card to the first cellular module and supply power to the first cellular module through the internal battery in the communication device.

[0031] Through this method, it is realized to determine whether to allocate a SIM card to the first cellular module according to the power consumption and the smoothness of data stream transmission of the second cellular module.

[0032] In some embodiments, the method further includes:

[0033] Determine the power consumption and the smoothness of data stream transmission of the first cellular module during operation;

[0034] If the smoothness of the first cellular module during operation meets the preset conditions, and the power consumption of the first cellular module during operation is less than the remaining power that the external power supply can currently provide, then power the first cellular module through the external power supply;

[0035] When the power consumption of the first cellular module during operation is greater than the remaining power that the external power supply can currently provide, adjust the peripheral modules in the communication device so that the remaining power that the external power supply can provide is greater than the power consumption of the first cellular module during operation, and power the first cellular module through the external power supply.

[0036] Through this method, it is realized to determine the power supply mode of the cellular module according to the power consumption and the smoothness of data stream transmission of the first cellular module, and to determine whether to adjust the peripheral modules to increase the remaining power of the external power supply.

[0037] In some embodiments, the method further includes:

[0038] Monitor the configuration of the peripheral modules in the communication device;

[0039] When the change in the configuration of the peripheral modules in the communication device causes an increase in power consumption, and the increased power consumption amount is greater than the remaining power that the external power supply can currently provide, adjust the configuration of the peripheral modules.

[0040] Through this method, it is realized to estimate the power consumption impact caused by the change in the configuration of the peripheral modules, and comprehensively adjust the parameters of the peripheral module combination in combination with the current supply capacity of the external power supply, so as to achieve the purpose of stable overall operation of the device.

[0041] Another embodiment of the present application provides a power consumption control device for a communication device, which includes a memory and a processor. Among them, the memory is used to store program instructions, and the processor is used to call the program instructions stored in the memory and execute any of the above methods according to the obtained program.

[0042] Another embodiment of the present application provides a communication device, including the above power consumption control device.

[0043] In addition, according to an embodiment, for example, a computer program product for a computer is provided, which includes software code portions that, when the product runs on the computer, are used to execute the steps of the method defined above. The computer program product may include a computer-readable medium on which the software code portions are stored. In addition, the computer program product may be directly loaded into the internal memory of the computer and / or sent via a network through at least one of an upload process, a download process, and a push process.

[0044] Another embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for causing the computer to execute any of the above methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for description in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0046] Figure 1 It is a schematic structural diagram of a communication device provided by an embodiment of the present application;

[0047] Figure 2 It is a schematic diagram of a specific process for determining an optimal combination of a cellular module and a SIM card (the external power supply powers the 4G module, and the internal battery powers the 5G module) provided by an embodiment of the present application;

[0048] Figure 3 It is a schematic diagram of a specific process for determining an optimal combination of a cellular module and a SIM card (the internal battery powers the 4G module or the 5G module) provided by an embodiment of the present application;

[0049] Figure 4 It is a schematic diagram of the overall process of a power consumption control method for a communication device provided by an embodiment of the present application;

[0050] Figure 5 It is a schematic structural diagram of a power consumption control device for a communication device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0051] The following clearly and completely describes the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts belong to the scope of protection of the present application.

[0052] The embodiments of the present application provide a power consumption control method and device for a communication device, which are used to determine the startup mode of a cellular module and the power supply mode for the cellular module according to the power consumption of functional modules in the communication device, so as to realize reliable, stable and smooth transmission of bitstreams within the maximum power supply range of an external power supply for the cellular module.

[0053] Among them, the method and the device are based on the same inventive concept. Since the principles of the method and the device for solving problems are similar, the implementation of the device and the method can be referred to each other, and the repeated parts will not be elaborated.

[0054] Terms such as "first" and "second" (if any) in the specification, claims and the above-mentioned drawings of the embodiments of the present application are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these process, method, product or device.

[0055] The following examples and embodiments will only be understood as illustrative examples. Although the present specification may mention "one", "a" or "some" examples or embodiments in several places, this does not mean that each such mention is related to the same example or embodiment, nor does it mean that the feature only applies to a single example or embodiment. The individual features of different embodiments can also be combined to provide other embodiments. In addition, terms such as "including" and "comprising" should be understood as not limiting the described embodiments to only the features already mentioned; such examples and embodiments may also include features, structures, units, modules, etc. not specifically mentioned.

[0056] The following describes each embodiment of the present application in detail with reference to the drawings in the specification. It should be noted that the display order of the embodiments of the present application only represents the sequence of the embodiments, and does not represent the superiority or inferiority of the technical solutions provided by the embodiments.

[0057] It should be noted that the technical solution provided by the embodiments of the present application is described by taking reducing the overall power consumption of 5G monitoring devices as an example, but is not limited thereto.

[0058] Some nouns appearing in the text are explained below:

[0059] 1. In the embodiments of this application, the term "intrinsic safety" means intrinsically safe, and explosion protection can be achieved through the energy-limiting of the safety barrier;

[0060] 2. In the embodiments of this application, the term "bitstream" refers to the data traffic used by a video file per unit time, also called the bit rate, which is the most important part in the picture quality control of video coding;

[0061] 3. In the embodiments of this application, the term "pulling the stream" refers to the process in which the image information collected by a monitoring device is transmitted to the cloud platform through a cellular module (such as 4G, 5G or Ethernet, etc.) and the video information is displayed on the cloud platform.

[0062] In the overall power consumption of a communication device, the power consumption of the cellular 5G module accounts for a relatively high proportion in the overall device power consumption. Under different working modes, wireless interference, etc., the transmission power of the cellular module is different. The farther the distance from the base station, the higher the transmission power required for the cellular module to send and receive data. In some cases where the signal coverage is poor and the installation location of the device is blocked, etc., the power consumption of the 5G module can reach up to 4.5W at most, which will be a huge challenge for the intrinsically safe scenario with strict requirements for power consumption. How to reduce the overall power consumption of 5G devices is an urgent problem to be solved currently.

[0063] To solve the above problems, the embodiments of this application propose a power consumption control method for a communication device, which can be applied to, for example, 5G monitoring devices. Within the maximum supply range of the external power supply of the communication device (i.e., the charger of the communication device), the stable and reliable transmission of the video stream is achieved through the parameter adjustment of internal key modules and the switching of the cellular module and the SIM card, thereby avoiding serious problems such as insufficient power supply of the external power supply due to excessive power consumption of the cellular module.

[0064] See Figure 1 , the communication device, for example, includes a DSP module, a cellular module (4G, 5G module), a SIM management module (such as SIM1, SIM2, i.e., SIM cards of different operators), an internal battery, an external power supply (i.e., the charger of the communication device, which provides DC power supply for other modules of the communication device), a power management module, and key peripheral modules (such as image processing, AI (Artificial Intelligence), windshield wiper, fill light, pan-tilt, speaker);

[0065] The DSP module is the main processor of the communication device and is used to implement all services of the communication device by controlling the work of other modules;

[0066] The SIM management module is used to switch SIM cards for 4G and 5G modules, that is, assign SIM1 to the 4G module and SIM2 to the 5G module, or assign SIM2 to the 4G module and SIM1 to the 5G module. Here, SIM1 and SIM2 are SIM cards of different operators;

[0067] The power management module is used to achieve power switching and perform power supply management for 4G and 5G modules. It can switch the hardware circuit switch to achieve the purpose of supplying external power or internal battery power to the 4G and 5G modules, realize charging the internal battery through the external power supply, and is also used to count the output power consumption of the external power supply or internal battery;

[0068] The peripheral module includes some key functional modules of the communication device, such as an AI module for intelligent analysis of video images, a pan-tilt for realizing the rotation of the monitoring device lens, and so on.

[0069] Since the transmission power consumption of the cellular module is strongly related to the current cellular environment, the worse the cellular environment quality (such as long distance, large interference, etc.), the greater the transmission power of the cellular module. The maximum power consumption of the 4G module is more than 2W, and the maximum power consumption of the 5G module can exceed 5W. To ensure that the overall power consumption of the communication device is lower than the maximum power consumption of the external power supply, in the embodiment of this application, during the startup process of the communication device, the startup of the cellular module is lagged, and the power consumption of other modules of the communication device except the cellular module is preferentially counted.

[0070] See Figure 2 , the specific steps for determining the optimal combination of cellular module and SIM card (the external power supply supplies power to the 4G module, and the internal battery supplies power to the 5G module) provided by the embodiment of this application include:

[0071] Step S11: The communication device is powered on, but the cellular module is not powered on temporarily, and the internal battery is in a state of neither charging nor discharging;

[0072] Step S12: After other modules are started up, the DSP module queries the current remaining power consumption of the external power supply (maximum output power consumption - current output power consumption) through the power management module. This current remaining power consumption is the difference between the maximum output power consumption of the external power supply and the current output power consumption. Among them, for the maximum output power consumption, the power management module obtains the limit output power consumption value marked on the nameplate of the external power supply through the power adapter, and the current output power consumption is the power consumption value output by the external power supply for all modules of the communication device (that is, the sum of the power consumption of other modules that are currently using the external power supply for power supply, and the power consumption of each module is obtained through the power management module).

[0073] Assume that the current remaining power consumption of the external power supply is T1, the preset maximum power consumption of the 4G module is T2, and the preset maximum power consumption of the 5G module is T3. Since the maximum power consumption of the 4G module is usually lower than that of the 5G module, by comparing the magnitudes of T2 and T1, it is possible to determine whether the external power supply can power the cellular module.

[0074] If T2 ≤ T1, it means that the external power supply can meet the maximum power consumption requirements of the 4G module. The SIM management module assigns SIM cards to the 4G module and the 5G module respectively (for example, using SIM cards of two operators, namely SIM1 and SIM2. Assign SIM1 to the 4G module, i.e., 4G - SIM1; assign SIM2 to the 5G module, i.e., 5G - SIM2). Then, the power management module completes the hardware circuit switching: power the 4G module with the external power supply and power the 5G module with the internal battery.

[0075] Step S13: After the 4G and 5G modules are powered on simultaneously, the 4G and 5G modules use the corresponding SIM cards assigned by the SIM management module to dial up the Internet and register with the cloud platform.

[0076] Step S14: The DSP module performs dual - link video stream transmission based on the 4G and 5G modules, and sends the video streams to the 4G and 5G modules respectively. The 4G and 5G modules then forward the video streams to the cloud platform.

[0077] Step S15: The power management module obtains the current output power consumption of the internal battery and the external power supply. At the same time, the stream transmission module obtains the smoothness of the video stream transmission on the 4G link and the 5G link. Among them, the smoothness of the video stream transmission can be determined by measuring the packet loss rate, that is, counting the total number of video stream packets sent by the DSP module within a unit time, and the total number of video stream packets received by the cloud platform within the same unit time. Calculate the difference between the two to obtain the number of video stream packets that failed to be sent within the unit time. Divide the number of failed video stream packets by the total number of video stream packets sent by the DSP module within the unit time to obtain the packet loss rate. The larger the packet loss rate, the more stuttering the image, that is, the worse the transmission smoothness.

[0078] The SIM management module re - assigns SIM cards to the 4G module and the 5G module (for example, assign SIM2 to the 4G module, i.e., 4G - SIM2; assign SIM1 to the 5G module, i.e., 5G - SIM1), and repeat the above steps S13 - S15.

[0079] At this time, the power consumption of the 4G module is the current output power consumption of the external power supply, and the power consumption of the 5G module is the current output power consumption of the internal battery. Compare the power consumption and the smoothness of the transmitted video stream under the above four combinations of 4G-SIM1, 4G-SIM2, 5G-SIM2, and 5G-SIM1, and select the combination with the best smoothness (i.e., the lowest packet loss rate and no stuttering) and the smallest power consumption for service stream pulling.

[0080] Assume that under the 4G-SIM2 combination obtained above, the smoothness of the video stream transmission is the best and the power consumption is the lowest. Use this combination for stream pulling, and through the power management module, power off the 5G module to make the 5G module stop working. At the same time, switch the internal battery to the charging state of the external power supply, and use the remaining power consumption of the external power supply to charge the internal battery. That is, the external power supply at this time supplies power to the 4G module and also charges the internal battery.

[0081] See Figure 3 , another specific step for determining the optimal combination of the cellular module and the SIM card (the internal battery supplies power to the 4G module or the 5G module) provided by the embodiment of the present application includes:

[0082] Step S21: Power on the communication device, but do not power on the cellular module temporarily, and the internal battery does not charge or discharge.

[0083] Step S22: After other modules are started, the DSP module queries the current remaining power consumption of the external power supply through the power management module.

[0084] After the communication device is started, if there are more key peripheral modules involved in the current service, more power supply is required. For example, if the external speaker and the pan-tilt inspection are turned on, at this time, the external power supply cannot supply power to the 4G module because it cannot meet the maximum power consumption requirement of the 4G module (i.e., T2>T1). At this time, the power supply switch is switched through the power management module, and the internal battery supplies power to the 4G module, and the SIM management module assigns a SIM card (such as SIM1) to the 4G module.

[0085] Step S23: The 4G module dials the Internet using SIM1, the DSP module sends the video stream to the 4G module, and the 4G module forwards the received video stream to the cloud platform after receiving it.

[0086] Step S24: After a preset time (such as 20 s), obtain the current output power consumption of the internal battery through the power management module and calculate the smoothness of the video stream transmission.

[0087] If the smoothness of the video stream transmission is good (i.e., no stuttering) under the current 4G-SIM1 combination, and the power consumption of the 4G module is less than the current remaining power consumption of the external power supply, then supply power to the 4G module through the external power supply through the power management module and power off the 5G module.

[0088] Step S25: If the smoothness of video stream transmission is poor (i.e., there is lag) under the current 4G-SIM1 combination, it indicates that the current 4G network does not meet the service requirements. If there is a switchable SIM card, the SIM card of the 4G module is switched to, for example, SIM2 through the SIM management module, and the above steps S23 - S25 are repeated;

[0089] If the lag phenomenon of the 4G module still cannot be improved after SIM card switching, the cellular module is switched to a 5G module, and SIM1 is allocated to the 5G module;

[0090] Step S26: The 5G module dials the Internet using SIM1, the DSP module sends the video stream to the 5G module, and the 5G module forwards it to the cloud platform after receiving the video stream; after a preset time (e.g., 20s), the current output power consumption of the internal battery is obtained through the power management module, and the smoothness of video stream transmission is calculated; if the smoothness of video stream transmission is poor under the current 5G-SIM1 combination, the SIM card of the 5G module is switched to SIM2 through the SIM management module;

[0091] Generally, it is necessary to perform the dial-up Internet access and video stream pulling operations under each combination of 4G-SIM1, 4G-SIM2, 5G-SIM1, and 5G-SIM2 in sequence, and count the power consumption of the cellular module and the smoothness of video stream transmission under each combination. By comparing the transmission smoothness and power consumption of each combination, the combination with the best smoothness (i.e., the lowest packet loss rate) and the smallest power consumption can be selected.

[0092] If it is finally determined that the smoothness of video stream transmission is the best under the 5G-SIM2 combination, assuming the current power consumption of the 5G module is T4, when T4 < T1, the power supply mode of the 5G module is switched to external power supply through the power management module, and the internal battery is charged with the remaining power consumption of the external power supply; when T4 > T1, it means that the current remaining power consumption of the external power supply cannot meet the maximum power consumption requirement of the 5G module, so the output power consumption of the external power supply is reduced by adjusting key peripheral modules such as the ability of the fill light, the rotation speed of the pan-tilt, and the encoding and decoding performance, that is, the current remaining power consumption T1 of the external power supply is increased. This adjustment action is continuously performed, and the current remaining power consumption T1 of the external power supply is continuously updated until T4 < T1.

[0093] In some embodiments, during the operation of the key peripheral module, the DSP module continuously monitors the configuration changes of the key peripheral module. Configuration changes such as adjusting the speaker volume will affect the output power consumption of the external power supply, thereby affecting the current remaining power consumption of the external power supply. When the configuration of a certain key peripheral module changes, the DSP module will estimate the power consumption change caused by the configuration change of the key peripheral module to determine whether additional power management operations are required. If the key peripheral module performs a power consumption reduction operation, no additional power management operations are required; if the key peripheral module performs a power consumption increase operation (such as increasing the speaker volume), calculate the power consumption increase amount (set as T6) caused by the current configuration change. When T6 < T1, it means that the current remaining power consumption of the external power supply can meet the power consumption requirements of the key peripheral module configuration change, and no power management is required; when T6 > T1, it means that the current remaining power consumption of the external power supply cannot meet the power consumption requirements of the key peripheral module configuration change. At this time, other key peripheral modules need to be adjusted (such as turning off AI intelligent analysis) to reduce the output power consumption of the external power supply, thereby increasing the current remaining power consumption of the external power supply. If T6 < T1 still cannot be achieved, the configuration modification of increasing the power consumption of the key peripheral module is not executed.

[0094] The above power consumption reduction operations include, for example, reducing the speaker volume, reducing the pan-tilt rotation speed, increasing the inspection interval of the monitoring device, turning off the AI image analysis function, reducing the brightness of the fill light, etc.; the power consumption increase operations include, for example, increasing the speaker volume, accelerating the pan-tilt rotation speed, shortening the inspection interval of the monitoring device, turning on AI intelligent analysis, increasing the brightness of the fill light, etc.

[0095] In summary, referring to Figure 4 , a power consumption control method for a communication device provided by an embodiment of the present application includes:

[0096] Step S101: When starting the communication device, suspend starting the cellular module in the communication device and count the power consumption of other modules in the communication device except the cellular module;

[0097] Among them, the communication device, such as a monitoring device, can also be any user terminal; the cellular module includes, for example, a 4G module and / or a 5G module;

[0098] Step S102: When other modules in the communication device start up, determine the current remaining power that the external power supply in the communication device can provide according to the power consumption of the other modules, and determine the start mode of the cellular module and the power supply mode for the cellular module according to the current remaining power that the external power supply can provide and the power consumption parameters of the cellular module;

[0099] Among them, the power consumption parameters of the cellular module, such as the above-mentioned T2 and T3; the startup mode of the cellular module, such as the combination of the cellular module and the SIM card, determine the combination mode of the 4G module, 5G module and SIM1, SIM2. It is possible to start only one cellular module (such as 4G-SIM1), or to start two cellular modules (such as 4G-SIM1, 5G-SIM2).

[0100] By step S102, the startup mode of the cellular module and the power supply mode for the cellular module are determined, so as to realize stable and reliable transmission of the video stream, thereby avoiding serious problems such as insufficient power supply of the external power supply due to excessive power consumption of the cellular module.

[0101] In order to determine the startup mode of the cellular module and the power supply method for the cellular module according to the current remaining power consumption of the external power supply, in some embodiments, the cellular module includes a first cellular module (such as a 5G module) and a second cellular module (such as a 4G module); among them, the preset maximum power consumption of the second cellular module (such as T2) is less than the preset maximum power consumption of the first cellular module (such as T3).

[0102] According to the remaining power consumption (such as T1) that the external power supply can currently provide, and the power consumption parameters of the cellular module, determine the startup mode of the cellular module and the power supply mode for the cellular module, including:

[0103] When the remaining power consumption that the external power supply can currently provide is greater than or equal to the preset maximum power consumption of the second cellular module (that is, the cellular module with lower power consumption is selected), allocate the second SIM card (such as 4G-SIM2) to the second cellular module, allocate the first SIM card (such as 5G-SIM1) to the first cellular module, and supply power to the second cellular module through the external power supply (that is, provide external power supply for the cellular module with lower power consumption), and supply power to the first cellular module through the internal battery in the communication device (that is, provide internal battery power supply for the cellular module with higher power consumption).

[0104] In order to realize reliable, stable and smooth transmission of the code stream within the maximum power supply range of the external power supply for the cellular module, in some embodiments, the method further includes:

[0105] Determine the power consumption and the smoothness of data stream transmission during the operation of the first cellular module, and determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module.

[0106] Allocate a first SIM card to the second cellular module, allocate a second SIM card to the first cellular module, and re-determine the power consumption and the smoothness of data stream (such as the above-mentioned video stream) transmission during the operation of the first cellular module, and re-determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0107] Select the combination of the cellular module and the SIM card with the best smoothness of data stream transmission and the lowest power consumption, and only activate the cellular module in this combination mode, where the cellular module in this combination mode is powered by the external power supply.

[0108] In some embodiments, while the cellular module in this combination mode is powered by the external power supply, the method further includes:

[0109] Charge the internal battery in the communication device through the external power supply.

[0110] To implement determining the startup mode of the cellular module and the power supply method for the cellular module according to the current remaining power consumption of the external power supply, and providing external power supply for the cellular module. In some embodiments, the cellular module includes a first cellular module and a second cellular module; wherein, the preset maximum power consumption of the second cellular module is less than the preset maximum power consumption of the first cellular module;

[0111] Determine the startup mode of the cellular module and the power supply mode for the cellular module according to the current remaining power consumption that the external power supply can provide and the power consumption parameters of the cellular module, including:

[0112] When the current remaining power consumption that the external power supply can provide is less than the preset maximum power consumption of the second cellular module (i.e., select the cellular module with lower power consumption), allocate a second SIM card to the second cellular module, and power the second cellular module through the internal battery in the communication device (i.e., power the cellular module with lower power consumption through the internal battery).

[0113] To implement determining whether to switch the SIM card according to the power consumption and the smoothness of data transmission of the second cellular module. In some embodiments, the method further includes:

[0114] Determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0115] If the smoothness meets the preset condition (not stuck) and the power consumption is less than the current remaining power consumption that the external power supply can provide, then power the second cellular module through the external power supply (i.e., switch to power the second cellular module through the external power supply).

[0116] If the fluency does not meet the preset condition, allocate the first SIM card to the second cellular module (i.e., switch the SIM card for the second cellular module).

[0117] To implement determining whether to allocate a SIM card to the first cellular module according to the power consumption of the second cellular module and the fluency of data stream transmission, in some embodiments, the method further includes:

[0118] Redetermine the power consumption of the second cellular module during operation and the fluency of data stream transmission;

[0119] If the fluency of the second cellular module during operation determined again does not meet the preset condition, allocate the first SIM card or the second SIM card to the first cellular module, and supply power to the first cellular module through the internal battery in the communication device;

[0120] That is to say, when the power consumption of the second cellular is large and the fluency of data stream transmission is poor, switch to the first cellular module, and test the power consumption and the fluency of data stream transmission under the two combinations of the first cellular module and SIM1 and SIM2, so as to select the SIM card with the best fluency and lower power consumption.

[0121] To implement determining the power supply mode of the cellular module according to the power consumption of the first cellular module and the fluency of data stream transmission and determining whether to adjust the peripheral module to increase the remaining power consumption of the external power supply, in some embodiments, the method further includes:

[0122] Determine the power consumption of the first cellular module during operation and the fluency of data stream transmission;

[0123] If the fluency of the first cellular module during operation meets the preset condition (not stuck), and the power consumption of the first cellular module during operation (the above-mentioned T4) is less than the remaining power consumption that the external power supply can currently provide (i.e., T4 < T1), then supply power to the first cellular module through the external power supply (i.e., provide external power supply for the first cellular module);

[0124] When the power consumption of the first cellular module during operation is greater than the remaining power consumption that the external power supply can currently provide, by adjusting the peripheral module in the communication device (such as adjusting the brightness of the fill light, the rotation speed of the pan-tilt head, the codec performance, etc., to reduce the output power consumption of the external power supply and increase the remaining power consumption of the external power supply), make the remaining power consumption that the external power supply can provide greater than the power consumption of the first cellular module during operation, and supply power to the first cellular module through the external power supply.

[0125] To estimate the power consumption impact caused by changes in the configuration of peripheral modules and comprehensively adjust the parameters of the peripheral module combination in light of the current power supply capacity of the external power supply, thereby achieving the goal of stable overall operation of the device, in some embodiments, the method further includes:

[0126] Monitor the configuration of the peripheral modules in the communication device;

[0127] When the configuration of the peripheral modules in the communication device changes, resulting in increased power consumption, and the increased power consumption amount (the above T6) is greater than the remaining power that the external power supply can currently provide, adjust the configuration of the peripheral modules.

[0128] The following introduces the device or apparatus provided in the embodiments of the present application. For the explanations or examples of the same or corresponding technical features as those in the above method, they will not be repeated hereinafter.

[0129] See Figure 5 , a power consumption control device for a communication device provided in the embodiments of the present application, such as the above DSP module, includes:

[0130] A processor 600, configured to read a program in a memory 620 and execute the following processes:

[0131] When starting the communication device, pause starting the cellular module in the communication device and count the power consumption of other modules in the communication device except the cellular module;

[0132] When other modules in the communication device are started up, determine the remaining power that the external power supply in the communication device can currently provide according to the power consumption of the other modules, and determine the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module.

[0133] In some embodiments, the cellular module includes a first cellular module and a second cellular module; wherein, the preset maximum power consumption of the second cellular module is less than the preset maximum power consumption of the first cellular module;

[0134] Determining the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module includes:

[0135] When the remaining power that the external power supply can currently provide is greater than or equal to the preset maximum power consumption of the second cellular module, allocate a second SIM card to the second cellular module, allocate a first SIM card to the first cellular module, and power the second cellular module through the external power supply, and power the first cellular module through the internal battery in the communication device.

[0136] In some embodiments, the processor 600 is further configured to read the program in the memory 620 and execute:

[0137] Determine the power consumption and the smoothness of data stream transmission during the operation of the first cellular module, and determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0138] Allocate a first SIM card to the second cellular module, allocate a second SIM card to the first cellular module, and re-determine the power consumption and the smoothness of data stream transmission during the operation of the first cellular module, and re-determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module;

[0139] Select the combination of the cellular module and the SIM card with the best smoothness of data stream transmission and the lowest power consumption, and only start the cellular module in this combination mode, and use the external power supply to power the cellular module in this combination mode.

[0140] In some embodiments, while powering the cellular module in this combination mode with the external power supply, the method further includes:

[0141] Charge the internal battery in the communication device through the external power supply.

[0142] In some embodiments, the cellular module includes a first cellular module and a second cellular module; wherein, the preset maximum power consumption of the second cellular module is less than the preset maximum power consumption of the first cellular module;

[0143] Determine the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module, including:

[0144] When the remaining power that the external power supply can currently provide is less than the preset maximum power consumption of the second cellular module, allocate a second SIM card to the second cellular module, and power the second cellular module through the internal battery in the communication device.

[0145] In some embodiments, the processor 600 is further configured to read the program in the memory 620 and execute:

[0146] Determine the power consumption and the smoothness of data stream transmission of the second cellular module during operation;

[0147] If the smoothness meets the preset conditions and the power consumption is less than the remaining power that the external power supply can currently provide, power the second cellular module through the external power supply;

[0148] If the smoothness does not meet the preset conditions, allocate a first SIM card to the second cellular module.

[0149] In some embodiments, the processor 600 is further configured to read the program in the memory 620 and execute:

[0150] Redetermine the power consumption and the smoothness of data stream transmission of the second cellular module during operation;

[0151] If the smoothness of the second cellular module redetermined during operation does not meet the preset conditions, allocate a first SIM card or a second SIM card to the first cellular module and power the first cellular module through the internal battery in the communication device.

[0152] In some embodiments, the processor 600 is further configured to read the program in the memory 620 and execute:

[0153] Determine the power consumption and the smoothness of data stream transmission of the first cellular module during operation;

[0154] If the smoothness of the first cellular module during operation meets the preset conditions and the power consumption of the first cellular module during operation is less than the remaining power that the external power supply can currently provide, power the first cellular module through the external power supply;

[0155] When the power consumption of the first cellular module during operation is greater than the remaining power that the external power supply can currently provide, adjust the peripheral modules in the communication device so that the remaining power that the external power supply can provide is greater than the power consumption of the first cellular module during operation, and power the first cellular module through the external power supply.

[0156] In some embodiments, the processor 600 is further configured to read the program in the memory 620 and execute:

[0157] Monitor the configuration of the peripheral modules in the communication device;

[0158] When the configuration of the peripheral modules in the communication device changes, resulting in an increase in power consumption, and the increased power consumption is greater than the remaining power that the external power supply can currently provide, adjust the configuration of the peripheral modules.

[0159] In some embodiments, the power consumption control device of the communication device provided by the embodiments of the present application further includes a transceiver 610, configured to receive and send data under the control of the processor 600.

[0160] Among them, in Figure 5 , the bus architecture may include any number of interconnected buses and bridges, specifically various circuits of one or more processors represented by the processor 600 and the memory represented by the memory 620 are linked together. The bus architecture can also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be further described herein. The bus interface provides an interface. The transceiver 610 may be multiple components, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on the transmission medium.

[0161] In some embodiments, the power consumption control device of the communication device provided by the embodiments of the present application further includes a user interface 630, and the user interface 630 may be an interface capable of externally connecting or internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.

[0162] The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 when performing operations.

[0163] In some embodiments, the processor 600 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).

[0164] The embodiments of the present application provide a communication device, which, for example, includes the cellular module, DSP module, peripheral module, power management module, external power supply, internal battery provided by the embodiments of the present application, and may further include a bitstream transmission module.

[0165] Embodiments of the present application provide a computing device, which may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a personal digital assistant (PDA), etc. The computing device may include a central processing unit (CPU), a memory, input / output devices, etc. The input devices may include a keyboard, a mouse, a touch screen, etc., and the output devices may include display devices such as a liquid crystal display (LCD), a cathode ray tube (CRT), etc.

[0166] The memory may include a read-only memory (ROM) and a random access memory (RAM), and provide program instructions and data stored in the memory to the processor. In the embodiments of the present application, the memory may be used to store the program of any of the methods provided by the embodiments of the present application.

[0167] By invoking the program instructions stored in the memory, the processor is configured to execute any of the methods provided by the embodiments of the present application according to the obtained program instructions.

[0168] Embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the methods in the above embodiments. The program product may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0169] Embodiments of the present application provide a computer-readable storage medium for storing computer program instructions used for the device provided by the embodiments of the present application, which includes a program for executing any of the methods provided by the embodiments of the present application. The computer-readable storage medium may be a non-transitory computer-readable medium.

[0170] The computer-readable storage medium can be any available medium or data storage device accessible by a computer, including but not limited to magnetic memories (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical memories (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memories (such as ROM, EPROM, EEPROM, non-volatile memories (NANDFLASH), solid-state drives (SSD)), etc.

[0171] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.

[0172] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the specified functions in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0173] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the specified functions in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0174] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the specified functions in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0175] Obviously, those skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims

1. A power consumption control method for a communication device, characterized in that The method includes: When starting the communication device, suspend starting the cellular module in the communication device, and count the power consumption of other modules in the communication device except the cellular module. When other modules in the communication device are started successfully, determine the remaining power that the external power supply in the communication device can currently provide according to the power consumption of other modules, and determine the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module.

2. The method according to claim 1, wherein The cellular module includes a first cellular module and a second cellular module; wherein, the preset maximum power consumption of the second cellular module is less than that of the first cellular module. Determining the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module includes: When the remaining power that the external power supply can currently provide is greater than or equal to the preset maximum power consumption of the second cellular module, allocate a second SIM card to the second cellular module, allocate a first SIM card to the first cellular module, and supply power to the second cellular module through the external power supply and supply power to the first cellular module through the internal battery in the communication device.

3. The method according to claim 2, characterized in that, The method further includes: Determine the power consumption and the smoothness of data stream transmission during the operation of the first cellular module, and determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module. Allocate a first SIM card to the second cellular module, allocate a second SIM card to the first cellular module, and re-determine the power consumption and the smoothness of data stream transmission during the operation of the first cellular module, and re-determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module. Select the combination of the cellular module and the SIM card with the best smoothness of data stream transmission and the lowest power consumption, and only start the cellular module in this combination mode, and supply power to the cellular module in this combination mode through the external power supply.

4. The method according to claim 3, characterized in that, While supplying power to the cellular module in this combination mode through the external power supply, the method further includes: Charge the internal battery in the communication device through the external power supply.

5. The method according to claim 1, wherein The cellular module includes a first cellular module and a second cellular module; wherein, the preset maximum power consumption of the second cellular module is less than that of the first cellular module. Determining the startup mode of the cellular module and the power supply mode for the cellular module according to the remaining power that the external power supply can currently provide and the power consumption parameters of the cellular module includes: When the remaining power that the external power supply can currently provide is less than the preset maximum power consumption of the second cellular module, allocate a second SIM card to the second cellular module, and supply power to the second cellular module through the internal battery in the communication device.

6. The method according to claim 5, characterized in that, The method further includes: Determine the power consumption and the smoothness of data stream transmission during the operation of the second cellular module. If the fluency meets the preset conditions and the power consumption is less than the remaining power that the external power supply can currently provide, the external power supply is used to power the second cellular module; If the fluency does not meet the preset conditions, a first SIM card is allocated to the second cellular module.

7. The method according to claim 6, wherein The method further includes: Re-determine the power consumption and data stream transmission fluency of the second cellular module during operation; If the re-determined fluency of the second cellular module during operation does not meet the preset conditions, a first SIM card or a second SIM card is allocated to the first cellular module, and the first cellular module is powered by the internal battery in the communication device.

8. The method according to claim 7, characterized in that, The method further includes: Determine the power consumption and data stream transmission fluency of the first cellular module during operation; If the fluency of the first cellular module during operation meets the preset conditions and the power consumption of the first cellular module during operation is less than the remaining power that the external power supply can currently provide, the external power supply is used to power the first cellular module; When the power consumption of the first cellular module during operation is greater than the remaining power that the external power supply can currently provide, by adjusting the peripheral modules in the communication device, the remaining power that the external power supply can provide is made greater than the power consumption of the first cellular module during operation, and the external power supply is used to power the first cellular module.

9. The method according to claim 1, characterized in that, The method further includes: Monitor the configuration of the peripheral modules in the communication device; When the configuration of the peripheral modules in the communication device changes, resulting in an increase in power consumption, and the increased power consumption amount is greater than the remaining power that the external power supply can currently provide, adjust the configuration of the peripheral modules.

10. A power consumption control device for a communication device, characterized in that, Includes: A memory for storing program instructions; A processor for calling the program instructions stored in the memory and executing the method according to any one of claims 1 to 9 according to the obtained program.

11. A communication device, characterized in that, Includes the device according to claim 10.

12. A computer program product for a computer, characterized in that, Includes a software code portion that, when the product is running on the computer, is used to execute the method according to any one of claims 1 to 9.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing the computer to execute the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method and device for realizing wireless base station power supply management and control

    CN102316558A

  • Power consumption control method and device, storage medium and electronic equipment

    CN111818625A