Power setting method and electronic device
Patent Information
- Application Number
- CN202210709766.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-06-06
- Filing Date
- 2022-06-22
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2042-06-22
AI Technical Summary
有些则因无法辨识出使用场景,只能选择最安全的输出功率设定(最低输出功率)
[0007]本发明一些实施例提供一种功率设定方法,由一处理器执行。功率设定方法包含:在电子装置启动后,判断电子装置是否处于移动无线基地台与网络共享功能模式;以及响应于电子装置处于移动无线基地台与网络共享功能模式,依据第一设定模式设定电子装置的射频模组以设定电子装置的输出功率。以动态调整通讯产品输出功率,能在不增加更多的传感器的情况下使电子装置输出适当功率。
Smart Images

Figure CN117241360B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to power setting technology for electronic devices, and more particularly to power setting technology for handheld communication products. Background Technology
[0002] Fifth-generation mobile communication (5G) is divided into sub-6G and mm-Wave systems operating at different frequencies. The current system architecture is Non-Standalone (NSA). In NSA architecture, 4G LTE is used to communicate with base stations, while the 5G network handles the actual data transmission. Related communication products, under certain regulations, must meet different test conditions regarding the total output power absorbed by the human body: less than 1.6 W / kg and 4 W / kg, respectively. In NSA architecture, communication products need to output 4G and 5G power simultaneously, while also considering the output power of Wi-Fi. To meet regulatory requirements, the output power of 4G and 5G communication products must be significantly reduced. Therefore, identifying the usage scenario of a communication product and adjusting its output power accordingly is crucial. This ensures that the appropriate power is output in various situations while meeting regulatory requirements and performance needs. Current methods include incorporating grip sensors or P-sensors into the hardware design. Some systems, unable to identify the intended use case, can only choose the safest output power setting (lowest output power). Generally, more sensors are needed to enable communication products to make judgments, which increases design complexity and cost. Summary of the Invention
[0003] In view of this, some embodiments of the present invention provide a power setting method and electronic device to improve the problems of the prior art.
[0004] Some embodiments of the present invention provide an electronic device. The electronic device includes a processor and a radio frequency (RF) module. The processor is configured to perform: after the electronic device is powered on, determining whether the electronic device is in a mobile wireless base station and network sharing function mode; and in response to the electronic device being in a mobile wireless base station and network sharing function mode, configuring the RF module of the electronic device according to a first setting mode to set the output power of the electronic device.
[0005] Some embodiments of the present invention provide a power setting method executed by a processor. The power setting method includes: after an electronic device is started, determining whether the network sharing function is enabled based on an enable signal of the network sharing function of the corresponding electronic device; and in response to the network sharing function being enabled, setting the output power of the electronic device according to a first setting mode.
[0006] Some embodiments of the present invention provide a power setting method executed by a processor. The power setting method includes: after an electronic device is powered on, determining whether the network sharing function is enabled based on an enable signal of the network sharing function of the corresponding electronic device; in response to the network sharing function being enabled, setting the output power of the electronic device according to a first setting mode; in response to the network sharing function being disabled, determining whether the distance between the electronic device and an object detected by the distance sensing module of the electronic device is less than a preset distance; and in response to the distance being less than the preset distance, setting the output power of the electronic device according to a third setting mode.
[0007] Some embodiments of the present invention provide a power setting method executed by a processor. The power setting method includes: after an electronic device is powered on, determining whether the electronic device is in a mobile wireless base station and network sharing function mode; and in response to the electronic device being in a mobile wireless base station and network sharing function mode, setting the radio frequency module of the electronic device according to a first setting mode to set the output power of the electronic device. This dynamically adjusts the output power of the communication product, enabling the electronic device to output appropriate power without adding more sensors. Attached Figure Description
[0008] Figure 1 This is a block diagram of an electronic device according to an embodiment of the present invention.
[0009] Figure 2 This is a block diagram of an electronic device according to an embodiment of the present invention.
[0010] Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention.
[0011] Figure 4 This is a flowchart illustrating a power setting method according to some embodiments of the present invention.
[0012] Figure 5 This is a flowchart illustrating a power setting method according to some embodiments of the present invention.
[0013] Figure 6 This is a flowchart illustrating a power setting method according to some embodiments of the present invention.
[0014] Figure 7 This is a flowchart illustrating a power setting method according to some embodiments of the present invention.
[0015] Figure 8 This is a flowchart illustrating a power setting method according to some embodiments of the present invention.
[0016] Figure 9 This is a flowchart illustrating a power setting method according to some embodiments of the present invention.
[0017] Figure 10 This is a flowchart illustrating a power setting method according to some embodiments of the present invention.
[0018] Explanation of symbols in the attached drawings:
[0019] 100. Electronic devices;
[0020] 101. Processor;
[0021] 102-1~102-N, inherent modules;
[0022] 103. Radio frequency module;
[0023] N, positive integer;
[0024] 202. Receiver module;
[0025] 203. Distance sensing module;
[0026] 204. Light sensing module;
[0027] 205. Screen display module;
[0028] 206. Screen touch module;
[0029] 207. Gravity sensing module;
[0030] 208. Gyroscope module;
[0031] 209. Internal memory;
[0032] 210. Non-volatile memory;
[0033] 301. Mobile wireless base station and network sharing options;
[0034] 302. Earpiece;
[0035] 303. Distance and Optical Elements;
[0036] 304. Display and touch components;
[0037] 305. Triaxial accelerometer;
[0038] 306. Microelectromechanical systems (MEMS) gyroscope;
[0039] S401~S406, S501~S514, S601~S604, S701, S1000~S1012, Steps. Detailed Implementation
[0040] The foregoing and other technical contents, features, and effects of this invention will be clearly presented in the following detailed description of the embodiments with reference to the accompanying drawings. The thickness or dimensions of the elements in the drawings are exaggerated, omitted, or approximated for the understanding and reading of those skilled in the art. The dimensions of each element are not exactly their actual dimensions and are not intended to limit the implementation of this invention; therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments in size, without affecting the effects and objectives achieved by this invention, should still fall within the scope of the technical content disclosed in this invention. The same reference numerals will be used to denote the same or similar elements in all drawings. The term "coupled" as used in the following embodiments can refer to any direct or indirect, wired or wireless connection means.
[0041] Figure 1 This is a block diagram of an electronic device according to an embodiment of the present invention. Please refer to [link / reference]. Figure 1 The electronic device 100 includes a processor 101, a radio frequency (RF) module 103, and N inherent modules 102-1 to 102-N. N is a positive integer, and its value depends on the actual number of inherent modules in the electronic device 100. The electronic device 100 also has multiple executable functions. The RF module 103 is the module in the electronic device 100 responsible for RF signal processing. In some embodiments of the present invention, the RF module 103 includes a Wi-Fi module. In some embodiments of the present invention, the RF module 103 includes a Bluetooth module.
[0042] Figure 2 This is a block diagram of an electronic device according to an embodiment of the present invention. Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Please also refer to... Figure 2 and Figure 3 In some embodiments of the present invention, the electronic device 100 is a smartphone, and the aforementioned inherent modules 102-1 to 102-N are a receiver module 202, a proximity sensing module 203, a light sensing module 204, a screen display module 205, a screen touch module 206, a gravity sensing module 207, and a gyroscope module 208. The electronic device 100 also includes an internal memory 209 and a non-volatile memory 210. The executable function of the aforementioned electronic device 100 is a network sharing function.
[0043] Network sharing function is Figure 3The illustration shows the corresponding functions of the mobile wireless base station and network sharing option 301 of the electronic device 100. When the user triggers the mobile wireless base station and network sharing option 301, the network sharing function of the electronic device 100 will operate. When the aforementioned network sharing function is operating, the processor 101 controls the corresponding hardware circuitry within the electronic device 100 to use the electronic device 100 as an internet access point and share the network with other devices through the Wi-Fi module in the radio frequency module 103, allowing other electronic devices such as mobile phones, tablets, or computers to connect to the internet. The aforementioned corresponding hardware circuitry may have different design methods, and this invention is not limited thereto. In this embodiment, the network sharing function of the electronic device 100 is a Wi-Fi hotspot sharing function, sharing the network with other devices through the Wi-Fi network. In another embodiment, the network sharing function of the electronic device 100 is a Bluetooth sharing function, sharing the Bluetooth network with other devices through the Bluetooth module in the radio frequency module 103.
[0044] The receiver module 202 is coupled to the receiver 302. The receiver module 202 converts the audio electrical signal into a sound signal and plays the sound signal through the receiver 302 to realize audio (voice, music) playback.
[0045] The distance sensing module 203 emits infrared light via an infrared LED, which is reflected by an object and received by an infrared detector. The intensity of the received infrared light is used to determine the distance, with an effective range of approximately 10 meters. The aforementioned infrared LED and infrared detector are integrated into the distance and optical element 303. The distance sensing module 203 can detect whether the electronic device 100 is being held to the ear for a phone call. The light sensing module 204 senses the intensity of ambient light via a light sensing element, which is also integrated into the distance and optical element 303.
[0046] A screen display module 205 is coupled to a display and touch element 304. The screen display module 205 drives the display and touch element 304 to display images. A screen touch module 206 is coupled to the display and touch element 304. When a user touches the display and touch element 304, the display and touch element 304 generates touch signals that are transmitted to the screen touch module 206. The screen touch module 206 receives and processes the touch signals generated by the display and touch element 304. In this embodiment, the display and touch element 304 is the touchscreen of a mobile phone.
[0047] Gravity sensing module 207 measures the linear acceleration of gravity sensing module 207 along the X, Y, and Z axes and transmits back the corresponding acceleration values of gravity sensing module 207 along the X, Y, and Z axes. Gyroscope module 208 measures the angular acceleration of gyroscope module 208 along the X, Y, and Z axes and transmits back the corresponding angular acceleration values of gyroscope module 208 along the X, Y, and Z axes. In some embodiments of the present invention, gravity sensing module 207 includes a triaxial accelerometer 305, and gyroscope module 208 includes a microelectromechanical system gyroscope (MEMS gyroscope) 306.
[0048] The following is a detailed description, with reference to the accompanying drawings, of some embodiments of the power setting method of the present invention and how the modules of the electronic device 100 work together.
[0049] Figure 4 The above is a flowchart illustrating a power setting method according to some embodiments of the present invention. Please also refer to... Figure 1 and Figure 4 After the electronic device 100 is started, it repeatedly executes steps S401 to S406 according to a sequence of inherent modules 102-1 to 102-N and one or more executable functions of the electronic device 100. Hereinafter, for ease of explanation, the inherent modules 102-1 to 102-N and one or more executable functions of the electronic device 100 are referred to as items. In step S401, the processor 101 receives a feedback signal corresponding to the current item among the inherent modules 102-1 to 102-N and the executable functions of the electronic device 100. In step S402, the processor 101 determines whether the feedback signal of the current item satisfies a judgment condition corresponding to the current item. If the feedback signal satisfies the aforementioned judgment condition for the current item, it proceeds to step S403. If not, it proceeds to step S404. In step S403, the processor 101 sets the output power of the electronic device 100 according to the setting mode corresponding to the current item. In step S404, if the current item is the last item, then proceed to step S405, where the last item refers to the last item in the order of the executable functions of the aforementioned inherent modules 102-1 to 102-N and electronic device 100; if the current item is not the last item, then proceed to step S406.
[0050] In step S405, the processor 101 sets the output power of the electronic device 100 according to a preset mode. In step S406, based on the aforementioned order of the inherent modules 102-1 to 102-N and the executable functions of the electronic device 100, the processor 101 selects the next item corresponding to the current item as the current item.
[0051] It is worth noting that in this embodiment, the processor 101 can determine whether the current item is the last item based on the branching structure in the programming language (e.g., the following code structure: if (is the last module) {set to preset power} else {the next item is the current item}) to decide whether to execute setting the output power of the electronic device 100 to the preset power (step S405) or to use the next item corresponding to the current item as the current item (step S406). The processor 101 can also directly use the predetermined next item as the current item or set the output power of the electronic device 100 to the preset power based on the order of the inherent modules 102-1 to 102-N and the multiple executable functions of the electronic device 100 pre-written in the hardware or software, after determining that the judgment conditions corresponding to each inherent module 102-1 to 102-N and the multiple executable functions of the electronic device 100 are not met, without using the aforementioned branching structure in the programming language.
[0052] In some embodiments of the present invention, the executable functions of the aforementioned inherent modules 102-1 to 102-N and the electronic device 100 include a network sharing function, and the network sharing function is ranked first in the order of the executable functions of the aforementioned inherent modules 102-1 to 102-N and the electronic device 100. The current signal corresponding to the network sharing function is an enable signal used by the processor 101 to detect whether the network sharing function is enabled. The judgment condition corresponding to the network sharing function is that the network sharing function is enabled. And the setting mode corresponding to the network sharing function is a first setting mode.
[0053] Figure 5 The following is a flowchart illustrating a power setting method according to some embodiments of the present invention. Table (I) below is a table showing the correspondence between usage scenarios and power settings according to some embodiments of the present invention. Please also refer to... Figure 1 , Figure 5 According to Table (I) below, in this embodiment, the aforementioned inherent modules 102-1 to 102-N include a receiver module 202, a distance sensing module 203, a screen display module 205, a screen touch module 206, and a gravity sensing module 207. The executable functions of the aforementioned electronic device 100 include network sharing functions.
[0054] Please refer to Table (I) below first:
[0055]
[0056]
[0057] Table (1)
[0058] Table (a) above shows the power settings required for electronic device 100 to meet different Specific Absorption Rate (SAR) tests under various usage scenarios. For example, when the mobile wireless base station and network sharing functions are enabled, the output power of electronic device 100 is set to 0 to meet the body's electromagnetic energy absorption ratio (SAR) test. In call mode, the output power of electronic device 100 is set to 1 to meet the body's electromagnetic energy absorption ratio (SAR) test.
[0059] It is worth noting that the specific absorption ratio tests for the head, the body, and the limbs mentioned above have different values depending on the regulations. For example, the US FCC (The Federal Communications Commission) specifies that the specific absorption ratio test for the head and the body should be less than 1.6 W / kg, and the specific absorption ratio test for the limbs should be less than 4.0 W / kg.
[0060] It is also worth noting that the output power setting method and setting value of the actual electronic device 100 corresponding to the aforementioned settings 0 to 4 may vary depending on the product and the design of the electronic device 100 itself, and this invention does not limit them.
[0061] In some embodiments of the present invention, the processor 101 of the electronic device 100 sets the output power of the electronic device 100 by setting the operating power of the radio frequency module 103.
[0062] In this embodiment, the order of the executable functions of the aforementioned inherent modules 102-1 to 102-N and electronic device 100, the judgment conditions corresponding to the executable functions of each inherent module 102-1 to 102-N and electronic device 100, and the corresponding setting modes for the executable functions of each inherent module 102-1 to 102-N and electronic device 100 are as follows.
[0063] The network sharing function is listed first. The current signal corresponding to the network sharing function is the enable signal used by processor 101 to detect whether the network sharing function is enabled. The judgment condition for the network sharing function is that the network sharing function is enabled. The corresponding setting mode for the network sharing function is the first setting mode, where the first setting mode is the aforementioned setting 0.
[0064] The receiving module 202 is the second in the aforementioned sequence. The current signal corresponding to the receiving module 202 is the receiving signal used to detect whether the receiving module 202 is active. The judgment condition for the receiving module 202 is that the receiving module 202 is enabled. The corresponding setting mode for the receiving module 202 is the second setting mode, which is the aforementioned setting 1.
[0065] The distance sensing module 203 is the third in the aforementioned order. The current signal of the distance sensing module 203 is the distance between the electronic device 100 and the object detected by the distance sensing module 203 via the distance and optical element 303. The judgment condition of the distance sensing module 203 is that the aforementioned distance is less than a preset distance. And the corresponding setting mode of the distance sensing module 203 is the third setting mode, wherein the third setting mode is the aforementioned setting 3.
[0066] The screen display module 205 is the fourth in the aforementioned sequence. The current signal corresponding to the screen display module 205 is a screen display signal used to detect whether the screen display module 205 is turned on. The judgment condition for the screen display module 205 is that the screen display module 205 is not turned on. And the corresponding setting mode for the screen display module 205 is a fourth setting mode, wherein the fourth setting mode is the aforementioned setting 2.
[0067] The screen touch module 206 is the fifth in the aforementioned sequence. The current signal corresponding to the screen touch module 206 is the screen touch signal used to detect whether the screen touch module 206 is active. The determination condition for the screen touch module 206 is that the screen touch module is in action. The corresponding setting mode for the screen touch module 206 is the fifth setting mode, which is the aforementioned setting 4.
[0068] Gravity sensing module 207 is the sixth and last module in the aforementioned sequence. The current signal of gravity sensing module 207 is the gravity sensing signal of acceleration on the X, Y, and Z axes detected by gravity sensing module 207. The judgment condition of gravity sensing module 207 is that the gravity sensing signal is greater than the preset sensing value. The corresponding setting mode of gravity sensing module 207 is the fifth setting mode and the preset mode is the fourth setting mode, where the fifth setting mode is the aforementioned setting 4 and the fourth setting mode is the aforementioned setting 2.
[0069] In this embodiment, the gravity sensing module 207 detects its acceleration on the X, Y, and Z axes and transmits back the corresponding numerical values 'a' of the acceleration on the X, Y, and Z axes. X a Y With a Z The gravity sensing signal is defined as a. X a Y With a ZThe sum of absolute values, that is
[0070] Gravity sensing signal = |a X |+|a Y |+|a Z |
[0071] Based on the aforementioned settings, in step S501, the electronic device 100 is activated and proceeds to step S502. In step S502, the processor 101 determines whether the network sharing function is enabled based on the enable signal. If yes, it indicates that the electronic device 100 is in the "mobile wireless base station and network sharing function mode" of the aforementioned usage scenario. In step S503, the processor 101 sets the output power of the electronic device 100 according to the first setting mode (setting 0). If no, in step S504, it determines whether the receiving module 202 is turned on based on the receiving signal. If yes, it indicates that the electronic device 100 is in the "call mode" of the aforementioned usage scenario. In step S505, the processor 101 sets the output power of the electronic device 100 according to the second setting mode (setting 1). If no, in step S506, it determines whether the distance between the electronic device 100 and any object is less than a preset distance.
[0072] If the processor 101 determines that the distance between the electronic device 100 and any object is less than a preset distance, it can be determined that the electronic device 100 is "in a pocket or holster" in the aforementioned usage scenario. In step S507, the processor 101 sets the output power of the electronic device 100 according to the third setting mode (setting 3). If not, in step S508, it determines whether the screen display module 205 is not turned on based on the screen display signal. If yes, it can be determined that the electronic device 100 is "not used" in the aforementioned usage scenario. In step S509, the processor 101 sets the output power of the electronic device 100 according to the fourth setting mode (setting 2). If not, in step S510, the processor 101 determines whether the screen touch module is active based on the screen touch signal. If yes, it can be determined that the electronic device 100 is "held and used (with screen touch action)" in the aforementioned usage scenario. In step S511, the processor 101 sets the output power of the electronic device 100 according to the fifth setting mode (setting 4). If not, then in step S512, it is determined whether the gravity sensing signal is greater than the preset sensing value. If yes, it is known that the electronic device 100 is "held and used (without screen touch action)" in the aforementioned usage scenario, and the processor 101 sets the output power of the electronic device 100 according to the fifth setting mode (setting 4) in step S513. If not, it is known that the electronic device 100 is "used but placed on a table or shelf" in the aforementioned usage scenario and no human body or object is near it, and the processor 101 sets the output power of the electronic device 100 according to the fourth setting mode (setting 2) in step S514.
[0073] Figure 6 The above is a flowchart illustrating a power setting method according to some embodiments of the present invention. Please also refer to... Figure 1 , Figure 6 As per Table (a) above, in this embodiment, the aforementioned inherent modules 102-1 to 102-N include a receiver module 202, a light sensing module 204, a screen display module 205, a screen touch module 206, and a gyroscope module 208. The executable functions of the aforementioned electronic device 100 include network sharing functions.
[0074] In this embodiment, the light sensing module 204 is the third in the aforementioned order. The current signal of the light sensing module 204 is the brightness value detected by the light sensing module 204 via the distance and optical element 303. The determination condition for the light sensing module 204 is that the brightness value is less than a preset brightness value. The corresponding setting mode for the light sensing module 204 is the third setting mode, which is the aforementioned setting 3. The gyroscope module 208 is the sixth and last module in the aforementioned order. The current signal of the gyroscope module 208 is the gyroscope sensing signal of the angular acceleration on the X, Y, and Z axes detected by the gyroscope module 208. The determination condition for the gyroscope module 208 is that the gyroscope sensing signal is greater than a preset sensing value. The corresponding setting mode for the gyroscope module 208 is the fifth setting mode, and the preset mode is the fourth setting mode, where the fifth setting mode is the aforementioned setting 4 and the fourth setting mode is the aforementioned setting 2.
[0075] In this embodiment, the gyroscope module 208 detects its angular acceleration on the X, Y, and Z axes and transmits back the corresponding angular acceleration values ω on the X, Y, and Z axes. X ω Y With ω Z The gyroscope sensing signal is defined as ω. X ω Y With ω Z The sum of absolute values, that is
[0076] Gyroscope sensing signal = |ω X |+|ω Y |+|ω Z |
[0077] The remaining information pertains to the order of the executable functions of the inherent modules 102-1 to 102-N and the electronic device 100, the judgment conditions for the executable functions of each inherent module 102-1 to 102-N and the electronic device 100, and the corresponding setting modes for the executable functions of each inherent module 102-1 to 102-N and the electronic device 100. Figure 5 The illustrated embodiments are the same.
[0078] Please refer to the following: Figure 6 In step S504, processor 101 determines whether the receiving module 202 is turned on based on the received signal. If not, in step S601, it determines whether the brightness value detected by the distance and optical element 303 of the electronic device 100 is less than a preset brightness value. If yes, it is known that the electronic device 100 is in the aforementioned usage scenario "in a pocket or holster". In step S602, processor 101 sets the output power of the electronic device 100 according to the third setting mode (setting 3). If not, in step S508, processor 101 determines whether the conditional screen display module 205 is not turned on based on the screen touch signal. In step S510, processor 101 determines that the screen touch module is active. If not, in step S603, it determines whether the gyroscope sensing signal is greater than a preset sensing value. If so, it can be determined that the electronic device 100 is "held and used (without screen touch action)" in the aforementioned usage scenario, and the processor 101 sets the output power of the electronic device 100 according to the fifth setting mode (setting 4) in step S604. If not, it can be determined that the electronic device 100 is "not used" in the aforementioned usage scenario and no human body or object is near it, and the processor 101 sets the output power of the electronic device 100 according to the fourth setting mode (setting 2) in step S514. The remaining steps are the same as... Figure 5 The illustrated embodiments are the same.
[0079] It is worth noting that in the aforementioned embodiments, the processor 101 determines which setting mode to use for setting the output power of the electronic device 100 based on feedback signals from multiple items. The processor 101 may also determine which setting mode to use for setting the output power of the electronic device 100 based on feedback signals from a single item. Figure 7 This is a flowchart illustrating a power setting method according to some embodiments of the present invention. Please refer to... Figure 7 In some embodiments of the present invention, the power setting method includes steps S501, S502, S503, and S701. That is, after the electronic device 100 is started (step S501), the processor 101 determines whether the network sharing function of the electronic device 100 is enabled in step S502 based on an enable signal used to detect whether the network sharing function is enabled. If the network sharing function is enabled, the processor 101 sets the output power of the electronic device 100 in step S503 according to the aforementioned first setting mode (setting 0). If the network sharing function is not enabled, the processor 101 sets the output power of the electronic device 100 in step S701 according to a normal setting mode.
[0080] Figure 8 This is a flowchart illustrating a power setting method according to some embodiments of the present invention. Please refer to... Figure 8 ,exist Figure 8In the illustrated embodiment, the power setting method includes steps S501, S502, S503, S506, and S507. That is, after the electronic device 100 is started (step S501), the processor 101 determines whether the network sharing function of the electronic device 100 is enabled in step S502 based on an enable signal used to detect whether the network sharing function is enabled. If the network sharing function is enabled, the processor 101 sets the output power of the electronic device 100 in step S503 according to the aforementioned first setting mode (setting 0). If the network sharing function is not enabled, it determines in step S506 whether the distance between the electronic device 100 and any object is less than a preset distance. If the processor 101 determines that the distance between the electronic device 100 and any object is less than the preset distance, the processor 101 sets the output power of the electronic device 100 in step S507 according to a third setting mode (setting 3).
[0081] Figure 9 This is a flowchart illustrating a power setting method according to some embodiments of the present invention. Please refer to... Figure 9 Compared to Figure 8 The illustrated embodiments, Figure 9 The illustrated embodiment further includes steps S512, S513, and S514. In step S506, if the processor 101 determines that the distance between the electronic device 100 and any object is not less than a preset distance, then in step S512, the processor 101 determines whether the gravity sensing signal is greater than a preset sensing value. If yes, in step S513, the processor 101 sets the output power of the electronic device 100 according to the fifth setting mode (setting 4). If no, then in step S514, the processor 101 sets the output power of the electronic device 100 according to the fourth setting mode (setting 2).
[0082] Figure 10 The above is a flowchart illustrating a power setting method according to some embodiments of the present invention. Please also refer to... Figure 1 , Figure 10 As per Table (a) above, in this embodiment, the processor 101 sets the operating power of the radio frequency module 103 to set the output power of the electronic device 100 based on the usage scenario of the electronic device 100.
[0083] In step S501, the electronic device 100 is activated and proceeds to step S1000. In step S1000, the processor 101 determines whether the electronic device 100 is in the "mobile wireless base station and network sharing function mode" of the aforementioned usage scenario. If yes, the processor 101 sets the RF module 103 of the electronic device 100 according to the first setting mode (setting 0) in step S1001 to set the output power of the electronic device 100. If no, in step S1002, it determines whether the electronic device 100 is in the "call mode" of the aforementioned usage scenario. If yes, the processor 101 sets the RF module 103 of the electronic device 100 according to the second setting mode (setting 1) in step S1003 to set the output power of the electronic device 100. If no, in step S1004, it determines whether the electronic device 100 is in a pocket or holster.
[0084] If the processor 101 determines that the electronic device 100 is in a pocket or holster, in step S1005, the processor 101 sets the output power of the electronic device 100's radio frequency module 103 according to the third setting mode (setting 3). If not, in step S1006, it determines whether the electronic device 100 is "not in use" in the aforementioned usage scenario. If yes, in step S1007, the processor 101 sets the output power of the electronic device 100's radio frequency module 103 according to the fourth setting mode (setting 2). If not, in step S1008, the processor 101 determines whether the electronic device 100 is "held and used (with screen touch action)" (i.e., held and with screen touch action) in the aforementioned usage scenario. If yes, in step S1009, the processor 101 sets the output power of the electronic device 100's radio frequency module 103 according to the fifth setting mode (setting 4). If not, in step S1010, it is determined whether the electronic device 100 is "held and used (without screen touch action)" (i.e., held but without screen touch action) or "used but placed on a table or shelf" (i.e., used but idle).
[0085] If the processor 101 determines that the electronic device 100 is "held and used (without screen touch operation)" in the aforementioned usage scenario (i.e., held but without screen touch operation), then in step S1011, the processor 101 sets the RF module 103 of the electronic device 100 according to the fifth setting mode (setting 4) to set the output power of the electronic device 100. If the processor 101 determines that the electronic device 100 is "used but placed on a table or shelf" in the aforementioned usage scenario (i.e., used but idle), then in step S1012, the processor 101 sets the RF module 103 of the electronic device 100 according to the fourth setting mode (setting 2) to set the output power of the electronic device 100.
[0086] Please refer to the following: Figure 2 The internal memory 209 is, for example, random-access memory (RAM). Of course, the electronic device 100 may also include other hardware required for its functions.
[0087] Internal memory 209 and non-volatile memory 210 are used to store programs, which may include code, including computer operation instructions. Internal memory 209 and non-volatile memory 210 provide instructions and data to processor 101. Processor 101 reads the corresponding computer program from non-volatile memory 210 into internal memory 209 and then runs it. Specifically, processor 101 is used to execute... Figures 4 to 6 The steps described herein.
[0088] Processor 101 may be an integrated circuit chip with signal processing capabilities. In implementation, the methods and steps disclosed in the foregoing embodiments can be performed by the integrated logic circuitry in the hardware of processor 101 or by software instructions. Processor 101 may be a general-purpose processor, including a Central Processing Unit (CPU), a Tensor Processing Unit (TPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, capable of implementing or executing the methods and steps disclosed in the foregoing embodiments.
[0089] In some embodiments of the present invention, a computer-readable recording medium containing stored programs is also provided. This computer-readable recording medium stores at least one instruction, which, when executed by the processor 101 of the electronic device 100, enables the processor 101 of the electronic device 100 to perform the aforementioned... Figures 4 to 6 The steps described.
[0090] Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random-access memory (SRAM), dynamic random-access memory (DRAM), other types of random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other internal memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transient media, such as modulated data signals and carrier waves.
[0091] Based on the above, the electronic devices, power setting methods, computer-readable recording media with stored programs, and non-transitory computer program products provided in some embodiments of the present invention dynamically adjust the output power of communication products by integrating the inherent modules of the electronic devices and the usage status and related signals of the executable functions of the electronic devices, so as to enable the electronic devices to output appropriate power without adding more sensors.
[0092] Although the present invention has been disclosed above with reference to embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the scope of the claims.
Claims
1. A power setting method, characterized in that, Applicable to an electronic device, the electronic device including a processor, the power setting method being executed by the processor, the power setting method including: After the electronic device is started, it is determined whether the network sharing function is enabled based on an enable signal corresponding to the network sharing function of the electronic device. In response to the network sharing function being enabled, the output power of the electronic device is set according to a first setting mode; In response to the network sharing function being disabled, the system determines whether the receiving module is active based on a receiving signal from a receiving module corresponding to the electronic device. as well as In response to the operation of the receiving module, the output power of the electronic device is set according to a second setting mode.
2. The power setting method as described in claim 1, characterized in that, This power setting method includes: In response to the inactivity of the receiving module, the distance between the electronic device and an object is detected by a distance sensing module of the electronic device, and it is determined whether the distance is less than a preset distance. as well as In response to the distance being less than the preset distance, the output power of the electronic device is set according to a third setting mode.
3. The power setting method as described in claim 2, characterized in that, This power setting method includes: In response to the distance being not less than the preset distance, it is determined whether the screen display module is not turned on based on a screen display signal corresponding to a screen display module of the electronic device; and In response to the screen display module being off, the output power of the electronic device is set according to a fourth setting mode.
4. The power setting method as described in claim 1, characterized in that, This power setting method includes: In response to the inactivity of the receiving module, the brightness value detected by a light sensing module of the electronic device is used to determine whether the brightness value is less than a preset brightness value. as well as In response to the brightness value being less than the preset brightness value, the output power of the electronic device is set according to a third setting mode.
5. The power setting method as described in claim 4, characterized in that, This power setting method includes: In response to the brightness value being not less than the preset brightness value, it is determined whether the screen display module is not turned on based on a screen display signal corresponding to a screen display module of the electronic device; and In response to the screen display module being off, the output power of the electronic device is set according to a fourth setting mode.
6. The power setting method as described in claim 3, characterized in that, This power setting method includes: In response to the screen display module being turned on, it is determined whether the screen touch module is in operation based on a screen touch signal corresponding to a screen touch module of the electronic device. as well as In response to the screen touch module being in operation, the output power of the electronic device is set according to a fifth setting mode.
7. The power setting method as described in claim 6, characterized in that, This power setting method includes: In response to the screen touch module being inactive, a gravity sensing signal is determined based on a gravity sensing signal of multiple acceleration signals detected by a gravity sensing module corresponding to the electronic device, to determine whether the gravity sensing signal is greater than a preset sensing value. In response to the gravity sensing signal being greater than the preset sensing value, the output power of the electronic device is set according to the fifth setting mode; as well as In response to the gravity sensing signal not being greater than the preset sensing value, the output power of the electronic device is set according to the fourth setting mode.
8. The power setting method as described in claim 6, characterized in that, This power setting method includes: In response to the screen touch module being inactive, a gyroscope sensing signal is determined based on a gyroscope sensing signal of multiple angular acceleration signals detected by a gyroscope module corresponding to the electronic device, to determine whether the gyroscope sensing signal is greater than a preset sensing value. In response to the gyroscope sensing signal being greater than the preset sensing value, the output power of the electronic device is set according to the fifth setting mode; as well as In response to the gyroscope sensing signal not being greater than the preset sensing value, the output power of the electronic device is set according to the fourth setting mode.
9. The power setting method as described in claim 5, characterized in that, This power setting method includes: In response to the screen display module being turned on, it is determined whether the screen touch module is in operation based on a screen touch signal corresponding to a screen touch module of the electronic device. as well as In response to the screen touch module being in operation, the output power of the electronic device is set according to a fifth setting mode.
10. A power setting method, characterized in that, Applicable to an electronic device, the electronic device including a processor, the power setting method being executed by the processor, the power setting method including: After the electronic device is started, it is determined whether the network sharing function is enabled based on an enable signal corresponding to the network sharing function of the electronic device. In response to the network sharing function being enabled, the output power of the electronic device is set according to a first setting mode; In response to the network sharing function being disabled, the distance between the electronic device and an object is detected by a distance sensing module of the electronic device, and it is determined whether the distance is less than a preset distance. as well as In response to the distance being less than the preset distance, the output power of the electronic device is set according to a third setting mode.
11. The power setting method as described in claim 10, characterized in that, This power setting method includes: In response to the distance being not less than the preset distance, based on a gravity sensing signal of a plurality of acceleration signals detected by a gravity sensing module of the electronic device, it is determined whether the gravity sensing signal is greater than a preset sensing value. In response to the gravity sensing signal being greater than the preset sensing value, the output power of the electronic device is set according to a fifth setting mode; as well as In response to the gravity sensing signal not being greater than the preset sensing value, the output power of the electronic device is set according to a fourth setting mode.
12. A power setting method, characterized in that, Applicable to an electronic device, the electronic device including a processor, the power setting method being executed by the processor, the power setting method including: After the electronic device is started, determine whether the electronic device is in the mobile wireless base station and network sharing function mode; In response to the electronic device being in a mobile wireless base station and network sharing function mode, a radio frequency module of the electronic device is configured according to a first setting mode to set an output power of the electronic device. In response to the fact that the electronic device is not in the mobile wireless base station and network sharing function mode, determine whether the electronic device is in a call mode. as well as In response to the electronic device being in the call mode, the radio frequency module of the electronic device is configured according to a second setting mode to set the output power of the electronic device.
13. The power setting method as described in claim 12, characterized in that, This power setting method includes: In response to the electronic device not being in call mode, determine whether the electronic device is in a pocket or folding case; and In response to the electronic device being in a pocket or holster, the radio frequency module of the electronic device is configured according to a third setting mode to set the output power of the electronic device.
14. The power setting method as described in claim 13, characterized in that, This power setting method includes: In response to the electronic device not being in a pocket or holster, determine whether the electronic device is not in use; and In response to the electronic device being unused, the RF module of the electronic device is configured according to a fourth setting mode to set the output power of the electronic device.
15. The power setting method as described in claim 14, characterized in that, This power setting method includes: In response to the electronic device not being unused, determine whether the electronic device is being held and whether there is screen touch operation; and In response to the electronic device being handheld and having a screen touch operation, the radio frequency module of the electronic device is configured according to a fifth setting mode to set the output power of the electronic device.
16. The power setting method as described in claim 15, characterized in that, This power setting method includes: In response to the fact that the electronic device is not being held and there is screen touch operation, it is determined that the electronic device is being held but there is no screen touch operation or is being used but is not in use; In response to the electronic device being handheld but without screen touch operation, the radio frequency module of the electronic device is configured according to the fifth setting mode to set the output power of the electronic device; and In response to the electronic device being in use but idle, the RF module of the electronic device is set according to the fourth setting mode to set the output power of the electronic device.
17. An electronic device, characterized in that, It includes a processor and an RF module, the processor being configured to perform: After the electronic device is started, determine whether the electronic device is in the mobile wireless base station and network sharing function mode; In response to the electronic device being in a mobile wireless base station and network sharing function mode, a radio frequency module of the electronic device is configured according to a first setting mode to set an output power of the electronic device. In response to the fact that the electronic device is not in the mobile wireless base station and network sharing function mode, determine whether the electronic device is in a call mode. as well as In response to the electronic device being in the call mode, the radio frequency module of the electronic device is configured according to a second setting mode to set the output power of the electronic device.
Citation Information
Patent Citations
Antenna transmitting power adjusting method and device, storage medium and mobile terminal
CN111614840A
Radiation Pattern Recognition System and Method for a Mobile Communications Device
US20130217450A1
Operating method and electronic device for processing method thereof
US20150160780A1