Antenna control method and device, storage medium and electronic equipment

By obtaining the status of the earpiece module and the gaming antenna, determining the application scenario and adjusting the antenna transmission power, the problem of increasing cost and difficulty of SAR sensors in the prior art is solved, and flexible SAR value control and game smoothness are achieved.

CN119071371APending Publication Date: 2024-12-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310631207.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The prior art requires SAR sensors to detect SAR values ​​in antenna design, which increases the design cost and difficulty of electronic devices, and cannot flexibly adjust the antenna transmission power to adapt to different application scenarios.

Method used

By obtaining the status of the earpiece module and the gaming antenna, determine the current application scenario, and reduce the antenna transmission power in the earpiece scenario, maintain the antenna transmission power in the game scenario, avoid the use of SAR sensors and shrapnel sensing points, simplify the equipment structure and reduce costs.

Benefits of technology

It realizes flexible adjustment of SAR value according to actual scenarios, reduces the SAR value in the earpiece scenario, and maintains the antenna transmission power in the game scenario, ensures game smoothness, simplifies equipment design and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071371A_ABST
    Figure CN119071371A_ABST
Patent Text Reader

Abstract

The invention provides an antenna control method and device, a storage medium and electronic equipment. The antenna control method comprises the steps of obtaining a first state of a receiver module and a second state of a game antenna; determining a current application scene of the electronic equipment according to the first state and the second state; when the current application scene is the receiver scene, reducing the antenna transmitting power of the electronic equipment; and when the current application scene is the game scene, maintaining the antenna transmitting power of the electronic equipment. On the basis, the electronic equipment applied by the method is simple in structure and lower in cost; meanwhile, different SAR value control schemes can be executed according to the actual scene, and the SAR value control schemes are more flexible and better fit the actual scene of the electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an antenna control method, device, storage medium and electronic device. Background Art

[0002] With the advancement of communication technology, electronic devices such as smartphones are able to perform more and more functions, and their communication modes are becoming more diverse. Each communication function requires a corresponding antenna radiator and radio frequency transceiver module to implement. Generally, during the antenna design process, the specific absorption rate (SAR) indicator is used to evaluate the impact of electromagnetic radiation generated by electronic devices on the human body. The larger the SAR value, the greater the impact on the human body.

[0003] In related technologies, SAR sensors are often used to detect the SAR value of an antenna, enabling the electronic device to perform power fallback when the SAR value is high. However, SAR sensors require a suspended sensing branch to detect the SAR value. Alternatively, when the SAR sensor uses the antenna radiator as a sensing branch, a spring element must be added to return the signal to ground via a capacitor. These factors undoubtedly increase the design cost and difficulty of the electronic device. Summary of the Invention

[0004] The present application provides an antenna control method, device, storage medium, and electronic device, which can execute different control schemes according to different application scenarios so that the electronic device does not need to be equipped with a SAR sensor to detect the SAR value.

[0005] In a first aspect, the present application provides an antenna control method, which is applied to an electronic device, wherein the electronic device includes an earpiece module and a gaming antenna; the antenna control method includes:

[0006] Acquire a first state of the earpiece module and a second state of the gaming antenna;

[0007] determining a current application scenario of the electronic device according to the first state and the second state;

[0008] When the current application scenario is a handset scenario, reducing the antenna transmission power of the electronic device;

[0009] When the current application scenario is a game scenario, the antenna transmission power of the electronic device is maintained.

[0010] In a second aspect, the present application further provides an antenna control device, which is applied to an electronic device, wherein the electronic device includes an earpiece module and a gaming antenna; the antenna control device includes:

[0011] an acquisition module, configured to acquire a first state of the earpiece module and a second state of the gaming antenna;

[0012] a determination module, configured to determine a current application scenario of the electronic device according to the first state and the second state;

[0013] The control module is used to reduce the antenna transmission power of the electronic device when the current application scenario is a handset scenario; and maintain the antenna transmission power of the electronic device when the current application scenario is a game scenario.

[0014] In a third aspect, the present application further provides a storage medium on which a computer program is stored. When the computer program runs on a processor, the processor executes the antenna control method as described above.

[0015] In a fourth aspect, the present application also provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the antenna control method as described above when executed by the processor.

[0016] The antenna control method of the present application includes: obtaining a first state of an earpiece module and a second state of a gaming antenna; determining a current application scenario of an electronic device based on the first state and the second state; reducing the antenna transmission power of the electronic device when the current application scenario is an earpiece scenario; and maintaining the antenna transmission power of the electronic device when the current application scenario is a gaming scenario. The antenna control method of an embodiment of the present application determines the current application scenario of the electronic device based on the earpiece module and the gaming antenna and executes different antenna transmission power control methods to ensure that the SAR value of the electronic device meets regulatory requirements. On the one hand, the method of the present application does not require a SAR sensor to detect the SAR value of the electronic device, the electronic device does not need to set a suspended sensing branch, and does not need to add a spring on the antenna radiator reused as the sensing branch to return to ground through a capacitor, resulting in a simpler structure and lower cost of the electronic device. On the other hand, the antenna control method of the present application reduces the antenna transmission power of the electronic device in the earpiece scenario, which can reduce the SAR value in the earpiece scenario; maintains the antenna transmission power of the electronic device in the gaming scenario, which can ensure smooth gaming. Therefore, the antenna control method of the present application can execute different SAR value control schemes according to actual scenarios, and the SAR value control scheme is more flexible and more tailored to the actual scenarios of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] To more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. Those skilled in the art can also derive other drawings based on these drawings without inventive effort.

[0018] Figure 1 This is a schematic diagram of the first structure of the electronic device provided in an embodiment of the present application.

[0019] Figure 2 for Figure 1 A schematic structural diagram of the electronic device shown in another direction.

[0020] Figure 3 A first flow chart of the antenna control method provided in an embodiment of the present application.

[0021] Figure 4 A second flow chart of the antenna control method provided in an embodiment of the present application.

[0022] Figure 5 A schematic diagram of power back-off control of the antenna control method according to an embodiment of the present application.

[0023] Figure 6 A schematic structural diagram of an antenna control device provided in an embodiment of the present application.

[0024] Figure 7 A second structural diagram of the electronic device provided in an embodiment of the present application.

[0025] Figure 8 This is a third structural diagram of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following is combined with the embodiment of this application Figures 1 to 8 , clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0027] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in one or more embodiments of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0028] The embodiments of the present application provide an antenna control method, device, storage medium, and electronic device 100. The antenna control method may be performed by the antenna control device 300 provided in the embodiments of the present application, or by the electronic device 100 provided in the embodiments of the present application. The antenna control device 300 may be implemented in hardware or software. The electronic device 100 may be a device such as a smartphone or tablet computer, or may be a gaming device, augmented reality (AR) device, automotive device, data storage device, audio playback device, video playback device, laptop computer, desktop computing device, etc.

[0029] Please refer to Figure 1 , Figure 1 This is a schematic diagram of a first structure of an electronic device 100 provided in an embodiment of the present application. Figure 2 for Figure 1 The electronic device 100 is shown in another structural diagram. The electronic device 100 may include an earpiece module 110 and a gaming antenna 151.

[0030] The receiver module 110 is also called an earphone or headset. The receiver module 110 can receive electrical signals and convert them into sound signals. Figure 1 As shown, the electronic device 100 may include, but is not limited to, a first frame 221, a second frame 222, a third frame 223, and a fourth frame 224 connected in sequence, wherein the first frame 221 is opposite to the third frame 223, and the second frame 222 is opposite to the fourth frame 224, and the lengths of the second frame 222 and the fourth frame 224 are both greater than the lengths of the first frame 221 or the third frame 223, so that the second frame 222 and the fourth frame 224 are the long frames of the electronic device 100, and the first frame 221 and the third frame 223 are the short frames of the electronic device 100. When the electronic device 100 is in a vertical holding state (e.g. Figure 1 The earpiece module 110 may be located in the upper or top area of ​​the electronic device 100, for example, the earpiece module 110 may be arranged relative to the first frame 221. At this time, the earpiece module 110 may be opposite to the human ear and the distance between the two is relatively close, and the earpiece may transmit the sound signal to the human ear.

[0031] It is understandable that the earpiece module 110 is arranged relative to the first frame 221, which may mean that the sound outlet of the earpiece module 110 is arranged on the first frame 221, and the earpiece module 110 can transmit sound signals to the outside world through the sound outlet on the first frame 221.

[0032] It can be understood that the vertical holding state of the electronic device 100 may refer to a state in which the long sides of the electronic device 100, such as the second frame 222 and the fourth frame 224, are perpendicular to the ground. At this time, the first frame 221 is farther away from the ground than the third frame 223. The first frame 221 can be located at the top of the electronic device 100 so that the earpiece module 110 arranged relative to the first frame 221 can be opposite to the human ear.

[0033] The gaming antenna 151 may be, but is not limited to, a wireless fidelity (Wi-Fi) antenna or a cellular mobile antenna. For example, the gaming antenna 151 may be a 2.4G Wi-Fi antenna or a 5G Wi-Fi antenna. The gaming antenna 151 is often located in an area of ​​the electronic device 100 that is difficult for the user to hold in a gaming scenario, to ensure the radiation performance of the gaming antenna 151 and to ensure the smoothness of the user's gaming experience in the gaming scenario. For example, please refer to Figure 1 and Figure 2 The game antenna 151 can be set on the long side of the electronic device 100, such as the middle area of ​​the second frame 222. When the electronic device 100 is in the game scene, the electronic device 100 can be in a horizontal screen state (for example Figure 2 In the state shown), the long side of the electronic device 100, such as the second frame 222 or the fourth frame 224, can be parallel to the ground, and the game antenna 151 can be set on a long side at the top in the horizontal state, such as the second frame 222, so that the game antenna 151 is more difficult to be held by the user.

[0034] It can be understood that the game antenna 151 is set in the middle area of ​​the second frame 222, which may mean that the game antenna 151 covers the center point of the second frame 222, and the distance between the end of the game antenna 151 close to the first frame 221 and the first frame 221 can be between one quarter and one third of the length of the second frame 222 (including the endpoints), and the distance between the end of the game antenna 151 close to the third frame 223 and the third frame 223 can be between one quarter and one third of the length of the second frame 222 (including the endpoints). At this time, the game antenna 151 is not easily held by the user.

[0035] It is understood that the gaming antenna 151 can be as Figure 1 and Figure 2 As shown, the antenna 151 is formed in the middle region of the second frame 222 of the metal structure, so that the gaming antenna 151 reuses some metal branches of the second frame 222 as the antenna radiator; of course, the gaming antenna 151 can also be set and connected to the middle region of the second frame 222 without reusing the second frame 222. The specific structure of the gaming antenna 151 is not limited in this embodiment of the application.

[0036] It can be understood that the horizontal screen state of the electronic device 100 may refer to the state where the long side edges of the electronic device 100, such as the second frame 222 and the fourth frame 224, are parallel to the ground. At this time, the second frame 222 is farther away from the ground than the fourth frame 224. The second frame 222 may be located at the top of the electronic device 100, so that the game antenna 151 arranged relative to the second frame 222 is farther away from the user's hand and is not easily held by the user.

[0037] Based on the structure of the electronic device 100, the embodiment of the present application further provides an antenna control method, which is applied to the electronic device 100. The electronic device 100 may include an earpiece module 110 and a game antenna 151. Figure 3 , Figure 3 This is a schematic diagram of a first flow chart of an antenna control method provided in an embodiment of the present application. The antenna control method in an embodiment of the present application includes:

[0038] In 101 , a first state of the earpiece module 110 and a second state of the game antenna 151 are obtained.

[0039] The electronic device 100 can obtain the current first state of the earpiece module 110 and the current second state of the game antenna 151. The first state of the earpiece module 110 includes an operating state or a non-operating state. When the earpiece module 110 is in the operating state, the earpiece module 110 can convert the electrical signal into a sound signal and transmit it to the outside of the electronic device 100 through the sound outlet; when the earpiece module 110 is in the non-operating state, the earpiece module 110 does not convert the electrical signal into a sound signal. The electronic device 100 can determine whether the earpiece module 110 is in the operating state or in the non-operating state based on relevant parameters of the earpiece module 110, such as whether the earpiece module 110 receives an electrical signal with audio information.

[0040] The second state of the game antenna 151 may also include a working state or a non-working state. When the game antenna 151 is a Wi-Fi antenna, it may be a working state when the Wi-Fi antenna is in a connected state or when the Wi-Fi antenna is exchanging data with a Wi-Fi router; when the Wi-Fi antenna is in a non-connected state or when the Wi-Fi antenna is not exchanging data with a Wi-Fi router, it may be a non-working state. The electronic device 100 may, but is not limited to, obtain the connection state of the Wi-Fi antenna to determine the second state of the game antenna 151. Of course, when the Wi-Fi antenna is a cellular antenna, the interaction information between the cellular antenna and the base station may be obtained to determine whether the cellular antenna is in a working state or a non-working state. The embodiment of the present application does not limit the specific method for obtaining the first state of the earpiece and the second state of the game antenna 151.

[0041] In 102 , a current application scenario of the electronic device 100 is determined according to the first state and the second state.

[0042] The current application scenario of the electronic device 100 may include an earpiece scenario, a game scenario, and other scenarios. The other scenarios are scenarios other than the earpiece scenario and the game scenario. The so-called earpiece scenario refers to the scenario in which the electronic device 100 receives sound through the earpiece, including the scenario of making and receiving calls, the earpiece voice call scenario, etc. The so-called game scenario refers to the scenario in which the electronic device 100 is in landscape mode and the user enters the game interface.

[0043] The electronic device 100 can comprehensively determine the current application scenario of the electronic device 100 based on the first state of the earpiece module 110 and the second state of the gaming antenna 151. For example, when the earpiece module 110 is in an operating state, embodiments of the present application can determine that the current application scenario of the electronic device 100 is an earpiece scenario. For another example, when the earpiece module 110 is in an inoperative state and the gaming antenna 151 is in a preset posture, the current scenario is determined to be a gaming scenario; the so-called preset posture can refer to the posture of the gaming antenna 151 when the electronic device 100 is in landscape mode and located at the second border 222 at the top.

[0044] It is understandable that when the electronic device 100 determines the current application scenario of the electronic device 100 based on the first state and the second state, the priority of the state of the earpiece module 110 can be set to be higher than the priority of the state of the game antenna 151. In other words, as long as the earpiece module 110 is in the working state, regardless of the state of the game antenna 151, the antenna control method of the embodiment of the present application can consider the current application scenario of the electronic device 100 to be the earpiece scenario; when the earpiece module 110 is in the non-working state, the state of the game antenna 151 is considered. If the game antenna 151 is in the working state, the electronic device 100 is determined to be in the gaming scenario; if the game antenna 151 is in the non-working state, the electronic device 100 is determined to be in the non-gaming scenario.

[0045] In step 103, when the current application scenario is the handset scenario, the antenna transmission power of the electronic device 100 is reduced;

[0046] When the current application scenario of the electronic device 100 is the handset scenario, the electronic device 100 is likely to be in a call-making and answering scenario, or a handset voice call scenario. At this time, the distance between the electronic device 100 and the user is likely to be close, and the electronic device 100 is likely to be in an application scenario with a high SAR value. In this case, the antenna control method of the embodiment of the present application can reduce the antenna transmission power of the electronic device 100 to reduce the SAR value of the electronic device 100, thereby preventing the electronic device 100 from having an excessively high SAR value in the handset scenario.

[0047] It is understood that in the handset scenario, the electronic device 100 can reduce the transmit power of any one or more antennas in operation to reduce the SAR value of the electronic device 100 as a whole. Of course, since the antenna with the highest SAR value in the handset scenario is often the target antenna 152 that performs the corresponding function of the handset module 110, the signal transmitted by the target antenna 152 can be used to support the handset scenario. For example, when the handset scenario is a call making and receiving scenario, the SAR value of the antenna performing the call making and receiving functions is high. The electronic device 100 can reduce the transmit power of the target antenna 152 (e.g., a cellular antenna) that performs the call making and receiving functions to reduce the SAR value of the electronic device 100 as a whole. For another example, when the handset scenario is a voice call scenario, the SAR value of the antenna performing the voice call function (e.g., a cellular antenna, a Wi-Fi antenna) is high. The electronic device 100 can reduce the transmit power of the target antenna 152 that performs the voice call function to reduce the SAR value of the electronic device 100 as a whole. Of course, the electronic device 100 can also reduce the transmit power of other antennas to make the SAR value of the electronic device 100 as a whole meet the requirements. This embodiment of the present application does not limit this.

[0048] It is understood that the amount by which the electronic device 100 reduces the transmit power of the target antenna 152 varies depending on the target antenna 152. For example, when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B1 frequency band, the electronic device 100 may control the target antenna 152 in the B1 frequency band to reduce its transmit power by 3dB; when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B2 frequency band, the electronic device 100 may control the target antenna 152 in the B2 frequency band to reduce its transmit power by 4dB; when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B3 frequency band, the electronic device 100 may control the target antenna 152 in the B3 frequency band to reduce its transmit power by 3dB; and when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B7 frequency band, the electronic device 100 may control the target antenna 152 in the B7 frequency band to reduce its transmit power by 1dB. This embodiment of the present application is not limited to this.

[0049] The electronic device 100 may pre-store power backoff values ​​corresponding to the target antenna 152 in different handset scenarios, so that after the electronic device 100 determines the target antenna 152 corresponding to the current handset scenario, it may automatically perform a power backoff operation according to the corresponding power backoff value.

[0050] In 104 , when the current application scenario is a game scenario, the antenna transmission power of the electronic device 100 is maintained.

[0051] When the current application scenario of electronic device 100 is a gaming scenario, electronic device 100 is likely in landscape mode. At this time, the distance between electronic device 100 and the user is likely far, making it less likely that electronic device 100 will be in an application scenario with a high SAR value. In this case, the antenna control method of the embodiment of the present application can control electronic device 100 to maintain the current antenna transmission power to ensure the radiation performance of gaming antenna 151 in the gaming scenario.

[0052] It can be understood that when the current scene of the electronic device 100 is a game scene, the electronic device 100 can maintain the antenna transmission power of the game antenna 151 so that the game antenna 151 does not perform a power backoff operation, and the electronic device 100 can also maintain the antenna transmission power of other antennas so that other antennas do not perform a power backoff operation.

[0053] The antenna control method of an embodiment of the present application includes: obtaining a first state of the earpiece module 110 and a second state of the game antenna 151; determining a current application scenario of the electronic device 100 based on the first state and the second state; when the current application scenario is the earpiece scenario, reducing the antenna transmission power of the electronic device 100; when the current application scenario is the game scenario, maintaining the antenna transmission power of the electronic device 100. The antenna control method of the embodiment of the present application determines the current application scenario of the electronic device 100 according to the earpiece module 110 and the game antenna 151 and executes different antenna transmission power control methods to make the SAR value of the electronic device 100 meet the regulatory requirements. On the one hand, the method of the present application does not require the SAR sensor 190 to detect the SAR value of the electronic device 100, the electronic device 100 does not need to be equipped with a suspended sensing branch, nor does it need to add a spring on the antenna radiator reused as the sensing branch to return it to the ground through a capacitor. The structure of the electronic device 100 is simpler and the cost is lower; on the other hand, the antenna control method of the present application reduces the antenna transmission power of the electronic device 100 in the earpiece scenario, which can reduce the SAR value in the earpiece scenario; maintains the antenna transmission power of the electronic device 100 in the game scenario, which can ensure the smoothness of the game; thus, the antenna control method of the present application can execute different SAR value control schemes according to the actual scenario, and the SAR value control scheme is more flexible and more in line with the actual scenario of the electronic device 100.

[0054] Among them, optionally, the current application scenario of the electronic device 100 is determined according to the first state and the second state, including: when the earpiece module 110 is in a working state, determining that the current application scenario is a earpiece scenario; when the earpiece module 110 is in a non-working state and the game antenna 151 is in a preset posture, determining that the current scene is a game scene.

[0055] It is understandable that the earpiece module 110 has a higher priority than the gaming antenna 151. The electronic device 100 can first determine whether the earpiece module 110 is in operation. When the earpiece module 110 is in operation, the electronic device 100 is likely close to the user and has a higher SAR value. In this case, the electronic device 100 directly reduces the antenna transmission power to reduce the SAR value of the electronic device 100. When the earpiece module 110 is in an inoperative state, if the gaming antenna 151 is in a preset posture, it can be considered that the gaming antenna 151 is in operation, and the electronic device 100 is likely in a gaming scenario.

[0056] It can be understood that the preset posture of the game antenna 151 can be the posture when the game antenna 151 is set in the long frame (such as the second frame 222) away from the floor when the electronic device 100 is in the horizontal state. For example, the preset posture can be the state when the second frame 222 on which the game antenna 151 is set is located in the end area away from the floor in the horizontal state of the electronic device 100.

[0057] Among them, optional, such as Figure 1 and Figure 2 As shown, the electronic device 100 further includes a USB interface 120 and a posture detection module 191. The antenna control method further includes: controlling the posture detection module 191 to detect the position of the USB interface 120; when the USB interface 120 is in a preset position, determining that the gaming antenna 151 is in a preset posture; when the USB interface 120 is in the preset position, the gaming antenna 151 is located at the end of the electronic device 100 that is away from the floor when the device is in landscape orientation.

[0058] It is understandable that the electronic device 100 can determine whether the gaming antenna 151 is in a preset posture based on the status of the USB interface 120. Since the USB interface 120 is often located on the bottom frame (e.g., the third frame 223) of the electronic device 100 when held vertically, the status of the gaming antenna 151 can be determined based on the position of the USB interface 120. For example, when the electronic device 100 is in landscape mode, if the second frame 222 where the gaming antenna 151 is located is located at the end of the electronic device 100 away from the floor, the USB interface 120 is located on the left side of the electronic device 100; then, when the electronic device 100 is in landscape mode, if the second frame 222 where the gaming antenna 151 is located is located at the end of the electronic device 100 closer to the floor, the USB interface 120 is located on the right side of the electronic device 100. Therefore, the status of the gaming antenna 151 in landscape mode can be determined based on the status of the USB interface 120.

[0059] It is understood that the electronic device 100 may also be provided with a posture detection module 191 such as a gyroscope, an accelerometer, or an electronic compass, and the electronic device 100 may determine whether the USB interface 120 is in a preset position based on data detected by the posture detection module 191. For example, if the USB interface 120 is detected to be on the left side of the electronic device 100 in landscape mode, it can be assumed that the second frame 222 of the gaming antenna 151 is located at the end of the electronic device 100 away from the floor, and the gaming antenna 151 is in a preset posture.

[0060] The embodiment of the present application determines whether the game antenna 151 is in a preset posture by whether the USB interface 120 is in a preset position. The method for determining the preset posture of the game antenna 151 is simpler, thereby making the control rate of the antenna control method of the present application faster.

[0061] Among them, such as Figure 1 and Figure 2 As shown, electronic device 100 also includes a target antenna 152, and the signal transmitted by target antenna 152 is used to support the handset scenario. In step 103, when the current application scenario is the handset scenario, reducing the antenna transmission power of electronic device 100 includes: when the current application scenario is the handset scenario, reducing the antenna transmission power of target antenna 152. In step 104, when the current application scenario is the gaming scenario, maintaining the antenna transmission power of electronic device 100 includes: when the current application scenario is the gaming scenario, maintaining the antenna transmission power of gaming antenna 151.

[0062] It is understood that the target antenna 152 can be, but is not limited to, a cellular antenna or a Wi-Fi antenna. The target antenna 152 can be disposed at a suitable location on the electronic device 100. For example, but not limited to, the target antenna 152 can be formed on the frame of the electronic device 100 as a frame antenna. Of course, the target antenna 152 can also be a patch antenna, a bracket antenna, a flexible circuit board antenna, or other antenna forms, which are not limited in this embodiment of the present application.

[0063] Among them, such as Figure 1 and Figure 2As shown, the electronic device 100 further includes at least two distance sensors 192, one of which is disposed in an end region of the electronic device 100 in a portrait orientation away from the floor, for example, in an area near the first frame 221, and the other is disposed in an end region of the electronic device 100 in a portrait orientation close to the floor, for example, in an area near the third frame 223. The antenna control method further includes: obtaining a third state of the two distance sensors 192; in step 102, determining the current application scenario of the electronic device 100 based on the first state and the second state, including: determining the current application scenario of the electronic device 100 based on the first state, the second state, and the third state. When the earpiece module 110 is in an operating state, determining the current application scenario as an earpiece scenario includes: determining the current application scenario as an earpiece scenario when the earpiece module 110 is in an operating state, at least one distance sensor 192 is in an obstacle detection state, and the gaming antenna 151 is in a non-preset state.

[0064] As will be understood, distance sensor 192, also known as a displacement sensor, is a type of sensor used to sense the distance between it and an object to perform a predetermined function. Distance sensor 192 can, but is not limited to, detect distance using time of flight. The time of flight method transmits a light pulse and measures the time it takes for the light pulse to be reflected by an object, thereby calculating the distance to the object.

[0065] It is understood that the third state of the two distance sensors 192 includes a state in which at least one distance sensor 192 detects an obstacle, and a state in which neither distance sensor 192 detects an obstacle. The antenna control method of the present application can determine whether the two distance sensors 192 are in the third state in which at least one distance sensor 192 detects an obstacle, or whether the two distance sensors 192 are in a state in which neither distance sensor 192 detects an obstacle.

[0066] It is understandable that one of the distance sensors 192 can be set on the first frame 221 of the electronic device 100, and the other distance sensor 192 can be set on the second frame 222 of the electronic device 100. When at least one distance sensor 192 is in the state of detecting an obstacle, it means that the electronic device 100 is most likely close to the human body, and the SAR value of the electronic device 100 may be high; if the earpiece module 110 is still in working condition and the game antenna 151 is in a non-preset posture at this time, it is most likely that the electronic device 100 is in the earpiece scene. If no distance sensor 192 is in the state of detecting an obstacle, even if the earpiece module 110 is in working condition, it can be considered that the distance between the electronic device 100 and the human body is still far, and the electronic device 100 is not likely to generate a large SAR value at this time, and the electronic device 100 does not need to reduce the antenna transmission power for the time being. For example, when the electronic device 100 is connected to the circuit but has not been held by the user or placed at the ear by the user, the two sensors 190 are not easy to detect obstacles, and the electronic device 100 may not reduce the SAR value; as the user changes his actions, such as from holding the electronic device 100 to placing the electronic device 100 at the ear, at least one distance sensor 192 can detect that it is in an obstacle detected state. At this time, it can be determined that the current application scenario of the electronic device 100 is an earpiece scenario, and the antenna transmission power of the electronic device 100 can be reduced.

[0067] Among them, such as Figure 1 and Figure 2 As shown, the electronic device 100 further includes an SOS antenna 153; the antenna control method further includes: acquiring a fourth state of the SOS antenna 153; and maintaining the antenna transmission power of the electronic device 100 when the SOS antenna 153 is in the working state.

[0068] The SOS antenna 153 is an antenna for sending emergency call signals. The SOS antenna 153 is typically a satellite antenna. The SOS antenna 153 transmits the SOS emergency call signal to a satellite. Upon receiving the signal, the satellite sends an emergency call message to the emergency contact person preset in the electronic device 100. When the electronic device 100 detects that the SOS antenna 153 is in operation, the electronic device 100 does not need to consider the SAR value. The electronic device 100 can control the SOS antenna 153 to maintain the current transmission power to transmit the SOS distress signal to ensure user safety.

[0069] It is understood that the fourth state of the SOS antenna 153 can be an operating state in which the SOS antenna 153 transmits an SOS signal to a satellite, or a non-operating state in which the SOS antenna 153 does not transmit an SOS signal to a satellite. The antenna control method can obtain the operating state or non-operating state of the SOS antenna 153.

[0070] It is understandable that when the SOS antenna 153 is in operation, the electronic device 100 can maintain the transmission power of all antennas. Since SOS scenarios are often critical scenarios, for example, a user is lost in a scene where the base station signal is poor in the wild, or a user is in danger; at this time, the electronic device 100 maintains the transmission power of all antennas, and all antennas can perform functions at the maximum transmission power, which can provide more help to the user; in the SOS scenario where the SOS antenna 153 is in operation, the SAR value issue can be ignored, the electronic device 100 can be unrestricted by the SAR value and power backoff operation, and the electronic device 100 can not perform the power backoff operation. Of course, when the SOS antenna 153 is in operation, the electronic device 100 can also maintain the transmission power of the SOS antenna 153. At this time, the electronic device 100 can reduce the transmission power of other antennas so that the overall SAR value radiation of the electronic device 100 meets the regulations.

[0071] It is understandable that the priority of the fourth state of the SOS antenna 153 may be higher than the priority of the first state of the earpiece module 110, the second state of the game antenna 151, and the third state of the two distance sensors 192. For example, the priority of the fourth state of the SOS antenna 153 is higher than the priority of the first state of the earpiece module 110, the priority of the first state of the earpiece module 110 is higher than the priority of the second state of the game antenna 151, and the priority of the second state of the game antenna 151 is higher than the priority of the third state of the two distance sensors 192.

[0072] The antenna control method of the embodiment of the present application maintains the antenna transmission power of the electronic device 100 when the SOS antenna 153 is in the working state, thereby ensuring the radiation performance of the SOS antenna 153.

[0073] Based on the above antenna control method, please refer to Figure 4 , Figure 4 This is a second flow chart of the antenna control method provided in an embodiment of the present application. The antenna control method further includes:

[0074] In 201 , a first state of the earpiece module 110 , a second state of the game antenna 151 , a third state of the two distance sensors 192 , and a fourth state of the SOS antenna 153 are obtained;

[0075] The first state of the earpiece module 110 includes an operating state in which it converts electrical signals into sound signals, and a non-operating state in which it does not convert electrical signals into sound signals. The second state of the gaming antenna 151 may also include an operating state in which the gaming antenna 151 is exchanging data with a base station, or between the gaming antenna 151 and a router, and a non-operating state in which the gaming antenna 151 is not exchanging data with the base station, or between the gaming antenna 151 and the router. The third state of the distance sensor 192 includes a state in which at least one distance sensor 192 detects an obstacle, and a state in which neither distance sensor 192 detects an obstacle. The fourth state of the SOS antenna 153 includes an operating state in which the SOS antenna 153 is transmitting an SOS signal to a satellite, and a non-operating state in which the SOS signal is not transmitting to a satellite.

[0076] The electronic device 100 can determine the first state of the earpiece module 110, the second state of the game antenna 151, the third state of the two distance sensors 192, and the fourth state of the SOS antenna 153 based on the relevant operating parameters of the earpiece module 110, the game antenna 151, the distance sensor 192, and the SOS antenna 153. This embodiment of the present application is not limited to this.

[0077] In 202 , when the SOS antenna 153 is in the working state, the antenna transmission power of the SOS antenna 153 is maintained.

[0078] When the electronic device 100 detects that the SOS antenna 153 is in working state, the electronic device 100 may not consider the SAR value issue at this time. The electronic device 100 may control the SOS antenna 153 to maintain the current transmission power to transmit the SOS distress signal to ensure user safety.

[0079] In 203, when the SOS antenna 153 is in a non-working state, the earpiece module 110 is in a working state, the at least one distance sensor 192 is in a working state, and the game antenna 151 is in a non-preset posture, it is determined that the current application scenario is a earpiece scenario;

[0080] When at least one distance sensor 192 is in the state of detecting an obstacle, it means that the electronic device 100 is most likely close to the human body and the SAR value of the electronic device 100 may be high; if the earpiece module 110 is still in working state and the game antenna 151 is in a non-preset posture at this time, it is most likely that the electronic device 100 is in the earpiece scene.

[0081] In 204, the antenna transmission power of the target antenna 152 is reduced; the signal transmitted by the target antenna 152 is used to support the handset scenario;

[0082] In the handset scenario, the antenna with the highest SAR value is often the target antenna 152 that performs the same function as the handset module 110. The signal transmitted by the target antenna 152 can be used to support the handset scenario. When the electronic device 100 is in the handset scenario, the SAR value of the target antenna 152 is relatively high. In this case, the electronic device 100 can reduce the antenna transmission power of the target antenna 152 to reduce the overall SAR value of the electronic device 100.

[0083] It is understood that the amount by which the electronic device 100 reduces the transmit power of the target antenna 152 varies depending on the target antenna 152. For example, when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B1 frequency band, the electronic device 100 may control the target antenna 152 in the B1 frequency band to reduce its transmit power by 3dB; when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B2 frequency band, the electronic device 100 may control the target antenna 152 in the B2 frequency band to reduce its transmit power by 4dB; when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B3 frequency band, the electronic device 100 may control the target antenna 152 in the B3 frequency band to reduce its transmit power by 3dB; and when the electronic device 100 is used in a handset scenario with a target antenna 152 supporting the B7 frequency band, the electronic device 100 may control the target antenna 152 in the B7 frequency band to reduce its transmit power by 1dB. This embodiment of the present application is not limited to this.

[0084] In 205 , when the SOS antenna 153 is in a non-working state, the earpiece module 110 is in a non-working state, and the USB interface 120 is in a preset position, it is determined that the current scene is a game scene;

[0085] At 206 , the antenna transmission power of the gaming antenna 151 is maintained.

[0086] It is understandable that since the USB interface 120 is often arranged on the bottom frame (such as the third frame 223) of the electronic device 100 in the vertical holding state, the state of the game antenna 151 can be determined according to the position of the USB interface 120.

[0087] When the SOS antenna 153 is in a non-working state, the earpiece module 110 is in a non-working state, and the USB interface 120 is in a preset position, at this time, the electronic device 100 is not in the first priority SOS antenna 153 working scene, nor is it in the second priority earpiece module 110 working scene. At this time, when the USB interface 120 is in the preset position, the electronic device 100 is most likely in a horizontal screen state and the second frame 222 is located at the end of the electronic device 100 away from the floor. The second frame 222 and the game antenna 151 can be located at the top of the electronic device 100 in the horizontal screen state. At this time, it can be determined that the current scene of the electronic device 100 is a game scene.

[0088] It can be understood that when the current scene of the electronic device 100 is a game scene, the electronic device 100 can maintain the antenna transmission power of the game antenna 151 so that the game antenna 151 does not perform a power backoff operation, and the electronic device 100 can also maintain the antenna transmission power of other antennas so that other antennas do not perform a power backoff operation.

[0089] For example, please refer to Figure 5 , Figure 5 FIG. 1 is a schematic diagram of power backoff control of the antenna control method according to an embodiment of the present application. Figure 5 As shown, when the SOS antenna 153 is in a working state, the various antennas of the electronic device 100 may not perform the fallback operation (the fallback value of the antenna transmission power is 0); when the SOS antenna 153 is in a non-working state and the earpiece module 110 is in a working state, different target antennas 152 may execute different power fallback values; when in a game scenario where the SOS antenna 153 is in a non-working state, the earpiece module 110 is in a non-working state, and the USB interface 120 is in a preset position, the game antenna 151 may be controlled not to perform the fallback operation; when the SOS antenna 153 is in a non-working state, the earpiece module 110 is in a non-working state, and the game antenna 151 is in other scenarios other than the preset position, the antenna of the electronic device 100 may perform an antenna power fallback operation, and its specific power fallback value also depends on the actual situation. For example, each antenna may execute the same power fallback value.

[0090] It is understandable that the electronic device 100 may pre-exist a correspondence between the power backoff values ​​of different antennas in different scenarios, so that when the electronic device 100 detects a certain scenario, it can automatically control the antenna of the electronic device 100 according to the power backoff value in the correspondence.

[0091] It should be noted that the above is only an exemplary description of the electronic device 100 performing different antenna power fallback operations according to different antenna scenarios in the embodiment of the present application. The electronic device 100 can also perform other antenna power fallback methods, which are not limited in the embodiment of the present application.

[0092] The antenna control method of the embodiment of the present application determines the working scenario of the electronic device 100 based on the working status of the SOS antenna 153, the earpiece module 110, the game antenna 151 and the proximity sensor 190. On the one hand, the electronic device 100 does not need to be provided with a suspended sensing branch, nor does it need to add a spring clip on the antenna radiator reused as the sensing branch to return to the ground through the capacitor. The structure of the electronic device 100 is simpler and the cost is lower. On the other hand, the working scenario of the electronic device 100 is determined based on these antennas and modules with significant characteristics, which can make the determination of the working scenario more accurate, so that the antenna power back-off operation is more in line with the working scenario of the electronic device 100.

[0093] Based on the above electronic device 100 and antenna control method, please refer to Figure 6 , Figure 6 This is a schematic diagram of the structure of an antenna control device 300 provided in an embodiment of the present application. This embodiment of the present application also provides an antenna control device 300, which is applied to an electronic device 100. The electronic device 100 includes an earpiece module 110 and a gaming antenna 151. The antenna control device 300 includes an acquisition module 310, a determination module 320, and a control module 330.

[0094] The acquisition module 310 is used to acquire a first state of the earpiece module 110 and a second state of the game antenna 151 .

[0095] The determination module 320 is configured to determine a current application scenario of the electronic device 100 according to the first state and the second state.

[0096] The control module 330 is configured to: reduce the antenna transmission power of the electronic device 100 when the current application scenario is the handset scenario; and maintain the antenna transmission power of the electronic device 100 when the current application scenario is the game scenario.

[0097] The determination module is further configured to: determine the current application scenario as a handset scenario when the earpiece module 110 is in operation; and determine the current scenario as a gaming scenario when the earpiece module 110 is in an inoperative state and the gaming antenna 151 is in a preset posture. The gaming antenna 151 is located at the end of the electronic device 100 that is away from the floor when the electronic device 100 is in landscape orientation.

[0098] The electronic device 100 further includes a USB interface 120 and a posture detection module 191. The control module 330 is further configured to control the posture detection module 191 to detect the position of the USB interface 120. The determination module 320 is further configured to determine, when the USB interface 120 is in a preset position, that the gaming antenna 151 is in a preset posture; when the USB interface 120 is in the preset position, the gaming antenna 151 is located at the end of the electronic device 100 that is away from the floor when the device is in landscape orientation.

[0099] The electronic device 100 also includes a target antenna 152, which transmits signals to support the handset scenario. The control module 330 is further configured to reduce the antenna transmit power of the target antenna 152 when the current application scenario is the handset scenario, and maintain the antenna transmit power of the gaming antenna 151 when the current application scenario is the gaming scenario.

[0100] The electronic device 100 further includes at least two distance sensors 192, one of which is located in the upper area of ​​the electronic device 100 in portrait orientation, and the other is located in the top area of ​​the electronic device 100 in portrait orientation. The acquisition module 310 is further configured to acquire a third state of the two distance sensors 192. The determination module 320 is further configured to determine the current application scenario of the electronic device 100 based on the first, second, and third states. The determination module 320 is further configured to determine that the current application scenario is an earpiece scenario when the earpiece module 110 is in an operating state, at least one distance sensor 192 is in an operating state, and the gaming antenna 151 is in a non-preset state.

[0101] The electronic device 100 further includes an SOS antenna 153. The acquisition module 310 is further configured to acquire a fourth state of the SOS antenna 153. The control module 330 is further configured to maintain the antenna transmission power of the electronic device 100 when the SOS antenna 153 is in the working state.

[0102] It is understandable that, in specific implementation, each of the above modules can be implemented as an independent entity, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of each of the above modules can be found in the previous method embodiments and will not be repeated here.

[0103] It should be noted that the antenna control device 300 provided in the embodiment of the present application belongs to the same concept as the antenna control method in the above embodiment. Any method provided in the antenna control method embodiment can be run on the antenna control device 300. The specific implementation process is detailed in the antenna control method embodiment and will not be repeated here.

[0104] As can be seen from the above, the antenna control device 300 of the embodiment of the present application determines the current application scenario of the electronic device 100 based on the earpiece module 110 and the game antenna 151 and executes different antenna transmission power control methods to make the SAR value of the electronic device 100 meet regulatory requirements. On the one hand, the antenna control device 300 of the present application does not require the SAR sensor 190 to detect the SAR value of the electronic device 100, the electronic device 100 does not need to be provided with a suspended sensing branch, nor does it need to add a spring on the antenna radiator reused as the sensing branch to return to the ground through a capacitor. The structure of the electronic device 100 is simpler and the cost is lower; on the other hand, the antenna control device 300 of the present application reduces the antenna transmission power of the electronic device 100 in the earpiece scenario, which can reduce the SAR value in the earpiece scenario; maintains the antenna transmission power of the electronic device 100 in the game scenario, which can ensure the smoothness of the game; thus, the antenna control method of the present application can execute different SAR value control schemes according to the actual scenario, and the SAR value control scheme is more flexible and more in line with the actual scenario of the electronic device 100.

[0105] The embodiment of the present application also provides an electronic device 100. The electronic device 100 may be a smart phone, a tablet computer, or other device. Figure 7 , Figure 7 A second structural diagram of the electronic device 100 provided in an embodiment of the present application. The electronic device 100 includes a handset module 110 and a gaming antenna 151. The electronic device 100 further includes at least a processor 130 and a memory 140. The processor 130 is the control center of the electronic device 100. It uses various interfaces and lines to connect the various parts of the entire electronic device 100. By running or calling the computer program stored in the memory 140, and calling the data stored in the memory 140, it executes various functions of the electronic device 100 and processes data, thereby monitoring the electronic device 100 as a whole. The memory 140 can be used to store computer programs and data. The computer program stored in the memory 140 contains instructions that can be executed in the processor 130. Computer programs can be composed of various functional modules. The processor 130 executes various functional applications and data processing by calling the computer program stored in the memory 140.

[0106] In this embodiment, the processor 130 in the electronic device 100 loads instructions corresponding to one or more computer program processes into the memory 140 according to the following steps, and the processor 130 runs the computer programs stored in the memory 140 to implement various functions:

[0107] Obtain the first state of the earpiece module 110 and the second state of the game antenna 151; determine the current application scenario of the electronic device 100 based on the first state and the second state; when the current application scenario is the earpiece scenario, reduce the antenna transmission power of the electronic device 100; when the current application scenario is the game scenario, maintain the antenna transmission power of the electronic device 100.

[0108] The processor 130 is further configured to: determine that the current application scenario is a handset scenario when the handset module 110 is in operation; and determine that the current scenario is a game scenario when the handset module 110 is in non-operational state and the game antenna 151 is in a preset posture.

[0109] The electronic device 100 further includes a USB interface 120 and a posture detection module 191. The processor 130 is further configured to: control the posture detection module 191 to detect the position of the USB interface 120; when the USB interface 120 is in a preset position, determine that the gaming antenna 151 is in a preset posture; and when the USB interface 120 is in the preset position, the gaming antenna 151 is located at the end of the electronic device 100 that is away from the floor when the device is in landscape orientation.

[0110] The electronic device 100 also includes a target antenna 152, which transmits signals to support the handset scenario. The processor 130 is further configured to reduce the antenna transmit power of the target antenna 152 when the current application scenario is the handset scenario, and maintain the antenna transmit power of the gaming antenna 151 when the current application scenario is the gaming scenario.

[0111] The electronic device 100 also includes at least two distance sensors 192, one of which is located in an area of ​​the end of the electronic device 100 that is away from the floor when the electronic device 100 is in portrait orientation, and the other is located in an area of ​​the end of the electronic device 100 that is closer to the floor when the electronic device 100 is in portrait orientation. The processor 130 is further configured to: obtain a third state of the two distance sensors 192; determine the current application scenario of the electronic device 100 based on the first state, the second state, and the third state; and determine that the current application scenario is the handset scenario when the earpiece module 110 is in an operating state, at least one distance sensor 192 is in an operating state, and the gaming antenna 151 is in a non-preset posture.

[0112] The electronic device 100 further includes an SOS antenna 153. The processor 130 is further configured to obtain a fourth state of the SOS antenna 153; when the SOS antenna 153 is in the working state, maintain the antenna transmission power of the electronic device 100.

[0113] Among them, see Figure 8 , Figure 8This is a third structural diagram of the electronic device 100 provided in an embodiment of the present application. The electronic device 100 may further include: a radio frequency circuit 150, a display screen 160, a control circuit 170, an input unit 180, a sensor 190, and a power supply 210. Among them, the processor 130 is electrically connected to the radio frequency circuit 150, the display screen 160, the control circuit 170, the input unit 180, the sensor 190, and the power supply 210 respectively.

[0114] The radio frequency circuit 150 is used to send and receive test signals to communicate with network equipment or other electronic devices 100 via wireless communication. It is understandable that the radio frequency circuit 150 may include the game antenna 151, target antenna 152, and SOS antenna 153 of the aforementioned embodiment. The display screen 160 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device 100, which can be composed of images, text, icons, videos, and any combination thereof. The control circuit 170 is electrically connected to the display screen 160 and is used to control the display screen 160 to display information. The input unit 180 can be used to receive input digital, character information, or user feature information (such as fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and function control. The sensor 190 is used to collect information about the electronic device 100 itself, user information, or external environment information. For example, the sensor 190 may include the aforementioned posture detection module 191 and distance sensor 192. The sensor 190 may also include multiple sensors 190, such as an acceleration sensor 190, a fingerprint sensor 190, a Hall sensor 190, and a gyroscope. The power supply 210 is used to supply power to various components of the electronic device 100.

[0115] It is understandable that although Figure 8 Not shown in the figure, the electronic device 100 may further include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0116] As can be seen from the above, the electronic device 100 of the embodiment of the present application determines the current application scenario of the electronic device 100 according to the earpiece module 110 and the game antenna 151 and executes different antenna transmission power control methods to make the SAR value of the electronic device 100 meet regulatory requirements. On the one hand, the electronic device 100 of the present application does not require the SAR sensor 190 to detect the SAR value of the electronic device 100, the electronic device 100 does not need to be provided with a suspended sensing branch, nor does it need to add a spring on the antenna radiator reused as the sensing branch to return to the ground through a capacitor. The structure of the electronic device 100 is simpler and the cost is lower; on the other hand, the electronic device 100 of the present application reduces the antenna transmission power of the electronic device 100 in the earpiece scenario, which can reduce the SAR value in the earpiece scenario; maintaining the antenna transmission power of the electronic device 100 in the game scenario can ensure the smoothness of the game; thus, the electronic device 100 of the present application can execute different SAR value control schemes according to the actual scenario, and the SAR value control scheme is more flexible and more in line with the actual scenario of the electronic device 100.

[0117] The present application also provides a storage medium storing a computer program. When the computer program is executed on processor 130, processor 130 executes the antenna control method described in any of the above embodiments. It is understood that the functions of processor 130 can be found in the processor 130 described in the above embodiments and are not further described here.

[0118] It should be noted that, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the storage medium may include but is not limited to: read-only memory 140 (ROM), random access memory 140 (RAM), a disk or an optical disk, etc.

[0119] It should be noted that the electronic device 100, storage medium and other subjects provided in the embodiments of the present application belong to the same concept as the antenna control method in the above embodiments. Any method provided in the antenna control method embodiments can be run on the electronic device 100, storage medium and other subjects. The specific implementation process is detailed in the antenna control method embodiments and will not be repeated here.

[0120] The above describes in detail the antenna control method, device, storage medium, and electronic device provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only intended to help understand the method and core concept of the present application. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concepts of the present application. In summary, the contents of this specification should not be construed as limiting the present application.

Claims

1. An antenna control method, It is characterized in that Applied to an electronic device, the electronic device includes a handset module and a game antenna; the antenna control method includes: Acquire a first state of the earpiece module and a second state of the game antenna; Determining a current application scenario of the electronic device according to the first state and the second state; When the current application scenario is a handset scenario, reducing the antenna transmission power of the electronic device; When the current application scenario is a game scenario, the antenna transmission power of the electronic device is maintained.

2. The antenna control method according to claim 1, It is characterized in that The determining, according to the first state and the second state, a current application scenario of the electronic device includes: When the handset module is in a working state, determining that the current application scenario is a handset scenario; When the earpiece module is in a non-working state and the game antenna is in a preset posture, the current scene is determined to be a game scene; the preset posture is that the game antenna is located at one end of the electronic device away from the floor in the horizontal screen state.

3. The antenna control method according to claim 2, It is characterized in that The electronic device further includes a USB interface and a posture detection module; the antenna control method further includes: Controlling the posture detection module to detect the position of the USB interface; When the USB interface is in a preset position, the game antenna is determined to be in a preset posture; when the USB interface is in the preset position, the game antenna is located at an end of the electronic device away from the floor when the electronic device is in a horizontal state.

4. The antenna control method according to claim 1, It is characterized in that The electronic device further includes a target antenna, and a signal transmitted by the target antenna is used to support the handset scenario; and when the current application scenario is the handset scenario, reducing the antenna transmission power of the electronic device includes: When the current application scenario is a handset scenario, reducing the antenna transmission power of the target antenna; When the current application scenario is a game scenario, maintaining the antenna transmission power of the electronic device includes: When the current application scenario is a game scenario, the antenna transmission power of the game antenna is maintained.

5. The antenna control method according to any one of claims 1 to 4, It is characterized in that The electronic device further comprises at least two distance sensors, wherein one of the distance sensors is disposed at an end region of the electronic device in a vertical screen posture away from the floor, and the other distance sensor is disposed at an end region of the electronic device in a vertical screen posture close to the floor; the antenna control method further comprises: Acquiring a third state of the two distance sensors; The determining, according to the first state and the second state, a current application scenario of the electronic device includes: Determining a current application scenario of the electronic device according to the first state, the second state, and the third state; When the handset module is in the working state, determining that the current application scenario is a handset scenario includes: When the earpiece module is in a working state, at least one distance sensor is in a working state, and the game antenna is in a non-preset posture, it is determined that the current application scenario is a earpiece scenario.

6. The antenna control method according to any one of claims 1 to 4, It is characterized in that The electronic device further includes an SOS antenna; and the antenna control method further includes: Acquire a fourth state of the SOS antenna; When the SOS antenna is in working state, the antenna transmission power of the electronic device is maintained.

7. An antenna control device, It is characterized in that Applicable to electronic equipment, the electronic equipment comprising a handset module and a game antenna; The antenna control device comprises: An acquisition module, used to acquire a first state of the earpiece module and a second state of the game antenna; a determination module, configured to determine a current application scenario of the electronic device according to the first state and the second state; The control module is used to reduce the antenna transmission power of the electronic device when the current application scenario is a handset scenario; and maintain the antenna transmission power of the electronic device when the current application scenario is a game scenario.

8. The antenna control device according to claim 7, It is characterized in that The determining module is also used for: When the handset module is in a working state, determining that the current application scenario is a handset scenario; When the earpiece module is in a non-working state and the game antenna is in a preset posture, the current scene is determined to be a game scene; the preset posture is that the game antenna is located at one end of the electronic device away from the floor in the horizontal screen state.

9. A storage medium having a computer program stored thereon, It is characterized in that When the computer program runs on a processor, the processor is enabled to execute the antenna control method according to any one of claims 1 to 6.

10. An electronic device, It is characterized in that The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the antenna control method according to any one of claims 1 to 6 is implemented.