CN109151748A - Flow card switching method and device - Google Patents
Flow card switching method and device Download PDFInfo
- Publication number
- CN109151748A CN109151748A CN201810967714.8A CN201810967714A CN109151748A CN 109151748 A CN109151748 A CN 109151748A CN 201810967714 A CN201810967714 A CN 201810967714A CN 109151748 A CN109151748 A CN 109151748A
- Authority
- CN
- China
- Prior art keywords
- flow
- card
- flow card
- mobile terminal
- working condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of flow card switching method and devices, applied to the mobile terminal for supporting at least two flow cards, the mobile terminal is previously stored with the corresponding relationship between the free flow application that each flow card and the flow card are supported, this method comprises: identifying that the mobile terminal works as the application of front opening;The correspondence flow card of the current application is determined according to the corresponding relationship;Judgement is currently at whether the flow card of working condition is the corresponding flow card;If the flow card for being currently at working condition is not the corresponding flow card, the state of the corresponding flow card is switched to working condition.Technical solution of the present invention, according to the application in mobile terminal when front opening, free flow is switched to working condition using the flow card of the application, avoids the problem that passing through other flow cards progress data communication service due to user's free flow caused by without switching in time is excessive using the flow card residual flow of the application generates additional rate.
Description
Technical field
The present invention relates to technical field of mobile terminals, in particular to a kind of flow card switching method and device.
Background technique
With mobile communication technology development and intelligent mobile terminal it is universal, mobile terminal in user lives in occupation of
Increasingly important role, user can be engaged in social life by application software various in mobile terminal, and application software is being given
While user's life offers convenience, a large amount of data traffic can be also consumed, in consideration of it, flow card comes into being.Flow card
Rate are lower, and there are many flow, and can support section using free flow use.
Existing such as double-card dual-standby multi-module mobile terminal is generally used by users, and at least two flow cards are propped up
The free flow application held is different, for example, the flow card Tencent king card of China Unicom joint Tencent publication can be freely using rising
The applications such as wechat under news, QQ, Tencent's video, quick worker, king's honor, danger spot seek survival, panda, bucket fish;China Unicom joint is modern
The flow card today's tops of day top news publication, which understands that I blocks, freely to use today's tops, volcano small video, watermelon video, trill short
The application such as video.If user include in the terminal Tencent king card and today's tops understand that I blocks two flow cards, when with
When family selection carries out data communication using Tencent king Ka Ka, wechat, QQ etc. can freely be used to apply, when user opens head today
When, then can lead to the problem of rate because of not free flow;When user selects to understand that I sticks into row data using today's tops
When communication, today's tops, trill etc. can freely be used to apply, it, then can be because of not flowing freely when user opens king's honor
It measures and leads to the problem of rate.User is during using mobile phone it is easy to forget that being switched to the low or free flow of corresponding rate
On card, the waste of flow cutting ferrule meal resource is caused, dead wight loss is generated.
Summary of the invention
In view of the above problems, the embodiment of the present invention is designed to provide a kind of flow card switching method and device, with solution
Certainly the deficiencies in the prior art.
According to embodiment of the present invention, a kind of flow card switching method is provided, is applied to support at least two streams
The mobile terminal of card is measured, the mobile terminal is previously stored with the free flow that each flow card and the flow card are supported and answers
Corresponding relationship between, this method comprises:
Identify that the mobile terminal works as the application of front opening;
The correspondence flow card of the current application is determined according to the corresponding relationship;
Judgement is currently at whether the flow card of working condition is the corresponding flow card;
If the flow card for being currently at working condition is not the corresponding flow card, the state of the corresponding flow card is cut
Change to working condition.
In above-mentioned flow card switching method, further includes:
When the corresponding relationship of the current application is not present, predetermined amount of flow card is selected according to predetermined selection method and will be described
The state of predetermined amount of flow card is switched to working condition.
In above-mentioned flow card switching method, the predetermined selection method includes selecting all streams in the mobile terminal
The most flow card of residual flow in amount card.
It is described " state of the corresponding flow card is switched to working condition " in above-mentioned flow card switching method,
Include:
The input that user is responded in the pre-set flow card handoff options of the mobile terminal is operated the correspondence
The state of flow card is switched to working condition.
In above-mentioned flow card switching method, the mobile terminal is provided with physical switch, described " by the correspondence
The state of flow card is switched to working condition ", comprising:
It responds trigger action of the user on the physical switch and the state of the corresponding flow card is switched to working condition.
In above-mentioned flow card switching method, the physical switch is three-stage switch.
In above-mentioned flow card switching method, before the state of the corresponding flow card is switched to working condition,
Further include:
Control the mobile terminal screen display switching prompting message.
In above-mentioned flow card switching method, described " state of the corresponding flow card is switched to working condition " it
Afterwards further include:
Judge whether the residual flow for the corresponding flow card for being currently at working condition is greater than predetermined threshold;
If the residual flow of the corresponding flow card is less than or equal to the predetermined threshold, controls the mobile terminal and issue
Warning message comprising residual flow.
In above-mentioned flow card switching method, further includes:
Uplink data sending and downlink reception data to the mobile terminal are monitored, and calculate institute according to monitored results
State the corresponding used flow of flow card;
The residual flow according to the upper limit flow rate calculation of the used flow and the correspondence flow card.
In above-mentioned flow card switching method, the mobile terminal is applied to mobile communication system, and the method is also wrapped
It includes:
It receives and updates what each flow card of signal update was supported with the flow card from the mobile communication system
Corresponding relationship between free flow application.
According to another implementation of the invention, a kind of flow card switching device is provided, is applied to support at least two
The mobile terminal of flow card, the mobile terminal are previously stored with the free flow that each flow card and the flow card are supported
Corresponding relationship between, the device include:
Identification module, the mobile terminal works as the application of front opening for identification;
Determining module, for determining the correspondence flow card of the current application according to the corresponding relationship;
Judgment module, whether the flow card for judging to be currently at working condition is the corresponding flow card;
Switching module, if the flow card for being currently at working condition is not the corresponding flow card, the switching module is used
In the state of the corresponding flow card is switched to working condition.
Another embodiment according to the present invention, provides a kind of mobile terminal, the mobile terminal include memory with
And processor, the memory run the computer program so that the shifting for storing computer program, the processor
Dynamic terminal executes above-mentioned flow card switching method.
Yet another embodiment according to the present invention provides a kind of computer readable storage medium, is stored with above-mentioned
The computer program used in mobile terminal.
The technical scheme provided by this disclosed embodiment may include it is following the utility model has the advantages that
A kind of flow card switching method and apparatus will be corresponded to according to the application in mobile terminal when front opening in the present invention
Free flow be switched to working condition using the flow card of the application, avoid user because forget switch or without in time switching make
At free flow it is excessive using the flow card residual flow of the application and carry out data communication service production by other flow cards
The problem of raw additional rate, reduces the waste of flow card resource, avoids user in the case where ignorant or no switching in time
The additional rate generated.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below
It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention
The restriction of protection scope for those of ordinary skill in the art without creative efforts, can be with root
Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 shows the structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Fig. 2 shows the flow diagrams for the flow card switching method that first embodiment of the invention provides.
Fig. 3 shows the flow diagram of the flow card switching method of second embodiment of the invention offer.
Fig. 4 shows a schematic diagram of three-stage switch provided in an embodiment of the present invention.
Fig. 5 shows the structural schematic diagram of flow card switching device provided in an embodiment of the present invention.
Component symbol explanation:
500- flow card switching device;510- identification module;520- determining module;530- judgment module;540- switches mould
Block.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Following each embodiments can be applied in mobile terminal as shown in Figure 1, and Fig. 1 shows the structure of the mobile terminal
Block diagram, the mobile terminal 100 include: radio frequency (Radio Frequency, RF) circuit 110, memory 120, input unit 130,
Display unit 140, camera unit 150, voicefrequency circuit 160, Wireless Fidelity (wireless fidelity, WiFi) module 170,
The components such as processor 180 and power supply 190.Input unit 130 may include touch panel and may include that other inputs are set
Standby, display unit 140 may include display panel.It will be understood by those skilled in the art that mobile terminal 100 shown in Fig. 1
Structure does not constitute the restriction to mobile terminal, may include components more more or fewer than diagram, or combine certain components,
Or different component layout.
Embodiment 1
Fig. 2 shows a kind of flow diagrams for flow card switching method that first embodiment of the invention provides.This method
Applied to the mobile terminal for supporting at least two flow cards, the mobile terminal is previously stored with each flow card and the stream
The corresponding relationship between free flow application that amount card is supported.The mobile terminal is applied to mobile communication system.
The mobile terminal may include computer (desktop computer), mobile phone, tablet computer, PDA (Personal
Digital Assistant, personal digital assistant), any terminal device such as vehicle-mounted computer.
In the present embodiment, the mobile terminal supports two flow cards.In some other embodiments, described mobile whole
End can also support two or more flow cards.
In the present embodiment, the corresponding relationship between free flow application that each flow card and the flow card are supported can
Storage is on the mobile terminal.In some other embodiments, each flow card and the flow card are supported free
Corresponding relationship between flow application is also storable in the internal storage location of corresponding flow card, and the mobile terminal is transferred all
The corresponding relationship stored in flow card is compared one by one with the application when front opening.
Further, each flow card of update signal update and the flow from the mobile communication system are received
Block the corresponding relationship between the free flow application supported.
In the present embodiment, the mobile communication system can be communication service provider, such as movement, connection, telecommunications.?
In some other embodiments, the mobile communication system can also be other related systems generated with development in science and technology.
It may include the application message for needing to update in the more new signal, the application message that the needs update may include
The free flow application information for needing newly to be added, the free flow for needing the free flow application information changed or needs to delete are answered
With information etc..
In the present embodiment, when in the presence of the application message for needing to update, the mobile communication system actively issues update letter
Number to the mobile terminal.In some other embodiments, the mobile terminal can also be every preset time from the shifting
Dynamic communication system obtains the more new signal.
With the development of science and technology, for various demands developed application it is also more and more, each flow card is propped up
The free flow application held also can gradually increase, and pass through the free flow application to each flow card and flow card support
Between corresponding relationship be updated, newly-increased free flow application can be added in the corresponding relationship, so that the flow
Card can support more free flow applications, reduce because update not in time the corresponding relationship in communication process caused by it is several
According to flow rate.For example, applying A in newly-increased1Before beginning to use, A is applied according to this1Affiliated development sources and partner etc.
Factor, setting freely can support this using A by flow1Flow card be A, at this point, the mobile terminal need to be to the flow card A of storage
Corresponding relationship between the free flow application of flow card A support is updated, so that in running order in flow card A
When, freely this can be used to apply A by flow1.Mobile communication system by the signal that the needs update issue or mobile terminal actively
The more new signal is obtained from the mobile communication system, it will according to the free flow application information being newly added in this more new signal
The free flow application A1It is added in the corresponding free flow application of flow card A.
In the present embodiment, the corresponding relationship between free flow application that the flow card and the flow card are supported can pass through
Following forms mode is stated.
For example, placing flow card A and flow card B respectively if in the mobile terminal including two card slots.As flow card A
When in running order, can free flow use application A1To using ANIn all applications, using in mobile terminal remove A1-AN
Except all applications when deduct fees according to flow of deducting fees;When flow card B is in running order, can free flow make
With using B1To using BMIn all applications, using in mobile terminal remove B1-BMExcept all applications when according to deduct fees stream
Amount is deducted fees.Wherein, described M, N are the positive integer more than or equal to 1.
In step S210, identification mobile terminal works as the application of front opening.
In the present embodiment, the progress information table for pulling the mobile terminal is currently beaten according in the progress information table
The attribute information for opening application identifies that the mobile terminal works as the application of front opening.
Wherein, the attribute information includes the information such as the title of the current application, opening time.
Further, the progress information table of the mobile terminal, such as shell script can be pulled by shell script.
In step S220, the correspondence flow card of the current application is determined according to the corresponding relationship.
Be stored with that all flow cards for including in the mobile terminal and each flow card support in the mobile terminal exempts from
Take the corresponding relationship between flow application, with the mobile terminal when front opening is applied as index, searching in the corresponding relationship is
It is no to exist and deserve front opening using corresponding record, deserve front opening if it exists and applies corresponding record, it is true according to the record
Surely deserve front opening using corresponding corresponding flow card.
In step S230, judgement is currently at whether the flow card of working condition is the corresponding flow card.
After determining the corresponding flow card, judge that the mobile terminal is worked as according to the system information etc. of the mobile terminal
Whether preceding in running order flow card is corresponding flow card, if being currently at the flow card of working condition as corresponding flow
Card, then without flow card handover operation;If the flow card for being currently at working condition is not the corresponding flow card, advance to
Step S240.
In step S240, the state of the corresponding flow card is switched to working condition.
When the flow card for being currently at working condition is not the corresponding flow card, by the state of the corresponding flow card
It is switched to working condition, i.e., is run under the current application switching to the corresponding flow card, the flow or rate of generation calculate
The corresponding flow card is under one's name, unrelated with other flow cards.
Therefore, the present invention automatically can switch the state of the corresponding flow card according to flow card and the corresponding relationship of application
To working condition, accelerate the switch speed between multiple flow cards, user is avoided to forget switching or generate in manual operation
The delay of time, and caused by it is excessive and carry out data communication by other flow cards using the flow card residual flow of the application
Business leads to the problem of additional rate, reduce the waste of flow card resource, avoids user ignorant or do not switch in time
In the case of the additional rate that generate, reduce the loss of user.
In some other embodiments, the state of the corresponding flow card can also be switched to by manually mode
Working condition, such as switched over by modes such as physical switch, setting " switching of flow card " options.
Embodiment 2
Fig. 3 shows a kind of flow diagram of flow card switching method of second embodiment of the invention offer.This method
Applied to the mobile terminal for supporting at least two flow cards, the mobile terminal is previously stored with each flow card and the stream
The corresponding relationship between free flow application that amount card is supported, the mobile terminal are applied to mobile communication system.
This method includes the steps that as described below:
In step s310, identification mobile terminal works as the application of front opening.
This step is identical as S210, and details are not described herein.
In step s 320, the corresponding relationship of the current application is judged whether there is.
Judge whether the corresponding relationship applied in this prior can be deposited in the mobile terminal, if it exists pair of the current application
It should be related to, advance to step S330;The corresponding relationship of the current application if it does not exist advances to step S340.
In step S330, the correspondence flow card of the application is determined according to the corresponding relationship.
The corresponding relationship of the current application if it exists can find in the corresponding relationship and deserve front opening application pair
The record answered determines according to the record and deserves front opening using corresponding corresponding flow card.
In step S340, predetermined amount of flow card is selected according to scheduled selection method and is switched to the predetermined amount of flow card
Working condition.
The corresponding relationship of the current application if it does not exist cannot find in the corresponding relationship and deserve front opening and answer
With corresponding record, i.e., in the mobile terminal there is no can free flow use the flow card of the application, can be according to scheduled choosing
Selection method selects predetermined amount of flow card.
In the present embodiment, the predetermined selection method is to select in the mobile terminal in all flow cards residual flow most
More flow cards.
For example, flow card residual flows all in the mobile terminal can be ranked up, residual flow is most
Flow card is as predetermined amount of flow card.
In some other embodiments, the predetermined selection method can also be to select currently to locate in the mobile terminal
Belong to the flow card etc. of default card in the flow card or the mobile terminal of working condition.
After determining the predetermined amount of flow card, it is also used to judge whether the predetermined amount of flow card is currently in running order,
If the predetermined amount of flow card is not currently in working condition, the state of the predetermined amount of flow card is switched into working condition;If institute
It states predetermined amount of flow card and is currently at working condition, front opening application is deserved by the flow use that the flow card provides, is answered for this
Data transmission provides communication service.
After the state of the predetermined amount of flow card is switched to working condition, step S350 is advanced to.
In step S350, judgement is currently at whether the flow card of working condition is the corresponding flow card.
Whether the flow card that working condition is currently at according to judgements such as the current system informations of the mobile terminal is pair
Flow card is answered, if the flow card that the mobile terminal is currently at working condition is the corresponding flow card, advances to step
S380;If the flow card that the mobile terminal is currently at working condition is not the corresponding flow card, step S360 is advanced to.
In step S360, switching prompting message is issued.
It, can be in switching institute when the flow card that the mobile terminal is currently at working condition is not the corresponding flow card
Switching prompting message is issued before stating the working condition of corresponding flow card.
In the present embodiment, the switching prompting message can be shown by the mobile terminal display screen.Some other
In embodiment, the prompt such as vibration, the loudspeaker of the mobile terminal or loudspeaker switching prompting message can also be passed through.
In addition, switching prompting message can also be issued before the state of predetermined amount of flow card is switched to working condition.
In step S370, the state of the corresponding flow card is switched to working condition.
In the present embodiment, the corresponding flow card can be switched to working condition by automatic or manual.
When by the way that the corresponding flow card is switched to working condition manually, in the pre-set stream of the mobile terminal
The input that user is responded in amount card handoff options, which is operated, is switched to working condition for the state of the corresponding flow card.
For example, flow card handoff options are added in the mobile terminal in advance, user sentences first before opening application
Be in disconnected current mobile terminal working condition flow card whether be can free flow use the correspondence flow card of the application,
If the flow card for being in working condition in current mobile terminal is not freely flow to be used using the correspondence flow card of the application
The option that flow card in the mobile terminal switches is opened at family, and the input operation for responding clicks of the user option, which obtains to switch, to be referred to
It enables, the state of the corresponding flow card is switched to working condition according to the switching command by the mobile terminal.Receiving use
The state of corresponding flow card is just switched to working condition after the confirmation switching command at family, increases the independence of user and active
Property.
When by the way that the corresponding flow card is switched to working condition manually, the mobile terminal is provided with physics and opens
It closes, responds trigger action of the user on the physical switch and the state of the corresponding flow card is switched to working condition.
In the present embodiment, the physical switch can switch for three-stage.In some other embodiments, the physics
Switch can also be multiple independent button switches, and each button switch controls the state of a flow card respectively, and the state can
Including working condition and standby mode.
For example, Fig. 4 shows a schematic diagram of three-stage switch provided in an embodiment of the present invention.If the mobile terminal
In include two flow cards, position A indicates to close the data service of all flow cards in the mobile terminal, and position B is indicated will
The state of corresponding flow card is switched to working condition, and position C indicates the state of predetermined amount of flow card being switched to working condition.
User, if freely the flow card of the application can be used for corresponding flow card by flow, sentences first before opening application
Be in disconnected current mobile terminal working condition flow card whether be can free flow use the correspondence flow card of the application,
If the flow card that working condition is in current mobile terminal be not can free flow use the correspondence flow card of the application, root
It operates switching toggle according to stirring for user at the B of position;If freely the flow card of the application can be used for predetermined amount of flow by flow
Card, judge to be in current mobile terminal working condition flow card whether be can free flow use the pre- constant current of the application
Amount card, if the flow card that working condition is in current mobile terminal be not can free flow use the predetermined amount of flow of the application
Card is operated switching toggle according to stirring for user at the C of position;If user does not need data service currently, according to user's
Operation is stirred by switching toggle at the A of position, the data service of all flow cards of no-load voltage ratio.User is avoided to cut manually by this way
The fussy degree of the state of change of current amount card.
In step S380, the corresponding used flow of flow card is calculated.
In the present embodiment, the flow may include exclusive flow and universal flow.The exclusive data traffic is that use has
The flow of limitation, referring specifically to a certain flow card can when the flow card is in running order for the special flow of certain applications
Free flow runs the certain applications;The general data flow is the flow that there is no limit in any case, and referring specifically to can
Using the flow card all applied in the mobile terminal, when the flow card is in running order, can be used described mobile whole
All applications in end.
In some other embodiments, with the development of mobile communication technology, the flow can also be new with development
The discharge pattern of generation.
For example, using the correspondence flow card in the mobile terminal corresponding when the corresponding flow card is in running order
Free flow application needed for flow be exclusive flow, it is corresponding free using the correspondence flow card is removed in the mobile terminal
All except flow application are universal flow using required flow.
In the present embodiment, can uplink data sending to the mobile terminal and downlink reception data be monitored, according to
Monitored results calculate the used flow of flow card.
For example, the uplink data sending and downlink reception data to the mobile terminal are monitored, by current time it
Flow consumed by preceding uplink data sending is added to obtain the used stream of the flow with flow consumed by downlink reception data
Amount.
In some other embodiments, it can also be sent by being currently at the flow card of working condition to service provider
Flow query information obtains the information such as the used flow of flow card and residual flow.
In addition, the step can also be to the calculating used flow of predetermined amount of flow card.
In step S390, the residue according to the upper limit flow rate calculation of the used flow and the correspondence flow card
Flow.
The upper limit flow of the correspondence flow card is subtracted into used flow and obtains the residual flow of the corresponding flow card.
Equally, the upper limit flow of the predetermined amount of flow card can also be subtracted used flow and obtains the predetermined amount of flow card
Residual flow.
In step S400, judge whether remaining data flow is greater than predetermined threshold.
In the present embodiment, the predetermined threshold can be 20MB.It is some other be in embodiment, the predetermined threshold may be used also
Think other values.
If the residual flow is greater than predetermined threshold, communication is provided for open application using the residual flow of the flow card
Service;If the residual flow is less than predetermined threshold, step S410 is advanced to.
In step S410, the warning message comprising remaining data flow is issued.
The warning message further includes the information etc. of flow card.
Since current user often will receive various advertising informations or junk information, user can send operator
Warning message be mistakenly considered junk information and turn a blind eye to, therefore in underfed, reminded by short message, user substantially when
It can't see, it is easy to lead to flow excess because of continuing to use and generate additional rate;And for the function of flow house keeper,
Although can real-time display present flow rate, be typically necessary opening application check, will not pay close attention to constantly, especially work as remainder
When being lower than preset threshold according to flow, although will do it reminder announced, when user is being absorbed in browsing handset content, though
Notice is so carried out, but its real user is difficult at once with regard to the current mobile phone operation of terminal.
In the present embodiment, it can remind that user includes the warning message of residual flow by way of suspension ball, in suspension ball
Surface shows the value of residual flow, by × number close the suspension ball.To avoid make user because not paying attention to short message or flow house keeper
The warning message of prompting and caused by flow excess use, reduce the additional rate of user.
In some other embodiments, can also when the residual flow is less than the first predetermined threshold, can by short message,
It includes the warning message of residual flow that flow house keeper etc., which reminds user, the predetermined time after issuing the warning message it
Interior, when detecting the residual flow less than the second predetermined threshold, it includes residual flow that user is reminded by way of suspension ball
Warning message.
Wherein, second predetermined threshold is less than first predetermined threshold.
In yet other embodiment, the warning message comprising remaining data flow can be also issued by other means
So that the timely flow service condition of user is managed.
Embodiment 3
Fig. 5 shows a kind of structural schematic diagram of flow card switching device provided in an embodiment of the present invention.Applied to support
The mobile terminal of at least two flow cards, the mobile terminal are previously stored with what each flow card was supported with the flow card
Corresponding relationship between free flow application, the mobile terminal are applied to mobile communication system.The flow card switching device
500 correspond to the flow card switching method of embodiment 1.Any option in embodiment 1 is also applied for the present embodiment, here not
It is described in detail again.
The flow card switching device 500 includes identification module 510, determining module 520, judgment module 530 and switching mould
Block 540.
Identification module 510, the mobile terminal works as the application of front opening for identification.
Determining module 520, for determining the correspondence flow card of the current application according to the corresponding relationship.
Judgment module 530, whether the flow card for judging to be currently at working condition is the corresponding flow card.
Switching module 540, if the flow card for being currently at working condition is not the corresponding flow card, the switching module
For the state of the corresponding flow card to be switched to working condition.
The present invention also provides a kind of mobile terminal, which may include smart phone, tablet computer etc..The shifting
Dynamic terminal includes memory and processor, and memory can be used for storing computer program, and processor is by running the computer
Program, to make the above-mentioned flow card switching method of mobile terminal execution or the modules in above-mentioned flow card switching device
Function.
Memory may include storing program area and storage data area, wherein storing program area can storage program area, at least
Application program needed for one function (such as sound-playing function, image player function etc.) etc.;Storage data area can store root
Created data (such as audio data, phone directory etc.) etc. are used according to mobile terminal.In addition, memory may include high speed
Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or
Other volatile solid-state parts.
The present embodiment additionally provides a kind of computer storage medium, by store used in above-mentioned mobile terminal it is described based on
Calculation machine program.
So far, the present invention provides a kind of flow card switching method and devices, according to answering when front opening in mobile terminal
With, corresponding free flow is switched to working condition using the flow card of the application, avoid user because without in time switching make
At free flow it is excessive using the remaining exclusive data traffic of flow card of the application and stick into row data by other flows and lead to
Communication service leads to the problem of additional rate, reduces the waste of flow cutting ferrule meal resource, avoids user ignorant or no timely
The additional rate generated in the case where switching;User is reminded when the residual flow is fewer, so that user is to it
The flow service condition of flow card is reasonably managed in mobile terminal, and flow is avoided to use excess bring rate problem,
The loss of user's rate is reduced, user experience is improved.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing
Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, a part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart
The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together
Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence
Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.
Claims (10)
1. a kind of flow card switching method, which is characterized in that applied to the mobile terminal for supporting at least two flow cards, the shifting
Dynamic terminal is previously stored with the corresponding relationship between the free flow application that each flow card and the flow card are supported, the party
Method includes:
Identify that the mobile terminal works as the application of front opening;
The correspondence flow card of the current application is determined according to the corresponding relationship;
Judgement is currently at whether the flow card of working condition is the corresponding flow card;
If the flow card for being currently at working condition is not the corresponding flow card, the state of the corresponding flow card is switched to
Working condition.
2. flow card switching method according to claim 1, which is characterized in that further include:
When the corresponding relationship of the current application is not present, predetermined amount of flow card is selected according to predetermined selection method and described will be made a reservation for
The state of flow card is switched to working condition.
3. flow card switching method according to claim 2, which is characterized in that the predetermined selection method includes selection institute
State in mobile terminal the most flow card of residual flow in all flow cards.
4. flow card switching method according to claim 1, which is characterized in that described " by the shape of the corresponding flow card
State is switched to working condition ", comprising:
The input that user is responded in the pre-set flow card handoff options of the mobile terminal is operated the corresponding flow
The state of card is switched to working condition.
5. flow card switching method according to claim 1, which is characterized in that the mobile terminal is provided with physics and opens
It closes, it is described " state of the corresponding flow card is switched to working condition ", comprising:
It responds trigger action of the user on the physical switch and the state of the corresponding flow card is switched to working condition.
6. flow card switching method according to claim 1, which is characterized in that cut by the state of the corresponding flow card
It changes to before working condition, further includes:
Control the mobile terminal screen display switching prompting message.
7. flow card switching method according to claim 1, which is characterized in that described " by the shape of the corresponding flow card
State is switched to working condition " after further include:
Judge whether the residual flow for the corresponding flow card for being currently at working condition is greater than predetermined threshold;
If the residual flow of the corresponding flow card is less than or equal to the predetermined threshold, controlling the mobile terminal sending includes
The warning message (display, sound) of residual flow.
8. flow card switching method according to claim 7, which is characterized in that further include:
Uplink data sending and downlink reception data to the mobile terminal are monitored, and it is described right to be calculated according to monitored results
Answer the used flow of flow card;
The residual flow according to the upper limit flow rate calculation of the used flow and the correspondence flow card.
9. flow card switching method according to claim 1, which is characterized in that the mobile terminal is applied to mobile communication
System, the method also includes:
The update signal update each flow card and the flow card of the reception from the mobile communication system are supported free
Corresponding relationship between flow application.
10. a kind of flow card switching device, which is characterized in that described applied to the mobile terminal for supporting at least two flow cards
Mobile terminal is previously stored with the corresponding relationship between the free flow application that each flow card and the flow card are supported, should
Device includes:
Identification module, the mobile terminal works as the application of front opening for identification;
Determining module, for determining the correspondence flow card of the current application according to the corresponding relationship;
Judgment module, whether the flow card for judging to be currently at working condition is the corresponding flow card;
Switching module, if the flow card for being currently at working condition is not the corresponding flow card, the switching module is used for will
The state of the corresponding flow card is switched to working condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810967714.8A CN109151748A (en) | 2018-08-23 | 2018-08-23 | Flow card switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810967714.8A CN109151748A (en) | 2018-08-23 | 2018-08-23 | Flow card switching method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109151748A true CN109151748A (en) | 2019-01-04 |
Family
ID=64791211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810967714.8A Pending CN109151748A (en) | 2018-08-23 | 2018-08-23 | Flow card switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151748A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149644A (en) * | 2019-04-02 | 2019-08-20 | 努比亚技术有限公司 | Terminal communication control method, terminal device and computer readable storage medium |
CN110677536A (en) * | 2019-09-29 | 2020-01-10 | 维沃移动通信有限公司 | Networking control method and electronic equipment |
CN111836320A (en) * | 2020-07-23 | 2020-10-27 | 闻泰通讯股份有限公司 | Control method and device for switching Sim cards, mobile terminal and storage medium |
CN112888028A (en) * | 2021-01-26 | 2021-06-01 | 北京树米网络科技有限公司 | Method and device for switching traffic service by switching life cycle state |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012034702A1 (en) * | 2010-09-16 | 2012-03-22 | Telefonica, S.A. | Method and radio station for fair aggregation of internet backhaul throughput using multiple access points |
CN106973376A (en) * | 2017-02-24 | 2017-07-21 | 上海与德信息技术有限公司 | Application program is selected to access the method and device of network |
CN108243414A (en) * | 2016-12-27 | 2018-07-03 | 北京金山云网络技术有限公司 | The method and device of network environment residing for a kind of determining terminal user |
CN108391025A (en) * | 2018-01-30 | 2018-08-10 | 努比亚技术有限公司 | A kind of network access management method, mobile terminal and computer readable storage medium |
-
2018
- 2018-08-23 CN CN201810967714.8A patent/CN109151748A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012034702A1 (en) * | 2010-09-16 | 2012-03-22 | Telefonica, S.A. | Method and radio station for fair aggregation of internet backhaul throughput using multiple access points |
CN108243414A (en) * | 2016-12-27 | 2018-07-03 | 北京金山云网络技术有限公司 | The method and device of network environment residing for a kind of determining terminal user |
CN106973376A (en) * | 2017-02-24 | 2017-07-21 | 上海与德信息技术有限公司 | Application program is selected to access the method and device of network |
CN108391025A (en) * | 2018-01-30 | 2018-08-10 | 努比亚技术有限公司 | A kind of network access management method, mobile terminal and computer readable storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149644A (en) * | 2019-04-02 | 2019-08-20 | 努比亚技术有限公司 | Terminal communication control method, terminal device and computer readable storage medium |
CN110677536A (en) * | 2019-09-29 | 2020-01-10 | 维沃移动通信有限公司 | Networking control method and electronic equipment |
CN111836320A (en) * | 2020-07-23 | 2020-10-27 | 闻泰通讯股份有限公司 | Control method and device for switching Sim cards, mobile terminal and storage medium |
CN111836320B (en) * | 2020-07-23 | 2023-08-18 | 闻泰通讯股份有限公司 | Sim card switching control method and device, mobile terminal and storage medium |
CN112888028A (en) * | 2021-01-26 | 2021-06-01 | 北京树米网络科技有限公司 | Method and device for switching traffic service by switching life cycle state |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151748A (en) | Flow card switching method and device | |
EP2503827B1 (en) | Method and device for selecting access point name | |
CN108632930B (en) | Network searching control method and device and mobile terminal | |
EP2608500B1 (en) | Mobile terminal and controlling method thereof | |
CN110493858A (en) | Reduce the method, device and mobile terminal of power consumption | |
CN105930020A (en) | Method and apparatus for function icons of management terminal application program | |
CN108920120B (en) | Information display control method and device | |
CN112565063B (en) | Message processing method and device and electronic equipment | |
CN102647515B (en) | Terminal state displaying control method and device | |
CN102917118A (en) | Terminal and task display method | |
CN104253872A (en) | Synchronous information updating method, system and terminal | |
CN105142184A (en) | Flow control method and electronic device | |
CN111831181A (en) | Application switching display method and device and electronic equipment | |
CN113301586A (en) | Network selection method and electronic equipment | |
CN108549575A (en) | Exit processing method, device, storage medium and the electronic equipment of split screen | |
EP3634037A1 (en) | Communication method, wearable device, server and system | |
CN103648047A (en) | Resource searching method and system of intelligent television | |
CN105653141A (en) | Message presentation control method and apparatus | |
CN113721936B (en) | Application management method, intelligent terminal, device and storage medium | |
CN112286554A (en) | Application program updating method and device, electronic equipment and readable storage medium | |
JP5704348B2 (en) | Mobile communication terminal, communication program, and information communication system | |
CN108182122B (en) | Application update reminding method and device, storage medium and server | |
CN108011860A (en) | A kind of method and device for handling broadcast message | |
CN111757040B (en) | Communication method and device | |
WO2020057613A1 (en) | Display control method for display screen, apparatus, device, and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |
|
RJ01 | Rejection of invention patent application after publication |