Terminal access control method and device and terminal
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a terminal access control method, an apparatus, and a terminal.
Background
An LTE (long term evolution) network adopts an OFDM (orthogonal frequency division multiplexing) technology and an MIMO (Multiple-input Multiple-output) technology to enhance spectrum utilization and service rate.
The mobile internet terminal is a terminal device with a wireless modem and capable of accessing to wireless communication networks such as 3G or LTE. After the mobile internet access terminal is accessed to the wireless communication network, the mobile internet access terminal can be connected with a client in a USB or wireless mode, and the client comprises a mobile phone, a computer and other equipment, so that the client can be accessed to the wireless communication network such as 3G or LTE by using the mobile internet access terminal.
At present, after a mobile internet access terminal applied to an LTE network is turned on, an attach request is sent to EPC (evolved packet core) equipment, and the mobile internet access terminal is registered in an LTE target cell. Meanwhile, the attach request includes a PDN (packet data network) connection request, and after receiving the attach request, the EPC device activates a default bearer, and allocates an IP (internet protocol) address to the mobile internet terminal, so as to establish a data channel between the mobile internet terminal and the EPC device. After the user uses the client to send a dialing request to the mobile internet access terminal, the client can use the data channel to download the service data.
However, when the client does not send a dialing request to the mobile internet access terminal, the establishment of the data channel between the mobile internet access terminal and the EPC device may cause a waste of network resources.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, a system and a terminal for controlling terminal access, so as to solve the problem of network resource waste caused by the active sending of an attach request after the existing mobile internet terminal is powered on and the establishment of a data channel with an EPC device. The technical scheme is as follows:
based on one aspect of the present application, a terminal access control method is provided, which is applied to a long term evolution LTE network, and includes:
receiving an attachment triggering request, wherein the attachment triggering request is received from a client when the client starts to execute a service;
and sending an attachment request to EPC equipment according to the attachment triggering request so as to register the mobile internet terminal to the LTE network and establish a data channel between the mobile internet terminal and the EPC equipment.
Preferably, after the data channel between the mobile internet access terminal and the EPC device is established, the method further includes:
receiving a detach triggering request, wherein the detach triggering request is received from a client when the client finishes service execution;
and sending a detach request to EPC equipment according to the detach triggering request, and disconnecting a data channel at the mobile internet terminal side.
Preferably, the detach triggering request is a network disconnect request;
the attachment triggering request is a dial-up connection request.
Preferably, before the receiving the attach trigger request, the method further includes:
and judging whether the network where the mobile internet terminal is located is a home network, if not, sending an attachment request to the EPC equipment, and sending an attachment removal request to the EPC equipment after receiving an attachment receiving response sent by the EPC equipment.
Preferably, after receiving the attach receive response sent by the EPC device, the network number segment of the network where the mobile internet access terminal is located is recorded, and the network is identified as an available roaming network, where the available roaming network is a candidate LTE network registered by the mobile internet access terminal.
Based on another aspect of the present application, there is also provided a terminal access control apparatus, applied to an LTE network, including:
a first receiver configured to receive an attach trigger request, the attach trigger request being received from a client when the client starts to execute a service;
and the first transmitter is used for transmitting an attachment request to the EPC equipment according to the attachment triggering request so as to register the mobile internet terminal to the LTE network and establish a data channel between the mobile internet terminal and the EPC equipment.
Preferably, the method further comprises the following steps:
a second receiver, configured to receive a detach trigger request, where the detach trigger request is received from a client when the client ends service execution;
a second transmitter, configured to send a detach request to an EPC device according to the detach trigger request;
and the disconnection module is used for disconnecting the data channel at the mobile internet terminal side.
Preferably, the second receiver is specifically configured to receive a network disconnection request;
the first receiver is specifically configured to receive a dial-up connection request.
Preferably, the method further comprises the following steps:
and the judging module is used for judging whether the network where the mobile internet terminal is located is a home network or not and controlling the first transmitter and the second transmitter.
Preferably, the recorder is configured to record a network number segment of a network where the mobile internet access terminal is located after receiving the attach receive response sent by the EPC device, and identify that the network is an available roaming network, where the available roaming network is a candidate LTE network registered by the mobile internet access terminal.
Based on another aspect of the present application, a mobile internet access terminal is further provided, which includes a chip integrated with the terminal access control device.
In the application, the mobile internet terminal sends the attachment request to the EPC device after receiving the attachment triggering request, so as to register the mobile internet terminal to the LTE network, and establish a data channel between the mobile internet terminal and the EPC device. Because the attachment triggering request is received when the client starts to execute the service, the data channel is established when the service starts, and the waste of network resources caused by the establishment of the data channel when the client does not execute the service is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a terminal access control method provided in the present application;
fig. 2 is another flowchart of a terminal access control method provided in the present application;
fig. 3 is a flowchart of another method for controlling access to a terminal according to the present application;
fig. 4 is a schematic structural diagram of a terminal access control apparatus provided in the present application;
fig. 5 is a schematic structural diagram of a terminal access control apparatus provided in the present application;
fig. 6 is a schematic structural diagram of a terminal access control apparatus according to the present application.
Detailed Description
The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
One embodiment
Referring to fig. 1, a flowchart of a terminal access control method provided in the present application is shown, where the terminal access control method is applied to an LTE network and includes data channel establishment and data channel disconnection, where the data channel establishment may include the following steps:
step 101: an attach trigger request is received.
In this embodiment, the attach trigger request is bound to the client, and when the client starts to execute the service, the client sends the attach trigger request to the mobile internet access terminal.
Wherein, the attachment triggering request may be a dial-up connection request. The dial-up connection request may be bound to a "connect" button in a "dial-up" identifier on a client, such as a PC. When the user clicks the 'connect' button, the dial-up connection request is sent to the mobile internet terminal.
Step 102: an attach request is sent to the EPC device.
When the mobile internet terminal receives the attachment triggering request, the client side is indicated to use a data channel between the mobile internet terminal and the EPC equipment. Therefore, after receiving the attach trigger request, the mobile internet terminal sends an attach request to the EPC device.
And after the mobile internet terminal sends an attachment request to the EPC equipment, the mobile internet terminal registers the mobile internet terminal to the LTE network. Meanwhile, after receiving the attachment request, the EPC equipment activates a default bearer, allocates an IP address for the mobile internet access terminal, and sends an attachment response request to the mobile internet access terminal to complete the establishment of a data channel between the mobile internet access terminal and the EPC equipment.
By applying the technical scheme, the mobile internet terminal sends the attachment request to the EPC equipment after receiving the attachment triggering request so as to register the mobile internet terminal to the LTE network and establish a data channel between the mobile internet terminal and the EPC equipment. Because the attachment triggering request is received when the client starts to execute the service, the data channel is established when the service starts, and the waste of network resources caused by the establishment of the data channel when the client does not execute the service is avoided.
Another embodiment
In the prior art, a data channel between a mobile internet terminal and an EPC is always maintained after being established. When the client end service execution, the existence of the data channel causes the waste of network resources, and meanwhile, the wrong charging may be generated.
In order to solve the above problem, the terminal access control method provided in this embodiment receives the detach triggering request when the client ends the service execution, and further may send the detach request to the EPC device to actively disconnect the data channel on the mobile internet terminal side.
Referring to fig. 2, another flowchart of a terminal access control method according to the present application is shown, which based on fig. 1, may include the following steps:
step 201: an attach trigger request is received from a client when the client starts to execute a service.
Step 202: and sending an attachment request to the EPC equipment so as to register the mobile internet terminal to the LTE network, and simultaneously establishing a data channel between the mobile internet terminal and the EPC equipment.
In the present embodiment, steps 201 to 202 are the same as steps 101 to 102, respectively, and will not be described again.
Step 204: a detach trigger request is received.
In this embodiment, the detach triggering request may be bound to the client, and when the client ends the service execution, the client sends the detach triggering request to the mobile internet access terminal.
The detach triggering request may be a network detach request. The network disconnect request may be bound to a "disconnect" button in a "dial up" identification on a client, such as a PC. And after the user clicks the 'off' button, the network disconnection request is sent to the mobile internet access terminal.
Step 205: and sending a detach request to EPC equipment, and disconnecting a data channel at the mobile internet terminal side.
When the mobile internet terminal receives the detachment triggering request, the client side is indicated to not use a data channel between the mobile internet terminal and the EPC equipment any more. Therefore, after receiving the detach triggering request, the mobile internet terminal sends the detach request.
In this embodiment, the specific step of disconnecting the data channel at the mobile internet terminal side is as follows: and after the mobile internet terminal sends an attachment removal request to the EPC equipment, the data channel of the mobile internet terminal is actively disconnected. The mobile internet terminal sends an attachment removal request to the EPC equipment, informs the EPC equipment to release the bearer and the IP address, and the EPC equipment actively disconnects the data channel at the EPC equipment side. And the data channel between the mobile internet terminal and the EPC equipment is disconnected, and the EPC equipment finishes charging.
By applying the technical scheme, the data channel between the mobile internet terminal and the EPC equipment is disconnected after the service execution of the client is finished, so that the problems of network resource waste and charging errors caused by the existence of the data channel after the service of the client is finished are solved.
Yet another embodiment
Referring to fig. 3, another flowchart of a terminal access control method according to the present application is shown, which is different from fig. 2 in that it is first determined whether a network where a mobile internet access terminal is located is a home network before registration. The terminal access control method shown in fig. 3 may include the following steps:
step 301: and judging whether the network where the mobile internet access terminal is located is a home network, if so, executing step 302, and if not, executing step 303.
In this embodiment, the mobile internet access terminal may compare the card number segment of the SIM (subscriber identity module) card in the mobile internet access terminal with the network number segment of the network where the mobile internet access terminal is located, so as to determine whether the network where the mobile internet access terminal is located is the home network. When the card number segment of the SIM card is the same as the network number segment of the network, judging that the network where the mobile internet access terminal is located is a home network; and when the card number segment of the SIM card is different from the network number segment of the network, judging that the network where the mobile internet access terminal is located is not the home network. And the network number segment of the network is broadcasted and sent to the mobile internet access terminal by the access network equipment.
Step 302: camping on the LTE cell, step 304 is performed.
Step 303: and sending an attach request to the EPC device, sending a detach request to the EPC device until an attach receive response sent by the EPC device is received, and executing step 304.
After receiving the attachment receiving response, the mobile internet access terminal can judge that the roaming network is the available network, record the network number segment of the roaming network in which the mobile internet access terminal is located, and identify the network as the available roaming network. And the available roaming network is a candidate LTE network registered by the mobile internet access terminal. Furthermore, after the mobile internet access terminal is switched to the roaming network with the same network number segment, whether the network is available or not does not need to be continuously judged, that is, the attachment request does not need to be sent to the EPC equipment again, and signaling interaction in the LTE network is further saved.
Step 304: an attach trigger request is received from a client when the client starts to execute a service.
Step 305: and sending an attachment request to the EPC equipment so as to register the mobile internet terminal to the LTE network, and simultaneously establishing a data channel between the mobile internet terminal and the EPC equipment.
Step 306: a detach trigger request is received.
Step 307: and sending a detach request to EPC equipment, and disconnecting a data channel at the mobile internet terminal side.
In the present embodiment, steps 304 to 307 are the same as steps 201 to 204, respectively, and will not be described again.
It should be noted that: the terminal access control method is suitable for the LTE network, and after the mobile internet access terminal is switched to the 3G network, the mobile internet access terminal still operates according to the method for establishing and disconnecting the data channel in the existing 3G network. In this embodiment, the mobile internet access terminal only resides in the LTE cell when the mobile internet access terminal does not receive the attach trigger request, and at this time, when the mobile internet access terminal moves from one LTE cell to another LTE cell or when the mobile internet access terminal moves from a 3G serving cell to an LTE cell, the mobile internet access terminal does not perform a TAU (tracking area update) process.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Corresponding to the above method embodiment, the present application further provides a terminal access control device, which is applied to an LTE network, and a schematic structural diagram of the terminal access control device is shown in fig. 4, where the terminal access control device includes: a first receiver 11 and a first transmitter 12. Wherein,
a first receiver 11, configured to receive an attach trigger request, where the attach trigger request is received from a client when the client starts to execute a service.
In this embodiment, the attach trigger request is bound to the client, and when the client starts to execute the service, the client sends the attach trigger request to the mobile internet access terminal.
Wherein, the attachment triggering request may be a dial-up connection request. The dial-up connection request may be bound to a "connect" button in a "dial-up" identifier on a client, such as a PC. When the user clicks the 'connect' button, the dial-up connection request is sent to the mobile internet terminal.
The first transmitter 12 is configured to transmit an attach request to the EPC device, so as to register the mobile internet terminal to the LTE network, and establish a data channel between the mobile internet terminal and the EPC device.
And after the mobile internet terminal sends an attachment request to the EPC equipment, the mobile internet terminal registers the mobile internet terminal to the LTE network. Meanwhile, after receiving the attachment request, the EPC equipment activates a default bearer, allocates an IP address for the mobile internet access terminal, and sends an attachment response request to the mobile internet access terminal to complete the establishment of a data channel between the mobile internet access terminal and the EPC equipment.
Referring to fig. 5, another schematic structural diagram of a terminal access control apparatus according to the present application is shown, and on the basis of fig. 4, the terminal access control apparatus further includes: a second receiver 13, a second transmitter 14 and a disconnection module 15. Wherein:
a second receiver 13, configured to receive a detach trigger request, where the detach trigger request is received from the client when the client ends service execution.
In this embodiment, the detach triggering request may be bound to the client, and when the client ends the service execution, the client sends the detach triggering request to the mobile internet access terminal.
The detach triggering request may be a network detach request. The network disconnect request may be bound to a "disconnect" button in a "dial up" identification on a client, such as a PC. And after the user clicks the 'off' button, the network disconnection request is sent to the mobile internet access terminal.
A second transmitter 14 for transmitting a detach request to the EPC device.
And the disconnection module 15 is used for disconnecting the data channel at the mobile internet terminal side.
When the mobile internet terminal receives the detachment triggering request, the client side is indicated to not use a data channel between the mobile internet terminal and the EPC equipment any more. Therefore, after receiving the detach triggering request, the mobile internet terminal sends the detach request.
In this embodiment, the specific step of disconnecting the data channel at the mobile internet terminal side is as follows: and after the mobile internet terminal sends an attachment removal request to the EPC equipment, the data channel of the mobile internet terminal is actively disconnected. The mobile internet terminal sends an attachment removal request to the EPC equipment, informs the EPC equipment to release the bearer and the IP address, and the EPC equipment actively disconnects the data channel at the EPC equipment side. And the data channel between the mobile internet terminal and the EPC equipment is disconnected, and the EPC equipment finishes charging.
Please refer to fig. 6, which is a schematic structural diagram of a terminal access control apparatus according to another embodiment of the present invention, and based on fig. 5, further includes: a decision block 16 and a recorder 17.
A judging module 16, configured to judge whether a network where the mobile internet access terminal is located is a home network, and control the first transmitter 12 and the second transmitter 14.
When the judging module 16 judges that the network where the mobile internet terminal is located is the home network, triggering the first transmitter 12; when the judging module 16 judges that the network where the mobile internet terminal is located is not the home network, the second transmitter 14 is triggered.
In this embodiment, the determining module 16 is specifically configured to compare the card number segment of the SIM card in the mobile internet access terminal with the network number segment of the network where the mobile internet access terminal is located, so as to determine whether the network where the mobile internet access terminal is located is the home network. When the card number segment of the SIM card is the same as the network number segment of the network, judging that the network where the mobile internet access terminal is located is a home network; and when the card number segment of the SIM card is different from the network number segment of the network, judging that the network where the mobile internet access terminal is located is not the home network. And the network number segment of the network is broadcasted and sent to the mobile internet access terminal by the access network equipment.
And the recorder 17 is configured to record a network number segment of a network where the mobile internet access terminal is located after receiving the attach receive response sent by the EPC device, and identify that the network is an available roaming network, where the available roaming network is a candidate LTE network registered by the mobile internet access terminal.
The device described in this embodiment may be integrated into a chip, and the mobile internet access terminal includes a chip integrated with a terminal access control device.
The embodiment may further provide a terminal access control system, which includes a mobile internet access terminal and an EPC device connected to the mobile internet access terminal, where the mobile internet access terminal includes a chip integrated with the terminal access control device.
The above-described embodiments of the apparatus or system are merely illustrative, and the apparatuses/units described as separate parts may or may not be physically separate, and the parts displayed as the apparatuses/units may or may not be physical units, may be located in one place, or may be distributed on a plurality of equipment units to implement the embodiments. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be substantially implemented or partially implemented in the form of a software product stored in a readable storage medium, such as a floppy disk, a hard disk, or an optical disk of a computer, and include instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the embodiments of the present invention
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing describes a terminal access control method, apparatus and terminal provided by the present application in detail, and a specific example is applied in the present application to explain the principle and implementation manner of the present application, and the description of the foregoing embodiment is only used to help understand the method and core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.