CN106792878B - Data traffic monitoring method and device - Google Patents

Data traffic monitoring method and device Download PDF

Info

Publication number
CN106792878B
CN106792878B CN201611227669.XA CN201611227669A CN106792878B CN 106792878 B CN106792878 B CN 106792878B CN 201611227669 A CN201611227669 A CN 201611227669A CN 106792878 B CN106792878 B CN 106792878B
Authority
CN
China
Prior art keywords
icon
application program
data traffic
mobile network
cellular mobile
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
CN201611227669.XA
Other languages
Chinese (zh)
Other versions
CN106792878A (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.)
Nanjing Sumai Intelligent Technology Co., Ltd
Original Assignee
Nanjing Sumai Intelligent Technology 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 Nanjing Sumai Intelligent Technology Co Ltd filed Critical Nanjing Sumai Intelligent Technology Co Ltd
Priority to CN201611227669.XA priority Critical patent/CN106792878B/en
Publication of CN106792878A publication Critical patent/CN106792878A/en
Application granted granted Critical
Publication of CN106792878B publication Critical patent/CN106792878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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

Abstract

The invention provides a data traffic monitoring method and device. The method comprises the following steps: pre-configuring an application program allowing access to a cellular mobile network; under a cellular mobile network, counting the data traffic consumption of an application program, and displaying the data traffic consumption in an icon of the application program; detecting whether a preset operation exists at the icon of the application program, and acquiring a switch for controlling the application program to use the cellular mobile network when the preset operation is detected. Through the invention, a user can very intuitively know the data flow consumption condition of each application program without acquiring the use condition of the flow through a multi-level page. Therefore, the method and the device effectively reduce the operation of the user and improve the use experience of the user on the mobile terminal.

Description

Data traffic monitoring method and device
Technical Field
The invention relates to the field of electronic technology, in particular to a data flow monitoring method and device.
Background
With the development of intelligent mobile terminals and the high-speed growth of mobile internet, mobile terminals with touch screens are more and more widely used, and become an indispensable part of people's lives. The application functions of the mobile terminal are more and more abundant, and various application programs such as information browsing, news playing, video playing, novel watching, social contact, e-mail receiving and sending, game playing, mobile office, shopping and the like can be installed from the original calling and short message sending. In the cellular mobile network environment, the consumption of data traffic by applications is an important aspect of user interest.
In the current intelligent mobile terminal, two methods are roughly used for monitoring the data traffic, one is to set the total available data traffic. When the available data flow is reached, the mobile terminal automatically disconnects from the cellular mobile network, and further the control of the data flow is realized. Although the method is simple, a user does not need to acquire the data traffic consumption condition of a single application program, and all networking applications of the user cannot be used, so that some application programs which are not wanted by the user are consumed, and the use experience of the user is very poor. In another control mode, after entering the setting interface, it needs to perform multiple operations to know the traffic consumption of all the applications in the month and control the corresponding application networking functions. In this case, because the set interaction levels are too many, the user cannot know the traffic consumption condition as soon as possible, and the operation is not very simple and convenient.
Disclosure of Invention
The invention mainly aims to provide a data flow monitoring method and a data flow monitoring device, and aims to solve the problems of complex operation and time consumption when inquiring and controlling the data flow of an application program in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
according to an aspect of the present invention, there is provided a data traffic monitoring method, including:
pre-configuring an application program allowing access to a cellular mobile network;
under a cellular mobile network, counting the data traffic consumption of the application program, and displaying the data traffic consumption in an icon of the application program;
detecting whether a preset operation exists at the icon of the application program, and acquiring a switch for controlling the application program to use a cellular mobile network when the preset operation is detected.
Optionally, when the data traffic consumption is displayed in an icon of the application program, the method specifically includes: presetting a mapping relation between data flow consumption and display colors;
obtaining a display color corresponding to the data traffic consumption according to the mapping relation;
and filling the display color in a surrounding display area preset around the application program icon.
Optionally, when the data traffic consumption is displayed in an icon of the application program, the method specifically includes:
presetting a mapping relation between data traffic consumption and icon size;
and acquiring the size of the icon corresponding to the data traffic consumption according to the mapping relation, and displaying the icon with the corresponding size.
Optionally, when displaying the icon with the corresponding size, the method specifically includes:
acquiring the icon sizes of all the application programs which are allowed to access the cellular mobile network;
and displaying the icons of all the application programs according to the icon size sequence.
Optionally, detecting whether there is a preset operation at the icon of the application program, and obtaining a switch for controlling the application program to use the cellular mobile network when the preset operation is detected, specifically including:
when the touch screen is a pressure-sensitive touch screen, detecting whether a touch pressure value reaches a preset pressure threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch pressure value reaches the preset pressure threshold value; alternatively, the first and second electrodes may be,
when the touch screen is a non-pressure-sensitive touch screen, detecting whether the touch time reaches a preset time threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch time reaches the preset time threshold value.
According to still another aspect of the present invention, there is provided a data traffic monitoring apparatus, including:
a setting unit for pre-configuring an application program allowing access to the cellular mobile network;
the display unit is used for counting the data traffic consumption of the application program under a cellular mobile network and displaying the data traffic consumption in the icon of the application program;
and the control unit is used for detecting whether a preset operation exists at the icon of the application program, and when the preset operation is detected, controlling and processing the use condition of the cellular mobile network of the application program.
Optionally, the setting unit is further configured to preset a mapping relationship between data traffic consumption and display color;
the display unit is specifically configured to obtain a display color corresponding to the data traffic consumption according to the mapping relationship;
and filling the display color in a surrounding display area preset around the application program icon.
Optionally, the setting unit is further configured to preset a mapping relationship between the data traffic consumption and the size of the icon;
the display unit is specifically configured to obtain the size of the icon corresponding to the data traffic consumption according to the mapping relationship, and display the icon with the corresponding size.
Optionally, the display unit is specifically configured to:
acquiring the icon sizes of all the application programs which are allowed to access the cellular mobile network;
and displaying the icons of all the application programs according to the icon size sequence.
Optionally, the control unit is specifically configured to:
when the touch screen is a pressure-sensitive touch screen, detecting whether a touch pressure value reaches a preset pressure threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch pressure value reaches the preset pressure threshold value; alternatively, the first and second electrodes may be,
when the touch screen is a non-pressure-sensitive touch screen, detecting whether the touch time reaches a preset time threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch time reaches the preset time threshold value.
The data traffic monitoring method and the data traffic monitoring device provided by the invention have the advantages that the data traffic situation used by the application program is displayed in the icon, so that a user can very intuitively know the data traffic consumption situation of each application program on the mobile terminal of the user, and the connection situation of the application program cellular mobile network can be controlled directly through the icon of the application program. Therefore, the networking condition is controlled without a complicated setting interface for finding the networking switch of the application program, the operation of a user is effectively reduced, and the use experience of the user on the mobile terminal is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flow chart of a data traffic monitoring method according to an embodiment of the present invention;
FIGS. 4a and 4b are schematic diagrams illustrating the display of application icons according to various embodiments of the present invention;
fig. 5 is a block diagram of a data traffic monitoring apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast-related information from an external broadcast management server via a broadcast channel, the broadcast channel may include a satellite channel and/or a terrestrial channel, the broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast-related information or a server that receives a previously generated broadcast signal and/or broadcast-related information and transmits it to a terminal, the broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, etc. also, the broadcast signal may further include a broadcast signal combined with the TV or radio broadcast signal, the broadcast-related information may also be provided via a mobile communication network, and in this case, the broadcast-related information may be received by the mobile communication module 112, the broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), a digital video broadcasting handheld (DVB-H) Electronic Service Guide (ESG), etc., the broadcast-receiving module 111 may receive a signal broadcast using various types of broadcast systems, in particular, the broadcast receiving module 111 may receive a broadcast signal via a media storage medium suitable for multimedia broadcast systems such as a digital broadcast-terrestrial broadcast-information storage (DVB-H), a DVB-H, a media storage medium suitable for receiving system, and the above-DVB-H, a digital broadcast system.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet access technology to which the module refers may include W L AN (wireless L AN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave Access), HSDPA (high speed Downlink packet Access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process 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 mobile communication module 112 in case of a phone call mode. The microphone 122 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 user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 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 identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device 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 and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are stacked on each other in the form of a layer TO form a touch screen, the display unit 151 may be used as an input device and an output device, the display unit 151 may include at least one of a liquid crystal display (L CD), a thin film transistor L CD (TFT-L CD), an organic light emitting diode (O L ED) display, a flexible display, a three-dimensional (3D) display, and the like, some of these displays may be configured TO be transparent TO allow a user TO view from the outside, which may be referred TO as a transparent display, a typical transparent display may be, for example, a TO L ED (transparent organic light emitting diode) display, and the like, the mobile terminal 100 may include two or more display units (or other display devices) according TO a specific intended embodiment, for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown), and the touch screen may be used TO detect a touch input pressure and a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal 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 module 152 may 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 module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a programmable logic device (P L D), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, such an implementation may be implemented in the controller 180 in some cases.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
For example, the air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (particularly Long term evolution (L TE)), Global System for Mobile communications (GSM), and so forth.
Referring to fig. 2, a CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and Mobile Switching Centers (MSCs) 280, the MSCs 280 are structured to interface with Public Switched Telephone Networks (PSTNs) 290, the MSCs 280 are also structured to interface with the BSCs 275, which may be coupled to the base stations 270 via backhaul lines, which may be structured according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame relay, HDS L, ADS L, or xDS L, it will be appreciated that a system as shown in fig. 2 may include a plurality of BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the hardware structure of the mobile terminal, the mobile terminal and the method of the invention are provided with various embodiments.
As shown in fig. 3, the data traffic monitoring method provided in an embodiment of the present invention is particularly suitable for being applied to the mobile terminal, and includes the following specific steps:
in step 301, an application is preconfigured to allow access to the cellular mobile network.
In this step, the user may set the networking mode of the application program in the mobile terminal in batch through the setting interface, or may detect whether there is a preset operation at the application program icon after the application program is installed, and set the networking mode of a single application program. Here, the arrangement manner is not particularly limited.
Step 302, in the cellular mobile network, counting the data traffic consumption of the application program, and displaying the data traffic consumption in the icon of the application program.
In this step, when the network of the mobile terminal is a cellular mobile network, the data traffic consumed by the application is acquired. The data traffic here may be data traffic consumption at the current time with respect to a certain user-defined time of the user, that is, data traffic consumption of the application is counted in real time from the time set by the user, and may also be data traffic consumption in the current month.
Specifically, in displaying the data traffic consumption in the icon of the application, the display feature corresponding to the data traffic consumption may be obtained according to a preset mapping relationship between the data traffic consumption and the display feature, and the display feature may be displayed in the icon, and the following description will be given on the adopted display feature.
When the network type of the mobile terminal is switched, for example, when the cellular mobile network switches to WIFI, the data traffic consumption is saved. And when the switching to the cellular mobile network is detected again, acquiring the previously saved data traffic consumption, and performing accumulation statistics on the basis of the previously saved data traffic consumption.
And step 303, detecting whether a preset operation exists at the icon of the application program, and acquiring a switch for controlling the application program to use the cellular mobile network when the preset operation is detected.
In step 303, after the icon of the application program is displayed in the main interface, whether a preset operation exists at the icon is detected in real time. Here, the detection of whether there is a preset operation at the icon is not limited to the icon after acquiring the data traffic consumption, and may also be at the icon of other application program that does not access the cellular mobile network. That is, in any network type, the switch of the cellular mobile network of the application program can be controlled as long as the icon in the main interface is detected to have the preset operation.
Based on the above, in the data traffic monitoring method in the embodiment of the present invention, the data traffic situation used by the application program is displayed in the icon, so that the user can very intuitively know the data traffic consumption situation of each application program on the mobile terminal of the user, and the connection situation of the application program cellular mobile network can be controlled directly through the icon of the application program. Therefore, the networking condition is controlled without a complicated setting interface for finding the networking switch of the application program, the operation of a user is effectively reduced, and the use experience of the user on the mobile terminal is improved.
The data traffic monitoring method provided by an embodiment of the present invention is based on the above-described embodiments. In this embodiment, for step 302, the display manner in which the data traffic consumption is displayed in the icon of the application program is further defined.
Specifically, in the present embodiment, displaying the data traffic consumption in the icon of the application includes the following steps:
presetting a mapping relation between data flow consumption and display colors;
obtaining a display color corresponding to the data traffic consumption according to the mapping relation;
and filling the display color in a preset surrounding display area around the application program icon.
In this embodiment, a surrounding display area is set around each application icon that needs to access the mobile network, as shown in fig. 4a and 4 b. The width of the surrounding display area can be selected to be one half of the maximum width of the application program icon.
Optionally, when setting the mapping relationship between the data traffic consumption and the display color, a plurality of traffic use ranges are set, and each traffic use range corresponds to one display color. For example, the first flow rate usage range is (0, 10M) and the corresponding display color is white, the second flow rate usage range is (10M, 50M) and the corresponding display color is green, the third flow rate usage range is (50M, 100M) and the corresponding display color is yellow, the fourth flow rate usage range is greater than 100M and the corresponding display color is red, and the range of data flow rate used by the user is prompted according to the different display colors.
Optionally, when the mapping relationship between the data traffic consumption and the display color is set, the data traffic consumption may also be determined by the change of the shade of a certain color. Specifically, the mapping relationship is a linear function between the shade of a certain color and the magnitude of the data traffic consumption. And calculating the display color corresponding to the data flow consumption at a certain moment according to the linear function relation.
It can be seen that, in this embodiment, the display color of the surrounding display area is used to prompt the user how much data traffic is currently used by setting the surrounding display area around the application icon. Therefore, by the method, a user does not need to set a program to check the flow consumption of each application program, the data flow consumption of each application program can be visually displayed to the user through the icon surrounding display area, and the use experience of the user is effectively improved.
The data traffic monitoring method provided in an embodiment of the present invention provides a new implementation manner for the manner in which the data traffic consumption is displayed on the icon of the application program in step 302 in embodiment 1.
Specifically, in the present embodiment, displaying the data traffic consumption in the icon of the application includes the following steps:
presetting a mapping relation between data traffic consumption and icon size;
and acquiring the size of the icon corresponding to the data traffic consumption according to the mapping relation, and displaying the icon with the corresponding size.
Here, it is necessary to set a maximum icon display area for each icon of the application, where the minimum icon display area is a normal display area commonly used at present, and of course, other display sizes may be used. For example, a normal display area commonly used at present is 1cm × 1cm, and a maximum display area, that is, a maximum expansion range, of the icon is set to be 5cm × 5 cm.
Optionally, when a mapping relation between the flow consumption and the size of the icon is preset, the mapping relation is expressed by adopting a linear function relation between the associated data flow consumption and the size of the icon; and expanding the size of each application icon needing to be accessed to the mobile network into the size matched with the traffic consumption according to the acquired data traffic consumption.
Optionally, when a mapping relationship between the flow consumption and the size of the icon is preset, the range of the data flow consumption corresponds to the size of the icon. For example, the first flow rate range is (0, 10M) with a corresponding icon size of 2cm by 2cm, the second flow rate range is (10M, 50M) with a corresponding icon size of 3cm by 3cm, the third flow rate range is (50M, 100M) with a corresponding icon size of 4cm by 4cm, and the fourth flow rate range is greater than 100M with a corresponding icon size of 5cm by 5 cm.
Further, after determining the size of an application icon, the method further includes the following steps:
acquiring the icon sizes of all application programs which are allowed to access the cellular mobile network;
and displaying the icons of all the application programs according to the icon size sequence.
After determining the icon size of an application program, the icon size of the application program set to allow access to the cellular mobile network needs to be further acquired, and the icons are sorted according to the icon size, wherein the icon is displayed in front of the icon with a larger size, and the icon is displayed behind the icon with a smaller size. In this way, the user can directly obtain the data traffic consumed by each application through the icon size and intuitively determine which applications can shut down the cellular mobile network.
Based on the foregoing embodiments, the data traffic monitoring method provided in an embodiment of the present invention provides two different implementation manners for the specific implementation in step 303, specifically, detecting whether there is a preset operation at an icon of an application program, and acquiring a switch for controlling the application program to use a cellular mobile network when the preset operation is detected, including the following steps:
the touch screen of the mobile terminal is a pressure-sensitive touch screen, and whether a touch pressure value reaches a preset pressure threshold value can be detected at an icon of an application program: when the touch control pressure value reaches a preset pressure threshold value, acquiring a switch for controlling the application program to use a cellular mobile network; when the touch pressure value is smaller than the preset pressure threshold, the touch operation corresponding to other control functions is executed, for example, an application program is started.
The other is that the touch screen of the mobile terminal adopts a non-pressure-sensitive touch screen, and whether the touch time reaches a preset time threshold can be detected at the icon of the application program: when the touch time reaches the preset time threshold, acquiring a switch for controlling the application program to use the cellular mobile network; and when the touch time is less than the preset time threshold, executing the touch operation corresponding to other control functions.
Based on the above, in the data traffic monitoring method in the embodiment of the present invention, after the data traffic used by the application program is displayed in the icon, the user may directly operate on the icon of the application program, so as to control the connection condition of the cellular mobile network of the application program. Therefore, the method and the device are simple to operate, network control can be achieved without multiple interactions, user operation is effectively reduced, and user experience is improved.
As shown in fig. 5, the data traffic monitoring apparatus provided in an embodiment of the present invention is configured to implement the method in embodiment 4, and the apparatus specifically includes:
a configuration unit 61 for pre-configuring applications that are allowed to access the cellular mobile network;
a display unit 62, configured to count data traffic consumption of an application in a cellular mobile network, and display the data traffic consumption in an icon of the application;
optionally, the data traffic consumed by the application program is obtained as the data traffic consumption at the current time relative to a certain user-defined time of the user. Namely, the data flow consumption of the application program is counted in real time from the time set by the user.
The display unit 62 counts the data traffic consumption, and stores the data traffic consumption when the network type of the mobile terminal is switched, for example, when the cellular mobile network switches to WIFI. And when the switching to the cellular mobile network is detected again, acquiring the previously saved data traffic consumption, and performing accumulation statistics on the basis of the previously saved data traffic consumption.
A control unit 63, configured to detect whether there is a preset operation at an icon of the application program, and when the preset operation is detected, obtain a switch for controlling the application program to use the cellular mobile network.
After the icon of the application program is displayed in the main interface, the control unit 63 needs to detect whether there is a preset operation at the icon in real time. Here, the detection of whether there is a preset operation at the icon is not limited to the icon after acquiring the data traffic consumption, and may also be at the icon of other application program that does not access the cellular mobile network.
The data traffic monitoring device in the embodiment of the invention displays the data traffic situation used by the application program in the icon, so that a user can very intuitively know the data traffic consumption situation of each application program on the mobile terminal of the user, and the connection situation of the application program cellular mobile network can be directly controlled through the icon of the application program. Therefore, the networking condition is controlled without a complicated setting interface for finding the networking switch of the application program, the operation of a user is effectively reduced, and the use experience of the user on the mobile terminal is improved.
The data traffic monitoring device provided in an embodiment of the present invention is based on the above-described embodiment. In this embodiment, a display manner of the display unit 62 in displaying the data traffic consumption amount in the icon of the application program is further defined.
Optionally, the configuration unit 61 is further configured to preset a mapping relationship between data traffic consumption and display colors;
the display unit 62 is specifically configured to obtain a display color corresponding to the data traffic consumption according to the mapping relationship;
and filling the display color in a preset surrounding display area around the application program icon.
Wherein, a surrounding display area is set around each application icon needing to access the mobile network. The width of the surrounding display area may be selected to be one-half of the maximum width of the application icons.
Optionally, when the display unit 62 sets the mapping relationship between the data traffic consumption and the display color, a plurality of traffic use ranges are set, and each traffic use range corresponds to one display color. And prompting the range of the data traffic used by the user according to different display colors.
Optionally, when the display unit 62 sets the mapping relationship between the data traffic consumption and the display color, the data traffic consumption may be determined by the shade change of a certain color. Specifically, the mapping relationship is a linear function between the shade of a certain color and the magnitude of the data traffic consumption. And calculating the display color corresponding to the data flow consumption at a certain moment according to the linear function relation.
It can be seen that, in this embodiment, the display color of the surrounding display area is used to prompt the user how much data traffic is currently used by setting the surrounding display area around the application icon.
The data traffic monitoring device provided in an embodiment of the present invention is based on embodiment 5. In this embodiment, a new implementation is given in which the display unit 62 displays the data traffic consumption in an icon of an application.
Optionally, the configuration unit 61 is further configured to preset a mapping relationship between the data traffic consumption and the size of the icon;
the display unit 62 is specifically configured to obtain the size of the icon corresponding to the data traffic consumption according to the mapping relationship, and display the icon with the corresponding size.
Here, it is necessary to set a maximum icon display area for each icon of the application, where the minimum icon display area is a normal display area commonly used at present, and of course, other display sizes may be used.
Optionally, when the mapping relationship between the flow consumption and the size of the icon is preset, the display unit 62 represents the mapping relationship by using a linear function relationship between the associated data flow consumption and the size of the icon; and expanding the size of each application icon needing to be accessed to the mobile network into the size matched with the traffic consumption according to the acquired data traffic consumption.
Optionally, when the mapping relationship between the flow consumption and the size of the icon is preset, the display unit 62 corresponds the range of the data flow consumption to the size of the icon.
Further, the display unit 62 is also configured to:
acquiring the icon sizes of all application programs which are allowed to access the cellular mobile network;
and displaying the icons of all the application programs according to the icon size sequence.
After determining the icon size of an application, the display unit 62 needs to further obtain the icon sizes of the applications that are set to allow access to the cellular mobile network, sort the icons according to the sizes of the icons, and display the icon with a larger size before the icon with a smaller size after the icon. In this way, the user can directly obtain the data traffic consumed by each application through the icon size and determine which applications can shut down the cellular mobile network.
The data traffic monitoring apparatus provided in an embodiment of the present invention further defines the control unit 63 based on any of the above embodiments. Specifically, the control unit 63 detects whether there is a preset operation at the icon of the application program, and includes two implementation manners:
the touch screen of the mobile terminal is a pressure-sensitive touch screen, and whether a touch pressure value reaches a preset pressure threshold value can be detected at an icon of an application program: when the touch control pressure value reaches a preset pressure threshold value, acquiring a switch for controlling the application program to use a cellular mobile network; when the touch pressure value is smaller than the preset pressure threshold, the touch operation corresponding to other control functions is executed, for example, an application program is started.
The other is that the touch screen of the mobile terminal adopts a non-pressure-sensitive touch screen, and whether the touch time reaches a preset time threshold can be detected at the icon of the application program: when the touch time reaches the preset time threshold, acquiring a switch for controlling the application program to use the cellular mobile network; and when the touch time is less than the preset time threshold, executing the touch operation corresponding to other control functions.
It can be seen that, in the data traffic monitoring apparatus in the embodiment of the present invention, after the data traffic used by the application program is displayed in the icon, the user may directly operate on the icon of the application program, so as to control the connection condition of the cellular mobile network of the application program. Therefore, the method and the device are simple to operate, network control can be achieved without multiple interactions, user operation is effectively reduced, and user experience is improved.
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, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. A data traffic monitoring method, comprising:
pre-configuring an application program allowing access to a cellular mobile network;
under a cellular mobile network, counting the data traffic consumption of the application program, and displaying the data traffic consumption in an icon of the application program;
detecting whether a preset operation exists at an icon of the application program, and acquiring a switch for controlling the application program to use a cellular mobile network when the preset operation is detected;
when the data traffic consumption is displayed in the icon of the application program, the method specifically includes:
presetting a mapping relation between data flow consumption and display colors;
obtaining a display color corresponding to the data traffic consumption according to the mapping relation;
filling the display color in a surrounding display area preset around the application program icon;
detecting whether a preset operation exists at the icon of the application program, and acquiring a switch for controlling the application program to use a cellular mobile network when the preset operation is detected, wherein the method specifically comprises the following steps:
when the touch screen is a pressure-sensitive touch screen, detecting whether a touch pressure value reaches a preset pressure threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch pressure value reaches the preset pressure threshold value; alternatively, the first and second electrodes may be,
when the touch screen is a non-pressure-sensitive touch screen, detecting whether the touch time reaches a preset time threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch time reaches the preset time threshold value.
2. The method according to claim 1, wherein, when displaying the data traffic consumption in the icon of the application program, specifically includes:
presetting a mapping relation between data traffic consumption and icon size;
and acquiring the size of the icon corresponding to the data traffic consumption according to the mapping relation, and displaying the icon with the corresponding size.
3. The method of claim 2, wherein displaying the icons of the respective sizes specifically comprises:
acquiring the icon sizes of all the application programs which are allowed to access the cellular mobile network;
and displaying the icons of all the application programs according to the icon size sequence.
4. A data traffic monitoring apparatus, comprising:
a setting unit for pre-configuring an application program allowing access to the cellular mobile network;
the display unit is used for counting the data traffic consumption of the application program under a cellular mobile network and displaying the data traffic consumption in the icon of the application program;
the control unit is used for detecting whether a preset operation exists at the icon of the application program and acquiring a switch for controlling the application program to use a cellular mobile network when the preset operation is detected;
the setting unit is also used for presetting the mapping relation between the data flow consumption and the display color;
the display unit is specifically configured to obtain a display color corresponding to the data traffic consumption according to the mapping relationship;
filling the display color in a surrounding display area preset around the application program icon;
the control unit is specifically configured to:
when the touch screen is a pressure-sensitive touch screen, detecting whether a touch pressure value reaches a preset pressure threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch pressure value reaches the preset pressure threshold value; alternatively, the first and second electrodes may be,
when the touch screen is a non-pressure-sensitive touch screen, detecting whether the touch time reaches a preset time threshold value at the icon, and acquiring a switch for controlling the application program to use the cellular mobile network after the touch time reaches the preset time threshold value.
5. The apparatus according to claim 4, wherein, alternatively, the setting unit is further configured to preset a mapping relationship between data traffic consumption and icon size;
the display unit is specifically configured to obtain the size of the icon corresponding to the data traffic consumption according to the mapping relationship, and display the icon with the corresponding size.
6. The apparatus of claim 5, wherein the display unit is specifically configured to:
acquiring the icon sizes of all the application programs which are allowed to access the cellular mobile network;
and displaying the icons of all the application programs according to the icon size sequence.
CN201611227669.XA 2016-12-27 2016-12-27 Data traffic monitoring method and device Active CN106792878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611227669.XA CN106792878B (en) 2016-12-27 2016-12-27 Data traffic monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611227669.XA CN106792878B (en) 2016-12-27 2016-12-27 Data traffic monitoring method and device

Publications (2)

Publication Number Publication Date
CN106792878A CN106792878A (en) 2017-05-31
CN106792878B true CN106792878B (en) 2020-07-28

Family

ID=58922211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611227669.XA Active CN106792878B (en) 2016-12-27 2016-12-27 Data traffic monitoring method and device

Country Status (1)

Country Link
CN (1) CN106792878B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110139305B (en) * 2018-02-08 2022-02-25 中兴通讯股份有限公司 Method and device for monitoring traffic use condition and storage medium
CN110198554B (en) * 2019-05-23 2021-11-02 维沃移动通信有限公司 Network rate adjusting method and terminal equipment
CN111049701A (en) * 2019-11-28 2020-04-21 维沃移动通信有限公司 Data traffic monitoring method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006576A (en) * 2010-12-08 2011-04-06 东莞宇龙通信科技有限公司 Method and system for displaying surfing flow and mobile terminal
CN105430690A (en) * 2016-01-22 2016-03-23 青岛海信移动通信技术股份有限公司 Traffic displaying method and system and mobile terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347259B (en) * 2013-06-03 2016-08-17 亚信科技(中国)有限公司 A kind of flow prompt method and system
CN104125596B (en) * 2014-07-07 2018-07-27 北京奇虎科技有限公司 A kind of data flow statistic method and device
CN104104560A (en) * 2014-08-08 2014-10-15 广东欧珀移动通信有限公司 Monitoring method and device for application flow and mobile terminal
EP3749006B1 (en) * 2014-10-31 2022-08-03 Honor Device Co., Ltd. Data traffic management method and apparatus
CN104539795B (en) * 2014-12-26 2017-03-01 小米科技有限责任公司 The display packing of data traffic, device and mobile terminal
CN104540150B (en) * 2015-01-12 2019-10-08 努比亚技术有限公司 A kind of mobile data flow control method, apparatus and terminal
CN104539809B (en) * 2015-01-16 2019-10-08 努比亚技术有限公司 The monitoring method and device of a kind of mobile terminal and its flow
CN106550404A (en) * 2015-09-17 2017-03-29 中兴通讯股份有限公司 A kind of method and terminal for realizing flow-control
CN106254669A (en) * 2016-08-30 2016-12-21 北京小米移动软件有限公司 Data traffic based reminding method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006576A (en) * 2010-12-08 2011-04-06 东莞宇龙通信科技有限公司 Method and system for displaying surfing flow and mobile terminal
CN105430690A (en) * 2016-01-22 2016-03-23 青岛海信移动通信技术股份有限公司 Traffic displaying method and system and mobile terminal

Also Published As

Publication number Publication date
CN106792878A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106304037B (en) Virtual SIM card management method and device
CN105426097B (en) Real-time split screen size adjusting method and split screen device
CN105468158B (en) Color adjustment method and mobile terminal
CN105303398B (en) Information display method and system
CN106533928B (en) Method and device for updating unread message reminding identification
CN106937320B (en) Automatic operator parameter configuration method and terminal
CN106527933B (en) Control method and device for edge gesture of mobile terminal
CN106210286B (en) Parameter adjusting method and device for double-screen mobile terminal
CN106249989B (en) Method for arranging social application program icons during content sharing and mobile terminal
CN110928708B (en) Icon display method and device, electronic equipment and computer readable storage medium
CN107092418B (en) Terminal and method for operating application floating window
CN106453863B (en) Method and system for controlling terminal and earphone
CN106993094B (en) Mobile terminal and scanning method
CN106792878B (en) Data traffic monitoring method and device
CN106648324B (en) Hidden icon control method and device and terminal
CN106161790B (en) Mobile terminal and control method thereof
CN106453883B (en) Intelligent terminal and message notification processing method thereof
CN104639428B (en) Self-adaptive method for session scene in instant messaging and mobile terminal
CN107241497B (en) Mobile terminal and loudness output adjusting method
CN106569670B (en) Device and method for processing application
CN106856617B (en) Terminal and cell reselection method
CN105872277B (en) Call reminding device and method and terminal equipment
CN105094733B (en) Split screen display method and device
CN106774860B (en) Intelligent eliminating method and system for information corner mark

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200617

Address after: 401-2, building C4, No.2, Zidong Road, Maqun street, Qixia District, Nanjing City, Jiangsu Province, 210000

Applicant after: Nanjing Sumai Intelligent Technology Co., Ltd

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant