Disclosure of Invention
The embodiment of the application provides a method for preventing a terminal from being separated from a small base station for adsorption, which is used for solving the problem that the terminal is easy to be separated from and adsorbed under the adsorption function of the small base station in the prior art. The method specifically comprises the following steps:
when the adsorption of the terminal is completed, a query message is sent to the terminal to initiate a query flow;
receiving a response message sent by the terminal according to the query message;
and circularly carrying out the inquiry flow between the terminal and the terminal so as to keep the adsorption to the terminal.
Further, in a preferred embodiment provided by the present application, the query message is composed of first query information;
the first query information is terminal identity query information and is used for identifying the terminal identity.
Further, in a preferred embodiment of the present application, the query message is composed of a first query message and a second query message;
the first query information is terminal identity query information and is used for identifying the terminal identity; the second query information is terminal capability query information and is used for acquiring terminal capability.
Further, in a preferred embodiment of the present application, when the query message is composed of the first query information, the response message sent by the terminal is composed of the first response information;
the first response information is an identification response made by the terminal according to the first query information.
Further, in a preferred embodiment of the present application, when the query message is composed of the first query information and the second query information, the response message sent by the terminal is composed of the first response information and the second response information;
the first response information is a terminal identity identification response made by the terminal according to the first query information; the second response information is a terminal capability response made by the terminal according to the second query information.
Further, in a preferred embodiment of the present application, the second query information is to be sent after the first response information is received.
Further, in a preferred embodiment of the present application, the loop of the query flow is an orderly repetition of the process corresponding to the sending of the query message and the receiving of the response message;
wherein the repetition number is 0 or more.
Further, in a preferred embodiment of the present application, the query procedure is stopped when the terminal performs tracking area code update.
Further, in a preferred embodiment of the present application, the query procedure is restarted after the terminal completes the tracking area code update.
The embodiment of the application provides a device for preventing a terminal from being separated from a small base station for adsorption, which comprises the following steps:
the sending unit is used for sending a query message to the terminal when the terminal is adsorbed, so as to initiate a query flow;
and the receiving unit is used for receiving the response message sent by the terminal according to the query message.
The embodiment provided by the application has at least the following beneficial effects:
by the method and the device for preventing the terminal from being separated from the small base station adsorption, the problem that the terminal is easy to separate from the adsorption under the small base station adsorption function can be solved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, the present application discloses a method for preventing a terminal from being separated from a small cell for adsorption, comprising:
s100: and when the terminal is adsorbed, sending a query message to the terminal to initiate a query flow.
Terminals are generally represented as devices having an information processing function. The terminal in the prior art may be in the form of a mobile communication terminal device or a portable mobile device, such as a mobile phone. The information processing function is used for carrying out calculation or operation inside and carrying out message sending and receiving with the base station.
The terminal sends out a radio resource connection request, and establishes radio resource connection with the terminal through interaction of radio resource connection signaling between the terminal and the terminal. At the moment, the terminal sends a connection request, and after receiving the attachment connection request sent by the terminal, the small base station sends the attachment connection request to the core network; the core network sends out a corresponding indication message, and the small base station sends the indication message of the core network to the terminal; and the terminal sends out a response message according to the received indication message, and the base station sends the response message to the core network again, so that information interaction with the terminal is formed until the adsorption to the terminal is established.
Further, in a preferred embodiment provided by the present application, the query message is composed of first query information;
the first query information is terminal identity query information and is used for identifying the terminal identity.
Specifically, the terminal identity query information Identify Request is sent to the terminal. The query information Identify Request is query information of international mobile subscriber identity IMSI (International Mobile Subscriber Identification Number; abbreviated IMSI) or query information of international mobile equipment identity IMEI (International Mobile Equipment Identity; abbreviated IMEI), which represents initiation of a query procedure with a terminal.
Further, in a preferred embodiment of the present application, the query message is composed of a first query message and a second query message;
the first query information is terminal identity query information and is used for identifying the terminal identity; the second query information is terminal capability query information and is used for acquiring terminal capability.
Specifically, the terminal identity query information Identify Request and the terminal capability query information UE Capability Enquiry are respectively transmitted to the terminal.
The terminal identity query information Identify Request is international mobile subscriber identity IMSI query information or mobile equipment international identity IMEI query information; the terminal capability query information UE Capability Enquiry is related parameter query information such as the highest rate UE Category, the terminal packet data convergence protocol PDCP (Packet Data Convergence Protocol) parameter, the radio link control layer protocol RLC (Radio Link Control) parameter, the physical layer parameter, the radio frequency RF (Radio Frequency) parameter, etc. that can be achieved by downloading and uploading by the mobile phone, and represents the initiation of the query flow between the mobile phone and the terminal.
S200: and receiving a response message sent by the terminal according to the query message.
After receiving the query message, the terminal sends a corresponding response message according to the query information carried in the query message.
Further, in a preferred embodiment of the present application, when the query message is composed of the first query information, the response message sent by the terminal is composed of the first response information;
the first response information is an identification response made by the terminal according to the first query information.
Specifically, when the terminal receives the terminal identity query information identity Request message, the terminal sends a response message Identify Response carrying the terminal identity identification information to the terminal, performs terminal identity response, and reports the terminal identity. The terminal identity information is an International Mobile Subscriber Identity (IMSI) or a mobile equipment international identity (IMEI) corresponding to the received identity request information.
Further, in a preferred embodiment of the present application, when the query message is composed of the first query information and the second query information, the response message sent by the terminal is composed of the first response information and the second response information;
the first response information is a terminal identity identification response made by the terminal according to the first query information; the second response information is a terminal capability response made by the terminal according to the second query information.
Specifically, when the terminal receives the terminal identity query information Identify Request message and the terminal capability query information UE Capability Enquiry, the terminal sends a response message Identify Response carrying terminal identity identification information and a response message UE Capability Indication carrying terminal capability information to the terminal respectively, so as to perform terminal identity response and capability response, and report the terminal identity and the terminal performance related parameters.
The terminal identity identification information is an International Mobile Subscriber Identity (IMSI) or a mobile equipment international identity (IMEI) corresponding to the received identity identification request information; the terminal capability is a set of relevant parameters such as the highest rate UE Category, terminal packet data convergence protocol PDCP (Packet Data Convergence Protocol) parameters, radio link control layer protocol RLC (Radio Link Control) parameters, physical layer parameters, radio frequency RF (Radio Frequency) parameters and the like which can be achieved by mobile phone downloading and uploading.
Further, in a preferred embodiment of the present application, the second query information is to be sent after the first response information is received.
Specifically, when the query message for transmitting a query to the terminal is composed of the terminal identity query information Identify Request and the terminal capability query information UE Capability Enquiry, the two query messages should be sequentially transmitted.
The terminal identity query information Identify Request is sent before the terminal capability query information UE Capability Enquiry; and the terminal capability query information UE Capability Enquiry can be sent only after receiving the response message Identify Response carrying the terminal identification information sent by the terminal according to the terminal identification query information Identify Request.
S300: and circularly carrying out the inquiry flow between the terminal and the terminal so as to keep the adsorption to the terminal.
Specifically, when the inquiry message is sent to the terminal and the response message sent by the receiving terminal according to the inquiry message is completed, the inquiry flow is completed. If the terminal does not update the tracking area code at this time, the terminal still breaks away from the adsorption of the small base station. Therefore, the inquiry process is circularly carried out between the terminal and the terminal, and the adsorption to the terminal can be kept.
Further, in a preferred embodiment of the present application, the loop of the query flow is an orderly repetition of the process corresponding to the sending of the query message and the receiving of the response message;
wherein the repetition number is 0 or more.
Specifically, if the process corresponding to the sending of the query message and the receiving of the response message occurs only 1 time, the terminal performs tracking area code update, and the repetition number is 0 at this time. If the tracking area code is not updated after the process corresponding to the query message and the response message is sent for 1 time, the process corresponding to the query message and the response message is orderly repeated. In addition, the orderly repetition of the process corresponding to the sending of the query message and the receiving of the response message does not affect the operation of the terminal.
Further, in a preferred embodiment of the present application, the query procedure is stopped when the terminal performs tracking area code update.
Specifically, when the terminal performs tracking area code update, the corresponding tracking area code update flow is performed between the terminal and the terminal, so that the inquiry flow between the terminal and the terminal is stopped at the moment, the terminal performs tracking area code update, and the position management of the terminal is realized.
Further, in a preferred embodiment of the present application, the query procedure is restarted after the terminal completes the tracking area code update.
Specifically, after the updating of the tracking area code of the terminal is completed, the terminal still needs to keep adsorbing with the terminal, so that after the updating of the tracking area code of the terminal is completed, the inquiry flow should be restarted to keep adsorbing with the terminal until the next time the terminal performs the updating of the tracking area code.
An apparatus 100 for preventing a terminal from being adsorbed off a small cell, comprising:
a sending unit 11, configured to send a query message to the terminal to initiate a query flow when the terminal is completely adsorbed;
and the receiving unit 12 is used for receiving a response message sent by the terminal according to the query message.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.