CN106060280B - Data service management method, device and terminal - Google Patents

Data service management method, device and terminal 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.)
Yulong Computer Telecommunication Scientific Shenzhen 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. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • 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

The embodiment of the invention provides a method and a terminal for managing data services, wherein the method comprises the following steps: when a terminal starts a data service function, judging whether the terminal is in a network idle state at present; if the terminal is in the network idle state, detecting whether the link state of the data service is in a preset dormant state currently; and if the terminal is in the dormant state, controlling to close the data service function of the terminal, and disconnecting the Radio Resource Control (RRC) connection with the network side so as to intercept the corresponding service request information sent to the network side. By adopting the embodiment of the invention, the energy consumption of the terminal can be saved.

Description

Data service management method, device and terminal
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for data service management.
Background
At present, intelligent terminals (such as mobile phones, tablets and the like) become indispensable communication or office extension auxiliary tools in working and life of modern people, people can choose to install networking applications such as some QQs, wechat and the like on the intelligent terminals for the convenience of user entertainment, wherein the most common method is to start data card service traffic to perform corresponding data communication. However, in the existing data service management scheme, it is generally performed to forcibly connect/disconnect the corresponding data service by detecting whether the terminal screen is in a bright screen state, that is, to control to close the data service of the terminal when the terminal is in a dead screen state, so as to save the terminal traffic; therefore, when the terminal is in a screen-off state, the information communication between the user and the outside world on a data service level is completely cut off, so that the user cannot receive notification information; moreover, when the terminal is turned on again, the process of data service reconnection and the risk of connection failure exist, inconvenience is caused to the use experience and information communication of the user, and the practicability of data service management is reduced.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and a terminal for data service management, which can save terminal energy consumption and improve the practicability of data service management.
In one aspect, an embodiment of the present invention discloses a method for managing data services, where the method includes:
when a terminal starts a data service function, judging whether the terminal is in a network idle state at present;
if the network is in the idle state, detecting whether the link state of the data service is in a preset dormant state;
and if the terminal is in the dormant state, controlling to close the data service function of the terminal, and disconnecting the Radio Resource Control (RRC) connection with the network side so as to intercept the corresponding service request information sent to the network side.
Optionally, the determining whether the terminal is currently in a network idle state specifically includes:
judging whether the terminal is in a screen-off state or not so as to determine whether the terminal is in a network idle state associated with the data service or not;
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 bright screen state, the terminal is not in a network idle state associated with the data service.
Optionally, the method further includes:
and when receiving switching notification information which is sent by the network side and aims at the link state of the data service, determining the current link state of the data service according to the switching notification information.
Optionally, the method further includes:
and when detecting that the link state of the data service is not in the dormant state, sending corresponding connection notification information to the network side, wherein the connection notification information is used for notifying that the relation of the Radio Resource Control (RRC) connection exists between the current network side and the network side and allowing corresponding data communication to be carried out.
Optionally, the method further includes:
and when the terminal is not in a network idle state or the link state of the data service is not in the dormant state, if service request information needing to be transmitted is detected, the service request information is sent to the network side to carry out corresponding data communication.
On the other hand, the embodiment of the invention also discloses and provides a terminal, which comprises:
the judging module is used for judging whether the terminal is in a network idle state associated with the data service currently or not when the terminal starts a data service function;
a detection module, configured to detect whether a link state of the data service is currently in a preset dormant state if the terminal is in the network idle state;
and the processing module is used for controlling to close the data service function of the terminal and disconnect the Radio Resource Control (RRC) connection with the network side to intercept the corresponding service request information sent to the network side if the detection module detects that the link state of the data service is in the dormant state.
Wherein optionally, the first and second optical fibers are,
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;
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.
Optionally, the terminal further includes:
and the receiving module is used for determining the current link state of the data service according to the switching notification information when receiving the switching notification information which is sent by the network side and aims at the link state of the data service.
Optionally, the terminal further includes:
a first sending module, configured to send, when the detecting module detects that the link state of the data service is not in the dormant state, corresponding connection notification information to the network side, where the connection notification information is used to notify that a relationship of radio resource control RRC connection exists between the current network side and the network side, and allow corresponding data communication to be performed.
Optionally, the terminal further includes:
and a second sending module, configured to send the service request information to the network side to perform corresponding data communication if the service request information required to be transmitted is detected when the terminal is not in a network idle state or a link state of the data service is not in the dormant state.
The embodiment of the invention can judge whether the terminal is in a network idle state currently or not when the terminal starts a data service function, if the terminal is in the network idle state, whether the link state of the data service is in a preset dormant state currently or not is detected, if the terminal is in the dormant state, the data service function of the terminal is controlled to be closed, and the Radio Resource Control (RRC) connection between the terminal and a network side is disconnected so as to intercept the transmission of corresponding service request information to the network side; therefore, when the link state of the data service is detected to be in the dormant state, the data service function of the terminal is completely closed, so that the flow of the terminal can be reasonably and limitedly controlled, the energy consumption of the terminal is saved to a certain extent, and the practicability of data service management is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data service management method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another data traffic management method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, 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 invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprises" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Referring to fig. 1, a flow chart of a data service management method according to an embodiment of the present invention is shown, and the method according to the embodiment of the present invention may be applied to terminals with communication network functions, such as smart phones, tablet computers, smart wearable devices, and the like, and may be specifically implemented by processors of the terminals. The method of embodiments of the present invention further includes the following steps.
S101, when the terminal starts a data service function, judging whether the terminal is in a network idle state currently.
In the embodiment of the invention, when a user wants to use the card data flow of the terminal, the user can actively start the data service function of the terminal; or, the terminal may receive a start instruction sent by another terminal or a server through a wired/wireless communication manner (e.g., wifi, bluetooth, data line, etc.), where the start instruction is used to start a data service function of the terminal, and the terminal may respond to the start instruction to start the data service function of the terminal, that is, start a data service. When the terminal detects that the terminal starts the data service function, the terminal can further detect and judge whether the terminal is in a network idle state currently. When the terminal judges that the terminal is in the network idle state, the step S102 is continuously executed; otherwise, ending the process or when detecting that the terminal has the service request information (such as information of QQ information transmission, file transmission and the like) needing to be transmitted, sending the service request information to the corresponding server/network side for corresponding data communication.
Optionally, the determining whether the terminal is in a network idle state specifically includes:
judging whether the terminal is in a screen-off state or not to determine whether the terminal is in a network idle state or not;
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.
The terminal can call an optical sensor to detect a screen brightness value of the terminal, and judge whether the screen brightness value is greater than or equal to a preset brightness threshold value which is set by a user/system in a user-defined manner in the terminal in advance, if the screen brightness value is less than or equal to the preset brightness threshold value, the terminal can consider that the terminal is in a screen-off state, and further the terminal can consider/determine that the terminal is in a network idle state; if the terminal judges that the screen brightness value is greater than or equal to the preset brightness threshold value, the terminal can consider that the terminal is in a bright screen state, and further the terminal can consider/determine that the terminal is not in a network idle state. Or, the terminal may further detect a 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 the movement speed is greater than or equal to the preset speed threshold, 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. Or, 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 related application service instruction, the terminal may consider that the terminal is currently in the network idle state; otherwise, the terminal considers that the terminal is not in the network idle state currently. That is, when the terminal does not detect any user operation input instruction, the terminal may be considered to be in a network idle state, or when the terminal detects an input operation instruction of a user, the terminal further analyzes the input operation instruction, and determines whether the user input operation instruction needs to be completed by using data traffic, if not, the terminal may also be considered to be in the network idle state, for example, when the user uses an application such as a short message and a memo that is not networked on a mobile phone, when the terminal detects that the user operates the application that is not networked, the terminal may be considered to be in the network idle state.
The terminal may include an Internet device such as a smart phone (e.g., an Android phone, an IOS phone, etc.), a personal computer, a tablet computer, a palmtop computer, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable smart device, and the embodiments of the present invention are not limited thereto.
S102, detecting whether the link state of the data service is in a preset dormant state.
In the embodiment of the present invention, the terminal may detect and determine whether the link state of the data service is in a preset Dormant state, and if the link state is in the Dormant state, the terminal may continue to execute step S103; otherwise, ending the process or when detecting that the terminal has the service request information (such as information of QQ information transmission, file transmission and the like) needing to be transmitted, sending the service request information to the corresponding server/network side for corresponding data communication.
It can be understood that, when a data service (function) is turned on, a Radio Resource Control (RRC) connection relationship is established between the terminal and the network side, and after the connection, a link of the data service has three states, which are an Active state, an Idle state, and a Dormant state, where the Idle state is a transition state between an Active state and a Dormant state, and the Active state refers to that when there is data transmission between the terminal and the network side, the link of the data service is in the Active state; the Dormant state refers to that the network side does not receive any data request sent by the terminal within a preset time period (e.g., 1min minute) set by a user/system in a self-defined manner in advance, at this time, the network side may set the link state of the data service to the Dormant state, and further, the network side may further generate corresponding handover notification information for the link state of the data service, so as 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 data request information (such as an application service request) exists at the network side, the network side sets the link state of the data service from the Dormant state to an Active state, and generates corresponding handover notification information for the link state of the data service, where the handover notification information is used to notify the terminal that the link state of the data service at this time has entered the Active state from the Dormant state; or, the network side may directly issue the information that the Dormant state is set to enter the Active state to the terminal. When the terminal receives the switching notification information or the terminal learns that the link state of the Data service enters an Active state from the Dormant state, the terminal can report that the connection state of the Data service is CONNECTED and perform corresponding Data communication without reactivating a Packet Data Protocol (PDP) context, so that time is not consumed and signaling interaction is not increased, and the terminal can also receive Data information in time.
Optionally, the method further includes:
and receiving switching notification information aiming at the link state of the data service and issued by the network side so as to acquire the current link state of the data service.
The terminal may further receive switching notification information for the link state of the data service, which is issued by the network side, so that the terminal can acquire the current link state of the data service. That is, when the terminal receives the switching notification information for the link state of the data service, which is sent by the network side, the terminal may analyze the switching notification information to obtain the current link state of the data service.
S103, controlling to close the data service function of the terminal, and disconnecting the Radio Resource Control (RRC) connection with the network side so as to intercept the corresponding service request information sent to the network side.
In the embodiment of the invention, when the terminal detects/judges 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 simultaneously disconnect the radio resource RRC (radio resource control) 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 has been no data communication interaction between the terminal and the network side (the data service link has no data interaction), and the network side has released/disconnected the RRC link. Further, when the terminal detects that the terminal is currently in the Dormant state, the terminal may also report that the data service connection state is DISCONNECTED, and after all or part of applications installed in the terminal learn the DISCONNECTED state, the data service may be considered to be in the DISCONNECTED state, and at this time, the applications may not actively initiate data service requests (such as file transfer requests, message transfer requests, and the like), so that it may be prevented that the terminal application initiates a data request to wake up the terminal or delay standby, thereby achieving the purpose of saving terminal traffic and power consumption.
Optionally, the method further includes:
and when detecting that the link state of the data service is not in the Dormant state, sending corresponding connection notification information to the network side, wherein the connection notification information is used for notifying that the relation of the Radio Resource Control (RRC) connection exists between the current network side and the network side and allowing corresponding data communication to be carried out.
When the terminal detects that the link state of the data service started by the terminal is not in the Dormant state at present, the terminal may further send corresponding connection notification information to the network side so as to notify that the relationship of the radio resource control RRC connection exists between the network side and the terminal, and at this time, allow data communication with the terminal.
Optionally, the method further includes:
and when the terminal is not in a network idle state or the link state of the data service is not in the Dormant state, if the service request information needing to be transmitted is detected, the service request information is sent to the network side to carry out corresponding data communication.
When the terminal detects that the terminal is not in a network idle state or that the terminal detects that the link state of the data service started by the terminal is not in a Dormant state currently, if the terminal detects that service request information (such as an application service request) needing to be transmitted exists in the terminal, the terminal can send the service request information to the network side and further send the service request information to a corresponding server/other terminals through the network side.
The embodiment of the invention can judge whether the terminal is in a network idle state currently or not when the terminal starts a data service function, if the terminal is in the network idle state, whether the link state of the data service is in a preset Dormant state currently or not is detected, and if the link state is in the Dormant state, the data service function of the terminal is controlled to be closed, and the Radio Resource Control (RRC) connection between the terminal and a network side is disconnected so as to intercept the transmission of corresponding service request information to the network side; therefore, when the link state of the data service is detected to be in the dormant state, the data service function of the terminal is completely closed, so that the flow of the terminal can be reasonably and limitedly controlled, the energy consumption of the terminal is saved to a certain extent, and the practicability of data service management is improved.
Referring to fig. 2, a flow chart of another data service management method according to an embodiment of the present invention is shown, where the method according to the embodiment of the present invention may include the following steps.
S201, when a terminal starts a data service function, judging whether the terminal is in a screen-off state or not so as to determine whether the terminal is in a network idle state or not.
In the embodiment of the present invention, when the terminal determines that the terminal is in the network idle state, step S202 is continuously executed; otherwise, the flow is ended or the execution of step S206 is continued.
S202, detecting whether the link state of the data service is in a preset Dormant state.
In the embodiment of the present invention, when the terminal detects that the link state of the data service is in the preset Dormant state, step S203 is continuously executed; otherwise, the flow is ended or the execution of step S205 or step S206 is continued.
S203, controlling to close the data service function of the terminal, and disconnecting the Radio Resource Control (RRC) connection with the network side to intercept the corresponding service request information sent to the network side.
S204, when receiving the switching notification information aiming at the link state of the data service, which is sent by the network side, determining the current link state of the data service according to the switching notification information.
S205, sending corresponding connection notification information to the network side, where the connection notification information is used to notify that the relation of the RRC connection exists between the terminal and the network side, and allow corresponding data communication.
S206, if the service request information needing to be transmitted is detected, the service request information is sent to the network side, and corresponding data communication is carried out.
It should be noted that, in the above step S206, when the terminal is not in a network idle state or the link state of the data service is not in the Dormant state, if the terminal detects that the terminal has service request information that needs to be transmitted, the terminal may send the service request information to the network side to perform desired data communication, that is, the step S206 may be performed when the determination result of the step S201 and/or the step S202 is no, which is not limited in the embodiment of the present invention.
It should be noted that the execution sequence of the 3 steps from step S204 to step S206 is variable.
The embodiment of the 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 turned off, so that the terminal can be used at a reasonable and limited flow rate when the screen is turned off, the power consumption is saved to a certain extent, the data information can be received in time, the PDP activation flow does not need to be restarted when the screen is turned on, and the user experience is increased.
Referring to fig. 3, it is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal 3 according to the embodiment of the present invention includes:
the determining module 30 is configured to determine whether the terminal is currently in a network idle state when the terminal starts a data service function;
a detecting module 31, configured to detect whether a link state of the data service is in a preset Dormant state if the network is in the network idle state;
a processing module 32, configured to control to close a data service function of the terminal and disconnect a radio resource control RRC connection with a network side to intercept service request information sent to the network side if the detection module 31 detects that the link state of the data service is in the Dormant state.
For specific implementation of each module related in the embodiments of the present invention, reference may be made to descriptions of related functional modules or implementation steps in the corresponding embodiments of fig. 1 to fig. 2, which are not described herein again.
The embodiment of the invention can judge whether the terminal is in a network idle state currently or not when the terminal starts a data service function, if the terminal is in the network idle state, whether the link state of the data service is in a preset Dormant state currently or not is detected, and if the link state is in the Dormant state, the data service function of the terminal is controlled to be closed, and the Radio Resource Control (RRC) connection between the terminal and a network side is disconnected so as to intercept the transmission of corresponding service request information to the network side; therefore, when the link state of the data service is detected to be in the dormant state, the data service function of the terminal is completely closed, so that the flow of the terminal can be reasonably and limitedly controlled, the energy consumption of the terminal is saved to a certain extent, and the practicability of data service management is improved.
Please refer to fig. 4, which is a schematic structural diagram of another terminal according to an embodiment of the present invention, where the terminal 4 according to the embodiment of the present invention may include: the above-mentioned determining module 30, detecting module 31 and processing module 32, wherein,
the determining module 30 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;
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.
Optionally, the terminal further includes:
a receiving module 32, configured to receive switching notification information, which is sent by the network side and is addressed to the link state of the data service, so as to obtain the current link state of the data service.
Optionally, the terminal further includes:
a first sending module 33, configured to send, when the detecting module 31 detects that the link state of the data service is not in the Dormant state, corresponding connection notification information to the network side, where the connection notification information is used to notify that a relationship of the RRC connection exists between the terminal and the network side, and allow corresponding data communication to be performed.
Optionally, the terminal further includes:
a second sending module 34, configured to send the service request information to the network side to perform corresponding data communication if the service request information required to be transmitted is detected when the terminal is not in a network idle state or the link state of the data service is not in the Dormant state.
For specific implementation of each module related in the embodiments of the present invention, reference may be made to descriptions of related functional modules or implementation steps in the corresponding embodiments of fig. 1 to fig. 2, which are not described herein again.
The embodiment of the invention can judge whether the terminal is in a network idle state currently or not when the terminal starts a data service function, if the terminal is in the network idle state, whether the link state of the data service is in a preset Dormant state currently or not is detected, and if the link state is in the Dormant state, the data service function of the terminal is controlled to be closed, and the Radio Resource Control (RRC) connection between the terminal and a network side is disconnected so as to intercept the transmission of corresponding service request information to the network side; therefore, when the link state of the data service is detected to be in the dormant state, the data service function of the terminal is completely closed, so that the flow of the terminal can be reasonably and limitedly controlled, the energy consumption of the terminal is saved to a certain extent, and the practicability of data service management is improved.
Fig. 5 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 according to the embodiment of the present invention may include modules, such as a display screen, a key, a speaker, and a sound pickup, and further includes: at least one bus 501, at least one processor 502 connected to the bus 501, and at least one memory 503 connected to the bus 501, a communication device 505 that implements a communication function, and a power supply device 504 that supplies power to each power consuming module of the terminal.
The processor 502 may invoke code stored in memory 503 to perform the associated functions via the bus 501, wherein the memory 503 includes an operating system, a data transfer application.
The processor 502 is configured to determine whether the terminal is in a network idle state when the terminal starts a data service function; if the network is in the idle state, detecting whether the link state of the data service is in a preset Dormant state; and if the terminal is in the Dormant state, controlling to close the data service function of the terminal, and disconnecting the Radio Resource Control (RRC) connection with the network side so as to intercept the corresponding service request information sent to the network side.
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; when the terminal is in the screen-off state, the terminal is in the network idle state, and when the terminal is in the screen-on state, the terminal is not in the network idle state.
Further optionally, the processor 502 is further configured to, when receiving switching notification information, which is sent by the network side and is for a link state of the data service, determine, according to the switching notification information, a link state where the data service is currently located.
Further optionally, the processor 502 is further configured to send, when it is detected that the link state of the data service is not in the Dormant state, corresponding connection notification information to the network side, where the connection notification information is used to notify that a relationship of the RRC connection exists between the terminal and the network side currently, and allow corresponding data communication to be performed.
Further optionally, the processor 502 is further configured to, when the terminal is not in a network idle state or the link state of the data service is not in the Dormant state, send service request information to the network side if the service request information that needs to be transmitted is detected, and perform corresponding data communication.
The embodiment of the invention can judge whether the terminal is in a network idle state currently or not when the terminal starts a data service function, if the terminal is in the network idle state, whether the link state of the data service is in a preset Dormant state currently or not is detected, and if the link state is in the Dormant state, the data service function of the terminal is controlled to be closed, and the Radio Resource Control (RRC) connection between the terminal and a network side is disconnected so as to intercept the transmission of corresponding service request information to the network side; therefore, when the link state of the data service is detected to be in the dormant state, the data service function of the terminal is completely closed, so that the flow of the terminal can be reasonably and limitedly controlled, the energy consumption of the terminal is saved to a certain extent, and the practicability of data service management is improved.
Embodiments of the present invention also provide a computer storage medium, where the computer storage medium may store a program, and the program includes, when executed, some or all of the steps of the freezing and thawing operation method of any application described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions 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. A method for data traffic management, the method comprising:
when a terminal starts a data service function, judging whether the terminal is in a network idle state;
if the network is in the idle state, detecting whether the link state of the data service is in a preset dormant state;
if the terminal is in the dormant state, controlling to close a data service function of the terminal, and disconnecting a Radio Resource Control (RRC) connection with a network side to intercept the corresponding service request information sent to the network side;
the detecting whether the link state of the data service is in a preset dormant state includes:
when receiving switching notification information which is sent by the network side and aims at the link state of the data service, determining the current link state of the data service according to the switching notification information;
the judging whether the terminal is in a network idle state comprises the following steps:
judging 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 the screen-off state, the terminal is in the network idle state, and when the terminal is in a screen-on state, the terminal is not in the network idle state; alternatively, the first and second electrodes may be,
detecting the current movement speed of the terminal through a speed sensor, and judging whether the movement speed is greater than or equal to a preset speed threshold value, wherein if the movement speed is greater than or equal to the preset speed threshold value, the terminal can be considered to be in a network idle state currently, otherwise, the terminal is considered not to be in the network idle state currently; alternatively, the first and second electrodes may be,
judging whether the terminal is in a network idle state by detecting whether an application service instruction is received, wherein the terminal considers that the terminal is in the network idle state currently when the terminal does not receive the relevant application service instruction, and otherwise, the terminal considers that the terminal is not in the network idle state currently; alternatively, the first and second electrodes may be,
under the condition that an input operation instruction of a user is detected, analyzing the input operation instruction, and judging whether the input operation instruction of the user can be completed only by using data flow, if not, the terminal considers that the terminal is in a network idle state currently, otherwise, the terminal considers that the terminal is not in the network idle state currently.
2. The method of claim 1, further comprising:
and when detecting that the link state of the data service is not in the dormant state, sending corresponding connection notification information to the network side, wherein the connection notification information is used for notifying that the relation of the Radio Resource Control (RRC) connection exists between the terminal and the network side currently and allowing corresponding data communication to be carried out.
3. The method of claim 1 or 2, further comprising:
and when the terminal is not in a network idle state or the link state of the data service is not in the dormant state, if service request information needing to be transmitted is detected, the service request information is sent to the network side to carry out corresponding data communication.
4. A terminal, characterized in that the terminal comprises:
the judging module is used for judging whether the terminal is in a network idle state currently or not when the terminal starts a data service function;
the detection module is used for detecting whether the link state of the data service is in a preset dormant state or not if the network is in the idle state;
the processing module is used for controlling to close the data service function of the terminal and disconnect the Radio Resource Control (RRC) connection with the network side to intercept the corresponding service request information sent to the network side if the detection module detects that the link state of the data service is in the dormant state;
the processing module is specifically configured to determine, when receiving switching notification information, which is sent by the network side and is directed to the link state of the data service, the current link state of the data service according to the switching notification information;
the judgment module is specifically configured to: judging 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 the screen-off state, the terminal is in the network idle state, and when the terminal is in a screen-on state, the terminal is not in the network idle state; alternatively, the first and second electrodes may be,
detecting the current movement speed of the terminal through a speed sensor, and judging whether the movement speed is greater than or equal to a preset speed threshold value, wherein if the movement speed is greater than or equal to the preset speed threshold value, the terminal can be considered to be in a network idle state currently, otherwise, the terminal is considered not to be in the network idle state currently; alternatively, the first and second electrodes may be,
judging whether the terminal is in a network idle state by detecting whether an application service instruction is received, wherein the terminal considers that the terminal is in the network idle state currently when the terminal does not receive the relevant application service instruction, and otherwise, the terminal considers that the terminal is not in the network idle state currently; alternatively, the first and second electrodes may be,
under the condition that an input operation instruction of a user is detected, analyzing the input operation instruction, and judging whether the input operation instruction of the user can be completed only by using data flow, if not, the terminal considers that the terminal is in a network idle state currently, otherwise, the terminal considers that the terminal is not in the network idle state currently.
5. The terminal of claim 4, wherein the terminal further comprises:
a first sending module, configured to send, when the detecting module detects that the link state of the data service is not in the dormant state, corresponding connection notification information to the network side, where the connection notification information is used to notify that a relationship of the RRC connection exists between the terminal and the network side, and allow corresponding data communication to be performed.
6. The terminal according to claim 4 or 5, characterized in that the terminal further comprises:
and a second sending module, configured to send the service request information to the network side to perform corresponding data communication if the service request information required to be transmitted is detected when the terminal is not in a network idle state or a link state of the data service is not in the dormant state.
CN201610619408.6A 2016-07-29 2016-07-29 Data service management method, device and terminal Active CN106060280B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

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 Data service management method, device and terminal

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
CA3043952C (en) 2016-12-01 2022-06-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Measurement method, terminal device, and network 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
US10609646B2 (en) Intelligent management of a plurality of communications links
CN105406923B (en) A kind of Bluetooth interconnection method and system of mobile terminal
CN106060280B (en) Data service management method, device and terminal
EP2509368B1 (en) Power management method and apparatus of a network access module
EP3537734B1 (en) Method and device for connecting a bluetooth device
EP2988219A1 (en) Power saving management method and device for intelligent terminal
US20150223252A1 (en) Resource Allocation Method and Device
CN105916100B (en) Method, device and communication system for acting heartbeat packet
CN103780447B (en) A kind of flow control methods and device
EP3209005B1 (en) Task processing device, intelligent apparatus, task processing method and baseband processor
CN102014021A (en) Method and device for controlling connection/disconnection of data link
CN113365234B (en) Calling method and device and electronic equipment
EP3131348B1 (en) Power consumption control method for wearable device, and wearable device
US20150373723A1 (en) Intelligent Terminal Power-Saving Management Method and Apparatus
CN101888435A (en) Portable terminal and state control method thereof
EP2680661A1 (en) Mode Switching Method and Device
CN103338144A (en) Session data synchronization method and session data synchronization device
JP7373679B2 (en) Wi-Fi control method, device and electronic equipment
JP2009182956A (en) Network connection control method and terminal
EP2949083B1 (en) Receiving a communication event
CN108475097B (en) Electric quantity management method and terminal equipment
CN105100125A (en) Sleep control method, sleep control device and sleep control system for virtual desktop
WO2019237954A1 (en) Network connection method and device, readable storage medium and intelligent terminal
EP3048858B1 (en) Wireless customer premise equipment and accessing method therefor
CN110913022A (en) Method, device and system for downloading network file of mobile 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