Downlink rate adjustment method, electronic device, and storage medium
By querying the metadata database in the terminal to match the received power of the RF master and diversity, and adjusting the received power of the RF master to improve the downlink rate, the problems of high cost and low operability in the prior art are solved, and flexible downlink rate adjustment is realized.
Patent Information
- Application Number
- CN202310258026.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2043-03-09
AI Technical Summary
In existing technologies, improving the downlink rate of terminal MIMO can only be achieved by increasing the density of base station deployment or increasing the transmission power of a single base station, resulting in low operability and high cost.
By obtaining the received power of the terminal's RF master and RF diversity, querying the metadata database to see if there is a common initial received power, and setting it as the target received power, the downlink rate is adjusted.
It achieves a downlink speed increase that is more operable, lower in cost, and has a wider range of signal strength adjustment in the current network environment.
Smart Images

Figure CN116367281B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method for adjusting downlink rate, an electronic device, and a storage medium. Background Technology
[0002] Communication terminals supporting LTE (Long Term Evolution) and NR (New Radio) require stable received signals to maintain communication stability. Current technologies to improve the downlink rate of MIMO (Multiple Input Multiple Output) terminals can only rely on increasing base station density or increasing the transmit power of individual base stations, which is highly impractical in real-world scenarios and involves significant costs and time commitments.
[0003] There is currently no effective solution to the aforementioned problems in the relevant technologies. Summary of the Invention
[0004] This application provides a downlink rate adjustment method, electronic device, and storage medium to solve the problem in related technologies that downlink rate adjustment can only be achieved by increasing the density of base station layout or increasing the transmission power of a single base station, resulting in low operability and high cost.
[0005] In a first aspect, this application provides a method for adjusting downlink rate, comprising: obtaining the current received power of a terminal, wherein the current received power includes a first received power of the terminal's radio frequency main set and a second received power of the radio frequency diversity set; querying a metadata database stored in the terminal based on the current received power to determine whether there exists a set of initial received power in the metadata database that is the same as the current received power; wherein the initial received power in the metadata database includes the initial received power of the radio frequency main set and the initial received power of the radio frequency diversity set, and each set of initial received power corresponds to a target received power; if there exists a set of initial received power in the metadata database that is the same as the current received power, then setting the first received power as the target received power corresponding to the initial received power.
[0006] In a second aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0007] Memory, used to store computer programs;
[0008] When a processor executes a program stored in memory, it implements the steps of the downlink rate adjustment method described in any embodiment of the first aspect.
[0009] Thirdly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the downlink rate adjustment method as described in any embodiment of the first aspect.
[0010] The technical solutions provided in this application have the following advantages compared with the prior art:
[0011] The method provided in this application obtains the received power corresponding to the radio frequency master set and the received power corresponding to the radio frequency diversity set on the terminal in the current network environment, and then matches them with the metadata in the metadata database. If there is an initial received power in the metadata database that is the same as the current received power, the first received power is set as the target received power corresponding to the initial received power. That is, if a match is found, the first received power of the radio frequency master set can be set as the target received power to improve the downlink rate. Compared with the related technologies that require increasing the base station layout density or increasing the transmit power of a single base station to improve the downlink rate, the method in this application is more operable, lower in cost, and has a wider range of signal strength adjustment. Attached Figure Description
[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0013] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 A flowchart illustrating a method for adjusting downlink speed provided in an embodiment of this application;
[0015] Figure 2 A schematic diagram of a downlink rate adjustment device provided in an embodiment of this application;
[0016] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] Figure 1 A flowchart illustrating a downlink rate adjustment method provided in this application embodiment is shown below. Figure 1 As shown, the steps of this method include:
[0019] Step 101: Obtain the current received power of the terminal, wherein the current received power includes the first received power of the terminal's main radio frequency set and the second received power of the radio frequency diversity set;
[0020] It should be noted that this received power can refer to RSRP (Reference Signal Receiving Power), which is the RSRP corresponding to the RF main and RF diversity modes. Furthermore, different received power indicates different network environments in which the terminal operates. Taking received power as RSRP as an example, in one network environment, the initial RSRP for the RF main mode is -85 dBm, and the initial RSRP for RF diversity is -91 dBm. For the same terminal in another network environment, the initial RSRP for the RF main mode is -96 dBm, and the initial RSRP for RF diversity is -90 dBm.
[0021] Step 102: Based on the current received power, query the metadata database stored in the terminal to determine whether there is a set of initial received power in the metadata database that is the same as the current received power; wherein, the initial received power in the metadata database includes the initial received power of the radio frequency main set and the initial received power of the radio frequency diversity set, and each set of initial received power corresponds to a target received power;
[0022] In this embodiment, the target received power is the received power of the RF main receiver when, under the initial conditions of the initial received power, the initial received power of the RF diversity receiver remains unchanged, and the received power of the RF main receiver is adjusted to obtain the maximum signal-to-noise ratio. In other examples, the target received power can also be an empirical value. Taking RSRP as an example, generally, the higher the SINR (Signal to Interference plus Noise Ratio), the higher the downlink rate. Therefore, in this embodiment, by adjusting the RSRP of the RF main receiver to adjust the SINR value, the downlink rate can be adjusted.
[0023] Step 103: If there is an initial receiving power in the metadata database that is the same as the current receiving power, then set the first receiving power as the target receiving power corresponding to the initial receiving power.
[0024] Through steps 101 to 103 above, the received power corresponding to the radio frequency master set and the received power corresponding to the radio frequency diversity set on the terminal are obtained in the current network environment, and then matched with the metadata in the metadata database. If there is an initial received power in the metadata database that is the same as the current received power, the first received power is set as the target received power corresponding to the initial received power. That is, if a match is found, the first received power of the radio frequency master set can be set as the target received power to improve the downlink rate. Compared with the related technologies that require increasing the base station layout density or increasing the transmission power of a single base station to improve the downlink rate, the method in this application is more operable, lower in cost, and has a wider range of signal strength adjustment.
[0025] In optional embodiments of this application, the method may further include:
[0026] Step 104: If there is no initial receiving power in the metadata database that is the same as the current receiving power, then keep the second receiving power unchanged and adjust the first receiving power to the preset first receiving power at least once according to the preset strategy.
[0027] Step 105: Record the preset first received power and its corresponding signal-to-noise ratio, and set the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among multiple signal-to-noise ratios.
[0028] Therefore, in the implementation of this application, if there is no initial received power in the current metadata database that is the same as the current received power, a preset strategy is required to adjust the first received power at least once. This preset strategy can refer to adjusting the first received power by a certain fixed value, such as increasing by 0.2 dBm, 0.3 dBm, etc. each time, or decreasing by 0.2 dBm, 0.3 dBm, etc. each time. The specific fixed value can be set according to actual needs. The signal-to-noise ratio will change accordingly with each adjustment of the received power. The higher the signal-to-noise ratio, the higher the downlink rate. Therefore, by setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among multiple signal-to-noise ratios during the adjustment process, the corresponding downlink rate is also optimal.
[0029] In an optional embodiment of this application, the step 104 above, which involves adjusting the first receiving power to a preset first receiving power at least once according to a preset strategy, can be further described as: adjusting the first receiving power to a preset first receiving power, wherein the difference between the preset first receiving power and the second receiving power is less than a first preset threshold.
[0030] It should be noted that in this application, the smaller the difference between the primary and diversity received power, the stronger the received signal, i.e., the higher the signal-to-noise ratio. Therefore, in this embodiment, it is preferable to directly adjust the first received power to a preset first received power, and the difference between the preset first received power and the second received power is less than a first preset threshold. This first preset threshold can be set according to the actual situation, for example, the first preset threshold is 0.3dBm, 0.4dBm, etc., to ensure that the adjusted first received power and the second received power are as close as possible to improve the downlink rate.
[0031] In an optional embodiment of this application, the method of recording the preset first received power and its corresponding signal-to-noise ratio in step 105 above, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among multiple signal-to-noise ratios, can be further described as: recording the values of different preset first received powers and their signal-to-noise ratios during the adjustment of the first received power, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among multiple signal-to-noise ratios.
[0032] As can be seen, the signal-to-noise ratio changes accordingly with each adjustment of the first received power. Therefore, the first received power corresponding to the largest signal-to-noise ratio can be selected from the recorded signal-to-noise ratios to obtain the optimal downlink rate.
[0033] In an optional embodiment of this application, the method of adjusting the first receiving power to a preset first receiving power at least once according to a preset strategy in step 104 can be further described as follows: obtaining a first difference between the first receiving power and the second receiving power, and setting a set of first receiving power adjustment values within the first difference range according to a fixed difference, so that the first receiving power obtains a set of preset first receiving power according to the adjustment values.
[0034] In this specific example, the fixed difference can be 1 dBm, 2 dBm, 3 dBm, etc., and can be set according to actual needs. That is to say, in this embodiment, the first received power is adjusted regularly based on the fixed difference, thereby obtaining a set of preset first received power after multiple adjustments during the adjustment process.
[0035] In an optional embodiment of this application, the method of recording the preset first received power and its corresponding signal-to-noise ratio in step 105 above, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among multiple signal-to-noise ratios, can be further described as: recording the values of different preset first received powers and their signal-to-noise ratios during the adjustment of the first received power, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among multiple signal-to-noise ratios.
[0036] As can be seen, the signal-to-noise ratio changes accordingly with each adjustment of the first received power. Therefore, the first received power corresponding to the largest signal-to-noise ratio can be selected from the recorded signal-to-noise ratios to obtain the optimal downlink rate.
[0037] In an optional embodiment of this application, after setting the first received power to a preset first received power corresponding to the largest signal-to-noise ratio among a plurality of signal-to-noise ratios, the method of this application embodiment may further include:
[0038] Step 106: Store the first received power, the second received power, and the preset first received power corresponding to the maximum signal-to-noise ratio as a new set of metadata into the metadata database;
[0039] Specifically, the first received power and the second received power are saved as the initial received power of the RF main set and the initial received power of the RF diversity set; the preset first received power corresponding to the maximum signal-to-noise ratio is saved as the target received power corresponding to the initial received power.
[0040] As can be seen, in this embodiment of the application, after determining the preset first receiving power corresponding to the maximum signal-to-noise ratio based on the first receiving power and the second receiving power, it can be stored in the metadata database to update the data in the metadata database. If the receiving power of the current terminal is still the first receiving power and the second receiving power, the corresponding preset first receiving power can be directly matched from the metadata database, and then the first receiving power is set as the target receiving power corresponding to the initial receiving power.
[0041] In an optional embodiment of this application, when the number of radio frequency diversity is N, the initial received power in each set of metadata includes the initial received power of a radio frequency main set and the initial received power of N radio frequency diversity sets, as well as a target received power corresponding to the initial received power, where N is an integer greater than 1.
[0042] Based on this, the method of determining whether there is a set of initial received powers in the metadata database that are the same as the current received power in embodiment 102 of this application can be further described as: determining whether there is a set of metadata in the metadata database in which the initial received powers of N radio frequency diversity are matched one-to-one with N second received powers, and the first received power is matched with the initial received power of the radio frequency master set in the metadata.
[0043] As can be seen, the received power of the RF main set and diversity in this embodiment needs to be matched with a set of metadata in the metadata database simultaneously. That is, when comparing the received power of the current terminal with the metadata in the metadata database, the received power of both the RF main set and diversity needs to be compared with the initial received power of the RF main set and the initial received power of the RF diversity in a set of metadata in the metadata database. Taking N as 3 as an example, it is necessary to determine whether there is a one-to-one match between the initial received power of the three RF diversity and the three second received power in a set of metadata in the metadata database, as well as a match between the initial received power of the RF main set and the first received power in that set of metadata. Because in some cases, the terminal may have one or more RF diversity; based on this, the metadata database in this embodiment not only stores the received power when the number of main RF diversity is 1, but also stores the received power when the number of main frequency diversity is 1 and the number of RF diversity is multiple, to ensure that a suitable target power can be determined during matching.
[0044] Furthermore, in this embodiment of the application, the method involving the determination that there is a one-to-one match between the initial received power of N radio frequency diversity groups in a set of metadata and N second received powers, and the first received power matches the initial received power of the radio frequency main set in a set of metadata, can further include:
[0045] Step 11: Determine whether the difference between the first received power and the initial received power of the radio frequency main set in a set of metadata is less than a second preset threshold, and determine whether the difference between the second received power and the initial received power of the corresponding radio frequency diversity in the metadata is less than a third preset threshold; wherein, N second received powers correspond one-to-one with the initial received powers of N radio frequency diversity.
[0046] The metadata database in this application embodiment includes multiple metadata groups under different network environments. This is because the initial received power of the RF main set and RF diversity of the terminal is not exactly the same under different network environments. Taking the received power as RSRP as an example, in a certain network environment, the initial RSRP of the RF main set of the terminal is -85dBm and the initial RSRP of the RF diversity is -91dBm; in another network environment, the initial RSRP of the RF main set of the same terminal is -96dBm and the initial RSRP of the RF diversity is -90dBm. In other words, in this embodiment, if the received power of the RF master set is close to the initial received power of the RF master set in a certain set of metadata in the metadata database, and the received power of the RF diversity set is close to the initial received power of the RF diversity set in a certain set of metadata in the metadata database, it indicates that the network environment in which the terminal is currently located is comparable to the received power corresponding to a certain network environment stored in the metadata database. For example, if the initial RSRP of the terminal's RF master set is -84.6 dBm and the initial RSRP of the terminal's RF diversity set is -91.3 dBm in the current network environment, and the second preset threshold and the third preset threshold are both 0.5, then the conditions met in the metadata database are that the initial received power of the RF master set is -85 dBm and the initial received power of the RF diversity set is -91 dBm. Therefore, the target received power of the RF master set in that set of metadata in the original database is used as the target to be adjusted for the received power of the current RF master set. Thus, it can be seen that the received power of the RF master set can be adjusted based on the metadata in the metadata database to improve the downlink rate. Therefore, the method for improving the downlink rate in this embodiment is more flexible than the methods in the prior art.
[0047] It should be noted that the second and third preset thresholds in this application embodiment can be set according to actual needs, such as 0.5dBm, 1dBm, 2dBm, etc.
[0048] In an optional embodiment of this application, before determining whether the target received power corresponding to the second received power in the current network environment exists in the metadata database, the method of this application may further include:
[0049] Step 21: Determine whether the difference between the first received power and the second received power is greater than or equal to the fourth preset threshold.
[0050] Step 22: If the difference between the first received power and the second received power is greater than or equal to the fourth preset threshold, perform the operation of determining whether the target received power corresponding to the second received power exists in the metadata database under the current network environment.
[0051] Based on steps 21 and 22 above, if the current first and second received powers are less than the fourth preset threshold, there is no need to perform the operation of determining whether the target received power corresponding to the second received power exists in the metadata database under the current network environment. This is because a small difference between the first and second received powers indicates that the signal-to-noise ratio is relatively high, and the current downlink rate is relatively high, requiring no further adjustment. If the difference between the two is large, it indicates that the current signal-to-noise ratio is low, and the downlink rate is low. It is necessary to further compare the first received power with the metadata in the cloud database to determine whether to adjust the first received power to improve the downlink rate.
[0052] Corresponding to the above Figure 1 This application also provides a downlink rate adjustment device, such as... Figure 2 As shown, the device includes:
[0053] The acquisition module 202 is used to acquire the current received power of the terminal, wherein the current received power includes the first received power of the terminal's main radio frequency set and the second received power of the radio frequency diversity set;
[0054] The first determining module 204 is used to query the metadata database stored in the terminal based on the current received power, and determine whether there is a set of initial received power in the metadata database that is the same as the current received power; wherein the initial received power in the metadata database includes the initial received power of the radio frequency main set and the initial received power of the radio frequency diversity set, and each set of initial received power corresponds to a target received power;
[0055] The setting module 206 is used to set the first received power as the target received power corresponding to the initial received power if there is an initial received power in the metadata database that is the same as the current received power.
[0056] The apparatus described in this application obtains the received power corresponding to the radio frequency master set and the received power corresponding to the radio frequency diversity set on the terminal in the current network environment, and then matches them with the metadata in the metadata database. If there is an initial received power in the metadata database that is the same as the current received power, the first received power is set as the target received power corresponding to the initial received power. That is, if a match is found, the first received power of the radio frequency master set can be set as the target received power to improve the downlink rate. Compared with the related technologies that require increasing the base station layout density or increasing the transmit power of a single base station to improve the downlink rate, the method in this application is more operable, lower in cost, and has a wider range of signal strength adjustment.
[0057] Optionally, the apparatus in this application embodiment may further include: a first processing module, configured to keep the second receiving power unchanged and adjust the first receiving power to a preset first receiving power at least once according to a preset strategy if there is no initial receiving power in the metadata database that is the same as the current receiving power; and a second processing module, configured to record the preset first receiving power and its corresponding signal-to-noise ratio, and set the first receiving power to the preset first receiving power corresponding to the largest signal-to-noise ratio among multiple signal-to-noise ratios.
[0058] Optionally, the first processing module in this embodiment may further include: a first adjustment unit, configured to adjust the first received power to a preset first received power, wherein the difference between the preset first received power and the second received power is less than a first preset threshold. Furthermore, the second processing module in this embodiment may further include: a first processing unit, configured to record the values of different preset first received powers and their signal-to-noise ratios during the adjustment of the first received power, and set the first received power to the preset first received power corresponding to the highest signal-to-noise ratio.
[0059] Optionally, the first processing module in this embodiment may further include: a second adjustment unit, configured to obtain a first difference between the first received power and the second received power, and set a set of first received power adjustment values within the first difference range according to a fixed difference, so that the first received power obtains a set of preset first received power according to the adjustment values. Furthermore, the second processing module in this embodiment may further include: a second processing unit, configured to record the values of different preset first received power and their signal-to-noise ratios during the first received power adjustment process, and set the first received power to the preset first received power corresponding to the largest signal-to-noise ratio.
[0060] Optionally, after setting the first received power to a preset first received power corresponding to the maximum signal-to-noise ratio among multiple signal-to-noise ratios, the method of this application embodiment may further include: a storage module, configured to store the first received power, the second received power, and the preset first received power corresponding to the maximum signal-to-noise ratio as a new set of metadata into a metadata database; wherein the first received power and the second received power are saved as the initial received power of the RF main set and the initial received power of the RF diversity set; and the preset first received power corresponding to the maximum signal-to-noise ratio is saved as the target received power corresponding to the initial received power.
[0061] Optionally, when the number of radio frequency diversity is N, the initial received power in each set of metadata includes the initial received power of a radio frequency master set and the initial received power of N radio frequency diversity sets, as well as a target received power corresponding to the initial received power, where N is an integer greater than 1; based on this, the first determining module in the embodiments of this application may further include: a determining unit, used to determine whether there is a one-to-one match between the initial received power of N radio frequency diversity sets in a set of metadata and N second received powers in the metadata database, and the first received power matches the initial received power of the radio frequency master set in a set of metadata.
[0062] Optionally, the determining unit in this application embodiment may further include: a determining subunit, used to determine whether the difference between the first received power and the initial received power of the radio frequency main set in a set of metadata is less than a second preset threshold, and to determine whether the difference between the second received power and the initial received power of the corresponding radio frequency diversity in the metadata is less than a third preset threshold; wherein, the N second received powers correspond one-to-one with the initial received powers of the N radio frequency diversity.
[0063] Optionally, before determining whether there exists a set of initial received powers in the metadata database that are the same as the current received power, the apparatus of this application embodiment may further include: a second determining module, configured to determine whether the difference between the first received power and the second received power is greater than or equal to a fourth preset threshold; and an execution module, configured to perform the operation of determining whether there exists a set of initial received powers in the metadata database that are the same as the current received power if the difference between the first received power and the second received power is greater than or equal to the fourth preset threshold.
[0064] like Figure 3 As shown in the figure, this application provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0065] Memory 113 is used to store computer programs;
[0066] In one embodiment of this application, when the processor 111 executes the program stored in the memory 113, it implements the downlink rate adjustment method provided in any of the foregoing method embodiments, and its function is the same, so it will not be described again here.
[0067] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the downlink rate adjustment method provided in any of the foregoing method embodiments.
[0068] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0069] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for adjusting downlink speed, characterized in that, include: Obtain the current received power of the terminal, wherein the current received power includes the first received power of the terminal's main radio frequency set and the second received power of the radio frequency diversity set; The current received power is used to query the metadata database stored in the terminal to determine whether there is a set of initial received power in the metadata database that is the same as the current received power. The initial received power in the metadata database includes the initial received power of the radio frequency main set and the initial received power of the radio frequency diversity set. Each set of initial received power corresponds to a target received power. The target received power is the received power of the radio frequency main set when the initial received power is kept constant, the initial received power of the radio frequency diversity set is adjusted, and the maximum signal-to-noise ratio is obtained. If the metadata database contains an initial receiving power that is the same as the current receiving power, then the first receiving power is set as the target receiving power corresponding to the initial receiving power.
2. The method according to claim 1, characterized in that, The method further includes: If there is no initial receiving power in the metadata database that is the same as the current receiving power, then the second receiving power is kept unchanged, and the first receiving power is adjusted to the preset first receiving power at least once according to the preset strategy; Record the preset first received power and its corresponding signal-to-noise ratio, and set the first received power as the preset first received power corresponding to the largest signal-to-noise ratio among the plurality of signal-to-noise ratios.
3. The method according to claim 2, characterized in that, The step of adjusting the first receiving power to a preset first receiving power at least once according to a preset strategy includes: adjusting the first receiving power to a preset first receiving power, wherein the difference between the preset first receiving power and the second receiving power is less than a first preset threshold. Recording the preset first received power and its corresponding signal-to-noise ratio, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among the plurality of signal-to-noise ratios, includes: recording the values of different preset first received powers and their signal-to-noise ratios during the adjustment of the first received power, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among the signal-to-noise ratios.
4. The method according to claim 2, characterized in that, The step of adjusting the first receiving power to a preset first receiving power at least once according to a preset strategy includes: Obtain a first difference between the first received power and the second received power, and set a set of first received power adjustment values within the first difference range according to a fixed difference, so that the first received power obtains a corresponding set of preset first received power according to the adjustment values; Recording the preset first received power and its corresponding signal-to-noise ratio, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among the plurality of signal-to-noise ratios, includes: recording the values of different preset first received powers and their signal-to-noise ratios during the adjustment of the first received power, and setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among the signal-to-noise ratios.
5. The method according to claim 3 or 4, characterized in that, After setting the first received power to the preset first received power corresponding to the largest signal-to-noise ratio among the plurality of signal-to-noise ratios, the method further includes: The first received power, the second received power, and the preset first received power corresponding to the maximum signal-to-noise ratio are stored as a new set of metadata in the metadata database; Specifically, the first received power and the second received power are stored as the initial received power of the RF main set and the initial received power of the RF diversity set; the preset first received power corresponding to the maximum signal-to-noise ratio is stored as the target received power corresponding to the initial received power.
6. The method according to claim 1, characterized in that, When the number of radio frequency diversity is N, the initial received power in each set of metadata includes the initial received power of one radio frequency master set and the initial received power of N radio frequency diversity sets, as well as a target received power corresponding to the initial received power, where N is an integer greater than 1; Determining whether there exists a set of initial received powers in the metadata database that are the same as the current received power includes: determining whether there exists a set of metadata in the metadata database where the initial received powers of N radio frequency diversity groups are matched one-to-one with the N second received powers, and the first received power matches the initial received power of the radio frequency master set in the set of metadata.
7. The method according to claim 6, characterized in that, The step of determining that there exists a one-to-one match between the initial received power of N radio frequency diversity groups in a set of metadata and N second received powers, and that the first received power matches the initial received power of the radio frequency master set in the set of metadata, includes: Determine whether the difference between the first received power and the initial received power of the radio frequency main set in the set of metadata is less than a second preset threshold, and determine whether the difference between the second received power and the initial received power of the corresponding radio frequency diversity in the metadata is less than a third preset threshold; wherein, N second received powers correspond one-to-one with N initial received powers of the radio frequency diversity.
8. The method according to claim 1, characterized in that, Before determining whether a set of initial received powers identical to the current received power exists in the metadata database, the method further includes: Determine whether the difference between the first received power and the second received power is greater than or equal to a fourth preset threshold. If the difference between the first received power and the second received power is greater than or equal to the fourth preset threshold, an operation is performed to determine whether there is a set of initial received power in the metadata database that is the same as the current received power.
9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Method, device and equipment for controlling main diversity change-over switch, and medium
CN112202467A
Mobile phone for controlling diversity
US20070167142A1