Determination method and electronic equipment
By using the folding parameters to determine the target antenna in the foldable device, the interference problem caused by the position of too close to the antennas in the folded state is solved, and the effect of improving communication quality is achieved.
Patent Information
- Application Number
- CN202411918701.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-05-06
AI Technical Summary
When the foldable device is in a folded state, the antennas are too close, causing mutual interference and affecting the communication effect. The prior art can only reduce interference by reducing the number of antennas.
By obtaining the first data of the electronic device, including the folding parameters, the target antenna is determined so that its performance is better than the current antenna, especially in the folding state, ensuring that the antennas do not interfere with each other.
Without reducing the number of antennas in electronic devices, reduce antenna interference and improve communication quality and performance.
Smart Images

Figure CN119945503A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of communication and data processing, and in particular to a determination method and electronic equipment. Background Art
[0002] Foldable devices are becoming more and more popular, and 4G and 5G technologies require more antennas in electronic devices to achieve better communication performance. However, when foldable devices are folded, the antennas are sometimes too close to each other, causing mutual interference and affecting communication. Currently, the only way to reduce the interference between antennas is to reduce the number of antennas in electronic devices. Summary of the invention
[0003] The present application provides a determination method and an electronic device.
[0004] An embodiment of the present application provides a determination method on the one hand, the method comprising:
[0005] Obtaining first data of the electronic device, where the electronic device at least includes a foldable device, and the first data at least includes a folding parameter of the foldable device;
[0006] A target antenna is determined from antennas in the electronic device based on the first data, and performance of the electronic device based on the target antenna is better than performance of the electronic device based on the current antenna, and the performance includes at least communication capability.
[0007] Wherein, determining a target antenna from antennas in the electronic device based on the first data includes:
[0008] A target antenna is determined from at least one candidate antenna corresponding to the first data, where the candidate antennas include at least one transmitting antenna and at least one receiving antenna. When the candidate antennas include multiple transmitting antennas, the multiple transmitting antennas satisfy a first target condition, and the first target condition at least includes that the multiple transmitting antennas do not interfere with each other.
[0009] The step of determining a target antenna from at least one candidate antenna corresponding to the first data includes:
[0010] Determine second data, where the second data at least includes operation data on the electronic device and operation data of a user operating the electronic device, and the operation data at least includes data of an application running on the electronic device;
[0011] Based on the second data, a target antenna is determined from the at least one candidate antenna.
[0012] The determining of the target antenna from the at least one candidate antenna based on the second data includes:
[0013] Determine a communication demand based on the second data, where the communication demand represents the performance of the antenna required for the current operation of the electronic device;
[0014] A candidate antenna that meets a second target condition is determined as a target antenna, where the second target condition at least includes that the performance of the electronic device based on the operation of the candidate antenna meets the communication demand.
[0015] The step of determining a target antenna from at least one candidate antenna corresponding to the first data includes:
[0016] Performing communication based on the candidate antenna, determining communication data of the candidate antenna, the communication data including at least communication rate data and communication quality data;
[0017] Determine a communication score of the candidate antenna based on the communication data, wherein the communication score represents the performance of the electronic device operating based on the candidate antenna;
[0018] A target antenna is determined from among the at least one candidate antenna based on the communication score.
[0019] The first data further includes data of the environment in which the electronic device is located and energy consumption data of the electronic device. The method further includes:
[0020] In response to a change in the first data being greater than a preset threshold, a target antenna is determined from antennas in the electronic device based on the changed first data.
[0021] Another aspect of the present invention provides an electronic device, comprising: a detection element and a processor, wherein the detection element is electrically connected to the processor;
[0022] The detection element obtains first data of the electronic device, the electronic device at least includes a foldable device, and the first data at least includes a folding parameter of the foldable device;
[0023] The processor determines a target antenna from antennas in the electronic device based on the first data, and the performance of the electronic device based on the target antenna is better than the performance of the electronic device based on the current antenna, and the performance includes at least communication capability.
[0024] Wherein, the electronic device further comprises: an input-output system, the input-output system being electrically connected to the processor;
[0025] The processor updates antenna configuration data based on the target antenna when the target antenna is determined;
[0026] The input-output system communicates via the target antenna based on the antenna configuration data.
[0027] wherein the processor generates a capability change request based on the target antenna;
[0028] The input-output system sends the capability change request to the base station so that the base station reconfigures the communication resources of the electronic device based on the target antenna, the communication resources at least include communication channels and resource blocks, and the base station is used to connect the electronic device and the communication network.
[0029] The processor determines a change priority based on second data, determines a change time based on the change priority, and updates antenna configuration data based on the target antenna at the change time, wherein the second data includes at least operating data on the electronic device and operating data of a user operating the electronic device, and the operating data includes at least data of applications running on the electronic device.
[0030] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become readily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:
[0032] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0033] Figure 1 A flow chart showing a determination method according to an embodiment of the present application is shown;
[0034] Figure 2A A schematic diagram showing a folding angle and a distance between antennas according to an embodiment of the present application is shown;
[0035] Figure 2B A schematic diagram showing a folding angle and a distance between antennas according to an embodiment of the present application is shown;
[0036] Figure 3 A flow chart showing a determination method according to another embodiment of the present application is shown;
[0037] Figure 4 A flow chart showing a determination method according to another embodiment of the present application is shown;
[0038] Figure 5A flow chart showing a determination method according to another embodiment of the present application is shown;
[0039] Fig. 6A A schematic diagram of communicating based on candidate antennas according to an embodiment of the present application is shown;
[0040] Figure 6B A schematic diagram of communicating based on candidate antennas according to an embodiment of the present application is shown;
[0041] Figure 6C A schematic diagram of communicating based on candidate antennas according to an embodiment of the present application is shown;
[0042] Figure 7 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown;
[0043] Figure 8 A schematic diagram of the structure of an electronic device according to another embodiment of the present application is shown;
[0044] Fig. 9 A schematic structural diagram of a determination device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0045] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0046] In order to reduce the mutual interference between antennas and improve the communication quality without reducing the number of antennas in the electronic device, an embodiment of the present application provides a determination method, such as Figure 1 As shown, the method includes:
[0047] Step 101: obtaining first data of the electronic device, where the electronic device at least includes a foldable device, and the first data at least includes a folding parameter of the foldable device.
[0048] In this embodiment, the folding parameters at least include the folding angle, folding ratio, etc. of the foldable device, and different foldable devices have different folding parameters. If a foldable device with two folding screens has one folding axis, the foldable device has a set of folding parameters. If a foldable device with three folding screens has two folding axes, the foldable device has two sets of folding parameters. In other embodiments, the folding parameters may include any other parameters that can describe the folding state of the foldable device.
[0049] In this embodiment, the electronic device further includes a scroll device, and the first parameter of the scroll device at least includes a curling parameter, and the curling parameter at least includes a curling radius, a curling angle, a curling ratio, etc. In other embodiments, the curling parameter may include any other parameter that can describe the curling state of the scroll device.
[0050] Step 102: determining a target antenna from antennas in the electronic device based on the first data, wherein the performance of the electronic device based on the target antenna is better than the performance of the electronic device based on the current antenna, and the performance includes at least communication capability.
[0051] The target antenna is determined from the antennas of the electronic device based on the first data, and the performance of the electronic device based on the target antenna is better than the performance based on the current antenna. The target antenna includes at least one transmitting antenna and at least one receiving antenna.
[0052] For example, based on the first data, the target antennas are determined to be antenna A and antenna B from the antennas of the electronic device, and the current antennas of the electronic device are antenna A and antenna C. When the electronic device works based on the current antenna, the data transmission rate is 800Mbps, and when the electronic device works based on the target antenna, the data transmission rate is 1200Mbps. Therefore, the performance of the electronic device working based on the target antenna is better than the performance of working based on the current antenna.
[0053] In this embodiment, the performance of the electronic device based on the antenna operation includes at least communication capability, and the communication capability includes at least signal-to-noise ratio, data transmission rate, radiation efficiency, bandwidth, sensitivity, delay, bit error rate and other data. The performance of the electronic device based on the antenna operation may also include interference data (such as noise coefficient and other data), gain data (such as antenna gain, radiation pattern and other data), etc.
[0054] Since the relative positions of antennas of a foldable device are different when in different folding states, mutual interference sometimes occurs, which affects the communication effect. In the above scheme, the first parameter at least includes a folding parameter that can describe the folding state of the electronic device. Based on the first parameter, the target antennas that do not interfere with each other can be determined. Therefore, the performance of the electronic device when working based on the target antenna is better than the performance when working based on the current antenna. Without reducing the number of antennas in the electronic device, the interference between antennas is reduced, and the communication quality is significantly improved.
[0055] In an example of the present application, a determination method is also provided, wherein determining a target antenna from antennas in the electronic device based on the first data includes:
[0056] A target antenna is determined from at least one candidate antenna corresponding to the first data, where the candidate antennas include at least one transmitting antenna and at least one receiving antenna. When the candidate antennas include multiple transmitting antennas, the multiple transmitting antennas satisfy a first target condition, and the first target condition at least includes that the multiple transmitting antennas do not interfere with each other.
[0057] The first data corresponds to at least one candidate antenna. Similarly, the candidate antennas include at least one transmitting antenna and at least one receiving antenna.
[0058] When the electronic device is in the state described by the first data, if the candidate antennas corresponding to the first data include multiple transmitting antennas, the multiple transmitting antennas do not interfere with each other.
[0059] For example, the first data corresponds to candidate antenna A, candidate antenna B, and candidate antenna C. Candidate antenna A includes transmitting antenna A and receiving antenna A. Candidate antenna B includes transmitting antenna A, transmitting antenna B, and receiving antenna A. Candidate antenna C includes transmitting antenna B, transmitting antenna C, and receiving antenna A. Then transmitting antenna A and transmitting antenna B do not interfere with each other. Transmitting antenna B and transmitting antenna C do not interfere with each other. It should be noted that transmitting antenna A, receiving antenna A, transmitting antenna B, and transmitting antenna C are all antennas at different positions in the electronic device.
[0060] In this embodiment, at least one candidate antenna corresponding to the first data is determined through a mapping table, which includes a mapping relationship between the first data and the candidate antennas.
[0061] The mapping relationship between the first data and the candidate antennas may be determined by determining whether there is interference between the candidate antennas.
[0062] The first data includes a folding angle, and at different folding angles, the distance between antennas is determined based on the folding angle and the size of the electronic device, and multiple antennas whose distances are greater than or equal to a preset distance do not interfere with each other. These multiple antennas that do not interfere with each other are determined as candidate antennas.
[0063] For example, Figure 2A As shown in FIG. 1 , the folding angle of the electronic device is 30 degrees. At this time, the distance between antenna A and antenna B in the electronic device is 3.5 cm, which is less than the preset distance of 4 cm. Therefore, when the folding angle is 30 degrees, there is interference between antenna A and antenna B, and they cannot be used as transmitting antennas at the same time. Figure 2B As shown, when the folding angle of the electronic device is 60 degrees, the distance between antenna A and antenna B is 5 cm, which is greater than or equal to the preset distance. Therefore, when the folding angle is 60 degrees, there is no interference between antenna A and antenna B, and antenna A and antenna B can be used as transmitting antennas at the same time.
[0064] It is also possible to determine the performance of the electronic device when operating based on different antennas under different first data, and determine a preset number of antennas with the best performance as candidate antennas.
[0065] In the above scheme, by predetermining the candidate antenna corresponding to the first data, when there are multiple transmitting antennas among the candidate antennas, the multiple transmitting antennas do not interfere with each other. Therefore, when the electronic device is in the state described by the first data, the target antenna is determined from at least one candidate antenna corresponding to the first data, and the operation is based on the target antenna, which significantly reduces the interference between the antennas.
[0066] In an example of the present application, a determination method is also provided, such as Figure 3 As shown, determining a target antenna from at least one candidate antenna corresponding to the first data includes:
[0067] Step 201, determining second data, wherein the second data at least includes operating data on the electronic device and operating data of a user operating the electronic device, and the operating data at least includes data of an application running on the electronic device.
[0068] In this embodiment, the second data includes at least the operation data of the electronic device and the operation data of the user operating the electronic device. The operation data includes at least the data of the applications running on the electronic device, such as the currently used applications, usage time data, user activity data, user behavior data, application startup data, network usage data, etc. The user's operation data includes click data, input data, etc.
[0069] Step 202: Determine a target antenna from the at least one candidate antenna based on the second data.
[0070] For example, the second data includes data of applications running on the electronic device. Based on the application data, it is determined that the application currently being used by the electronic device requires a higher performance antenna. Therefore, the candidate antenna with the most transmitting antennas among at least one candidate antenna corresponding to the first data is determined as the target antenna.
[0071] For another example, the second data includes data of applications running on the electronic device and operation data of a user operating the electronic device. Based on the application data, it is determined that the application currently being used by the electronic device is a social application. Based on the user's operation data, it is determined that the user's input data is large, which means that the electronic device requires a higher performance antenna. Therefore, the candidate antenna with the most transmitting antennas among the at least one candidate antenna corresponding to the first data is determined as the target antenna.
[0072] In the above scheme, although different antennas in the candidate antennas do not interfere with each other, the performance of different candidate antennas is still different. Therefore, based on the second data, the performance of the antenna that the current electronic device needs to work based on is determined, and then the target antenna is determined from at least one candidate antenna based on the performance. The required target antenna can be determined from the candidate antennas, and then work is performed based on the target antenna. The communication quality of the electronic device can be further improved.
[0073] In an example of the present application, a determination method is also provided, such as Figure 4 As shown, the determining the target antenna from the at least one candidate antenna based on the second data includes:
[0074] Step 301: determine a communication demand based on the second data, where the communication demand represents the performance of the antenna required for the current operation of the electronic device.
[0075] The communication demand represents the performance of the antenna required for the current operation of the electronic device. In this embodiment, the communication demand includes signal-to-noise ratio, data transmission rate, radiation efficiency, bandwidth, sensitivity, etc.
[0076] For example, the communication demand includes a data transmission rate, the second data includes data of an application running on the electronic device, and based on the application data, it is determined that an application currently being used by the electronic device requires a data transmission rate of 200 Mbps.
[0077] Step 302: Determine a candidate antenna that meets a second target condition as a target antenna, wherein the second target condition at least includes that the performance of the electronic device based on the operation of the candidate antenna meets the communication demand.
[0078] Continuing with the above example, if the application currently being used by the electronic device requires a data transmission rate of 200 Mbps, then the second target condition is that the data transmission rate of the candidate antenna needs to be greater than or equal to 200 Mbps.
[0079] When there is only one candidate antenna that meets the second target condition, the candidate antenna can be directly determined as the target antenna. When there are multiple candidate antennas that meet the second target condition, the target antenna can be further determined based on the demand.
[0080] For example, the communication demand includes the data transmission rate, and the second target condition is determined based on the second data to be that the data transmission rate of the candidate antenna needs to be greater than or equal to 200 Mbps. There are two candidate antennas that meet the second target condition corresponding to the first data, namely, candidate antenna A with a data transmission rate of 220 Mbps and candidate antenna B with a data transmission rate of 300 Mbps. If the demand is not to waste communication resources, candidate antenna A is determined as the target antenna. If the demand is to ensure the stability of application operation, candidate antenna B is determined as the target antenna.
[0081] In the above scheme, the communication demand of the electronic device is determined by the second data, and the second target condition is further determined based on the communication demand. The candidate antenna that meets the second target condition is determined as the target antenna, which can further improve the communication quality of the electronic device. And when there are multiple candidate antennas that meet the second target condition, the target antenna is determined from these candidate antennas based on demand, which improves the flexibility of communication and significantly improves the user experience.
[0082] In an example of the present application, a determination method is also provided, such as Figure 5 As shown, determining a target antenna from at least one candidate antenna corresponding to the first data includes:
[0083] Step 401: Determine communication data of the candidate antenna based on the communication of the candidate antenna, wherein the communication data at least includes communication rate data and communication quality data.
[0084] When the electronic device is in a non-communication cycle (i.e., not working based on the antenna), the communication data of the electronic device when working based on the candidate antenna can also be determined by communicating with each candidate antenna corresponding to the first data. For the candidate antenna, a signal is transmitted based on the transmitting antenna in the candidate antenna, a signal is received based on the receiving antenna in the candidate antenna, and the communication data of the candidate antenna is determined based on the received signal.
[0085] For example, the electronic device has four antennas, namely antenna A, antenna B, antenna C and antenna D. The first data corresponds to three candidate antennas, namely candidate antenna A, candidate antenna B and candidate antenna C. The transmitting antenna of candidate antenna A is antenna A, and the receiving antenna is antenna B. Fig. 6AAs shown, when communication is performed based on candidate antenna A, a signal is transmitted through antenna A and a signal is received through antenna B to determine the communication data of candidate antenna A. The transmitting antennas of candidate antenna B are antenna A and antenna C, and the receiving antenna is antenna D, as shown in FIG. Figure 6B As shown, when communicating based on candidate antenna B, signals are transmitted through antenna A and antenna C, and signals are received through antenna D to determine the communication data of candidate antenna B. The transmitting antennas of candidate antenna C are antenna B and antenna D, and the receiving antennas are antenna A and antenna C, as shown in FIG. Figure 6C As shown, when communication is performed based on candidate antenna C, signals are transmitted through antenna B and antenna D, and signals are received through antenna A and antenna C, and communication data of candidate antenna C is determined.
[0086] When the electronic device is in a communication cycle (i.e., working based on an antenna), since the electronic device has communicated with the base station based on the current transmitting antenna, the signal transmitted by the current transmitting antenna is received through the receiving antenna, and the communication data of the current transmitting antenna is determined based on the received signal.
[0087] In this embodiment, the communication data at least includes communication rate data (such as maximum communication rate, average communication rate, etc.) and communication quality data (such as signal-to-noise ratio, delay, bit error rate, etc.). In other implementations, the communication data may also include any other data that can characterize the communication capability of the electronic device.
[0088] Step 402: Determine a communication score of the candidate antenna based on the communication data, wherein the communication score represents the performance of the electronic device operating based on the candidate antenna.
[0089] The communication score of the electronic device when operating based on the candidate antenna can be determined by setting weights for different communication data and performing weighted summation of different communication parameters through the weights. The communication score can characterize the performance of the electronic device when operating based on the candidate antenna.
[0090] Step 403: determine a target antenna from the at least one candidate antenna based on the communication score.
[0091] The candidate antenna with the highest communication score is determined as the target antenna.
[0092] For example, the first data corresponds to three candidate antennas, namely candidate antenna A, candidate antenna B and candidate antenna C. The electronic device communicates based on candidate antenna A, and obtains the communication data corresponding to candidate antenna A as a communication rate of 50Mbps, a signal-to-noise ratio of 20dB, a delay of 30ms, and a bit error rate of 1.2%. Based on candidate antenna B, the communication data corresponding to candidate antenna B is obtained as a communication rate of 150Mbps, a signal-to-noise ratio of 28dB, a delay of 5ms, and a bit error rate of 0.5%. Based on candidate antenna C, the communication data corresponding to candidate antenna C is obtained as a communication rate of 100Mbps, a signal-to-noise ratio of 22dB, a delay of 15ms, and a bit error rate of 1%. In order to reduce the impact of the values between different communication data, these communication data are first normalized. Normalization is performed by determining the maximum value in the positive communication data (such as the communication rate and the signal-to-noise ratio), dividing the maximum value by the communication data of the candidate antenna, or determining the minimum value in the negative communication data (such as the delay and the bit error rate), and dividing the communication data of the candidate antenna by the minimum value. Among the communication data of the three candidate antennas, the maximum communication rate is 150Mbps, the maximum signal-to-noise ratio is 28dB, the minimum delay is 5ms, and the minimum bit error rate is 0.5%. Therefore, the normalized communication data of candidate antenna A is 0.33 communication rate, 0.71 signal-to-noise ratio, 0.17 delay, and 0.42 bit error rate. The normalized communication data of candidate antenna B is 1 communication rate, 1 signal-to-noise ratio, 1 delay, and 1 bit error rate. The normalized communication data of candidate antenna C is 0.67 communication rate, 0.79 signal-to-noise ratio, 0.33 delay, and 0.5 bit error rate. The preset weights of communication rate are 0.4, signal-to-noise ratio, -0.2 delay, and -0.1 bit error rate. The communication score of candidate antenna A is 0.27, the communication score of candidate antenna B is 0.4, and the communication score of candidate antenna C is 0.39. Therefore, candidate antenna B with the highest communication score is determined as the target antenna.
[0093] It should be noted that, in this embodiment, other methods may be used for normalization, or normalization may not be necessary.
[0094] In the above scheme, when the electronic device is not working based on the candidate antenna, the communication data when the electronic device works based on the candidate antenna can be determined by communicating with each candidate antenna corresponding to the first data. Then, the communication score of the electronic device working based on the candidate antenna is determined based on the communication data, and finally the candidate antenna with the highest communication score is determined as the target antenna. This can further improve the quality of communication.
[0095] In an example of the present application, a determination method is also provided, wherein the first data further includes data of an environment in which the electronic device is located and energy consumption data of the electronic device, and the method further includes:
[0096] The data of the environment in which the electronic device is located includes the positioning data, time data, meteorological data, etc. of the electronic device. The energy consumption data of the electronic device includes the battery data (such as power data, charging efficiency, etc.) and power data (such as instantaneous power, average power, maximum power, etc.) of the electronic device.
[0097] In response to a change in the first data being greater than a preset threshold, a target antenna is determined from antennas in the electronic device based on the changed first data.
[0098] When the first data changes and the amount of change is greater than a preset threshold, the target antenna is re-determined from the antennas in the electronic device based on the changed first data.
[0099] For example, the first data also includes battery power data, the preset threshold is 500mA, when the battery power data changes, the change is 1000mA, which is greater than the preset threshold, then the target antenna is re-determined from the antennas in the electronic device based on the changed first data.
[0100] In the above scheme, when the first data changes and the change amount is greater than the preset threshold, it means that the state of the electronic device described by the current first data has changed significantly, and the candidate antenna corresponding to the first data may also change accordingly, and the target antenna needs to be re-determined based on the changed first data. The stability and availability of communication are improved.
[0101] An example of the present application provides an electronic device, Figure 7 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0102] like Figure 7 As shown, the electronic device 500 includes a detection element 501 and a processor 502 , and the detection element 501 is electrically connected to the processor 502 .
[0103] The detection element 501 obtains first data of the electronic device, where the electronic device at least includes a foldable device, and the first data at least includes a folding parameter of the foldable device.
[0104] In this embodiment, when the electronic device is a foldable device, the detection element 501 may be an angle sensor, such as an accelerometer, a gyroscope, a magnetometer, etc. In other embodiments, the detection element 501 may be any other element capable of reading the folding parameters of the foldable device.
[0105] After obtaining the first data of the electronic device, the detection element 501 transmits the first data to the processor 502 .
[0106] The processor 502 determines a target antenna from antennas in the electronic device based on the first data, and the performance of the electronic device based on the target antenna is better than the performance of the electronic device based on the current antenna, and the performance at least includes communication capability.
[0107] After receiving the first data, the processor 502 determines the target antenna based on the first data.
[0108] This application also provides an electronic device, such as Figure 8 As shown, the electronic device further includes: an input-output system 503 , and the input-output system 503 is electrically connected to the processor 502 .
[0109] When the target antenna is determined, the processor 502 updates antenna configuration data based on the target antenna.
[0110] After determining the target antenna, the processor 502 needs to update the antenna configuration data based on the target antenna. The antenna configuration data includes at least network parameters, antenna information, frequency band information, etc.
[0111] The input-output system 503 communicates through the target antenna based on the antenna configuration data.
[0112] The input / output system 503 communicates via the target antenna based on the updated antenna configuration data.
[0113] An example of the present application also provides an electronic device, wherein the processor 502 generates a capability change request based on the target antenna.
[0114] The input-output system 503 sends the capability change request to the base station so that the base station reconfigures the communication resources of the electronic device based on the target antenna, the communication resources at least include communication channels and resource blocks, and the base station is used to connect the electronic device and the communication network.
[0115] After receiving the capability change request, the base station reconfigures the communication resources of the electronic device based on the target antenna.
[0116] For example, the base station receives a capability change request and determines that the communication resources required by the target antenna of the electronic device are greater than the current communication resources of the electronic device, and then reconfigures the communication resources required by the target antenna.
[0117] An example of the present application also provides an electronic device, wherein the processor 502 determines a change priority based on second data, determines a change time based on the change priority, and updates antenna configuration data based on the target antenna at the change time, wherein the second data at least includes operating data on the electronic device and operating data of a user operating the electronic device, and the operating data at least includes data of applications running on the electronic device.
[0118] For example, the second data includes the operation data on the electronic device. Based on the second data, it is determined that the current application of the electronic device is a browser, and the required performance is relatively low. Although the performance of the electronic device based on the current antenna is greater than the performance required by the above application, it is still necessary to determine the appropriate target antenna based on the first data to avoid wasting resources. However, it is determined that the change priority of this change is low, so a later change time can be set, such as after 10 minutes.
[0119] For another example, the second data includes operation data on the electronic device. Based on the second data, it is determined that the current application of the electronic device is a game, which requires high performance. Since the game has high requirements for delay and signal stability, low delay and high-speed data transmission are required, the change priority of this change is determined to be high, so an immediate change can be set.
[0120] An example of the present application provides a determining device, such as Fig. 9 As shown, the device comprises:
[0121] The acquisition module 601 is used to obtain first data of the electronic device, where the electronic device at least includes a foldable device, and the first data at least includes a folding parameter of the foldable device;
[0122] The calculation module 602 is used to determine a target antenna from antennas in the electronic device based on the first data, and the performance of the electronic device based on the target antenna is better than the performance of the electronic device based on the current antenna, and the performance at least includes communication capability.
[0123] Among them, the calculation module 602 is also used to determine the target antenna from at least one candidate antenna corresponding to the first data, the candidate antennas include at least one transmitting antenna and at least one receiving antenna, and when the candidate antennas include multiple transmitting antennas, the multiple transmitting antennas satisfy the first target condition, and the first target condition at least includes that the multiple transmitting antennas do not interfere with each other.
[0124] The acquisition module 601 is further used to determine second data, wherein the second data at least includes operation data on the electronic device and operation data of a user operating the electronic device, and the operation data at least includes data of an application running on the electronic device;
[0125] The calculation module 602 is further configured to determine a target antenna from the at least one candidate antenna based on the second data.
[0126] The calculation module 602 is further configured to determine a communication demand based on the second data, wherein the communication demand represents the performance of the antenna required for the current operation of the electronic device;
[0127] The calculation module 602 is further configured to determine a candidate antenna that meets a second target condition as a target antenna, wherein the second target condition at least includes that the performance of the electronic device based on the operation of the candidate antenna meets the communication demand.
[0128] The device further includes a communication module 603, the communication module 603 is used to communicate based on the candidate antenna and determine the communication data of the candidate antenna, the communication data at least including communication rate data and communication quality data;
[0129] The calculation module 602 is further configured to determine a communication score of the candidate antenna based on the communication data, wherein the communication score represents the performance of the electronic device operating based on the candidate antenna;
[0130] The calculation module 602 is further configured to determine a target antenna from the at least one candidate antenna based on the communication score.
[0131] The calculation module 602 is further configured to determine a target antenna from antennas in the electronic device based on the changed first data in response to a change in the first data being greater than a preset threshold.
[0132] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), integrated systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0133] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0134] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0135] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0136] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0137] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0138] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0139] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0140] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A determination method, applied to an electronic device, comprising: Obtaining first data of the electronic device, where the electronic device at least includes a foldable device, and the first data at least includes a folding parameter of the foldable device; A target antenna is determined from antennas in the electronic device based on the first data, and performance of the electronic device based on the target antenna is better than performance of the electronic device based on the current antenna, and the performance includes at least communication capability.
2. The method according to claim 1, wherein determining a target antenna from antennas in the electronic device based on the first data comprises: A target antenna is determined from at least one candidate antenna corresponding to the first data, where the candidate antennas include at least one transmitting antenna and at least one receiving antenna. When the candidate antennas include multiple transmitting antennas, the multiple transmitting antennas satisfy a first target condition, and the first target condition at least includes that the multiple transmitting antennas do not interfere with each other.
3. The method according to claim 2, wherein determining a target antenna from at least one candidate antenna corresponding to the first data comprises: Determine second data, where the second data at least includes operation data on the electronic device and operation data of a user operating the electronic device, and the operation data at least includes data of an application running on the electronic device; Based on the second data, a target antenna is determined from the at least one candidate antenna.
4. The method according to claim 3, wherein determining a target antenna from the at least one candidate antenna based on the second data comprises: Determine a communication demand based on the second data, where the communication demand represents the performance of the antenna required for the current operation of the electronic device; A candidate antenna that meets a second target condition is determined as a target antenna, where the second target condition at least includes that the performance of the electronic device based on the operation of the candidate antenna meets the communication demand.
5. The method according to claim 2, wherein determining a target antenna from at least one candidate antenna corresponding to the first data comprises: Performing communication based on the candidate antenna, determining communication data of the candidate antenna, the communication data including at least communication rate data and communication quality data; Determine a communication score of the candidate antenna based on the communication data, wherein the communication score represents the performance of the electronic device operating based on the candidate antenna; A target antenna is determined from the at least one candidate antenna based on the communication score.
6. The method according to claim 1, wherein the first data further includes data of an environment in which the electronic device is located and energy consumption data of the electronic device, and the method further includes: In response to a change in the first data being greater than a preset threshold, a target antenna is determined from antennas in the electronic device based on the changed first data.
7. An electronic device comprising: A detection element and a processor, wherein the detection element is electrically connected to the processor; The detection element obtains first data of the electronic device, the electronic device at least includes a foldable device, and the first data at least includes a folding parameter of the foldable device; The processor determines a target antenna from antennas in the electronic device based on the first data, and the performance of the electronic device based on the target antenna is better than the performance of the electronic device based on the current antenna, and the performance includes at least communication capability.
8. The electronic device according to claim 7, further comprising: an input-output system, the input-output system being electrically connected to the processor; The processor updates antenna configuration data based on the target antenna when the target antenna is determined; The input-output system communicates via the target antenna based on the antenna configuration data.
9. The electronic device of claim 8, wherein the processor generates a capability change request based on the target antenna; The input-output system sends the capability change request to the base station so that the base station reconfigures the communication resources of the electronic device based on the target antenna, the communication resources at least include communication channels and resource blocks, and the base station is used to connect the electronic device and the communication network.
10. An electronic device according to claim 8, wherein the processor determines a change priority based on second data, determines a change time based on the change priority, and updates antenna configuration data based on the target antenna at the change time, wherein the second data at least includes operating data on the electronic device and operating data of a user operating the electronic device, and the operating data at least includes data of applications running on the electronic device.