Antenna switching device, method and electronic equipment
By setting up a controller connected to the application processor in the electronic device, identifying and switching the antenna to cope with the user's grip scenario, the problem of deterioration in antenna efficiency caused by user's grip is solved, ensuring the stability and optimization of communication performance.
Patent Information
- Application Number
- CN202311578718.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2043-11-22
AI Technical Summary
In a scenario where the user holds the electronic device in both hands for communication, the communication performance is degraded due to the occlusion of the antenna.
By setting up a first controller directly connected to the application processor, the user holds the scene and switches to a specific second antenna, avoiding deterioration of antenna efficiency and ensuring the communication performance of a specific user's usage scenario without sacrificing the communication performance of a conventional scenario.
It realizes optimizing communication performance in specific user usage scenarios, while keeping the communication performance of conventional scenarios unaffected, avoiding deterioration of antenna efficiency.
Smart Images

Figure CN118449546B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to an antenna switching device, method and electronic equipment. Background Art
[0002] An antenna is a device used to transmit or receive electromagnetic waves, commonly used in wireless communications. It can convert electrical energy into radio waves and radiate them into space, or extract electrical energy from received radio waves. Antennas are crucial components in electronic devices, and their performance directly impacts the transmission quality and coverage of wireless signals.
[0003] When several antennas of a certain frequency band are distributed in the top and bottom areas of an electronic device, and the user holds the electronic device in different holding methods, for some holding methods (for example, the user holds the electronic device with both hands), the user's hands can easily block the top or bottom area of the electronic device, thereby deteriorating the efficiency of the antenna and causing a decline in overall communication performance. Summary of the Invention
[0004] The present application provides an antenna switching device, method, and electronic device, which can solve the problem of overall communication performance degradation due to deterioration of antenna efficiency in scenarios where a user holds the electronic device with both hands for communication, or other extreme communication scenarios, thereby enabling the electronic device to maintain good communication performance.
[0005] In a first aspect, the present application provides an antenna switching device, comprising: an application processor, a first controller, at least one first antenna, and at least one second antenna; the application processor is configured to: when the working antenna is at least a part of the first antenna, in response to the electronic device entering a first scene, send a first message to the first controller, the first scene including a scene in which the user holds the electronic device with both hands; the first controller is configured to: based on the first message, switch the working antenna from at least a part of the first antenna to at least a part of the second antenna.
[0006] The antenna switching device provided in the present application, by setting up a first controller directly connected to the application processor, enables the first controller to switch to a specific second antenna when the application processor recognizes a scenario in which the user holds the electronic device with both hands, thereby avoiding the deterioration of antenna efficiency and optimizing the communication performance of a specific user usage scenario without sacrificing the communication performance of a conventional scenario.
[0007] In one implementation, the device further includes: a baseband processor and a radio frequency transceiver; an application processor further configured to, in response to the electronic device entering a second scenario, send a second message to the baseband processor, the second scenario including scenarios other than the first scenario; the baseband processor electrically connected to the application processor and configured to receive the second message sent by the application processor and send the second message to the radio frequency transceiver; the radio frequency transceiver electrically connected to the baseband processor, the radio frequency transceiver including a built-in second controller; the second controller configured to, based on the second message, control at least a portion of the first antenna to function as an active antenna. This implementation utilizes a first controller directly connected to the application processor without modifying the second controller used in conventional scenarios, enabling the first antenna to function as an active antenna in conventional scenarios without sacrificing communication performance in conventional scenarios.
[0008] In one implementation, the present invention further includes: a main module and a diversity module; the main module is electrically connected to the RF transceiver, the diversity module, and at least a portion of the first antenna, and is configured to: in response to a first signal sent by a second controller, control the first antenna electrically connected to the main module as a working antenna, and / or supply power to the diversity module with a first power, wherein the first signal is obtained by the second controller based on a second message conversion; the diversity module is electrically connected to the RF transceiver, and at least a portion of the first antenna, and is configured to: in response to a first signal sent by the second controller, and after receiving power from the main module, control the first antenna electrically connected to the diversity module as a working antenna. This implementation shows the specific connection method between the second controller and the first antenna in a conventional scenario, so that the first antenna can be used as a working antenna in a conventional scenario without sacrificing the communication performance of the conventional scenario.
[0009] In one implementation, the system further includes: at least one switching switch; each switching switch is configured to correspond to a second antenna, one end of which is electrically connected to the first controller based on a first control line and to the main module or the diversity module, and the other end of which is electrically connected to a first antenna or a second antenna; each switching switch is configured to: connect to the corresponding first antenna so that the corresponding first antenna is electrically connected to the main module as a working antenna, and / or so that the corresponding first antenna is electrically connected to the diversity module as a working antenna; each switching switch is further configured to: in response to a second signal sent by the first controller, switch from connecting to the corresponding first antenna to connecting to the corresponding second antenna so that the corresponding second antenna is electrically connected to the main module as a working antenna, and / or so that the corresponding second antenna is electrically connected to the diversity module as a working antenna, wherein the second signal is converted by the first controller based on the first message. This implementation shows a specific method for the first controller to switch to a specific second antenna, avoiding deterioration of antenna efficiency and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0010] In one implementation, the system further includes: at least one tuning switch; each tuning switch is provided corresponding to a first antenna or a second antenna, one end of the tuning switch is electrically connected to the first controller via a first control line and to the main module or the diversity module, and the other end is electrically connected to the corresponding first antenna or the corresponding second antenna; each tuning switch is configured to: communicate with the corresponding first antenna so that the corresponding first antenna is electrically connected to the main module or the diversity module to function as a working antenna operating in the first frequency band, or communicate with the corresponding second antenna so that the corresponding second antenna is electrically connected to the main module or the diversity module to function as a working antenna operating in the first frequency band; each tuning switch is further configured to: in response to a third signal sent by the first controller, switch the corresponding first antenna from operating in the first frequency band to operating in the second frequency band, or switch the corresponding second antenna from operating in the first frequency band to operating in the second frequency band, wherein the third signal is converted by the first controller based on a third message, and the third message is sent to the first controller by the baseband processor after determining the operating frequency band corresponding to the first antenna or the second antenna. With this implementation, the antenna tuning function can be implemented through the first controller directly connected to the application processor, so that the first antenna or the second antenna operates in different frequency bands, meeting the communication needs of the device in more frequency bands.
[0011] In one implementation, the system further includes: at least one tuning switch; each tuning switch is electrically connected to the first controller via a first control line and is disposed in a first path formed between the switching switch and a first antenna corresponding to the switching switch, or in a second path formed between the switching switch and a second antenna corresponding to the switching switch; each tuning switch is configured to: connect to the corresponding first antenna on the first path so that the corresponding first antenna functions as a working antenna operating in a first frequency band, or connect to the corresponding second antenna so that the corresponding second antenna functions as a working antenna operating in the first frequency band; each tuning switch is further configured to: in response to a third signal sent by the first controller, switch the corresponding first antenna from operating in the first frequency band to operating in the second frequency band, or switch the corresponding second antenna from operating in the first frequency band to operating in the second frequency band, wherein the third signal is obtained by the first controller through conversion based on a third message, and the third message is sent to the first controller after the baseband processor determines the working frequency band corresponding to the first antenna or the second antenna. By adopting this implementation method, the first controller directly connected to the application processor can not only realize the antenna switching function, but also realize the antenna tuning function. In this way, it not only optimizes the communication performance of specific user usage scenarios, but also meets the communication needs of the device in more frequency bands.
[0012] In one implementation, the second antenna is positioned on at least one side of the electronic device's side region. The side region includes the area of the electronic device that is not obscured by the user's hands when the user grips the top and bottom of the device, respectively. This implementation illustrates the specific placement of the second antenna. Based on this placement, communication performance can be optimized for specific user scenarios.
[0013] In one implementation, the switch includes at least one of a single-pole double-throw (SPDT) switch, a relay switch, and a single-pole multi-throw (SP4T) switch. This implementation provides multiple switch types, enabling multiple switching modes between the first antenna and the second antenna.
[0014] In one implementation, the first control line includes at least one of a general-purpose input / output (GPIO) control line and a mobile industry processor interface (MIPI) control line. This implementation provides multiple control line types, allowing the first controller to adapt to different types of control lines, thereby achieving low-power and high-speed control.
[0015] In one implementation, the first controller is electrically connected to the application processor and is not connected to the baseband processor or the radio frequency transceiver. This implementation, by providing a first controller connected only to the application processor, enables the first controller to control antenna switching in different scenarios, thereby preventing degradation of antenna efficiency and optimizing communication performance for specific user scenarios without sacrificing communication performance in general scenarios.
[0016] In one implementation, the first controller is electrically connected to the application processor and the baseband processor, and is not electrically connected to the RF transceiver. This implementation, by providing a first controller connected to both the application processor and the baseband processor, allows the baseband processor to simultaneously determine the deterioration of antenna efficiency when the application processor identifies a scenario, and thus determine whether to control antenna switching. This avoids antenna efficiency degradation and optimizes communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0017] In one implementation, the first controller is electrically connected to the application processor, the baseband processor, and the second controller. This implementation allows the first controller to be connected to the application processor, the baseband processor, and the second controller. This allows the baseband processor to simultaneously determine the antenna's deterioration efficiency when the application processor identifies a scenario, thereby determining whether antenna switching needs to be controlled. Furthermore, when the baseband processor is mismatched with the first controller and cannot directly transmit a message to the first controller, message conversion is performed based on the second controller. This avoids deterioration in antenna efficiency and optimizes communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0018] In one implementation, the application processor is further configured to determine whether the electronic device is in landscape mode; if the electronic device is in landscape mode, determine that the electronic device has entered a first scenario; and if the electronic device is not in landscape mode, determine that the electronic device has entered a second scenario. This implementation provides a specific method for the application processor to identify scenarios, thereby performing antenna switching and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0019] In one implementation, the application processor is further configured to determine whether the electronic device is in landscape mode, in gaming mode, and within a preset frequency band; if the electronic device is in landscape mode, in gaming mode, and within a preset frequency band, determine that the electronic device has entered a first scenario; and if the electronic device is not in landscape mode, gaming mode, or within a preset frequency band, determine that the electronic device has entered a second scenario. This implementation provides a specific method for the application processor to identify scenarios, thereby performing antenna switching and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0020] In one implementation, the RF transceiver is further configured to obtain a received signal strength indicator (RSSI) of the first antenna and send the RSSI to a baseband processor; the baseband processor is further configured to calculate a first degradation value corresponding to a reference signal power (RSRP) based on the RSSI and determine whether the first degradation value is greater than or equal to a first threshold; the baseband processor is further configured to send a fourth message to the first controller if the first degradation value is greater than or equal to the first threshold; and the first controller is further configured to switch the active antenna from at least a portion of the first antenna to at least a portion of the second antenna based on the first and fourth messages. This implementation provides a specific method for the baseband processor to determine antenna degradation efficiency, thereby performing antenna switching and avoiding antenna efficiency degradation. This allows for targeted optimization of communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0021] In one implementation, the baseband processor is further configured to, after determining the operating frequency band corresponding to the first antenna or the second antenna, send a third message to the first controller; and the first controller is further configured to, based on the third message, switch at least a portion of the first antenna to the corresponding operating frequency band when the operating antenna is at least a portion of the first antenna, or switch at least a portion of the second antenna to the corresponding operating frequency band when the operating antenna is at least a portion of the second antenna. This implementation provides a specific method for antenna tuning that not only optimizes communication performance for specific user scenarios but also meets the communication needs of electronic devices in more frequency bands.
[0022] In one implementation, the baseband processor is further configured to: upon mismatching with the MIPI of the first controller and after determining the operating frequency band corresponding to the first antenna or the second antenna; send a third message to the second controller; the second controller is further configured to: convert the third message into a format that matches the MIPI of the first controller and send the converted third message to the first controller; the first controller is further configured to: based on the converted third message, when the working antenna is at least a portion of the first antenna, switch at least a portion of the first antenna to the corresponding operating frequency band, or when the working antenna is at least a portion of the second antenna, switch at least a portion of the second antenna to the corresponding operating frequency band. This implementation provides a specific method for antenna tuning that not only optimizes the communication performance of a specific user scenario but also meets the communication needs of electronic devices in more frequency bands.
[0023] In one implementation, the first scenario also includes at least one of a scenario in which the user holds the electronic device in one hand and the electronic device is in landscape mode, and a scenario in which the user holds the electronic device in one hand and the electronic device is in portrait mode. This implementation provides more first scenarios, enabling the electronic device to maintain good communication performance despite various user holding methods.
[0024] In second aspect, the present application provides an antenna switching method, which includes: when the working antenna is at least a part of the first antenna, in response to the electronic device entering a first scene, controlling the application processor to send a first message to the first controller, the first scene including a scene in which the user holds the electronic device with both hands; based on the first message, controlling the first controller to switch the working antenna from at least a part of the first antenna to at least a part of the second antenna.
[0025] The antenna switching method provided in this application is based on a first controller directly connected to an application processor, so that the first controller can switch to a specific second antenna when the application processor recognizes a scenario in which a user holds an electronic device with both hands, thereby avoiding the deterioration of antenna efficiency and optimizing the communication performance of a specific user usage scenario without sacrificing the communication performance of a conventional scenario.
[0026] In one implementation, in response to the electronic device entering a first scenario, before controlling the application processor to send a first message to the first controller, the method further includes: in response to the electronic device entering a second scenario, controlling the application processor to send a second message to the baseband processor, where the second scenario includes scenarios other than the first scenario; controlling the baseband processor to receive the second message sent by the application processor and send the second message to a second controller built into the radio frequency transceiver; and, based on the second message, controlling at least a portion of the first antenna to function as an active antenna via the second controller. With this implementation, the second controller used in conventional scenarios remains unchanged, allowing the first antenna to function as an active antenna in conventional scenarios without sacrificing communication performance in conventional scenarios.
[0027] In one implementation, controlling a first controller to switch the active antenna from at least a portion of the first antenna to at least a portion of the second antenna includes: controlling a switch, via the first controller, so that the switch switches from the corresponding first antenna to the corresponding second antenna in response to a second signal transmitted by the first controller, where the second signal is converted by the first controller based on a first message. This implementation illustrates a specific method for the first controller to switch to a specific second antenna, thereby avoiding degradation of antenna efficiency and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0028] In one implementation, in response to the electronic device entering the first scenario, before controlling the application processor to send the first message to the first controller, the method further includes: determining whether the electronic device is in landscape mode; if so, determining that the electronic device has entered the first scenario; and if not, determining that the electronic device has entered the second scenario. This implementation provides a specific method for controlling the application processor to identify scenarios, thereby performing antenna switching and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0029] In one implementation, in response to the electronic device entering the first scenario, before controlling the application processor to send the first message to the first controller, the method further includes: determining whether the electronic device is in landscape mode, in gaming mode, and in a preset frequency band; if the electronic device is in landscape mode, in gaming mode, and in a preset frequency band, determining that the electronic device has entered the first scenario; and if the electronic device is not in landscape mode, gaming mode, or in a preset frequency band, determining that the electronic device has entered the second scenario. This implementation provides a specific method for controlling the application processor to identify scenarios, thereby performing antenna switching and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0030] In one implementation, the method further includes: controlling the radio frequency transceiver to obtain the received signal strength indicator RSSI of the first antenna and sending the RSSI to the baseband processor; controlling the baseband processor to calculate a first degradation value corresponding to the reference signal power level RSRP based on the RSSI, and determining whether the first degradation value is greater than or equal to a first threshold; if the first degradation value is greater than or equal to the first threshold, controlling the baseband processor to send a fourth message to the first controller. This implementation provides a specific method for the baseband processor to determine the degradation efficiency of the antenna, thereby performing antenna switching, avoiding degradation of antenna efficiency, and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0031] In one implementation, controlling the first controller to switch the active antennas from at least a portion of the first antennas to at least a portion of the second antennas includes: controlling the first controller to switch the active antennas from at least a portion of the first antennas to at least a portion of the second antennas based on the first message and the fourth message. This implementation enables antenna switching based on both the antenna scenario and the antenna's degraded efficiency, thereby avoiding degradation of antenna efficiency and optimizing communication performance for specific user scenarios without sacrificing communication performance in conventional scenarios.
[0032] In one implementation, the method further includes: controlling the baseband processor to determine the operating frequency band corresponding to the first antenna or the second antenna, and sending a third message to the first controller based on the operating frequency band; when the operating antenna is at least a portion of the first antenna, controlling the first controller to switch the at least a portion of the first antenna to the corresponding operating frequency band based on the third message; or, when the operating antenna is at least a portion of the second antenna, controlling the first controller to switch the at least a portion of the second antenna to the corresponding operating frequency band based on the third message. This implementation provides a specific method for antenna tuning that not only optimizes communication performance for specific user scenarios but also meets the communication needs of electronic devices in more frequency bands.
[0033] In one implementation, controlling the first controller to switch at least a portion of the first antenna to its corresponding operating frequency band based on a third message includes: controlling a tuning switch via the first controller so that the tuning switch responds to a third signal sent by the first controller and switches the corresponding first antenna from operating in the first frequency band to operating in the second frequency band; controlling the first controller to switch at least a portion of the second antenna to its corresponding operating frequency band based on the third message includes: controlling the tuning switch via the first controller so that the tuning switch responds to the third signal sent by the first controller and switches the corresponding first antenna from operating in the first frequency band to operating in the second frequency band. This implementation provides a specific method for antenna tuning that not only optimizes the communication performance of a specific user scenario but also meets the communication needs of electronic devices in more frequency bands.
[0034] In one implementation, controlling the baseband processor to determine the operating frequency band corresponding to the first antenna or the second antenna and, based on the operating frequency band, sending a third message to the first controller includes: controlling the baseband processor to send the third message to the second controller after the baseband processor and the first controller's MIPI mismatch have been established and the baseband processor has determined the operating frequency band corresponding to the first antenna or the second antenna; and controlling the second controller to convert the third message into a format that matches the MIPI of the first controller and send the converted third message to the first controller. This implementation provides a specific method for antenna tuning that optimizes communication performance for specific user scenarios while also meeting the communication needs of electronic devices in more frequency bands.
[0035] In a third aspect, the present application provides an electronic device, comprising the antenna switching device as described in the first aspect and any implementation thereof.
[0036] In a fourth aspect, the present application provides an electronic device comprising a processor and a memory; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the method as described in the second aspect and any implementation thereof.
[0037] In a fifth aspect, the present application provides a chip system comprising: a memory and a processor; the memory stores program instructions, and when the program instructions are executed by the processor, the chip system executes the method in the second aspect and any implementation thereof.
[0038] In a sixth aspect, the present application provides a computer storage medium, in which program instructions are stored. When the program instructions are run on a computer, the computer executes the method in the second aspect and any implementation thereof.
[0039] In a seventh aspect, the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the method in the second aspect and any of its implementations.
[0040] It can be understood that the electronic devices, computer-readable storage media and computer program products provided in the above aspects are all applied to the corresponding devices or methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a schematic diagram of the distribution of antennas in electronic devices;
[0042] Figure 2 It is a schematic diagram of a user holding scenario;
[0043] Figure 3 Schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application;
[0044] Figure 4 is a schematic diagram of the software structure of the electronic device provided in an embodiment of the present application;
[0045] Figure 5 This is a first structural diagram of the antenna switching device provided in an embodiment of the present application;
[0046] Figure 6 is a schematic diagram of the second antenna of the antenna switching device provided in an embodiment of the present application;
[0047] Figure 7 This is a schematic diagram of a first configuration mode of the application processor provided in an embodiment of the present application;
[0048] Figure 8 This is a schematic diagram of a second configuration method of the application processor provided in an embodiment of the present application;
[0049] Figure 9 This is a second structural diagram of the antenna switching device provided in an embodiment of the present application;
[0050] Figure 10 This is a third structural diagram of the antenna switching device provided in an embodiment of the present application;
[0051] Figure 11 This is a fourth structural diagram of the antenna switching device provided in an embodiment of the present application;
[0052] Figure 12 This is a fifth structural diagram of the antenna switching device provided in an embodiment of the present application;
[0053] Figure 13 It is a schematic structural diagram of electronic equipment in other embodiments of the present application. DETAILED DESCRIPTION
[0054] The following will clearly describe the technical solutions of the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, other embodiments obtained by ordinary technicians in this field without making any creative work are all within the scope of protection of this application.
[0055] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "a plurality" means two or more. Words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not limit them to be necessarily different.
[0056] In addition, in this application, directional terms such as "upper", "lower", "inner" and "outer" are defined relative to the orientation of the components in the drawings. It should be understood that these directional terms are relative concepts. They are used for relative description and clarification, and they can change accordingly according to changes in the orientation of the components in the drawings.
[0057] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0058] The following first describes the application scenarios of the embodiments of the present application.
[0059] An antenna is a device used to transmit or receive electromagnetic waves, commonly used in wireless communications. It can convert electrical energy into radio waves and radiate them into space, or extract electrical energy from received radio waves. Antennas are crucial components in electronic devices, and their performance directly impacts the transmission quality and coverage of wireless signals.
[0060] Figure 1 This is a schematic diagram of the distribution of antennas in electronic devices.
[0061] like Figure 1As shown, taking a mobile phone 10 as an example, the antennas in mobile phone 10 can be distributed in the top and bottom areas of mobile phone 10. Antennas typically include a main antenna, a Wireless Fidelity (Wi-Fi) antenna, a Bluetooth (BT) antenna, a Global Positioning System (GPS) antenna, and a Near Field Communication (NFC) antenna. The main antenna is typically located in the top area of the mobile phone and is used to receive 2G, 3G, 4G, and 5G signals, enabling communication between the mobile phone 10 and a base station and achieving stable signal transmission. The Wi-Fi antenna, Bluetooth antenna, and GPS antenna are typically located in the bottom area of the mobile phone 10 and are used to receive or transmit corresponding Wi-Fi, Bluetooth, and GPS signals. These antennas typically have a certain gain effect, which can enhance the reception of the corresponding signals. Placing these antennas in the bottom area of the mobile phone 10 is less likely to cause harm to the human body. The NFC antenna is typically located in the back or bottom area of the mobile phone 10 and is used to implement near-field communication functions. The embodiments of this application are not limited to the type of antenna.
[0062] For example, the top area of the mobile phone 10 is distributed with a first working antenna 20 and a second working antenna 30, and the bottom area of the mobile phone 10 is distributed with a third working antenna 40 and a fourth working antenna 50. The first working antenna 20, the second working antenna 30, the third working antenna 40, and the fourth working antenna 50 can be four antennas operating in the same frequency band, which can be a frequency band in any signal network such as 2G, 3G, 4G, 5G, Wi-Fi, GPS, etc. It should be noted that the antenna distribution positions in the mobile phone 10 are only for illustrative purposes, and the actual distribution positions of the antennas are determined according to specific circumstances.
[0063] When several antennas of a certain frequency band are distributed in the top and bottom areas of the mobile phone 10, and the user holds the mobile phone 10 in different holding methods, for some holding methods, the user's hand can easily block the antenna, resulting in deterioration of the antenna efficiency at the above-mentioned positions and affecting the antenna performance.
[0064] Figure 2 It is a schematic diagram of a user holding scenario.
[0065] like Figure 2 As shown, for example, in mobile phone 10, some game applications need to be run when mobile phone 10 is in landscape mode. When a user holds mobile phone 10 in landscape mode with both hands, the user's hands can easily block the second working antenna 30 and the fourth working antenna 50. Therefore, if the user needs to communicate at this time, the efficiency of the blocked antennas will deteriorate, resulting in a decrease in the overall communication performance of the antennas.
[0066] Correspondingly, other ways of holding the phone by the user may also block the antenna. For example, when the user holds the mobile phone 10 in portrait mode with his right hand, the third working antenna 40 may be blocked (not shown in the drawings of this application). Alternatively, when the user holds the mobile phone 10 in landscape mode with his left hand, the second working antenna 30 may be blocked (not shown in the drawings of this application), affecting the overall communication performance of the antenna.
[0067] That is, during user communication, there are various user holding methods that may deteriorate the efficiency of the antenna, thereby reducing the overall communication performance of the antenna.
[0068] In order to solve the problem of reduced overall communication performance of the antenna due to deterioration of antenna efficiency in scenarios where a user holds an electronic device with both hands for communication, or other extreme communication scenarios, an embodiment of the present application provides an antenna switching device.
[0069] The antenna switching device provided in the embodiment of the present application can be applied to electronic devices, wherein the electronic devices include but are not limited to mobile phones, tablet computers, personal computers, workstation equipment, large-screen devices (for example: smart screens, smart TVs, etc.), wearable devices (for example: smart bracelets, smart watches), handheld game consoles, home game consoles, virtual reality devices, augmented reality devices, mixed reality devices, etc., in-vehicle smart terminals, etc.
[0070] Figure 3 This is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application.
[0071] like Figure 3 As shown, the electronic device 100 may include a processor 110, a memory 120, an antenna 1A, an antenna 2A, a mobile communication module 130, a wireless communication module 140, a sensor module 150, a display screen 160, etc. Among them, the sensor module 150 may include a touch sensor 150A, a proximity light sensor 150B, an acceleration sensor 150C, etc.
[0072] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0073] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor (BP), and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0074] The memory 120 can be used to store computer executable program codes, and the executable program codes include instructions. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory (Universal Flash Storage, UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the memory 120, and / or instructions stored in a memory provided in the processor.
[0075] The wireless communication function of the electronic device 100 can be implemented through the antenna 1A, the antenna 2A, the mobile communication module 130, the wireless communication module 140, the modem processor and the baseband processor.
[0076] Antenna 1A and antenna 2A are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1A can be reused as a diversity antenna for a wireless local area network. In embodiments of the present application, the antennas can be used in conjunction with a toggle switch and a tuning switch.
[0077] The mobile communication module 130 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 130 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 130 can receive electromagnetic waves from the antenna 1A, filter, amplify, and perform other processing on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 130 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1A. In some embodiments, at least some of the functional modules of the mobile communication module 130 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 130 can be set in the same device as at least some of the modules of the processor 110.
[0078] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs the sound signal through the audio device or displays an image or video through the display screen 160. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 130 or other functional modules.
[0079] The wireless communication module 140 can provide wireless communication solutions including wireless local area networks (WLAN), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 140 can be one or more devices that integrate at least one communication processing module. The wireless communication module 140 receives electromagnetic waves via the antenna 2A, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 140 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2A.
[0080] In some embodiments, antenna 1A of electronic device 100 is coupled to mobile communication module 130, and antenna 2A is coupled to wireless communication module 140, so that electronic device 100 can communicate with a network and other devices through wireless communication technology. Wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Beidou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS) and / or the Satellite Based Augmentation System (SBAS).
[0081] Electronic device 100 implements display functionality through a GPU, display screen 160, and an application processor. A GPU is a microprocessor for image processing that connects display screen 160 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0082] The display screen 160 is used to display images, videos, etc. The display screen 160 includes a display panel.
[0083] The touch sensor 150A is also called a "touch control device". The touch sensor 150A can be set on the display screen 160, and the touch sensor 150A and the display screen 160 form a touch screen, also called a "touch control screen". The touch sensor 150A is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 160. In other embodiments, the touch sensor 150A can also be set on the surface of the electronic device 100, which is different from the position of the display screen 160. In the embodiment of the present application, the touch sensor can be used to detect the touch position of the user on the display screen 160 to determine the user's holding state.
[0084] The proximity light sensor 150B may include, for example, a light emitting diode and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 150B to detect that the user is holding the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and pocket mode automatically unlocks and locks the screen. In an embodiment of the present application, the proximity light sensor 150B can be used to detect whether the display screen 160 is blocked by the user's hand.
[0085] Accelerometer 150C can detect the magnitude of the acceleration of electronic device 100 in all directions (generally three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the electronic device's posture, for applications such as switching between landscape and portrait modes and pedometers. In this embodiment of the present application, accelerometer 150C can be used to detect whether electronic device 100 is in landscape mode.
[0086] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.
[0087] Figure 4 It is a schematic diagram of the software structure of the electronic device provided in the embodiment of the present application.
[0088] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0089] The application layer can include a series of application packages.
[0090] like Figure 4 As shown, the application package may include applications such as battery management, camera, gallery, calendar, call, map, navigation, music, video, short message, etc. In the embodiment of the present application, the application package may include a game application.
[0091] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0092] like Figure 4 As shown, the application framework layer may include a window manager, an input manager, a sensor manager, a phone manager, a resource manager, a notification manager, and the like.
[0093] The input manager can be used to monitor user input events, such as click events and slide events performed by the user's finger on the display screen 160 of the electronic device 100. By monitoring the input events, the electronic device 100 can determine whether the electronic device is being used.
[0094] The sensor manager is used to monitor the data returned by various sensors in the electronic device, such as motion sensor data, proximity sensor data, temperature sensor data, etc. Using the data returned by each sensor, the electronic device can determine whether it is shaking or whether the display screen 160 is blocked.
[0095] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0096] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0097] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0098] The system library can include multiple functional modules, such as the surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0099] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0100] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0101] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0102] A 2D graphics engine is a drawing engine for 2D drawings.
[0103] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, power driver, audio driver, sensor driver, etc.
[0104] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0105] Based on the hardware and software structures of the above-mentioned electronic device, the specific configuration of the antenna switching device provided in the embodiment of the present application is as follows:
[0106] Figure 5 This is the first structural diagram of the antenna switching device provided in an embodiment of the present application.
[0107] like Figure 5 As shown, the antenna switching device 200 includes: an application processor 1 , a first controller 2 , a baseband processor 3 , a radio frequency transceiver 4 , at least one first antenna 5 and at least one second antenna 6 .
[0108] Among them, the application processor 1 and the baseband processor 3 can be integrated on a system on chip (System on Chip, SOC). Such an SOC chip is also called an AP+BP SOC chip. In this chip, the application processor 1 is used to process tasks such as applications, graphics rendering and user interface on electronic devices. It is equipped with a powerful central processing unit (CPU) and GPU, and can support complex applications and games. The baseband processor 3 is used to process baseband signals for mobile communications, such as modulation and demodulation signals, channel coding and decoding signals, and radio frequency control signals. The combination of the application processor 1 and the baseband processor 3 enables electronic devices to efficiently process applications and wireless communication tasks, and provides better performance and power consumption control for electronic devices, while simplifying the system architecture of electronic devices.
[0109] The application processor 1 is electrically connected to the baseband processor 3 to send control instructions and data to the baseband processor 3, thereby controlling and exchanging data with the baseband processor 3. Specifically, the application processor 1 can send control instructions to the baseband processor 3 using a specific communication protocol or driver. These control instructions can be used to activate the communication module, set communication parameters, switch network standards, etc.
[0110] After receiving the control instruction, the baseband processor 3 needs to send the control instruction to the RF transceiver 4 electrically connected thereto, so that the RF transceiver 4 converts the control instruction into an analog RF signal and sends it to at least one first antenna 5. In this way, the first antenna 5 can transmit and receive wireless signals.
[0111] At least one first antenna 5 can be an antenna set in the top area or the bottom area of the electronic device, and multiple first antennas 5 are antennas operating in the same frequency band. When the user's hand does not block the first antenna 5, the above-mentioned method of the application processor 1 sending a control instruction to the first antenna 5 can be adopted to enable the first antenna 5 to realize the communication function. It should be noted here that the setting method of multiple first antennas 5 in the embodiment of the present application can be referred to. Figure 1 .
[0112] Specifically, the RF transceiver 4 includes a built-in second controller 41. The second controller 41 may be integrated into the RF transceiver 4 by the manufacturer of the RF transceiver 4 and configured with pre-programmed functions to enable the second controller 41 to manage and control various functions of the RF front end. The RF transceiver 4 primarily controls the first antenna 5 through the second controller 41.
[0113] The antenna switching device 200 further includes a main module 7 and a diversity module 8. One end of the main module 7 is electrically connected to the RF transceiver 4, and the other end is electrically connected to the first antenna 5. The main module 7 generally includes a resource element group (REG), a power amplifier (PA), a low noise amplifier (LNA), and other devices, which are used to receive analog RF signals from the RF transceiver 4, amplify, filter, and demodulate the analog RF signals, and then send them to the first antenna 5. The main module 7 also includes a first selection switch 71, which can be used to receive instructions from the second controller 41 to select one or more first antennas 5 connected to the main module 7 for operation.
[0114] One end of the diversity module 8 is electrically connected to the RF transceiver 4, and the other end is electrically connected to the first antenna 5, and the diversity module 8 is also electrically connected to the main set module 7. In this way, the main set module 7 can supply power to the diversity module 8 with the first power and work in conjunction with the diversity module 8. In fact, the diversity module 8 can work in conjunction with the main set module 7 or independently, and the embodiments of the present application are not limited to this. During the collaborative work between the main set module 7 and the diversity module 8, the main set module 7 can perform a transmit (Transmit, Tx) operation on the diversity module 8 to transmit data, voltage or signal to the diversity module 8. The diversity module usually includes devices such as REG and LNA, and can use multiple transmission paths or multiple first antennas 5 to receive the same signal sent by the main set module 7, thereby improving the signal reception quality and reducing the bit error rate caused by channel fading. The coordinated use of main antenna module 7 and diversity module 8 can address multipath effects and signal fading in wireless transmission, thereby increasing the device's coverage, reducing signal loss, and improving the reliability and performance of the communication link. Diversity module 8 also includes a second selection switch 81, which can be used to receive instructions from second controller 41 to select one or more first antennas 5 connected to diversity module 8 for operation.
[0115] In this way, the RF transceiver 4 can adjust the first antenna 5 through the main set module 7 and / or the diversity module 8 to ensure the stability of the transmission efficiency of the first antenna 5.
[0116] However, when the user's hand blocks the first antenna 5, the efficiency of some antennas in the first antenna 5 deteriorates. Relying solely on the first antenna 5 to realize the communication function will lead to a decrease in the overall communication performance. At this time, the communication function needs to be realized based on the second antenna 6.
[0117] Figure 6 2 is a schematic diagram of the second antenna of the antenna switching device provided in an embodiment of the present application.
[0118] like Figure 6 As shown, the second antenna 6 can be located on at least one side of the electronic device's side region. This side region includes the area of the electronic device that is not obstructed by the user's hands when the user grips the electronic device with both hands at the top and bottom, respectively. In this way, the combination of the first antenna 5 and the second antenna 6 ensures that an antenna is not obstructed when the user grips the electronic device in different ways, without affecting overall communication performance. The second antenna 6 operates in the same frequency band as the first antenna 5.
[0119] It should be noted here that the embodiment of the present application can implement the communication function based on the combination of the first antenna 5 and the second antenna 6, or can implement the communication function based on the second antenna 6 alone, and the present application is not limited to this.
[0120] In the embodiment of the present application, the second antenna 6 may be independently controlled by the first controller 2. The first controller 2 may be a controller independent of the SOC chip and the RF transceiver 4.
[0121] In one implementation, the first controller 2 is electrically connected to the application processor 1 and is not electrically connected to the baseband processor 3 or the RF transceiver 4. This allows the first controller 2 to receive control instructions from the application processor 1 for switching between the first antenna 5 and the second antenna 6. Therefore, compared to the limitations of the second controller 41, which is limited by pre-built programs, the first controller 2 can be configured with more programs. Furthermore, configuring programs in the first controller 2 reduces the cost of modifying pre-built programs in the second controller 41.
[0122] Specifically, the first controller 2 can switch the first antenna 5 and the second antenna 6 through at least one switching switch 9. Each switching switch 9 is set in a one-to-one correspondence with the second antenna 6, one end of which is connected to the first controller 2 based on the first control line 11, and is electrically connected to the main module 7 or the diversity module 8, and the other end is connected to a first antenna 5 or a second antenna 6. Among them, the switching switch 9 includes at least one of a single-pole double throw (SPDT) switch, a relay switch, and a single-pole multiple throw (SP4) switch. The embodiment of the present application does not limit the type of the switching switch. The first control line includes at least one of a general purpose input / output (GPIO) control line and a mobile industry processor interface (MIPI) control line. The embodiment of the present application does not limit the specific type of the first control line. Specifically, the GPIO control line can be used to control the SPDT switch, and the MIPI control line can be used to control the SP4T switch.
[0123] Based on the connection method between the above components, the antenna switching device 200 can be configured as follows.
[0124] Further Figure 5 As shown, for example, antenna switching device 200 is provided with four first antennas 5 and one second antenna 6, wherein first selection switch 71 in main module 7 corresponds to two first antennas 5 and one second antenna 6, and second selection switch 81 in diversity module 8 corresponds to two first antennas 5. This embodiment of the application does not limit the specific number of first antennas 5 and second antennas 6. The following content of this embodiment is explained exemplarily based on the structure of antenna switching device 200.
[0125] The first selection switch 71 can choose to work via one antenna or two antennas. Taking the first selection switch 71 working via two antennas as an example, the first selection switch 71 can be connected to a switching switch 9 on one of the antennas, and the switching switch 9 corresponds to a first antenna 5 and a second antenna 6. On the other antenna, the first selection switch 71 is directly connected to a first antenna 5.
[0126] In this way, when antenna switching is not required, the switch 9 can be used to provide a path between the first selection switch 71 and a first antenna 5, so that the first antenna 5 can be controlled by the main module 7. When antenna switching is required, the switch 9 can only respond to the control of the first controller 2 and switch to the second antenna 6.
[0127] Accordingly, the second selection switch 81 can choose to work via one antenna or two antennas. Since the second selection switch 81 is directly connected to the two first antennas 5, the second selection switch 81 corresponding to the first antenna 5 does not involve the antenna switching process.
[0128] In the embodiment of the present application, since the first controller 2 is electrically connected to the application processor 1, the application processor 1 can identify the user's gripping scenario and, based on the identified gripping scenario, issue a control instruction to the first controller 2 to implement antenna switching. This eliminates the need for the application processor 1 to issue a control instruction to the baseband processor 3, which then issues the control instruction to the second controller 41. This reduces the transmission process of the control instruction and improves the efficiency of antenna switching.
[0129] Specifically, the application processor 1 may be configured to: when the working antenna is at least a part of the first antenna 5 , in response to the electronic device entering the first scene, send a first message to the first controller 2 .
[0130] In the embodiment of the present application, the first scenario includes a scenario in which the first antenna 5 is blocked by the user's hand. For example, the first scenario includes at least one of a scenario in which the user holds the electronic device with both hands, a scenario in which the user holds the electronic device with one hand and the electronic device is in landscape mode, and a scenario in which the user holds the electronic device with one hand and the electronic device is in portrait mode. The embodiment of the present application is not limited to the first scenario.
[0131] The application processor 1 may determine that the electronic device enters the first scene in the following manner.
[0132] Figure 7 This is a schematic diagram of the first configuration method of the application processor provided in an embodiment of the present application.
[0133] like Figure 7 As shown, in one implementation, the application processor 1 is configured to execute the following steps S101-S103.
[0134] Step S101: Determine whether the electronic device is in a landscape mode.
[0135] In one implementation, the application processor 1 may read data from the acceleration sensor through an application programming interface (API) provided by the operating system to determine the tilt angle or rotation direction of the electronic device, and further determine whether the electronic device is in a landscape state.
[0136] In one implementation, the application processor 1 can monitor the aspect ratio of the display to determine whether the electronic device is in landscape mode. In landscape mode, the width of the display is generally greater than its height, while in portrait mode, the height of the display is generally greater than its width. This is because in landscape mode, the electronic device is suitable for playing videos or playing games, which requires a wide display space to provide a better visual experience. In this case, the aspect ratio of the display can be close to 16:9. In portrait mode, the electronic device is suitable for making calls or reading long texts. In this case, the aspect ratio of the display can be close to 1:2.
[0137] The application processor 1 may also determine whether the electronic device is in the landscape state in other ways, which is not limited in this embodiment of the present application.
[0138] Step S102: If the electronic device is in a horizontal state, determine that the electronic device enters a first scene.
[0139] After the application processor 1 determines that the electronic device is in the landscape state and enters the first scene, the application processor 1 may send a first message to the first controller 2 .
[0140] Among them, the message format and communication method of the first message can be determined according to the operating system or hardware specifications of the electronic device. This application does not limit the message format of the first message.
[0141] The first controller 2 may be configured to: based on the first message, switch the working antenna from at least a portion of the first antenna 5 to at least a portion of the second antenna 6 .
[0142] For example, the antenna switching device 200 in the above example is used for illustration, where the working antennas may include the first antenna 5 connected to the first selection switch 71 via the path formed by the switching switch 9, the first antenna 5 directly connected to the first selection switch 71, and two first antennas 5 directly connected to the second selection switch 81. Based on the first message, the first controller 2 may switch one of the first antennas 5 corresponding to the switching switch 9 to one of the second antennas 6 corresponding to the switching switch 9.
[0143] Each switch 9 can be configured to, in response to a second signal sent by the first controller 2, switch from being connected to the corresponding first antenna 5 to being connected to the corresponding second antenna 6, so that the corresponding second antenna 6 is electrically connected to the main module 7 as a working antenna, and / or so that the corresponding second antenna 6 is electrically connected to the diversity module 8 as a working antenna. The second signal is obtained by the first controller 2 based on the conversion of the first message.
[0144] That is, after receiving the first message, the first controller 2 converts the first message into a second signal and sends the second signal to the switch 9, so that the switch 9 switches the first antenna 5 to the second antenna 6. The second signal can be a transmission signal that matches the MIPI control line.
[0145] Thus, when the electronic device enters the first scenario, the working antennas are switched from four first antennas 5 to one second antenna 6 and three first antennas 5. The combination of the first antenna 5 and the second antenna 6 complements each other and optimizes the communication performance of the antenna in the first scenario.
[0146] Step S103: If the electronic device is not in the landscape mode, determine whether the electronic device has entered the second scene.
[0147] The second scene is a scene other than the first scene, that is, a scene in which any of the first antennas 5 are not blocked. It should be noted that the first and second scenes alternate. When an electronic device enters the first scene, it exits the second scene, and when an electronic device enters the second scene, it exits the first scene. Under normal circumstances, electronic devices are mostly in the second scene.
[0148] In the second scenario, since the first antenna 5 is not blocked, the application processor 1 can control the first antenna 5 through the path where the baseband processor 3 and the RF transceiver 4 are located. That is to say, the second antenna 6 is not needed in the second scenario. In this way, the antenna switching device 200 will not sacrifice the communication performance of the conventional scenario.
[0149] Application processor 1 may be configured to, in response to the electronic device entering the second scenario, send a second message to baseband processor 3. Baseband processor 3 may be configured to receive the second message sent by application processor 1 and send the second message to RF transceiver 4. RF transceiver 4 may be configured to, based on the second message, control at least a portion of first antenna 5 to function as an active antenna.
[0150] Specifically, the RF transceiver 4 controls the first antenna 5 as a working antenna through the main module 7 and / or the diversity module 8. The main module 7 can be configured to: control the first antenna 5 electrically connected to the main module 7 as a working antenna in response to a first signal sent by the second controller 41, and / or power the diversity module 8 with a first power, the first signal being obtained by the second controller 41 based on the conversion of the second message. The diversity module 8 can be configured to: control the first antenna 5 electrically connected to the diversity module 8 as a working antenna in response to the first signal sent by the second controller 41 and after receiving power from the main module 7.
[0151] The electronic device can be divided into two situations in the second scenario. The first is that the electronic device always operates in the second scenario, and the switching process between the second scenario and the first scenario does not occur. In this case, the working antennas can always be the four first antennas 5. The second is that the electronic device switches from the first scenario to the second scenario. In this case, the working antennas switch from one second antenna 6 and three first antennas 5 to four first antennas 5.
[0152] In this way, after the electronic device enters the second scenario, the working antennas are the four first antennas 5, and the communication performance of the antennas in the conventional scenario will not be sacrificed.
[0153] Figure 8 This is a schematic diagram of the second configuration method of the application processor provided in an embodiment of the present application.
[0154] like Figure 8 As shown, in one implementation, the application processor 1 is configured to execute the following steps S201-S203.
[0155] Step S201 , determining whether the electronic device is in a horizontal state, in a game mode, and in a preset frequency band.
[0156] Among them, the method of determining whether the electronic device is in the horizontal screen state can refer to the above embodiment, and this application will not elaborate on it.
[0157] When the electronic device is in landscape mode, the user is not necessarily playing games, but holding the electronic device with both hands. Alternatively, the user may place the electronic device on a stand to play videos. In this case, the second antenna 6 arranged in the side area of the electronic device may be blocked by the stand, and the communication performance of the second antenna 6 may be affected. Therefore, it is necessary to further determine whether the electronic device is in gaming mode.
[0158] In one implementation, the application processor 1 can detect whether the system performance of the electronic device has changed to determine whether the electronic device is in gaming mode. In gaming mode, the operating frequency and memory management strategy of the CPU and GPU of the electronic device may change.
[0159] In one implementation, the application processor 1 may detect whether a user's behavior pattern has changed to determine whether the electronic device is in gaming mode. In gaming mode, the user may frequently tap the screen or use a game controller. The electronic device may determine that the device is in gaming mode upon detecting such user behavior.
[0160] In one implementation, the application processor 1 may detect a game application running in the foreground to determine whether the electronic device is in a game mode.
[0161] In one implementation, the application processor 1 can detect hardware indicators of the electronic device to determine whether the electronic device is in the gaming mode. In the gaming mode, the temperature of the electronic device rises and the power consumption increases.
[0162] When the electronic device is in landscape mode and in gaming mode, it is likely to be held in two hands. In order to further achieve good communication performance of the antenna, it is necessary to further determine whether the electronic device is in the optimized frequency band so as to adjust the frequency of the electronic device in the optimized frequency band.
[0163] A preset frequency band can be set in an electronic device. For example, the preset frequency band is the N41 frequency band. The N41 frequency band can be a specific frequency band in 5G wireless communications, operating in the range of 2.5-2.7 GHz. The use of this frequency band can provide higher bandwidth and data transmission speed to meet the needs of large-capacity and high-speed data. In the embodiment of the present application, the preset frequency band can also be other frequency bands, and the embodiment of the present application is not limited to this.
[0164] In one implementation, the application processor 1 may query a list of frequency bands supported by the electronic device through an API provided by the operating system to determine whether the electronic device is in a preset frequency band.
[0165] In one implementation, the application processor 1 may determine whether the electronic device is in a preset frequency band through interaction between the operating system and the driver.
[0166] Step S202: If the electronic device is in a horizontal state, in a game mode, and in a preset frequency band, it is determined that the electronic device enters a first scene.
[0167] After the application processor 1 determines that the electronic device is in landscape mode, in game mode, and in a preset frequency band, and determines that the electronic device enters the first scene, the application processor 1 may send a first message to the first controller 2 .
[0168] In this way, the electronic device determines that it has entered the first scenario based on more judgment conditions, improving the accuracy of scenario judgment. The working antenna can be switched from four first antennas 5 to one second antenna 6 and three first antennas 5. The combined use of the first antenna 5 and the second antenna 6 forms a complementary advantage, and the communication performance of the antenna in the first scenario is optimized. It should be noted that the embodiments of the present application include but are not limited to the above-mentioned judgment conditions. In order to improve the accuracy of scenario judgment, the embodiments of the present application can add more judgment conditions, and the embodiments of the present application are not limited to this.
[0169] Step S203: If the electronic device is not in the landscape state, the game mode, or the preset frequency band, it is determined that the electronic device has entered the second scene.
[0170] That is, if the electronic device does not meet any of the above determination conditions, it is determined that the electronic device enters the second scenario. In this way, the antenna switching device 200 can avoid sacrificing the communication performance of the normal scenario.
[0171] The first structure of the antenna switching device 200 in the embodiment of the present application is directly connected to the first controller 2 through the application processor 1. When the application processor 1 recognizes the first scene, it can quickly control the first controller 2 to switch between the first antenna 5 and the second antenna 6, so that the second antenna 6 that is not blocked by the user's hand can ensure the overall communication performance of the electronic device without sacrificing the communication performance in the second scene.
[0172] Figure 9 This is a second structural diagram of the antenna switching device provided in an embodiment of the present application.
[0173] like Figure 9 As shown, in some other embodiments, based on the first structure of the antenna switching device 200 , the first controller 2 is further electrically connected to the baseband processor 3 .
[0174] That is, the first controller 2 is electrically connected to the application processor 1 and the baseband processor 3 , but is not electrically connected to the radio frequency transceiver 4 .
[0175] In the embodiment of the present application, since the first controller 2 is electrically connected to the application processor 1 and the baseband processor 3, the application processor 1 can identify the user's holding scenario, and at the same time, the baseband processor 3 can detect the reference signal power level (RSRP). In this way, the application processor 1 sends a control instruction to the first controller 2 based on the identified holding scenario, and the baseband processor 3 sends a control instruction to the first controller 2 based on the detected RSRP. The first controller 2 can switch the antenna after receiving these two control instructions. The process of the baseband processor 3 sending instructions to the first controller 2 can provide more judgment conditions to ensure that the current antenna needs to be switched, avoiding sacrificing the communication performance of conventional scenarios.
[0176] Specifically, the RF transceiver 4 may be configured to obtain a received signal strength indicator (RSSI) of the first antenna 5 , and send the RSSI to the baseband processor 3 .
[0177] RSSI is an indicator used to measure the received power of radio signals and is commonly used to evaluate the communication quality and distance between wireless devices.
[0178] The RF transceiver 4 can only obtain the RSSI but cannot perform numerical processing on it. Therefore, the RF transceiver 4 needs to send the RSSI to the baseband processor 3 so that the baseband processor 3 can further process the RSSI.
[0179] The baseband processor 3 may be configured to calculate a first degradation value corresponding to the RSRP based on the RSSI, and determine whether the first degradation value is greater than or equal to a first threshold. If the first degradation value is greater than or equal to the first threshold, a fourth message is sent to the first controller 2. The first threshold may be a critical value at which the RSRP affects the overall communication performance of the electronic device. The specific value of the first threshold is not limited in this embodiment of the present application.
[0180] RSRP is an indicator used to measure the received reference signal power in Long Term Evolution (LTE) and 5G networks, indicating the power level of the reference signal transmitted by the received base station.
[0181] It should be noted here that the above-mentioned baseband processor 3 can perform the RSRP judgment process simultaneously with the application processor 1 executing the process of steps S101-S103, or executing the process of steps S201-S203. In this way, the application processor 1 and the baseband processor 3 can send the first message and the fourth message to the first controller 2 at the same time.
[0182] The first controller 2 may be configured to switch the working antenna from at least a portion of the first antenna 5 to at least a portion of the second antenna 6 based on the first message and the fourth message.
[0183] In this way, the electronic device determines that antenna switching is required based on the first scenario and further criteria such as RSRP. The active antennas can be switched from four first antennas 5 to one second antenna 6 and three first antennas 5. The combination of the first antenna 5 and the second antenna 6 complements each other's strengths, specifically optimizing the antenna's communication performance in the first scenario and in scenarios with poor antenna signal quality.
[0184] The second structure of the antenna switching device 200 in the embodiment of the present application is directly connected to the first controller 2 through the application processor 1, and the baseband processor 3 is directly connected to the first controller 2. When the application processor 1 recognizes the first scenario and the baseband processor 3 detects a high degree of RSRP deterioration, it can quickly control the first controller 2 to switch between the first antenna 5 and the second antenna 6, so that the second antenna 6 that is not blocked by the user's hand ensures the overall communication performance of the electronic device without sacrificing the communication performance in the second scenario.
[0185] In the first and second configurations of the antenna switching device 200 in the embodiments of the present application, only one switch 9 and one second antenna 6 are provided for exemplary illustration. Based on these two configurations, switching to the second antenna 6 is required when both scenario determination and RSRP degradation level determination are satisfied. If the antenna switching device 200 includes more switches 9 and more second antennas 6, different second antennas 6 can be switched based on either scenario determination or RSRP degradation level determination, or based on one or more of these determination methods. The specific implementation is as follows.
[0186] Figure 10 This is the third structural diagram of the antenna switching device provided in an embodiment of the present application.
[0187] like Figure 10 As shown, in one implementation, four first antennas 5 and four second antennas 6 are provided in the antenna switching device 200, wherein the first selection switch 71 in the main set module 7 corresponds to two first antennas 5 and two second antennas 6, and the second selection switch 81 in the diversity module 8 corresponds to two first antennas 5 and two second antennas 6.
[0188] The first selection switch 71 works via two antenna paths. In each path, the first selection switch 71 is connected to a switch 9 . Each switch 9 corresponds to a first antenna 5 and a second antenna 6 .
[0189] The second selection switch 81 works via two antenna paths. In each path, the second selection switch 81 is connected to a switch 9 . Each switch 9 corresponds to a first antenna 5 and a second antenna 6 .
[0190] The first controller 2 is electrically connected to each switch 9 via a first control line 11 to control each switch 9 to perform antenna switching.
[0191] It should be noted here that the third structure of the antenna switching device 200 in this embodiment can be applied to horizontal screen gaming scenarios, as well as scenarios with large downlink data throughput requirements such as watching videos and downloading, so as to simultaneously optimize multiple first scenarios.
[0192] Specifically, the antenna switching device 200 may be configured as follows.
[0193] In one implementation, the antenna switching device 200 is configured to perform the following steps S301 - S310 .
[0194] Step S301: Determine, by the application processor 1, whether the electronic device is in a landscape state.
[0195] Step S302 : If the electronic device is in the landscape state, it is determined that the electronic device has entered the first scene, and the application processor 1 is controlled to send a first message to the first controller 2 in response to the electronic device entering the first scene.
[0196] Step S303: Calculate the RSSI obtained by the RF transceiver 4 through the baseband processor 3 to obtain a first degradation value corresponding to the RSRP, and determine whether the first degradation value is greater than or equal to a first threshold;
[0197] Step S304 : If the first degradation value is greater than or equal to the first threshold, control the baseband processor 3 to send a fourth message to the first controller 2 .
[0198] Step S305 : The first controller 2 switches the working antenna from at least a portion of the first antenna 5 to at least a portion of the second antenna 6 based on the first message and the fourth message.
[0199] For example, based on the above steps S301 - S305 , the switch 9 of one path of the first selection switch 71 is controlled to switch from a first antenna 5 to a second antenna 6 .
[0200] It should be noted here that step S303 can be executed simultaneously with step S301, or can be executed after step S302. This application only uses step S303 executed after step S302 for exemplary explanation, and the specific implementation method is set according to actual conditions.
[0201] After step S301, step S306 is also included.
[0202] Step S306 : If the electronic device is not in the landscape state, it is determined that the electronic device has entered the second scene, and the application processor 2 is controlled to send a second message to the first controller 2 in response to the electronic device entering the second scene.
[0203] After step S303, step S307 is also included.
[0204] Step S307 : Based on the second message and the fourth message, the first controller 2 switches the working antenna from at least a portion of the first antenna 5 to at least a portion of the second antenna 6 .
[0205] For example, based on the above steps S301 - S307 , the switch 9 of one path of the second selection switch 81 is controlled to switch from a first antenna 5 to a second antenna 6 .
[0206] That is, in the above embodiment, the second antenna 6 corresponding to the first selection switch 71 and the second antenna 6 corresponding to the second selection switch 81 are switched based on different judgment conditions, and these two switching methods can be applied to different scenarios respectively.
[0207] The specific implementation of steps S301-S307 in the embodiment of the present application can refer to the above embodiment, and this application will not elaborate on it.
[0208] The third structure of the antenna switching device 200 in the embodiment of the present application, by providing multiple switching switches 9 and multiple second antennas 6, can enable different second antennas 6 to be applied to different scenarios based on different judgment methods, so that different scenarios can adopt different combinations of the first antenna 5 and the second antenna 6, thereby ensuring the overall communication performance of the electronic device in different scenarios.
[0209] Figure 11 This is the fourth structural diagram of the antenna switching device provided in an embodiment of the present application.
[0210] like Figure 11 As shown, in some other embodiments, based on the first structure or the second structure of the antenna switching device 200 , the antenna switching device 200 further includes at least one tuning switch 12 .
[0211] Each tuning switch 12 is electrically connected to the first controller 2 based on the first control line 11, and is set in the first path formed by the switching switch 9 and the first antenna 5 corresponding to the switching switch 9, or is set in the second path formed by the switching switch 9 and the second antenna 6 corresponding to the switching switch 9.
[0212] Each tuning switch 12 is configured to: connect to the corresponding first antenna 5 on the first path so that the corresponding first antenna 5 serves as a working antenna operating in the first frequency band, or connect to the corresponding second antenna 6 so that the corresponding second antenna 6 serves as a working antenna operating in the first frequency band.
[0213] In this way, this embodiment can perform antenna tuning while performing antenna switching.
[0214] In fact, antenna switching and antenna tuning are not necessarily performed at the same time. In this embodiment, for some antennas, only antenna tuning can be performed without antenna switching. In this case, the setting method of the tuning switch 12 is as follows:
[0215] Each tuning switch 12 is set corresponding to a first antenna 5 or a second antenna 6, one end of which is electrically connected to the first controller 2 based on the first control line 11, and is electrically connected to the main set module 7 or the diversity module 8, and the other end is electrically connected to the corresponding first antenna 5, or the corresponding second antenna 6.
[0216] Each tuning switch 12 is configured to: connect to the corresponding first antenna 5 so that the corresponding first antenna 5 is electrically connected to the main set module 7 or the diversity module 8 to serve as a working antenna operating in the first frequency band, or connect to the corresponding second antenna 6 so that the corresponding second antenna 6 is electrically connected to the main set module 7 or the diversity module 8 to serve as a working antenna operating in the first frequency band.
[0217] Since the antenna switching device 200 is provided with multiple first antennas 5 and multiple second antennas 6, some antennas can perform both antenna switching and antenna tuning, some antennas can only perform antenna switching, and some antennas can only perform antenna tuning.
[0218] An exemplary description is given by taking the antenna switching device 200 as follows: a portion of antennas are used for both antenna switching and antenna tuning, and another portion of antennas are used only for antenna tuning. The structure of the device is as follows:
[0219] The antenna switching device 200 is provided with four first antennas 5 and two second antennas 6 , wherein the first selection switch 71 of the main set module 7 corresponds to the two first antennas 5 and the two second antennas, and the second selection switch 81 in the diversity module 8 corresponds to the two first antennas 5 .
[0220] The first selector switch 71 can operate via two antennas. Both antennas can be configured in the same manner, with one antenna being described below. The first selector switch 71 is connected to a selector switch 9 on one of the antennas. One end of the selector switch 9 is connected to a tuning switch 12, which corresponds to a first antenna 5. Therefore, when the first antenna 5 is the active antenna, it can be tuned via the tuning switch 12. The other end of the selector switch 9 is connected to another tuning switch 12, which corresponds to a second antenna 6. Therefore, when antenna switching is required, the active antenna can be switched from the first antenna 5 to the second antenna 6, and the second antenna 6 can be further tuned via the tuning switch 12.
[0221] That is to say, in this exemplary structure, antenna switching and antenna tuning can be performed between the first antenna 5 and the second antenna 6 corresponding to the main set module 7.
[0222] The second selection switch 81 can work via two antennas, and the two antennas can adopt the same configuration. In each path, the second selection switch 81 is connected to a tuning switch 12, and the tuning switch 12 corresponds to a first antenna 5. In this way, each tuning switch 12 can tune the first antenna 5 corresponding to it.
[0223] That is to say, in this exemplary structure, the first antenna 5 corresponding to the diversity module 8 can only perform antenna tuning.
[0224] Based on the above structure, the antenna switching device 200 can be configured as follows.
[0225] The baseband processor 3 can be configured to, after determining the operating frequency band corresponding to the first antenna 5 or the second antenna 6, send a third message to the first controller 2. The first controller 2 can be configured to, based on the third message, switch at least a portion of the first antenna 5 to the corresponding operating frequency band when the working antenna is at least a portion of the first antenna 5, or, when the working antenna is at least a portion of the second antenna 6, switch at least a portion of the second antenna 6 to the corresponding operating frequency band. Each tuning switch 12 can be configured to, in response to the third signal sent by the first controller 2, switch the corresponding first antenna 5 from operating in the first frequency band to operating in the second frequency band, or switch the corresponding second antenna 6 from operating in the first frequency band to operating in the second frequency band. The third signal is obtained by the first controller 2 based on the third message.
[0226] The above configuration only illustrates the antenna tuning process. The antenna tuning process can be performed simultaneously with the antenna switching process in the aforementioned embodiment, and this application will not elaborate on this.
[0227] The fourth structure of the antenna switching device 200 in the embodiment of the present application, by providing a tuning switch 12, enables the antenna switching device 200 to not only perform antenna switching but also perform antenna tuning, thereby meeting the communication requirements of the antenna in different frequency bands.
[0228] Figure 12 This is the fifth structural diagram of the antenna switching device provided in the embodiment of the present application.
[0229] like Figure 12 As shown, in some other embodiments, based on the fourth structure of the antenna switching device 200 , the first controller 2 is further electrically connected to the second controller 41 .
[0230] That is, the first controller 2 is electrically connected to the application processor 1 , to the baseband processor 3 , and to the second controller 41 .
[0231] The first controller 2 can be electrically connected to the baseband processor 3 based on MIPI. MIPI is a complex processor interface that can be used to transmit complex control signals. However, when the voltage or power is unstable, the baseband processor 3 may not match the MIPI of the first controller 2 and cannot transmit control instructions to the first controller 2. Therefore, the baseband processor 3 can first send the control instructions to the second controller 41 for format conversion so that the second controller 41 can interact with the first controller 2.
[0232] Based on this, the baseband processor 3 can be configured to, after not matching the MIPI of the first controller 2 and determining the operating frequency band corresponding to the first antenna 5 or the second antenna 6, send a third message to the second controller 41. The second controller 41 can be configured to convert the third message into a format that matches the MIPI of the first controller 2 and send the converted third message to the first controller 2. The first controller 2 can be configured to, based on the converted third message, switch at least a portion of the first antenna 5 to the corresponding operating frequency band when the working antenna is at least a portion of the first antenna 5, or switch at least a portion of the second antenna 6 to the corresponding operating frequency band when the working antenna is at least a portion of the second antenna 6.
[0233] The fifth structure of the antenna switching device 200 in the embodiment of the present application can avoid the problem of being unable to perform antenna switching or antenna tuning due to MIPI mismatch between the baseband processor 3 and the first controller 2 by connecting the first controller 2 with the second controller 41.
[0234] The embodiments of the present application include but are not limited to the first to fifth structures of the antenna switching device 200 provided above, and also include structures formed by one or more combinations of the technical features in the above embodiments. It is easy to understand that those skilled in the art can combine, split, reorganize, etc. the embodiments of the present application to obtain other embodiments based on the several embodiments provided in the present application, and these embodiments do not exceed the scope of protection of the present application.
[0235] The embodiment of the present application further provides an antenna switching method, which can be applied to the antenna switching device 200 in the above embodiment. The method includes the following steps S1001-S1002.
[0236] Step S1001: When the working antenna is at least a portion of the first antenna, in response to the electronic device entering a first scenario, controlling the application processor to send a first message to the first controller, the first scenario including a scenario in which the user holds the electronic device with both hands;
[0237] In one implementation, before step S1001 , steps S2001 - S2003 are also included.
[0238] Step S2001: Determine whether the electronic device is in a landscape mode.
[0239] Step S2002: If the electronic device is in a horizontal state, determine that the electronic device enters a first scene.
[0240] Step S2003: If the electronic device is not in the landscape mode, determine whether the electronic device has entered the second scene.
[0241] In one implementation, before step S1001 , steps S3001 - S3003 are also included.
[0242] Step S3001, determining whether the electronic device is in landscape mode, in game mode, and in a preset frequency band.
[0243] Step S3002: If the electronic device is in a horizontal state, in a game mode, and in a preset frequency band, it is determined that the electronic device enters a first scene.
[0244] Step S3003: If the electronic device is not in the landscape state, the game mode, or the preset frequency band, it is determined that the electronic device has entered the second scene.
[0245] Step S1002: Based on the first message, control the first controller to switch the working antenna from at least a portion of the first antenna to at least a portion of the second antenna.
[0246] In one implementation, the first controller controls the switching switch so that the switching switch switches from the corresponding first antenna to the corresponding second antenna in response to a second signal sent by the first controller, where the second signal is obtained by the first controller based on conversion of the first message.
[0247] In one implementation, before step S1001 or after step S1002, steps S1003-S1005 are further included.
[0248] Step S1003 : In response to the electronic device entering a second scenario, controlling the application processor to send a second message to the baseband processor, where the second scenario includes scenarios other than the first scenario.
[0249] Step S1004: Control the baseband processor to receive the second message sent by the application processor, and send the second message to a second controller built into the radio frequency transceiver.
[0250] Step S1005: Based on the second message, control at least a portion of the first antennas as working antennas through the second controller.
[0251] The above method can be applied to any structure of the antenna switching device 200. The specific implementation of each step can be found in the device embodiment, and this application will not elaborate on it.
[0252] In one implementation, the method further includes steps S1006-S1008.
[0253] Step S1006: Control the radio frequency transceiver to obtain the RSSI of the first antenna, and send the RSSI to the baseband processor.
[0254] Step S1007: Control the baseband processor to calculate a first degradation value corresponding to the RSRP based on the RSSI, and determine whether the first degradation value is greater than or equal to a first threshold.
[0255] Step S1008: If the first degradation value is greater than or equal to the first threshold, control the baseband processor to send a fourth message to the first controller.
[0256] In one implementation, step S1002 may specifically include: based on the first message and the fourth message, controlling the first controller to switch the working antenna from at least a portion of the first antenna to at least a portion of the second antenna.
[0257] The above method can be applied to a structure in which the first controller is connected to the baseband processor in the antenna switching device 200 , for example, the second structure of the antenna switching device 200 .
[0258] In one implementation, the method further includes steps S1009 - S1010 .
[0259] Step S1009: Control the baseband processor to determine the operating frequency band corresponding to the first antenna or the second antenna, and send a third message to the first controller based on the operating frequency band.
[0260] In one implementation, step S1009 includes steps S1009a-S1009b.
[0261] Step S1009a: After the baseband processor and the MIPI of the first controller do not match, and the baseband processor is controlled to determine the operating frequency band corresponding to the first antenna or the second antenna, the baseband processor is controlled to send a third message to the second controller;
[0262] Step S1009b: Control the second controller to convert the third message into a format that matches the MIPI of the first controller, and send the converted third message to the first controller.
[0263] Step S1010: When the working antenna is at least a part of the first antenna, control the first controller to switch at least a part of the first antenna to the corresponding working frequency band based on the third message; or, when the working antenna is at least a part of the second antenna, control the first controller to switch at least a part of the second antenna to the corresponding working frequency band based on the third message.
[0264] In one implementation, step S1010 includes steps S1010a - S1010b .
[0265] Step S1010a, controlling the first controller to switch at least a portion of the first antenna to the corresponding working frequency band based on the third message, including: controlling the tuning switch through the first controller so that the tuning switch responds to the third signal sent by the first controller, so that the corresponding first antenna switches from working in the first frequency band to working in the second frequency band.
[0266] Step S1010b, controlling the first controller to switch at least a portion of the second antenna to the corresponding working frequency band based on the third message, including: controlling the tuning switch by the first controller so that the tuning switch responds to the third signal sent by the first controller, so that the corresponding first antenna switches from working in the first frequency band to working in the second frequency band.
[0267] The above method can be applied to the antenna switching device 200 in which the first controller is connected to the baseband processor and a tuning switch and other structures are provided, for example, the fifth structure of the antenna switching device 200 .
[0268] The antenna switching method provided in this application is based on a first controller directly connected to an application processor, so that the first controller can switch to a specific second antenna when the application processor recognizes a scenario in which a user holds an electronic device with both hands, thereby avoiding the deterioration of antenna efficiency and optimizing the communication performance of a specific user usage scenario without sacrificing the communication performance of a conventional scenario.
[0269] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of an electronic device. It is understandable that, in order to implement the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the antenna switching method steps of each example described in the embodiment disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or electronic device software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0270] In the embodiment of the present application, the functional modules or functional units of the electronic device can be divided according to the above method examples. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0271] Other embodiments of the present application provide an electronic device.
[0272] Figure 13 It is a schematic structural diagram of electronic equipment in other embodiments of the present application.
[0273] like Figure 13As shown, the electronic device may include: a display screen 1001, a memory 1002, a processor 1003, and a communication module 1004. The aforementioned components may be connected via one or more communication buses 1005. Display screen 1001 may include a display panel 10011 and a touch sensor 10012. Display panel 10011 is used to display images, and touch sensor 10012 may transmit detected touch operations to an application processor to determine the type of touch event and provide visual output related to the touch operation via display panel 10011. Processor 1003 may include one or more processing units, such as an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor, and / or a neural network processor. The different processing units may be independent devices or integrated into one or more processors. Memory 1002 is coupled to processor 1003 and is used to store various software programs and / or computer instructions. Memory 1002 may include volatile memory and / or non-volatile memory. When the processor executes the computer instructions, the electronic device can perform the functions or steps performed by the mobile phone in the above method embodiment.
[0274] An embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected via lines. For example, the interface circuit can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices. Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can perform the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.
[0275] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes the various functions or steps executed by the mobile phone in the above-mentioned method embodiment.
[0276] The embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the mobile phone in the above method embodiment.
[0277] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0278] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0279] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0280] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0281] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0282] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. An antenna switching device, characterized in that: include: An application processor, a first controller electrically connected to the application processor, a baseband processor electrically connected to the application processor, a radio frequency transceiver electrically connected to the baseband processor, at least one first antenna, and at least one second antenna; wherein the radio frequency transceiver includes a built-in second controller; The application processor is configured to: when the working antenna is at least a portion of the first antenna, determine whether the electronic device is in a landscape state, in a gaming mode, and in a preset frequency band; The application processor is further configured to: determine that the electronic device enters a first scene when the electronic device is in the landscape state, in the game mode, and in the preset frequency band, and send a first message to the first controller when the electronic device enters the first scene; The first controller is configured to, based on the first message, switch the active antenna from at least a portion of the first antenna to at least a portion of the second antenna, wherein the second antenna is disposed on at least one side of a side region of the electronic device, the side region including an area of the electronic device that is not obscured by the user's hands when the user holds the electronic device with both hands, respectively, at the top and bottom; The baseband processor is electrically connected to the first controller, and the first controller is electrically connected to the second controller based on a first control line, wherein the first control line includes a mobile industry processor interface MIPI control line; The baseband processor is configured to: after the interface with the first controller does not match and an operating frequency band corresponding to the first antenna or the second antenna is determined, send a third message to the second controller; The second controller is configured to: convert the third message into a format matching the MIPI of the first controller, and send the converted third message to the first controller; The first controller is further configured to: based on the converted third message, when the working antenna is at least a part of the first antenna, switch at least a part of the first antenna to the corresponding working frequency band, or, when the working antenna is at least a part of the second antenna, switch at least a part of the second antenna to the corresponding working frequency band.
2. The antenna switching device according to claim 1, wherein: Also includes: Main set module and sub-set module; The main module is electrically connected to the RF transceiver, the diversity module, and at least a portion of the first antennas, and is configured to: control the first antenna electrically connected to the main module as the working antenna, and / or supply power to the diversity module with a first power in response to a first signal sent by the second controller, wherein the first signal is obtained by the second controller based on a conversion of a second message; The diversity module is electrically connected to the RF transceiver and to at least a portion of the first antenna, and is configured to: respond to the first signal sent by the second controller and after receiving power from the main collection module, control the first antenna electrically connected to the diversity module as the working antenna.
3. The antenna switching device according to claim 2, wherein: Also includes: at least one toggle switch; Each of the switching switches is provided in a one-to-one correspondence with the second antenna, one end of the switching switch is electrically connected to the first controller via the first control line and is electrically connected to the main module or the diversity module, and the other end of the switching switch is electrically connected to one of the first antennas or one of the second antennas; Each of the switching switches is configured to: communicate with the first antenna corresponding thereto, so that the first antenna corresponding thereto is electrically connected to the main collection module as the working antenna, and / or so that the first antenna corresponding thereto is electrically connected to the diversity module as the working antenna; Each of the switching switches is also configured to: in response to a second signal sent by the first controller, switch from being connected to the first antenna corresponding to it to being connected to the second antenna corresponding to it, so that the second antenna corresponding to it is electrically connected to the main set module as the working antenna, and / or so that the second antenna corresponding to it is electrically connected to the diversity module as the working antenna, and the second signal is obtained by the first controller based on the conversion of the first message.
4. The antenna switching device according to claim 2, wherein: Also includes: at least one tuning switch; Each of the tuning switches is provided corresponding to one of the first antennas or one of the second antennas, one end of the tuning switch is electrically connected to the first controller via the first control line and to the main collection module or the diversity module, and the other end of the tuning switch is electrically connected to the corresponding first antenna or the corresponding second antenna; Each of the tuning switches is configured to: communicate with the first antenna corresponding thereto so that the first antenna corresponding thereto is electrically connected to the main module or the diversity module to serve as the working antenna operating in the first frequency band; or communicate with the second antenna corresponding thereto so that the second antenna corresponding thereto is electrically connected to the main module or the diversity module to serve as the working antenna operating in the first frequency band; Each of the tuning switches is further configured to: in response to a third signal sent by the first controller, switch the corresponding first antenna from operating in the first frequency band to operating in the second frequency band, or switch the corresponding second antenna from operating in the first frequency band to operating in the second frequency band, wherein the third signal is obtained by the first controller based on conversion of a third message, and the third message is sent to the first controller after the baseband processor determines the operating frequency band corresponding to the first antenna or the second antenna.
5. The antenna switching device according to claim 3, wherein: Also includes: at least one tuning switch; Each of the tuning switches is electrically connected to the first controller via the first control line and is provided in a first path formed by the switching switch and the first antenna corresponding to the switching switch, or in a second path formed by the switching switch and the second antenna corresponding to the switching switch; Each of the tuning switches is configured to: connect to the first antenna corresponding thereto on the first path so that the first antenna corresponding thereto functions as the working antenna operating in the first frequency band, or connect to the second antenna corresponding thereto so that the second antenna corresponding thereto functions as the working antenna operating in the first frequency band; Each of the tuning switches is further configured to: in response to a third signal sent by the first controller, switch the corresponding first antenna from operating in the first frequency band to operating in the second frequency band, or switch the corresponding second antenna from operating in the first frequency band to operating in the second frequency band, wherein the third signal is obtained by the first controller based on conversion of a third message, and the third message is sent to the first controller after the baseband processor determines the operating frequency band corresponding to the first antenna or the second antenna.
6. The antenna switching device according to claim 3, wherein: The switching switch includes at least one of a single-pole double-throw SPDT switch, a relay switch, and a single-pole multi-throw SP4T switch.
7. The antenna switching device according to claim 4 or 5, characterized in that: The first control line also includes a general purpose input and output (GPIO) control line.
8. The antenna switching device according to claim 7, wherein: The first controller is electrically connected to the application processor but not electrically connected to the radio frequency transceiver.
9. The antenna switching device according to claim 7, wherein: The radio frequency transceiver is further configured to: obtain a received signal strength indication RSSI of the first antenna, and send the RSSI to the baseband processor; The baseband processor is further configured to: calculate a first degradation value corresponding to a reference signal power level RSRP based on the RSSI, and determine whether the first degradation value is greater than or equal to a first threshold; The baseband processor is further configured to: send a fourth message to the first controller if the first degradation value is greater than or equal to the first threshold; The first controller is further configured to: based on the first message and the fourth message, switch the working antenna from at least a part of the first antenna to at least a part of the second antenna.
10. An antenna switching method, characterized in that: The method comprises: When the working antenna is at least a portion of the first antenna, when the electronic device is in a landscape state, in a gaming mode, and in a preset frequency band, determining that the electronic device has entered a first scene, and when the electronic device has entered the first scene, controlling the application processor to send a first message to a first controller electrically connected to the application processor; Based on the first message, controlling the first controller to switch the working antenna from at least a portion of the first antenna to at least a portion of the second antenna, wherein the second antenna is arranged on at least one side of a side area of the electronic device, the side area including an area of the electronic device that is not blocked by the user's hands when the user holds the electronic device with both hands respectively; When the interface between the baseband processor and the first controller does not match, and after controlling the baseband processor to determine an operating frequency band corresponding to the first antenna or the second antenna, controlling the baseband processor to send a third message to a second controller in a radio frequency transceiver electrically connected to the baseband processor; Converting the third message into a format matching the MIPI of the first controller based on the second controller, and sending the converted third message to the first controller; Based on the first controller receiving the converted third message, when the working antenna is at least a part of the first antenna, at least a part of the first antenna is switched to the corresponding working frequency band, or when the working antenna is at least a part of the second antenna, at least a part of the second antenna is switched to the corresponding working frequency band.
11. The antenna switching method according to claim 10, wherein: The controlling the first controller to switch the working antenna from at least a portion of the first antenna to at least a portion of the second antenna includes: The switching switch is controlled by the first controller so that the switching switch switches from the first antenna corresponding to it to the second antenna corresponding to it in response to a second signal sent by the first controller, and the second signal is obtained by the first controller based on the conversion of the first message.
12. The antenna switching method according to claim 10, wherein: Also includes: Controlling the radio frequency transceiver to obtain a received signal strength indication RSSI of the first antenna, and sending the RSSI to the baseband processor; Controlling the baseband processor to calculate a first degradation value corresponding to a reference signal power level RSRP based on the RSSI, and determining whether the first degradation value is greater than or equal to a first threshold; If the first degradation value is greater than or equal to the first threshold, control the baseband processor to send a fourth message to the first controller.
13. The antenna switching method according to claim 12, wherein: The controlling the first controller to switch the working antenna from at least a portion of the first antenna to at least a portion of the second antenna includes: Based on the first message and the fourth message, the first controller is controlled to switch the working antenna from at least a part of the first antenna to at least a part of the second antenna.
14. An electronic device, characterized in that: It comprises the antenna switching device as described in any one of claims 1-9.
Citation Information
Patent Citations
Antenna assembly, mobile terminal and antenna assembly control method
CN108234009A
Antenna switching method and device, storage medium and electronic equipment
CN108494957A
Antenna switching method and mobile terminal
CN109217882A