CN105682148A - Traffic sharing method and system - Google Patents
Traffic sharing method and system Download PDFInfo
- Publication number
- CN105682148A CN105682148A CN201511008282.0A CN201511008282A CN105682148A CN 105682148 A CN105682148 A CN 105682148A CN 201511008282 A CN201511008282 A CN 201511008282A CN 105682148 A CN105682148 A CN 105682148A
- Authority
- CN
- China
- Prior art keywords
- flow
- share
- user
- sharing
- consumption
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a traffic sharing method and system. The method comprises following steps of setting a pre-shared traffic threshold value; monitoring used quantity of shared traffics in real time; judging whether the used quantity of the shared traffics reaches the traffic pre-shared traffic threshold value; if so, reminding a user and/or stopping sharing traffics. According to the method provided by the invention, because the pre-shared traffic threshold value can be set according to the user demand, when the used quantity of the shared traffics reaches the traffic pre-shared traffic threshold value, the user is reminded of stopping sharing the traffics or the traffic sharing is automatically stopped; the problem in the prior art that the total traffic sharing quantity cannot be limited is solved; and the condition of generating massive telephone charges resulted from the fact that the user starts hotspot sharing, but effective monitoring is not carried out or the sharing is not closed timely can be avoided.
Description
Technical field
The present invention relates to mobile network's technical field, be specifically related to the method and system that a kind of flow is shared.
Background technology
Along with the development of network and popularizing of intelligent terminal, pass through intelligent terminal, for instance smart mobile phone uses a network for work, study and amusement becomes the pith of life or even required part. Mobile data network carries out the mode of charge on traffic, order the user of big flow package often in the state having a large amount of residual flow, often in the state of underfed, the user ordering low discharge set meal then causes that it can not use mobile data network in some period or occasion; Additionally, also there will be between friend, household that some people's set meal is about to expire and flow cannots be used up too much, other people but underfed cause its problem that can not effectively use mobile data network. In order to solve this problem, the function that hot spot networks is shared has been provided the user with the mobile terminal operating system that Android, iOS system platform are representative, user can set up the Portable thermal spot net of movement by this function, the mobile data traffic of oneself is shared with the terminal connecting this network, the Internet is accessed, thus realizing user residual flow is shared with the function that the people of underfed uses for connectionist.
And there is many deficiencies in actual use in such Portable thermal spot net sharing functionality. First, user cannot be carried out always sharing the restriction of flow number when opening portable focus, the data traffic value that more cannot know each connection terminal consumption in focus work process and the data traffic value altogether consumed, this make user carry out that focus is shared simultaneously need to the moment pay close attention to flow consumption, prevent too much flow consumption, and in fact, along with popularizing of 4G express network, great majority access the user of hot spot networks can consume a large amount of flow inadvertently, thus causing that the user providing share web produces substantial amounts of telephone expenses. Secondly, the place that Portable thermal spot net sharing functionality is deeper in system setting option path, and shared needs of unlatching hot spot networks arranges focus ID, shares the parameters such as password, cipher mode, Key Tpe, domestic consumer lacks specialized technical knowledge, the entrance of this function cannot be quickly found, also cannot understand configuration content complicated on system interface; Additionally, after opening portable focus, which terminal user cannot monitor easily and be connected to current hotspot, also cannot the network access authority of hand off part terminal. These problems result in some users will not/focus dare not be opened, make monthly have a large amount of residual flow to cancel, and other users cannot surf the Net owing to data traffic is not enough, also have some users to open focus and share without effective monitoring or do not close puzzlements such as having resulted in huge telephone expenses in time.
Summary of the invention
The embodiment of the present invention provides the method and system that a kind of flow is shared, to solve the problem that prior art cannot be carried out always sharing the restriction of flow number, it is to avoid user opens focus and shares the situation but not carrying out effective monitoring or not timely closedown and produce huge telephone expenses.
For this, the embodiment of the present invention provides following technical scheme:
A kind of method that flow is shared, including:
Set and share flow threshold in advance;
What flow was shared in real time monitoring makes consumption;
What judge to share flow makes whether consumption reaches described to share flow threshold in advance, if so, then carries out user reminding and/or flow is shared in stopping.
Preferably, described method also includes:
Set and share in advance before flow threshold, it is determined that the residual flow of flow package;
Described setting is shared flow threshold in advance and is included:
According to user or share the requirements set of user and share flow threshold in advance;
If what set shares flow threshold in advance more than described residual flow, then carry out user reminding.
Preferably, described method also includes:
After starting to share flow, obtain user and respectively share the end message of user, connection and/or share the consumption of flow respectively;
According to user with the connection respectively sharing user and/or the consumption sharing flow, it may be judged whether carry out user reminding and/or stop some terminals share flow sharing user.
Preferably, the consumption sharing flow described in includes: the flow that the flow of user's autophage, the flow sharing user's consumption and each connection terminal consume.
Preferably, the consumption that makes sharing flow described in is added up by accrual accounting method.
Preferably, described real-time monitoring is shared the consumption that makes of flow and is included:
A. the initial monitor cycle is set;
B. obtain in this monitoring periods share flow make consumption;
C. adjust the initial monitor cycle according to the consumption that makes sharing flow in this monitoring periods with the flow threshold of sharing in advance of setting, obtain next monitoring periods;
Repeat step b to step c until stopping sharing flow.
The system that a kind of flow is shared, including:
Threshold value setting module, is used for setting and shares flow threshold in advance;
Flow monitoring module, makes consumption for what flow was shared in real time monitoring;
For what judge to share flow, judge module, makes whether consumption reaches described to share flow threshold in advance, if so, then performs to control module;
Control module, be used for carrying out user reminding and/or flow is shared in stopping.
Preferably, described control module includes:
Focus condition monitoring assembly, for promoting state machine to perform corresponding operation or task under different focus states;
Flow shares prompting assembly, for according to end message, connection and/or share the consumption of flow and carry out user reminding;
Terminal is disconnected management assembly even, for according to user's instruction, end message, connection and/or share the consumption of flow and carry out stopping and sharing flow and operate.
Preferably, described system also includes:
The surplus being connected with threshold value setting module determines module, for determining the residual flow of flow package;
Described threshold value setting module includes:
Setup unit, for according to user or share the requirements set of user and share flow threshold in advance;
Reminding unit, if sharing flow threshold in advance more than described residual flow for what set, then carries out user reminding.
Preferably, described flow monitoring module includes:
Period setting unit, is used for setting the initial monitor cycle;
Flow monitoring unit, for obtain share flow in this monitoring periods make consumption;
Cycle adjusting unit, for adjusting the initial monitor cycle according to the consumption that makes sharing flow in this monitoring periods with the flow threshold of sharing in advance of setting, obtains next monitoring periods.
Preferably, focus state includes: closed mode, state to be opened, opening, treat closed mode or Fail-closed state;
The state of described control module includes: idle condition, SBR, duty, closed mode or status of fail.
A kind of mobile terminal, including:
Processor, is used for setting and shares flow threshold in advance; What judge to share flow makes whether consumption reaches described to share flow threshold in advance, if so, then carries out user reminding and/or flow is shared in stopping;
Memorizer, for storing processor executable, sharing making consumption and/or sharing flow threshold in advance of flow;
Communication part, is used for forming focus; What flow was shared in real time monitoring makes consumption.
The method and system shared of flow that the embodiment of the present invention provides, the method shares flow threshold in advance by setting, when monitoring share flow make consumption reach described share flow threshold in advance time, carry out user reminding and/or flow shared in stopping. Share flow threshold in advance to require to be set according to user due to this, when share flow make consumption reach described share flow threshold in advance time, may remind the user that stopping is shared flow or is automatically stopped and shares flow, solve the problem that prior art cannot be carried out always sharing the restriction of flow number, it is to avoid user opens focus and shares the situation but not carrying out effective monitoring or not timely closedown and produce huge telephone expenses.
Further, described method also includes: sets and shares in advance before flow threshold, it is determined that the residual flow of flow package, then judges that what set shares flow threshold in advance whether more than described residual flow, if it is, carry out user reminding. Can avoid what user set to share the flow threshold situation more than the residual flow of this customer flow set meal in advance by this step, namely avoid user to use set meal external flux to carry out flow and share thus causing that the situation of ancillary cost occurs.
Further, described method also includes: after starting to share flow, obtains user and respectively shares the end message of user, connection and/or share the consumption of flow respectively. Owing to obtaining user respectively and respectively sharing the end message of user, connection and/or share the consumption of flow, follow-up can according to the connection of each terminal and/or share the consumption of flow and carry out user reminding and/or stop some terminals share flow sharing user, to improve the experience satisfaction of user. Such as, when finding that malice shares user, it is possible to disconnect this terminal sharing user, and store the end message of this terminal, it is ensured that this terminal cannot access current hotspot again.
Further, the consumption that makes sharing flow described in is added up by accrual accounting method. Terminal so can be avoided to restart because of unexpected, and part terminal is deposited system statistical data after restart and reset the problem causing that traffic statistics are inaccurate.
Further, described method adopt the self-adjusting mode of monitoring periods monitor in real time share flow make consumption, when share flow make consumption with set share in advance flow threshold differ bigger time, it is possible to bigger monitoring periods is monitored, to save power consumption; When share flow make consumption with set share in advance flow threshold be closer to time, it is possible to less monitoring periods is monitored, with the problem avoiding traffic statistics to result in extra telephone expenses not in time.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, the accompanying drawing used required in embodiment will be briefly described below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method that a kind of flow that the embodiment of the present invention provides is shared;
Fig. 2 is the flow chart of a kind of accrual accounting flow consumption of the method that the embodiment of the present invention provides;
The flow that Fig. 3 is the method that the embodiment of the present invention provides shares a kind of schematic diagram successfully stopping reminding window;
Fig. 4 is the structural representation of the system that a kind of flow that the embodiment of the present invention provides is shared;
Fig. 5 is the schematic diagram of the informing that a kind of informing displaying flow that the embodiment of the present invention provides is shared;
Fig. 6 is the block diagram of a kind of mobile terminal that the embodiment of the present invention provides.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the scheme of the embodiment of the present invention, below in conjunction with drawings and embodiments, the present invention is described in further detail. Following example are illustrative of, and are only used for explaining the present invention, and are not construed as limiting the claims.
Additionally, the present invention can in different examples repeat reference numerals and/or letter. This repetition is for purposes of simplicity and clarity, the relation between itself not indicating discussed various embodiment and/or arranging.
Prior art provides relatively simple focus to share unlatching, parameter modification operation, maybe can provide simple and connect terminal display function. User can be opened by these management softwares, be closed focus, amendment hotspot name and password, checks that part connects terminal, checks the flow value etc. shared. But it is provided solely for the encapsulation to the Portable thermal spot net sharing functionality of system own, it is provided that to the focus method for building up that user is relatively simple. It is provided solely for displaying function for connecting terminal, and for sharing the monitoring of flow value or needing to set up agency's connection in high in the clouds or a point source place displaying can not be carried out real-time and accurately. Existing flow is shared scheme and is not provided the user with the function actively terminal disconnected, also without realizing in this locality the function of quantitative sharing data flow.
The method and system that flow provided by the invention is shared, by what judge to share flow, the method makes whether consumption reaches described to share flow threshold in advance, if so, then carry out user reminding and/or flow is shared in stopping. Share flow threshold in advance to be set according to user's requirement and/or residual flow due to this, when share flow make consumption reach described share flow threshold in advance time, remind user to stop sharing flow or being automatically stopped and share flow, solve the problem that prior art cannot be carried out always sharing the restriction of flow number.
In order to be better understood from technical scheme and technique effect, it is described in detail below with reference to flow chart and specific embodiment.
As it is shown in figure 1, be the flow chart of method shared of the flow that the embodiment of the present invention provides, comprise the following steps:
Step S01, sets and shares flow threshold in advance.
In the present embodiment, described flow threshold of sharing in advance can be the known substantially flow sharing user's request of user or estimate the flow value size oneself can shared, certainly can also set after this shares threshold value in advance user, this threshold value be detected, if extra telephone expenses etc. can be produced.
Preferably, described method also includes: sets and shares in advance before flow threshold, it is determined that the residual flow of flow package; Described setting is shared flow threshold in advance and is included: according to user or share the requirements set of user and share flow threshold in advance; If what set shares flow threshold in advance more than described residual flow, then carry out user reminding. So, available avoid what user set to share the flow threshold situation more than the residual flow of this customer flow set meal in advance by this step, namely avoid user to use set meal external flux to carry out flow and share thus causing that the situation of ancillary cost occurs.
It should be noted that setting after this shares flow threshold in advance, it is also possible to allow user select: in follow-up judge process, when share flow make consumption reach described share flow threshold in advance time, carry out user reminding and be still automatically stopped and share flow. Such as, when flow package there is also a large amount of residual flow at the end of month, to household or friend etc. share residual flow time, it is possible to select to share to be automatically stopped when flow reaches to share in advance flow threshold and share flow, remind/be automatically stopped button etc. as being additionally provided with at input threshold value place; When share to client flow is shared in flow or important events time, it is possible to select to share and when flow reaches to share in advance flow threshold, carry out user reminding, but do not stop sharing flow etc. These are only example, it is impossible to be interpreted as limitation of the invention.
In a specific embodiment, user opens software, and this software reads custom system version, whether supports the end messages such as focus sharing function on backstage, and determines the surplus of this customer flow set meal; Then, shared flow threshold by user setup in advance and share flow and reach processing mode during this threshold value, click starts to share button, software contrasts automatically according to the set meal surplus sharing flow threshold and user's reality in advance of user setup, if the flow threshold of sharing in advance of user setup exceedes actual set meal surplus, the warning that exceeds the quata can be ejected, it is necessary to user reaffirm actual setting whether share threshold value correct. If user confirms to start to share, then the software history automatically or according to user arranges generation hotspot name and shares key, and in the scope that termination function allows, choose the highest cipher mode of safety and Key Tpe to open Portable thermal spot net shared.
Step S02, what flow was shared in real time monitoring makes consumption.
In the present embodiment, the consumption sharing flow described in includes: the flow that the flow of user's autophage, the flow sharing user's consumption and each connection terminal consume. The described consumption that makes sharing flow is added up by accrual accounting method, and part terminal so can be avoided to deposit the problem that system statistical data resets after restart, thus avoiding the inaccurate problem of traffic statistics caused because terminal is restarted, shown in Fig. 2.
In actual applications, it is also possible to user and respectively share the flow of user and make consumption add up respectively, in order to follow-up carry out individually operated to respectively sharing user; Concrete, described method also includes: after starting to share flow, obtains user and respectively shares the end message of user, connection and/or share the consumption of flow respectively; According to user with the connection respectively sharing user and/or the consumption sharing flow, it may be judged whether carry out user reminding and/or stop some terminals share flow sharing user. Such as, user can enter software and check the flow behaviour in service of each terminal, and these terminals are configured the management of another name and hand off, user once be provided with remarks another name to certain terminal, then next time, this terminal was again coupled to, and used this title to replace the type name of acquiescence, the terminal of hand off will be disconnected this secondary hot spots share web, it is impossible to gets the flow shared and carries out upper net operation. Software uses locally stored mode will connect the another name one_to_one corresponding storage of terminal and user setup, and when certain terminal of user's hand off, the IP allocation rule of system and fire wall setting are modified, it is ensured that it is disconnected terminal and cannot get flow online again.
Further, adopt the self-adjusting mode of monitoring periods monitor in real time share flow make consumption, when share flow make consumption share in advance with setting flow threshold differ bigger time, it is possible to bigger monitoring periods is monitored, to save power consumption; When share flow make consumption with set share in advance flow threshold be closer to time, it is possible to less monitoring periods is monitored, with the problem avoiding traffic statistics to result in extra telephone expenses not in time. Concrete, described real-time monitoring is shared the consumption that makes of flow and is included: a. sets the initial monitor cycle; B. obtain in this monitoring periods share flow make consumption; C. adjust the initial monitor cycle according to the consumption that makes sharing flow in this monitoring periods with the flow threshold of sharing in advance of setting, obtain next monitoring periods; Repeat step b to step c until stopping sharing flow. Owing to sharing end closer to flow, the accuracy of traffic statistics is more important, need the more frequent of adjustment, therefore, when adjusting monitoring periods, use exponential function as the Tuning function of monitoring periods, avoid the customer flow caused owing to frequency is long to add up not in time with this, or the problem that the too fast terminal power consumption amount caused of enquiry frequency increases, shown in concrete method of adjustment such as formula (1):
Wherein, TiMonitoring periods after adjusting for i & lt, tmmaxFor the maximum polling interval time that system is arranged, tmminFor system arrange the minimum inquiry interval time, e is at the bottom of natural logrithm, xiWhen adjusting monitoring periods for i time, the current flow consumed takies the ratio sharing flow that family sets. In a specific embodiment, the maximum polling interval time that system is arranged is 5000 milliseconds, the minimum inquiry interval time is 500 milliseconds, the current flow consumed takies the ratio sharing flow that user sets as 0.6, then shown in the computing formula such as formula (2) of the monitoring periods after adjustment:
So, user close to exhaust setting share flow number time, the enquiry frequency of traffic statistics can increase rapidly, and rapidly close to 500 milliseconds once, this computing formula is exemplary only, it is impossible to be interpreted as limitation of the invention. Certainly, can also when making consumption reach to set in threshold range, adopt the mode estimated to estimate the consumption that makes sharing flow and reach to share in advance the time of flow threshold, using this time as judging that shares flow makes whether consumption reaches the described standard sharing flow threshold in advance, it is not described in detail in this.
In a specific embodiment, user can check, by the mode of resident informing or startup application, the terminal quantity that current hotspot connects, and starts flow and shares the flow altogether consumed up till now and the flow number altogether shared. Software shares the mobile data network service condition of the terminal respectively sharing user in discharge process at backstage periodic statistical, and the participator connecting this focus is enumerated, and the connection state that user is current is shared in the type name the prompting that obtain these terminals.
Step S03, it is judged that shares flow makes whether consumption reaches described to share flow threshold in advance, if so, then carries out user reminding and/or flow is shared in stopping.
In the present embodiment, when the consumption that makes sharing flow reaches when sharing flow threshold in advance of user's setting, whether prompting user is stopped sharing flow or is automatically switched off Portable thermal spot net sharing functionality and ejects reminding window and remind customer flow to share to terminate by software, with reference to shown in Fig. 3; When user's manual-lock focus sharing function from software or in system, software also can point out user to share end; If software is automatically switched off on backstage breaks down or produce during user's share web the problems such as arrearage when may result in user's economic loss, software can open strong indicating mode. Under strong indicating mode, the mobile phone of user can not stop vibrations by playing alert tones so that user can find as early as possible and manually stop sharing flow, it is to avoid cause bigger economic loss.
It should be noted that, user reminding is not restricted to remind user to stop sharing flow, the data traffic connecting terminal consumption can also be shown in real time, show that present flow rate shares situation, user is allowed to check the connection user that current hotspot is shared intuitively, preventing from malice from sharing user to connect, user can also pass through to click the operations such as terminal name and actively disconnect some terminal.
The method shared of flow that the embodiment of the present invention provides, shares flow threshold in advance by setting, and what flow was shared in monitoring makes whether consumption reaches described to share flow threshold in advance and share flow to carry out user reminding and/or stopping. Share flow threshold in advance to require to be set according to user due to this, user can be reminded to stop sharing flow or being automatically stopped and share flow according to this threshold value, solve the problem that prior art cannot be carried out always sharing the restriction of flow number, it is to avoid user opens focus and shares the situation but not carrying out effective monitoring or not timely closedown and produce huge telephone expenses.
Accordingly, present invention also offers the system that a kind of flow is shared, as shown in Figure 4, including:
Threshold value setting module 401, is used for setting and shares flow threshold in advance;
Flow monitoring module 402, makes consumption for what flow was shared in real time monitoring;
For what judge to share flow, judge module 403, makes whether consumption reaches described to share flow threshold in advance, if so, then performs to control module 404;
Control module 404, be used for carrying out user reminding and/or flow is shared in stopping.
In actual applications, the function of described threshold value setting module 401 is realized by focus management assembly, and this focus management assembly provides interface and the interface of user setup parameters. The parameter that user can be arranged includes: title, the password sharing focus of sharing focus and share flow threshold in advance. If user is not provided with hotspot name and focus password, then software can automatically generate a unique hotspot name and a random focus password. The assembly of focus management simultaneously can help user to select focus encryption parameter and the Key Tpe of the highest level of security according to the compatible context of system, it is ensured that user just can open safe focus flow by simplicity operation and share network.
In the present embodiment, described control module 404 includes:
Focus condition monitoring assembly, for promoting state machine to perform corresponding operation or task under different focus states;
Flow shares prompting assembly, for according to end message, connection and/or share the consumption of flow and carry out user reminding;
Terminal is disconnected management assembly even, for according to user's instruction, end message, connection and/or share the consumption of flow and carry out stopping and sharing flow and operate.
Wherein, focus condition monitoring assembly, for the state machine in management system, described state machine is the assembly of management MCM maintenance control module 404 duty, controls, under different focus states, the corresponding operating that module should carry out for determining. In order to anti-locking system seemingly-dead time, it is impossible to listening to the state controlling module 404 in time, one heart beating of focus condition monitoring building component wakes thread up, and the active inquiry request of focus state is initiated in timing. Described system is seemingly-dead is owing to certain system program consumes resource too much, causes the temporary transient idle situation of system, as computer is seized, changes control module 404 state in which according to the Query Result waking thread up. Described focus state includes: closed mode, state to be opened, opening, treat closed mode or Fail-closed state. Correspondingly, the state of described control module 404 includes: idle condition, SBR, duty, closed mode or status of fail. Wake, according to heart beating, the focus state that thread pool obtains up, control the transformation process between each state of module as follows:
First the flow receiving user's input shares number, detects this flow and shares whether number exceedes user's residual flow; Subsequently determining whether user's whether turn-on flow rate sharing function, if opening, controlling module and entering SBR, control module and start to create focus, focus state is in state to be opened; When focus creates after successfully, focus is in opening, controls module and enters duty; Receiving after user closes the request that focus or system stop sharing flow subsequently, focus is in treats closed mode, controls module and enters closed mode; Finally after focus closes success or flow success is shared in system stopping, focus is closed, and controls module and enters idle condition; Sharing if turned off failure or flow system flow stops unsuccessfully, and focus is in Fail-closed state, controls module and enters status of fail. When user's manual-lock focus or user manually stop flow sharing time, focus is closed, control module be in idle condition.
Flow is shared prompting assembly and be may include that informing is reminded assembly, terminal even disconnected prompting assembly, shared and exceed the quata to remind assembly. Flow is shared prompting assembly and has been provided the user and share state intuitively and show, stop sharing the functions such as prompting.
Terminal is disconnected management assembly even, obtains end message by the connection terminal list in monitoring system IP allocation table, and end message is converted to the understandable terminal type name of user. Being searched in data base by the MAC Address of terminal, if finding the another name that there is this terminal in data base, then replacing terminal type name to be shown to user with another name. Providing the user the interface of a disconnected end, when user clicks disconnected end, terminal is disconnected management assembly amendment system firewall rule even, this terminal MAC address is added blacklist, it is achieved disconnect the function of this terminal simultaneously.
Concrete, described informing reminds assembly to be shown in the region on terminal notification hurdle when flow sharing function is opened, showing that present flow rate shares situation, including usage quantity, the current terminal quantity connected and stopping sharing function button that flow is shared, it shows that interface can be as shown in Figure 5.
Described terminal is even disconnected reminds assembly can list the terminal quantity connecting current hotspot in real time, and obtain, according to terminal even disconnected management assembly, specifying informations such as connecting terminal name, and pass through flow monitoring module 402 according to the IP address distributing to this terminal, display in real time connects the data traffic that terminal consumes, to remind user. This function allows user check the connection user that current hotspot is shared intuitively, it is prevented that have stranger to connect, and user can also click terminal name and carry out actively opening operation.
Described sharing exceeds the quata to remind assembly when flow shares end, shares according to data on flows service condition and flow and terminates whether to be successfully divided into four kinds of different scenes, and provide the pop-up of four kinds of different scenes accordingly, in order to remind user. The pop-up of four kinds of different scenes uses different display effects respectively according to the importance of information, four kinds of scenes of pop-up can be respectively as follows: " user manually stops sharing ", " share limit and exhaust end ", " user manually stops sharing but unsuccessful ", and " share limit exhaust stopping share failure ".
Different use scenes are exemplified below:
Scene 1: when user manually stops sharing, reminds assembly can generate a common pop-up, the flow number that display user shares;
Scene 2: when share limit exhaust end flow share time, remind assembly the pop-up of generation can be made when screen locking, light screen, and there is warning light effect, remind user share end;
Scene 3: when user manually stops sharing but being unsuccessful, remind assembly can open strong indicating mode, generate the pop-up with vibrating effect, and this pop-up can playing alert tones, described prompt tone prompting user oneself stop, now, remind assembly that user can be guided to close focus and network;
Scene 4: when share limit exhaust stopping share unsuccessfully time, remind assembly can open strong indicating mode, the pop-up generated is possible not only in screen locking time point bright screen curtain, vibrations and plays sound, the volume playing sound constantly strengthens, user's present flow rate is reminded to exceed the quata to share, force to disconnect focus and share the mobile data network of terminal, and guide user manually to terminate to share.
Further, sharing thus causing that the situation of extra telephone expenses occurs in order to avoid user uses set meal external flux to carry out flow, described system also includes:
The surplus being connected with threshold value setting module 401 determines module 505, for determining the residual flow of flow package;
Described threshold value setting module 401 includes:
Setup unit, for according to user or share the requirements set of user and share flow threshold in advance;
Reminding unit, if sharing flow threshold in advance more than described residual flow for what set, then carries out user reminding. So, when when sharing flow threshold in advance more than described residual flow of setting, native system is recommended to user can as the numerical value sharing flow threshold in advance, select for user, avoid user to arrange because not knowing residual flow and inappropriate share flow threshold in advance, certainly, user oneself can also arrange and share flow threshold.
Preferably, monitoring periods is carried out self-adjusting to improve the accuracy of flow monitoring by described flow monitoring module 402, and this flow monitoring module 402 includes:
Period setting unit, is used for setting the initial monitor cycle;
Flow monitoring unit, for obtain share flow in this monitoring periods make consumption;
Cycle adjusting unit, for adjusting the initial monitor cycle according to the consumption that makes sharing flow in this monitoring periods with the flow threshold of sharing in advance of setting, obtains next monitoring periods.
Additionally, this system can further include memory module (not shown), it is used for preserving and shares the relevant information such as flow threshold, monitoring periods in advance. So, flow is shared the machine of being calculated automatically process to facilitate.
The system that the flow that the embodiment of the present invention provides is shared, set by threshold value setting module 401 and share flow threshold in advance, after beginning flow is shared, monitored in real time by flow monitoring module 402 share flow make consumption, what then pass through that judge module 403 judges to share flow makes whether consumption reaches described to share flow threshold in advance, if so, then perform to control module 404, control module 404 and be used for carrying out user reminding and/or flow is shared in stopping. Owing to flow threshold can be shared in advance according to what threshold value setting module set, judge to share whether flow has reached to share flow threshold in advance by judge module, and then carry out user reminding and/or flow is shared in stopping by controlling module, the problem that prior art cannot be carried out always sharing the restriction of flow number can be solved.
Accordingly, the invention allows for a kind of mobile terminal, including:
Processor 2820, is used for setting and shares flow threshold in advance; What judge to share flow makes whether consumption reaches described to share flow threshold in advance, if so, then carries out user reminding and/or flow is shared in stopping; Further, it is also possible to self-regulation monitoring periods makes the accuracy of consumption to promote the flow obtained;
Memorizer 2804, for storing processor executable, sharing making consumption and/or sharing flow threshold in advance of flow;
Communication part 2816, is used for forming focus; What flow was shared in real time monitoring makes consumption.
Fig. 6 is the block diagram of the mobile terminal 2800 that a kind of flow shown in an exemplary embodiment is shared. Such as,
This mobile terminal 2800 can be smart mobile phone, pocket computer, digital broadcast terminal, messaging devices, game machine, tablet device, armarium, body-building equipment, personal digital assistant etc.
Mobile terminal 2800 can include following one or more assembly: processes assembly 2802, memorizer 2820, power supply module 2806, multimedia groupware 2808, audio-frequency assembly, the interface 2812 of input/output (I/O), sensor cluster, and communications component 2816.
Process assembly 2802 and generally control the integrated operation of mobile terminal 2800, for instance operate, with display, call, data communication and record, the operation etc. being associated. Process assembly 2802 and can include one or more processor 2820 to perform instruction, to complete all or part of step of above-mentioned method. Additionally, process assembly 2802 can include one or more module, it is simple to what process between assembly 2802 and other assemblies is mutual. Such as, process assembly 2802 and can include multi-media module, with facilitate multimedia groupware 2808 and process between assembly 2802 mutual. In the present embodiment, processor 2820, it is used for setting and shares flow threshold in advance; What judge to share flow makes whether consumption reaches described to share flow threshold in advance, if so, then carries out user reminding and/or flow is shared in stopping.
Memorizer 2804 is configured to store various types of data to support the operation in terminal 2800. The example of these data includes any application program for operation on mobile terminal 2800 or the instruction of method, contact data, geographical location information, the network information, message, picture, video etc. Memorizer 2804 can be realized by any kind of volatibility or non-volatile memory device or their combination. In the present embodiment, memorizer 2804 is for storing processor executable, sharing making consumption and/or sharing flow threshold in advance of flow.
The various assemblies that power supply module 2806 is mobile terminal 2800 provide electric power. Power supply module 2806 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for mobile terminal 2800, the assembly that electric power is associated.
Multimedia groupware 2808 includes the screen providing an output interface between described mobile terminal 2800 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP), to display to the user that information etc. If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user.
I/O interface 2812 provides interface for processing between assembly 2802 and peripheral interface module, above-mentioned peripheral interface module can be touch screen, keyboard, puts striking wheel, button etc. These buttons can be entity, it is also possible to is virtual, for instance the virtual key etc. on touch screen, specifically may include but be not limited to: home button, volume button, startup button and locking press button.
Communications component 2816 is configured to facilitate between mobile terminal 2800 and other-end the communication of wired or wireless mode. Mobile terminal 2800 can access the wireless network based on communication standard and may be used for forming focus; What flow was shared in real time monitoring makes consumption. The described wireless network based on communication standard such as WiFi, 2G, 3G or 4G, or their combination. It is, of course, also possible to include: near-field communication (NFC) module, to promote junction service. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is the difference with other embodiments. Especially for system embodiment, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part illustrates referring to the part of embodiment of the method. System embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE. Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme. Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Above the embodiment of the present invention being described in detail, the present invention is set forth by detailed description of the invention used herein, and the explanation of above example is only intended to help to understand the method and system of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.
Claims (12)
1. the method that a flow is shared, it is characterised in that including:
Set and share flow threshold in advance;
What flow was shared in real time monitoring makes consumption;
What judge to share flow makes whether consumption reaches described to share flow threshold in advance, if so, then carries out user reminding and/or flow is shared in stopping.
2. method according to claim 1, it is characterised in that described method also includes:
Set and share in advance before flow threshold, it is determined that the residual flow of flow package;
Described setting is shared flow threshold in advance and is included:
According to user or share the requirements set of user and share flow threshold in advance;
If what set shares flow threshold in advance more than described residual flow, then carry out user reminding.
3. method according to claim 1, it is characterised in that described method also includes:
After starting to share flow, obtain user and respectively share the end message of user, connection and/or share the consumption of flow respectively;
According to user with the connection respectively sharing user and/or the consumption sharing flow, it may be judged whether carry out user reminding and/or stop some terminals share flow sharing user.
4. method according to claim 3, it is characterised in that described in share the consumption of flow and include: the flow of user's autophage, share flow that user consumes and the flow that each connection terminal consumes.
5. the method according to any one of Claims 1-4, it is characterised in that described in share the consumption that makes of flow and added up by accrual accounting method.
6. the method according to any one of Claims 1-4, it is characterised in that described real-time monitoring is shared the consumption that makes of flow and included:
A. the initial monitor cycle is set;
B. obtain in this monitoring periods share flow make consumption;
C. adjust the initial monitor cycle according to the consumption that makes sharing flow in this monitoring periods with the flow threshold of sharing in advance of setting, obtain next monitoring periods;
Repeat step b to step c until stopping sharing flow.
7. the system that a flow is shared, it is characterised in that including:
Threshold value setting module, is used for setting and shares flow threshold in advance;
Flow monitoring module, makes consumption for what flow was shared in real time monitoring;
For what judge to share flow, judge module, makes whether consumption reaches described to share flow threshold in advance, if so, then performs to control module;
Control module, be used for carrying out user reminding and/or flow is shared in stopping.
8. system according to claim 7, it is characterised in that described control module includes:
Focus condition monitoring assembly, for promoting state machine to perform corresponding operation or task under different focus states;
Flow shares prompting assembly, for according to end message, connection and/or share the consumption of flow and carry out user reminding;
Terminal is disconnected management assembly even, for according to user's instruction, end message, connection and/or share the consumption of flow and carry out stopping and sharing flow and operate.
9. system according to claim 7, it is characterised in that described system also includes:
The surplus being connected with threshold value setting module determines module, for determining the residual flow of flow package;
Described threshold value setting module includes:
Setup unit, for according to user or share the requirements set of user and share flow threshold in advance;
Reminding unit, if sharing flow threshold in advance more than described residual flow for what set, then carries out user reminding.
10. the system according to any one of claim 7 to 9, it is characterised in that described flow monitoring module includes:
Period setting unit, is used for setting the initial monitor cycle;
Flow monitoring unit, for obtain share flow in this monitoring periods make consumption;
Cycle adjusting unit, for adjusting the initial monitor cycle according to the consumption that makes sharing flow in this monitoring periods with the flow threshold of sharing in advance of setting, obtains next monitoring periods.
11. system according to claim 10, it is characterised in that focus state includes: closed mode, state to be opened, opening, treat closed mode or Fail-closed state;
The state of described control module includes: idle condition, SBR, duty, closed mode or status of fail.
12. a mobile terminal, it is characterised in that including:
Processor, is used for setting and shares flow threshold in advance; What judge to share flow makes whether consumption reaches described to share flow threshold in advance, if so, then carries out user reminding and/or flow is shared in stopping;
Memorizer, for storing processor executable, sharing making consumption and/or sharing flow threshold in advance of flow;
Communication part, is used for forming focus; What flow was shared in real time monitoring makes consumption.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511008282.0A CN105682148A (en) | 2015-12-25 | 2015-12-25 | Traffic sharing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511008282.0A CN105682148A (en) | 2015-12-25 | 2015-12-25 | Traffic sharing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105682148A true CN105682148A (en) | 2016-06-15 |
Family
ID=56297813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511008282.0A Pending CN105682148A (en) | 2015-12-25 | 2015-12-25 | Traffic sharing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105682148A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106130818A (en) * | 2016-06-30 | 2016-11-16 | 乐视控股(北京)有限公司 | Network sharing, requesting terminal and network share flux monitoring method and system |
CN106358237A (en) * | 2016-11-10 | 2017-01-25 | 捷开通讯(深圳)有限公司 | Mobile terminal and traffic sharing control method thereof |
CN106507408A (en) * | 2016-11-02 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of terminal control method and handheld terminal |
CN106658657A (en) * | 2016-10-20 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Network access method and device |
CN107347195A (en) * | 2017-08-30 | 2017-11-14 | 努比亚技术有限公司 | Focus sharing method and mobile terminal |
CN107371204A (en) * | 2017-09-04 | 2017-11-21 | 广东工业大学 | A kind of flow based on mobile terminal shares switching method, apparatus and system |
CN107612839A (en) * | 2017-11-02 | 2018-01-19 | 广东天网安全信息科技有限公司 | A kind of flow allocation method based on firewall box |
CN107682910A (en) * | 2017-09-30 | 2018-02-09 | 广东欧珀移动通信有限公司 | Floating resources sharing method, device, mobile terminal and storage medium |
CN107682578A (en) * | 2017-09-26 | 2018-02-09 | 北京思特奇信息技术股份有限公司 | A kind of control method and system of multiple terminals shared service |
WO2018068444A1 (en) * | 2016-10-11 | 2018-04-19 | 中兴通讯股份有限公司 | Transmission capacity sharing method, terminal, and storage medium |
CN108092911A (en) * | 2017-11-07 | 2018-05-29 | 深圳市金立通信设备有限公司 | A kind of method, terminal and computer-readable medium for managing data traffic |
CN108668336A (en) * | 2018-06-01 | 2018-10-16 | 中国联合网络通信集团有限公司 | Hotspot management method, device, terminal and system |
CN109257255A (en) * | 2018-10-09 | 2019-01-22 | 广东小天才科技有限公司 | Traffic monitoring method, telephone watch, server and mobile terminal |
CN109347938A (en) * | 2018-10-09 | 2019-02-15 | 广东小天才科技有限公司 | Traffic monitoring method, telephone watch, mobile terminal and server |
CN110248324A (en) * | 2018-03-07 | 2019-09-17 | 上海连尚网络科技有限公司 | Method and apparatus for the shared clearing of flow |
CN110933637A (en) * | 2018-09-19 | 2020-03-27 | 现代自动车株式会社 | Control method for mobile data traffic sharing and vehicle providing same |
CN114143405A (en) * | 2022-02-08 | 2022-03-04 | 荣耀终端有限公司 | Data traffic management method and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096384A (en) * | 2012-12-17 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Method limiting slave internet traffic and system thereof |
CN103118360A (en) * | 2012-12-21 | 2013-05-22 | 成都科来软件有限公司 | System blocking wireless mobile terminals |
CN103945410A (en) * | 2014-03-28 | 2014-07-23 | 宇龙计算机通信科技(深圳)有限公司 | Terminal device and flow control method thereof |
CN104023326A (en) * | 2014-06-17 | 2014-09-03 | 北京奇虎科技有限公司 | Flow excess reminding method and device |
WO2014143969A3 (en) * | 2013-03-15 | 2014-11-06 | The Nielsen Company (Us), Llc | Methods and apparatus to credit usage of mobile devices |
CN104363665A (en) * | 2014-10-27 | 2015-02-18 | 深圳市金立通信设备有限公司 | Terminal |
CN104580684A (en) * | 2013-10-23 | 2015-04-29 | 中兴通讯股份有限公司 | Flow control method and device |
CN104735699A (en) * | 2015-03-10 | 2015-06-24 | Tcl移动通信科技(宁波)有限公司 | Data traffic monitoring method and system based on mobile terminal and mobile terminal |
CN104780553A (en) * | 2014-01-10 | 2015-07-15 | 中兴通讯股份有限公司 | Wireless access point access communication terminal management method, wireless access point access communication terminal management device and wireless access terminal |
-
2015
- 2015-12-25 CN CN201511008282.0A patent/CN105682148A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096384A (en) * | 2012-12-17 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Method limiting slave internet traffic and system thereof |
CN103118360A (en) * | 2012-12-21 | 2013-05-22 | 成都科来软件有限公司 | System blocking wireless mobile terminals |
WO2014143969A3 (en) * | 2013-03-15 | 2014-11-06 | The Nielsen Company (Us), Llc | Methods and apparatus to credit usage of mobile devices |
CN104580684A (en) * | 2013-10-23 | 2015-04-29 | 中兴通讯股份有限公司 | Flow control method and device |
CN104780553A (en) * | 2014-01-10 | 2015-07-15 | 中兴通讯股份有限公司 | Wireless access point access communication terminal management method, wireless access point access communication terminal management device and wireless access terminal |
CN103945410A (en) * | 2014-03-28 | 2014-07-23 | 宇龙计算机通信科技(深圳)有限公司 | Terminal device and flow control method thereof |
CN104023326A (en) * | 2014-06-17 | 2014-09-03 | 北京奇虎科技有限公司 | Flow excess reminding method and device |
CN104363665A (en) * | 2014-10-27 | 2015-02-18 | 深圳市金立通信设备有限公司 | Terminal |
CN104735699A (en) * | 2015-03-10 | 2015-06-24 | Tcl移动通信科技(宁波)有限公司 | Data traffic monitoring method and system based on mobile terminal and mobile terminal |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106130818A (en) * | 2016-06-30 | 2016-11-16 | 乐视控股(北京)有限公司 | Network sharing, requesting terminal and network share flux monitoring method and system |
WO2018068444A1 (en) * | 2016-10-11 | 2018-04-19 | 中兴通讯股份有限公司 | Transmission capacity sharing method, terminal, and storage medium |
CN106658657A (en) * | 2016-10-20 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Network access method and device |
CN106507408A (en) * | 2016-11-02 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of terminal control method and handheld terminal |
CN106358237A (en) * | 2016-11-10 | 2017-01-25 | 捷开通讯(深圳)有限公司 | Mobile terminal and traffic sharing control method thereof |
CN107347195A (en) * | 2017-08-30 | 2017-11-14 | 努比亚技术有限公司 | Focus sharing method and mobile terminal |
CN107371204B (en) * | 2017-09-04 | 2020-07-10 | 广东工业大学 | Traffic sharing switching method, device and system based on mobile terminal |
CN107371204A (en) * | 2017-09-04 | 2017-11-21 | 广东工业大学 | A kind of flow based on mobile terminal shares switching method, apparatus and system |
CN107682578A (en) * | 2017-09-26 | 2018-02-09 | 北京思特奇信息技术股份有限公司 | A kind of control method and system of multiple terminals shared service |
CN107682910A (en) * | 2017-09-30 | 2018-02-09 | 广东欧珀移动通信有限公司 | Floating resources sharing method, device, mobile terminal and storage medium |
CN107682910B (en) * | 2017-09-30 | 2021-01-26 | Oppo广东移动通信有限公司 | Traffic resource sharing method and device, mobile terminal and storage medium |
CN107612839A (en) * | 2017-11-02 | 2018-01-19 | 广东天网安全信息科技有限公司 | A kind of flow allocation method based on firewall box |
CN107612839B (en) * | 2017-11-02 | 2021-03-02 | 广东天网安全信息科技有限公司 | Flow distribution method based on firewall equipment |
CN108092911A (en) * | 2017-11-07 | 2018-05-29 | 深圳市金立通信设备有限公司 | A kind of method, terminal and computer-readable medium for managing data traffic |
CN110248324A (en) * | 2018-03-07 | 2019-09-17 | 上海连尚网络科技有限公司 | Method and apparatus for the shared clearing of flow |
CN110248324B (en) * | 2018-03-07 | 2021-10-08 | 上海连尚网络科技有限公司 | Method and apparatus for traffic sharing settlement |
CN108668336A (en) * | 2018-06-01 | 2018-10-16 | 中国联合网络通信集团有限公司 | Hotspot management method, device, terminal and system |
CN110933637A (en) * | 2018-09-19 | 2020-03-27 | 现代自动车株式会社 | Control method for mobile data traffic sharing and vehicle providing same |
CN109347938A (en) * | 2018-10-09 | 2019-02-15 | 广东小天才科技有限公司 | Traffic monitoring method, telephone watch, mobile terminal and server |
CN109257255A (en) * | 2018-10-09 | 2019-01-22 | 广东小天才科技有限公司 | Traffic monitoring method, telephone watch, server and mobile terminal |
CN109347938B (en) * | 2018-10-09 | 2022-02-08 | 广东小天才科技有限公司 | Traffic monitoring method, telephone watch, mobile terminal and server |
CN114143405A (en) * | 2022-02-08 | 2022-03-04 | 荣耀终端有限公司 | Data traffic management method and electronic equipment |
CN114143405B (en) * | 2022-02-08 | 2022-06-24 | 荣耀终端有限公司 | Data traffic management method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105682148A (en) | Traffic sharing method and system | |
AU2018220050B2 (en) | Enforcing policies based on information received from external systems | |
CN107943650B (en) | Application program control method and device, storage medium and terminal | |
CN108491275A (en) | program optimization method, device, terminal and storage medium | |
CN107783803B (en) | System optimization method and device of intelligent terminal, storage medium and intelligent terminal | |
CN107944259A (en) | Using the management-control method of startup, device and storage medium and mobile terminal | |
KR101828295B1 (en) | Terminal and method for managing application thereof | |
CN104219653A (en) | Method and device for controlling double-card Internet access | |
CN103607758A (en) | Terminal screen power saving processing method, device thereof and terminal | |
CN105049423A (en) | Authority management system, device and method | |
WO2018196745A1 (en) | Charging control method and charging device | |
CN105263120A (en) | Method and system for prompting user of available wireless local area network | |
CN109445930A (en) | Program optimization method, device, terminal and storage medium | |
US10257204B2 (en) | Information processing method and electronic apparatus | |
CN108462618A (en) | Cloud Server and smart home device method for managing system | |
TW201607348A (en) | Method for managing data traffic of software and portable electronic apparatus using the same | |
CN103595566A (en) | Method and device for detecting idle IP addresses | |
CN107885307B (en) | Equipment control method and device | |
CN110446079A (en) | Obtain method, apparatus, electronic equipment and the storage medium of viewing duration | |
CN109151748A (en) | Flow card switching method and device | |
CN106254669A (en) | Data traffic based reminding method and device | |
CN106953852A (en) | Register method, device and the terminal device of radio receiver | |
CN112671572B (en) | Method and device for intelligent equipment network distribution, storage medium and electronic device | |
CN106851595B (en) | Ordered broadcast processing method, device and terminal device | |
CN110032397A (en) | Application processing method and device, electronic equipment, computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160615 |