Mobile terminal, method for controlling timer of mobile terminal, and storage medium therefor

By introducing application monitoring modules, data monitoring modules and timer monitoring modules in mobile terminals, the timer duration is dynamically adjusted, and the misjudgment and high power consumption problems caused by the solid length of the timer is solved, and more efficient power consumption management is achieved .

CN119136290AInactive Publication Date: 2024-12-13HANGZHOU BIBO TECH CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411607807.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2024-12-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The fixed timer in existing mobile terminals leads to a high chance of misjudging the end of data services, frequent access to the network, and power consumption cannot be efficiently saved.

Method used

By introducing application monitoring modules, data monitoring modules and timer monitoring modules in the mobile terminal, the timer duration is adjusted according to the screen status and the operation status of the application software, and the operation of the timer is dynamically controlled to avoid misjudgment and frequent access to the network.

Benefits of technology

It reduces misjudgment on whether the data service is over, avoids frequent access to the network by mobile terminals, and effectively saves power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119136290A_ABST
    Figure CN119136290A_ABST
Patent Text Reader

Abstract

The invention provides a mobile terminal, a method for controlling a timer of the mobile terminal and a storage medium thereof. The mobile terminal comprises the timer, an application monitoring module, a data monitoring module and a timer monitoring module. The application monitoring module can be used for monitoring the screen state of the mobile terminal and the running state of application software in the mobile terminal and sending a first instruction to the timer monitoring module, and the first instruction is used for adjusting the duration of a timer. The data monitoring module can be used for monitoring the sending condition of uplink data and the receiving condition of downlink data in the mobile terminal, and determining whether to send a second instruction to the timer monitoring module or not. The timer monitoring module can be used for controlling operation of the timer according to the first instruction and / or the second instruction. Operation of the timer is controlled through the synergistic effect among the application monitoring module, the data monitoring module and the timer monitoring module, and the problem that power consumption is large due to the fixed duration of the timer is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a mobile terminal, a method for controlling a timer of the mobile terminal, and a storage medium thereof. Background Art

[0002] Mobile terminals can provide users with high-quality and smooth Internet access experience, but at the same time, battery life has also become an important indicator for evaluating mobile terminals.

[0003] The mobile terminal is equipped with a timer that can be used to control the transition of the mobile terminal between the connected state and the idle state. In the related art, a fixed timer duration is used. However, when no uplink or downlink data transmission or reception is detected during this period, the mobile terminal enters the idle state, which increases the probability of misjudging the end of the data service, resulting in frequent access to the network and failing to efficiently save power consumption. Summary of the invention

[0004] In view of this, the purpose of the present application is to propose a mobile terminal, a method for controlling a timer of a mobile terminal and a storage medium thereof, so as to solve or partially solve the above problems.

[0005] Based on the above purpose, in a first aspect, the present application provides a mobile terminal, including a timer, an application monitoring module, a data monitoring module and a timer monitoring module; The application monitoring module is configured to monitor the screen state of the mobile terminal and the running state of the application software in the mobile terminal, and send a first instruction to the timer monitoring module according to the screen state and / or the running state of the application software, wherein the first instruction is used to adjust the duration of the timer; The data monitoring module is configured to monitor the sending of uplink data and the receiving of downlink data of the mobile terminal, and determine whether to send a second instruction to the timer monitoring module according to the sending of the uplink data and the receiving of the downlink data, wherein the second instruction is used to start or restart the timer; The timer monitoring module is configured to control the operation of the timer according to the first instruction and / or the second instruction.

[0006] Optionally, the data monitoring module is further configured to monitor the sending status of uplink data and the receiving status of downlink data in the mobile terminal in response to the mobile terminal entering the connected state.

[0007] Optionally, the data monitoring module is further configured to send the second instruction to the timer monitoring module in response to monitoring that the uplink data needs to be sent or the downlink data needs to be received.

[0008] Optionally, the first instruction includes a first duration instruction, the screen status includes a screen off event, and the application monitoring module is further configured to send the first duration instruction to the timer monitoring module in response to detecting the screen off event or the application software running in the background.

[0009] Optionally, the first instruction includes a second duration instruction, the screen status includes a screen-on event, and the application monitoring module is further configured to send the second duration instruction to the timer monitoring module in response to detecting the screen-on event and at least one of the application software is running in the foreground.

[0010] Optionally, the timer monitoring module is further configured to: In response to receiving the first duration instruction, based on a reference duration of the timer and a first function, determining a first duration and setting the duration of the timer to the first duration, the first duration being less than the reference duration; Determining how long the timer has been running; In response to the first time period minus the time period for which the timer has been running being less than or equal to zero, stopping the timer.

[0011] Optionally, the timer monitoring module is further configured to: In response to receiving the second duration instruction, based on a reference duration of the timer and a second function, determining a second duration and setting the duration of the timer to the second duration, the second duration being greater than the reference duration; Determining how long the timer has been running; In response to the second time period minus the time period that the timer has been running being less than or equal to zero, stopping the timer.

[0012] According to a second aspect of the present application, a method for controlling a timer of a mobile terminal is provided, comprising: Monitoring the screen status of the mobile terminal and the running status of the application software in the mobile terminal; Generate a first instruction according to the screen state and / or the running state of the application software, wherein the first instruction is used to adjust the duration of the timer; Monitoring the sending of uplink data and the receiving of downlink data in the mobile terminal; Determine whether to generate a second instruction according to the sending status of the uplink data and the receiving status of the downlink data, wherein the second instruction is used to start or restart the timer; The operation of the timer is controlled according to the first instruction and / or the second instruction.

[0013] Optionally, monitoring the sending status of uplink data and the receiving status of downlink data in the mobile terminal further includes: In response to the mobile terminal entering the connected state, the sending status of uplink data and the receiving status of downlink data in the mobile terminal are monitored.

[0014] Optionally, the determining whether to generate a second instruction according to the sending status of the uplink data and the receiving status of the downlink data further includes: In response to monitoring that the uplink data needs to send or receive the downlink data, the second instruction is generated.

[0015] Optionally, the first instruction includes a first duration instruction, the screen state includes a screen off event, and generating the first instruction according to the screen state and / or the running state of the application software further includes: In response to detecting the screen-off event or the application software running in the background, the first duration instruction is generated.

[0016] Optionally, the first instruction includes a second duration instruction, the screen state includes a screen-on event, and generating the first instruction according to the screen state and / or the running state of the application software further includes: In response to detecting the screen-on event and at least one of the application software being run in the foreground, generating the second duration instruction.

[0017] Optionally, controlling the operation of the timer according to the first instruction and / or the second instruction further includes: In response to generating the first duration instruction, determining a first duration and setting the duration of the timer to the first duration based on a reference duration of the timer and a first function, the first duration being greater than or equal to the reference duration; Determining how long the timer has been running; In response to the first time period minus the time period for which the timer has been running being less than or equal to zero, stopping the timer.

[0018] Optionally, controlling the operation of the timer according to the first instruction and / or the second instruction further includes: In response to generating the second duration instruction, based on a reference duration of the timer and a second function, determining a second duration and setting the duration of the timer to the second duration, the second duration being less than or equal to the reference duration; Determining how long the timer has been running; In response to the second time period minus the time period that the timer has been running being less than or equal to zero, stopping the timer.

[0019] According to a third aspect of the present application, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in the second aspect.

[0020] As can be seen from the above, the present application provides a mobile terminal, a method for controlling a timer of a mobile terminal, and a storage medium thereof, wherein the mobile terminal includes a timer, an application monitoring module, a data monitoring module, and a timer monitoring module. The application monitoring module can be used to monitor the screen status of the mobile terminal and the running status of the application software in the mobile terminal, and send a first instruction to the timer monitoring module, wherein the first instruction is used to adjust the duration of the timer. The data monitoring module can be used to monitor the sending of uplink data and the receiving of downlink data in the mobile terminal, and determine whether to send a second instruction to the timer monitoring module. The timer monitoring module can be used to control the operation of the timer according to the first instruction and / or the second instruction. The operation of the timer is controlled through the synergy between the application monitoring module, the data monitoring module, and the timer monitoring module, thereby avoiding the problem of high power consumption due to the fixed duration of the timer. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A schematic diagram of an exemplary communication system according to an embodiment of the present application is shown.

[0023] Figure 2 A flowchart of an exemplary method for controlling a timer of a mobile terminal according to an embodiment of the present application is shown.

[0024] Figure 3 A schematic diagram of an exemplary electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0026] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0027] It is understandable that before using the technical solutions of each embodiment of the present application, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0028] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to the electronic device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present application according to the prompt message.

[0029] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0030] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of this application. Other methods that meet relevant laws and regulations may also be applied to the implementation method of this application.

[0031] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, 5G communication system or future communication system, etc.

[0032] Figure 1 A schematic diagram of an exemplary communication system 100 according to an embodiment of the present application is shown.

[0033] The communication system 100 may include a network device, which may be a device that communicates with a mobile terminal 104 (or a communication terminal or a terminal). The mobile terminal 104 includes but is not limited to a wired line connection or a wireless line connection. The network device may provide communication coverage for a specific geographic area and may communicate with terminals located in the coverage area. Optionally, the network device may be, for example, Figure 1 Base station 102 is shown. Base station 102 may be, for example, an evolutionary Node B (eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (CRAN), or the network device may be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network-side device in a 5G network, or a network device in a future communication system, etc.

[0034] The mobile terminal 104 can provide users with high-quality and smooth Internet access experience, but at the same time, battery life has also become an important indicator for evaluating mobile terminals.

[0035] When the mobile terminal 104 needs to communicate with the network (eg, base station 102), that is, needs to send and receive uplink and downlink data, it needs to establish a connection with the network and enter a connected state. The power consumption at this time will increase a lot compared to the power consumption in the idle state.

[0036] If the mobile terminal 104 is configured with a timer, the timer can be used to control the transition of the mobile terminal between the connected state and the idle state. Figure 1 As shown, in the related art, the duration of the timer is determined by the base station 102, and the duration is a fixed duration. The base station 102 side adds a timer field in the air interface configuration message to enable the data inactivity monitoring function. After the mobile terminal enters the connected state, if it detects that there is uplink data to be sent or downlink data is received, the timer is started or restarted, and the timer duration is a fixed duration configured by the base station 102. If the timer times out, the mobile terminal switches from the connected state to the idle state.

[0037] However, due to the diversity of data services on the mobile terminal 104, it may be that the user browses the web or watches a video, or the application on the mobile terminal 104 is updating in the background, so the duration or interval of data reception and transmission may be different. For example, when the application is updated in the background, data is generally sent and received in a centralized manner, and no data is sent and received after the update is completed. However, it is different for users to browse the web, and the data reception and transmission operations are relatively scattered, and the intervals are also very random. Therefore, if only a fixed timer duration is used, when no uplink and downlink data reception and transmission are detected during this period of time, the idle state is turned on, resulting in a greater probability of misjudging the end of this data service, which will lead to frequent access to the network and cannot save power consumption efficiently.

[0038] In order to at least solve the above problems, the present application provides a mobile terminal, a method for controlling a timer of a mobile terminal, and a storage medium thereof, wherein the mobile terminal includes a timer, an application monitoring module, a data monitoring module, and a timer monitoring module. The application monitoring module can be used to monitor the screen state of the mobile terminal and the running state of the application software in the mobile terminal, and send a first instruction to the timer monitoring module according to the screen state and / or the running state of the application software, wherein the first instruction is used to adjust the duration of the timer. The data monitoring module can be used to monitor the sending of uplink data and the receiving of downlink data in the mobile terminal, and determine whether to send a second instruction to the timer monitoring module according to the sending of uplink data and the receiving of downlink data. The timer monitoring module can be used to control the operation of the timer according to the first instruction and / or the second instruction. The operation of the timer is controlled by the synergy between the application monitoring module, the data monitoring module, and the timer monitoring module, thereby avoiding the problem of high power consumption caused by the fixed duration of the timer in the related art.

[0039] Figure 2 A flowchart of an exemplary method for controlling a timer of a mobile terminal according to an embodiment of the present application is shown.

[0040] like Figure 2 As shown, the mobile terminal may include three control modules: an application monitoring module 10, a data monitoring module 20 and a timer monitoring module 30. The three control modules cooperate with each other to adjust the duration of the timer in the mobile terminal.

[0041] The application monitoring module 10 is used to monitor the screen status of the mobile terminal and the running status of the application software, and to notify the timer monitoring module 30 to adjust the timer duration with a first instruction. When it is monitored that the screen of the mobile terminal is off, or all running application software are running in the background, the timer monitoring module 30 is notified to adjust the timer duration with a first duration instruction (LOW_POWER) or in any other way. When it is monitored that the screen of the mobile terminal is on and there is at least one application software running in the foreground, the timer monitoring module 30 is notified to adjust the timer duration with a second duration instruction (HIGH_POWER) or in any other way.

[0042] The workflow of the application monitoring module 10 is as follows: Figure 2 As shown, when the mobile terminal enters the connected state, the initial value of the variable (CMD) is set to zero. In step 202, the function of real-time monitoring of the screen status of the mobile terminal and the running status of the application software is turned on. When a screen-off event is detected or all running application software are running in the background (ie, step 204), and the power consumption of the mobile terminal is high or no specific power consumption strategy management is applied at this time (ie, step 206), the variable is set to the first duration instruction (ie, step 210), and the first duration instruction is sent to the timer monitoring module 30. Otherwise, continue to monitor the screen status of the mobile terminal and the running status of the application software.

[0043] When a screen-on event is detected and at least one application software is running in the foreground, and the power consumption of the mobile terminal is low or no specific power consumption policy management is applied (i.e., step 208), the variable is set to the second duration instruction (i.e., step 212), and the second duration instruction is sent to the timer monitoring module 30. Otherwise, the screen status and application software running status of the mobile terminal continue to be monitored.

[0044] The timer monitoring module 30 is used to maintain the operation of the timer and adjust the duration of the timer. By default, the duration of the timer is set to the reference duration. Figure 2 As shown, in some embodiments, when a first duration instruction is received from the application monitoring module 10, the first duration can be determined based on a reference duration of the timer and a first function, and the duration of the timer can be set to the first duration (ie, step 214). For example, the first duration can be determined by multiplying the reference duration and the first function.

[0045] In some embodiments, if the screen is off, it means that the user is not operating the mobile terminal. The data generated in this case is generally the update operation of the background application. According to its data sending and receiving characteristics, the first time length is determined to be less than the benchmark time length. This can avoid the problem of higher power consumption caused by the mobile terminal being in a connected state for a long time when the user does not operate the mobile terminal.

[0046] In some embodiments, if all running application software are running in the background, the first duration is determined to be less than the benchmark duration based on its data sending and receiving characteristics, which can avoid the problem of high power consumption caused by the mobile terminal being in a connected state for a long time when the user does not operate the mobile terminal.

[0047] It should be noted that the first function is a coefficient used to adjust the duration, and its form includes but is not limited to constants, variables, polynomials, functions, etc. Other functions that have similar or identical functions to this embodiment should also be included in the scope of protection of this application.

[0048] like Figure 2 As shown, in some embodiments, when a second duration instruction is received from the application monitoring module 10, the second duration can be determined based on the reference duration of the timer and the second function, and the duration of the timer can be set to the second duration (i.e., step 216). For example, the second duration can be determined by multiplying the reference duration and the second function. If the screen is on and there is at least one application software running in the foreground, it is more likely that the user is operating the application software. In this case, the duration and interval of receiving and sending the service data generated are uncertain. Therefore, the second duration is determined to be greater than the reference duration, which can avoid the problem of high power consumption caused by the mobile terminal entering the idle state and needing to re-enter the connected state during the duration of receiving and sending the service data.

[0049] It should be noted that the second function is a coefficient used to adjust the duration, and its form includes but is not limited to constants, variables, polynomials, functions, etc. Other functions that have similar or identical functions to this embodiment should also be included in the scope of protection of this application.

[0050] The timer monitoring module 30 is used to maintain the operation of the timer. The duration of the timer is set to the reference timer duration by default. When a first duration instruction is received from the application monitoring module 10, the duration of the timer is set to the first duration. When a second duration instruction is received from the application control module, the duration of the timer is set to the second duration. When the timer times out, the state of the mobile terminal is migrated to the idle state. In this way, a timer with a variable duration is used to monitor the inactive state of data. The duration of the timer can be determined by multiple factors such as the screen state of the mobile terminal and the running state of the application software.

[0051] like Figure 2 As shown, the working process of the timer monitoring module 30 is as follows: The initial value of the duration in the timer monitoring module 30 is set to 0. When a first duration instruction is received from the application monitoring module 10, the duration of the timer is set to the first duration. When a second duration instruction is received from the application monitoring module 10, the duration of the timer is set to the second duration. Determine whether the timer is turned on. If the timer is turned on (i.e., step 218), the value of the current duration is set to the duration of the timer (e.g., the first duration or the second duration) (i.e., step 220). Determine whether the duration of the timer minus the duration that the timer has been running is greater than 0 (i.e., step 222). If it is less than or equal to 0, stop the timer (i.e., step 224), migrate the state of the mobile terminal from the connected state to the idle state, and the process ends. In this way, when the mobile terminal 104 does not need to send and receive uplink and downlink data with the network, it can release the connection and enter the idle state to save power consumption.

[0052] If the duration of the timer minus the duration of the timer running is greater than 0, the timer is restarted and the duration is set to the duration of the timer (eg, the first duration or the second duration) minus the duration of the timer running (ie step 226).

[0053] The data monitoring module 20 is used to monitor the sending of uplink data and the receiving of downlink data of the mobile terminal. After entering the connected state, the data monitoring module 20 immediately notifies the timer monitoring module 30 to start the timer. When downlink data is received or uplink data needs to be sent, the timer monitoring module is notified to restart the timer.

[0054] like Figure 2 As shown, the working process of the data monitoring module 20 is as follows: When the mobile terminal enters the connected state, the data monitoring module 20 starts to monitor the uplink data transmission and downlink data reception (i.e. step 228). If it is detected that the uplink data needs to be sent or the downlink data needs to be received (i.e. step 230), a second instruction (START_TIMER) is sent to the timer monitoring module 30, otherwise, the uplink data transmission and downlink data reception are continued to be monitored.

[0055] Next, if Figure 2As shown, if the timer monitoring module 30 receives the second instruction from the data monitoring module 20, if the duration of the timer is equal to zero, the current duration of the timer is set as the reference duration. Otherwise, the current duration of the timer is set as the duration of the timer (i.e., step 232). If the timer is not turned on, the timer is turned on, otherwise, the timer is restarted, and the duration is the current duration of the timer (i.e., step 234). The operation of the timer is monitored (i.e., step 236). If the timer times out (i.e., step 238), the state of the mobile terminal is migrated from the connected state to the idle state, and the process ends. Otherwise, the operation of the timer continues to be monitored. In this way, when the mobile terminal 104 does not need to send and receive uplink and downlink data with the network, it can release the connection and enter the idle state to save power consumption.

[0056] The mobile terminal and the method for controlling the timer of the mobile terminal provided in the embodiments of the present application can reduce the misjudgment of whether the data service has ended, so that the mobile terminal does not need to frequently access the network, and can also achieve the purpose of saving power consumption.

[0057] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0058] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0059] Based on the same technical concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for controlling the timer of a mobile terminal as described in any of the above embodiments is implemented.

[0060] Figure 3A schematic diagram of an exemplary electronic device according to an embodiment of the present application is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other in communication within the device through the bus 1050.

[0061] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0062] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0063] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0064] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0065] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0066] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0067] The electronic device of the above embodiment is used to implement the corresponding method for controlling the timer of the mobile terminal in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0068] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for controlling the timer of a mobile terminal as described in any of the above embodiments.

[0069] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0070] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the method for controlling the timer of the mobile terminal as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0071] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0072] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0073] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

[0074] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A mobile terminal, comprising a timer, an application monitoring module, a data monitoring module and a timer monitoring module; The application monitoring module is configured to monitor the screen state of the mobile terminal and the running state of the application software in the mobile terminal, and send a first instruction to the timer monitoring module according to the screen state and / or the running state of the application software, wherein the first instruction is used to adjust the duration of the timer; The data monitoring module is configured to monitor the sending of uplink data and the receiving of downlink data of the mobile terminal, and determine whether to send a second instruction to the timer monitoring module according to the sending of the uplink data and the receiving of the downlink data, wherein the second instruction is used to start or restart the timer; The timer monitoring module is configured to control the operation of the timer according to the first instruction and / or the second instruction.

2. The mobile terminal according to claim 1, wherein: The data monitoring module is further configured to monitor the sending status of uplink data and the receiving status of downlink data in the mobile terminal in response to the mobile terminal entering the connected state.

3. The mobile terminal according to claim 1, wherein: The data monitoring module is further configured to send the second instruction to the timer monitoring module in response to detecting that the uplink data needs to be sent or the downlink data needs to be received.

4. The mobile terminal according to claim 1, wherein: The first instruction includes a first duration instruction, the screen status includes a screen off event, and the application monitoring module is further configured to send the first duration instruction to the timer monitoring module in response to detecting the screen off event or the application software running in the background.

5. The mobile terminal according to claim 1, wherein: The first instruction includes a second duration instruction, the screen status includes a screen-on event, and the application monitoring module is further configured to send the second duration instruction to the timer monitoring module in response to detecting the screen-on event and at least one of the application software is running in the foreground.

6. The mobile terminal according to claim 4, wherein: The timer monitoring module is further configured to: In response to receiving the first duration instruction, based on a reference duration of the timer and a first function, determining a first duration and setting the duration of the timer to the first duration, the first duration being less than the reference duration; Determining how long the timer has been running; In response to the first time period minus the time period for which the timer has been running being less than or equal to zero, stopping the timer.

7. The mobile terminal according to claim 5, wherein: The timer monitoring module is further configured to: In response to receiving the second duration instruction, based on a reference duration of the timer and a second function, determining a second duration and setting the duration of the timer to the second duration, the second duration being greater than the reference duration; Determining how long the timer has been running; In response to the second time period minus the time period that the timer has been running being less than or equal to zero, stopping the timer.

8. A method for controlling a timer of a mobile terminal, comprising: Monitoring the screen status of the mobile terminal and the running status of the application software in the mobile terminal; Generate a first instruction according to the screen state and / or the running state of the application software, wherein the first instruction is used to adjust the duration of the timer; Monitoring the sending of uplink data and the receiving of downlink data in the mobile terminal; Determine whether to generate a second instruction according to the sending status of the uplink data and the receiving status of the downlink data, wherein the second instruction is used to start or restart the timer; The operation of the timer is controlled according to the first instruction and / or the second instruction.

9. The method of claim 8, wherein: The monitoring of the sending of uplink data and the receiving of downlink data in the mobile terminal further includes: In response to the mobile terminal entering the connected state, the sending status of uplink data and the receiving status of downlink data in the mobile terminal are monitored.

10. The method of claim 8, wherein: The determining whether to generate a second instruction according to the sending status of the uplink data and the receiving status of the downlink data further includes: In response to monitoring that the uplink data needs to send or receive the downlink data, the second instruction is generated.

11. The method of claim 8, wherein: The first instruction includes a first duration instruction, the screen state includes a screen off event, and generating the first instruction according to the screen state and / or the running state of the application software further includes: In response to detecting the screen-off event or the application software running in the background, the first duration instruction is generated.

12. The method of claim 8, wherein: The first instruction includes a second duration instruction, the screen state includes a screen-on event, and generating the first instruction according to the screen state and / or the running state of the application software further includes: In response to detecting the screen-on event and at least one of the application software being run in the foreground, generating the second duration instruction.

13. The method of claim 11, wherein: The controlling the operation of the timer according to the first instruction and / or the second instruction further comprises: In response to generating the first duration instruction, determining a first duration and setting the duration of the timer to the first duration based on a reference duration of the timer and a first function, the first duration being greater than or equal to the reference duration; Determining how long the timer has been running; In response to the first time period minus the time period for which the timer has been running being less than or equal to zero, stopping the timer.

14. The method of claim 12, wherein: The controlling the operation of the timer according to the first instruction and / or the second instruction further comprises: In response to generating the second duration instruction, based on a reference duration of the timer and a second function, determining a second duration and setting the duration of the timer to the second duration, the second duration being less than or equal to the reference duration; Determining how long the timer has been running; In response to the second time period minus the time period that the timer has been running being less than or equal to zero, stopping the timer.

15. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute the method according to any one of claims 8 to 14.

Citation Information

Patent Citations

  • Method and device for managing RRC (Radio Resource Control) connection

    CN107135553A

  • Timer adjustment for mobile device

    CN109964534A

  • Discontinuous reception method and apparatus

    CN113196864A

  • Communication method, apparatus and device

    CN113597796A

  • RRC (Radio Resource Control) connection release control method and device

    CN114449688A