A kind of Subscriber Identity Module distribution method and device
Technical field
The invention belongs to the communications field more particularly to a kind of Subscriber Identity Module distribution method and devices.
Background technique
Communication terminal generally requires the entity user identification card (such as SIM, USIM or R-SIM) that insertion operator provides,
The communication service of carrier network offer can be provided.However, with the development of society, universal, the use of 3G/4G network communication technology
Demand of the family to network is not solely restricted to available, but more excellent (such as more stable, more rapidly or cheaply) wireless network clothes
Business.But due to the limitation of entity user identification card quantity, cause communication terminal that cannot enjoy more preferably network insertion clothes
Business.
In order to meet the needs of people are to any wireless network services, a kind of virtual user identifying card skill is provided in the prior art
Art.In virtual user identifying card technology, communication terminal game server after powering, by server according to communication terminal
The service of current location or purchase identifies card information to communication terminal distributing user, and communication terminal is made to utilize the Subscriber Identity Module
The corresponding network of information access enjoys communication service.
In the research and practice to the prior art, the inventors found that: in the prior art, due to the use of management
Increasing for the performance of family identification card and the limitation of capacity and number of users, it is past in order to guarantee the cut-in quality of high-quality user
Toward be using by Subscriber Identity Module rank it is corresponding with user gradation (such as corresponding primary user of level-one card, second level card correspond to second level use
Family) mode be user's distributing user identify card information, however this pass through the corresponding method of salary distribution of rank, it is possible to can go out
Higher-level user's identification card of existing system configuration is more, and advanced level user is few within some periods or region, more than less advanced users
Situation, the network insertion service quality for causing user generally to obtain is simultaneously bad, system performance and the practical network provided of system
Service quality is not reciprocity, causes the waste of system resource.
Summary of the invention
The embodiment of the present invention provides a kind of Subscriber Identity Module distribution method, it is intended to solve user in the prior art and generally obtain
Network insertion service quality and bad and actually system performance is good, system performance and the practical network being capable of providing of system
The problem of service quality is not reciprocity, causes system resource waste.
In a first aspect, the embodiment of the present invention provides a kind of Subscriber Identity Module distribution method, the described method comprises the following steps:
Receive the first Subscriber Identity Module information acquisition request that first terminal is sent;
Obtain the corresponding Subscriber Identity Module rank of the first terminal;
If the corresponding Subscriber Identity Module rank of the first terminal does not include the superlative degree, obtains first and uses data,
In, described first includes the use data of advanced level user's identification card using data, and advanced level user's identification card is superior to
The corresponding Subscriber Identity Module rank of the first terminal;
It the use of data is that the first terminal distributes target user and identifies card information and by the target according to described first
Subscriber Identity Module information is sent to the first terminal.
Second aspect, the embodiment of the present invention provide a kind of Subscriber Identity Module distributor, and described device includes:
First information acquisition request receiving unit, for receiving the first Subscriber Identity Module acquisition of information of first terminal transmission
Request;
Subscriber Identity Module rank acquiring unit, for obtaining the corresponding Subscriber Identity Module rank of the first terminal;
First uses data capture unit, if not including highest for the corresponding Subscriber Identity Module rank of the first terminal
Grade then obtains first and uses data, wherein described first includes the use data of advanced level user's identification card using data, described
Advanced level user's identification card is superior to the corresponding Subscriber Identity Module rank of the first terminal;
Subscriber Identity Module information assigning unit, for distributing target using data according to described first for the first terminal
Target user identification card information is simultaneously sent to the first terminal by Subscriber Identity Module information.
The embodiment of the present invention by receive terminal send the first Subscriber Identity Module information acquisition request when, if terminal pair
The Subscriber Identity Module rank answered does not include the superlative degree, then obtains the use data of advanced level user's identification card, then according to using number
Card information is identified according to for terminal distribution target user, therefore can be clever in time according to the actual use situation of Subscriber Identity Module information
Ground living terminal distribution Subscriber Identity Module information, makes full use of system resource.
Detailed description of the invention
Fig. 1 is the schematic diagram of a scenario of data processing system provided in an embodiment of the present invention;
Fig. 2 is the implementation flow chart of Subscriber Identity Module distribution method provided in an embodiment of the present invention;
Fig. 3 is the implementation flow chart of the corresponding Subscriber Identity Module rank of acquisition first terminal provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides Subscriber Identity Module distribution method implementation flow chart;
Fig. 5 is the structure chart of Subscriber Identity Module distributor provided in an embodiment of the present invention;
Fig. 6 is the structure chart of Subscriber Identity Module rank acquiring unit provided in an embodiment of the present invention;
Fig. 7 be another embodiment of the present invention provides Subscriber Identity Module distributor structure chart.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention by receive terminal send the first Subscriber Identity Module information acquisition request when, if terminal pair
The Subscriber Identity Module rank answered does not include the superlative degree, then obtains the use data of advanced level user's identification card, then according to using number
Card information is identified according to for terminal distribution target user, therefore can be clever in time according to the actual use situation of Subscriber Identity Module information
Ground living terminal distribution Subscriber Identity Module information, makes full use of system resource.
It should be noted that used the words such as " first ", " second " in the embodiment of the present invention, but these words be only for
Element of the invention is distinguished, does not include be defined to the order or other factors of element.
Fig. 1 is the schematic diagram of a scenario of Subscriber Identity Module distribution system provided in an embodiment of the present invention, for ease of description, only
Show part related to the embodiment of the present invention.
As shown in Figure 1, Subscriber Identity Module distribution system includes that communication terminal 1, server 2 and Subscriber Identity Module read-write are set
Standby 3, multiple Subscriber Identity Modules have been inserted on Subscriber Identity Module read-write equipment 3, and send corresponding Subscriber Identity Module information to
In server 2, after server 2 receives the Subscriber Identity Module information acquisition request that communication terminal 1 is sent by network, acquisition user
The Subscriber Identity Module information of the Subscriber Identity Module inserted on identification card apparatus 3, and suitable Subscriber Identity Module information is distributed to
Communication terminal 1 enables communication terminal 1 according to the Subscriber Identity Module information received network corresponding with Subscriber Identity Module information
Service provider is connected to the network, and communication service is enjoyed.
In embodiments of the present invention, network can be local area network, wide area network, wireless network, point to point network, star network,
Token-ring network or other configurations, it is unrestricted in the present invention.
In embodiments of the present invention, server can be one or more, and the present invention is herein with no restrictions.
Embodiment one
Fig. 2 shows the implementation process of Subscriber Identity Module distribution method provided in an embodiment of the present invention, the present embodiment will be from
The angle of Subscriber Identity Module distributor is described, which specifically can integrate sets in server etc.
In standby, details are as follows:
Step S201 receives the first Subscriber Identity Module information acquisition request that first terminal is sent;
In embodiments of the present invention, when needing to obtain Subscriber Identity Module information, first terminal sends first to server
Subscriber Identity Module information acquisition request, server receive the request.
Step S202 obtains the corresponding Subscriber Identity Module rank of first terminal;
In embodiments of the present invention, after receiving the first Subscriber Identity Module information acquisition request, server obtains first
The corresponding Subscriber Identity Module rank of terminal, the corresponding Subscriber Identity Module rank of first terminal can be it is pre-stored,
It can be and calculate acquisition in real time, to obtain newest Subscriber Identity Module rank.
As an embodiment of the present invention, referring to Fig. 3, the step of obtaining first terminal corresponding Subscriber Identity Module rank
May include:
Step S301 obtains the identity grade of first terminal;
In embodiments of the present invention, when receiving the first Subscriber Identity Module information acquisition request of first terminal transmission,
Server can determine the identity grade of first terminal according to the user information of first terminal, and the user information of first terminal can be with
It is that server is obtained according to the user identifier of first terminal, is also possible to first terminal and is sending the first Subscriber Identity Module information
It is carried in acquisition request, the present invention is herein with no restrictions.
User information includes the duration of user's registration, one of consumption data, user account type or combinations thereof, is disappeared
Expense data may include one of history recharge amount, customer flow rate and order set meal flow or combinations thereof, account class
Type can be for example ordinary user, VIP user, enterprise customer etc..
In some embodiments, standards of grading can be set for each user information, then according to first terminal user
The actual conditions of information obtain the corresponding scoring of each user information, obtain first further according to the corresponding scoring of each user information
The overall score of terminal, such as the corresponding scoring of each user information is added alternatively, the correspondence of each user information is commented
It takes separately with its corresponding weight, then carries out being added acquisition overall score again.After obtaining the overall score of first terminal, according to identity
The rating scale of grade determines the identity grade of first terminal.
It in some embodiments, can also be according to the real-time of terminal in order to timely adjust the identity grade of terminal
Situation dynamic adjusts the identity grade of terminal, such as according to the consumption on the day of user, if spending amount is greater than one on the day of user
Definite value, or provide some valuable suggestions, then carry out corresponding bonus point;If spending amount is less than certain value, and/or even
Continue online situation greater than certain value, then carries out corresponding deduction.
In some embodiments, user information can also include the position of first terminal, for example, in exhibition or meeting etc.
The place that large-scale activity is held, the personnel participating in the meeting in order to guarantee meeting or exhibition is available to good communication service, greatly
The organizer of meeting or exhibition can temporarily buy the grade of service, at this point, the terminal that server is these positions temporarily promotes identity
Grade increases corresponding score value.
For example, user information is the duration of user's registration, for user account type and position, server gets the
After when 2 years a length of, the user account type of the user of one terminal registered is Shenzhen Convention And Exhibition as enterprise customer, position, just
It is 2 years that registration time length can be inquired according to standards of grading, and the corresponding score of enterprise customer is respectively 30 points and 10 points, Shenzhen
The corresponding user gradation in conference and exhibition center promotes 1 grade, and score is added, and obtaining the corresponding grade of gross score after being added is level Four,
It is three-level after promoting 1 grade, therefore, three-level is first terminal finally corresponding identity grade.
In another example server can be with the duration of preset user's registration, user account type, consumption data and position are corresponding
The first weight be respectively x1, x2, x3, x4;The duration of the user's registration of first terminal, user's account are inquired according to standards of grading
Family type, the corresponding score of consumption data and position are a1, a2, a3, a4.Obtain the comprehensive score of identification card are as follows: K=
a1*x1+a2*x2+a3*x3+a4*x4+a5*x5.After obtaining gross score K after being added, the corresponding body of first terminal is searched according to K
Part grade.
Step S302 obtains the corresponding Subscriber Identity Module rank of first terminal according to the identity grade of first terminal.
In embodiments of the present invention, the corresponding relationship of identity grade and Subscriber Identity Module rank is provided in server, when
It, can be according to first terminal for obtaining Subscriber Identity Module rank after getting the identity grade of first terminal.It is appreciated that grade
The corresponding Subscriber Identity Module rank of higher terminal is higher, and Subscriber Identity Module rank is higher, then its communication quality is relatively more preferable.
As an embodiment of the present invention, in order to avoid the matter of the Subscriber Identity Module distributed to the high user of identity grade
Measure it is not high, can be by the identity rating calculation Subscriber Identity Module rank of terminal, therefore the same Subscriber Identity Module, rank phase
Different is likely to be for different identity grades.Therefore it is corresponding obtaining first terminal according to the identity grade of first terminal
Subscriber Identity Module rank the step of before can be comprising steps of according to the identity rating calculation Subscriber Identity Module of first terminal
Rank.For example, can be according to the use state information of Subscriber Identity Module, the communication, levels and identity grade pair of Subscriber Identity Module
The rank of all Subscriber Identity Modules in server is calculated, and obtains the Subscriber Identity Module rank of all Subscriber Identity Modules, so
Afterwards further according to identity grade Subscriber Identity Module rank corresponding with the corresponding relationship of Subscriber Identity Module rank acquisition first terminal.
The use state information of Subscriber Identity Module include the residual flow of Subscriber Identity Module, Subscriber Identity Module validity period,
In the replacement situation of the network speed of Subscriber Identity Module, the history service condition of Subscriber Identity Module and Subscriber Identity Module at least
One, the communication, levels of Subscriber Identity Module can be determined according to the test information of Subscriber Identity Module, for example, server can to
Family identification card carries out network communication test, the test information of Subscriber Identity Module is obtained, to determine the network communication of Subscriber Identity Module
State is such as worked as to obtain the communication, levels of Subscriber Identity Module according to above-mentioned network communication status and detects the identification card
When network freedom communicates, free grade is set;When detect the identification card network communication normal but limited speed or
Person's flow generation it is smaller when, be set to idle grade;When detecting that the identification card temporarily deactivates, it is set to
Suspend mode grade;When detecting that the identification card long period deactivates, it is set to sleep level.
For example, including the residual flow of Subscriber Identity Module to use status information, identity grade includes gold user, silver
For user and ordinary user's three grades, classified according to residual flow:
A class: residual flow is greater than 500MB, not speed limit;
B class: residual flow is greater than 100MB, is less than 500MB, not speed limit;
C class: residual flow is less than 100MB, can also use after being finished, but will limit networking speed;
D class: it without residual flow, can use but speed limit.
Different residual flow classifications and the corresponding weight of different identity grade are as follows:
To specific Subscriber Identity Module grade scores calculation formula are as follows:
Subscriber Identity Module grade scores=(the radix factor+type card idle percentages) * type card weight+weighted factor
Wherein, the radix factor is the preset weighting constant of server, to different identity grade or different communication grade
The size of its value of Subscriber Identity Module can be different;The idle percentages of type card is belonging to Subscriber Identity Modules in A/B/C/D class card
Communication, levels account for the number percents of all cards in 12 card pond of communication terminal, the weight of type card is the constant of upper table;Weighting
The factor is the weighted value to communication, levels belonging to Subscriber Identity Module.
Specifically, such as, the Subscriber Identity Module of the gold user grade of the free grade of A class is belonged to residual flow, calculate
Formula are as follows: G-a=(g+t_af) * C1+f;
Wherein, g is the weighting constant to residual flow and gold user grade, and t_af is the card of A type free grade
The percentage of all Subscriber Identity Modules in total communication terminal 12 is accounted for, f is the weighted value of free grade.
The grade scores of all Subscriber Identity Modules are calculated in this way, then according to preset grade scores and Subscriber Identity Module grade
Other corresponding relationship obtains Subscriber Identity Module rank.
Step S203 obtains first and uses number if the corresponding Subscriber Identity Module rank of first terminal does not include the superlative degree
According to.
In embodiments of the present invention, server judges whether the corresponding Subscriber Identity Module rank of first terminal includes highest
Grade, if it is not, then available first using data, first includes the use data of advanced level user's identification card using data, the
One uses data using data for current Subscriber Identity Module.Wherein, advanced level user identification card is superior to first terminal pair
The Subscriber Identity Module rank answered.It is appreciated that when the corresponding Subscriber Identity Module of first terminal includes highest, because not
There are more advanced Subscriber Identity Modules, therefore, at this point, obtaining the Subscriber Identity Module information of first terminal corresponding level.
For example, the identity grade of first terminal is silver-colored grade user, corresponding Subscriber Identity Module rank is B grades, then can be with
The currently used data that Subscriber Identity Module rank is A grades are obtained, are wherein higher than B grades for A grades.
As an embodiment of the present invention, the first use data can also include that the identity grade of first terminal is corresponding
The use data of Subscriber Identity Module rank.
Step S204 using data is that first terminal distributes target user and identifies card information and by target user according to first
Identification card information is sent to first terminal.
It in embodiments of the present invention, the use of data can be first according to first after getting first using data
Terminal distribution target user identifies card information.
In some embodiments, first using data may include advanced level user's identification card the first idle count or first
Therefore idle ratio is first terminal distribution target user identification card information using data according to first and knows target user
The step of other card information is sent to first terminal can be with are as follows: if the first idle count or the first idle ratio of advanced level user's identification card
Example is greater than or equal to first threshold, then the selection target advanced level user identification card information and by mesh from advanced level user's identification card information
Absolute altitude grade Subscriber Identity Module information is sent to first terminal.It is appreciated that the target higher Subscriber Identity Module is currently not used by,
It can be connected to the network, be connected to the network first terminal according to target higher Subscriber Identity Module information.It can manage
Solution then can be first when the first idle count of advanced level user's identification card or the first idle ratio are less than first threshold
The Subscriber Identity Module of its identity grade corresponding level of terminal distribution is allocated according to other schemes.
In some embodiments, first using data may include advanced level user's identification card occupation proportion, therefore, according to
First is first terminal distribution target user identification card information using data and target user's identification card information is sent to first
The step of terminal, can be with are as follows: if the occupation proportion of advanced level user's identification card is less than or equal to second threshold, knows from advanced level user
Selection target advanced level user identifies card information and target higher Subscriber Identity Module information is sent to first terminal in other card information.
It is appreciated that when the occupation proportion of advanced level user's identification card is greater than second threshold then its identity can be distributed for first terminal
The Subscriber Identity Module of grade corresponding level is allocated according to other schemes.
As an embodiment of the present invention, it is used as shown in figure 4, distributing target using data according to first for first terminal
Family identification card information and by target user identification card information be sent to first terminal the step of after can with the following steps are included:
Step S401 receives the second user identification card information acquisition request that second terminal is sent, wherein second terminal pair
The Subscriber Identity Module rank answered includes the rank of target higher Subscriber Identity Module;
In embodiments of the present invention, after being assigned with advanced level user's identification card to first terminal, second terminal is sent out to server
Second user identification card information acquisition request is sent, server receives the request, wherein the corresponding Subscriber Identity Module grade of second terminal
Not Bao Kuo target higher Subscriber Identity Module rank.
Step S402 obtains second and uses data, and second includes the second idle number of advanced level user's identification card using data
Amount or the second idle ratio;
Step S403, if the second idle count of advanced level user's identification card or the second idle ratio are less than or equal to third threshold
Value sends the instruction of target higher Subscriber Identity Module information retrieval to first terminal, target higher Subscriber Identity Module information is received
It returns.
For example, the identity grade of first terminal is silver-colored grade user, corresponding Subscriber Identity Module grade is B grades, and server exists
It obtains first and uses data, after being assigned with class A user's identification card to first terminal, receive the second user of second terminal transmission
Identification card information acquisition request.The identity grade that server obtains second terminal is platinum user, corresponding Subscriber Identity Module grade
Not Wei class A user's identification card, then currently used data of available class A user's identification card, such as idle count or idle ratio
Example etc. sends mesh to first terminal if the idle count of discovery class A user's identification card or idle ratio are less than third threshold value
Mark advanced level user is to be withdrawn to instruct by card information, by target higher Subscriber Identity Module information retrieval.Avoid second terminal or
When subsequent other obtain Subscriber Identity Module information than the identity grade of first terminal high terminal, occur identifying without advanced level user
Card is available, and the situation lower than the Subscriber Identity Module levels of information of first terminal goes out the Subscriber Identity Module levels of information got instead
It is existing.
In embodiments of the present invention, third threshold value can be preset.As the corresponding user of identity grade of second terminal
When second idle count of identification card or the second idle ratio are less than or equal to third threshold value, server can force first terminal
It is offline or target higher Subscriber Identity Module information is seized, by target higher Subscriber Identity Module information retrieval.
In embodiments of the present invention, if the idle count of advanced level user's identification card or idle ratio are greater than third threshold value,
Advanced level user's identification card of rank where target higher Subscriber Identity Module being distributed for second terminal.
As an embodiment of the present invention, referring to fig. 4, after by target higher Subscriber Identity Module information retrieval, may be used also
To include step S404, the target higher Subscriber Identity Module information of withdrawal is sent to second terminal.
The embodiment of the present invention by receive terminal send the first Subscriber Identity Module information acquisition request when, if terminal pair
The Subscriber Identity Module rank answered does not include the superlative degree, then obtains the use data of advanced level user's identification card, then according to using number
Card information is identified according to for terminal distribution target user, therefore can be clever in time according to the actual use situation of Subscriber Identity Module information
Ground living terminal distribution Subscriber Identity Module information, makes full use of system resource.
Embodiment two
Fig. 5 shows the structure chart of Subscriber Identity Module distributor provided in an embodiment of the present invention, the Subscriber Identity Module point
It specifically can integrate in the equipment such as server with device, for ease of description, illustrate only related with the embodiment of the present invention
Part.As shown in figure 5, Subscriber Identity Module distributor includes first information acquisition request receiving unit 51, Subscriber Identity Module grade
Other acquiring unit 52, first uses data capture unit 53, Subscriber Identity Module allocation unit 54.
First information acquisition request receiving unit 51, the first Subscriber Identity Module information for receiving first terminal transmission obtain
Take request;
In embodiments of the present invention, when needing to obtain Subscriber Identity Module information, first terminal sends first to server
Subscriber Identity Module information acquisition request, first information acquisition request receiving unit 51 receive the request.
Subscriber Identity Module rank acquiring unit 52, for obtaining the corresponding Subscriber Identity Module rank of first terminal;
In embodiments of the present invention, after receiving the first Subscriber Identity Module information acquisition request, Subscriber Identity Module rank
Acquiring unit 52 obtains the corresponding Subscriber Identity Module rank of first terminal, and the corresponding Subscriber Identity Module rank of first terminal can be
It is pre-stored, it is also possible to calculate acquisition in real time, to obtain newest Subscriber Identity Module rank.
As an embodiment of the present invention, referring to Fig. 6, Subscriber Identity Module rank acquiring unit 52 may include identity etc.
Grade obtains module 521 and Subscriber Identity Module rank obtains module 522:
Identity grade obtains module 521, for obtaining the identity grade of first terminal;
In embodiments of the present invention, when receiving the first Subscriber Identity Module information acquisition request of first terminal transmission,
Identity grade obtains module 521 can determine the identity grade of first terminal, first terminal according to the user information of first terminal
User information may include that server is obtained according to the user identifier of first terminal, also may include that first terminal is being sent
It is carried in first Subscriber Identity Module information acquisition request, the present invention is herein with no restrictions.
User information includes the duration of user's registration, one of consumption data, user account type or combinations thereof, is disappeared
Expense data may include one of history recharge amount, customer flow rate and order set meal flow or combinations thereof, account class
Type can be for example ordinary user, VIP user, enterprise customer etc..
In some embodiments, standards of grading can be set for each user information, then according to first terminal user
The actual conditions of information obtain the corresponding scoring of each user information, obtain first further according to the corresponding scoring of each user information
The overall score of terminal, such as the corresponding scoring of each user information is added alternatively, the correspondence of each user information is commented
It takes separately with its corresponding weight, then carries out being added acquisition overall score again.After obtaining the overall score of first terminal, according to identity
The rating scale of grade determines the identity grade of first terminal.
It in some embodiments, can also be according to the real-time of terminal in order to timely adjust the identity grade of terminal
Situation dynamic adjusts the identity grade of terminal, such as according to the consumption on the day of user, if spending amount is greater than one on the day of user
Definite value, or provide some valuable suggestions, then carry out corresponding bonus point;If spending amount is less than certain value, and/or even
Continue online situation greater than certain value, then carries out corresponding deduction.
In some embodiments, user information can also include the position of first terminal, for example, in exhibition or meeting etc.
The place that large-scale activity is held, the personnel participating in the meeting in order to guarantee meeting or exhibition is available to good communication service, greatly
The organizer of meeting or exhibition can temporarily buy the grade of service, at this point, the terminal that server is these positions temporarily promotes identity
Grade increases corresponding score value.
For example, user information is the duration of user's registration, for user account type and position, server gets the
After when 2 years a length of, the user account type of the user of one terminal registered is Shenzhen Convention And Exhibition as enterprise customer, position, just
It is 2 years that registration time length can be inquired according to standards of grading, and the corresponding score of enterprise customer is respectively 30 points and 10 points, Shenzhen
The corresponding user gradation in conference and exhibition center promotes 1 grade, and score is added, and obtaining the corresponding grade of gross score after being added is level Four,
It is three-level after promoting 1 grade, therefore, three-level is first terminal finally corresponding identity grade.
In another example server can be with the duration of preset user's registration, user account type, consumption data and position are corresponding
The first weight be respectively x1, x2, x3, x4;The duration of the user's registration of first terminal, user's account are inquired according to standards of grading
Family type, the corresponding score of consumption data and position are a1, a2, a3, a4.Obtain the comprehensive score of identification card are as follows: K=
a1*x1+a2*x2+a3*x3+a4*x4+a5*x5.After obtaining gross score K after being added, the corresponding body of first terminal is searched according to K
Part grade.
Subscriber Identity Module rank obtains module 522, corresponding for obtaining first terminal according to the identity grade of first terminal
Subscriber Identity Module rank.
In embodiments of the present invention, the corresponding relationship of identity grade and Subscriber Identity Module rank is provided in server, when
It, can be according to first terminal for obtaining Subscriber Identity Module rank after getting the identity grade of first terminal.It is appreciated that grade
The corresponding Subscriber Identity Module rank of higher terminal is higher, and Subscriber Identity Module rank is higher, then its communication quality is relatively more preferable.
As an embodiment of the present invention, in order to avoid the matter of the Subscriber Identity Module distributed to the high user of identity grade
Measure it is not high, can be by the identity rating calculation Subscriber Identity Module rank of terminal, therefore the same Subscriber Identity Module, rank phase
Different is likely to be for different identity grades.Therefore referring to Fig. 6, Subscriber Identity Module rank acquiring unit 53 can also be wrapped
Subscriber Identity Module level calculation module 523 is included, for the identity rating calculation Subscriber Identity Module rank according to first terminal.Example
Such as, Subscriber Identity Module level calculation module 523 can be according to the use state information of Subscriber Identity Module, the communication of Subscriber Identity Module
Grade and identity grade calculate the rank of all Subscriber Identity Modules in server, obtain all Subscriber Identity Modules
Then it is corresponding to obtain first terminal with the corresponding relationship of Subscriber Identity Module rank further according to identity grade for Subscriber Identity Module rank
Subscriber Identity Module rank.
The use state information of Subscriber Identity Module include the residual flow of Subscriber Identity Module, Subscriber Identity Module validity period,
In the replacement situation of the network speed of Subscriber Identity Module, the history service condition of Subscriber Identity Module and Subscriber Identity Module at least
One, the communication, levels of Subscriber Identity Module can be determined according to the test information of Subscriber Identity Module, for example, can identify to user
Card carries out network communication test, obtains the test information of Subscriber Identity Module, to determine the network communication status of Subscriber Identity Module, from
And according to above-mentioned network communication status, the communication, levels of Subscriber Identity Module are obtained, such as works as and detects the identification card network certainly
When by communicating, free grade is set;When detecting the identification card network communication normal but limited speed or flow
Generation it is smaller when, be set to idle grade;When detecting that the identification card temporarily deactivates, it is set to suspend mode etc.
Grade;When detecting that the identification card long period deactivates, it is set to sleep level.
It such as, include the residual flow of Subscriber Identity Module to use status information, identity grade includes gold user, silver use
For family and ordinary user's three grades, classified according to residual flow:
A class: residual flow is greater than 500MB, not speed limit;
B class: residual flow is greater than 100MB, is less than 500MB, not speed limit;
C class: residual flow is less than 100MB, can also use after being finished, but will limit networking speed;
D class: it without residual flow, can use but speed limit.
Different residual flow classifications and the corresponding weight of different identity grade are as follows:
To specific Subscriber Identity Module grade scores calculation formula are as follows:
Subscriber Identity Module grade scores=(the radix factor+type card idle percentages) * type card weight+weighted factor
Wherein, the radix factor is the preset weighting constant of server, to different identity grade or different communication grade
The size of its value of Subscriber Identity Module can be different;The idle percentages of type card is belonging to Subscriber Identity Modules in A/B/C/D class card
Communication, levels account for the number percents of all cards in 12 card pond of communication terminal, the weight of type card is the constant of upper table;Weighting
The factor is the weighted value to communication, levels belonging to Subscriber Identity Module.
Specifically, such as, the Subscriber Identity Module of the gold user grade of the free grade of A class is belonged to residual flow, calculate
Formula are as follows: G-a=(g+t_af) * C1+f;
Wherein, g is the weighting constant to residual flow and gold user grade, and t_af is the card of A type free grade
The percentage of all Subscriber Identity Modules in total communication terminal 12 is accounted for, f is the weighted value of free grade.
The grade scores of all Subscriber Identity Modules are calculated in this way, then according to preset grade scores and Subscriber Identity Module grade
Other corresponding relationship obtains Subscriber Identity Module rank.
First uses data capture unit 53, if not including highest for the corresponding Subscriber Identity Module rank of first terminal
Grade then obtains first and uses data.
In embodiments of the present invention, server judges whether the corresponding Subscriber Identity Module rank of first terminal includes highest
Grade, if it is not, first uses data using data capture unit 53 available first, first using data includes advanced level user
The use data of identification card, first uses data using data for current Subscriber Identity Module.Wherein, advanced level user identification card
It is superior to the corresponding Subscriber Identity Module rank of first terminal.It is appreciated that when the corresponding Subscriber Identity Module of first terminal includes
When highest, because more advanced Subscriber Identity Module has been not present, at this point, obtaining the use of first terminal corresponding level
Family identifies card information.
For example, the identity grade of first terminal is silver-colored grade user, corresponding Subscriber Identity Module rank is B grades, then can be with
The currently used data that Subscriber Identity Module rank is A grades are obtained, are wherein higher than B grades for A grades.
As an embodiment of the present invention, the first use data can also include that the identity grade of first terminal is corresponding
The use data of Subscriber Identity Module rank.
Subscriber Identity Module information assigning unit 54 is known for distributing target user using data according to first for first terminal
Target user's identification card information is simultaneously sent to first terminal by other card information.
In embodiments of the present invention, after getting first using data, Subscriber Identity Module information assigning unit 54
Card information is identified to distribute target user as first terminal using data according to first.
In some embodiments, first using data may include advanced level user's identification card the first idle count or first
Idle ratio, therefore, Subscriber Identity Module information assigning unit 54 are specifically used for: if the first idle count of advanced level user's identification card
Or first idle ratio be greater than or equal to first threshold, then the selection target advanced level user identification from advanced level user's identification card information
Target higher Subscriber Identity Module information is simultaneously sent to first terminal by card information.Allow first terminal according to target higher user
Identification card information is connected to the network.It is appreciated that when the first idle count or the first idle ratio of advanced level user's identification card
When example is less than first threshold, then the Subscriber Identity Module of its identity grade corresponding level can be distributed or according to it for first terminal
He is allocated scheme.
In some embodiments, first using data may include advanced level user's identification card occupation proportion, therefore, user
Identification card information assigning unit 54 is specifically used for:: if the occupation proportion of advanced level user's identification card is less than or equal to second threshold,
Selection target advanced level user identifies card information and sends out target higher Subscriber Identity Module information from advanced level user's identification card information
Give first terminal.It is appreciated that when the occupation proportion of advanced level user's identification card is greater than second threshold, then it can be for first eventually
End is distributed the Subscriber Identity Module of its identity grade corresponding level or is allocated according to other schemes.
As an embodiment of the present invention, as shown in fig. 7, Subscriber Identity Module distributor can also include the second information
Acquisition request receiving unit 71, second is using data capture unit 72 and withdraws unit 73:
Second information acquisition request receiving unit 71, the second user identification card information for receiving second terminal transmission obtain
Take request, wherein the corresponding Subscriber Identity Module rank of second terminal includes the rank of target higher Subscriber Identity Module;
In embodiments of the present invention, after being assigned with advanced level user's identification card to first terminal, second terminal is sent out to server
Second user identification card information acquisition request is sent, the second information acquisition request receiving unit 71 receives the request, wherein second eventually
Holding corresponding Subscriber Identity Module rank includes the rank of target higher Subscriber Identity Module.
Second uses data capture unit 72, uses data for obtaining second, second using data includes advanced level user
Second idle count of identification card or the second idle ratio;
Unit 73 is withdrawn, if being less than or equal to for the second idle count of advanced level user's identification card or the second idle ratio
Third threshold value then sends the instruction of target higher Subscriber Identity Module information retrieval to first terminal, target higher user is identified
Card information is withdrawn.
For example, the identity grade of first terminal is silver-colored grade user, corresponding Subscriber Identity Module grade is B grades, and server exists
It obtains first and uses data, after being assigned with class A user's identification card to first terminal, receive the second user of second terminal transmission
Identification card information acquisition request.The identity grade that server obtains second terminal is platinum user, corresponding Subscriber Identity Module grade
Not Wei class A user's identification card, then currently used data of available class A user's identification card, such as idle count or idle ratio
Example etc. sends mesh to first terminal if the idle count of discovery class A user's identification card or idle ratio are less than third threshold value
Mark advanced level user is to be withdrawn to instruct by card information, by target higher Subscriber Identity Module information retrieval.Avoid second terminal or
When subsequent other obtain Subscriber Identity Module information than the identity grade of first terminal high terminal, occur identifying without advanced level user
Card is available, and the situation lower than the Subscriber Identity Module levels of information of first terminal goes out the Subscriber Identity Module levels of information got instead
It is existing.
In embodiments of the present invention, third threshold value can be preset.As the corresponding user of identity grade of second terminal
When second idle count of identification card or the second idle ratio are less than or equal to third threshold value, first can be forced by withdrawing unit 73
Terminal is offline or seizes to target higher Subscriber Identity Module information, by target higher Subscriber Identity Module information retrieval.
In embodiments of the present invention, if the idle count of advanced level user's identification card or idle ratio are greater than third threshold value,
Advanced level user's identification card of rank where target higher Subscriber Identity Module being distributed for second terminal.
As an embodiment of the present invention, may be used also after by target higher Subscriber Identity Module information retrieval referring to Fig. 7
To include transmission unit 74, for the target higher Subscriber Identity Module information of withdrawal to be sent to second terminal.
The embodiment of the present invention by receive terminal send the first Subscriber Identity Module information acquisition request when, if terminal pair
The Subscriber Identity Module rank answered does not include the superlative degree, then obtains the use data of advanced level user's identification card, then according to using number
Card information is identified according to for terminal distribution target user, therefore can be clever in time according to the actual use situation of Subscriber Identity Module information
Ground living terminal distribution Subscriber Identity Module information, makes full use of system resource.Those of ordinary skill in the art will appreciate that above-mentioned reality
Applying all or part of the steps in the various methods of example is that relevant hardware can be instructed to complete by program, which can
To be stored in a computer readable storage medium, storage medium may include: read-only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.