CN106878110A - The monitoring method of data traffic, device and equipment - Google Patents

The monitoring method of data traffic, device and equipment Download PDF

Info

Publication number
CN106878110A
CN106878110A CN201710146517.5A CN201710146517A CN106878110A CN 106878110 A CN106878110 A CN 106878110A CN 201710146517 A CN201710146517 A CN 201710146517A CN 106878110 A CN106878110 A CN 106878110A
Authority
CN
China
Prior art keywords
application program
flow
running status
consumed
monitored
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.)
Pending
Application number
CN201710146517.5A
Other languages
Chinese (zh)
Inventor
骆艳飞
刘鸣
伍亮雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710146517.5A priority Critical patent/CN106878110A/en
Publication of CN106878110A publication Critical patent/CN106878110A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

The disclosure is directed to a kind of monitoring method of data traffic, device and equipment, the method includes:If the network connection type of mobile terminal is data network, the flow that the application program in running status is consumed is monitored;Judge whether the application program in running status terminates operation;If the application program in running status terminates operation, prompt message is sent;The prompt message is used for the flow for reminding application program described in user to be consumed.The disclosure can improve the experience of user.

Description

The monitoring method of data traffic, device and equipment
Technical field
This disclosure relates to electronic device field, more particularly to the monitoring method of data traffic, device and equipment.
Background technology
With continuing to develop for the communication technology, the user surfed the Net using mobile terminal is more and more, therefore, online stream Amount is always the problem that user compares concern.
In correlation technique, when the flow consumed to application program is monitored, network monitoring instrument, correspondence are generally used Flow consumption monitoring is carried out with program, such user can know in one day or one month that all of application program is disappeared The flow of consumption.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of monitoring method of data traffic, device and set It is standby.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of monitoring method of data traffic, including:
If the network connection type of mobile terminal is data network, the application program in running status is consumed Flow is monitored;
Judge whether the application program in running status terminates operation;
If the application program in running status terminates operation, prompt message is sent;The prompt message is used for The flow that application program described in reminding user is consumed.
Due to when the network connection type of mobile terminal is data network, being disappeared to the application program in running status The flow of consumption is monitored, and when the application program terminates operation, prompt message is issued the user with, to remind user application This consumed flow of operation, it is to avoid user cannot in time know showing for application program institute's consumed flow in correlation technique As so as to improve the experience of user.
With reference in a first aspect, in the first possible implementation of first aspect, described pair is in running status The flow that application program is consumed is monitored, including:
Receive OPEN;The OPEN is used to open application program;
The interface that calling system is monitored to the flow of the application program;
According to the interface, the flow that the application program is consumed is monitored.
Due to the interface that mobile terminal is monitored by calling system to the flow of application program, application program is disappeared The flow of consumption is monitored, such that it is able to improve the accuracy of traffic monitoring.
With reference in a first aspect, in second possible implementation of first aspect, operation is in described in the judgement Whether the application program of state terminates, including:
Judge whether to perform the application program in running status and exit operation;
Or,
Judge whether to perform the application program in running status and kill operation.
Due to by judging whether to exit operation to the application program execution in running status or killing operation, to reach To the purpose whether application program of the judgement in running status terminates so that whether judge the application program in running status That terminates is in hgher efficiency.
It is described to send prompt message, bag with reference in a first aspect, in the third possible implementation of first aspect Include:
Display flow prompting interface, the flow prompting interface includes the flow that the application program is consumed.
Flow prompting interface is shown by user, so that user can in time know that running each application program is consumed Flow, it is possible thereby to improve the experience of user.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, methods described also includes:
If the application program in running status does not terminate operation, and the flow that the application program is consumed exceedes Predetermined threshold value, then send the prompt message.
When application program does not terminate operation, and the flow that is consumed of application program is when having exceeded predetermined threshold value, will be to user Prompt message is sent, with the use state of monitor in real time application program, prevents application program from escaping flow, it is possible thereby to improve use The experience at family.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of supervising device of data traffic, including:
First monitoring module, is configured as when the network connection type of mobile terminal is data network, in operation The flow that the application program of state is consumed is monitored;
Judge module, is configured as judging whether the application program in running status terminates operation;
First sending module, is configured as judging the application program knot in running status in the judge module During Shu Yunhang, prompt message is sent;The prompt message is used for the flow for reminding application program described in user to be consumed.
With reference to second aspect, in the first possible implementation of second aspect, first monitoring module includes:
Receiving submodule, is configured as receiving OPEN;The OPEN is used to open application program;
Submodule is called, the interface that calling system is monitored to the flow of the application program is configured as;
Monitoring submodule, is configured as the interface for calling submodule to call according to, to the application program institute The flow of consumption is monitored.
With reference to second aspect, in second possible implementation of second aspect, the judge module includes:
First judging submodule, is configured as judging whether to perform the application program in running status exiting behaviour Make;
Second judging submodule, is configured as judging whether to perform the application program in running status killing behaviour Make.
With reference to second aspect, in the third possible implementation of second aspect, first sending module includes:
Display sub-module, is configured as showing flow prompting interface, the flow prompting interface includes the application program The flow for being consumed.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, described device also includes:
Second sending module, be configured as the application program in running status do not terminate operation, and it is described should When the flow consumed with program has exceeded predetermined threshold value, the prompt message is sent.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of mobile terminal, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
If the network connection type of mobile terminal is data network, the application program in running status is consumed Flow is monitored;
Judge whether the application program in running status terminates operation;
If the application program in running status terminates operation, prompt message is sent;The prompt message is used for The flow that application program described in reminding user is consumed.
The technical scheme provided by this disclosed embodiment can include the following benefits:
If the network connection type of mobile terminal is data network, the application program in running status is consumed Flow is monitored, and judges whether the application program in running status terminates operation;If the application program in running status Terminate operation, then send prompt message, the prompt message is used to remind user to terminate the flow that application program is consumed for running. During due to the network connection type in mobile terminal for data network, the flow consumed to the application program in running status Be monitored, when the application program terminate operation when, issue the user with prompt message, with remind user application this run The flow for being consumed, it is to avoid user cannot in time know the phenomenon of application program institute consumed flow in correlation technique, so as to carry The experience of user high.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets implementation of the invention Example, and be used to explain principle of the invention together with specification.
Fig. 1 is a kind of flow chart of the monitoring method of the data traffic according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the monitoring method of the data traffic according to another exemplary embodiment;
Fig. 3 is user interface schematic diagram;
Fig. 4 a are the interface schematic diagram one for terminating application program;
Fig. 4 b are the interface schematic diagram two for terminating application program;
Fig. 5 is a kind of flow chart of the monitoring method of the data traffic according to further example embodiment;
Fig. 6 is the display schematic diagram of flow prompting interface;
Fig. 7 is a kind of block diagram of the supervising device of the data traffic according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of the supervising device of the data traffic according to another exemplary embodiment;
Fig. 9 is a kind of block diagram of the supervising device of the data traffic according to further example embodiment;
Figure 10 is a kind of block diagram of the supervising device of the data traffic according to another exemplary embodiment;
Figure 11 is a kind of block diagram of the supervising device of the data traffic according to another exemplary embodiment;
Figure 12 is a kind of block diagram of the entity of the mobile terminal according to an exemplary embodiment;
Figure 13 is a kind of block diagram of the supervising device for data traffic according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the monitoring method of the data traffic according to an exemplary embodiment, such as Fig. 1 institutes Show, the monitoring method of the data traffic that the present embodiment is related to is applied in mobile terminal, for example, can be mobile phone or panel computer (Portable Android Device, abbreviation PAD) etc., can also be setting that other can be surfed the Net by data network It is standby.The monitoring method of the data traffic is comprised the following steps.
In step s 11, if the network connection type of mobile terminal is data network, to the application in running status The flow that program is consumed is monitored.
In step s 12, judge whether the application program in running status terminates operation.
In step s 13, if the application program in running status terminates operation, prompt message is sent;Prompt message For the flow for reminding user application to be consumed.
In the related art, when the flow that mobile terminal is consumed to application program is monitored, generally using network prison Control instrument, the flow consumed to application program is monitored, and such user can be known in one day or one month, owns The flow that is consumed of application program.But, the flow if certain application program has been escaped, or the consumption within certain a period of time Flow-rate ratio it is larger when, user will be unable to know and prevented in time.
For this problem, in the disclosed embodiments, if mobile terminal judges its connection shape for being in data network State, then will determine the application program in running status, and the application program in running status to determining is consumed Flow is monitored.If at the end of detecting the application program in running status, prompt message will be issued the user with, to remind User should terminate the application program of operation this flow for being consumed.
It should be noted that the quantity of the application program in running status can be one, or multiple, when sentencing When breaking the application program for end operation for multiple, the application program of operation will be terminated for each, issue the user with prompting letter Breath, to remind user that each terminates the flow that consumes respectively of application program of operation.For example, if the network of mobile terminal connects Type is connect for data network, and the application program in running status includes wechat, QQ and browser, when detecting QQ and browse Device terminates operation, then prompt message is issued the user with, with the flow for reminding user QQ and browser to be consumed in this operation.
In addition, mobile terminal is before the flow that monitoring application program is consumed, it is necessary first to judge the mobile terminal Network connection type, when the network connection type for judging mobile terminal is Wireless Fidelity (Wireless-Fidelity;Referred to as: WIFI) during network, the flow not consumed to application program is monitored.
The monitoring method of the data traffic of the present embodiment is right if the network connection type of mobile terminal is data network The flow that application program in running status is consumed is monitored, and judges whether the application program in running status terminates Operation;If the application program in running status terminates operation, prompt message is sent, the prompt message is used to remind user to tie The flow that the application program of Shu Yunhang is consumed.Due to when the network connection type of mobile terminal is data network, to being in The flow that the application program of running status is consumed is monitored, and when the application program terminates operation, issues the user with prompting Information, to remind user application this consumed flow of operation, it is to avoid user cannot be known in time in correlation technique The phenomenon of application program institute consumed flow, so as to improve the experience of user.
Fig. 2 is a kind of flow chart of the monitoring method of the data traffic according to another exemplary embodiment, the method For in mobile terminal, the present embodiment to be consumed on the basis of embodiment illustrated in fig. 1 to the application program in running status The embodiment how to be monitored of flow, elaborate, as shown in Fig. 2 the monitoring method of the data traffic include it is following Step.
In the step s 21, if the network connection type of mobile terminal is data network, OPEN is received;The opening refers to Make for opening application program.
In the disclosed embodiments, user can open the OPEN of application program to mobile terminal input, and Fig. 3 is use Family interface schematic diagram, as shown in figure 3, user can be input into and open by clicking on the icon of certain application program to mobile terminal Instruction, it is of course also possible to pass through to press certain function button is input into OPEN to mobile terminal, can also can by other The mode of application program is opened, OPEN is input into mobile terminal.For the specific input mode of OPEN, the present embodiment This is not restricted.
In step S22, the interface that calling system is monitored to the flow of application program.
In the disclosed embodiments, the interface that system is monitored to the flow of application program can include general packet without Line service technology (General Packet Radio Service;Referred to as:GPRS) interface or 3G/4G communication interfaces etc., may be used also With the interface that can be monitored to the flow of application program including other.
In step S23, according to interface, the flow consumed to application program is monitored.
In the disclosed embodiments, the interface that mobile terminal is monitored by calling system to the flow of application program, The flow consumed to application program is monitored, such that it is able to know that the application program is consumed within certain a period of time in real time Flow.
In step s 24, judge whether the application program in running status terminates operation.
In step s 25, if the application program in running status terminates operation, prompt message is sent, prompting letter Cease the flow for reminding user application to be consumed.
In the disclosed embodiments, mobile terminal detect the application program in running status terminate operation after, Prompt message will be issued the user with, so, user is that would know that the flow that the application program is consumed from unlatching at the end of.
The monitoring method of the data traffic of the present embodiment is right if the network connection type of mobile terminal is data network The flow that application program in running status is consumed is monitored, and judges whether the application program in running status terminates Operation;If the application program in running status terminates operation, prompt message is sent, the prompt message is used to remind user to tie The flow that the application program of Shu Yunhang is consumed.Due to when the network connection type of mobile terminal is data network, to being in The flow that the application program of running status is consumed is monitored, and when the application program terminates operation, issues the user with prompting Information, to remind user application this consumed flow of operation, it is to avoid user cannot be known in time in correlation technique The phenomenon of application program institute consumed flow, so as to improve the experience of user.In addition, mobile terminal passes through calling system to application The interface that the flow of program is monitored, the flow consumed to application program is monitored, such that it is able to improve traffic monitoring Accuracy.
Alternatively, on the basis of embodiment described in Fig. 1, judge whether the application program in running status terminates, wrap Include:Judge whether to perform the application program in running status and exit operation, or, judge whether in running status Application program is performed kills operation.
Specifically, Fig. 4 a are the interface schematic diagram one for terminating application program, and Fig. 4 b are that the interface for terminating application program is illustrated Figure two, as shown in Figs. 4 a-b, mobile terminal can detect whether that receive user holds to the application program in running status Row exits operation, and specifically, user can be by clicking on the exit button in application program to the application journey in running status Sequence is performed and exits operation, it is also possible to the application program in running status is held by the return function key clicked in mobile terminal Row exits operation.
In addition, user can also terminate application program by way of directly killing process, answered when terminal device is detected When being rejected with program or be directly killed, prompt message will be issued the user with, with remind the user application program this transport The consumed flow of row, so as to improve the experience of user.
Due to by judging whether to exit operation to the application program execution in running status or killing operation, to reach To the purpose whether application program of the judgement in running status terminates so that whether judge the application program in running status That terminates is in hgher efficiency.
Fig. 5 is a kind of flow chart of the monitoring method of the data traffic according to further example embodiment, the method For in mobile terminal, the present embodiment on the basis of embodiment illustrated in fig. 1, to showing flow prompting interface by user, Come the embodiment of the flow of reminding user application to be consumed, elaborate, as shown in figure 5, the monitoring of the data traffic Method is comprised the following steps.
In step s 51, if the network connection type of mobile terminal is data network, to the application in running status The flow that program is consumed is monitored.
In step S52, judge whether the application program in running status terminates operation.
In step S53, if the application program in running status terminates operation, flow prompting interface, the stream are shown Amount prompting interface includes the flow that application program is consumed.
Specifically, mobile terminal will show when judging that the application program in running status terminates operation to user Flow prompting interface, Fig. 6 is the display schematic diagram of flow prompting interface, as shown in Figure 6, it is assumed that the application journey in running status Sequence is wechat, QQ and browser, if mobile terminal judges that QQ and browser terminate operation, will be shown in flow prompting interface Show " this operation QQ amounts to consumption 3M flows, and this operation browser amounts to consumption 8M flows ", so, user just can be timely Know and run the flow that is consumed of each application program, with timely discovery escape flow application program or consumption compared with various flow Application program, to make prevention in time.
The monitoring method of the data traffic of the present embodiment is right if the network connection type of mobile terminal is data network The flow that application program in running status is consumed is monitored, and judges whether the application program in running status terminates Operation;If the application program in running status terminates operation, prompt message is sent, the prompt message is used to remind user to tie The flow that the application program of Shu Yunhang is consumed.Due to when the network connection type of mobile terminal is data network, to being in The flow that the application program of running status is consumed is monitored, and when the application program terminates operation, issues the user with prompting Information, to remind user application this consumed flow of operation, it is to avoid user cannot be known in time in correlation technique The phenomenon of application program institute consumed flow, so as to improve the experience of user.In addition, showing that flow points out boundary by user Face, so that user can be known in time runs the flow that each application program is consumed, it is possible thereby to improve the experience of user.
Alternatively, on the basis of embodiment described in Fig. 1, the flow that the application program in running status is consumed is entered Before row monitoring, also including judging whether the network connection state of mobile terminal is data network, if the network of mobile terminal connects State is connect for data network, then the flow that the application program in running status is consumed is monitored.
Specifically, if mobile terminal is in network connection state, it is data network or WIFI network to also need to judgement, If the network connection state of mobile terminal is WIFI network, the flow of application program will need not be monitored, if data network, moved Dynamic terminal will need to be monitored the flow that the application program in running status is consumed, so that user can be known in time The flow that each application program is consumed.
It is data network in network connection state because mobile terminal needs to prejudge the network connection state of mobile terminal During network, then the flow that the application program in running status is consumed is monitored, it is possible thereby to improve the experience of user.
Alternatively, if the application program in running status does not terminate operation, and the flow that application program is consumed exceedes Predetermined threshold value, then send prompt message.
Specifically, exit or kill operation if user does not perform to the application program in running status, i.e., using journey Sequence is also in running status, but the flow that is consumed of application program, when having exceeded predetermined threshold value, mobile terminal will be issued the user with Prompt message, with the flow for reminding the user application program to be consumed.For example, if certain application program does not terminate operation, But the state of running background is constantly in, now, the flow if application program is escaped, user is usually unable to find, so that So that the experience of user is very bad.In the present embodiment, if application program does not terminate operation, and the stream that application program is consumed When having exceeded predetermined threshold value, mobile terminal will issue the user with prompt message to amount, to remind what the user application program was consumed Flow.Wherein, predetermined threshold value can be configured according to actual conditions and experience, for example, could be arranged to 20M or 30M etc., right In the specific value of predetermined threshold value, this is not restricted for the present embodiment.
Fig. 7 is a kind of block diagram of the supervising device of the data traffic according to an exemplary embodiment, as shown in fig. 7, The supervising device of the data traffic includes the first monitoring module 11, the sending module 13 of judge module 12 and first.
First monitoring module 11 is configured as when the network connection type of mobile terminal is data network, in operation The flow that the application program of state is consumed is monitored;
Judge module 12 is configured as judging whether the application program in running status terminates operation;
First sending module 13 is configured as judging the application journey in running status in the judge module 12 When sequence terminates operation, prompt message is sent;The prompt message is used for the flow for reminding application program described in user to be consumed.
Wherein, as shown in figure 8, Fig. 8 is a kind of supervising device of the data traffic according to another exemplary embodiment Block diagram, on the basis of embodiment illustrated in fig. 7, first monitoring module 11 includes:Receiving submodule 111, call submodule Block 112 and monitoring submodule 113.
Receiving submodule 111 is configured as receiving OPEN;The OPEN is used to open application program;
Submodule 112 is called to be configured as the interface that calling system is monitored to the flow of the application program;
Monitoring submodule 113 is configured as the interface for calling submodule 112 to call according to, to the application journey The flow that sequence is consumed is monitored.
Wherein, as shown in figure 9, Fig. 9 is a kind of supervising device of the data traffic according to further example embodiment Block diagram, on the basis of embodiment illustrated in fig. 7, the judge module 12 includes:First judging submodule 121 and second judges Submodule 122;
First judging submodule 121 is configured as judging whether to perform the application program in running status exiting Operation;
Or,
Second judging submodule 122 is configured as judging whether performing kill to the application program in running status Operation.
Wherein, as shown in Figure 10, Figure 10 is a kind of monitoring dress of the data traffic according to another exemplary embodiment The block diagram put, on the basis of embodiment illustrated in fig. 7, first sending module 13 includes:Display sub-module 131.
Display sub-module 131 is configured as showing flow prompting interface that the flow prompting interface includes the application journey The flow that sequence is consumed.
Wherein, as shown in figure 11, Figure 11 is a kind of monitoring dress of the data traffic according to further example embodiment The block diagram put, on the basis of embodiment illustrated in fig. 7, described device also includes:Second sending module 14;
Second sending module 14 be configured as the application program in running status do not terminate operation, and it is described should When the flow consumed with program has exceeded predetermined threshold value, the prompt message is sent.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Inner function module and the structural representation of mobile terminal are the foregoing described, Figure 12 is shown according to an exemplary embodiment A kind of block diagram of the entity of the mobile terminal for going out, reference picture 12, mobile terminal can be implemented as:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
If the network connection type of mobile terminal is data network, the application program in running status is consumed Flow is monitored;
Judge whether the application program in running status terminates operation;
If the application program in running status terminates operation, prompt message is sent;The prompt message is used for The flow that application program described in reminding user is consumed.
The monitoring method of the data traffic of the present embodiment is right if the network connection type of mobile terminal is data network The flow that application program in running status is consumed is monitored, and judges whether the application program in running status terminates Operation;If the application program in running status terminates operation, prompt message is sent, the prompt message is used to remind user to tie The flow that the application program of Shu Yunhang is consumed.Due to when the network connection type of mobile terminal is data network, to being in The flow that the application program of running status is consumed is monitored, and when the application program terminates operation, issues the user with prompting Information, to remind user application this consumed flow of operation, it is to avoid user cannot be known in time in correlation technique The phenomenon of application program institute consumed flow, so as to improve the experience of user.
Figure 13 is a kind of block diagram of the supervising device for data traffic according to an exemplary embodiment.For example, Device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, doctor Treatment equipment, body-building equipment, personal digital assistant etc..
Reference picture 13, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in equipment 800.These data are shown Example includes the instruction for any application program or method operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in one screen of output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect the opening/OFF state of equipment 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, user is presence or absence of with what device 800 was contacted, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the treatment of mobile terminal When device is performed so that mobile terminal is able to carry out a kind of monitoring method of data traffic, including:
If the network connection type of mobile terminal is data network, the application program in running status is consumed Flow is monitored;
Judge whether the application program in running status terminates operation;
If the application program in running status terminates operation, prompt message is sent;The prompt message is used for The flow that application program described in reminding user is consumed.
Wherein, the flow that the described pair of application program in running status is consumed is monitored, including:
Receive OPEN;The OPEN is used to open application program;
The interface that calling system is monitored to the flow of the application program;
According to the interface, the flow that the application program is consumed is monitored.
Wherein, whether the application program in running status terminates described in the judgement, including:
Judge whether to perform the application program in running status and exit operation;
Or,
Judge whether to perform the application program in running status and kill operation.
Wherein, it is described to send prompt message, including:
Display flow prompting interface, the flow prompting interface includes the flow that the application program is consumed.
Wherein, before the flow that the described pair of application program in running status is consumed is monitored, methods described is also Including:
Whether the network connection state for judging the mobile terminal is data network;
If the network connection state of the mobile terminal is data network, the application program in running status is disappeared The flow of consumption is monitored.
Wherein, methods described also includes:
If the application program in running status does not terminate operation, and the flow that the application program is consumed exceedes Predetermined threshold value, then send the prompt message.
Those skilled in the art considering specification and after putting into practice invention disclosed herein, will readily occur to it is of the invention its Its embodiment.The application is intended to any modification of the invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claims are pointed out.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present invention is only limited by appending claims System.

Claims (10)

1. a kind of monitoring method of data traffic, it is characterised in that including:
If the network connection type of mobile terminal is data network, the flow consumed to the application program in running status It is monitored;
Judge whether the application program in running status terminates operation;
If the application program in running status terminates operation, prompt message is sent;The prompt message is used to remind The flow that application program described in user is consumed.
2. method according to claim 1, it is characterised in that what the described pair of application program in running status was consumed Flow is monitored, including:
Receive OPEN;The OPEN is used to open application program;
The interface that calling system is monitored to the flow of the application program;
According to the interface, the flow that the application program is consumed is monitored.
3. method according to claim 1, it is characterised in that the application program in running status is described in the judgement No end, including:
Judge whether to perform the application program in running status and exit operation;
Or,
Judge whether to perform the application program in running status and kill operation.
4. method according to claim 1, it is characterised in that described to send prompt message, including:
Display flow prompting interface, the flow prompting interface includes the flow that the application program is consumed.
5. method according to claim 1, it is characterised in that methods described also includes:
If the application program in running status does not terminate operation, and the flow that is consumed of the application program exceeded it is pre- If threshold value, then the prompt message is sent.
6. a kind of supervising device of data traffic, it is characterised in that including:
First monitoring module, is configured as when the network connection type of mobile terminal is data network, in running status The flow that is consumed of application program be monitored;
Judge module, is configured as judging whether the application program in running status terminates operation;
First sending module, is configured as judging that the application program in running status terminates fortune in the judge module During row, prompt message is sent;The prompt message is used for the flow for reminding application program described in user to be consumed.
7. device according to claim 6, it is characterised in that first monitoring module includes:
Receiving submodule, is configured as receiving OPEN;The OPEN is used to open application program;
Submodule is called, the interface that calling system is monitored to the flow of the application program is configured as;
Monitoring submodule, is configured as the interface for calling submodule to call according to, and the application program is consumed Flow be monitored.
8. device according to claim 6, it is characterised in that first sending module includes:
Display sub-module, is configured as showing flow prompting interface, the flow prompting interface is disappeared including the application program The flow of consumption.
9. device according to claim 6, it is characterised in that described device also includes:
Second sending module, is configured as not terminating operation, and the application journey in the application program in running status When the flow that sequence is consumed has exceeded predetermined threshold value, the prompt message is sent.
10. a kind of mobile terminal, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
If the network connection type of mobile terminal is data network, the flow consumed to the application program in running status It is monitored;
Judge whether the application program in running status terminates operation;
If the application program in running status terminates operation, prompt message is sent;The prompt message is used to remind The flow that application program described in user is consumed.
CN201710146517.5A 2017-03-13 2017-03-13 The monitoring method of data traffic, device and equipment Pending CN106878110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710146517.5A CN106878110A (en) 2017-03-13 2017-03-13 The monitoring method of data traffic, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710146517.5A CN106878110A (en) 2017-03-13 2017-03-13 The monitoring method of data traffic, device and equipment

Publications (1)

Publication Number Publication Date
CN106878110A true CN106878110A (en) 2017-06-20

Family

ID=59170807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710146517.5A Pending CN106878110A (en) 2017-03-13 2017-03-13 The monitoring method of data traffic, device and equipment

Country Status (1)

Country Link
CN (1) CN106878110A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660430A (en) * 2018-12-27 2019-04-19 努比亚技术有限公司 A kind of flux monitoring method, terminal and computer readable storage medium
CN110139305A (en) * 2018-02-08 2019-08-16 中兴通讯股份有限公司 The monitoring method and device of flow service condition, storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340449A (en) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for obtaining network access information
CN102006576A (en) * 2010-12-08 2011-04-06 东莞宇龙通信科技有限公司 Method and system for displaying surfing flow and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340449A (en) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for obtaining network access information
CN102006576A (en) * 2010-12-08 2011-04-06 东莞宇龙通信科技有限公司 Method and system for displaying surfing flow and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110139305A (en) * 2018-02-08 2019-08-16 中兴通讯股份有限公司 The monitoring method and device of flow service condition, storage medium
CN110139305B (en) * 2018-02-08 2022-02-25 中兴通讯股份有限公司 Method and device for monitoring traffic use condition and storage medium
CN109660430A (en) * 2018-12-27 2019-04-19 努比亚技术有限公司 A kind of flux monitoring method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104239094B (en) Control method, device and the terminal device of background application
CN107343087A (en) Smart machine control method and device
CN107219992A (en) Open the method and device of split screen function
CN107438811A (en) One kind breath screen shows method and device
CN107241521A (en) web access method and device
CN106791014A (en) Message display method and device
CN107229411A (en) Control the method and device of split screen state
CN107846730A (en) Call transferring method and device
CN104581615B (en) service providing method and device
CN105323152A (en) Message processing method, device and equipment
CN107135147A (en) Method, device and the computer-readable recording medium of sharing position information
CN106990989A (en) The method and device for controlling application program to install
CN107911831A (en) User is reminded to replace method, apparatus, equipment and the storage medium of router
CN107819740A (en) Verification method, terminal device, audio amplifier and the server of terminal device
CN107341657A (en) Payment process method, apparatus and terminal based on application program
CN107094203A (en) Message treatment method, device and computer-readable recording medium
CN106878110A (en) The monitoring method of data traffic, device and equipment
CN106657647A (en) Incoming call processing method and device and mobile terminal
CN106775315A (en) Progress bar display methods and device
CN106231072A (en) The control method of prompting message, device and terminal unit
CN105607979A (en) Network interconnection control method and device
CN107704294A (en) The method and apparatus for handling reservation event
CN107371222A (en) Virtual card prohibited method and device
CN107168634A (en) The method and device that securities information is shown
CN107133172A (en) The power consumption detection method and device of application program

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620