Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with execution mode and accompanying drawing, the present invention is described in further details.At this, exemplary embodiment of the present invention and explanation thereof are used for explanation the present invention, but not as a limitation of the invention.
The embodiment of the invention provides a kind of network flux management method and device of double-terminal, and the present invention is described in detail below in conjunction with accompanying drawing.
Embodiment one
Fig. 1 is the network flux management method flow chart of a kind of double-terminal of providing of the embodiment of the invention, and as shown in Figure 1, described method comprises:
S101 obtains presently used card of surfing Internet information.
In embodiments of the present invention, double-terminal can be a kind of mobile phone of double-card dual-standby, also can be the equipment such as panel computer with double-card dual-standby function.The user is when using a certain SIM card visit the Internet of double-terminal, and double-terminal at first obtains the information of presently used SIM card.When the user by at least two SIM cards simultaneously during accesses network, double-terminal correspondingly can obtain the information of at least two SIM cards.
In embodiments of the present invention, double-terminal is when obtaining the information of presently used SIM card, can at first check the draw-in groove positional information of SIM card and/or the ID(identity of SIM card) information, the draw-in groove positional information of SIM card and the id information of SIM card can obtain by the API that the terminal bottom layer driving provides.
S102 according to described card of surfing Internet information, calculates at least two employed flow informations of card of surfing Internet respectively.
In embodiments of the present invention, double-terminal is after getting access to presently used SIM card information, just according to presently used SIM card Information Statistics online flow information.In other words, when using every SIM to surf the Net, corresponding flow information can be recorded in this SIM card under one's name.
Preferably, after the user uses the SIM card online and produces flow, double-terminal need record current flow information, record the draw-in groove positional information of current SIM card and/or the id information of SIM card simultaneously, double-terminal can be recorded in the current flow information draw-in groove positional information of current SIM card and/or the id information of SIM card as additional identification.Double-terminal calculates the identical flow information of additional identification afterwards, obtains the flow summation of corresponding each additional identification, i.e. the flow summation information of the generation of every SIM card.
S103 shows the employed flow information of described at least two cards of surfing Internet.
In embodiments of the present invention, double-terminal can show the flow summation information that every SIM card produces in real time.When only having used a SIM card in the double-terminal, double-terminal also can only show the flow information of a SIM card.
The network flux management method of the double-terminal that the embodiment of the invention provides can be distinguished the flow information that every card of surfing Internet of counting statistics produces, and makes the user can grasp the flow behaviour in service of oneself at any time.
Embodiment two
Fig. 2 is the network flux management method flow chart of a kind of double-terminal of providing of the embodiment of the invention, and as shown in Figure 2, described method comprises:
S201 obtains draw-in groove positional information and/or the id information of the employed SIM card of current online.
S202 records current flow information, and current draw-in groove positional information and/or id information are recorded in the current flow information as additional identification.
S203 is according to flow summation information and the demonstration of the every SIM card of additional identification statistical computation.
Fig. 3 A and Fig. 3 B are the display interface figure of the SIM card flow summation information that provides of the embodiment of the invention, as shown in the figure, on the display screen of double-terminal, show the flow summation information of every SIM card respectively, for every SIM card, can have an independently label, this label can be the title of operator, as " China Telecom ", " CHINAUNICOM " etc., also can be other titles of user oneself name, the user can be switched the flow information that shows different SIM card by clicking the label on the touch-screen.Fig. 4 is the display interface figure of the SIM card flow summation information that provides of the embodiment of the invention, and as shown in Figure 4, double-terminal also can be presented at the flow summation information of two SIM cards in the same screen.
S204 obtains every SIM card corresponding flow threshold information.
In embodiments of the present invention, the operator of every SIM all can provide a flow set meal usually, stipulates user's operable flow within a certain period of time, and the part that exceeds the set meal restriction is very expensive usually.Obtain the set meal flow information of this month in the package information that double-terminal can provide by operator, as the flow threshold of this SIM card.Certainly the user also can set up the flow threshold of every SIM card on their own according to self actual conditions.Figure 5 shows that the display interface figure the when user sets up the flow threshold of every SIM card on their own, as shown in Figure 5, under every SIM card title, all be provided with " flow threshold setting " button, when the user need arrange the flow threshold of certain SIM card, can click corresponding " flow threshold setting " button, thereby the flow threshold of this SIM card is set.
S205 judges whether the flow summation that current SIM card has been used reaches this SIM card corresponding flow threshold value.
In embodiments of the present invention, if the flow summation that current SIM card has been used does not reach this SIM card corresponding flow threshold value, then continue to use current SIM card to surf the Net; If the flow summation that current SIM card has been used has reached this SIM card corresponding flow threshold value, then enter step S206.
S206 closes the function of surfing the Net of current card of surfing Internet.
Fig. 6 A is the display interface figure of the double-terminal that provides of the embodiment of the invention, preferably, in embodiments of the present invention, as shown in Figure 6A, double-terminal can eject prompting when closing the function of surfing the Net of current card of surfing Internet, prompting user's " the flow set meal of the SIM card of current use uses, and will close the function of surfing the Net of first SIM card automatically ".Fig. 6 B is the display interface figure of the double-terminal that provides of the embodiment of the invention, shown in Fig. 6 B, double-terminal also can only eject prompting, point out user's " the flow set meal of the SIM card of current use uses; whether will close the function of surfing the Net of first SIM card ", determine whether to close the function of surfing the Net of first SIM card afterwards according to user's selection.
Preferably, after step S206, network flux management method can also comprise the steps:
S207 judges whether the employed flow information of another card of surfing Internet reaches the flow threshold corresponding with another card of surfing Internet.
In embodiments of the present invention, after the employed flow of first SIM card reaches with it corresponding first flow threshold value, double-terminal can be closed the function of surfing the Net of first SIM card, can detect the flow summation that second SIM card that can surf the Net used simultaneously and whether reach the second corresponding with it flow threshold, if the flow summation that second SIM card has been used has reached the second corresponding with it flow threshold, then do not do any operation; If the flow summation that second SIM card has been used does not reach the second corresponding with it flow threshold, then carry out step S208.
S208 when the employed flow information of another card of surfing Internet does not reach the flow threshold corresponding with another card of surfing Internet, switches to another card of surfing Internet and surfs the Net.
In embodiments of the present invention, if the flow summation that second SIM card has been used does not reach the second with it corresponding flow threshold, illustrate that the set meal flow of second SIM card also has residue, then double-terminal can switch to second SIM card and surfed the Net this moment.
Fig. 7 A is the display interface figure of the double-terminal that provides of the embodiment of the invention, preferably, shown in Fig. 7 A, double-terminal can be directly switch into second SIM card and surf the Net, and ejecting corresponding prompting, the prompting user is " having switched to second SIM card surfs the Net " at this moment.Fig. 7 B is the display interface figure of the double-terminal that provides of the embodiment of the invention, shown in Fig. 7 B, double-terminal also can not be directly switch into second SIM card and surf the Net, and at first ejecting a prompting, the prompting user is " the set meal flow of first SIM card has used, and the flow set meal of second SIM card still has surplus; whether need to switch to second SIM card and surf the Net " at this moment, according to user's selection, decision is to switch to second SIM card to surf the Net, and still keeps the network off-state afterwards.
The network flux management method of the double-terminal that the embodiment of the invention provides can be distinguished the flow information that every card of surfing Internet of counting statistics produces, make the user can grasp the flow behaviour in service of oneself at any time, can judge the set meal flow information behaviour in service of every card of surfing Internet automatically, can judge automatically after a card of surfing Internet flow consumption is clean whether another card of surfing Internet also has the set meal flow, and when the set meal flow is arranged, automatically switch to another card of surfing Internet and surf the Net, experience for user's cost saving and for the user provides continual networking.
Embodiment three
Fig. 8 is the network flow management device block diagram of a kind of double-terminal of providing of the embodiment of the invention, and as shown in Figure 8, the network flow management device comprises:
Card of surfing Internetinformation acquisition unit 801 is used for obtaining presently used card of surfing Internet information.
In embodiments of the present invention, double-terminal can be a kind of mobile phone of double-card dual-standby, also can be the equipment such as panel computer with double-card dual-standby function.The user is when using a certain SIM card visit the Internet of double-terminal, and card of surfing Internetinformation acquisition unit 801 is at first obtained the information of presently used SIM card.When the user by at least two SIM cards simultaneously during accesses network, card of surfing Internetinformation acquisition unit 801 correspondingly can be obtained the information of at least two SIM cards.
In embodiments of the present invention, card of surfing Internetinformation acquisition unit 801 is when obtaining the information of presently used SIM card, can at first check the draw-in groove positional information of SIM card and/or the ID(identity of SIM card) information, the draw-in groove positional information of SIM card and the id information of SIM card can obtain by the API that the terminal bottom layer driving provides.
Flowinformation computing unit 802 is used for according to described card of surfing Internet information, calculates at least two employed flow informations of card of surfing Internet respectively.
In embodiments of the present invention, card of surfing Internetinformation acquisition unit 801 is after getting access to presently used SIM card information, and flowinformation computing unit 802 is just according to presently used SIM card Information Statistics online flow information.In other words, when using every SIM to surf the Net, flowinformation computing unit 802 can be recorded in this SIM card under one's name with corresponding flow information.
Preferably, as shown in Figure 8, flowinformation computing unit 802 can also comprise:
Discharge record module 8021 is used for the current flow information of record.
Card of surfingInternet logging modle 8022 is used for the draw-in groove positional information of recording internet card and/or the identity information of card of surfing Internet.
Flowrate calculation module 8023 is used for calculating the employed flow information of card of surfing Internet according to the draw-in groove positional information of described card of surfing Internet or the identity information of card of surfing Internet.
After the user uses the SIM card online and produces flow,discharge record module 8021 needs the current flow information of record, card of surfing Internet logging modle 8022 records the draw-in groove positional information of current SIM card and/or the id information of SIM card simultaneously, and card of surfingInternet logging modle 8022 can be recorded in the current flow information draw-in groove positional information of current SIM card and/or the id information of SIM card as additional identification.8023 pairs of identical flow informations of additional identification of flow rate calculation module calculate afterwards, obtain the flow summation of corresponding each additional identification, i.e. the flow summation information of the generation of every SIM card.
Flowinformation display unit 803 is used for showing the employed flow information of described at least two cards of surfing Internet.
In embodiments of the present invention, flowinformation display unit 803 can show the flow summation information that every SIM card produces in real time.When only having used a SIM card in the double-terminal, flowinformation display unit 803 also can only show the flow information of a SIM card.
The network flow management device of the double-terminal that the embodiment of the invention provides can be distinguished the flow information that every card of surfing Internet of counting statistics produces, and makes the user can grasp the flow behaviour in service of oneself at any time.
Embodiment four
Fig. 9 is the network flow management device block diagram of a kind of double-terminal of providing of the embodiment of the invention, and as shown in Figure 9, described device comprises:
Card of surfing Internetinformation acquisition unit 901 is for the draw-in groove positional information and/or the id information that obtain the employed SIM card of current online.
Flowinformation computing unit 902 is used for the current flow information of record, and current draw-in groove positional information and/or id information are recorded in the current flow information as additional identification.
Flowinformation display unit 903 is used for flow summation information and demonstration according to the every SIM card of additional identification statistical computation.
Shown in Fig. 3 A and Fig. 3 B, flowinformation display unit 903 shows the flow summation information of every SIM card respectively on the display screen of double-terminal, for every SIM card, can have an independently label, this label can be the title of operator, as " China Telecom ", " CHINAUNICOM " etc., also can be other titles of user oneself name, the user can be switched the flow information that shows different SIM card by clicking the label on the touch-screen.As shown in Figure 4, flowinformation display unit 903 also can be presented at the flow summation information of two SIM cards in the same screen.
Flowthreshold acquiring unit 904 is used for obtaining every SIM card corresponding flow threshold information.
In embodiments of the present invention, the operator of every SIM all can provide a flow set meal usually, stipulates user's operable flow within a certain period of time, and the part that exceeds the set meal restriction is very expensive usually.Obtain the set meal flow information of this month in the package information that flowthreshold acquiring unit 904 can provide by operator, as the flow threshold of this SIM card.Certainly the user also can set up the flow threshold of every SIM card on their own according to self actual conditions.As shown in Figure 5, under every SIM card title, all be provided with " flow threshold " button is set, when the user need arrange the flow threshold of certain SIM card, can click corresponding " flow threshold " button is set, thereby the flow threshold of this SIM card is set.
Firstflow judging unit 905 is used for judging whether the flow summation that current SIM card has been used reaches this SIM card corresponding flow threshold value.
In embodiments of the present invention, if firstflow judging unit 905 judges that the flow summation that current SIM card has been used does not reach this SIM card corresponding flow threshold value, then continue to use current SIM card to surf the Net; If firstflow judging unit 905 judges that the flow summation that current SIM card has been used has reached this SIM card corresponding flow threshold value, then the function of surfing the Net of current card of surfing Internet is closed innetwork switching unit 906.
Network switching unit 906 is for the function of surfing the Net of closing current card of surfing Internet.
Preferably, in embodiments of the present invention, as shown in Figure 6A,network switching unit 906 can eject prompting when closing the function of surfing the Net of current card of surfing Internet, prompting user's " the flow set meal of the SIM card of current use uses, and will close the function of surfing the Net of first SIM card automatically ".Shown in Fig. 6 B, double-terminal also can only eject prompting, prompting user's " the flow set meal of the SIM card of current use uses; whether will close the function of surfing the Net of first SIM card " determines whether to be closed bynetwork switching unit 906 function of surfing the Net of first SIM card afterwards according to user's selection.
Preferably, the network flow management device can also comprise:
The secondflow judging unit 907 is used for judging whether the employed flow information of another card of surfing Internet reaches the flow threshold corresponding with another card of surfing Internet.
In embodiments of the present invention, after the employed flow of first SIM card reaches with it corresponding first flow threshold value,network switching unit 906 can be closed the function of surfing the Net of first SIM card, whether the flow summation that second SIM card that the second flow judging unit, 907 meeting detections simultaneously can be surfed the Net has been used reaches the second corresponding with it flow threshold, if the flow summation that second SIM card has been used has reached the second corresponding with it flow threshold, then do not do any operation; If the flow summation that second SIM card has been used does not reach the second with it corresponding flow threshold, then networkswitch unit 908 switches to another card of surfing Internet and surfs the Net.
Network switch unit 908 is used for switching to another card of surfing Internet and surfing the Net when the employed flow information of another card of surfing Internet does not reach the flow threshold corresponding with another card of surfing Internet.
In embodiments of the present invention, if the flow summation that second SIM card has been used does not reach the second with it corresponding flow threshold, illustrate that the set meal flow of second SIM card also has residue, then networkswitch unit 908 can switch to second SIM card and surfed the Net this moment.
Preferably, shown in Fig. 7 A,network switch unit 908 can be directly switch into second SIM card surfs the Net, and ejects corresponding prompting, prompting user's this moment " having switched to second SIM card surfs the Net ".Shown in Fig. 7 B,network switch unit 908 also can not be directly switch into second SIM card and surf the Net, and at first eject a prompting, prompting user " this moment, the set meal flow of first SIM card used; the flow set meal of second SIM card still has surplus, whether needs to switch to second SIM card and surfs the Net " is afterwards according to user's selection, decision is to switch to second SIM card bynetwork switch unit 908 to surf the Net, and still keeps the network off-state.
The network flow management device of the double-terminal that the embodiment of the invention provides can be distinguished the flow information that every card of surfing Internet of counting statistics produces, make the user can grasp the flow behaviour in service of oneself at any time, can judge the set meal flow information behaviour in service of every card of surfing Internet automatically, can judge automatically after a card of surfing Internet flow consumption is clean whether another card of surfing Internet also has the set meal flow, and when the set meal flow is arranged, automatically switch to another card of surfing Internet and surf the Net, experience for user's cost saving and for the user provides continual networking.
Figure 10 is the structural representation of the related double-terminal of the embodiment of the invention, and this double-terminal can be used for implementing the network flux management method that above-described embodiment provides.Specifically:
Terminal equipment 1000 can comprise two RF(Radio Frequency, radio frequency) parts such ascircuit 1010, thememory 1020 that includes one or more computer-readable recording mediums,input unit 1030,display unit 1040,transducer 1050,voicefrequency circuit 1060, WiFi (wireless fidelity, Wireless Fidelity)module 1070, theprocessor 1080 that includes processing core more than or and power supply 1090.It will be understood by those skilled in the art that the terminal equipment structure shown in Figure 10 does not constitute the restriction to terminal equipment, can comprise than the more or less parts of diagram, perhaps make up some parts, perhaps different arrangements of components.Wherein:
RF circuit 1010 can be used for receiving and sending messages or communication process in, the reception of signal and transmission especially, after the downlink information of base station received, are transferred to one or anabove processor 1080 and are handled; In addition, will be referred to up data and send to the base station.Usually,RF circuit 1010 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition,RF circuit 1010 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (Global System ofMobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Memory 1020 can be used for storing software program and module, andprocessor 1080 is stored in software program and the module ofmemory 1020 by operation, and various functions are used and data are handled thereby carryout.Memory 1020 can mainly comprise storage program area and storage data field, wherein, but the required application program (such as sound-playing function, image playing function etc.) of storage program area storage operating system, at least one function etc.; The data (such as voice data, phone directory etc.) created according to the use ofterminal equipment 1000 etc. can be stored in the storage data field.In addition,memory 1020 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly,memory 1020 can also comprise Memory Controller, so that the visit ofprocessor 1080 and 1030 pairs ofmemories 1020 of input unit to be provided.
Input unit 1030 can be used for receiving numeral or the character information of input, and generation is imported with the user arranges and function control is relevant keyboard, mouse, action bars, optics or trace ball signal.Particularly, input unit 1030 can comprise tactile sensitive surfaces 1031 and other input equipments 1032.Touch sensitive surfaces 1031, be also referred to as touch display screen or Trackpad, can collect the user or near touch operation (using any suitable object such as finger, stylus or annex touching on the sensitive surfaces 1031 or touching near the sensitive surfaces 1031 operation such as the user) thereon, and drive corresponding jockey according to predefined formula.Optionally, touch sensitive surfaces 1031 and can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, gives processor 1080 again, and the order that energy receiving processor 1080 is sent is also carried out.In addition, can adopt polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touching sensitive surfaces 1031.Except touching sensitive surfaces 1031, input unit 1030 can also comprise other input equipments 1032.Particularly, other input equipments 1032 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, the action bars etc.
Display unit 1040 can be used for showing the information of being imported by the user or offer user's information and the various graphical user interface ofterminal equipment 1000 that these graphical user interface can be made of figure, text, icon, video and its combination inany.Display unit 1040 can comprisedisplay floater 1041, optionally, can adopt LCD (Liquid Crystal Display, LCD), OLED forms such as (Organic Light-Emitting Diode, Organic Light Emitting Diodes) to dispose display floater 1041.Further, touchsensitive surfaces 1031 and can coverdisplay floater 1041, when touch thatsensitive surfaces 1031 detects thereon or near touch operation after, sendprocessor 1080 to determining the type of touch event, provide corresponding vision output according to the type of touch event atdisplay floater 1041 with preprocessor 1080.Though in Figure 10, touchsensitive surfaces 1031 anddisplay floater 1041 and be as two independently parts realize input and input function, in certain embodiments, can will touch the integrated and realization input and output function ofsensitive surfaces 1031 anddisplay floater 1041.
Terminal equipment 1000 also can comprise at least atransducer 1050, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can be regulated the brightness ofdisplay floater 1041 according to the light and shade of ambient light, proximity transducer can cut outdisplay floater 1041 and/or backlight whenterminal equipment 1000 moves in one's ear.A kind of as motion sensor, the acceleration of gravity transducer can detect the size of the acceleration that (is generally three) on all directions, size and the direction of gravity be can detect when static, the application (such as shielding switching, dependent game, the calibration of magnetometer attitude anyhow), Vibration identification correlation function (such as pedometer, knock) etc. of mobile phone attitude can be used for identifying; As forterminal equipment 1000 other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 1060,loud speaker 1061,microphone 1062 can provide the audio interface between user and the terminal equipment 1000.Voicefrequency circuit 1060 can be transferred toloud speaker 1061 with the signal of telecommunication after the voice data conversion that receives, and is converted to voice signal output byloud speaker 1061; On the other hand,microphone 1062 is converted to the signal of telecommunication with the voice signal of collecting, by being converted to voice data aftervoicefrequency circuit 1060 receptions, after again voicedata output processor 1080 being handled, to send to such as another terminal equipment, perhaps export voice data tomemory 1020 in order to further handle through RF circuit 1010.Voicefrequency circuit 1060 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone andterminal equipment 1000 to be provided.
WiFi belongs to the short range wireless transmission technology,terminal equipment 1000 byWiFi module 1070 can help that the user sends and receive e-mail, browsing page and visit streaming video etc., it provides wireless broadband internet visit for the user.Though Figure 10 showsWiFi module 1070, be understandable that it does not belong to must constituting ofterminal equipment 1000, fully can be as required in the scope of the essence that does not change invention and omit.
Processor 1080 is control centres ofterminal equipment 1000, utilize various interface to be connected the various piece of whole mobile phone with circuit, by moving or carry out software program and/or the module that is stored in thememory 1020, and call the data that are stored in thememory 1020, carry out various functions and the deal with data ofterminal equipment 1000, thereby mobile phone is carried out integral monitoring.Optionally,processor 1080 can comprise one or more processing cores; Preferably,processor 1080 can integrated application processor and modem processor, and wherein, application processor is mainly handled operating system, user interface and application program etc., and modem processor is mainly handled radio communication.Be understandable that above-mentioned modem processor also can not be integrated in theprocessor 1080.
Terminal equipment 1000 comprises that also the power supply 1090(that powers to each parts is such as battery), preferably, power supply can link to each other withprocessor 1080 logics by power-supply management system, thereby realizes functions such as management charging, discharge and power managed by power-supply managementsystem.Power supply 1090 can also comprise one or more direct current or random component such as AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown,terminal equipment 1000 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal equipment is touch-screen display, terminal equipment also includes memory, and one or more than one program, one of them or an above procedure stores and are configured to be carried out by the above processor of or and state one or an above program and comprise be used to the instruction of carrying out following operation in memory:
Obtain presently used card of surfing Internet information;
According to described card of surfing Internet information, calculate at least two employed flow informations of card of surfing Internet respectively;
Show the employed flow information of described at least two cards of surfing Internet.
Preferably, describedly obtain presently used card of surfing Internet information and comprise:
Obtain the draw-in groove positional information of presently used card of surfing Internet and/or the identity information of card of surfing Internet.
Preferably, described according to described card of surfing Internet information, calculate at least two employed flow informations of card of surfing Internet respectively and comprise:
Record current flow information;
The draw-in groove positional information of recording internet card and/or the identity information of card of surfing Internet;
Calculate the employed flow information of card of surfing Internet according to the draw-in groove positional information of described card of surfing Internet or the identity information of card of surfing Internet.
Preferably, described method also comprises:
Obtain the flow threshold corresponding with described card of surfing Internet information;
Judge whether the employed flow information of current card of surfing Internet reaches the flow threshold corresponding with current card of surfing Internet;
When the employed flow information of current card of surfing Internet reaches the flow threshold corresponding with current card of surfing Internet, close the function of surfing the Net of current card of surfing Internet.
Preferably, after closing the function of surfing the Net of current card of surfing Internet, described method also comprises:
Judge whether the employed flow information of another card of surfing Internet reaches the flow threshold corresponding with another card of surfing Internet;
When the employed flow information of another card of surfing Internet does not reach the flow threshold corresponding with another card of surfing Internet, switch to another card of surfing Internet and surf the Net.
The network flow management device of the double-terminal that the embodiment of the invention provides can be distinguished the flow information that every card of surfing Internet of counting statistics produces, make the user can grasp the flow behaviour in service of oneself at any time, can judge the set meal flow information behaviour in service of every card of surfing Internet automatically, can judge automatically after a card of surfing Internet flow consumption is clean whether another card of surfing Internet also has the set meal flow, and when the set meal flow is arranged, automatically switch to another card of surfing Internet and surf the Net, experience for user's cost saving and for the user provides continual networking.
In addition, typically, portable terminal of the present invention can be various hand-held terminal devices, for example mobile phone, PDA(Personal Digital Assistant) etc., so protection scope of the present invention should not be defined as the portable terminal of certain particular type.
In addition, the method according to this invention can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions that limits in the method for the present invention.
In addition, said method step and system unit also can utilize controller and be used for storage and make controller realize that the computer readable storage devices of the computer program of above-mentioned steps or Elementary Function realizes.
In addition, should be understood that computer readable storage devices as herein described (for example, memory) can be volatile memory or nonvolatile memory, perhaps can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random-access memory (ram), and this RAM can serve as the External Cache memory.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the memory of these and other adequate types.
Those skilled in the art will also understand is that, may be implemented as electronic hardware, computer software or both combinations in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps.For this interchangeability of hardware and software clearly is described, with regard to the function of various exemplary components, square, module, circuit and step it has been carried out general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way at every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present invention.
Can utilize the following parts that are designed to carry out function described here to realize or carry out in conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit: general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but replacedly, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, a plurality of microprocessor, one or more microprocessor are in conjunction with DSP nuclear or any other this configuration.
In the software module that can directly be included in the hardware, be carried out by processor in conjunction with the step of the described method of disclosure herein or algorithm or in the two the combination.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, makes processor to read information from this storage medium or writes information to this storage medium.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside among the ASIC.ASIC can reside in the user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in the user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If in software, realize, then described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media includes any medium that helps computer program is sent to from a position another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can be used for carrying or file layout is the required program code of instruction or data structure and can be by any other medium of universal or special computer or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line or such as the wireless technology of infrared ray, radio and microwave come from the website, server or other remote source send software, then above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, and wherein disk magnetically reproduces data usually, and cd-rom using laser optics ground reproduces data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although the disclosed content in front shows exemplary embodiment of the present invention, should be noted that under the prerequisite of the scope of the present invention that does not deviate from the claim restriction, can carry out multiple change and modification.Function, step and/or action according to the claim to a method of inventive embodiments described herein do not need to carry out with any particular order.In addition, although element of the present invention can be with individual formal description or requirement, also it is contemplated that a plurality of, unless clearly be restricted to odd number.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.