Method and device for reducing power consumption of power saving mode, Internet of things equipment and storage medium
Technical Field
The invention relates to the field of internet of things, in particular to a method and a device for reducing power consumption of a communication unit in a power saving mode, internet of things equipment and a computer readable storage medium.
Background
The scene of the internet of things is widely applied, and most of internet of things equipment needs to be powered by batteries and comprises wearable equipment, an intelligent water meter, an intelligent gas meter, an intelligent smoke sensor, an intelligent door lock, an intelligent well lid and the like. In many cases, the service life of the Internet of Things device is determined by the life of a battery, such as most NB-IoT (Narrow Band Internet of Things) communication devices.
NB (Narrow band) systems used for small data transmission are often battery-powered and require years of service of several to ten years, such as gas meters, water meters, smoke detectors, and the like. In order to avoid the problems that the effective capacity of the battery cannot reach the expected age limit, and the battery is difficult to maintain and replace and high in cost in the later period due to the packaging modes such as battery sealing and welding, the capacity of the battery is increased after the capacity of the battery required by the theoretical age limit is effectively evaluated and redundant. But larger battery capacities lead to increased volume and cost. The most efficient, direct and reliable method is to reduce power consumption.
The Power consumption of the PSM (Power Saving Mode) Mode of the current different platform chips is also very different. After an NB communication system is normally started up, except for the first time of network searching and registration, the subsequent processes of TAU (Tracking area update), data transmission, and sleep are performed cyclically every day until the battery is not charged.
Through testing, due to the special communication type of the internet of things equipment, the PSM mode occupies 99.99% of the day. The PSM mode current, while already as low as 3.6uA, consumes 70.94% of the total battery capacity consumed by the NB system for a day over time. If the power consumption of the PSM mode can be further reduced, it is a great optimization for the overall power consumption and battery capacity.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for reducing power consumption of a communication unit in a power saving mode, an internet of things device, and a computer readable storage medium, which can effectively reduce power consumption of the communication unit in a power saving mode PSM, effectively reduce power consumption of a whole communication system, greatly improve a battery life of the communication system, and extend a service life of the internet of things communication system.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the present invention, there is provided a method of reducing power consumption in a power saving mode of a communication unit, the communication unit including an RTC timer module and an RTC _ RAM module, the method comprising:
the communication unit enters a power saving mode;
keeping the RTC timer module powered; the RTC timer module is used for timing and awakening a communication unit;
saving the information in the RTC _ RAM module to a specified position;
and disconnecting the RTC _ RAM module from supplying power.
In one possible design, the information includes Modem information and AP information, and the Modem information includes protocol information and partial radio frequency information.
In one possible design, the communication unit is in a Deep Sleep state when entering the power saving mode, and the specified position is a position where information can be stored in the system.
In a possible design, the communication unit is in a deep Sleep state when entering the power saving mode, and the designated position is to define an independent storage area in the system Flash, and is specially used for storing information in the RTC _ RAM module.
In one possible design, the method further includes: when the RTC timer module is timed up, waking up a communication unit to exit a power saving mode, and then writing the information stored in the specified position into the RTC _ RAM module again; the method comprises the following steps:
when the RTC timer module times out, waking up the communication unit from being in a Deep Sleep state to exit a power saving mode;
and writing the information saved to the specified position into the RTC _ RAM module again.
In one possible design, the method further includes: when the RTC timer module is timed up, waking up a communication unit to exit a power saving mode, and then writing the information stored in the specified position into the RTC _ RAM module again; the method comprises the following steps:
when the RTC timer module times out, waking up from being in a deep Sleep state to exit a power saving mode;
re-reading the information written into the independent storage area in the Flash;
and rewriting the read information into the RTC-RAM module in the process of system initialization.
According to another aspect of the present invention, there is provided an apparatus for reducing power consumption of a communication unit in a power saving mode, applied to a method for reducing power consumption of a communication unit in a power saving mode, the communication unit UE including an RTC timer module and an RTC _ RAM module, the apparatus including: keep module, save module, disconnection module, wherein:
the holding module is used for holding the RTC timer module to supply power when the communication unit enters a power saving mode; the RTC timer module is used for timing and awakening a communication unit;
the storage module is used for storing the information in the RTC _ RAM module to a specified position;
the disconnection module is used for disconnecting the RTC _ RAM module from supplying power.
According to another aspect of the present invention, an internet of things device is provided, which includes: the invention also relates to a communication unit comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of a method for reducing power consumption in a power saving mode of the communication unit according to an embodiment of the invention.
According to another aspect of the present invention, a computer-readable storage medium is provided, on which a program of a method for reducing power consumption of a communication unit in a power saving mode is stored, and the program of the method for reducing power consumption of a communication unit in a power saving mode implements the steps of the method for reducing power consumption of a communication unit in a power saving mode provided by the embodiment of the present invention when executed by a processor.
Compared with the related art, the embodiment of the invention provides a method and a device for reducing power consumption of a communication unit in a power saving mode, an internet of things device and a computer readable storage medium, wherein the communication unit comprises an RTC timer module and an RTC _ RAM module, and the method comprises the following steps: the communication unit enters a power saving mode PSM; keeping the RTC timer module powered; saving the information in the RTC _ RAM module to a specified position; the information comprises Modem information and AP information, wherein the Modem information comprises protocol information and partial radio frequency information; and disconnecting the RTC _ RAM module from supplying power. The embodiment of the invention can effectively reduce the power consumption of the communication unit in the power-saving mode PSM, effectively reduce the power consumption of the whole communication system, greatly prolong the service life of the battery of the communication system and prolong the service life of the Internet of things communication system.
Drawings
Fig. 1 is a flowchart of a method for reducing power consumption in a power saving mode of a communication unit according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for reducing power consumption of a communication unit in a power saving mode according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for reducing power consumption of a communication unit in a Deep Sleep state in a power saving mode according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for reducing power consumption of a communication unit in a deep Sleep state in a power saving mode according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for reducing power consumption in a power saving mode of a communication unit according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an internet of things communication device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention 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 invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
A PSM (Power Saving Mode) technique is introduced in 3GPP R12. To maximize power consumption reduction, the communication unit UE may receive a page during a window period of idle Time (T3324) after performing a periodic Tracking Area Update (TAU), and once the idle Time window elapses, the communication device (e.g., NB-IoT device) enters a sleep state of the power saving mode PSM and cannot access the communication device until the next periodic TAU (T3412 timer expires).
The correspondent unit UE does not receive any network page during PSM, and is now in an unreachable offline state for the network side. Only when the TAU period request timer (T3412) expires, or the UE actively exits due to Mobile (MO) service to be processed, the UE exits the PSM mode, enters an idle state, and further enters a connected state to process uplink and downlink services.
Please refer to fig. 1. The embodiment of the invention provides a method for reducing power consumption of a power saving mode PSM of a communication unit, wherein the communication unit UE comprises an RTC timer module and an RTC _ RAM module, and the method comprises the following steps:
step S1, the communication unit UE enters power saving mode PSM;
step S2, keeping the RTC timer module powered; the RTC timer module is used for timing and awakening the UE;
step S3, saving the information in the RTC _ RAM module to a designated position; the information comprises Modem information and AP (Access Point) information, wherein the Modem information comprises protocol information and partial radio frequency information;
and step S4, disconnecting the power supply of the RTC _ RAM module.
Further, in step S1, the UE is in a Deep Sleep state or in a Deep Sleep state when entering the power saving mode PSM.
Further, in step S3, the specifying the location includes:
when the UE is in a Deep Sleep state, the specified position is a position where information can be stored in the system, such as a cache;
when the UE is in a deep Sleep state, the designated position is that an independent storage area is defined in a system Flash and is specially used for storing information in an RTC _ RAM module; the independent storage area can be used for repeatedly erasing and writing data information, namely erasing the information written in the previous time and then writing the data information in the current time.
Further, the method further comprises: when the RTC timer module wakes up the UE to exit the PSM mode when the RTC timer module times out, the information stored in the specified position is written into the RTC _ RAM module again; the method comprises the following steps:
when the RTC timer module times out, waking up the UE from being in a Deep Sleep state to exit a PSM mode;
and writing the information saved to the specified position into the RTC _ RAM module again.
Or,
when the RTC timer module times out, awakening the UE from being in a deep Sleep state to exit a PSM mode;
re-reading the information written into the independent storage area in the Flash;
and rewriting the read information into the RTC-RAM module in the process of system initialization. Preferably, the system is an internet of things equipment system, such as an NB-IOT communication system.
The embodiment of the invention provides a method for reducing power consumption of a communication unit in a power saving mode, wherein the communication unit UE comprises an RTC timer module and an RTC _ RAM module, and the method comprises the following steps: the communication unit UE enters a power saving mode PSM; keeping the RTC timer module powered; saving the information in the RTC _ RAM module to a specified position; the information comprises Modem information and AP information, wherein the Modem information comprises protocol information and partial radio frequency information; and disconnecting the RTC _ RAM module from supplying power. The embodiment of the invention can effectively reduce the power consumption of the communication unit in the power-saving mode PSM, effectively reduce the power consumption of the whole communication system, greatly prolong the service life of the battery of the communication system and prolong the service life of the Internet of things communication system.
Please refer to fig. 2.
The embodiment of the invention provides a device for reducing power consumption of a communication unit in a power saving mode, wherein the communication unit UE comprises an RTC timer module and an RTC _ RAM module, and the device comprises: keep module, save module, disconnection module, wherein:
the holding module is configured to hold the RTC timer module to supply power when the communication unit UE enters a power saving mode PSM; the RTC timer module is used for timing and awakening the UE;
the storage module is used for storing the information in the RTC _ RAM module to a specified position; the information comprises Modem information and AP information, wherein the Modem information comprises protocol information and partial radio frequency information;
the disconnection module is used for disconnecting the RTC _ RAM module from supplying power.
Further, the UE is in a Deep Sleep state or in a Deep Sleep state when entering the power saving mode PSM.
Further, the specifying the location includes:
when the UE is in a Deep Sleep state, the specified position is a position where information can be stored in the system, such as a cache;
when the UE is in a deep Sleep state, the designated position is that an independent storage area is defined in a system Flash and is specially used for storing information in an RTC _ RAM module; the independent storage area can be used for repeatedly erasing and writing data information, namely erasing the information written in the previous time and then writing the data information in the current time.
Further, the apparatus further comprises: the awakening module is used for awakening the UE to exit the PSM mode when the RTC timer module times out, and then writing the information stored in the specified position into the RTC _ RAM module again; the method comprises the following steps:
when the RTC timer module times out, waking up the UE from being in a Deep Sleep state to exit a PSM mode;
and writing the information saved to the specified position into the RTC _ RAM module again.
Or,
when the RTC timer module times out, awakening the UE from being in a deep Sleep state to exit a PSM mode;
re-reading the information written into the independent storage area in the Flash;
and rewriting the read information into the RTC-RAM module in the process of system initialization. Preferably, the system is an internet of things equipment system, such as an NB-IOT communication system.
The embodiment of the invention provides a device for reducing power consumption of a communication unit in a power saving mode, wherein the communication unit UE comprises an RTC timer module and an RTC _ RAM module, and the device comprises: the RTC timer comprises a holding module, a saving module and a disconnection module, wherein the holding module enters a power saving mode PSM at a communication unit UE and keeps the RTC timer module to supply power; the storage module is used for storing the information in the RTC _ RAM module to a specified position; the information comprises Modem information and AP information, wherein the Modem information comprises protocol information and partial radio frequency information; the disconnection module disconnects the RTC _ RAM module from supplying power. The embodiment of the invention can effectively reduce the power consumption of the communication unit in the power-saving mode PSM, effectively reduce the power consumption of the whole communication system, greatly prolong the service life of the battery of the communication system and prolong the service life of the Internet of things communication system.
It should be noted that the device embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are described in the method embodiment in detail, and technical features in the method embodiment are correspondingly applicable in the device embodiment, which is not described herein again.
The technical solution of the present invention is further described in detail with reference to the following examples.
Example 1:
please refer to fig. 3.
The embodiment of the invention provides a method for reducing power consumption of a communication unit in a power saving mode, wherein the communication unit UE comprises an RTC timer module and an RTC _ RAM module, and the method comprises the following steps:
step S301, when the communication unit UE enters the power saving mode PSM, the communication unit UE is in a Deep Sleep state.
And S302, keeping the RTC timer module powered on, wherein the RTC timer module is used for timing and awakening the UE.
Step S303, storing the information in the RTC _ RAM module to a specified position; the information comprises Modem information and AP information, and the Modem information comprises protocol information and partial radio frequency information.
The designated location is a location in the system where information may be stored, such as a cache. In this embodiment, the designated location is a cache.
And step S304, disconnecting the power supply of the RTC _ RAM module.
Step S305, when the RTC timer module times out, awakening the UE from being in a Deep Sleep state to exit the PSM mode.
And step S306, writing the information saved in the designated position into the RTC _ RAM module again.
When entering the PSM mode, the UE is in Deep Sleep state. The RTC timer module is mainly used for timing and awakening the UE, and is impossible to power off; the RTC _ RAM module is used for storing Modem information and AP information, wherein the Modem information mainly comprises protocol information and partial radio frequency information. And after the information in the RTC _ RAM module is stored to a specified position, the RTC _ RAM module is powered off. At this time, except that the RTC timer module continuously consumes power, other parts are powered off, so the current is in a level of 3.6 uA. And after the RTC timer module wakes up when the timing is up, rewriting the information of the specified position into the RTC _ RAM module, and then performing a normal process. The embodiment of the invention can effectively reduce the power consumption of the communication unit in the power-saving mode PSM, effectively reduce the power consumption of the whole communication system, greatly prolong the service life of the battery of the communication system and prolong the service life of the Internet of things communication system.
Example 2:
please refer to fig. 4.
The embodiment of the invention provides a method for reducing power consumption of a communication unit in a power saving mode, wherein the communication unit UE comprises an RTC timer module and an RTC _ RAM module, and the method comprises the following steps:
step S401, when the communication unit UE enters the power saving mode PSM, is in a deep Sleep state.
And S402, keeping the RTC timer module powered, wherein the RTC timer module is used for timing and awakening.
Step S403, storing the information in the RTC _ RAM module into an independent storage area; the information comprises Modem information and AP information, and the Modem information comprises protocol information and partial radio frequency information. The independent storage area is defined in the system Flash and is specially used for storing information in the RTC _ RAM module, and the independent storage area can be used for repeatedly erasing and writing data information, namely erasing information written in the previous time and then writing the current data information.
And step S404, disconnecting the power supply of the RTC _ RAM module.
Step S405, when the RTC timer module times out, the UE is waken to exit the PSM mode from being in a deep Sleep state.
And step S406, re-reading the information written into the independent storage area in the Flash.
Step S407, rewriting the information read again to the RTC-RAM module in the process of communication system initialization.
When the communication unit UE enters the power saving mode PSM, the UE can be selectively caused to enter a deep Sleep state. At this time, an independent storage area is defined in the system Flash, and is specially used for storing the Modem information and the AP information in the RTC _ RAM, erasing the information written last time each time, and writing the current data information. When the RTC timer enters the PSM, the RTC _ RAM module is powered off, and only the RTC timer module continuously consumes power to perform timing and awakening. When the RTC timer is timed out, the communication system wakes up from a state of being in a releaser Sleep state to exit a PSM mode, the information written into the independent storage area in the Flash is read out again, and the information read out again is written into the RTC-RAM module in the process of initializing the communication system. The embodiment of the invention can effectively reduce the power consumption of the communication unit in the power-saving mode PSM, effectively reduce the power consumption of the whole communication system, greatly prolong the service life of the battery of the communication system and prolong the service life of the Internet of things communication system.
The following is a Flash test for analog erasure of this example.
The data in the RTC _ RAM module is only a few K, the operation of erasing and writing Flash is simulated, and the power consumption in the erasing and writing process is tested, and the example is as follows:
000020 start erase 4k data time=1860
000021 end erase 4k data time=1865
000046 start write 4k data time=2237
000047 end write 4k data time=2240
the time unit above is 10ms, it can be seen that the erasing process takes about 5 × 10 to 50ms, the writing process takes about 3 × 10 to 30ms, and the data to be erased is 4K.
And reading a piece of information in the Flash and writing the information into another area, and simulating the process of writing the data written in the Flash back to the RTC _ RAM module. As follows:
000072 start read 4k data time=2584
000073 end read 4k data time=2584
000046 start write 4k data time=2237
000047 end write 4k data time=2240
the time for reading 4K data is less than 10ms, and the time for writing 4K data is 30 ms. Referring to data of a test Flash chip: the average current of the read, write and erase operations is about 5 mA. The battery capacity consumed by the above process is then: 0.17 uAH.
After the RTC _ RAM module in the PSM mode is forcibly powered off in the test software code, the current is reduced to about 2.6uA and is reduced by about 1uA through testing.
Through test calculation, the battery capacity consumed by the communication device for one day is reduced to 97.79uAh after the method of the embodiment of the application is adopted. As shown in the following table:
the power consumption before and after optimization by the method of the embodiments of the present application is compared as shown in the following table:
consumption capacity before optimization |
Optimized post-consumption capacity |
Reduction of capacity |
Percent reduction |
121.79uAh |
97.79uAh |
24uAh |
19.7% |
The capacity consumed by writing and writing back data is compared with the capacity saved by reducing PSM power consumption as follows:
operation of |
Write, write back power consumption |
Power consumption savings from powering down RTC _ RAM |
Battery capacity consumed a day |
0.17uAh |
24uAh |
The comparison of the data shows that the battery capacity saved by adopting the method of the embodiment of the application after optimization is 141 times of the battery capacity consumed by writing the write-back data, and the battery capacity is optimized by 19.7%. And because Flash is frequently erased and written, considering the loss of Flash, if the Flash is erased and written once a day, the erasing and writing times of ten years are 3650, and the erasing and writing times of hundreds of thousands of Flash can be ignored.
Example 3:
please refer to fig. 5.
The embodiment of the invention provides a method for reducing power consumption of a communication unit in a power saving mode, wherein the communication unit UE comprises an RTC timer module and an RTC _ RAM module, and the method comprises the following steps:
step S501, the communication unit UE enters a power saving mode PSM.
Step S502, confirming the state of the UE.
Step S503, is the UE in deep Sleep state? If yes, go to step S509; if not, the process proceeds to step S504.
And step S504, keeping the UE in a Deep Sleep state, and keeping the RTC timer module powered on, wherein the RTC timer module is used for timing and awakening the UE.
Step S505, storing the information in the RTC _ RAM module to a specified position; the information comprises Modem information and AP information, and the Modem information comprises protocol information and partial radio frequency information. The designated location is a location in the system where information may be stored, such as a cache. In this embodiment, the designated location is a cache.
And step S506, disconnecting the power supply of the RTC _ RAM module.
And step S507, when the RTC timer module times out, awakening the UE from being in a Deep Sleep state to exit the PSM mode.
And step S508, writing the information saved in the designated position into the RTC _ RAM module again.
Step S509, keeping the RTC timer module powered, where the RTC timer module is used for timing and waking up.
Step S510, storing the information in the RTC _ RAM module to an independent storage area; the information comprises Modem information and AP information, and the Modem information comprises protocol information and partial radio frequency information. The independent storage area is defined in the system Flash and is specially used for storing information in the RTC _ RAM module, and the independent storage area can be used for repeatedly erasing and writing data information, namely erasing information written in the previous time and then writing the current data information.
And step S511, disconnecting the power supply of the RTC _ RAM module.
Step S512, when the RTC timer module times out, the UE is awakened from being in a deep Sleep state to exit the PSM mode.
Step S513 is to read out the information written in the independent storage area in the Flash again.
And step S514, rewriting the information read again into the RTC-RAM module in the process of initializing the communication system.
The embodiment of the invention can effectively reduce the power consumption of the communication unit in the power-saving mode PSM, effectively reduce the power consumption of the whole communication system, greatly prolong the service life of the battery of the communication system and prolong the service life of the Internet of things communication system.
In addition, an embodiment of the present invention further provides an internet of things device, as shown in fig. 6, the internet of things device 900 includes: a memory 902, a processor 901 and one or more computer programs stored in the memory 902 and executable on the processor 901, the memory 902 and the processor 901 being coupled together by a bus system 903, the one or more computer programs being executed by the processor 901 to implement the following steps of a method for reducing power consumption of a communication unit in a power saving mode according to an embodiment of the present invention:
step S1, the communication unit UE enters power saving mode PSM;
step S2, keeping the RTC timer module powered; the RTC timer module is used for timing and awakening the UE;
step S3, saving the information in the RTC _ RAM module to a designated position; the information comprises Modem information and AP information, wherein the Modem information comprises protocol information and partial radio frequency information;
and step S4, disconnecting the power supply of the RTC _ RAM module.
Further, in step S1, the UE is in a Deep Sleep state or in a Deep Sleep state when entering the power saving mode PSM.
Further, in step S3, the specifying the location includes:
when the UE is in a Deep Sleep state, the specified position is a position where information can be stored in the system, such as a cache;
when the UE is in a deep Sleep state, the designated position is that an independent storage area is defined in a system Flash and is specially used for storing information in an RTC _ RAM module; the independent storage area can be used for repeatedly erasing and writing data information, namely erasing the information written in the previous time and then writing the data information in the current time.
Further, the method further comprises: when the RTC timer module wakes up the UE to exit the PSM mode when the RTC timer module times out, the information stored in the specified position is written into the RTC _ RAM module again; the method comprises the following steps:
when the RTC timer module times out, waking up the UE from being in a Deep Sleep state to exit a PSM mode;
and writing the information saved to the specified position into the RTC _ RAM module again.
Or,
when the RTC timer module times out, awakening the UE from being in a deep Sleep state to exit a PSM mode;
re-reading the information written into the independent storage area in the Flash;
and rewriting the read information into the RTC-RAM module in the process of system initialization. Preferably, the system is an internet of things equipment system, such as an NB-IOT communication system.
The method disclosed in the above embodiments of the present invention may be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by an integrated logic circuit of hardware or an instruction in the form of software in the processor 901. The processor 901 may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 901 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 902, and the processor 901 reads the information in the memory 902 and performs the steps of the foregoing method in combination with the hardware thereof.
It is to be understood that the memory 902 of embodiments of the present invention may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a magnetic Random Access Memory (Flash Memory) or other Memory technologies, a Compact disc Read-Only Memory (CD-ROM), a Digital Versatile Disc (DVD), or other optical disc storage, magnetic cartridge, magnetic tape, magnetic Disk storage, or other magnetic storage devices; volatile Memory can be Random Access Memory (RAM), and by way of exemplary and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Double Data Rate Synchronous Random Access Memory (SLDRAM), Synchronous Link Dynamic Random Access Memory (SLDRAM), Direct Memory bus Random Access Memory (ram). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be noted that the embodiments of the internet of things device and the embodiments of the method belong to the same concept, and specific implementation processes thereof are described in the embodiments of the method, and technical features in the embodiments of the method are correspondingly applicable to the embodiments of the internet of things device, which is not described herein again.
In addition, in an exemplary embodiment, an embodiment of the present invention also provides a computer readable storage medium having one or more programs stored thereon for a method of reducing power consumption of a power saving mode of a communication unit, where the one or more programs are executed by a processor to implement the following steps of the method of reducing power consumption of a power saving mode of a communication unit provided by an embodiment of the present invention.
Step S1, the communication unit UE enters power saving mode PSM;
step S2, keeping the RTC timer module powered; the RTC timer module is used for timing and awakening the UE;
step S3, saving the information in the RTC _ RAM module to a designated position; the information comprises Modem information and AP information, wherein the Modem information comprises protocol information and partial radio frequency information;
and step S4, disconnecting the power supply of the RTC _ RAM module.
Further, in step S1, the UE is in a Deep Sleep state or in a Deep Sleep state when entering the power saving mode PSM.
Further, in step S3, the specifying the location includes:
when the UE is in a Deep Sleep state, the specified position is a position where information can be stored in the system, such as a cache;
when the UE is in a deep Sleep state, the designated position is that an independent storage area is defined in a system Flash and is specially used for storing information in an RTC _ RAM module; the independent storage area can be used for repeatedly erasing and writing data information, namely erasing the information written in the previous time and then writing the data information in the current time.
Further, the method further comprises: when the RTC timer module wakes up the UE to exit the PSM mode when the RTC timer module times out, the information stored in the specified position is written into the RTC _ RAM module again; the method comprises the following steps:
when the RTC timer module times out, waking up the UE from being in a Deep Sleep state to exit a PSM mode;
and writing the information saved to the specified position into the RTC _ RAM module again.
Or,
when the RTC timer module times out, awakening the UE from being in a deep Sleep state to exit a PSM mode;
re-reading the information written into the independent storage area in the Flash;
and rewriting the read information into the RTC-RAM module in the process of system initialization. Preferably, the system is an internet of things equipment system, such as an NB-IOT communication system.
It should be noted that, the method program embodiment and the method embodiment for reducing power consumption of the communication unit in the power saving mode on the computer-readable storage medium belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiment, and technical features in the method embodiment are correspondingly applicable to the embodiments of the computer-readable storage medium, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.