Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of method of controlling mobile terminal access, said method comprising the steps of:
S101: the access control grade and the Base Station Identification that obtain at least one base station;
S102: according to the access control grade of described base station and described Base Station Identification, the access control grade of this terminal is set;
S103: send access request to described base station, carry the access control grade of described terminal in described access request, make described base station according to the access control grade of described terminal, control described terminal access.
It should be noted that, the executive agent of the present embodiment step can be the terminal with function described in each step, or can realize other devices of function described in above steps.
The embodiment of the present invention is according to access control grade and the described Base Station Identification of the base station receiving, the access control grade of terminal is set, and to described base station, send the access request of the access control grade of carrying described terminal, make described base station according to the access control grade of described terminal, control described terminal access, realized by the access control grade that terminal is set initiatively, the base station of the access control ratings match of selectable access and this terminal, so that this base station provides communication service for this terminal, thereby reach the interlocking of terminal and base station.
Embodiment 2
As shown in Figure 2, the embodiment of the present invention provides a kind of method of controlling mobile terminal access, said method comprising the steps of:
S201: receive the access request that at least one terminal sends, carry the access control grade of described terminal in described access request;
S202: judge whether the access control grade of described terminal and the access control grade of this base station mate, if coupling sends access response to described terminal, make described terminal according to described access response access.
It should be noted that, the executive agent of the present embodiment step can be the base station with function described in each step, or can realize other devices of function described in above steps.Preferably, the executive agent of the present embodiment step can also be broadcasted to described terminal access control grade and the Base Station Identification of this base station.
The embodiment of the present invention, by judging the access control grade of described terminal and the access control grade of this base station, whether mate, when the access control grade of terminal and the access control ratings match of this base station, to described terminal, send access response, make described terminal according to described access response access, realize the terminal of selectable control access, so that this base station provides communication service for this terminal, thereby reached the interlocking of terminal and base station.
Embodiment 3
As shown in Figure 3, the embodiment of the present invention provides a kind of method of terminal access, and the method comprises the following steps:
S301: the access control grade of this base station and the Base Station Identification of this base station are broadcasted to terminal in base station;
In the present embodiment, base station can, by broadcast the access control grade of this base station and the Base Station Identification of this base station to terminal, make this terminal obtain the access control grade of this this base station and the Base Station Identification of this base station.The access control grade of this base station is default access control grade, and it can be changed according to demand, thereby realizes and the interlocking having between different access control grade terminals.
Wherein, access control grade ACC (Access Class Control) refers to, in the situation that some is special, operator wishes to forbid in some special area that all or part of travelling carriage sends access request or page response request.For example, in certain areas, there is the state of emergency or certain GSM (Global System for Mobile Communications, global system for mobile communications) Public Land Mobile Nerwork generation catastrophe failure etc.Therefore, general access grade of each GSM user assignment of giving of GSM standard 02.11 regulation.Access grade is divided into grade 0 to ten kinds of grade 9 grades, and it is stored in mobile subscriber's SIM card (Subscriber Identity Module).For some special user GSM standards, remain with 5 special access grades, grade 11 is to grade 15.These grades have higher access priority conventionally.Special user can have one or more access grades simultaneously, and between grade 11~15, its access grade is stored in user's SIM card equally.
In prior art, being allocated as follows of access control grade:
Grade 0~9: domestic consumer;
Grade 11: for management of PLMN etc.;
Grade 12: security department's application;
Grade 13: public utilities department, as: water, coal gas etc.;
Grade 14: urgency traffic;
Grade 15:PLMN office worker.
Access grade is 0~9 user, and its access power is applicable to the PLMN (Public Land Mobile-communication Network, public land mobile communication network) of ownership and the PLMN of visit simultaneously; Access grade is 11 and 15 user, and its access power is only applicable to the PLMN of ownership; Access grade is 12,13,14 user, and its access power is applicable in the national region under Home PLMN.Access grade is that the user that 11~15 user is 0~9 than access grade has higher access priority, but between access grade 0~9 and between access grade 11~15, the size of access grade numerical value does not represent the height of access priority.
S302: terminal receives the access control grade of this base station and the Base Station Identification of this base station of at least one base station broadcast;
In the present embodiment, terminal can receive the access control grade of a plurality of base stations, in prior art, when the coverage of terminal in a certain base station, this terminal can be carried out information interaction with all base stations that cover this terminal, thereby obtains the access control grade of this base station.Optionally, when base station sends the access control grade of this base station and the Base Station Identification of this base station by broadcast mode to terminal, therefore when terminal is in certain base station work coverage, can receive the access control grade of this base station and the Base Station Identification of this base station of this base station broadcast.
For example, terminal 1 has received two base station broadcasts, respectively from base station A and base station B, the Base Station Identification of base station A be A, access control grade be 9 and the Base Station Identification of base station B be that B, access control grade are 10.
S303: terminal, according to access control grade and the Base Station Identification of this base station, generates the access control grade of this base station and the corresponding relation of Base Station Identification;
In the present embodiment, terminal, according to access control grade and the Base Station Identification of the base station receiving, generates the access control grade of this base station and the corresponding relation of Base Station Identification; And the first corresponding relation that this corresponding relation is kept at local base station access control grade and Base Station Identification is concentrated;
For example, when the Base Station Identification of the base station A that terminal 1 receives be A, access control grade be 9 and the Base Station Identification of base station B be B, access control grade while being 10, the first set of correspondences of this base station access control grade and Base Station Identification can be as shown in Table 1.
Table one:
S304: terminal shows this Base Station Identification to user;
In the present embodiment, terminal shows this Base Station Identification to user, makes this user choose the Base Station Identification of this terminal base station to be accessed.
Optionally, terminal also can show to user the access control grade of this base station.
S305: terminal is obtained the Base Station Identification that this user chooses, inquires about this set of correspondences, obtains the first base station access control grade corresponding to Base Station Identification of choosing with this;
For example, it is A that terminal 1 gets the Base Station Identification that user chooses, and, by question blank one, the known base station access control grade corresponding with Base Station Identification A is 9.
Optionally, in S304, terminal is when showing Base Station Identification to user, in the time of also can showing the access control grade of base station to user, this step also can be by user's manual operation, be the Base Station Identification that user chooses the access of this terminal band in this Base Station Identification, and manually to terminal, send and choose with it base station access control grade that Base Station Identification is corresponding by user.
S306: the access control grade of this respective base station of terminal is set to the access control grade of this terminal;
For example, when base station construction quality corresponding to the Base Station Identification A choosing with user is 9, the access control grade of terminal 1 this terminal is set to 9.
S307: terminal sends to this base station and sends access request, carries the access control grade of this terminal in this access request;
In the present embodiment, terminal can be according to this Base Station Identification, and the base station representing to this Base Station Identification sends access request, or terminal can send access request broadcast, realizes to this base station and sends access request.
For example, terminal 1 sends access request to the base station of Base Station Identification A, and as S306 example, the access control grade of this terminal is set to 9, and the terminal access control grade of the mobile terminal carrying in its access request is 9.
S308: base station receives the access request that at least one terminal sends, carries the access control grade of this terminal in this access request;
For example, base station A receives the access request that terminal 1 sends, and base station B also receives the access request that terminal 1 sends, and in this access request, the access control grade of carried terminal is 9.
S309: base station judges whether the access control grade of this terminal and the access control grade of this base station mate, if coupling is carried out S310; If do not mated, this flow process finishes;
In the present embodiment, when the access control grade of access control grade and this base station is identical, determine the access control grade of this terminal and the access control ratings match of this base station, when different, definite access control grade of terminal and the access control grade of this base station are not mated.
For example, the access control grade of base station A is 9, as shown in S208 example, the access control grade of its terminal receiving 1 is also 9, the access control grade that is the terminal 1 that receives with it of the access control grade of base station A is identical, determine the access control grade of this base station A and the access control ratings match of this terminal 1, carry out S310;
The access control grade of base station B is 10, as shown in S308 example, the access control grade of its terminal receiving 1 is 9, the access control grade that is the terminal 1 that receives with it of the access control grade of base station A is identical, this determines that the access control grade of base station B and the access control grade of this terminal 1 do not mate, and this flow process finishes.
S310: base station sends access response to this mobile terminal, makes this terminal according to this access response access;
Concrete, when terminal access control grade is during with default base station access control ratings match, base station sends access response to mobile terminal, makes this terminal respond and access according to this access, from realizing this base station, provides communication service for this terminal.
The embodiment of the present invention is by judging whether the access control grade of terminal and the access control grade of base station mate, when the access control grade of terminal and the access control ratings match of base station, control this base station access by terminal, so that this base station provides communication service for terminal, realize the access control to spendable terminal in this base station service areas.In addition, by showing Base Station Identification by terminal to user, user, choose after the Base Station Identification of base station to be accessed of this terminal, by the local base station access grade of preserving of inquiry terminal and the corresponding relation of Base Station Identification, obtain the base station access grade that this Base Station Identification of choosing with user is corresponding, and the access control grade using this corresponding base station access grade as this terminal, realized the flexible control of user to terminal access control grade, thereby increased the adjustable of terminal access control grade, by adjusting the access control grade of terminal, access different base stations, and then increase terminal is used the flexible control in region.
Embodiment 4
As shown in Figure 4, the embodiment of the present invention provides the method for a kind of terminal access, the method comprising the steps of S401~S410, wherein S301, the S307~S310 of S401, S407~S410 and embodiment 3, repeat no more, as different from Example 3, the present embodiment is further comprising the steps of herein:
S402: terminal, according to described Base Station Identification, is obtained the overlay area of described base station;
In the present embodiment, terminal can communicate according to described Base Station Identification and base station, determines base station location, and then the overlay area of determining this base station belongs to prior art, and those skilled in the art can be accomplished in several ways, and repeat no more herein.
For example, terminal 1 is region 1 by calculating the overlay area of known base station A, and the overlay area of base station B is region 2.
S403: terminal, according to the access control grade of described base station and the overlay area of described base station, generates the corresponding relation of the access control grade of described base station and the overlay area of described base station;
In the present embodiment, after determining the overlay area of base station, terminal, according to the access control grade of this base station and the overlay area of described base station, generates the corresponding relation of the access control grade of described base station and the overlay area of described base station.And the second corresponding relation that described corresponding relation is kept at local base station access control grade of preserving and base station coverage area is concentrated.Optionally, in this second corresponding relation, collection also can comprise the Base Station Identification corresponding with base station access control grade.
For example, as shown in S403 example, when overlay area that terminal 1 is determined base station A is region 1, when the overlay area of base station B is region 2, this second set of correspondences that comprises Base Station Identification can be as shown in Table 2.
Table two:
S404: terminal shows the overlay area of base station to user, makes described user choose this terminal overlay area to be used;
S405: terminal is obtained the overlay area that described user chooses, and according to the described overlay area of choosing, local described the second set of correspondences of preserving of inquiry, obtains the second base station access control grade corresponding with the described overlay area of choosing;
For example, it is region 1 that terminal 1 gets this terminal overlay area to be used that user chooses, and, by question blank two, the known base station access control grade corresponding with region 1 is 9.
Optionally, in S402, terminal is except showing this overlay area to user, also can show the base station access control grade corresponding with this overlay area to user, this step also can be by user's manual operation, be that user chooses this terminal overlay area to be used in this overlay area, and manually to terminal, send base station access control grade corresponding to overlay area to be used with its this terminal of choosing by user.
S406: the access control grade using corresponding the second base station access control grade as this terminal.
For example, when base station construction quality corresponding to the region 1 of choosing with user is 9, the access control grade of terminal 1 this terminal is set to 9.
The embodiment of the present invention is by judging whether the access control grade of terminal and the access control grade of base station mate, when the access control grade of terminal and the access control ratings match of base station, control this base station access by terminal, so that this base station provides communication service for terminal, realize the access control to spendable terminal in this base station service areas.In addition, by shown the overlay area of base station to user by terminal, user, choose behind the overlay area to be used of this terminal, by the local base station access grade of preserving of inquiry terminal and the corresponding relation of base station coverage area, obtain the overlay area that this Base Station Identification of choosing with user is corresponding, and the access control grade using this corresponding base station access grade as this terminal, that user can determine the access control grade of terminal more intuitively by overlay area, realized the flexible control of user to terminal access control grade, thereby increased the adjustable of terminal access control grade, by adjusting the access control grade of terminal, access different base stations, and then increase terminal is used the flexible control in region.
Embodiment 5
As shown in Figure 5, the embodiment of the present invention also provides a kind of terminal, and described terminal comprises:
Base station access control grade and Base Station Identification acquisition module 501, for obtaining access control grade and the Base Station Identification of at least one base station;
Terminal access control grade arranges module 502, for according to the access control grade of described base station and described Base Station Identification, the access control grade of this terminal is set;
Access request sending module 503, for sending access request to described base station, carries the access control grade of described terminal in described access request, make described base station according to the access control grade of described terminal, controls described terminal access.
The embodiment of the present invention is according to access control grade and the described Base Station Identification of the base station receiving, the access control grade of terminal is set, and to described base station, send the access request of the access control grade of carrying described terminal, make described base station according to the access control grade of described terminal, control described terminal access, realized by the access control grade that terminal is set initiatively, the base station of the access control ratings match of selectable access and this terminal, so that this base station provides communication service for this terminal, thereby reach the interlocking of terminal and base station.
Embodiment 6
As shown in Figure 6, the embodiment of the present invention also provides a kind of terminal, similar to Example 5, and this enforcement comprises that base station access control grade and Base Station Identification acquisition module 501, terminal access control grade arrange module 502 and access request sending module 503;
Wherein, described base station access control grade acquisition module, also for receiving access control grade and the Base Station Identification of the described base station of at least one base station broadcast.
Terminal access control grade arranges module 502, comprising:
The corresponding relation generation unit 5021 of base station access control grade and Base Station Identification, be used for according to the access control grade of described base station and described Base Station Identification, generate the access control grade of described base station and the corresponding relation of Base Station Identification, and the first corresponding relation that described corresponding relation is kept at local base station access control grade and Base Station Identification is concentrated;
Base Station Identification display unit 5022, for show described Base Station Identification to user, makes described user choose the Base Station Identification of this terminal base station to be accessed;
The first access control classification unit, base station 5023, the Base Station Identification of choosing for obtaining described user, inquires about described the first set of correspondences, obtains the first base station access control grade corresponding with the described Base Station Identification of choosing;
First terminal access control grade setting unit 5024, is set to the access control grade of this terminal for the first base station access control grade of described correspondence.
Described terminal also comprises:
Base station coverage area acquisition module 504, for according to described Base Station Identification, obtains the overlay area of described base station;
Base station access control grade and base station coverage area corresponding relation generation module 505, be used for according to the access control grade of described base station and the overlay area of described base station, generate the corresponding relation of the access control grade of described base station and the overlay area of described base station, and the second corresponding relation that described corresponding relation is kept at local base station access control grade of preserving and base station coverage area is concentrated;
When described terminal also comprises: when base station coverage area acquisition module 504 and base station access control grade and base station coverage area corresponding relation generation module 503, described terminal access control grade arranges module 502, also comprises:
Overlay area display unit 5025, for show the overlay area of base station to user, makes described user choose this terminal overlay area to be used;
The second access control classification unit, base station 5026, for obtaining the overlay area that described user chooses, and according to the described overlay area of choosing, local described the second set of correspondences of preserving of inquiry, obtains the second base station access control grade corresponding with the described overlay area of choosing;
The second terminal access control grade setting unit 5027, for the access control grade using corresponding the second base station access control grade as this terminal.
The embodiment of the present invention is by judging whether the access control grade of terminal and the access control grade of base station mate, when the access control grade of terminal and the access control ratings match of base station, control this base station access by terminal, so that this base station provides communication service for terminal, realize the access control to spendable terminal in this base station service areas.In addition, by shown the overlay area of base station to user by terminal, user, choose behind the overlay area to be used of this terminal, by the local base station access grade of preserving of inquiry terminal and the corresponding relation of base station coverage area, obtain the overlay area that this Base Station Identification of choosing with user is corresponding, and the access control grade using this corresponding base station access grade as this terminal, that user can determine the access control grade of terminal more intuitively by overlay area, realized the flexible control of user to terminal access control grade, thereby increased the adjustable of terminal access control grade, by adjusting the access control grade of terminal, access different base stations, and then increase terminal is used the flexible control in region.
Embodiment 7
As shown in Figure 7, the embodiment of the present invention also provides a kind of base station of control terminal access, and described base station comprises:
Access request receiver module 601, for receiving the access request of at least one terminal transmission, carries the access control grade of described terminal in described access request;
Access control ratings match module 602, for judging whether the access control grade of described terminal and the access control grade of base station mate, if coupling sends access response to described terminal, makes described terminal according to described access response access.
The embodiment of the present invention, by judging the access control grade of described terminal and the access control grade of this base station, whether mate, when the access control grade of terminal and the access control ratings match of this base station, to described terminal, send access response, make described terminal according to described access response access, realize the terminal of selectable control access, so that this base station provides communication service for this terminal, thereby reached the interlocking of terminal and base station.
Embodiment 8
As shown in Figure 8, the embodiment of the present invention also provides a kind of base station of control terminal access, and similar to Example 7, described base station comprises: access request receiver module 601 and access control ratings match module 602;
Further, in the present embodiment, described base station also comprises:
Base station access control grade and Base Station Identification broadcast module 603, for broadcasting access control grade and the Base Station Identification of this base station to described terminal.
The embodiment of the present invention, by judging the access control grade of described terminal and the access control grade of this base station, whether mate, when the access control grade of terminal and the access control ratings match of this base station, to described terminal, send access response, make described terminal according to described access response access, realize the terminal of selectable control access, so that this base station provides communication service for this terminal, thereby reached the interlocking of terminal and base station.Further, base station sends access control grade and the Base Station Identification of this base station to terminal by broadcast, make terminal can obtain more easily the access control grade of each base station, and then the access control grade of terminal is set according to the access control grade of this base station.
Embodiment 9
As shown in Figure 9, the embodiment of the present invention also provides a kind of terminal connecting system, and described system comprises: the base station 702 of terminal 701 and control terminal access:
Described terminal 701, for obtaining access control grade and the Base Station Identification of base station described at least one; According to the access control grade of described base station and described Base Station Identification, the access control grade of this terminal is set; To described base station, send access request, in described access request, carry the access control grade of described terminal;
The base station 702 of described control terminal access, receives the access request that terminal sends described at least one, carries the access control grade of described terminal in described access request; Judge whether the access control grade of described terminal and the access control grade of this base station mate, if coupling sends access response to described terminal, make described terminal according to described access response access.
The embodiment of the present invention is by judging whether the access control grade of terminal and the access control grade of base station mate, when the access control grade of terminal and the access control ratings match of base station, control this base station access by terminal, so that this base station provides communication service for terminal, realize the access control to spendable terminal in this base station service areas.In addition, by shown the overlay area of base station to user by terminal, user, choose behind the overlay area to be used of this terminal, by the local base station access grade of preserving of inquiry terminal and the corresponding relation of base station coverage area, obtain the overlay area that this Base Station Identification of choosing with user is corresponding, and the access control grade using this corresponding base station access grade as this terminal, that user can determine the access control grade of terminal more intuitively by overlay area, realized the flexible control of user to terminal access control grade, thereby increased the adjustable of terminal access control grade, by adjusting the access control grade of terminal, access different base stations, and then increase terminal is used the flexible control in region.
All or part of content in the technical scheme that above embodiment provides can realize by software programming, and its software program is stored in the storage medium can read, storage medium for example: the hard disk in computer, CD or floppy disk.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.