CN108536271B - Method and device for reducing power consumption and storage medium - Google Patents

Method and device for reducing power consumption and storage medium Download PDF

Info

Publication number
CN108536271B
CN108536271B CN201810276332.0A CN201810276332A CN108536271B CN 108536271 B CN108536271 B CN 108536271B CN 201810276332 A CN201810276332 A CN 201810276332A CN 108536271 B CN108536271 B CN 108536271B
Authority
CN
China
Prior art keywords
ddr
data
target
stored
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810276332.0A
Other languages
Chinese (zh)
Other versions
CN108536271A (en
Inventor
初德进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201810276332.0A priority Critical patent/CN108536271B/en
Publication of CN108536271A publication Critical patent/CN108536271A/en
Application granted granted Critical
Publication of CN108536271B publication Critical patent/CN108536271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3237Power saving characterised by the action undertaken by disabling clock generation or distribution

Abstract

The embodiment of the application relates to the technical field of electronics, in particular to a method, a device and a storage medium for reducing power consumption, which are used for reducing the power consumption of terminal equipment in standby. In the embodiment of the present application, in the standby state, the power supply to the N DDR sdram DDRs according to the clock signal of the system may be stopped, and then, data belonging to a preset category in other DDRs except the target DDR among the N DDR DDRs may be stored in the target DDR. Since the terminal device only needs to supply power to the target DDR, not to supply power to all the DDRs, when the terminal device is in standby, power consumption of the terminal device in standby can be reduced.

Description

Method and device for reducing power consumption and storage medium
Technical Field
The embodiment of the application relates to the technical field of electronics, in particular to a method and a device for reducing power consumption and a storage medium.
Background
With the rapid development of mobile communication technology, a terminal device may have multiple power modes, for example, the power modes of a smart television include four modes, i.e., power-on, dc standby, Suspend To RAM (STR) standby, and dc power-off. Under the four power modes, the power consumption of starting is larger than the power consumption of direct current standby, the power consumption of direct current standby is larger than the power consumption of STR standby, and the power consumption of STR standby is larger than the power consumption of shutdown.
With the increase of the system complexity of the smart television, the time required by the smart television from direct current shutdown to startup can reach 20 seconds, and the time required by the terminal device from STR standby to startup is about 4 seconds, although the time is saved when the smart television is started up in the STR standby state, the power consumption is increased with the increase of the time of the smart television in the STR standby state.
In summary, a method for reducing power consumption is needed to reduce power consumption of a terminal device during standby.
Disclosure of Invention
The embodiment of the application provides a method, a device and a storage medium for reducing power consumption, which are used for reducing the power consumption of terminal equipment in standby.
In a first aspect, an embodiment of the present application provides a method for reducing power consumption, where in the method, power supply to N double-rate synchronous dynamic random access memories DDR according to a clock signal of a system is stopped in a standby state, where N is an integer greater than 1; determining M DDR (double data rates) as target DDR from the N DDR, wherein M is an integer smaller than N; and storing the data which are stored in the remaining N-M DDR and belong to the preset category into the target DDR, and supplying power to the target DDR according to the clock signal corresponding to the target DDR.
In a second aspect, an embodiment of the present application provides an apparatus for reducing power consumption, including a processing unit, configured to stop, in a standby state, power supply to N double-data-rate synchronous dynamic random access memories DDR according to a clock signal of a system, where N is an integer greater than 1; determining M DDR (double data rates) as target DDR from the N DDR, wherein M is an integer smaller than N; the storage unit is used for storing the data which are stored in the remaining N-M DDR and belong to the preset category into the target DDR; the processing unit is further configured to supply power to the target DDR according to a clock signal corresponding to the target DDR.
In a third aspect, an embodiment of the present application provides a computer storage medium, where instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the first aspect or the method in any possible implementation manner of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
In the embodiment of the application, since the power supply of the N DDR sdram DDRs according to the clock signal of the system may be stopped in the standby state, the data belonging to the preset category in the other DDRs except the target DDR among the N DDR may be stored in the target DDR. Since the terminal device only needs to supply power to the target DDR, not to supply power to all the DDRs, when the terminal device is in standby, power consumption of the terminal device in standby can be reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a system architecture suitable for use in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for reducing power consumption according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a DDR connection according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for reducing power consumption according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a method for reducing power consumption according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for reducing power consumption according to an embodiment of the present disclosure.
Detailed Description
In order to make the purpose, technical solution and beneficial effects of the present application more clear and more obvious, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 illustrates an exemplary system architecture diagram applicable to the embodiment of the present application, as shown in fig. 1, including a terminal device 10, a Central Processing Unit (CPU) 101 inside the terminal device 10, an Embedded multimedia Card (EMMC) 102, and a Double Data Rate Synchronous Random Access Memory (DDR SDRAM) 103. In the embodiment of the present application, the double-rate sdram 103 may be abbreviated as DDR.
In the embodiment of the application, the EMMC102 and the DDR103 may store currently operating data in different power modes. First, the terminal device 10 may store currently running data in the EMMC102 in the ac-off power mode, and when the terminal device is turned back on, the CPU101 may obtain the data from the EMMC 102. Second, the terminal device 10 may store currently running data in the DDR103 in the power mode of STR standby, and when the terminal device is rebooted, the CPU101 may acquire the data from the DDR 103.
In the embodiment of the application, the terminal device may be an embedded device such as a smart television, a mobile phone, a tablet computer, a digital camera, and the like.
Fig. 2 is a schematic flowchart illustrating a method for reducing power consumption, which is applicable to the embodiment of the present application, and as shown in fig. 2, the method includes:
step 201, the terminal device stops supplying power to N double-rate synchronous dynamic random access memories DDR according to a clock signal of a system in a standby state, where N is an integer greater than 1;
step 202, the terminal device determines M DDR (double data rates) as target DDR from the N DDR, wherein M is an integer smaller than N;
in step 203, the terminal device stores the data belonging to the preset category and stored in the remaining N-M DDRs into the target DDR, and supplies power to the target DDR according to the clock signal corresponding to the target DDR.
In the prior art, since all the DDRs need to be powered when the terminal device is in standby, power consumption is increased as the number of the DDRs in the terminal device is increased. In the embodiment of the application, since the power supply of the N DDR sdram DDRs according to the clock signal of the system may be stopped in the standby state, the data belonging to the preset category in the other DDRs except the target DDR among the N DDR may be stored in the target DDR. Since the terminal device only needs to supply power to the target DDR, not to supply power to all the DDRs, when the terminal device is in standby, power consumption of the terminal device in standby can be reduced.
In the embodiment of the present application, the remaining N-M DDRs may be referred to as non-target DDRs.
In this embodiment of the application, the standby in the standby command in step 201 may include STR standby, where STR standby refers to storing data in DDR when the terminal device is in standby, and reading data from DDR makes the terminal device enter a state before standby without complex system detection when the terminal device is started, thereby greatly reducing start time. In step 202, the data belonging to the preset category may be data that plays an important role in subsequent booting of the terminal device, such as source codes or memory data occupied by a library. The data not belonging to the preset category may be data having no influence on the terminal device from a standby to a power-on state, such as a file cache, a video cache, etc.
In the embodiment of the application, the DDR can perform data transmission on the rising edge and the falling edge of the clock, and all signals used for data transmission need to be synchronized through the clock. Because DDR is a dynamic random access memory, a basic memory cell is a grid capacitor of an MOS (metal oxide semiconductor) transistor, the time for holding the charge by the capacitor is limited, in order to timely supplement the leaked charge, the charge must be supplemented to the grid capacitor at regular time, the operation of supplementing the charge is called as a refreshing operation, and in fact, each cell is charged once in turn. The refresh operation of the terminal device can be divided into two types: auto Refresh (AR) and Self Refresh (Self Refresh, SR).
In an alternative embodiment, before step 201, that is, before the terminal device receives the standby command, the terminal device operates in the AR mode, that is, the DDR can be powered according to the clock signal of the system. When the terminal device receives the standby command, the AR mode is stopped, the terminal device places a Clock Enable (CKE) in an invalid state, and performs the SR mode, and at this time, the terminal device may perform SR operation according to a Clock signal inside the target DDR, that is, only power is supplied to the target DDR, and no power is supplied to any DDR other than the target DDR.
In an alternative implementation, the number of the DDRs in the terminal device may be determined according to the amount of stored data, the capacity of each DDR may be the same or different, each DDR may be controlled by a different DDR controller, fig. 3 exemplarily shows a DDR connection diagram applicable to the embodiment of the present application, as shown in fig. 3, 6 DDRs exist in the terminal device, and the 6 DDRs are all controlled by different DDR controllers on one chip. As shown in fig. 3, the DDR controller a may control the DDR1 and the DDR2, the DDR controller B may control the DDR3 and the DDR4, and the DDR controller C may control the DDR5 and the DDR 6. Optionally, each DDR may be configured to store different classes of data, including data belonging to a predetermined class and data not belonging to the predetermined class.
In an optional implementation manner, before step 201, the terminal device may receive a standby command sent by a remote controller or other devices, the terminal device may enter a standby state after receiving the standby command, and an android system layer of the terminal device may enter an on-hook state, specifically, the terminal device may pause all services of the system layer, for example, may pause a video being played by the terminal device. Optionally, the terminal device stops the automatic refresh and no longer supplies power to the N DDRs in the terminal device according to the clock signal of the system.
After the android system layer of the terminal device enters the on-hook state, in an optional implementation manner, for each DDR in the N DDRs, if a storage path in the DDR is data of the peripheral device, the data of the peripheral device in the storage path is synchronized to the peripheral device. For example, if the terminal device is connected to a mobile hard disk at the time, the user opens a text in the mobile hard disk and makes a modification on the text. The user thinks that the text is directly modified on the mobile hard disk, however, the terminal device actually caches the text on the terminal device, and synchronizes the modified text to the mobile hard disk every preset time. The modified but unsynchronized text may be synchronized into the mobile hard disk immediately after the terminal device receives the standby command.
Therefore, the modified text can be ensured to be timely stored in the external equipment, so that the following two conditions are prevented: firstly, the modified text is data which does not belong to a preset category and is cached in the non-target DDR, once the terminal equipment does not supply power to the non-target DDR any more, the modified text directly disappears, and the text stored in the peripheral equipment is the text which is synchronized last time. Secondly, the modified text is data which does not belong to the preset category and is cached in the target DDR, however, the terminal device may delete the data which does not belong to the preset category in the target DDR, and vacate a storage space for the data which belongs to the preset category in the non-target DDR, so that the modified text still disappears.
In an optional implementation manner, after the terminal device synchronizes the data with the storage path as the peripheral device to the peripheral device, the kernel layer of the terminal device enters an on-hook state, and at this time, the terminal device is disconnected from the connected peripheral device (a mobile hard disk, a wireless module, or other terminal devices, etc.), and power is no longer supplied to the peripheral device.
In step 202, the terminal device may determine the label of the target DDR and the number of the target DDR from the N DDRs according to the following three ways:
first, the terminal device may set a certain DDR or a certain few DDRs as target DDRs according to the data amount of data belonging to a preset category for a period of time, such as directly setting the DDRs 1 and the DDR2 shown in fig. 3 as the target DDRs.
Secondly, when the terminal device determines the target DDR each time, the total data size of data belonging to a preset category in the N DDRs may be counted, the N DDRs are sorted from large to small according to the capacity, the data size of the data belonging to the preset category is met, M DDRs with large capacity are determined as the target DDR, and M is a positive integer not greater than N.
Thirdly, the terminal device counts the data amount of the data belonging to the preset category in each DDR of the N DDRs, and confirms M DDRs storing the data belonging to the preset category with a larger data amount as the target DDR.
In an optional implementation manner, the terminal device may obtain attribute information corresponding to the data stored in the DDR, and if it is determined that the data belongs to the data of the preset category according to the attribute information corresponding to the data, the data may be stored in the target DDR, where the attribute information may be an identifier carried in a packet header of the data packet.
In an optional implementation manner, after entering the standby state when receiving the standby command, the terminal device stores data belonging to a preset category and stored in the non-target DDR to the target DDR, further includes: the terminal device deletes data which are stored in the target DDR and do not belong to the preset type, the terminal device can arrange the data which are stored in the target DDR and belong to the preset type into a section of continuous storage area in the target DDR, and the data which are arranged in the target DDR and belong to the preset type are compressed. Various alternative embodiments are described below:
in a first optional implementation manner, the terminal device may directly store the data belonging to the preset category in the non-target DDR in the target DDR without deleting the data not belonging to the preset category in the target DDR, but because the original data in the target DDR may be stored in a discontinuous storage region in the target DDR, the data belonging to the preset category in the non-target DDR is stored in the target DDR in a penetrating manner. For example, the target DDR in fig. 3 is DDR1, the original data in the DDR1 is stored in the storage areas 0-100MB, 124-256MB, 300-500MB, and when the terminal device stores the data of the preset category in the DDR2 in the DDR1, a part of the data may be stored in the storage area 100-124MB of the DDR1, and another part of the data may be stored in the storage area 256-300MB of the DDR 1. The original data in the target DDR includes data belonging to a preset category and data not belonging to the preset category.
In a second optional embodiment, the terminal device may delete data not belonging to the preset category in the target DDR, arrange the data belonging to the preset category stored in the target DDR into a continuous storage area in the target DDR, store the data belonging to the preset category in the non-target DDR into another continuous storage area in the target DDR, for example, assuming that DDR1 in fig. 3 is the target DDR, delete the data not belonging to the preset category in DDR1, and place the data belonging to the preset category in the first continuous storage area, for example, 0-200 MB. Optionally, the terminal device may store data belonging to a preset category in the DDR2 into a second-end continuous storage region, such as 300-.
In a third optional embodiment, because the data amount of the data belonging to the preset category in the target DDR is too large, the terminal device may, after deleting the data not belonging to the preset category in the target DDR, sort the data belonging to the preset category into a continuous storage region in the target DDR, compress the data belonging to the preset category in the sorted target DDR, and store the data belonging to the preset category in the non-target DDR into another continuous storage region in the target DDR.
In a fourth optional implementation manner, after deleting data that does not belong to the preset category in the target DDR, the terminal device may compress the data that belongs to the preset category in the target DDR, and arrange the compressed data that belongs to the preset category into a continuous storage area in the target DDR, and then the terminal device may separately compress the data that belongs to the preset category in each non-target DDR and store the data into the target DDR.
In order to effectively manage the data to be stored and ensure that the data can be correctly replied when the system is started, the terminal device may store the data belonging to the preset category in the target DDR according to a certain format, which may be referred to as an image (image). The mirror image consists of two parts, namely a mirror image head and mirror image data, and the details are as follows:
struct str_image_header
{
signaled int first _ image _ address; // address of the first valid data page
unidentified int flags; // mirror format flag
char sig [10 ]; v/mirror magic character
u32ddr _ controller _ id; // DDR controller numbering of mirror
u32crc 32; v/mirror check value
}__packed;
struct str_image_page_data
{
A struct page page; // physical pages
u32ddr _ controller _ id; // DDR controller number where data page is located
u32crc 32; // data page check value
struct list _ head pages; // physical Page Linked List, all physical pages saved in this doubly linked List
}__packed;
In an alternative embodiment, the terminal device may store the data belonging to the preset category in the target DDR according to a certain format, and then compress the data belonging to the preset category with a compression ratio of about 3:1.
In an optional implementation, after the non-target DDR is stored in the target DDR according to a data of a preset category, the terminal device supplies power to the target DDR according to a clock signal inside the target DDR. At this time, the RAM microprocessor in the terminal device gives control to the power management microprocessor to wait for the power-on command.
Fig. 4 is a schematic flowchart illustrating a method for reducing power consumption, which is applicable to the embodiment of the present application, and as shown in fig. 4, the method includes:
step 401, the terminal equipment receives a standby command;
step 402, entering an on-hook state by an android system layer of the terminal equipment;
step 403, for each DDR in the N DDRs, if there is data whose storage path is the peripheral device in the DDR, the terminal device synchronizes the data whose storage path is the peripheral device to the peripheral device;
step 404, the kernel layer of the terminal equipment enters an on-hook state;
step 405, the terminal device determines a target DDR from the N DDR;
step 406, the terminal device deletes data which is stored in the target DDR and does not belong to a preset type;
step 407, the terminal device arranges the data stored in the target DDR into a section of continuous storage area in the target DDR;
step 408, the terminal device stores the data belonging to the preset category in the non-target DDR into the target DDR in a certain format;
step 409, compressing data which belongs to a preset category and is stored in the target DDR by the terminal equipment;
and step 410, the terminal device supplies power to the target DDR according to the clock signal in the target DDR.
After step 202 or step 410, in an optional implementation manner, the terminal device may periodically detect whether a power-on command is received, and if the terminal device receives the power-on command, power is supplied to each DDR of the N DDRs according to a clock signal of the system, and data belonging to a preset category stored in the N-M DDRs is transferred from the target DDR to the N-M DDRs according to an original storage manner.
In an optional implementation manner, after receiving a power-on command, the terminal device may determine in what mode to power on, and if the terminal device is powered on in a standby mode, the terminal device may stop power supply in a self-refresh mode of the target DDR, that is, power is supplied according to an internal clock signal, then power is supplied to all the DDRs according to a system clock signal, an inner core layer of the terminal device starts to operate, and if the terminal device compresses data stored in the target DDR, the data is decompressed, and data belonging to a preset category in the non-target DDR stored in the target DDR is migrated to the original non-target DDR.
Fig. 5 is a schematic flowchart illustrating a method for reducing power consumption, which is applicable to the embodiment of the present application, and as shown in fig. 5, the method includes:
step 501, a terminal device receives a starting command;
step 502, the terminal device determines that the terminal device is started up in a standby mode;
step 503, the terminal device supplies power to each DDR in the N DDRs according to a clock signal of the system;
step 504, the kernel layer of the terminal equipment enters a working state;
in step 505, the terminal device migrates data belonging to a preset category in the non-target DDR stored in the target DDR to the original non-target DDR.
Based on the above embodiments and the same concept, fig. 6 shows a schematic structural diagram of a device for reducing power consumption provided by an embodiment of the present application; as shown in fig. 6, the apparatus 600 for reducing power consumption may include a processing unit 601 and a storage unit 602.
The embodiment of the application provides a device for reducing power consumption, which comprises a processing unit, a control unit and a control unit, wherein the processing unit is used for stopping supplying power to N double-rate synchronous dynamic random access memories DDR according to a clock signal of a system in a standby state, and N is an integer larger than 1; determining M DDR (double data rates) as target DDR from the N DDR, wherein M is an integer smaller than N; the storage unit is used for storing the data which are stored in the remaining N-M DDR and belong to the preset category into the target DDR; the processing unit is further configured to supply power to the target DDR according to a clock signal corresponding to the target DDR.
In the embodiment of the application, since the power supply of the N DDR sdram DDRs according to the clock signal of the system may be stopped in the standby state, the data belonging to the preset category in the other DDRs except the target DDR among the N DDR may be stored in the target DDR. In this way, only the target DDR is required to be supplied with power during standby, and not all the DDRs are supplied with power, so that power consumption of the terminal device during standby can be reduced.
In an optional implementation manner, the processing unit is further configured to supply power to the N DDRs according to a clock signal of a system if a power-on command is received, and the storage unit is further configured to: and storing the data which are stored in the N-M DDR and belong to the preset category from the target DDR to the N-M DDR according to an original storage mode.
In an optional embodiment, the processing unit is further configured to delete data stored in the target DDR and not belonging to the preset type.
In an optional implementation, the processing unit is further configured to: arranging the data which are stored in the target DDR and belong to a preset type into a section of continuous storage area in the target DDR; and compressing the data which belongs to the preset type in the sorted target DDR.
In an optional implementation manner, the processing unit is further configured to obtain attribute information corresponding to data stored in the N-M DDRs; the storage unit is specifically configured to: and if the data are determined to belong to the data of the preset category according to the attribute information corresponding to the data through the processing unit, storing the data to the target DDR.
For specific description of the apparatus for reducing power consumption provided in the embodiment of the present application, reference may be made to the method for reducing power consumption provided in the foregoing embodiment, and details are not described here again.
It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware or any combination thereof, and when the implementation is realized by a software program, all or part of the implementation may be realized in the form of a computer program product. The computer program product includes one or more instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The instructions may be stored in or transmitted from one computer storage medium to another, for example, instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. A computer storage medium may be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., a flexible Disk, a hard Disk, a magnetic tape, a magneto-optical Disk (MO), etc.), an optical medium (e.g., a CD, a DVD, a BD, an HVD, etc.), or a semiconductor medium (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile memory (NAND FLASH), a Solid State Disk (SSD)), etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by instructions. These instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
The instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (10)

1. A method for reducing power consumption, comprising:
the terminal equipment receives a standby command;
the android system layer of the terminal equipment enters an on-hook state;
for each DDR in N DDR (double data Rate) synchronous dynamic random access memories (DDR), if a storage path in the DDR is data of peripheral equipment, the terminal equipment synchronizes the data of the peripheral equipment with the storage path;
the inner core layer of the terminal equipment enters an on-hook state; stopping supplying power to the N DDR according to a clock signal of a system in a standby state, wherein N is an integer greater than 1;
determining M DDR (double data rates) as target DDR from the N DDR, wherein M is an integer smaller than N;
storing the data which are stored in the remaining N-M DDR and belong to the preset category into the target DDR, and supplying power to the target DDR according to a clock signal corresponding to the target DDR; the preset type data is data which acts on the subsequent startup.
2. The method of claim 1, wherein after the powering the target DDR according to the clock signal corresponding to the target DDR, further comprising:
if a starting command is received, the N DDR are powered according to a clock signal of the system;
and storing the data which are stored in the N-M DDR and belong to the preset category from the target DDR to the N-M DDR according to an original storage mode.
3. The method of claim 1 or 2, wherein before storing the data stored in the remaining N-M DDRs that belong to the preset category into the target DDR, further comprising:
and deleting the data which are stored in the target DDR and do not belong to the preset type.
4. The method of claim 1 or 2, wherein before storing the data stored in the remaining N-M DDRs that belong to the preset category into the target DDR, further comprising:
arranging the data which are stored in the target DDR and belong to a preset type into a section of continuous storage area in the target DDR;
and compressing the data which belongs to the preset type in the sorted target DDR.
5. An apparatus for reducing power consumption, comprising:
a processing unit to:
enabling the terminal equipment to receive a standby command;
enabling an android system layer of the terminal equipment to enter an on-hook state;
for each DDR in N DDR (double data Rate) synchronous dynamic random access memories, if a storage path in the DDR is data of peripheral equipment, synchronizing the data of the peripheral equipment with the storage path;
enabling the kernel layer of the terminal equipment to enter an on-hook state;
stopping supplying power to the N DDR according to a clock signal of a system in a standby state, wherein N is an integer greater than 1; determining M DDR (double data rates) as target DDR from the N DDR, wherein M is an integer smaller than N;
the storage unit is used for storing the data which are stored in the remaining N-M DDR and belong to the preset category into the target DDR; the preset type of data is data which acts on the subsequent startup;
the processing unit is further configured to supply power to the target DDR according to a clock signal corresponding to the target DDR.
6. The apparatus of claim 5,
the processing unit is further configured to:
if a starting command is received, the N DDR are powered according to a clock signal of the system;
the storage unit is further configured to:
and storing the data which are stored in the N-M DDR and belong to the preset category from the target DDR to the N-M DDR according to an original storage mode.
7. The apparatus of claim 5 or 6, wherein the processing unit is further to:
and deleting the data which are stored in the target DDR and do not belong to the preset type.
8. The apparatus of claim 5 or 6, wherein the processing unit is further to:
arranging the data which are stored in the target DDR and belong to a preset type into a section of continuous storage area in the target DDR;
and compressing the data which belongs to the preset type in the sorted target DDR.
9. The apparatus of claim 5,
the processing unit is further configured to:
acquiring attribute information corresponding to data stored in the N-M DDR;
the storage unit is specifically configured to: and if the data are determined to belong to the data of the preset category according to the attribute information corresponding to the data through the processing unit, storing the data to the target DDR.
10. A computer-readable storage medium, characterized in that the storage medium stores instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1 to 4.
CN201810276332.0A 2018-03-30 2018-03-30 Method and device for reducing power consumption and storage medium Active CN108536271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810276332.0A CN108536271B (en) 2018-03-30 2018-03-30 Method and device for reducing power consumption and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810276332.0A CN108536271B (en) 2018-03-30 2018-03-30 Method and device for reducing power consumption and storage medium

Publications (2)

Publication Number Publication Date
CN108536271A CN108536271A (en) 2018-09-14
CN108536271B true CN108536271B (en) 2021-07-06

Family

ID=63481951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810276332.0A Active CN108536271B (en) 2018-03-30 2018-03-30 Method and device for reducing power consumption and storage medium

Country Status (1)

Country Link
CN (1) CN108536271B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388494A (en) * 2018-10-29 2019-02-26 济南浪潮高新科技投资发展有限公司 A kind of method that multi-core network controller dynamic energy consumption is adjusted
CN112748792A (en) * 2019-10-31 2021-05-04 福州瑞芯微电子股份有限公司 Method, system, medium, and apparatus for reducing power consumption of dynamic random access memory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425330A (en) * 2007-10-31 2009-05-06 中国科学院空间科学与应用研究中心 Refreshing control module for synchronous dynamic memory
CN104885034A (en) * 2012-12-22 2015-09-02 高通股份有限公司 Reducing power consumption of volatile memory via use of non-volatile memory
CN105808300A (en) * 2016-03-09 2016-07-27 广东欧珀移动通信有限公司 Terminal power-on method and apparatus
CN105843363A (en) * 2016-03-24 2016-08-10 福州瑞芯微电子股份有限公司 Low-power optimization method and device for chip

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916138A (en) * 2010-08-06 2010-12-15 北京中星微电子有限公司 Method and device for switching working state and sleep state of central processing unit
WO2012163019A1 (en) * 2011-10-25 2012-12-06 华为技术有限公司 Method for reducing power consumption of externally connected ddr of data chip and data chip system
US9507408B2 (en) * 2012-09-27 2016-11-29 Intel Corporation Power gating for termination power supplies
CN108052197A (en) * 2014-01-27 2018-05-18 联想(北京)有限公司 A kind of information processing method and electronic equipment
US9632562B2 (en) * 2014-11-20 2017-04-25 Qualcomm Incorporated Systems and methods for reducing volatile memory standby power in a portable computing device
CN104484030A (en) * 2014-12-22 2015-04-01 广东欧珀移动通信有限公司 Method and device for lowering power consumption of intelligent terminal
CN105116985B (en) * 2015-08-04 2017-12-12 Tcl移动通信科技(宁波)有限公司 A kind of DDR clock frequency control method thereofs and system
CN107132904B (en) * 2016-02-29 2020-12-15 华为技术有限公司 Control system and control method of DDR system
US10347306B2 (en) * 2016-06-21 2019-07-09 Samsung Electronics Co., Ltd. Self-optimized power management for DDR-compatible memory systems
CN106155949A (en) * 2016-06-30 2016-11-23 联想(北京)有限公司 A kind of control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425330A (en) * 2007-10-31 2009-05-06 中国科学院空间科学与应用研究中心 Refreshing control module for synchronous dynamic memory
CN104885034A (en) * 2012-12-22 2015-09-02 高通股份有限公司 Reducing power consumption of volatile memory via use of non-volatile memory
CN105808300A (en) * 2016-03-09 2016-07-27 广东欧珀移动通信有限公司 Terminal power-on method and apparatus
CN105843363A (en) * 2016-03-24 2016-08-10 福州瑞芯微电子股份有限公司 Low-power optimization method and device for chip

Also Published As

Publication number Publication date
CN108536271A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
US20240054079A1 (en) Memory Management Method and Apparatus, Electronic Device, and Computer-Readable Storage Medium
US9632562B2 (en) Systems and methods for reducing volatile memory standby power in a portable computing device
US9317299B2 (en) Method and device for cold starting android mobile terminal
US9223707B2 (en) Mobile memory cache read optimization
CN104885034A (en) Reducing power consumption of volatile memory via use of non-volatile memory
US10878880B2 (en) Selective volatile memory refresh via memory-side data valid indication
US20150248741A1 (en) System and method for providing power-saving static image display refresh in a dram memory system
CN103218224A (en) Method and terminal for improving utilization ratio of memory space
CN105706168B (en) For reducing system, method and the computer-readable medium of memory I/O power via data masking
US10175995B1 (en) Device hibernation control
CN108040292A (en) Television standby starting-up method, TV and computer-readable recording medium
CN108536271B (en) Method and device for reducing power consumption and storage medium
CN106775609A (en) System and method for reducing dormancy and recovery time
CN110583018B (en) System and method for intelligent data/frame compression in a system-on-chip
CN103543815A (en) Information processing apparatus and information processing method
CN106575273A (en) Systems and methods for expanding memory for system on chip
CN114579055B (en) Disk storage method, device, equipment and medium
CN113590501A (en) Data storage method and related equipment
US10268486B1 (en) Expedited resume process from hibernation
US9495173B2 (en) Systems and methods for managing data in a device for hibernation states
CN110673956B (en) Recovery thread creating method and device, computer equipment and storage medium
CN109032843B (en) STT-MRAM-based method for accelerating starting of solid state memory device
US20130166852A1 (en) Method for hibernation mechanism and computer system therefor
CN100501674C (en) Method and apparatus for fast starting digital products
US9239610B2 (en) Systems and methods for managing data in a system for hibernation states

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant