CN107995635B - Method and device for detecting network access result and computer storage medium - Google Patents

Method and device for detecting network access result and computer storage medium Download PDF

Info

Publication number
CN107995635B
CN107995635B CN201711238220.8A CN201711238220A CN107995635B CN 107995635 B CN107995635 B CN 107995635B CN 201711238220 A CN201711238220 A CN 201711238220A CN 107995635 B CN107995635 B CN 107995635B
Authority
CN
China
Prior art keywords
terminal
network
lte
access
message
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.)
Active
Application number
CN201711238220.8A
Other languages
Chinese (zh)
Other versions
CN107995635A (en
Inventor
曾元清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711238220.8A priority Critical patent/CN107995635B/en
Publication of CN107995635A publication Critical patent/CN107995635A/en
Application granted granted Critical
Publication of CN107995635B publication Critical patent/CN107995635B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

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

Abstract

The invention discloses a method and a device for detecting a network access result and a computer storage medium, which are applied to the process that a terminal adopts a preset optimization scheme to execute LTE network access; the first attach request message is sent by the terminal after the terminal selects an LTE cell; sending a redirection command to the terminal, wherein the redirection command is used for indicating the terminal to access a GPRS network; receiving a second attachment request message sent by the terminal, and sending an attachment rejection message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell; detecting the behavior of the terminal to obtain a first detection result; and determining whether the terminal accesses the LTE network successfully or not based on the first detection result.

Description

Method and device for detecting network access result and computer storage medium
Technical Field
The present invention relates to network access technologies in the field of mobile communications, and in particular, to a method and an apparatus for detecting a network access result, and a computer storage medium.
Background
With the improvement of the data service demand of the user, the coverage and quality of a Long Term Evolution (LTE) network need to meet higher requirements. Meanwhile, a Global System for Mobile Communication (GSM)/Time Division Synchronous Code Division Multiple Access (TDSCDMA) network is still used, and for this reason, it is a better transition scheme for the LTE network and the TDSCDMA/GSM network to perform co-site deployment based on the original network System.
For the LTE/TDSCDMA/GSM network, the co-sited deployment scheme may share part of the network elements, resulting in a higher coupling degree of a multi-Radio Access Technology (RAT) system. In the optimization process of each RAT system, unpredictable problems are often caused to shared network elements of other RAT systems, so that the optimization process fails or the optimization time is long.
In order to solve the problem caused by the incompatibility of network deployment, various optimization means are adopted by each terminal (UE) manufacturer to improve the User experience of the network. However, since the occurrence of various abnormal situations may probabilistically cause the UE to access the network, it is necessary to effectively detect the network access result in an abnormal situation.
Disclosure of Invention
The embodiment of the invention provides a method and a device for detecting a network access result and a computer storage medium, which can detect the network access result of a terminal under the abnormal scene that the network refuses the terminal to redirect to a GPRS network.
The embodiment of the invention provides a method for detecting a network access result, which is applied to a process that a terminal adopts a preset optimization scheme to execute LTE network access, and comprises the following steps:
receiving a first attachment request message sent by the terminal, and sending an attachment acceptance message to the terminal; the first attach request message is sent by the terminal after the terminal selects an LTE cell;
sending a redirection command to the terminal, wherein the redirection command is used for indicating the terminal to access a General Packet Radio Service (GPRS) network;
receiving a second attachment request message sent by the terminal, and sending an attachment rejection message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell;
detecting the behavior of the terminal to obtain a first detection result; and determining whether the terminal accesses the LTE network successfully or not based on the first detection result.
In the above scheme, the method further comprises:
encapsulating an attachment rejection message, wherein the attachment rejection message carries a reason value of attachment rejection, and the reason value of attachment rejection is used for representing the reason of attachment rejection;
wherein the attach reject cause value in the attach reject message is used to trigger the terminal to perform an attach procedure based on the LTE cell.
In the foregoing solution, the receiving a first attach request message sent by the terminal and sending an attach accept message to the terminal includes:
after receiving a first attach request message sent by the terminal, establishing a default Evolved Packet System (EPS) bearer for the terminal to complete an attach process; and sending an attachment acceptance message to the terminal.
In the foregoing solution, the determining whether the terminal successfully accesses the LTE network based on the first detection result includes:
and if the terminal does not initiate a Radio Resource Control (RRC) connection request to the LTE cell within a preset time length, determining that the terminal cannot be successfully accessed to the LTE network.
In the foregoing solution, the determining whether the terminal successfully accesses the LTE network based on the first detection result includes:
if the terminal initiates an RRC connection request to the LTE cell within a preset time length, after receiving an attachment request message which is sent by the terminal and used for requesting to access the LTE cell, sending an attachment acceptance message to the terminal, and detecting user plane data between the terminal and the LTE network to obtain a second detection result;
and determining whether the terminal is successfully accessed to an LTE network based on the second detection result.
In the foregoing solution, the determining whether the terminal successfully accesses the LTE network based on the second detection result includes:
judging whether the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value or not;
if the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value, determining that the terminal is successfully accessed to the LTE network;
and if the rate of the user plane data of the terminal in the LTE network is less than a preset threshold value, determining that the terminal cannot successfully access the LTE network.
In the above scheme, the method further comprises:
establishing a simulation network environment, wherein the simulation network environment at least comprises the following network structures: the system comprises an LTE network and a GPRS network, wherein the System Information Block (SIB) of the LTE network is configured with GPRS neighboring cell information, and the System Information (SI) of the GPRS network is configured with the LTE neighboring cell information;
accordingly, the network interacting with the terminal is the network in the simulated network environment.
The embodiment of the invention also provides a device for detecting the network access result, which is applied to the process that a terminal adopts a preset optimization scheme to execute the LTE network access, and the device comprises:
a first access processing unit, configured to receive a first attach request message sent by the terminal, and send an attach accept message to the terminal; the first attach request message is sent by the terminal after the terminal selects an LTE cell;
a sending unit, configured to send a redirection command to the terminal, where the redirection command is used to instruct the terminal to access a GPRS network;
a second access processing unit, configured to receive a second attach request message sent by the terminal, and send an attach reject message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell;
the detection unit is used for detecting the behavior of the terminal to obtain a first detection result; and determining whether the terminal accesses the LTE network successfully or not based on the first detection result.
In the above scheme, the second access processing unit is further configured to encapsulate an attach rejection message, where the attach rejection message carries a cause value of attach rejection, and the cause value of attach rejection is used to represent a cause of attach rejection;
wherein the attach reject cause value in the attach reject message is used to trigger the terminal to perform an attach procedure based on the LTE cell.
In the foregoing solution, the first access processing unit is specifically configured to establish a default EPS bearer for the terminal after receiving a first attach request message sent by the terminal, so as to complete an attach process; and sending an attachment acceptance message to the terminal.
In the foregoing scheme, the detecting unit is specifically configured to determine that the terminal fails to successfully access the LTE network when the terminal does not initiate a radio resource control RRC connection request to the LTE cell within a preset time period.
In the above scheme, the detecting unit is specifically configured to, when the terminal initiates an RRC connection request to the LTE cell within a preset time, send an attach accept message to the terminal after receiving an attach request message sent by the terminal to request access to the LTE cell, and detect user plane data between the terminal and the LTE network to obtain a second detection result; and determining whether the terminal is successfully accessed to an LTE network based on the second detection result.
In the above scheme, the detecting unit is specifically configured to determine whether a rate of user plane data of the terminal in the LTE network is greater than or equal to a preset threshold; if the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value, determining that the terminal is successfully accessed to the LTE network; and if the rate of the user plane data of the terminal in the LTE network is less than a preset threshold value, determining that the terminal cannot successfully access the LTE network.
In the above scheme, the apparatus further comprises:
the simulation unit is used for establishing a simulation network environment, and the simulation network environment at least comprises the following network structures: the system comprises an LTE network and a GPRS network, wherein SIB of the LTE network is configured with GPRS neighboring cell information, and SI of the GPRS network is configured with LTE neighboring cell information;
accordingly, the network interacting with the terminal is the network in the simulated network environment.
The embodiment of the invention also provides another device for detecting the network access result, which is applied to the process that the terminal adopts a preset optimization scheme to execute the LTE network access, and the device comprises: a processor and a memory for storing a computer program capable of running on the processor,
the processor is configured to execute the steps of any one of the above methods for detecting a network access result when the computer program is run.
Embodiments of the present invention further provide a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the above-mentioned methods for detecting a network access result.
In the technical scheme of the embodiment of the invention, in the process that the terminal adopts a preset optimization scheme to execute LTE network access, the terminal receives a first attachment request message sent by the terminal and sends an attachment acceptance message to the terminal; the first attach request message is sent by the terminal after the terminal selects an LTE cell; sending a redirection command to the terminal, wherein the redirection command is used for indicating the terminal to access a GPRS network; receiving a second attachment request message sent by the terminal, and sending an attachment rejection message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell; detecting the behavior of the terminal to obtain a first detection result; and determining whether the terminal is successfully accessed to the LTE network based on the first detection result, wherein the scheme provided by the embodiment of the invention can detect the behavior of the terminal when the network refuses the terminal to be redirected to the GPRS network, thereby determining whether the terminal is successfully accessed to the LTE network and finally determining the validity and rationality of the optimization scheme adopted by the terminal.
Drawings
FIG. 1 is a schematic diagram of an embodiment of the present invention showing SIB5 through a computer display screen;
FIG. 2 is a schematic diagram of an embodiment of the present invention showing SIB7 through a computer display screen;
fig. 3 is a flowchart illustrating a method for detecting a network access result according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a reason value displayed on a computer display screen according to an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of a device for detecting a network access result according to an embodiment of the present invention;
fig. 6 is a schematic structural composition diagram of a device for detecting a network access result according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
In the technical scheme of the embodiment of the invention, an abnormal access scene is simulated, namely: when the terminal is redirected from the LTE network to the GPRS network, access to the GPRS network fails (GPRS service is unavailable), so that the terminal cannot return to the LTE network.
And aiming at the abnormal access scene, executing the process of LTE network access by adopting a preset optimization scheme at the terminal side, detecting whether the terminal is successfully accessed into the LTE network, and finally determining the effectiveness and the rationality of the optimization scheme adopted by the terminal.
In the embodiment of the present invention, a network environment (referred to as a simulation network environment) may be constructed by a simulation platform, where the simulation network environment at least includes the following network structures: the system comprises an LTE network and a GPRS network, wherein the GPRS neighbor cell information can be configured in an SIB of the LTE network, and the LTE neighbor cell information can be configured in an SI of the GPRS network; optionally, the SIB5 of the LTE network may further configure TDSCDMA neighbor cell information, and the SIB7 of the LTE network may further configure GSM neighbor cell information. FIG. 1 is a schematic illustration of the display of SIB5 through a computer display screen, and FIG. 2 is a schematic illustration of the display of SIB7 through a computer display screen.
And then, executing an LTE network access process based on the constructed network environment, wherein main objects involved in the LTE network access process comprise a terminal and a network, wherein the terminal can be realized by adopting a mobile phone but not limited to be realized by adopting the mobile phone, and the network can be realized by adopting a simulation platform. Here, since the network is implemented by using a simulation platform, the network can stably reproduce an abnormal access scenario with the terminal, thereby verifying feasibility and stability of the optimization scheme.
That is to say, the scene where the terminal is located is obtained in a simulation mode, so that on one hand, a worker does not need to go to a field for detection, and therefore the cost of the worker can be reduced; on the other hand, the scene of the scene may also include other factors, so that the detection result is influenced, and therefore, by adopting the simulation network of the embodiment of the invention, the abnormal scene occurring in the scene network can be stably reproduced, and the influence of other factors on the detection result under the scene described in the embodiment of the invention can be eliminated.
Based on the above simulated network environment, the following describes the technical solution of the embodiment of the present invention in detail.
Fig. 3 is a flowchart illustrating a method for detecting a network access result according to an embodiment of the present invention, where the technical solution of this embodiment is applied to a process in which a terminal performs LTE network access by using a preset optimization scheme, and as shown in fig. 3, the method for detecting an LTE network access result includes the following steps:
step 301: receiving a first attachment request message sent by the terminal, and sending an attachment acceptance message to the terminal; the first attach request message is sent by the terminal after selecting an LTE cell.
In practical application, the LTE network may receive the first attach request message, and after receiving the first attach request message sent by the terminal, the LTE network may establish a default EPS bearer for the terminal to complete an attach process; and sending an attachment acceptance message to the terminal.
It is noted that the precondition for performing the attach procedure between the terminal and the LTE network is that the terminal and the network complete a Radio Resource Control (RRC) connection establishment procedure.
Specifically, the terminal sends an RRC connection establishment request message to the LTE network; the network returns RRC connection establishment response information to the terminal; the terminal sends an RRC connection setup complete message to the network.
Optionally, in the emulated network environment, the terminal may be triggered by the network to send a first attach request message, so that the terminal registers to the LTE cell; for example, the signal strength of the LTE cell signal received by the terminal is greater than the signal strength threshold by controlling the transmission power of the base station to which the LTE cell belongs, so as to trigger the terminal to register in the LTE cell; here, the signal strength threshold represents a minimum value of the signal strength of the LTE cell signal required when the terminal accesses the LTE cell.
Optionally, after the default EPS bearer is established for the terminal, whether user plane data between the terminal and the LTE network is smooth may be detected, and when the user plane data between the terminal and the LTE network is smooth, step 302 is executed; otherwise, the flow may end.
For example, when the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold, it indicates that the user plane data between the terminal and the LTE network is smooth; when the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value, the user plane data between the terminal and the LTE network is not smooth.
Here, the preset threshold may be set as needed.
Step 302: and sending a redirection command to the terminal, wherein the redirection command is used for indicating the terminal to access a GPRS network.
In practical application, an LTE network may issue a redirection (RRC Connection Release) command to a terminal according to practical requirements, where the redirection command may carry GPRS cell frequency point information; therefore, after the terminal receives the redirection command, the terminal can request to access the GPRS network based on the GPRS cell frequency point information.
GPRS is a mobile data service available to GSM mobile phone users, and belongs to the data transmission technology in the second generation mobile communication; GPRS is said to be a continuation of GSM. GPRS is different from the conventional method of continuous channel transmission in that it is transmitted in Packet (Packet) mode, so the cost of the user is calculated in units of the data to be transmitted, rather than using the entire channel, and is theoretically cheaper. The transmission rate of GPRS can be increased to 56 or even 114 Kbps.
In practical application, GPRS adds a new network entity to implement a packet data service based on a GSM network, where the new network entity of GPRS includes: GPRS Support Node (GSN, GPRS Support Node), Packet Control Unit (PCU, Packet Control Unit), Border Gateway (BG, Border Gateway), Charging Gateway (CG), Domain Name Server (DNS), etc.; wherein the content of the first and second substances,
the GSN is the most important network component in the GPRS network, and can be divided into two types of a Service GPRS Support Node (SGSN) and a GPRS Gateway Support Node (GGSN), wherein the SGSN mainly has the functions of recording the current position information of a terminal, providing services such as mobility management and routing selection, and completing the sending and receiving of mobile packet data between the terminal and the GGSN; the GGSN acts as a gateway to perform protocol conversion on packet data packets in the GSM network.
The PCU is used to process data traffic and separate data traffic from GSM voice traffic. The PCU adds packet functionality, controls the radio link, and allows multiple users to occupy the same radio resource.
The BG is used for interconnecting a GPRS backbone Network between Public Land Mobile Networks (PLMNs), mainly completes a routing function between SGSNs and GGSNs belonging to different GPRS networks, and a security management function, and may also add related functions according to roaming agreements between operators.
CG mainly completes the work of ticket collection, combination and pretreatment from each GSN, and is used as a communication interface between GPRS and a charging center.
The DNS is divided into two types, wherein the first type of DNS is the DNS between the GGSN and an external network, and the DNS mainly has the function of analyzing the domain name of the external network; the second kind of DNS is a DNS on a GPRS backbone network, and has a main function of resolving an IP address of a GGSN according to a determined Access Point Name (APN) in a Packet Data Protocol (PDP) context activation process, and resolving an IP address of an original SGSN according to an original routing area number in an inter-SGSN routing area update process.
Step 303: receiving a second attachment request message sent by the terminal, and sending an attachment rejection message to the terminal; and the second attachment request message is sent by the terminal after the terminal selects the GPRS cell.
It can be understood that, after receiving the redirection command, the terminal may send a second attach request message to the network; in practical application, when initiating an attach process based on a GPRS cell, a terminal may send a Channel Request (Channel Request) message to a network; further, when initiating the attach procedure based on the GPRS cell, the terminal may also send a GPRS Mobility Management routing Area Update Request (GMM RAU Request) message to the network.
Specifically, when a terminal initiates an attach process based on a GPRS cell, a GPRS attach request message is first sent to an SGSN, where the attach request message carries an International Mobile Subscriber Identity (IMSI) and a Temporary Logical Link Identifier (TLLI) of the terminal; when receiving the attachment request message of the terminal, the SGSN requests the GGSN for three elements of IMSI authentication of the corresponding terminal; SGSN interacts with the terminal for authentication, and after the authentication is passed, SGSN sends a location update message to GGSN; after sending user data of the terminal to the SGSN, the GGSN replies a position updating confirmation message to the SGSN; and the SGSN replies an attachment acceptance message to the terminal, wherein the attachment acceptance message carries the TLLI reported by the terminal.
When a terminal updates a Routing Area in a GPRS network, firstly, a Routing Area Update Request (Routing Area Update Request) message is sent to a new SGSN; a new SGSN (new SGSN) sends an SGSN Context query Request (SGSN Context Request) message to an original SGSN (old SGSN), and the original SGSN replies an SGSN Context query Response (SGSN Context Response) message to the new SGSN; the new SGSN sends a Context response (SGSN Context acknowledgement) message to the original SGSN, and the original SGSN replies a data forwarding (forwarded Packets) message to the new SGSN; the new SGSN sends a message of updating PDP Context Request (Update PDP Context Request) to the GGSN, and the GGSN replies a message of updating PDP Context Response (Update PDP Context Response) to the new SGSN; the new SGSN sends a Location Update (Update Location) message to a Home Location Register (HLR); HLR sends delete position (Cancel Location) message to original SGSN, original SGSN sends delete position answer (Cancel Location Ack) message to HLR; the HLR sends an Insert Subscriber message (Insert Subscriber Data) to the new SGSN, and the new SGSN replies an Insert Subscriber message acknowledgement (Insert Subscriber Data Ack) to the HLR; HLR sends Update Location acknowledgement (Update Location Ack) to new SGSN; the new SGSN sends a Location area Update Request (circuit domain) message to a Mobile Switching Center (MSC), a Mobile Switching Center (MSC)/a Visitor Location Register (VLR), and the MSC/VLR replies a Location area Update Accept (Location Update Accept) message to the new SGSN; the new SGSN sends a Routing Area Update Accept (Routing Area Update Accept) message to the terminal, and the terminal replies a Routing Area Update Complete (Routing Area Update Complete) message to the new SGSN; and finishing the updating process of the routing area.
Optionally, when the network determines to send the attach rejection message to the terminal, the attach rejection message may be further encapsulated, where the attach rejection message carries a cause value of attach rejection, and the cause value of attach rejection is used to represent a cause of attach rejection;
wherein the attach reject cause (cause) value in the attach reject message is used to trigger the terminal to perform an attach procedure based on the LTE cell.
In the embodiment of the present invention, the cause value of the attach reject is Not limited, and exemplarily, the cause value of the attach reject may be GPRS Service Not allowed, which indicates that the terminal is Not allowed to use the GPRS Service.
Step 304: detecting the behavior of the terminal to obtain a first detection result; and determining whether the terminal accesses the LTE network successfully or not based on the first detection result.
Here, the detecting of the behavior of the terminal may be: detecting whether the terminal requests to access an LTE network or not, and detecting user plane data between the terminal and the LTE network after the terminal accesses the LTE network.
In an embodiment, when it is detected that the terminal does not initiate an RRC Connection Request (RRC Connection Request) to the LTE cell within a preset time period, it is determined that the terminal fails to access the LTE network, which indicates that the optimization scheme fails.
In an embodiment, when it is detected that the terminal initiates an RRC connection request to the LTE cell within a preset duration, an RRC connection establishment procedure may be completed through interaction with the terminal; after receiving an attach request message sent by a terminal for requesting access to the LTE cell by using an LTE network, sending an attach accept message to the terminal by using the LTE network, and detecting user plane data between the terminal and the LTE network to obtain a second detection result.
And determining whether the terminal is successfully accessed to an LTE network based on the second detection result.
Illustratively, the second detection result is used to indicate whether the user plane data between the terminal and the LTE network is smooth, that is, whether the terminal successfully accesses the LTE network may be determined by verifying whether the user plane data between the terminal and the LTE network is smooth.
Specifically, whether the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold is judged.
If the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value, determining that the terminal is successfully accessed into the LTE network, and indicating that the optimization scheme is successful; and if the rate of the user plane data of the terminal in the LTE network is less than a preset threshold value, determining that the terminal fails to access the LTE network, and indicating that the optimization scheme fails.
Here, the preset threshold values may be set as needed.
In actual application, the preset duration can be realized by setting a timer; specifically, a timer is set, and before the timer is overtime, whether the terminal initiates an RRC connection request to the LTE cell is detected. The purpose of setting the timer is to avoid detecting too long.
Wherein, the duration of the timer can be set according to the requirement.
Optionally, the network interacting with the terminal is a network in the simulated network environment.
In the method provided by the embodiment of the invention, a terminal receives a first attachment request message sent by the terminal and sends an attachment acceptance message to the terminal in the process of executing LTE network access by adopting a preset optimization scheme; the first attach request message is sent by the terminal after the terminal selects an LTE cell; sending a redirection command to the terminal, wherein the redirection command is used for indicating the terminal to access a General Packet Radio Service (GPRS) network; receiving a second attachment request message sent by the terminal, and sending an attachment rejection message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell; detecting the behavior of the terminal to obtain a first detection result; and determining whether the terminal is successfully accessed to the LTE network based on the first detection result, wherein the scheme provided by the embodiment of the invention can detect the behavior of the terminal when the network refuses the terminal to be redirected to the GPRS network, thereby determining whether the terminal is successfully accessed to the LTE network and finally determining the validity and rationality of the optimization scheme adopted by the terminal.
In addition, the network interacting with the terminal is a network in a simulation network environment, a simulation mode is adopted, workers do not need to go to the site, and other factors influencing detection can be removed, so that the personnel cost can be greatly reduced, and meanwhile, the influence of other factors on the detection result under the scene described by the embodiment of the invention can be eliminated.
The invention is described in more detail below with reference to an application example.
In the embodiment of the present application, the simulation network environment described above is constructed by a simulation platform, and the simulation network environment includes: 1 LTE cell and 1 GPRS cell, the LTE cell may be a TDD-LTE cell; the method comprises the steps of configuring GPRS (general packet radio service) neighbor cell information in an SIB (system information block) of an LTE (long term evolution) network, and configuring the LTE neighbor cell information in an SI (service information block) of the GPRS network. The TDD-LTE cell and the GPRS cell are both configured with the same PLMN ID.
Wherein, PLMN means: networks established and operated by governments or operators approved therefor for the purpose of providing land mobile services to the public. In practical applications, the PLMN is generally set by the operator. The PLMN consists of a Mobile country number (MCC) and a Mobile network number (MNC), wherein the MCC uniquely represents the country of the Mobile subscriber, and the MCC in China is 460; the MNC uniquely represents the network in the country, for example, the china mobile GSM network is 00 and the china unicom GSM network is 01.
The abnormal scene of the application embodiment is as follows: when the terminal is redirected from the LTE network to the GPRS network, the access to the GPRS network fails (GPRS service is unavailable), so that the terminal cannot return to the LTE network; the effectiveness and the reasonableness of the optimization scheme of the cross-RAT network searching scheme based on the admission evaluation are detected in the scene.
In the embodiment of the present application, a timer is referred to and named as timer 1.
The method for detecting the network access result in the application embodiment comprises the following steps:
step A1: and triggering the UE to start a registration process to the LTE cell.
Specifically, the UE sends an RRC Connection Request (i.e., an RRC Connection Request) message to a base station corresponding to the LTE cell, and after receiving the RRC Connection Request message sent by the UE, the base station completes an RRC Connection Setup (RRC Connection Setup) procedure with the UE.
Further, after the RRC connection establishment procedure is completed, a default EPS bearer is established for the terminal; optionally, it may also be detected whether user plane data between the terminal and the LTE network is smooth, and when the user plane data between the terminal and the LTE network is smooth, step a2 is executed; otherwise, the flow may end.
Step A2: the simulation system improves the transmitting power of the base station to which the GPRS cell belongs, and sends a redirection command by using the LTE network, and indicates the UE to access the GPRS cell in the redirection command.
Step A3: the simulation system receives a Channel Request (Channel Request) message and a GPRS Mobility Management routing Area Update Request (GMM RAU Request) message initiated by the UE in a GSM cell.
It will be appreciated that the UE may send a channel request (message and GPRS mobility management routing area update request message) to the network when it receives the redirect command.
Here, at this time, an abnormal rejection situation is simulated through the emulation platform, a GPRS mobility management routing area update Reject (GMM RAU Reject) message is sent to the UE, a cause (cause) value carried by the message is GPRS Service Not allowed, which indicates that the UE is Not allowed to access the GPRS network, and fig. 4 is a schematic diagram of the cause value displayed through a computer display screen.
Step A4: after sending GMM RAU Reject message to UE, the simulation system monitors the behavior of UE for duration of time 1;
specifically, when detecting that the UE can initiate an RRC connection request again in the LTE cell, step a5 is executed;
and when the UE fails to initiate the RRC connection request again in the LTE cell within the duration of the timer1, indicating that the optimization scheme fails.
Step A5: and the simulation system establishes a default EPS bearer for the UE so that the UE is registered to the LTE network.
Step A6: the simulation system detects whether the user data between the UE and the LTE network is smooth or not, and determines the rationality and effectiveness of the optimization scheme based on the detection result.
Specifically, if the rate of user plane data of the terminal in the LTE network is greater than or equal to a preset threshold, it is determined that the terminal successfully accesses the LTE network, which indicates that the optimization scheme is successful; and if the rate of the user plane data of the terminal in the LTE network is less than a preset threshold value, determining that the terminal fails to access the LTE network, and indicating that the optimization scheme fails.
Fig. 5 is a schematic structural composition diagram of a device for detecting a network access result according to an embodiment of the present invention, where the device of this embodiment is applied to a process in which a terminal performs LTE network access by using a preset optimization scheme, and as shown in fig. 5, the device includes:
a first access processing unit 501, configured to receive a first attach request message sent by the terminal, and send an attach accept message to the terminal; the first attach request message is sent by the terminal after the terminal selects an LTE cell;
a sending unit 502, configured to send a redirection command to the terminal, where the redirection command is used to instruct the terminal to access a GPRS network;
a second access processing unit 503, configured to receive a second attach request message sent by the terminal, and send an attach reject message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell;
a detecting unit 504, configured to detect a behavior of the terminal to obtain a first detection result; and determining whether the terminal accesses the LTE network successfully or not based on the first detection result.
Optionally, the second access processing unit 503 is further configured to encapsulate an attach reject message, where the attach reject message carries a cause value of attach reject, and the cause value of attach reject is used to represent a cause of attach reject;
wherein the attach reject cause value in the attach reject message is used to trigger the terminal to perform an attach procedure based on the LTE cell.
Optionally, the first access processing unit 501 is specifically configured to establish a default EPS bearer for the terminal after receiving a first attach request message sent by the terminal, so as to complete an attach process; and sending an attachment acceptance message to the terminal.
Optionally, the detecting unit 504 is specifically configured to determine that the terminal fails to access the LTE network when the terminal does not initiate an RRC connection request to the LTE cell within a preset time period.
Optionally, the detecting unit 504 is specifically configured to, when the terminal initiates an RRC connection request to the LTE cell within a preset time, send an attach accept message to the terminal after receiving an attach request message sent by the terminal and requesting to access the LTE cell, and detect user plane data between the terminal and the LTE network to obtain a second detection result; and determining whether the terminal is successfully accessed to an LTE network based on the second detection result.
Optionally, the detecting unit 504 is specifically configured to determine whether a rate of user plane data of the terminal in the LTE network is greater than or equal to a preset threshold; if the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value, determining that the terminal is successfully accessed to the LTE network; and if the rate of the user plane data of the terminal in the LTE network is less than a preset threshold value, determining that the terminal cannot successfully access the LTE network.
Optionally, the apparatus further comprises:
a simulation unit 505, configured to establish a simulated network environment, where the simulated network environment at least includes the following network structures: the system comprises an LTE network and a GPRS network, wherein SIB of the LTE network is configured with GPRS neighboring cell information, and SI of the GPRS network is configured with LTE neighboring cell information;
accordingly, the network interacting with the terminal is the network in the simulated network environment.
In practical application, the first access processing unit 501, the sending unit 502, and the second access processing unit 503 may be implemented by a processor in a network access result detection device in combination with a communication interface; the detection unit 504 and the simulation unit 505 may be implemented by a processor in a detection device of a network access result.
It should be noted that: the network access result detection apparatus provided in the foregoing embodiment is only illustrated by dividing the program modules when performing LTE network access result detection, and in practical applications, the above processing may be distributed and completed by different program modules as needed, that is, the internal structure of the apparatus is divided into different program modules, so as to complete all or part of the above-described processing. In addition, the network access result detection apparatus and the network access result detection method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
Based on the above hardware implementation of each unit in the detection apparatus for the network access result, in order to implement the method provided in the embodiment of the present invention, an embodiment of the present invention further provides a detection apparatus for a network access result, and in a process in which a terminal performs LTE network access by using a preset optimization scheme, as shown in fig. 6, the apparatus 60 includes: a processor 61 and a memory 62 for storing computer programs capable of running on the processor,
wherein, when the processor 61 is used for running the computer program, the following steps are executed:
receiving a first attachment request message sent by the terminal, and sending an attachment acceptance message to the terminal; the first attach request message is sent by the terminal after the terminal selects an LTE cell;
sending a redirection command to the terminal, wherein the redirection command is used for indicating the terminal to access a GPRS network;
receiving a second attachment request message sent by the terminal, and sending an attachment rejection message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell;
detecting the behavior of the terminal to obtain a first detection result; and determining whether the terminal accesses the LTE network successfully or not based on the first detection result.
In some embodiments, the processor 61 is further configured to execute, when running the computer program:
encapsulating an attachment rejection message, wherein the attachment rejection message carries a reason value of attachment rejection, and the reason value of attachment rejection is used for representing the reason of attachment rejection;
wherein the attach reject cause value in the attach reject message is used to trigger the terminal to perform an attach procedure based on the LTE cell.
In some embodiments, the processor 61 is further configured to execute, when running the computer program:
after receiving a first attachment request message sent by the terminal, establishing a default EPS bearer for the terminal to complete an attachment process; and sending an attachment acceptance message to the terminal.
In some embodiments, the processor 61 is further configured to execute, when running the computer program:
and if the terminal does not initiate the RRC connection request to the LTE cell within the preset time length, determining that the terminal cannot be successfully accessed into the LTE network.
In some embodiments, the processor 61 is further configured to execute, when running the computer program:
if the terminal initiates an RRC connection request to the LTE cell within a preset time length, after receiving an attachment request message which is sent by the terminal and used for requesting to access the LTE cell, sending an attachment acceptance message to the terminal, and detecting user plane data between the terminal and the LTE network to obtain a second detection result; and determining whether the terminal is successfully accessed to an LTE network based on the second detection result.
In some embodiments, the processor 61 is further configured to execute, when running the computer program:
judging whether the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value or not;
if the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value, determining that the terminal is successfully accessed to the LTE network;
and if the rate of the user plane data of the terminal in the LTE network is less than a preset threshold value, determining that the terminal cannot successfully access the LTE network.
In some embodiments, the processor 61 is further configured to execute, when running the computer program:
establishing a simulation network environment, wherein the simulation network environment at least comprises the following network structures: the system comprises an LTE network and a GPRS network, wherein SIB of the LTE network is configured with GPRS neighboring cell information, and SI of the GPRS network is configured with LTE neighboring cell information;
accordingly, the network interacting with the terminal is the network in the simulated network environment.
Of course, in practice, the apparatus may also include a bus system 63, as shown in fig. 6. The various components in the device 60 are coupled together by a bus system 63. It will be appreciated that the bus system 63 is used to enable communications among the components. The bus system 63 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 63 in FIG. 6.
In an exemplary embodiment, the embodiment of the present invention further provides a computer storage medium, which is a computer readable storage medium, for example, a memory 62 including a computer program, which is executable by a processor 61 of the apparatus 60 for detecting an LTE network access result, so as to complete the steps of the foregoing method. The computer-readable storage medium may be a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM), among other memories.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (8)

1. The method for detecting the network access result is applied to the process that the terminal adopts a preset optimization scheme to execute the Long Term Evolution (LTE) network access, and comprises the following steps:
receiving a first attachment request message sent by the terminal, and sending an attachment acceptance message to the terminal; the first attach request message is sent by the terminal after the terminal selects an LTE cell;
sending a redirection command to the terminal, wherein the redirection command is used for indicating the terminal to access a General Packet Radio Service (GPRS) network;
receiving a second attachment request message sent by the terminal, and sending an attachment rejection message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell;
detecting the behavior of the terminal to obtain a first detection result; determining whether the terminal successfully accesses an LTE network based on the first detection result;
wherein the determining whether the terminal successfully accesses the LTE network based on the first detection result comprises: if the terminal does not initiate a Radio Resource Control (RRC) connection request to the LTE cell within a preset time length, determining that the terminal cannot successfully access an LTE network; if the terminal initiates an RRC connection request to the LTE cell within a preset time length, after receiving an attachment request message which is sent by the terminal and used for requesting to access the LTE cell, sending an attachment acceptance message to the terminal, and detecting user plane data between the terminal and the LTE network to obtain a second detection result; and determining whether the terminal is successfully accessed to an LTE network based on the second detection result.
2. The method of claim 1, further comprising:
encapsulating an attachment rejection message, wherein the attachment rejection message carries a reason value of attachment rejection, and the reason value of attachment rejection is used for representing the reason of attachment rejection;
wherein the attach reject cause value in the attach reject message is used to trigger the terminal to perform an attach procedure based on the LTE cell.
3. The method of claim 1, wherein the receiving a first attach request message sent by the terminal and sending an attach accept message to the terminal comprises:
after receiving a first attachment request message sent by the terminal, establishing a default Evolved Packet System (EPS) bearer for the terminal to complete an attachment process; and sending an attachment acceptance message to the terminal.
4. The method of claim 1, wherein the determining whether the terminal successfully accesses an LTE network based on the second detection result comprises:
judging whether the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value or not;
if the rate of the user plane data of the terminal in the LTE network is greater than or equal to a preset threshold value, determining that the terminal is successfully accessed to the LTE network;
and if the rate of the user plane data of the terminal in the LTE network is less than a preset threshold value, determining that the terminal cannot successfully access the LTE network.
5. The method according to any one of claims 1 to 4, further comprising:
establishing a simulation network environment, wherein the simulation network environment at least comprises the following network structures: the system comprises an LTE network and a GPRS network, wherein a system message block SIB of the LTE network is configured with GPRS neighboring cell information, and a system message SI of the GPRS network is configured with LTE neighboring cell information;
accordingly, the network interacting with the terminal is the network in the simulated network environment.
6. The device for detecting the network access result is applied to the process that the terminal adopts a preset optimization scheme to execute the Long Term Evolution (LTE) network access, and comprises the following components:
a first access processing unit, configured to receive a first attach request message sent by the terminal, and send an attach accept message to the terminal; the first attach request message is sent by the terminal after the terminal selects an LTE cell;
a sending unit, configured to send a redirection command to the terminal, where the redirection command is used to instruct the terminal to access a general packet radio service GPRS network;
a second access processing unit, configured to receive a second attach request message sent by the terminal, and send an attach reject message to the terminal; the second attach request message is sent by the terminal after selecting a GPRS cell;
the detection unit is used for detecting the behavior of the terminal to obtain a first detection result; determining whether the terminal successfully accesses an LTE network based on the first detection result;
the detection unit is specifically configured to determine that the terminal fails to successfully access the LTE network if the terminal does not initiate a radio resource control, RRC, connection request to the LTE cell within a preset time period; if the terminal initiates an RRC connection request to the LTE cell within a preset time length, after receiving an attachment request message which is sent by the terminal and used for requesting to access the LTE cell, sending an attachment acceptance message to the terminal, and detecting user plane data between the terminal and the LTE network to obtain a second detection result; and determining whether the terminal is successfully accessed to an LTE network based on the second detection result.
7. The device for detecting the network access result is applied to the process that the terminal executes the LTE network access by adopting a preset optimization scheme, and comprises the following components: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 5 when running the computer program.
8. Computer storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201711238220.8A 2017-11-30 2017-11-30 Method and device for detecting network access result and computer storage medium Active CN107995635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711238220.8A CN107995635B (en) 2017-11-30 2017-11-30 Method and device for detecting network access result and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711238220.8A CN107995635B (en) 2017-11-30 2017-11-30 Method and device for detecting network access result and computer storage medium

Publications (2)

Publication Number Publication Date
CN107995635A CN107995635A (en) 2018-05-04
CN107995635B true CN107995635B (en) 2021-03-05

Family

ID=62034563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711238220.8A Active CN107995635B (en) 2017-11-30 2017-11-30 Method and device for detecting network access result and computer storage medium

Country Status (1)

Country Link
CN (1) CN107995635B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135312A (en) * 2019-06-25 2020-12-25 中国人民解放军陆军装甲兵学院 Radio station access simulation system method capable of realizing information interaction
CN112074001A (en) * 2020-08-27 2020-12-11 展讯半导体(成都)有限公司 Network access method and communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215465A (en) * 2010-04-09 2011-10-12 中兴通讯股份有限公司 Terminal calling processing and testing methods and long term evolution system
CN103210683A (en) * 2010-11-11 2013-07-17 高通股份有限公司 Systems and methods for improving circuit switched fallback performance
CN103384396A (en) * 2012-05-04 2013-11-06 中兴通讯股份有限公司 Method, device and system for redirecting mobile terminal to target network
CN105451285A (en) * 2014-07-29 2016-03-30 展讯通信(上海)有限公司 Cell redirection method based on circuit switched domain fall back (CSFB)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215465A (en) * 2010-04-09 2011-10-12 中兴通讯股份有限公司 Terminal calling processing and testing methods and long term evolution system
CN103210683A (en) * 2010-11-11 2013-07-17 高通股份有限公司 Systems and methods for improving circuit switched fallback performance
CN103384396A (en) * 2012-05-04 2013-11-06 中兴通讯股份有限公司 Method, device and system for redirecting mobile terminal to target network
CN105451285A (en) * 2014-07-29 2016-03-30 展讯通信(上海)有限公司 Cell redirection method based on circuit switched domain fall back (CSFB)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Interoperability Test Plan for LTE Wireless Devices Version 2.1;2017CTIA;《CTIA》;20170228;第1.5、3.1-3.7节 *

Also Published As

Publication number Publication date
CN107995635A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
RU2669792C1 (en) Communication system, method and device
JP6308279B2 (en) Communication system and method and apparatus
CN110167082B (en) Network switching method, device and system, and switching determination method and device
US9271222B2 (en) Method and apparatus for implementing access to machine to machine (M2M) core network
US20040029587A1 (en) Method for supporting a handover between radio access networks
US20040266438A1 (en) Methods involving a core network node that is handling a mobile subscriber and initiates a request to a second core network node to handle said mobile subscriber
CN101873589A (en) Multi-network access control method, communication system and related equipment
CN108156637B (en) Detection method and device and computer storage medium
WO2014166089A1 (en) Method and device for congestion control
WO2018059401A1 (en) Network switching method, device and system, and network access method and device
CN107995635B (en) Method and device for detecting network access result and computer storage medium
CN108124511B (en) CSFB (Circuit switched Fall Back) result detection method and device and storage medium
JP6491597B2 (en) Method and device for roaming charging for CS fallback MTRF call
CN104796941A (en) Congestion control method in case of access core network via TWAN (Trusted WLAN access network) and device
CN112118606B (en) Method, related device and system for realizing service continuity
AU2001265850A1 (en) Method for supporting a handover between radio access networks

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant