A method and terminal for realizing low power consumption mode of DRAM

By configuring the control strategy and dynamic adjustment of the low-power mode according to the application type of DRAM, the problem of poor power consumption control effect of multi-channel DRAM in the existing technology is solved, and better power consumption and performance effects are achieved.

CN112394805BActive Publication Date: 2024-09-20FUZHOU ROCKCHIP SEMICON
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910738337.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-12
Publication Date
2024-09-20
Estimated Expiration
2039-08-12

AI Technical Summary

Technical Problem

Existing DRAM power consumption control methods cannot achieve better power consumption and performance effects while ensuring system performance. Especially in multi-channel DRAM scenarios, uniformly configured low-power modes cannot meet the needs of different application types.

Method used

By determining the application type of DRAM, configuring the corresponding low-power mode control strategy, and storing data to different DRAM channels according to the application type, dynamically adjust the type, entry time, and exit time of the low-power mode, such as frame data access. and screen data access configure different low-power modes and exit strategies respectively.

Benefits of technology

It achieves better power consumption and performance effects for data access of different application types, reduces the overall power consumption of DRAM, and improves the performance of DRAM.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112394805B
    Figure CN112394805B
Patent Text Reader

Abstract

The present invention discloses a method and a terminal for realizing a low power consumption mode of a DRAM, which determine the application type for data access to the DRAM; configure a corresponding control strategy for the low power consumption mode according to the application type; and can configure the corresponding control strategy for the low power consumption mode according to different access types of different application types, and configure a corresponding control strategy for the low power consumption mode according to the data access characteristics of different application types, so that the DRAM has corresponding better power consumption effect and performance effect for data access of different application types, thereby achieving overall better power consumption and performance effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power consumption control, and in particular to a method and a terminal for realizing a low power consumption mode of a DRAM. Background Art

[0002] In the field of mobile devices and embedded systems, due to the limited battery capacity, the system needs to optimize the power consumption of each module while ensuring system performance. Dynamic random access memory (DRAM) is an important part of the system, and its power consumption control has always been a research hotspot in the industry. In order to make DRAM have lower power consumption, it can be achieved in various ways. Among them, the JEDEC (Solid State Technology Association) standard defines different levels of low power modes for the operating mode. The typical low-power modes defined by JEDEC are self-refresh mode and power-down mode. These two low-power modes have different characteristics and require different entry and exit times. For example, the manual of a DRAM chip shows that the power consumption when the chip is in a state without data access (idle) is 70mA, the power consumption in self-refresh mode and power-down mode is 1mA, and the entry time of power-down mode and self-refresh mode is 0TCK, which means that it can be entered immediately. The exit time of power-down mode is 7.5ns~24ns. In this mode, each refresh cycle (maximum 70us) needs to be exited for refresh; the exit time of self-refresh mode is 1280us. This mode does not need to be exited for refresh before data access, so self-refresh mode has better power consumption performance than power-down mode.

[0003] The existing DRAM power consumption control is implemented by configuring the DRAM controller on the SoC, and a unified configuration is usually used in the system to control the low power consumption mode of DRAM, that is, either a uniformly configured self-refresh mode or a uniformly configured power-off mode is used. This method cannot achieve good power consumption and performance effects. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method and a terminal for realizing a low power consumption mode of a DRAM, which can achieve better power consumption and performance effects.

[0005] In order to solve the above technical problems, a technical solution adopted by the present invention is:

[0006] A method for implementing a low power consumption mode of a DRAM comprises the steps of:

[0007] Determining an application type that accesses data to the DRAM;

[0008] A control strategy for a corresponding low power consumption mode is configured according to the application type.

[0009] Furthermore, if the DRAM is a multi-channel DRAM, data accessed by different application types are stored in different DRAM channels.

[0010] Furthermore, if the DRAM is a multi-channel DRAM, corresponding low power consumption mode control strategies are independently configured for different DRAM channels.

[0011] Furthermore, the configuration of the control strategy of the low power consumption mode can be dynamically adjusted during the data access process.

[0012] Furthermore, the control strategy of the low power consumption mode includes selection of the type of the low power consumption mode and / or control of the entry time and / or exit time of the selected low power consumption mode.

[0013] Furthermore, if the data access to the DRAM is frame data access, then after each frame data access is completed, the DRAM is immediately controlled to enter the selected first low power consumption mode.

[0014] Furthermore, it also includes:

[0015] The DRAM is triggered to exit the selected first low power consumption mode according to the frame interval timing of the frame data access.

[0016] Furthermore, the triggering time of the timing trigger is: the access time of the next frame of valid data minus the time consumed for exiting the selected first low power consumption mode.

[0017] Furthermore, if the data access to the DRAM is screen data access, the DRAM is immediately controlled to enter the selected second low power consumption mode after each row of data access to the screen data is completed;

[0018] After access to each frame of the screen data is completed, the DRAM is immediately controlled to enter the selected third low power consumption mode.

[0019] Furthermore, it also includes:

[0020] Triggering the DRAM to exit the selected second low power consumption mode according to the row interval timing of the screen data access;

[0021] The DRAM is triggered to exit the selected third low power consumption mode according to the frame interval timing of the screen data access.

[0022] Further, the triggering time of the timing triggering the exit of the second low power consumption mode is: the access time of the next row of valid data minus the time consumed by the selected second low power consumption mode exit;

[0023] The triggering time for timing triggering the exit of the third low power consumption mode is: the access time of the next frame of valid data minus the time consumed for exiting the selected third low power consumption mode.

[0024] Furthermore, the second low power consumption mode is a power-off mode;

[0025] The third low power consumption mode is a self-refresh mode.

[0026] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0027] A terminal for implementing a low power consumption mode of a DRAM includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0028] Determining an application type that accesses data to the DRAM;

[0029] A control strategy for a corresponding low power consumption mode is configured according to the application type.

[0030] Furthermore, if the DRAM is a multi-channel DRAM, data accessed by different application types are stored in different DRAM channels.

[0031] Furthermore, if the DRAM is a multi-channel DRAM, corresponding low power consumption mode control strategies are independently configured for different DRAM channels.

[0032] Furthermore, the configuration of the control strategy of the low power consumption mode can be dynamically adjusted during the data access process.

[0033] Furthermore, the control strategy of the low power consumption mode includes selection of the type of the low power consumption mode and / or control of the entry time and / or exit time of the selected low power consumption mode.

[0034] Furthermore, if the data access to the DRAM is frame data access, then after each frame data access is completed, the DRAM is immediately controlled to enter the selected first low power consumption mode.

[0035] Furthermore, it also includes:

[0036] The DRAM is triggered to exit the selected first low power consumption mode according to the frame interval timing of the frame data access.

[0037] Furthermore, the triggering time of the timing trigger is: the access time of the next frame of valid data minus the time consumed for exiting the selected first low power consumption mode.

[0038] Furthermore, if the data access to the DRAM is screen data access, the DRAM is immediately controlled to enter the selected second low power consumption mode after each row of data access to the screen data is completed;

[0039] After access to each frame of the screen data is completed, the DRAM is immediately controlled to enter the selected third low power consumption mode.

[0040] Furthermore, it also includes:

[0041] Triggering the DRAM to exit the selected second low power consumption mode according to the row interval timing of the screen data access;

[0042] The DRAM is triggered to exit the selected third low power consumption mode according to the frame interval timing of the screen data access.

[0043] Further, the triggering time of the timing triggering the exit of the second low power consumption mode is: the access time of the next row of valid data minus the time consumed by the selected second low power consumption mode exit;

[0044] The triggering time for timing triggering the exit of the third low power consumption mode is: the access time of the next frame of valid data minus the time consumed for exiting the selected third low power consumption mode.

[0045] Furthermore, the second low power consumption mode is a power-off mode;

[0046] The third low power consumption mode is a self-refresh mode.

[0047] The beneficial effects of the present invention are as follows: a control strategy for a corresponding low power mode is configured according to the application type that accesses data to the DRAM, and a control strategy for a corresponding low power mode can be configured according to different access types of different application types. A control strategy for a low power mode that is suitable for data access characteristics of different application types is configured, so that for data access of different application types, the DRAM has corresponding better power consumption and performance effects, thereby achieving overall better power consumption and performance effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A flowchart of a method for implementing a low power consumption mode of a DRAM according to an embodiment of the present invention;

[0049] Figure 2 A schematic diagram of the structure of a terminal for implementing a low power consumption mode of a DRAM according to an embodiment of the present invention;

[0050] Figure 3 A schematic diagram of data storage allocation in each channel of a multi-channel DRAM in a SoC system according to an embodiment of the present invention;

[0051] Figure 4 A schematic diagram of the signal timing for enabling dynamic entry into the self-refresh mode during operation in the prior art;

[0052] Figure 5 A schematic diagram of the signal timing of entering the self-refresh mode without waiting for debounce time in an embodiment of the present invention;

[0053] Figure 6 A schematic diagram of the signal timing of entering the self-refresh mode without waiting for debounce time and provided with a timer in an embodiment of the present invention;

[0054] Figure 7 A specific flow chart of a method for implementing a DRAM low power consumption mode in an application scenario of screen data access in an embodiment of the present invention;

[0055] Figure 8 A flowchart of monitoring DRAM data access and allowing a DRAM channel to enter a corresponding mode in an embodiment of the present invention;

[0056] Description of labels:

[0057] 1. A terminal for implementing a low power consumption mode of a DRAM; 2. Memory; 3. Processor. DETAILED DESCRIPTION

[0058] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in conjunction with the implementation modes and the accompanying drawings.

[0059] The method and terminal for implementing the low power consumption mode of DRAM proposed in the present invention can be applied to various scenarios that need to be applied to DRAM, and will be described below in conjunction with specific application scenarios.

[0060] Please refer to Figure 1 , a method for implementing a low power consumption mode of a DRAM, comprising the steps of:

[0061] Determining an application type that accesses data to the DRAM;

[0062] Configure a control strategy for a corresponding low power consumption mode according to the application type;

[0063] Specifically, a variety of different application types for DRAM data access can be set. For example, three types can be set: CPU access, frame data access, and screen data access. When it comes to the above three types of access, different low-power mode control strategies are configured respectively. The low-power mode control strategy corresponding to each access type is adapted to its data access characteristics, and can achieve better power consumption and performance effects.

[0064] In another optional embodiment, if the DRAM is a multi-channel DRAM, data accessed by different application types are stored in different DRAM channels;

[0065] Specifically, the DRAM space corresponding to the regions of different channels can be specifically allocated to different applications for use, such as Figure 3 As shown, the code and data run by the CPU can be placed in CS#0 and CS#1, the frame data can be placed in CS#2, and the screen data can be placed in CS#3. In this way, different low-power mode control strategies can be configured for DRAMs of different channels, so that DRAMs of different channels have a greater chance of entering low-power modes. For example, if the program running in the system does not access the DRAMs of CS#2 and CS#3, CS#2 and CS#3 can enter the preset low-power mode; if the decoding controller on the SoC is accessing the frame data located in CS#2, and there is no other active DRAM access, then the DRAMs of other channels except the CS#2 DRAM can enter the preset low-power mode;

[0066] By storing data accessed by different application types in different channels and configuring different low-power mode control strategies, it is possible to achieve local DRAM operation or enter low-power mode without having to operate the entire DRAM block or enter low-power mode every time, which can further reduce DRAM power consumption and improve DRAM performance.

[0067] In another optional embodiment, if the DRMA is a multi-channel DRAM, corresponding low power mode control strategies are independently configured for different DRAM channels; thus, when performing DRAM data storage, corresponding data can be stored for the low power mode control strategies configured for each channel.

[0068] In another optional embodiment, the configuration of the control strategy of the low power consumption mode can be dynamically adjusted during the data access process:

[0069] For example, the frame data storage area, screen data storage area and other common memory spaces may be stored in the DRAM of the same channel, and there may be only one specific DRAM access behavior in a specific time period. The control strategy of the low power mode of the DRAM of the corresponding channel can be dynamically configured based on application requirements to obtain the best power consumption performance;

[0070] Or for example, the DRAM of a certain channel is pre-configured with a corresponding low power mode control strategy, but as the stored data changes, it is found that the pre-configured low power mode control strategy is not compatible with the stored data. In this case, the low power mode control strategy corresponding to the channel can be adaptively changed.

[0071] In another optional embodiment, the control strategy of the low power consumption mode includes selection of the type of the low power consumption mode and / or control of the entry time and / or exit time of the selected low power consumption mode;

[0072] The control strategy of the low power mode can be configured differently according to specific needs.

[0073] In another optional embodiment, if the data access to the DRAM is frame data access, then after each frame data access is completed, the DRAM is immediately controlled to enter the selected first low power consumption mode. If it is a multi-channel DRAM, the DRAM of the channel corresponding to the area storing the frame data is controlled to enter the selected first low power consumption mode.

[0074] Figure 4 The figure shows a typical signal timing diagram for enabling dynamic entry into self-refresh mode during operation. In the figure, BUS represents the read and write status of the bus to DRAM. From time a to time b, there is no data access and the bus is in an idle state. CMD is the DRAM command issued by the controller. At time c, the entry self-refresh command 'SRE' is issued, and at time d, the exit self-refresh command 'SRX' is issued. From time e, any valid read and write commands are accepted. CLK is the clock signal provided by the DRAM controller to the DRAM. CKE is the clock signal enable signal. At time f, the CKE signal changes from high to low, and at time g, the CKE signal changes from low to high. During the period when CKE is low, the clock can be any signal. Generally, the clock is stopped to save power.

[0075] Figure 4 In the figure, the time length from time a to time c is T1. This time period is usually set to prevent the DRAM from frequently entering the self-refresh exit debounce time. That is, if the DRAM controller detects that the DRAM interface is idle for a length of T1, it will start the logic to make the DRAM enter the self-refresh mode.

[0076] The time length from time c to time f is T3, which is the time to enter the DRAM self-refresh mode. It is fixed and can be calculated according to the DRAM data sheet.

[0077] The time from time b to time e is T2. During this time, the bus wants to read and write DRAM data but cannot do so. It cannot read and write DRAM normally until time e. This period of time is considered performance loss.

[0078] The time length from time g to time e is T4, which is the exit time of DRAM self-refresh mode. It is fixed and can be calculated according to the DRAM data sheet.

[0079] The time length from time f to time g is T5, during which DRAM is in low power consumption;

[0080] If you can minimize the time of T1 and T2, you can get the longest T5;

[0081] For frame data access, frame data has a fixed frame rate. For example, video data such as movies and TV have a fixed frame rate. As long as the frame rate is fixed, the frame interval time can be obtained. Taking a movie video with a frame rate of 25 as an example, the frame interval is 40 milliseconds, and the data processing of each frame is continuous. There is an interval between the data processing of frames. If the actual decoding and processing time of a frame of data is 20 milliseconds, then the remaining 20 milliseconds is the idle time without DRAM access. For the processing of this data type, there is no need to consider the de-bouncing time. After a frame of data is accessed, the DRAM can be immediately controlled to enter the selected first low power mode. The signal timing of this processing method is as follows Figure 5 As shown, compared Figure 4 and Figure 5 It can be seen that Figure 5 The timing diagram shown does not have the T1 time debounce waiting time, but when the BUS state change is detected by the previous clock signal, the next clock signal directly controls the DRAM to enter the low power mode;

[0082] In another optional embodiment, it also includes:

[0083] Triggering the DRAM to exit the selected first low power consumption mode according to the frame interval timing of the frame data access;

[0084] Since the interval between frames is fixed in the application scenario of frame data access, a timer can be added to reduce the time. Figure 4 or Figure 5 The purpose of the time in T2;

[0085] Specifically, Figure 6 As shown, according to the frame interval timing triggering DRAM controller to send a command to exit the low power mode to the DRAM, so that the DRAM exits the selected first low power mode, that is, Figure 6 The interval T7 between time j and time k is the frame interval;

[0086] Preferably, the time point of issuing the command to exit the low power mode is pushed forward by the time T6 consumed by the low power mode exit at the fixed data reading and writing time point, that is, the trigger time of the timing trigger is: the access time of the next frame of valid data minus the time consumed by the selected first low power mode exit, that is, Figure 6 The time corresponding to point b minus T6 is the time point when the command to exit the low power mode is issued;

[0087] from Figure 6 It can be seen that by controlling the entry time and exit time of the selected low power mode, the DRAM controller immediately puts the DRAM into the low power mode after the bus enters the idle state, and when the bus has data to access, the DRAM is already in a state where it can be effectively accessed, which reduces power consumption and does not cause performance loss; and by determining the fixed data read and write points and the time consumed by exiting the selected first low power mode, it can be ensured that when the bus needs to read and write data, the DRAM is in a state where it can be effectively accessed;

[0088] The selected first low power consumption mode can be set as required, and can be a power-off mode or a self-refresh mode.

[0089] In another optional embodiment, if the data access to the DRAM is screen data access, then after the access to each row of the screen data is completed, the DRAM is immediately controlled to enter the selected second low power consumption mode;

[0090] After accessing each frame of the screen data, immediately controlling the DRAM to enter the selected third low power consumption mode;

[0091] The second low power consumption mode and the third low power consumption mode may be the same low power consumption mode or different low power consumption modes. Preferably, the second low power consumption mode is a power-off mode, and the third low power consumption mode is a self-refresh mode.

[0092] The application scenario of screen data access is determined according to the screen difference. If the display frame rate of a screen is 30 frames, the frame interval between different image frames is 33.3 milliseconds. The time for waiting for the next frame after one frame is refreshed is the field blanking time. This time is fixed and generally greater than 200 microseconds. According to the characteristics of different low-power modes, the DRAM can be set to enter the self-refresh mode at this time, that is, after accessing each frame of screen data, the DRAM is immediately controlled to enter the self-refresh mode.

[0093] Each frame of screen data has different rows according to the screen size. For example, a 1024*768 resolution display has 768 rows. The interval between each row is about 40 microseconds. The time for waiting for the next row of data after a row of data is refreshed is the row blanking time. This time is also fixed, usually a few microseconds. At this time, DRAM can be set to enter power-off mode, that is, after accessing each row of screen data, DRAM is immediately controlled to enter power-off mode.

[0094] In order to ensure that the DRAM is in a valid state when the next row of data or the next frame of data is accessed, and to reduce power consumption while avoiding performance loss, two timers can be set: Timer A and Timer B.

[0095] Timer A triggers the DRAM to exit the self-refresh mode according to the frame interval of the screen data access;

[0096] Timer B triggers the DRAM to exit the power-off mode according to the row interval timing of the screen data access;

[0097] Preferably, the triggering time of the timer A to periodically trigger the exit of the self-refresh mode is: the access time of the next frame of valid data minus the time consumed by the exit of the self-refresh mode;

[0098] The triggering time of the timer B to periodically trigger the exit of the power-off mode is: the access time of the next row of valid data minus the time consumed by the exit of the power-off mode;

[0099] For example, the row interval refers to the interval between rows of data refresh time, which includes the row blanking time. Therefore, at least during the row blanking period, the DRAM can be controlled to enter the low power mode. If the data transmission is completed in advance, the low power mode can be entered in advance. Assuming that the row interval is 40us, if it takes 25us to access the DRAM to transmit data, there are 15us that are idle for the DRAM. This period can be in the power-off mode. In order to ensure that the DRAM is in a valid state when the next row of data is to be accessed, the timer can be set to wake up the DRAM 24ns before the next row of data is accessed (24ns is the time required to exit the power-off mode) to make the DRAM exit the power-off mode. After that, timer B can wake up the DRAM according to the row interval.

[0100] Therefore, timer B only needs to be set once when it is started, that is, the time for the first triggering of DRAM to exit low power mode is set, and this time is the access time of the next row of valid data minus the time consumed by exiting the power-off mode; thereafter, timer B can be triggered regularly according to the row interval;

[0101] The specific flow chart of the implementation method of DRAM low power mode in the above screen data access application scenario is as follows: Figure 7 shown.

[0102] In another optional embodiment, the control strategies of the low power consumption modes corresponding to the CPU access, screen data access and frame data access are integrated. The specific flow chart is as follows: Figure 8 As shown;

[0103] Monitor the access to data in each DRAM channel. For each channel, determine whether there is only one access mode. If so, perform data access according to the control strategy of the low-power mode configured for the access mode:

[0104] If it is CPU access, since the timing of CPU accessing DRAM is random and unpredictable, the conventional low power mode is adopted, that is, the DRAM is allowed to enter the low power mode only after it has been idle for a period of time, that is, there is a debounce time T1, and no timer;

[0105] If it is screen data access, the corresponding screen data mode is performed to realize power consumption control, that is, the implementation method of the DRAM low power consumption mode in the application scenario of screen data access in the previous embodiment is adopted, without debounce time, and a self-refresh timer and a power-off mode timer are set;

[0106] If it is frame data access, the corresponding frame data mode is performed to realize power consumption control, that is, the implementation method of the DRAM low power consumption mode in the application scenario of frame data access in the previous embodiment is adopted, and the low power consumption mode entered adopts the self-refresh mode, has no debounce time, and is provided with a self-refresh timer;

[0107] If multiple access modes are included, the DRAM channel will enter the corresponding data access mode according to different access modes in different time periods to achieve power consumption control.

[0108] In another optional embodiment, please refer to Figure 2 A terminal 1 for implementing a low power consumption mode of a DRAM includes a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, the steps of each of the above-mentioned method embodiments are implemented.

[0109] In summary, the present invention provides a method and terminal for implementing a low power consumption mode of a DRAM. By setting different low power consumption modes and corresponding entry and exit strategies for DRAMs of different channels and different data access application types, for scenarios where data such as frame data processing and display screen refresh data have certain access rules, the area storing corresponding data on the DRAM is controlled to directly enter the selected low power consumption mode without waiting for the debouncing time, and the DRAM is controlled to exit the selected low power consumption mode according to the frame interval or line interval of the data frame, so that when data is accessed, the DRAM is in an effective state, which can greatly reduce the DRAM power consumption without affecting the performance at all, and can enable each DRAM channel to have more opportunities to enter the low power consumption mode, further reducing the system power consumption. At the same time, during the data access process, the control strategy of the low power consumption mode configured for the DRAM of each channel can be dynamically adjusted, and the control strategy of the pre-configured low power consumption mode can be dynamically adjusted according to the changes in the access behavior of different applications, thereby improving flexibility and ensuring robustness.

[0110] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for implementing a low power consumption mode of a DRAM, characterized in that: Includes steps: Determining an application type that accesses data to the DRAM; Configure a control strategy for a corresponding low power consumption mode according to the application type; The control strategy of the low power consumption mode includes selection of the type of the low power consumption mode and / or control of the entry time and / or exit time of the selected low power consumption mode; If the data access to the DRAM is frame data access, then after each frame data access is completed, the DRAM is immediately controlled to enter the selected first low power consumption mode; The DRAM is triggered to exit the selected first low power consumption mode according to the frame interval timing of the frame data access.

2. The method for implementing the low power consumption mode of DRAM according to claim 1, characterized in that: If the DRAM is a multi-channel DRAM, data accessed by different application types are stored in different DRAM channels.

3. The method for implementing the low power consumption mode of DRAM according to claim 1, characterized in that: If the DRAM is a multi-channel DRAM, corresponding low power consumption mode control strategies are independently configured for different DRAM channels.

4. The method for implementing the low power consumption mode of a DRAM according to any one of claims 1 to 3, characterized in that: The configuration of the control strategy of the low power consumption mode can be dynamically adjusted during the data access process.

5. The method for implementing the low power consumption mode of DRAM according to claim 1, characterized in that: The triggering time of the timing trigger is: the access time of the next frame of valid data minus the time consumed for exiting the selected first low power consumption mode.

6. The method for implementing the low power consumption mode of DRAM according to claim 1, characterized in that: If the data access to the DRAM is screen data access, then after the access to each row of the screen data is completed, the DRAM is immediately controlled to enter the selected second low power consumption mode; After access to each frame of the screen data is completed, the DRAM is immediately controlled to enter the selected third low power consumption mode.

7. The method for implementing the low power consumption mode of DRAM according to claim 6, characterized in that: Also includes: Triggering the DRAM to exit the selected second low power consumption mode according to the row interval timing of the screen data access; The DRAM is triggered to exit the selected third low power consumption mode according to the frame interval timing of the screen data access.

8. The method for implementing the low power consumption mode of DRAM according to claim 7, characterized in that: The triggering time of timing triggering the exit of the second low power consumption mode is: the access time of the next row of valid data minus the time consumed by the selected second low power consumption mode exit; The triggering time for timing triggering the exit of the third low power consumption mode is: the access time of the next frame of valid data minus the time consumed for exiting the selected third low power consumption mode.

9. The method for implementing the low power consumption mode of a DRAM according to any one of claims 6 to 8, characterized in that: The second low power consumption mode is a power-off mode; The third low power consumption mode is a self-refresh mode.

10. A terminal for implementing a low power consumption mode of a DRAM, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the following steps are implemented: Determining an application type that accesses data to the DRAM; Configure a control strategy for a corresponding low power consumption mode according to the application type; The control strategy of the low power consumption mode includes selection of the type of the low power consumption mode and / or control of the entry time and / or exit time of the selected low power consumption mode; If the data access to the DRAM is frame data access, then after each frame data access is completed, the DRAM is immediately controlled to enter the selected first low power consumption mode; The DRAM is triggered to exit the selected first low power consumption mode according to the frame interval timing of the frame data access.

11. The low power consumption mode implementation terminal of DRAM according to claim 10, characterized in that: If the DRAM is a multi-channel DRAM, data accessed by different application types are stored in different DRAM channels.

12. The low power consumption mode implementation terminal of DRAM according to claim 10, characterized in that: If the DRAM is a multi-channel DRAM, corresponding low power consumption mode control strategies are independently configured for different DRAM channels.

13. The low power consumption mode implementation terminal of DRAM according to any one of claims 10 to 12, characterized in that: The configuration of the control strategy of the low power consumption mode can be dynamically adjusted during the data access process.

14. The low power consumption mode implementation terminal of DRAM according to claim 10, characterized in that: The triggering time of the timing trigger is: the access time of the next frame of valid data minus the time consumed for exiting the selected first low power consumption mode.

15. The low power consumption mode implementation terminal of DRAM according to claim 10, characterized in that: If the data access to the DRAM is screen data access, then after the access to each row of the screen data is completed, the DRAM is immediately controlled to enter the selected second low power consumption mode; After access to each frame of the screen data is completed, the DRAM is immediately controlled to enter the selected third low power consumption mode.

16. The low power consumption mode implementation terminal of DRAM according to claim 15, characterized in that: Also includes: Triggering the DRAM to exit the selected second low power consumption mode according to the row interval timing of the screen data access; The DRAM is triggered to exit the selected third low power consumption mode according to the frame interval timing of the screen data access.

17. The low power consumption mode implementation terminal of DRAM according to claim 16, characterized in that: The triggering time of timing triggering the exit of the second low power consumption mode is: the access time of the next row of valid data minus the time consumed by the selected second low power consumption mode exit; The triggering time for timing triggering the exit of the third low power consumption mode is: the access time of the next frame of valid data minus the time consumed for exiting the selected third low power consumption mode.

18. The low power consumption mode implementation terminal of DRAM according to any one of claims 15 to 17, characterized in that: The second low power consumption mode is a power-off mode; The third low power consumption mode is a self-refresh mode.