CN107846678A - The use control method and device of data traffic - Google Patents

The use control method and device of data traffic Download PDF

Info

Publication number
CN107846678A
CN107846678A CN201610833536.0A CN201610833536A CN107846678A CN 107846678 A CN107846678 A CN 107846678A CN 201610833536 A CN201610833536 A CN 201610833536A CN 107846678 A CN107846678 A CN 107846678A
Authority
CN
China
Prior art keywords
sim card
application program
data traffic
sorted
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610833536.0A
Other languages
Chinese (zh)
Inventor
文显琼
赵恒正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610833536.0A priority Critical patent/CN107846678A/en
Priority to PCT/CN2017/089008 priority patent/WO2018049859A1/en
Publication of CN107846678A publication Critical patent/CN107846678A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/803Application aware

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of use control method and device of data traffic, this method includes:Each application program in terminal is classified, and determines the flow information of each SIM card in terminal;The flow information of each SIM card is matched with each sorted application program, is each sorted application assigned SIM card, to control use of each sorted application program to the SIM card data traffic of distribution.The present invention realizes the data traffic reasonable employment to each SIM card in terminal, avoids rate from wasting.

Description

The use control method and device of data traffic
Technical field
The present invention relates to communication technical field, more particularly to a kind of use control method and device of quantity flow.
Background technology
In the prior art, the terminal such as double card double standby mobile phone easily concurrently there are following deficiency to the communication band of people: It is to belong to SIM card 1 to still fall within SIM card 2 that cell phone application, which cannot distinguish between currently used data traffic, in this way, causing cell phone application Tend to frequently also to stop or switch to even if of that month flow is exceeded using the data traffic wherein on a SIM card Another SIM card, cause the card flow excess to use, and other SIM card flow is largely remaining, until more than retention period and Reset, cause the data traffic of each SIM card in double card double standby mobile phone not used reasonably.
The content of the invention
It is a primary object of the present invention to propose a kind of use control method and device of data traffic, it is intended to realize terminal In each SIM card data traffic reasonable employment.
To achieve the above object, the use control method of a kind of data traffic provided by the invention, the data traffic Comprised the following steps using control method:
Each application program in terminal is classified, and determines the flow information of each SIM card in the terminal;
The flow information of each SIM card is matched with each sorted application program, is each sorted application program SIM card is distributed, to control use of each sorted application program to the SIM card data traffic of distribution.
Preferably, it is described by each SIM after each application program is classified according to application type to the terminal The flow information of card is matched with each sorted application program, is each sorted application assigned SIM card, with control The step of use of each sorted application program to the SIM card data traffic of distribution, includes:
It is grouped each according to the sorted application program of application type, and according to group result and each SIM card Flow information is each according to the sorted application assigned SIM card of application type;
Associate it is each according to the sorted application program of application type and its SIM card of distribution, it is each according to using class to control Use of the sorted application program of type to the SIM card data traffic of distribution.
Preferably, it is described by each institute after each application program is classified according to flow use information to the terminal The flow information for stating SIM card is matched with each sorted application program, is each sorted application assigned SIM card, Included with controlling the step of use of each sorted application program to the SIM card data traffic of distribution:
It is ranked up each according to the sorted application program of flow use information, according to ranking results and each SIM card Flow information to be each according to the sorted application assigned SIM card of flow use information;
Associate it is each according to the sorted application program of flow use information and its SIM card of distribution, it is each according to stream to control Measure use of the sorted application program of use information to the SIM card data traffic of distribution.
Preferably, the flow information by each SIM card is matched with each sorted application program, is each point Application assigned SIM card after class, to control each sorted application program using to the SIM card data traffic of distribution After step, the use control method of the data traffic also includes:
When running application program or the application program enters row data communication, the SIM of the application program association is obtained Card;
Judge currently to enter row data communication SIM card whether be application program association SIM card;
When the SIM card for currently entering row data communication is not the SIM card of the application program association, data will be currently carried out The SIM card of communication switches to the SIM card of the application program association.
Preferably, the flow information by each SIM card is matched with each sorted application program, is each point Application assigned SIM card after class, to control each sorted application program using to the SIM card data traffic of distribution After step, the use control method of the data traffic also includes:
When running the application program, real-time or timing acquisition application program data traffic usage amount;
Judge whether the data traffic usage amount exceedes preset flow threshold value corresponding to the application program;
When the data traffic usage amount exceedes preset flow threshold value corresponding to the application program, switch the application The SIM card of program association.
In addition, to achieve the above object, the present invention also provides a kind of use control device of data traffic, the data flow Amount is included using control device:
Sort module, for each application program in terminal to be classified, and determine the flow of each SIM card in the terminal Information;
Distribute module, it is each classification for the flow information of each SIM card to be matched with each sorted application program Application assigned SIM card afterwards, to control use of each sorted application program to the SIM card data traffic of distribution.
Preferably, after each application program is classified according to application type to the terminal, the distribute module bag Include:
First allocation unit, for being grouped each according to the sorted application program of application type, and according to packet As a result and each SIM card flow information to be each according to the sorted application assigned SIM card of application type;
First associative cell, it is each according to the sorted application program of application type and its SIM card of distribution for associating, with Control each according to use of the sorted application program of application type to the SIM card data traffic of distribution.
Preferably, after each application program is classified according to flow use information to the terminal, the distribution mould Block also includes:
Second allocation unit, for being ranked up each according to the sorted application program of flow use information, according to row The flow information of sequence result and each SIM card is each according to the sorted application assigned SIM card of flow use information;
Second associative cell, it is each according to the sorted application program of flow use information and its SIM of distribution for associating Card, it is each according to use of the sorted application program of flow use information to the SIM card data traffic of distribution to control.
Preferably, it is characterised in that the data traffic is also included using control device:
First acquisition module, for when running application program or the application program and entering row data communication, described in acquisition The SIM card of application program association;
First judge module, whether the SIM card for judging currently to enter row data communication is what the application program associated SIM card;
First handover module, for not being the SIM card of the application program association in the SIM card for currently entering row data communication When, the SIM card for currently entering row data communication is switched to the SIM card of application program association.
Preferably, second distribute module includes:
Second acquisition module, for when running the application program, in real time or timing acquisition application program data flow Measure usage amount;
Second judge module, preset for judging whether the data traffic usage amount exceedes corresponding to the application program Flow threshold;
Second handover module, for exceeding preset flow threshold corresponding to the application program in the data traffic usage amount During value, switch the SIM card of the application program association.
The present invention determines the flow letter of each SIM card in the terminal by the way that each application program in terminal is classified Breath, the flow information of each SIM card is matched with each sorted application program, is each sorted application assigned SIM card, to control use of each sorted application program to the SIM card data traffic of distribution.Due to this is applied into journey in advance Sequence associates with certain SIM card in the terminal, when the application is running, the SIM card preferentially associated using the application program Data traffic, realize the data traffic reasonable employment to each SIM card in the terminal.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the first embodiment using control method of data traffic of the present invention;
Fig. 2 be Fig. 1 of the present invention shown in first embodiment in step S30 refinement step schematic flow sheet;
Fig. 3 be Fig. 1 of the present invention shown in first embodiment in step S30 another refinement step schematic flow sheet;
Fig. 4 is the schematic flow sheet of the second embodiment using control method of data traffic of the present invention;
Fig. 5 is the schematic flow sheet of the 3rd embodiment using control method of data traffic of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the first embodiment using control device of data traffic of the present invention;
Fig. 7 be data traffic of the present invention the second embodiment using control device in distribute module refinement functional module Schematic diagram;
Fig. 8 be data traffic of the present invention the 3rd embodiment using control device in distribute module another refinement function Module diagram;
Fig. 9 is the high-level schematic functional block diagram of the 3rd embodiment using control device of data traffic of the present invention;
Figure 10 is the high-level schematic functional block diagram of the fourth embodiment using control device of data traffic of the present invention;
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Based on above mentioned problem, the present invention provides a kind of use control method of data traffic.
Reference picture 1, Fig. 1 are the schematic flow sheet of the first embodiment using control method of data traffic of the present invention.
In the present embodiment, the use control method of the data traffic includes:
Step S10, each application program in terminal is classified, and determine the flow information of each SIM card in terminal;
In the present embodiment, each application program in terminal is classified, can answering according to each application program Classified with type, can also be according to each application such as the application program of Online Music class or the application program of social class The flow use information of program is classified, as flow consumes larger application program.And determined by information on services in terminal The flow information of each SIM card, wherein, the flow information is per flow information of the SIM card within the current charge cycle, the i.e. stream Recorded in amount information per flow (original flow or residual flow) of the SIM card within the current charge cycle.
Step S20, the flow information of each SIM card is matched with each sorted application program, be each sorted Application assigned SIM card, to control use of each sorted application program to the SIM card data traffic of distribution.
Classified by each application program in terminal, and determined in the terminal after the flow information of each SIM card, by each point Application program after class matches one by one with the flow information of each SIM card, is SIM corresponding to each sorted application assigned Card, the access-in point information of the id information of each sorted application program and its SIM card of distribution is bound, and generates corresponding close System, the id information after binding, access-in point information and corresponding relation are recorded in the list of matches of terminal.Divide when running some Application program after class, the id information of the sorted application program is obtained, connect by tabling look-up to obtain with what the id information associated Access point information, the SIM card with the sorted application matches is obtained, so that the sorted application program preferentially makes With the data traffic of the SIM card of the matching.Wherein, the management software of the terminal is according to the id information of each application program and each The access-in point information generation list of matches of individual SIM card, the corresponding relation of each application program and each SIM card is recorded respectively.Example Such as, application program A is defined as to the application program of Online Music type, and gets the initial data of the SIM card 1 of user mobile phone Flow is bigger, then associates application program A with the SIM card 1 so that application program A preferentially uses the number of the SIM card 1 According to flow.
The present embodiment is classified each application program in terminal, and determines the flow information of each SIM card in the terminal, The flow information of each SIM card is matched with each sorted application program, is each sorted application assigned SIM Card, to control use of each sorted application program to the SIM card data traffic of distribution.Due in advance by the application program with Certain SIM card association in the terminal, when the application is running, the number of the SIM card preferentially associated using the application program According to flow, the data traffic reasonable employment to each SIM card in the terminal is realized.
Further, Fig. 2 is refer to, is the schematic flow sheet of step S20 refinement step in first embodiment of the invention, Step S20 refinement step includes:
Step S21, it is grouped each according to the sorted application program of application type, and according to group result and respectively The flow information of SIM card is each according to the sorted application assigned SIM card of application type;
In the present embodiment, need to be by each application before larger each application program being consumed in service data flow Program associates with each SIM card in the terminal respectively.When by each application program respectively with each SIM card in the terminal During association, judge whether each application program is first secondary association SIM card, it is determined that the application program is first secondary association During SIM card, the application type of each application program is obtained, such as video application, Online Music application program or online trip Play application program, and flow information corresponding to each SIM card in the terminal is obtained by servicing short breath, for example, short by servicing Breath determines that the total data flow in the first SIM card current charge cycle in the terminal is 2G.
After the application type of each application program is got, each application program is grouped according to application type, For example, two video applications of the A in the plurality of SIM cards terminal and B are divided into one group, by two game on line application programs point It is each application assigned SIM card according to group result and each SIM card flow information into one group, if for example, first The total data flow in the current charge cycle of SIM card is 2G, and the total data flow in the current charge cycle of the second SIM card is 2.5G, then the first SIM card is distributed for A video applications, the second SIM card is distributed for B video applications, if or first The total data flow in the current charge cycle of SIM card is 2.5G, and the total data flow in the current charge cycle of the second SIM card is 1G, then all distribute the first SIM card for two video applications of A and B.
It should be noted that it is each application assigned SIM according to the flow information of group result and each SIM card Fixture body includes:The flow information of each application program after packet and each SIM card got is included in plurality of SIM cards On terminal interface, prompt that user is respectively each application assigned SIM card, or, it is automatic to apply journey for each after packet Sequence distributes SIM card, and allocation result is included on plurality of SIM cards terminal interface.
Step S22, association is each according to the sorted application program of application type and its SIM card of distribution, to control each According to use of the sorted application program of application type to the SIM card data traffic of distribution.
After for each sorted application assigned SIM card according to application type, user is prompted by each application program And its SIM card association of distribution, when the confirmation message for getting user and associating each application program and its SIM card of distribution When, the access-in point information of the id information of each application program and its SIM card of distribution is bound, by the id information after binding It is recorded in access-in point information in the list of matches of plurality of SIM cards terminal.Wherein, the SIM card each application program distributed with it After association, each application program after being associated.
The present embodiment by being grouped each according to the sorted application program of application type, and according to group result with And the flow information of each SIM card is each each according to using class according to the sorted application assigned SIM card of application type, association The sorted application program of type and its SIM card of distribution, with control it is each according to the sorted application program of application type to distribution SIM card data traffic use.Because the application type by obtaining each application program associates SIM card, even if the terminal In each application program be first secondary association SIM card, can also realize the data traffic reasonable employment to each SIM card in the terminal.
Further, Fig. 3 is refer to, is that the flow of step S20 another refinement step in first embodiment of the invention is shown It is intended to, step S20 another refinement step includes:
Step S23, be ranked up each according to the sorted application program of flow use information, according to ranking results and The flow information of each SIM card is each according to the sorted application assigned SIM card of flow use information;
Step S24, association is each according to the sorted application program of flow use information and its SIM card of distribution, with control Respectively according to use of the sorted application program of flow use information to the SIM card data traffic of distribution.
In the present embodiment, need to be by each application before larger each application program being consumed in service data flow Program associates with each SIM card in the terminal respectively.When by each application program respectively with each SIM card in the terminal During association, judge whether each application program is first secondary association SIM card, it is determined that the application program is not to close for the first time When joining SIM card, the flow use information of each application program is counted, that is, counts each application program to SIM card data traffic Actual use amount, and obtain flow information corresponding to each SIM card in the terminal by servicing short breath.Getting each application After the flow use information of program and the flow information of each SIM card, according to the flow use information and the flow information Larger each application assigned SIM card is consumed for flow, and associates each application program and its SIM card of distribution.Wherein, Flow is consumed after larger each application program associates with the SIM card that it is distributed, each application program after being associated.
If, will be with it is understood that some application program in the terminal has currently been associated with a certain SIM card The grey mark application program.
It is ranked up each according to the sorted application program of flow use information, each application program after sequence is entered Row packet, the application program after display packet, for example, the application program that will be ordered as 1,3,5 is divided into first group, will be ordered as 2,4,6 application program is divided into second group, is each application program according to the flow information of group result and each SIM card SIM card is distributed, if for example, the total data flow in the current charge cycle of the first SIM card is 2.5G, the current meter of the second SIM card The total data flow for taking the cycle is 2G, then to be ordered as 1 SIM card of application assigned first, to be ordered as 2 application program Distribute the second SIM card, if or the total data flow in current charge cycle of the first SIM card is 2.5G, the second SIM card it is current The total data flow of metering period is 1G, then all distributes first for the application program for being ordered as 1 and the application program for being ordered as 2 SIM card.
It should be noted that it is each application assigned SIM according to the flow information of group result and each SIM card Fixture body includes:The flow information of each application program after packet and each SIM card got is included in plurality of SIM cards On terminal interface, prompt that user is respectively each application assigned SIM card, or, it is automatic to apply journey for each after packet Sequence distributes SIM card, and allocation result is included on plurality of SIM cards terminal interface.
The present embodiment by each according to the sorted application program of flow use information by being ranked up, according to ranking results And the flow information of each SIM card is each according to the sorted application assigned SIM card of flow use information, associates each basis The sorted application program of flow use information and its SIM card of distribution, it is each sorted according to flow use information to control Use of the application program to the SIM card data traffic of distribution.Due to when the non-just secondary association SIM card of each application program in the terminal When, the flow use information by obtaining each application program can determine that the flow consumption of each application program, and by each The flow use information association SIM card of individual application program, realizes the data traffic reasonable employment to each SIM card in the terminal.
Further, based on above-mentioned first embodiment, Fig. 4 is refer to, proposes the use controlling party of data traffic of the present invention The schematic flow sheet of the second embodiment of method, in this second embodiment, after S20, the use controlling party of the data traffic Method also includes:
Step S30, when running application program or application program enters row data communication, obtain the SIM of application program association Card;
In the present embodiment, in advance by the data traffic in terminal consume larger each application program respectively with the terminal In the association of each SIM card, for example, APP1 associate with the first SIM card in the double card double standby mobile phone, and APP2 and the double card pair The second SIM card association in mobile phone is treated, meanwhile, the management software of the terminal is according to the id information of each application program and each The access-in point information generation list of matches of SIM card, the corresponding relation of each application program and each SIM card is recorded respectively.Work as end End obtains the id information of the application program, passes through lookup when running application program or application program enters row data communication With the corresponding relation in list, the access-in point information of the SIM card matched with the id information of the application program is obtained, should be answered with obtaining The SIM card associated with program.Wherein, the SIM card quantity in the terminal is more than or equal to 2.
Step S40, judge currently enter row data communication SIM card whether be application program association SIM card;
When running the application program, the SIM card that the terminal is currently entering row data communication is obtained, and it is current to obtain this Enter the access-in point information of the SIM card of row data communication, judge the id information of the application program with deserving by list of matches Whether the access-in point information of the preceding SIM card for entering row data communication matches, and then judges that this currently enters row data communication SIM card whether be the application program association SIM card.
Step S50, when the SIM card for currently entering row data communication is not the SIM card of application program association, will currently it carry out The SIM card of data communication switches to the SIM card that application program associates.
The access-in point information for currently entering with this SIM card of row data communication when the id information of the application program is inconsistent When, show that the preceding SIM card for entering row data communication is not SIM card, this is currently being entered to the SIM card of row data communication Data traffic switch is closed, and the data traffic switch of the SIM card of application program association is opened, so as to which this currently carried out The SIM card of data communication switches to the SIM card that application program associates.
The present embodiment is by when running application program or application program enters row data communication, obtaining application program association SIM card, judge currently enter row data communication SIM card whether be application program association SIM card, currently entering row data communication SIM card be not application program association SIM card when, switch to application program to associate the SIM card for currently entering row data communication SIM card.Due in advance associating the application program with certain SIM card in the terminal, when the application is running, preferentially The data traffic of the SIM card associated using the application program, realize the data traffic reasonable employment to each SIM card in the terminal.
Further, based on above-mentioned first embodiment, Fig. 5 is refer to, proposes the use controlling party of data traffic of the present invention The schematic flow sheet of the 3rd embodiment of method, in the 3rd embodiment, after S20, the use controlling party of the data traffic Method also includes:
Step S60, when running application program, real-time or timing acquisition application program data traffic usage amount;
Step S70, judges whether data traffic usage amount exceedes preset flow threshold value corresponding to application program;
In the present embodiment, when running the application program, in real time or timing is by obtaining the data flow of application program Usage amount is measured, judges whether the data traffic usage amount exceedes preset flow threshold value corresponding to the application program.Wherein, this is default Flow threshold can be that user oneself sets or by terminal by being calculated.
Step S80, when data traffic usage amount exceedes preset flow threshold value corresponding to application program, switch application program The SIM card of association.
When the data traffic usage amount of the application program exceedes preset flow threshold value, application program association is closed The data traffic switch of SIM card, the data traffic switch of the second SIM card in the terminal is opened, stops using the application program The data traffic of the SIM card of association, switch to the data traffic using the second SIM card.Meanwhile in the data flow of the application program When amount usage amount corresponds to preset flow threshold value more than the application program, prompt message is pushed, to remind user.
The present embodiment by when running application program, in real time or timing acquisition application program data traffic usage amount, Judge whether data traffic usage amount exceedes preset flow threshold value corresponding to application program, exceed application in data traffic usage amount Corresponding to program during preset flow threshold value, the SIM card of switching application program association.Due in advance by the application program and the terminal In the association of certain SIM card, and pre-set preset flow threshold value corresponding to the application program, when the application is running, The data traffic usage amount of the SIM card of real-time or timing acquisition application program association, in the number of the SIM card of application program association Exceed the SIM card for during preset flow threshold value, switching application program association corresponding to the application program according to flow usage amount, realize To the data traffic reasonable employment of each SIM card in the terminal.
Control device is used the present invention further provides a kind of data traffic.
Reference picture 6, Fig. 6 are the functional module signal of the first embodiment using control device of data traffic of the present invention Figure.
In the present embodiment, the use control device of the data traffic includes:Sort module 10 and distribute module 20.
The sort module 10, for each application program in terminal to be classified, and determine the stream of each SIM card in terminal Measure information;
In the present embodiment, sort module 10 is classified to each application program in terminal, can be answered according to each Classified with the application type of program, can also be by such as the application program of Online Music class or the application program of social class Classified according to the flow use information of each application program, as flow consumes larger application program.And pass through information on services The flow information of each SIM card in terminal is determined, wherein, the flow information is per flow of the SIM card within the current charge cycle Recorded in information, the i.e. flow information per flow (original flow or residual stream of the SIM card within the current charge cycle Amount).
The distribute module 20, for the flow information of each SIM card to be matched with each sorted application program, it is Each sorted application assigned SIM card, to control each sorted application program to make the SIM card data traffic of distribution With.
Classified by each application program in terminal, and determined in the terminal after the flow information of each SIM card, distribute mould Block 20 matches each sorted application program with the flow information of each SIM card one by one, is each sorted application assigned Corresponding SIM card, the access-in point information of the id information of each sorted application program and its SIM card of distribution is bound, Corresponding relation is generated, the id information after binding, access-in point information and corresponding relation are recorded in the list of matches of terminal.When Some sorted application program is run, obtains the id information of the sorted application program, is believed by tabling look-up to obtain with the ID The access-in point information of association is ceased, the SIM card with the sorted application matches is obtained, so that the sorted application Process priority uses the data traffic of the SIM card of the matching.Wherein, the management software of the terminal is according to the ID of each application program The access-in point information of information and each SIM card generates list of matches, records pair of each application program and each SIM card respectively It should be related to.For example, application program A to be defined as to the application program of Online Music type, and get the SIM card 1 of user mobile phone Initial data flow it is bigger, then application program A is associated with the SIM card 1 so that application program A preferentially using should The data traffic of SIM card 1.
The present embodiment sort module 10 is classified each application program in terminal, and determines each SIM card in the terminal Flow information, distribute module 20 is matched the flow information of each SIM card with each sorted application program, is each classification Application assigned SIM card afterwards, to control use of each sorted application program to the SIM card data traffic of distribution.By The application program is associated with certain SIM card in the terminal in advance, when the application is running, preferentially using the application The data traffic of the SIM card of program association, realizes the data traffic reasonable employment to each SIM card in the terminal.
Further, based on first embodiment, the second embodiment using control device of data traffic of the present invention is proposed, In the present embodiment, reference picture 7, the distribute module 20 include the first allocation unit 21 and the first associative cell 22.
First allocation unit 21, for being grouped each according to the sorted application program of application type, and root It is each according to the sorted application assigned SIM card of application type according to the flow information of group result and each SIM card;
In the present embodiment, need to be by each application before larger each application program being consumed in service data flow Program associates with each SIM card in the terminal respectively.When by each application program respectively with each SIM card in the terminal During association, judge whether each application program is first secondary association SIM card, it is determined that the application program is first secondary association During SIM card, the application type of each application program is obtained, such as video application, Online Music application program or online trip Play application program, and flow information corresponding to each SIM card in the terminal is obtained by servicing short breath, for example, short by servicing Breath determines that the total data flow in the first SIM card current charge cycle in the terminal is 2G.
After the application type of each application program is got, the first allocation unit 21 is according to application type to each application Program is grouped, for example, two video applications of the A in the plurality of SIM cards terminal and B are divided into one group, it is online by two Game application is divided into one group, is each application assigned SIM according to group result and each SIM card flow information Card, if for example, the total data flow in the current charge cycle of the first SIM card is 2G, the current charge cycle of the second SIM card it is total Data traffic is 2.5G, then distributes the first SIM card for A video applications, and the second SIM card is distributed for B video applications, or If the total data flow in the current charge cycle of the SIM card of person first is 2.5G, the total data in the current charge cycle of the second SIM card Flow is 1G, then all distributes the first SIM card for two video applications of A and B.
It should be noted that it is each application assigned SIM according to the flow information of group result and each SIM card Fixture body includes:The flow information of each application program after packet and each SIM card got is included in plurality of SIM cards On terminal interface, prompt that user is respectively each application assigned SIM card, or, it is automatic to apply journey for each after packet Sequence distributes SIM card, and allocation result is included on plurality of SIM cards terminal interface.
First associative cell 22, it is each according to the sorted application program of application type and its distribution for associating SIM card, it is each according to use of the sorted application program of application type to the SIM card data traffic of distribution to control.
After for each sorted application assigned SIM card according to application type, the first associative cell 22 prompting user Each application program and its SIM card of distribution are associated, closed each application program and its SIM card of distribution when getting user During the confirmation message of connection, the access-in point information of the id information of each application program and its SIM card of distribution is bound, will be tied up Id information and access-in point information after fixed are recorded in the list of matches of plurality of SIM cards terminal.Wherein, by each application program and its After the SIM card association of distribution, each application program after being associated.
The present embodiment is grouped by the first allocation unit 21 by each according to the sorted application program of application type, and According to the flow information of group result and each SIM card to be each according to the sorted application assigned SIM card of application type, the One associative cell 22 associate it is each according to the sorted application program of application type and its SIM card of distribution, to control each basis should With use of the application program after classification of type to the SIM card data traffic of distribution.Due to by obtaining each application program Application type associates SIM card, even if each application program is first secondary association SIM card in the terminal, can also realize in the terminal The data traffic reasonable employment of each SIM card.
Further, based on first embodiment, the 3rd embodiment using control device of data traffic of the present invention is proposed, In the present embodiment, reference picture 8, the distribute module 20 include the second allocation unit 23 and the second associative cell 24.
Second allocation unit 23, for being ranked up each according to the sorted application program of flow use information, It is each according to the sorted application assigned SIM of flow use information according to ranking results and the flow information of each SIM card Card;
Second associative cell 24, it is each according to the sorted application program of flow use information and its distribution for associating SIM card, it is each according to use of the sorted application program of flow use information to the SIM card data traffic of distribution to control.
In the present embodiment, need to be by each application before larger each application program being consumed in service data flow Program associates with each SIM card in the terminal respectively.When by each application program respectively with each SIM card in the terminal During association, judge whether each application program is first secondary association SIM card, it is determined that the application program is not to close for the first time When joining SIM card, the flow use information of each application program is counted, that is, counts each application program to SIM card data traffic Actual use amount, and obtain flow information corresponding to each SIM card in the terminal by servicing short breath.Getting each application After the flow use information of program and the flow information of each SIM card, according to the flow use information and the flow information Larger each application assigned SIM card is consumed for flow, and associates each application program and its SIM card of distribution.Wherein, Flow is consumed after larger each application program associates with the SIM card that it is distributed, each application program after being associated.
If, will be with it is understood that some application program in the terminal has currently been associated with a certain SIM card The grey mark application program.
Second allocation unit 23 is ranked up each according to the sorted application program of flow use information, after sequence Each application program is grouped, and the application program after display packet, is divided into for example, 1,3,5 application program will be ordered as First group, the application program that will be ordered as 2,4,6 is divided into second group, and the second associative cell 24 is according to group result and each The flow information of SIM card is each application assigned SIM card, if for example, the total data in the current charge cycle of the first SIM card Flow is 2.5G, and the total data flow in the current charge cycle of the second SIM card is 2G, then to be ordered as 1 application assigned First SIM card, to be ordered as 2 SIM card of application assigned second, if or the first SIM card the current charge cycle it is total Data traffic is 2.5G, and the total data flow in the current charge cycle of the second SIM card is 1G, then to be ordered as 1 application program The first SIM card is all distributed with the application program for being ordered as 2.
It should be noted that it is each application assigned SIM according to the flow information of group result and each SIM card Fixture body includes:The flow information of each application program after packet and each SIM card got is included in plurality of SIM cards On terminal interface, prompt that user is respectively each application assigned SIM card, or, it is automatic to apply journey for each after packet Sequence distributes SIM card, and allocation result is included on plurality of SIM cards terminal interface.
The present embodiment by each according to the sorted application program of flow use information by being ranked up, according to ranking results And the flow information of each SIM card is each according to the sorted application assigned SIM card of flow use information, associates each basis The sorted application program of flow use information and its SIM card of distribution, it is each sorted according to flow use information to control Use of the application program to the SIM card data traffic of distribution.Due to when the non-just secondary association SIM card of each application program in the terminal When, the flow use information by obtaining each application program can determine that the flow consumption of each application program, and by each The flow use information association SIM card of individual application program, realizes the data traffic reasonable employment to each SIM card in the terminal.
Further, based on any embodiment, the fourth embodiment using control device of data traffic of the present invention is proposed, In the present embodiment, reference picture 9, the data traffic are also included using control device:First acquisition module 30, first judges The handover module 50 of module 40 and first.
First acquisition module 30, for when running application program or application program enters row data communication, obtaining should The SIM card associated with program;
In the present embodiment, in advance by the data traffic in terminal consume larger each application program respectively with the terminal In the association of each SIM card, for example, APP1 associate with the first SIM card in the double card double standby mobile phone, and APP2 and the double card pair The second SIM card association in mobile phone is treated, meanwhile, the management software of the terminal is according to the id information of each application program and each The access-in point information generation list of matches of SIM card, the corresponding relation of each application program and each SIM card is recorded respectively.Work as end When running application program or application program enters row data communication, the first acquisition module 30 obtains the ID letters of the application program at end Breath, by searching the corresponding relation in list of matches, obtain the access point letter of the SIM card matched with the id information of the application program Breath, to obtain the SIM card of application program association.Wherein, the SIM card quantity in the terminal is more than or equal to 2.
First judge module 40, whether the SIM card for judging currently to enter row data communication is application program association SIM card;
When running the application program, the SIM card that the terminal is currently entering row data communication is obtained, and it is current to obtain this Enter the access-in point information of the SIM card of row data communication, judge the id information of the application program with deserving by list of matches Whether the access-in point information of the preceding SIM card for entering row data communication matches, and then judges to deserve by the first judge module 40 The preceding SIM card for entering row data communication whether be the application program association SIM card.
First handover module 50, for not being the SIM of application program association in the SIM card for currently entering row data communication During card, the SIM card for currently entering row data communication is switched to the SIM card of application program association.
The access-in point information for currently entering with this SIM card of row data communication when the id information of the application program is inconsistent When, it is not SIM card to show the preceding SIM card for entering row data communication, and this is currently entered line number by the first handover module 50 Switch and close according to the data traffic of the SIM card of communication, open the data traffic switch of the SIM card of application program association, so as to This is currently being entered to the SIM card that the SIM card of row data communication switches to application program to associate.
The present embodiment is by when running application program or application program enters row data communication, obtaining application program association SIM card, judge currently enter row data communication SIM card whether be application program association SIM card, currently entering row data communication SIM card be not application program association SIM card when, switch to application program to associate the SIM card for currently entering row data communication SIM card.Due in advance associating the application program with certain SIM card in the terminal, when the application is running, preferentially The data traffic of the SIM card associated using the application program, realize the data traffic reasonable employment to each SIM card in the terminal.
Further, based on the first to the 3rd any embodiment, propose data traffic of the present invention using control device 5th embodiment, in the present embodiment, reference picture 10, the data traffic are also included using control device:Second obtains mould Block 60, the second judge module 70 and the second handover module 80.
Second acquisition module 60, for when running application program, in real time or timing acquisition application program data Flow usage amount;
Second judge module 70, stream is preset corresponding to application program for judging whether data traffic usage amount exceedes Measure threshold value;
In the present embodiment, when running the application program, the second acquisition module 60 is in real time or timing should by obtaining With the data traffic usage amount of program, the second judge module 70 judges whether the data traffic usage amount exceedes the application program pair The preset flow threshold value answered.Wherein, the preset flow threshold value can be user oneself setting or pass through meter by terminal Obtain.
Second handover module 80, for exceeding preset flow threshold value corresponding to application program in data traffic usage amount When, the SIM card of switching application program association.
When the data traffic usage amount of the application program exceedes preset flow threshold value, application program association is closed The data traffic switch of SIM card, the data traffic switch of the second SIM card in the terminal is opened, stops using the application program The data traffic of the SIM card of association, the second handover module 80 switch to the data traffic using the second SIM card.Meanwhile should at this When corresponding to preset flow threshold value more than the application program with the data traffic usage amount of program, prompt message is pushed, to remind use Family.
The present embodiment by when running application program, in real time or timing acquisition application program data traffic usage amount, Judge whether data traffic usage amount exceedes preset flow threshold value corresponding to application program, exceed application in data traffic usage amount Corresponding to program during preset flow threshold value, the SIM card of switching application program association.Due in advance by the application program and the terminal In the association of certain SIM card, and pre-set preset flow threshold value corresponding to the application program, when the application is running, The data traffic usage amount of the SIM card of real-time or timing acquisition application program association, in the number of the SIM card of application program association Exceed the SIM card for during preset flow threshold value, switching application program association corresponding to the application program according to flow usage amount, realize To the data traffic reasonable employment of each SIM card in the terminal.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. use control method of data traffic, it is characterised in that the use control method of the data traffic include with Lower step:
    Each application program in terminal is classified, and determines the flow information of each SIM card in the terminal;
    The flow information of each SIM card is matched with each sorted application program, is each sorted application assigned SIM card, to control use of each sorted application program to the SIM card data traffic of distribution.
  2. 2. the use control method of data traffic as claimed in claim 1, it is characterised in that according to application type to described After each application program is classified in terminal, the flow information by each SIM card enters with each sorted application program Row matching, is each sorted application assigned SIM card, to control SIM card number of each sorted application program to distribution According to flow use the step of include:
    It is grouped each according to the sorted application program of application type, and according to the flow of group result and each SIM card Information is each according to the sorted application assigned SIM card of application type;
    Associate it is each according to the sorted application program of application type and its SIM card of distribution, it is each according to application type point to control The use of application program after class to the SIM card data traffic of distribution.
  3. 3. the use control method of data traffic as claimed in claim 1, it is characterised in that according to flow use information pair After each application program is classified in the terminal, the flow information by each SIM card sorted applies journey with each Sequence is matched, and is each sorted application assigned SIM card, to control SIM of each sorted application program to distribution The step of use of card data traffic, includes:
    It is ranked up each according to the sorted application program of flow use information, according to ranking results and the stream of each SIM card It is each according to the sorted application assigned SIM card of flow use information to measure information;
    Associate each according to the sorted application program of flow use information and its SIM card of distribution, each made with controlling according to flow With use of the application program after information classification to the SIM card data traffic of distribution.
  4. 4. the use control method of the data traffic as described in any one of claims 1 to 3, it is characterised in that described by each institute The flow information for stating SIM card is matched with each sorted application program, is each sorted application assigned SIM card, After the step of to control use of each sorted application program to the SIM card data traffic of distribution, the data traffic Also included using control method:
    When running application program or the application program enters row data communication, the SIM card of the application program association is obtained;
    Judge currently to enter row data communication SIM card whether be application program association SIM card;
    When the SIM card for currently entering row data communication is not the SIM card of the application program association, it will currently enter row data communication SIM card switch to the SIM card of application program association.
  5. 5. the use control method of the data traffic as described in any one of claims 1 to 3, it is characterised in that described by each institute The flow information for stating SIM card is matched with each sorted application program, is each sorted application assigned SIM card, After the step of to control use of each sorted application program to the SIM card data traffic of distribution, the data traffic Also included using control method:
    When running the application program, real-time or timing acquisition application program data traffic usage amount;
    Judge whether the data traffic usage amount exceedes preset flow threshold value corresponding to the application program;
    When the data traffic usage amount exceedes preset flow threshold value corresponding to the application program, switch the application program The SIM card of association.
  6. 6. a kind of data traffic uses control device, it is characterised in that the data traffic is included using control device:
    Sort module, for each application program in terminal to be classified, and determine the flow letter of each SIM card in the terminal Breath;
    Distribute module, it is each sorted for the flow information of each SIM card to be matched with each sorted application program Application assigned SIM card, to control use of each sorted application program to the SIM card data traffic of distribution.
  7. 7. data traffic as claimed in claim 6 use control device, it is characterised in that according to application type to described After each application program is classified in terminal, the distribute module includes:
    First allocation unit, for being grouped each according to the sorted application program of application type, and according to group result And the flow information of each SIM card is each according to the sorted application assigned SIM card of application type;
    First associative cell, it is each according to the sorted application program of application type and its SIM card of distribution for associating, with control Respectively according to use of the sorted application program of application type to the SIM card data traffic of distribution.
  8. 8. data traffic as claimed in claim 6 uses control device, it is characterised in that according to flow use information pair After each application program is classified in the terminal, the distribute module also includes:
    Second allocation unit, for being ranked up each according to the sorted application program of flow use information, tied according to sequence The flow information of fruit and each SIM card is each according to the sorted application assigned SIM card of flow use information;
    Second associative cell, it is each according to the sorted application program of flow use information and its SIM card of distribution for associating, with Control each according to use of the sorted application program of flow use information to the SIM card data traffic of distribution.
  9. 9. the use control device of the data traffic as described in any one of claim 6 to 8, it is characterised in that the data flow Amount is also included using control device:
    First acquisition module, for when running application program or the application program enters row data communication, obtaining the application The SIM card of program association;
    First judge module, for judge currently to enter row data communication SIM card whether be the application program association SIM Card;
    First handover module, during for not being the SIM card of the application program association in the SIM card for currently entering row data communication, The SIM card for currently entering row data communication is switched to the SIM card of the application program association.
  10. 10. the use control device of the data traffic as described in any one of claim 6 to 8, it is characterised in that described second point Include with module:
    Second acquisition module, for when running the application program, real-time or timing acquisition application program data traffic to make Dosage;
    Second judge module, for judging whether the data traffic usage amount exceedes preset flow corresponding to the application program Threshold value;
    Second handover module, for exceeding preset flow threshold value corresponding to the application program in the data traffic usage amount When, switch the SIM card that the application program associates.
CN201610833536.0A 2016-09-19 2016-09-19 The use control method and device of data traffic Pending CN107846678A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610833536.0A CN107846678A (en) 2016-09-19 2016-09-19 The use control method and device of data traffic
PCT/CN2017/089008 WO2018049859A1 (en) 2016-09-19 2017-06-19 Method and device for controlling usage of data allowance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610833536.0A CN107846678A (en) 2016-09-19 2016-09-19 The use control method and device of data traffic

Publications (1)

Publication Number Publication Date
CN107846678A true CN107846678A (en) 2018-03-27

Family

ID=61618949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610833536.0A Pending CN107846678A (en) 2016-09-19 2016-09-19 The use control method and device of data traffic

Country Status (2)

Country Link
CN (1) CN107846678A (en)
WO (1) WO2018049859A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833711A (en) * 2018-06-26 2018-11-16 努比亚技术有限公司 A kind of network environment regulation method, equipment and computer readable storage medium
CN108901015A (en) * 2018-07-03 2018-11-27 中国联合网络通信集团有限公司 Terminal communicating method, terminal and storage medium
CN109151162A (en) * 2018-06-27 2019-01-04 努比亚技术有限公司 A kind of multi-panel screen interaction control method, equipment and computer readable storage medium
WO2020024938A1 (en) * 2018-07-31 2020-02-06 中兴通讯股份有限公司 Data traffic processing method and terminal, and computer storage medium
CN111132132A (en) * 2019-12-26 2020-05-08 珠海格力电器股份有限公司 Traffic management method and device and terminal equipment
WO2021258287A1 (en) * 2020-06-23 2021-12-30 Qualcomm Incorporated Dynamically determining the designated data service (dds) component for improved selection of slicing resources
WO2022007902A1 (en) * 2020-07-09 2022-01-13 深圳优克云联科技有限公司 Cloud sim card allocation method and apparatus, electronic device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110832888A (en) * 2018-05-14 2020-02-21 华为技术有限公司 Method for automatically switching SIM (subscriber identity Module) cards and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909326A (en) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 Selection method and device of access point
CN103347259A (en) * 2013-06-03 2013-10-09 亚信联创科技(中国)有限公司 Flow prompt method and system
CN104219653A (en) * 2014-09-17 2014-12-17 深圳市中兴移动通信有限公司 Method and device for controlling double-card Internet access
US20150271805A1 (en) * 2014-03-19 2015-09-24 Qualcomm Incorporated Intelligent routing of packet session data in a multi-sim user equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909326A (en) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 Selection method and device of access point
CN103347259A (en) * 2013-06-03 2013-10-09 亚信联创科技(中国)有限公司 Flow prompt method and system
US20150271805A1 (en) * 2014-03-19 2015-09-24 Qualcomm Incorporated Intelligent routing of packet session data in a multi-sim user equipment
CN104219653A (en) * 2014-09-17 2014-12-17 深圳市中兴移动通信有限公司 Method and device for controlling double-card Internet access

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833711A (en) * 2018-06-26 2018-11-16 努比亚技术有限公司 A kind of network environment regulation method, equipment and computer readable storage medium
CN109151162A (en) * 2018-06-27 2019-01-04 努比亚技术有限公司 A kind of multi-panel screen interaction control method, equipment and computer readable storage medium
CN108901015A (en) * 2018-07-03 2018-11-27 中国联合网络通信集团有限公司 Terminal communicating method, terminal and storage medium
WO2020024938A1 (en) * 2018-07-31 2020-02-06 中兴通讯股份有限公司 Data traffic processing method and terminal, and computer storage medium
CN110784835A (en) * 2018-07-31 2020-02-11 中兴通讯股份有限公司 Data traffic processing method and device, terminal and computer storage medium
CN111132132A (en) * 2019-12-26 2020-05-08 珠海格力电器股份有限公司 Traffic management method and device and terminal equipment
WO2021258287A1 (en) * 2020-06-23 2021-12-30 Qualcomm Incorporated Dynamically determining the designated data service (dds) component for improved selection of slicing resources
WO2022007902A1 (en) * 2020-07-09 2022-01-13 深圳优克云联科技有限公司 Cloud sim card allocation method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
WO2018049859A1 (en) 2018-03-22

Similar Documents

Publication Publication Date Title
CN107846678A (en) The use control method and device of data traffic
CN102833410A (en) Method for controlling usage time of mobile phone
CN103533166B (en) The mode switching method of a kind of mobile terminal and device
CN103607758A (en) Terminal screen power saving processing method, device thereof and terminal
CN103220434B (en) Intelligent reminding method and system, mobile terminal and cloud server
CN105101270A (en) Traffic managing device and traffic managing method for terminal
CN106407010A (en) Internal memory management method and mobile terminal
WO2016131348A1 (en) Method for achieving traffic control and terminal
CN106332208A (en) Multi-card resource management method and device, and multi-card terminal
CN111176748B (en) Configuration method of setting information, terminal and server
CN107566910A (en) Live resource self-defined distribution monitoring method, storage medium, electronic equipment and system
CN105337804A (en) Hot spot sharing method based on mobile terminal
CN104065786A (en) Method for marking frequently-called number of contact and mobile terminal
CN106877464A (en) Charge control method and charging equipment
CN101400181A (en) Method for automatically card selecting by dual-mode mobile phone
CN106202465B (en) A kind of method for pushing of terminal wallpaper, device and mobile terminal
CN105262890B (en) The information update control system and method for portable electronic device application program
CN103905622A (en) Distinguishing method and device for contact persons in mobile terminal, and mobile terminal
CN107104807A (en) A kind of data traffic monitoring method and device
CN105847453B (en) A kind of grade of service method of real-time adjustment and device
CN106933822A (en) A kind of content recommendation method and device
CN109189204A (en) A kind of application power consumption statistical method and electronic equipment
CN108874109A (en) The method for cleaning and device of background application
CN103634667B (en) A kind of method and apparatus of the acquisition network push information based on set top box
CN108718449A (en) Management method, device and the readable storage medium storing program for executing of flow

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180327