Control method and device of electronic equipment and electronic equipment
By determining the target operating parameters of the amplifier unit in the electronic device, the problem of the influence of the speaker component on the wireless signal strength of the antenna component is solved, the signal transmission quality is improved, and the wireless signal strength of the preset target is realized.
Patent Information
- Application Number
- CN202410952758.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-22
AI Technical Summary
In electronic devices, the amplifier unit of the speaker assembly will affect the wireless signal strength of the antenna assembly, resulting in a decrease in signal quality, especially in the multi-speaker layout, electromagnetic interference is common.
By determining the target operating parameters of the amplifier unit when the speaker component and the antenna component are jointly operated, the wireless signal strength of the antenna component meets the preset target. The specific method includes determining the operating parameters of the antenna component and the target operating parameters of the amplifier unit, and reducing the amplifier The influence of the unit on the wireless signal strength of the antenna assembly.
It effectively reduces the impact of speaker components on the wireless signal strength of the antenna components, improves signal transmission quality, and ensures that the signal strength of the antenna components reaches the preset standards.
Smart Images

Figure CN119012075A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a control method and device for electronic equipment and the electronic equipment. Background Art
[0002] Taking tablet computers as an example, as users have higher and higher requirements for audio-related performance, tablet computers now generally have 4 or even 8 speakers. Correspondingly, there will be 4 or 8 audio power amplifiers. This multi-speaker device has a compact layout and the speakers are close to the antenna, resulting in an increasingly common phenomenon of speaker electromagnetic interference with the antenna. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a control method and device for an electronic device and an electronic device.
[0004] In a first aspect, the present application provides a control method of an electronic device, wherein the electronic device comprises at least an antenna assembly and a speaker assembly, wherein the speaker assembly comprises at least a power amplifier unit; the method comprises:
[0005] Based on the speaker assembly being started and the antenna assembly being in operation, determining a first operating parameter of the antenna assembly;
[0006] The target operating parameter of the power amplifier unit is determined based on the first operating parameter of the antenna assembly, so that the wireless signal strength corresponding to the antenna assembly meets a preset target.
[0007] Optionally, the power amplifier unit corresponds to at least two different parameters to be operated; and determining the target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly so that the wireless signal strength corresponding to the antenna assembly meets a preset target includes:
[0008] Determine the test wireless signal strength corresponding to the antenna assembly based on each of the parameters to be operated;
[0009] Determine the difference between the test wireless signal strength and the wireless signal strength reference value, and determine the operating parameter with the smallest difference as the target operating parameter, so that the wireless signal strength corresponding to the antenna assembly meets the preset target;
[0010] The wireless signal strength reference value is a wireless signal strength value corresponding to the antenna assembly when the speaker assembly is not started.
[0011] Optionally, the first operating parameter includes an operating frequency of the antenna assembly; the parameter to be operated and the target operating parameter include an operating frequency of the power amplifier unit.
[0012] Optionally, the antenna assembly includes a plurality of operating frequencies; the wireless signal strength reference value includes the wireless signal strength of the antenna assembly at all operating frequencies;
[0013] The determining the test wireless signal strength corresponding to the antenna assembly based on each of the parameters to be operated respectively includes:
[0014] The test wireless signal strength of the antenna assembly at all operating frequencies is determined based on the operating frequency of each of the power amplifier units.
[0015] Optionally, determining the difference between the test wireless signal strength and a wireless signal strength reference value includes:
[0016] Form a plurality of first arrays based on the test wireless signal strength of the antenna assembly at all operating frequencies corresponding to the operating frequency of each power amplifier unit;
[0017] forming a second array based on the wireless signal strength reference value;
[0018] Subtract multiple groups of the first array from the second array to form multiple groups of difference arrays.
[0019] Optionally, determining the parameter to be operated with the smallest difference as the target operating parameter includes:
[0020] The maximum difference in each group of the difference arrays is determined, and the operating frequency of the power amplifier unit corresponding to the difference array with the smallest maximum difference among all the difference arrays is used as the target operating parameter.
[0021] Optionally, the antenna assembly includes at least two antenna units of different types; and determining the target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly further includes:
[0022] Determine the sub-target operating parameters corresponding to each of the antenna units respectively;
[0023] The target operating parameter is determined based on a plurality of sub-target operating parameters.
[0024] Optionally, determining the target operating parameter based on a plurality of sub-target operating parameters includes:
[0025] Determining a priority of each of the antenna units;
[0026] Based on the priority order, the sub-target operating parameter of the antenna unit corresponding to the first priority is determined as the target operating parameter.
[0027] In a second aspect, the present application further provides a control device for an electronic device, wherein the electronic device comprises at least an antenna assembly and a speaker assembly, wherein the speaker assembly comprises at least a power amplifier unit; the device comprises:
[0028] A first determining unit, configured to determine a first operating parameter of the antenna assembly based on the speaker assembly starting to operate and the antenna assembly being in an operating state;
[0029] The second determination unit is used to determine the target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly, so that the wireless signal strength corresponding to the antenna assembly meets the preset target.
[0030] In a third aspect, the present application further provides an electronic device, comprising: a processor and a memory;
[0031] The processor is used to execute the steps of any method described in the first aspect by calling the program or instructions stored in the memory.
[0032] The control method of the electronic device provided in the embodiment of the present application can control the operating parameters of the power amplifier unit in the speaker assembly during the joint operation of the speaker assembly and the antenna assembly, so that the wireless signal strength corresponding to the antenna assembly meets the preset target, that is, in fact, by controlling the operating parameters of the power amplifier unit in the speaker assembly, even if the speaker assembly and the antenna assembly are operated together, the impact on the wireless signal strength of the antenna assembly can be minimized. Therefore, the present application can improve the problem of the power amplifier unit in the speaker assembly affecting the wireless signal strength of the antenna assembly when the antenna assembly and the speaker assembly are operated together through the above technical solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of a control method for an electronic device provided in an embodiment of the present application;
[0034] Figure 2 A schematic diagram of the structure of a control device of an electronic device provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0038] The control method of the electronic device provided in the embodiment of the present application can be applied to electronic devices with a speaker assembly and an antenna assembly, such as mobile phones, tablet computers, smart watches, etc., which are only illustrative and not exhaustive.
[0039] The antenna assembly is used to send or receive wireless signals to the outside world in the form of wireless signals such as wireless radio frequency. The wireless signal strength (Received Signal Strength Indicator, RSSI) of the antenna assembly reflects the quality of the wireless signal transmitted or received by the antenna assembly. Generally speaking, it is believed that the lower the RSSI value, the higher the wireless signal quality, and the higher the RSSI value, the lower the wireless signal quality. During the operation of the speaker assembly, the electromagnetic signal generated by the power amplifier unit (power amplifier) therein will have a greater impact on the RSSI value of the antenna assembly, which actually affects the quality of the wireless signal transmitted or received by the antenna assembly.
[0040] In order to solve the above technical problems, an embodiment of the present application provides a control method of an electronic device, where the electronic device at least includes an antenna assembly and a speaker assembly, and the speaker assembly at least includes a power amplifier unit. Figure 1 A schematic flow chart of a control method for an electronic device provided in an embodiment of the present application, the method comprising:
[0041] S101. Determine a first operating parameter of the antenna assembly based on the speaker assembly starting to operate and the antenna assembly being in an operating state.
[0042] S102: Determine a target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly, so that the wireless signal strength corresponding to the antenna assembly meets a preset target.
[0043] Specifically, in order to reduce the influence of the power amplifier unit in the speaker assembly (which is simply described as a power amplifier unit in subsequent embodiments) on the RSSI value of the antenna assembly, the embodiment of the present application can determine the operating state of the antenna assembly when determining that the speaker assembly is started, that is, what is more important is that the power amplifier unit is started. The control method provided in the embodiment of the present application can be controlled and executed by certain controllers in the electronic device. If the speaker assembly is also in operation during the startup process of the antenna assembly, it is necessary to control the operating parameters of the power amplifier unit. Specifically, when the antenna assembly is running at the first operating parameter, a target operating parameter of the speaker assembly that meets the requirements and enables the wireless signal strength of the antenna assembly (subsequently replaced by the RSSI value) to meet the preset target can be determined.
[0044] Among them, "RSSI value meets the preset target" can be understood as the RSSI value is lower than a certain (or certain) threshold value; it can also be that the ratio of the RSSI reference value when not affected by the power amplifier unit is lower than a certain (or certain) threshold value; it may also be the optimal solution when all RSSI values are combined, for example, determining the RSSI value corresponding to the operating parameters of all power amplifier units, selecting the minimum RSSI value, and the minimum RSSI value can be considered to meet the preset target.
[0045] After the target operating parameters are determined, the power amplifier unit can be controlled to operate with the target operating parameters. In summary, the embodiments of the present application can reduce the influence of the speaker assembly on the RSSI value of the antenna assembly and improve the signal transmission quality of the antenna assembly.
[0046] In some embodiments, the power amplifier unit corresponds to at least two different parameters to be operated. Determining the target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly so that the wireless signal strength corresponding to the antenna assembly meets the preset target includes:
[0047] The test wireless signal strength corresponding to the antenna assembly is determined based on each parameter to be operated.
[0048] The difference between the test wireless signal strength and the wireless signal strength reference value is determined, and the operating parameter with the smallest difference is determined as the target operating parameter, so that the wireless signal strength corresponding to the antenna assembly meets the preset target.
[0049] The wireless signal strength reference value is the wireless signal strength value corresponding to the antenna component when the speaker component is not started.
[0050] Specifically, the power amplifier unit can generally operate with one of a plurality of fixed operating parameters, and these plurality of fixed operating parameters are considered as parameters to be operated.
[0051] The embodiment of the present application can test the RSSI value of the antenna assembly based on each parameter to be operated, and the result obtained is the test RSSI value. Compare and subtract multiple test RSSI values from the wireless signal strength reference value (subsequently replaced by the reference RSSI value) to obtain the difference, and the one with the smallest difference is the closest to the original. The actual meaning represented is that the parameter to be operated corresponding to the test RSSI value with the smallest difference is the operating parameter with the smallest impact of the power amplifier unit on the wireless signal quality of the antenna assembly, so it is determined as the target operating parameter to achieve the purpose of reducing the impact of the power amplifier unit on the quality of the wireless signal of the antenna assembly.
[0052] In some embodiments, the first operating parameter includes an operating frequency of the antenna assembly. The parameter to be operated and the target operating parameter include an operating frequency of the power amplifier unit.
[0053] Specifically, different antenna components have different signal formats, such as 2G signals, 3G signals, 4G signals, 5G signals, etc. Different signal formats correspond to different operating frequency bands, that is, they actually have different operating frequency ranges and operating frequencies. When the operating frequency of the power amplifier unit conflicts with the operating frequency of the antenna component, it will affect the RSSI value of the antenna component. Therefore, the embodiment of the present application can control the operating frequency of the power amplifier unit to achieve the purpose of reducing the impact on the RSSI value of the antenna component.
[0054] In some embodiments, the antenna assembly includes multiple operating frequencies, and the wireless signal strength baseline value includes the wireless signal strength of the antenna assembly at all operating frequencies.
[0055] Determine the test wireless signal strength corresponding to the antenna assembly based on each parameter to be operated, including:
[0056] The test wireless signal strength of the antenna assembly at all operating frequencies is determined based on the operating frequency of each power amplifier unit.
[0057] Specifically, for example, the operating frequency of a 5G signal is 4800-4900 MHz. If the antenna component is a functional device for receiving or transmitting 5G signals, its operating frequency is 4800-4900 MHz.
[0058] The following is an exemplary description of the embodiment of the present application. The wireless signal strength reference value is the RSSI value of the antenna assembly at 4800-4900 MHz, for example:
[0059] RSSI 基准 :[RSSI 基准1 ,RSSI 基准2 ,RSSI 基准3 ,…RSSI 基准n ]
[0060] The operating frequency of the power amplifier unit can be f 11 ,f 12 ,f 13 ,f 14 Therefore, the embodiment of the present application can actually obtain multiple test RSSI values, which are:
[0061] f 11 :[RSSI 测试111 ,RSSI 测试112 ,RSSI 测试113 ,…RSSI 测试11n ]
[0062] f 12 :[RSSI 测试121 ,RSSI 测试122 ,RSSI 测试123 ,…RSSI 测试12n ]
[0063] f 13 :[RSSI 测试131 ,RSSI 测试132 ,RSSI 测试133 ,…RSSI 测试13n ]
[0064] f 14 :[RSSI 测试141 ,RSSI 测试142 ,RSSI 测试143 ,…RSSI 测试14n ]
[0065] In some embodiments, determining the difference between the test wireless signal strength and the wireless signal strength reference value includes:
[0066] A plurality of first arrays are formed based on the test wireless signal strength of the antenna assembly corresponding to the operating frequency of each power amplifier unit at all operating frequencies.
[0067] A second array is formed based on the wireless signal strength reference value.
[0068] Subtract the multiple sets of first arrays from the second array to form multiple sets of difference arrays.
[0069] Specifically, after obtaining the test RSSI value and the reference RSSI value, a first array and a second array may be formed respectively, and the multiple groups of the first array and the second array may be subtracted respectively. In order to illustrate the test RSSI value and the reference RSSI value relatively neatly in the above embodiment, they have been presented in the form of arrays respectively. After subtraction, the difference arrays corresponding to the operating frequency of each power amplifier unit may be obtained respectively:
[0070] f11 :[RSSI 差值111 ,RSSI 差值112 ,RSSI 差值113 ,…RSSI 差值11n ]
[0071] f 12 :[RSSI 差值121 ,RSSI 差值122 ,RSSI 差值123 ,…RSSI 差值12n ]
[0072] f 13 :[RSSI 差值131 ,RSSI 差值132 ,RSSI 差值133 ,…RSSI 差值13n ]
[0073] f 14 :[RSSI 差值141 ,RSSI 差值142 ,RSSI 差值143 ,…RSSI 差值14n ]
[0074] By determining the difference array, the gap between the test RSSI value and the reference RSSI value can be accurately reflected.
[0075] In some embodiments, determining the operating parameter with the smallest difference as the target operating parameter includes:
[0076] The maximum difference in each group of difference arrays is determined, and the operating frequency of the power amplifier unit corresponding to the difference array with the smallest maximum difference among all the difference arrays is used as the target operating parameter.
[0077] Specifically, the embodiment of the present application can actually use a variety of determination methods to determine the target operating parameters (target operating frequency of the power amplifier unit). This is actually just an example. Due to the impact on the quality of the wireless signal, the greater the difference with the reference RSSI value, the worse the quality of the wireless signal. Therefore, by determining the difference array with the smallest maximum difference, and further determining its corresponding operating frequency, it can be used as the target operating parameter.
[0078] For example:
[0079] f 11 :[RSSI 差值111 =1,RSSI 差值112 =1,RSSI 差值113 =1,RSSI 差值114 =4]
[0080] f 12 :[RSSI差值121 =2,RSSI 差值122 =2,RSSI 差值123 =2,RSSI 差值124 =2]
[0081] f 13 :[RSSI 差值131 =3,RSSI 差值132 =2,RSSI 差值133 =2,RSSI 差值134 =2]
[0082] f 14 :[RSSI 差值141 =5,RSSI 差值142 =0,RSSI 差值143 =0,RSSI 差值144 =0]
[0083] It can be seen from the values of the above difference arrays that f 11 The corresponding maximum difference is 4, f 12 The corresponding maximum difference is 2, f 13 The corresponding maximum difference is 3, f 14 The corresponding maximum difference is 5. That is, f 12 The corresponding maximum difference is the smallest, so f 12 as a target run parameter. Although f 14 In the corresponding difference array, remove RSSI 差值141 =5, and the others are the same as the reference RSSI values. However, this value actually has the greatest impact on the wireless signal quality of the antenna assembly, so it should not be used as a target operating parameter. Other operating frequencies are similar. It should be noted that the specific values in the above difference array are only used to clearly describe the embodiments of this application, and the magnitude of the values may not be completely consistent with the actual situation.
[0084] Through the above scheme, the target operating parameters can be determined with little impact on the quality of the wireless signal.
[0085] In all the above embodiments, only one speaker assembly and one power amplifier unit are actually used for the description. However, it can be known from the background technology that the existing electronic devices are generally provided with multiple speaker assemblies and corresponding multiple power amplifier units. The embodiment of the present application is only exemplified by one speaker assembly. For other speaker assemblies, the same principle as above can be referred to to determine the target operating parameters in turn, which will not be repeated here.
[0086] In some embodiments, the antenna assembly includes at least two different types of antenna units. Determining a target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly also includes:
[0087] Determine the sub-target operating parameters corresponding to each antenna unit respectively.
[0088] A target operating parameter is determined based on a plurality of sub-target operating parameters.
[0089] For example, the electronic device may include multiple different types of antenna units, such as a main frequency PRX antenna, a WiFi antenna, a GPS antenna, etc. The operating frequencies of different antenna units may be different, so after the power amplifier unit is running, different antenna units will have different effects.
[0090] To this end, the embodiment of the present application can determine the sub-target operating parameters corresponding to each antenna unit according to the scheme in the above embodiment when multiple antenna units are operating together, and then determine the target operating parameters based on the multiple sub-target operating parameters. Specifically, different target operating parameters can be determined according to different needs. For example, in some embodiments, the target operating parameters are determined based on multiple sub-target operating parameters, including:
[0091] Determine the priority of each antenna element.
[0092] Based on the priority order, the sub-target operating parameters of the antenna unit corresponding to the first priority are determined as the target operating parameters.
[0093] Specifically, during the operation of the electronic device, it will be in one or more operating states. For example, the electronic device is transmitting a LAN wireless signal through a WiFi antenna while being positioned through a GPS antenna. In this state, there may be specific priorities, such as certain positioning priorities, or LAN wireless signal priorities, and so on. The embodiment of the present application can determine the priority of each antenna unit, and based on the priority order, the power amplifier unit has the least impact on the RSSI value of the first priority when operating with the target operating parameters. As an option, the priority order can be GPS antenna priority>WIFI antenna priority>main antenna priority>diversity antenna priority.
[0094] For example, after determining that the speaker component has started running, all antenna units that are currently in operation can be determined, and then the antenna units with the first priority can be determined from all the antenna units in operation. Based on the antenna units with the first priority, the target operating parameters are determined, that is, the target operating frequency of each speaker component.
[0095] For another example, in some different scenarios, the antenna unit with the first priority is different. For example, if the WiFi antenna and the GPS antenna are both operating together, in some cases the GPS antenna needs to be the first priority, and in some cases the WiFi antenna needs to be the first priority. That is, the embodiment of the present application can also determine the antenna unit corresponding to the first priority according to different usage scenarios, and then determine the target operation parameters.
[0096] Based on the above scheme, the embodiment of the present application can determine the antenna unit of the first priority and the target operating parameters that have the least impact on the RSSI value of the antenna unit of the first priority when multiple different types of antenna units are operating together, thereby improving the user experience.
[0097] Figure 2 A schematic diagram of the structure of a control device of an electronic device provided in an embodiment of the present application. The electronic device includes at least an antenna assembly and a speaker assembly, and the speaker assembly includes at least a power amplifier unit. The device includes:
[0098] The first determining unit 201 is configured to determine a first operating parameter of the antenna assembly based on the speaker assembly starting to operate and the antenna assembly being in an operating state.
[0099] The second determining unit 202 is used to determine the target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly, so that the wireless signal strength corresponding to the antenna assembly meets a preset target.
[0100] The control device of the electronic device provided in the embodiment of the present application has the same technical features as the control method of the electronic device mentioned above, and therefore can solve the same technical problems and achieve the same technical effects, which will not be described in detail herein.
[0101] An embodiment of the present application also provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction enables a computer to execute the steps of any method provided in the above implementation.
[0102] In some embodiments, the computer executable instructions, when executed by a computer processor, can also be used to execute the technical solution of the control method of the above-mentioned electronic device provided in the embodiments of the present application to achieve corresponding beneficial effects.
[0103] An embodiment of the present application also provides an electronic device, including: a processor and a memory; the processor calls a program or instruction stored in the memory to execute the steps of any method provided in the above implementation to achieve corresponding beneficial effects.
[0104] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3As shown, the electronic device includes one or more processors 301 and a memory 302 .
[0105] The processor 301 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0106] The memory 302 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may run the program instructions to implement the method of the embodiment of the present application described above, and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0107] In one example, the electronic device may further include: an input device 303 and an output device 304, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0108] In addition, the input device 303 may also include, for example, a keyboard, a mouse, and the like.
[0109] The output device 304 can output various information to the outside, including the determined distance information, direction information, etc. The output device 304 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0110] Of course, to simplify, Figure 3 Only some of the components in the electronic device related to the present application are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, the electronic device may further include any other appropriate components according to specific application conditions.
[0111] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0112] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A control method for an electronic device, characterized in that: The electronic device comprises at least an antenna assembly and a speaker assembly, and the speaker assembly comprises at least a power amplifier unit; the method comprises: Based on the speaker assembly being started and the antenna assembly being in operation, determining a first operating parameter of the antenna assembly; The target operating parameter of the power amplifier unit is determined based on the first operating parameter of the antenna assembly, so that the wireless signal strength corresponding to the antenna assembly meets a preset target.
2. The method according to claim 1, characterized in that The power amplifier unit corresponds to at least two different parameters to be operated; and the target operating parameter of the power amplifier unit is determined based on the first operating parameter of the antenna assembly so that the wireless signal strength corresponding to the antenna assembly meets the preset target, including: Determine the test wireless signal strength corresponding to the antenna assembly based on each of the parameters to be operated; Determine the difference between the test wireless signal strength and the wireless signal strength reference value, and determine the operating parameter with the smallest difference as the target operating parameter, so that the wireless signal strength corresponding to the antenna assembly meets the preset target; The wireless signal strength reference value is a wireless signal strength value corresponding to the antenna assembly when the speaker assembly is not started.
3. The method according to claim 2, characterized in that The first operating parameter includes an operating frequency of the antenna assembly; the parameter to be operated and the target operating parameter include an operating frequency of the power amplifier unit.
4. The method according to claim 3, characterized in that The antenna assembly includes a plurality of operating frequencies; the wireless signal strength reference value includes the wireless signal strength of the antenna assembly at all operating frequencies; The determining the test wireless signal strength corresponding to the antenna assembly based on each of the parameters to be operated respectively includes: The test wireless signal strength of the antenna assembly at all operating frequencies is determined based on the operating frequency of each of the power amplifier units.
5. The method according to claim 4, characterized in that The determining the difference between the test wireless signal strength and the wireless signal strength reference value includes: Form a plurality of first arrays based on the test wireless signal strength of the antenna assembly at all operating frequencies corresponding to the operating frequency of each power amplifier unit; forming a second array based on the wireless signal strength reference value; Subtract multiple groups of the first array from the second array to form multiple groups of difference arrays.
6. The method according to claim 5, characterized in that The step of determining the parameter to be operated with the smallest difference as the target operating parameter comprises: The maximum difference in each group of the difference arrays is determined, and the operating frequency of the power amplifier unit corresponding to the difference array with the smallest maximum difference among all the difference arrays is used as the target operating parameter.
7. The method according to claim 1, characterized in that The antenna assembly includes at least two antenna units of different types; and determining the target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly further includes: Determine the sub-target operating parameters corresponding to each of the antenna units respectively; The target operating parameter is determined based on a plurality of sub-target operating parameters.
8. The method according to claim 7, characterized in that Determining the target operating parameter based on a plurality of sub-target operating parameters includes: Determining a priority of each of the antenna units; Based on the priority order, the sub-target operating parameter of the antenna unit corresponding to the first priority is determined as the target operating parameter.
9. A control device for an electronic device, characterized in that: The electronic device comprises at least an antenna assembly and a speaker assembly, and the speaker assembly comprises at least a power amplifier unit; the device comprises: A first determining unit, configured to determine a first operating parameter of the antenna assembly based on the speaker assembly starting to operate and the antenna assembly being in an operating state; The second determination unit is used to determine the target operating parameter of the power amplifier unit based on the first operating parameter of the antenna assembly, so that the wireless signal strength corresponding to the antenna assembly meets a preset target.
10. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute the steps of the method according to any one of claims 1 to 8 by calling the program or instruction stored in the memory.
