WO2019051682A1 - Method for intelligently managing data connection of mobile terminal, mobile terminal, and medium - Google Patents

Method for intelligently managing data connection of mobile terminal, mobile terminal, and medium Download PDF

Info

Publication number
WO2019051682A1
WO2019051682A1 PCT/CN2017/101625 CN2017101625W WO2019051682A1 WO 2019051682 A1 WO2019051682 A1 WO 2019051682A1 CN 2017101625 W CN2017101625 W CN 2017101625W WO 2019051682 A1 WO2019051682 A1 WO 2019051682A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
data connection
user
closed
intelligently managing
Prior art date
Application number
PCT/CN2017/101625
Other languages
French (fr)
Chinese (zh)
Inventor
陈艺梅
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/101625 priority Critical patent/WO2019051682A1/en
Publication of WO2019051682A1 publication Critical patent/WO2019051682A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a method for intelligently managing data connection of a mobile terminal, a mobile terminal, and a computer readable storage medium.
  • the mobile terminal when the mobile terminal is in the standby state, there are still many background programs running, and the running of the background program needs to consume data traffic, especially when the data transmission is fast, and the data traffic consumed is more.
  • the mobile terminal does not use the mobile terminal and the mobile terminal does not shut down, the data connection of the mobile terminal is generally not actively closed, so that the mobile terminal background program runs, resulting in unnecessary consumption of data traffic.
  • the main purpose of the present invention is to provide a method for intelligently managing data connection of a mobile terminal, a mobile terminal and a computer readable storage medium, and aim to solve the problem that each time the user does not use the mobile terminal, manual operation is required to actively close the data of the mobile terminal.
  • Technical issues of connectivity are to provide a method for intelligently managing data connection of a mobile terminal, a mobile terminal and a computer readable storage medium, and aim to solve the problem that each time the user does not use the mobile terminal, manual operation is required to actively close the data of the mobile terminal.
  • the present invention provides a method for intelligently managing a data connection of a mobile terminal, the method comprising:
  • the mobile terminal data connection is closed.
  • the method further includes:
  • the mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
  • the method before the step of closing the data connection of the mobile terminal, the method further includes:
  • the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
  • the method before the step of not closing the data connection of the mobile terminal, the method further includes:
  • the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
  • the method before the step of closing the data connection of the mobile terminal, the method further includes:
  • the step of closing the mobile terminal data connection is performed.
  • the present invention further provides a mobile terminal, where the mobile terminal includes a processor and a memory, wherein the memory stores a program for intelligently managing a data connection of the mobile terminal; and the processor is configured to execute the smart A program for managing data connections for mobile terminals to implement the following steps:
  • the mobile terminal data connection is closed.
  • the present invention further provides a computer readable storage medium storing a program for intelligently managing a data connection of a mobile terminal, the program for intelligently managing a data connection of the mobile terminal is processed
  • the steps of the method of intelligently managing the data connection of the mobile terminal as described above are implemented when the device is executed.
  • the method for intelligently managing data connection of a mobile terminal, the mobile terminal and the computer readable storage medium provided by the present invention detect the screen state of the mobile terminal by real time or timing; and when detecting that the screen state of the mobile terminal is off, detecting the preset time Whether user operations are received within; If the user operation is not received within the preset time, the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal. Data traffic improves the user experience.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention
  • FIG. 5 is a schematic flowchart of a fifth embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention.
  • FIG. 6 is a schematic structural diagram of a device in a hardware operating environment according to an embodiment of the present invention.
  • the main solution of the embodiment of the present invention is: detecting the screen state of the mobile terminal by real-time or timing; detecting whether the user operation is received within the preset time when detecting that the screen state of the mobile terminal is the off state; If the user operation is not received within the preset time, the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal. Data traffic improves the user experience.
  • the embodiment of the present invention considers that, in the prior art, in order to avoid the unnecessary operation of data traffic caused by the operation of the background program of the mobile terminal, each time the user does not use the mobile terminal, manual operation is required to actively close the data connection of the mobile terminal. The user experience is not high, and the user easily forgets to close the mobile terminal data connection.
  • the embodiment of the present invention provides a method for intelligently managing data connection of a mobile terminal, which detects the screen state of the mobile terminal by real-time or timing; and detects whether the screen state of the mobile terminal is off when detecting that the screen state of the mobile terminal is off.
  • the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal.
  • Data traffic improves the user experience.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention.
  • the method includes:
  • Step S10 detecting the screen state of the mobile terminal in real time or timing
  • the amount of traffic of the mobile terminal is consumed, and the screen state of the mobile terminal needs to be detected in real time or periodically, wherein the screen of the mobile terminal
  • the status includes a bright screen state and a black screen state.
  • Step S20 When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
  • detecting whether a user operation is received within a preset time that is, detecting whether the user triggers an operation on the mobile terminal within a preset time of the user, for example, whether the user is received.
  • the operation of triggering the click, sliding the mobile terminal, etc.; wherein, the preset time can be freely set according to the user's usage habits, for example, set to one minute, two minutes, etc., and is not limited herein.
  • step S30 if the user operation is not received within the preset time, the data connection of the mobile terminal is closed.
  • the data traffic of the mobile terminal can be closed to avoid the consumption of data traffic of the mobile terminal. Therefore, the mobile terminal is automatically closed at this time. Terminal data connection. If the user operation is received within the preset time, the user is still using the mobile terminal, and the data connection of the mobile terminal does not need to be closed at this time.
  • the data connection of the mobile terminal may be closed, and it is not necessary to detect whether the user operation is received within the preset time.
  • the method for intelligently managing the data connection of the mobile terminal in this embodiment detects the screen state of the mobile terminal by real time or timing; and when detecting that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time; If the user operation is not received within the preset time, the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal. Data traffic improves the user experience.
  • FIG. 2 a first embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention is provided.
  • step after the step S30 further includes:
  • Step S40 when an instruction to illuminate the screen of the mobile terminal is detected, the user is reminded to open the information of the data connection of the mobile terminal and push the information to the user;
  • Step S50 the mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
  • the data connection of the mobile terminal after the data connection of the mobile terminal is closed, it is possible to detect whether the user triggers the operation of lighting the screen of the mobile terminal in real time or periodically. Specifically, by detecting whether the user clicks on the screen of the mobile terminal, thereby lighting the screen of the mobile terminal, or pressing a button of the mobile terminal to light the screen, or inputting a fingerprint to illuminate the screen of the mobile terminal, etc., when detecting the above or other lighting movements
  • the operation of the terminal screen is performed, the user is prompted to open the information of the data connection of the mobile terminal to push to the user; and when receiving the data connection instruction of the mobile terminal by the user, the data connection of the mobile terminal is opened according to the data connection instruction of the mobile terminal.
  • the user illuminates the screen of the mobile terminal only to know the current time, or to know whether there is a short message received at present, and there is no need to connect the data flow of the mobile terminal at this time, therefore, the above or other points are detected.
  • the user may further detect whether the user continues to perform other operations on the mobile terminal, such as unlocking the mobile terminal, sliding, clicking, and the like, and pushing the reminder to the user when detecting that the user continues to perform other operations on the mobile terminal.
  • the user opens the information of the mobile terminal data connection.
  • the data traffic of the mobile terminal can also be automatically connected, and the user does not need to be manually connected, thereby improving the user experience.
  • the data traffic of the mobile terminal can also be automatically connected, and the user does not need to be manually connected, thereby improving the user experience.
  • after detecting the instruction to illuminate the screen of the mobile terminal further detecting whether the user continues to perform other operations on the mobile terminal, and automatically connecting the data traffic of the mobile terminal when the user continues to perform other operations on the mobile terminal.
  • the method for intelligently managing the data connection of the mobile terminal provided by the embodiment, when the instruction for lighting the screen of the mobile terminal is detected, prompts the user to open the information of the data connection of the mobile terminal to the user; and then according to the received data of the open mobile terminal
  • the connection instruction opens the data connection of the mobile terminal, so that the user connects the data traffic of the mobile terminal at the first time after the power mobile terminal screen, thereby improving the user experience.
  • a third embodiment of a method for intelligently managing data connection of a mobile terminal according to the present invention is provided based on the first embodiment of the method for intelligently managing data connection of a mobile terminal according to the present invention.
  • step before the step S30 further includes:
  • Step S60 detecting whether the mobile terminal has an application in an operating state
  • the mobile terminal data connection is closed
  • Step S70 If the mobile terminal has an application in an operating state, the mobile terminal data connection is not closed.
  • the mobile terminal may further detect whether the mobile terminal has an application in an running state. If the mobile terminal does not have an application in the running state, the mobile terminal data connection is closed, and if the mobile terminal exists, The running state of the application does not close the mobile terminal data connection. Because the user sometimes turns off the screen of the mobile terminal, but actually uses the mobile terminal, for example, listening to music through the mobile terminal, listening to English listening, etc., at this time, a data connection is required, so before closing the data connection of the mobile terminal, Further detecting whether the mobile terminal has an application in an operating state, to prevent the user from using the mobile terminal, but to close the data connection of the mobile terminal, so that the user cannot normally listen to music or interrupt the use of other applications.
  • the mobile terminal may further determine, according to the type of the running application, whether to close the data connection of the mobile terminal, for example, assume that the currently running application is a video player, and The video player is performing a task of downloading video. In this case, a large amount of data traffic is required, and the data connection can be closed.
  • the download task is executed. If the currently running application is a communication application, such as QQ or WeChat, the normal received information consumes less traffic, and the data connection of the mobile terminal may not be closed at this time.
  • the method for intelligently managing the data connection of the mobile terminal in this embodiment is to detect whether the mobile terminal has an application in an running state; if the mobile terminal does not have an application in the running state, the data connection of the mobile terminal is closed; otherwise, the mobile terminal is not closed.
  • the data connection prevents the user from using the mobile terminal, but closes the data connection of the mobile terminal, so that the user cannot listen to music or interrupt the use of other applications, thereby improving the user experience.
  • a third embodiment of a method for intelligently managing data connection of a mobile terminal according to the present invention is provided based on a third embodiment of the method for intelligently managing data connection of a mobile terminal according to the present invention.
  • step before the step S70 further includes:
  • Step S80 detecting whether the mobile terminal is connected to the wireless network
  • step S30 is performed; otherwise, the step S70 is performed.
  • the mobile terminal after detecting that the mobile terminal has an application in an operating state, it may further detect whether the mobile terminal is connected to the wireless network, and if the mobile terminal is connected to the wireless network, the application in the running state may be continued through the wireless network.
  • the data connection of the mobile terminal can be closed; if the mobile terminal is not connected to the wireless network, in order to ensure that the running application can continue to operate normally, the mobile terminal data connection is not closed; further, when the mobile terminal is connected to the wireless network, In the case that the wireless network signal is too weak, it will affect the operation of the application. Therefore, the signal strength of the wireless network can be further detected at this time, and after detecting the signal strength of the wireless network, the detected signal strength and the prediction are Set the signal strength to compare.
  • the application in the running state can be continued through the wireless network, and the data connection of the mobile terminal can be closed; the detected signal strength is detected. Less than When the reset signal strength, this time to continue the running state of the application is not sufficient to wireless networks, when the mobile terminal does not turn off the data connection.
  • a third embodiment of a method for intelligently managing data connection of a mobile terminal according to the present invention is provided based on a third embodiment of the method for intelligently managing data connection of a mobile terminal according to the present invention.
  • step before the step S30 further includes:
  • Step S90 extracting the current time, and determining whether the current time is in a preset closed mobile terminal data connection time period
  • step S30 is performed.
  • the current time may be further extracted, and it is determined whether the current time is in the preset data connection time period of the closed mobile terminal; if the current time is in the preset data connection time of the closed mobile terminal The segment closes the data connection of the mobile terminal; if the current time is not in the preset time period of closing the data connection of the mobile terminal, the data connection of the mobile terminal is not closed. Therefore, the user can preset the time period for closing the data connection of the mobile terminal. For example, if the user uses the mobile terminal for a long time at night, and the mobile terminal is used most of the time, the time for not using the mobile terminal in the middle is short, and there is a short time.
  • the user can set the time for automatically closing the data connection of the mobile terminal to 8:00-19:00 and 00:00-8:00 in the morning.
  • the user can also set other The time period as the time period for closing the data connection of the mobile terminal.
  • the invention further provides a mobile terminal.
  • the mobile terminal may include a processor 1001, such as a CPU, and a memory 1002. Connection communication between these components can be achieved via a communication bus.
  • the memory 1002 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1002 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the mobile terminal may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • the mobile terminal structure shown in FIG. 6 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • a memory 1002 as a computer storage medium may include an operating system and a program for intelligently managing data connection of the mobile terminal.
  • the operating system is a program for managing hardware and software resources of the mobile terminal, and supports the program for intelligently managing the data connection of the mobile terminal and the operation of other software or programs.
  • the processor 1001 may be configured to execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
  • the mobile terminal data connection is closed.
  • processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
  • the mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
  • processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
  • the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
  • processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
  • the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
  • processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
  • the step of closing the mobile terminal data connection is performed.
  • the embodiments of the mobile terminal of the present invention are substantially the same as the embodiments of the method for the data connection of the intelligent management mobile terminal, and are not described herein.
  • the invention further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
  • the mobile terminal data connection is closed.
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • the mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • the step of closing the mobile terminal data connection is performed.
  • the specific embodiment of the computer readable storage medium of the present invention is substantially the same as the method for the data connection of the intelligent management mobile terminal and the mobile terminal, and is not described herein.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.

Abstract

Disclosed is a method for intelligently managing a data connection of a mobile terminal. The method comprises the following steps: detecting a screen state of a mobile terminal in real time or regularly; if the detected screen state of the mobile terminal is an off state, detecting whether a user operation is received within a preset time period; and if not, turning off a data connection of the mobile terminal. Also disclosed are a mobile terminal and a computer readable storage medium. The present invention can avoid unnecessary data usage associated with a back-end operation of a mobile terminal when the mobile terminal is not in use.

Description

智能管理移动终端数据连接的方法、移动终端及介质  Method for intelligently managing data connection of mobile terminal, mobile terminal and medium
技术领域Technical field
本发明涉及移动终端技术领域,尤其涉及一种智能管理移动终端数据连接的方法、移动终端及计算机可读存储介质。The present invention relates to the field of mobile terminal technologies, and in particular, to a method for intelligently managing data connection of a mobile terminal, a mobile terminal, and a computer readable storage medium.
背景技术Background technique
随着社会的发展,移动终端的使用者越来越多,现有的移动终端大部分是第四代通信系统的移动终端,数据传输较快。With the development of society, there are more and more users of mobile terminals. Most of the existing mobile terminals are mobile terminals of the fourth generation communication system, and data transmission is fast.
目前,当移动终端处于待机状态时,依然有很多后台程序在运行,而后台程序的运行一样需要消耗数据流量,尤其是在数据传输较快时,消耗的数据流量更多。而一般用户在不使用移动终端,且移动终端没有关机的情况下,一般不会主动关闭移动终端的数据连接,从而因此移动终端后台程序的运行,造成数据流量的不必要消耗。At present, when the mobile terminal is in the standby state, there are still many background programs running, and the running of the background program needs to consume data traffic, especially when the data transmission is fast, and the data traffic consumed is more. However, when the mobile terminal does not use the mobile terminal and the mobile terminal does not shut down, the data connection of the mobile terminal is generally not actively closed, so that the mobile terminal background program runs, resulting in unnecessary consumption of data traffic.
现有技术中,为了避免移动终端后台程序的运行,造成数据流量的不必要消耗,每一次在用户不使用移动终端时,都需要手动操作主动关闭移动终端的数据连接,用户体验不高,并且用户容易忘记关闭移动终端数据连接。In the prior art, in order to avoid the unnecessary operation of the data flow of the mobile terminal background program, each time the user does not use the mobile terminal, the manual operation is required to actively close the data connection of the mobile terminal, and the user experience is not high, and the user experience is not high. It is easy for the user to forget to close the mobile terminal data connection.
发明内容Summary of the invention
本发明的主要目的在于提出一种智能管理移动终端数据连接的方法、移动终端及计算机可读存储介质,旨在解决每一次在用户不使用移动终端时,都需要手动操作主动关闭移动终端的数据连接的技术问题。The main purpose of the present invention is to provide a method for intelligently managing data connection of a mobile terminal, a mobile terminal and a computer readable storage medium, and aim to solve the problem that each time the user does not use the mobile terminal, manual operation is required to actively close the data of the mobile terminal. Technical issues of connectivity.
为实现上述目的,本发明提供一种智能管理移动终端数据连接的方法,所述方法包括:To achieve the above object, the present invention provides a method for intelligently managing a data connection of a mobile terminal, the method comprising:
实时或定时检测移动终端的屏幕状态;Detecting the screen state of the mobile terminal in real time or timing;
当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
若预设时间内没有接收到用户操作,则关闭移动终端数据连接。If no user operation is received within the preset time, the mobile terminal data connection is closed.
可选地,所述关闭移动终端数据连接的步骤之后,还包括:Optionally, after the step of closing the data connection of the mobile terminal, the method further includes:
当检测到点亮移动终端屏幕的指令时,将提醒用户打开移动终端数据连接的信息向用户推送;When an instruction to illuminate the screen of the mobile terminal is detected, the user is prompted to open the information of the data connection of the mobile terminal to push to the user;
根据接收到的打开移动终端数据连接指令打开移动终端数据连接。The mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
可选地,所述关闭移动终端数据连接的步骤之前,还包括:Optionally, before the step of closing the data connection of the mobile terminal, the method further includes:
检测移动终端是否存在处于运行状态的应用;Detecting whether the mobile terminal has an application in a running state;
若移动终端不存在处于运行状态的应用,则执行所述关闭移动终端数据连接的步骤,否则,不关闭移动终端数据连接。If the mobile terminal does not have an application in the running state, the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
可选地,所述不关闭移动终端数据连接的步骤之前,还包括:Optionally, before the step of not closing the data connection of the mobile terminal, the method further includes:
检测移动终端是否连接无线网络;Detecting whether the mobile terminal is connected to the wireless network;
若移动终端连接无线网络,则关闭移动终端数据连接,否则,不关闭移动终端数据连接。If the mobile terminal is connected to the wireless network, the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
可选地,所述关闭移动终端数据连接的步骤之前,还包括:Optionally, before the step of closing the data connection of the mobile terminal, the method further includes:
提取当前时间,并判断当前时间是否处于预设的关闭移动终端数据连接时间段;Extracting the current time, and determining whether the current time is in a preset time period for closing the data connection of the mobile terminal;
若当前时间处于预设的关闭移动终端数据连接时间段,则执行所述关闭移动终端数据连接的步骤。If the current time is in the preset closed mobile terminal data connection time period, the step of closing the mobile terminal data connection is performed.
此外,为实现上述目的,本发明还提供一种移动终端,所述移动终端包括处理器及存储器,所述存储器中存储有智能管理移动终端数据连接的程序;所述处理器用于执行所述智能管理移动终端数据连接的程序,以实现以下步骤:In addition, in order to achieve the above object, the present invention further provides a mobile terminal, where the mobile terminal includes a processor and a memory, wherein the memory stores a program for intelligently managing a data connection of the mobile terminal; and the processor is configured to execute the smart A program for managing data connections for mobile terminals to implement the following steps:
实时或定时检测移动终端的屏幕状态;Detecting the screen state of the mobile terminal in real time or timing;
当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
若预设时间内没有接收到用户操作,则关闭移动终端数据连接。If no user operation is received within the preset time, the mobile terminal data connection is closed.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有智能管理移动终端数据连接的程序,所述智能管理移动终端数据连接的程序被处理器执行时实现如上所述的智能管理移动终端数据连接的方法的步骤。In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium storing a program for intelligently managing a data connection of a mobile terminal, the program for intelligently managing a data connection of the mobile terminal is processed The steps of the method of intelligently managing the data connection of the mobile terminal as described above are implemented when the device is executed.
本发明提出的智能管理移动终端数据连接的方法、移动终端及计算机可读存储介质,通过实时或定时检测移动终端的屏幕状态;当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; 若预设时间内没有接收到用户操作,则关闭移动终端数据连接,从而避免用户在不使用移动终端时,由于移动终端后台运行,造成数据流量的消耗,并且不需要用户进行手动操作关闭移动终端的数据流量,提高了用户体验。The method for intelligently managing data connection of a mobile terminal, the mobile terminal and the computer readable storage medium provided by the present invention detect the screen state of the mobile terminal by real time or timing; and when detecting that the screen state of the mobile terminal is off, detecting the preset time Whether user operations are received within; If the user operation is not received within the preset time, the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal. Data traffic improves the user experience.
附图说明DRAWINGS
图1为本发明智能管理移动终端数据连接的方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention;
图2为本发明智能管理移动终端数据连接的方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention;
图3为本发明智能管理移动终端数据连接的方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention;
图4为本发明智能管理移动终端数据连接的方法第四实施例的流程示意图;4 is a schematic flowchart of a fourth embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention;
图5为本发明智能管理移动终端数据连接的方法第五实施例的流程示意图;5 is a schematic flowchart of a fifth embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention;
图6为本发明实施例方案涉及的硬件运行环境的设备结构示意图。FIG. 6 is a schematic structural diagram of a device in a hardware operating environment according to an embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的主要解决方案是:通过实时或定时检测移动终端的屏幕状态;当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; 若预设时间内没有接收到用户操作,则关闭移动终端数据连接,从而避免用户在不使用移动终端时,由于移动终端后台运行,造成数据流量的消耗,并且不需要用户进行手动操作关闭移动终端的数据流量,提高了用户体验。The main solution of the embodiment of the present invention is: detecting the screen state of the mobile terminal by real-time or timing; detecting whether the user operation is received within the preset time when detecting that the screen state of the mobile terminal is the off state; If the user operation is not received within the preset time, the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal. Data traffic improves the user experience.
本发明实施例考虑到,现有技术中,为了避免移动终端后台程序的运行,造成数据流量的不必要消耗,每一次在用户不使用移动终端时,都需要手动操作主动关闭移动终端的数据连接,用户体验不高,并且用户容易忘记关闭移动终端数据连接。The embodiment of the present invention considers that, in the prior art, in order to avoid the unnecessary operation of data traffic caused by the operation of the background program of the mobile terminal, each time the user does not use the mobile terminal, manual operation is required to actively close the data connection of the mobile terminal. The user experience is not high, and the user easily forgets to close the mobile terminal data connection.
为此,本发明实施例提出一种智能管理移动终端数据连接的方法,通过实时或定时检测移动终端的屏幕状态;当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; 若预设时间内没有接收到用户操作,则关闭移动终端数据连接,从而避免用户在不使用移动终端时,由于移动终端后台运行,造成数据流量的消耗,并且不需要用户进行手动操作关闭移动终端的数据流量,提高了用户体验。To this end, the embodiment of the present invention provides a method for intelligently managing data connection of a mobile terminal, which detects the screen state of the mobile terminal by real-time or timing; and detects whether the screen state of the mobile terminal is off when detecting that the screen state of the mobile terminal is off. To the user's operation; If the user operation is not received within the preset time, the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal. Data traffic improves the user experience.
参照图1,图1为本发明智能管理移动终端数据连接的方法第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention.
在本实施例中,该方法包括:In this embodiment, the method includes:
步骤S10,实时或定时检测移动终端的屏幕状态;Step S10, detecting the screen state of the mobile terminal in real time or timing;
在本实施例中,为了防止用户在不使用移动终端时,移动终端中的一些后台程序运行,造成移动终端的数量流量消耗,需要实时或定时检测移动终端的屏幕状态,其中,移动终端的屏幕状态包括亮屏状态和黑屏状态,黑屏状态即用户不使用移动终端时,将移动终端的屏幕关闭,或在预设时间内,用户没有对移动终端进行任何操作,移动终端自动关闭屏幕的状态。In this embodiment, in order to prevent the user from running some of the background programs in the mobile terminal when the mobile terminal is not used, the amount of traffic of the mobile terminal is consumed, and the screen state of the mobile terminal needs to be detected in real time or periodically, wherein the screen of the mobile terminal The status includes a bright screen state and a black screen state. When the user does not use the mobile terminal, the screen of the mobile terminal is turned off, or the user does not perform any operation on the mobile terminal within a preset time, and the mobile terminal automatically turns off the state of the screen.
步骤S20,当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; Step S20: When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作,即检测在用户预设的时间内,用户有没有对移动终端触发操作,比如,有没有接收到用户触发的点击、滑动移动终端等操作;其中,预设时间可以根据用户的使用习惯进行自由设置,比如设置为一分钟、两分钟等,在此不做限定。When it is detected that the screen state of the mobile terminal is off state, detecting whether a user operation is received within a preset time, that is, detecting whether the user triggers an operation on the mobile terminal within a preset time of the user, for example, whether the user is received. The operation of triggering the click, sliding the mobile terminal, etc.; wherein, the preset time can be freely set according to the user's usage habits, for example, set to one minute, two minutes, etc., and is not limited herein.
步骤S30,若预设时间内没有接收到用户操作,则关闭移动终端数据连接。In step S30, if the user operation is not received within the preset time, the data connection of the mobile terminal is closed.
若预设时间内没有接收到用户操作,说明当前用户没有时间或不想操作移动终端,此时可以将移动终端的数据流量关闭,避免造成移动终端数据流量的消耗,因此,此时则自动关闭移动终端数据连接。若预设时间内接收到用户操作,说明用户还在使用移动终端,此时不需要将移动终端的数据连接进行关闭。If the user operation is not received within the preset time, the current user does not have time or does not want to operate the mobile terminal. In this case, the data traffic of the mobile terminal can be closed to avoid the consumption of data traffic of the mobile terminal. Therefore, the mobile terminal is automatically closed at this time. Terminal data connection. If the user operation is received within the preset time, the user is still using the mobile terminal, and the data connection of the mobile terminal does not need to be closed at this time.
进一步地,也可以在检测到移动终端的屏幕状态为关闭状态时将移动终端的数据连接关闭,不需要检测预设时间内是否接收到用户操作。Further, when the screen state of the mobile terminal is detected to be in the off state, the data connection of the mobile terminal may be closed, and it is not necessary to detect whether the user operation is received within the preset time.
本实施例提出的智能管理移动终端数据连接的方法,通过实时或定时检测移动终端的屏幕状态;当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; 若预设时间内没有接收到用户操作,则关闭移动终端数据连接,从而避免用户在不使用移动终端时,由于移动终端后台运行,造成数据流量的消耗,并且不需要用户进行手动操作关闭移动终端的数据流量,提高了用户体验。The method for intelligently managing the data connection of the mobile terminal in this embodiment detects the screen state of the mobile terminal by real time or timing; and when detecting that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time; If the user operation is not received within the preset time, the data connection of the mobile terminal is closed, thereby preventing the user from consuming the data traffic due to the background operation of the mobile terminal when the mobile terminal is not used, and the user is not required to perform manual operation to close the mobile terminal. Data traffic improves the user experience.
进一步地,参照图2,基于本发明智能管理移动终端数据连接的方法第一实施例提出本发明智能管理移动终端数据连接的方法第二实施例。Further, referring to FIG. 2, a first embodiment of a method for intelligently managing a data connection of a mobile terminal according to the present invention is provided.
在本实施例中,所述步骤S30之后的步骤,还包括:In this embodiment, the step after the step S30 further includes:
步骤S40,当检测到点亮移动终端屏幕的指令时,将提醒用户打开移动终端数据连接的信息向用户推送;Step S40, when an instruction to illuminate the screen of the mobile terminal is detected, the user is reminded to open the information of the data connection of the mobile terminal and push the information to the user;
步骤S50,根据接收到的打开移动终端数据连接指令打开移动终端数据连接。Step S50, the mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
在本实施例中,在将移动终端的数据连接关闭之后,可以寄实时或定时检测用户是否触发点亮移动终端屏幕的操作。具体可以通过检测用户是否点击移动终端的屏幕,从而点亮移动终端屏幕,或按压移动终端点亮屏幕的按键,或输入指纹以点亮移动终端的屏幕等,当检测到上述或其他点亮移动终端屏幕的操作时,将提醒用户打开移动终端数据连接的信息向用户推送;并在接收到用户打开移动终端数据连接指令时,根据所述打开移动终端数据连接指令打开移动终端数据连接。具体实施过程中,有时候用户点亮移动终端的屏幕只是想获知当前时间,或了解当前是否有接收到短信等,此时并不需要连接移动终端数据流量,因此,在检测到上述或其他点亮移动终端屏幕的操作时,可以进一步检测用户是否继续对移动终端进行其他操作,比如解锁移动终端、滑动、点击等操作,当检测到用户继续对移动终端进行其他操作时,才向用户推送提醒用户打开移动终端数据连接的信息。In this embodiment, after the data connection of the mobile terminal is closed, it is possible to detect whether the user triggers the operation of lighting the screen of the mobile terminal in real time or periodically. Specifically, by detecting whether the user clicks on the screen of the mobile terminal, thereby lighting the screen of the mobile terminal, or pressing a button of the mobile terminal to light the screen, or inputting a fingerprint to illuminate the screen of the mobile terminal, etc., when detecting the above or other lighting movements When the operation of the terminal screen is performed, the user is prompted to open the information of the data connection of the mobile terminal to push to the user; and when receiving the data connection instruction of the mobile terminal by the user, the data connection of the mobile terminal is opened according to the data connection instruction of the mobile terminal. During the specific implementation process, sometimes the user illuminates the screen of the mobile terminal only to know the current time, or to know whether there is a short message received at present, and there is no need to connect the data flow of the mobile terminal at this time, therefore, the above or other points are detected. When the operation of the mobile terminal screen is performed, the user may further detect whether the user continues to perform other operations on the mobile terminal, such as unlocking the mobile terminal, sliding, clicking, and the like, and pushing the reminder to the user when detecting that the user continues to perform other operations on the mobile terminal. The user opens the information of the mobile terminal data connection.
进一步地,在检测到点亮移动终端屏幕的指令时,也可以自动连接移动终端的数据流量,不需要通过用户手动连接,从而提高用户体验。或者在在检测到点亮移动终端屏幕的指令之后,进一步检测用户是否继续对移动终端进行其他操作,并在用户继续对移动终端进行其他操作时,自动连接移动终端的数据流量。Further, when an instruction to illuminate the screen of the mobile terminal is detected, the data traffic of the mobile terminal can also be automatically connected, and the user does not need to be manually connected, thereby improving the user experience. Or, after detecting the instruction to illuminate the screen of the mobile terminal, further detecting whether the user continues to perform other operations on the mobile terminal, and automatically connecting the data traffic of the mobile terminal when the user continues to perform other operations on the mobile terminal.
本实施例提出的智能管理移动终端数据连接的方法,通过当检测到点亮移动终端屏幕的指令时,将提醒用户打开移动终端数据连接的信息向用户推送;然后根据接收到的打开移动终端数据连接指令打开移动终端数据连接,以便用户在电量移动终端屏幕之后,第一时间连接移动终端的数据流量,提高用户体验。The method for intelligently managing the data connection of the mobile terminal provided by the embodiment, when the instruction for lighting the screen of the mobile terminal is detected, prompts the user to open the information of the data connection of the mobile terminal to the user; and then according to the received data of the open mobile terminal The connection instruction opens the data connection of the mobile terminal, so that the user connects the data traffic of the mobile terminal at the first time after the power mobile terminal screen, thereby improving the user experience.
进一步地,参照图3,基于本发明智能管理移动终端数据连接的方法第一实施例提出本发明智能管理移动终端数据连接的方法第三实施例。Further, referring to FIG. 3, a third embodiment of a method for intelligently managing data connection of a mobile terminal according to the present invention is provided based on the first embodiment of the method for intelligently managing data connection of a mobile terminal according to the present invention.
在本实施例中,所述步骤S30之前的步骤,还包括:In this embodiment, the step before the step S30 further includes:
步骤S60,检测移动终端是否存在处于运行状态的应用;Step S60: detecting whether the mobile terminal has an application in an operating state;
若移动终端不存在处于运行状态的应用,则关闭移动终端数据连接;If the mobile terminal does not have an application in the running state, the mobile terminal data connection is closed;
步骤S70,若移动终端存在处于运行状态的应用,不关闭移动终端数据连接。Step S70: If the mobile terminal has an application in an operating state, the mobile terminal data connection is not closed.
在本实施例中,在关闭移动终端数据连接之前,可以进一步检测移动终端是否存在处于运行状态的应用,若移动终端不存在处于运行状态的应用,则关闭移动终端数据连接,若移动终端存在处于运行状态的应用,不关闭移动终端数据连接。因为用户有时候虽然关闭移动终端的屏幕,但实际上还在使用移动终端,比如,通过移动终端听音乐、听英语听力等,此时是需要数据连接的,因此在关闭移动终端数据连接之前,进一步检测移动终端是否存在处于运行状态的应用,避免出现用户在使用移动终端,却关闭移动终端的数据连接,导致用户无法正常听音乐或中断其他应用的使用。In this embodiment, before the mobile terminal data connection is closed, the mobile terminal may further detect whether the mobile terminal has an application in an running state. If the mobile terminal does not have an application in the running state, the mobile terminal data connection is closed, and if the mobile terminal exists, The running state of the application does not close the mobile terminal data connection. Because the user sometimes turns off the screen of the mobile terminal, but actually uses the mobile terminal, for example, listening to music through the mobile terminal, listening to English listening, etc., at this time, a data connection is required, so before closing the data connection of the mobile terminal, Further detecting whether the mobile terminal has an application in an operating state, to prevent the user from using the mobile terminal, but to close the data connection of the mobile terminal, so that the user cannot normally listen to music or interrupt the use of other applications.
进一步地,检测到移动终端存在处于运行状态的应用之后,可以进一步根据处于运行状态的应用的类型判断是否需要关闭移动终端的数据连接,比如,假设当前处于运行状态的应用为视频播放器,并且所述视频播放器正在执行下载视频的任务,此时需要消耗大量的数据流量,则可以将数据连接关闭,当移动终端连接无线网络时,再执行下载任务。若当前处于运行状态的应用为通信应用,如QQ、微信等,正常接收信息消耗的流量较少,此时可以不关闭移动终端的数据连接。Further, after detecting that the mobile terminal has the running application, it may further determine, according to the type of the running application, whether to close the data connection of the mobile terminal, for example, assume that the currently running application is a video player, and The video player is performing a task of downloading video. In this case, a large amount of data traffic is required, and the data connection can be closed. When the mobile terminal is connected to the wireless network, the download task is executed. If the currently running application is a communication application, such as QQ or WeChat, the normal received information consumes less traffic, and the data connection of the mobile terminal may not be closed at this time.
本实施例提出的智能管理移动终端数据连接的方法,通过检测移动终端是否存在处于运行状态的应用;若移动终端不存在处于运行状态的应用,则关闭移动终端数据连接,否则,不关闭移动终端数据连接,从而避免出现用户在使用移动终端,却关闭移动终端的数据连接,导致用户无法正常听音乐或中断其他应用的使用,提高用户体验。The method for intelligently managing the data connection of the mobile terminal in this embodiment is to detect whether the mobile terminal has an application in an running state; if the mobile terminal does not have an application in the running state, the data connection of the mobile terminal is closed; otherwise, the mobile terminal is not closed. The data connection prevents the user from using the mobile terminal, but closes the data connection of the mobile terminal, so that the user cannot listen to music or interrupt the use of other applications, thereby improving the user experience.
进一步地,参照图4,基于本发明智能管理移动终端数据连接的方法第三实施例提出本发明智能管理移动终端数据连接的方法第四实施例。Further, referring to FIG. 4, a third embodiment of a method for intelligently managing data connection of a mobile terminal according to the present invention is provided based on a third embodiment of the method for intelligently managing data connection of a mobile terminal according to the present invention.
在本实施例中,所述步骤S70之前的步骤,还包括:In this embodiment, the step before the step S70 further includes:
步骤S80,检测移动终端是否连接无线网络;Step S80, detecting whether the mobile terminal is connected to the wireless network;
若移动终端连接无线网络,则执行所述步骤S30,否则,执行所述步骤S70。If the mobile terminal is connected to the wireless network, the step S30 is performed; otherwise, the step S70 is performed.
在本实施例中,当检测到移动终端存在处于运行状态的应用之后,可以进一步检测移动终端是否连接无线网络,若移动终端连接无线网络,则可以通过无线网络继续正在运行状态的应用,此时可以将移动终端的数据连接关闭;若移动终端没有连接无线网络,此时为了保证处于运行状态的应用可以继续正常运行,不关闭移动终端数据连接;进一步地,当移动终端连接无线网络时,由于在无线网络信号太弱的情况下,对于应用的运行会造成影响,因此,此时可以进一步检测无线网络的信号强度,并在检测得到无线网络的信号强度之后,将检测得到的信号强度与预设信号强度进行对比,若通过对比,检测得到的信号强度大于或等于预设信号强度时,此时可以通过无线网络继续正在运行状态的应用,可以关闭移动终端的数据连接;检测得到的信号强度小于预设信号强度时,此时无线网络不足以继续正在运行状态的应用,此时不关闭移动终端的数据连接。In this embodiment, after detecting that the mobile terminal has an application in an operating state, it may further detect whether the mobile terminal is connected to the wireless network, and if the mobile terminal is connected to the wireless network, the application in the running state may be continued through the wireless network. The data connection of the mobile terminal can be closed; if the mobile terminal is not connected to the wireless network, in order to ensure that the running application can continue to operate normally, the mobile terminal data connection is not closed; further, when the mobile terminal is connected to the wireless network, In the case that the wireless network signal is too weak, it will affect the operation of the application. Therefore, the signal strength of the wireless network can be further detected at this time, and after detecting the signal strength of the wireless network, the detected signal strength and the prediction are Set the signal strength to compare. If the measured signal strength is greater than or equal to the preset signal strength through comparison, the application in the running state can be continued through the wireless network, and the data connection of the mobile terminal can be closed; the detected signal strength is detected. Less than When the reset signal strength, this time to continue the running state of the application is not sufficient to wireless networks, when the mobile terminal does not turn off the data connection.
进一步地,参照图5,基于本发明智能管理移动终端数据连接的方法第三实施例提出本发明智能管理移动终端数据连接的方法第五实施例。Further, referring to FIG. 5, a third embodiment of a method for intelligently managing data connection of a mobile terminal according to the present invention is provided based on a third embodiment of the method for intelligently managing data connection of a mobile terminal according to the present invention.
在本实施例中,所述步骤S30之前的步骤,还包括:In this embodiment, the step before the step S30 further includes:
步骤S90,提取当前时间,并判断当前时间是否处于预设的关闭移动终端数据连接时间段;Step S90, extracting the current time, and determining whether the current time is in a preset closed mobile terminal data connection time period;
若当前时间处于预设的关闭移动终端数据连接时间段,则执行所述步骤S30。If the current time is in the preset closed mobile terminal data connection time period, the step S30 is performed.
在本实施例中,在关闭移动终端数据连接之前,可以进一步提取当前时间,并判断当前时间是否处于预设的关闭移动终端数据连接时间段;若当前时间处于预设的关闭移动终端数据连接时间段,则关闭移动终端数据连接;若当前时间不处于预设的关闭移动终端数据连接时间段,则不关闭移动终端数据连接。因此,用户可以预设关闭移动终端数据连接的时间段,比如假设用户晚上使用移动终端的时间较长,大部分时间都在使用移动终端的话,中间不使用移动终端的时间较短,有短暂的时间移动终端处于黑屏状态的话,也不需要关闭移动终端数据连接,因此,用户可以将自动关闭移动终端数据连接的时间设置为早上8:00-19:00及00:00-8:00。当在8:00-19:00及00:00-8:00以外的时间检测到移动终端处于黑屏状态时,则不需要将移动终端数据连接进行关闭,可以理解的是,用户也可以设置其他的时间段,作为关闭移动终端数据连接的时间段。In this embodiment, before the data connection of the mobile terminal is closed, the current time may be further extracted, and it is determined whether the current time is in the preset data connection time period of the closed mobile terminal; if the current time is in the preset data connection time of the closed mobile terminal The segment closes the data connection of the mobile terminal; if the current time is not in the preset time period of closing the data connection of the mobile terminal, the data connection of the mobile terminal is not closed. Therefore, the user can preset the time period for closing the data connection of the mobile terminal. For example, if the user uses the mobile terminal for a long time at night, and the mobile terminal is used most of the time, the time for not using the mobile terminal in the middle is short, and there is a short time. If the mobile terminal is in a black screen state, it is not necessary to close the data connection of the mobile terminal. Therefore, the user can set the time for automatically closing the data connection of the mobile terminal to 8:00-19:00 and 00:00-8:00 in the morning. When it is detected that the mobile terminal is in a black screen state at times other than 8:00-19:00 and 00:00-8:00, it is not necessary to close the data connection of the mobile terminal, it can be understood that the user can also set other The time period as the time period for closing the data connection of the mobile terminal.
本发明进一步提供一种移动终端。The invention further provides a mobile terminal.
如图6所示,移动终端可以包括:处理器1001,例如CPU,以及存储器1002。这些组件之间的连接通信可以通过通信总线实现。存储器1002可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1002可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 6, the mobile terminal may include a processor 1001, such as a CPU, and a memory 1002. Connection communication between these components can be achieved via a communication bus. The memory 1002 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1002 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,移动终端还可以包括用户接口、网络接口、摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Optionally, the mobile terminal may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more. The user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface. The network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
本领域技术人员可以理解,图6中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 6 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图6所示,作为一种计算机存储介质的存储器1002中可以包括操作系统以及智能管理移动终端数据连接的程序。其中,操作系统是管理和移动终端的硬件与软件资源的程序,支持智能管理移动终端数据连接的程序及其他软件或程序的运行。As shown in FIG. 6, a memory 1002 as a computer storage medium may include an operating system and a program for intelligently managing data connection of the mobile terminal. The operating system is a program for managing hardware and software resources of the mobile terminal, and supports the program for intelligently managing the data connection of the mobile terminal and the operation of other software or programs.
在图6所示的移动终端中,处理器1001可以用于执行存储器1002中存储的智能管理移动终端数据连接的程序,以实现以下步骤:In the mobile terminal shown in FIG. 6, the processor 1001 may be configured to execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
实时或定时检测移动终端的屏幕状态;Detecting the screen state of the mobile terminal in real time or timing;
当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
若预设时间内没有接收到用户操作,则关闭移动终端数据连接。If no user operation is received within the preset time, the mobile terminal data connection is closed.
进一步地,处理器1001还可以执行存储器1002中存储的智能管理移动终端数据连接的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
当检测到点亮移动终端屏幕的指令时,将提醒用户打开移动终端数据连接的信息向用户推送;When an instruction to illuminate the screen of the mobile terminal is detected, the user is prompted to open the information of the data connection of the mobile terminal to push to the user;
根据接收到的打开移动终端数据连接指令打开移动终端数据连接。The mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
进一步地,处理器1001还可以执行存储器1002中存储的智能管理移动终端数据连接的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
检测移动终端是否存在处于运行状态的应用;Detecting whether the mobile terminal has an application in a running state;
若移动终端不存在处于运行状态的应用,则执行所述关闭移动终端数据连接的步骤,否则,不关闭移动终端数据连接。If the mobile terminal does not have an application in the running state, the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
进一步地,处理器1001还可以执行存储器1002中存储的智能管理移动终端数据连接的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
检测移动终端是否连接无线网络;Detecting whether the mobile terminal is connected to the wireless network;
若移动终端连接无线网络,则关闭移动终端数据连接,否则,不关闭移动终端数据连接。If the mobile terminal is connected to the wireless network, the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
进一步地,处理器1001还可以执行存储器1002中存储的智能管理移动终端数据连接的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for intelligently managing the data connection of the mobile terminal stored in the memory 1002 to implement the following steps:
提取当前时间,并判断当前时间是否处于预设的关闭移动终端数据连接时间段;Extracting the current time, and determining whether the current time is in a preset time period for closing the data connection of the mobile terminal;
若当前时间处于预设的关闭移动终端数据连接时间段,则执行所述关闭移动终端数据连接的步骤。If the current time is in the preset closed mobile terminal data connection time period, the step of closing the mobile terminal data connection is performed.
本发明移动终端的具体实施例与上述智能管理移动终端数据连接的方法各实施例基本相同,在此不作赘述。The embodiments of the mobile terminal of the present invention are substantially the same as the embodiments of the method for the data connection of the intelligent management mobile terminal, and are not described herein.
本发明进一步提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:The invention further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
实时或定时检测移动终端的屏幕状态;Detecting the screen state of the mobile terminal in real time or timing;
当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
若预设时间内没有接收到用户操作,则关闭移动终端数据连接。If no user operation is received within the preset time, the mobile terminal data connection is closed.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
当检测到点亮移动终端屏幕的指令时,将提醒用户打开移动终端数据连接的信息向用户推送;When an instruction to illuminate the screen of the mobile terminal is detected, the user is prompted to open the information of the data connection of the mobile terminal to push to the user;
根据接收到的打开移动终端数据连接指令打开移动终端数据连接。The mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
检测移动终端是否存在处于运行状态的应用;Detecting whether the mobile terminal has an application in a running state;
若移动终端不存在处于运行状态的应用,则执行所述关闭移动终端数据连接的步骤,否则,不关闭移动终端数据连接。If the mobile terminal does not have an application in the running state, the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
检测移动终端是否连接无线网络;Detecting whether the mobile terminal is connected to the wireless network;
若移动终端连接无线网络,则关闭移动终端数据连接,否则,不关闭移动终端数据连接。If the mobile terminal is connected to the wireless network, the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
提取当前时间,并判断当前时间是否处于预设的关闭移动终端数据连接时间段;Extracting the current time, and determining whether the current time is in a preset time period for closing the data connection of the mobile terminal;
若当前时间处于预设的关闭移动终端数据连接时间段,则执行所述关闭移动终端数据连接的步骤。If the current time is in the preset closed mobile terminal data connection time period, the step of closing the mobile terminal data connection is performed.
本发明计算机可读存储介质的具体实施例与上述智能管理移动终端数据连接的方法和移动终端各实施例基本相同,在此不作赘述。The specific embodiment of the computer readable storage medium of the present invention is substantially the same as the method for the data connection of the intelligent management mobile terminal and the mobile terminal, and is not described herein.
还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is also to be understood that the term "comprises", "comprising", or any other variants thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a And also includes other elements not explicitly listed, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种智能管理移动终端数据连接的方法,其特征在于,所述方法包括以下步骤: A method for intelligently managing a data connection of a mobile terminal, characterized in that the method comprises the following steps:
    实时或定时检测移动终端的屏幕状态;Detecting the screen state of the mobile terminal in real time or timing;
    当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
    若预设时间内没有接收到用户操作,则关闭移动终端数据连接。If no user operation is received within the preset time, the mobile terminal data connection is closed.
  2. 如权利要求1所述的智能管理移动终端数据连接的方法,其特征在于,所述关闭移动终端数据连接的步骤之后,还包括:The method for intelligently managing a data connection of a mobile terminal according to claim 1, wherein the step of closing the data connection of the mobile terminal further comprises:
    当检测到点亮移动终端屏幕的指令时,将提醒用户打开移动终端数据连接的信息向用户推送;When an instruction to illuminate the screen of the mobile terminal is detected, the user is prompted to open the information of the data connection of the mobile terminal to push to the user;
    根据接收到的打开移动终端数据连接指令打开移动终端数据连接。The mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
  3. 如权利要求1所述的智能管理移动终端数据连接的方法,其特征在于,所述关闭移动终端数据连接的步骤之前,还包括:The method for intelligently managing a data connection of a mobile terminal according to claim 1, wherein before the step of closing the data connection of the mobile terminal, the method further comprises:
    检测移动终端是否存在处于运行状态的应用;Detecting whether the mobile terminal has an application in a running state;
    若移动终端不存在处于运行状态的应用,则执行所述关闭移动终端数据连接的步骤,否则,不关闭移动终端数据连接。If the mobile terminal does not have an application in the running state, the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
  4. 如权利要求3所述的智能管理移动终端数据连接的方法,其特征在于,所述不关闭移动终端数据连接的步骤之前,还包括:The method for intelligently managing a data connection of a mobile terminal according to claim 3, wherein before the step of not closing the data connection of the mobile terminal, the method further comprises:
    检测移动终端是否连接无线网络;Detecting whether the mobile terminal is connected to the wireless network;
    若移动终端连接无线网络,则关闭移动终端数据连接,否则,不关闭移动终端数据连接。If the mobile terminal is connected to the wireless network, the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
  5. 如权利要求1所述的智能管理移动终端数据连接的方法,其特征在于,所述关闭移动终端数据连接的步骤之前,还包括:The method for intelligently managing a data connection of a mobile terminal according to claim 1, wherein before the step of closing the data connection of the mobile terminal, the method further comprises:
    提取当前时间,并判断当前时间是否处于预设的关闭移动终端数据连接时间段;Extracting the current time, and determining whether the current time is in a preset time period for closing the data connection of the mobile terminal;
    若当前时间处于预设的关闭移动终端数据连接时间段,则执行所述关闭移动终端数据连接的步骤。If the current time is in the preset closed mobile terminal data connection time period, the step of closing the mobile terminal data connection is performed.
  6. 一种移动终端,其特征在于,所述移动终端包括处理器及存储器,所述存储器中存储有智能管理移动终端数据连接的程序;所述处理器用于执行所述智能管理移动终端数据连接的程序,以实现以下步骤:A mobile terminal, comprising: a processor and a memory, wherein the memory stores a program for intelligently managing a data connection of the mobile terminal; and the processor is configured to execute the program for intelligently managing data connection of the mobile terminal To achieve the following steps:
    实时或定时检测移动终端的屏幕状态;Detecting the screen state of the mobile terminal in real time or timing;
    当检测到移动终端的屏幕状态为关闭状态时,检测预设时间内是否接收到用户操作; When it is detected that the screen state of the mobile terminal is the off state, detecting whether the user operation is received within the preset time;
    若预设时间内没有接收到用户操作,则关闭移动终端数据连接。If no user operation is received within the preset time, the mobile terminal data connection is closed.
  7. 如权利要求6所述的移动终端,其特征在于,所述处理器还用于执行所述智能管理移动终端数据连接的程序,以实现以下步骤:The mobile terminal according to claim 6, wherein the processor is further configured to execute the program for intelligently managing data connection of the mobile terminal to implement the following steps:
    当检测到点亮移动终端屏幕的指令时,将提醒用户打开移动终端数据连接的信息向用户推送;When an instruction to illuminate the screen of the mobile terminal is detected, the user is prompted to open the information of the data connection of the mobile terminal to push to the user;
    根据接收到的打开移动终端数据连接指令打开移动终端数据连接。The mobile terminal data connection is opened according to the received open mobile terminal data connection instruction.
  8. 如权利要求6所述的移动终端,其特征在于,所述处理器还用于执行所述智能管理移动终端数据连接的程序,以实现以下步骤:The mobile terminal according to claim 6, wherein the processor is further configured to execute the program for intelligently managing data connection of the mobile terminal to implement the following steps:
    检测移动终端是否存在处于运行状态的应用;Detecting whether the mobile terminal has an application in a running state;
    若移动终端不存在处于运行状态的应用,则执行所述关闭移动终端数据连接的步骤,否则,不关闭移动终端数据连接。If the mobile terminal does not have an application in the running state, the step of closing the data connection of the mobile terminal is performed; otherwise, the data connection of the mobile terminal is not closed.
  9. 如权利要求8所述的移动终端,其特征在于,所述处理器还用于执行所述智能管理移动终端数据连接的程序,以实现以下步骤:The mobile terminal according to claim 8, wherein the processor is further configured to execute the program for intelligently managing data connection of the mobile terminal to implement the following steps:
    检测移动终端是否连接无线网络;Detecting whether the mobile terminal is connected to the wireless network;
    若移动终端连接无线网络,则关闭移动终端数据连接,否则,不关闭移动终端数据连接。If the mobile terminal is connected to the wireless network, the mobile terminal data connection is closed; otherwise, the mobile terminal data connection is not closed.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有智能管理移动终端数据连接的程序,所述智能管理移动终端数据连接的程序被处理器执行时,以实现如权利要求1至5中任一项所述的智能管理移动终端数据连接的的步骤。A computer readable storage medium, wherein the computer readable storage medium stores a program for intelligently managing a data connection of the mobile terminal, and the program for intelligently managing the data connection of the mobile terminal is executed by the processor to implement, for example, The step of intelligently managing the data connection of the mobile terminal according to any one of claims 1 to 5.
PCT/CN2017/101625 2017-09-13 2017-09-13 Method for intelligently managing data connection of mobile terminal, mobile terminal, and medium WO2019051682A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101625 WO2019051682A1 (en) 2017-09-13 2017-09-13 Method for intelligently managing data connection of mobile terminal, mobile terminal, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101625 WO2019051682A1 (en) 2017-09-13 2017-09-13 Method for intelligently managing data connection of mobile terminal, mobile terminal, and medium

Publications (1)

Publication Number Publication Date
WO2019051682A1 true WO2019051682A1 (en) 2019-03-21

Family

ID=65722281

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101625 WO2019051682A1 (en) 2017-09-13 2017-09-13 Method for intelligently managing data connection of mobile terminal, mobile terminal, and medium

Country Status (1)

Country Link
WO (1) WO2019051682A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067938A (en) * 2012-12-04 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal dataflow saving method
CN106302250A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 The method for controlling network flow of mobile terminal and device
US20170237760A1 (en) * 2016-02-17 2017-08-17 Ziften Technologies, Inc. Supplementing Network Flow Analysis with Endpoint Information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067938A (en) * 2012-12-04 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal dataflow saving method
US20170237760A1 (en) * 2016-02-17 2017-08-17 Ziften Technologies, Inc. Supplementing Network Flow Analysis with Endpoint Information
CN106302250A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 The method for controlling network flow of mobile terminal and device

Similar Documents

Publication Publication Date Title
WO2018107610A1 (en) Service data processing method, system and device, and computer-readable storage medium
WO2019061613A1 (en) Loan qualification screening method, device and computer readable storage medium
WO2019128174A1 (en) Method for playing audio, smart television and computer-readable storage medium
WO2016058258A1 (en) Terminal remote control method and system
WO2018113187A1 (en) Display control method and display device
WO2018023926A1 (en) Interaction method and system for television and mobile terminal
WO2017206883A1 (en) Application processing method and apparatus, storage medium, and electronic device
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2015120774A1 (en) Network access method and apparatus applied to mobile application
WO2018126888A1 (en) Method and apparatus for configuring a shortcut for a television function
WO2017206377A1 (en) Method and device for synchronous playback of program
WO2018076811A1 (en) Data sharing method, device, system, storage medium and electronic device
WO2017088444A1 (en) Method and device for prompting electric quantity information of terminal
WO2018053963A1 (en) Method and apparatus for upgrading system of smart television
WO2016187998A1 (en) Method and device for dynamically adjusting backlight
WO2017206865A1 (en) Application program shutdown method and apparatus, storage medium, and electronic device
WO2019051909A1 (en) Air conditioner running parameter adjusting method, air conditioner, and computer readable storage medium
WO2017121066A1 (en) Application program display method and system
WO2017063366A1 (en) Method and system for starting application
WO2015169177A1 (en) Web page display method and apparatus
WO2019051901A1 (en) Terminal control method and device, and computer readable storage medium
WO2017084305A1 (en) Terminal control method and system
WO2019019249A1 (en) Method, apparatus and device for executing network request, and computer-readable storage medium
WO2018205534A1 (en) Method for controlling somatosensory remote controller, smart terminal, and computer readable storage medium
WO2018129973A1 (en) Power supply control method and apparatus, storage medium, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17924806

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17924806

Country of ref document: EP

Kind code of ref document: A1