Radio frequency parameter determination method and device, electronic equipment, storage medium and chip
By using the power consumption prediction model in the terminal to select suitable RF parameters, the increase in power consumption caused by fixed RF parameters is solved, and the power consumption optimization in different scenarios is achieved, especially in dual-station and dual-pass scenarios, reducing power consumption in dual-stop scenarios .
Patent Information
- Application Number
- CN202310583306.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2024-11-22
AI Technical Summary
In different business scenarios, the fixed RF parameters of the terminal lead to large power consumption, especially in dual-station and dual-pass scenarios, the power consumption increases significantly, and the existing technology cannot flexibly adjust RF parameters to optimize power consumption.
By inputting the RF parameters of the terminal into the power consumption prediction model, predict the power consumption of multiple terminals, and selecting RF parameters whose power consumption is less than the preset target as the target RF parameters, used to transmit RF signals, combined with terminal parameters such as frequency bands and network models Train with signal quality and update the model to optimize power consumption prediction.
It realizes the flexibility to select RF parameters with smaller power consumption in different business scenarios to reduce the overall power consumption of the terminal, especially in dual-station and dual-pass scenarios to reduce the increase in power consumption.
Smart Images

Figure CN119012322A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a method, device, electronic device, storage medium and chip for determining radio frequency parameters. Background Art
[0002] With the gradual popularization of 5G networks, terminals are currently equipped with communication cards, which are used to send and receive data to achieve communication with other terminals.
[0003] In the related technology, the communication card configured on the terminal needs to be provided with a matching radio frequency system. The radio frequency system has a power amplifier (PA). The radio frequency parameters of the power amplifier have a great influence on the power consumption of the terminal. In different business scenarios, using fixed radio frequency parameters will result in high power consumption of the terminal. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, electronic device, storage medium and chip for determining radio frequency parameters.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for determining radio frequency parameters is provided, including:
[0006] Inputting multiple radio frequency parameters of the terminal into a power consumption prediction model to obtain multiple predicted terminal power consumptions;
[0007] Selecting a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption from the multiple predicted terminal power consumptions;
[0008] The radio frequency parameters corresponding to the power consumption of the target terminal are used as target radio frequency parameters, where the target radio frequency parameters are radio frequency parameters used by the terminal to transmit radio frequency signals.
[0009] Optionally, the inputting a plurality of radio frequency parameters of the terminal into a power consumption prediction model to obtain a plurality of predicted terminal power consumptions includes:
[0010] The current terminal parameters of the terminal are respectively combined with the multiple radio frequency parameters to form multiple groups of input parameters, which are input into the power consumption prediction model to obtain multiple predicted terminal power consumptions, wherein the terminal parameters include at least one of the following:
[0011] The frequency bands supported by the terminal, the network standards supported by the terminal, the service scenarios of the terminal, and the signal quality of the terminal.
[0012] Optionally, the method further comprises:
[0013] Using the terminal parameter samples and the radio frequency parameter samples as training samples to train the initial model;
[0014] When the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition, the initial model when the difference meets the convergence condition is used as the power consumption prediction model.
[0015] Optionally, when a difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets a convergence condition, using the initial model when the difference meets the convergence condition as the power consumption prediction model includes:
[0016] Updating the first weight of the terminal parameter sample or the second weight corresponding to the radio frequency parameter sample to update the terminal power consumption output by the initial model;
[0017] When the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition, the initial model when the difference meets the convergence condition is used as the power consumption prediction model.
[0018] Optionally, the terminal has a first communication card and a second communication card of different types, and the inputting of multiple radio frequency parameters of the terminal into the power consumption prediction model to obtain multiple predicted terminal power consumptions includes:
[0019] Input a plurality of radio frequency parameters of the first communication card and a plurality of radio frequency parameters of the second communication card into the power consumption prediction model to obtain the predicted terminal power consumption.
[0020] Optionally, the selecting, from the multiple predicted terminal power consumptions, a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption includes:
[0021] Inputting a plurality of radio frequency parameters of the terminal and the signal qualities respectively corresponding to the plurality of radio frequency parameters into a power consumption prediction model to obtain a plurality of predicted terminal power consumptions;
[0022] Selecting, from the multiple predicted terminal power consumptions, a terminal power consumption to be selected corresponding to a target signal quality whose signal quality is greater than a preset quality;
[0023] From the plurality of terminal power consumptions to be selected, a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption is selected.
[0024] According to a second aspect of an embodiment of the present disclosure, a device for determining radio frequency parameters is provided, including:
[0025] An input module is configured to input multiple radio frequency parameters of the terminal into the power consumption prediction model to obtain multiple predicted terminal power consumptions;
[0026] A screening module, configured to select a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption from the plurality of predicted terminal power consumptions;
[0027] The target radio frequency parameter determination module is configured to use the radio frequency parameters corresponding to the power consumption of the target terminal as target radio frequency parameters, where the target radio frequency parameters are the radio frequency parameters used by the terminal to transmit radio frequency signals.
[0028] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0029] processor;
[0030] a memory for storing processor-executable instructions;
[0031] Wherein, the processor is configured to:
[0032] Execute the steps of the method for determining radio frequency parameters provided in the first aspect of the embodiment of the present disclosure.
[0033] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the method for determining radio frequency parameters provided in the first aspect of the embodiment of the present disclosure are implemented.
[0034] According to a fifth aspect of an embodiment of the present disclosure, a chip is provided, including a processor and an interface; the processor is used to read instructions to execute the steps of the radio frequency parameter determination method provided by the first aspect of the embodiment of the present disclosure.
[0035] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0036] Since the power consumption prediction model can predict the predicted terminal power consumption corresponding to multiple RF parameters respectively based on multiple RF parameters, the terminal can select a target terminal power consumption with a smaller power consumption value from multiple predicted terminal power consumptions, and use the target RF parameters corresponding to the target terminal power consumption as the parameters used by the terminal in the current business scenario.
[0037] During this process, for different business scenarios, the terminal can flexibly select the target RF parameters corresponding to the smaller target terminal power consumption in the current business scenario based on the power consumption prediction model, so that the terminal can generate smaller terminal power consumption after using the target RF parameters.
[0038] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0040] Figure 1 is a flow chart of a method for determining radio frequency parameters according to an exemplary embodiment;
[0041] Figure 2 is a schematic diagram showing a plurality of combined input parameters according to an exemplary embodiment;
[0042] Figure 3 is a logical schematic diagram of a method for determining radio frequency parameters according to an exemplary embodiment;
[0043] Figure 4 is a block diagram of a device for determining radio frequency parameters according to an exemplary embodiment;
[0044] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0045] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0046] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0047] At present, most terminals support single-card function and dual-card function. In the single-card scenario, a single card is used for data transmission and reception, and the terminal provides a set of RF systems. The RF parameters of the power amplifier in the set of RF systems have little impact on the power consumption of the terminal. In the dual-card dual-channel scenario, both cards can transmit and receive data, and the terminal needs to provide two sets of RF systems. The RF parameters of the power amplifiers in the two sets of RF systems have a greater impact on the power consumption of the terminal.
[0048] In the related technology, the RF parameters of the two cards are still the same as those in the single-card scenario. Both sets of RF parameters are fixed in the software and cannot be modified. In different communication scenarios, these two sets of fixed RF parameters are used for communication, resulting in higher power consumption of the terminal in the dual-card dual-pass scenario than in the single-card scenario. For example, the terminal power consumption generated by a power amplifier amplifying the RF signal in the single-card scenario is A, and the terminal power consumption generated by two power amplifiers amplifying the RF signal in the dual-card dual-pass scenario is 2A.
[0049] Based on this, the present disclosure proposes a method for determining radio frequency parameters. Figure 1 is a flow chart of a method for determining radio frequency parameters according to an exemplary embodiment. Figure 1 As shown, the radio frequency parameter determination method is used in a terminal and includes the following steps.
[0050] In step S101, a plurality of radio frequency parameters of a terminal are input into a power consumption prediction model to obtain a plurality of predicted terminal power consumptions.
[0051] In some embodiments, the RF system of the terminal includes an RF signal generator, a power amplifier and an antenna. The RF signal generator generates an RF signal, the power amplifier amplifies the RF signal, and sends the amplified RF signal to the antenna, which sends the amplified RF signal to the base station.
[0052] Optionally, the multiple RF parameters of the terminal refer to multiple RF parameters of the power amplifier, and a single RF parameter includes an offset voltage of the power amplifier and an increment of the power amplifier. The offset of the power amplifier includes voltage and current, and modifying the magnitude of the voltage and current will affect the power consumption of the terminal. It can be understood that the multiple RF parameters of the power amplifier refer to the configuration of the power amplifier being switchable among multiple RF parameters, rather than the power amplifier being configured with multiple RF parameters at the same time. For example, at the previous moment, the RF parameters of the power amplifier are offset voltage A and increment B; at the next moment, the RF parameters of the power amplifier are transformed into offset voltage C and increment D.
[0053] In some embodiments, the power consumption prediction model is used to predict multiple predicted terminal power consumptions based on multiple radio frequency parameters corresponding to at least one communication card of the terminal. Wherein, the power consumption prediction model predicts the overall terminal power consumption of the terminal. When there are two or more communication cards, the predicted terminal power consumption is caused by the radio frequency parameters corresponding to the two or more communication cards, rather than the terminal power consumption caused by the radio frequency parameters corresponding to a single communication card.
[0054] It can be understood that one communication card is configured with a set of radio frequency systems, a set of radio frequency systems includes a power amplifier, and a power amplifier can be configured with multiple radio frequency parameters, so one communication card corresponds to multiple radio frequency parameters.
[0055] Optionally, in a dual-card dual-pass scenario, there are a first communication card and a second communication card, and the first communication card and the second communication card belong to different operators. The first communication card is correspondingly configured with a first RF system, the first RF system has a first power amplifier, and the first power amplifier can be configured with multiple first RF parameters; the second communication card is correspondingly configured with a second RF system, the second RF system has a second power amplifier, and the second power amplifier can be configured with multiple second RF parameters. Therefore, a first RF parameter can be selected from multiple first RF parameters of the first communication card in the terminal, and a second RF parameter can be selected from multiple second RF parameters of the second communication card in the terminal, and then the selected first RF parameter and the second RF parameter are input into the power consumption prediction model to obtain a predicted terminal power consumption; when predicting the next predicted terminal power consumption, the first RF parameter is selected from multiple first RF parameters, and the second RF parameter is selected from multiple second RF parameters to input into the power consumption prediction model to obtain the next predicted terminal power consumption. It can be understood that each time the combination of the first RF parameter and the second RF parameter selected to be input into the power consumption prediction model is different.
[0056] For example, see Figure 2 As shown, the first communication card corresponds to the first RF parameter A1 and the first RF parameter B1, and the second communication card corresponds to the second RF parameter A2 and the second RF parameter B2. Therefore, the four RF parameters can be arranged and combined to obtain the following four groups of RF parameters: A1 and A2, B1 and B2, A1 and B2, A2 and B1, and then the four groups of RF parameters are respectively input into the power consumption prediction model to obtain multiple different predicted terminal power consumptions, and the four groups of RF parameters are different.
[0057] It is understandable that when forming a combination of multiple groups of RF parameters, the multiple groups of RF parameters can be formed by changing the RF parameters of the first power amplifier and the RF parameters of the second power amplifier.
[0058] It can be understood that the dual-card dual-pass scenario means that when the two communication cards of the terminal are connected to the wireless networks of the operators corresponding to the two communication cards through the network and maintain the network connection, the two communication cards independently support different services.
[0059] For example, in business scenarios such as when a user is browsing the web, playing games or making calls through a terminal, the first communication card and the second communication card are both in a network connection state, and the two power amplifiers corresponding to the first communication card and the second communication card are both working; for another example, in a business scenario where a user is making a call and chatting with an instant software at the same time, the first communication card is used to support the user in making calls, and the power amplifier corresponding to the first communication card is responsible for amplifying the radio frequency signal generated when making a call; the second communication card is used to support the user in communicating through the instant software, and the power amplifier corresponding to the second communication card is responsible for amplifying the radio frequency signal generated when sending instant chat messages.
[0060] Optionally, in a single-card scenario, there is a communication card, a set of RF systems and a power amplifier in the RF system. At this time, multiple RF parameters corresponding to the communication card can be input into the power consumption prediction model respectively to obtain multiple predicted terminal power consumptions.
[0061] In some embodiments, the current terminal parameters of the terminal can also be combined with the multiple RF parameters into multiple groups of input parameters and input into the power consumption prediction model to obtain multiple predicted terminal power consumptions. The terminal parameters include at least one of the following: the frequency band supported by the terminal, the network standard supported by the terminal, the business scenario of the terminal, and the signal quality of the terminal.
[0062] Optionally, after the frequency bands, network standards, service scenarios, signal qualities and RF parameters at different times are input into the power consumption prediction model, the power consumption prediction model can predict the terminal power consumption under the frequency bands at different times, network standards at different times, signal qualities at different times, service scenarios at different times or RF parameters at different times.
[0063] Optionally, the terminal parameters combined with the multiple radio frequency parameters should belong to the same communication card as the multiple radio frequency parameters.
[0064] In the dual-card dual-pass scenario, the first RF parameters corresponding to the first communication card should be combined with the first terminal parameters corresponding to the first communication card. At the same time, the second RF parameters corresponding to the second communication card should be combined with the second terminal parameters corresponding to the second communication card to form a set of input parameters. When the first RF parameters and / or the second RF parameters change, the set of input parameters will change.
[0065] In a single-card scenario, the RF parameters corresponding to the communication card are combined with the terminal parameters corresponding to the communication card to form a set of input parameters. When the RF parameters change, the set of input parameters will change.
[0066] Optionally, the frequency bands supported by the terminal will vary depending on the type of communication card. For example, the first communication card is a 5G communication card, which supports frequency bands corresponding to frequency band numbers such as n78, n41, n79, n77, n1 and n3; the second communication card is a 4G communication card, which supports frequency bands corresponding to frequency band numbers such as n39, n38, n40.
[0067] Optionally, the network standards supported by the terminal will vary depending on the operator to which the communication card belongs. For example, the first communication card belongs to the first operator, and the supported network standards include 2G, 3G, 4G and 5G. The second communication card belongs to the second operator, and the supported network standards include 3G, 4G and 5G.
[0068] Optionally, the signal quality refers to at least one of RSRP (Reference Signal Receiving Power), SINR (Signal to Interference plus Noise Ratio), RSSI (Received Signal Strength Indicator), and RSRQ (Reference Signal Receiving Quality). RSRP, SINR, RSSI and RSRQ can all indicate the signal quality of the radio frequency signal transmitted by the antenna.
[0069] Optionally, the business scenario refers to a game scenario, a phone scenario, a page browsing scenario, an instant chat scenario, and other business scenarios. The terminal can obtain the current business scenario of the terminal's communication card by registering and monitoring in MiuiTelephonyStatistic (MIui Phone Statistics); then upload data through MiStatInterfaceUtil, in which OneTrack is domestic data and PubSub is international data, and finally the domestic data and international data are aggregated in the data factory to monitor the business scenario of the communication card.
[0070] At the current moment, when the first communication card forwards the data of the game scene and the second communication card forwards the data of the phone scene, the first terminal parameters such as the first frequency band supported by the first communication card at the current moment, the first network standard, the first signal quality when playing the game, and the data generated in the game scene can be combined with the first radio frequency parameters; then the second terminal parameters such as the second frequency band supported by the second communication card, the second network standard, the second signal quality when making a call, and the data generated in the call scene can be combined with the second radio frequency parameters; finally, the combined data is input as a set of input parameters into the power consumption prediction model to predict the predicted terminal power consumption generated by the terminal in both the game scene and the call scene.
[0071] It is understandable that at the same time, the business scenarios supported by the two communication cards of the terminal will not change. When the business scenarios remain unchanged, the signal quality of the two communication cards when performing business scenarios may not change; and the two communication cards of the terminal will not change their supported network standards and frequency bands after leaving the factory, so the terminal parameters combined with the RF parameters will basically not change in the same business scenario.
[0072] On this basis, the first radio frequency parameters combined with the first terminal parameters may be changed, and / or the second radio frequency parameters combined with the second terminal parameters may be changed, so that the input parameters are changed, thereby predicting different predicted terminal power consumption.
[0073] By receiving terminal parameters that are closer to the actual network environment where the terminal is located through the power consumption prediction model, and then combining the terminal parameters with the radio frequency parameters, the power consumption prediction model can be placed in the actual network environment where the terminal is located, so that the power consumption prediction model is based on the influence of terminal parameters such as network standard, signal quality, frequency band, and service scenario on the terminal power consumption, and obtains the predicted terminal power consumption, so that the predicted terminal power consumption is closer to the actual terminal power consumption generated by the terminal in the actual network environment.
[0074] In step S102, a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption is selected from the plurality of predicted terminal power consumptions.
[0075] In some embodiments, the terminal can select a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption from multiple predicted terminal power consumptions predicted by the power consumption prediction model, or can select the minimum target terminal power consumption from multiple predicted terminal power consumptions.
[0076] For example, see Figure 2 As shown, in the dual-card dual-channel scenario, the first communication card corresponds to the first RF parameter A1, the first RF parameter B1 and the first terminal parameter C1, and the second communication card corresponds to the second RF parameter A2, the second RF parameter B2 and the second terminal parameter C2.
[0077] A1 and C1 may be selected to be combined from two radio frequency parameters supported by the first communication card, and A2 and C2 may be selected to be combined from two radio frequency parameters supported by the second communication card as the first group of input parameters to obtain the first predicted terminal power consumption D1.
[0078] Then, a combination of B1 and C1 is selected from two radio frequency parameters supported by the first communication card, and a combination of B2 and C2 is selected from two radio frequency parameters supported by the second communication card as a second set of input parameters to obtain a second predicted terminal power consumption D2.
[0079] Then select A1 and C1 to combine from the two radio frequency parameters supported by the first communication card, and select B2 and C2 to combine from the two radio frequency parameters supported by the second communication card as the third group of input parameters to obtain the third predicted terminal power consumption D3;.
[0080] Then, B1 and C1 are selected from the two radio frequency parameters supported by the first communication card, and A2 and C2 are selected from the two radio frequency parameters supported by the second communication card as the fourth group of input parameters to obtain the fourth predicted terminal power consumption D4. Finally, the terminal selects the predicted terminal power consumption whose terminal power consumption is less than the preset terminal power consumption from the four predicted terminal power consumptions D1, D2, D3, and D4 as the target terminal power consumption.
[0081] It is understandable that the RF parameters corresponding to each output predicted terminal power consumption are different.
[0082] In step S103, the radio frequency parameters corresponding to the power consumption of the target terminal are used as target radio frequency parameters, where the target radio frequency parameters are radio frequency parameters used by the terminal to transmit radio frequency signals.
[0083] Optionally, in a dual-SIM dual-channel scenario, the first RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used by the terminal in the first business scenario, and the second RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used by the terminal in the second business scenario.
[0084] For example, when a user is playing a game while making a phone call, and the first communication card forwards data for the game scene and the second communication card forwards data for the phone scene, the first RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used by the terminal in the game scene, that is, the first power amplifier corresponding to the first communication card uses the first RF parameters to amplify signals in the game scene; the second RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used by the terminal in the phone scene, that is, the second power amplifier corresponding to the second communication card uses the second RF parameters to amplify signals in the phone scene. In this way, after the terminal uses the first RF parameters and the second RF parameters, the overall terminal power consumption can be smaller.
[0085] For another example, when a user is chatting through instant software while making a phone call, and the first communication card forwards data for the instant messaging scenario and the second communication card forwards data for the phone call scenario, the first RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used by the terminal in the instant messaging scenario, that is, the first power amplifier corresponding to the first communication card uses the first RF parameters to amplify signals in the instant messaging scenario; the second RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used by the terminal in the phone call scenario, that is, the second power amplifier corresponding to the second communication card uses the second RF parameters to amplify signals in the phone call scenario. In this way, after the terminal uses the first RF parameters and the second RF parameters, the overall terminal power consumption can be smaller.
[0086] Optionally, in a single-card single-pass scenario, the radio frequency parameters corresponding to the power consumption of the target terminal may be used as the radio frequency parameters used by the terminal in the current service scenario.
[0087] For example, when the user is making a call, the RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used in the phone scenario; when the user is playing a game, the RF parameters corresponding to the target terminal power consumption can be used as the RF parameters used in the game scenario.
[0088] It can be seen that no matter in a single-card single-pass or dual-card dual-pass scenario, the target RF parameters used by the terminal in different service scenarios are different. In this way, the terminal can flexibly configure different target RF parameters in different service scenarios to reduce the terminal power consumption generated by the terminal.
[0089] Through the above technical solution, the terminal can input different RF parameters into the power consumption prediction model to predict multiple predicted terminal power consumptions corresponding to the RF parameters through the power consumption prediction model; the terminal then selects a target terminal power consumption whose power consumption is less than the preset terminal power consumption from the multiple predicted terminal power consumptions, and uses the RF parameters corresponding to the target terminal power consumption as the RF parameters currently used by the terminal.
[0090] In this process, the terminal obtains the function of predicting terminal power consumption according to the RF parameters based on the power consumption prediction model, and then determines which RF parameters can make the terminal achieve lower power consumption in the current business scenario, and then uses the target RF parameters corresponding to the target terminal power consumption that is predicted to be less than the preset terminal power consumption as the RF parameters currently used by the terminal. Naturally, the actual terminal power consumption generated by the terminal will be close to the target terminal power consumption predicted by the power consumption prediction model, and its power consumption value will also be smaller, thereby reducing the increased terminal power consumption in the dual-SIM dual-pass scenario.
[0091] In a possible implementation, the power consumption prediction model may be trained by the following steps:
[0092] In step S201, the terminal parameter samples and the radio frequency parameter samples are used as training samples to train the initial model.
[0093] In some embodiments, the terminal parameter samples include frequency band samples, network standard samples, service scenario samples and signal quality samples, the signal quality samples include RSRP samples, SINR samples, RSSI samples and RSRQ samples; the RF parameter samples include offset voltage samples and increment samples of the power amplifier.
[0094]
[0095]
[0096] Table 1
[0097] Optionally, referring to Table 1, the various samples shown in Table 1 need to be input into the initial model. During each training, the parameters of any of the various samples can be changed to obtain multiple groups of different training samples to train the initial model.
[0098] For example, during the first training, the frequency band range of the frequency band samples in the multiple samples shown in Table 1 can be changed to serve as a group of training samples to train the initial model; during the second training, the network standard of the network standard samples in the multiple samples described in Table 1 can be changed, for example, from 4G to 5G, to serve as the second group of training samples to train the initial model.
[0099] Optionally, the radio frequency parameter samples may be changed by a radio frequency instrument, and for the remaining terminal parameter samples, different terminal parameters may be selected by software configuration.
[0100] In step S202, the first weight of the terminal parameter sample or the second weight corresponding to the radio frequency parameter sample is updated to update the terminal power consumption output by the initial model.
[0101] In some embodiments, an initial first weight may be set for the terminal parameter sample, and an initial second weight may be set for the RF parameter sample. In each round of training, it is determined whether the difference between the terminal power consumption and the actual terminal power consumption meets the convergence condition. If the convergence condition is not met, the first weight of the terminal parameter sample and the second weight of the RF parameter sample are updated to obtain an updated initial model; the changed terminal parameter sample and the RF parameter sample are then input into the updated initial model to determine whether the difference between the terminal power consumption and the actual terminal power consumption meets the convergence condition. If the convergence condition is not met, the first weight and the second weight are continuously updated until the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition.
[0102] Optionally, the convergence condition includes any one of the following: the difference is smaller than a predetermined value, and the difference cannot continue to decrease.
[0103] In step S203, when the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition, the initial model when the difference meets the convergence condition is used as the power consumption prediction model.
[0104] For example, in combination with Table 1, the expression of the power consumption prediction model obtained after the final update is as follows:
[0105] Result_p=56.50%*a+17.77%*b+12.21%*c+2.47%*d+1.05%*e+3.25%*f+5.65%*g+1.10%*h
[0106] In the above expression, in the updated power consumption prediction model, each different terminal parameter and each different radio frequency parameter has their own different weight.
[0107] In some embodiments, the frequency bands, service types, signal quality, radio frequency parameters and other data supported by the terminal can be summarized and identified to form a prediction data set. Finally, the prediction data set is divided. In order to prevent data snooping bias and avoid selecting models that are helpful for the test set, sklearn is used to divide the training set and the test set using a random skleam sampling method, where 80% of the data is used as a training set to train the initial model, and 20% of the data is used as a test set to test the performance of the initial model.
[0108] In some embodiments, the frequency bands, business scenarios, signal qualities, RF parameters and network standards supported by different terminals may be different, and the frequency bands, business scenarios, signal qualities, RF parameters and network standards supported by different communication cards of the same terminal may also be different. In this way, the power consumption prediction model can predict the predicted terminal power consumption of any type of terminal under different frequency bands, business scenarios, signal qualities, RF parameters and network standards based on different frequency bands, business scenarios, signal qualities, RF parameters and network standards. The terminal can also select target RF parameters that produce less power consumption under different frequency bands, different business scenarios and different signal qualities based on the power consumption prediction model, so that the actual terminal power consumption actually generated by the terminal after using the target RF parameters is smaller.
[0109] Through the above technical solution, different terminal parameters and different RF parameters can be input into the initial model to train the initial model to obtain a power consumption prediction model. In this way, the power consumption prediction model can predict the terminal power consumption according to different frequency bands, service scenarios, signal quality, RF parameters, network standards and other data. And the predicted terminal power consumption predicted by the trained power consumption prediction model based on the RF parameters is close to the actual terminal power consumption actually generated by the terminal under the RF parameters, indicating that the predicted terminal power consumption predicted by the power consumption prediction model is close to the actual value, then the actual terminal power consumption actually generated by the terminal after adopting the target RF parameters is close to the target terminal power consumption predicted by the power consumption prediction model, and since the predicted target terminal power consumption is a smaller value, the power consumption value of the actual terminal power consumption actually generated by the terminal after adopting the target video parameters is also smaller.
[0110] In a possible implementation, the selection of radio frequency parameters may affect signal quality. Therefore, when selecting target radio frequency parameters, signal quality may also be considered to avoid affecting the user experience due to low signal quality, including the following steps:
[0111] In step S301, a plurality of radio frequency parameters of a terminal and signal qualities respectively corresponding to the plurality of radio frequency parameters are input into a power consumption prediction model to obtain a plurality of predicted terminal power consumptions.
[0112] In step S302, the terminal power consumption to be selected corresponding to the target signal quality whose signal quality is greater than a preset quality is selected from the multiple predicted terminal power consumptions.
[0113] In step S303, a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption is selected from the plurality of terminal power consumptions to be selected.
[0114] In some embodiments, when the number of the power consumptions of the terminals to be selected is one, the power consumption of the terminal to be selected is used as the target terminal power consumption.
[0115] In some embodiments, when there are multiple terminal power consumptions to be selected, a target terminal power consumption corresponding to a target signal quality having a signal quality greater than a preset quality is selected from the multiple terminal power consumptions to be selected.
[0116] Through the above technical solution, the power consumption of the terminal to be selected corresponding to the better signal quality can be selected from multiple predicted terminal power consumptions; and then the target terminal power consumption with lower terminal power consumption can be selected from the terminal power consumptions to be selected. In this way, the terminal power consumption can be reduced while ensuring the signal quality of the terminal, so as to avoid the reduction of signal quality and the impact on the user experience.
[0117] Figure 4 is a block diagram of a device for determining radio frequency parameters according to an exemplary embodiment. Figure 4 The RF parameter determination device 400 includes: an input module 410 , a screening module 420 and a target RF parameter determination module 430 .
[0118] An input module 410 is configured to input a plurality of radio frequency parameters of a terminal into a power consumption prediction model to obtain a plurality of predicted terminal power consumptions;
[0119] The screening module 420 is configured to select a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption from the plurality of predicted terminal power consumptions;
[0120] The target RF parameter determination module 430 is configured to use the RF parameter corresponding to the power consumption of the target terminal as the target RF parameter, where the target RF parameter is the RF parameter used by the terminal to transmit the RF signal.
[0121] Optionally, the input module 410 includes:
[0122] The first input submodule is configured to combine the current terminal parameters of the terminal with the multiple radio frequency parameters to form multiple groups of input parameters, and input them into the power consumption prediction model to obtain multiple predicted terminal power consumptions, wherein the terminal parameters include at least one of the following:
[0123] The frequency bands supported by the terminal, the network standards supported by the terminal, the service scenarios of the terminal, and the signal quality of the terminal.
[0124] Optionally, the radio frequency parameter determination device 400 includes:
[0125] A training module is configured to train an initial model by using the terminal parameter sample and the radio frequency parameter sample as training samples;
[0126] The power consumption prediction model determination module is configured to use the initial model when the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition as the power consumption prediction model.
[0127] Optionally, the power consumption prediction model determination module includes:
[0128] An updating submodule, configured to update the first weight of the terminal parameter sample or the second weight corresponding to the radio frequency parameter sample, so as to update the terminal power consumption output by the initial model;
[0129] The power consumption prediction model determination submodule is configured to use the initial model when the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition as the power consumption prediction model.
[0130] Optionally, the terminal has a first communication card and a second communication card of different types, and the input module 410 includes:
[0131] The second input submodule is configured to input multiple radio frequency parameters of the first communication card and multiple radio frequency parameters of the second communication card into the power consumption prediction model to obtain the predicted terminal power consumption.
[0132] Optionally, the screening module 420 includes:
[0133] A third input submodule is configured to input a plurality of radio frequency parameters of the terminal and the signal qualities respectively corresponding to the plurality of radio frequency parameters into the power consumption prediction model to obtain a plurality of predicted terminal power consumptions;
[0134] A first screening submodule is configured to select, from the plurality of predicted terminal power consumptions, a terminal power consumption to be selected corresponding to a target signal quality having a signal quality greater than a preset quality;
[0135] The second screening submodule is configured to select a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption from the plurality of terminal power consumptions to be selected.
[0136] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0137] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the radio frequency parameter determination method provided by the present disclosure are implemented.
[0138] Figure 51 is a block diagram of an electronic device 500 according to an exemplary embodiment. For example, the electronic device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0139] Reference Figure 5 , the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output interface 512 , a sensor component 514 , and a communication component 516 .
[0140] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned radio frequency parameter determination method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0141] The memory 504 is configured to store various types of data to support operations on the electronic device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0142] The power supply component 506 provides power to the various components of the electronic device 500. The power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.
[0143] The multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0144] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
[0145] The input / output interface 512 provides an interface between the processing component 502 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0146] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 can detect the open / closed state of the electronic device 500, the relative positioning of components, such as the display and keypad of the electronic device 500, and the sensor assembly 514 can also detect the position change of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and the temperature change of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0147] The communication component 516 is configured to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0148] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned RF parameter determination method.
[0149] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by the processor 520 of the electronic device 500 to complete the above-mentioned radio frequency parameter determination method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0150] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-level chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned radio frequency parameter determination method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned method for determining the RF parameters is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned method for determining the RF parameters.
[0151] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned radio frequency parameter determination method when executed by the programmable device.
[0152] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0153] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for determining radio frequency parameters, characterized in that: include: Inputting multiple radio frequency parameters of the terminal into a power consumption prediction model to obtain multiple predicted terminal power consumptions; Selecting a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption from the multiple predicted terminal power consumptions; The radio frequency parameters corresponding to the power consumption of the target terminal are used as target radio frequency parameters, where the target radio frequency parameters are radio frequency parameters used by the terminal to transmit radio frequency signals.
2. The method according to claim 1, characterized in that The step of inputting a plurality of radio frequency parameters of the terminal into a power consumption prediction model to obtain a plurality of predicted terminal power consumptions includes: The current terminal parameters of the terminal are respectively combined with the multiple radio frequency parameters to form multiple groups of input parameters, which are input into the power consumption prediction model to obtain multiple predicted terminal power consumptions, wherein the terminal parameters include at least one of the following: The frequency bands supported by the terminal, the network standards supported by the terminal, the service scenarios of the terminal, and the signal quality of the terminal.
3. The method according to claim 1, characterized in that The method further comprises: Using the terminal parameter samples and the radio frequency parameter samples as training samples to train the initial model; When the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition, the initial model when the difference meets the convergence condition is used as the power consumption prediction model.
4. The method according to claim 3, characterized in that When the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition, the initial model when the difference meets the convergence condition is used as the power consumption prediction model, including: Updating the first weight of the terminal parameter sample or the second weight corresponding to the radio frequency parameter sample to update the terminal power consumption output by the initial model; When the difference between the terminal power consumption output by the initial model and the actual terminal power consumption meets the convergence condition, the initial model when the difference meets the convergence condition is used as the power consumption prediction model.
5. The method according to claim 1, characterized in that The terminal has a first communication card and a second communication card of different types, and the multiple radio frequency parameters of the terminal are input into the power consumption prediction model to obtain multiple predicted terminal power consumptions, including: Input a plurality of radio frequency parameters of the first communication card and a plurality of radio frequency parameters of the second communication card into the power consumption prediction model to obtain the predicted terminal power consumption.
6. The method according to claim 1, characterized in that The selecting, from the multiple predicted terminal power consumptions, a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption comprises: Inputting a plurality of radio frequency parameters of the terminal and the signal qualities respectively corresponding to the plurality of radio frequency parameters into a power consumption prediction model to obtain a plurality of predicted terminal power consumptions; Selecting, from the multiple predicted terminal power consumptions, a terminal power consumption to be selected corresponding to a target signal quality whose signal quality is greater than a preset quality; From the plurality of terminal power consumptions to be selected, a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption is selected.
7. A radio frequency parameter determination device, characterized in that: include: An input module is configured to input multiple radio frequency parameters of the terminal into the power consumption prediction model to obtain multiple predicted terminal power consumptions; A screening module, configured to select a target terminal power consumption whose terminal power consumption is less than a preset terminal power consumption from the plurality of predicted terminal power consumptions; The target radio frequency parameter determination module is configured to use the radio frequency parameters corresponding to the power consumption of the target terminal as target radio frequency parameters, where the target radio frequency parameters are the radio frequency parameters used by the terminal to transmit radio frequency signals.
8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: Execute the steps of any one of the methods of claims 1 to 6.
9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
10. A chip, characterized in that: The method comprises a processor and an interface; the processor is used to read instructions to execute the method according to any one of claims 1 to 6.
