[go: up one dir, main page]

CN106060280B - A method, device and terminal for data service management - Google Patents

A method, device and terminal for data service management Download PDF

Info

Publication number
CN106060280B
CN106060280B CN201610619408.6A CN201610619408A CN106060280B CN 106060280 B CN106060280 B CN 106060280B CN 201610619408 A CN201610619408 A CN 201610619408A CN 106060280 B CN106060280 B CN 106060280B
Authority
CN
China
Prior art keywords
terminal
state
data service
idle state
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610619408.6A
Other languages
Chinese (zh)
Other versions
CN106060280A (en
Inventor
高力学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiazhilian Technology Co.,Ltd.
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610619408.6A priority Critical patent/CN106060280B/en
Publication of CN106060280A publication Critical patent/CN106060280A/en
Application granted granted Critical
Publication of CN106060280B publication Critical patent/CN106060280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例提供了一种数据业务管理的方法以及终端,其中,所述方法包括:当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态;若所述终端处于所述网络空闲状态,则检测所述数据业务的链路状态当前是否处于预设的休眠状态;若处于所述休眠状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息。采用本发明实施例,可节省终端能耗。

Figure 201610619408

Embodiments of the present invention provide a data service management method and terminal, wherein the method includes: when a terminal enables a data service function, judging whether the terminal is currently in a network idle state; if the terminal is in the network In the idle state, check whether the link state of the data service is currently in the preset dormant state; if it is in the dormant state, control to turn off the data service function of the terminal, and disconnect the wireless resources with the network side The RRC connection is controlled to intercept sending corresponding service request information to the network side. By adopting the embodiments of the present invention, the energy consumption of the terminal can be saved.

Figure 201610619408

Description

一种数据业务管理的方法、装置以及终端A method, device and terminal for data service management

技术领域technical field

本发明涉及终端技术领域,尤其涉及一种数据业务管理的方法、装置以及终端。The present invention relates to the technical field of terminals, and in particular, to a method, a device and a terminal for data service management.

背景技术Background technique

目前,智能终端(如手机、平板等)已成为现代人在工作生活中不可或缺的通讯或办公延伸辅助工具了,为方便用户娱乐人们会选择在这些智能终端上安装诸如一些QQ、微信等联网应用,其中最常见的是开启数据卡业务流量来进行相应的数据通信。然而,在现有的数据业务管理方案中,一般都是通过检测终端屏幕是否处于亮屏状态来强制进行对应的数据业务连接/断开,也即是当所述终端处于灭屏状态时控制关闭所述终端的数据业务来节省终端流量;这样就会在终端处于灭屏状态时,完全切断用户在数据业务层面和外界的信息沟通,使得用户无法接收通知信息;并且,当终端再次亮屏时会存在数据业务重新连接的过程以及连接失败的风险,对用户的使用体验和信息沟通方面造成不便,降低了数据业务管理的实用性。At present, smart terminals (such as mobile phones, tablets, etc.) have become an indispensable communication or office extension tool for modern people in work and life. For the convenience of users and entertainment, people will choose to install some QQ, WeChat, etc. on these smart terminals. For networking applications, the most common one is to open data card business traffic for corresponding data communication. However, in the existing data service management solutions, the corresponding data service connection/disconnection is generally performed by detecting whether the terminal screen is in a bright screen state, that is, when the terminal is in an off screen state, the control is turned off. The data service of the terminal can save the terminal traffic; this will completely cut off the user's information communication with the outside world at the data service level when the terminal is in the off-screen state, so that the user cannot receive notification information; and when the terminal is on again. There will be a process of data service reconnection and the risk of connection failure, which will cause inconvenience to the user experience and information communication, and reduce the practicability of data service management.

发明内容SUMMARY OF THE INVENTION

本发明实施例所要解决的技术问题在于,提供一种数据业务管理的方法以及终端,可节省终端能耗,提升数据业务管理的实用性。The technical problem to be solved by the embodiments of the present invention is to provide a data service management method and a terminal, which can save the energy consumption of the terminal and improve the practicability of data service management.

一方面,本发明实施例公开提供了一种数据业务管理的方法,所述方法包括:On the one hand, an embodiment of the present invention discloses and provides a data service management method, the method includes:

当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态;When the terminal enables the data service function, determine whether the terminal is currently in a network idle state;

若处于所述网络空闲状态,则检测所述数据业务的链路状态是否处于预设的休眠状态;If it is in the network idle state, detecting whether the link state of the data service is in a preset sleep state;

若处于所述休眠状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息。If it is in the dormant state, control to turn off the data service function of the terminal, and disconnect the radio resource control RRC connection with the network side, so as to intercept the sending of corresponding service request information to the network side.

其中可选地,所述判断所述终端当前是否处于网络空闲状态具体包括:Optionally, the judging whether the terminal is currently in a network idle state specifically includes:

判断所述终端是否处于熄屏状态以确定所述终端是否处于与所述数据业务关联的网络空闲状态;judging whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state associated with the data service;

其中,当所述终端处于熄屏状态时,所述终端处于与所述数据业务关联的网络空闲状态;当所述终端处于亮屏状态时,所述终端不是处于与所述数据业务关联的网络空闲状态。Wherein, when the terminal is in a screen-off state, the terminal is in a network idle state associated with the data service; when the terminal is in a screen-on state, the terminal is not in a network associated with the data service idle state.

其中可选地,所述方法还包括:Optionally, the method further includes:

当接收到所述网络侧下发的针对所述数据业务的链路状态的切换通知信息时,根据切换通知信息确定所述数据业务当前所处的链路状态。When receiving the handover notification information for the link state of the data service issued by the network side, the current link state of the data service is determined according to the handover notification information.

其中可选地,所述方法还包括:Optionally, the method further includes:

当检测到所述数据业务的链路状态不处于所述休眠状态时,向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。When it is detected that the link state of the data service is not in the dormant state, corresponding connection notification information is sent to the network side, where the connection notification information is used to notify that there is currently a connection between the data service and the network side. The radio resource controls the relationship of the RRC connection and allows corresponding data communication.

其中可选地,所述方法还包括:Optionally, the method further includes:

当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述休眠状态时,若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。When the terminal is not in the network idle state, or the link state of the data service is not in the dormant state, if the service request information to be transmitted is detected, the service request information is sent to the network side, Carry out corresponding data communication.

另一方面,本发明实施例还公开提供了一种终端,所述终端包括:On the other hand, an embodiment of the present invention also discloses and provides a terminal, where the terminal includes:

判断模块,用于当终端开启数据业务功能时,判断所述终端当前是否处于与所述数据业务关联的网络空闲状态;a judgment module, configured to judge whether the terminal is currently in a network idle state associated with the data service when the terminal enables the data service function;

检测模块,用于若所述终端处于所述网络空闲状态,则检测所述数据业务的链路状态当前是否处于预设的休眠状态;a detection module, configured to detect whether the link state of the data service is currently in a preset sleep state if the terminal is in the network idle state;

处理模块,用于若所述检测模块检测到所述数据业务的链路状态处于所述休眠状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息。A processing module, configured to control to close the data service function of the terminal and disconnect the RRC connection with the network side if the detection module detects that the link state of the data service is in the dormant state , to intercept the corresponding service request information sent to the network side.

其中可选地,where optionally,

所述判断模块,具体用于判断所述终端是否处于熄屏状态以确定所述终端是否处于网络空闲状态;The judging module is specifically configured to judge whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state;

其中,当所述终端处于熄屏状态时,所述终端处于网络空闲状态;当所述终端处于亮屏状态时,所述终端不是处于网络空闲状态。Wherein, when the terminal is in a screen-off state, the terminal is in a network idle state; when the terminal is in a bright-screen state, the terminal is not in a network idle state.

其中可选地,所述终端还包括:Optionally, the terminal further includes:

接收模块,用于当接收到所述网络侧下发的针对所述数据业务的链路状态的切换通知信息时,根据所述切换通知信息确定所述数据业务当前所处的链路状态。A receiving module, configured to determine, according to the handover notification information, the current link state of the data service when receiving the handover notification information for the link state of the data service delivered by the network side.

其中可选地,所述终端还包括:Optionally, the terminal further includes:

第一发送模块,用于当所述检测模块检测到所述数据业务的链路状态不处于所述休眠状态时,向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。a first sending module, configured to send corresponding connection notification information to the network side when the detection module detects that the link state of the data service is not in the dormant state, where the connection notification information is used to notify The radio resource control RRC connection relationship currently exists with the network side, allowing corresponding data communication.

其中可选地,所述终端还包括:Optionally, the terminal further includes:

第二发送模块,用于当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述休眠状态时,若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。The second sending module is configured to, when the terminal is not in the network idle state, or the link state of the data service is not in the dormant state, if the service request information that needs to be transmitted is detected, send to the network side The service request information is sent, and corresponding data communication is performed.

本发明实施例可通过当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态,若所述终端处于网络空闲状态,则检测所述数据业务的链路状态当前是否处于预设的休眠状态,若处于所述休眠状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息;这样可在检测到所述数据业务的链路状态处于休眠状态时,才完全意义上的关闭所述终端的数据业务功能,这样能合理、有限地对终端流量进行管控、并在一定程度上节省了终端能耗,提升了数据业务管理的实用性。In this embodiment of the present invention, when the terminal enables the data service function, it can be judged whether the terminal is currently in a network idle state, and if the terminal is in a network idle state, it can be detected whether the link state of the data service is currently in a preset state. In the dormant state, if it is in the dormant state, control to close the data service function of the terminal, and disconnect the radio resource control RRC connection with the network side, so as to intercept the corresponding service request information sent to the network side; Only when it is detected that the link state of the data service is in the dormant state, the data service function of the terminal can be completely closed. Terminal energy consumption improves the practicability of data service management.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1是本发明实施例的一种数据业务管理方法的流程示意图;1 is a schematic flowchart of a data service management method according to an embodiment of the present invention;

图2是本发明实施例的另一种数据业务管理方法的流程示意图;2 is a schematic flowchart of another data service management method according to an embodiment of the present invention;

图3是本发明实施例的一种终端的结构示意图;3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;

图4是本发明实施例的另一种终端的结构示意图;4 is a schematic structural diagram of another terminal according to an embodiment of the present invention;

图5是本发明实施例的另一种终端的结构示意图。FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”(如果存在)等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" (if any) in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

请参见图1,是本发明实施例的一种数据业务管理方法的流程示意图,本发明实施例的所述方法可以应用在诸如智能手机、平板电脑、智能可穿戴设备等带通信网络功能的终端中,具体可由这些终端的处理器来实现。本发明实施例的所述方法还包括如下步骤。Please refer to FIG. 1 , which is a schematic flowchart of a data service management method according to an embodiment of the present invention. The method in the embodiment of the present invention can be applied to terminals with communication network functions, such as smart phones, tablet computers, and smart wearable devices. , which can be specifically implemented by the processors of these terminals. The method of the embodiment of the present invention further includes the following steps.

S101、当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态。S101. When a terminal enables a data service function, determine whether the terminal is currently in a network idle state.

本发明实施例中,当用户想要使用终端的卡数据流量时,用户可以主动开启所述终端的数据业务功能;或者,所述终端可以通过有线/无线通讯的方式(如wifi、蓝牙、数据线等)接收其他终端或服务器发送过来的开启指令,所述开启指令用于开启所述终端的数据业务功能,所述终端可以响应所述开启指令,开启本终端的数据业务功能,也即是开启数据业务。当所述终端检测到本终端开启数据业务功能时,进一步地所述终端还可以检测并判断本终端当前是否处于网络空闲状态。当所述终端判断到本终端处于所述网络空闲状态时,继续执行步骤S102;否则,结束流程或者当检测到本终端中存在有需要传输的服务请求信息(如QQ信息传送、文件传送等信息),将所述服务请求信息发送给对应的服务器/网络侧,进行对应的数据通信。In this embodiment of the present invention, when the user wants to use the card data traffic of the terminal, the user can actively enable the data service function of the terminal; line, etc.) to receive an opening instruction sent by other terminals or servers, the opening instruction is used to enable the data service function of the terminal, and the terminal can respond to the opening instruction to enable the data service function of the terminal, that is, Start data service. When the terminal detects that the terminal has enabled the data service function, the terminal can further detect and judge whether the terminal is currently in a network idle state. When the terminal determines that the terminal is in the idle state of the network, it continues to perform step S102; otherwise, the process ends or when it is detected that there is service request information (such as QQ information transmission, file transmission and other information that needs to be transmitted in the terminal) ), send the service request information to the corresponding server/network side, and perform corresponding data communication.

其中可选地,所述判断所述终端是否处于网络空闲状态具体包括:Optionally, the judging whether the terminal is in a network idle state specifically includes:

判断所述终端是否处于熄屏状态以确定所述终端是否处于网络空闲状态;Determine whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state;

其中,当所述终端处于熄屏状态时,所述终端处于网络空闲状态;当所述终端处于亮屏状态时,所述终端不是处于网络空闲状态。Wherein, when the terminal is in a screen-off state, the terminal is in a network idle state; when the terminal is in a bright-screen state, the terminal is not in a network idle state.

所述终端可以调用光学传感器来检测本终端的屏幕亮度值,并判断所述屏幕亮度值是否大于或等于用户/系统预先在本终端自定义设置的预设亮度阈值,若小于或等于所述预设亮度阈值,则所述终端可以认为所述终端处于熄屏状态,进一步地所述终端可以认为/确定到所述终端处于网络空闲状态;如果所述终端判断到所述屏幕亮度值大于或等于所述预设亮度阈值,则所述终端可以认为所述终端处于亮屏状态,并进一步地所述终端可以认为/确定到所述终端不处于网络空闲状态。或者,所述终端还可以通过速度传感器来检测所述终端当前的运动速度,并判断所述运动速度是否大于或等于预设的速度阈值,如果大于或等于所述预设的速度阈值,那么所述终端可以认为所述终端当前处于网络空闲状态;否则,所述终端可以认为当前不处于网络空闲状态。或者,所述终端可以通过检测本终端是否接收到应用服务指令来判断所述终端是否处于网络空闲状态,当所述终端没有接收到相关的应用服务指令时,所述终端可以认为当前处于网络空闲状态;否则,所述终端认为本终端当前不处于网络空闲状态。也即是所述终端没有检测到任何的用户操作输入指令时,可以认为所述终端处于网络空闲状态,或者,所述终端在检测到用户的输入操作指令,进一步地对所述输入操作指令进行解析,判断所述用户输入操作指令是否需要使用数据流量才能完成,如果不是,那么所述终端同样也可以认为所述终端处于网络空闲状态,示例性地如用户在手机上使用诸如短信、便签等不联网的应用时,所述终端在检测到用户对上述不联网的应用进行操作时,此时所述终端可以认为本终端处于网络空闲状态。The terminal can call the optical sensor to detect the screen brightness value of the terminal, and determine whether the screen brightness value is greater than or equal to the preset brightness threshold that the user/system pre-sets in the terminal, if it is less than or equal to the preset brightness threshold. If the brightness threshold is set, the terminal may consider that the terminal is in a screen-off state, and further, the terminal may consider/determine that the terminal is in a network idle state; if the terminal determines that the screen brightness value is greater than or equal to the preset brightness threshold, the terminal may consider that the terminal is in a bright screen state, and further the terminal may consider/determine that the terminal is not in a network idle state. Alternatively, the terminal may also detect the current movement speed of the terminal through a speed sensor, and determine whether the movement speed is greater than or equal to a preset speed threshold, and if it is greater than or equal to the preset speed threshold, then the The terminal may consider that the terminal is currently in a network idle state; otherwise, the terminal may consider that it is not currently in a network idle state. Alternatively, the terminal may determine whether the terminal is in a network idle state by detecting whether the terminal receives an application service instruction, and when the terminal does not receive a relevant application service instruction, the terminal may consider that the terminal is currently in a network idle state state; otherwise, the terminal considers that the terminal is not currently in a network idle state. That is to say, when the terminal does not detect any user operation input command, it can be considered that the terminal is in a network idle state, or, when the terminal detects the user's input operation command, the input operation command is further processed. Parsing, to determine whether the user input operation instruction needs to use data traffic to complete, if not, then the terminal can also consider the terminal is in an idle state of the network, for example, the user uses a mobile phone such as a short message, a note, etc. When the application is not connected to the Internet, when the terminal detects that the user operates the application that is not connected to the Internet, the terminal may consider that the terminal is in a network idle state at this time.

所述终端可以包括智能手机(如Android手机、IOS手机等)、个人电脑、平板电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式智能设备等互联网设备,本发明实施例不作限定。The terminal may include Internet devices such as smart phones (such as Android phones, IOS phones, etc.), personal computers, tablet computers, handheld computers, mobile Internet devices (MID, Mobile Internet Devices), or wearable smart devices, which are not implemented in the embodiments of the present invention. limited.

S102、检测所述数据业务的链路状态是否处于预设的休眠状态。S102. Detect whether the link state of the data service is in a preset sleep state.

本发明实施例中,终端可以检测并判断所述数据业务的链路状态是否处于预设的休眠Dormant状态,如果处于所述Dormant状态,那么所述终端可以继续执行步骤S103;否则,结束流程或者当检测到本终端中存在有需要传输的服务请求信息(如QQ信息传送、文件传送等信息),将所述服务请求信息发送给对应的服务器/网络侧,进行对应的数据通信。In this embodiment of the present invention, the terminal may detect and determine whether the link state of the data service is in the preset dormant Dormant state, and if it is in the Dormant state, the terminal may continue to perform step S103; otherwise, end the process or When it is detected that there is service request information (such as QQ information transmission, file transmission, etc.) that needs to be transmitted in the terminal, the service request information is sent to the corresponding server/network side for corresponding data communication.

可以理解的是,在数据业务(功能)打开的情况下,所述终端与网络侧之间建立有无线资源控制RRC(Radio Resource Control,RRC)连接的关系,且连接之后,所述数据业务的链路存在三种状态,分为是活动Active状态、空闲Idle状态、休眠Dormant状态,其中Idle状态是Active状态和Dormant状态的过渡状态,所述Active状态是指当所述终端与所述网络侧之间存在数据传输的时候,所述数据业务的链路状态处于Active状态;所述Dormant状态是指所述网络侧在用户/系统预先自定义设置的预设时间段(如1min分钟)内没有接收到所述终端发送过来的任何数据请求,此时所述网络侧可以将所述数据业务的链路状态设置为Dormant状态,进一步地所述网络侧还可以生成对应的针对所述数据业务的链路状态的切换通知信息,以通知所述终端知晓所述数据业务的链路状态当前处于Dormant状态。可选地,当所述数据业务的链路状态当前处于Dormant状态时,如果所述网络侧检测/接收到本网络侧端存在有数据请求信息(如应用服务请求等),所述网络侧会将所述数据业务的链路状态从Dormant状态设置进入Active状态,并生成对应的针对所述数据业务的链路状态的切换通知信息,所述切换通知信息用于通知所述终端此时所述数据业务的链路状态已从Dormant状态进入Active状态;或者,所述网络侧可以直接将Dormant状态设置进入Active状态的信息下发给所述终端。当所述终端在接收到所述切换通知信息或者所述终端在获知到所述数据业务的链路状态从Dormant状态设置进入Active状态时,所述终端可以上报数据业务连接状态为CONNECTED并进行对应的数据通信,而且不用进行分组数据协议PDP(Packet Data Protocol,PDP)上下文的重新激活,既不耗时也不会增加信令交互,而且可以所述终端还可以及时接收数据信息。It can be understood that when the data service (function) is turned on, a radio resource control RRC (Radio Resource Control, RRC) connection relationship is established between the terminal and the network side, and after the connection, the data service is There are three states of the link, which are Active Active state, Idle Idle state, and Dormant Dormant state. The Idle state is a transition state between the Active state and the Dormant state. The Active state refers to when the terminal is connected to the network side. When there is data transmission between them, the link state of the data service is in the Active state; the Dormant state means that the network side does not have any data within the preset time period (such as 1 minute) preset by the user/system. After receiving any data request sent by the terminal, the network side can set the link state of the data service to the Dormant state, and further, the network side can also generate a corresponding request for the data service. Link state switching notification information to notify the terminal that the link state of the data service is currently in the Dormant state. Optionally, when the link state of the data service is currently in the Dormant state, if the network side detects/receives that there is data request information (such as an application service request, etc.) Set the link state of the data service from the Dormant state to the Active state, and generate corresponding switching notification information for the link state of the data service, where the switching notification information is used to notify the terminal of the The link state of the data service has entered the Active state from the Dormant state; or, the network side can directly deliver the information that the Dormant state is set to enter the Active state to the terminal. When the terminal receives the handover notification information or when the terminal learns that the link state of the data service is set from the Dormant state to the Active state, the terminal can report that the data service connection state is CONNECTED and perform corresponding It does not need to reactivate the packet data protocol PDP (Packet Data Protocol, PDP) context, neither time-consuming nor increasing signaling interaction, and the terminal can also receive data information in time.

其中可选地,所述方法还包括:Optionally, the method further includes:

接收所述网络侧下发的针对所述数据业务的链路状态的切换通知信息,以便获知所述数据业务当前所处的链路状态。Receive the switching notification information for the link state of the data service issued by the network side, so as to know the current link state of the data service.

所述终端还可以接收所述网络侧下发的针对所述数据业务的链路状态的切换通知信息,以便所述终端获知所述数据业务当前所处的链路状态。也即是,当所述终端接收到所述网络侧下发的针对所述数据业务的链路状态的切换通知信息时,所述终端可以对所述切换通知信息进行解析,得到所述数据业务当前所处的链路状态。The terminal may also receive the switching notification information for the link state of the data service delivered by the network side, so that the terminal can know the current link state of the data service. That is, when the terminal receives the handover notification information for the link state of the data service issued by the network side, the terminal can parse the handover notification information to obtain the data service. The current link state.

S103、控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息。S103. Control to disable the data service function of the terminal, and disconnect the RRC connection with the network side, so as to intercept the corresponding service request information sent to the network side.

本发明实施例中,当终端检测/判断到所述数据业务的链路状态当前正处于所述Dormant状态时,所述终端可以自动断开/关闭本终端的数据业务功能,同时断开所述终端与网络侧之间的无线资源RRC链接。也即是,当所述数据业务的链路状态处于Dormant态时,表示/说明所述终端与所述网络侧之间已经不存在数据通信交互(数据业务链路已经无数据交互),并且所述网络侧已经释放/断开所述RRC链路。进一步地,当所述终端检测到当前处于休眠Dormant状态时,所述终端还可以上报数据业务连接状态为DISCONNECTED(断开状态),本终端中安装的所有或部分应用在得知该断开状态后,会认为数据业务呈断开状态,此时这些应用将不会再主动发起数据业务请求(如文件传送请求、消息传送请求等),这样可以防止终端应用发起数据请求唤醒终端或者延迟待机,从而达到节省终端流量和功耗的目的。In the embodiment of the present invention, when the terminal detects/judging that the link state of the data service is currently in the Dormant state, the terminal can automatically disconnect/close the data service function of the terminal, and at the same time disconnect the data service function of the terminal. The radio resource RRC link between the terminal and the network side. That is, when the link state of the data service is in the Dormant state, it indicates/explains that there is no data communication interaction between the terminal and the network side (the data service link has no data interaction), and all The network side has released/disconnected the RRC link. Further, when the terminal detects that it is currently in a dormant Dormant state, the terminal can also report that the data service connection state is DISCONNECTED (disconnected state), and all or part of the applications installed in this terminal are aware of this disconnected state. After that, the data service will be considered disconnected. At this time, these applications will no longer actively initiate data service requests (such as file transfer requests, message transfer requests, etc.), which can prevent terminal applications from initiating data requests to wake up the terminal or delay standby. So as to achieve the purpose of saving terminal traffic and power consumption.

其中可选地,所述方法还包括:Optionally, the method further includes:

当检测到所述数据业务的链路状态不处于所述Dormant状态时,向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。When it is detected that the link state of the data service is not in the Dormant state, corresponding connection notification information is sent to the network side, where the connection notification information is used to notify that there is the current connection between the data service and the network side. The radio resource controls the relationship of the RRC connection and allows corresponding data communication.

当所述终端检测到本终端开启的数据业务的链路状态当前不处于Dormant状态时,所述终端还可以向所述网络侧发送对应的连接通知信息,以便通知所述网络侧当前与所述终端之间存在所述无线资源控制RRC连接的关系,此时允许与所述终端之间进行数据通信。When the terminal detects that the link state of the data service opened by the terminal is not currently in the Dormant state, the terminal may also send corresponding connection notification information to the network side, so as to notify the network side that it is currently in contact with the network side. The radio resource control RRC connection relationship exists between the terminals, and at this time, data communication with the terminal is allowed.

其中可选地,所述方法还包括:Optionally, the method further includes:

当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述Dormant状态时,若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。When the terminal is not in the network idle state, or the link state of the data service is not in the Dormant state, if the service request information that needs to be transmitted is detected, the service request information is sent to the network side, Carry out corresponding data communication.

当所述终端检测到本终端不处于网络空闲状态,或者当所述终端检测到本终端开启的数据业务的链路状态当前不处于Dormant状态时,如果所述终端检测到本终端中存在有需要传输的服务请求信息(如应用服务请求),那么所述终端可以将所述服务请求信息发送给所述网络侧,进一步地通过所述网络侧将所述服务请求信息发送给对应的服务器/其他终端。When the terminal detects that the terminal is not in the network idle state, or when the terminal detects that the link state of the data service opened by the terminal is not currently in the Dormant state, if the terminal detects that there is a need in the terminal the transmitted service request information (such as an application service request), the terminal can send the service request information to the network side, and further send the service request information to the corresponding server/other through the network side terminal.

本发明实施例可通过当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态,若所述终端处于网络空闲状态,则检测所述数据业务的链路状态当前是否处于预设的休眠Dormant状态,若处于所述Dormant状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息;这样可在检测到所述数据业务的链路状态处于休眠状态时,才完全意义上的关闭所述终端的数据业务功能,这样能合理、有限地对终端流量进行管控、并在一定程度上节省了终端能耗,提升了数据业务管理的实用性。In this embodiment of the present invention, when the terminal enables the data service function, it can be judged whether the terminal is currently in a network idle state, and if the terminal is in a network idle state, it can be detected whether the link state of the data service is currently in a preset state. Dormant Dormant state, if in the Dormant state, control to close the data service function of the terminal, disconnect the RRC connection with the network side, so as to intercept the corresponding service request information sent to the network side; In this way, when it is detected that the link state of the data service is in the dormant state, the data service function of the terminal can be completely shut down, so that the terminal traffic can be reasonably and limitedly controlled and saved to a certain extent. It reduces the terminal energy consumption and improves the practicability of data service management.

请参见图2,是本发明实施例的另一种数据业务管理方法的流程示意图,本发明实施例的所述方法可以包括如下步骤。Please refer to FIG. 2 , which is a schematic flowchart of another data service management method according to an embodiment of the present invention. The method in the embodiment of the present invention may include the following steps.

S201、当终端开启数据业务功能时,判断所述终端是否处于熄屏状态以确定所述终端是否处于网络空闲状态。S201. When the terminal enables a data service function, determine whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state.

本发明实施例中,当终端判断到所述终端处于网络空闲状态时,继续执行步骤S202;否则,结束流程或者继续执行步骤S206。In this embodiment of the present invention, when the terminal determines that the terminal is in a network idle state, step S202 is continued; otherwise, the process ends or step S206 is continued.

S202、检测所述数据业务的链路状态是否处于预设的休眠Dormant状态。S202. Detect whether the link state of the data service is in a preset dormant Dormant state.

本发明实施例中,当终端检测到所述数据业务的链路状态处于所述预设的休眠Dormant状态时,继续执行步骤S203;否则,结束流程或者继续执行步骤S205或者步骤S206。In this embodiment of the present invention, when the terminal detects that the link state of the data service is in the preset dormant Dormant state, step S203 is continued; otherwise, the process ends or step S205 or step S206 is continued.

S203、控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息。S203: Control to disable the data service function of the terminal, and disconnect the radio resource control RRC connection with the network side, so as to intercept the sending of corresponding service request information to the network side.

S204、当接收所述网络侧下发的针对所述数据业务的链路状态的切换通知信息时,根据所述切换通知信息确定所述数据业务当前所处的链路状态。S204. When receiving the handover notification information for the link state of the data service delivered by the network side, determine the current link state of the data service according to the handover notification information.

S205、向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知所述终端当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。S205. Send corresponding connection notification information to the network side, where the connection notification information is used to notify that the terminal currently has the RRC connection relationship with the network side, allowing corresponding data communication .

S206、若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。S206. If the service request information to be transmitted is detected, send the service request information to the network side to perform corresponding data communication.

需要说明的是,上述步骤S206可以是在当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述休眠Dormant状态时,如果所述终端检测到本终端存在有需要传输的服务请求信息时,那么所述终端可以将所述服务请求信息发送给所述网络侧,进行想要地数据通信,也即是步骤S206可以在步骤S201、和/或步骤S202的判断结果为否时,进行执行,本发明实施例不作限定。It should be noted that, the above step S206 may be when the terminal is not in the network idle state, or the link state of the data service is not in the dormant Dormant state, if the terminal detects that the terminal has a need When the service request information is transmitted, the terminal may send the service request information to the network side to perform desired data communication, that is, step S206 may be the judgment result of step S201 and/or step S202 If no, execute the execution, which is not limited in this embodiment of the present invention.

需要说明的是,上述步骤S204至步骤S206这3个步骤的执行顺序是可变的。It should be noted that, the execution order of the above-mentioned three steps from step S204 to step S206 is variable.

本发明实施例可以解决终端在灭屏后可以自动根据数据业务的链路状态调整数据业务上报的连接状态,达到终端在灭屏时合理、有限的流量被使用,且一定程度上节省功耗,而且可以及时接收数据信息,亮屏时不需要重新PDP激活流程,增加用户体验。The embodiments of the present invention can solve the problem that the terminal can automatically adjust the connection state reported by the data service according to the link state of the data service after the screen is off, so that the terminal can use reasonable and limited traffic when the screen is off, and save power consumption to a certain extent, In addition, data information can be received in time, and the PDP activation process does not need to be reactivated when the screen is bright, which increases user experience.

请参见图3,是本发明实施例的一种终端的结构示意图,本发明实施例的所述终端3包括:Please refer to FIG. 3 , which is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 3 according to the embodiment of the present invention includes:

判断模块30,用于当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态;The judgment module 30 is used for judging whether the terminal is currently in a network idle state when the terminal enables the data service function;

检测模块31,用于若处于所述网络空闲状态,则检测所述数据业务的链路状态是否处于预设的休眠Dormant状态;a detection module 31, configured to detect whether the link state of the data service is in a preset dormant Dormant state if the network is in an idle state;

处理模块32,用于若所述检测模块31检测到所述数据业务的链路状态处于所述休眠Dormant状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息。The processing module 32 is configured to control to turn off the data service function of the terminal and disconnect the wireless resources with the network side if the detection module 31 detects that the link state of the data service is in the dormant Dormant state The RRC connection is controlled to intercept sending corresponding service request information to the network side.

本发明实施例中涉及的各个模块的具体实现可参考图1至图2对应实施例中相关功能模块或者实施步骤的描述,在此不赘述。For the specific implementation of the modules involved in the embodiments of the present invention, reference may be made to the descriptions of the relevant functional modules or implementation steps in the corresponding embodiments in FIG. 1 to FIG. 2 , and details are not described herein.

本发明实施例可通过当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态,若所述终端处于网络空闲状态,则检测所述数据业务的链路状态当前是否处于预设的休眠Dormant状态,若处于所述Dormant状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息;这样可在检测到所述数据业务的链路状态处于休眠状态时,才完全意义上的关闭所述终端的数据业务功能,这样能合理、有限地对终端流量进行管控、并在一定程度上节省了终端能耗,提升了数据业务管理的实用性。In this embodiment of the present invention, when the terminal enables the data service function, it can be judged whether the terminal is currently in a network idle state, and if the terminal is in a network idle state, it can be detected whether the link state of the data service is currently in a preset state. Dormant Dormant state, if in the Dormant state, control to close the data service function of the terminal, disconnect the RRC connection with the network side, so as to intercept the corresponding service request information sent to the network side; In this way, when it is detected that the link state of the data service is in the dormant state, the data service function of the terminal can be completely shut down, so that the terminal traffic can be reasonably and limitedly controlled and saved to a certain extent. It reduces the terminal energy consumption and improves the practicability of data service management.

请一并参见图4,是本发明实施例的另一种终端的结构示意图,本发明实施例的所述4可以包括:上述的判断模块30、检测模块31以及处理模块32,其中,Please refer to FIG. 4 together, which is a schematic structural diagram of another terminal according to an embodiment of the present invention. The fourth embodiment of the present invention may include: the above-mentioned judgment module 30, detection module 31, and processing module 32, wherein,

所述判断模块30,具体用于判断所述终端是否处于熄屏状态以确定所述终端是否处于网络空闲状态;The judging module 30 is specifically configured to judge whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state;

其中,当所述终端处于熄屏状态时,所述终端处于网络空闲状态;当所述终端处于亮屏状态时,所述终端不是处于网络空闲状态。Wherein, when the terminal is in a screen-off state, the terminal is in a network idle state; when the terminal is in a bright-screen state, the terminal is not in a network idle state.

其中可选地,所述终端还包括:Optionally, the terminal further includes:

接收模块32,用于接收所述网络侧下发的针对所述数据业务的链路状态的切换通知信息,以便获知所述数据业务当前所处的链路状态。The receiving module 32 is configured to receive the handover notification information for the link state of the data service issued by the network side, so as to know the current link state of the data service.

其中可选地,所述终端还包括:Optionally, the terminal further includes:

第一发送模块33,用于当所述检测模块31检测到所述数据业务的链路状态不处于所述休眠Dormant状态时,向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知所述终端当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。The first sending module 33 is configured to send corresponding connection notification information to the network side when the detection module 31 detects that the link state of the data service is not in the dormant Dormant state, the connection notification information It is used to notify the terminal that there is a relationship of the radio resource control RRC connection between the terminal and the network side, and to allow corresponding data communication.

其中可选地,所述终端还包括:Optionally, the terminal further includes:

第二发送模块34,用于当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述休眠Dormant状态时,若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。The second sending module 34 is configured to, when the terminal is not in the network idle state, or the link state of the data service is not in the dormant Dormant state, if it detects the service request information that needs to be transmitted, send it to the The network side sends the service request information to perform corresponding data communication.

本发明实施例中涉及的各个模块的具体实现可参考图1至图2对应实施例中相关功能模块或者实施步骤的描述,在此不赘述。For the specific implementation of the modules involved in the embodiments of the present invention, reference may be made to the descriptions of the relevant functional modules or implementation steps in the corresponding embodiments in FIG. 1 to FIG. 2 , and details are not described herein.

本发明实施例可通过当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态,若所述终端处于网络空闲状态,则检测所述数据业务的链路状态当前是否处于预设的休眠Dormant状态,若处于所述Dormant状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息;这样可在检测到所述数据业务的链路状态处于休眠状态时,才完全意义上的关闭所述终端的数据业务功能,这样能合理、有限地对终端流量进行管控、并在一定程度上节省了终端能耗,提升了数据业务管理的实用性。In this embodiment of the present invention, when the terminal enables the data service function, it can be judged whether the terminal is currently in a network idle state, and if the terminal is in a network idle state, it can be detected whether the link state of the data service is currently in a preset state. Dormant Dormant state, if in the Dormant state, control to close the data service function of the terminal, disconnect the RRC connection with the network side, so as to intercept the corresponding service request information sent to the network side; In this way, when it is detected that the link state of the data service is in the dormant state, the data service function of the terminal can be completely shut down, so that the terminal traffic can be reasonably and limitedly controlled and saved to a certain extent. It reduces the terminal energy consumption and improves the practicability of data service management.

再请参见图5,是本发明实施例的另一种终端的结构示意图。所述终端可以为智能手机、平板电脑、智能可穿戴设备等带通信网络功能的设备,如图5所示,本发明实施例的所述终端可以包括显示屏、按键、扬声器、拾音器等模块,并且还包括:至少一个总线501、与总线501相连的至少一个处理器502以及与总线501相连的至少一个存储器503,实现通信功能的通信装置505,为终端各耗电模块供电的电源装置504。Please refer to FIG. 5 again, which is a schematic structural diagram of another terminal according to an embodiment of the present invention. The terminal may be a device with a communication network function, such as a smart phone, a tablet computer, and a smart wearable device. As shown in FIG. 5 , the terminal in this embodiment of the present invention may include modules such as a display screen, a button, a speaker, and a pickup. It also includes: at least one bus 501, at least one processor 502 connected to the bus 501, at least one memory 503 connected to the bus 501, a communication device 505 for implementing communication functions, and a power supply device 504 for supplying power to each power-consuming module of the terminal.

所述处理器502可通过总线501,调用存储器503中存储的代码以执行相关的功能,其中,存储器503包括操作系统、数据传输应用程序。The processor 502 can call the codes stored in the memory 503 through the bus 501 to perform related functions, wherein the memory 503 includes an operating system and a data transmission application program.

所述处理器502,用于当终端开启数据业务功能时,判断所述终端是否处于网络空闲状态;若处于所述网络空闲状态,则检测所述数据业务的链路状态是否处于预设的休眠Dormant状态;若处于所述休眠Dormant状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息。The processor 502 is configured to determine whether the terminal is in a network idle state when the terminal enables a data service function; if it is in the network idle state, detect whether the link state of the data service is in a preset sleep state Dormant state; if it is in the dormant Dormant state, control to turn off the data service function of the terminal, and disconnect the RRC connection with the network side, so as to intercept the corresponding service request information sent to the network side.

进一步可选地,所述处理器502还用于判断所述终端是否处于熄屏状态以确定所述终端是否处于网络空闲状态;其中,所述终端处于熄屏状态时,所述终端处于网络空闲状态,所述终端处于亮屏状态时,所述终端不是处于网络空闲状态。Further optionally, the processor 502 is further configured to determine whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state; wherein, when the terminal is in a screen-off state, the terminal is in a network idle state state, when the terminal is in the bright screen state, the terminal is not in the network idle state.

进一步可选地,所述处理器502还用于当接收到所述网络侧下发的针对所述数据业务的链路状态的切换通知信息时,根据所述切换通知信息确定所述数据业务当前所处的链路状态。Further optionally, the processor 502 is further configured to, when receiving the handover notification information for the link state of the data service issued by the network side, determine the current status of the data service according to the handover notification information. The link state it is in.

进一步可选地,所述处理器502还用于当检测到所述数据业务的链路状态不处于所述休眠Dormant状态时,向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知所述终端当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。Further optionally, the processor 502 is further configured to send corresponding connection notification information to the network side when detecting that the link state of the data service is not in the dormant Dormant state, the connection notification information It is used to notify the terminal that there is a relationship of the radio resource control RRC connection between the terminal and the network side, and to allow corresponding data communication.

进一步可选地,所述处理器502还用于当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述休眠Dormant状态时,若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。Further optionally, the processor 502 is further configured to detect service request information that needs to be transmitted when the terminal is not in the network idle state, or the link state of the data service is not in the dormant Dormant state. , the service request information is sent to the network side to perform corresponding data communication.

本发明实施例可通过当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态,若所述终端处于网络空闲状态,则检测所述数据业务的链路状态当前是否处于预设的休眠Dormant状态,若处于所述Dormant状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息;这样可在检测到所述数据业务的链路状态处于休眠状态时,才完全意义上的关闭所述终端的数据业务功能,这样能合理、有限地对终端流量进行管控、并在一定程度上节省了终端能耗,提升了数据业务管理的实用性。In this embodiment of the present invention, when the terminal enables the data service function, it can be judged whether the terminal is currently in a network idle state, and if the terminal is in a network idle state, it can be detected whether the link state of the data service is currently in a preset state. Dormant Dormant state, if in the Dormant state, control to close the data service function of the terminal, disconnect the RRC connection with the network side, so as to intercept the corresponding service request information sent to the network side; In this way, when it is detected that the link state of the data service is in the dormant state, the data service function of the terminal can be completely shut down, so that the terminal traffic can be reasonably and limitedly controlled and saved to a certain extent. It reduces the terminal energy consumption and improves the practicability of data service management.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何应用的冻结与解冻操作方法的部分或全部步骤。Embodiments of the present invention further provide a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, the program includes part or all of the steps of any application freezing and thawing operation method described in the above method embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1.一种数据业务管理的方法,其特征在于,所述方法包括:1. A method for data service management, wherein the method comprises: 当终端开启数据业务功能时,判断所述终端是否处于网络空闲状态;When the terminal enables the data service function, determine whether the terminal is in a network idle state; 若处于所述网络空闲状态,则检测所述数据业务的链路状态是否处于预设的休眠状态;If it is in the network idle state, detecting whether the link state of the data service is in a preset sleep state; 若处于所述休眠状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息;If it is in the dormant state, control to turn off the data service function of the terminal, and disconnect the radio resource control RRC connection with the network side, so as to intercept the sending of corresponding service request information to the network side; 所述检测所述数据业务的链路状态是否处于预设的休眠状态包括:The detecting whether the link state of the data service is in a preset sleep state includes: 当接收到所述网络侧下发的针对所述数据业务的链路状态的切换通知信息时,根据所述切换通知信息确定所述数据业务当前所处的链路状态;When receiving the handover notification information for the link state of the data service issued by the network side, determining the current link state of the data service according to the handover notification information; 所述判断所述终端是否处于网络空闲状态包括:The judging whether the terminal is in a network idle state includes: 判断所述终端是否处于熄屏状态以确定所述终端是否处于网络空闲状态,其中,当所述终端处于熄屏状态时,所述终端处于网络空闲状态,当所述终端处于亮屏状态时,所述终端不是处于网络空闲状态;或者,Determine whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state, wherein when the terminal is in a screen-off state, the terminal is in a network idle state, and when the terminal is in a bright-screen state, The terminal is not in a network idle state; or, 通过速度传感器来检测所述终端当前的运动速度,并判断所述运动速度是否大于或等于预设的速度阈值,如果大于或等于所述预设的速度阈值,那么所述终端可以认为所述终端当前处于网络空闲状态,否则,所述终端认为当前不处于网络空闲状态;或者,The current movement speed of the terminal is detected by a speed sensor, and it is judged whether the movement speed is greater than or equal to a preset speed threshold. If it is greater than or equal to the preset speed threshold, the terminal may consider the terminal It is currently in a network idle state, otherwise, the terminal considers that it is not currently in a network idle state; or, 通过检测是否接收到应用服务指令来判断所述终端是否处于网络空闲状态,当所述终端没有接收到相关的应用服务指令时,所述终端认为当前处于网络空闲状态,否则,所述终端认为本终端当前不处于网络空闲状态;或者,Whether the terminal is in a network idle state is determined by detecting whether an application service instruction is received. When the terminal does not receive a relevant application service instruction, the terminal considers that it is currently in a network idle state; otherwise, the terminal considers that the terminal is in a network idle state. The terminal is not currently in a network idle state; or, 检测到用户的输入操作指令的情况下,对所述输入操作指令进行解析,判断所述用户输入操作指令是否需要使用数据流量才能完成,如果不是,所述终端认为当前处于网络空闲状态,否则,所述终端认为本终端当前不处于网络空闲状态。In the case of detecting the input operation instruction of the user, analyze the input operation instruction, and determine whether the user input operation instruction needs to use data traffic to complete, if not, the terminal considers that it is currently in a network idle state, otherwise, The terminal considers that the terminal is not currently in a network idle state. 2.如权利要求1所述的方法,其特征在于,还包括:2. The method of claim 1, further comprising: 当检测到所述数据业务的链路状态不处于所述休眠状态时,向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知所述终端当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。When it is detected that the link state of the data service is not in the dormant state, corresponding connection notification information is sent to the network side, where the connection notification information is used to notify the current connection between the terminal and the network side There is a relationship of the radio resource control RRC connection, allowing corresponding data communication. 3.如权利要求1或2所述的方法,其特征在于,还包括:3. The method of claim 1 or 2, further comprising: 当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述休眠状态时,若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。When the terminal is not in the network idle state, or the link state of the data service is not in the dormant state, if the service request information to be transmitted is detected, the service request information is sent to the network side, Carry out corresponding data communication. 4.一种终端,其特征在于,所述终端包括:4. A terminal, wherein the terminal comprises: 判断模块,用于当终端开启数据业务功能时,判断所述终端当前是否处于网络空闲状态;a judgment module, configured to judge whether the terminal is currently in a network idle state when the terminal enables the data service function; 检测模块,用于若处于所述网络空闲状态,则检测所述数据业务的链路状态是否处于预设的休眠状态;a detection module, configured to detect whether the link state of the data service is in a preset sleep state if the network is in an idle state; 处理模块,用于若所述检测模块检测到所述数据业务的链路状态处于所述休眠状态,则控制关闭所述终端的数据业务功能,断开与网络侧之间的无线资源控制RRC连接,以拦截向所述网络侧发送对应的服务请求信息;A processing module, configured to control to close the data service function of the terminal and disconnect the RRC connection with the network side if the detection module detects that the link state of the data service is in the dormant state , to intercept sending corresponding service request information to the network side; 所述处理模块具体用于当接收到所述网络侧下发的针对所述数据业务的链路状态的切换通知信息时,根据所述切换通知信息确定所述数据业务当前所处的链路状态;The processing module is specifically configured to, when receiving the handover notification information for the link state of the data service issued by the network side, determine the current link state of the data service according to the handover notification information ; 所述判断模块具体用于:判断所述终端是否处于熄屏状态以确定所述终端是否处于网络空闲状态,其中,当所述终端处于熄屏状态时,所述终端处于网络空闲状态,当所述终端处于亮屏状态时,所述终端不是处于网络空闲状态;或者,The judging module is specifically configured to: determine whether the terminal is in a screen-off state to determine whether the terminal is in a network idle state, wherein when the terminal is in a screen-off state, the terminal is in a network idle state, and when the terminal is in a network idle state. When the terminal is in a bright screen state, the terminal is not in a network idle state; or, 通过速度传感器来检测所述终端当前的运动速度,并判断所述运动速度是否大于或等于预设的速度阈值,如果大于或等于所述预设的速度阈值,那么所述终端可以认为所述终端当前处于网络空闲状态,否则,所述终端认为当前不处于网络空闲状态;或者,The current motion speed of the terminal is detected by a speed sensor, and it is judged whether the motion speed is greater than or equal to a preset speed threshold. If it is greater than or equal to the preset speed threshold, the terminal may consider the terminal It is currently in a network idle state, otherwise, the terminal considers that it is not currently in a network idle state; or, 通过检测是否接收到应用服务指令来判断所述终端是否处于网络空闲状态,当所述终端没有接收到相关的应用服务指令时,所述终端认为当前处于网络空闲状态,否则,所述终端认为本终端当前不处于网络空闲状态;或者,Whether the terminal is in a network idle state is determined by detecting whether an application service instruction is received. When the terminal does not receive a relevant application service instruction, the terminal considers that it is currently in a network idle state; otherwise, the terminal considers that the terminal is in a network idle state. The terminal is not currently in a network idle state; or, 检测到用户的输入操作指令的情况下,对所述输入操作指令进行解析,判断所述用户输入操作指令是否需要使用数据流量才能完成,如果不是,所述终端认为当前处于网络空闲状态,否则,所述终端认为本终端当前不处于网络空闲状态。In the case of detecting the input operation instruction of the user, analyze the input operation instruction, and determine whether the user input operation instruction needs to use data traffic to complete, if not, the terminal considers that it is currently in a network idle state, otherwise, The terminal considers that the terminal is not currently in a network idle state. 5.如权利要求4所述的终端,其特征在于,所述终端还包括:5. The terminal according to claim 4, wherein the terminal further comprises: 第一发送模块,用于当所述检测模块检测到所述数据业务的链路状态不处于所述休眠状态时,向所述网络侧发送对应的连接通知信息,所述连接通知信息用于通知所述终端当前与所述网络侧之间存在所述无线资源控制RRC连接的关系,允许进行对应的数据通信。a first sending module, configured to send corresponding connection notification information to the network side when the detection module detects that the link state of the data service is not in the dormant state, where the connection notification information is used to notify The RRC connection relationship currently exists between the terminal and the network side, and corresponding data communication is allowed. 6.如权利要求4或5所述的终端,其特征在于,所述终端还包括:6. The terminal according to claim 4 or 5, wherein the terminal further comprises: 第二发送模块,用于当所述终端不处于网络空闲状态,或者所述数据业务的链路状态不处于所述休眠状态时,若检测到需要传输的服务请求信息,则向所述网络侧发送所述服务请求信息,进行对应的数据通信。The second sending module is configured to, when the terminal is not in the network idle state, or the link state of the data service is not in the dormant state, if the service request information that needs to be transmitted is detected, send to the network side The service request information is sent, and corresponding data communication is performed.
CN201610619408.6A 2016-07-29 2016-07-29 A method, device and terminal for data service management Active CN106060280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610619408.6A CN106060280B (en) 2016-07-29 2016-07-29 A method, device and terminal for data service management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610619408.6A CN106060280B (en) 2016-07-29 2016-07-29 A method, device and terminal for data service management

Publications (2)

Publication Number Publication Date
CN106060280A CN106060280A (en) 2016-10-26
CN106060280B true CN106060280B (en) 2020-02-18

Family

ID=57196071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610619408.6A Active CN106060280B (en) 2016-07-29 2016-07-29 A method, device and terminal for data service management

Country Status (1)

Country Link
CN (1) CN106060280B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MY203326A (en) 2016-12-01 2024-06-25 Guangdong Oppo Mobile Telecommunications Corp Ltd Measurement method, and terminal device
CN109992395B (en) * 2017-12-29 2021-11-16 Oppo广东移动通信有限公司 Application freezing method and device, terminal and computer readable storage medium
CN110365760A (en) * 2019-07-09 2019-10-22 广东美的制冷设备有限公司 Household appliance, the control method of household appliance, device and computer equipment
CN111065141A (en) * 2019-12-30 2020-04-24 海信集团有限公司 Wireless network connection method of intelligent household appliance, intelligent household appliance and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631377B (en) * 2009-07-30 2011-11-30 中兴通讯股份有限公司 Terminal dormancy method and terminal
CN101778470A (en) * 2010-01-05 2010-07-14 华为终端有限公司 Application method and device of terminal equipment
CN102014021A (en) * 2010-11-19 2011-04-13 中兴通讯股份有限公司 Method and device for controlling connection/disconnection of data link
WO2014113960A1 (en) * 2013-01-24 2014-07-31 华为终端有限公司 Method, device, and terminal device for near field communication radiofrequency discovery control
CN103796289B (en) * 2014-01-17 2015-05-20 宇龙计算机通信科技(深圳)有限公司 Method and terminal for achieving data traffic dial

Also Published As

Publication number Publication date
CN106060280A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN106471794B (en) Terminal control method, device and terminal
JP6517370B2 (en) Method and terminal for interaction between terminal and network device
CN107577508B (en) Application processing method, device, readable storage medium and mobile terminal
CN106060280B (en) A method, device and terminal for data service management
CN108513344A (en) Method and device for reconnecting wearable device in case of network disconnection, wearable device and medium
EP3209005B1 (en) Task processing device, intelligent apparatus, task processing method and baseband processor
CN102710851B (en) Method and device for mode switching
CN103780447A (en) Flow control method and device
CN112770413B (en) RRC state control method, device, mobile terminal and readable storage medium
CN105406890B (en) Data transmission method, device and communication terminal in a kind of communication terminal
JP7373679B2 (en) Wi-Fi control method, device and electronic equipment
CN105430723B (en) The carrier aggregation mode setting method and communication terminal of a kind of communication terminal
US20180213027A1 (en) Receiving a communication event
CN106066769B (en) Mobile terminal processing method and mobile terminal
CN106714279A (en) A hotspot network switching method and terminal equipment
WO2015103951A1 (en) Instant application message processing method and modem
CN108475097B (en) A power management method and terminal equipment
CN106792434B (en) Hotspot establishing method and terminal equipment
WO2019237954A1 (en) Network connection method and device, readable storage medium and intelligent terminal
CN106255146A (en) The electricity-saving control method of a kind of terminal, device and terminal
CN105959998A (en) WIFI personal hotspot management method and hotspot equipment
JP2019149824A (en) Method and terminal for interaction between the terminal and network device
CN104581326A (en) Interaction method and device between control device and television
CN114553936A (en) Connection method, connection device, electronic equipment and computer-readable storage medium
CN112533301B (en) A terminal RRC state control method and device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250428

Address after: Room 313, 3rd Floor, Building 31, Ruiqi Jiayuan, Changping District, Beijing 100000

Patentee after: Beijing Jiazhilian Technology Co.,Ltd.

Country or region after: China

Address before: 518057, Nanshan District hi tech Industrial Park (North Zone), Guangdong, Shenzhen Province, No. 2, Mengxi Road

Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right