CN109842921A - A kind of connection control method and terminal - Google Patents

A kind of connection control method and terminal Download PDF

Info

Publication number
CN109842921A
CN109842921A CN201710898560.7A CN201710898560A CN109842921A CN 109842921 A CN109842921 A CN 109842921A CN 201710898560 A CN201710898560 A CN 201710898560A CN 109842921 A CN109842921 A CN 109842921A
Authority
CN
China
Prior art keywords
new opplication
new
classification
application
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710898560.7A
Other languages
Chinese (zh)
Inventor
陈宁宇
胡南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
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 Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710898560.7A priority Critical patent/CN109842921A/en
Priority to PCT/CN2018/104814 priority patent/WO2019062528A1/en
Publication of CN109842921A publication Critical patent/CN109842921A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/06Access restriction performed under specific conditions based on traffic 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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of connection control method and terminal, this method comprises: if detecting, new opplication is initiated the connection, and obtains the corresponding classification of the new opplication when connection of at least one application having been established between terminal and network side;Judge whether the data that the new opplication is sent to network side according to the corresponding classification of the new opplication.The connection control method provided through the invention, when each application initiates the connection, judge whether that the data for sending the application ensure that the fairness of priority between application so as to avoid the application of low priority from being directly accessed network using corresponding classification according to each.

Description

A kind of connection control method and terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of connection control method and terminals.
Background technique
In the prior art, access control is when UE (User Equipment, user equipment) is in Idle state, and UE is initiated Before random access, NAS (Non-Access Stratum, non-access) layer is transmitted to service request (i.e. Service Request) RRC (Radio Resource Control, wireless heterogeneous networks) layer includes classification (i.e. Category) that rrc layer disappears from system It is known that stopping parameter in breath, rrc layer executes access control judgement.However, when UE is in connected state, due to having built up User plane bearer, UE can directly send out data in application layer, and NAS layers of no longer hair service request are to rrc layer, therefore UE is in connected state The new opplication of Shi Faqi will not pass through access control judgement.
Since existing access control acts only on the UE in Idle state, the UE of connected state is in without acting on, from And it will lead to the problem of hitchhiking.Specifically, since access control can only do access control judgement in idle state, when there are certain When a application is allowed to access network, before RRC disconnection, access control judgement will not be all done again, thus other low priorities Application can be directly accessed network around access control judgement, be unfavorable for managing different applications respectively, be unfavorable for answering The fairness of priority between.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of connection control method and terminal, to solve only to be in sky in terminal The problem of executing access control judgement when not busy state, destroying the fairness of priority between application.
In order to achieve the above object, the embodiment of the invention provides a kind of connection control methods.This method comprises:
When the connection of at least one application having been established between terminal and network side, if detecting, new opplication is initiated the connection, Obtain the corresponding classification of the new opplication;
Judge whether the data that the new opplication is sent to network side according to the corresponding classification of the new opplication.
The embodiment of the present invention also provides a kind of terminal.The terminal includes:
Detection module is newly answered when for the connection of at least one application to have been established between terminal and network side if detecting With initiating the connection, then the corresponding classification of the new opplication is obtained;
Judgment module, for judging whether to send the new opplication to network side according to the corresponding classification of the new opplication Data.
The embodiment of the present invention also provides a kind of terminal, including processor, memory and is stored on the memory and can The computer program run on the processor, the computer program realize above-mentioned access when being executed by the processor The step of control method.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores on the computer readable storage medium There is the step of computer program, the computer program realizes above-mentioned connection control method when being executed by processor.
In the embodiment of the present invention, when the connection of at least one application having been established between terminal and network side, if detecting new Using initiating the connection, then the corresponding classification of the new opplication is obtained;Judged whether according to the corresponding classification of the new opplication to net Network side sends the data of the new opplication.The embodiment of the present invention is corresponding according to each application when each application initiates the connection Classification judges whether to send the data of the application, so as to avoid the application of low priority from being directly accessed network, ensure that and answer The fairness of priority between.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart of connection control method provided in an embodiment of the present invention;
Fig. 2 is the flow chart for the connection control method that further embodiment of this invention provides;
Fig. 3 is the flow chart for the connection control method that further embodiment of this invention provides;
Fig. 4 is the flow chart for the connection control method that further embodiment of this invention provides;
Fig. 5 is the structure chart of terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart for the terminal that further embodiment of this invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
For ease of description, below to the present embodiments relate to some terms be illustrated:
The exclusive congestion control of application software in data communication: Application specific Congestion Control for Data Communication, referred to as ACDC, are a kind of access control mechanisms, operator can permit or Person prevents the access request of application specific software when UE (User Equipment, user equipment) Idle state.ACDC is only applicable to The UE of Idle state, is not suitable for the UE of connected state, and the effect of ACDC is the load surcharge for mitigating access net or core net.Substantially special Property is as follows:
1), (land UMTS Terrestrial Radio Access Network, UMTS is wireless suitable for UTRAN by ACDC Access net) and E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, the land UMTS of evolution Wireless access network);
2), home network is that UE configures at least four classification (i.e. ACDC classification), and respectively correspond that operator defines answers With;
3) obligation that the classification in UE is home network, is opened, how to classify and is not defined by 3GPP;
4), UE has a set of mechanism to be verified as it to open access control category being one by information source;
5), for service network in access net side broadcast control information, control information includes the resistance of each access control category Block information, whether the UE of a roaming should be limited to access control control;
6) the obstruction information, broadcasted in each cell is different, and application is with the corresponding relationship of access control category by family in UE Township's network configuration;
7), this based on broadcast stops the access control category configuration inside information and UE, and UE may determine whether to permit Perhaps the transmission of the access request of specific application;
8), when multiple cores net shares same access net, access net should be able to be different core net difference lists Solely execute access control.In order to mitigate the congestion of a shared access net, for justice, stopping ratio should be to different fortune Battalion quotient is arranged identical.
NAS layers: Non-Access Atratum, Non-Access Stratum are responsible for the relevant management of core net on AS layers, can To be responsible for application identities (i.e. APP id) corresponding to classification.
AS layers: Access Atratum, access layer, under NAS layers, the resource management and data for being responsible for wireless side are passed It is defeated.AS layers include: RRC (Radio Resource Control, wireless heterogeneous networks) layer, SDAP (Service Discovery Application Profile, service discovery application specification) layer, PDCP (Packet Data Convergence Protocol, Packet Data Convergence Protocol) layer, RLC (Radio Link Control, radio link layer control protocol) layer, MAC (Media Access Control, medium access control) layer, PHY layer (Physical Layer, physical layer).
Optionally, can be responsible for IP (Internet Protocol, Internet protocol) stream being mapped to QoS flow for NAS layers, AS layers can be responsible for QoS (Quality of Service, service quality) stream being mapped to DRB (Data Resource Bearer, data resource carrying).Specifically, rrc layer can be responsible for executing access control judgement, SDAP layers can be responsible for QoS Stream is mapped to DRB.
The embodiment of the present invention is only in idle condition in UE for existing access control and holds to the application of application access network Access control judgement of going all no longer executes access control and sentences before having an application to be allowed to access network and RRC disconnection Certainly, the application of other low priorities can be directly accessed network around access control judgement, cause to be unfavorable for applying between it is preferential It the problem of fairness of grade, proposes a kind of connection control method, the company of at least one application has been established between terminal and network side When connecing, if detecting, new opplication is initiated the connection, and is judged whether to send institute to network side according to the corresponding classification of the new opplication The data of new opplication are stated, so as to avoid the application of low priority from being directly accessed network, ensure that priority between application Fairness.
The embodiment of the present invention provides a kind of connection control method.It is access provided in an embodiment of the present invention referring to Fig. 1, Fig. 1 The flow chart of control method, as shown in Figure 1, comprising the following steps:
Step 101, had been established between terminal and network side at least one application connection when, if detect new opplication initiate Connection, then obtain the corresponding classification of the new opplication.
In the embodiment of the present invention, above-mentioned application can be according to category division of application software, such as wechat, QQ etc., can also It is divided with the type of service according to transmission, such as conversation class, Streaming Media class, interactive class, background class, interactive medium, IPTV (Internet Protocol Television, Interactive Internet TV), FTP (File Transfer Protocol, file Transport protocol), HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) etc..
Specifically, when the connection of at least one application having been established between terminal and network side, if terminal detects new opplication It initiates the connection, then the application identities of the available new opplication, and according to the corresponding table of the application identities of storage and classification, obtains Classification corresponding with the application identities of the new opplication.
For example, the application layer of terminal can identify attendant applications (for example, APP if user clicks certain application in terminal Id application request) issues NAS layers, and NAS layers can obtain and the application according to the application identities of storage and the corresponding table of classification The corresponding classification of application identities, for example, classification 3 (i.e. Category3).
Step 102 judges whether the data that the new opplication is sent to network side according to the corresponding classification of the new opplication.
In the embodiment of the present invention, it can judge whether to send the new opplication to network side based on the corresponding classification of new opplication Data, for example, judging whether it is the new opplication based on the corresponding classification of new opplication establishes new network connection to send The data of new opplication are stated, or send the data of the new opplication based on existing network connection.
Optionally, terminal can execute access control judgement to new opplication based on the corresponding classification of new opplication, if access control Court verdict processed is to pass through, then the data of the new opplication are sent to network side, does not otherwise send the new opplication to network side Data.
Optionally, the corresponding classification of new opplication can also be directly compared by terminal with the classification of storage, if new opplication The priority of corresponding classification can then execute access control judgement lower than the classification of storage based on the corresponding classification of new opplication, Otherwise the data of the new opplication can be directly sent to network side, wherein the classification of storage can be currently to have connect in terminal Enter network using corresponding classification, for example, can be accessed network current in terminal all using in corresponding classification The minimum classification of priority.
It is understood that above-mentioned terminal can be mobile phone, tablet computer (Tablet Personal Computer), knee Laptop (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA) or Wearable device (Wearable Device) etc..
The connection of at least one application has been established in the connection control method of the embodiment of the present invention between terminal and network side When, if detecting, new opplication is initiated the connection, and obtains the corresponding classification of the new opplication;According to the corresponding classification of the new opplication Judge whether the data that the new opplication is sent to network side.The embodiment of the present invention is when each application initiates the connection, according to every A data for judging whether to send the application using corresponding classification, so as to avoid the application of low priority from being directly accessed net Network ensure that the fairness of priority between application.
Optionally, in above-mentioned steps 101, if described detect that new opplication initiates the connection, comprising:
If detecting new Internet protocol stream, it is determined that detect that new opplication initiates the connection;Or
If detecting new application request, it is determined that detect that new opplication initiates the connection.
In the embodiment of the present invention, different applications can correspond to different IP stream, so as to by monitoring new IP stream Determine whether that new opplication initiates the connection.Optionally, the embodiment of the present invention can monitor new IP by the NAS layer of terminal and flow, If NAS layers detect new IP stream, it is determined that there are new applications to initiate the connection, namely sends connection request.It is understood that It is that NAS layers when detecting new IP stream, can not directly map IP stream, but identify that the IP flows corresponding application identities, And the corresponding classification of the application identities is obtained, the number that the application is sent to network side is judged in the classification according to the application identities According to when, NAS layers are just mapped to the IP stream QoS flow of corresponding QoS flow or default.
Optionally, the embodiment of the present invention can also determine whether that new application is initiated by monitoring new application request Connection.Specifically, terminal applies layer can monitor the application of the application software when some application software of terminal is activated It requests (namely service request), if terminal determines that the service request is new service request, new opplication can be confirmly detected It initiates the connection.
The embodiment of the present invention by monitoring IP stream or application request to identify whether to have new application to initiate the connection, can be with The new application of convenient, accurate identification.
Optionally, described to judge whether to send out to network side according to the corresponding classification of the new opplication for above-mentioned steps 102 Send the data of the new opplication, comprising:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, described in execution The corresponding Internet protocol of new opplication flows to the mapping of service quality stream;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute The corresponding Internet protocol of the new opplication flows to the mapping of service quality stream.
In the embodiment of the present invention, the new opplication is sent if determining according to the corresponding classification of the new opplication to network side The corresponding IP stream of new opplication can be then mapped to the QoS flow of corresponding QoS flow or default by data, so as to further will QoS flow is mapped to Data Radio Bearer, to realize the transmitting-receiving of the data of the new opplication.If according to the corresponding classification of the new opplication It determines the data for not sending the new opplication to network side, then can not execute the mapping that the corresponding IP of new opplication flows to QoS flow, For example, stopping the corresponding IP of the new opplication flows to the mapping of QoS flow, or it is not responding to the corresponding IP stream of the new opplication, or straight It connects and abandons the corresponding IP data packet of the new opplication.
The embodiment of the present invention is not sending the new opplication to network side according to the corresponding classification determination of the new opplication When data, the mapping that the corresponding Internet protocol of the new opplication flows to service quality stream is not executed, it is lower so as to avoid The application of priority is directly accessed network, destroys the fairness of priority between application.
Optionally, for above-mentioned steps 101 namely the company that at least one application has been established between terminal and network side When connecing, if detecting, new opplication is initiated the connection, and obtains the corresponding classification of the new opplication, comprising: terminal and network side it Between have been established at least one application connection when, if the Non-Access Stratum of the terminal detects new Internet protocol stream, obtain The application identities of the new corresponding new opplication of Internet protocol stream;It is corresponding that the Non-Access Stratum obtains the application identities Classification;
Correspondingly, for above-mentioned steps 102 namely described being judged whether according to the corresponding classification of the new opplication to network Side sends the data of the new opplication, comprising: the corresponding classification of the application identities is sent to the end by the Non-Access Stratum The radio resource control layer at end;The Non-Access Stratum receives the access control court verdict that the radio resource control layer returns; The Non-Access Stratum controls court verdict according to the access and judges whether that executing the new Internet protocol flows to Service Quality Measure the mapping of stream.
In the embodiment of the present invention, when the connection of at least one application has been established between terminal and network side, user's triggering one A new opplication, such as youku.com's video, if the corresponding IP stream of the new opplication is different from the mark that the IP of application before flows, NAS layers can detecte a new IP miscarriage life.When detecting new IP stream at NAS layers, the IP can be further identified It flows corresponding application identities a, and a pairs of the application identities can be got according to the application identities of storage and the corresponding table of classification The classification answered.The corresponding classification of application identities a can be sent to rrc layer by NAS layers, so that rrc layer can be answered directly according to this Access control judgement is executed with the corresponding classification of mark a, obtains access control court verdict, and return to NAS layers.
Optionally, rrc layer can also be compared with the corresponding classification of application identities a with the classification of storage, if application identities a The priority of corresponding classification is greater than or equal to the priority of the classification of storage, then can directly pass through to NAS layers of return instruction Access control court verdict, so that the NAS layer execution new Internet protocol flow to the mapping of service quality stream, if using The priority of the corresponding classification of a is identified lower than the priority of the classification stored, then rrc layer can be corresponding according to application identities a Classification executes access control judgement, and obtained access control court verdict returns to NAS layers, so that NAS layers can be according to institute Access control court verdict is stated to judge whether to execute the mapping that the new Internet protocol flows to service quality stream.
Optionally, for above-mentioned steps 101 namely the company that at least one application has been established between terminal and network side When connecing, if detecting, new opplication is initiated the connection, and obtains the corresponding classification of the new opplication, comprising: terminal and network side it Between have been established at least one application connection when, if the Non-Access Stratum of the terminal detects new Internet protocol stream, obtain The application identities of the new corresponding new opplication of Internet protocol stream;It is corresponding that the Non-Access Stratum obtains the application identities Classification;
Correspondingly, for above-mentioned steps 102 namely described being judged whether according to the corresponding classification of the new opplication to network Side sends the data of the new opplication, comprising: the Non-Access Stratum is by the classification of the application identities corresponding classification and storage It is compared;If the priority of the corresponding classification of the application identities is greater than or equal to the priority of the classification of the storage, The Non-Access Stratum executes the mapping that the new Internet protocol flows to service quality stream;If the corresponding class of the application identities Other priority is lower than the priority of the classification of the storage, then the Non-Access Stratum sends out the corresponding classification of the application identities Give the radio resource control layer of the terminal;The Non-Access Stratum receives the access control that the radio resource control layer returns Court verdict;The Non-Access Stratum controls court verdict according to the access and judges whether to execute the new Internet protocol stream To the mapping of service quality stream.
In the embodiment of the present invention, when the connection of at least one application has been established between terminal and network side, user's triggering one A new opplication, such as youku.com's video, if the corresponding IP stream of the new opplication is different from the mark that the IP of application before flows, NAS layers can detecte a new IP miscarriage life.When detecting new IP stream at NAS layers, the IP can be further identified It flows corresponding application identities a, and a pairs of the application identities can be got according to the application identities of storage and the corresponding table of classification The classification answered.NAS layers can be compared the classification of the corresponding classification of application identities a and storage, if application identities a is corresponding The priority of classification is greater than or equal to the priority of the classification of storage, then can directly execute new IP and flow to QoS flow for NAS layers Mapping, otherwise can be sent to rrc layer for the corresponding classification of application identities a for NAS layers, so that rrc layer can be answered directly according to this Access control judgement is executed with the corresponding classification of mark a, access control court verdict is obtained, and return to NAS layers, thus NAS Layer can control court verdict according to the access and judge whether that executing the new Internet protocol flows to service quality stream Mapping.
Optionally, described before obtaining the corresponding classification of the new opplication if described detect that new opplication initiates the connection Method further include:
The corresponding Internet protocol stream of the new opplication is mapped to service quality stream, wherein different classes of application institute Corresponding Internet protocol stream is mapped to different service quality stream.
In the embodiment of the present invention, it can be mapped to different QoS flows using corresponding IP stream by different classes of, namely Only belong to the same category just may map to same QoS flow using corresponding IP stream, and optionally, QoS flow can be with classification It corresponds namely the corresponding IP stream of same category of application is mapped to same QoS flow, it is different classes of to be flowed using corresponding IP Be mapped to different QoS flows, thus terminal can by monitoring whether the appearance of new QoS flow, judge whether there is belong to it is new The application (for example, business or application software) of classification is initiated.
Optionally, in above-mentioned steps 101, if described detect that new opplication initiates the connection, further includes:
If detecting new service quality stream, it is determined that detect that new opplication initiates the connection, wherein different classes of application Corresponding Internet protocol stream is mapped to different service quality stream.
Specifically, the IP stream can be mapped to QoS flow, and be based on after detecting the IP stream of some application by terminal The QoS flow detects whether that there are new opplications to initiate the connection.If detecting new QoS flow, it is determined that detect that new opplication initiates to connect It connects, otherwise determines that new opplication, which is not detected, sends connection.
The embodiment of the present invention is by monitoring whether that new QoS flow, can be with to recognize whether that new opplication initiates the connection While taking into account the fairness of priority between application, access control judgement number is reduced.
Optionally, if described detect new service quality stream, it is determined that detect that new opplication initiates the connection, comprising: if The Non-Access Stratum or access layer of the terminal detect new service quality stream, it is determined that detect that new opplication initiates the connection.
Specifically, the embodiment of the present invention can be monitored whether by the NAS layer of terminal there are new QoS flow, it is with judgement It is no to there is new opplication (for example, business or application software) to be initiated, can also the AS layer in monitor whether that there are new QoS Stream, is initiated with judging whether there is new opplication (for example, business or application software).
Due to the mapping of AS layers of responsible QoS flow to DRB, when AS layers of discovery have the QoS flow of new category, due to QoS flow and class It is not to correspond, then rrc layer can obtain the corresponding classification of QoS flow, and access control judgement can be executed based on the category, such as Fruit access control court verdict is to pass through, which is mapped to DRB, does not otherwise execute the mapping that QoS flow reflects DRB; Or by the corresponding classification of the QoS flow compared with the classification of storage, if the priority of the corresponding classification of the QoS flow is higher than storage Classification priority, then above-mentioned QoS flow directly can be mapped to DRB, otherwise can be held based on the corresponding classification of the QoS flow Row access control judgement.
Optionally, for above-mentioned steps 102 namely described judged whether according to the corresponding classification of the new opplication to network Side sends the data of the new opplication, comprising:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, described in execution The transmission of the corresponding service quality stream of new opplication;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute The transmission of the corresponding service quality stream of the new opplication.
In the embodiment of the present invention, when detecting new QoS flow by the NAS layer of terminal, the corresponding class of the QoS flow is obtained Not, and can be judged whether to send its to network side according to the corresponding classification of the QoS flow (namely the corresponding classification of new opplication) it is right The data for the application answered, however, it is determined that the QoS flow can be then transferred to AS layers by the data that new opplication is sent to network side, thus The QoS flow further can be mapped to DRB by AS layers, however, it is determined that do not sent the data of new opplication to network side, then can not be incited somebody to action The QoS flow is transferred to AS layers, for example, stopping the transmission of the QoS flow, or is directly not responding to the QoS flow, should or directly abandon QoS data packet.
When detecting new QoS flow by the AS layer of terminal, the corresponding classification of the QoS flow is obtained, and can be according to this The corresponding classification of QoS flow (namely the corresponding classification of new opplication) judges whether the number that its corresponding application is sent to network side According to, however, it is determined that the QoS flow can will be then mapped to DRB, otherwise can not executed by the data that new opplication is sent to network side Mapping of the QoS flow to DRB.
Optionally, for above-mentioned steps 102, namely according to the corresponding classification of the new opplication judge whether to network side send out Send the data of the new opplication, comprising: access control judgement is executed according to the corresponding classification of the new opplication;If the access control Court verdict processed is to pass through, it is determined that the data of the new opplication are sent to network side;If the access control court verdict is Do not pass through, it is determined that the data of the new opplication are not sent to network side.
In the embodiment of the present invention, the classification of new opplication can be sent to rrc layer by the NAS layer of terminal, and rrc layer is based on newly answering Classification executes access control judgement, it is to be understood that rrc layer can the corresponding obstruction parameter of classification based on new opplication Access control judgement is carried out, and access control court verdict can be returned to NAS layers, so that NAS layers can control according to access Court verdict processed determines whether that network side sends the data of the new opplication, specifically, if the access controls court verdict To pass through, it is determined that the data of the new opplication are sent to network side, if access control court verdict is not pass through, really The fixed data for not sending the new opplication to network side.
Optionally, in order to reduce access control judgement number, for above-mentioned steps 102, namely according to the new opplication pair The classification answered judges whether the data that the new opplication is sent to network side, comprising: by the corresponding classification of the new opplication with deposit The classification of storage is compared;If the priority of the corresponding classification of the new opplication is greater than or equal to the preferential of the classification of the storage Grade, it is determined that the data of the new opplication are sent to network side;If the priority of the corresponding classification of the new opplication is lower than described The priority of the classification of storage then executes access control judgement according to the corresponding classification of the new opplication;If the access control Court verdict is to pass through, it is determined that the data of the new opplication are sent to network side;If the access control court verdict is not Pass through, it is determined that the data of the new opplication are not sent to network side.
In the embodiment of the present invention, can the NAS layer of terminal store currently accessed network using corresponding classification, For example, storage has currently accessed the classification minimum using priority in corresponding classification of network, so that NAS layers can will be new It is compared using corresponding classification with the classification of storage, if the priority of the corresponding classification of new opplication is greater than or equal to described The priority of the classification of storage can then directly determine the data that the new opplication is sent to network side, otherwise can incite somebody to action for NAS layers The corresponding classification of new opplication is sent to rrc layer, and rrc layer can execute access control judgement based on the corresponding classification of new opplication, and Access control court verdict can be returned to NAS layers, if access control court verdict is to pass through, it is determined that network side Send the data of the new opplication;If the access control court verdict is not pass through, it is determined that not to described in network side transmission The data of new opplication.
Optionally, the embodiment of the present invention can also store the current application for having accessed network in the rrc layer of terminal and correspond to Classification, for example, storage has currently accessed the classification minimum using priority in corresponding classification of network, NAS layers can be with The corresponding classification of new opplication is sent to rrc layer, rrc layer can compare the classification of the corresponding classification of new opplication and storage Compared with if the priority of the corresponding classification of new opplication is greater than or equal to the priority of the classification of the storage, rrc layer can be straight The data fed back to NAS layers and send the new opplication to network side are connect, otherwise rrc layer is connect based on the corresponding classification execution of new opplication Enter control judgement, and access control court verdict can be returned to NAS layers, if access control court verdict is to pass through, Then determine the data that the new opplication is sent to network side;If access control court verdict is not pass through, it is determined that not to Network side sends the data of the new opplication.
The embodiment of the present invention is connect by the new opplication execution only to the priority of classification lower than the priority of the classification of storage Enter control judgement, so as to while taking into account the fairness of priority between application, reduce access control judgement number.
Referring to fig. 2, Fig. 2 is the flow chart for the connection control method that further embodiment of this invention provides.As shown in Fig. 2, this Inventive embodiments provide connection control method the following steps are included:
Step 201, when terminal is in connected state, NAS layers detect new IP stream a.
In the embodiment of the present invention, terminal is in the company that at least one application has been established between connected state namely terminal and network side It connects.Specifically, when terminal is in connected state, user triggers a new opplication, such as youku.com's video, if the new opplication is corresponding IP stream and the mark that the IP of application before flows it is different, then can recognize a new IP and miscarry and give birth to for NAS layers.
The corresponding application identities a of step 202, NAS layers of identification IP stream a.
Step 203, the NAS layers of corresponding classification of acquisition application identities a.
Optionally, NAS layers can be according to the application identities of storage and the corresponding table of classification, being applied, it is corresponding to identify a Classification.
Step 204, NAS layers identify the corresponding classification of a to rrc layer sending application.
Step 205, rrc layer receive the corresponding classification of application identities a.
Step 206, rrc layer execute access control judgement according to the corresponding classification of application identities a, obtain access control judgement As a result.
Optionally, the corresponding obstruction parameter of available corresponding with the application identities a classification of rrc layer, wherein stop parameter It may include stopping the time and/or stopping probability, and connect according to the corresponding obstruction parameter execution of classification corresponding with application identities a Enter control judgement, obtains access control court verdict.
Step 207, rrc layer control court verdicts to NAS layers of transmission access.
Step 208, NAS layers of reception access control court verdict.
If step 209, access control court verdict are to pass through, IP stream a is mapped to QoS flow by NAS layers.
In the embodiment of the present invention, if access control court verdict is to pass through, IP stream a is mapped to QoS flow by NAS layers, no It then can stop the mapping of IP stream a to QoS flow for NAS layers, or abandon the IP data packet of IP stream a, so as to prevent using mark Know the corresponding application of a and accesses network.
The embodiment of the present invention is by executing access control judgement to each new opplication, when only access control judgement passes through, It just can establish the connection of the new opplication and network, such mode is avoided in oneself access network of other application, the new opplication Network access can be directly carried out on the basis of the connection of other application, cause the problem of hitchhiking.
It is the flow chart for the connection control method that further embodiment of this invention provides referring to Fig. 3, Fig. 3.As shown in figure 3, this Inventive embodiments provide connection control method the following steps are included:
Step 301, when terminal is in connected state, NAS layers detect new IP stream a.
The corresponding application identities a of step 302, NAS layers of identification IP stream a.
Step 303, the NAS layers of corresponding classification of acquisition application identities a.
Step 304, NAS layers identify the corresponding classification of a to rrc layer sending application.
Step 305, rrc layer receive the corresponding classification of application identities a.
Step 306, rrc layer compare the priority of the priority of the corresponding classification of application identities a and the classification of storage Compared with.
In the embodiment of the present invention, can rrc layer store currently accessed network using corresponding classification, for example, Storage has currently accessed the classification minimum using priority in corresponding classification of network.
Specifically, the priority of the corresponding classification of application identities a is compared with the priority of the classification of storage, answering When being greater than or equal to the priority of the classification stored with the priority of the corresponding classification of mark a, it can directly return and permit to NAS layers Perhaps the judging result of the corresponding application access network of application identities a is marked so that IP stream a is mapped to QoS flow by NAS layers in application When the priority for the classification that the priority for knowing the corresponding classification of a is lower than storage, step 307 is executed.
If step 307, the priority of the corresponding classification of application identities a are lower than the priority of the classification of storage, rrc layer root Access control judgement is executed according to the corresponding classification of application identities a, obtains access control court verdict.
Optionally, the corresponding obstruction parameter of available corresponding with the application identities a classification of rrc layer, wherein stop parameter It may include stopping the time and/or stopping probability, and connect according to the corresponding obstruction parameter execution of classification corresponding with application identities a Enter control judgement, obtains access control court verdict.
Step 308, rrc layer control court verdicts to NAS layers of transmission access.
Step 309, NAS layers of reception access control court verdict.
If step 310, access control court verdict are to pass through, IP stream a is mapped to QoS flow by NAS layers.
In the embodiment of the present invention, if access control court verdict is to pass through, IP stream a is mapped to QoS flow by NAS layers, no It then can stop the mapping of IP stream a to QoS flow for NAS layers, or abandon the IP data packet of IP stream a, so as to prevent using mark Know the corresponding application of a and accesses network.
The embodiment of the present invention is connect by the new opplication execution only to the priority of classification lower than the priority of the classification of storage Enter control judgement, so as to while taking into account the fairness of priority between application, reduce access control judgement number.
Referring to fig. 4, Fig. 4 is the flow chart for the connection control method that further embodiment of this invention provides.As shown in figure 4, this Inventive embodiments provide connection control method the following steps are included:
Step 401, when terminal is in connected state, NAS layers detect new IP stream a.
The corresponding application identities a of step 402, NAS layers of identification IP stream a.
Step 403, the NAS layers of corresponding classification of acquisition application identities a.
Step 404, the NAS layers of priority by the priority of the corresponding classification of application identities a and the classification of storage compares Compared with.
In the embodiment of the present invention, can NAS layers storage currently accessed network using corresponding classification, for example, Storage has currently accessed the classification minimum using priority in corresponding classification of network.
Specifically, the priority of the corresponding classification of application identities a is compared with the priority of the classification of storage, answering When being greater than or equal to the priority of the classification stored with the priority of the corresponding classification of mark a, directly IP stream a can be mapped to QoS flow executes step 405 in the priority for the classification that the priority of the corresponding classification of application identities a is lower than storage.
If step 405, the priority of the corresponding classification of application identities a lower than storage classification priority, NAS layers to Rrc layer sending application identifies the corresponding classification of a.
Step 406, rrc layer receive the corresponding classification of application identities a.
Step 407, rrc layer execute access control judgement according to the corresponding classification of application identities a, obtain access control judgement As a result.
Optionally, the corresponding obstruction parameter of available corresponding with the application identities a classification of rrc layer, wherein stop parameter It may include stopping the time and/or stopping probability, and connect according to the corresponding obstruction parameter execution of classification corresponding with application identities a Enter control judgement, obtains access control court verdict.
Step 408, rrc layer control court verdicts to NAS layers of transmission access.
Step 409, NAS layers of reception access control court verdict.
If step 410, access control court verdict are to pass through, IP stream a is mapped to QoS flow by NAS layers.
In the embodiment of the present invention, if access control court verdict is to pass through, IP stream a is mapped to QoS flow by NAS layers, no It then can stop the mapping of IP stream a to QoS flow for NAS layers, or abandon the IP data packet of IP stream a, so as to prevent using mark Know the corresponding application of a and accesses network.
The embodiment of the present invention is connect by the new opplication execution only to the priority of classification lower than the priority of the classification of storage Enter control judgement, so as to while taking into account the fairness of priority between application, reduce access control judgement number.
The embodiment of the present invention is illustrated below in conjunction with example:
Example 1: when terminal is in idle condition, user triggers certain application, such as wechat, and the application layer of terminal can incite somebody to action The application identities (for example, APP id) that application request is attached to the application issue NAS layers, and NAS layers can mark according to the application of storage Know with the corresponding table of classification, obtain classification corresponding with the application identities of the application, for example, classification 3 (i.e. Category 3), NAS layers are requested to rrc layer sending application, and the subsidiary corresponding classification of the application identities (for example, Category 3).Rrc layer is done Access control judgement, and access control court verdict can be fed back to NAS layers.If access control court verdict is to pass through, Then RRC can initiate the connection foundation request, establish radio bearer, feed back into connected state, and by access control court verdict NAS layers, NAS layers know that this, by access control judgement, can be mapped to QoS flow using corresponding business IP stream by the application, QoS flow is mapped to Data Radio Bearer (i.e. DRB) by AS layers, to realize the transmitting-receiving of data.
When terminal is in connected state, user triggers a new opplication, such as youku.com's video, if the new opplication is corresponding It is different from the mark that the IP of application before flows that IP is flowed, then can recognize a new IP miscarriage life for NAS layers, and can know The not IP flows corresponding application identities (i.e. APP id), so as to obtain according to the corresponding table of the application identities of storage and classification To the corresponding classification of application identities of the new opplication, for example, classification 4 (i.e. Category 4), at this time NAS layers will not be directly this IP stream is mapped in suitable QoS flow.
The corresponding classification of the application identities of new opplication can be issued rrc layer by NAS layers, do access control judgement by rrc layer, If access control court verdict is to pass through, rrc layer can indicate that the access control court verdict of NAS layers of above-mentioned new opplication is Pass through, which can be mapped to suitable QoS flow by NAS layers.If access control court verdict is not pass through, rrc layer The access control court verdict that can indicate NAS layers of above-mentioned new opplication is not pass through, and can be attached to an obstruction timer. NAS layers of starting stop timers, and before stopping timer expiry, NAS layers of refusal apply this or the classification phase with the application The IP stream of same all applications is mapped to QoS flow.Optionally, the NAS layers of IP data packet that can abandon the application.Stopping timing After device time-out, if occurring the IP stream of the application or other application identical with the classification of the application again, it can hold again The row above process also can execute access to the IP stream of the application or other application identical with the classification of the application again Control judgement.
The embodiment of the present invention is by executing access control judgement to each new opplication, when only access control judgement passes through, It just can establish the connection of the new opplication and network, such mode is avoided in oneself access network of other application, the new opplication Network access can be directly carried out on the basis of the connection of other application, cause the problem of hitchhiking.
Example 2: when terminal is in idle condition, user triggers certain application, such as wechat, and the application layer of terminal can incite somebody to action The application identities (for example, APP id) that application request is attached to the application issue NAS layers, and NAS layers can mark according to the application of storage Know with the corresponding table of classification, obtain classification corresponding with the application identities of the application, for example, classification 3 (i.e. Category 3), NAS layers are requested to rrc layer sending application, and the subsidiary corresponding classification of the application identities (for example, Category 3).Rrc layer is done Access control judgement, and access control court verdict can be fed back to NAS layers.If access control court verdict is to pass through, Then rrc layer can initiate the connection foundation request, establish radio bearer, feed back into connected state, and by access control court verdict To NAS layers, NAS layers know that this, by access control judgement, can be mapped to QoS flow, AS using corresponding IP stream by the application QoS flow is mapped to Data Radio Bearer (i.e. DRB) by layer, to realize the transmitting-receiving of data.
When terminal is in connected state, user triggers a new opplication, such as youku.com's video, if the new opplication is corresponding It is different from the mark that the IP of application before flows that IP is flowed, then can recognize a new IP miscarriage life for NAS layers, and can know The not IP flows corresponding application identities (i.e. APP id), so as to obtain according to the corresponding table of the application identities of storage and classification To the corresponding classification of application identities of the new opplication, for example, classification 4 (i.e. Category 4), at this time NAS layers will not be directly this IP stream is mapped in QoS flow.
The corresponding classification of the application identities of the new opplication (for example, classification 4) can be issued rrc layer by NAS layers, by rrc layer Do access control judgement.The NAS layers of classification (for example, classification 3) by the corresponding classification of the new opplication (for example, classification 4) and storage, Since the priority of classification 4 needs to be implemented access control so rrc layer will not directly be fed back through lower than the priority of classification 3 Judgement.
If access control court verdict is to pass through, rrc layer can indicate that the access control of NAS layers of above-mentioned new opplication is sentenced Certainly result is to pass through, and update the passable classification of storage, for example, being revised as the classification of classification 4 and higher priority can lead to It crosses, which then can be mapped to suitable QoS flow by NAS layers.If access control court verdict is not pass through, rrc layer The access control court verdict that can indicate NAS layers of above-mentioned new opplication is not pass through, and can be attached to an obstruction timer. NAS layers of starting stop timers, and before stopping timer expiry, NAS layers of refusal apply this or the classification phase with the application The IP stream of same all applications is mapped to QoS flow.Optionally, the NAS layers of IP data packet that can abandon the application.Stopping timing After device time-out, if occurring the IP stream of the application or other application identical with the classification of the application again, it can hold again The row above process also can execute access to the IP stream of the application or other application identical with the classification of the application again Control judgement.
It should be noted that if the priority of the corresponding classification of new opplication is greater than or equal to the classification of storage, then rrc layer can Directly to fed back through to NAS layers, control judgement is accessed without executing, at this point, the NAS layers of IP by the new opplication flows mapping To QoS flow, and then QoS flow is mapped to DRB again by AS layers, is directly transmitted.Initially sentenced by accessing control that is, RRC can be stored The application of classification certainly, subsequent high priority can be transmitted directly, and low priority does access control judgement using needs, if Low priority is to pass through using corresponding access control court verdict, can transmit the data of the application of the low priority, and Update the classification of RRC storage.If low priority is not pass through using corresponding access control court verdict, this is applied It cannot all be transmitted within a period of time, after stopping timer expiry, can just do access control judgement again.
Example 3: when terminal is in idle condition, user triggers certain application, such as wechat, and the application layer of terminal can incite somebody to action The application identities (for example, APP id) that application request is attached to the application issue NAS layers, and NAS layers can mark according to the application of storage Know with the corresponding table of classification, obtain classification corresponding with the application identities of the application, for example, classification 3 (i.e. Category 3), NAS layers are requested to rrc layer sending application, and the subsidiary corresponding classification of the application identities (for example, Category 3).Rrc layer is done Access control judgement, and access control court verdict can be fed back to NAS layers.If access control court verdict is to pass through, Then rrc layer can initiate the connection foundation request, establish radio bearer, feed back into connected state, and by access control court verdict To NAS layers, NAS layers know that the application is adjudicated by access control namely this can be controlled using corresponding classification by access Judgement, for example, classification 3 then can store following information: the class of classification 3 and higher priority for NAS layers by access control judgement Access control judgement can not passed through.This can be mapped to QoS flow using corresponding IP stream by NAS layers, and AS layers are mapped to QoS flow Data Radio Bearer (i.e. DRB), to realize the transmitting-receiving of data.
When terminal is in connected state, user triggers a new opplication, such as youku.com's video, if the new opplication is corresponding It is different from the mark that the IP of application before flows that IP is flowed, then can recognize a new IP miscarriage life for NAS layers, and can know The not IP flows corresponding application identities (i.e. APP id), so as to obtain according to the corresponding table of the application identities of storage and classification To the corresponding classification of application identities of the new opplication, for example, classification 4 (i.e. Category 4), since the priority of classification 4 is lower than The priority of the priority of classification 3 namely the corresponding classification of the new opplication lower than storage classification priority, NAS layers at this time Directly the IP stream will not be mapped in QoS flow.NAS layers can be by the corresponding classification of the application identities of the new opplication (for example, class It is other 4) to issue rrc layer, access control judgement is done by rrc layer.
If access control court verdict is to pass through, rrc layer can indicate that the access control of NAS layers of above-mentioned new opplication is sentenced Certainly result is to pass through, and NAS layers update the passable classification stored, for example, the classification for being revised as classification 4 and higher priority can Pass through, and the IP stream can be mapped to suitable QoS flow.If access control court verdict is not pass through, rrc layer can be with The access control court verdict for indicating NAS layers of above-mentioned new opplication is not pass through, and can be attached to an obstruction timer.NAS layers Starting stops timer, and before stopping timer expiry, NAS layers are refused the application or institute identical with the classification of the application There is the IP stream of application to be mapped to QoS flow.Optionally, the NAS layers of IP data packet that can abandon the application.Stopping timer expiry Afterwards, it if occurring the IP stream of the application or other application identical with the classification of the application again, can re-execute above-mentioned Process also can execute access control to the IP stream of the application or other application identical with the classification of the application again and sentence Certainly.
It should be noted that it should be noted that if the priority of the corresponding classification of new opplication is greater than or equal to storage The IP stream of the new opplication is then directly mapped to QoS flow for NAS layers by classification, and then QoS flow is mapped to DRB again by AS layers, is directly passed It is defeated.That is, NAS layers can store initially by the classification of access control judgement, the application of subsequent high priority can be transmitted directly, low Priority does access control judgement using needs, if low priority is logical using corresponding access control court verdict It crosses, the data of the application of the low priority can be transmitted, and update the classification of NAS layers of storage.If the application pair of low priority The access control court verdict answered passes through for position, then the data of the application cannot all be transmitted within a period of time, fixed stopping When device time-out after, can just do again access control judgement.
The embodiment of the present invention is that the Idle state pair in terminal is controlled for existing access to the enhancing of existing access control The application software or business of application access network carry out access control, but there are an application software to be performed access control in terminal After system adjudicates and allows to access network, the application software of other low priorities can continue to send data in original carrying, around Cross access control, thus between being unfavorable for applying the problem of the fairness of priority, the embodiment of the present invention in certain application software or After connection has been established in business, other application software or business cannot directly transmit data in original connection, but need again Access control judgement is carried out, ensures the fairness of priority between application.
The embodiment of the present invention all can carry out the application of request access network when terminal is in Idle state and connected state Access control judgement, so as to avoid effect of hitchhiking, after first application program is successfully accessed network, other application journey If sequence is wanted to send data, needs to re-execute access control judgement, ensure that the fairness of priority between application.
It is the structure chart of terminal provided in an embodiment of the present invention referring to Fig. 5, Fig. 5.As shown in figure 5, terminal 500 includes detection Module 501 and judgment module 502, in which:
Detection module 501, when for the connection of at least one application to have been established between terminal and network side, if detecting new Using initiating the connection, then the corresponding classification of the new opplication is obtained;
Judgment module 502, for judging whether newly to answer to network side transmission is described according to the corresponding classification of the new opplication Data.
Optionally, the detection module 501 is specifically used for:
If detecting new Internet protocol stream, it is determined that detect that new opplication initiates the connection;Or
If detecting new application request, it is determined that detect that new opplication initiates the connection;Or
If detecting new service quality stream, it is determined that detect that new opplication initiates the connection, wherein different classes of application Corresponding Internet protocol stream is mapped to different service quality stream.
Optionally, the judgment module 502 is specifically used for:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, described in execution The corresponding Internet protocol of new opplication flows to the mapping of service quality stream;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute The corresponding Internet protocol of the new opplication flows to the mapping of service quality stream.
Optionally, the detection module 501 is specifically used for:
When the connection of at least one application having been established between terminal and network side, if the Non-Access Stratum of the terminal detects New Internet protocol stream then obtains the application identities of the new corresponding new opplication of Internet protocol stream;
The Non-Access Stratum obtains the corresponding classification of the application identities;
Correspondingly, the judgment module 502 is specifically used for:
The corresponding classification of the application identities is sent to the radio resource control layer of the terminal by the Non-Access Stratum;
The Non-Access Stratum receives the access control court verdict that the radio resource control layer returns;
The Non-Access Stratum controls court verdict according to the access and judges whether to execute the new Internet protocol stream To the mapping of service quality stream.
Optionally, the detection module 501 is specifically used for:
When the connection of at least one application having been established between terminal and network side, if the Non-Access Stratum of the terminal detects New Internet protocol stream then obtains the application identities of the new corresponding new opplication of Internet protocol stream;
The Non-Access Stratum obtains the corresponding classification of the application identities;
Correspondingly, the judgment module 502 is specifically used for:
The corresponding classification of the application identities is compared by the Non-Access Stratum with the classification of storage;
If the priority of the corresponding classification of the application identities is greater than or equal to the priority of the classification of the storage, institute It states Non-Access Stratum and executes the mapping that the new Internet protocol flows to service quality stream;
If the priority of the corresponding classification of the application identities is lower than the priority of the classification of the storage, described non-to connect Enter the radio resource control layer that the corresponding classification of the application identities is sent to the terminal by layer;
The Non-Access Stratum receives the access control court verdict that the radio resource control layer returns;
The Non-Access Stratum controls court verdict according to the access and judges whether to execute the new Internet protocol stream To the mapping of service quality stream.
Optionally, the detection module 501 is specifically used for:
If the Non-Access Stratum or access layer of the terminal detect new service quality stream, it is determined that detect that new opplication is sent out Play connection.
Optionally, the judgment module 502 is specifically used for:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, described in execution The transmission of the corresponding service quality stream of new opplication;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute The transmission of the corresponding service quality stream of the new opplication.
Terminal 500 can be realized each process of the connection control method of the embodiment of the method for Fig. 1 to Fig. 4, and reach phase Same effect is to avoid repeating, and which is not described herein again.
The terminal 500 of the embodiment of the present invention, when the connection of at least one application having been established between terminal and network side, if inspection It measures new opplication to initiate the connection, then obtains the corresponding classification of the new opplication;It is according to the corresponding classification judgement of the new opplication The no data that the new opplication is sent to network side.The embodiment of the present invention is when each application initiates the connection, according to each application Corresponding classification judges whether to send the data of the application, so as to avoid the application of low priority from being directly accessed network, protect The fairness of priority between application is demonstrate,proved.
The embodiment of the present invention also provides a kind of terminal, including processor, memory and is stored on the memory and can The computer program run on the processor, the computer program realize any of the above-described side when being executed by the processor Each process of the connection control method of method embodiment, and identical technical effect can be reached, it is no longer superfluous here to avoid repeating It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores on the computer readable storage medium There is computer program, the computer program realizes each process of above-mentioned connection control method when being executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It is the structure chart for the terminal that further embodiment of this invention provides referring to Fig. 6, Fig. 6, as shown in fig. 6, terminal 600 is wrapped It includes: at least one processor 601, memory 602, at least one network interface 604 and user interface 603.It is each in terminal 600 A component is coupled by bus system 605.It is understood that bus system 605 is for realizing the connection between these components Communication.Bus system 605 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But For the sake of clear explanation, various buses are all designated as bus system 605 in Fig. 6.
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 602 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 6022.
In embodiments of the present invention, terminal 600 further include: be stored on memory 602 and can be run on processor 601 Computer program specifically can be the computer program in application program 6022, computer program is held by processor 601 Following steps are realized when row: when the connection of at least one application having been established between terminal and network side, if detecting, new opplication is sent out Connection is played, then obtains the corresponding classification of the new opplication;Judge whether to send out to network side according to the corresponding classification of the new opplication Send the data of the new opplication.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601. Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 602, processor 601 reads the information in memory 602, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, following steps be can also be achieved when computer program is executed by processor 601:
If detecting new Internet protocol stream, it is determined that detect that new opplication initiates the connection;Or
If detecting new application request, it is determined that detect that new opplication initiates the connection;Or
If detecting new service quality stream, it is determined that detect that new opplication initiates the connection, wherein different classes of application Corresponding Internet protocol stream is mapped to different service quality stream.
Optionally, following steps be can also be achieved when computer program is executed by processor 601:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, described in execution The corresponding Internet protocol of new opplication flows to the mapping of service quality stream;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute The corresponding Internet protocol of the new opplication flows to the mapping of service quality stream.
Optionally, following steps be can also be achieved when computer program is executed by processor 601:
When the connection of at least one application having been established between terminal and network side, if the Non-Access Stratum of the terminal detects New Internet protocol stream then obtains the application identities of the new corresponding new opplication of Internet protocol stream;It is described non-access Layer obtains the corresponding classification of the application identities;
Correspondingly, computer program can also be achieved following steps when being executed by processor 601:
The corresponding classification of the application identities is sent to the radio resource control layer of the terminal by the Non-Access Stratum;Institute It states Non-Access Stratum and receives the access control court verdict that the radio resource control layer returns;The Non-Access Stratum connects according to Enter to control court verdict to judge whether to execute the mapping that the new Internet protocol flows to service quality stream.
Optionally, following steps be can also be achieved when computer program is executed by processor 601:
When the connection of at least one application having been established between terminal and network side, if the Non-Access Stratum of the terminal detects New Internet protocol stream then obtains the application identities of the new corresponding new opplication of Internet protocol stream;It is described non-access Layer obtains the corresponding classification of the application identities;
Correspondingly, computer program can also be achieved following steps when being executed by processor 601:
The corresponding classification of the application identities is compared by the Non-Access Stratum with the classification of storage;If the application mark Know corresponding classification priority be greater than or equal to the storage classification priority, then the Non-Access Stratum executes described new Internet protocol flow to the mapping of service quality stream;If the priority of the corresponding classification of the application identities is lower than the storage Classification priority, then the corresponding classification of the application identities is sent to the radio resource of the terminal by the Non-Access Stratum Control layer;The Non-Access Stratum receives the access control court verdict that the radio resource control layer returns;The Non-Access Stratum Judge whether to execute the mapping that the new Internet protocol flows to service quality stream according to the access control court verdict.
Optionally, following steps be can also be achieved when computer program is executed by processor 601:
If the Non-Access Stratum or access layer of the terminal detect new service quality stream, it is determined that detect that new opplication is sent out Play connection.
Optionally, following steps be can also be achieved when computer program is executed by processor 601:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, described in execution The transmission of the corresponding service quality stream of new opplication;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute The transmission of the corresponding service quality stream of the new opplication.
Terminal 600 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating It states.
The terminal 600 of the embodiment of the present invention, when the connection of at least one application having been established between terminal and network side, if inspection It measures new opplication to initiate the connection, then obtains the corresponding classification of the new opplication;It is according to the corresponding classification judgement of the new opplication The no data that the new opplication is sent to network side.The embodiment of the present invention is when each application initiates the connection, according to each application Corresponding classification judges whether to send the data of the application, so as to avoid the application of low priority from being directly accessed network, protect The fairness of priority between application is demonstrate,proved.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of connection control method is applied to terminal characterized by comprising
When the connection of at least one application having been established between terminal and network side, if detecting, new opplication is initiated the connection, and is obtained The corresponding classification of the new opplication;
Judge whether the data that the new opplication is sent to network side according to the corresponding classification of the new opplication.
2. the method according to claim 1, wherein if described detect that new opplication initiates the connection, comprising:
If detecting new Internet protocol stream, it is determined that detect that new opplication initiates the connection;Or
If detecting new application request, it is determined that detect that new opplication initiates the connection;Or
If detecting new service quality stream, it is determined that detect that new opplication initiates the connection, wherein different classes of application institute is right The Internet protocol stream answered is mapped to different service quality stream.
3. according to the method described in claim 2, it is characterized in that, described judge whether according to the corresponding classification of the new opplication The data of the new opplication are sent to network side, comprising:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, executes and described newly answer The mapping of service quality stream is flowed to corresponding Internet protocol;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute described The corresponding Internet protocol of new opplication flows to the mapping of service quality stream.
4. according to the method described in claim 2, it is characterized in that, if described detect new service quality stream, it is determined that inspection New opplication is measured to initiate the connection, comprising:
If the Non-Access Stratum or access layer of the terminal detect new service quality stream, it is determined that detect that new opplication initiates to connect It connects.
5. according to the method described in claim 2, it is characterized in that, described judge whether according to the corresponding classification of the new opplication The data of the new opplication are sent to network side, comprising:
If determining the data for sending the new opplication to network side according to the corresponding classification of the new opplication, executes and described newly answer With the transmission of corresponding service quality stream;
If determining the data for not sending the new opplication to network side according to the corresponding classification of the new opplication, do not execute described The transmission of the corresponding service quality stream of new opplication.
6. at least one have been established between terminal and network side answering the method according to claim 1, wherein described When connection, if detecting, new opplication is initiated the connection, and obtains the corresponding classification of the new opplication, comprising:
Had been established between terminal and network side at least one application connection when, if the Non-Access Stratum of the terminal detect it is new Internet protocol stream then obtains the application identities of the new corresponding new opplication of Internet protocol stream;
The Non-Access Stratum obtains the corresponding classification of the application identities;
The data for being judged whether to send the new opplication to network side according to the corresponding classification of the new opplication, comprising:
The corresponding classification of the application identities is sent to the radio resource control layer of the terminal by the Non-Access Stratum;
The Non-Access Stratum receives the access control court verdict that the radio resource control layer returns;
The Non-Access Stratum controls court verdict according to the access and judges whether that executing the new Internet protocol flows to clothes The mapping for quality stream of being engaged in.
7. at least one have been established between terminal and network side answering the method according to claim 1, wherein described When connection, if detecting, new opplication is initiated the connection, and obtains the corresponding classification of the new opplication, comprising:
Had been established between terminal and network side at least one application connection when, if the Non-Access Stratum of the terminal detect it is new Internet protocol stream then obtains the application identities of the new corresponding new opplication of Internet protocol stream;
The Non-Access Stratum obtains the corresponding classification of the application identities;
The data for being judged whether to send the new opplication to network side according to the corresponding classification of the new opplication, comprising:
The corresponding classification of the application identities is compared by the Non-Access Stratum with the classification of storage;
If the priority of the corresponding classification of the application identities is greater than or equal to the priority of the classification of the storage, described non- Access layer executes the mapping that the new Internet protocol flows to service quality stream;
If the priority of the corresponding classification of the application identities is lower than the priority of the classification of the storage, the Non-Access Stratum The corresponding classification of the application identities is sent to the radio resource control layer of the terminal;
The Non-Access Stratum receives the access control court verdict that the radio resource control layer returns;
The Non-Access Stratum controls court verdict according to the access and judges whether that executing the new Internet protocol flows to clothes The mapping for quality stream of being engaged in.
8. a kind of terminal characterized by comprising
Detection module, when for the connection of at least one application to have been established between terminal and network side, if detecting, new opplication is sent out Connection is played, then obtains the corresponding classification of the new opplication;
Judgment module, for judging whether the number for sending the new opplication to network side according to the corresponding classification of the new opplication According to.
9. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be in the processing The computer program run on device is realized when the computer program is executed by the processor as any in claim 1 to 7 The step of connection control method described in item.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the connection control method as described in any one of claims 1 to 7 when the computer program is executed by processor The step of.
CN201710898560.7A 2017-09-28 2017-09-28 A kind of connection control method and terminal Pending CN109842921A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710898560.7A CN109842921A (en) 2017-09-28 2017-09-28 A kind of connection control method and terminal
PCT/CN2018/104814 WO2019062528A1 (en) 2017-09-28 2018-09-10 Access control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710898560.7A CN109842921A (en) 2017-09-28 2017-09-28 A kind of connection control method and terminal

Publications (1)

Publication Number Publication Date
CN109842921A true CN109842921A (en) 2019-06-04

Family

ID=65900716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710898560.7A Pending CN109842921A (en) 2017-09-28 2017-09-28 A kind of connection control method and terminal

Country Status (2)

Country Link
CN (1) CN109842921A (en)
WO (1) WO2019062528A1 (en)

Cited By (3)

* 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
WO2023011361A1 (en) * 2021-08-03 2023-02-09 中兴通讯股份有限公司 Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium
WO2024067452A1 (en) * 2022-09-29 2024-04-04 维沃移动通信有限公司 Information processing method and communication device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316537A (en) * 2010-06-30 2012-01-11 中兴通讯股份有限公司 Resource control method and system under multi-connection
CN106101077A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of method and device limiting application online
CN106454999A (en) * 2015-08-13 2017-02-22 中国移动通信集团公司 Access control method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6240387B2 (en) * 2013-01-18 2017-11-29 株式会社Nttドコモ Mobile station
WO2014183254A1 (en) * 2013-05-13 2014-11-20 华为技术有限公司 Access control method and device
CN104754690B (en) * 2013-12-26 2018-09-11 电信科学技术研究院 A kind of acquisition of information reports, notification method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316537A (en) * 2010-06-30 2012-01-11 中兴通讯股份有限公司 Resource control method and system under multi-connection
CN106454999A (en) * 2015-08-13 2017-02-22 中国移动通信集团公司 Access control method and device
CN106101077A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of method and device limiting application online

Cited By (4)

* 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
WO2023011361A1 (en) * 2021-08-03 2023-02-09 中兴通讯股份有限公司 Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium
WO2024067452A1 (en) * 2022-09-29 2024-04-04 维沃移动通信有限公司 Information processing method and communication device

Also Published As

Publication number Publication date
WO2019062528A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
US20210235370A1 (en) Wi-Fi Hotspot Recommendation Method, Terminal, and Graphical User Interface
US9954737B2 (en) Policy formulating method, policy server, and gateway
WO2020119564A1 (en) Method and apparatus for measuring quality of service information
CN109842921A (en) A kind of connection control method and terminal
CN112566072B (en) NF-based communication method, device and storage medium
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
US9763126B2 (en) Electronic device and method for processing packet in internet protocol-based network
JP2023526415A (en) Slice access method, apparatus and system
EP3579657A1 (en) Routing method and device
WO2022193890A1 (en) Resource scheduling method and apparatus
Rahmati et al. Seamless TCP migration on smartphones without network support
US20230134357A1 (en) Radio frequency resource allocation method and apparatus, and electronic device
CN114095956A (en) Network optimization method, device and storage medium
CN110312140B (en) Live broadcast data processing method, device and system and computer readable storage medium
US10764821B2 (en) System and method for wireless network selection
CN107087293A (en) A kind of cut-in method, terminal and server
WO2011009339A1 (en) Method, system and device for transmitting data
CN112702739A (en) Wireless network sharing method, device, readable storage medium and mobile terminal
CN108737378B (en) Dual-mode communication networking method and system based on medium access control layer
CN107222847B (en) Data transmission method, device and terminal
CN109670093A (en) Crawler recognition methods, device, equipment and readable storage medium storing program for executing
KR20200055106A (en) Service registration based on service capability requirements and preferences
CN107182094A (en) Wireless network connecting method, terminal and storage medium
WO2018014555A1 (en) Data transmission control method and apparatus
CN112492703B (en) Network connection management method, device, equipment and storage medium

Legal Events

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

Application publication date: 20190604

RJ01 Rejection of invention patent application after publication