CN110621056A - NB-IoT terminal mode switching method, device and storage medium - Google Patents

NB-IoT terminal mode switching method, device and storage medium Download PDF

Info

Publication number
CN110621056A
CN110621056A CN201810628251.2A CN201810628251A CN110621056A CN 110621056 A CN110621056 A CN 110621056A CN 201810628251 A CN201810628251 A CN 201810628251A CN 110621056 A CN110621056 A CN 110621056A
Authority
CN
China
Prior art keywords
mode
iot terminal
power supply
saving mode
current
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.)
Pending
Application number
CN201810628251.2A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810628251.2A priority Critical patent/CN110621056A/en
Publication of CN110621056A publication Critical patent/CN110621056A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method, a device and a storage medium for switching NB-IoT terminal modes, and belongs to the technical field of NB-IoT terminal management. The method comprises the following steps: the current power supply mode of the NB-IoT terminal is detected in a timing mode; if the current power supply mode of the NB-IoT terminal is detected to be the power supply mode of the built-in power supply, the NB-IoT terminal keeps the current power saving mode or is switched from the working mode to the power saving mode; and if the current power supply mode of the NB-IoT terminal is detected to be external power supply, the NB-IoT terminal keeps the current working mode or is switched from the power saving mode to the working mode. According to the technical scheme, the NB-IoT terminal with the internal and external power supply devices can be freely switched between the working mode and the power-saving mode through software control, so that the better combination and optimization can be realized in the direction of improving the data transmission efficiency and the battery power-saving processing which are contradictory to each other.

Description

NB-IoT terminal mode switching method, device and storage medium
Technical Field
The present invention relates to the technical field of NB-IoT terminal management, and in particular, to a method, an apparatus, and a storage medium for NB-IoT terminal mode switching.
Background
The existing NB-IoT end products bring more power savings to the end products by extending eDRX (extended-mode DRX cycle, extended idle DRX cycle) cycles, and introducing PSM mechanisms, for battery-only NB-IoT products, by introducing a special power saving mechanism of eDRX cycle and PSM, battery usage time can be greatly extended, possibly only one button battery can be used to operate for about one year, but significant delays in transmission time will be introduced, for NB-IoT terminals that can alternately use batteries and power supplies (such as solar panels, automobile engines), the NB-IoT terminal functions in an out-of-Band power supply mode, and the existing power saving mode switching between power saving modes can be done without much consideration of the existing power saving mode-the power saving response of the NB-IoT terminal can be changed between power saving modes without much consideration of the existing power saving mode-the power saving mode switching between power saving modes-the power saving mode can be done without consideration of the external power saving mode switching between power saving modes.
Disclosure of Invention
The invention mainly aims to provide a method, a device and a storage medium for switching NB-IoT terminal modes, aiming at realizing the free switching of the NB-IoT terminal with internal and external power supply devices under the working mode and the power saving mode through software control so as to achieve better combination and optimization in the direction of improving the data transmission efficiency and the battery power saving processing which are contradictory to each other.
To achieve the above object, an embodiment of the present invention provides a method for switching NB-IoT terminal modes, where the method includes the following steps: the current power supply mode of the NB-IoT terminal is detected in a timing mode; if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode or is switched from the working mode to the power saving mode; and if the current power supply mode of the NB-IoT terminal is detected to be external power supply, the NB-IoT terminal keeps the current working mode or is switched from the power saving mode to the working mode.
In order to achieve the above object, an embodiment of the present invention further provides an NB-IoT terminal mode switching apparatus, which includes a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for implementing connection communication between the processor and the memory, where the program implements the steps of the foregoing method when executed by the processor.
To achieve the above object, the present invention provides a storage medium for a computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the aforementioned method.
The invention provides a method, a device and a storage medium for switching NB-IoT terminal modes, which detect the current power supply mode of an NB-IoT terminal at regular time, if the current power supply mode of the NB-IoT terminal is detected to supply power for an internal power supply, the NB-IoT terminal keeps the current power saving mode or is switched from a working mode to the power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to supply power for an external power supply, the NB-IoT terminal is switched from the power saving mode to the working mode. Therefore, the following effects can be achieved: (1) when the power supply of the external power supply is effective, the equipment is always on line, can constantly respond to network paging and finish data transmission, is convenient for inquiry, monitoring, interception and the like of intelligent facilities, and greatly improves the data transmission efficiency; (2) when the power supply of the built-in battery is effective, the equipment enters a power saving mode, the whole power consumption is reduced, and the purpose of saving power is achieved. Therefore, according to the technical scheme, the NB-IoT terminal with the internal and external power supply devices can be freely switched between the working mode and the power saving mode through software control, so that the better combination and optimization can be realized in the two contradictory directions of improving the data transmission efficiency and the battery power saving processing.
Drawings
FIG. 1 is a schematic diagram of a TAU cycle.
Fig. 2 is a schematic diagram of a state where uplink data is transmitted in the TAU period shown in fig. 1.
Fig. 3 is a schematic diagram of eDRX operation.
Fig. 4 is a flowchart of a method for switching NB-IoT terminal modes according to an embodiment of the present invention.
Fig. 5 is a core structure diagram of an NB-IoT terminal.
Fig. 6 is a detailed flowchart of the method step S120 of NB-IoT terminal mode switching shown in fig. 1.
Fig. 7 is a detailed flowchart of the method step S130 of NB-IoT terminal mode switching shown in fig. 1.
Fig. 8 is a schematic diagram illustrating the operation of switching the terminal mode when the external power supply is detected during the sleep period.
Fig. 9 is an operation diagram illustrating the mode switching of the terminal when the power supply from the external power source is detected during the active period and the power-down time exceeds the active period.
Fig. 10 is a schematic diagram illustrating the operation of switching the terminal mode when the external power supply is detected during the active period and the power-down time does not exceed the active period.
Fig. 11 is a block diagram of an NB-IoT terminal mode switching apparatus according to a second 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
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", "part", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no peculiar meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Existing NB-IoT terminal products may request activation of PSM and eDRX (either PSM only, eDRX only, or both may be active as determined by the terminal) at the same time for power saving purposes. In the power saving mode, the terminal does not need re-attach or re-establish a PDN (Public Data Network) connection, similar to a power-off state.
During the whole TAU (Tracking Area Update) period, the NB-IoT terminal will receive the value of the T3324 timer on the network side, as shown in fig. 1, and in the Time range before the timer arrives (i.e. Active Time, Active period, eDRX mode Active period), the terminal will wake up periodically according to eDRX period to attempt to decode the called traffic (only on the PO paging channel). When the T3324 timer expires, the terminal enters the sleep period (i.e., PSM mode active phase), and then downlink paging is lost, i.e., the terminal no longer responds to the called service from the network side until entering the active period of the next TAU period.
As shown in fig. 2, if the terminal needs to send uplink data to the network side (for example, it needs to send collected data to the cloud at a fixed time) when the terminal enters the sleep period, the terminal enters the normal mode (i.e., the working mode) from the PSM, and enters a new TAU period after the data is sent, that is, returns to the sleep period after the time of the T3324 timer (i.e., the active period) elapses again.
The basic unit of the period of eDRX is a superframe, and 1 superframe is 1024 frames. As shown in fig. 3, if the eDRX period is 10 superframes, the actual conversion is 1024 × 10 — 102400 ms — 102.4s, that is, in an active period before the T3324 timer arrives, the terminal tries to decode a paging message sent by the network side through an NPDCCH (narrow internet of things downlink control channel) every about 102.4s.
However, the prior art does not consider how? should be handled in mode switching when external power is applied to the NB-IoT terminal, and if the power saving mode of eDRX or PSM is still maintained but the mode cannot be switched freely between the working mode and the power saving mode, the power saving consideration brought by delaying response to downlink paging time and sacrificing data transmission efficiency does not make much sense.
Example one
As shown in fig. 4, the present embodiment provides a method for NB-IoT terminal mode switching, which includes the following steps:
step S110: and detecting the current power supply mode of the NB-IoT terminal at fixed time.
Specifically, as shown in fig. 5, the NB-IoT terminal mode switching method of the present embodiment is mainly implemented based on the NB-IoT terminal 100 shown in the figure, where the NB-IoT terminal 100 includes an upper service module 110, a MODEM module 120, a power management module 130, and an RTC clock 140.
The upper layer service module 110 is mainly used for upper layer service, is user-oriented, and focuses on a large amount of software work. The sleep/wake-up actions, etc. may be accomplished through the receipt and recognition of lower layer messages. The MODEM module 120 mainly processes the MODEM service, and may complete the sleep/wake-up action, send a notification message to the network side, and the like by receiving and identifying the bottom layer message. The power management module 130 is mainly responsible for detecting a current power supply mode, power off/wake-up, and the like of the NB-IoT terminal 100, and when the current power supply mode of the NB-IoT terminal 100 changes, is responsible for starting an internal timer (i.e., an RTC clock 140) to count time, and notifying the MODEM and the upper service module of a sleep/wake-up action. The RTC clock 140, which is the same service of the lowest layer as the power management module 130, is responsible for timing.
Based on the NB-IoT terminal 100, the method of this embodiment specifically includes "periodically detecting the current power supply mode of the NB-IoT terminal 100 through the power management module 130 to determine whether the current power supply mode of the NB-IoT terminal 100 is the power supply of the internal power supply or the power supply of the external power supply. That is, the power management module 130 may detect the current power supply mode of the corresponding NB-IoT terminal 100 at regular time according to the preset time interval, so as to determine whether the current power supply mode of the NB-IoT terminal 100 is the power supplied by the internal power source or the external power source (e.g., the external solar cell panel, the engine after the automobile is started, etc.).
Step S120: and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode or is switched from the working mode to the power saving mode.
Specifically, when the NB-IoT terminal 100 shown in fig. 5 detects, through timing detection of the power management module 130, that the current power supply mode of the NB-IoT terminal 100 is to supply power to the internal power supply, because the power storage capacity of the internal power supply is limited, in order to better prolong the service time of the internal power supply, the NB-IoT terminal 100 needs to maintain the current power saving mode or switch from the operating mode to the power saving mode, which is specifically shown in fig. 6, and includes the following steps: .
Step S121: the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode.
Step S122: and when the NB-IoT terminal is currently in the working mode and the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal is switched from the working mode to the power saving mode.
Thus, when the NB-IoT terminal 100 remains in the current power saving mode, the TAU cycle of the current power saving mode remains unchanged, that is, the active period of the TAU cycle currently remains in the active period, and the sleep period of the TAU cycle currently remains in the sleep period. When the NB-IoT terminal 100 is switched from the operating mode to the power saving mode, it immediately enters the sleep period of the TAU cycle, that is, the sleep period of the TAU cycle is entered no matter whether the active period of the TAU cycle is originally set or the sleep period of the TAU cycle is originally set, and if the network side needs to send data to the NB-IoT terminal 100, it needs to wait for the active period of the next TAU cycle that is originally set.
Step S130: and if the current power supply mode of the NB-IoT terminal is detected to be external power supply, the NB-IoT terminal keeps the current working mode or is switched from the power saving mode to the working mode.
Specifically, when the NB-IoT terminal 100 shown in fig. 5 detects, through the timing detection of the power management module 130, that the current power supply mode of the NB-IoT terminal 100 is the external power supply, since the external power supply supplies power, the power is sufficient, and excessive power saving consideration is not needed, so that the NB-IoT terminal 100 does not have much significance in power saving consideration brought by delaying response of the downlink paging time and sacrificing data transmission efficiency in the power saving mode. In order to better improve the data transmission efficiency of the NB-IoT terminal 100, the NB-IoT terminal 100 needs to maintain the current working mode or switch from the power saving mode to the working mode, which is specifically embodied as shown in fig. 7, including the following steps: .
Step S131: and the NB-IoT terminal is currently in the working mode, and if the current power supply mode of the NB-IoT terminal is detected to be the external power supply, the NB-IoT terminal keeps the current working mode.
Step S132: the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the external power supply, the NB-IoT terminal is switched to a working mode from the power saving mode.
Thus, the specific operation process of the terminal mode switching when the sleep period detects that the external power supplies power is shown in fig. 8. The specific operation process of the terminal mode switching when the active period detects that the external power supply supplies power and the power-down time exceeds the active period is shown in fig. 9, and the specific operation process of the terminal mode switching when the active period detects that the external power supply supplies power and the power-down time does not exceed the active period is shown in fig. 10.
As can be seen, when the NB-IoT terminal is currently in the power saving mode, the whole process of switching the NB-IoT terminal from the power saving mode to the working mode is specifically embodied as follows:
first, when the NB-IoT terminal 100 is currently in the power saving mode and it is detected that the current power supply mode of the NB-IoT terminal 100 is external power supply, the NB-IoT terminal 100 is woken up, and the RTC clock 140 is started to time. When waking up the NB-IoT terminal 100, the upper layer service module 110 and the MODEM module 120 of the NB-IoT terminal 100 are notified to wake up from the power saving mode, the device enters the normal operating mode, completes the attach and PDN connection with the network side, and the RTC clock 140 starts timing, for example, sets the timing time to T, as shown in fig. 8, fig. 9, or fig. 10.
Secondly, after the RTC clock 140 finishes timing, when it is detected again that the current power supply mode of the NB-IoT terminal 100 is still supplied by the external power source, a message of disabling the power saving mode is sent to the network side, and the NB-IoT terminal 100 is notified that it is currently in the working mode, so as to respond to the called service sent by the network side. That is, as shown in fig. 8, 9, or 10, when it is detected that the external power supply still exists within the predetermined time threshold (i.e., time T), a message of disabling the power saving mode is sent to the network side, and the NB-IoT terminal 100 is notified to be in the normal operating mode. After the network side receives the notification message and the issued paging message is responded, the terminal is identified to be in an 'online' state, and high-priority and important data services (such as pushing an upgrade packet) are issued preferentially.
Finally, after the RTC clock 140 finishes timing, when detecting that the current power supply mode of the NB-IoT terminal 100 is the built-in power supply, sending a message for removing the power saving mode disable to the network side, so as to notify the NB-IoT terminal to enter the power saving mode, and no longer responding to the called service sent by the network side. That is, as shown in fig. 8, 9 or 10, when the external power source power-down event is detected and the power supply is switched back to the internal battery, the notification of the power saving mode disable is released to the network side. In this way, if there is no uplink data transmission requirement, the NB-IoT terminal 100 immediately enters the sleep period of the TAU cycle (i.e., PSM mode validation phase), that is, it enters the sleep period of the TAU cycle (i.e., PSM mode validation phase) no matter whether the time range specified by the T3324 timer is exceeded as shown in fig. 9 or the time range specified by the T3324 as shown in fig. 10, at this time, the NB-IoT terminal 100 no longer responds to the called service, and the whole machine enters a PSM deep sleep state to save power. After receiving the notice of releasing the forbidden power-saving mode, the network side delays the interaction of the data which are not transmitted temporarily and other data; and issuing data when the active period of the next TAU cycle or the NB-IoT terminal 100 sends the notification of disabling the power saving mode again.
In this way, the RTC clock 140 is used for timing, so that the current power supply mode of the NB-IoT terminal 100 is detected twice within the time interval T, and only when the current power supply mode of the NB-IoT terminal 100 is detected twice to be supplied by the external power source, the NB-IoT terminal 100 sends a message for disabling the power saving mode to the network side to notify that the NB-IoT terminal 100 is currently in the working mode to respond to the called service sent by the network side, thereby avoiding the power waste problem caused by the fact that the IoT terminal 100 still responds to the called service sent by the network side for a long time when the internal power source supplies power under the condition that the NB-IoT terminal 100 temporarily activates the external power supply mode and immediately switches back to the internal power source for supplying power after power is lost.
Example two
As shown in fig. 11, a third embodiment of the present invention provides an NB-IoT terminal mode switching apparatus 20, where the apparatus 20 includes a memory 21, a processor 22, a program stored in the memory and executable on the processor, and a data bus 23 for implementing connection communication between the processor 21 and the memory 22, and the program, when executed by the processor, implements the following specific steps as shown in fig. 1:
step S110: and detecting the current power supply mode of the NB-IoT terminal at fixed time.
Specifically, as shown in fig. 5, the NB-IoT terminal mode switching method of the present embodiment is mainly based on this
The NB-IoT terminal 100 is shown to be implemented, and the NB-IoT terminal 100 includes an upper service module 110, a MODEM module 120, a power management module 130, and an RTC clock 140.
The upper layer service module 110 is mainly used for upper layer service, is user-oriented, and focuses on a large amount of software work. The sleep/wake-up actions, etc. may be accomplished through the receipt and recognition of lower layer messages. The MODEM module 120 mainly processes the MODEM service, and may complete the sleep/wake-up action, send a notification message to the network side, and the like by receiving and identifying the bottom layer message. The power management module 130 is mainly responsible for detecting a current power supply mode, power off/wake-up, and the like of the NB-IoT terminal 100, and when the current power supply mode of the NB-IoT terminal 100 changes, is responsible for starting an internal timer (i.e., an RTC clock 140) to count time, and notifying the MODEM and the upper service module of a sleep/wake-up action. The RTC clock 140, which is the same service of the lowest layer as the power management module 130, is responsible for timing.
Based on the NB-IoT terminal 100, the method of this embodiment specifically includes "periodically detecting the current power supply mode of the NB-IoT terminal 100 through the power management module 130 to determine whether the current power supply mode of the NB-IoT terminal 100 is the power supply of the internal power supply or the power supply of the external power supply. That is, the power management module 130 may detect the current power supply mode of the corresponding NB-IoT terminal 100 at regular time according to the preset time interval, so as to determine whether the current power supply mode of the NB-IoT terminal 100 is the power supplied by the internal power source or the external power source (e.g., the external solar cell panel, the engine after the automobile is started, etc.).
Step S120: and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode or is switched from the working mode to the power saving mode.
Specifically, when the NB-IoT terminal 100 shown in fig. 5 detects, through timing detection of the power management module 130, that the current power supply mode of the NB-IoT terminal 100 is to supply power to the internal power supply, because the power storage capacity of the internal power supply is limited, in order to better prolong the service time of the internal power supply, the NB-IoT terminal 100 needs to maintain the current power saving mode or switch from the operating mode to the power saving mode, which is specifically shown in fig. 6, and includes the following steps: .
Step S121: the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode.
Step S122: and when the NB-IoT terminal is currently in the working mode and the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal is switched from the working mode to the power saving mode.
Thus, when the NB-IoT terminal 100 remains in the current power saving mode, the TAU cycle of the current power saving mode remains unchanged, that is, the active period of the TAU cycle currently remains in the active period, and the sleep period of the TAU cycle currently remains in the sleep period. When the NB-IoT terminal 100 is switched from the operating mode to the power saving mode, it immediately enters the sleep period of the TAU cycle, that is, the sleep period of the TAU cycle is entered no matter whether the active period of the TAU cycle is originally set or the sleep period of the TAU cycle is originally set, and if the network side needs to send data to the NB-IoT terminal 100, it needs to wait for the active period of the next TAU cycle that is originally set.
Step S130: and if the current power supply mode of the NB-IoT terminal is detected to be external power supply, the NB-IoT terminal keeps the current working mode or is switched from the power saving mode to the working mode.
Specifically, when the NB-IoT terminal 100 shown in fig. 5 detects, through the timing detection of the power management module 130, that the current power supply mode of the NB-IoT terminal 100 is the external power supply, since the external power supply supplies power, the power is sufficient, and excessive power saving consideration is not needed, so that the NB-IoT terminal 100 does not have much significance in power saving consideration brought by delaying response of the downlink paging time and sacrificing data transmission efficiency in the power saving mode. In order to better improve the data transmission efficiency of the NB-IoT terminal 100, the NB-IoT terminal 100 needs to maintain the current working mode or switch from the power saving mode to the working mode, which is specifically embodied as shown in fig. 7, including the following steps: .
Step S131: and the NB-IoT terminal is currently in the working mode, and if the current power supply mode of the NB-IoT terminal is detected to be the external power supply, the NB-IoT terminal keeps the current working mode.
Step S132: the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the external power supply, the NB-IoT terminal is switched to a working mode from the power saving mode.
Thus, the specific operation process of the terminal mode switching when the sleep period detects that the external power supplies power is shown in fig. 8. The specific operation process of the terminal mode switching when the active period detects that the external power supply supplies power and the power-down time exceeds the active period is shown in fig. 9, and the specific operation process of the terminal mode switching when the active period detects that the external power supply supplies power and the power-down time does not exceed the active period is shown in fig. 10.
As can be seen, when the NB-IoT terminal is currently in the power saving mode, the whole process of switching the NB-IoT terminal from the power saving mode to the working mode is specifically embodied as follows:
first, when the NB-IoT terminal 100 is currently in the power saving mode and it is detected that the current power supply mode of the NB-IoT terminal 100 is external power supply, the NB-IoT terminal 100 is woken up, and the RTC clock 140 is started to time. When waking up the NB-IoT terminal 100, the upper layer service module 110 and the MODEM module 120 of the NB-IoT terminal 100 are notified to wake up from the power saving mode, the device enters the normal operating mode, completes the attach and PDN connection with the network side, and the RTC clock 140 starts timing, for example, sets the timing time to T, as shown in fig. 8, fig. 9, or fig. 10.
Secondly, after the RTC clock 140 finishes timing, when it is detected again that the current power supply mode of the NB-IoT terminal 100 is still supplied by the external power source, a message of disabling the power saving mode is sent to the network side, and the NB-IoT terminal 100 is notified that it is currently in the working mode, so as to respond to the called service sent by the network side. That is, as shown in fig. 8, 9, or 10, when it is detected that the external power supply still exists within the predetermined time threshold (i.e., time T), a message of disabling the power saving mode is sent to the network side, and the NB-IoT terminal 100 is notified to be in the normal operating mode. After the network side receives the notification message and the issued paging message is responded, the terminal is identified to be in an 'online' state, and high-priority and important data services (such as pushing an upgrade packet) are issued preferentially.
Finally, after the RTC clock 140 finishes timing, when detecting that the current power supply mode of the NB-IoT terminal 100 is the built-in power supply, sending a message for removing the power saving mode disable to the network side, so as to notify the NB-IoT terminal to enter the power saving mode, and no longer responding to the called service sent by the network side. That is, as shown in fig. 8, 9 or 10, when the external power source power-down event is detected and the power supply is switched back to the internal battery, the notification of the power saving mode disable is released to the network side. In this way, if there is no uplink data transmission requirement, the NB-IoT terminal 100 immediately enters the sleep period of the TAU cycle (i.e., PSM mode validation phase), that is, it enters the sleep period of the TAU cycle (i.e., PSM mode validation phase) no matter whether the time range specified by the T3324 timer is exceeded as shown in fig. 9 or the time range specified by the T3324 as shown in fig. 10, at this time, the NB-IoT terminal 100 no longer responds to the called service, and the whole machine enters a PSM deep sleep state to save power. After receiving the notice of releasing the forbidden power-saving mode, the network side delays the interaction of the data which are not transmitted temporarily and other data; and issuing data when the active period of the next TAU cycle or the NB-IoT terminal 100 sends the notification of disabling the power saving mode again.
In this way, the RTC clock 140 is used for timing, so that the current power supply mode of the NB-IoT terminal 100 is detected twice within the time interval T, and only when the current power supply mode of the NB-IoT terminal 100 is detected twice to be supplied by the external power source, the NB-IoT terminal 100 sends a message for disabling the power saving mode to the network side to notify that the NB-IoT terminal 100 is currently in the working mode to respond to the called service sent by the network side, thereby avoiding the power waste problem caused by the fact that the IoT terminal 100 still responds to the called service sent by the network side for a long time when the internal power source supplies power under the condition that the NB-IoT terminal 100 temporarily activates the external power supply mode and immediately switches back to the internal power source for supplying power after power is lost.
EXAMPLE III
A third embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the following specific steps as shown in fig. 1:
step S110: and detecting the current power supply mode of the NB-IoT terminal at fixed time.
Specifically, as shown in fig. 5, the NB-IoT terminal mode switching method of the present embodiment is mainly based on this
The NB-IoT terminal 100 is shown to be implemented, and the NB-IoT terminal 100 includes an upper service module 110, a MODEM module 120, a power management module 130, and an RTC clock 140.
The upper layer service module 110 is mainly used for upper layer service, is user-oriented, and focuses on a large amount of software work. The sleep/wake-up actions, etc. may be accomplished through the receipt and recognition of lower layer messages. The MODEM module 120 mainly processes the MODEM service, and may complete the sleep/wake-up action, send a notification message to the network side, and the like by receiving and identifying the bottom layer message. The power management module 130 is mainly responsible for detecting a current power supply mode, power off/wake-up, and the like of the NB-IoT terminal 100, and when the current power supply mode of the NB-IoT terminal 100 changes, is responsible for starting an internal timer (i.e., an RTC clock 140) to count time, and notifying the MODEM and the upper service module of a sleep/wake-up action. The RTC clock 140, which is the same service of the lowest layer as the power management module 130, is responsible for timing.
Based on the NB-IoT terminal 100, the method of this embodiment specifically includes "periodically detecting the current power supply mode of the NB-IoT terminal 100 through the power management module 130 to determine whether the current power supply mode of the NB-IoT terminal 100 is the power supply of the internal power supply or the power supply of the external power supply. That is, the power management module 130 may detect the current power supply mode of the corresponding NB-IoT terminal 100 at regular time according to the preset time interval, so as to determine whether the current power supply mode of the NB-IoT terminal 100 is the power supplied by the internal power source or the external power source (e.g., the external solar cell panel, the engine after the automobile is started, etc.).
Step S120: and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode or is switched from the working mode to the power saving mode.
Specifically, when the NB-IoT terminal 100 shown in fig. 5 detects, through timing detection of the power management module 130, that the current power supply mode of the NB-IoT terminal 100 is to supply power to the internal power supply, because the power storage capacity of the internal power supply is limited, in order to better prolong the service time of the internal power supply, the NB-IoT terminal 100 needs to maintain the current power saving mode or switch from the operating mode to the power saving mode, which is specifically shown in fig. 6, and includes the following steps: .
Step S121: the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode.
Step S122: and when the NB-IoT terminal is currently in the working mode and the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal is switched from the working mode to the power saving mode.
Thus, when the NB-IoT terminal 100 remains in the current power saving mode, the TAU cycle of the current power saving mode remains unchanged, that is, the active period of the TAU cycle currently remains in the active period, and the sleep period of the TAU cycle currently remains in the sleep period. When the NB-IoT terminal 100 is switched from the operating mode to the power saving mode, it immediately enters the sleep period of the TAU cycle, that is, the sleep period of the TAU cycle is entered no matter whether the active period of the TAU cycle is originally set or the sleep period of the TAU cycle is originally set, and if the network side needs to send data to the NB-IoT terminal 100, it needs to wait for the active period of the next TAU cycle that is originally set.
Step S130: and if the current power supply mode of the NB-IoT terminal is detected to be external power supply, the NB-IoT terminal keeps the current working mode or is switched from the power saving mode to the working mode.
Specifically, when the NB-IoT terminal 100 shown in fig. 5 detects, through the timing detection of the power management module 130, that the current power supply mode of the NB-IoT terminal 100 is the external power supply, since the external power supply supplies power, the power is sufficient, and excessive power saving consideration is not needed, so that the NB-IoT terminal 100 does not have much significance in power saving consideration brought by delaying response of the downlink paging time and sacrificing data transmission efficiency in the power saving mode. In order to better improve the data transmission efficiency of the NB-IoT terminal 100, the NB-IoT terminal 100 needs to maintain the current working mode or switch from the power saving mode to the working mode, which is specifically embodied as shown in fig. 7, including the following steps: .
Step S131: and the NB-IoT terminal is currently in the working mode, and if the current power supply mode of the NB-IoT terminal is detected to be the external power supply, the NB-IoT terminal keeps the current working mode.
Step S132: the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the external power supply, the NB-IoT terminal is switched to a working mode from the power saving mode.
Thus, the specific operation process of the terminal mode switching when the sleep period detects that the external power supplies power is shown in fig. 8. The specific operation process of the terminal mode switching when the active period detects that the external power supply supplies power and the power-down time exceeds the active period is shown in fig. 9, and the specific operation process of the terminal mode switching when the active period detects that the external power supply supplies power and the power-down time does not exceed the active period is shown in fig. 10.
As can be seen, when the NB-IoT terminal is currently in the power saving mode, the whole process of switching the NB-IoT terminal from the power saving mode to the working mode is specifically embodied as follows:
first, when the NB-IoT terminal 100 is currently in the power saving mode and it is detected that the current power supply mode of the NB-IoT terminal 100 is external power supply, the NB-IoT terminal 100 is woken up, and the RTC clock 140 is started to time. When waking up the NB-IoT terminal 100, the upper layer service module 110 and the MODEM module 120 of the NB-IoT terminal 100 are notified to wake up from the power saving mode, the device enters the normal operating mode, completes the attach and PDN connection with the network side, and the RTC clock 140 starts timing, for example, sets the timing time to T, as shown in fig. 8, fig. 9, or fig. 10.
Secondly, after the RTC clock 140 finishes timing, when it is detected again that the current power supply mode of the NB-IoT terminal 100 is still supplied by the external power source, a message of disabling the power saving mode is sent to the network side, and the NB-IoT terminal 100 is notified that it is currently in the working mode, so as to respond to the called service sent by the network side. That is, as shown in fig. 8, 9, or 10, when it is detected that the external power supply still exists within the predetermined time threshold (i.e., time T), a message of disabling the power saving mode is sent to the network side, and the NB-IoT terminal 100 is notified to be in the normal operating mode. After the network side receives the notification message and the issued paging message is responded, the terminal is identified to be in an 'online' state, and high-priority and important data services (such as pushing an upgrade packet) are issued preferentially.
Finally, after the RTC clock 140 finishes timing, when detecting that the current power supply mode of the NB-IoT terminal 100 is the built-in power supply, sending a message for removing the power saving mode disable to the network side, so as to notify the NB-IoT terminal to enter the power saving mode, and no longer responding to the called service sent by the network side. That is, as shown in fig. 8, 9 or 10, when the external power source power-down event is detected and the power supply is switched back to the internal battery, the notification of the power saving mode disable is released to the network side. In this way, if there is no uplink data transmission requirement, the NB-IoT terminal 100 immediately enters the sleep period of the TAU cycle (i.e., PSM mode validation phase), that is, it enters the sleep period of the TAU cycle (i.e., PSM mode validation phase) no matter whether the time range specified by the T3324 timer is exceeded as shown in fig. 9 or the time range specified by the T3324 as shown in fig. 10, at this time, the NB-IoT terminal 100 no longer responds to the called service, and the whole machine enters a PSM deep sleep state to save power. After receiving the notice of releasing the forbidden power-saving mode, the network side delays the interaction of the data which are not transmitted temporarily and other data; and issuing data when the active period of the next TAU cycle or the NB-IoT terminal 100 sends the notification of disabling the power saving mode again.
In this way, the RTC clock 140 is used for timing, so that the current power supply mode of the NB-IoT terminal 100 is detected twice within the time interval T, and only when the current power supply mode of the NB-IoT terminal 100 is detected twice to be supplied by the external power source, the NB-IoT terminal 100 sends a message for disabling the power saving mode to the network side to notify that the NB-IoT terminal 100 is currently in the working mode to respond to the called service sent by the network side, thereby avoiding the power waste problem caused by the fact that the IoT terminal 100 still responds to the called service sent by the network side for a long time when the internal power source supplies power under the condition that the NB-IoT terminal 100 temporarily activates the external power supply mode and immediately switches back to the internal power source for supplying power after power is lost.
The method, the device and the storage medium for switching the mode of the NB-IoT terminal provided by the embodiment of the invention detect the current power supply mode of the NB-IoT terminal at regular time, if the current power supply mode of the NB-IoT terminal is detected to supply power for an internal power supply, the NB-IoT terminal keeps the current power saving mode or is switched from the working mode to the power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to supply power for an external power supply, the NB-IoT terminal is switched from the power saving mode to the working mode. Therefore, the following effects can be achieved: (1) when the power supply of the external power supply is effective, the equipment is always on line, can constantly respond to network paging and finish data transmission, is convenient for inquiry, monitoring, interception and the like of intelligent facilities, and greatly improves the data transmission efficiency; (2) when the power supply of the built-in battery is effective, the equipment enters a power saving mode, the whole power consumption is reduced, and the purpose of saving power is achieved. Therefore, according to the technical scheme, the NB-IoT terminal with the internal and external power supply devices can be freely switched between the working mode and the power saving mode through software control, so that the better combination and optimization can be realized in the two contradictory directions of improving the data transmission efficiency and the battery power saving processing.
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.
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.

Claims (10)

1. A method for mode switching of a narrowband Internet of things (NB-IoT) terminal, the method comprising the steps of:
the current power supply mode of the NB-IoT terminal is detected in a timing mode;
if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode or is switched from the working mode to the power saving mode;
and if the current power supply mode of the NB-IoT terminal is detected to be external power supply, the NB-IoT terminal keeps the current working mode or is switched from the power saving mode to the working mode.
2. The method according to claim 1, wherein the step of timing detection of the current power supply mode of the NB-IoT terminal specifically comprises:
and a power management module is used for detecting the current power supply mode of the NB-IoT terminal at regular time so as to judge whether the current power supply mode of the NB-IoT terminal is the power supply of an internal power supply or the power supply of an external power supply.
3. The method according to claim 1, wherein the step of the NB-IoT terminal maintaining the current power saving mode or switching from the operating mode to the power saving mode if the current power supply mode of the NB-IoT terminal is a built-in power supply specifically comprises:
the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, the NB-IoT terminal keeps the current power saving mode.
4. The method according to claim 3, wherein the step of the NB-IoT terminal maintaining the current power saving mode or switching from the operating mode to the power saving mode if the current power supply mode of the NB-IoT terminal is a built-in power supply further comprises:
the NB-IoT terminal is currently in a working mode, and if the current power supply mode of the NB-IoT terminal is detected to be the power supply mode of the built-in power supply, the NB-IoT terminal is switched to a power saving mode from the working mode.
5. The method according to claim 1, wherein the step of the NB-IoT terminal maintaining the current working mode or switching from the power saving mode to the working mode when detecting that the current power supply mode of the NB-IoT terminal is external power supply includes:
and the NB-IoT terminal is currently in a working mode, and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of an external power supply, the NB-IoT terminal keeps the current working mode.
6. The method according to claim 5, wherein the step of the NB-IoT terminal maintaining the current working mode or switching from the power saving mode to the working mode when detecting that the current power supply mode of the NB-IoT terminal is external power supply further comprises:
the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be the power supply of an external power supply, the NB-IoT terminal is switched to a working mode from the power saving mode.
7. The method according to claim 6, wherein the NB-IoT terminal is currently in a power saving mode, and the step of switching the NB-IoT terminal from the power saving mode to the working mode when detecting that the current power supply mode of the NB-IoT terminal is supplying power to an external power supply specifically includes:
the NB-IoT terminal is currently in a power saving mode, and if the current power supply mode of the NB-IoT terminal is detected to be external power supply, the NB-IoT terminal is awakened, and RTC clock timing is started;
and if the RTC clock finishes timing and the current power supply mode of the NB-IoT terminal is detected to be still supplied with power by the external power supply again, sending a message of forbidding the power saving mode to the network side to inform the NB-IoT terminal of being in the working mode currently so as to respond to the called service sent by the network side.
8. The method of claim 7, wherein the NB-IoT terminal is currently in a power saving mode, and the step of switching the NB-IoT terminal from the power saving mode to the working mode further includes, if it is detected that the current power supply mode of the NB-IoT terminal is supplying power to an external power source:
and if the RTC clock finishes timing, and when the current power supply mode of the NB-IoT terminal is detected to be the power supply of the built-in power supply, sending a message for removing the forbidden power-saving mode to the network side so as to inform the NB-IoT terminal to enter the power-saving mode and not respond to the called service sent by the network side any more.
9. An apparatus for NB-IoT terminal mode switching, the apparatus comprising a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for enabling connectivity communication between the processor and the memory, the program when executed by the processor implementing the steps of the method for NB-IoT terminal mode switching as recited in any of claims 1-8.
10. A storage medium for computer-readable storage, the storage medium storing one or more programs executable by one or more processors to perform the steps of the NB-IoT terminal mode switching method of any of claims 1-8.
CN201810628251.2A 2018-06-19 2018-06-19 NB-IoT terminal mode switching method, device and storage medium Pending CN110621056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810628251.2A CN110621056A (en) 2018-06-19 2018-06-19 NB-IoT terminal mode switching method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810628251.2A CN110621056A (en) 2018-06-19 2018-06-19 NB-IoT terminal mode switching method, device and storage medium

Publications (1)

Publication Number Publication Date
CN110621056A true CN110621056A (en) 2019-12-27

Family

ID=68919983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810628251.2A Pending CN110621056A (en) 2018-06-19 2018-06-19 NB-IoT terminal mode switching method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110621056A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113639796A (en) * 2021-08-11 2021-11-12 南京理工大学 NB-IoT-based environmental information acquisition method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006037377A1 (en) * 2004-10-07 2006-04-13 Telefonaktiebolaget Lm Ericsson (Publ) User terminal power resource management
CN102026153A (en) * 2009-09-18 2011-04-20 中兴通讯股份有限公司 Method and system for evolved Node B (eNB) to acquire power supply mode of user terminal
CN102640544A (en) * 2009-12-07 2012-08-15 高通股份有限公司 System and method for dynamic cell searching
CN102640551A (en) * 2009-12-07 2012-08-15 高通股份有限公司 System and method for signal detection using a dynamic threshold
US20150208353A1 (en) * 2014-01-17 2015-07-23 Lg Electronics Inc. Method and apparatus for reducing power consumption of terminal
US20160021700A1 (en) * 2010-02-16 2016-01-21 Samsung Electronics Co., Ltd. Method and apparatus for controlling discontinuous reception in a wireless communication system
CN107205261A (en) * 2017-07-24 2017-09-26 京信通信系统(中国)有限公司 A kind of terminal power-economizing method, terminal and base station
CN107277906A (en) * 2017-07-28 2017-10-20 广东欧珀移动通信有限公司 Mode selecting method, device, terminal and computer-readable recording medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006037377A1 (en) * 2004-10-07 2006-04-13 Telefonaktiebolaget Lm Ericsson (Publ) User terminal power resource management
CN102026153A (en) * 2009-09-18 2011-04-20 中兴通讯股份有限公司 Method and system for evolved Node B (eNB) to acquire power supply mode of user terminal
CN102640544A (en) * 2009-12-07 2012-08-15 高通股份有限公司 System and method for dynamic cell searching
CN102640551A (en) * 2009-12-07 2012-08-15 高通股份有限公司 System and method for signal detection using a dynamic threshold
US20160021700A1 (en) * 2010-02-16 2016-01-21 Samsung Electronics Co., Ltd. Method and apparatus for controlling discontinuous reception in a wireless communication system
US20150208353A1 (en) * 2014-01-17 2015-07-23 Lg Electronics Inc. Method and apparatus for reducing power consumption of terminal
CN107205261A (en) * 2017-07-24 2017-09-26 京信通信系统(中国)有限公司 A kind of terminal power-economizing method, terminal and base station
CN107277906A (en) * 2017-07-28 2017-10-20 广东欧珀移动通信有限公司 Mode selecting method, device, terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113639796A (en) * 2021-08-11 2021-11-12 南京理工大学 NB-IoT-based environmental information acquisition method

Similar Documents

Publication Publication Date Title
CN106358273B (en) Low-power consumption communication device
EP2876944B1 (en) Network card device, routing device, system and method for realizing dynamic sleep and wakeup
US8255724B2 (en) Control of awake time in mobile device with event based time period followed by sleep mode algorithm
CN103532684B (en) 3GPP (the 3rd generation partnership project)-based MTC (machine type communication) terminal energy-saving method through self-adaptive mixed DRX (discontinuous reception) mechanism
CN109246803B (en) Method, device, terminal and storage medium for monitoring paging message
CN109041188B (en) Wireless terminal, wireless terminal power saving method and device
CN106412845B (en) Dormancy method and device of wireless fidelity Wi-Fi equipment
EP3190771B1 (en) Method and device for managing instant communication application program, and mobile terminal thereof
CN101155355A (en) Control method, device and equipment for sleeping mode of user's set
CN1988698A (en) Mobile terminal and power saving method
CN110602771B (en) Power consumption control method and device and vehicle networking terminal
CN104977979A (en) Clock source switching method and clock source switching system
CN110691399B (en) Internet of things terminal, awakening method and device thereof and storage medium
CN102621912A (en) Automatic power-saving method of micro controller unit
CN110691430A (en) Awakening method and device of Internet of things terminal, storage medium and base station
CN110572869A (en) equipment awakening method and device based on BLE and Hall switch
CN108200554B (en) Narrow-band Internet of things instrument based on PSM and eDRX, communication method and system
CN113765679A (en) Computer network awakening method and system
CN106598193B (en) Power consumption control method and device
CN110621056A (en) NB-IoT terminal mode switching method, device and storage medium
CN109246625B (en) Cluster discontinuous reception scheduling method and system
WO2012126396A1 (en) Energy saving method for service board, master control board, service board, and access apparatus
CN111294896B (en) User terminal, control method thereof, and computer-readable storage medium
CN113829953A (en) Cooling control method and device for power battery of electric automobile
CN101639357A (en) Method and system for managing power supply of electronic navigation system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191227

RJ01 Rejection of invention patent application after publication