Clock control method and module, modem, communication equipment and storage medium
By receiving configuration information in advance and finely controlling clock gating and frequency in the modem of the communication device, the high power consumption problem caused by rough clock control in the existing technology is solved, and lower dynamic power consumption and higher user experience are achieved. .
Patent Information
- Application Number
- CN202310424761.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-22
AI Technical Summary
When existing communication equipment is processing services, the clock gating opening and closing time granularity of each processing module in the modem is rough, resulting in high power consumption, and the clock frequency switching control is not precise, which cannot effectively reduce power consumption.
In the modem of the communication device, the configuration information is received in advance, and according to the configuration information, the clock gating is turned on and the high frequency is set before the processing task is started, and the clock gating is turned off and the low frequency is set after the task is completed, realizing non-use or off clock control. .
Through refined clock control, the power consumption of communication equipment is reduced, saving 10% to 15% of dynamic power consumption, meeting the communication business requirements and strict timing constraints of complex scenarios, and improving user experience.
Smart Images

Figure CN118828809A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a clock control method and module, a modem, a communication device, and a storage medium. Background Art
[0002] Power consumption is one of the key performance indicators of communication equipment. The main technical means of power consumption control is clock domain control. Clock domain control can be understood as making reasonable clock frequency adjustments and turning the clock on and off through clock gating to achieve optimal power consumption control. Summary of the invention
[0003] Embodiments of the present application provide a clock control method and module, a modem, a communication device, and a storage medium.
[0004] The technical solution of this application is implemented as follows:
[0005] An embodiment of the present application provides a clock method, which is applied to a processor in a first processing module, where the first processing module is any processing module of multiple processing modules in a modem, and the method includes:
[0006] receiving at least one configuration information in a first time unit; each configuration information in the at least one configuration information is used to configure a processing task of the first processing module in a second time unit; the second time unit is another time unit after the first time unit;
[0007] Before the second time unit, controlling the clock gating to be turned on, and / or adjusting the clock frequency to the first frequency;
[0008] When it is determined that the processing task corresponding to the at least one configuration information is completed, the clock gating is controlled to be closed, and / or the clock frequency is adjusted to a second frequency.
[0009] The embodiment of the present application further provides a processing module for controlling a clock, wherein the processing module is any processing module of a plurality of processing modules in a modem, including:
[0010] A receiving unit is configured to receive at least one configuration information in a first time unit; each configuration information in the at least one configuration information is used to configure a processing task of the first processing module in a second time unit; the second time unit is another time unit after the first time unit;
[0011] A processing unit, configured to control clock gating to be turned on before the second time domain unit, and / or adjust the clock frequency to a first frequency;
[0012] The processing unit is further configured to control the clock gating to be closed and / or adjust the clock frequency to a second frequency when it is determined that the processing task corresponding to the at least one configuration information is completed.
[0013] An embodiment of the present application also provides a processing module for controlling a clock, including a processor, a logic processing circuit and a memory, wherein the memory is used to store a computer program, and the processor is used to combine with the logic processing circuit, and call and run the computer program stored in the memory to execute the clock control method.
[0014] An embodiment of the present application provides a modem, comprising multiple processing modules, wherein each of the multiple processing modules comprises a processor, a logic processing circuit and a memory, the memory is used to store a computer program, the processor is used to combine with the logic processing circuit, and call and run the computer program stored in the memory to execute the clock control method.
[0015] An embodiment of the present application provides a communication device, including a modem, wherein the modem includes multiple processing modules, wherein each of the multiple processing modules includes a processor, a logic processing circuit and a memory, the memory is used to store a computer program, and the processor is used to combine with the logic processing circuit, and call and run the computer program stored in the memory to execute the clock control method.
[0016] An embodiment of the present application provides a computer-readable storage medium, characterized in that it is used to store a computer program, and the computer program enables a computer to execute the above-mentioned clock control method.
[0017] In the clock control method provided in the embodiment of the present application, any processing module in the modem can receive at least one configuration information in the first time unit; each configuration information in the at least one configuration information is used to configure the processing task of the first processing module in the second time unit; the second time unit is another time unit after the first time unit; before the second time unit, the clock gating is controlled to be turned on, and / or the clock frequency is adjusted to the first frequency; when it is determined that the processing task corresponding to the at least one configuration information is completed, the clock gating is controlled to be turned off, and / or the clock frequency is adjusted to the second frequency. In other words, any processing module in the modem can receive configuration information in advance, turn on the clock gating of the current processing module before the processing task starts to execute, and / or set the clock frequency to a high frequency, turn off the clock gating of the current processing module after the processing task is executed, and / or set the clock frequency to a low frequency. In this way, each processing module in the modem can be turned off when not in use, effectively reducing the power consumption of the communication equipment while ensuring the communication service needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 An IDRX power consumption scenario provided in an embodiment of the present application;
[0019] Figure 2 A CDRX power consumption scenario provided in an embodiment of the present application;
[0020] Figure 3 A schematic diagram of another power consumption scenario provided in an embodiment of the present application;
[0021] Figure 4 A schematic diagram of a basic clock domain control principle provided in an embodiment of the present application;
[0022] Figure 5 A schematic diagram of a clock domain control flow provided in an embodiment of the present application;
[0023] Figure 6 A schematic diagram of a clock control method provided in an embodiment of the present application Figure 1 ;
[0024] Figure 7 A schematic diagram of a clock control method provided in an embodiment of the present application Figure 2 ;
[0025] Figure 8 A schematic diagram of a service scheduling control process provided in an embodiment of the present application Figure 1 ;
[0026] Fig. 9 A schematic diagram of a service scheduling control process provided in an embodiment of the present application Figure 2 ;
[0027] Fig.10 A flowchart of a method for determining whether a processing task is completed provided in an embodiment of the present application;
[0028] Fig.11 A schematic structural diagram of a processing module 1100 for controlling a clock provided in an embodiment of the present application;
[0029] Fig.12 A schematic structural diagram of a processing module 1200 for controlling a clock provided in an embodiment of the present application;
[0030] Fig.13 A schematic structural diagram of a modem provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0032] All other embodiments obtained by technicians without creative work are within the scope of protection of this application.
[0033] For communication equipment (such as UE), battery performance is one of the key factors affecting user experience. With the development of communication technology, especially the evolution of the fifth generation mobile communication technology (5G), standalone (SA) and non-standalone (NSA) networking have been widely deployed in commercial networks. Due to the need to support enhanced mobile broadband (EMBB), massive machine type communication (MMTC), ultra-reliable low-latency communications (URLLC) and other features in new radio (NR) scenarios, higher requirements are placed on the communication performance of communication equipment such as throughput, latency, and mobility management. At the same time, it also poses a higher challenge to the power consumption control of the modem of the communication equipment. Therefore, meeting the power consumption requirements of various communication service scenarios while performing precise low power consumption control has become the key to balancing performance and power consumption. Based on the premise of meeting the performance requirements of various communication business scenarios, the optimal power consumption control of the modem is achieved in accordance with the principle of minimizing the granularity of hardware resource control in the modem and refining the control of usage time, thereby improving the power consumption performance competitiveness of communication equipment and enhancing user experience.
[0034] At present, typical power consumption scenarios include UE discontinuous reception (DRX) scenarios. DRX scenarios can be divided into idle DRX scenarios (IDRX) and connected DRX scenarios (CDRX). In IDRX scenarios, there is no uplink or downlink data service between the UE and the base station. Figure 1 As shown in Figure 1, in the IDRX scenario, the UE wakes up at the paging time point to receive the paging message broadcast by the base station or to perform measurements. At other times, the UE can enter the sleep state. In the CDRX scenario, the UE is connected to the base station. At this time, the UE may have uplink and downlink data services with the network side (for example, users browsing the web). Figure 2As shown, the CDRX scenario is similar to the IDRX scenario, and the UE can enter the sleep state when it detects that the uplink and downlink data services are finished.
[0035] In addition to the above DRX scenarios, power consumption scenarios also include scenarios where the clock frequency and voltage required by the hardware computing load change, resulting in changes in power consumption control. A typical example is the carrier aggregation (CA) scenario, where the base station configures different numbers of carriers (CCs) for the UE by detecting the current uplink and downlink throughput of the UE to meet the uplink and downlink throughput requirements. Different numbers of carriers will affect the hardware computing load, thereby affecting power consumption. Figure 3 As shown, the more CCs there are, the greater the hardware frequency pressure.
[0036] Based on the analysis of the above typical power consumption scenarios, the current typical power consumption control methods of modems mainly include the following three aspects:
[0037] (1) Power on and off the power domain of hardware resources in DRX scenarios according to the strategy of powering off when not in use;
[0038] (2) Turning the hardware clock domain on and off according to the strategy of turning it off when not in use;
[0039] (3) Match the frequency and voltage that meet the business scenario according to the load requirements of the business scenario, thereby completing the dynamic adjustment of frequency and voltage (Dynamic voltage and frequency scaling, DVFS) to achieve the purpose of reducing power consumption.
[0040] Whether it is turning the clock on / off or dynamically adjusting the clock frequency, it is all about controlling the hardware clock domain.
[0041] Figure 4 A basic clock domain control schematic diagram provided for an embodiment of the present application, wherein processing module 1 (Module1) to processing module n (Module n) may refer to functional modules that complete specific communication services, such as a PDCCH channel demodulation module, a PDSCH demodulation module, an uplink transmission module, etc. Each Module may include a processor core (core) and a logic processing circuit (HardWare, HW), and clocks of different frequencies are input to the core and HW through a clock tree (clock tree). G represents independent clock gating, and clock gating can be controlled through software implementation to complete independent turn on / off control of the core and HW clocks.
[0042] Taking the DRX scenario as an example, the clock domain control method in the related technology is introduced. Among them, after the UE's layer 1 control (Layer1control, L1C) module determines that the UE enters a no-service state, the clock gating of the core and HW of each processing module in the Modem is uniformly turned off, and the clock gating of the core and HW of each processing module is uniformly turned on before the service transmission in the next DRX cycle. Specifically, refer to Figure 5 As shown in the flowchart, the clock domain control method in the related art may include the following steps:
[0043] Step ①: After completing the processing task, Module 1 to Module n send a task completion indication to L1C. After L1C determines that all module tasks are completed and there is no uplink or downlink communication service, it enters DRX GAP. The next wake-up time is calculated according to the IDRX / CDRX cycle, the minimum frequency is set for the core and HW in each module, and the clock gating of the core and HW in each module is turned off.
[0044] Step ②: Each module is in sleep state, and each processing module maintains clock gating off, and the clock works at the lowest frequency state.
[0045] Step ③: before each processing module executes a service (for example, decoding a paging message in an idle state or before the start of an activation period in a connected state), the clock gating in each processing module is turned on, and the clock is set to work in a high frequency state.
[0046] Step ④: During the execution of the business, each processing module maintains the clock gating open and high frequency state.
[0047] At present, when the communication equipment is processing services, the clock gating of the CPU core and HW of each processing module in the modem is turned on, and the clock gating is not turned off until the entire service processing is completed. In addition, the clocks of the CPU and HW of each processing module are in a high-frequency state, and they are uniformly configured to a low frequency only after the uplink and downlink services of the entire system are completed, which consumes a lot of power. In addition, the time granularity of the clock gating on and off, as well as the time granularity of the high-low frequency switching control, are coarse, which further increases the power consumption of the communication equipment.
[0048] Based on this, an embodiment of the present application provides a clock control method, which can be applied to a processor in a first processing module, which can be a CPU or a core of a CPU. The first processing module can be any processing module of multiple processing modules in a communication device modem.
[0049] It should be understood that the communication device mentioned in the embodiments of the present application may be a user equipment (UE), an access terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a wireless terminal device, a UE agent or a UE device, etc. It may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device, a vehicle-mounted device, a drone, a wearable device, a robot, a terminal in a future network or a terminal in a future evolved Public Land Mobile Network (PLMN), etc., and the embodiments of the present application do not limit this.
[0050] It should also be understood that the modem may include multiple processing modules, wherein the processing module may refer to a functional module that performs a specific communication service, such as a PDCCH channel demodulation module, a PDSCH demodulation module, an uplink transmission module, etc., and the embodiments of the present application do not limit this. It should be understood that each of the multiple processing modules of the modem can execute the clock control method provided in the embodiments of the present application.
[0051] Figure 6 A flowchart of a clock control method provided in an embodiment of the present application is provided. Figure 6 As shown, the clock control method may include steps 610 to 630.
[0052] Step 610, receiving at least one configuration information in a first time unit; each configuration information in the at least one configuration information is used to configure the processing task of the first processing module in a second time unit; the second time unit is another time unit after the first time unit.
[0053] In the embodiment of the present application, the first processing module can receive configuration information for configuring the processing task in the future second time unit in advance within the first time unit. In other words, the processing task of the first processing module in the future second time unit can be configured in advance. In this way, the first processing module can complete the configuration of the task parameters in the second time unit in advance within the first time unit based on the configuration information, and execute the configured task within the second time unit.
[0054] In some embodiments, the first time unit and the second time unit may be two adjacent time units. It is understandable that the first processing module may determine the processing task in the next time unit based on the configuration information received in the current time unit, or the first processing module may determine the processing task in the current time unit based on the configuration information of the previous time unit.
[0055] It should be noted that the processing task may be an operation on a communication service that the first processing module needs to complete within the second time unit. The processing task may be indicated by one or more of the occupied time domain resources, frequency domain resources, bandwidth, and processing type. Exemplarily, the processing task may be to perform PDCCH demodulation on part of the time domain resources within the second time unit. The processing task may also be to perform PDSCH demodulation on all time domain resources within the second time unit, which is not limited in the embodiments of the present application.
[0056] It should be noted that the first processing module may receive one or more configuration information within the first time unit. Wherein, when the first processing module receives multiple configuration information within the first time unit, each of the multiple configuration information may configure a different processing task, that is, different configuration information may configure different processing tasks of the first processing module within the second time unit.
[0057] It should be noted that different processing tasks may refer to at least one of the time domain resources, frequency domain resources, bandwidth, and processing tasks occupied by the processing tasks being different.
[0058] Exemplarily, the first processing module may receive two configuration information in the first time unit, namely configuration information A and configuration information B. Configuration information A may configure processing task A of the first processing module in the second time unit, and configuration information B may configure processing task B of the first processing module in the second time unit.
[0059] In some embodiments, each of the at least one configuration information may include at least one of the following:
[0060] The time domain resources occupied by the processing task corresponding to the configuration information;
[0061] The frequency domain resources occupied by the processing task corresponding to the configuration information;
[0062] The bandwidth occupied by the processing task corresponding to the configuration information; and
[0063] The type of processing task corresponding to the configuration information.
[0064] It should be noted that the time domain resources may be part of the time domain resources within the second time unit, or all of the time domain resources, and the embodiments of the present application do not impose any restrictions on this.
[0065] Among them, the types of processing tasks may include modulation of uplink control information, modulation of uplink shared information, demodulation of downlink control information, demodulation of downlink shared information, decoding of downlink control information, etc., and the embodiments of the present application do not impose any restrictions on this.
[0066] In some embodiments, the configuration information may be referred to as pre-scheduling information or scheduling information. Each configuration information may be a dynamic or static configuration of a network device, or may be a protocol agreement, which is not limited in the embodiments of the present application.
[0067] In some embodiments, the modem may include a control module, wherein the control module may send one or more configuration information to the first processing module in a first time unit. In other words, the one or more configuration information received by the first processing module in the first time unit may come from the control module.
[0068] In some embodiments, the control module may be used to control various processing modules in the Modem. Exemplarily, the control module may be an L1C module.
[0069] Step 620: Before the second time unit, control the clock gating to be turned on, and / or adjust the clock frequency to the first frequency.
[0070] It should be understood that the first processing module can receive one or more configuration information in the first time unit before the second time unit, and complete the configuration of the processing task in the second time unit in advance. In this way, before the second time unit, the first processing module can turn on clock gating and / or adjust the clock frequency to the first frequency to facilitate task processing in the second time unit.
[0071] It should be noted that the first frequency may be a frequency required for the first processing module to work normally, for example, the first frequency may be an operating frequency.
[0072] Step 630: When it is determined that the processing task corresponding to at least one configuration information is completed, control the clock gating to be closed, and / or adjust the clock frequency to a second frequency.
[0073] It should be understood that the first processing module determines whether the processing tasks configured by one or more configuration information are completed within the first time unit. When it is determined that the processing tasks corresponding to the one or more configuration information are completed, the first processing module can turn off clock gating and / or adjust the clock frequency to the second frequency to control the power consumption of the first processing module.
[0074] It should be noted that the second frequency is lower than the first frequency. The second frequency may be the frequency when the first processing module is in sleep mode. For example, the second frequency may be the lowest frequency.
[0075] It should be understood that the first processing module is any processing module among the multiple processing modules of the Modem, that is, any processing module in the Modem can receive configuration information in advance, turn on the clock gating of the current processing module before the processing task starts to execute, and / or set the clock frequency to a high frequency, turn off the clock gating of the current processing module after the processing task is executed, and / or set the clock frequency to a low frequency. In this way, each processing module in the Modem can be turned off when not in use, effectively reducing the power consumption of the communication device while ensuring the communication service requirements.
[0076] In an embodiment of the present application, the first time unit and / or the second time unit may be any one of the following:
[0077] Transmission Time Interval (TTI), time slot, mini-time slot, and time domain symbol set.
[0078] Among them, TTI can be the basic unit of time governed by radio resource management (scheduling). One TTI is usually 1 millisecond (ms), that is, the length of a subframe. The length of a slot is less than the length of a TTI, and one slot is usually half a subframe, that is, 1 slot = 0.5 ms. A microslot can be another time unit smaller than a slot, and a microslot can be half a slot, or one-third of a slot, which is not limited in the embodiments of the present application.
[0079] Typically, one slot may include 14 time domain symbols, where the time domain symbols may be orthogonal frequency division multiplexing (OFDM) symbols, or other types of time domain symbols, which are not limited in the embodiments of the present application. The first time unit and / or the second time unit may also be a set of multiple time domain symbols. For example, the first time unit and / or the second time unit may be a set of 4 OFDM symbols, or a set of 7 OFDM symbols.
[0080] It is understandable that the first time unit and / or the second time unit mentioned in the embodiment of the present application may be a time unit less than or equal to the length of TTI. That is to say, the first processing module may control the clock domain at a time granularity less than or equal to TTI, and achieve non-use or shutdown control at a time granularity less than or equal to TTI, thereby achieving the purpose of optimizing power consumption control and satisfying the timing constraints of communication services.
[0081] In an embodiment of the present application, the first processing module further includes a logic processing circuit.
[0082] Among them, in step 620, controlling the clock gating to be turned on and / or adjusting the clock frequency to the first frequency can be achieved by the following steps:
[0083] Controlling the clock gating of the logic processing circuit by the processor to start, and / or adjusting the clock frequency of the processor and the logic processing circuit to a first frequency;
[0084] Accordingly, controlling the clock gating to be closed in step 630 and / or adjusting the clock frequency to the second frequency can be achieved by the following steps:
[0085] The clock gating of the logic processing circuit is closed by controlling the processor, and / or the clock frequency of the processor and the logic processing circuit is adjusted to a second frequency.
[0086] It should be understood that the first processing module may include a processor (i.e., a CPU, or a core) and a logic processing circuit (i.e., a HW). The first processing module may configure circuit processing parameters for the hardware processing circuit through the processor. Accordingly, the hardware processing circuit performs business processing according to the configured processing parameters to obtain a processing result. It is worth noting that the processor of the first processing module may configure processing parameters for the hardware processing circuit according to the configuration information received in the first time unit.
[0087] In the embodiment of the present application, the processor of the first processing module can receive at least one configuration information within the first time unit. In this way, the processor of the first processing module can determine the circuit configuration parameters corresponding to each configuration information in the at least one configuration information based on the at least one configuration information; the processor can send the circuit configuration parameters corresponding to each configuration information to the logic processing circuit, and the circuit configuration parameters are used for the logic processing circuit to process the processing task corresponding to the configuration information.
[0088] That is, the processor of the first processing module receives one or more configuration information in the first time unit, each configuration information may correspond to a processing task in the second time unit. The processor may calculate the circuit processing parameters corresponding to each processing task according to the configuration information, and configure the corresponding circuit processing parameters for the hardware processing circuit.
[0089] At the same time, the processor of the first processing module can control the clock gating of the logic processing circuit to be turned on, and / or adjust the clock frequency of the processor and the logic processing circuit to the first frequency. In this way, the hardware processing circuit can process the corresponding processing task according to each circuit processing parameter, and obtain the processing result corresponding to each processing task in the second time unit. In addition, after determining that the processing task corresponding to each configuration parameter is completed, the processor can control the clock gating of the logic processing circuit to be turned off, and / or adjust the clock frequency of the processor and the logic processing circuit to the second frequency.
[0090] Exemplarily, the first processing module is a PDCCH demodulation module, and the processor of the first processing module can receive configuration information in slot1, and the configuration information can configure the first processing module to perform PDCCH demodulation on OFDM symbol 1-OFDM symbol 7 in slot2. The processor can determine the circuit processing parameters of the logic processing circuit according to the configuration information, and configure the circuit processing parameters to the logic processing circuit. At the same time, the processor can turn on the clock gating of the logic processing circuit and set the clock frequency to high frequency. In this way, the logic processing circuit can perform task processing according to the configured processing parameters to obtain a processing result. After the processor determines that the processing task in slot2 is completed, it turns off the clock gating of the logic processing circuit and sets the clock frequency to low frequency.
[0091] In one embodiment of the present application, refer to Figure 7 As shown, in the clock control method provided in the embodiment of the present application, step 630, when determining that the processing task corresponding to at least one configuration information is completed, controls the clock gating to be closed, and / or, before adjusting the clock frequency to the second frequency, may further include the following steps:
[0092] Step 640: Receive at least one interrupt message sent by the logic processing circuit, where the at least one interrupt message is associated with at least one configuration message, and the interrupt message is used to indicate that the processing task corresponding to the configuration message associated with the interrupt message has been completed;
[0093] Step 650: Based on at least one interruption information, determine whether a processing task corresponding to at least one configuration information is completed.
[0094] It should be understood that the logic processing circuit in the first processing module can send an interrupt message to the processor after completing each processing task to inform the processor that the corresponding processing task has been completed. Correspondingly, after receiving the interrupt message corresponding to the processing task, the processor can determine that the processing task corresponding to the interrupt message has been completed.
[0095] When the processor of the first processing module receives multiple configuration information within the first time unit, the processor can wait for interrupt information corresponding to each configuration information. After receiving the terminal information corresponding to each configuration information in the multiple configuration information, the processor of the first processing module can determine that all processing tasks have been completed. Only when all processing tasks have been completed, the processor turns off the clock gating of the logic processing circuit, and / or adjusts the clock frequency of the processor and the logic processing circuit to the second frequency.
[0096] In some embodiments, each of the at least one interrupt information includes a processing result of a processing task corresponding to the configuration information associated therewith. It should be understood that when the logic processing circuit of the first processing module needs to feed back a processing result to the processor in a processing task corresponding to a certain configuration information, the interrupt information may include the processing result of the processing task corresponding to the current configuration information. Alternatively, the logic processing circuit of the first processing module directly feeds back the processing result to the processor, and the terminal information is represented by the processing result.
[0097] In some embodiments, determining whether the processing task corresponding to at least one configuration information is completed based on at least one interruption information in step 650 may also be implemented in the following manner:
[0098] After each interrupt message is received, it is determined whether the value of the counter is an initial value; the counter is used to increase a preset value each time a configuration message is received, and to decrease a preset value each time an interrupt message is received;
[0099] If the value of the counter is the initial value, then at least one processing task corresponding to the configuration information is completed.
[0100] It should be understood that the processor of the first processing module can maintain a counter, wherein the initial value of the counter can be 0 or other values, which is not limited in the embodiment of the present application.
[0101] In the embodiment of the present application, the processor of the first processing module may increase the preset value of the counter each time it receives a configuration message. The processor of the first processing module may decrease the preset value each time it receives an interrupt message. The preset value may be 1 or other integer values, which is not limited in the embodiment of the present application.
[0102] In the embodiment of the present application, after receiving an interrupt message within the second time unit, the processor of the first processing module can determine whether the current counter value is the initial value. If it is the initial value, it is determined that the current processing task has been completed. In this way, the processor can control the clock gating of the logic processing circuit to be closed, and / or adjust the clock frequency of the processor and the logic processing circuit to the second frequency. Otherwise, the processor of the first processing module continues to wait for the next interrupt message.
[0103] The clock control method provided in the embodiment of the present application is described in detail below in combination with specific application scenarios.
[0104] In one example, the modem may include three processing modules, namely Module1, Module2 and Module3. Among them, Module1 is a front-end processing module, which is used to perform fast Fourier transform (FFT) processing. Module1 includes a front-end processor (FrontEnd_core) and a front-end logic processing circuit (FrontEnd_HW). Module2 can be used for demodulation processing, including a demodulation processor (Demod_core) and a demodulation processing circuit (Demod_HW). Module3 can be used for PDCCH decoding processing, and may include a PDCCH decoding processor (PdcchDecoder_core) and a PDCCH processing circuit (PdcchDecoder_HW).
[0105] refer to Figure 8 The service scheduling control flow diagram shown may include the following steps:
[0106] Step 1: L1C may send dynamic configuration information to Module1, Module2, and Module3 respectively in time slot N. L1C may send configuration information to Module1 in symbol 3 of time slot N, and send configuration information to Module2 and Module3 respectively in symbol 11 of time slot N.
[0107] In step 2-1, after receiving the configuration information, FrontEnd_core in Module1 can determine that FrontEnd_HW needs to perform FFT operation on symbols 1-8 in time slot N+1. At this time, FrontEnd_core can control the clock gating of FrontEnd_HW to be turned on and set the clock frequency to a high frequency state. In addition, FrontEnd_core can determine the circuit configuration parameters of FrontEnd_HW based on the received configuration information and configure the circuit configuration parameters to FrontEnd_HW.
[0108] Step 2-2, Demod_core of Module2 receives configuration information from L1C, which is used to configure Module2 to perform PDCCH demodulation on symbol 4 of time slot N+1. After receiving the configuration information from L1C, Demod_core can turn on the clock gating of Demod_HW and set the clock frequency to a high frequency state. At the same time, Demod_core can determine the circuit configuration parameters of Demod_HW based on the received configuration information and configure the circuit configuration parameters to Demod_HW. In this way, Demod_HW can perform PDCCH demodulation on symbol 4 of time slot N+1.
[0109] Step 2-3, PdcchDecoder_core of Module3 receives configuration information from L1C, which is used to configure Module3 to perform PDCCH decoding processing on symbol 5 and time slot 6 of time slot N+1. After PdcchDecoder_core receives the configuration information from L1C, it can turn on the clock gating of PdcchDecoder_HW and set the clock frequency to a high frequency state. At the same time, PdcchDecoder_core can determine the circuit configuration parameters of PdcchDecoder_HW based on the received configuration information, and configure the circuit configuration parameters to PdcchDecoder_HW. In this way, PdcchDecoder_HW can perform PDCCH decoding on symbol 5 and symbol 6 of time slot N+1.
[0110] In step 3-1, FrontEnd_HW performs FFT operation on symbols 1-8 of time slot N+1 according to the circuit configuration parameters. After completing the task processing of symbol 8, FrontEnd_HW can send an interrupt message to FrontEnd_core. After receiving the interrupt message, FrontEnd_core can immediately turn off the clock gating of FrontEnd_HW and set the clock frequency to a low frequency state to save the power consumption of Module1.
[0111] Step 3-2, Demod_HW performs PDCCH demodulation processing on symbol 4 of time slot N+1 according to the circuit configuration parameters. After completing the task processing on symbol 4, Demod_HW can send interrupt information to Demod_core. The interrupt information can be carried in the PDCCH demodulation result of Demod_HW, or the interrupt information can be represented by the PDCCH demodulation result. In this way, after receiving the interrupt information, Demod_core can immediately turn off the clock gating of Demod_HW and set the clock frequency to a low frequency state. This saves the power consumption of Module2.
[0112] Step 3-3, PdcchDecoder_HW performs PDCCH decoding processing on symbol 5 and symbol 6 of time slot N+1 according to the circuit configuration parameters. After PdcchDecoder_HW completes task processing on symbol 5 and symbol 6, it can send interrupt information to PdcchDecoder_core. The interrupt information can be carried in the decoding result of PdcchDecoder_HW, or the interrupt information can be represented by the decoding result. In this way, after PdcchDecoder_core receives the interrupt information, it can immediately turn off the clock gating of PdcchDecoder_HW and set the clock frequency to a low frequency state. To save the power consumption of Module3.
[0113] In the actual business scheduling and control process, L1C will schedule and configure each module one slot in advance, that is, each module receives the configuration information sent by L1C in time slot N. The core of each module is responsible for calculating the circuit configuration parameters and configuring the circuit configuration parameters to HW. HW is responsible for completing subsequent operations and outputting processing results. When HW completes related operations, it will trigger an interrupt and send interrupt information to the core. Modem can perform fine-grained control of the clock domain of the core and HW in each module.
[0114] The above example is the simplest business scenario (i.e., only the downlink control information of the PDCCH is decoded). In a more complex business scenario (including multiple carriers, each carrier needs to parse the corresponding PDCCH DCI and PDSCH data), the clock control method provided in the embodiment of the present application is still applicable. The following is a detailed introduction to the control process in a more complex business scenario with examples.
[0115] In another example, the Modem may include four processing modules, namely Module1, Module2, Module3 and Module4. Module1, Module2 and Module3 are similar to the previous example and are not described here for brevity. Module4 may be used for PDSCH decoding processing and may include a PDSCH decoding processor (PdschDecoder_core) and a PDSCH processing circuit (PdschDecoder_HW).
[0116] refer to Fig. 9 Another business scheduling control process diagram shown may include step 1, step 2 (including step 2-1, step 2-2 and step 2-3), step 3 (including step 3-1, step 3-2 and step 3-3), step 4, step 5 (including step 5-1 and step 5-2), and step 6 (including step 6-1 and step 6-2).
[0117] It should be noted that, in this example, step 1, step 2 (including step 2-1, step 2-2 and step 2-3) and step 3 (including step 3-1, step 3-2 and step 3-3) are similar to the previous example and will not be repeated here for the sake of brevity.
[0118] Step 4, L1C can determine the authorization parsing result of PDSCH in time slot N+1 according to the information of PDCCH obtained in time slot N. L1C can send configuration information to Module2 according to the authorization parsing result to instruct Module2 to perform PDSCH demodulation processing on symbol 0 of time slot N+2. L1C can also send configuration information to PdschDecoder_core of Module4 according to the authorization parsing result to instruct PdschDecoder_core to perform PDSCH decoding processing on symbol 2-symbol 10 of time slot N+2.
[0119] Step 5-1, Demod_core of Module2 receives the configuration information from L1C, turns on the clock gating of Demod_HW, and sets the clock frequency to high frequency. At the same time, Demod_core can determine the circuit configuration parameters of Demod_HW based on the received configuration information, and configure the circuit configuration parameters to Demod_HW. In this way, Demod_HW can perform PDSCH demodulation processing at symbol 0 of time slot N+2.
[0120] Step 5-2, PdschDecoder_core of Module4 receives the configuration information from L1C, turns on the clock gating of PdschDecoder_HW, and sets the clock frequency to high frequency. At the same time, PdschDecoder_core can determine the circuit configuration parameters of PdschDecoder_HW based on the received configuration information, and configure the circuit configuration parameters to PdschDecoder_HW. In this way, PdschDecoder_HW can perform PDSCH demodulation processing on symbol 2-symbol 10 of time slot N+2.
[0121] Step 6-1, Demod_HW performs PDSCH demodulation processing on symbol 0 of time slot N+2 according to the circuit configuration parameters. After Demod_HW completes PDSCH demodulation processing on symbol 0 of time slot N+2, it can send interrupt information to Demod_core. The interrupt information can be carried in the PDSCH demodulation result of Demod_HW, or the interrupt information can be represented by the PDSCH demodulation result. In this way, after receiving the interrupt information, Demod_core can send the PDSCH demodulation result to PdschDecoder_core of Module4. At the same time, Demod_core can immediately turn off the clock gating of Demod_HW and set the clock frequency to a low frequency state.
[0122] Step 6-2, PdschDecoder_HW can perform PDSCH decoding processing on symbol 2-symbol 10 of time slot N+2 according to the PDSCH demodulation result and circuit configuration parameters. After PdschDecoder_HW completes the PDSCH decoding processing on symbol 10 of time slot N+2, it can send interrupt information to PdschDecoder_core. The interrupt information can be carried in the PDSCH decoding result of PdschDecoder_HW, or the interrupt information can be represented by the PDSCH decoding result. In this way, after PdschDecoder_core receives the interrupt information, it can immediately turn off the clock gating of PdschDecoder_HW and set the clock frequency to a low frequency state.
[0123] Based on the analysis of the above control flow, the core of each module is responsible for completing the processing task of the HW of this module in the current time slot. When PDCCH and PDSCH are superimposed and multi-carrier continuous reception is performed, the core of each module needs to add judgment logic to be responsible for completing the judgment of whether the processing task of the HW of this module in the current time slot is completed. Taking the above Module2 as an example, Fig.10 As shown, the Demod_core judgment process of Module2 may include the following steps:
[0124] Step 1. Demod_core receives configuration information.
[0125] The configuration information may be configuration information related to PDCCH demodulation, or configuration information related to PDSCH demodulation, which is not limited in the embodiments of the present application.
[0126] Among them, Demod_core of Module2 can maintain a counter, and the initial value of the counter can be 0.
[0127] Step 2: Demod_core determines whether the clock gating of Demod_HW is turned on.
[0128] Step 3: If the clock gating of Demod_HW is not enabled, Demod_core enables the clock gating of Demod_core and sets the clock frequency to high frequency.
[0129] Step 4: If the clock gating of Demod_HW is turned on, the control counter is incremented by 1.
[0130] Step 5: When receiving the interrupt information sent by Demod_HW, the counter is reduced by 1.
[0131] Step 6: Determine whether the value of the counter is 0.
[0132] Step 7: If the counter value is 0, turn off the clock gating of Demod_HW and set the clock frequency to low frequency.
[0133] Step 8: If the counter value is not 0, continue to maintain the current state.
[0134] In summary, power consumption is one of the key performance indicators of communication equipment, and clock domain control is one of the main technical means of power consumption control. The clock control method provided in the embodiment of the present application provides precise control of the clock domain less than or equal to the TTI time granularity, and realizes the opening and closing of the TTI time granularity of the hardware clock and frequency adjustment. During service scheduling, through the clock domain control of TTI granularity, it is expected that 10% to 15% of dynamic power consumption can be saved, which not only meets the communication service requirements of complex scenarios and strict timing constraints, but also can improve the power consumption performance indicators of mobile terminals and improve user experience.
[0135] Fig.11 1 is a schematic structural diagram of a processing module 1100 for controlling a clock provided in an embodiment of the present application. Fig.11 As shown, the processing device 1100 includes:
[0136] The receiving unit 1101 is configured to receive at least one configuration information in a first time unit; each configuration information in the at least one configuration information is used to configure the processing task of the first processing module in a second time unit; the second time unit is another time unit after the first time unit;
[0137] The processing unit 1102 is configured to control clock gating to be turned on before the second time domain unit, and / or adjust the clock frequency to a first frequency;
[0138] The processing unit 1102 is further configured to control the clock gating to be closed and / or adjust the clock frequency to a second frequency when it is determined that the processing task corresponding to the at least one configuration information is completed.
[0139] In some embodiments, the first time unit and / or the second time unit is any one of the following:
[0140] Transmission time interval TTI, time slot, mini-time slot, time domain symbol set.
[0141] In some embodiments, the first processing module further includes a logic processing circuit;
[0142] The receiving unit 1101 is further configured to receive at least one interruption information sent by the logic processing circuit, wherein the at least one interruption information is associated with the at least one configuration information, and the interruption information is used to indicate that the processing task corresponding to the configuration information associated therewith has been completed;
[0143] The processing unit 1102 is further configured to determine whether a processing task corresponding to the at least one configuration information is completed based on the at least one interruption information.
[0144] In some embodiments, the processing unit 1102 is also configured to determine whether the value of the counter is an initial value after each interrupt message is received; the counter is used to increase a preset value each time a configuration message is received, and to reduce the preset value each time an interrupt message is received; if the value of the counter is the initial value, it is determined that the processing task corresponding to at least one configuration message is completed.
[0145] In some embodiments, the processing unit 1102 is further configured to determine, based on the at least one configuration information, a circuit configuration parameter corresponding to each configuration information in the at least one configuration information;
[0146] The processing module further includes a sending unit, which is configured to send circuit configuration parameters corresponding to each configuration information to the logic processing circuit, and the circuit configuration parameters are used by the logic processing circuit to process a processing task corresponding to the configuration information.
[0147] In some embodiments, each of the at least one interruption information includes a processing result of a processing task corresponding to the configuration information associated therewith.
[0148] In some embodiments, the modem further comprises a control module, and the at least one configuration information comes from the control module;
[0149] Each of the configuration information includes at least one of the following:
[0150] The time domain resources occupied by the processing task corresponding to the configuration information;
[0151] The frequency domain resources occupied by the processing task corresponding to the configuration information;
[0152] The bandwidth occupied by the processing task corresponding to the configuration information; and
[0153] The type of processing task corresponding to the configuration information.
[0154] In some embodiments, the processing unit 1102 is further configured to control the clock gating of the logic processing circuit to be turned on, and / or adjust the clock frequency of the processor and the logic processing circuit to the first frequency; control the clock gating of the logic processing circuit to be turned off, and / or adjust the clock frequency of the processor and the logic processing circuit to the second frequency.
[0155] In some embodiments, the second frequency is less than the first frequency.
[0156] Those skilled in the art should understand that the relevant description of the above-mentioned processing module in the embodiment of the present application can be understood by referring to the relevant description of the clock control method in the embodiment of the present application.
[0157] Fig.12 It is a schematic structural diagram of a processing module 1200 for controlling a clock provided in an embodiment of the present application. Fig.12 The processing module 1000 shown includes a processor 1210, and the processor 1210 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0158] Alternatively, if Fig.12 As shown, the processing module 1200 may further include a memory 1220. The processor 1210 may call and run a computer program from the memory 1220 to implement the method in the embodiment of the present application.
[0159] The memory 1220 may be a separate device independent of the processor 1210 , or may be integrated into the processor 1210 .
[0160] In some embodiments, Fig.12 As shown, the processing module 1200 may further include a logic processing circuit 1230, and the processor 1210 may control the logic processing circuit 1230 to process other related communication services.
[0161] In some embodiments, the processing module 1200 can implement the corresponding processes implemented by the first processing module / processing module in each method of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0162] Fig.13 It is a schematic structural diagram of a modem according to an embodiment of the present application. Fig.13 The illustrated modem may include N processing modules. Each of the N processing modules may include a processor, a memory, and a logic processing circuit.
[0163] In some embodiments, any processing module in the modem can implement the corresponding process implemented by the first processing module / processing module in each method of the embodiments of the present application. For the sake of brevity, it will not be repeated here.
[0164] The present application also provides a communication device, which may include Fig.13 In other words, Fig.13 The shown modem may be employed in a communication device.
[0165] The present application also provides a computer storage medium, specifically a computer readable storage medium, on which computer instructions are stored, and when the computer storage medium is located in a processor in a processing module, the computer instructions are executed by the processor to implement any step of the clock control method of the present application.
[0166] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0167] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0168] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or at least two units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0169] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0170] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0171] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0172] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A clock control method, characterized in that: A processor applied to a first processing module, where the first processing module is any one of a plurality of processing modules in a modem, wherein the method includes: receiving at least one configuration information in a first time unit; each configuration information in the at least one configuration information is used to configure a processing task of the first processing module in a second time unit; the second time unit is another time unit after the first time unit; Before the second time unit, controlling the clock gating to be turned on, and / or adjusting the clock frequency to the first frequency; When it is determined that the processing task corresponding to the at least one configuration information is completed, the clock gating is controlled to be closed, and / or the clock frequency is adjusted to a second frequency.
2. The method according to claim 1, characterized in that The first time unit and / or the second time unit is any one of the following: Transmission time interval TTI, time slot, mini-time slot, time domain symbol set.
3. The method according to claim 1 or 2, characterized in that The first processing module further includes a logic processing circuit; Before, upon determining that the processing task corresponding to the at least one configuration information is completed, controlling the clock gating to be closed, and / or adjusting the clock frequency to the second frequency, the method further includes: receiving at least one interrupt message sent by the logic processing circuit, where the at least one interrupt message is associated with the at least one configuration information, and the interrupt message is used to indicate that a processing task corresponding to the configuration information associated therewith has been completed; Based on the at least one interruption information, it is determined whether a processing task corresponding to the at least one configuration information is completed.
4. The method according to claim 3, characterized in that The determining, based on the at least one interruption information, whether the processing task corresponding to the at least one configuration information is completed includes: After each interrupt message is received, determining whether the value of the counter is the initial value; the counter is used to increase the preset value each time a configuration message is received, and decrease the preset value each time an interrupt message is received; If the value of the counter is the initial value, it is determined that the processing task corresponding to the at least one configuration information is completed.
5. The method according to claim 3, characterized in that The method further comprises: Based on the at least one configuration information, determining a circuit configuration parameter corresponding to each configuration information in the at least one configuration information; The circuit configuration parameters corresponding to each piece of configuration information are sent to the logic processing circuit, where the circuit configuration parameters are used by the logic processing circuit to process the processing task corresponding to the configuration information.
6. The method according to claim 3, characterized in that Each of the at least one interruption information includes a processing result of a processing task corresponding to the configuration information associated therewith.
7. The method according to claim 1 or 2, characterized in that The modem further includes a control module, the at least one configuration information coming from the control module; Each of the configuration information includes at least one of the following: The time domain resources occupied by the processing task corresponding to the configuration information; Frequency domain resources occupied by the processing task corresponding to the configuration information; The bandwidth occupied by the processing task corresponding to the configuration information; and The type of processing task corresponding to the configuration information.
8. The method according to claim 1 or 2, characterized in that The first processing module further includes a logic processing circuit, and the control clock gating is enabled and / or the clock frequency is adjusted to the first frequency, including: Controlling, by the processor, clock gating of the logic processing circuit to be enabled, and / or adjusting the clock frequency of the processor and the logic processing circuit to the first frequency; The controlling the clock gating to be closed and / or adjusting the clock frequency to a second frequency includes: The processor controls the clock gating of the logic processing circuit to be closed, and / or adjusts the clock frequency of the processor and the logic processing circuit to the second frequency.
9. The method according to claim 1 or 2, characterized in that The second frequency is lower than the first frequency.
10. A processing module for controlling a clock, characterized in that: Applied to a modem, the processing module includes: a receiving unit configured to receive at least one configuration information in a first time unit; each configuration information in the at least one configuration information is used to configure a processing task of the processing module in a second time unit; the second time unit is another time unit after the first time unit; a processing unit configured to control clock gating to be turned on before the second time domain unit, and / or adjust the clock frequency to the first frequency; The processing unit is further configured to control the clock gating to be closed and / or adjust the clock frequency to a second frequency when it is determined that the processing task corresponding to the at least one configuration information is completed.
11. A processing module, characterized in that: The system comprises a processor, a logic processing circuit and a memory, wherein the memory is used to store a computer program, and the processor is used to combine with the logic processing circuit, call and run the computer program stored in the memory, and execute the method according to any one of claims 1 to 9.
12. A modem, characterized in that: The method comprises a plurality of processing modules, wherein each of the plurality of processing modules comprises a processor, a logic processing circuit and a memory, the memory being used to store a computer program, the processor being used to combine with the logic processing circuit, and to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 9.
13. A communication device, characterized in that: The invention comprises a modem, wherein the modem comprises a plurality of processing modules, wherein each of the plurality of processing modules comprises a processor, a logic processing circuit and a memory, the memory being used to store a computer program, and the processor being used to combine with the logic processing circuit, and call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 9.
14. A computer-readable storage medium, characterized in that Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 9.
