CN109587755A - A kind of connection control method, device and mobile terminal - Google Patents

A kind of connection control method, device and mobile terminal Download PDF

Info

Publication number
CN109587755A
CN109587755A CN201710901675.7A CN201710901675A CN109587755A CN 109587755 A CN109587755 A CN 109587755A CN 201710901675 A CN201710901675 A CN 201710901675A CN 109587755 A CN109587755 A CN 109587755A
Authority
CN
China
Prior art keywords
access
classification
information
target
control instructions
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.)
Granted
Application number
CN201710901675.7A
Other languages
Chinese (zh)
Other versions
CN109587755B (en
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.)
China Academy of Telecommunications Technology CATT
Datang Mobile Communications Equipment Co Ltd
Original Assignee
China Academy of Telecommunications Technology CATT
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 China Academy of Telecommunications Technology CATT filed Critical China Academy of Telecommunications Technology CATT
Priority to CN201710901675.7A priority Critical patent/CN109587755B/en
Publication of CN109587755A publication Critical patent/CN109587755A/en
Application granted granted Critical
Publication of CN109587755B publication Critical patent/CN109587755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of connection control method, device and mobile terminals, are related to field of communication technology, solve the problem of access control relevant programme not yet how is carried out when the access attempts initiated in terminal side belong to multiple accesses classification.Connection control method of the invention includes: the access information for obtaining at least one the corresponding access classification of target access attempts, the access information includes: the precedence information and/or access control instructions information of access classification, and the access control instructions information indicates whether that skipping the access classification for being currently accessed and classifying or be arranged in after being currently accessed classification carries out access control;Access control processing is carried out according to the access information.The embodiment of the present invention solves the problems, such as access control how is carried out when access attempts exist simultaneously a variety of accesses classification.

Description

A kind of connection control method, device and mobile terminal
Technical field
The present invention relates to the technical field of communications applications more particularly to a kind of connection control methods, device and mobile terminal.
Background technique
With the development of wireless communication system, terminal type and type of service diversification are required to carry out accessing control Mode and type are also more and more, can complicate access control mechanism.One kind can be used in 5G system to be connect based on classification Enter the method for control, to realize that access control mechanism is unitized, simplifies.But the access attempts that terminal side is initiated, Multiple access classification may be belonged to, how to carry out access control in this case, there are no relevant programmes in the prior art.
Summary of the invention
The purpose of the present invention is to provide a kind of connection control method, device and mobile terminals, to solve in terminal side When the access attempts initiated belong to multiple accesses classification, the problem of access controls relevant programme not yet how is carried out.
To achieve the goals above, the present invention provides a kind of connection control methods, are applied to mobile terminal, comprising:
The access information of at least one corresponding access classification of target access attempts is obtained, the access information includes: to connect Enter the precedence information and/or access control instructions information of classification, the access control instructions information indicates whether to skip current Access classification or the access classification being arranged in after being currently accessed classification carry out access control;
Access control processing is carried out according to the access information.
Wherein, the step of access information for obtaining at least one the corresponding access classification of target access attempts, comprising:
By the Non-Access Stratum NAS and/or access layer AS of the mobile terminal, it is corresponding at least to obtain target access attempts The access information of one access classification.
Wherein, the step of access information for obtaining at least one the corresponding access classification of target access attempts, comprising:
The configuration information stored in the message and/or Global Subscriber identification card USIM sent by protocol conventions, network side, Obtain the access information of at least one corresponding access classification of the target access attempts.
Wherein, described the step of access control processing is carried out according to the access information, comprising:
According to the access information, determine that the corresponding access of the access classification is suitable by the NAS and/or AS of mobile terminal Sequence;
By the AS according to the access sequence, access control processing is carried out.
Wherein, described according to the access information, determine that the access classification is corresponding by the NAS and/or the AS The step of access sequence, comprising:
If the access information of each access classification includes the access control instructions information, it is determined that access control refers to Show that the corresponding access of access classification that information is the first sign is sequentially the second indicateing arm prior to access control instructions information The access of knowledge classifies corresponding access sequentially;
If the access information of each access classification includes the access control instructions information, and the access is classified The sign for accessing control instructions information is identical, then suitable to the corresponding access of access classification according to predetermined order rule Sequence is ranked up;
If the access information of each access classification includes the precedence information, according to the precedence information, Determine that the access classifies corresponding access sequentially;
If the access information of each access classification includes the precedence information, and the priority of the access classification It is identical, then according to predetermined order rule, the corresponding access sequence of access classification is ranked up;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, then basis The precedence information determines that the access classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, it is determined that Access control instructions information is that the corresponding access sequence of access classification of the first sign is prior to access control instructions information The access of second sign classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, and described The sign for accessing the access control instructions information of classification is identical, then according to the precedence information, determines the access point The corresponding access sequence of class.
Wherein, described according to the access sequence, carry out the step of access control is handled, comprising:
According to access sequence, chosen in the corresponding access classification of the target access attempts target access classify into Row access control judgement processing, obtains judging result, the access sequence of the target access classification is prior to other access classification Access sequence, other described accesses are classified as in the access classification for not carrying out the access control judgement processing except the target connects Enter the access classification except classification;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to allow to access, then skips the access control of other access classification Judgement processing processed, and determine the permission target access attempts;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to forbid accessing, then according to access sequence, connects to described other Enter classification and carries out access control judgement processing;
If the judging result is to allow to access, and be not arranged with other access classification after target access classification, Then determining allows the target access attempts;
If the judging result is to forbid accessing, and be not arranged with other access classification after target access classification, Then the target access attempts are forbidden in determination;
If being arranged with other access classification after the target access classification, and the access control of target access classification Instruction information is that the second sign or other described access classification are not configured with the access control instructions information, then according to institute Judging result is stated, access control processing is carried out.
Wherein, described according to the judging result, carry out the step of access control is handled, comprising:
If the judging result is to allow to access, according to the access sequence, other described access classification are connect Enter to control judgement processing;
If the judging result is to forbid accessing, it is determined that forbid the target access attempts.
To achieve the goals above, the embodiment of the invention also provides a kind of mobile terminals, comprising: transceiver, memory, Processor and storage on a memory and the computer program that can run on a processor, the processor execution computer It is performed the steps of when program
The access information of at least one corresponding access classification of target access attempts is obtained, the access information includes: to connect Enter the precedence information and/or access control instructions information of classification, the access control instructions information indicates whether to skip current Access classification or the access classification being arranged in after being currently accessed classification carry out access control;
Access control processing is carried out according to the access information.
Wherein, following steps be can also be achieved when the processor executes the computer program:
By the Non-Access Stratum NAS and/or access layer AS of the mobile terminal, it is corresponding at least to obtain target access attempts The access information of one access classification.
Wherein, following steps be can also be achieved when the processor executes the computer program:
The configuration information stored in the message and/or Global Subscriber identification card USIM sent by protocol conventions, network side, Obtain the access information of at least one corresponding access classification of the target access attempts.
Wherein, following steps be can also be achieved when the processor executes the computer program:
According to the access information, determine that the corresponding access of the access classification is suitable by the NAS and/or AS of mobile terminal Sequence;
By the AS according to the access sequence, access control processing is carried out.
Wherein, following steps be can also be achieved when the processor executes the computer program:
If the access information of each access classification includes the access control instructions information, it is determined that access control refers to Show that the corresponding access of access classification that information is the first sign is sequentially the second indicateing arm prior to access control instructions information The access of knowledge classifies corresponding access sequentially;
If the access information of each access classification includes the access control instructions information, and the access is classified The sign for accessing control instructions information is identical, then suitable to the corresponding access of access classification according to predetermined order rule Sequence is ranked up;
If the access information of each access classification includes the precedence information, according to the precedence information, Determine that the access classifies corresponding access sequentially;
If the access information of each access classification includes the precedence information, and the priority of the access classification It is identical, then according to predetermined order rule, the corresponding access sequence of access classification is ranked up;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, then basis The precedence information determines that the access classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, it is determined that Access control instructions information is that the corresponding access sequence of access classification of the first sign is prior to access control instructions information The access of second sign classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, and described The sign for accessing the access control instructions information of classification is identical, then according to the precedence information, determines the access point The corresponding access sequence of class.
Wherein, following steps be can also be achieved when the processor executes the computer program:
According to access sequence, chosen in the corresponding access classification of the target access attempts target access classify into Row access control judgement processing, obtains judging result, the access sequence of the target access classification is prior to other access classification Access sequence, other described accesses are classified as in the access classification for not carrying out the access control judgement processing except the target connects Enter the access classification except classification;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to allow to access, then skips the access control of other access classification Judgement processing processed, and determine the permission target access attempts;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to forbid accessing, then according to access sequence, connects to described other Enter classification and carries out access control judgement processing;
If the judging result is to allow to access, and be not arranged with other access classification after target access classification, Then determining allows the target access attempts;
If the judging result is to forbid accessing, and be not arranged with other access classification after target access classification, Then the target access attempts are forbidden in determination;
If being arranged with other access classification after the target access classification, and the access control of target access classification Instruction information is that the second sign or other described access classification are not configured with the access control instructions information, then according to institute Judging result is stated, access control processing is carried out.
Wherein, following steps be can also be achieved when the processor executes the computer program:
If the judging result is to allow to access, according to the access sequence, other described access classification are connect Enter to control judgement processing;
If the judging result is to forbid accessing, it is determined that forbid the target access attempts.
To achieve the goals above, it the embodiment of the invention also provides a kind of computer readable storage medium, stores thereon There is computer program, the step of which realizes connection control method as described above when being executed by processor.
To achieve the goals above, the embodiment of the invention also provides a kind of access control apparatus, are applied to mobile terminal, Include:
Module is obtained, it is described to connect for obtaining the access information of at least one corresponding access classification of target access attempts Enter the precedence information and/or access control instructions information that information includes: access classification, the access control instructions information instruction Whether skip to be currently accessed classification or be arranged in the access classification being currently accessed after classifying and carries out access control;
Processing module, for carrying out access control processing according to the access information.
Wherein, the processing module includes:
Submodule is determined, for determining the access point by the NAS and/or AS of mobile terminal according to the access information The corresponding access sequence of class;
Submodule is handled, for, according to the access sequence, carrying out access control processing by the AS.
Wherein, the determining submodule includes:
First determination unit, if the access information for each access classification includes the access control instructions letter Breath, it is determined that access control instructions information is that the corresponding access sequence of access classification of the first sign refers to prior to access control Show that the access that information is the second sign classifies corresponding access sequentially;
Second determination unit, if the access information for each access classification includes the access control instructions letter Breath, and the sign of the access control instructions information of the access classification is identical, then according to predetermined order rule, connects to described The corresponding access sequence that enters to classify is ranked up;
Third determination unit, if the access information for each access classification includes the precedence information, root According to the precedence information, determine that the access classifies corresponding access sequentially;
4th determination unit, if the access information for each access classification includes the precedence information, and institute The priority for stating access classification is identical, then according to predetermined order rule, arranges the corresponding access sequence of access classification Sequence;
5th determination unit, if the access information for each access classification respectively includes the access control instructions First part's access in information and the precedence information or all access classification respectively includes the access Control instructions information and the precedence information, all second part access classification accessed in classification only include described excellent First grade information determines that the access classifies corresponding access sequentially then according to the precedence information;
6th determination unit, if the access information for each access classification respectively includes the access control instructions First part's access in information and the precedence information or all access classification respectively includes the access Control instructions information and the precedence information, all second part access classification accessed in classification only include described excellent First grade information, it is determined that access control instructions information is that the access of the first sign classifies corresponding access sequence prior to access Control instructions information is that the access of the second sign classifies corresponding access sequentially;
7th determination unit, if the access information for each access classification respectively includes the access control instructions First part's access in information and the precedence information or all access classification respectively includes the access Control instructions information and the precedence information, all second part access classification accessed in classification only include described excellent First grade information, and the sign of the access control instructions information of the access classification is identical, then according to the precedence information, Determine that the access classifies corresponding access sequentially.
Wherein, the processing submodule includes:
Judging unit, for being chosen in the corresponding access classification of the target access attempts according to the access sequence Target access classification carries out access control judgement processing, obtains judging result, the access sequence of the target access classification prior to The access sequence of other access classification, other described accesses are classified as not carrying out the access classification of the access control judgement processing In except the target access classification in addition to access classification;
First processing units, if the access control instructions information for target access classification is the first sign, Other access classification are arranged with after target access classification, and the judging result is to allow to access, then skip it is described its He accesses the access control judgement processing of classification, and determines the permission target access attempts;
The second processing unit, if the access control instructions information for target access classification is the first sign, Other access classification are arranged with after the target access classification, and the judging result is to forbid accessing, then connects according to Enter sequence, access control judgement processing is carried out to other described access classification;
Third processing unit, if being to allow to access, and do not arrange after target access classification for the judging result Show other access classification, it is determined that allow the target access attempts;
Fourth processing unit, if being to forbid accessing, and do not arrange after target access classification for the judging result Show other access classification, it is determined that forbid the target access attempts;
5th processing unit, if for being arranged with other access classification, and the target after target access classification The access control instructions information of access classification is that the second sign or other described access classification are not configured with the access control System instruction information carries out access control processing then according to the judging result.
Wherein, the 5th processing unit includes:
First processing subelement, if being to allow to access for the judging result, according to the access sequence, to described Other access classification carry out access control judgement processing;
Second processing subelement, if being to forbid accessing for the judging result, it is determined that the target access is forbidden to taste Examination.
The embodiment of the present invention has the advantages that
The above-mentioned technical proposal of the embodiment of the present invention is classified by obtaining at least one the corresponding access of target access attempts Access information, can be when target access attempts correspond to multiple access multiclass, according to above-mentioned access information in an orderly manner to multiple Access classification carries out access control, solves when access attempts exist simultaneously a variety of access classification how to carry out asking for access control Topic.
Detailed description of the invention
Fig. 1 is the first pass figure of the connection control method of the embodiment of the present invention;
Fig. 2 is the second flow chart of the connection control method of the embodiment of the present invention;
Fig. 3 is the third flow chart of the connection control method of the embodiment of the present invention;
Fig. 4 is the structural block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 5 is the first module diagram of the mobile terminal of the embodiment of the present invention;
Fig. 6 is the second module diagram of the mobile terminal of the embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with specific implementation Example and attached drawing are described in detail.
The embodiment provides a kind of connection control method, device and mobile terminal, solves and sent out in terminal side When the access attempts risen belong to multiple accesses classification, the problem of access controls relevant programme not yet how is carried out.
As shown in Figure 1, being applied to mobile terminal the embodiment of the invention provides a kind of connection control method, comprising:
Step 101: obtaining the access information of at least one corresponding access classification of target access attempts, the access information It include: that the precedence information of access classification and/or access control instructions information, the access control instructions information indicate whether to jump It crosses to be currently accessed classification or be arranged in the access classification being currently accessed after classifying and carries out access control.
Wherein, above-mentioned access control instructions information, which indicates whether to skip, is currently accessed connecing when classification corresponds to forbid accessing Enter control result or be currently accessed classification to correspond to allow to skip the access classification being arranged in after being currently accessed classification when accessing.
Specifically, it is corresponding that target access attempts can be obtained by the Non-Access Stratum NAS and/or access layer AS of mobile terminal At least one access classification access information.
Step 102: access control processing is carried out according to the access information.
Here, it can determine the access sequence of at least one above-mentioned access classification according to above-mentioned access information, and then can Access control is carried out according to determining access sequence.
The connection control method of the embodiment of the present invention is classified by obtaining at least one the corresponding access of target access attempts Access information, can be when target access attempts correspond to multiple access multiclass, according to above-mentioned access information in an orderly manner to multiple Access classification carries out access control, solves when access attempts exist simultaneously a variety of access classification how to carry out asking for access control Topic.
Further, above-mentioned steps 101 obtain the access information of at least one corresponding access classification of target access attempts The step of, comprising:
The configuration information stored in the message and/or Global Subscriber identification card USIM sent by protocol conventions, network side, Obtain the access information of at least one corresponding access classification of the target access attempts.
Wherein, the message that above-mentioned network side is sent can be the wide of NAS message perhaps application layer messages or base station side Broadcast message.
Further, as shown in Fig. 2, above-mentioned steps 102 include:
Step 1021: according to the access information, determining that the access classification corresponds to by the NAS and/or AS of mobile terminal Access sequence;
Step 1022: by the AS according to the access sequence, carrying out access control processing.
As the first optional implementation, above-mentioned steps 1021 include:
If the access information of each access classification includes the access control instructions information, it is determined that access control refers to Show that the corresponding access of access classification that information is the first sign is sequentially the second indicateing arm prior to access control instructions information The access of knowledge classifies corresponding access sequentially.
The first sign in the embodiment of the present invention can be specially "Yes", and the second sign can be specially "No".
Here, if each access classification only has the access control instructions information, it is determined that access control instructions information It is set as the highest priority of the access classification of "Yes", first carries out the corresponding access control judgement of access classification.
As second of optional implementation, above-mentioned steps 1021 include:
If the access information of each access classification includes the access control instructions information, and the access is classified The sign for accessing control instructions information is identical, then suitable to the corresponding access of access classification according to predetermined order rule Sequence is ranked up.
Here, if each access classification only has the access control instructions information, and the access control of the access classification System instruction information is disposed as "Yes" or "No", then according to predetermined order rule, classifies corresponding access sequentially to the access It is ranked up, such as randomly chooses any access classification and successively carry out access control judgement.
As the third optional implementation, above-mentioned steps 102 include:
If the access information of each access classification includes the precedence information, according to the precedence information, Determine that the access classifies corresponding access sequentially.
Here, if the access information of each access classification only includes above-mentioned precedence information, then according to priority Sequence successively carries out access control judgement.
As the 4th kind of optional implementation, above-mentioned steps 102 include:
If the access information of each access classification includes the precedence information, and the priority of the access classification It is identical, then according to predetermined order rule, the corresponding access sequence of access classification is ranked up.
Here, if the access information of each access classification only includes above-mentioned precedence information, and the access is classified Precedence information it is identical, then successively carry out access control judgement according to priority orders, such as randomly choose any access and classify Successively carry out access control judgement.
As the 5th kind of optional implementation, above-mentioned steps 102 include:
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, then basis The precedence information determines that the access classifies corresponding access sequentially.
Here, it is each access classification access information in include precedence information when, then according to precedence information, really The fixed access classifies corresponding access sequentially.
Further, if the precedence information of all access classification is identical, any access classification is randomly choosed Successively carry out access control judgement.
As the 6th kind of optional implementation, above-mentioned steps 102 include:
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, it is determined that Access control instructions information is that the corresponding access sequence of access classification of the first sign is prior to access control instructions information The access of second sign classifies corresponding access sequentially.
Here, the access control instructions information and described excellent is respectively included in the access information of each access classification First part's access in first grade information or all access classification respectively includes the access control instructions information With the precedence information, it is all it is described access classification in second parts access classification only include the precedence information when, The corresponding access sequence of access classification that determining instruction information is set as "Yes" is set as "No" prior to access control instructions information Access classify corresponding access sequence.
As the 7th kind of optional implementation, above-mentioned steps 102 include:
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, and described The sign for accessing the access control instructions information of classification is identical, then according to the precedence information, determines the access point The corresponding access sequence of class.
Here, the access control instructions information and described excellent is respectively included in the access information of each access classification First part's access in first grade information or all access classification respectively includes the access control instructions information With the precedence information, it is all it is described access classification in second parts access classification only include the precedence information when, Access control instructions information is set as the highest priority of the access classification of "Yes", first carries out access control instructions information and is set as The corresponding access control judgement of the access classification of "Yes";If it is multiple access classification instruction information be both configured to "Yes" or It is both configured to "No", then successively carries out access control judgement according still further to priority orders;If multiple access classification are corresponding excellent First grade sequence is identical, then randomly chooses any access classification and successively carry out access control judgement.
Further, above-mentioned steps 1022 include:
According to access sequence, chosen in the corresponding access classification of the target access attempts target access classify into Row access control judgement processing, obtains judging result, the access sequence of the target access classification is prior to other access classification Access sequence, other described accesses are classified as in the access classification for not carrying out the access control judgement processing except the target connects Enter the access classification except classification;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to allow to access, then skips the access control of other access classification Judgement processing processed, and determine the permission target access attempts;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to forbid accessing, then according to access sequence, connects to described other Enter classification and carries out access control judgement processing;
If the judging result is to allow to access, and be not arranged with other access classification after target access classification, Then determining allows the target access attempts;
If the judging result is to forbid accessing, and be not arranged with other access classification after target access classification, Then the target access attempts are forbidden in determination;
If being arranged with other access classification after the target access classification, and the access control of target access classification Instruction information is that the second sign or other described access classification are not configured with the access control instructions information, then according to institute Judging result is stated, access control processing is carried out.
Here, according to the judging result, carrying out access control processing includes:
If the judging result is to allow to access, according to the access sequence, other described access classification are connect Enter to control judgement processing;
If the judging result is to forbid accessing, it is determined that forbid the target access attempts.
In a specific embodiment of the present invention, access sequence is determined if it is the side UE NAS, then the side UE NAS is according to determining Access sequence, successively provides an access classification to the side UE AS, and the side UE AS carries out access control based on the access classification received and sentences Break, and access control result is fed back to the NAS of the side UE.
After the NAS of the side UE receives certain classification access control result of the AS feedback of UE,
If the access is classified, corresponding instruction information is set as "Yes", and the classification is not the last one access classification, The corresponding access control result that NAS is received is when allowing to access, then NAS thinks that subsequent access classification can be skipped, directly Determining allows the access attempts, and access control process terminates;If the access is classified, corresponding instruction information is set as "Yes", and The classification is not the last one access classification, and the corresponding access control result that NAS is received is when forbidding access, then think can by NAS It is currently accessed control result to skip, continues the AS layer that next access classification is sent to UE, the AS layer for triggering UE carries out down The corresponding access control of one classification;
If the access is classified, no corresponding instruction information or corresponding instruction information are set as "No", and this point Class is not the last one access classification, then the corresponding access control result that NAS is received is when allowing to access, then NAS layers according to Determining access control sequence, continues the AS that next access classification is sent to UE, and the AS for triggering UE carries out next classification Corresponding access control;If the access is classified, no corresponding instruction information or corresponding instruction information are set as "No", And the classification is not the last one access classification, and the NAS layers of corresponding access control result received are to forbid accessing, then NAS layers Think to forbid the access attempts, access control process terminates.
If access classification is the last one access classification, NAS receives corresponding access control result to allow When access, then it is assumed that the target access attempts allow;It is when forbidding access if it is access control result, then it is assumed that the target connects Enter trial to forbid;Access control process terminates.
In a specific embodiment of the present invention, the access control sequence of each access attempts is determined if it is the side UE AS, then The side UE NAS is supplied to the access information of the corresponding all classification of the side UE AS access attempts;Or the side UE AS is mentioned according to the side UE NAS The corresponding all access classification of the access attempts supplied or the corresponding all access classification of the access attempts oneself obtained, The information stored in conjunction with itself obtains the corresponding access information of access classification.
If it is the side UE AS determine access control sequence, then the side UE AS layers according to identified sequence successively to each classification Carry out access control judgement.
If the access is classified, corresponding instruction information is set as "Yes", and access classification is not the last one access point Class, then AS corresponding access control judging result in the side UE is when allowing to access, and AS thinks that subsequent access classification can be skipped, directly Connecing determination allows the access attempts, and access control process terminates;If the access is classified, corresponding instruction information is set as "Yes", And access classification is not the last one access classification, then when AS corresponding access control judging result in the side UE is forbids access, AS, which thinks to skip, is currently accessed control result, continues to carry out next access classification pair according to determining access control sequence The access control judgement answered;
If the no corresponding instruction information of the classification or corresponding instruction information are set as "No", and the access point Class is not the last one access classification, then it is when allowing to access, then AS is according to determining that AS, which carries out corresponding access control result, Control sequence is accessed, continues triggering and carries out the corresponding access control judgement of next classification;If the no corresponding finger of the classification Show that information or corresponding instruction information are set as "No", and access classification is not the last one access classification, then AS is carried out Corresponding access control result is when forbidding access, and AS thinks to forbid the access attempts, and access control process terminates.
If access classification is the last one access classification, it is to allow to connect that AS, which carries out corresponding access control result, It is fashionable, then it is assumed that the access attempts allow;When if it is forbidding access, then it is assumed that the access attempts are forbidden;Access control process Terminate.
The connection control method of the embodiment of the present invention is classified by obtaining at least one the corresponding access of target access attempts Access information, can be when target access attempts correspond to multiple access multiclass, according to above-mentioned access information in an orderly manner to multiple Access classification carries out access control, solves when access attempts exist simultaneously a variety of access classification how to carry out asking for access control Topic.
The concrete application embodiment of the embodiment of the present invention is described as follows below.
As shown in figure 3, the Application Example includes:
Step 301: the NAS or AS of mobile terminal obtain the access of at least one corresponding access classification of target access attempts Information.
Wherein, the NAS of mobile terminal obtains the access information of at least one corresponding access classification of target access attempts Mode can be one or more of following three kinds of modes.
Mode one: defined in agreement it is various it is possible access classification it is corresponding access control instructions information settings and/or Precedence information.
For example such as table 1 is defined in agreement, in the table 1, priority is indicated with high or low two options or priority is used Digital representation, and the value of number is smaller, priority is higher.
Table 1
Two: UE side NAS of mode receives the message that network side is sent, and obtains the corresponding access control instructions of each access classification Information and/or precedence information, and store the corresponding relationship.The message that network side is sent can be NAS message or application layer The broadcast message of message or base station side.In addition, then need at this time if not NAS message through interlayer interaction, it will be related Content transmission gives the side UE NAS.
For example, network side in the NAS message to UE, carries the corresponding access control instructions information of each access classification And/or precedence information, as shown in table 2.
Classification Access control instructions information Priority
1 It is High (or being 0)
32 It is no Low (or being 5)
33 It is no Low (or being 4)
34 It is Low (or being 4)
Table 2
Mode three: the configuration stored in usim card
The access information of the number of each access classification, the definition of representative and/or each access classification is stored in usim card, The NAS of UE obtains corresponding corresponding relationship and stores.
Wherein, the AS of mobile terminal obtains the side of the access information of at least one corresponding access classification of target access attempts Formula can be one or more of following three kinds of modes.
Mode four: the corresponding access control instructions information of various possible accesses classification and/or priority are defined in agreement Information.For example the definition in agreement is as shown in table 3.
Table 3
Five: UE side AS of mode receives the message that network side is sent, and obtains each corresponding access information of access classification, and store The corresponding relationship.The message that network side is sent can be the NAS message perhaps broadcast message of application layer messages or base station side. In addition, at this time if not AS message then needing that related content is transferred to the side UE AS by interlayer interaction.
Mode six: the configuration stored in usim card
The number of each access classification, the definition of representative and/or access information are stored in usim card.The AS of UE obtains corresponding Corresponding relationship and storage.
Step 302: access sequence being determined by NAS or AS, and access control is carried out according to determining access sequence by AS.
Below to determining that the implementation of access sequence is illustrated below respectively by NAS or AS.
Implementation one: NAS determines access sequence.
It is assumed that an access attempts belong to multiple access classification, for example access attempts 1 belong to access classification 32 and (represent machine Class business), while also belonging to access 3 (representing special access grade) of classification;Access attempts 2 belong to access classification 33 (under representative Carry class business), while also belonging to access 4 (representing mobile terminal originating data) of classification;Access attempts 3 belong to access classification 34 (representing low time delay business), while also belonging to access 4 (representing mobile terminal originating data) of classification;Or access attempts 4 belong to Access 32 (representing machine type business) of classification, while also belonging to access 4 (representing mobile terminal originating data) of classification.
At this point, the NAS of the side UE determines that the step of access sequence may particularly include:
(1) classified according to the corresponding access of target access attempts, and the information stored, determine target access attempts pair The access information for the access classification answered.
The access information can specifically:
The access information of access attempts 1 includes: access classification 32, and access control instructions information is set as no;Access classification 3, access control instructions information is configured as;Or
The access information of access attempts 2 includes: access classification 33, priority 4;Access classification 4, priority 4;Or
The access information of access attempts 3 includes: access classification 34, and access control instructions information is configured as, and priority is It is low;Access classification 4, access control instructions information are set as no, and priority is height;Or
The access information of access attempts 4 includes: access classification 32, and access control instructions information is set as no, and priority is It is low;Access classification 4, access control instructions information are set as no, and priority is height.
(2) NAS of the side UE determines access sequence according to the corresponding access information of target access attempts.
For the NAS of the above-mentioned side UE according to the corresponding access information of target access attempts, the step of determining access sequence, can be with Include:
If each access classification only access control instructions information, the access control instructions information are set as "Yes" Corresponding access classification highest priority first carries out the corresponding access control judgement of access classification;If multiple access classification It is both configured to "Yes" or is both configured to "No", then randomly choose any access classification and successively carry out access control judgement;Such as For access attempts 1, NAS layers of the side UE determines that the sequence of access control is to first carry out the corresponding access control judgement of access classification 3, The access corresponding access of classification designator 32 control judgement is executed again;
If each access classification only has priority, access control judgement is successively carried out according to priority orders;Such as The corresponding priority orders of the multiple accesses classification of fruit are identical, then randomly choose any access classification and successively carry out accessing controlling and sentence It is disconnected;For example for access attempts 2, then the side UE NAS layers of random selection first carries out access classification 33 or access classification 4.
If each access respectively includes access control instructions information and precedence information or first part's access Classification includes access control instructions information and precedence information, and second part access only includes precedence information respectively, then according to Priority orders successively carry out access control judgement;If multiple accesses are classified, corresponding priority orders are identical, random to select It selects any access classification and successively carries out access control judgement;Such as access attempts 3, then determine the suitable of access control for the side UE NAS layers Sequence is successively are as follows: access classification 4, access classification 34;
If each access respectively includes access control instructions information and priority or first part's access classification Including access control instructions information and precedence information, second part access only includes precedence information respectively, it is determined that access Control instructions information is set as the highest priority of the access classification of "Yes", first carries out the corresponding access control of access classification and sentences It is disconnected;If multiple access classification are both configured to "Yes" or are both configured to "No", successively accessed according to priority orders Control judgement;If multiple accesses are classified, corresponding priority orders are identical, randomly choose any access classification and successively carry out Access control judgement;Such as access attempts 3, then determine the sequence of access control successively for the side UE NAS layers are as follows: access classification 34 connects Enter classification 4;Such as access attempts 4, then the sequence of control is accessed as access classification 4, access classification 32.
(3) side UE NAS successively provides an access classification to the side UE AS, triggers the side UE AS according to determining access sequence Carry out access control judgement.
(4) the corresponding access of access classification that the side UE NAS receives the side UE AS feedback controls judging result.
If the access is classified, corresponding access control instructions information is configured as, and access classification is not the last one Access classification, the corresponding access control result that NAS is received are when allowing to access to think for NAS layers that subsequent access point can be skipped Class, directly determining allows the access attempts, and access control process terminates;If the corresponding access control result that NAS is received is taboo When only accessing, then NAS, which thinks to skip, is currently accessed control result, continues the AS that next access classification is sent to UE Layer, the AS layer for triggering UE carry out the corresponding access control of next classification;
If the access is classified, no corresponding access control instructions information or corresponding access control instructions information are set It is set to no, and access classification is not the last one access classification, then the corresponding access control result that NAS is received is to allow to access When, NAS layers, according to determining access control sequence, are continued next access classification being sent to the AS of UE, trigger the AS of UE into The corresponding access control of the next access classification of row;If the NAS layers of corresponding access control result received is forbid access, Think for NAS layers to forbid the access attempts, access control process terminates.
If access classification is the last one access classification, it is fair that corresponding access control result is received at NAS layers When accessing perhaps, determine that the access attempts allow;When if it is forbidding access, then it is assumed that the access attempts are forbidden;Access controlled Journey terminates.
For example access classification 3 is first sent to the side UE AS by above-mentioned access attempts 1, the side UE NAS.The side UE AS feedback access classification 3 corresponding access control judging results are " allowing to access ", since access 3 corresponding access control instructions information of classification are set as It is that then the side UE NAS thinks that subsequent access classification can be skipped, and directly determining access attempts 1 allows to access, and accesses control process Terminate;
For above-mentioned access attempts 2, the side UE NAS is determined at random first sends access classification 33 to the side UE AS, and judging result is " allowing to access ", since access classification 33 is without corresponding access control instructions information, NAS continues that 4 hair of classification will be accessed Give the side UE AS, the AS NAS that the result of access classification 4 is fed back to the side UE again.Since access classification 4 is the last one access point Class, then the access control result (allow to access and still forbid accessing) for accessing classification 4 is the access control knot of final access attempts 2 Fruit, access control process terminate.
For above-mentioned access attempts 3, access classification 4 is first sent to the side UE AS by the side UE NAS.The side UE AS feedback access classification 4 corresponding access control judging results are " allowing to access ", since access 4 corresponding access control instructions information of classification are set as No, NAS continues will to access classification 34 and is sent to the side UE AS, and the triggering side UE AS controls judgement to the access of access classification 34.
Implementation two: AS determines access sequence.
Assuming that an access attempts belong to multiple access classification, for example access attempts 5 belong to access 5 (mobile terminals of classification Originate signaling) and access 3 (representing special access grade) of classification;Access attempts 6 belong to (the access net side paging zone of access classification 8 Area update) and access 3 (representing special access grade) of classification.UE is under the inactive inactive state of RRC, although empty at this time Mouth connection disconnects, but the side UE and the side wireless access network RAN are stored with the context of UE.
At this point, the AS of the side UE determines that the step of access sequence may particularly include:
(1) AS of the side UE classifies according to the corresponding access of target access attempts, and the access information stored, determines mesh Mark the access information of access classification corresponding to access attempts.
Optionally, the side UE AS can be from the side UE NAS and obtain the corresponding access classification of target access attempts, for example access is tasted 5, NAS of examination determines that the access attempts are corresponding and is classified as access classification 5 and access classification 3.Optionally, NAS according to storage information, Returning AS provides each access classification corresponding access information;Or AS determines each access point according to the storage information of itself The corresponding access information of class.For example the AS of the final side UE determines that access attempts 5 include: access classification 5, accesses control instructions information It is set as no;Access classification 3, access control instructions information are configured as.
Optionally, the side UE AS, which can be, itself obtains the corresponding access classification of target access attempts, such as access attempts 6, The side UE AS determines the corresponding access classification 8 of the access attempts and access classification 3.AS each connects according to itself storage information, determination Enter corresponding access information of classifying.For example the AS of the final side UE determines that access attempts 6 include: access classification 8, accesses control instructions Information is set as no, and access priority is low;Access classification 3, access control instructions information are configured as, and access priority is It is high.
(2) AS of the side UE determines access sequence according to the corresponding access information of target access attempts.
Optionally, if each access classification only access control instructions information, it is determined that access control instructions information is set It is set to the corresponding access classification highest priority of "Yes", first carries out the corresponding access control judgement of access classification;If multiple Access classification is both configured to "Yes" or is both configured to "No", then randomly chooses any access classification and successively carry out access control Judgement.
Optionally, if each access classification only has priority, access control is successively carried out according to priority orders and is sentenced It is disconnected;If multiple accesses are classified, corresponding priority orders are identical, randomly choose any access classification and successively carry out access control System judgement.
Optionally, if each access respectively includes access control instructions information and precedence information, Huo Zhe A part access classification includes access control instructions information and precedence information, and second part access classification only includes priority Information then successively carries out access control judgement according to priority orders;The corresponding priority orders phase if multiple accesses are classified Together, then it randomly chooses any access classification and successively carries out access control judgement.
Optionally, if each access classification includes access control instructions information and precedence information or first Being tapped into classification includes access control instructions information and priority, and second part access classification only includes precedence information, then Access control instructions information is set as the access classification highest priority of "Yes", first carries out the corresponding access control of access classification Judgement;If multiple access classification are both configured to "Yes" or are both configured to "No", successively connect according to priority orders Enter control judgement;If multiple accesses are classified, corresponding priority orders are identical, randomly choose any access classify successively into Row access control judgement.
Such as the access control sequence of access attempts 5 are as follows: access classification 3, access classification 5;The access of access attempts 6 controls Sequence is access classification 3, accesses classification 8.
(3) side UE AS successively carries out access control judgement to each classification according to identified sequence.
Optionally, if the access is classified, corresponding access control instructions information is configured as, and access classification is not The last one access classification is thought for AS layers to jump then when AS corresponding access control judging result in the side UE is to allow to access Subsequent access classification is crossed, directly determining allows the access attempts, and access control process terminates;If access control judging result When to forbid, then AS, which thinks to skip, is currently accessed control result, continues to carry out according to determining access control sequence next A access corresponding access control of classifying judges.
Optionally, if the access is classified, no corresponding access control instructions information or corresponding access control refer to Show that information is set as "No", and access classification is not the last one access classification, then carries out corresponding access control result in AS When to allow to access, AS layers, according to determining access control sequence, are continued triggering and carry out the corresponding access of next access classification Control judgement;If it is to think for AS layers to forbid the access attempts, access control when forbidding that AS, which carries out corresponding access control result, Process terminates.
Optionally, if access classification is the last one access classification, corresponding access control result is carried out in AS When to allow to access, then it is assumed that the access attempts allow;When if it is forbidding access, then it is assumed that the access attempts are forbidden;Access Control process terminates.
For example access attempts 5, the side UE AS are to allow to access to the corresponding access control judging result of access classification 3, due to The corresponding access control instructions information of access classification is configured as, then AS thinks that subsequent access classification can be skipped, directly Confirmation allows the access attempts, and access control process terminates.
Such as access attempts 6, the side UE AS is not allow to the corresponding access control judging result of access classification 3, due to this The corresponding access control instructions information of access classification is configured as, then AS, which thinks to skip, is currently accessed control result, is continued The corresponding access control judgement of next access classification (access classification 8) is carried out according to determining access control sequence.Due to connecing Entering classification 8 is the last one access classification, then the access control result (allow to access and still forbid accessing) for accessing classification 8 is most The access control result of whole access attempts 6, access control process terminate.
The connection control method of the embodiment of the present invention is classified by obtaining at least one the corresponding access of target access attempts Access information, can be when target access attempts correspond to multiple access multiclass, according to above-mentioned access information in an orderly manner to multiple Access classification carries out access control, solves when access attempts exist simultaneously a variety of access classification how to carry out asking for access control Topic.
As shown in figure 4, the embodiments of the present invention also provide a kind of mobile terminal, including memory 420, processor 400, Transceiver 410, user interface 430, bus interface and it is stored in the calculating that can be run on memory 420 and on processor 400 Machine program, the processor 400 are used to read the program in memory 420, execute following process:
The access information of at least one corresponding access classification of target access attempts is obtained, the access information includes: to connect Enter the precedence information and/or access control instructions information of classification, the access control instructions information indicates whether to skip current Access classification or the access classification being arranged in after being currently accessed classification carry out access control;
Access control processing is carried out according to the access information.
Wherein, in Fig. 4, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor 400 The various circuits for the memory that the one or more processors and memory 420 of representative represent link together.Bus architecture is also Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can be linked together, these are all It is it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver 410 can To be multiple element, that is, includes transmitter and transceiver, the list for communicating over a transmission medium with various other devices is provided Member.For different user equipmenies, user interface 430, which can also be, external the interface for needing equipment is inscribed, and connection is set Standby including but not limited to keypad, display, loudspeaker, microphone, control stick etc..
Processor 400, which is responsible for management bus architecture and common processing, memory 420, can store processor 400 and is holding Used data when row operation.
Processor 400 is also used to read the program in memory 420, executes following steps:
By the Non-Access Stratum NAS and/or access layer AS of the mobile terminal, it is corresponding at least to obtain target access attempts The access information of one access classification.
Processor 400 is also used to read the program in memory 420, executes following steps:
The configuration information stored in the message and/or Global Subscriber identification card USIM sent by protocol conventions, network side, Obtain the access information of at least one corresponding access classification of the target access attempts.
Processor 400 is also used to read the program in memory 420, executes following steps:
According to the access information, determine that the corresponding access of the access classification is suitable by the NAS and/or AS of mobile terminal Sequence;
By the AS according to the access sequence, access control processing is carried out.
Processor 400 is also used to read the program in memory 420, executes following steps:
If the access information of each access classification includes the access control instructions information, it is determined that access control refers to Show that the corresponding access of access classification that information is the first sign is sequentially the second indicateing arm prior to access control instructions information The access of knowledge classifies corresponding access sequentially;
If the access information of each access classification includes the access control instructions information, and the access is classified The sign for accessing control instructions information is identical, then suitable to the corresponding access of access classification according to predetermined order rule Sequence is ranked up;
If the access information of each access classification includes the precedence information, according to the precedence information, Determine that the access classifies corresponding access sequentially;
If the access information of each access classification includes the precedence information, and the priority of the access classification It is identical, then according to predetermined order rule, the corresponding access sequence of access classification is ranked up;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, then basis The precedence information determines that the access classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, it is determined that Access control instructions information is that the corresponding access sequence of access classification of the first sign is prior to access control instructions information The access of second sign classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the priority First part's access in information or all access classification respectively includes the access control instructions information and institute Precedence information is stated, the second part access classification in all access classification only includes the precedence information, and described The sign for accessing the access control instructions information of classification is identical, then according to the precedence information, determines the access point The corresponding access sequence of class.
Processor 400 is also used to read the program in memory 420, executes following steps:
According to access sequence, chosen in the corresponding access classification of the target access attempts target access classify into Row access control judgement processing, obtains judging result, the access sequence of the target access classification is prior to other access classification Access sequence, other described accesses are classified as in the access classification for not carrying out the access control judgement processing except the target connects Enter the access classification except classification;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to allow to access, then skips the access control of other access classification Judgement processing processed, and determine the permission target access attempts;
If the access control instructions information of the target access classification is the first sign, the target access classification After be arranged with other access classification, and the judging result is to forbid accessing, then according to access sequence, connects to described other Enter classification and carries out access control judgement processing;
If the judging result is to allow to access, and be not arranged with other access classification after target access classification, Then determining allows the target access attempts;
If the judging result is to forbid accessing, and be not arranged with other access classification after target access classification, Then the target access attempts are forbidden in determination;
If being arranged with other access classification after the target access classification, and the access control of target access classification Instruction information is that the second sign or other described access classification are not configured with the access control instructions information, then according to institute Judging result is stated, access control processing is carried out.
Processor 400 is also used to read the program in memory 420, executes following steps:
If the judging result is to allow to access, according to the access sequence, other described access classification are connect Enter to control judgement processing;
If the judging result is to forbid accessing, it is determined that forbid the target access attempts.
In some embodiments of the invention, a kind of computer readable storage medium is additionally provided, calculating is stored thereon with Machine program, the program perform the steps of when being executed by processor
The access information of at least one corresponding access classification of target access attempts is obtained, the access information includes: to connect Enter the precedence information and/or access control instructions information of classification, the access control instructions information indicates whether to skip current Access classification or the access classification being arranged in after being currently accessed classification carry out access control;
Access control processing is carried out according to the access information.
The program is able to achieve all implementations in above method embodiment when being executed by processor, to avoid repeating, Details are not described herein again.
As shown in figure 5, being applied to mobile terminal the embodiments of the present invention also provide a kind of access control apparatus, comprising:
Module 501 is obtained, it is described for obtaining the access information of at least one corresponding access classification of target access attempts Access information includes: that the precedence information of access classification and/or access control instructions information, the access control instructions information refer to Show whether to skip to be currently accessed classification or be arranged in the access classification being currently accessed after classifying and carries out access control;
Processing module 502, for carrying out access control processing according to the access information.
The access control apparatus of the embodiment of the present invention, the acquisition module 501 are used to connect by the non-of the mobile terminal Enter layer NAS and/or access layer AS, obtains the access information of at least one corresponding access classification of target access attempts.
The access control apparatus of the embodiment of the present invention, the acquisition module 501 are used to send by protocol conventions, network side Message and/or Global Subscriber identification card USIM in the configuration information that stores, it is corresponding at least to obtain the target access attempts The access information of one access classification.
The access control apparatus of the embodiment of the present invention, as shown in fig. 6, the processing module 502 includes:
Determine submodule 5021, for according to the access information, as the NAS and/or AS of mobile terminal determine described in connect Enter to classify corresponding access sequence;
Submodule 5022 is handled, for, according to the access sequence, carrying out access control processing by the AS.
The access control apparatus of the embodiment of the present invention, the determining submodule 5021 include:
First determination unit 50211, if the access information for each access classification includes that the access control refers to Show information, it is determined that access control instructions information is that the corresponding access sequence of access classification of the first sign is controlled prior to access System instruction information is that the access of the second sign classifies corresponding access sequentially;
Second determination unit 50212, if the access information for each access classification includes that the access control refers to Show information, and the sign of the access control instructions information of the access classification is identical, then according to predetermined order rule, to institute The corresponding access sequence of access classification is stated to be ranked up;
Third determination unit 50213, if the access information for each access classification includes the precedence information, Then according to the precedence information, determine that the access classifies corresponding access sequentially;
4th determination unit 50214, if the access information for each access classification includes the precedence information, And the priority of the access classification is identical, then according to predetermined order rule, to the access classify corresponding access sequentially into Row sequence;
5th determination unit 50215, if the access information for each access classification respectively includes the access control First part's access in system instruction information and the precedence information or all access classification respectively includes institute Access control instructions information and the precedence information are stated, the second part access classification in all access classification only includes The precedence information determines that the access classifies corresponding access sequentially then according to the precedence information;
6th determination unit 50216, if the access information for each access classification respectively includes the access control First part's access in system instruction information and the precedence information or all access classification respectively includes institute Access control instructions information and the precedence information are stated, the second part access classification in all access classification only includes The precedence information, it is determined that access control instructions information is that the access of the first sign classifies corresponding access sequence first Classify corresponding access sequentially in the access that access control instructions information is the second sign;
7th determination unit 50217, if the access information for each access classification respectively includes the access control First part's access in system instruction information and the precedence information or all access classification respectively includes institute Access control instructions information and the precedence information are stated, the second part access classification in all access classification only includes The precedence information, and the sign of the access control instructions information of the access classification is identical, then according to described preferential Grade information determines that the access classifies corresponding access sequentially.
The access control apparatus of the embodiment of the present invention, the processing submodule 5022 include:
Judging unit 50221 is used for according to the access sequence, in the corresponding access classification of the target access attempts It chooses target access classification and carries out access control judgement processing, obtain judging result, the access sequence of the target access classification Prior to the access sequence of other access classification, other described accesses are classified as not carrying out the access of the access control judgement processing Access classification in classification in addition to target access classification;
First processing units 50222, if the access control instructions information for target access classification is the first instruction Mark is arranged with other access classification after the target access classification, and the judging result is to allow to access, then skips institute Other access control judgement processing for accessing classification are stated, and determine the permission target access attempts;
The second processing unit 50223, if the access control instructions information for target access classification is the first instruction Mark is arranged with other access classification after the target access classification, and the judging result is to forbid accessing, then according to institute Access sequence is stated, access control judgement processing is carried out to other described access classification;
Third processing unit 50224, if being to allow to access, and the target accesses after classification for the judging result It is not arranged with other access classification, it is determined that allow the target access attempts;
Fourth processing unit 50225, if being to forbid accessing, and the target accesses after classification for the judging result It is not arranged with other access classification, it is determined that forbid the target access attempts;
5th processing unit 50226, if for being arranged with other access classification after target access classification, and it is described The access control instructions information of target access classification is that the second sign or other described access classification are not configured with described connect Enter control instructions information, then according to the judging result, carries out access control processing.
The access control apparatus of the embodiment of the present invention, the 5th processing unit 50226 include:
First processing subelement 502261, if being to allow to access for the judging result, sequentially according to the access, Access control judgement processing is carried out to other described access classification;
Second processing subelement 502262, if being to forbid accessing for the judging result, it is determined that forbid the target Access attempts.
It should be noted that the device is device corresponding with above-mentioned connection control method, wherein the above method is implemented All implementations can also reach same technical effect suitable for the embodiment of the device in example.
In various embodiments of the present invention, it should be appreciated that magnitude of the sequence numbers of the above procedures are not meant to execute suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (20)

1. a kind of connection control method is applied to mobile terminal characterized by comprising
The access information of at least one corresponding access classification of target access attempts is obtained, the access information includes: access point The precedence information and/or access control instructions information of class, the access control instructions information, which indicates whether to skip, to be currently accessed The access classification classified or be arranged in after being currently accessed classification carries out access control;
Access control processing is carried out according to the access information.
2. connection control method according to claim 1, which is characterized in that the acquisition target access attempts are corresponding extremely The step of access information of few access classification, comprising:
By the Non-Access Stratum NAS and/or access layer AS of the mobile terminal, obtain target access attempts it is corresponding at least one Access the access information of classification.
3. connection control method according to claim 1, which is characterized in that the acquisition target access attempts are corresponding extremely The step of access information of few access classification, comprising:
The configuration information stored in the message and/or Global Subscriber identification card USIM sent by protocol conventions, network side, obtains The access information of at least one corresponding access classification of the target access attempts.
4. connection control method according to claim 1, which is characterized in that described to be accessed according to the access information The step of control processing, comprising:
According to the access information, determine that the access classifies corresponding access sequentially by the NAS and/or AS of mobile terminal;
By the AS according to the access sequence, access control processing is carried out.
5. connection control method according to claim 4, which is characterized in that it is described according to the access information, by described The NAS and/or AS determines the step of access classification corresponding access sequence, comprising:
If the access information of each access classification includes the access control instructions information, it is determined that access control instructions letter Breath is that the corresponding access of access classification of the first sign is sequentially the second sign prior to access control instructions information Access classifies corresponding access sequentially;
If the access information of each access classification includes the access control instructions information, and the access that the access is classified The sign of control instructions information is identical, then according to predetermined order rule, to the access classify corresponding access sequentially into Row sequence;
If the access information of each access classification includes the precedence information, according to the precedence information, determine The access classifies corresponding access sequentially;
If the access information of each access classification includes the precedence information, and the priority phase of the access classification Together, then the corresponding access sequence of access classification is ranked up according to predetermined order rule;
If the access information of each access classification respectively includes the access control instructions information and the precedence information, Or first parts' access in all access classification respectively includes the access control instructions information and described excellent First grade information, all second part access classification accessed in classification only include the precedence information, then according to Precedence information determines that the access classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the precedence information, Or first parts' access in all access classification respectively includes the access control instructions information and described excellent First grade information, all second part access classification accessed in classification only include the precedence information, it is determined that are accessed Control instructions information is that the corresponding access of access classification of the first sign is sequentially second prior to access control instructions information The access of sign classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the precedence information, Or first parts' access in all access classification respectively includes the access control instructions information and described excellent First grade information, the second parts access classification in all access classification only includes the precedence information, and the access The sign of the access control instructions information of classification is identical, then according to the precedence information, determines the access classification pair The access sequence answered.
6. connection control method according to claim 4, which is characterized in that it is described according to the access sequence, it is connect The step of entering control processing, comprising:
According to the access sequence, target access classification is chosen in the corresponding access classification of the target access attempts and is connect Enter to control judgement processing, obtain judging result, the access sequence of the target access classification accesses the access of classification prior to other Sequentially, other described accesses are classified as in the access classification for not carrying out the access control judgement processing except target access point Access classification except class;
If the access control instructions information of the target access classification is the first sign, the heel row of the target access classification Other access classification are shown, and the judging result is to allow to access, then the access control for skipping other access classification is sentenced Disconnected processing, and determine the permission target access attempts;
If the access control instructions information of the target access classification is the first sign, the heel row of the target access classification Other access classification are shown, and the judging result is to forbid accessing, then according to the access sequence, to other described accesses point Class carries out access control judgement processing;
If the judging result is to allow to access, and be not arranged with other access classification after target access classification, then really Surely allow the target access attempts;
If the judging result is to forbid accessing, and be not arranged with other access classification after target access classification, then really Surely forbid the target access attempts;
If being arranged with other access classification after the target access classification, and the access control instructions of target access classification Information is that the second sign or other described access classification are not configured with the access control instructions information, then sentences according to It is disconnected to be handled as a result, carrying out access control.
7. connection control method according to claim 6, which is characterized in that it is described according to the judging result, it is connect The step of entering control processing, comprising:
If the judging result is to allow to access, according to the access sequence, access control is carried out to other described access classification Judgement processing processed;
If the judging result is to forbid accessing, it is determined that forbid the target access attempts.
8. a kind of mobile terminal, comprising: transceiver, memory, processor and storage can transport on a memory and on a processor Capable computer program, which is characterized in that the processor performs the steps of when executing the computer program
The access information of at least one corresponding access classification of target access attempts is obtained, the access information includes: access point The precedence information and/or access control instructions information of class, the access control instructions information, which indicates whether to skip, to be currently accessed The access classification classified or be arranged in after being currently accessed classification carries out access control;
Access control processing is carried out according to the access information.
9. mobile terminal according to claim 8, which is characterized in that the processor is gone back when executing the computer program Following steps can be achieved:
By the Non-Access Stratum NAS and/or access layer AS of the mobile terminal, obtain target access attempts it is corresponding at least one Access the access information of classification.
10. mobile terminal according to claim 8, which is characterized in that when the processor executes the computer program It can also be achieved following steps:
The configuration information stored in the message and/or Global Subscriber identification card USIM sent by protocol conventions, network side, obtains The access information of at least one corresponding access classification of the target access attempts.
11. mobile terminal according to claim 8, which is characterized in that when the processor executes the computer program It can also be achieved following steps:
According to the access information, determine that the access classifies corresponding access sequentially by the NAS and/or AS of mobile terminal;
By the AS according to the access sequence, access control processing is carried out.
12. mobile terminal according to claim 11, which is characterized in that when the processor executes the computer program It can also be achieved following steps:
If the access information of each access classification includes the access control instructions information, it is determined that access control instructions letter Breath is that the corresponding access of access classification of the first sign is sequentially the second sign prior to access control instructions information Access classifies corresponding access sequentially;
If the access information of each access classification includes the access control instructions information, and the access that the access is classified The sign of control instructions information is identical, then according to predetermined order rule, to the access classify corresponding access sequentially into Row sequence;
If the access information of each access classification includes the precedence information, according to the precedence information, determine The access classifies corresponding access sequentially;
If the access information of each access classification includes the precedence information, and the priority phase of the access classification Together, then the corresponding access sequence of access classification is ranked up according to predetermined order rule;
If the access information of each access classification respectively includes the access control instructions information and the precedence information, Or first parts' access in all access classification respectively includes the access control instructions information and described excellent First grade information, all second part access classification accessed in classification only include the precedence information, then according to Precedence information determines that the access classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the precedence information, Or first parts' access in all access classification respectively includes the access control instructions information and described excellent First grade information, all second part access classification accessed in classification only include the precedence information, it is determined that are accessed Control instructions information is that the corresponding access of access classification of the first sign is sequentially second prior to access control instructions information The access of sign classifies corresponding access sequentially;
If the access information of each access classification respectively includes the access control instructions information and the precedence information, Or first parts' access in all access classification respectively includes the access control instructions information and described excellent First grade information, the second parts access classification in all access classification only includes the precedence information, and the access The sign of the access control instructions information of classification is identical, then according to the precedence information, determines the access classification pair The access sequence answered.
13. mobile terminal according to claim 11, which is characterized in that when the processor executes the computer program It can also be achieved following steps:
According to the access sequence, target access classification is chosen in the corresponding access classification of the target access attempts and is connect Enter to control judgement processing, obtain judging result, the access sequence of the target access classification accesses the access of classification prior to other Sequentially, other described accesses are classified as in the access classification for not carrying out the access control judgement processing except target access point Access classification except class;
If the access control instructions information of the target access classification is the first sign, the heel row of the target access classification Other access classification are shown, and the judging result is to allow to access, then the access control for skipping other access classification is sentenced Disconnected processing, and determine the permission target access attempts;
If the access control instructions information of the target access classification is the first sign, the heel row of the target access classification Other access classification are shown, and the judging result is to forbid accessing, then according to the access sequence, to other described accesses point Class carries out access control judgement processing;
If the judging result is to allow to access, and be not arranged with other access classification after target access classification, then really Surely allow the target access attempts;
If the judging result is to forbid accessing, and be not arranged with other access classification after target access classification, then really Surely forbid the target access attempts;
If being arranged with other access classification after the target access classification, and the access control instructions of target access classification Information is that the second sign or other described access classification are not configured with the access control instructions information, then sentences according to It is disconnected to be handled as a result, carrying out access control.
14. mobile terminal according to claim 13, which is characterized in that when the processor executes the computer program It can also be achieved following steps:
If the judging result is to allow to access, according to the access sequence, access control is carried out to other described access classification Judgement processing processed;
If the judging result is to forbid accessing, it is determined that forbid the target access attempts.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt It is realized when processor executes as described in any one of claims 1 to 7 the step of connection control method.
16. a kind of access control apparatus is applied to mobile terminal characterized by comprising
Module is obtained, for obtaining the access information of at least one corresponding access classification of target access attempts, the access letter Breath includes: that the precedence information of access classification and/or access control instructions information, the access control instructions information indicate whether It skips to be currently accessed classification or be arranged in the access classification being currently accessed after classifying and carries out access control;
Processing module, for carrying out access control processing according to the access information.
17. access control apparatus according to claim 16, which is characterized in that the processing module includes:
Submodule is determined, for determining the access classification pair by the NAS and/or AS of mobile terminal according to the access information The access sequence answered;
Submodule is handled, for, according to the access sequence, carrying out access control processing by the AS.
18. access control apparatus according to claim 17, which is characterized in that the determining submodule includes:
First determination unit, if the access information for each access classification includes the access control instructions information, Determine that access control instructions information is that the access of the first sign classifies corresponding access sequence prior to access control instructions letter Breath is that the access of the second sign classifies corresponding access sequentially;
Second determination unit, if the access information for each access classification includes the access control instructions information, and The sign of the access control instructions information of the access classification is identical, then according to predetermined order rule, to the access point The corresponding access sequence of class is ranked up;
Third determination unit, if the access information for each access classification includes the precedence information, according to institute Precedence information is stated, determines that the access classifies corresponding access sequentially;
4th determination unit if the access information for each access classification includes the precedence information, and described connects The priority for entering classification is identical, then according to predetermined order rule, is ranked up to the corresponding access sequence of access classification;
5th determination unit, if the access information for each access classification respectively includes the access control instructions information The access control is respectively included with first part's access in the precedence information or all access classification Indicate information and the precedence information, the second part access classification in all access classification only includes the priority Information determines that the access classifies corresponding access sequentially then according to the precedence information;
6th determination unit, if the access information for each access classification respectively includes the access control instructions information The access control is respectively included with first part's access in the precedence information or all access classification Indicate information and the precedence information, the second part access classification in all access classification only includes the priority Information, it is determined that access control instructions information is that the corresponding access sequence of access classification of the first sign is controlled prior to access Indicate that the access that information is the second sign classifies corresponding access sequentially;
7th determination unit, if the access information for each access classification respectively includes the access control instructions information The access control is respectively included with first part's access in the precedence information or all access classification Indicate information and the precedence information, the second part access classification in all access classification only includes the priority Information, and the sign of the access control instructions information of the access classification is identical, then according to the precedence information, determines The access classifies corresponding access sequentially.
19. access control apparatus according to claim 17, which is characterized in that the processing submodule includes:
Judging unit, for choosing target in the corresponding access classification of the target access attempts according to the access sequence Access classification carries out access control judgement processing, obtains judging result, the access sequence of the target access classification is prior to other The access sequence of classification is accessed, other described accesses are classified as removing in the access classification for not carrying out the access control judgement processing Access classification except the target access classification;
First processing units, it is described if the access control instructions information for target access classification is the first sign It is arranged with other access classification after target access classification, and the judging result is to allow to access, then skips described other and connect Enter the access control judgement processing of classification, and determines the permission target access attempts;
The second processing unit, it is described if the access control instructions information for target access classification is the first sign Other access classification are arranged with after target access classification, and the judging result is to forbid accessing, then it is suitable according to the access Sequence carries out access control judgement processing to other described access classification;
Third processing unit, if being to allow to access, and be not arranged with after target access classification for the judging result Other access classification, it is determined that allow the target access attempts;
Fourth processing unit, if being to forbid accessing, and be not arranged with after target access classification for the judging result Other access classification, it is determined that forbid the target access attempts;
5th processing unit, if for being arranged with other access classification after target access classification, and the target accesses The access control instructions information of classification is that the second sign or other described access classification are not configured with the access control and refer to Show information, then according to the judging result, carries out access control processing.
20. access control apparatus according to claim 19, which is characterized in that the 5th processing unit includes:
First processing subelement, if being to allow to access for the judging result, according to access sequence, to it is described other Access classification carries out access control judgement processing;
Second processing subelement, if being to forbid accessing for the judging result, it is determined that forbid the target access attempts.
CN201710901675.7A 2017-09-28 2017-09-28 Access control method, device and mobile terminal Active CN109587755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710901675.7A CN109587755B (en) 2017-09-28 2017-09-28 Access control method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710901675.7A CN109587755B (en) 2017-09-28 2017-09-28 Access control method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN109587755A true CN109587755A (en) 2019-04-05
CN109587755B CN109587755B (en) 2021-01-22

Family

ID=65914093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710901675.7A Active CN109587755B (en) 2017-09-28 2017-09-28 Access control method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN109587755B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114631355A (en) * 2020-09-28 2022-06-14 北京小米移动软件有限公司 Access control method, AC decision rule issuing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105612788A (en) * 2014-06-30 2016-05-25 Lg电子株式会社 Method for barring network access for each application, and user equipment
CN107041014A (en) * 2016-02-03 2017-08-11 中国移动通信集团公司 A kind of accidental access method, base station and terminal
CN107113650A (en) * 2015-01-22 2017-08-29 英特尔Ip公司 The transmission of congestion control information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105612788A (en) * 2014-06-30 2016-05-25 Lg电子株式会社 Method for barring network access for each application, and user equipment
CN107113650A (en) * 2015-01-22 2017-08-29 英特尔Ip公司 The transmission of congestion control information
CN107041014A (en) * 2016-02-03 2017-08-11 中国移动通信集团公司 A kind of accidental access method, base station and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114631355A (en) * 2020-09-28 2022-06-14 北京小米移动软件有限公司 Access control method, AC decision rule issuing method and device
CN114631355B (en) * 2020-09-28 2024-01-30 北京小米移动软件有限公司 Access control method, AC decision rule issuing method and device

Also Published As

Publication number Publication date
CN109587755B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN109144626B (en) Screen locking method and mobile terminal
CN107079239A (en) The method and electronic equipment of network service are provided
CN104883657B (en) A kind of virtual card management method and device
CN106465237A (en) Wireless communication method, processor and wireless terminal
CN107094280A (en) A kind of customer group establishment, resource allocation methods and equipment
US20160323331A1 (en) Electronic share server, screen sharing method, and program for electronic share server
US8306504B1 (en) Determining access to a feature of a mobile device
CN106817746A (en) A kind of network search method and device
CN110933712B (en) Data transmission method, terminal and storage medium
CN107432031A (en) Enhanced RACH algorithm for more SIM devices
CN109391424A (en) A kind of data transmission method for uplink, equipment and system
CN106686545A (en) Method and apparatus for applying wireless fidelity country code
JP7332802B2 (en) Method and Apparatus for Manual Network Selection
CN109587755A (en) A kind of connection control method, device and mobile terminal
US9585082B2 (en) Mobile user terminal, method of switching communications, and program for mobile user terminal
CN107548121B (en) Method and device for determining access network
CN109429302A (en) Restoration methods and device after a kind of multi-card terminal off-grid
CN107466087A (en) A kind of network search method and mobile terminal
CN107624252A (en) Control the method and device of network insertion
CN114143855A (en) Network automatic connection method and device
CN106330504A (en) Method for realizing application and service controller
WO2015176535A1 (en) Sim registration method, terminal, network server, computer program, and carrier
TW201924465A (en) Method and device of wireless communication
CN107291543A (en) Applied program processing method, device, storage medium and terminal
CN106879056A (en) The electricity saving method and device of a kind of terminal

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210603

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

TR01 Transfer of patent right