CN104967573A - Data traffic monitoring method and terminal - Google Patents

Data traffic monitoring method and terminal Download PDF

Info

Publication number
CN104967573A
CN104967573A CN201510304324.9A CN201510304324A CN104967573A CN 104967573 A CN104967573 A CN 104967573A CN 201510304324 A CN201510304324 A CN 201510304324A CN 104967573 A CN104967573 A CN 104967573A
Authority
CN
China
Prior art keywords
idle
data
flow
idle flow
time period
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.)
Granted
Application number
CN201510304324.9A
Other languages
Chinese (zh)
Other versions
CN104967573B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510304324.9A priority Critical patent/CN104967573B/en
Publication of CN104967573A publication Critical patent/CN104967573A/en
Application granted granted Critical
Publication of CN104967573B publication Critical patent/CN104967573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/824Applicable to portable or mobile terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/826Involving periods of time

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a data traffic monitoring method and terminal. The method comprises the steps of detecting whether the current time is within a leisure time period; if so, detecting the remaining amount of leisure traffic; and stopping using the leisure traffic for data transmission when the remaining amount of the leisure traffic is less than or equal to a first threshold.

Description

A kind of method for supervising of data traffic and terminal
Technical field
The present invention relates to traffic monitoring technology, particularly relate to a kind of method for supervising and terminal of data traffic.
Background technology
The universal of mobile terminal impels interpersonal transmission of information more convenient, a key player as restriction mobile terminal is Mobile data flow, because Mobile data flow rate are expensive, the idle flow that increasing cellphone subscriber brings into use rate preferential, idle flow bag is also therefore popular to get up.
Because idle flow is cheap compared with day normal flow rate; user can carry out some large exchanges data during using idle flow usually; but also do not have at present a kind of effective scheme to monitor idle flow, user also likely bears the expense of great number because using the idle flow that exceeds the quata.
Summary of the invention
Main purpose of the present invention is the method for supervising and the terminal that propose a kind of data traffic, is intended to solve and how monitors idle flow, thus effectively utilizes idle flow and avoid the extra charge that produces because excessively using.
For achieving the above object, the invention provides the method for supervising of data traffic, described method comprises:
Whether detect current time is in the idle time period;
When current time was in the idle time period, detect the surplus of idle flow;
When the surplus of idle flow is less than or equal to first threshold, described idle flow is stopped using to carry out transfer of data.
In the embodiment of the present invention, described method also comprises:
When current time was in the non-idle time period, described idle flow is stopped using to carry out transfer of data.
In the embodiment of the present invention, described method also comprises:
When the surplus of idle flow is greater than first threshold, described idle flow is used to carry out transfer of data.
In the embodiment of the present invention, described method also comprises:
When the surplus of idle flow is less than or equal to first threshold, send the information for pointing out idle flow to be less than or equal to first threshold.
In the embodiment of the present invention, described method also comprises:
When current time was in the non-idle time period, detects current environment and whether there is wireless (wifi, wireless fidelity) network;
If be not connected to available wifi network, and when data volume waiting for transmission is less than or equal to the surplus of idle flow, postpone described data transfer operation, in time entering in the described idle time period, start data waiting for transmission and transmit.
The terminal that the embodiment of the present invention provides comprises:
Whether the first detecting unit, be in the idle time period for detecting current time;
Second detecting unit, when being in the idle time period for current time, detects the surplus of idle flow;
Flow controlling unit, for when the surplus of idle flow is less than or equal to first threshold, stops using described idle flow to carry out transfer of data.
In the embodiment of the present invention, described flow controlling unit, when being also in the non-idle time period for current time, stops using described idle flow to carry out transfer of data.
In the embodiment of the present invention, described flow controlling unit, also for when the surplus of idle flow is greater than first threshold, uses described idle flow to carry out transfer of data.
In the embodiment of the present invention, described terminal also comprises:
Tip element, for when the surplus of idle flow is less than or equal to first threshold, sends the information for pointing out idle flow to be less than or equal to first threshold.
In the embodiment of the present invention, described terminal also comprises:
3rd detecting unit, when being in the non-idle time period for current time, detecting current environment and whether has wireless wifi network;
Described flow controlling unit, if also for not being connected to available wifi network, and when data volume waiting for transmission is less than or equal to the surplus of idle flow, postpone described data transfer operation, in time entering in the described idle time period, start data waiting for transmission and transmit.
Whether the method for supervising of the data traffic that the present invention proposes and terminal, when terminal opens idle traffic engineering capability, be in the idle time period by detecting current time in real time; When current time was in the non-idle time period, idle flow is stopped using to carry out transfer of data.When current time was in the idle time period, detect the surplus of idle flow; When the surplus of idle flow is less than or equal to first threshold, described idle flow is stopped using to carry out transfer of data; Here, first threshold can be set by the user, such as, first threshold is set to 0.So, by the Based Intelligent Control used idle flow, reach and effectively utilize idle flow to greatest extent, prevent because of the improper use of idle flow, the extra charge of adding users.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of the method for supervising of the data traffic of the embodiment of the present invention one;
Fig. 4 is the schematic flow sheet of the method for supervising of the data traffic of the embodiment of the present invention two;
Fig. 5 is the structure composition schematic diagram of the terminal of the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to the explanation of the embodiment of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Terminal can be implemented in a variety of manners.Such as, the terminal described in the embodiment of the present invention can comprise such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA, Personal Digital Assistant), the terminal of panel computer (PAD), portable media player (PMP, PortableMedia Player), guider etc. and the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, audio/video (A/V) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can with DMB (DMB, Digital Multimedia Broadcasting) electronic program guides (EPG, Electronic ProgramGuide), digital video broadcast-handheld (DVB-H, Digital Video Broadcasting-Handheld) electronic service guidebooks (ESG, Electronic Service Guide) etc. form and exist.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T, Digital MultimediaBroadcasting-Terrestrial), DMB-satellite (DMB-S, Digital MultimediaBroadcasting-Satellite), digital video broadcast-handheld (DVB-H), forward link media (MediaFLO, Media Forward Link Only) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T, Integrated Services Digital Broadcasting-Terrestrial) etc. digit broadcasting system receiving digital broadcast.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN, Wireless Local Area Networks) (Wi-Fi), WiMAX (Wibro), worldwide interoperability for microwave access (Wimax), high-speed downlink packet access (HSDPA, High SpeedDownlink Packet Access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth, radio-frequency (RF) identification (RFID, Radio Frequency Identification), Infrared Data Association (IrDA, Infrared Data Association), ultra broadband (UWB, Ultra Wideband), purple honeybee etc.
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is global positioning system (GPS, Global Positioning System).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 1220, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 1210 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM, User Identify Module), client identification module (SIM, Subscriber IdentityModule), Universal Subscriber identification module (USIM, Universal Subscriber Identity Module) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) relevant user interface (UI, User Interface) or graphic user interface (GUI, Graphical User Interface).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input unit and output device.Display unit 151 can comprise liquid crystal display (LCD, Liquid Crystal Display), thin-film transistor LCD (TFT-LCD, Thin FilmTransistor-LCD), at least one in Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as transparent organic light emitting diode (TOLED) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loud speaker, buzzer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incomingcommunication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM, Random Access Memory), static random-access memory (SRAM, StaticRandom Access Memory), read-only memory (ROM, Read Only Memory), Electrically Erasable Read Only Memory (EEPROM, Electrically Erasable Programmable Read OnlyMemory), programmable read only memory (PROM, Programmable Read Only Memory), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processing), digital signal processing device (DSPD, Digital SignalProcessing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), processor, controller, microcontroller, microprocessor, be designed at least one performed in the electronic unit of function described herein implement, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that the mobile terminal of the embodiment of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA, Frequency Division MultipleAccess), time division multiple access (TDMA, Time Division Multiple Access), code division multiple access (CDMA, Code Division Multiple Access) and universal mobile telecommunications system (UMTS, Universal MobileTelecommunications System) (especially, Long Term Evolution (LTE, Long Term Evolution)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS, Base Station) 270, base station controller (BSC, Base Station Controller) 275 and mobile switching centre (MSC, Mobile Switching Center) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN, Public Switched Telephone Network) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS, Base Transceiver Station) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT, Broadcast Transmitter) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global positioning system (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Fig. 3 is the schematic flow sheet of the method for supervising of the embodiment of the present invention one data traffic, and the method for supervising of the data traffic in this example is applied to terminal, and as shown in Figure 3, the method for supervising of described data traffic comprises the following steps:
Step 301: detect current time and whether be in the idle time period.
In the embodiment of the present invention, be built-in with mobile communication card in terminal, such as subscriber identification module (SIM, Subscriber Identity Module) card, terminal utilizes this SIM card to surf the Net.Particularly, global system for mobile communications (GSM is obtained by SIM card, Global System for Mobile Communication), the Mobile data of the standard network such as Wideband Code Division Multiple Access (WCDMA) (WCDMA, Wideband Code Division Multiple Access).When obtaining Mobile data, mobile operator can collect corresponding expense to user.Usually, user can buy the flow bag of Mobile data to use Mobile data to mobile operator, and the flow bag of Mobile data is divided into idle flow bag and non-idle flow bag.For idle flow bag, user can use the data traffic in idle flow bag carry out the download of data and upload within the idle time period, and such as morning 7 at 9 in evening to next day is the idle time period.For flow bag time non-, user can use the data traffic in non-idle flow bag carry out the download of data and upload within the non-idle time period.
The idle flow of the embodiment of the present invention and non-idle flow mainly divide from the time period, such as, using morning 7 at 9 in evening to next day as the idle time period, can use idle flow, and can use non-idle flow in other times section in this time period.Certainly, idle flow and non-idle flow can also be distinguished from other angles, such as, divide from geographical position, particularly, can use idle flow, and can use non-idle flow when terminal is in non-roaming state when terminal is in roaming state.Based on this, idle flow and non-idle flow are not limited to from the time period and divide, and can also divide from other reference factors such as geographical position.So, idle flow and non-idle flow can be distinguished flexibly, by the Based Intelligent Control used idle flow, reach and effectively utilize idle flow to greatest extent, prevent because of the improper use of idle flow, the extra charge of adding users.
Based on this, terminal need start the function using idle flow, terminal backstage sends the idle flow information of note to corresponding operator inquiring user automatically, if opened, show with and remaining idle flow information to terminal interface, if do not opened, prompting user not yet opens idle traffic engineering capability, and the functional switch of idle flow cuts out.
In the embodiment of the present invention, first whether terminal detect current time and be in the idle time period, and particularly, terminal obtains synchronised clock, to obtain current time, then judges whether current time was in the idle time period.Here, the idle time period is arranged according to the idle flow bag of user's purchase in advance.
Step 302: when current time was in the idle time period, detects the surplus of idle flow.
In the embodiment of the present invention, when current time was in the non-idle time period, described idle flow is stopped using to carry out transfer of data.Here, stop using idle flow to carry out transfer of data and include but not limited to following situation: stop using idle flow to carry out transfer of data bag and carry out the download of data or upload; Idle flow is stopped using to carry out the interactive operation of data.
In the embodiment of the present invention, when the front moment was in the idle time period, also need the surplus detecting idle flow further.
Step 303: when the surplus of idle flow is less than or equal to first threshold, stops using described idle flow to carry out transfer of data.
In the embodiment of the present invention, when the surplus of idle flow is greater than first threshold, described idle flow is used to carry out transfer of data.Here, first threshold can be arranged by user oneself, and such as first threshold can be set to 3M by user, so, when the surplus of idle flow is less than or equal to 3M, at once stops using described idle flow to carry out transfer of data.Being set to 3M is the buffer time used to leave data to user, and certainly, first threshold also can be set to 0 by user.
In the embodiment of the present invention, when the surplus of idle flow is less than or equal to first threshold, described idle flow is stopped using to carry out transfer of data.In like manner, stop using idle flow to carry out transfer of data and include but not limited to following situation: stop using idle flow to carry out transfer of data bag and carry out the download of data or upload; Idle flow is stopped using to carry out the interactive operation of data.
In the embodiment of the present invention, when the surplus of idle flow is less than or equal to first threshold, send the information for pointing out idle flow to be less than or equal to first threshold.So, user can know the service condition of flow when idle flow exhausts or be about to exhaust.
Alternatively, when there being two or more data transmission service, detect the required data traffic consumed of each business respectively, then, considering the data traffic of the required consumption of each business and the residual flow of idle flow, is the data traffic that each business reasonable distribution is corresponding.Such as, when the data traffic consumed needed for all business is all greater than the residual flow of idle flow, stop all business transmission data.When the data traffic summation that one or more business need consume is less than the residual flow of idle flow, utilize the business datum that idle traffic transport is corresponding.
Here, the transmission of business datum is divided into uploading data, downloading data; And uploading data and downloading data all consume idle flow, based on this, calculate uploading data, the required data traffic consumed of downloading data respectively, then in conjunction with the residual flow of idle flow, for uploading data and downloading data distribute corresponding data traffic respectively.
The required data traffic consumed of each business is considered in the overall evaluation of a technical project of the embodiment of the present invention, and consider uploading data and the required data traffic consumed of downloading data, effectively idle flow is distributed, thus the business making outbalance or user need obtains larger assignment of traffic, effectively make use of idle flow.
In the embodiment of the present invention, when current time was in the non-idle time period, detects current environment and whether there is wifi network; If be not connected to available wifi network, and when data volume waiting for transmission is less than or equal to the surplus of idle flow, postpone described data transfer operation, in time entering in the described idle time period, start data waiting for transmission and transmit.Particularly, after terminal opens the function of idle flow, within the non-idle period, whether when user has the transmission of data to operate, detecting current is wifi environment; If not and now the residual flow of idle flow is more than or equal to data volume waiting for transmission time, prompting user is about to use idle flow to carry out the transmission of data, records this transmission operation, automatic transmission data when the idle period arrives.
In the embodiment of the present invention, judge that the task source of carrying out transmitting data could be supported to suspend segment transmissions, during support, then the transmitting data service when reaching the idle time period, and the next idle time period is when again reaching, the data service of then transmission last time continues transmitting data service.So, continual continuous print business datum can be transmitted, and need not arrive the idle time period at every turn and again business datum is transmitted.
In the embodiment of the present invention, user can arrange the operation needing to perform within the idle time period, so, when the idle time period reaches, idle flow can be utilized to operate accordingly.
In the embodiment of the present invention, terminal can collect the wifi and positional information that user commonly uses, and control idle at the night flow according to the preference intelligence of user carries out data transfer operation.
Fig. 4 is the schematic flow sheet of the method for supervising of the data traffic of the embodiment of the present invention two, and as shown in Figure 4, the method for supervising of described data traffic comprises the following steps:
Step 401: detect current time and whether be in the idle time period, time no, performs step 402; When being, perform step 403.
Step 402: when current time was in the non-idle time period, stops using described idle flow to carry out transfer of data, process ends.
Step 403: when current time was in the idle time period, detects the surplus of idle flow.
Step 404: judge whether the surplus of idle flow is less than or equal to first threshold, when being, performs step 405; Time no, perform step 406.
Step 405: when the surplus of idle flow is less than or equal to first threshold, stopping using described idle flow to carry out transfer of data, sending the information for pointing out idle flow to be less than or equal to first threshold, process ends.
Step 406: when the surplus of idle flow is greater than first threshold, uses described idle flow to carry out transfer of data.
Fig. 5 is the structure composition schematic diagram of the terminal of the embodiment of the present invention, and as shown in Figure 5, described terminal comprises:
Whether the first detecting unit 51, be in the idle time period for detecting current time;
Second detecting unit 52, when being in the idle time period for current time, detects the surplus of idle flow;
Flow controlling unit 53, for when the surplus of idle flow is less than or equal to first threshold, stops using described idle flow to carry out transfer of data.
In the embodiment of the present invention, described flow controlling unit 53, when being also in the non-idle time period for current time, stops using described idle flow to carry out transfer of data.
In the embodiment of the present invention, described flow controlling unit 53, also for when the surplus of idle flow is greater than first threshold, uses described idle flow to carry out transfer of data.
In the embodiment of the present invention, described terminal also comprises:
Tip element 54, for when the surplus of idle flow is less than or equal to first threshold, sends the information for pointing out idle flow to be less than or equal to first threshold.
In the embodiment of the present invention, described terminal also comprises:
3rd detecting unit 55, when being in the non-idle time period for current time, detecting current environment and whether has wifi network;
Described flow controlling unit 53, if also for not being connected to available wifi network, and when data volume waiting for transmission is less than or equal to the surplus of idle flow, postpone described data transfer operation, in time entering in the described idle time period, start data waiting for transmission and transmit.
It will be appreciated by those skilled in the art that the associated description that function that each unit in above-mentioned terminal realizes can refer to aforementioned data restoration methods is understood.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a method for supervising for data traffic, is characterized in that, described method comprises:
Whether detect current time is in the idle time period;
When current time was in the idle time period, detect the surplus of idle flow;
When the surplus of idle flow is less than or equal to first threshold, described idle flow is stopped using to carry out transfer of data.
2. the method for supervising of data traffic according to claim 1, is characterized in that, described method also comprises:
When current time was in the non-idle time period, described idle flow is stopped using to carry out transfer of data.
3. the method for supervising of data traffic according to claim 1, is characterized in that, described method also comprises:
When the surplus of idle flow is greater than first threshold, described idle flow is used to carry out transfer of data.
4. the method for supervising of data traffic according to claim 1, is characterized in that, described method also comprises:
When the surplus of idle flow is less than or equal to first threshold, send the information for pointing out idle flow to be less than or equal to first threshold.
5. the method for supervising of the data traffic according to any one of Claims 1-4, is characterized in that, described method also comprises:
When current time was in the non-idle time period, detects current environment and whether there is wireless wifi network;
If be not connected to available wifi network, and when data volume waiting for transmission is less than or equal to the surplus of idle flow, postpone described data transfer operation, in time entering in the described idle time period, start data waiting for transmission and transmit.
6. a terminal, is characterized in that, described terminal comprises:
Whether the first detecting unit, be in the idle time period for detecting current time;
Second detecting unit, when being in the idle time period for current time, detects the surplus of idle flow;
Flow controlling unit, for when the surplus of idle flow is less than or equal to first threshold, stops using described idle flow to carry out transfer of data.
7. terminal according to claim 6, is characterized in that, described flow controlling unit, when being also in the non-idle time period for current time, stops using described idle flow to carry out transfer of data.
8. terminal according to claim 6, is characterized in that, described flow controlling unit, also for when the surplus of idle flow is greater than first threshold, uses described idle flow to carry out transfer of data.
9. terminal according to claim 6, is characterized in that, described terminal also comprises:
Tip element, for when the surplus of idle flow is less than or equal to first threshold, sends the information for pointing out idle flow to be less than or equal to first threshold.
10. the terminal according to any one of claim 6 to 9, is characterized in that, described terminal also comprises:
3rd detecting unit, when being in the non-idle time period for current time, detecting current environment and whether has wifi network;
Described flow controlling unit, if also for not being connected to available wifi network, and when data volume waiting for transmission is less than or equal to the surplus of idle flow, postpone described data transfer operation, in time entering in the described idle time period, start data waiting for transmission and transmit.
CN201510304324.9A 2015-06-04 2015-06-04 A kind of monitoring method and terminal of data traffic Active CN104967573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510304324.9A CN104967573B (en) 2015-06-04 2015-06-04 A kind of monitoring method and terminal of data traffic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510304324.9A CN104967573B (en) 2015-06-04 2015-06-04 A kind of monitoring method and terminal of data traffic

Publications (2)

Publication Number Publication Date
CN104967573A true CN104967573A (en) 2015-10-07
CN104967573B CN104967573B (en) 2019-01-15

Family

ID=54221520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510304324.9A Active CN104967573B (en) 2015-06-04 2015-06-04 A kind of monitoring method and terminal of data traffic

Country Status (1)

Country Link
CN (1) CN104967573B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358236A (en) * 2016-11-08 2017-01-25 北京瑞星信息技术股份有限公司 Leisure traffic detection method and device of mobile data network
CN106412951A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Mobile terminal and WIFI connecting method
CN106454953A (en) * 2016-10-09 2017-02-22 广东欧珀移动通信有限公司 Flow control method and apparatus, and terminal
CN106610858A (en) * 2016-12-27 2017-05-03 北京珠穆朗玛移动通信有限公司 Software program updating method and mobile terminal
CN106686705A (en) * 2016-12-29 2017-05-17 深圳天珑无线科技有限公司 Terminal sensing state control method and terminal sensing state control apparatus
WO2017113686A1 (en) * 2015-12-31 2017-07-06 乐视控股(北京)有限公司 Method and apparatus for controlling network connection state of terminal
CN108965465A (en) * 2018-08-09 2018-12-07 清华大学 A kind of method, apparatus and computer storage medium of file transmission
CN109308607A (en) * 2018-09-17 2019-02-05 田歌 The method and device of book of final entry event
CN109660430A (en) * 2018-12-27 2019-04-19 努比亚技术有限公司 A kind of flux monitoring method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630250A (en) * 2003-12-16 2005-06-22 华为技术有限公司 Method of automatic analysis of communication network busy performance
CN101854649A (en) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 Mobile terminal and method and device for monitoring Internet surfing data traffic of mobile terminal
CN104349365A (en) * 2014-10-30 2015-02-11 北京奇虎科技有限公司 Data flow monitoring method and system for mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630250A (en) * 2003-12-16 2005-06-22 华为技术有限公司 Method of automatic analysis of communication network busy performance
CN101854649A (en) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 Mobile terminal and method and device for monitoring Internet surfing data traffic of mobile terminal
CN104349365A (en) * 2014-10-30 2015-02-11 北京奇虎科技有限公司 Data flow monitoring method and system for mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113686A1 (en) * 2015-12-31 2017-07-06 乐视控股(北京)有限公司 Method and apparatus for controlling network connection state of terminal
CN106412951A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Mobile terminal and WIFI connecting method
CN106454953A (en) * 2016-10-09 2017-02-22 广东欧珀移动通信有限公司 Flow control method and apparatus, and terminal
CN106454953B (en) * 2016-10-09 2020-01-14 Oppo广东移动通信有限公司 Flow control method, device and terminal
CN106358236A (en) * 2016-11-08 2017-01-25 北京瑞星信息技术股份有限公司 Leisure traffic detection method and device of mobile data network
CN106610858A (en) * 2016-12-27 2017-05-03 北京珠穆朗玛移动通信有限公司 Software program updating method and mobile terminal
CN106686705A (en) * 2016-12-29 2017-05-17 深圳天珑无线科技有限公司 Terminal sensing state control method and terminal sensing state control apparatus
CN108965465A (en) * 2018-08-09 2018-12-07 清华大学 A kind of method, apparatus and computer storage medium of file transmission
CN108965465B (en) * 2018-08-09 2021-10-29 清华大学 File transmission method and device and computer storage medium
CN109308607A (en) * 2018-09-17 2019-02-05 田歌 The method and device of book of final entry event
CN109660430A (en) * 2018-12-27 2019-04-19 努比亚技术有限公司 A kind of flux monitoring method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN104967573B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN104967573A (en) Data traffic monitoring method and terminal
CN105188101A (en) Network switching device and method
CN105101317A (en) Network switching device and method
CN105101173A (en) Multi-data-channel-based data loading apparatus and method
CN104660827A (en) Method and terminal for message reminding
CN105120509A (en) Network access method and device
CN105119825A (en) Data transmission device and data transmission method
CN105188098A (en) Mobile terminal network switching apparatus and network switching method
CN104735255A (en) Split screen display method and system
CN105098895A (en) Charging control device and method
CN105099870A (en) Message pushing method and device
CN105187521A (en) Service processing device and method
CN104796956A (en) Mobile terminal network switching method and mobile terminal
CN105100416A (en) Event reminding method and wearable device
CN104915215A (en) Icon recommending device and method
CN104993180A (en) Terminal charging method and device
CN105101294A (en) Data transmission device and method
CN104821990A (en) Intelligent terminal power-off alarm clock realization method and intelligent terminal
CN105100412A (en) Method and device for eliminating terminal data
CN105208205A (en) Data service switching apparatus and method
CN105101264A (en) Method and device for monitoring state of terminal network
CN104902098A (en) Method and system for switching sidebar of mobile terminal
CN105450865A (en) Mobile terminal and method thereof for realizing Wi-Fi management
CN105472156A (en) Incoming call reminding method and device
CN104811399A (en) Method and device for controlling network data flow

Legal Events

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