Antenna control method and electronic equipment

By matching incoming signal data with a channel type library to select the optimal antenna, the problem of communication quality degradation caused by environmental changes in traditional methods is solved, and fast and efficient antenna switching and high-quality communication are achieved.

CN121124868APending Publication Date: 2025-12-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511287487.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-09
Publication Date
2025-12-12

AI Technical Summary

Technical Problem

Traditional uplink antenna selection methods cannot adapt to changes in environmental conditions, leading to a decline in the communication quality of electronic devices in different environments.

Method used

By acquiring channel type parameters and antenna radiation coverage angle, and using the channel type library to match incoming signal data, the target antenna with the best communication quality is selected, thus achieving adaptive antenna switching.

Benefits of technology

Quickly switch to the optimal antenna when the environment changes to improve communication quality, reduce reliance on arrival detection, increase switching speed and efficiency, and avoid being limited by the accuracy of arrival detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121124868A_ABST
    Figure CN121124868A_ABST
Patent Text Reader

Abstract

The invention relates to an antenna control method and electronic equipment. The antenna control method comprises the following steps: acquiring a channel type parameter of the electronic equipment in a current environment and a radiation coverage angle of each antenna of the electronic equipment in a current attitude; acquiring incoming wave signal data corresponding to the target channel type according to the channel type parameter and a channel type library in the current environment; the target channel type is a channel type matched with the channel type parameter in a channel type library; according to the matching result of the radiation coverage angle of each antenna and the incoming wave signal data of the electronic equipment in the current attitude, a communication link of a target antenna is conducted, and the target antenna is the antenna with the highest matching degree with the incoming wave signal data in the multiple antennas. In different environments, the switching speed is high, the efficiency is high, and the communication quality of the switched antenna is optimal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to an antenna control method and an electronic device. BACKGROUND

[0002] In the same communication frequency band of the electronic device communication scene, multiple antennas can work, and the antennas are distributed in different positions of the electronic device. According to the current communication environment, the uplink antenna is selected.

[0003] The selection method of the uplink antenna in the traditional scheme cannot adapt to the change of environmental conditions, resulting in the communication quality of the electronic device being reduced when the electronic device enters different environments. SUMMARY

[0004] Therefore, it is necessary to provide an antenna control method and an electronic device capable of switching antennas adaptively to environmental changes to ensure communication quality.

[0005] In a first aspect, an antenna control method is provided, applied to an electronic device, the electronic device comprising a plurality of antennas, the plurality of antennas supporting radio frequency signal transmission of a target frequency band, and the plurality of antennas corresponding to different directional patterns, the antenna control method comprising:

[0006] obtaining a channel type parameter in a current environment of the electronic device and a radiation coverage angle of each antenna of the electronic device in a current posture;

[0007] obtaining, according to the channel type parameter in the current environment and a channel type library, a coming wave signal data corresponding to a target channel type; the target channel type is a channel type matched with the channel type parameter in the channel type library;

[0008] According to the matching result of the radiation coverage angle of each antenna of the electronic device in the current posture and the coming wave signal data, a communication link of a target antenna is turned on, and the target antenna is an antenna with the highest matching degree of the coming wave signal data in the plurality of antennas.

[0009] In a second aspect, an electronic device is provided, comprising:

[0010] a plurality of antennas, the plurality of antennas supporting radio frequency signal transmission of a target frequency band, and the plurality of antennas corresponding to different directional patterns;

[0011] a processing circuit, connected with the antennas, and used for executing the steps of the above-mentioned antenna control method.

[0012] The above-mentioned antenna control method and electronic device have at least the following beneficial effects:

[0013] The electronic device can quickly switch to the antenna best for communication in the current environment when entering different environments to ensure communication quality by performing the above antenna control method. In this process, no incoming wave detection is required, and the incoming wave signal data of the environment where the electronic device is currently located can be obtained based on the channel type matching of the channel classification results of the multiple channel models in the channel type library, and the target antenna with good communication quality is turned on. On the one hand, compared with the switching mode of incoming wave direction matching under incoming wave detection, the antenna control method provided in the embodiments of the present application has high switching speed and efficiency in different environments. On the other hand, compared with the incoming wave detection mode, it is not limited by the accuracy of incoming wave detection (the accuracy of incoming wave detection at the electronic device end is limited), and the selected target antenna can ensure good communication quality. BRIEF DESCRIPTION OF DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments of the present application or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other related drawings can be obtained by those skilled in the art without creative labor.

[0015] Figure 1 The structure diagram of the electronic device and the application environment diagram of the antenna control method in one embodiment;

[0016] Figure 2 The flowchart of the antenna control method in one embodiment;

[0017] Figure 3 The incoming wave direction diagram of the electronic device in one environment in one embodiment;

[0018] Figure 4 The incoming wave distribution diagram corresponding to one channel model in one embodiment;

[0019] Figure 5 The incoming wave distribution diagram corresponding to another channel model in one embodiment;

[0020] Figure 6 The step diagram of obtaining the radiation coverage angle of each antenna of the electronic device in the current posture in one embodiment;

[0021] Figure 7 The step diagram of obtaining the environment state of the electronic device in one embodiment;

[0022] Figure 8 The step flowchart of obtaining the incoming wave signal data corresponding to the target channel type according to the channel type parameter and the channel type library in the current environment in one embodiment;

[0023] Figure 9 Fig. 4 is a schematic diagram of the results of matching the direction of arrival of the incoming wave of the four antennas of the electronic device in an embodiment in the current environment;

[0024] Figure 10 Fig. 5 is a structural block diagram of the antenna control device in an embodiment;

[0025] Figure 11 Fig. 6 is an internal structural diagram of the processing circuit in an embodiment. DETAILED DESCRIPTION

[0026] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0027] It should be noted that the terms "first", "second", etc. used in the present application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "include" and "have" and any variations thereof used in the present application are intended to cover non-exclusive inclusion. The term "multiple" used in the present application refers to two or more. The term "and / or" used in the present application refers to one of the options or any combination of multiple options.

[0028] In the current communication scenario, uplink communication is generally transmitted by a single antenna, but in the same communication frequency band, the electronic device generally has multiple antennas that can work to cope with changes in the communication environment and maintain communication quality. The antenna control method provided in the embodiments of the present application can be applied in the application environment as shown in Figure 1 . In the application environment, the electronic device 100 includes a processing circuit 110 and multiple antennas 120, the processing circuit 110 is connected with each antenna 120, the multiple antennas 120 support radio frequency signal transmission (for example, transmission of radio frequency signals of the target frequency band) of the same target frequency band, the processing circuit 110 can select to turn on the communication link of part of the antennas 120 to realize the switching control of the antennas 120. The electronic device 100 can be, but is not limited to, a mobile phone, a tablet computer, a wearable device, a personal notebook computer, etc.

[0029] In an exemplary embodiment, as shown in Figure 2 , an antenna control method is provided, which is applied to the processing circuit 110 in the electronic device 100 as shown in Figure 1 , the electronic device 100 further includes multiple antennas 120 connected with the processing circuit 110, the multiple antennas 120 support radio frequency signal transmission of the target frequency band, the direction patterns corresponding to the multiple antennas 120 are different, and the antenna control method includes:

[0030] S110, acquire a channel type parameter in a current environment of the electronic device and a radiation coverage angle of each antenna of the electronic device in a current posture.

[0031] The channel type parameter refers to a parameter capable of reflecting characteristics of a communication environment in which the electronic device is located. The channel type parameter does not include incoming wave signal data of the environment in which the electronic device is located, but is associated with the incoming wave signal data.

[0032] S120, acquire incoming wave signal data corresponding to a target channel type according to the channel type parameter in the current environment and a channel type library; the target channel type is a channel type matched with the channel type parameter in the channel type library.

[0033] In different environments, there are different wireless channels, and the incoming wave distribution of the channel model is also different. For example, the wireless channels in different environments such as urban canyons, parks, schools, parking lots, office buildings, suburbs, and villages are different. Figure 3 As shown in FIG. 1, in some environments, signals can be transmitted from the direction above the user's head, such as incoming wave 1; in some environments, signals can be reflected from the ground, such as incoming wave 3; and in some environment states, signals can be transmitted horizontally, such as incoming wave 2 (it should be emphasized that this example is only used to simplify the incoming wave direction of the channel model, and in actual scenarios, the incoming wave can come from any direction in space). A channel model in an environment generally includes multiple incoming waves, and the power intensity of different incoming waves is different. The greater the power, the stronger the signal intensity of the incoming wave; conversely, the smaller the power, the weaker the signal intensity of the incoming wave. For wireless channels in different environments, channel acquisition devices can be used to collect and model in different environment states such as urban canyons, parks, schools, parking lots, office buildings, suburbs, and villages, to obtain the channel model in the environment state.

[0034] According to the collected channel model in the network environment, different types of channel models are analyzed, and the angle distribution of the incoming wave of each channel type is obtained, and a corresponding channel type library is established.

[0035] For example, as shown in Table 1, the parameters of the channel model can include the parameters in each column in Table 1. The first column Cluster represents the number of clusters, the second column represents the delay (unit: ns), the third column represents the horizontal angle of arrival AoA, the fourth column represents the pitch angle of arrival ZoA, the fifth column represents the gain of theta polarization, and the sixth column represents the gain of phi polarization.

[0036] Table 1

[0037]

[0038] The gain and angle of arrival of the above-mentioned incoming wave can be expressed as a three-dimensional incoming wave diagram.Figure 4 and Figure 5 The schematic diagrams of the two channel models are given, in which different lines represent the directions of the signal incoming waves, and the length of the line represents the strength of the incoming wave, the longer the length, the greater the gain, and the higher the incoming wave power strength; on the contrary, the shorter the length, the smaller the gain, and the lower the incoming wave power strength. It can be seen that the two channel models have different incoming wave angles and gain distributions, Figure 4 There is a strong incoming wave (such as Figure 4 the side of the red line in the middle), which has a clear direction; and Figure 5 the incoming wave directions in the channel model are relatively dispersed. Therefore, the channel model can be classified based on the parameters in the above table.

[0039] For example, the channel model can be classified into various types as shown in Table 2, such as office building, park, parking lot, suburb, and countryside, which can be classified as type 1, type 2, type 3, and so on. The specific number of types is not limited, the more the sample size of the channel model, the more the number of channel types, and the more accurate the distinction of the environment. Different channel types have different incoming wave angle distribution characteristics, which can be represented by phi distribution and theta distribution, where the phi angle is limited to [0, 360), and the theta angle is limited to [0, 180].

[0040] Table 2

[0041]

[0042] That is, the incoming wave signal data corresponding to different channel types in the embodiment of the application is different. In the application process of the electronic device, it is not necessary to perform incoming wave signal detection, but through channel type matching, the incoming wave distribution under the channel type can be known, which provides data basis for antenna switching. The channel type library can be stored in the cloud or the memory of the electronic device, and the electronic device can access the channel type library through the cloud or the memory of the electronic device when in use.

[0043] S130, according to the matching result of the radiation coverage angle of each antenna of the electronic device under the current posture and the incoming wave signal data, the communication link of the target antenna is turned on, and the target antenna is the antenna with the highest matching degree of the incoming wave signal data in the multiple antennas (i.e. the antenna with the best communication quality).

[0044] Specifically, by acquiring a channel type parameter of the electronic device in a current environment, matching the channel type parameter with channel types in a channel type library, determining a target channel type matched with the channel type parameter, further acquiring a coming wave signal data corresponding to the target channel type, based on a matching result of a radiation coverage angle of each antenna of the electronic device in a current posture and the coming wave signal data, determining a target antenna with good communication quality under the target channel type, and turning on a communication link with the target antenna, the electronic device can quickly switch to the most suitable antenna in the current environment when the environment changes, so as to ensure the communication quality. In this process, without performing coming wave detection, relying on channel classification results of multiple channel models in the channel type library, and based on channel type matching, the coming wave signal data of the current environment of the electronic device can be acquired, and the target antenna with good communication quality can be turned on. On the one hand, compared with the switching mode of matching the coming wave direction under the coming wave detection, the antenna control method provided in the embodiment has high switching speed and high efficiency in different environments. On the other hand, compared with the coming wave detection mode, the target antenna selected is not affected by the accuracy of the coming wave detection (the accuracy of the coming wave detection performed by the electronic device is limited), and the communication quality of the target antenna is good.

[0045] In one embodiment, the target frequency band can include, but is not limited to, LB (Low Band), MHB (Mid High Band), N28 (uplink frequency range 703-748 MHz, downlink frequency range 758-803 MHz), N41 (2496-2690 MHz), and the like.

[0046] In one exemplary embodiment, the channel type parameter includes an environment state in which the electronic device is currently located.

[0047] The environment state reflects the communication environment characteristics of the current environment of the electronic device, and the communication environment characteristics corresponding to different environment states are different. The environment state has a determined corresponding relationship with the channel type. The current longitude, latitude, height, and other data reflecting the location of the electronic device can be obtained by using GPS, WiFi, and the like. Based on these data, the environment in which the electronic device is located is determined to determine the environment state, for example, a park, an office building, a rural area, and the like. Different environment states correspond to different channel types, for example, type 1 corresponds to a park, type 2 corresponds to an office building, and type 3 corresponds to a rural area.

[0048] The channel types in the channel type library can be named according to the characteristics of the wireless channel in addition to being named by type 1, type 2, and the like, for example, multipath fading type (corresponding to an office building environment state), direct dominant type (corresponding to a park environment state), weak signal interference type (corresponding to a rural environment state), fast time-varying type (corresponding to a high-speed rail environment state), and the like. Here, the naming rule of the channel types in the channel type library is not limited, and the naming can distinguish different channel types.

[0049] By obtaining the environment state, the wireless channel condition of the electronic device can be obtained by using the correspondence between the environment state and the channel type, thereby providing data basis for antenna switching control. The process does not need to perform incoming wave detection, has high processing speed, is not affected by the accuracy of incoming wave detection, and has good switching effect.

[0050] In an exemplary embodiment, as shown in Figure 6 the obtaining of the radiation coverage angle of each antenna of the electronic device in the current posture includes:

[0051] S410, obtaining posture angle data of the electronic device.

[0052] S420, obtaining the radiation coverage angle of each antenna of the electronic device in the current posture according to the posture angle data and pre-stored directional diagram data of each antenna.

[0053] The posture angle data of the electronic device can be obtained by using the sensors such as a gyroscope provided in the electronic device. The posture angle data can include a pitch angle and an azimuth angle, which can represent the tilt state of the electronic device. The radiation coverage range of each antenna of the electronic device in different postures changes with the posture. By using the known directional diagram data of each antenna, the radiation coverage angle of each antenna of the electronic device in the current posture in the environment coordinate system can be obtained.

[0054] By obtaining the posture angle data of the electronic device, the radiation coverage angle of each antenna of the electronic device in the current posture is determined by using the correspondence between the posture angle data and the antenna radiation coverage angle. The characteristics of the incoming wave signal of the determined channel type are combined to match the radiation coverage angle of each antenna and the incoming wave signal, so as to select an antenna from multiple antennas to support the signal transmission of the target frequency band based on the principle of ensuring the best communication quality. This method does not need to perform incoming wave detection at the electronic device end, can quickly perform antenna switching when the environment changes, has high switching efficiency, and has high accuracy in selecting the target antenna due to the limitation of the accuracy of incoming wave detection, and has good switching effect.

[0055] In an exemplary embodiment, as shown in Figure 7 the obtaining of the environment state in which the electronic device is currently located includes:

[0056] S510, obtaining geographic position information of the electronic device. The geographic position information can include latitude, longitude, height, etc.

[0057] S520, acquiring an environment state in which the electronic device is currently located according to the geographic location information and the map information. The map information can be acquired from the cloud, and the position of the geographic location on the map can be determined through the geographic location information, and then according to the position of the electronic device on the map, it is determined whether the electronic device is currently in a park or an office building or other environment state.

[0058] The acquisition of the environment state can be realized based on the positioning function of the electronic device itself, without the need for hardware modification. In addition, as described in the above embodiment, the wireless channel is different in different environments, and based on the corresponding relationship, the wireless channel characteristics of the environment in which the electronic device is currently located can be understood through the correspondence from the geographic location information to the environment state and from the environment state to the wireless channel, without the need for incoming wave detection. Compared with the incoming wave detection method, the antenna switching control is fast and accurate.

[0059] In one exemplary embodiment, as shown in Figure 8 According to the channel type parameter in the current environment and the channel type library, the incoming wave signal data corresponding to the target channel type is acquired, including:

[0060] S610, acquiring a target channel type matched from the channel type library according to the environment state in which the electronic device is currently located;

[0061] S620, acquiring the incoming wave signal data corresponding to the target channel type based on the target channel type and the mapping relationship between the channel type and the incoming wave signal data.

[0062] This method for acquiring incoming wave signal data does not need to continuously receive original signals at high power for incoming wave detection, which reduces power consumption and is beneficial to improve the endurance time of the electronic device. In addition, the electronic device does not need to run complex original incoming wave signal analysis algorithms (such as fast Fourier transform, multipath separation, etc.), and the algorithm power occupancy rate is effectively reduced to avoid the electronic device from being stuck due to signal processing.

[0063] In one exemplary embodiment, the incoming wave signal data includes an incoming wave angle and a power intensity parameter. The power intensity parameter refers to a parameter that can represent the power level of the incoming wave, for example, the gain in the direction of the incoming wave.

[0064] By matching the radiation coverage angle of the antenna of the electronic device in the current posture with the incoming wave angle and the power intensity parameter matched with the target channel type, the matching of the incoming wave range and the matching of the power intensity are fully considered, and the antenna with the highest matching degree is selected as the target antenna from two dimensions. If the currently conducting antenna is the target antenna, there is no need to switch, and if the currently conducting antenna is not the target antenna, the target antenna is switched on, and uplink communication is performed through the target antenna. Based on the selected target antenna, the communication quality of the electronic device after switching can be guaranteed to be the best.

[0065] In an exemplary embodiment, the target antenna is the antenna whose radiation coverage angle in the current posture of the electronic device is the largest in the range of the angle of coincidence of the incoming wave angle and the target channel type, and the antenna that can receive the incoming wave with the highest power intensity.

[0066] To illustrate the implementation of the antenna control method provided in the present application, an example is given below. Figure 9 For example, the black arrows represent the distribution of the incoming wave in the matching channel type, and the thickest arrow represents the incoming wave with the highest power intensity. As can be seen from the figure, the incoming wave in the channel type mainly comes from the right side of the electronic device and is scattered on the left side and the top of the electronic device. Therefore, the antenna pattern of the antenna ANT3 located on the right side of the electronic device covers most of the incoming wave (i.e., the range of the angle of coincidence of the radiation coverage angle of the antenna ANT3 in the current posture of the electronic device and the incoming wave angle in the target channel type is the largest), and the antenna ANT3 can also receive the incoming wave with the highest power intensity. Therefore, the antenna ANT3 can be selected as the target antenna (optimal uplink antenna), and if the current uplink antenna is the antenna ANT3, the antenna ANT3 remains unchanged; if the current uplink antenna is another antenna, the antenna ANT3 is switched on.

[0067] In an exemplary embodiment, the step of constructing the channel type library comprises:

[0068] Obtaining parameters of channel models in different environments; the parameters of the channel models include the gain and the angle of arrival of the incoming wave;

[0069] Based on the parameters of the channel models, determining the channel type corresponding to the channel models.

[0070] For different channel models in different environments, the parameters including the gain and the angle of arrival of the incoming wave are collected, the gain and the angle of arrival of the incoming wave can reflect the distribution of the incoming wave, based on the differences in the distribution characteristics of the incoming wave, the channel models are classified, and based on the classification results, a plurality of channel types are obtained. For example, channel models with similar ranges of the angle of arrival of the incoming wave can be classified into one category. Channel models obtained in the same environment state can also be classified into the same category. Through the construction of the channel type library, data basis is provided for the antenna switching control of the electronic device during movement. The antenna switching can be realized without complex incoming wave detection of the electronic device, and the switching efficiency is high.

[0071] In an exemplary embodiment, the parameters of the channel models include a three-dimensional incoming wave graph, the three-dimensional incoming wave graph shows an incoming wave line, the extension direction of the incoming wave line represents the angle of arrival of the signal, and the length of the incoming wave line represents the size of the polarization gain. The three-dimensional incoming wave graph can intuitively show the distribution characteristics of the incoming wave of different channel models, which is beneficial to improve the efficiency of channel type classification.

[0072] In an exemplary embodiment, the polarized gain of different sizes on the three-dimensional wave arrival map corresponds to different colors of the wave arrival lines. Alternatively, only the wave arrival line with the highest power intensity can be displayed in a special color, so as to quickly divide the channel type based on the direction of the wave arrival with the highest power intensity.

[0073] In an exemplary embodiment, the channel type parameter in the current environment of the electronic device is obtained, including:

[0074] In the case of reaching the next cycle period, the step of obtaining the channel type parameter in the current environment of the electronic device, the length of the cycle period is negatively correlated with the size of the moving speed of the electronic device.

[0075] The above method steps can be executed in a cycle, which is suitable for the scene of the movement of the electronic device. The cycle period can be set to any time, such as 10s, 30s, 60s, etc., which depends on the moving speed of the electronic device. The length of the cycle period is negatively correlated with the size of the moving speed of the electronic device. The faster the moving speed of the electronic device, the faster it moves to different environments. At this time, a smaller cycle period is used to execute the above method steps, so that when the electronic device moves to different environments, the communication demand in different environments can be quickly matched by executing the above steps, and the communication quality is ensured. Conversely, the slower the moving speed of the electronic device, the slower it moves to different environments. At this time, a larger cycle period is used to execute the above method steps, which can save energy consumption while matching the communication demand in different environments, and the endurance time of the electronic device and the communication quality of the electronic device are taken into account.

[0076] In an exemplary embodiment, the above method further includes:

[0077] When the moving speed variation threshold of the electronic device exceeds the preset threshold, the cycle period is updated based on the current moving speed.

[0078] The antenna control method provided by the embodiments of the present application quickly switches to the antenna with the best communication quality by using the difference of the wireless channel in different environments and the antenna directional diagram distribution in combination with the user use scene in different environments, improves the uplink transmission throughput, and enhances the user experience.

[0079] It should be understood that although each step in the flowchart involved in each embodiment as described above is shown in sequence according to the direction of the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless explicitly stated herein, there is no strict order limitation for the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowchart involved in each embodiment as described above can include multiple steps or multiple stages, which are not necessarily executed at the same time but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential but can be alternately or alternately executed with at least some of the other steps or steps or stages in other steps. It can be understood that the steps in different embodiments can be freely combined as needed, and various non-contradictory schemes formed by the combination are within the scope of protection of the present application.

[0080] Based on the same inventive concept, the embodiments of the present application also provide an antenna control device for implementing the above-mentioned antenna control method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more antenna control device embodiments provided below can refer to the limitations of the antenna control method in the above text, which will not be repeated here.

[0081] In an exemplary embodiment, as shown in Figure 10 An antenna control device is provided, applied to an electronic device, the electronic device comprising a plurality of antennas, the plurality of antennas supporting radio frequency signal transmission of a target frequency band, the plurality of antennas corresponding to different directional patterns, the antenna control device comprising:

[0082] The parameter acquisition module 101 is configured to acquire a channel type parameter in a current environment of the electronic device and a radiation coverage angle of each antenna of the electronic device in a current posture;

[0083] The incoming wave data acquisition module 102 is configured to acquire incoming wave signal data corresponding to a target channel type according to the channel type parameter in the current environment and a channel type library; the target channel type is a channel type matched with the channel type parameter in the channel type library.

[0084] The antenna conduction execution module 103 is configured to conduct a communication link of a target antenna according to a matching result of the radiation coverage angle of each antenna of the electronic device in the current posture and the incoming wave signal data, the target antenna being an antenna with the highest matching degree with the incoming wave signal data in the plurality of antennas.

[0085] Each of the modules in the antenna control apparatus can be implemented by software, hardware, and combinations thereof, in whole or in part. The modules can be embedded in or independent of a processor in the processing circuit in hardware form, or stored in a memory in the processing circuit in software form, so as to be invoked by the processor to perform operations corresponding to each of the modules. The antenna control module further includes other modules or units corresponding to other steps in the method embodiments, which are not described herein.

[0086] In an exemplary embodiment, a processing circuit is provided, which can be a terminal, and an internal structure diagram thereof can be as shown in Figure 11 The processing circuit includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. The processor of the processing circuit is configured to provide computing and control capabilities. The memory of the processing circuit includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the processing circuit is configured to exchange information between the processor and external devices. The communication interface of the processing circuit is configured to perform wired or wireless communication with external terminals, and the wireless communication can be achieved through WIFI, mobile cellular network, near field communication (NFC), or other technologies. The computer program is executed by the processor to implement an antenna control method.

[0087] Those skilled in the art can understand that Figure 11 The structure shown in the above

[0088] In an exemplary embodiment, a processing circuit is provided, which includes a memory and a processor, and the memory stores a computer program. The processor executes the computer program to implement the steps of the antenna control method and corresponding beneficial effects, which are not described herein.

[0089] In an embodiment, as Figure 1As shown, an electronic device 100 is provided, which comprises a plurality of antennas 120, and a processing circuit 110. The plurality of antennas 120 support radio frequency signal transmission of target frequency bands, and the plurality of antennas 120 correspond to different directional patterns. The processing circuit 110 is connected with the antennas 120, and the processing circuit 110 is configured to execute the steps of the antenna control method. By executing the steps of the antenna control method, the electronic device 100 can quickly switch the optimal communication antenna in different environments, and the switching efficiency is high, and the communication quality after switching is optimal.

[0090] In one embodiment, an electronic device is provided, which comprises Figure 1 As shown, the electronic device 100 comprises a plurality of antennas 120, and the processing circuit 110. The explanation of the processing circuit 110 can refer to the description in the above embodiments. The electronic device 100 carrying the processing circuit 110 can quickly switch the optimal communication antenna in different environments, and the switching efficiency is high, and the communication quality after switching is optimal.

[0091] In one embodiment, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the steps of the antenna control method, and the corresponding beneficial effects are achieved, which will not be repeated here.

[0092] In one embodiment, a computer program product is provided, which comprises a computer program. The computer program is executed by a processor to implement the steps of the antenna control method, and the corresponding beneficial effects are achieved, which will not be repeated here.

[0093] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.

[0094] The technical features of the above embodiments can be combined in any manner. To make the description concise, all possible combinations of the technical features in the above embodiments are not described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present application.

[0095] The above-described embodiments are merely illustrative of several embodiments of the present application, which are described in more detail and in a specific manner, but should not be construed as limiting the scope of the patent of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. An antenna control method, characterized in that, Applied to an electronic device, the electronic device includes multiple antennas, the multiple antennas support radio frequency signal transmission in a target frequency band, the multiple antennas correspond to different radiation patterns, and the antenna control method includes: Obtain the channel type parameters of the electronic device in the current environment, and the radiation coverage angle of each antenna of the electronic device in the current posture; Based on the channel type parameters and the channel type library in the current environment, obtain the incoming signal data corresponding to the target channel type; the target channel type is the channel type in the channel type library that matches the channel type parameters. Based on the matching results of the radiation coverage angle of each antenna of the electronic device in the current posture and the incoming wave signal data, the communication link of the target antenna is activated, wherein the target antenna is the antenna with the highest matching degree with the incoming wave signal data among the plurality of antennas.

2. The method according to claim 1, characterized in that, The channel type parameter includes the current environmental state of the electronic device.

3. The method according to claim 1, characterized in that, The steps for obtaining the radiation coverage angle of each antenna of the electronic device in the current attitude include: Acquire the attitude angle data of the electronic device; Based on the attitude angle data and the pre-stored radiation pattern data of each of the antennas, the radiation coverage angle of each antenna of the electronic device in the current attitude is obtained.

4. The method according to claim 2, characterized in that, The steps for obtaining the current environmental state of the electronic device include: Obtain the geographical location information of the electronic device; Based on the geographical location information and map information, the current environmental state of the electronic device is obtained.

5. The method according to claim 2, characterized in that, The step of obtaining the incoming signal data corresponding to the target channel type based on the channel type parameters and the channel type library under the current environment includes: Based on the current environmental state of the electronic device, a matching target channel type is obtained from the channel type library; Based on the target channel type and the mapping relationship between the channel type and the incoming signal data, the incoming signal data corresponding to the target channel type is obtained.

6. The method according to claim 5, characterized in that, The incoming wave signal data includes the incoming wave angle and power intensity parameters.

7. The method according to claim 6, characterized in that, The target antenna is the antenna whose radiation coverage angle matches the target channel type within the largest range of angles that coincide with the incoming wave angle under the current attitude of the electronic device, and which includes the incoming wave with the highest power intensity.

8. The method according to claim 1, characterized in that, The steps for constructing the channel type library include: Obtain the parameters of the channel model under different environments; the parameters of the channel model include the gain and angle of arrival of the incoming wave; Based on the parameters of the channel model, the channel type corresponding to the channel model is determined.

9. The method according to claim 8, characterized in that, The parameters of the channel model include a three-dimensional arrival diagram, which displays the arrival line. The extension direction of the arrival line represents the arrival angle of the signal, and the length of the arrival line represents the magnitude of the polarization gain.

10. The method according to claim 1, characterized in that, The process of obtaining the channel type parameter of the electronic device in the current environment includes: In the step of obtaining the channel type parameters of the current environment of the electronic device when the next cycle is reached, the duration of the cycle is negatively correlated with the moving speed of the electronic device.

11. An electronic device, characterized in that, include: Multiple antennas, wherein the multiple antennas support radio frequency signal transmission in the target frequency band, and the multiple antennas have different radiation patterns; A processing circuit connected to the antenna, the processing circuit being used to execute the steps of the antenna control method according to any one of claims 1-10.