Communication parameter configuration method of electronic equipment, electronic equipment and storage medium
By determining and configuring the communication capability parameters of electronic devices, the problems of high power consumption and poor battery life of 5G mobile terminals are solved, and the optimal balance between power consumption and speed is achieved.
Patent Information
- Application Number
- CN202310991347.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2025-02-14
AI Technical Summary
The power consumption of 5G mobile terminals is large, resulting in poor battery life. It is necessary to reduce the power consumption of electronic devices to improve battery life.
By acquiring multiple sets of communication capability parameters, determining the first communication capability parameter whose communication rate is greater than the rate threshold, and selecting the second communication capability parameter with the smallest communication power consumption value from it, the communication capability parameter of the electronic device is configured.
It realizes that the power consumption of electronic devices is reduced while ensuring communication speed, thereby improving the battery life of electronic devices.
Smart Images

Figure CN119450441A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication control technology, and in particular to a communication parameter configuration method for an electronic device, an electronic device, and a storage medium. Background Art
[0002] The fifth generation mobile communication technology (5G) is a new generation of broadband mobile communication technology with the characteristics of high speed, low latency and large connection. With the maturity of 5G technology, the coverage of 5G network is getting larger and larger, 5G technology is also being applied in more and more fields, and the number of users of 5G mobile terminals is also increasing.
[0003] With the application of 5G technology, people have found that electronic devices using 5G technology have high power consumption, especially when used in mobile terminals. Due to the high power consumption of 5G communication, the mobile terminal consumes power too quickly and the battery life of the mobile terminal is poor. Therefore, reducing the power consumption of electronic devices and improving the battery life are problems that need to be solved at present. Summary of the invention
[0004] The present application provides a communication parameter configuration method for an electronic device, an electronic device, and a storage medium, which can reduce the power consumption of the electronic device and improve the battery life of the electronic device.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a communication parameter configuration method for an electronic device, comprising:
[0007] Acquire multiple groups of communication capability parameters, each group of communication capability parameters including the number of multiple-input multiple-output layers and the number of component carriers;
[0008] Determine at least one first communication capability parameter from the multiple communication capability parameters, the first communication capability parameter being a communication capability parameter having a communication rate greater than a rate threshold corresponding to the communication rate, and the communication rate corresponding to the communication capability parameter being a communication rate calculated when the electronic device is the communication capability parameter;
[0009] Determine a second communication capability parameter from the first communication capability parameter, the second communication capability parameter being a group of the first communication capability parameters with the smallest communication power consumption value, and the communication power consumption value corresponding to the traffic capability parameter is the calculated communication power consumption value of the electronic device when it is the communication capability parameter;
[0010] The communication capability parameter of the electronic device is set to the second communication capability parameter.
[0011] In the present application, a first communication capability parameter whose communication rate is greater than a rate threshold is searched from multiple groups of communication capability parameters, and then a first communication capability parameter whose communication power consumption value is the smallest is searched from all the first communication capability parameters to obtain a second communication capability parameter, and finally the electronic device is configured to the second communication capability parameter (optimal communication capability parameter); the present application searches for a first communication capability parameter whose communication rate is greater than a rate threshold from multiple groups of communication capability parameters so that the communication capability parameters configured for the final electronic device meet the rate performance of the device; searches for the first communication capability parameter whose communication power consumption value is the smallest from all the first communication capability parameters so that the communication capability parameters configured for the final electronic device minimize the power consumption of the electronic device; thus, the electronic device configured by the present application can not only meet the rate requirements, but also reduce the power consumption of the electronic device and improve the battery life of the electronic device.
[0012] As another implementation of the first aspect, determining at least one set of first communication capability parameters from the multiple sets of communication capability parameters includes:
[0013] For the i-th group of communication capability parameters, calculating the communication rate of the electronic device when the communication capability parameters of the i-th group are met;
[0014] If the communication rate corresponding to the i-th group of communication capability parameters is greater than the rate threshold, determining the i-th group of communication capability parameters as the first communication capability parameters;
[0015] Correspondingly, determining the second communication capability parameter from the first communication capability parameter includes:
[0016] For the i-th group of communication capability parameters determined as the first communication capability parameters, calculating the communication power consumption value of the electronic device when the communication capability parameters of the i-th group are used;
[0017] If the communication power consumption value corresponding to the i-th group of communication capability parameters is less than the communication power consumption value corresponding to other first communication capability parameters, the i-th group of communication capability parameters is determined as the second communication capability parameters, wherein the other first communication capability parameters are first communication capability parameters other than the i-th group of communication capability parameters.
[0018] In the present application, the communication rate corresponding to each communication capability parameter is calculated separately. After calculating a group of communication capability parameters, it is determined whether the communication capability parameter is the first communication capability parameter based on the communication rate corresponding to the group of communication capability parameters, which provides a fast and simple method for determining the first communication capability parameter, making the determined first communication capability parameter more accurate.
[0019] As another implementation of the first aspect, determining at least one set of first communication capability parameters from the multiple sets of communication capability parameters includes:
[0020] Calculating the communication rate of the electronic device for each set of communication capability parameters to obtain multiple communication rates;
[0021] If the communication rate is greater than the rate threshold, determining the communication capability parameter corresponding to the communication rate greater than the rate threshold as the first communication capability parameter;
[0022] Correspondingly, determining the second communication capability parameter from the first communication capability parameter includes:
[0023] Calculating the communication power consumption value of the electronic device for each set of first communication capability parameters to obtain multiple communication power consumption values;
[0024] Find a minimum power consumption value among the multiple communication power consumption values, and determine the first communication capability parameter corresponding to the minimum power consumption value as the second communication capability parameter.
[0025] In the present application, after calculating the communication rates corresponding to all communication capability parameters, the communication rate greater than the rate threshold is determined, and then the communication capability parameter corresponding to the communication rate greater than the rate threshold is determined as the first communication capability parameter, which provides another fast and simple method for determining the first communication capability parameter, making the determined first communication capability parameter more accurate.
[0026] As another implementation of the first aspect, the communication rate includes an uplink communication rate and a downlink communication rate; the rate threshold includes an uplink rate threshold of the uplink communication rate and a downlink rate threshold of the downlink communication rate; the downlink rate threshold and the uplink rate threshold are both determined based on the application scenario executed by the electronic device, and the downlink rate threshold and the uplink rate threshold corresponding to different application scenarios are pre-set.
[0027] In the present application, the rate threshold is determined according to the application scenario executed by the electronic device, so that the determined rate threshold is more in line with the current operating state of the electronic device, and the second communication capability parameter finally determined is also more accurate and more in line with the operating state of the electronic device.
[0028] As another implementation of the first aspect, the number of MIMO layers includes the number of downlink MIMO layers, and the number of component carriers includes the number of downlink component carriers;
[0029] Calculating the downlink communication rate of the electronic device when the electronic device is the i-th group of communication capability parameters includes:
[0030] Based on the number of downlink component carriers in the i-th group of communication capability parameters, determining each downlink component carrier used by the electronic device when the electronic device is the i-th group of communication capability parameters;
[0031] Acquire the modulation order of each of the downlink component carriers per unit time, the coding rate of each of the downlink component carriers per unit time, the number of orthogonal frequency division multiplexing symbols per unit time, and the number of resource blocks allocated to each of the downlink component carriers during the communication process during the operation of the electronic device;
[0032] Based on the modulation order of each of the downlink component carriers in the unit time, the coding rate of each of the downlink component carriers in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, the number of resource blocks allocated to each of the downlink component carriers during the communication process and the number of downlink multiple-input and multiple-output layers in the i-th group of communication capability parameters, the downlink communication rate of the electronic device when it is the i-th group of communication capability parameters is calculated.
[0033] In the present application, the downlink communication rate is determined by using the parameters during the operation of the electronic device and the i-th group of communication capability parameters. The parameters during the operation change with time. Therefore, the present application uses the parameters during the operation to make the calculated downlink communication rate more accurate and more consistent with the operation state of the electronic device. In addition, the present method can also calculate the real-time downlink communication rate of the electronic device, and determine the downlink communication rate of the electronic device after the communication capability parameters are changed.
[0034] As another implementation of the first aspect, the downlink communication rate when the electronic device is configured as the i-th group of communication capability parameters is calculated based on the modulation order of each of the downlink component carriers in the unit time, the coding rate of each of the downlink component carriers in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, and the number of resource blocks allocated to each of the downlink component carriers during the communication process. The communication capability parameter includes:
[0035] For the j-th downlink component carrier in the downlink component carrier, based on the modulation order of the j-th downlink component carrier in unit time, the coding rate of the j-th downlink component carrier in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, the number of resource blocks allocated to the j-th downlink component carrier during the communication process, and the product of the number of downlink multiple-input multiple-output layers in the i-th group of communication capability parameters, determine the subtransmission rate of the j-th downlink component carrier; j takes a natural number from 1 to N, and N is the number of downlink component carriers in the i-th group of communication capability parameters;
[0036] The sum of the N sub-transmission rates is calculated to obtain the downlink communication rate when the electronic device is configured with the i-th group of communication capability parameters.
[0037] In the present application, the sub-transmission rate of each downlink component carrier is calculated, and then the sub-transmission rates of each downlink component carrier are added together to obtain the downlink communication rate of the electronic device. The downlink communication rate includes the transmission rate of each downlink component carrier, so that the calculated downlink communication rate is more accurate.
[0038] As another implementation of the first aspect, the downlink communication rate of the electronic device when it is the i-th group of communication capability parameters is calculated based on the modulation order of each of the downlink component carriers in the unit time, the coding rate of each of the downlink component carriers in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, and the number of resource blocks allocated to each of the downlink component carriers during the communication process. The communication capability parameter includes:
[0039] The downlink communication rate of the electronic device when the electronic device is the i-th group of communication capability parameters is calculated using a rate calculation model, the rate calculation model comprising: Wherein, R is the downlink communication rate, J is the number of downlink component carriers in the i-th group of communication capability parameters, is the number of downlink MIMO layers in the i-th group of communication capability parameters; is the modulation order of the j-th downlink component carrier in the unit time; r is the coding rate of the j-th downlink component carrier in the unit time, is the number of resource blocks allocated to the j-th downlink component carrier during the communication process, N SC is the number of subcarriers in each resource block, M symbol is the number of OFDM symbols per unit time, OH j is the spectrum overhead of the j-th downlink component carrier during the communication process.
[0040] In the present application, the downlink communication rate is calculated by a rate calculation model, which provides a fast and accurate calculation method for the downlink communication rate.
[0041] As another implementation of the first aspect, the number of MIMO layers includes the number of uplink MIMO layers, and the number of component carriers includes the number of uplink component carriers;
[0042] Calculating the uplink communication rate of the electronic device when the electronic device is the i-th group of communication capability parameters, comprising:
[0043] Based on the number of uplink component carriers in the i-th group of communication capability parameters, determining each uplink component carrier used by the electronic device when the electronic device is the i-th group of communication capability parameters;
[0044] Acquire the modulation order of each of the uplink component carriers per unit time, the coding rate of each of the uplink component carriers per unit time, the number of orthogonal frequency division multiplexing symbols per unit time, and the number of resource blocks allocated to each of the uplink component carriers during the communication process during the operation of the electronic device;
[0045] Based on the modulation order of each of the uplink component carriers in the unit time, the coding rate of each of the uplink component carriers in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, the number of resource blocks allocated to each of the uplink component carriers during the communication process and the number of uplink multiple-input and multiple-output layers in the i-th group of communication capability parameters, the uplink communication rate of the electronic device when it is the i-th group of communication capability parameters is calculated.
[0046] In the present application, the uplink communication rate is determined jointly by the parameters during the operation of the electronic device and the i-th group of communication capability parameters. The parameters during the operation change with time. Therefore, the present application uses the parameters during the operation to make the calculated uplink communication rate more accurate and more in line with the operating status of the electronic device.
[0047] As another implementation of the first aspect, based on the modulation order of each of the uplink component carriers in the unit time, the coding rate of each of the uplink component carriers in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, the number of resource blocks allocated to each of the uplink component carriers during the communication process, and the number of uplink multiple-input and multiple-output layers in the i-th group of communication capability parameters, calculating the uplink communication rate of the electronic device when it is the i-th group of communication capability parameters, including:
[0048] For the nth uplink component carrier in the uplink component carrier, based on the modulation order of the nth uplink component carrier in unit time, the coding rate of the nth uplink component carrier in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, the number of resource blocks allocated to the nth uplink component carrier during the communication process, and the product of the number of uplink multiple-input multiple-output layers in the i-th group of communication capability parameters, determine the subtransmission rate of the nth uplink component carrier; n takes a natural number from 1 to M, and M is the number of uplink component carriers in the i-th group of communication capability parameters;
[0049] The sum of the M sub-transmission rates is calculated to obtain the uplink communication rate when the electronic device is configured with the i-th group of communication capability parameters.
[0050] As another implementation of the first aspect, the electronic device includes a baseband, a radio frequency transceiver, a plurality of power amplifiers, and a plurality of low noise amplifiers; the number of multiple-input multiple-output layers includes the number of uplink multiple-input multiple-output layers and the number of downlink multiple-input multiple-output layers, and the number of component carriers includes the number of uplink component carriers and the number of downlink component carriers;
[0051] The calculating the communication power consumption value of the electronic device when the communication capability parameter of the i-th group includes:
[0052] Based on the number of uplink MIMO layers and the number of uplink component carriers in the i-th group of communication capability parameters, determining each power amplifier used by the electronic device when the electronic device is the i-th group of communication capability parameters;
[0053] Based on the number of downlink MIMO layers and the number of downlink component carriers in the i-th group of communication capability parameters, determining each low noise amplifier used by the electronic device when the electronic device is the i-th group of communication capability parameters;
[0054] Obtaining the duration of each communication state of the electronic device within a preset time length, the real-time uplink transmission power of each power amplifier in each communication state, the real-time downlink receiving power of each low noise amplifier in each communication state, the preset reference measured power consumption value of the baseband in each communication state, and the preset basic measured power consumption of the radio frequency transceiver in each communication state;
[0055] Based on the duration of each of the communication states, the real-time uplink transmission power of each power amplifier in each of the communication states, the real-time downlink receiving power of each low-noise amplifier in each of the communication states, the benchmark measured power consumption value of the baseband in each of the communication states, and the basic measured power consumption of the RF transceiver in each of the communication states, the communication power consumption value of the electronic device when it is the i-th group of communication capability parameters is calculated.
[0056] In the present application, the communication power consumption value is calculated using the duration of the communication state within a preset time length, the real-time uplink transmission power in each of the communication states, the real-time downlink receiving power in each of the communication states, the benchmark measured power consumption value of the baseband in each of the communication states, and the basic measured power consumption of the RF transceiver in each of the communication states, so that the obtained communication power consumption value is related to the communication state, providing a new calculation method for calculating the communication power consumption value; in addition, the communication power consumption value is also related to the real-time uplink transmission power of each power amplifier and the real-time downlink receiving power of each low-noise amplifier, so that the obtained communication power consumption value is more in line with the operating state of the electronic device. At the same time, this method can also be used to calculate the real-time communication power consumption of the electronic device, as well as the communication power consumption after the communication capability parameters are changed.
[0057] As another implementation of the first aspect, the calculation of the communication power consumption value of the electronic device when it is the i-th group of communication capability parameters is based on the duration of each of the communication states, the real-time uplink transmit power of each power amplifier in each of the communication states, the real-time downlink receive power of each low noise amplifier in each of the communication states, the reference measured power consumption value of the baseband in each of the communication states, and the basic measured power consumption of the radio frequency transceiver in each of the communication states, including:
[0058] For each of the power amplifiers in each of the communication states, based on the respective real-time uplink transmit powers of each of the power amplifiers, the average uplink transmit power of the power amplifier is calculated, and the power consumption value corresponding to the average uplink transmit power is found to obtain a first average power consumption value of each of the power amplifiers in the communication state;
[0059] For each of the low noise amplifiers in each of the communication states, based on the respective real-time downlink received powers of each of the low noise amplifiers, the average downlink received power of the low noise amplifier is calculated, and the power consumption value corresponding to the average downlink received power is found to obtain a second average power consumption value of each of the low noise amplifiers in the communication state;
[0060] Calculate the total communication power consumption of the electronic device when it is the i-th group of communication capability parameters based on the first power consumption average value of each power amplifier in each communication state, the second power consumption average value of each low noise amplifier in each communication state, the reference measured power consumption value of the baseband in each communication state, the basic measured power consumption of the radio frequency transceiver in each communication state and the duration of each communication state;
[0061] The ratio of the total communication power consumption to the preset duration is calculated to obtain a first communication power consumption value of the electronic device when the electronic device is of the i-th group of communication capability parameters.
[0062] As another implementation of the first aspect, the calculating the total communication power consumption of the electronic device when it is the i-th group of communication capability parameters based on the first power consumption average value of each of the power amplifiers in each of the communication states, the second power consumption average value of each of the low noise amplifiers in each of the communication states, the reference measured power consumption value of the baseband in each of the communication states, the basic measured power consumption of the radio frequency transceiver in each of the communication states, and the duration of each of the communication states, includes:
[0063] The total communication power consumption of the electronic device when the communication capability parameter of the electronic device is the i-th group is calculated using the total communication power consumption calculation model, and the total communication power consumption calculation model is:
[0064]
[0065] E UDL is the total power consumption of the communication, M is the total number of communication states, is a reference measured power consumption value of the baseband in the mth communication state, is the reference measured power consumption value of the radio frequency transceiver in the mth communication state, t m is the duration of the mth communication state, G is the total number of power amplifiers used, is the first power consumption average value of the g-th power amplifier in the m-th communication state, W is the total number of the low noise amplifiers used, is the second power consumption average value of the w-th low noise amplifier in the m-th communication state.
[0066] In this application, the total communication power consumption is obtained by calculating the sum of the power consumption of the baseband, RF transceiver, multiple power amplifiers and multiple low-noise amplifiers in different states, and the power consumption of the electronic device during the communication process is more comprehensively calculated, making the total communication power consumption more accurate.
[0067] In a second aspect, an electronic device is provided, comprising a processor, wherein the processor is used to run a computer program stored in a memory to implement any method of the first aspect of the present application.
[0068] In a third aspect, a chip system is provided, including a processor, wherein the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement any method of the first aspect of the present application.
[0069] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method of any one of the first aspects of the present application is implemented.
[0070] In a fifth aspect, the present application provides a computer program product, which, when executed on a device, enables the device to execute any one of the methods in the first aspect of the present application.
[0071] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0073] Figure 2A schematic diagram of the hardware structure of a communication module of an electronic device provided in an embodiment of the present application;
[0074] Figure 3 A schematic diagram of dividing the communication status of an electronic device provided in an embodiment of the present application;
[0075] Figure 4 A flow chart of a method for configuring communication parameters of an electronic device provided in an embodiment of the present application;
[0076] Figure 5 A flowchart of another method for configuring communication parameters of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0077] In the following description, specific details such as specific system structures and technologies are provided for illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details.
[0078] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0079] It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more than two; "and / or" describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0080] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", "fourth", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0081] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0082] The voice wake-up method provided in the embodiment of the present application can be applied to electronic devices such as tablet computers, mobile phones, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiment of the present application does not limit the specific type of electronic devices.
[0083] Figure 1 The schematic diagram of the structure of an electronic device is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a touch sensor 180K, etc.
[0084] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0085] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0086] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0087] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0088] The USB interface 130 is an interface that complies with USB standard specifications, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device.
[0089] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0090] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and an application required for at least one function (such as a sound playback function, an image playback function, etc.).
[0091] In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0092] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
[0093] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
[0094] In some other embodiments, the power management module 141 may also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may also be disposed in the same device.
[0095] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0096] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0097] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0098] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0099] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
[0100] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0101] The audio module 170 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio inputs into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0102] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0103] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0104] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only monitor voice information but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording function, etc.
[0105] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0106] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.
[0107] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0108] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0109] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
[0110] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0111] The display screen 194 is used to display images, videos, etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
[0112] The camera 193 is used to capture still images or videos. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0113] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting or removing the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
[0114] The embodiments of the present application do not particularly limit the specific structure of the execution subject of the communication parameter configuration method of an electronic device, as long as the code of the communication parameter configuration method of an electronic device according to the embodiments of the present application can be run to perform processing according to the communication parameter configuration method of an electronic device provided by the embodiments of the present application. For example, the execution subject of the communication parameter configuration method of an electronic device provided by the embodiments of the present application can be a functional module in the electronic device that can call and execute a program, or a processing device applied to the electronic device, such as a chip.
[0115] The fifth generation mobile communication technology (5G) is a new generation of broadband mobile communication technology with the characteristics of high speed, low latency and large connection. With the maturity of 5G technology, the scale of 5G networks and 5G terminals is getting larger and larger. 5G networks can cover not only cities, but also rural areas. According to incomplete statistics, as of September 2022, there are more than 2.312 million 5G base stations in use. Now that the 5G network is so developed, there are more and more 5G mobile terminal users, reaching 561 million, accounting for 33.3% of mobile terminal users. In addition, in other fields, such as ports, machinery, automobiles, steel, mining and energy, 5G communications are already in a leading development stage, and 5G communications are accelerating in the fields of industrial Internet, medical care, education, etc.
[0116] With the development of 5G technology, people have also realized the disadvantages of 5G communication, among which the high power consumption of 5G communication is the focus of attention at present. Due to the high power consumption of 5G communication, for operators, 5G base stations consume a lot of electricity and have high operating costs; for end users, 5G terminals consume power too quickly, the terminal's endurance is poor, and the user experience is poor.
[0117] Based on the above reasons, how to reduce the power consumption of electronic devices during communication is a problem that needs to be solved at present.
[0118] In view of this, an embodiment of the present application provides a communication parameter configuration method for an electronic device. During the use of the electronic device, the electronic device can determine the optimal communication capability parameters of the electronic device based on its own communication rate and communication power consumption value, and set the communication capability parameters of the electronic device to the determined optimal communication capability parameters, so that the electronic device can ensure the communication performance (communication rate) of the electronic device during the communication process, and reduce the communication power consumption of the electronic device, so that the power consumption and rate reach the best balance, and the endurance of the electronic device is improved. The optimal communication capability parameters that need to be determined in this application mainly include one or more of the uplink MIMO (multiple input multiple output, multiple input multiple output) layers, the downlink MIMO layers, the uplink CC (Component Carrier) number and the downlink CC number, wherein MIMO is an antenna system that uses multiple antennas at both the transmitting end and the receiving end to form multiple channels between the transmitting and receiving ends. The MIMO layers can also be regarded as the number of antennas used in the communication process. For example, if there are 4 antennas in the electronic device, the MIMO layers can be 2, 3 or 4. CC can be simply considered as a cell.
[0119] Since the communication rate and communication power consumption value of the electronic device are used to determine the optimal communication capability parameters in this application, before introducing the communication parameter configuration method of this application, the rate calculation model used by this application to calculate the communication rate and the power consumption calculation model used to calculate the communication power consumption value are first introduced.
[0120] The rate calculation model used in this application is determined based on the peak rate model. Specifically, the peak rate model is:
[0121]
[0122] Among them, R max is the maximum transmission rate of the electronic device;
[0123] J is the number of component carriers; is the maximum number of MIMO layers; is the maximum modulation order corresponding to the jth component carrier; r max is the maximum encoding bit rate;
[0124] f (j) is the scaling factor of the jth component carrier;
[0125] is the number of RBs (Resource Blocks) allocated to the jth component carrier during the communication process. The RB may be composed of a preset plurality of consecutive subcarriers. For example, the RB is composed of 12 consecutive subcarriers.
[0126] N SC is the preset value. For example, the preset value is 12, N SC Represents the number of REs (Resource Element, subcarriers) in each RB, that is, in the frequency domain, an RB contains a preset number of REs, and each RE is a subcarrier;
[0127] is the average duration of an OFDM (Orthogonal Frequency Division Multiplexing) symbol; an OFDM symbol is the basic unit for transmitting information on a subcarrier, and can also be recorded as a frequency domain sequence. The so-called frequency domain sequence is composed of points with different components and the energy contained in the frequency point; μ is a configurable parameter in the communication process, and the relationship between μ and the subcarrier spacing Δf is: Δf = 15 × 2 μ KHz;
[0128] OH (j) is the spectrum overhead of the jth component carrier during the communication process. Specifically, refer to the value of OH in the FR1 frequency band shown in Table 1 below.
[0129] Table 1 Description of OH values in FR1 frequency band
[0130]
[0131] From the above peak rate model, we can see that in the peak rate model and r max The values are all maximum values, not actual values in the actual communication process. In order to improve the accuracy of the communication rate calculated by the electronic device during the communication process and to highlight the real-time nature of data transmission, this application obtains a rate calculation model for the electronic device based on the peak rate model.
[0132] Specifically, the rate calculation model is:
[0133]
[0134] Wherein, when calculating the communication rate of the uplink, R is the uplink communication rate; when calculating the communication rate of the downlink, R is the downlink communication rate;
[0135] J is the number of component carriers. When calculating the uplink rate, J is the number of uplink CCs. When calculating the downlink rate, J is the number of downlink CCs.
[0136] is the number of MIMO layers. When calculating the uplink rate, is the number of uplink MIMO layers. When calculating the downlink rate, is the number of downlink MIMO layers;
[0137] is the modulation order of the jth component carrier per unit time; r is the coding rate of the jth component carrier per unit time; M symbol is the number of OFDM symbols per unit time, and the unit time can be set as needed, for example, the unit time can be set to 1 second or 1 minute, etc. When calculating the uplink communication rate, the jth component carrier is the uplink component carrier on the uplink; when calculating the downlink communication rate, the jth component carrier is the downlink component carrier on the downlink. It can be recorded as the sub-transmission rate of the j-th component carrier.
[0138] Electronic devices can obtain the number of time slots per unit time during the communication process. The number of OFDM in each time slot is a fixed value. Therefore, in the communication process, the accurate M can be obtained by counting the number of time slots per unit time. symbol .
[0139] Since the rate calculation model r, M symbol , They are all variable parameters that vary with time. Therefore, the communication rate calculated using the rate calculation model is more real-time and authentic.
[0140] The following describes the process of creating the power consumption calculation model used in this application. The electronic devices currently used for 5G communications use different types of communication chips with different performances. Therefore, it is difficult to form a unified standard when determining the power consumption of electronic devices, and the existing power consumption calculation methods do not consider the impact of the number of MIMO layers and CCs on power consumption. In addition, the existing power consumption calculation methods cannot measure instantaneous power consumption. The total power consumption of the electronic device in this application is recorded as the sum of the power consumption of each hardware in the communication module. Combined with the communication status, the power consumption of the hardware under different communication states is superimposed to finally obtain the total power consumption of the electronic device. The creation of the power consumption calculation model is introduced in detail below.
[0141] The communication power consumption of electronic equipment is mainly the power consumption of the communication module in the electronic equipment hardware. Figure 2As shown, the communication module of the electronic device may include a baseband 10 (Baseband, BB), a radio frequency transceiver 11 (Radio Frequency, RF) and a radio frequency front end module (Radio Frequency Front End Module, RFFEM). Among them, the baseband 10 is mainly responsible for the operation of the communication protocol. When the uplink transmission power is low, the power consumption of the baseband 10 is the main power consumption of the communication module. The radio frequency transceiver 11 is used to process transceiver signals, and its power consumption is mainly related to the number of communication links. If there is data transmission in the uplink and downlink at the same time, the transceiver paths in the radio frequency transceiver 11 will be opened at the same time. At this time, as the amount of data transmission increases, this part of the power consumption will increase greatly. The radio frequency front end unit includes a power amplifier 13 (Power Amplifier, PA), a low noise amplifier 12 (LowNoise Amplifier, LNA), a duplexer, a filter and a switch, etc. Figure 2 Only the power amplifier 13, the low noise amplifier 12 and the duplexer are shown. The power amplifier 13 only exists in the uplink, and the low noise amplifier 12 only exists in the downlink. Among them, the power amplifier 13 is the component with the largest power consumption in the RF front-end unit.
[0142] During the operation of the electronic device, the communication process of the communication module may include an uplink communication process and / or a downlink communication process. When there is only an uplink communication process in the communication module, the power consumption of the communication module is mainly: the power consumption of the baseband, the power consumption of the RF transceiver and the power consumption of the power amplifier, wherein the power consumption of the baseband is mainly due to the power consumption generated by the encoding and modulation of the baseband, and the power consumption of the RF transceiver is mainly due to the power consumption generated by the high-frequency modulation of the RF transceiver.
[0143] When there is only an uplink communication process in the communication module, the communication power consumption of the electronic device is:
[0144] P UL =P BB +P RF +P PA ;
[0145] Among them, P UL is the power consumption value generated during the uplink communication process, P BB is the power consumption of the baseband, P RF is the power consumption of the RF transceiver, P PA is the power consumption of the power amplifier.
[0146] In addition, since there may be multiple power amplifiers in the communication link of the communication module, the power consumption value of the power amplifier is the sum of the power consumption of each power amplifier; if the power consumption of each power amplifier is equal, the power consumption value of the power amplifier is recorded as:
[0147] P PA =N PA ×P pa ;
[0148] N PA is the number of power amplifiers with power consumption (in use) in the communication link, P pa N is the power consumption value of a single power amplifier with power consumption in the communication link. PA Related to the number of uplink MIMO layers and the number of uplink CCs, for example, N corresponding to different numbers of uplink MIMO layers and CCs is preset. PA According to the number of uplink MIMO layers and CCs, we can get N PA .P pa Related to the power of the uplink transmission signal, therefore, P PA It can also be expressed as follows:
[0149] P PA =N PA (MIMO,CC)×P pa (P tx ), N PA (MIMO,CC) Characterization N PA Related to the number of uplink MIMO layers and uplink CCs, P pa (P tx ) Characterization P pa Related to the power of the uplink transmit signal.
[0150] When there is only downlink communication process in the communication module, the power consumption of the communication module is mainly: the power consumption of the baseband, the power consumption of the RF transceiver and the power consumption of the low-noise amplifier. Among them, the power consumption of the baseband is mainly due to the power consumption generated by the baseband encoding and modulation, and the power consumption of the RF transceiver is mainly due to the power consumption generated by the RF transceiver performing high-frequency demodulation.
[0151] When there is only downlink communication process in the communication module, the communication power consumption of the electronic device is: P DL =P BB +P RF +P LNA , where P DL is the power consumption value generated during the downlink communication process, P BB is the power consumption of the baseband, P RF is the power consumption of the RF transceiver, P LNA is the power consumption value of the low noise amplifier. Since there may be multiple low noise amplifiers in the communication link of the communication module, the power consumption value of the low noise amplifier is the sum of the power consumption of each low noise amplifier; if the power consumption of each low noise amplifier is equal, the power consumption value of the low noise amplifier is recorded as P LNA =N LNA×P lna , N LNA is the number of low noise amplifiers with power consumption in the communication link, P lna N is the power consumption value of a single low noise amplifier with power consumption in the communication link. LNA Related to the number of downlink MIMO layers and the number of downlink CCs, for example, N corresponding to different numbers of downlink MIMO layers and numbers of downlink CCs is preset. LNA According to the number of downlink MIMO layers and the number of downlink CCs, N can be determined by looking up the table. LNA .P lna is related to the power of the downlink received signal, so P LNA It can also be expressed as follows: LNA =N LNA (MIMO,CC)×P lna (RSRP), N LNA (MIMO,CC) Characterization N LNA Related to the number of downlink MIMO layers and CCs, P lna (RSRP) Characterization P lna Related to the power of the downlink received signal.
[0152] When the communication module includes an uplink communication process and a downlink communication process, the power consumption of the communication module includes: power consumption of the baseband, power consumption of the radio frequency transceiver, power consumption of the power amplifier and power consumption of the low noise amplifier.
[0153] When the communication module includes an uplink communication process and a downlink communication process, the communication power consumption value of the electronic device is: P DL =P BB +P RF +P PA +P LNA ;P DL It is the power consumption value generated by the electronic device during the uplink communication process and the downlink communication process.
[0154] The above introduces a method for determining the communication power consumption value of an electronic device based on the hardware of the communication module. Since the power consumption values of various hardware in the communication module of the electronic device are different under different application scenarios or different user needs, the communication power consumption values of the communication module may be different in different time periods. In actual use, the communication power consumption value of the communication module needs to be re-determined at different times.
[0155] Based on the above method for determining the communication power consumption value of the electronic device, the inventor discovered that when the electronic device is in different communication states, the power consumption of each hardware in the communication module will also be different. Therefore, based on the above method for determining the communication power consumption value by hardware, the present application also proposes a method for determining the power consumption of each hardware based on the communication state, thereby obtaining the communication power consumption value of the entire electronic device.
[0156] First of all, the communication status of electronic devices can be mainly divided into the following 6 types.
[0157] The first one is the Radio Resource Control Idle (RRC IDLE) state, which can also be called the idle state. In this state, the connection between the electronic device and the network side (base station) is generally closed, so the communication power consumption of the electronic device is relatively small. In addition, the idle state generally occurs when the electronic device is in the initial state when it is just turned on; and when the electronic device is in the end state after the long cycle timer times out under the DRX (Discontinuous Reception) mechanism. DRX refers to the electronic device stopping monitoring the Physical Downlink Control Channel (PDCCH) for a period of time.
[0158] The second type is the uplink data transmission state, which can also be called the data transmission state of the uplink shared channel (Physical Uplink Shared CHannel, PUSCH) (hereinafter referred to as PUSCH). In this state, there is a phenomenon that data is transmitted in the physical uplink shared channel in the communication physical layer of the electronic device.
[0159] The third type is the uplink no data transmission state, which can also be called the uplink control channel (Physical UplinkControl CHannel, PUCCH) data transmission state (hereinafter referred to as PUCCH). In this state, there is a phenomenon that data is transmitted in the physical uplink control channel in the communication physical layer of the electronic device. The data transmitted in the uplink control channel is generally control information, that is, before the uplink user data is transmitted, the electronic device needs to send a control instruction to the server (base station) through the uplink control channel. The electronic device can transmit the uplink user data only after receiving the response signal from the server.
[0160] The fourth type is a downlink data transmission state, which may also be referred to as a downlink shared channel (Physical Downlink Shared CHannel, PDSCH) data transmission state (hereinafter referred to as PDSCH for short). In this state, communication data is transmitted in PDSCH.
[0161] The fifth type is the downlink no data transmission state, which can also be called the data transmission state of the downlink control channel (Physical Downlink Control Channel, PDCCH) (hereinafter referred to as PDCCH). In this state, the communication data is transmitted in the PDCCH. Before the downlink user data is transmitted, the electronic device needs to send a control instruction to the server (base station) through the uplink control channel. Only after receiving the response signal from the server can the electronic device transmit the downlink user data.
[0162] The sixth type is the INACTIVE state (CDRX sleep state) in the CDRX state, CDRX (discontinuous reception state in continuous state, Connected Discontinuous Reception). In the CDRX state, the electronic device monitors the PDCCH at a specific time and does not monitor the PDCCH outside the specific time. CDRX includes two states: discontinuous reception under long cycle and discontinuous reception under short cycle. It should be noted that the existence of this state is determined according to the performance of the electronic device.
[0163] Among them, the second, third, fourth and fifth states mentioned above are all states in CDRX.
[0164] In addition, when the electronic device adopts the Time Division Duplex (TDD) mode, there is an SRS (Sounding Reference Signal) polling state during the uplink communication process. TDD achieves two-way communication by sharing the uplink and downlink links in the same frequency band. When the electronic device adopts the Frequency Division Duplex (FDD) mode, there is no SRS polling state during the uplink communication process.
[0165] For further explanation of the above communication status, please refer to Figure 3 Schematic diagram of the communication status of electronic equipment.
[0166] from Figure 3It can be seen that both PDCCH and PUCCH states belong to the time when there is no data service. At this time, after the server sends a demand signal to the electronic device, the electronic device can send a demand response signal to the server. Both PUSCH and PDSCH states belong to the data segment service time. At this time, the electronic device can send a data demand signal to the server. After the server receives the data demand signal sent by the electronic device, the server sends a data demand response to the electronic device. CDRX sleep state and RRC IDLE both belong to idle and no traffic time. At this time, there is no signal transmission between the electronic device and the server. PDCCH, PUCCH, PUSCH, PDSCH and PUSCH and PDSCH are all in RRC CONNECTED state (connected state).
[0167] Therefore, the above communication state can also be divided into sleep mode and working mode, the four states of PDCCH, PUCCH, PUSCH and PDSCH belong to the working mode, and the two states of CDRX dormant state and RRC IDLE belong to the sleep mode. In addition, the above SRS polling state also belongs to the working mode.
[0168] When the communication module is in sleep mode, there is no signal transmission between the electronic device and the server. Therefore, the communication power consumption of the electronic device in sleep mode is very low; when the communication module is in working mode, the communication module will perform encoding, decoding, modulation and demodulation, etc. Therefore, the communication power consumption of the electronic device in working mode is relatively high.
[0169] Based on the above analysis of the communication status, if the power consumption values of each hardware in the communication module in different communication states are known, combined with the duration of each communication state, the power consumption of the communication module over a period of time can be calculated, that is, the total communication power consumption of the electronic device over a period of time.
[0170] When the communication module includes an uplink communication process and a downlink communication process, the communication power consumption P of the electronic device is DL =P BB +P RF +P PA +P LNA It can be deduced that the total communication power consumption of electronic equipment within a period of time (time scale T) (the calculation model of total communication power consumption) is: E UDL =E UL +E DL =E BB +E RF +E PA +E LNA ; Among them, E UDL E is the total communication power consumption of the electronic device within the time scale T; UL is the power consumption of the uplink communication process within the time scale T; EDL is the power consumption of the downlink communication process within the time scale T; E BB is the power consumption of the baseband within the time scale T; E RF is the power consumption of the RF transceiver within the time scale T; E PA is the power consumption of the power amplifier within the time scale T; E LNA is the power consumption of the low noise amplifier within the time scale T.
[0171] Combined with the duration of each communication state,
[0172] M is the total number of communication states, is a reference measured power consumption value of the baseband in the mth communication state, is the reference measured power consumption value of the radio frequency transceiver in the mth communication state, t m is the duration of the mth communication state.
[0173] P IDLEBase It is the sum of the basic measured power consumption of the baseband and the basic measured power consumption of the RF transceiver in the RRC IDLE state; IDLE is the duration of the RRC IDLE state in the time scale T; P INACTIVEBase It is the sum of the basic measured power consumption of the baseband and the basic measured power consumption of the RF transceiver in the INACTIVE state of CDRX; INACTIVE is the duration of the INACTIVE state in CDRX within the time scale T; P PUSCHBase It is the sum of the basic measured power consumption of the baseband and the basic measured power consumption of the RF transceiver in the PUSCH state; PUSCH is the duration of the PUSCH state in the time scale T; P PUCCHBase It is the sum of the basic measured power consumption value of the baseband and the basic measured power consumption value of the RF transceiver in the PUCCH state; t PUCCH is the duration of the PUCCH state in the time scale T; P PDSCHBase It is the sum of the basic measured power consumption value of the baseband and the basic measured power consumption value of the RF transceiver in the PDSCH state; t PDSCH is the duration of the PDSCH state in the time scale T; P PDCCHBase It is the sum of the basic measured power consumption value of the baseband and the basic measured power consumption value of the RF transceiver in the PDCCH state; t PDCCH is the duration of the PDCCH state in the time scale T.
[0174] In each communication state, the basic measured power consumption values of the baseband and the basic measured power consumption values of the RF transceiver can be measured in advance. Therefore, in the subsequent use of EBB +E RF When calculating the power consumption values of the baseband and the radio frequency transceiver within a certain period of time, the basic measured power consumption values in each communication state and the basic measured power consumption values of the radio frequency transceiver are both pre-set fixed values.
[0175] It should be noted that if the RRC IDLE and INACTIVE states are not configured in the electronic device, then t IDLE and t INACTIVE Just take 0.
[0176] For the power amplifier power consumption in time scale T:
[0177]
[0178] Where M is the total number of communication states, t m is the duration of the mth communication state, G is the total number of power amplifiers, is the average power consumption of the g-th power amplifier in the m-th communication state (it can also be recorded as the average power consumption or the first power consumption average value).
[0179] When the electronic device adopts TDD mode, the communication module is in SRS polling state. is the power consumption of the power amplifier in the TDD mode within the time scale T; P PUSCH_PA is the sum of the average power consumption of each power amplifier in use in the PUSCH state within the time scale T; t PUSCH is the duration of the PUSCH state in the time scale T; P PUCCH_PA is the sum of the average power consumption of each power amplifier in use in the PUCCH state within the time scale T; t PUCCH is the duration of the PUCCH state in the time scale T; P SRS_PA is the sum of the average power consumption of each power amplifier in use in the SRS polling state within the time scale T; t SRS is the duration of the SRS state in the time scale T. The power amplifier in use is determined by looking up the table according to the number of uplink MIMO layers and the number of uplink CCs. The present application takes the SRS polling state into consideration when calculating the power consumption, so that the calculated power consumption value is more accurate.
[0180] When the electronic device adopts FDD mode, the communication module does not have SRS polling state, so
[0181] In addition, since there may be multiple power amplifiers, if the power consumption of each power amplifier is the same, P PUSCH_PA =NPA ×P PUSCH_pa平均 , N PA is the number of power amplifiers determined according to the number of uplink MIMO layers and the number of uplink CCs; P PUSCH_pa平均 is the average power consumption of a single power amplifier in the PUSCH state in the time scale T (the first power consumption average value). If the average power consumption of each power amplifier in the PUSCH state in the time scale T is different, then P PUSCH_PA is the sum of the average power consumption of each power amplifier.
[0182] P PUCCH_PA =N PA ×P PUCCH_pa平均 ;P PUCCH_pa平均 is the average power consumption of a single power amplifier in the PUCCH state in the time scale T (the first power consumption average value). If the average power consumption of each power amplifier in the PUCCH state in the time scale T is different, then P PUCCH_PA is the sum of the average power consumption of each power amplifier.
[0183] P SRS_PA =N PA ×P SRS_pa平均 ;P SRS_pa平均 is the average power consumption of a single power amplifier in the SRS polling state in the time scale T. If the average power consumption of each power amplifier in the time scale T is different in the SRS polling state, then P SRS_PA is the sum of the average power consumption of each power amplifier.
[0184] In the above, the average power consumption (first power consumption average value) of the power amplifier in the time scale T under different communication states is determined based on the real-time uplink transmission power of the communication module at each time point in the communication state. Specifically, for a power amplifier, the average value of each real-time uplink transmission power corresponding to the power amplifier is calculated to obtain the average uplink transmission power corresponding to the power amplifier, and a corresponding table of uplink transmission power and power consumption values under different communication states is pre-set. After obtaining the average uplink transmission power, the average power consumption of a single power amplifier is determined by looking up the table. Alternatively, for a power amplifier, the power consumption value corresponding to each real-time uplink transmission power of the power amplifier is found to obtain the real-time power consumption corresponding to the power amplifier, and the average value of each real-time power consumption is calculated to obtain the first power consumption average value (average power consumption) of the power amplifier.
[0185] For the power consumption of the low noise amplifier in the time scale T:
[0186]
[0187] Where M is the total number of communication states, W is the total number of low noise amplifiers, is the average power consumption of the w-th low noise amplifier in the m-th communication state (it can also be recorded as the average power consumption or the second power consumption average value).
[0188] P PDSCH_LNA is the sum of the average power consumption (second average power consumption) of each low noise amplifier in use in the PDSCH state within the time scale T; t PDSCH is the duration of the PDSCH state in the time scale T; P PDCCH_LNA is the sum of the average power consumption (second average power consumption) of each low noise amplifier in use in the PDCCH state within the time scale T; t PDCCH is the duration of the PDCCH state in the time scale T. The low noise amplifier in use is determined by looking up the table according to the number of downlink MIMO layers and the number of downlink CCs.
[0189] In addition, since there may be multiple low noise amplifiers, P PDSCH_LNA =N LNA ×P PDSCH_lna平均 , N LNA is the number of low noise amplifiers determined according to the number of downlink MIMO layers and the number of downlink CCs; P PDSCH_lna平均 is the average power consumption of a single low noise amplifier in the time scale T in the PDSCH state (the second average power consumption). If the average power consumption of each low noise amplifier in the time scale T in the PDSCH state is different, then P PDSCH_LNA It is the sum of the average power consumption (second average power consumption) of each power amplifier.
[0190] P PDCCH_LNA =N LNA ×P PDCCH_lna平均 ;P PDCCH_lna平均 is the average power consumption of a single low noise amplifier in the time scale T in the PDCCH state (the second average power consumption). If the average power consumption of each low noise amplifier in the time scale T in the PDCCH state is different, then P PDCCH_LNA It is the sum of the average power consumption (second average power consumption) of each power amplifier.
[0191] Among them, the average power consumption (second power consumption average value) of the low noise amplifier in the time scale T under different communication states is the power consumption value corresponding to the average downlink received power of the real-time downlink received power of the low noise amplifier. The average power consumption of the low noise amplifier can be determined by the real-time downlink received power of the communication module (the power of receiving the downlink signal). Specifically, a corresponding table of downlink received power and power consumption values under different communication states is pre-set. For a low noise amplifier, the average value of each real-time downlink received power corresponding to the low noise amplifier is calculated to obtain the average downlink received power of the low noise amplifier, and the sum of the power consumption values corresponding to the average downlink received power is found to obtain the average power consumption of a single low noise amplifier. Alternatively, for a low noise amplifier, the power consumption value corresponding to each real-time downlink received power of the low noise amplifier is found to obtain the real-time power consumption corresponding to the low noise amplifier, and the average value of each real-time power consumption is calculated to obtain the second power consumption average value (average power consumption) of the low noise amplifier.
[0192] If there is only uplink communication process in the electronic device, then E LNA is 0. If there is only downlink communication in the electronic device, then E PA is 0.
[0193] Therefore, the total communication power consumption calculation model is:
[0194]
[0195] The above introduces the relationship between the total communication power consumption and the communication status of the electronic device. Since the change of the total communication power consumption at different times is relatively gentle, when the difference between two time values is small, the total communication power consumption of the electronic device will not change very drastically. Therefore, the average power consumption within the time scale T can be used to characterize the instantaneous communication power consumption of the electronic device. Therefore, the power consumption calculation model of the present application calculates the instantaneous communication power consumption of the electronic device, and the communication power consumption value of the electronic device used in the present application is the instantaneous communication power consumption.
[0196] Since the power consumption calculation model calculates the instantaneous communication power consumption, and the instantaneous communication power consumption is the ratio of the total communication power consumption of the electronic device to the time scale T, the power consumption calculation model is:
[0197]
[0198] Where P is the instantaneous communication power consumption of the electronic device; E is the total communication power consumption of the electronic device within the time scale T; E IDLE is the power consumption of the communication module in the RRC IDLE state within the time scale T; E CDRX is the power consumption of the communication module in the CDRX state within the time scale T; E ULD is the power consumption of the communication module in the PUSCH state within the time scale T; EULND is the power consumption of the communication module in the PUCCH state within the time scale T; E ULD is the power consumption of the communication module in the PDSCH state within the time scale T; E ULND is the power consumption of the communication module in the PDCCH state within the time scale T; E SRS is the power consumption of the communication module in the SRS polling state within the time scale T.
[0199] Based on the above-determined rate calculation model and power consumption calculation model, the following introduces the process of configuring the parameters of the electronic device in the present application.
[0200] In one embodiment, before the electronic device performs a parameter configuration process, the electronic device can determine different combinations of MIMO layers and CC numbers based on the total number of MIMO layers and the total number of CCs available in the preset electronic device, wherein each combination of MIMO layers and CC numbers is hereinafter referred to as a communication capability parameter (or a communication capability parameter combination), and the sum of all communication capability parameters is referred to as a communication capability parameter set. The total number of MIMO layers can be determined based on the number of antennas set in the electronic device, and the total number of MIMO layers is less than or equal to the number of antennas. For example, if 4 antennas are provided in the electronic device, the total number of MIMO layers can be 4 or 3, etc. Both the total number of MIMO layers and the total number of CCs can be set in advance. The number of MIMO layers in a communication capability parameter includes the number of uplink MIMO layers and the number of downlink MIMO layers, and the number of CCs includes the number of uplink CCs and the number of downlink CCs.
[0201] As an example, if the total number of MIMO layers is 4 and the total number of CCs is 3, multiple communication capability parameters can be obtained, such as: Combination 1: the number of uplink MIMO layers is 2, and the number of downlink MIMO layers is 3; the number of uplink CCs is 2, and the number of downlink CCs is 3; Combination 2: the number of uplink MIMO layers is 3, and the number of downlink MIMO layers is 4; the number of uplink CCs is 2, and the number of downlink CCs is 3, etc.
[0202] In practical applications, if restrictions are placed on the number of MIMO layers and CCs, for example, the number of uplink MIMO layers cannot be greater than 2, the communication capability parameters need to be determined based on the restrictions.
[0203] If the number of uplink MIMO layers does not need to be configured, the number of uplink MIMO layers can be a fixed value, for example, combination 1: the number of uplink MIMO layers is 2, the number of downlink MIMO layers is 3; the number of uplink CCs is 2, the number of downlink CCs is 3; combination 2: the number of uplink MIMO layers is 2, the number of downlink MIMO layers is 4; the number of uplink CCs is 2, the number of downlink CCs is 3, etc.
[0204] If the number of uplink CCs does not need to be configured, the number of uplink CCs can be a fixed value. The same is true for the number of downlink MIMO layers and the number of downlink CCs.
[0205] In addition, in actual use, the number of downlink MIMO layers is greater than or equal to the number of uplink MIMO layers, and the number of downlink CCs is greater than or equal to the number of uplink CCs.
[0206] In another embodiment, each group of communication capability parameters may also be pre-set in the electronic device, and the electronic device does not need to re-determine each group of communication capability parameters according to the total number of MIMO layers and the total number of CCs.
[0207] In order to make the communication rate of the electronic device meet the equipment requirements and at the same time minimize the power consumption of the electronic device, when determining the optimal communication capability parameters, it is necessary to calculate the communication rate and communication power consumption value (instantaneous communication power consumption) of the electronic device when it is in each group of communication capability parameters, and determine the optimal communication capability parameters (second communication capability parameters) from each group of communication capability parameters according to the communication rate and communication power consumption value corresponding to each group of communication capability parameters. The communication rate can specifically refer to the physical layer transmission rate of the electronic device. The communication rate calculated using the optimal communication capability parameters is greater than the preset rate threshold, and the communication capability parameters whose communication rate is greater than the preset rate threshold are candidate communication capability parameters (first communication capability parameters), and the communication power consumption value calculated using the optimal communication capability parameters is the minimum value of the communication power consumption values calculated using the candidate communication capability parameters. The optimal communication capability parameters are determined from the candidate communication capability parameters.
[0208] As an embodiment of the present application, please refer to the process of configuring the communication parameters of the electronic device. Figure 4 The process diagram is shown.
[0209] S101, when configuring communication parameters, the electronic device obtains (traverses) the first (first group) communication capability parameter A1.
[0210] The first communication capability parameter A1 may be any one of all communication capability parameters. The first communication capability parameter A1 includes the number of MIMO layers Q1 and the number of CCs D1. The number of MIMO layers Q1 includes the number of uplink MIMO layers a1 and the number of downlink MIMO layers a2. The number of CCs D1 includes the number of uplink CCs b1 and the number of downlink CCs b2.
[0211] S102, the electronic device calculates, based on the first communication capability parameter A1, a communication rate R1 when the electronic device is configured with the first communication capability parameter A1.
[0212] Specifically, the communication rate in the present application may include an uplink communication rate and a downlink communication rate. When there is no need to configure the uplink MIMO layer number and the uplink CC number, the present application only needs to calculate the downlink communication rate, and does not need to calculate the uplink communication rate. Therefore, the communication rate only includes the downlink communication rate. In addition, since the communication capability of the downlink in the electronic device is much greater than the communication capability of the uplink, the present application can only calculate the downlink communication rate when calculating the communication rate, and the uplink communication rate can be ignored. For ease of explanation, the embodiments in the present application all use the communication rate including the uplink communication rate and the downlink communication rate for explanation, therefore, the communication rate R1 includes the uplink communication rate and the downlink communication rate.
[0213] The electronic device calculates the communication rate R1 according to the first communication capability parameter A1 and the rate calculation model.
[0214] From the above rate calculation model, we can know that the rate calculation model middle r. and M symbol It is a variable parameter, and its corresponding value is different at different times; OH j 、N SC It is a non-variable parameter, which is fixed and will not change with time; therefore, before using the rate calculation model, it is necessary to determine the value of the variable parameter in the rate calculation model, that is, it is necessary to determine r. and M symbol Value, input the value of the variable parameter to the rate calculation model. is the sub-transmission rate of the j-th component carrier.
[0215] In one example, step S102 may include:
[0216] Obtaining the modulation order of each component carrier per unit time, the coding rate of each component carrier per unit time, the number of orthogonal frequency division multiplexing symbols per unit time, and the number of resource blocks allocated to each component carrier during the communication process in the electronic device;
[0217] Based on the modulation order of each component carrier per unit time, the coding rate of each component carrier per unit time, the number of orthogonal frequency division multiplexing symbols per unit time, the number of resource blocks allocated to each component carrier during the communication process and the first communication capability parameter A1, calculate the communication rate R1 of the electronic device when it is the first communication capability parameter A1.
[0218] Specifically, the modulation order of each component carrier per unit time, the coding rate of each component carrier per unit time, the number of orthogonal frequency division multiplexing symbols per unit time, the number of resource blocks allocated to each component carrier during the communication process and the first communication capability parameter A1 are input into the rate calculation model to obtain the communication rate R1.
[0219] In another example, before step S102 or before step S101, or in step S102, a rate calculation model is first determined, and the process of determining the rate calculation model may include:
[0220] S201, obtaining the modulation order of each component carrier within a unit time The coding rate of each component carrier per unit time (r), the number of OFDM symbols per unit time (M symbol ) and the number of RBs allocated to each component carrier during the communication process
[0221] r. and M symbol Both can be determined based on the previous communication status of the electronic device.
[0222] S202, the modulation order of each component carrier per unit time The coding rate per unit time (r), the number of OFDM symbols per unit time (M symbol ) and the number of RBs allocated to each component carrier during the communication process Input into the preset rate calculation model to obtain the required rate calculation model.
[0223] After obtaining the rate calculation model, the first communication capability parameter A1 is input into the rate calculation model, and the number of component carriers to be used (that is, the number of sub-transmission rates to be added) is determined according to the number of CCs in the first communication capability parameter A1, and unnecessary component carriers can be discarded; the sub-transmission rate is calculated according to the number of MIMO layers in the first communication capability parameter A1, and then the communication rate R1 is determined.
[0224] It should be noted that when calculating the uplink communication rate, the modulation order of each uplink component carrier per unit time corresponding to the uplink is The coding rate per unit time (r), the number of OFDM symbols per unit time (M symbol ) and the number of RBs allocated to each uplink component carrier during the communication process The input is input into the preset rate calculation model to calculate the uplink communication rate. When calculating the downlink communication rate, the modulation order of each downlink component carrier in the unit time corresponding to the downlink is calculated. The coding rate per unit time (r), the number of OFDM symbols per unit time (M symbol ) and the number of RBs allocated to each downlink component carrier during the communication process Input into the preset rate calculation model to calculate the downlink communication rate.
[0225] S103, determining whether the communication rate R1 of the electronic device meets a preset requirement.
[0226] In this embodiment, if the communication rate R1 includes an uplink rate and a downlink rate, it is necessary to separately determine whether the uplink rate is greater than or equal to (greater than) the uplink rate threshold, and whether the downlink rate is greater than or equal to (greater than) the downlink rate threshold. Therefore, the preset requirements include that the uplink rate is greater than or equal to the uplink rate threshold, and the downlink rate is greater than or equal to the downlink rate threshold.
[0227] If the communication rate R1 is only the downlink communication rate, it is only necessary to determine whether the downlink rate is greater than or equal to the downlink rate threshold. At this time, the preset requirement includes that the downlink rate is greater than or equal to the downlink rate threshold.
[0228] In one example, the uplink rate threshold may be a preset fixed value, which can be used in any service scenario. The downlink rate threshold may be a preset fixed value, which can be used in any service scenario.
[0229] In another example, in order to make the uplink rate threshold and the downlink rate threshold more accurate, and also to make the optimal communication capability parameter finally determined more accurate, the uplink rate threshold and the downlink rate threshold can also be determined according to the business scenario currently executed by the electronic device. Specifically, the uplink rate threshold and the downlink rate threshold corresponding to different business scenarios are pre-set in the electronic device. When the uplink rate threshold and the downlink rate threshold are needed, the rate threshold corresponding to the current business scenario can be found, wherein the rate threshold corresponding to each business scenario can be set according to the actual situation, for example, refer to the factors and downlink rate thresholds corresponding to different business scenarios shown in Table 2 below.
[0230] Table 2 Correspondence between different business scenarios, factors and downlink rate thresholds
[0231]
[0232] S104, when the calculated communication rate R1 meets the preset requirement, the electronic device calculates the communication power consumption value P1 of the electronic device when the first communication capability parameter A1 is used based on the first communication capability parameter A1.
[0233] In this embodiment, when the calculated communication rate R1 meets the preset requirement, the first communication capability parameter A1 is the first communication capability parameter.
[0234] If the communication rate R1 includes an uplink communication rate and a downlink communication rate, when the uplink communication rate is greater than or equal to the uplink rate threshold and the downlink communication rate is greater than or equal to the downlink rate threshold, the electronic device calculates the communication power consumption value P1 when the electronic device is configured as the first communication capability parameter A1 based on the first communication capability parameter A1.
[0235] According to the above power consumption calculation model It can be seen that there are parameters in the power consumption calculation model that change with time, such as the duration of each communication state in the electronic device, the average power consumption of each power amplifier in each communication state (first power consumption average value), and the average power consumption of each low noise amplifier in each communication state (second power consumption average value).
[0236] In an example, step S104 may specifically include:
[0237] Obtaining the duration of each communication state of the electronic device within a preset time length (time scale T), the real-time uplink transmission power of each power amplifier in each communication state, the real-time downlink receiving power of each low noise amplifier in each communication state, the preset baseband reference measurement power consumption value in each communication state, and the preset radio frequency transceiver basic measurement power consumption in each communication state;
[0238] Based on the duration of each of the communication states, the real-time uplink transmission power of each power amplifier in each of the communication states, the real-time downlink receiving power of each low noise amplifier in each of the communication states, the benchmark measured power consumption value of the baseband in each communication state, the basic measured power consumption of the RF transceiver in each communication state and the first communication capability parameter A1, calculate the communication power consumption value P1 when the electronic device is configured with the first communication capability parameter A1.
[0239] Specifically, based on the real-time uplink transmit power of each power amplifier in each communication state, the average uplink transmit power of the power amplifier is calculated, and the power consumption value corresponding to the average uplink transmit power is determined by table lookup to obtain the first average power consumption value of each power amplifier in the communication state, and the power consumption value corresponding to the average uplink transmit power is the first average power consumption value. Alternatively, the real-time power consumption corresponding to each real-time uplink transmit power is determined by table lookup; the average value of the real-time power consumption of each power amplifier in each communication state is calculated to obtain the first average power consumption value of each power amplifier in each communication state.
[0240] Based on the real-time downlink received power of each low-noise amplifier in each communication state, the average downlink received power of the low-noise amplifier is calculated, and the power consumption value corresponding to the average downlink received power is determined by table lookup to obtain the second average power consumption value of each low-noise amplifier in the communication state, and the power consumption value corresponding to the average downlink received power is the second average power consumption value. Alternatively, the real-time power consumption corresponding to each real-time downlink received power is determined by table lookup; the average real-time power consumption of each low-noise amplifier in each communication state is calculated to obtain the second average power consumption value of each low-noise amplifier in each communication state.
[0241] The duration of each communication state, the reference measured power consumption value of the baseband in each communication state, the basic measured power consumption of the RF transceiver in each communication state, the first communication capability parameter A1, the first power consumption average value of each power amplifier in each communication state, and the second power consumption average value of each low noise amplifier in each communication state are input into the power consumption calculation model to obtain the communication power consumption value P1. Among them, the uplink MIMO layer number a1 and the uplink CC number b1 in the first communication capability parameter A1 are used to determine the power amplifier required when the electronic device is configured as the first communication capability parameter A1, and the downlink MIMO layer number a2 and the downlink CC number b2 in the first communication capability parameter A1 are used to determine the low noise amplifier required when the electronic device is configured as the first communication capability parameter A1.
[0242] In another example, before step S104 or during step S104, a process of determining a power consumption calculation model may also be included.
[0243] Specifically, the method for determining the power consumption calculation model includes:
[0244] S301, obtaining the duration of each communication state of the communication module within a preset time length, the real-time uplink transmission power in each communication state, and the real-time downlink receiving power in each communication state.
[0245] In this embodiment, the preset time length can be set as needed, for example, the preset time length can be 1 minute or 2 minutes.
[0246] Each communication state is the above six communication states. Of course, when the electronic device is in the TDD mode, it is also necessary to obtain the duration of the SRS polling state.
[0247] After determining the duration of each communication state, the real-time uplink transmit power in each communication state, and the real-time downlink receive power in each communication state, the communication power consumption value of the electronic device when it is configured with the communication capability parameter is calculated based on the duration of each communication state, the real-time uplink transmit power in each communication state, the real-time downlink receive power in each communication state, and the communication capability parameter.
[0248] S302, for each communication state, based on the real-time uplink transmit power of each power amplifier in the communication state, calculate the average value of the real-time uplink transmit power of each power amplifier to obtain the average uplink transmit power of each power amplifier, find the power consumption value corresponding to each average uplink transmit power, and obtain the average power consumption of each power amplifier in the communication state (first power consumption average value).
[0249] The corresponding relationship between different uplink transmission powers and power consumption values of the power amplifier is preset.
[0250] S303, for each communication state, based on the real-time downlink received power of each low noise amplifier in the communication state, calculate the average value of the real-time downlink received power of each low noise amplifier to obtain the average downlink received power of each low noise amplifier, find the power consumption value corresponding to each average downlink received power, and obtain the average power consumption of each low noise amplifier in the communication state (the second power consumption average value).
[0251] The corresponding relationships between different real-time downlink receiving powers and real-time power consumption of the low noise amplifier are preset.
[0252] S304, inputting the duration of each communication state, the average power consumption of each power amplifier in each communication state, and the average power consumption of each low noise amplifier in each communication state into a preset power consumption calculation model to obtain a power consumption calculation model.
[0253] After the power consumption calculation model is determined, the first communication capability parameter A1 is input into the determined power consumption calculation model to obtain a communication power consumption value P1.
[0254] In the embodiment of the present application, since the true values of various variable parameters are determined and input into the power consumption calculation model, the communication power consumption value calculated using the power consumption calculation model is more consistent with the working state of the electronic device corresponding to the currently input communication capability parameter.
[0255] In an example, step S302 may also be: for each power amplifier in each communication state, select L real-time uplink transmit powers corresponding to each power amplifier in the communication state within a preset time length, find the real-time power consumption of the power amplifier corresponding to the L real-time uplink transmit powers, and calculate the third average value of each real-time power consumption corresponding to each power amplifier, and record the third average value as the average power consumption of the power amplifier in the communication state. L is a natural number greater than or equal to 1.
[0256] As an example, when the communication state is PUCCH, 6 real-time uplink transmit powers of power amplifier c are collected, and 3 real-time uplink transmit powers are selected from the 6 real-time uplink transmit powers. The real-time power consumption of the power amplifiers corresponding to the selected 3 real-time uplink transmit powers are found to obtain the real-time power consumption of the 3 power amplifiers. The average value of the 3 real-time power consumptions is calculated and recorded as the third average value. The third average value is recorded as the average power consumption of the power amplifier c in the PUCCH state.
[0257] In one example, step S303 may also be: for each low noise amplifier in each communication state, select X real-time downlink received powers corresponding to each low noise amplifier in the communication state within a preset time length, find the real-time power consumption of the low noise amplifier corresponding to the X real-time downlink received powers, and calculate the fourth average value of each real-time power consumption corresponding to each low noise amplifier, and record the fourth average value as the average power consumption of the low noise amplifier in the communication state. X is a natural number greater than or equal to 1. The values of L and X may be the same or different.
[0258] S105, the electronic device saves the communication power consumption value P1 and the first communication capability parameter A1, wherein the communication power consumption value P1 is recorded as the target minimum power consumption value P1 of the electronic device. min , the number of MIMO layers Q1 in the first communication capability parameter A1 is recorded as the optimal number of MIMO layers N op , the number of CCs D1 in the first communication capability parameter A1 is recorded as the optimal number of CCs M op .
[0259] N op and M op is the current optimal communication capability parameter.
[0260] As an example, the electronic device pre-stores a preset target minimum power consumption value P min , optimal number of MIMO layers N op and the optimal CC number M op After obtaining the communication power consumption value P1, assign the communication power consumption value P1 to P min , assign the number of MIMO layers Q1 in the first communication capability parameter A1 to N op , assign the CC number D1 in the first communication capability parameter A1 to M op .
[0261] In an achievable embodiment, after step S103, if the calculated communication rate R1 of the electronic device does not meet the preset requirement, the following step S106 is executed, at which the target minimum power consumption value P min is the preset power consumption value, the optimal number of MIMO layers N op is the preset number of MIMO layers, the optimal number of CCs Mop The preset CC number.
[0262] Specifically, if the communication rate includes an uplink communication rate and a downlink communication rate, when the uplink communication rate is less than the uplink rate threshold, and / or the downlink communication rate is less than the downlink rate threshold, the communication rate does not meet the preset requirements, and the following step S106 is executed.
[0263] If the communication rate only includes the downlink communication rate, when the downlink communication rate is less than the downlink rate threshold, the communication rate does not meet the preset requirement, and the following step S106 is executed.
[0264] S106: The electronic device obtains a second communication capability parameter A2.
[0265] The second communication capability parameter A2 is a communication capability parameter different from the first communication capability parameter A1. The second communication capability parameter A2 includes the number of MIMO layers Q2 and the number of CCs D2. The number of MIMO layers Q2 includes the number of uplink MIMO layers a3 and the number of downlink MIMO layers a4. The number of CCs D2 includes the number of uplink CCs b3 and the number of downlink CCs b4.
[0266] S107, the electronic device calculates, according to the second communication capability parameter A2, a communication rate R2 when the electronic device is configured with the second communication capability parameter A2.
[0267] In this embodiment, since the calculation speed of the electronic device is very fast, the working state of the communication module can be regarded as unchanged within a cycle (which can also be recorded as a parameter configuration process). One cycle is that the electronic device needs to traverse all the determined communication capability parameters once, and use each communication capability parameter to determine the optimal communication capability parameter once. For example, there are 12 communication capability parameters in the electronic device, then the electronic device needs to traverse 12 communication capability parameters in this parameter configuration process, and use the 12 communication capability parameters to determine the optimal communication capability parameters 12 times. After the traversal of the 12 communication capability parameters is completed, the parameter configuration process is completed. In addition, within a cycle, the process of the electronic device using each communication capability parameter to calculate can be regarded as a sub-cycle within this cycle. For example, the above steps S101 to S105 are a sub-cycle. Therefore, the variable parameter ( and M symbol ) and the variable parameters used in the above step S102 can be the same.
[0268] Specifically, the method for calculating the communication rate R2 is the same as the method for calculating the communication rate R1 described above. Please refer to the description of the above step S102, which will not be repeated here.
[0269] It should be noted that if the rate calculation model has been determined before or in the above-mentioned step S102, the above-mentioned rate calculation model can be directly used in step S107. The difference between step S107 and step S102 is that the component carriers used in the rate calculation model are different (due to the different number of CCs, the component carriers are different) and the number of MIMO layers are different.
[0270] S108, determining whether the communication rate R2 meets the preset requirement.
[0271] In one embodiment, if the communication rate R2 does not meet the preset requirement, the following step S113 is executed.
[0272] S109, when the communication rate R2 meets the preset requirement, the electronic device calculates the communication power consumption value P2 when the electronic device is configured with the second communication capability parameter A2 based on the second communication capability parameter A2.
[0273] In this embodiment, when the communication rate R2 meets the preset requirement, the second communication capability parameter is recorded as the first communication capability parameter.
[0274] The calculation method of the communication power consumption value P2 is the same as the calculation method of the communication power consumption value P1. Please refer to the description of the communication power consumption value P1.
[0275] In addition, if the power consumption calculation model is determined in the above step S104, the power consumption calculation model can be directly used in step S109. The difference between step S104 and step S109 is that the power amplifier and low noise amplifier used are different (due to different communication capability parameters).
[0276] S110, determine whether the communication power consumption value P2 is less than the target minimum power consumption value P min .
[0277] If the electronic device executes the above step S105, the target minimum power consumption value P used in step S110 is min is the communication power consumption value P1. If the electronic device does not perform the above step S105, the target minimum power consumption value P used in step S110 is min is the preset power consumption value.
[0278] S111, if the communication power consumption value P2 is less than the target minimum power consumption value P min , the target minimum power consumption value P min Update to the communication power consumption value P2, and set the optimal MIMO layer number N op Update to the number of MIMO layers Q2 in the second communication capability parameter, and set the optimal CC number M opUpdated to the CC number D2 in the second communication capability parameter.
[0279] Specifically, the communication power consumption value P2 is used to replace the target minimum power consumption value P determined at the end of the previous sub-cycle. min , replace the optimal MIMO layer number N determined at the end of the previous sub-cycle with the MIMO layer number Q2 op , replace the optimal CC number M determined at the end of the previous sub-cycle with the CC number D2 op .
[0280] S112, if the communication power consumption value P2 is greater than or equal to the target minimum power consumption value P min , then the communication power consumption value P2 and the second communication capability parameter A2 are discarded. At this time, the target minimum power consumption value P min , optimal number of MIMO layers N op , optimal CC number M op All remain unchanged.
[0281] S113, the electronic device determines whether there are other communication capability parameters.
[0282] S114, if there are no other communication capability parameters in the electronic device, the electronic device configures the number of uplink MIMO layers according to the number of uplink MIMO layers in the final optimal number of MIMO layers, and configures the number of downlink MIMO layers using the number of downlink MIMO layers in the optimal number of MIMO layers; the electronic device configures the number of uplink CCs according to the number of uplink CCs in the optimal number of CCs, and configures the number of downlink CCs according to the number of downlink CCs in the optimal number of CCs.
[0283] In this embodiment, the other communication capability parameters are communication capability parameters other than the first communication capability parameter and the second communication capability parameter.
[0284] There are no other communication capability parameters in the electronic device. If the communication power consumption value P2 is less than the target minimum power consumption value P min , then the second communication capability parameter is recorded as the second communication capability parameter (the final optimal communication capability parameter).
[0285] In one example, an electronic device sends a first message including a target optimal number of MIMO layers and a target optimal number of CCs to a network side (base station). After receiving the first message, the network side sends an adjustment instruction to the electronic device; after receiving the adjustment instruction sent by the network side, the electronic device configures the uplink and downlink MIMO layers and the uplink and downlink CC numbers.
[0286] For example, according to Section 5.7.4 of the 3GPP TS 38.331 protocol, the number of uplink and downlink MIMO layers and the number of uplink and downlink CCs are adjusted through UE assistance information (UE Assistance Information, UAI).
[0287] Specifically, if the network side (base station) supports UAI, the electronic device can set the target optimal number of MIMO layers in the UAI and send the UAI to the network side. After receiving the UAI, the network side sends an adjustment instruction to the electronic device so that the electronic device adjusts the uplink MIMO layers and the downlink MIMO layers. The UE auxiliary information may include various internal states of the electronic device so that the network side can schedule resources to better match the specific state of the electronic device, thereby helping the electronic device save power. Alternatively, the electronic device includes the uplink MIMO optimal value and downlink MIMO optimal value of the FR1 frequency band (reduced Max MIMO-Layers FR1) and the uplink MIMO optimal value and downlink MIMO optimal value of the FR2 frequency band (reduced Max MIMO-Layers FR2) in the max MIMO-Layer Preference (maximum MIMO layer preference) in the UAI.
[0288] Specifically, the electronic device can set reduced Max CCs (number of CCs) in Overheating Assistance (overheating assistance information) or powersaving (power saving information) in UAI, and set reduced CCs DL (number of downlink CCs) and reduced CCs UL (number of uplink CCs) in reduced Max CCs.
[0289] In another example, if the network side (base station) does not support UAI, the electronic device can automatically and forcibly adjust the number of uplink and downlink MIMO layers and the number of uplink and downlink CCs.
[0290] Method 1: trigger capability adjustment through MRU (Mobility Registration Update), which is slower than UAI adjustment. The specific implementation process is: the electronic device sends a registration request (Registration request Message) to the network side (base station), and the registration type of the registration request is MRU; after receiving the registration request, the electronic device sends its own capability query information to the network side. Based on Section 6.3 of 3GPP TS 38.331, the electronic device sends UE capability information (electronic device capability information) to the network side to inform the network side of the functions supported by the electronic device. After receiving the UE capability information, the network side sends information to the electronic device based on the electronic device capability information. The Phy-Parameters (physical layer parameters) of the UE capability information include max Layers MIMO-Indication (optimal number of MIMO layers) / max Layers MIMO-Adaptation-r16 (optimal MIMO layer adaptation), and the Pow Sav-Parameters (power communication parameters) of the UE capability information include max CC-Preference-r16 (target optimal number of CCs).
[0291] Method 2: The electronic device directly turns off the signal transmission capability of the receiving antenna and / or transmitting antenna to adjust the number of MIMO layers; the Scell (Secondary Cell) is turned off to adjust the number of CCs. After adjusting the number of MIMO layers and CCs using this method, the bit error rate of the electronic device will increase. In order to reduce the bit error rate, you can follow the following methods: 1) Report a false measurement event (notify the network side of a certain SCC (serial communication controller) signal difference) to let the network delete the SCC; 2) Report a false CQI (channel quality indicator) to trigger the network to lower the number of MIMO layers.
[0292] In the embodiment of the present application, the electronic device determines the rate calculation model according to the real-time state parameters of the electronic device, and the rate calculation model can be used to calculate the real-time communication rate of the electronic device; the power consumption calculation model is determined according to the real-time state parameters of the electronic device, and the power consumption calculation model can be used to calculate the real-time communication power consumption value of the electronic device. The present application uses the communication power consumption value and communication rate of the electronic device under different MIMO layers and CC numbers to determine the optimal MIMO layers and the optimal CC number when the rate transmission expectation is met and the power consumption is minimized, and finally the uplink MIMO layers and downlink MIMO layers of the electronic device are configured using the optimal MIMO layers, and the uplink CC number and downlink CC number of the electronic device are configured using the optimal CC number. The present application realizes the function of automatically configuring the parameters of the electronic device in different application scenarios, so that the final electronic device reduces the power consumption of the electronic device when the transmission rate meets the rate transmission expectation, achieves the energy-saving effect, meets the needs of the user, and realizes the compromise optimization of the power consumption and performance of the electronic device. The present application can configure the communication capability parameters when the communication scenario changes, so that the electronic device can automatically adjust the traffic capability parameters as the communication scenario changes, so as to achieve the purpose of reducing power consumption.
[0293] In another implementation, after executing S113, if it is determined that there are other communication capability parameters (for example, the third communication capability parameter, the fourth communication capability parameter...), it is necessary to continue to execute the above steps S106 to S113 until all communication capability parameters are traversed. At this time, the current cycle is completed and step S114 is executed. Specifically, after the electronic device traverses all communication capability parameters, the optimal number of MIMO layers and the optimal number of CCs determined in the last sub-cycle are used as the optimal communication capability parameters (second communication capability parameters), and the parameters of the electronic device are configured according to the optimal number of MIMO layers and the optimal number of CCs determined in the last sub-cycle.
[0294] As an example, if there are 9 communication capability parameters, the optimal MIMO layer number obtained after executing the above steps S106 to S113 using the ninth communication capability parameter is MIMO layer number Q7, and the optimal CC number obtained is CC number D7. MIMO layer number Q7 and CC number D7 are used for parameter configuration.
[0295] As an embodiment of the present application, the parameter configuration method of the above electronic device may further include:
[0296] Execute the above steps S101 to S102.
[0297] The electronic device obtains, according to the first communication capability parameter A1, a communication power consumption value P1 when the electronic device is configured with the first communication capability parameter A1.
[0298] It is determined whether the communication rate R1 of the electronic device meets the preset requirement.
[0299] When the calculated communication rate R1 meets the preset requirement, the first communication capability parameter is recorded as the first communication capability parameter, and the above steps S105 to S107 are executed.
[0300] The electronic device obtains, according to the second communication capability parameter A2, a communication power consumption value P2 when the electronic device is configured with the second communication capability parameter A2.
[0301] Determine whether the communication rate R2 meets the preset requirement.
[0302] Determine whether the communication power consumption value P2 is less than the target minimum power consumption value P min .
[0303] When the communication rate R2 meets the preset requirements and the communication power consumption value P2 is less than the target minimum power consumption value P min In the case of min Update to the communication power consumption value P2, and set the optimal MIMO layer number N op Update to the number of MIMO layers Q2 in the second communication capability parameter, and set the optimal CC number M op Updated to the CC number D2 in the second communication capability parameter.
[0304] When the communication rate R2 meets the preset requirements, and / or the communication power consumption value P2 is greater than or equal to the target minimum power consumption value P min In the case of , the communication power consumption value P2 and the second communication capability parameter A2 are discarded. At this time, the target minimum power consumption value P min , optimal number of MIMO layers N op , optimal CC number M op All remain unchanged.
[0305] Execute the above steps S113 and S114; or, after executing step S113, when it is determined that there are other communication capability parameters, continue to traverse other communication capability parameters to determine the optimal number of MIMO layers and the optimal number of CCs until all communication capability parameters are traversed, and use the ultimately determined optimal number of MIMO layers and the optimal number of CCs to configure the parameters of the electronic device.
[0306] As an embodiment of the present application, please refer to the process of parameter configuration of the electronic device. Figure 5 The process diagram is shown.
[0307] S401, when performing parameter configuration, the electronic device obtains a communication capability parameter B1. The communication capability parameter B1 includes the number of MIMO layers Q3 and the number of CCs D3. The number of MIMO layers Q3 includes the number of uplink MIMO layers and the number of downlink MIMO layers. The number of CCs D3 includes the number of uplink CCs and the number of downlink CCs.
[0308] S402, the electronic device calculates, based on the communication capability parameter B1, a communication rate R3 when the electronic device is configured with the communication capability parameter B1.
[0309] The calculation process of step S402 may refer to the above step S102 and will not be described in detail here.
[0310] S403, determining whether the communication rate R3 of the electronic device meets a preset requirement.
[0311] The description of the preset rate threshold may refer to the explanation of the rate threshold in the above step S103, which will not be repeated here.
[0312] S404, when the communication rate R3 meets the preset requirement, the communication capability parameter B1 is recorded as the first communication capability parameter, and the electronic device calculates the communication power consumption value P3 of the electronic device when the communication capability parameter B1 is used according to the communication capability parameter B1.
[0313] The calculation process of step S404 may refer to the above step S104 and will not be described in detail here.
[0314] In one implementation, after step S403, if it is determined that the communication rate R3 does not meet the preset requirement, the electronic device executes the following process of step S408.
[0315] S405: The electronic device determines whether the communication capability parameter B1 is the first communication capability parameter traversed.
[0316] In this embodiment, it is necessary to determine whether the communication capability parameter B1 is the communication capability parameter of the first input rate calculation model (or the first input power consumption calculation model) when configuring the parameters of the electronic device this time.
[0317] S406: If the communication capability parameter B1 is the first communication capability parameter traversed, the electronic device sets the target minimum power consumption value P min Update to the communication power consumption value P3, and set the optimal MIMO layer number N op Update to MIMO layer number Q3, and set the optimal CC number M op Updated to CC number D3.
[0318] S407: If the communication capability parameter B1 is not the first communication capability parameter traversed, the electronic device determines whether the communication power consumption value P3 is less than the target minimum power consumption value P at the current moment. min .
[0319] Among them, the target minimum power consumption value P at the current moment min The communication capability parameter is determined based on the last communication capability parameter traversed (or based on each communication capability parameter traversed previously).
[0320] For example, if the communication capability parameter B1 is the fourth communication capability parameter traversed in this parameter configuration, the target minimum power consumption value P at the current moment used in step S407 is min Determined based on the first communication capability parameter, the second communication capability parameter, and the third communication capability parameter traversed previously.
[0321] In one implementation, if the communication power consumption value P3 is less than the target minimum power consumption value P min , execute the above step S406, the electronic device sets the target minimum power consumption value P min Update to the communication power consumption value P3, and set the optimal MIMO layer number N op Update to MIMO layer number Q3, and set the optimal CC number M op Updated to CC number D3.
[0322] The target minimum power consumption value P after this update min This is used when traversing the next communication capability parameters.
[0323] In one implementation, if the communication power consumption value P3 is greater than or equal to the target minimum power consumption value P min , then maintain the target minimum power consumption value P min The optimal number of MIMO layers N determined previously remains unchanged. op and the optimal CC number M op No change, continue to execute the process of step S408 below.
[0324] S408, the electronic device determines whether all communication capability parameters have been traversed.
[0325] S409, if the electronic device determines that the traversal of all communication capability parameters is completed, the electronic device performs parameter configuration according to the target optimal MIMO layer number and the target optimal CC number, and the target optimal MIMO layer number and the target optimal CC number constitute the optimal communication capability parameter (second communication capability parameter).
[0326] Specifically, for the description of step S409, please refer to the description of the above step S114, which will not be repeated here.
[0327] In one implementation, after step S408, if the electronic device determines that the traversal of all communication capability parameters is not completed, the electronic device executes the above steps S401 to S408 until the electronic device determines that the traversal of all communication capability parameters is completed, and then the electronic device executes the above step S409.
[0328] As an embodiment of the present application, the electronic device may further determine whether the communication rate is greater than or equal to a preset rate threshold after calculating the communication rate and the communication power consumption value. Therefore, the process of parameter configuration of the electronic device may further include:
[0329] Execute the above steps S401 to S402.
[0330] The electronic device calculates, based on the communication capability parameter B1, a communication power consumption value P3 when the electronic device is configured with the communication capability parameter B1.
[0331] The electronic device determines whether the communication rate R3 meets the preset requirement.
[0332] The electronic device determines whether the communication capability parameter B1 is the first communication capability parameter traversed.
[0333] If the communication rate R3 meets the preset requirements and the communication capability parameter B1 is the first communication capability parameter traversed, the electronic device sets the target minimum power consumption value P min Update to the communication power consumption value P3, and set the optimal MIMO layer number N op Update to MIMO layer number Q3, and set the optimal CC number M op Updated to CC number D3.
[0334] If the communication rate R3 meets the preset requirements and the communication capability parameter B1 is not the first communication capability parameter traversed, the electronic device determines whether the communication power consumption value P3 is less than the target minimum power consumption value P at the current moment. min .
[0335] If the communication power consumption value P3 is less than the target minimum power consumption value P min , then execute the above step S406, the electronic device sets the target minimum power consumption value P min Update to the communication power consumption value P3, and set the optimal MIMO layer number N op Update to MIMO layer number Q3, and set the optimal CC number M op Updated to CC number D3.
[0336] Execute the process from step S408 to step S409.
[0337] As an embodiment of the present application, the communication rate and communication power consumption value of the electronic device when it is a communication capability parameter can also be calculated based on each group of communication capability parameters. After the communication rate and communication power consumption value corresponding to each group of communication capability parameters are calculated, the communication rate greater than the rate threshold is found among all the communication rates, and the communication capability parameter of the communication rate greater than the rate threshold is recorded as the first communication capability parameter. Finally, the minimum power consumption value among the communication power consumption values corresponding to all the first communication capability parameters is found, and the first communication capability parameter corresponding to the minimum power consumption value is recorded as the second communication capability parameter (optimal communication capability parameter); the communication capability parameter of the electronic device is set to the second communication capability parameter.
[0338] After using the communication parameter configuration method provided by the present application, the operating cost of the base station side is reduced, and energy consumption and carbon emissions are reduced; for electronic devices, power consumption is reduced, battery life is improved, and customer experience is optimized. Specifically, the power consumption benefit after configuring the communication parameters of the electronic device using the present application can be calculated using a benefit calculation model.
[0339] The profit calculation model is: The average power consumption of the algorithm OFF is the average power consumption of the electronic device when the communication parameters are not configured using the present application, and the average power consumption of the algorithm ON is the average power consumption of the electronic device after the communication parameters are configured using the present application.
[0340] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0341] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0342] The embodiment of the present application also provides a computer program product. When the computer program product is executed on a first device, the first device can implement the steps in the above-mentioned method embodiments.
[0343] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the first device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0344] The embodiment of the present application also provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the steps of any method embodiment of the present application. The chip system can be a single chip or a chip module composed of multiple chips.
[0345] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0346] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0347] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for configuring communication parameters of an electronic device, characterized in that: include: Acquire multiple groups of communication capability parameters, each group of communication capability parameters including the number of multiple-input multiple-output layers and the number of component carriers; Determine at least one first communication capability parameter from the multiple communication capability parameters, the first communication capability parameter being a communication capability parameter having a communication rate greater than a rate threshold corresponding to the communication rate, and the communication rate corresponding to the communication capability parameter being a communication rate calculated when the electronic device is the communication capability parameter; Determine a second communication capability parameter from the first communication capability parameter, the second communication capability parameter being a group of the first communication capability parameters with the smallest communication power consumption value, and the communication power consumption value corresponding to the communication capability parameter being the calculated communication power consumption value of the electronic device when the electronic device is the communication capability parameter; The communication capability parameter of the electronic device is set to the second communication capability parameter.
2. The method according to claim 1, characterized in that The determining at least one set of first communication capability parameters from the multiple sets of communication capability parameters comprises: Calculating the communication rate of the electronic device for each set of communication capability parameters to obtain multiple communication rates; If the communication rate is greater than the rate threshold, determining the communication capability parameter corresponding to the communication rate greater than the rate threshold as the first communication capability parameter; Correspondingly, determining the second communication capability parameter from the first communication capability parameter includes: Calculating the communication power consumption value of the electronic device for each set of first communication capability parameters to obtain multiple communication power consumption values; Find a minimum power consumption value among the multiple communication power consumption values, and determine the first communication capability parameter corresponding to the minimum power consumption value as the second communication capability parameter.
3. The method according to claim 1, characterized in that The determining at least one set of first communication capability parameters from the multiple sets of communication capability parameters comprises: For the i-th group of communication capability parameters, calculating the communication rate of the electronic device when the communication capability parameters of the i-th group are met; If the communication rate corresponding to the i-th group of communication capability parameters is greater than the rate threshold, determining the i-th group of communication capability parameters as the first communication capability parameters; Correspondingly, determining the second communication capability parameter from the first communication capability parameter includes: For the i-th group of communication capability parameters determined as the first communication capability parameters, calculating the communication power consumption value of the electronic device when the communication capability parameters of the i-th group are used; If the communication power consumption value corresponding to the i-th group of communication capability parameters is less than the communication power consumption value corresponding to other first communication capability parameters, the i-th group of communication capability parameters is determined as the second communication capability parameters, wherein the other first communication capability parameters are first communication capability parameters other than the i-th group of communication capability parameters.
4. The method according to claim 3, characterized in that The communication rate includes an uplink communication rate and a downlink communication rate; and the rate threshold includes an uplink rate threshold of the uplink communication rate and a downlink rate threshold of the downlink communication rate.
5. The method according to claim 4, characterized in that The number of MIMO layers includes the number of downlink MIMO layers, and the number of component carriers includes the number of downlink component carriers; Calculating the downlink communication rate of the electronic device when the electronic device is the i-th group of communication capability parameters includes: Based on the number of downlink component carriers in the i-th group of communication capability parameters, determining each downlink component carrier used by the electronic device when the electronic device is the i-th group of communication capability parameters; Acquire the modulation order of each of the downlink component carriers per unit time, the coding rate of each of the downlink component carriers per unit time, the number of orthogonal frequency division multiplexing symbols per unit time, and the number of resource blocks allocated to each of the downlink component carriers during the communication process during the operation of the electronic device; Based on the modulation order of each of the downlink component carriers in the unit time, the coding rate of each of the downlink component carriers in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, the number of resource blocks allocated to each of the downlink component carriers during the communication process and the number of downlink multiple-input and multiple-output layers in the i-th group of communication capability parameters, the downlink communication rate of the electronic device when it is the i-th group of communication capability parameters is calculated.
6. The method according to claim 5, characterized in that The calculating the downlink communication rate of the electronic device when the electronic device is the i-th group of communication capability parameters based on the modulation order of each of the downlink component carriers within the unit time, the coding rate of each of the downlink component carriers within the unit time, the number of orthogonal frequency division multiplexing symbols within the unit time, the number of resource blocks allocated to each of the downlink component carriers during the communication process, and the number of downlink multiple-input multiple-output layers in the i-th group of communication capability parameters, includes: For the jth downlink component carrier in each of the downlink component carriers, based on the modulation order of the jth downlink component carrier in unit time, the coding rate of the jth downlink component carrier in the unit time, the number of orthogonal frequency division multiplexing symbols in the unit time, the number of resource blocks allocated to the jth downlink component carrier during the communication process, and the product of the number of downlink multiple-input multiple-output layers in the i-th group of communication capability parameters, determine the subtransmission rate of the jth downlink component carrier; j takes a natural number from 1 to N, and N is the number of downlink component carriers in the i-th group of communication capability parameters; The sum of the N sub-transmission rates is calculated to obtain the downlink communication rate when the electronic device is configured with the i-th group of communication capability parameters.
7. The method according to claim 5, characterized in that The calculating the downlink communication rate of the electronic device when the electronic device is the i-th group of communication capability parameters based on the modulation order of each of the downlink component carriers within the unit time, the coding rate of each of the downlink component carriers within the unit time, the number of orthogonal frequency division multiplexing symbols within the unit time, the number of resource blocks allocated to each of the downlink component carriers during the communication process, and the number of downlink multiple-input multiple-output layers in the i-th group of communication capability parameters, includes: The downlink communication rate of the electronic device when the electronic device is the i-th group of communication capability parameters is calculated using a rate calculation model, the rate calculation model comprising: Wherein, R is the downlink communication rate, J is the number of downlink component carriers in the i-th group of communication capability parameters, is the number of downlink MIMO layers in the i-th group of communication capability parameters; is the modulation order of the j-th downlink component carrier in the unit time; r is the coding rate of the j-th downlink component carrier in the unit time, is the number of resource blocks allocated to the j-th downlink component carrier during the communication process, N SC is the number of subcarriers in each resource block, M symbol is the number of OFDM symbols per unit time, OH j is the spectrum overhead of the j-th downlink component carrier during the communication process.
8. The method according to any one of claims 3 to 7, characterized in that The electronic device includes a baseband, a radio frequency transceiver, a plurality of power amplifiers and a plurality of low noise amplifiers; the number of MIMO layers includes the number of uplink MIMO layers and the number of downlink MIMO layers, and the number of component carriers includes the number of uplink component carriers and the number of downlink component carriers; the number of MIMO layers includes the number of downlink MIMO layers, and the number of component carriers includes the number of downlink component carriers; The calculating the communication power consumption value of the electronic device when the communication capability parameter of the i-th group includes: Based on the number of uplink MIMO layers and the number of uplink component carriers in the i-th group of communication capability parameters, determining each power amplifier used by the electronic device when the electronic device is the i-th group of communication capability parameters; Based on the number of downlink MIMO layers and the number of downlink component carriers in the i-th group of communication capability parameters, determining each low noise amplifier used by the electronic device when the electronic device is the i-th group of communication capability parameters; Obtaining the duration of each communication state of the electronic device within a preset time length, the real-time uplink transmission power of each power amplifier in each communication state, the real-time downlink receiving power of each low noise amplifier in each communication state, the preset reference measured power consumption value of the baseband in each communication state, and the preset basic measured power consumption of the radio frequency transceiver in each communication state; Based on the duration of each of the communication states, the real-time uplink transmission power of each power amplifier in each of the communication states, the real-time downlink receiving power of each low-noise amplifier in each of the communication states, the benchmark measured power consumption value of the baseband in each of the communication states, and the basic measured power consumption of the RF transceiver in each of the communication states, the communication power consumption value of the electronic device when it is the i-th group of communication capability parameters is calculated.
9. The method according to claim 8, characterized in that The calculating of the communication power consumption value of the electronic device when it is the i-th group of communication capability parameters based on the duration of each of the communication states, the real-time uplink transmission power of each power amplifier in each of the communication states, the real-time downlink receiving power of each low noise amplifier in each of the communication states, the reference measured power consumption value of the baseband in each of the communication states, and the basic measured power consumption of the radio frequency transceiver in each of the communication states includes: For each of the power amplifiers in each of the communication states, based on the respective real-time uplink transmit powers of the power amplifiers, calculating the average uplink transmit power of the power amplifier, and finding the power consumption value corresponding to the average uplink transmit power, the power consumption value corresponding to the average uplink transmit power being the first average power consumption of the power amplifier in the communication state; For each of the low noise amplifiers in each of the communication states, based on the real-time downlink received powers of the low noise amplifiers, the average downlink received power of the low noise amplifier is calculated, and the power consumption value corresponding to the average downlink received power is found, and the power consumption value corresponding to the average downlink received power is the second power consumption average value of the low noise amplifier in the communication state; Calculate the total communication power consumption of the electronic device when it is the i-th group of communication capability parameters based on the first power consumption average value of each power amplifier in each communication state, the second power consumption average value of each low noise amplifier in each communication state, the reference measured power consumption value of the baseband in each communication state, the basic measured power consumption of the radio frequency transceiver in each communication state and the duration of each communication state; The ratio of the total communication power consumption to the preset duration is calculated to obtain a communication power consumption value of the electronic device when the electronic device is the i-th group of communication capability parameters.
10. The method according to claim 9, characterized in that The calculating the total communication power consumption of the electronic device when the communication capability parameter of the electronic device is the i-th group based on the first power consumption average value of each power amplifier in each communication state, the second power consumption average value of each low noise amplifier in each communication state, the reference measured power consumption value of the baseband in each communication state, the basic measured power consumption of the radio frequency transceiver in each communication state and the duration of each communication state includes: The total communication power consumption of the electronic device when the communication capability parameter of the electronic device is the i-th group is calculated using the total communication power consumption calculation model, and the total communication power consumption calculation model is: E UDL is the total power consumption of the communication, M is the total number of communication states, is a reference measured power consumption value of the baseband in the mth communication state, is the reference measured power consumption value of the radio frequency transceiver in the mth communication state, t m is the duration of the mth communication state, G is the total number of power amplifiers used, is the first power consumption average value of the g-th power amplifier in the m-th communication state, W is the total number of the low noise amplifiers used, is the second power consumption average value of the w-th low noise amplifier in the m-th communication state.
11. The method according to claim 4, characterized in that The downlink rate threshold and the uplink rate threshold are both determined based on the application scenario executed by the electronic device, and the downlink rate threshold and the uplink rate threshold corresponding to different application scenarios are preset.
12. An electronic device, characterized in that: The electronic device comprises a processor, and the processor is used to run a computer program stored in a memory, so that the electronic device implements the method according to any one of claims 1 to 11.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Cited By
Communication of user terminal having multiple subscription identities
US20230254684A1