Method for adjusting antenna, and related apparatus

By using distance sensors in electronic devices to obtain physical form information, determine the configuration parameters of the antenna tuner and adjust the antenna impedance, the problem of signal quality degradation when the physical form of electronic devices changes is solved, and signal quality is optimized and communication performance is improved.

WO2025208917A1PCT designated stage Publication Date: 2025-10-09FIBOCOM WIRELESS
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/138398
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-04-03
Filing Date
2024-12-11
Publication Date
2025-10-09

AI Technical Summary

Technical Problem

Existing technologies fail to effectively solve the problem that antenna signal quality is affected by shielding when the physical form of an electronic device changes, resulting in a decrease in signal quality.

Method used

The physical form information of the electronic device is obtained through the distance sensor, the configuration parameters of the antenna tuner are determined according to the working mode, and the impedance of the antenna is adjusted by adjusting the antenna tuner to optimize the signal coverage and radiation pattern.

Benefits of technology

When the physical form of electronic equipment changes, the signal quality in the blocked direction is improved to ensure the stability and efficiency of communication performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024138398_09102025_PF_FP_ABST
    Figure CN2024138398_09102025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method for adjusting an antenna, and a related apparatus. The method comprises: determining a configuration parameter of an antenna tuner on the basis of an operating mode of an electronic device; and adjusting the antenna tuner on the basis of the configuration parameter of the antenna tuner, thereby achieving adjustment of the antenna.
Need to check novelty before this filing date? Find Prior Art

Description

Method and related device for adjusting antenna

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 3, 2024, with application number 2024104046756 and invention name “A method for adjusting an antenna and related devices”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of wireless communication technology, and in particular to a method for adjusting an antenna and related devices. Background Art

[0003] Communication modules typically serve as power transmitters in electronic devices, enabling wireless communication. These modules utilize wireless technology to transmit data. Their primary function is to convert digital signals from electronic devices into radio frequency signals, which are then transmitted via an antenna, enabling wireless data transmission.

[0004] Since antennas transmit and receive radio frequency signals in the space surrounding them, any obstruction in the space surrounding them may affect the antenna's ability to transmit and / or receive radio frequency signals, thereby impacting the signal quality of wireless communications between electronic devices. Summary of the Invention

[0005] According to various embodiments of the present application, a method for adjusting an antenna and a related device are provided.

[0006] In a first aspect, an embodiment of the present application provides a method for adjusting an antenna, which is applied to a communication module. The method includes:

[0007] Determining configuration parameters of the antenna tuner according to an operating mode of the electronic device, wherein the connection relationship of the communication module includes one or more of the following: the communication module is built into the electronic device, the communication module is connected to the electronic device by wire, and the operating mode of the electronic device is used to reflect the physical form of the electronic device;

[0008] The antenna is adjusted according to the configuration parameters of the antenna tuner.

[0009] In an optional solution of the first aspect, the communication module includes a distance sensor, and before determining the configuration parameters of the antenna tuner according to the operating mode of the electronic device, the method further includes:

[0010] Acquiring information reflecting the physical form of the electronic device through the distance sensor;

[0011] The operating mode of the electronic device is determined according to the physical form information.

[0012] .

[0013] In an optional solution of the first aspect, the electronic device includes the distance sensor, and before determining the configuration parameters of the antenna tuner according to the operating mode of the electronic device, the method further includes:

[0014] The operating mode is received from the electronic device, wherein the operating mode is determined by the electronic device based on information collected by the distance sensor and used to reflect the physical form of the electronic device.

[0015] In an optional scheme of the first aspect, the electronic device includes a first part, a second part and a connecting part, the first part and the second part are connected by the connecting part, the connecting part is used to make the first part and the second part form a relative position relationship, the relative position relationship includes an angle relationship between the first part and the second part, and the relative position relationship is used to determine the physical form of the electronic device.

[0016] In an optional solution of the first aspect, the distance sensor is used to collect the relative position relationship.

[0017] In an optional solution of the first aspect, the communication module stores a parameter table of the antenna tuner, the parameter table including multiple operating modes and configuration parameters corresponding to the multiple operating modes, the operating mode of the electronic device is one of the multiple operating modes, and determining the configuration parameters of the antenna tuner based on the operating mode of the electronic device includes:

[0018] The configuration parameters corresponding to the working mode of the electronic device are determined from the parameter table, and the configuration parameters are used as the configuration parameters of the antenna tuner.

[0019] In an optional solution of the first aspect, adjusting the antenna according to the configuration parameters of the antenna tuner includes:

[0020] The value of a register in the antenna tuner is adjusted according to the configuration parameter, wherein the value of the register is used to adjust the impedance of the antenna.

[0021] In a second aspect, an embodiment of the present application provides a device for adjusting an antenna, the device comprising a processing unit and a communication unit, wherein the processing unit is specifically configured to:

[0022] Determining configuration parameters of the antenna tuner according to an operating mode of the electronic device, wherein the connection relationship of the communication module includes one or more of the following: the communication module is built into the electronic device, the communication module is connected to the electronic device by wire, and the operating mode of the electronic device is used to reflect the physical form of the electronic device;

[0023] The antenna is adjusted according to the configuration parameters of the antenna tuner.

[0024] In an optional solution of the second aspect, the communication module includes a distance sensor and a processing unit, and is specifically configured to, before determining the configuration parameters of the antenna tuner according to the operating mode of the electronic device, further include:

[0025] acquiring, by the communication unit and the distance sensor, information reflecting the physical form of the electronic device;

[0026] The operating mode of the electronic device is determined according to the physical form information.

[0027] In an optional solution of the second aspect, the electronic device includes the distance sensor and the communication unit, and is specifically configured to, before determining the configuration parameters of the antenna tuner according to the operating mode of the electronic device, further include:

[0028] The operating mode is received from the electronic device, wherein the operating mode is determined by the electronic device based on information collected by the distance sensor and used to reflect the physical form of the electronic device.

[0029] In an optional scheme of the second aspect, the electronic device includes a first part, a second part and a connecting part, the first part and the second part are connected by the connecting part, the connecting part is used to make the first part and the second part form a relative position relationship, the relative position relationship includes an angle relationship between the first part and the second part, and the relative position relationship is used to determine the physical form of the electronic device.

[0030] In an optional solution of the second aspect, the distance sensor is used to collect the relative position relationship.

[0031] In an optional solution of the second aspect, the communication module stores a parameter table of the antenna tuner, the parameter table including multiple operating modes and configuration parameters corresponding to the multiple operating modes, the operating mode of the electronic device is one of the multiple operating modes, and the processing unit, specifically configured to determine the configuration parameters of the antenna tuner based on the operating mode of the electronic device, includes:

[0032] Determining configuration parameters corresponding to the operating mode of the electronic device from the parameter table;

[0033] The configuration parameters are used as configuration parameters of the antenna tuner.

[0034] In an optional solution of the second aspect, the processing unit, specifically configured to adjust the antenna according to the configuration parameters of the antenna tuner, includes:

[0035] The value of a register in the antenna tuner is adjusted according to the configuration parameter, wherein the value of the register is used to adjust the impedance of the antenna.

[0036] In a third aspect, an embodiment of the present application provides a computing device comprising a processor and a memory; the processor is coupled to the memory, the memory is used to store a computer program, and the processor is used to call and run the computer program so that the computing device executes the method described in any one of the first aspects above.

[0037] Optionally, the computing device further includes a communication interface, wherein the communication interface is used to receive and / or send data, and / or the communication interface is used to provide input and / or output for the processor.

[0038] It should be noted that the above embodiments are described using a processor (or general-purpose processor) that executes a method by calling a computer instruction. In specific implementations, the processor may also be a dedicated processor, in which case the computer instructions are pre-loaded into the processor. Alternatively, the processor may include both a dedicated processor and a general-purpose processor.

[0039] Optionally, the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together.

[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer or a processor, the method described in any one of the first or second aspects above is implemented.

[0041] The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features, objects, and advantages of the embodiments of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to better describe and illustrate the embodiments and / or examples of the present application, reference may be made to one or more drawings. The additional descriptions or examples used to describe the drawings should not be considered as limiting the scope of the invention of the present application, the embodiments and / or examples described in the present application, and any of the best modes of the invention understood by the present application.

[0043] The following is a brief introduction to the drawings used in describing the embodiments.

[0044] FIG1 is a schematic diagram of a system architecture of an adjustable antenna provided in an embodiment of the present application;

[0045] FIG2 is a schematic flow chart of a method for adjusting an antenna provided in an embodiment of the present application;

[0046] FIG3 is a schematic diagram of a flow chart of a communication module determining an operating mode according to an embodiment of the present application;

[0047] FIG4 is a schematic diagram of a flow chart of an electronic device determining an operating mode according to an embodiment of the present application;

[0048] FIG5 is a block diagram of functional units of an antenna adjustment device provided in an embodiment of the present application;

[0049] FIG6 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0051] The terms "first," "second," "third," and "fourth," etc., in the specification and claims of this application and the accompanying drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0052] In order to facilitate understanding of the embodiments of the present application, the technical problems that the present application specifically aims to solve are analyzed and proposed below.

[0053] When electronic devices exchange data with the outside world via antennas, conventional technologies consider the different functions performed by the electronic devices, leading to varying antenna performance requirements. For example, the types of data transmitted by the electronic devices can be categorized as voice communication and data communication. Existing solutions determine corresponding antenna performance requirements based on the characteristics of voice communication and data communication functions. Antenna tuners are then used to tune the antenna to meet the requirements of the different functions of the electronic device, ensuring the wireless communication performance of the electronic device.

[0054] However, the existing solutions take into account that when electronic devices transmit different types of data, the antenna needs to be adjusted. It does not take into account that the electronic device may block the antenna from sending and receiving data during use, which will also affect the transmission of the signal and require adjustment of the antenna. Because when an electronic device interacts with the outside world through an antenna for data, it usually uses the antenna to receive wireless radio frequency signals in the surrounding space or to send wireless radio frequency signals to the surrounding space. When there is obstruction in the space around the antenna, it may affect the antenna's transmission and / or reception of wireless radio frequency signals, thereby affecting the signal quality of wireless communications of the electronic device. Specifically, when there is obstruction in one or more directions of the antenna, the resonant frequency of the antenna may be shifted, resulting in a decrease in antenna efficiency, which in turn affects the communication performance of the electronic device.

[0055] For example, let's take a laptop as an example. During use, the user can adjust the laptop's opening and closing angles within a certain range, thereby changing the laptop's physical form. For example, the user can adjust the angle between the laptop's screen and keyboard to 0 degrees, putting the laptop in standby or shutdown mode. Alternatively, the user can adjust the angle between the laptop's screen and keyboard to 90 degrees, putting the laptop in use.

[0056] When users adjust the laptop's opening and closing angle, the laptop's metal panel and / or screen can block the antenna's ability to transmit and receive data. Since antennas can receive signals from any direction in space, changes in the laptop's physical form can cause one or more antenna directions to shift from unobstructed to obstructed, deteriorating signal quality in the obstructed directions. Similarly, changes in one or more antenna directions can cause the laptop to shift from obstructed to unobstructed, improving signal quality in the unobstructed directions.

[0057] Therefore, when an electronic device changes its physical form, it may block the antenna in one or more directions, thereby reducing the signal quality in the blocked direction. The antenna needs to be adjusted to improve the signal quality in the blocked direction.

[0058] In summary, an embodiment of the present application provides a method for adjusting an antenna. First, the electronic device determines the physical form of the electronic device through a sensor, and then determines the corresponding operating mode of the electronic device based on the physical form of the electronic device. The communication module can match the configuration parameters of the antenna tuner according to the operating mode of the electronic device, and the communication module adjusts the antenna tuner according to the configuration parameters of the antenna tuner. The antenna is adjusted by the adjusted antenna tuner, so that the electronic device can obtain the optimal signal coverage and / or the optimal radiation pattern under different physical forms, thereby improving the communication performance of the electronic device.

[0059] The following is an introduction to the system architecture used in the embodiments of this application. It should be noted that the system architecture and business scenarios described in this application are intended to more clearly illustrate the technical solutions of this application and do not constitute a limitation on the technical solutions provided by this application. It is understood by those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided by this application are equally applicable to similar technical problems.

[0060] Please refer to Figure 1, which is a schematic diagram of a system architecture for adjusting an antenna according to an embodiment of the present application. As shown in Figure 1, the antenna adjustment system 100 includes a communication module 110 and an electronic device 120. The communication module 110 includes an antenna tuner 112, and the electronic device 120 includes an antenna 122.

[0061] In one implementation, the connection relationship between the communication module 110 and the electronic device 120 includes the communication module 110 being integrated into the electronic device 120 .

[0062] In one implementation, the connection relationship between the communication module 110 and the electronic device 120 includes that the communication module 110 is outside the electronic device 120 and is connected to the electronic device 120 through a wired connection.

[0063] The communication module 110 is a device that uses wireless technology to transmit data. It can serve as a power transmitter for the electronic device 120, primarily assisting the electronic device 120 in wireless communication. The main function of the communication module 110 is to convert digital signals from the electronic device 120 into wireless radio frequency signals, which are then transmitted via the antenna 122, thereby achieving wireless data transmission.

[0064] Exemplarily, the communication module 110 determines the configuration parameters of the antenna tuner 112 according to the operating mode of the electronic device 120. The communication module 110 may also adjust the antenna tuner 112 according to the configuration parameters of the antenna tuner 112.

[0065] Antenna tuner 112 is located in communication module 110, and one end of antenna tuner 112 is connected to antenna 122. Antenna tuner 112 adjusts antenna 122 by changing the value of inductance and / or capacitance, thereby optimizing the efficiency of antenna 122, obtaining optimal signal coverage, or optimal radiation pattern.

[0066] For example, the communication module 110 adjusts the value of the register in the antenna tuner 112 based on the configuration parameters to adjust the efficiency of the antenna 122 .

[0067] The embodiment of the present application adjusts the antenna by adjusting the antenna tuner because the antenna tuner has a relatively mature application in adjusting the antenna, can save costs, and plays an effective adjustment role.

[0068] The electronic device 120 is a device whose physical form may change, including but not limited to a laptop computer, a foldable screen mobile phone, a flip phone, a foldable screen tablet computer, and the like.

[0069] Exemplarily, the electronic device 120 includes a first part, a second part, and a connecting part. The first part and the second part are connected by the connecting part, and the connecting part can form a relative position relationship between the first part and the second part. The relative position relationship includes the angle relationship between the first part and the second part, and the relative position relationship is used to determine the physical form of the electronic device 120. When the physical form of the electronic device 120 changes, it may block the antenna 122 in one or more directions, thereby reducing the signal quality in the blocked direction. Therefore, the embodiment of the present application can improve the signal quality in the blocked direction by adjusting the antenna 122.

[0070] The antenna 122 is a component used to transmit or receive electromagnetic waves in a radio device. The antenna 122 includes but is not limited to a main antenna and a diversity antenna. The antenna 122 can be integrated into the electronic device 120 or can be external to the electronic device 120.

[0071] The antenna adjustment system 100 also includes a distance sensor (P-sensor). The working principle of the distance sensor is generally to measure the distance by emitting infrared light and receiving the reflected light. When an object (such as the first part or the second part of the electronic device) approaches the distance sensor, the intensity of the reflected light increases, and the distance sensor determines the distance to the object based on this. Since the distance and angle between the distance sensor and the object correspond to each other, the angular relationship between the first part and the second part of the electronic device 120 can also be determined by the distance between the distance sensor and the object, thereby determining the physical form of the electronic device 120.

[0072] For example, the distance sensor can be integrated into the communication module 110. The communication module 110 determines the operating mode of the electronic device 120 by using the physical form of the electronic device 120 acquired by the distance sensor. The communication module 110 then determines the configuration parameters of the antenna tuner 112 based on the operating mode of the electronic device 120. The communication module 110 then adjusts the antenna tuner 112 based on the configuration parameters to achieve the purpose of adjusting the antenna 122.

[0073] For example, the distance sensor may be integrated into the electronic device 120, and the electronic device 120 determines the operating mode of the electronic device 120 based on the physical form of the electronic device 120 collected by the distance sensor. The electronic device 120 then sends the operating mode to the communication module 110, and the communication module 110 determines the configuration parameters of the antenna tuner 112 based on the received operating mode. The communication module 110 then adjusts the antenna tuner 112 based on the configuration parameters to achieve the purpose of adjusting the antenna 122.

[0074] Please refer to FIG. 2 , which is a flow chart of a method for adjusting an antenna provided in an embodiment of the present application. The method is applied to the antenna adjusting system shown in FIG. 1 .

[0075] The method for adjusting the antenna as shown in Figure 2 may include multiple steps in steps S201-S202. It should be understood that although the various steps in the flowchart of Figure 2 are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in Figure 2 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps. Steps S201-S202 are specifically as follows:

[0076] Step S201: The communication module determines configuration parameters of the antenna tuner according to the working mode of the electronic device.

[0077] Among them, the working mode of the electronic device can reflect the physical form of the electronic device. Since the physical form of the electronic device may block the antenna from sending and receiving signals, it affects the quality of signal transmission. And as the physical form of the electronic device changes, the direction in which the electronic device blocks the antenna may also change. Therefore, if the antenna is adjusted for a specific physical form of the electronic device, such as the physical form with the highest frequency of use of the electronic device, the antenna may not meet the data transmission performance of the electronic device in various situations. The embodiment of the present application determines the working mode corresponding to the electronic device by obtaining the physical form of the electronic device in real time. Therefore, the antenna can be adjusted according to the working mode to meet the performance of the electronic device in data interaction through the antenna in various physical forms.

[0078] For example, let's take a laptop computer as an example. It's understood that electronic devices are devices whose physical form can change, and are not limited to the laptop computer described above. Based on the laptop computer's structure, the laptop computer can be divided into a first portion, a second portion, and a connecting portion. For example, the portion where the laptop computer's display is located is the first portion, the portion where the laptop computer's keyboard is located is the second portion, and the hinge connecting the display and keyboard is the connecting portion.

[0079] The connecting portion can form a relative positional relationship between the first and second parts. For example, a user can close the laptop by rotating the hinge, so that the relative positional relationship between the first and second parts is a relationship in which the angle between the display and the keyboard is 0 degrees. A user can open the laptop by rotating the hinge, so that the relative positional relationship between the first and second parts is a relationship in which there is an angle between the display and the keyboard. And the user can adjust the opening and closing angle between the display and the keyboard by rotating the hinge, so that the relative positional relationship between the first and second parts changes with the user's adjustment, that is, the angle between the display and the keyboard changes with the user's adjustment. Therefore, the relative positional relationship between the first and second parts can be used to determine the physical form of the electronic device. In this way, quantifying the physical form of the electronic device in terms of an angular relationship makes the description of the physical form of the electronic device more accurate, and the communication module's subsequent adjustment of the antenna based on the angular relationship will also be more accurate and reliable.

[0080] In one possible implementation, the communication module may determine the operating mode of the electronic device through hardware. For example, when the communication module includes a distance sensor, the communication module may obtain information reflecting the physical form of the electronic device through the distance sensor, and then determine the operating mode of the electronic device based on the physical form information.

[0081] Among them, the distance sensor can be a P-sensor sensor. The working principle of the distance sensor is generally to measure the distance by emitting infrared light and receiving the reflected light. When an object (such as the first part or the second part of the electronic device) approaches the distance sensor, the intensity of the reflected light increases, and the distance sensor judges the distance to the object accordingly. Since the distance and angle between the distance sensor and the object correspond to each other, the angular relationship between the first part and the second part of the electronic device can also be determined by the distance between the distance sensor and the object, thereby determining the physical form of the electronic device.

[0082] For example, when the distance sensor is located in the plane where the second portion of the electronic device resides, the first portion of the electronic device changes its relative positional relationship with the second portion via the connecting portion, resulting in a change in the distance between the first and second portions. Furthermore, because the distance sensor is located in the plane where the second portion resides, the distance between the distance sensor and the first portion also changes accordingly. The communication module can determine the angular relationship between the first and second portions based on the distance between the distance sensor and the first portion, and thus determine the operating mode of the electronic device based on this angular relationship.

[0083] In a possible implementation, the communication module may determine the operating mode of the electronic device according to an angular relationship between the first part and the second part of the electronic device.

[0084] Specifically, the electronic device is a laptop computer as an example for description. For ease of use, within a certain angle range, the angle between the first part and the second part of the laptop computer can usually be arbitrarily adjusted through the connecting part.

[0085] Taking the connecting portion as an example of a rotating shaft that supports 360-degree rotation, the first part and / or the second part can rotate about the connecting portion as an axis. When the first part rotates about the connecting portion as an axis, the first part can rotate relative to the second part at any angle between 0 degrees and 360 degrees. When the second part rotates about the connecting portion as an axis, the second part can rotate relative to the first part at any angle between 0 degrees and 360 degrees. Therefore, the angle between the first part and the second part can be adjusted through the connecting portion. The angle between the first part and the second part can be any angle between 0 degrees and 360 degrees.

[0086] Since the operating mode of a laptop computer is related to the angle between the first portion and the second portion in actual use, it is feasible to determine the operating mode of the electronic device based on the angular relationship between the first portion and the second portion in the embodiment of the present application. For example, the operating modes of a laptop computer include, but are not limited to, one or more of the following: off mode, standby mode, notebook mode, stand mode, tent mode, and tablet mode, etc.

[0087] Among them, when the angle between the first part and the second part of the laptop computer belongs to the first angle range, the working mode of the laptop computer is shutdown mode or standby mode, for example, the angle is 0 degrees. When the angle between the first part and the second part of the laptop computer belongs to the second angle range, the working mode of the laptop computer is notebook mode, for example, the angle is 95 degrees. When the angle between the first part and the second part of the laptop computer belongs to the third angle range, the working mode of the laptop computer is stand mode, for example, the angle is 180 degrees. When the angle between the first part and the second part of the laptop computer belongs to the fourth angle range, the working mode of the laptop computer is tent mode, for example, the angle is 300 degrees. When the angle between the first part and the second part of the laptop computer belongs to the fifth angle range, the working mode of the laptop computer is tablet mode, for example, the angle is 360 degrees.

[0088] Furthermore, it is understood that, in addition to the existing operating modes and their corresponding angle ranges of the aforementioned laptop computer, embodiments of the present application may divide the angle ranges based on the effect of the angle relationship between the first and second parts of the electronic device on the antenna's signal transmission and reception in actual use, and define the operating modes based on the divided angle ranges.

[0089] For example, when the angular relationship between the first portion and the second portion is between the first and second angles, the physical form of the electronic device has substantially the same effect on the antenna's signal transmission and reception. Within this angular range, the antenna adjustment method is substantially the same. The communication module may deem the electronic device's operating mode to be operating mode 1 when the angular relationship between the first portion and the second portion falls within the angular range from the first to the second angle.

[0090] Specifically, starting from the angle between the first part and the second part being 0 degrees, slowly rotate the first part (or the second part) with the connecting part as the axis. Then, by testing the influence of the physical form of the electronic device on the antenna receiving and transmitting signals, such as the direction of the physical form of the electronic device blocking the antenna, the degree of blocking of the antenna by the physical form of the electronic device, the quality of the signal of the electronic device in a certain physical form, and so on. The electronic device has basically the same influence on the above-mentioned antenna receiving and transmitting signals in different physical forms. The working mode of the electronic device in the above-mentioned different physical forms can be regarded as one working mode. For example, the degree of influence on the signal when the angular relationship between the first part and the second part of the electronic device is the first angle is the same as the degree of influence on the signal when the angular relationship between the first part and the second part is the second angle. The working modes of the electronic device at the first angle and the electronic device at the second angle are both working mode 1.

[0091] For example, an embodiment of the present application provides a table of working modes corresponding to angle relationships. As shown in Table 1, when the angle relationship between the first part and the second part of the electronic device belongs to the first angle relationship, the electronic device is in working mode 1. The first angle relationship can be an angle range between the first angle and the second angle, and the first angle relationship can also include one or more of the following angles: the first angle and the second angle. When the angle relationship between the first part and the second part of the electronic device belongs to the second angle relationship, the electronic device is in working mode 2. The second angle relationship can be an angle range between the third angle and the fourth angle, and the second angle relationship can also include one or more of the following angles: the third angle and the fourth angle. When the angle relationship between the first part and the second part of the electronic device belongs to the third angle relationship, the electronic device is in working mode 3. The third angle relationship can be an angle range between the fourth angle and the fifth angle, and the third angle relationship can also include one or more of the following angles: the fourth angle and the fifth angle.

[0092] Table 1

[0093] In one possible implementation, the communication module can determine the operating mode of the electronic device through software. For example, the communication module can receive the operating mode from the electronic device. If the electronic device includes a distance sensor, the electronic device can determine the current operating mode of the electronic device based on information collected by the distance sensor that reflects the physical form of the electronic device. The electronic device then sends the operating mode to the communication module, which can then obtain the operating mode of the electronic device through software.

[0094] The distance sensor may be a P-sensor. The electronic device uses the distance sensor to detect the relative positional relationship between the first portion and the second portion of the electronic device, and then determines the operating mode based on the relative positional relationship. The relative positional relationship between the first portion and the second portion may be an angle between the first portion and the second portion.

[0095] For example, when the distance sensor is located in the first portion of an electronic device, the first portion of the electronic device changes its relative positional relationship with the second portion via the connecting portion, resulting in a change in the distance between the first and second portions. Furthermore, because the distance sensor is located in the first portion, the distance between the distance sensor and the second portion also changes accordingly. The electronic device can determine the angular relationship between the first and second portions based on the distance between the distance sensor and the second portion, thereby determining the electronic device's operating mode based on the angular relationship.

[0096] In one possible implementation, the electronic device can determine the operating mode of the electronic device based on the angular relationship between the first portion and the second portion. Specifically, the electronic device can determine whether the electronic device is in any of the following modes: standby mode, standby mode, notebook mode, stand mode, tent mode, or tablet mode based on the angular relationship between the first portion and the second portion. The electronic device can also match the operating mode of the electronic device based on the angular relationship between the first portion and the second portion based on Table 1. For details, please refer to the above embodiments and will not be repeated here.

[0097] In a possible implementation, the communication module determines configuration parameters corresponding to the operating mode of the electronic device from the parameter table, and uses the configuration parameters as configuration parameters of the antenna tuner.

[0098] The parameter table includes multiple operating modes and the configuration parameters corresponding to each of the operating modes. The communication module can store the parameter table and can also obtain parameter tables from other devices. For example, the communication module can obtain parameter tables from other devices by downloading and / or command.

[0099] For example, please refer to Table 2, which is a parameter table of an antenna tuner provided in an embodiment of the present application. As shown in Table 2, the communication module can match the configuration parameters corresponding to the operating mode of the electronic device from the parameter table. For example, when the operating mode of the electronic device is operating mode 2, the communication module can determine that the configuration parameters of the antenna tuner are parameter 2 based on Table 2. When the operating mode of the electronic device is operating mode 3, the communication module can determine that the configuration parameters of the antenna tuner are parameter 3 based on Table 3.

[0100] Table 2

[0101] Furthermore, since the efficiency of the antenna is also related to the frequency used by the communication module, the communication module can also consider the frequency band (band) of the communication module sending and / or receiving signals when adjusting the antenna. Specifically, in radio communication, the input impedance of the antenna changes with the change of the frequency of the transmitter (such as the communication module), while the output impedance of the transmitter is constant. Therefore, when the impedance between the transmitter and the antenna does not match, it may cause the radiation power of the antenna to decrease, resulting in signal reflection and loss, thereby affecting the signal transmission efficiency. In order to solve the signal matching problem in radio communication, in addition to considering the working mode of the electronic device, the frequency band used by the electronic device and / or the communication module can also be considered. The communication module comprehensively considers the frequency band of the signal and the working mode of the electronic device to determine the configuration parameters of the antenna tuner. In solving the problem of the physical form of the electronic device blocking the signal transmission, the antenna tuner can also be used to adjust the impedance of the antenna so that the antenna matches the impedance of the circuit where the electronic device is located to improve the signal transmission efficiency.

[0102] For example, please refer to Table 3, which is another parameter table of an antenna tuner provided in an embodiment of the present application. As shown in Table 3, the communication module can determine the configuration parameters of the antenna tuner based on the signal frequency band used and the working mode of the electronic device. For example, when the signal frequency band used by the communication module is frequency band 1, and when the working mode of the electronic device is working mode 1, the configuration parameter of the antenna tuner is parameter 1. When the signal frequency band used by the communication module is frequency band 2, the working mode of the electronic device is working mode 1, and the configuration parameter of the antenna tuner is parameter 4. In this way, the communication module determines the adjustment method of the antenna adjuster by looking up the table according to the working mode of the electronic device, which simplifies the process of adjusting the antenna and improves efficiency.

[0103] Table 3

[0104] In one possible implementation, there are many ways to determine the parameter table of the antenna tuner, that is, there are many ways to determine the correspondence between the operating mode of the electronic device and the configuration parameters of the antenna tuner. The embodiment of the present application is illustrated by the following example. It should be noted that the method of determining the parameter table includes but is not limited to the following examples:

[0105] The operating frequency band of the electronic device is set to a specific frequency band, for example, the frequency band in which the electronic device transmits and / or receives signals is set to frequency band 1. The operating mode of the electronic device is then adjusted, for example, to operating mode 1. This means that the angular relationship between the first and second parts of the electronic device can be adjusted to the angular relationship corresponding to operating mode 1. The antenna is then adjusted by adjusting the antenna tuner. While adjusting the antenna tuner, the antenna's operating efficiency is detected. When the antenna's operating efficiency is highest, the antenna tuner's configuration parameters are determined to be those corresponding to the electronic device's operating mode. The configuration parameters corresponding to this operating mode are recorded in a parameter table. For example, when the antenna tuner is adjusted with parameter 2, it is determined that the antenna's operating efficiency is highest. It can be determined that when the electronic device's operating mode is operating mode 1 and the frequency band is band 1, the antenna tuner's configuration parameters are parameter 1. Parameter 1, corresponding to operating mode 1, can then be recorded in the parameter table. In this way, the communication module matches the configuration parameters corresponding to the electronic device's operating mode according to the parameter table. This antenna adjustment is based on research into the impact of the electronic device's physical form on the antenna's signal transmission and reception.

[0106] Therefore, whether the communication module determines the configuration parameters of the antenna tuner based on the physical form of the electronic device collected by the distance sensor through hardware, or directly receives the working mode from the electronic device through software to determine the configuration parameters of the antenna tuner, the configuration parameters of the antenna tuner are determined based on the physical form of the electronic device. Therefore, regardless of the physical form of the electronic device obtained by the communication module through any of the above methods, including but not limited to the above methods, the configuration parameters of the antenna tuner can be determined according to the embodiments of the present application.

[0107] Step S202: The communication module adjusts the antenna according to the configuration parameters of the antenna tuner.

[0108] Specifically, since the communication module includes an antenna tuner, after obtaining the configuration parameters of the antenna tuner, the communication module can adjust the antenna tuner according to the configuration parameters, thereby adjusting the antenna by adjusting the antenna tuner.

[0109] In a possible implementation, the communication module may adjust the value of a register in the antenna adjuster by configuring parameters to adjust the antenna.

[0110] Furthermore, because the antenna tuner is connected to the antenna, when the inductance and / or capacitance in the antenna tuner changes, the antenna impedance also changes. Therefore, by adjusting the register values ​​of the antenna tuner, the inductance and / or capacitance in the antenna tuner can be changed, allowing the communication module to adjust the antenna impedance or optimize the antenna's radiation pattern. The communication module adjusts the antenna by adjusting the antenna adjuster because antenna tuners are well-established in antenna adjustment, can save costs, and provide effective adjustment.

[0111] The communication module can adjust, including but not limited to, the main antenna and the diversity antenna.

[0112] For example, Table 4 is a mode table of an antenna tuner provided in an embodiment of the present application. As shown in Table 4, the configuration parameters of the antenna tuner correspond to a working mode of the antenna tuner, and each working mode of the antenna tuner specifies the value of the capacitance and / or inductance connected to the circuit where the antenna is located. For example, the configuration parameter is parameter 2, and the corresponding working mode of the antenna tuner is mode 2. Therefore, the value of the inductance of the circuit where the antenna tuner is connected to the antenna is inductance 2, and the value of the capacitance of the circuit where the antenna is located is capacitance 2. The communication module can adjust the antenna through inductance 2 and capacitance 2. In addition, there are many ways to adjust the antenna through the antenna tuner, including but not limited to the above-mentioned method of adjusting capacitance and / or inductance, which will not be repeated here.

[0113] Table 4

[0114] In one possible implementation, the communication module adjusts the antenna by adjusting the antenna tuner because the physical form of the electronic device has changed. To address the issue of the electronic device obstructing the antenna's ability to transmit and receive signals, antenna adjustment is necessary. Therefore, to conserve resources, the communication module can adjust the antenna tuner based on the changed physical system after the electronic device's physical form has changed.

[0115] Specifically, considering the continuity of the use of electronic devices, electronic devices may continue to exchange data with the outside world through antennas in a certain physical form. Therefore, in order to avoid the waste of computing resources caused by repeated judgments of the communication module. The communication module can determine the adjustment method for the antenna tuner after the physical form of the electronic device changes. Among them, the change in the physical form of the electronic device can be regarded as a change in the current physical form of the electronic device compared with the previous physical form. For example, the angular relationship corresponding to the physical form of the electronic device before time T is the second angular relationship, and the angular relationship corresponding to the physical form of the electronic device at time T is the first angular relationship. It can be determined that the physical form (working mode) of the electronic device has changed. At this time, the communication module needs to adjust the antenna to ensure the efficiency and quality of signal transmission.

[0116] Please refer to Figure 3, which is a schematic diagram of a flow chart of a communication module determining an operating mode provided by an embodiment of the present application. As shown in Figure 3, when the distance sensor is within the communication module, the communication module can determine the operating mode of the electronic device. In order to facilitate the description of the information interaction method when the communication module determines the operating mode, the embodiment of the present application provides a detailed description of how the communication module collects the physical form of the electronic device through the distance sensor and how the communication module adjusts the antenna tuner in accordance with the method shown in Figure 3. For details, please refer to one or more steps in steps S301-S304. Among them, the distance sensor and the antenna tuner are both within the communication module.

[0117] It should be understood that for the sake of convenience, this application describes the sequence of steps S301 to S304, and is not intended to limit execution to the above sequence. The embodiments of this application do not limit the order of execution, execution time, number of executions, etc. of the above one or more steps. Steps S301 to S304 are as follows:

[0118] S301: The distance sensor sends the physical form of the electronic device to the communication module. The distance sensor can collect the physical form of the electronic device. When the physical form of the electronic device changes, the distance sensor can send the physical form of the electronic device to the communication module. A change in the physical form of the electronic device can be considered a change in the current physical form of the electronic device compared to the previous physical form. That is, the physical form of the electronic device currently collected by the distance sensor is different from the previous physical form collected by the distance sensor. The distance sensor can send the currently collected physical form to the communication module.

[0119] After the distance sensor collects the physical form of the electronic device, it can send the physical form of the electronic device to the communication module through the Basic Input Output System (BIOS).

[0120] S302, the communication module determines the working mode of the electronic device. The communication module determines the working mode of the electronic device according to the physical form of the electronic device. For example, the communication module can match the working mode of the electronic device according to the working mode table shown in Table 1. The physical form of the electronic device can be determined by the angular relationship between the first part and the second part of the electronic device, and the communication module can determine the corresponding working mode according to the angular relationship of the electronic device. In this way, when the communication module includes a distance sensor, the communication module can obtain the physical form of the electronic device, and then determine the working mode of the electronic device according to the physical form. The communication module can obtain the changes in the physical form of the electronic device in real time by carrying a sensor to collect the physical form of the electronic device, thereby ensuring the efficiency and effectiveness of the antenna adjustment.

[0121] S303: The communication module determines the configuration parameters of the antenna tuner. Based on Table 2, the communication module can match the corresponding configuration parameters according to the operating mode of the electronic device. Table 2 is a parameter table for the antenna tuner, including multiple operating modes and the configuration parameters corresponding to each operating mode. The communication module may store the parameter table and may also obtain parameter tables from other devices.

[0122] At S304, the communication module adjusts the antenna tuner based on the configuration parameters. Because the antenna tuner is connected to the antenna, changes in the inductance and / or capacitance of the antenna tuner cause changes in the antenna impedance. Therefore, the communication module can adjust the inductance and / or capacitance of the antenna tuner by adjusting the register values ​​of the antenna tuner, thereby adjusting the antenna impedance or optimizing the antenna's radiation pattern.

[0123] Please refer to Figure 4, which is a schematic diagram of a process flow for determining an operating mode of an electronic device according to an embodiment of the present application. As shown in Figure 4, when the distance sensor is within the electronic device, the electronic device can determine the operating mode. The antenna tuner is within the communication module. To facilitate description of how the communication module adjusts the antenna tuner, the present embodiment of the application provides a detailed description of how the communication module adjusts the antenna tuner, as shown in Figure 4.

[0124] It should be understood that for the sake of convenience, this application describes the sequence of steps S401 to S405, and is not intended to limit execution to the above sequence. The embodiments of this application do not limit the order of execution, execution time, number of executions, etc. of the above one or more steps. S401 to S405 are specifically as follows:

[0125] S401: The electronic device determines, via a distance sensor, that a physical form of the electronic device has changed. The electronic device includes a distance sensor. A change in the physical form of the electronic device can be considered a change in the current physical form of the electronic device compared to a previous physical form. That is, the physical form of the electronic device currently captured by the distance sensor is different from the previous physical form captured by the distance sensor. The electronic device can obtain the changed physical form of the electronic device, i.e., the physical form currently captured by the distance sensor, via the distance sensor.

[0126] S402: The electronic device determines an operating mode. The electronic device determines an operating mode based on its physical form. For example, the electronic device may match the operating mode of the electronic device based on the operating mode table shown in Table 1. The physical form of the electronic device may be determined by the angular relationship between the first part and the second part of the electronic device. The electronic device may determine the corresponding operating mode based on the angular relationship of the electronic device.

[0127] S403, the electronic device sends the working mode to the communication module. After determining the working mode, the electronic device can send the above working mode to the communication module, and the communication module receives the working mode from the electronic device. In this way, when the electronic device includes a distance sensor, the electronic device determines the working mode based on the physical form collected by the distance sensor, and then sends it to the communication module. This can save costs. The communication module uses the existing distance sensor of the electronic device, and the communication module does not need to be equipped with additional sensors to obtain the working mode of the electronic device. At the same time, the communication module determines the working mode through the computing power of the electronic device, which also alleviates the computing pressure of the communication module to a certain extent.

[0128] S404: The communication module determines the configuration parameters of the antenna tuner. Based on Table 2, the communication module can match the corresponding configuration parameters according to the operating mode of the electronic device. Table 2 is a parameter table for the antenna tuner, including multiple operating modes and the configuration parameters corresponding to each operating mode. The communication module may store the parameter table and may also obtain parameter tables from other devices.

[0129] At S405, the communication module adjusts the antenna tuner based on the configuration parameters. Because the antenna tuner is connected to the antenna, changes in the inductance and / or capacitance of the antenna tuner cause changes in the antenna impedance. Therefore, the communication module can adjust the inductance and / or capacitance of the antenna tuner by adjusting the register values ​​of the antenna tuner, thereby adjusting the antenna impedance or optimizing the antenna's radiation pattern.

[0130] It is understandable that since the operating mode of an electronic device can be used to reflect the physical form of the electronic device, the communication module adjusting the antenna according to the operating mode of the electronic device is equivalent to adjusting the antenna according to the physical form of the electronic device, which can effectively solve the problem of the physical form of the electronic device blocking the antenna when transmitting and receiving signals. The communication module adjusting the antenna according to the actual physical form of the electronic device is more suitable for actual use. Even if the physical form of the electronic device changes, the communication module can adjust the antenna in real time according to the operating mode corresponding to the physical form of the electronic device.

[0131] The above describes in detail the method of the embodiment of the present application. The following provides an apparatus of the embodiment of the present application.

[0132] Please refer to Figure 5, which is a block diagram of the functional units of an antenna adjustment device provided in an embodiment of the present application. The antenna adjustment device 510 may include a processing unit 512 and a communication unit 514. The antenna adjustment device 510 is used to implement the aforementioned antenna adjustment method, such as the antenna adjustment method shown in Figure 2.

[0133] It should be noted that the division of the above-mentioned multiple units is merely a logical division based on function and does not limit the specific structure of the antenna adjustment device 510. In a specific implementation, some functional modules may be subdivided into more small functional modules, and some functional modules may be combined into a single functional module.

[0134] In a possible implementation, the processing unit 512 is specifically configured to:

[0135] Determining configuration parameters of the antenna tuner according to an operating mode of the electronic device, wherein the connection relationship of the communication module includes one or more of the following: the communication module is built into the electronic device, the communication module is connected to the electronic device by wire, and the operating mode of the electronic device is used to reflect the physical form of the electronic device;

[0136] The antenna is adjusted according to the configuration parameters of the antenna tuner.

[0137] In another possible implementation, the communication module includes a distance sensor, and the processing unit 512 is specifically configured to, before determining the configuration parameters of the antenna tuner according to the operating mode of the electronic device, further include:

[0138] Acquiring information reflecting the physical form of the electronic device through the distance sensor via the communication unit 514;

[0139] The operating mode of the electronic device is determined based on the physical form information.

[0140] In another possible implementation, the electronic device includes a distance sensor, and the communication unit 514 is specifically configured to determine the configuration parameters of the antenna tuner according to the operating mode of the electronic device, and further includes:

[0141] An operating mode is received from the electronic device, wherein the operating mode is determined by the electronic device based on information collected by a distance sensor and used to reflect the physical form of the electronic device.

[0142] In another possible embodiment, the electronic device includes a first part, a second part and a connecting part, the first part and the second part are connected by the connecting part, the connecting part is used to make the first part and the second part form a relative position relationship, the relative position relationship includes an angle relationship between the first part and the second part, and the relative position relationship is used to determine the physical form of the electronic device.

[0143] In another possible implementation, a distance sensor is used to collect relative position relationships.

[0144] In another possible implementation, the communication module stores a parameter table of the antenna tuner, the parameter table including multiple operating modes and configuration parameters corresponding to the multiple operating modes. The operating mode of the electronic device is one of the multiple operating modes. The processing unit 512 is specifically configured to determine the configuration parameters of the antenna tuner according to the operating mode of the electronic device, including:

[0145] The configuration parameters corresponding to the working mode of the electronic device are determined from the parameter table, and the configuration parameters are used as the configuration parameters of the antenna tuner.

[0146] In another possible implementation, the processing unit 512 is specifically configured to adjust the antenna according to the configuration parameters of the antenna tuner, including:

[0147] The value of a register in the antenna tuner is adjusted according to the configuration parameters, wherein the value of the register is used to adjust the impedance of the antenna.

[0148] It should be noted that, in the embodiments of the present application, the specific implementation and technical effects of each unit may also correspond to the corresponding description of the method embodiment shown in FIG2 .

[0149] Please refer to Figure 6, which is a schematic diagram of the structure of a computing device provided in an embodiment of the present application. As shown in Figure 6, computing device 610 may include: one or more processors 612, one or more memories 614, and one or more communication interfaces 616. These components may be connected via bus 618 or other means. Figure 6 uses bus 618 as an example. Among them:

[0150] The communication interface 616 may be used for the computing device 610 to communicate with other communication devices, such as other computing devices. Specifically, the communication interface 616 may be a wired interface.

[0151] The memory 614 can be coupled to the processor 612 via a bus 618 or an input / output port, or the memory 614 can be integrated with the processor 612. The memory 614 is used to store various software programs and / or multiple sets of instructions or data. Specifically, the memory 614 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these. The memory 614 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 614 may store an operating system (hereinafter referred to as "system"), such as an embedded operating system such as uCOS, VxWorks, or RTLinux. The memory 614 may also store a network communication program that can be used to communicate with one or more additional devices, one or more user devices, or one or more terminals. The memory 614 may be independent and connected to the processor 612 via a bus 618. The memory 614 may also be integrated with the processor 612.

[0152] The memory 614 is used to store application code for executing the above solution, and the execution is controlled by the processor 612. The processor 612 is used to execute the application code stored in the memory 614.

[0153] Processor 612 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 612 may also be a combination that implements specific functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like.

[0154] In the embodiment of the present application, the processor 612 may be used to read and execute computer-readable instructions. Specifically, the processor 612 may be used to call a program stored in the memory 614 to perform the following operations:

[0155] Determining configuration parameters of the antenna tuner according to an operating mode of the electronic device, wherein the connection relationship of the communication module includes one or more of the following: the communication module is built into the electronic device, the communication module is connected to the electronic device by wire, and the operating mode of the electronic device is used to reflect the physical form of the electronic device;

[0156] The antenna is adjusted according to the configuration parameters of the antenna tuner.

[0157] In a possible implementation, the processor 612 is specifically configured to:

[0158] Acquiring information reflecting the physical form of the electronic device through a distance sensor;

[0159] The operating mode of the electronic device is determined based on the physical form information.

[0160] In a possible implementation, the processor 612 is specifically configured to:

[0161] An operating mode is received from the electronic device, wherein the operating mode is determined by the electronic device based on information collected by a distance sensor and used to reflect the physical form of the electronic device.

[0162] In one possible embodiment, the electronic device includes a first part, a second part and a connecting part, the first part and the second part are connected by the connecting part, the connecting part is used to form a relative position relationship between the first part and the second part, the relative position relationship includes an angle relationship between the first part and the second part, and the relative position relationship is used to determine the physical form of the electronic device.

[0163] In a possible implementation, the distance sensor is used to collect the relative position relationship.

[0164] In a possible implementation, the processor 612 is specifically configured to:

[0165] Determining configuration parameters corresponding to the operating mode of the electronic device from the parameter table;

[0166] The configuration parameters are used as the configuration parameters of the antenna tuner.

[0167] In a possible implementation, the processor 612 is specifically configured to:

[0168] The value of a register in the antenna tuner is adjusted according to the configuration parameters, wherein the value of the register is used to adjust the impedance of the antenna.

[0169] It should be noted that, in the embodiments of the present application, the specific implementation and technical effects of each unit may also correspond to the corresponding description of the method embodiment shown in FIG2 .

[0170] The present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on at least one processor, the aforementioned method for adjusting the antenna, such as the method of FIG. 2 , is implemented.

[0171] The present application also provides a computer program product, which includes computer instructions, and when executed by a computing device, implements the aforementioned method for adjusting the antenna, such as the method of FIG. 2 .

[0172] In the embodiments of this application, words such as "for example" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "for example" or "for example" should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "for example" or "for example" is intended to present the relevant concepts in a concrete way.

[0173] The “at least one” mentioned in the embodiments of this application refers to one or more, and “plurality” refers to two or more. “At least one of the following items” or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, c can be single or multiple. “And / or” describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character “ / ” generally indicates that the previous and next associated objects are in an “or” relationship.

[0174] Furthermore, unless otherwise specified, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish multiple objects and are not used to limit the order, timing, priority, or importance of multiple objects. For example, the first device and the second device are only for ease of description and do not indicate differences in structure, importance, etc. between the first and second devices. In some embodiments, the first device and the second device can also be the same device.

[0175] In the above embodiments, the term "when" can be interpreted to mean "if...", "after...", "in response to determining...", or "in response to detecting...", depending on the context. The above are merely optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the concepts and principles of the present application shall be included in the scope of protection of the present application.

[0176] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by a program instructing the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0177] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and such modifications or substitutions 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. A method for adjusting an antenna, applied to a communication module, the method comprising: Determining configuration parameters of the antenna tuner according to an operating mode of the electronic device, wherein the connection relationship of the communication module includes one or more of the following: the communication module is built into the electronic device, the communication module is connected to the electronic device by wire, and the operating mode of the electronic device is used to reflect the physical form of the electronic device; The antenna is adjusted according to the configuration parameters of the antenna tuner.

2. The method according to claim 1, characterized in that The communication module includes a distance sensor, and before determining the configuration parameters of the antenna tuner according to the working mode of the electronic device, the method further includes: Acquiring information reflecting the physical form of the electronic device through the distance sensor; The operating mode of the electronic device is determined according to the physical form information.

3. The method according to claim 2, characterized in that The electronic device includes the distance sensor, and before determining the configuration parameters of the antenna tuner according to the working mode of the electronic device, the electronic device further includes: The operating mode is received from the electronic device, wherein the operating mode is determined by the electronic device based on information collected by the distance sensor and used to reflect the physical form of the electronic device.

4. The method according to claim 2 or 3, characterized in that The electronic device includes a first part, a second part and a connecting part, the first part and the second part are connected by the connecting part, the connecting part is used to form a relative position relationship between the first part and the second part, the relative position relationship includes an angle relationship between the first part and the second part, and the relative position relationship is used to determine the physical form of the electronic device.

5. The method according to claim 4, characterized in that The distance sensor is used to collect the relative position relationship.

6. The method according to any one of claims 1 to 5, characterized in that The communication module stores a parameter table of the antenna tuner, the parameter table including multiple operating modes and configuration parameters corresponding to the multiple operating modes, the operating mode of the electronic device is one of the multiple operating modes, and determining the configuration parameters of the antenna tuner according to the operating mode of the electronic device includes: Determining configuration parameters corresponding to the operating mode of the electronic device from the parameter table; The configuration parameters are used as configuration parameters of the antenna tuner.

7. The method according to any one of claims 1 to 6, characterized in that The adjusting the antenna according to the configuration parameters of the antenna tuner includes: The value of a register in the antenna tuner is adjusted according to the configuration parameter, wherein the value of the register is used to adjust the impedance of the antenna.

8. A device for adjusting an antenna, characterized in that: The device includes a processing unit, which is specifically configured to: Determining configuration parameters of the antenna tuner according to an operating mode of the electronic device, wherein the connection relationship of the communication module includes one or more of the following: the communication module is built into the electronic device, the communication module is connected to the electronic device by wire, and the operating mode of the electronic device is used to reflect the physical form of the electronic device; The antenna is adjusted according to the configuration parameters of the antenna tuner.

9. A computing device, characterized in that The computing device includes a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program, so that the computing device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Antenna control method and folding screen terminal

    CN110113459A

  • Foldable mobile terminal, antenna control method and readable storage medium

    CN113131187A

  • Electronic equipment and control method and control device thereof

    CN115621705A

  • Method for adjusting antenna and related device

    CN118316471A

  • Electronic device including antenna and method thereof

    US20230126224A1