Control method and device, electronic device and storage medium
In the antenna transmission power control, only when the transmission power exceeds the threshold, the statistical period is entered for power control, which solves the problems of high power consumption and difficult to control the specific absorption rate in the existing technology, and achieves more efficient power management and safety assurance. .
Patent Information
- Application Number
- CN202210431830.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-04-22
AI Technical Summary
When the antenna transmit power is limited, the existing technology requires real-time calculation and continuous control of the transmit power, resulting in high power consumption, and it is difficult to effectively reduce the efficiency of power control when the specific absorption rate exceeds the safety threshold.
By judging whether the current transmit power is greater than the preset threshold, if it is greater, it enters the statistical period, and controls the transmit power of the antenna according to the transmit power collected during the statistical period, so that the average value within the period is less than the preset threshold, only when necessary Turn on average transmit power calculation to reduce power consumption.
It effectively reduces power consumption, reduces unnecessary power control, and improves the safety and efficiency of the device while ensuring the safety threshold of the specific absorption rate.
Smart Images

Figure CN114828188B
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to a control method, a control device, an electronic device and a non-volatile computer-readable storage medium. Background Art
[0002] At present, when limiting the antenna transmission power, it is usually necessary to calculate the average value of the transmission power within a certain period of time in real time, and control the transmission power so that the average value is always less than the preset threshold, so as to ensure that the specific absorption rate is always kept below the safety threshold and ensure safety in use. However, continuous calculation and power control result in high power consumption. Summary of the invention
[0003] Embodiments of the present application provide a control method, a control device, an electronic device, and a non-volatile computer-readable storage medium.
[0004] The embodiment of the present application provides a control method. The control method includes: determining whether the current transmission power is greater than a preset threshold; if so, determining to enter a statistical period, and controlling the transmission power of the antenna according to the transmission power collected in the statistical period, so that the average transmission power in the statistical period is less than the preset threshold.
[0005] The embodiment of the present application provides a control device. The control device includes a judgment module and a control module. The judgment module is used to judge whether the current transmission power is greater than a preset threshold; the control module is used to determine to enter a statistical cycle when the current transmission power is greater than the preset threshold, and control the transmission power of the antenna according to the transmission power collected in the statistical cycle, so that the average transmission power in the statistical cycle is less than the preset threshold.
[0006] An embodiment of the present application provides an electronic device. The electronic device includes a processor, and the processor is used to execute a control method. The control method includes: determining whether the current transmission power is greater than a preset threshold; if so, determining to enter a statistical period, and controlling the transmission power of the antenna according to the transmission power collected in the statistical period, so that the average transmission power in the statistical period is less than the preset threshold.
[0007] The embodiment of the present application provides a non-volatile computer-readable storage medium on which a computer program is stored. The computer program implements a control method when executed by a processor. The control method includes: determining whether the current transmit power is greater than a preset threshold; if so, determining to enter a statistical period, and controlling the transmit power of the antenna according to the transmit power collected in the statistical period, so that the average transmit power in the statistical period is less than the preset threshold.
[0008] In the control method, control device, electronic device and non-volatile computer-readable storage medium of the present application, it is determined whether the current transmission power is greater than a preset threshold value to determine whether the specific absorption rate corresponding to the current transmission power is greater than a safety threshold value. Only when the current transmission power is greater than the preset threshold value is it determined that power control is required. At this time, it is determined to enter a statistical period to calculate the transmission power, and power control is implemented according to the transmission power collected during the statistical period, such as calculating the average value of the transmission power collected during the statistical period and comparing it with the preset threshold value to ensure that the average transmission power during the statistical period is less than the preset threshold value, thereby ensuring safety in use. In addition, during the use of the electronic device, the proportion of time transmitted at a higher transmission power is relatively small, and the average power calculation function is only enabled when the transmission power is greater than the preset threshold value, which can significantly reduce power consumption.
[0009] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0011] Figure 1 is a flow chart of a control method of certain embodiments of the present application;
[0012] Figure 2 is a schematic plan view of an electronic device according to some embodiments of the present application;
[0013] Figure 3 is a flow chart of a control method of certain embodiments of the present application;
[0014] Figure 4 is a flow chart of a control method of certain embodiments of the present application;
[0015] Figure 5 is a flow chart of a control method of certain embodiments of the present application;
[0016] Figure 6 is a schematic diagram of the structure of an antenna in some embodiments of the present application;
[0017] Figure 7 is a schematic diagram of a module of a control device in certain embodiments of the present application; and
[0018] Figure 8 The diagram is a schematic diagram of the interaction between a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION
[0019] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0020] The following first explains the nouns that appear in this application:
[0021] Specific Absorption Rate (SAR) is an internationally used indicator for evaluating the impact of radio waves on the human body. It is a safety indicator and is strictly regulated by regulatory agencies in countries and regions around the world. Currently, the two mainstream limit standards in the world are 1.6W / Kg and 2.0W / Kg. The SAR value is strongly related to parameters such as RF transmission power, antenna efficiency, and antenna radiation field shape. The higher the transmission power, the higher the SAR value.
[0022] Statistical period: The average SAR value within the statistical period (e.g. 100 seconds) is controlled within the range required by the regulations. The SAR requirements for electromagnetic wave signals of different frequencies are slightly different. For example, for radio frequency signals below 3GHz, the average SAR value within any continuous 100-second period must not exceed the upper limit of 1.6W / Kg, but the real-time SAR value can exceed 1.6W / Kg.
[0023] See also Figure 1 and Figure 2 , the control method of the embodiment of the present application includes:
[0024] Step 011: Determine whether the current transmit power is greater than a preset threshold;
[0025] Specifically, since the transmission power of the antenna 20 of the electronic device 100 is positively correlated with the SAR value, according to the safety threshold corresponding to the SAR value (such as the two limit standards 1.6W / Kg or 2.0W / Kg mentioned above), it can be determined that the SAR value when transmitting at the transmission power is just equal to the preset threshold of the safety threshold. As long as the current transmission power is less than the preset threshold, it means that the currently generated SAR value is less than the safety threshold.
[0026] By judging whether the current transmit power is greater than the preset threshold, it is determined whether power control is required at this time. It can be understood that when the current transmit power is less than or equal to the preset threshold, the SAR value is less than the safety threshold, and there is no need to perform power control at this time, and there is no need to calculate the average transmit power within the statistical period. At this time, the next transmit power can be directly obtained as the current transmit power, and it is judged again whether the current transmit power is greater than the preset threshold until the current transmit power is greater than the preset threshold. In the case where the current transmit power is greater than the preset threshold, if power control is not performed at this time, it may cause the average transmit power at the end of the statistical period to be greater than the preset threshold. Therefore, the subsequent average transmit power calculation and power control can be performed at this time.
[0027] Step 012: When the current transmission power is greater than the preset threshold, it is determined to enter a statistical period, and the transmission power of the antenna 20 is controlled according to the transmission power collected in the statistical period, so that the average transmission power in the statistical period is less than the preset threshold.
[0028] Specifically, when the transmission power does not exceed the preset threshold, since the SAR values are all less than the safety threshold, it can be determined that the average transmission power will be less than the preset threshold, and there is no need to calculate the average transmission power, that is, the average transmission power calculation function is not turned on to save power consumption. When the current transmission power is greater than the preset threshold, it may be that the average transmission power is greater than the preset threshold. At this time, it is determined to enter a statistical cycle and turn on the average transmission power calculation function. The start time of the statistical cycle can be the collection time of the current transmission power, and then power control is performed according to the transmission power collected in the statistical cycle, so that the average transmission power in the statistical cycle is less than the preset threshold.
[0029] For example, if the statistical period is 100 seconds (S), and one transmission power is collected every second, then each time a transmission power is collected, the average transmission power will be calculated based on the sum of all the collected transmission powers in the statistical period and the number of all transmission powers. It can be understood that if the average transmission power is continuously greater than the preset threshold (such as 5 average transmission powers calculated after collecting 5 transmission powers in succession), or when there are only 10S left in the statistical period (that is, 90 transmission powers have been collected in the current statistical period), the average transmission power is still greater than the preset threshold, it means that power control is required, and the transmission power of antenna 20 can be reduced to the preset power, thereby controlling the average transmission power to be reduced to the preset threshold. In this way, while realizing power control by calculating the average transmission power, it is not necessary to calculate the average transmission power all the time, thereby reducing power consumption.
[0030] See also Figure 2 and Figure 3In order to reduce the working time of the average transmit power calculation function and further reduce power consumption, step 012 specifically includes:
[0031] Step 0121: storing the difference between each transmit power collected during the statistical period and a preset threshold;
[0032] Specifically, after entering the statistical period and turning on the average transmit power calculation function, after collecting each transmit power, the difference between the transmit power and the preset threshold can be calculated first. The difference can be positive, negative or 0. If the difference is positive, it means that the transmit power is greater than the preset threshold. If the difference is negative, it means that the transmit power is less than the preset threshold. If the difference is 0, it means that the transmit power is equal to the preset threshold. If the transmit power is 1dB greater than the preset threshold, it is recorded as +1. If the transmit power is 1dB less than the preset threshold, it is recorded as -1.
[0033] The memory 30 of the electronic device 100 can be used to store the difference corresponding to the transmit power. It can be understood that the value storing each transmit power is modified to store the difference between the transmit power and the preset threshold. Since the difference is smaller than the value of the transmit power, the storage space occupied by the memory 30 can be reduced. And by comparing the sum of the difference values with 0, the effect of comparing the size of the average transmit power and the preset threshold can also be achieved. That is to say, it is only necessary to ensure that the sum of all the differences in the statistical period is less than 0 to ensure that the average transmit power in the statistical period is less than the preset threshold.
[0034] Step 0122: When the sum of all stored differences is less than or equal to 0, the statistical cycle is ended and all stored differences are deleted.
[0035] After entering the statistical cycle, if the sum of all stored differences is less than or equal to 0, it means that the previously collected transmit power will not cause the average transmit power to be greater than the preset threshold value. Therefore, the statistical cycle can be directly ended and the average transmit power calculation function can be stopped (in this embodiment, the average transmit power calculation function is to calculate the sum of all stored differences, and the calculation amount of the function is smaller), thereby reducing the time for the average transmit power calculation function to be turned on and reducing power consumption. At the same time, all differences stored in the memory 30 are deleted to free up storage space for the storage of differences in the next statistical cycle.
[0036] Optionally, since all differences stored in the statistical period are deleted when the statistical period ends, the storage space of the memory 30 can be determined according to the statistical period and the sampling duration of each transmit power. The sampling duration of the transmit power refers to the sampling duration during which a transmit power can be collected.
[0037] For example, according to the statistical period (such as 100S) and the sampling time (such as 1S), it can be determined that the maximum number of transmission powers collected in the statistical period is 100, and the storage space of the memory 30 is determined according to the storage space required to store 100 transmission powers. If the memory 30 includes a plurality of 100 storage units, each storage unit stores 1 difference, so 100 storage units are required to store all the differences in the statistical period, and the size of each storage unit is 1KB (i.e., 1024 bytes), then the size of the storage space is 100KB. Thus, under the premise of ensuring that the average transmission power calculation function is not affected, the storage space size of the memory 30 is reduced to the maximum extent to reduce costs.
[0038] See also Figure 2 and Figure 4 When the sum of all stored differences is greater than 0, power control may be required, and step 012 further includes:
[0039] Step 0123: When the number of remaining sampling durations in the statistical period is less than the first preset number and the sum of all stored differences is greater than 0, the transmission power of antenna 20 is reduced to the preset power.
[0040] Specifically, if within the statistical period, the sum of all stored differences is always greater than 0, and the number of remaining sampling time periods in the statistical period is also small (that is, less than or equal to the first preset number, such as the statistical period is 100S, the first preset number can be 10), that is to say, if power control is not performed at this time, it may cause the sum of all stored differences to still be greater than 0 at the end of the statistical period, thereby causing harm to the human body.
[0041] Therefore, when the number of sampling durations remaining in the statistical period is less than the first preset number and the sum of all stored differences is greater than 0, the transmission power of antenna 20 is reduced to the preset power, so that at the end of the statistical period, the sum of all stored differences is always less than or equal to 0.
[0042] Among them, the preset power is a transmission power greater than 0, and the preset power can be determined according to the sum of all stored differences. The larger the sum of all stored differences is, the smaller the preset power needs to be set. For example, when the transmission power of the remaining sampling time of the statistical period is the preset power, at the end of the statistical period, the sum of all stored differences is always exactly equal to 0, so as to maximize the transmission power of the antenna 20 while ensuring that the SAR value within the statistical period is always less than or equal to the safety threshold, thereby ensuring the user's network speed.
[0043] See also Figure 2 and Figure 5 In addition, in order to ensure the effectiveness of power control, step 012 may also include:
[0044] Step 0124: When the sum of all stored differences is greater than a preset difference, the transmission power of antenna 20 is reduced to a preset power. The preset difference is determined based on the number of remaining sampling durations in the statistical period and the preset power.
[0045] Specifically, when the sum of all stored differences is too large (such as greater than a preset difference) and the number of sampling time periods remaining in the statistical period is small, even if the antenna 20 operates at the lowest transmission power that can normally operate or even stops working, the sum of all stored differences will still be greater than 0 at the end of the statistical period, thereby causing harm to the human body.
[0046] The number of remaining sampling durations in the statistical cycle is different, and the corresponding preset difference values are all different. The more the number of remaining sampling durations in the statistical cycle is, the larger the preset difference value is. Therefore, with the preset power being 0 or the lowest transmission power at which the antenna 20 can work normally, the preset difference values corresponding to the number of remaining sampling durations in different statistical cycles can be calculated in advance. For example, if the number of remaining sampling durations in the statistical cycle is 10, the preset difference value is equal to 10*(preset threshold-preset power).
[0047] When determining the number of sampling durations remaining in the statistical period, determine whether the sum of all stored differences is greater than the preset difference. If the sum of all stored differences is greater than the preset difference, reduce the transmission power of antenna 20 to the preset power, thereby ensuring that the sum of all stored differences is less than or equal to 0 at the end of the statistical period.
[0048] After lowering the antenna transmit power, you can continue to collect the next transmit power, which is generally the preset power. However, due to the influence of actual hardware, the actual transmit power collected may be too large or too small. Therefore, after storing the difference between the actual collected transmit power and the preset threshold, you can calculate again whether the sum of the stored differences within the statistical period is greater than 0, so as to improve the accuracy of power control.
[0049] See also Figure 6 Optionally, the antenna 20 may include a transceiver 21, a power amplifier 22 (Power Amplifier, PA) of a transmission link, a low noise amplifier 23 (Low Noise Amplifier, LNA) of a feedback loop, and a coupler 24.
[0050] Specifically, different transmission powers use different power supply voltages, that is, the power supply voltage and the transmission power are in a one-to-one correspondence, and the transceiver 21 can determine the transmission power according to the power supply voltage of the PA. Alternatively, the coupler 24 will send a preset proportion of the transmission power generated by the PA to the LNA, and the transceiver 21 can accurately calculate the final transmission power used for antenna transmission according to the power value in the LNA and the preset proportion, and the accuracy of the transmission power is high.
[0051] Optionally, the relationship between the transmission power and the SAR value may not be a logarithmic relationship, therefore, the transmission power may be first converted into watts (W) to determine the preset threshold corresponding to the safety threshold of the SAR value, such as if the transmission power is 30 decibels relative to one milliwatt (dBm), then the conversion to watts is 1 W. In this way, the preset threshold can be determined more accurately.
[0052] All of the above technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0053] The control method of the embodiment of the present application determines the type of the target scene by shooting the distribution law of the confidence value of the depth image obtained by the target scene, such as whether the target scene is a large object type, a large object and a large background type, a general type, etc., so as to accurately determine the confidence threshold adapted to the current type according to the type of the target scene, and accurately judge whether the depth pixel is valid according to the relatively accurate confidence threshold, thereby reducing or even eliminating the pixel flickering phenomenon. In addition, the present application combines spatial filtering and temporal filtering, which not only further improves the accuracy of judging the validity of the depth pixel, but also improves the accuracy of the depth value through filtering.
[0054] See also Figure 7 In order to better implement the control method of the embodiment of the present application, the embodiment of the present application also provides a control device 10. Figure 7 This is a schematic diagram of the structure of a control device 10 provided in an embodiment of the present application. The control device 10 may include:
[0055] The judging module 11 is used to judge whether the current transmission power is greater than a preset threshold;
[0056] The control module 12 is used to determine that a statistical period has begun when the current transmission power is greater than a preset threshold, and control the transmission power of the antenna 20 according to the transmission power collected during the statistical period so that the average transmission power during the statistical period is less than the preset threshold.
[0057] The control module 12 is specifically used for:
[0058] storing the difference between each transmit power collected during the statistical period and a preset threshold; and
[0059] When the sum of all stored difference values is less than or equal to 0, the statistical cycle ends and all stored difference values are deleted.
[0060] The control module 12 is also specifically used for:
[0061] When the number of remaining sampling durations in the statistical period is less than the first preset number and the sum of all difference values stored in the memory 30 is greater than 0, the transmission power of the antenna 20 is reduced to the preset power.
[0062] The control module 12 is also specifically used for:
[0063] When the sum of all stored differences is greater than a preset difference, the transmission power of the antenna 20 is reduced to a preset power. The preset difference is determined according to the number of remaining sampling durations in the statistical cycle and the preset power.
[0064] Each module in the above control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory 30 in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0065] The control device 10 may further include an acquisition module 13. The acquisition module 13 is configured to acquire a next transmission power as the current transmission power when the current transmission power is less than the preset threshold.
[0066] Please refer again Figure 2 The electronic device 100 of the embodiment of the present application includes a processor 40. The processor 40 is used to execute the control method of any of the above embodiments, which will not be described in detail for the sake of brevity.
[0067] The electronic device 100 may be a mobile phone, a smart phone, a personal digital assistant (PDA), a tablet computer and a video game device, a portable terminal (such as a laptop), or a larger device (such as a desktop computer and a television), or any other type of device having a radio frequency transmission function including an antenna 20.
[0068] See also Figure 8 The embodiment of the present application also provides a computer-readable storage medium 300 on which a computer program 310 is stored. When the computer program 310 is executed by the processor 40, the steps of the control method of any of the above-mentioned embodiments are implemented. For the sake of brevity, they are not repeated here.
[0069] It can be understood that the computer program 310 includes computer program code. The computer program code can be in source code form, object code form, executable file or some intermediate form. The computer readable storage medium can include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory 30, read-only memory 30 (ROM, Read-Only Memory), random access memory 30 (RAM, Random Access Memory), and software distribution medium, etc.
[0070] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0071] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0072] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A control method, characterized in that: include: Determine whether the current transmit power is greater than a preset threshold; If yes, it is determined that a statistical period has been entered, and the transmit power of the antenna is controlled according to the transmit power collected in the statistical period, so that the average transmit power in the statistical period is less than the preset threshold; When the current transmit power is less than the preset threshold, a next transmit power is acquired as the current transmit power.
2. The control method according to claim 1, characterized in that: The controlling the transmit power of the antenna according to the transmit power collected during the statistical period includes: storing the difference between each transmit power collected during the statistical period and the preset threshold; and When the sum of all the stored difference values is less than or equal to 0, the statistical cycle is ended and all the stored difference values are deleted.
3. The control method according to claim 2, characterized in that: The statistical period includes a plurality of sampling durations, each transmit power is collected within one of the sampling durations, and the control of the transmit power of the antenna according to the transmit power collected within the statistical period includes: When the number of remaining sampling durations in the statistical period is less than a first preset number and the sum of all the stored differences is greater than 0, the transmit power of the antenna is reduced to a preset power.
4. The control method according to claim 2, characterized in that: The statistical period includes a plurality of sampling durations, each transmit power is collected within one of the sampling durations, and the control of the transmit power of the antenna according to the transmit power collected within the statistical period includes: When the sum of all the stored differences is greater than a preset difference, the transmit power of the antenna is reduced to a preset power, and the preset difference is determined according to the number of remaining sampling durations in the statistical period and the preset power.
5. A control device, characterized in that: The device comprises: A judging module, used to judge whether the current transmit power is greater than a preset threshold; A control module, configured to determine, when the current transmit power is greater than the preset threshold, to enter a statistical period, and control the transmit power of the antenna according to the transmit power collected during the statistical period, so that the average transmit power during the statistical period is less than the preset threshold; The acquisition module is used to acquire the next transmission power as the current transmission power when the current transmission power is less than the preset threshold.
6. An electronic device, characterized in that: It includes a processor and an antenna, the processor is used to determine whether the current transmission power of the antenna is greater than a preset threshold, and when the current transmission power is greater than the preset threshold, determine to enter a statistical period, and control the transmission power of the antenna according to the transmission power collected during the statistical period, so that the average transmission power during the statistical period is less than the preset threshold, and when the current transmission power is less than the preset threshold, obtain the next transmission power as the current transmission power.
7. The electronic device according to claim 6, characterized in that: The electronic device also includes a memory, and the processor is also used to store the difference between each transmission power collected during the statistical period and the preset threshold in the memory; and when the sum of all the differences stored in the memory is less than or equal to 0, end the statistical period and delete all the stored differences.
8. The electronic device according to claim 7, characterized in that: The statistical period includes multiple sampling durations, and each transmission power is collected within one of the sampling durations. The processor is also used to reduce the transmission power of the antenna to a preset power when the number of sampling durations remaining in the statistical period is less than a first preset number and the sum of all the differences stored in the memory is greater than 0.
9. The electronic device according to claim 7, characterized in that: The statistical period includes multiple sampling durations, and each transmission power is collected within one of the sampling durations. The processor is also used to reduce the transmission power of the antenna to a preset power when the sum of all the stored differences is greater than a preset difference. The preset difference is determined based on the number of sampling durations remaining in the statistical period and the preset power.
10. The electronic device according to claim 7, characterized in that: The statistical cycle includes multiple sampling durations, and the storage space size of the memory is determined according to the statistical cycle and the sampling durations.
11. A non-volatile computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by one or more processors, the control method according to any one of claims 1 to 4 is implemented.
