Disclosure of Invention
The invention provides user equipment, a PSM mode control method and device thereof, and a storage medium, and aims to solve the problem of high power consumption of the user equipment in the prior art.
In order to achieve the above object, the present invention provides a method for controlling a PSM mode of a user equipment, comprising the steps of:
calculating a minimum duration T1 of the PSM mode of the user equipment;
acquiring the supporting situation of a network side to the PSM mode;
when the network side does not support the PSM mode, after the user equipment enters the PSM mode, the PSM mode is exited after a timeout of T1.
Optionally, the step of acquiring the PSM mode support status from the network side includes:
initiating an ATTACH request or a TAU request to a network side, and carrying T1;
receiving ATTACH response or TAU response of a network side;
and acquiring the supporting situation of the network side for the PSM mode according to the ATTACH response or the TAU response.
Optionally, after the step of acquiring the PSM mode support by the network side, the method further includes:
when the network side supports the PSM mode, receiving a designated duration T2 of the PSM mode of the user equipment issued by the network side;
when the network side saves the context of the PSM mode, the user equipment compares T1 with T2 when T1 times out and exits the PSM mode;
when T1 is less than or equal to T2, controlling the user equipment to enter an RRC _ IDLE state;
when T1 > T2, the minimum duration T1 of the PSM mode of the user equipment is recalculated.
Optionally, after the step of acquiring the PSM mode support by the network side, the method further includes:
when the network side supports the PSM mode but does not save the PSM mode context, the user equipment exits the PSM mode after timeout of T1 and recalculates the minimum duration T1 of the PSM mode of the user equipment.
The present invention also provides a device for controlling PSM mode of a user equipment, comprising:
a minimum duration calculation module to calculate a minimum duration T1 of the PSM mode of the user equipment;
the acquisition network side state module is used for acquiring the PSM mode supporting condition of the network side;
the first wake-up control module is configured to exit the PSM mode after a timeout T1 occurs after the ue enters the PSM mode when the network side does not support the PSM mode.
Optionally, the module for acquiring a network side status includes:
a request sending unit, configured to initiate an ATTACH request or a TAU request to a network side, and carry T1;
a response receiving unit, configured to receive an ATTACH response or a TAU response on the network side;
and the network side state acquisition unit is used for acquiring the support condition of the network side for the PSM mode according to the ATTACH response or the TAU response.
Optionally, the apparatus for controlling PSM mode of a user equipment further includes:
further comprising:
a designated duration receiving module, configured to receive a user equipment PSM mode designated duration T2 issued by a network side when the network side supports the PSM mode;
a time comparison module, configured to compare T1 with T2 when the user equipment times out at T1 and exits PSM mode when the network side stores PSM mode context;
a second wake-up control module, configured to control the ue to enter an RRC _ IDLE state when T1 is not greater than T2;
a third wake-up control module for controlling the minimum duration calculation module to recalculate the minimum duration T1 of the PSM mode of the user equipment when T1 > T2.
Optionally, the apparatus for controlling PSM mode of a user equipment further includes:
a fourth wake-up control module for controlling the user equipment to exit the PSM mode after a timeout of T1 and controlling the minimum duration calculation module to recalculate the minimum duration T1 of the PSM mode of the user equipment when the network side supports the PSM mode but does not store the PSM mode context.
The present invention also provides a ue, which includes a memory, a processor, and a ue PSM mode control program stored in the memory and executable on the processor, where the ue PSM mode control program, when executed by the processor, implements the steps of the ue PSM mode control method as described above.
The present invention also provides a storage medium, wherein the storage medium stores a control program of a user equipment PSM mode, and when the control program of the user equipment PSM mode is executed, the steps of the control method of the user equipment PSM mode are implemented.
In the embodiment provided by the invention, the PSM mode flow is improved, and the aim of saving power of the UE can be achieved by the UE entering the PSM mode in a single direction under the condition that the network side does not support the PSM mode.
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.
Currently, the following situations exist in a network (especially, a Long Term Evolution (LTE) network, which is a Long Term Evolution of UMTS (Universal Mobile Telecommunications System) technical standard established by 3GPP organization and formally established and started in 3GPP multi-session in 2004 and 12 months, and is described later by taking an LTE network as an example) and a user equipment (ue):
1. the LTE network does not support the PSM (Power Save Mode) Mode, or the PSM Mode and the UE do not match;
according to the 3GPP protocol, the UE negotiates with the network the PSM mode capability of the network and the UE when ATTACH request (in chinese) or TAU (Tracking Area Update) request, and if the network does not support or the PSM mode does not match, the UE cannot enter the PSM mode.
2. The network supports PSM mode, but the PSM mode context is not retained by the network side in PSM mode state.
3. According to the protocol requirements, the UE sets the minimum of the following three time values when calculating the PSM mode duration:
1) UE application requested minimum duration;
2) t3412(Extended TAU timer, chinese: a timer for periodical location update, the value of the timer is sent to the terminal by the network side through the ATTACH or TAU response, and the network side specifies in the ATTACH and TAU response information;
3) an IMS (IP Multimedia Subsystem, Chinese: IP Multimedia Subsystem) data service and a clock in an LTE protocol stack; (in this invention, the PSM duration is mainly two: one is issued by the network and one is calculated by the terminal itself, the minimum value calculated by the terminal is that all applications or services of the terminal include 1) and 3), the minimum value of the involved time. For example, when using CS service, the terminal may not even enter PSM mode at all) since the network side does not necessarily have complete knowledge of the service type and the working scenario of the UE, the T3412 value issued to the UE does not necessarily match the working status of the UE. When T3412 is set too small, the UE wakes up without being exited and interacts with the network, increasing power consumption.
The noun explains:
the PSM principle is to allow the UE to turn off the transceiving of signals and the related functions of the AS (access stratum) after entering the idle state for a period of time, which is equivalent to partial power-off, thereby reducing power consumption of antennas, radio frequencies, signaling processing, and the like.
When the UE enters PSM, the network and the UE may store UE NAS (non-Access stratum)/TAU, CM (Cable Modem, which is used in CATV system to provide high-speed broadband Internet Access service to the User), DS (DS-CDMA (Direct Sequence-Code Division Multiple Access), which is a Direct Sequence Code Division Multiple Access), UIM (User identity Module), and IMS context. Only when the TAU period request timer (T3412) is overtime or the UE has MO (Mobile ordered, Chinese: short message service) service to be processed and actively exits, the UE will exit the PSM mode, enter an idle state, and further enter a connected state to process uplink and downlink services.
The following is the PSM for introduction:
the UE may employ PSM to reduce its power consumption. This mode is similar to powering down, but the UE is still registered with the network and does not need to reconnect or reestablish a PDN connection. The UE cannot reach the mobile terminal server immediately in PSM mode. The UE running PSM may reach the mobile terminal server in and after the on-line mode and after the wake-up time is reached. The connected mode is generated by a mobile-originated event like data transmission or signal, e.g. after a periodic TAU/RAU procedure. Thus, PSM is used for UEs that expect few mobile originated and terminated services and can accept corresponding delays in mobile terminal communications.
For mobile terminal data when the UE is in PSM mode, high latency communication is described in section 4.5.7, and the PSM mode is not supported by the CS domain on the network side. The PSM mode can only be used by the PS domain of IMS or CS servers of SMS and mobile origin. UEs using CS services for mobile terminals other than SMS should not use PSM because the CS domain does not support CS voice services to UEs for mobile terminals in PSM. The UE uses IMS services other than SMS for delay tolerant mobile terminals and should not require PSM mode unless the IMS employs PSM-enabled high-delay communications.
The first point is as follows: the persistent connection frequency of GM messages affects the possibility of applying PSM mode for UEs using IMS service applications:
applications that wish to use PSM need to consider the specific handling of mobile terminal services or data transmissions. The network side application may send an SMS or device trigger to trigger an application on the UE to initiate communication with the UE, which is sent when the UE arrives. Alternatively, the network-side application may request monitoring of the reachability of the data to receive a notification when downlink data may be immediately sent to the UE, when the UE is available for downlink data transmission. Alternatively, if periodic downlink data is present at the SCS/AS, it is more efficient when the UE initiates communication with the SCS/AS to obtain the downlink data. Whether selective, the UE requires a wake-up time, which together with the connected mode time may be long enough to ensure mobile terminal service or data transmission, such as sending an SMS.
When the UE wants to use PSM mode, it needs to request wakeup time in each Attach and TAU/RAU procedure. If the network supports PSM and accepts the UE to use PSM, the network acknowledges the use of PSM by assigning the UE a wake-up time setting. The network receives the UE request value, e.g. the maximum response time provided by inserting user data information from the HSS and any local MME/SGSN configuration related to determining the wake-up time value is allocated to the UE. If we want to change the wake-up time value, e.g. when the condition of the UE changes, the UE requests the required wake-up time value in the Attach and TAU/RAU procedure.
And a second point: the minimum recommended length of wake-up time is the time allowed for the "information wait flag" during which the MME/SGSN triggers the SMSC to send an SMS to the MME/SGSN via the HSS, e.g. 2DRX cycle plus 10 seconds.
The wake-up time may be shorter than the estimated time for sending a waiting SMS to the UE at the second point, e.g. 0 seconds. If the MME/SGSN allocates such a short wake-up time to the UE, the MME and SGSN (signaling connection, if only the "information waiting flag" setting), RAN (and RAB (S) setting) should be configured long enough with the UE that a waiting SMS can be sent.
And a third point: the RAN configures the RAB connection times without distinction between UEs:
if the MME/SGSN is requested to monitor the reachable data, the MME and SGSN (signal only connection) and RAN (connection rab(s) setup) should keep the maximum response time of the connection, which is smaller than the wake-up time, if the maximum response time is provided by the HSS inserting the user data information. Otherwise, the configured default maximum response time is set by the MME and the SGSN.
The UE does not exit PSM mode until a mobile source event (e.g., periodic RAU/TAU, mobile source data or detach) requires the UE to initiate any procedures to the network while running PSM. In Attach and RAU/TAU procedures, PSM-capable UEs require the value of the periodic TAU/RAU timer to be adapted to the delay/reaction of the mobile-side service. If the UE wants to change the value of the periodic RAU/TAU timer, e.g. when the UE conditions change, the UE therefore needs a UE-adapted timing value in the RAU/TAU procedure.
A fourth point: if the UE or application executes a procedure for the period of uplink data transmission and the value of the TAU/RAU timer, which is preferably a request period TAU/RAU timer whose value is at least slightly greater than the avoidance period TAU/RAU during data transmission, the power consumption will increase:
any timers and conditions that are still valid during power down, such as NAS level back-off timers, apply in the same way in PSM mode. The UE may exit PSM at any time, e.g., for mobile originated communications. If the network confirms that the UE uses the PSM mode, the network should not activate the ISR of the UE.
In view of the above, the present invention provides a method for controlling PSM mode of a user equipment, which reduces power consumption of a UE by improving PSM mode, as shown in fig. 1, and provides a first embodiment of the method for controlling PSM mode of a user equipment, where the method for controlling PSM mode of a user equipment includes the steps of:
step S10, calculating the minimum duration T1 of the PSM mode of the user equipment;
step S20, obtaining the PSM mode supporting situation of the network side;
step S30, when the network side does not support PSM, after the ue enters PSM, the PSM is exited after timeout of T1.
If the network does not support the PSM mode, the UE uses T1 as the PSM mode duration, enters the PSM mode as needed after the service is completed, exits the PSM mode after T1 times out, and recalculates T1 for the next cycle after exiting the PSM mode. Therefore, in the technical scheme provided by the invention, the PSM mode flow is improved, so that the aim of saving power of the UE can be fulfilled by the UE entering the PSM mode in a single direction under the condition that the network side does not support the PSM mode.
Fig. 2 shows an embodiment of step S20 in fig. 1, where step S20 includes:
step S21, initiating ATTACH request or TAU request to network side, and carrying T1;
step S22, receiving ATTACH response or TAU response of the network side;
step S23, obtaining a supporting situation of the PSM mode by the network side according to the ATTACH response or the TAU response.
When the user equipment sends an ATTACH request or a TAU request to the network side, the user equipment negotiates with the network about PSM mode capabilities of the network and the UE, if the network side supports the PSM mode, a specified duration T2 of the user equipment is calculated, and the specified duration T2 is sent to the user equipment through an ATTACH response or a TAU response, and the user equipment determines whether the network side supports the PSM mode according to whether the specified duration T2 is obtained.
Fig. 3 is a second embodiment of a method for controlling PSM mode of a user equipment according to the present invention, please refer to fig. 3 and fig. 5, in this embodiment, step S20 further includes:
step S40, when the network side supports the PSM mode, receiving the designated duration T2 of the PSM mode of the user equipment issued by the network side;
the specified duration T2, also known as T3412(Extended TAU timer, in chinese: timer for periodic location update), has a value that is sent by the network side to the terminal via the ATTACH or TAU response.
Step S50, when the network side stores the PSM mode context and the ue times out T1 and exits PSM mode, comparing T1 with T2;
step S60, when T1 is less than or equal to T2, controlling the UE to enter RRC _ IDLE state;
step S70, when T1 > T2, control recalculates a minimum duration T1 of the PSM mode of the user equipment.
If the network supports PSM mode and supports save context, PSM mode is entered as needed after the service is completed, and T1 times out, PSM mode is exited and T1 is compared to T2 (T3412 is T2 in fig. 5): when T1 is greater than the T3412 value, recalculating the minimum duration T1 of the PSM mode of the user equipment for the next cycle; if T1 is less than or equal to the value of T3412, the user equipment enters RRC _ IDLE state. An RRC IDLE state AS (access stratum) layer, where the RRC state is terminated at the UE and the eNB, and the criterion is whether RRC connection is established, an RRC _ IDLE mode, that is, the RRC connection is established to perform a standby mode.
For the situation that the network supports the PSM mode, the problem that the UE frequently exits due to unreasonable scheduling configuration of the network side is solved, so that the UE can autonomously determine the exiting time, and the purpose of reducing power consumption is achieved.
Fig. 4 is a second embodiment of a method for controlling PSM mode of a user equipment according to the present invention, please refer to fig. 4 and fig. 5, in this embodiment, after step S20, the method includes:
step S80, when the PSM mode is supported by the network side but the PSM mode context is not saved, controlling the user equipment to exit the PSM mode after a timeout of T1, and controlling recalculating the minimum duration T1 of the PSM mode of the user equipment.
If the network supports PSM mode but does not support saving context, the UE performs the next cycle using T1 as PSM mode duration and entering PSM mode as needed after the service is completed, exiting PSM mode after T1 times out, and recalculating the minimum duration T1 of PSM mode for the user equipment.
Fig. 6 is a first embodiment of the apparatus for controlling a PSM mode of a user equipment according to the present invention, and referring to fig. 6, the apparatus for controlling a PSM mode of a user equipment includes:
a minimum duration calculation module 10 for calculating a minimum duration T1 of the PSM mode of the user equipment;
an acquiring network side status module 20, configured to acquire a PSM mode support status of the network side;
the first wake-up control module 30 is configured to exit the PSM mode after a timeout T1 occurs after the ue enters the PSM mode when the network side does not support the PSM mode.
If the network does not support the PSM mode, the UE uses T1 as the PSM mode duration, enters the PSM mode as needed after the service is completed, exits the PSM mode after a timeout of T1, and recalculates T1 for the next cycle after exiting the PSM mode. Therefore, in the technical scheme provided by the invention, the PSM mode flow is improved, so that the aim of saving power of the UE can be fulfilled by the UE entering the PSM mode in a single direction under the condition that the network side does not support the PSM mode.
Fig. 7 is an embodiment of the module for acquiring network side status in fig. 6, please refer to fig. 7, where the module for acquiring network side status 20 includes:
a request sending unit 21, configured to initiate an ATTACH request or a TAU request to a network side, and carry T1;
a response accepting unit 22, configured to receive an ATTACH response or a TAU response on the network side;
a network side status obtaining unit 23, configured to obtain a supporting situation of the PSM mode by the network side according to the ATTACH response or the TAU response.
When the user equipment sends an ATTACH request or a TAU request to the network side, the user equipment negotiates with the network about PSM mode capabilities of the network and the UE, if the network side supports the PSM mode, a specified duration T2 of the user equipment is calculated, and the specified duration T2 is sent to the user equipment through an ATTACH response or a TAU response, and the user equipment determines whether the network side supports the PSM mode according to whether the specified duration T2 is obtained.
Fig. 8 is a second embodiment of a control apparatus for a PSM mode of a user equipment according to the present invention, and please refer to fig. 8, which is different from the first embodiment in that the control apparatus for a PSM mode of a user equipment further includes:
a designated duration receiving module 40, configured to receive a user equipment PSM mode designated duration T2 issued by the network side when the network side supports the PSM mode;
a time comparison module 50, configured to compare T1 with T2 when the user equipment times out at T1 and exits PSM mode when the network side maintains PSM mode context;
a second wake-up control module 60, configured to control the ue to enter an RRC _ IDLE mode when T1 is not greater than T2;
a third wake-up control module 70 for controlling the minimum duration calculation module 10 to recalculate the minimum duration T1 of the PSM mode of the user equipment when T1 > T2.
If the network supports PSM mode and supports save context, PSM mode is entered as needed after the service is completed, and T1 times out, PSM mode is exited and T1 is compared to T2 (T3412 is T2 in fig. 5): when T1 is greater than the T3412 value, recalculating the minimum duration T1 of the PSM mode of the user equipment for the next cycle; and if the T1 is less than or equal to the T3412 value, controlling the user equipment to enter an RRC _ IDLE state. An RRC IDLE state AS (access stratum) layer, where the RRC state is terminated at the UE and the eNB, and the criterion is whether RRC connection is established, an RRC _ IDLE mode, that is, the RRC connection is established to perform a standby mode.
For the situation that the network supports the PSM mode, the problem that the UE frequently exits due to unreasonable scheduling configuration of the network side is solved, so that the UE can autonomously determine the exiting time, and the purpose of reducing power consumption is achieved.
Fig. 9 is a third embodiment of a control apparatus for a PSM mode of a user equipment according to the present invention, and please refer to fig. 9, which is different from the first embodiment in that the control apparatus for a PSM mode of a user equipment further includes:
a fourth wake-up control module 80 for controlling the user equipment to exit the PSM mode after a timeout of T1 and for controlling the minimum duration calculation module to recalculate the minimum duration T1 of the PSM mode of the user equipment when the network side supports the PSM mode but does not save the PSM mode context.
If the network supports PSM mode but does not support saving context, the UE performs the next cycle using T1 as PSM mode duration and entering PSM mode as needed after the service is completed, exiting PSM mode after T1 times out, and recalculating the minimum duration T1 of PSM mode for the user equipment.
The present invention also provides a ue, which includes a memory, a processor, and a ue PSM mode control program stored in the memory and executable on the processor, where the ue PSM mode control program, when executed by the processor, implements the steps of the ue PSM mode control method according to the embodiments described above.
The present invention also provides a storage medium, wherein the storage medium stores a control program of a user equipment PSM mode, and when the control program of the user equipment PSM mode is executed, the steps of the control method of the user equipment PSM mode of the above embodiments are implemented.
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 substantially or partially embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a cloud server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.