CN112422738B - Data service management method, mobile terminal and computer storage medium - Google Patents
Data service management method, mobile terminal and computer storage medium Download PDFInfo
- Publication number
- CN112422738B CN112422738B CN202011125247.8A CN202011125247A CN112422738B CN 112422738 B CN112422738 B CN 112422738B CN 202011125247 A CN202011125247 A CN 202011125247A CN 112422738 B CN112422738 B CN 112422738B
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- scene mode
- mode
- application
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0274—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
- H04W52/0277—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof according to available power supply, e.g. switching off when a low battery condition is detected
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The application provides a data service management method, a mobile terminal and a computer storage medium, wherein the data service management method comprises the following steps: s11, acquiring a scene mode and/or time information of a corresponding terminal; and S12, executing corresponding data control according to the scene mode and/or the time information. According to the data service management method, the mobile terminal and the storage medium, manual operation is reduced, experience is increased, background flow stealing and running are reduced, power consumption of the terminal in a connected state is reduced, and cruising ability of the terminal is enhanced.
Description
Technical Field
The present application relates to the field of terminal data control technologies, and in particular, to a data service management method, a mobile terminal, and a computer storage medium.
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 traffic management schemes, the data traffic is generally managed by detecting through the data switch.
The current solution has the following drawbacks: 1. the data switch state is single, complex scenes cannot be covered, manual control is generally needed by a user, and the data switch state is not intelligent enough, poor in operability and poor in experience; 2. after the data is started, the data is always in a connected state unless a user is closed, and the risk of stealing and running the flow of background application is caused; 3. if the user forgets to turn off the data switch, the connection state is always maintained even if the user is not used for a long time, which greatly increases the power consumption of the terminal.
Therefore, a data traffic management method, a mobile terminal and a computer storage medium are needed to solve the above problems.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
The technical problem solved by the application is to provide a data service management method, a mobile terminal and a computer storage medium, which can perform data control on at least one application/function according to a scene mode of the terminal, reduce manual operation, increase experience, reduce power consumption of the terminal in a connected state while reducing background traffic evasion, and enhance cruising ability of the terminal.
The technical problem to be solved by the application is realized by adopting the following technical scheme:
a data service management method comprises the following steps: s11, acquiring a scene mode and/or time information of a corresponding terminal; and S12, executing corresponding data control according to the scene mode and/or the time information.
In a preferred embodiment of the present application, before the step S11, the method further includes: setting scene mode and/or time information and corresponding data control information.
In a preferred embodiment of the present application, the scene modes include: at least one of an idle mode, a class mode, an office mode, a game mode, a driving mode, a sport mode, a sleep mode, and a traffic-saving mode; and/or, the data control information includes at least one of: the application starts a data service white list or black list, a function starts the data service white list or black list, a data switch, data traffic, network speed and traffic duration.
In a preferred embodiment of the present application, the step S11 includes: and acquiring a corresponding scene mode according to preset information, and/or acquiring a scene mode corresponding to an application according to the current application of a user.
In a preferred embodiment of the present application, the preset information includes at least one of the following: user information, operation information, terminal state information, terminal time, running application.
In a preferred embodiment of the present application, the obtaining of the corresponding scene mode according to the user information includes: judging whether the user information meets the preset user information or not; and if so, determining a scene mode corresponding to the user information.
In a preferred embodiment of the present application, the obtaining the corresponding scene mode according to the operation information includes: judging whether the operation information meets a preset condition or not; and if so, determining a scene mode corresponding to the operation information.
In a preferred embodiment of the present application, the preset conditions include: the operation object of the operation information is a preset object; the triggering condition of the operation information meets the preset requirement; the operation time of the operation information is within a preset time period and/or a preset geographical range.
In a preferred embodiment of the present application, the obtaining the corresponding scene mode according to the terminal time includes: judging whether the terminal time is in a preset time period or not; and if so, determining a scene mode corresponding to the terminal time.
In a preferred embodiment of the present application, the obtaining of the corresponding scene mode according to the running application includes: judging whether the running application is a preset application or not; if so, acquiring a scene mode corresponding to the running application.
In a preferred embodiment of the present application, the obtaining of the corresponding scene mode according to the terminal status information includes: judging whether the terminal state is a preset state or not; if so, confirming the scene mode corresponding to the terminal when the duration of the terminal in the preset state exceeds the preset duration.
In a preferred embodiment of the present application, the step S12 includes: and executing corresponding custom data control, optionally including data functions of opening, closing or limiting at least one application or function, or data functions of opening, closing or limiting at least one application or function in the scene mode.
In a preferred embodiment of the present application, the data function includes at least one of: uplink data, downlink data, or data traffic.
In a preferred embodiment of the present application, the step before S12 includes: judging whether the terminal meets a first preset condition, optionally, the first preset condition includes at least one of the following conditions: the terminal is in a dormant state, the terminal starts a power saving mode, the electric quantity of the terminal is lower than or equal to a preset value, the data flow of the terminal is smaller than or equal to a first preset value, and the network speed of the terminal is lower than or equal to a second preset value; if yes, go to step S12.
In a preferred embodiment of the present application, the step S12 includes: judging whether the flow in the time information accords with a preset value or not; if yes, executing corresponding data control.
In a preferred embodiment of the present application, the time information includes a time period.
In a preferred embodiment of the present application, the step of determining whether the flow rate in the time information meets a preset value includes: judging whether the flow meets a preset requirement or not according to at least one application or at least one application category; and if so, performing data control on at least one application or at least one application category.
In a preferred embodiment of the present application, the step S12 includes: and acquiring an application or function white list corresponding to the current scene mode, and controlling the data function of at least one application of the non-application or function white list.
In a preferred embodiment of the present application, the step S12 includes: controlling to restore a normal data function when at least one of exiting the scene mode, not being in time information, not meeting a first preset condition and/or receiving a data request is detected, optionally, the first preset condition includes at least one of: the terminal is in a dormant state, the terminal starts a power saving mode, the electric quantity of the terminal is lower than or equal to a preset value, the data flow of the terminal is smaller than or equal to a first preset value, and the network speed of the terminal is lower than or equal to a second preset value.
A mobile terminal comprising a memory for storing at least one program instruction and a processor for implementing a data traffic management method as claimed in any preceding claim by loading and executing the at least one program instruction.
A computer storage medium having computer program instructions stored thereon which, when executed by a processor, implement a data traffic management method as claimed in any preceding claim.
The technical effect that this application adopted above-mentioned technical scheme to reach is: on the basis of the existing data switch, data scene customization is added to meet the requirement of a user for customizing a data scene; after the setting, data services can be intelligently managed according to the data scene in which the terminal is positioned, so that manual control is reduced, and experience is increased; data can be automatically judged and controlled in an intelligent scene, power consumption in a connection state is reduced while background flow stealing and running is reduced, and cruising ability of the terminal is enhanced.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical means of the present application more clearly understood, the present application may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present application more clearly understood, the following preferred embodiments are specifically described in detail with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a diagram illustrating a communication network system architecture according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a data traffic management method according to a first embodiment of the present application;
fig. 4 is a flowchart illustrating a data traffic management method according to a second embodiment of the present application;
fig. 5 is a flowchart illustrating a data traffic management method according to a third embodiment of the present application;
fig. 6 is a flowchart illustrating a data traffic management method according to a fourth embodiment of the present application;
fig. 7 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. Specific embodiments of the present application have been shown by way of example in the drawings and will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of a claim "comprising a" 8230a "\8230means" does not exclude the presence of additional identical elements in the process, method, article or apparatus in which the element is incorporated, and further, similarly named components, features, elements in different embodiments of the application may have the same meaning or may have different meanings, the specific meaning of which should be determined by its interpretation in the specific embodiment or by further combination with the context of the specific embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at \8230; \8230at" or "when 8230; \8230at" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "a, B or C" or "a, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless otherwise indicated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or partially with other steps or at least some of the sub-steps or stages of other steps.
It should be noted that step numbers such as S11 and S12 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S12 first and then S11 in the specific implementation, but these should be within the protection scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to indicate elements are used only for facilitating the description of the present application, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
A mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch direction of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. Optionally, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited thereto.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include MME (Mobility Management Entity) 2031, hss (Home Subscriber Server) 2032, other MME2033, SGW (Serving gateway) 2034, pgw (PDN gateway) 2035, PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown) and holds some user-specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
Fig. 3 is a flowchart of a data service management method according to a first embodiment of the present application, fig. 4 is a flowchart of a data service management method according to a second embodiment of the present application, fig. 5 is a flowchart of a data service management method according to a third embodiment of the present application, and fig. 6 is a flowchart of a data service management method according to a fourth embodiment of the present application.
As shown in fig. 3, a data service management method according to a first embodiment of the present application includes the following steps:
s11, acquiring a scene mode and/or time information of a corresponding terminal;
and S12, executing corresponding data control according to the scene mode and/or the time information.
In an embodiment, the application obtains a corresponding scene mode when an operating state satisfies a condition by detecting the operating state of a terminal, for example: an idle mode, a class mode, an office mode, a game mode, a driving mode, a sport mode, a sleep mode, and a traffic-saving mode;
in an embodiment scenario, a user operates a terminal within a certain time without triggering a data request, or the user does not perform any operation on the terminal within a certain time, and determines that an uplink data scenario that the terminal does not use an automatic shutdown application for one hour is satisfied currently, and a scenario mode of the terminal is an idle mode currently; or, when it is detected that the user operates a predetermined APP, such as office software, within a certain time, it is determined that the current mode is the office mode, or when the current user is in a game state for a certain duration, it is determined that the current mode is the game mode, and the like;
in an embodiment scenario, the current time information of the terminal may be acquired, and the network data setting of the terminal may be determined according to the time information, for example, the current time is determined to be 9 a.m.: 30, if the time is in the class time period, the mode is judged as class mode.
In an embodiment scenario of the application, after a current scene mode or time information of a terminal is obtained, data configuration corresponding to the scene mode or the time information is further obtained, and network data of the terminal is set according to the data configuration, for example: when the current mode is an office scene mode, configuring the terminal, and only a software APP required by office can be in network connection to perform data request; in setting the network of terminals, e.g. by time, e.g. when the terminal time reaches 9:00, setting the network of the terminal at 9:00-11:00 is unavailable, when the user is at 9:30, the mobile phone can not initiate the network data request.
As shown in fig. 4, in an embodiment, before the step S11, the method further includes: setting scene mode and/or time information and corresponding data control information.
Optionally, the data control information comprises at least one of: the application starts a data service white list or black list, a function starts the data service white list or black list, a data switch, data traffic, network speed and traffic duration.
Optionally, the user may manually set the available APPs in different time periods according to user habit data setting or system setting, only the networking function or the available function of the available APPs is reserved when the corresponding time period is reached in the use process, the data may be used, and the remaining APPs or applications are disconnected or closed, and after the corresponding time period is exceeded or the function is closed, all the APPs or application data connection is recovered (the user may also set in the reverse direction, part of the APPs or application networking functions are disabled in the corresponding time period, and the remaining APPs or applications may be normally networked). And if the user can manually set or the system set flow does not reach the standard, the flow is forbidden, and if the terminal exceeds the preset time, the flow is smaller than the threshold value, and the networking function is closed.
The user may also manually set or the system may set various scene modes.
Optionally, the scene mode includes: at least one of an idle mode, a class mode, an office mode, a game mode, a drive mode, a sport mode, a sleep mode, and a traffic-saving mode.
In one embodiment, the user may set in advance, and the corresponding white list application or function may use data and/or the black list application or function needs to close data in different modes according to user habit data setting or system default setting; after the terminal enters the mode, the white list application or the functional data is started, and the black list application or the functional data service is closed. For example, uplink data for all applications in idle mode is turned off; and in the game mode, all game applications on the terminal can use the data, and other non-game applications close the uplink data.
Optionally, the manner of determining that the mobile phone enters the idle mode includes, but is not limited to, the following manners: 1. the mobile phone screen-off system enters a DOZE mode; 2. the mobile phone is turned off and the electric quantity is lower than a specified value, and/or the mobile phone is not charged; 3. the mobile phone is off and in a special time period (such as 12-5 late night; 4. the mobile phone is turned off and is in a special contextual mode set by a user; 5. the mobile phone is turned off and at least one sensor such as a gravity sensor or a mic sound receiving device is judged to be in an idle state.
For example, user night 12: and after 00, the mobile phone is turned off, the mobile phone enters a dormant state, the electric quantity of the mobile phone is lower than a preset value by 15%, and the mobile phone is not connected with a charger for charging. The mobile phone is not operated when standing, and operations such as downloading and the like are not performed. Based on at least one or more of the above conditions, the system judges that the system enters an idle state, and the system automatically disconnects the data connection, thereby achieving the effect of power saving.
Optionally, the manner of determining that the mobile phone enters the class mode includes, but is not limited to, the following manners: 1. the mobile phone sets a student mode and the current time is the class time; 2. the position of the mobile phone is in a school area and a student mode is set; 3. and comprehensively judging according to positioning, sound collection and the like.
Optionally, the manner of determining that the mobile phone enters the office mode includes, but is not limited to, the following manners: 1. the current application of the mobile phone is office application; 2. the handset is turned on in the do-not-disturb mode.
Optionally, the manner of determining that the mobile phone enters the game mode includes, but is not limited to, the following manners: 1. the mobile phone uses game application; 2. the mobile phone opens the no-disturbance mode of the game.
Optionally, the manner of determining that the mobile phone enters the driving mode includes, but is not limited to, the following manners: 1. the mobile phone opens a navigation application; 2. the moving speed acquired by the speed sensor exceeds a preset speed.
Optionally, the manner of determining that the mobile phone enters the motion mode includes, but is not limited to, the following manners: 1. the mobile phone opens the song listening software and is in motion for a long time; 2. the mobile phone opens the motion software.
Optionally, the manner of determining that the mobile phone enters the sleep mode includes, but is not limited to, the following manners: 1. the mobile phone turns off the screen and stays at night; 2. the position of the mobile phone is not changed for a long time.
Optionally, the manner of determining that the mobile phone enters the traffic-saving mode includes, but is not limited to, the following manners: 1. the mobile phone is disconnected from the wireless connection; 2. the handset traffic is below the threshold.
In one embodiment, as shown in fig. 6, the step S11 includes: and acquiring a corresponding scene mode according to preset information, and/or acquiring a scene mode corresponding to an application according to the current application of a user.
The preset information includes at least one of: user information, operation information, terminal state information, terminal time, running application.
In one embodiment, acquiring a corresponding scene mode according to user information includes: judging whether the user information meets the preset user information or not; and if so, determining a scene mode corresponding to the user information. Or corresponding data control is executed directly according to the user information.
Optionally, the user behavior or the user information may be acquired through a mobile phone sensor or an external wearable device, whether the preset behavior pattern or the preset user information is met or not is judged, and besides the detection of the gravity sensor, the user using state and the user information may be detected based on a wearable device or other sensors. If the user sleeps, judging that the user is in a sleep mode, and executing corresponding data control according to the sleep mode; if the user is detected to move, the terminal is judged to be in a motion mode, and corresponding data control and the like are executed according to the motion mode. Or detecting the sleep of the user and executing corresponding data control according to the sleep information; if the user is detected to be moving, corresponding data control is executed according to the movement information.
In one embodiment, acquiring a corresponding scene mode according to the operation information includes: judging whether the operation information meets a preset condition or not; and if so, determining a scene mode corresponding to the operation information.
Optionally, the preset conditions include: the operation object of the operation information is a preset object; the triggering condition of the operation information meets the preset requirement; the operation time of the operation information is within a preset time period and/or a preset geographical range.
Optionally, the terminal acquires operation information of the user on the terminal to determine a terminal scene mode, such as a trigger position, a combination operation, a trigger mode, and the like.
In one embodiment, acquiring a corresponding scene mode according to a terminal time includes: judging whether the terminal time is in a preset time period or not; and if so, determining a scene mode corresponding to the terminal time.
Optionally, the current time information is obtained according to a networking function or a built-in time application of the terminal.
In one embodiment, acquiring a corresponding scene mode according to a running application includes: judging whether the running application is a preset application or not; if so, acquiring a scene mode corresponding to the running application.
Optionally, all running applications on the terminal are acquired, and then the category of the running applications is judged. If the running application is a game application, the terminal is determined to be in a game mode. The running application is an office application, and the terminal is judged to be in an office mode.
In one embodiment, acquiring a corresponding scene mode according to terminal state information includes: judging whether the terminal state is a preset state or not; if so, confirming the scene mode corresponding to the terminal when the duration of the terminal in the preset state exceeds the preset duration.
Alternatively, if the terminal does not perform any operation for a long time, it may be determined that the terminal is in the idle mode.
In one embodiment, the step S12 includes: and executing corresponding custom data control, optionally including data functions of opening, closing or limiting at least one application or function, or data functions of opening, closing or limiting at least one application or function in the scene mode.
Alternatively, in different scene modes, part of the applications/functions may not be able to use the data function, or all of the applications/functions may not be able to use the data function. In one embodiment, different application white lists or black lists are configured in different scene modes or time periods, for example, an entertainment APP, such as an APP for music, video, game, microblog, and the like, is controlled to be in a network unavailable state; and a function white list or a black list of different applications can be configured, for example, a terminal game APP is controlled to intelligently run a stand-alone game, and networking and grouping cannot be performed.
Optionally, the data function comprises at least one of: uplink data, downlink data, or data traffic.
Optionally, different data functions of at least one application or function may be controlled in different scene modes. For example, the uplink data of the communication application can be closed or the downlink data of the downloading function can be downloaded during the idle mode.
In an embodiment scenario, when a terminal is in a certain scenario mode or within a certain time period, an application white list or a blacklist corresponding to the scenario mode or the time period is started, and according to the white list or the blacklist, a corresponding APP or function is limited to downlink data, for example, the network speed of a game APP is reduced, the network speed of downloading the APP is stopped, and uplink data can also be controlled, for example, office software is controlled not to upload files.
In one embodiment, before the step S12, the method includes: judging whether the terminal meets a first preset condition, wherein optionally, the first preset condition comprises at least one of the following conditions: the terminal is in a dormant state, the terminal starts a power saving mode, the electric quantity of the terminal is lower than or equal to a preset value, the data flow of the terminal is smaller than or equal to a first preset value, and the network speed of the terminal is lower than or equal to a second preset value; if yes, go to step S12. Alternatively, the above step may also precede step S11.
In one embodiment, as shown in fig. 5, further, the step S12 includes: judging whether the flow in the time information accords with a preset value or not; and if so, performing data control on the application or the application type when the flow of the application or the application type meets the preset requirement.
And when the current time does not meet the preset value, judging whether the current time meets the preset value according to the periodicity.
In one embodiment, the time information may correspond to a time period within 24 hours per day, such as 9:00-13:00, may also correspond to date information, for example: 9 on Monday: 00 to friday 17:00, etc., where the time information is not limited to a specific hour time period, but may be a date period, a month, a year, etc.
Optionally, terminal traffic information in a time period is obtained, and then it is determined whether the data traffic usage of the terminal in the time period is less than (or may also be greater than or equal to) a preset value, such as 5M, 10M, or the like; if the number is less than the preset value, closing the terminal data; and/or if the number is larger than or equal to the number, the terminal data service is not closed.
In one embodiment, the step of determining whether the flow rate in the time information meets a preset value includes: judging whether the flow meets a preset requirement or not according to at least one application or at least one application category; and if so, performing data control on the at least one application or the at least one application category.
Optionally, the flow rate used by the terminal is smaller than a preset value; and judging whether the flow values of different applications or different types of applications meet preset conditions or not. For example, the application on the terminal is classified into a class A downloading application, a class B communication application and a single QQ music application, and for the class A downloading application, if the usage flow is less than a threshold value one, the data service of the class A downloading application is closed; for the type B communication application, if the using flow is greater than the threshold value two, the data service is not closed; for the C QQ music application, if the usage flow is less than the threshold value one, the data service of the C application is closed.
In one embodiment, the step S12 includes: and acquiring an application or function white list corresponding to the current scene mode, and controlling the data function of at least one application of the non-application or function white list.
Optionally, when setting the scene mode, the application that needs to be used is added to the white list.
In one embodiment, step S12 is followed by: controlling to restore a normal data function when at least one of exiting the scene mode, not being in time information, not meeting a first preset condition and/or receiving a data request is detected, optionally, the first preset condition includes at least one of: the terminal is in a dormant state, the terminal starts a power saving mode, the electric quantity of the terminal is lower than or equal to a preset value, the data flow of the terminal is smaller than or equal to a first preset value, and the network speed of the terminal is lower than or equal to a second preset value.
According to the data service management method, a user sets a scene mode and/or time information and corresponding data control information manually or by a system, the terminal automatically judges the current scene mode and/or time information, and controls data functions of at least one application or function, such as uplink data, downlink data or data service and the like according to the scene mode and/or time information, so that manual operation of the user is reduced, user experience is improved, background flow stealing is reduced, power consumption of the terminal under data connection is reduced, and cruising ability of the terminal is enhanced.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present application.
The present application further provides a mobile terminal, which includes: a memory 110, a processor 120, the memory 110 having stored thereon a computer program which, when executed by the processor 120, implements the steps of the method according to the above embodiments.
The mobile terminal of the embodiment can perform data control on at least one application or function according to the current scene mode and/or time information, reduces background traffic stealing, reduces power consumption of the connected terminal, and enhances cruising ability.
The present application further includes a computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement a data traffic management method as described in any of the embodiments of the present application.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as described in the above various possible embodiments.
An embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device installed with the chip executes the method described in the foregoing various possible embodiments.
In the above 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.
Through the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present application may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, or the like), and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, or the like) to execute the methods described in the embodiments of the present application.
The present invention is described in detail with reference to the attached drawings, but the present invention is not limited to the details of the above embodiments, the above embodiments and the attached drawings are exemplary, the modules or processes in the drawings are not necessarily essential to the implementation of the embodiments of the present invention, and are not to be understood as the limitation of the present invention, and many simple modifications and combinations can be made to the technical solution of the present invention within the technical idea of the present invention, and the simple modifications and combinations all belong to the protection scope of the present invention.
Claims (15)
1. A method for managing data traffic, the method comprising:
s11, judging a scene mode of the terminal, or judging the scene mode and time information of the terminal;
s12, acquiring data control information corresponding to the scene mode, or acquiring data control information corresponding to the scene mode and the time information;
s13, judging whether the terminal meets a first preset condition or not;
s14, when the terminal meets the first preset condition, controlling uplink data and/or downlink data of at least one application or function according to the scene mode, or the scene mode and the time information, and the corresponding data control information;
wherein the first preset condition comprises at least one of the following: the terminal is in a dormant state, the terminal starts a power saving mode, the electric quantity of the terminal is lower than or equal to a preset value, the data flow of the terminal is smaller than or equal to a first preset value, and the network speed of the terminal is lower than or equal to a second preset value;
the step S11 includes:
judging the scene mode of the terminal according to preset information and/or judging the scene mode of the terminal according to the current application used by a user;
the scene mode includes: an idle mode, a class mode, an office mode, a game mode, a driving mode, a sport mode, a sleep mode, and a traffic-saving mode;
the data control information includes at least one of: the application starts a data service white list or black list, a function starts the data service white list or black list, a data switch, data traffic, network speed and traffic duration;
the preset information includes at least one of: user information, operation information, terminal state information, terminal time, and running applications.
2. The method of claim 1, wherein the step S11 is preceded by:
and setting data control information corresponding to the scene mode or data control information corresponding to the scene mode and the time information.
3. The method of claim 1, wherein determining the scene mode of the terminal according to the user information comprises:
judging whether the user information meets preset user information or not;
and if so, determining a scene mode corresponding to the user information.
4. The method of claim 1, wherein determining the scene mode of the terminal according to the operation information comprises:
judging whether the operation information meets a preset condition or not;
and if so, determining a scene mode corresponding to the operation information.
5. The method of claim 4, wherein the preset condition comprises:
the operation object of the operation information is a preset object;
the triggering condition of the operation information meets a preset requirement;
the operation time of the operation information is within a preset time period and/or a preset geographic range.
6. The method of claim 1, wherein determining the scene mode of the terminal according to the terminal time comprises:
judging whether the terminal time is in a preset time period or not;
and if so, determining a scene mode corresponding to the terminal time.
7. The method of claim 1, wherein determining the scene mode of the terminal according to the running application comprises:
judging whether the running application is a preset application or not;
and if so, acquiring a scene mode corresponding to the running application.
8. The method of claim 1, wherein determining the scene mode of the terminal according to the terminal state comprises:
judging whether the terminal state is a preset state or not;
if so, confirming the scene mode corresponding to the terminal when the time length of the terminal in the preset state exceeds the preset time length.
9. The method of claim 1, wherein the S14 step comprises:
and executing corresponding customized uplink data and/or downlink data control, wherein the customized uplink data and/or downlink data control comprises opening, closing or limiting uplink data and/or downlink data of at least one application or function, or opening, closing or limiting the uplink data and/or the downlink data of at least one application or function in the scene mode.
10. The method of claim 1, wherein the S14 step comprises:
judging whether the flow in the time information in the scene mode meets a preset value or not;
if yes, executing corresponding data control.
11. The method of claim 10, wherein the step of determining whether the traffic flow in the time information in the scene mode meets a preset value comprises:
judging whether the flow meets a preset requirement or not according to at least one application or at least one application category;
and if so, performing data control on the at least one application or the at least one application category.
12. The method of claim 1, wherein the S14 step comprises:
and acquiring an application or function white list corresponding to the current scene mode, and controlling the data function of at least one application which is not the application or function white list.
13. The method of claim 1, wherein the step S14 is followed by:
and controlling to restore the normal data function when at least one of exiting the scene mode, not being in the time information, not meeting the first preset condition and/or receiving a data request is detected.
14. A mobile terminal, comprising a memory for storing at least one program instruction and a processor for implementing the data traffic management method of any of claims 1 to 13 by loading and executing the at least one program instruction.
15. A computer storage medium having computer program instructions stored thereon which, when executed by a processor, implement a data traffic management method according to any one of claims 1 to 13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011125247.8A CN112422738B (en) | 2020-10-20 | 2020-10-20 | Data service management method, mobile terminal and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011125247.8A CN112422738B (en) | 2020-10-20 | 2020-10-20 | Data service management method, mobile terminal and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112422738A CN112422738A (en) | 2021-02-26 |
CN112422738B true CN112422738B (en) | 2022-12-27 |
Family
ID=74840992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011125247.8A Active CN112422738B (en) | 2020-10-20 | 2020-10-20 | Data service management method, mobile terminal and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112422738B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113985999B (en) * | 2021-10-27 | 2023-07-25 | 展讯通信(天津)有限公司 | Device management method, device, electronic device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102573043A (en) * | 2012-01-04 | 2012-07-11 | 惠州Tcl移动通信有限公司 | Timing method and timing device for mobile terminal data businesses |
CN104065822A (en) * | 2014-06-27 | 2014-09-24 | 宇龙计算机通信科技(深圳)有限公司 | Standby flow control method and standby flow control device |
CN111290561A (en) * | 2015-04-14 | 2020-06-16 | 华为技术有限公司 | Terminal control method and device and terminal |
-
2020
- 2020-10-20 CN CN202011125247.8A patent/CN112422738B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102573043A (en) * | 2012-01-04 | 2012-07-11 | 惠州Tcl移动通信有限公司 | Timing method and timing device for mobile terminal data businesses |
CN104065822A (en) * | 2014-06-27 | 2014-09-24 | 宇龙计算机通信科技(深圳)有限公司 | Standby flow control method and standby flow control device |
CN111290561A (en) * | 2015-04-14 | 2020-06-16 | 华为技术有限公司 | Terminal control method and device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112422738A (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112004173B (en) | Bluetooth headset switching method, mobile terminal and computer readable storage medium | |
CN110087287B (en) | Control method and device for terminal network searching, mobile terminal and storage medium | |
CN107241789B (en) | Terminal power saving method, terminal and computer readable storage medium | |
CN107463243B (en) | Screen control method, mobile terminal and computer readable storage medium | |
CN111901211B (en) | Control method, apparatus and storage medium | |
CN109890022B (en) | Data transmission control method, mobile terminal and computer readable storage medium | |
CN112261535A (en) | Major-minor switching method and device for wireless earphone and readable storage medium | |
CN107634940B (en) | Flow use control method, terminal, server and readable storage medium | |
CN112486365A (en) | Notification event updating method, terminal device and storage medium | |
CN110191477B (en) | Network search control method, terminal and computer readable storage medium | |
CN112422738B (en) | Data service management method, mobile terminal and computer storage medium | |
CN113176869A (en) | Screen-projecting audio time delay control method and device and computer readable storage medium | |
CN112068689A (en) | Brightness adjusting method, terminal and computer storage medium | |
CN109840153B (en) | Terminal resource optimization method, device, system, terminal and medium | |
CN109151201B (en) | Anti-addiction method, mobile terminal and computer storage medium | |
CN109308147B (en) | Application icon display method and device and computer readable storage medium | |
CN107995365B (en) | Method for outputting prompt tone by terminal, mobile terminal and computer readable storage medium | |
CN107682551B (en) | Control method, terminal and storage medium of intelligent power amplifier | |
CN107360599B (en) | Intelligent wifi networking method and mobile terminal | |
CN115277922A (en) | Processing method, intelligent terminal and storage medium | |
CN112105013B (en) | Method for managing device network mode, mobile terminal and computer readable storage medium | |
CN114666440A (en) | Application program control method, intelligent terminal and storage medium | |
CN114217685A (en) | Application management method, intelligent terminal and storage medium | |
CN114665555A (en) | Control method, intelligent terminal and storage medium | |
CN113676971A (en) | Network state regulation and control method, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |