CN105992278A - Flow control method and mobile terminal - Google Patents

Flow control method and mobile terminal Download PDF

Info

Publication number
CN105992278A
CN105992278A CN201510080716.1A CN201510080716A CN105992278A CN 105992278 A CN105992278 A CN 105992278A CN 201510080716 A CN201510080716 A CN 201510080716A CN 105992278 A CN105992278 A CN 105992278A
Authority
CN
China
Prior art keywords
mobile terminal
flow control
control mode
flow
described mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510080716.1A
Other languages
Chinese (zh)
Other versions
CN105992278B (en
Inventor
曾元清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510080716.1A priority Critical patent/CN105992278B/en
Publication of CN105992278A publication Critical patent/CN105992278A/en
Application granted granted Critical
Publication of CN105992278B publication Critical patent/CN105992278B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a flow control method. The method comprises: a mobile terminal obtains a current network state of a mobile terminal; if the current network state of the mobile terminal is a mobile network state, the mobile terminal obtains an upper limit value M of a flow of the mobile terminal on the day; the mobile terminal determines a flow control mode X corresponding to the upper limit value M of the accounting flow of the mobile terminal on the day according to a mapping relationship, stored in the mobile terminal, between a range of an upper limit value of the flow on the day and a flow control mode; and the mobile terminal carries out flow control mode switching according to the determined flow control mode X. In addition, the embodiment of the invention also provides a mobile terminal. Therefore, when the mobile terminal is in the mobile network state, the flow control mode can be set based on the upper limit value of the flow of the mobile terminal on the day, so that the user experience effect can be improved.

Description

A kind of flow control methods and mobile terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of flow control methods and mobile terminal.
Background technology
Along with mobile terminal and the development of network technology, in the application program of mobile terminal and webpage The amount of capacity of the picture of display is done bigger and bigger.User downloads application program or opens the network that webpage is consumed Data are the most increasing.Network data include wireless network data and mobile network data (such as: 2G/3G/4G etc.).If mobile terminal mobile network data is not the most abundant, now, mobile network's number is used According to downloading application program or opening webpage and can make to produce extra cost.
At present, the control method of mobile terminal flow is typically when opening application program, if movement being detected When terminal belongs to mobile network's state, the province's flow rate mode that automatically switches (is not loaded with figure under mobile network's state Mark and sectional drawing), now, if user wants to check or download certain application program, user need to arrange the page Manually will save flow rate mode to close, and then reduce the experience effect of user.
Summary of the invention
The embodiment of the present invention provides a kind of flow control methods and mobile terminal, for being in shifting at mobile terminal During dynamic network state, according to mobile terminal, flow control mode is set when the higher limit of daily flow, thus improves The experience effect of user.
First aspect present invention provides a kind of flow control methods, including:
The network state that mobile terminal described in acquisition for mobile terminal is current;
If the current network state of described mobile terminal is mobile network's state, described in described acquisition for mobile terminal Mobile terminal is when the upper limit value M of daily flow;
Described mobile terminal is according to the scope of the higher limit when daily flow of storage in described mobile terminal and flow Mapping relations between control model determine corresponding with the upper limit value M of described mobile terminal charging on same day flow Flow control mode X;
Described mobile terminal carries out flow control mode switching according to the flow control mode X determined.
In conjunction with first aspect present invention, in the first mode in the cards of first aspect, described acquisition Described mobile terminal is before the upper limit value M of daily flow, and described method also includes:
Described mobile terminal ejects on display interface to be believed for the prompting pointing out user to select flow control mode Breath;
Wherein, the described mobile terminal of described acquisition includes when the upper limit value M of daily flow: at described mobile terminal In the case of not receiving the flow control mode selection instruction of described user input in preset time threshold, Obtain described mobile terminal when the upper limit value M of daily flow.
In conjunction with first aspect present invention or the first possible implementation of first aspect present invention, in the present invention In first aspect the second mode in the cards, mobile terminal described in described acquisition for mobile terminal works as daily flow Upper limit value M, including:
Residual stream value in the mobile terminal present flow rate charging cycle described in described acquisition for mobile terminal and not making Use natural law;
Described mobile terminal according to described residual stream value and described do not use natural law determine described mobile terminal work as The upper limit value M of day charging flow.
In conjunction with first aspect present invention, in the third mode in the cards of first aspect, described movement After terminal carries out flow control mode switching according to the flow control mode X determined, described method is also wrapped Include:
It is after if described mobile terminal receives the selection instruction of the flow control mode Y of user's input, described Mobile terminal carries out flow control mode switching according to described flow control mode Y.
In conjunction with the third possible implementation of first aspect present invention to first aspect present invention, first In the third mode in the cards of aspect, described method also includes:
In the case of scope H when the higher limit of daily flow, if described mobile terminal receives user's input Flow control mode Z select instruction number of times exceed setting threshold value, described mobile terminal is by described movement Mapping relations between scope H and the flow control mode W of the higher limit stored in terminal, are revised as the upper limit Mapping relations between scope H and the flow control mode Z of value.
Second aspect present invention provides a kind of mobile terminal, including:
First acquiring unit, for obtaining the network state that described mobile terminal is current;
Second acquisition unit, if the current network state got for described first acquiring unit is for mobile Network state, obtains described mobile terminal when the upper limit value M of daily flow;
First determines unit, for according to the scope of the higher limit when daily flow of storage in described mobile terminal With the mapping relations between flow control mode determine and the upper limit value M of described mobile terminal charging on same day flow Corresponding flow control mode X;
According to described first, first switch unit, for determining that the flow control mode X that unit is determined is carried out Flow control mode switches.
In conjunction with second aspect present invention, in the first possible implementation of second aspect present invention, institute State mobile terminal also to include:
Display unit, is used for pointing out user to select flow for ejecting on the display interface of described mobile terminal The information of control model;
Wherein, described second acquisition unit specifically for, in preset time threshold, do not receive described user In the case of the flow control mode of input selects instruction, obtain described mobile terminal when the higher limit of daily flow M。
In conjunction with in second aspect present invention or the first possible implementation of second aspect present invention, described Two acquiring units include:
3rd acquiring unit, for obtaining the residual stream value in the described mobile terminal present flow rate charging cycle Do not use natural law;
Second determines unit, for the described residual stream value got according to described 3rd acquiring unit and institute State the upper limit value M not using natural law to determine described mobile terminal charging on same day flow.
In conjunction with second aspect present invention, in the implementation that second aspect present invention the second is possible, described Mobile terminal also includes:
Second switch unit, if after the selection instruction of the flow control mode Y receiving user's input, Flow control mode switching is carried out according to described flow control mode Y.
In conjunction with in the third possible implementation of second aspect present invention to second aspect present invention, described shifting Dynamic terminal also includes:
Amendment unit, in the case of scope H when the higher limit of daily flow, if it is defeated to receive user The number of times selecting instruction of the flow control mode Z entered exceedes setting threshold value, will store in described mobile terminal Higher limit scope H and flow control mode W between mapping relations, be revised as scope H of higher limit And the mapping relations between flow control mode Z.
Implement the embodiment of the present invention, have the advantages that
In the embodiment of the present invention, by the network state that mobile terminal described in acquisition for mobile terminal is current;If institute Stating the current network state of mobile terminal is mobile network's state, mobile terminal described in described acquisition for mobile terminal Upper limit value M when daily flow;Described mobile terminal is according to upper when daily flow of storage in described mobile terminal Mapping relations between scope and the flow control mode of limit value determine and described mobile terminal charging on same day flow Flow control mode X corresponding to upper limit value M;Described mobile terminal is according to the flow control mode determined X carries out flow control mode switching.Can be when mobile terminal be in mobile network's state, according to mobile terminal When the higher limit of daily flow arranges flow control mode, thus improve the experience effect of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The first embodiment flow chart of a kind of flow control methods that Fig. 1 provides for the embodiment of the present invention;
Second embodiment flow chart of a kind of flow control methods that Fig. 2-a provides for the embodiment of the present invention;
The flow rate upper limit value on a kind of same day that Fig. 2-b provides for the embodiment of the present invention maps with flow control mode closes The schematic diagram of system;
The display interface schematic diagram of a kind of flow control mode that Fig. 2-c provides for the embodiment of the present invention;
3rd embodiment flow chart of a kind of flow control methods that Fig. 3 provides for the embodiment of the present invention;
The first embodiment structural representation of the mobile terminal that Fig. 4 provides for the embodiment of the present invention;
Second example structure schematic diagram of the mobile terminal that Fig. 5 provides for the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides flow control methods and mobile terminal, for being in movement at mobile terminal During network state, according to mobile terminal, flow control mode is set when the higher limit of daily flow, thus improves The experience effect of user.
In order to make those skilled in the art be more fully understood that the present invention program, implement below in conjunction with the present invention Accompanying drawing in example, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that institute The embodiment described is only the embodiment of a present invention part rather than whole embodiments.Based on this Embodiment in bright, the institute that those of ordinary skill in the art are obtained under not making creative work premise There are other embodiments, all should belong to the scope of protection of the invention.
It is described in detail individually below.
Term " first " in description and claims of this specification and described accompanying drawing, " second ", " Three " and " the 4th " etc. is for distinguishing different object rather than for describing particular order.Additionally, art Language " includes " and " having " and their any deformation, it is intended that cover non-exclusive comprising.Such as Contain series of steps or the process of unit, method, system, product or equipment are not limited to list Step or unit, but the most also include step or the unit do not listed, or the most also include right In intrinsic other step of these processes, method, product or equipment or unit.
One embodiment of inventive flow control method.Wherein, a kind of flow control methods mobile terminal obtains Take the network state that described mobile terminal is current;If the current network state of described mobile terminal is mobile network State, mobile terminal described in described acquisition for mobile terminal is when the upper limit value M of daily flow;Described mobile terminal root According to the mapping between scope and the flow control mode of the higher limit when daily flow stored in described mobile terminal Relation determines the flow control mode X corresponding with the upper limit value M of described mobile terminal charging on same day flow;Institute State mobile terminal and carry out flow control mode switching according to the flow control mode X determined.
First embodiment referring first to a kind of flow control methods that Fig. 1, Fig. 1 provide for the embodiment of the present invention Flow chart.Wherein, as it is shown in figure 1, a kind of flow control methods that one embodiment of the present of invention provides can To include step S101~S105:
The network state that mobile terminal described in S101, acquisition for mobile terminal is current.
Wherein, described network state includes wireless network (WIFI) state or mobile network's state (2G/3G/4G)。
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palm PC, Mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as Iwatch etc.), Intelligent bracelet, pedometer etc.) or other can end of installation and deployment instant messaging applications client End equipment, the embodiment of the present invention is not construed as limiting.
Mobile terminal described in S102, described acquisition for mobile terminal is when the upper limit value M of daily flow.
Such as, if the network state of described mobile terminal is mobile network's state, described acquisition for mobile terminal institute State mobile terminal when the upper limit value M of daily flow.
Wherein, described mobile terminal when the upper limit value M of daily flow such as can be equal to 1mb, 2mb, 5mb, 10mb, 100mb or other values.
Wherein, described mobile terminal can be previously set by user when the upper limit value M of daily flow.Or described shifting Dynamic terminal also can have described mobile terminal to determine according to preset strategy when the upper limit value M of daily flow.Such as, Residual stream value in the mobile terminal present flow rate charging cycle described in described acquisition for mobile terminal and do not use sky Number, described mobile terminal according to described residual stream value and described do not use natural law determine described mobile terminal work as The upper limit value M of day charging flow, such as, the residual flow in the described mobile terminal present flow rate charging cycle Value is for 300mb and does not uses natural law 10 days, it is determined that the upper limit value M of described mobile terminal charging on same day flow For 30mb.
S103, described mobile terminal are according to the scope of the higher limit when daily flow of storage in described mobile terminal With the mapping relations between flow control mode determine and the upper limit value M of described mobile terminal charging on same day flow Corresponding flow control mode X.
Such as, the described mobile terminal got is worked as the upper limit value M of daily flow with in advance by described mobile terminal Between scope and the flow control mode of the higher limit when daily flow being stored in described mobile terminal storage Mapping relations, to determine the flow-control mould corresponding with the upper limit value M of described mobile terminal charging on same day flow Formula X.Such as, described mobile terminal is when the upper limit value M of daily flow, and M > a, according to being pre-stored within The flow control mode corresponding for scope M > a of the higher limit when daily flow in mobile terminal is A, thus really It is scheduled on the flow control mode A that described mobile terminal present flow rate upper limit value M is corresponding.
Wherein, described flow control mode includes but not limited to: normal browsing pattern, big document reminding pattern (file size more than 10mb, 20mb or 50mb remind), under mobile network (2G/3G/4G) not Load Image etc..
Wherein, the scope of the described higher limit when daily flow such as can equal to 5~10mb, 10~20mb, 20~30mb, 30~50mb or other values.
S104, described mobile terminal carry out flow control mode switching according to the flow control mode X determined.
Such as, described mobile terminal switches from flow control mode x according to the flow control mode X determined For flow control mode X.
Therefore, in the embodiment of the present invention, by the network that mobile terminal described in acquisition for mobile terminal is current State;If the current network state of described mobile terminal is mobile network's state, described acquisition for mobile terminal institute State mobile terminal when the upper limit value M of daily flow;Described mobile terminal is according to working as of storing in described mobile terminal Mapping relations between scope and the flow control mode of the higher limit of daily flow determine to be worked as with described mobile terminal The flow control mode X that the upper limit value M of day charging flow is corresponding;Described mobile terminal is according to the stream determined Amount control model X carries out flow control mode switching.Can be when mobile terminal be in mobile network's state, root According to mobile terminal, flow control mode is set when the higher limit of daily flow, thus improves the experience effect of user.
Optionally, in a kind of possible embodiment of the present invention, moving described in described acquisition for mobile terminal Terminal is before the upper limit value M of daily flow, and described mobile terminal ejects on display interface and is used for pointing out user Select the information of flow control mode, in preset time threshold, do not receive institute at described mobile terminal In the case of stating the flow control mode selection instruction of user's input, obtain described mobile terminal when daily flow Upper limit value M.
Wherein, described information carries the current network state of described mobile terminal and each flow-control mould The option of formula.
It is appreciated that by information, advantageously allows the network that the distinct described mobile terminal of user is current State and each flow control mode.
Wherein, described preset time threshold can be such as 30 seconds, 40 seconds, 50 seconds, 1 minute, 1 point 30 seconds, 2 minutes or other values.
In actual applications, the information for pointing out user to select flow control mode can be text envelope Breath, animated message or vibrations or breath light blinking message or the message of other forms.
Optionally, in a kind of possible embodiment of the present invention, at described mobile terminal according to determining After flow control mode X carries out flow control mode switching, if described mobile terminal receives user's input Flow control mode Y selection instruction after, described mobile terminal enters according to described flow control mode Y Row flow control mode switches.
Optionally, in a kind of possible embodiment of the present invention, in scope H of the higher limit when daily flow In the case of, if described mobile terminal receives the secondary of the selection instruction of the flow control mode Z of user's input Number exceedes setting threshold value, and described mobile terminal is by scope H of higher limit of storage in described mobile terminal and stream Mapping relations between amount control model W, are revised as between scope H of higher limit and flow control mode Z Mapping relations.
Such as, in order to improve the experience effect of user, whenever mobile terminal receives user's manual switching flow During control model, described mobile terminal is by the higher limit of described mobile terminal charging on same day flow and described user Manual switching flow control mode is associated storage.Wherein, the position of described association storage includes but does not limits In: the locally stored space of described mobile terminal, high in the clouds, or the storage of the external carry of described mobile terminal Space etc..Under the flow control mode z that identical scope H when the higher limit of daily flow is corresponding, if Described mobile terminal receives described user and inputs the number of times of identical flow control mode Z and reach predetermined threshold value, Described mobile terminal scope H by the described higher limit when daily flow and the mapping relations of flow control mode z The flow control mode z of middle record replaces with described flow control mode Z.
Wherein, described predetermined threshold value such as can be equal to 1,2,3,5,6,8,9,10 or other values.
For ease of being better understood from and implement the such scheme of the embodiment of the present invention, concrete below in conjunction with some Application scenarios is illustrated.
See the of a kind of flow control methods that Fig. 2-a provides for the embodiment of the present invention to Fig. 2-c, Fig. 2-a The schematic flow sheet of two embodiments, wherein, as shown in Fig. 2-a, the of a kind of flow control methods of the present invention Two embodiments may include that
The network state that mobile terminal described in S201, acquisition for mobile terminal is current.
Wherein, described network state includes wireless network (WIFI) state or mobile network's state (2G/3G/4G)。
If the current network state of described mobile terminal is mobile network's state, then perform step S203.
If the current network state of described mobile terminal is wireless communication status, then perform step S202.
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palm PC, Mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as Iwatch etc.), Intelligent bracelet, pedometer etc.) or other can end of installation and deployment instant messaging applications client End equipment, the embodiment of the present invention is not construed as limiting.
S202, described mobile terminal detect that the current network state of described mobile terminal is wireless communication status Time, it is automatically switched off province's flow rate mode.
If the current network state of the described mobile terminal of S203 is mobile network's state, described mobile terminal exists Eject for pointing out user the information selecting flow control mode on display interface.
If described mobile terminal receive in preset time threshold user input flow control mode select Instruction, wherein, the described information selecting instruction to carry flow control mode X, then perform step S206.
If described mobile terminal do not receive in preset time threshold user input flow control mode choosing Select instruction, then perform step S204.
Wherein, described information carries the current network state of described mobile terminal and each flow-control mould The option of formula.
It is appreciated that by information, advantageously allows the network that the distinct described mobile terminal of user is current State and each flow control mode.
Wherein, described preset time threshold can be such as 30 seconds, 40 seconds, 50 seconds, 1 minute, 1 point 30 seconds, 2 minutes or other values.
Mobile terminal described in S204, described acquisition for mobile terminal is when the upper limit value M of daily flow.
Wherein, described mobile terminal when the upper limit value M of daily flow such as can be equal to 1mb, 2mb, 5mb, 10mb, 100mb or other values.
Wherein, described mobile terminal can be previously set by user when the upper limit value M of daily flow.Or described shifting Dynamic terminal also can have described mobile terminal to determine according to preset strategy when the upper limit value M of daily flow.Such as, Residual stream value in the mobile terminal present flow rate charging cycle described in described acquisition for mobile terminal and do not use sky Number;Described mobile terminal according to described residual stream value and described do not use natural law determine described mobile terminal work as The upper limit value M of day charging flow.
S205, described mobile terminal are according to the scope of the higher limit when daily flow of storage in described mobile terminal With the mapping relations between flow control mode determine and the upper limit value M of described mobile terminal charging on same day flow Corresponding flow control mode X.
Wherein, described flow control mode includes but not limited to: normal browsing pattern, big document reminding pattern (file size more than 10mb, 20mb or 50mb remind), under mobile network (2G/3G/4G) not Load Image etc..
Wherein, the scope of the described higher limit when daily flow such as can equal to 5~10mb, 10~20mb, 20~30mb, 30~50mb or other values.
S206, described mobile terminal carry out flow control mode switching according to the flow control mode X determined.
Therefore, in the embodiment of the present invention, by the network that mobile terminal described in acquisition for mobile terminal is current State;If the current network state of described mobile terminal is mobile network's state, described acquisition for mobile terminal institute State mobile terminal when the upper limit value M of daily flow;Described mobile terminal is according to working as of storing in described mobile terminal Mapping relations between scope and the flow control mode of the higher limit of daily flow determine to be worked as with described mobile terminal The flow control mode X that the upper limit value M of day charging flow is corresponding;Described mobile terminal is according to the stream determined Amount control model X carries out flow control mode switching.Can be when mobile terminal be in mobile network's state, root According to mobile terminal, flow control mode is set when the higher limit of daily flow, thus improves the experience effect of user.
See the stream of the 3rd embodiment of a kind of flow control methods that Fig. 3, Fig. 3 provide for the embodiment of the present invention Journey schematic diagram, wherein, as it is shown on figure 3, the 3rd embodiment of a kind of flow control methods of the present invention is permissible Including:
The network state that mobile terminal described in S301, acquisition for mobile terminal is current.
Wherein, described network state includes wireless network (WIFI) state or mobile network's state (2G/3G/4G)。
If the current network state of described mobile terminal is mobile network's state, then perform step S203.
If the current network state of described mobile terminal is wireless communication status, then perform step S202.
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palm PC, Mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as Iwatch etc.), Intelligent bracelet, pedometer etc.) or other can end of installation and deployment instant messaging applications client End equipment, the embodiment of the present invention is not construed as limiting.
S302, described mobile terminal detect that the current network state of described mobile terminal is wireless communication status Time, it is automatically switched off province's flow rate mode.
If the current network state of the described mobile terminal of S303 is mobile network's state, described mobile terminal exists Eject for pointing out user the information selecting flow control mode on display interface.
If described mobile terminal receive in preset time threshold user input flow control mode select Instruction, wherein, the described information selecting instruction to carry flow control mode X, then perform step S306.
If described mobile terminal do not receive in preset time threshold user input flow control mode choosing Select instruction, then perform step S304.
Wherein, described information carries the current network state of described mobile terminal and each flow-control mould The option of formula.
It is appreciated that by information, advantageously allows the network that the distinct described mobile terminal of user is current State and each flow control mode.
Wherein, described preset time threshold can be such as 30 seconds, 40 seconds, 50 seconds, 1 minute, 1 point 30 seconds, 2 minutes or other values.
Mobile terminal described in S304, described acquisition for mobile terminal is when the upper limit value M of daily flow.
Wherein, described mobile terminal when the upper limit value M of daily flow such as can be equal to 1mb, 2mb, 5mb, 10mb, 100mb or other values.
Wherein, described mobile terminal can be previously set by user when the upper limit value M of daily flow.Or described shifting Dynamic terminal also can have described mobile terminal to determine according to preset strategy when the upper limit value M of daily flow.Described shifting Dynamic terminal obtains the residual stream value in the described mobile terminal present flow rate charging cycle and does not uses natural law;Institute Stating mobile terminal according to described residual stream value and described does not uses natural law to determine the charging on the same day of described mobile terminal The upper limit value M of flow.
S305, described mobile terminal are according to the scope of the higher limit when daily flow of storage in described mobile terminal With the mapping relations between flow control mode determine and the upper limit value M of described mobile terminal charging on same day flow Corresponding flow control mode X.
Wherein, described flow control mode includes but not limited to: normal browsing pattern, big document reminding pattern (file size more than 10mb, 20mb or 50mb remind), under mobile network (2G/3G/4G) not Load Image etc..
Wherein, the scope of the described higher limit when daily flow such as can equal to 5~10mb, 10~20mb, 20~30mb, 30~50mb or other values.
S306, described mobile terminal carry out flow control mode switching according to the flow control mode X determined.
S307, described mobile terminal receive the selection instruction of the flow control mode Y of user's input.
S308, described mobile terminal carry out flow control mode switching according to described flow control mode Y.
S309, in the case of scope H when the higher limit of daily flow, described mobile terminal judge receive Whether the number of times selecting instruction of the flow control mode Z of user's input exceedes setting threshold value.
The most then perform step S310.
If it is not, the most described mobile terminal is by scope H of the described higher limit when daily flow and described flow-control The association storage of pattern Z.
S310, described mobile terminal are by scope H of higher limit of storage in described mobile terminal and flow-control Mapping relations between pattern W, are revised as the mapping between scope H of higher limit and flow control mode Z Relation.
Therefore, in the embodiment of the present invention, by the network that mobile terminal described in acquisition for mobile terminal is current State;If the current network state of described mobile terminal is mobile network's state, described acquisition for mobile terminal institute State mobile terminal when the upper limit value M of daily flow;Described mobile terminal is according to working as of storing in described mobile terminal Mapping relations between scope and the flow control mode of the higher limit of daily flow determine to be worked as with described mobile terminal The flow control mode X that the upper limit value M of day charging flow is corresponding;Described mobile terminal is according to the stream determined Amount control model X carries out flow control mode switching.Can be when mobile terminal be in mobile network's state, root According to mobile terminal, flow control mode is set when the higher limit of daily flow, thus improves the experience effect of user.
See a kind of mobile terminal 400 that Fig. 4, Fig. 4 provide for the present embodiment, it may include:
First acquiring unit 401, for obtaining the network state that described mobile terminal is current.
Wherein, described network state includes wireless network (WIFI) state or mobile network's state (2G/3G/4G)。
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palm PC, Mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as Iwatch etc.), Intelligent bracelet, pedometer etc.) or other can end of installation and deployment instant messaging applications client End equipment, the embodiment of the present invention is not construed as limiting.
Second acquisition unit 402, if the current network state got for described first acquiring unit 401 For mobile network's state, obtain described mobile terminal when the upper limit value M of daily flow.
Wherein, described mobile terminal when the upper limit value M of daily flow such as can be equal to 1mb, 2mb, 5mb, 10mb, 100mb or other values.
Wherein, described mobile terminal can be previously set by user when the upper limit value M of daily flow.Or described shifting Dynamic terminal also can have described mobile terminal to determine according to preset strategy when the upper limit value M of daily flow.
Wherein, described second acquisition unit includes:
3rd acquiring unit, for obtaining the residual stream value in the described mobile terminal present flow rate charging cycle Do not use natural law;
Second determines unit, for the described residual stream value got according to described 3rd acquiring unit and institute State the upper limit value M not using natural law to determine described mobile terminal charging on same day flow.
First determines unit 403, for according to the model of the higher limit when daily flow of storage in described mobile terminal Enclose the mapping relations between flow control mode to determine and the higher limit of described mobile terminal charging on same day flow Flow control mode X corresponding for M.
Wherein, described flow control mode includes but not limited to: normal browsing pattern, big document reminding pattern (file size more than 10mb, 20mb or 50mb remind), under mobile network (2G/3G/4G) not Load Image etc..
Wherein, the scope of the described higher limit when daily flow such as can equal to 5~10mb, 10~20mb, 20~30mb, 30~50mb or other values.
First switch unit 404, for determining, according to described first, the flow control mode that unit 403 is determined X carries out flow control mode switching.
Optionally, described second acquisition unit 402 obtain described mobile terminal when daily flow upper limit value M it Before, described mobile terminal also includes:
Display unit (not shown), is used for pointing out user for ejecting on the display interface of described mobile terminal Select the information of flow control mode;
Wherein, described second acquisition unit specifically for, in preset time threshold, do not receive described user In the case of the flow control mode of input selects instruction, obtain described mobile terminal when the higher limit of daily flow M。
Wherein, described information carries the current network state of described mobile terminal and each flow-control mould The option of formula.
It is appreciated that by information, advantageously allows the network that the distinct described mobile terminal of user is current State and each flow control mode.
Wherein, described preset time threshold can be such as 30 seconds, 40 seconds, 50 seconds, 1 minute, 1 point 30 seconds, 2 minutes or other values.
In actual applications, the information for pointing out user to select flow control mode can be text envelope Breath, animated message or vibrations or breath light blinking message or the message of other forms.
Optionally, described first switch unit 404 determines, according to described first, the flow that unit 403 is determined After control model X carries out flow control mode switching, described mobile terminal also includes:
Second switch unit (not shown), if the selection of the flow control mode Y for receiving user's input After instruction, carry out flow control mode switching according to described flow control mode Y.
Optionally, described mobile terminal also includes:
Amendment unit (not shown), in the case of scope H when the higher limit of daily flow, if receiving The number of times selecting instruction of flow control mode Z to user's input exceedes setting threshold value, by described mobile eventually Mapping relations between scope H and the flow control mode W of the higher limit stored in end, are revised as higher limit Scope H and flow control mode Z between mapping relations.
Wherein, described predetermined threshold value such as can be equal to 1,2,3,5,6,8,9,10 or other values.
It is understood that the function of each functional module of the mobile terminal 400 of the present embodiment can be according to described Method in embodiment of the method implements, and it implements process and is referred to the phase of described embodiment of the method Closing and describe, here is omitted.
Therefore, in the embodiment of the present invention, it is current that the first acquiring unit 401 obtains described mobile terminal Network state;If the current network state that described first acquiring unit of second acquisition unit 402 gets is Mobile network's state, obtains described mobile terminal when the upper limit value M of daily flow;First determines unit 403 According to the mapping between scope and the flow control mode of the higher limit when daily flow stored in described mobile terminal Relation determines the flow control mode X corresponding with the upper limit value M of described mobile terminal charging on same day flow;The According to described first, one switch unit 404 determines that the flow control mode X that unit is determined carries out flow-control Pattern switches.Can be when mobile terminal be in mobile network's state, according to mobile terminal when the upper limit of daily flow Value arranges flow control mode, thus improves the experience effect of user.
Refer to the structural representation of a kind of mobile terminal 400 that Fig. 5, Fig. 5 provide for the embodiment of the present invention, This mobile terminal includes: at least one input equipment 501;At least one outut device 502;At at least one Reason device 503, such as CPU;With memorizer 504, described input equipment 501, outut device 502, process Device 503 and memorizer 504 are connected by bus 505.
Wherein, the contact panel of described input equipment 501 concretely mobile terminal, including touch screen with tactile Control screen, for detecting the operational order in terminal touch panel.
The display screen of described outut device 502 concretely mobile terminal, is used for exporting, display information.
Described memorizer 504 can be high-speed RAM memorizer, it is possible to for non-labile memorizer (non-volatile memory), such as disk memory.Described memorizer 504 is used for storing batch processing generation Code, described input equipment 501, outut device 502 and processor 503 are used for calling in memorizer 504 storage Program code, perform following operation:
Described input equipment 501, for obtaining the network state that described mobile terminal is current;
Wherein, described network state includes wireless network (WIFI) state or mobile network's state (2G/3G/4G)。
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palm PC, Mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as Iwatch etc.), Intelligent bracelet, pedometer etc.) or other can end of installation and deployment instant messaging applications client End equipment, the embodiment of the present invention is not construed as limiting.
Described input equipment 501, if being additionally operable to described input equipment to get the network that described mobile terminal is current State is mobile network's state, and mobile terminal described in described acquisition for mobile terminal is when the upper limit value M of daily flow;
Wherein, described mobile terminal when the upper limit value M of daily flow such as can be equal to 1mb, 2mb, 5mb, 10mb, 100mb or other values.
Wherein, described mobile terminal can be previously set by user when the upper limit value M of daily flow.Or described shifting Dynamic terminal also can have described mobile terminal to determine according to preset strategy when the upper limit value M of daily flow.
Described processor 503, for according to the scope of the higher limit when daily flow of storage in described mobile terminal With the mapping relations between flow control mode determine and the upper limit value M of described mobile terminal charging on same day flow Corresponding flow control mode X;
Wherein, described flow control mode includes but not limited to: normal browsing pattern, big document reminding pattern (file size more than 10mb, 20mb or 50mb remind), under mobile network (2G/3G/4G) not Load Image etc..
Wherein, the scope of the described higher limit when daily flow such as can equal to 5~10mb, 10~20mb, 20~30mb, 30~50mb or other values.
Described processor 503, is additionally operable to the flow control mode X according to determining and carries out flow control mode Switching.
In the embodiment that some are feasible, described input equipment 501 obtains described mobile terminal when daily flow Before upper limit value M, described outut device 502 also particularly useful for:
Display interface ejects for pointing out user the information selecting flow control mode;
Wherein, described input equipment 502 obtain described mobile terminal when daily flow upper limit value M particularly as follows: The flow control mode not receiving described user input at described mobile terminal in preset time threshold selects In the case of instruction, obtain described mobile terminal when the upper limit value M of daily flow.
Wherein, described information carries the current network state of described mobile terminal and each flow-control mould The option of formula.
It is appreciated that by information, advantageously allows the network that the distinct described mobile terminal of user is current State and each flow control mode.
Wherein, described preset time threshold can be such as 30 seconds, 40 seconds, 50 seconds, 1 minute, 1 point 30 seconds, 2 minutes or other values.
In actual applications, the information for pointing out user to select flow control mode can be text envelope Breath, animated message or vibrations or breath light blinking message or the message of other forms.
In the embodiment that some are feasible, described input equipment 501 obtains described mobile terminal when daily flow Upper limit value M particularly as follows:
Obtain the residual stream value in the described mobile terminal present flow rate charging cycle and do not use natural law;
According to described residual stream value with described do not use natural law to determine described mobile terminal charging on same day flow Upper limit value M.
In the embodiment that some are feasible, described processor 503 enters according to the flow control mode X determined Row flow control mode switching after, described processor 503 also particularly useful for:
If after described input equipment 501 receives the selection instruction of the flow control mode Y of user's input, Flow control mode switching is carried out according to described flow control mode Y.
In the embodiment that some are feasible, described processor 503 also particularly useful for:
In the case of scope H when the higher limit of daily flow, if described input equipment 501 receives user The number of times selecting instruction of the flow control mode Z of input exceedes setting threshold value, and described processor 503 is by institute State the mapping relations between scope H and the flow control mode W of the higher limit of storage in mobile terminal, amendment For the mapping relations between scope H and the flow control mode Z of higher limit.
Wherein, described predetermined threshold value such as can be equal to 1,2,3,5,6,8,9,10 or other values.
Input equipment 501, outut device 502 and process in implementing, described in the embodiment of the present invention Device 503 can perform the realization side described in each embodiment of the flow control methods that the embodiment of the present invention provides Formula, it is possible to perform the mobile terminal described by first embodiment of the mobile terminal that the embodiment of the present invention provides Implementation, does not repeats them here.
Unit in all embodiments of the invention, can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or by ASIC (Application Specific Integrated Circuit, special IC) realize.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Module or unit in embodiment of the present invention device can merge according to actual needs, divide and delete Subtract.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (10)

1. a flow control methods, it is characterised in that including:
The network state that mobile terminal described in acquisition for mobile terminal is current;
If the current network state of described mobile terminal is mobile network's state, described in described acquisition for mobile terminal Mobile terminal is when the upper limit value M of daily flow;
Described mobile terminal is according to the scope of the higher limit when daily flow of storage in described mobile terminal and flow Mapping relations between control model determine corresponding with the upper limit value M of described mobile terminal charging on same day flow Flow control mode X;
Described mobile terminal carries out flow control mode switching according to the flow control mode X determined.
Method the most according to claim 1, it is characterised in that move described in described acquisition for mobile terminal Terminal is before the upper limit value M of daily flow, and described method also includes:
Described mobile terminal ejects on display interface to be believed for the prompting pointing out user to select flow control mode Breath;
Wherein, the described mobile terminal of described acquisition includes when the upper limit value M of daily flow: at described mobile terminal In the case of not receiving the flow control mode selection instruction of described user input in preset time threshold, Obtain described mobile terminal when the upper limit value M of daily flow.
3. according to the method described in any one of claim 1 or 2, it is characterised in that described mobile terminal obtains Take described mobile terminal and work as the upper limit value M of daily flow, including:
Residual stream value in the mobile terminal present flow rate charging cycle described in described acquisition for mobile terminal and not making Use natural law;
Described mobile terminal according to described residual stream value and described do not use natural law determine described mobile terminal work as The upper limit value M of day charging flow.
Method the most according to claim 1, it is characterised in that described mobile terminal is according to determining After flow control mode X carries out flow control mode switching, described method also includes:
It is after if described mobile terminal receives the selection instruction of the flow control mode Y of user's input, described Mobile terminal carries out flow control mode switching according to described flow control mode Y.
5. according to the method described in any one of Claims 1 to 4, it is characterised in that described method also includes:
In the case of scope H when the higher limit of daily flow, if described mobile terminal receives user's input Flow control mode Z select instruction number of times exceed setting threshold value, described mobile terminal is by described movement Mapping relations between scope H and the flow control mode W of the higher limit stored in terminal, are revised as the upper limit Mapping relations between scope H and the flow control mode Z of value.
6. a mobile terminal, it is characterised in that including:
First acquiring unit, for obtaining the network state that described mobile terminal is current;
Second acquisition unit, if the current network state got for described first acquiring unit is for mobile Network state, obtains described mobile terminal when the upper limit value M of daily flow;
First determines unit, for according to the scope of the higher limit when daily flow of storage in described mobile terminal With the mapping relations between flow control mode determine and the upper limit value M of described mobile terminal charging on same day flow Corresponding flow control mode X;
According to described first, first switch unit, for determining that the flow control mode X that unit is determined is carried out Flow control mode switches.
Mobile terminal the most according to claim 6, it is characterised in that described mobile terminal also includes:
Display unit, is used for pointing out user to select flow for ejecting on the display interface of described mobile terminal The information of control model;
Wherein, described second acquisition unit specifically for, in preset time threshold, do not receive described user In the case of the flow control mode of input selects instruction, obtain described mobile terminal when the higher limit of daily flow M。
8. according to the mobile terminal described in any one of claim 6 or 7, it is characterised in that described second obtains Take unit to include:
3rd acquiring unit, for obtaining the residual stream value in the described mobile terminal present flow rate charging cycle Do not use natural law;
Second determines unit, for the described residual stream value got according to described 3rd acquiring unit and institute State the upper limit value M not using natural law to determine described mobile terminal charging on same day flow.
9. according to the mobile terminal described in right 6, it is characterised in that described mobile terminal also includes:
Second switch unit, if after the selection instruction of the flow control mode Y receiving user's input, Flow control mode switching is carried out according to described flow control mode Y.
10. according to the mobile terminal described in any one of claim 6~9, it is characterised in that described mobile whole End also includes:
Amendment unit, in the case of scope H when the higher limit of daily flow, if it is defeated to receive user The number of times selecting instruction of the flow control mode Z entered exceedes setting threshold value, will store in described mobile terminal Higher limit scope H and flow control mode W between mapping relations, be revised as scope H of higher limit And the mapping relations between flow control mode Z.
CN201510080716.1A 2015-02-12 2015-02-12 A kind of flow control methods and mobile terminal Expired - Fee Related CN105992278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510080716.1A CN105992278B (en) 2015-02-12 2015-02-12 A kind of flow control methods and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080716.1A CN105992278B (en) 2015-02-12 2015-02-12 A kind of flow control methods and mobile terminal

Publications (2)

Publication Number Publication Date
CN105992278A true CN105992278A (en) 2016-10-05
CN105992278B CN105992278B (en) 2019-06-11

Family

ID=57041471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080716.1A Expired - Fee Related CN105992278B (en) 2015-02-12 2015-02-12 A kind of flow control methods and mobile terminal

Country Status (1)

Country Link
CN (1) CN105992278B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792881A (en) * 2016-12-29 2017-05-31 深圳天珑无线科技有限公司 Terminal perceives condition control method and terminal perceives behavior control device
CN107148055A (en) * 2017-04-27 2017-09-08 努比亚技术有限公司 A kind of traffic management and control method, mobile terminal and computer-readable recording medium
CN116527594A (en) * 2023-03-31 2023-08-01 国网江苏省电力有限公司信息通信分公司 Mobile terminal flow time delay control method based on big data

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025724A1 (en) * 2001-04-30 2003-02-06 International Business Machines Corporation Transmitting Web pages in a plurality of alternate readable modes selectable to direct users having different reading skills to read along a world wide Web page
CN101820641A (en) * 2010-01-11 2010-09-01 华为终端有限公司 Method and device for controlling data traffic
CN102214211A (en) * 2011-05-20 2011-10-12 广州市动景计算机科技有限公司 Webpage content browsing method and device as well as mobile terminal
CN102711093A (en) * 2012-04-18 2012-10-03 奇智软件(北京)有限公司 Method and device for downloading mobile terminal data
CN102810093A (en) * 2011-05-31 2012-12-05 北京亿赞普网络技术有限公司 System and method for cloud-architecture PAAT (page automatic adaptation technology) page automatic adaptation based on user information
CN102938908A (en) * 2012-10-30 2013-02-20 深圳市路友网络科技有限公司 Network traffic optimization method for mobile equipment, device and equipment
CN103002512A (en) * 2012-11-20 2013-03-27 北京百度网讯科技有限公司 Flow control method and device for mobile terminal
CN103096385A (en) * 2013-01-25 2013-05-08 北京小米科技有限责任公司 Method and device and terminal of flow control
CN103248756A (en) * 2013-03-28 2013-08-14 广东欧珀移动通信有限公司 Method for switching internet browsing modes according to surplus flow of mobile phone
CN103326957A (en) * 2013-05-23 2013-09-25 北京奇虎科技有限公司 Browser and method for controlling flow of browser
CN104731808A (en) * 2013-12-20 2015-06-24 腾讯科技(深圳)有限公司 Browser webpage loading method and browser webpage loading device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025724A1 (en) * 2001-04-30 2003-02-06 International Business Machines Corporation Transmitting Web pages in a plurality of alternate readable modes selectable to direct users having different reading skills to read along a world wide Web page
CN101820641A (en) * 2010-01-11 2010-09-01 华为终端有限公司 Method and device for controlling data traffic
CN102214211A (en) * 2011-05-20 2011-10-12 广州市动景计算机科技有限公司 Webpage content browsing method and device as well as mobile terminal
CN102810093A (en) * 2011-05-31 2012-12-05 北京亿赞普网络技术有限公司 System and method for cloud-architecture PAAT (page automatic adaptation technology) page automatic adaptation based on user information
CN102711093A (en) * 2012-04-18 2012-10-03 奇智软件(北京)有限公司 Method and device for downloading mobile terminal data
CN102938908A (en) * 2012-10-30 2013-02-20 深圳市路友网络科技有限公司 Network traffic optimization method for mobile equipment, device and equipment
CN103002512A (en) * 2012-11-20 2013-03-27 北京百度网讯科技有限公司 Flow control method and device for mobile terminal
CN103096385A (en) * 2013-01-25 2013-05-08 北京小米科技有限责任公司 Method and device and terminal of flow control
CN103248756A (en) * 2013-03-28 2013-08-14 广东欧珀移动通信有限公司 Method for switching internet browsing modes according to surplus flow of mobile phone
CN103326957A (en) * 2013-05-23 2013-09-25 北京奇虎科技有限公司 Browser and method for controlling flow of browser
CN104731808A (en) * 2013-12-20 2015-06-24 腾讯科技(深圳)有限公司 Browser webpage loading method and browser webpage loading device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GEORGE SPALDING: "《Windows2000管理指南》", 30 September 2002 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792881A (en) * 2016-12-29 2017-05-31 深圳天珑无线科技有限公司 Terminal perceives condition control method and terminal perceives behavior control device
CN107148055A (en) * 2017-04-27 2017-09-08 努比亚技术有限公司 A kind of traffic management and control method, mobile terminal and computer-readable recording medium
CN107148055B (en) * 2017-04-27 2020-01-24 广州市有车以后信息科技有限公司 Flow control method, mobile terminal and computer readable storage medium
CN116527594A (en) * 2023-03-31 2023-08-01 国网江苏省电力有限公司信息通信分公司 Mobile terminal flow time delay control method based on big data

Also Published As

Publication number Publication date
CN105992278B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN106775420B (en) Application switching method and device and graphical user interface
CN105094557B (en) A kind of display control method and device, electronic equipment
CN104484031B (en) The optimization method and device of terminal device power consumption state
CN105630298A (en) Folder management method and equipment
CN106066805A (en) Method, device and the terminal that a kind of end application starts
CN105991415A (en) Message pushing method and mobile terminal
CN103488403A (en) Switching method and device for interface layout and mobile terminal
CN105988805A (en) Management method for application programs and mobile terminal
CN103984493A (en) Sliding control method and terminal
CN106775185B (en) Desktop display method and terminal
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN108932093A (en) Split screen application switching method, device, storage medium and electronic equipment
CN102710846A (en) System and method for realizing electronic book page turning based on forced induction
CN105848117A (en) Recharging method and recharging device
CN105992278A (en) Flow control method and mobile terminal
CN106873856B (en) Application icon classification method and device
CN110543266B (en) Interface display method and terminal equipment
CN104679245A (en) Terminal
CN103631697A (en) Information processing method and electronic device
CN104751322A (en) Method and device for enabling data processing webpage
CN110196661B (en) Interface interaction method and device and electronic equipment
CN107104882A (en) The method, device and mobile terminal of good friend's speech information are shown in social software
CN109710278A (en) Method and device for unloading application program and terminal equipment
CN103677583A (en) Prompt method and electronic device
CN108344244B (en) Intelligent refrigerator message information processing method and device and intelligent refrigerator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190611

CF01 Termination of patent right due to non-payment of annual fee