CN107969013B - 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 PDFInfo
- Publication number
- CN107969013B CN107969013B CN201711233098.5A CN201711233098A CN107969013B CN 107969013 B CN107969013 B CN 107969013B CN 201711233098 A CN201711233098 A CN 201711233098A CN 107969013 B CN107969013 B CN 107969013B
- Authority
- CN
- China
- Prior art keywords
- terminal
- network
- attach
- message
- gsm
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0061—Transmission or use of information for re-establishing the radio link of neighbour cell information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动通信领域中的网络接入技术,尤其涉及一种网络接入结果的检测方法及装置、计算机存储介质。The present invention relates to a network access technology in the field of mobile communication, in particular to a method and device for detecting a network access result, and a computer storage medium.
背景技术Background technique
随着用户对数据业务需求的提高,长期演进(LTE,Long Term Evolution)网络的覆盖范围及质量需要满足更高的要求。与此同时,全球移动通信系统(GSM,Global Systemfor Mobile Communication)/时分同步码分多址(TDSCDMA,Time Division-SynchronousCode Division Multiple Access)网络仍然被使用,为此,LTE网络和TDSCDMA/GSM网络基于原有的网络系统进行共站部署是一种较佳的过渡方案。As users' demands for data services increase, the coverage and quality of a Long Term Evolution (LTE, Long Term Evolution) network need to meet higher requirements. At the same time, the Global System for Mobile Communication (GSM, Global System for Mobile Communication)/Time Division Synchronous Code Division Multiple Access (TDSCDMA, Time Division-Synchronous Code Division Multiple Access) network is still used, for this reason, the LTE network and the TDSCDMA/GSM network are based on Co-site deployment of the original network system is a better transition solution.
对于LTE/TDSCDMA/GSM网络而言,共站部署方案会共享部分网元,导致多无线接入技术(RAT,Radio Access Technology)系统的耦合程度较高。在各RAT系统的优化过程中,时常会给其它RAT系统的共享网元带来不可预知的问题,导致优化过程失败或者优化时间较长。For an LTE/TDSCDMA/GSM network, the co-site deployment solution will share some network elements, resulting in a higher degree of coupling in a multi-radio access technology (RAT, Radio Access Technology) system. During the optimization process of each RAT system, unpredictable problems are often brought to the shared network elements of other RAT systems, resulting in failure of the optimization process or a long optimization time.
为了解决因网络部署不兼容而带来的问题,各终端(UE,User Equipment)厂商采用了各种优化手段来提高用户对网络的使用体验。然而,由于各种异常情况的出现会概率性地导致UE接入LTE网络失败,如何有效的检测异常场景下的LTE网络接入结果尤为必要。In order to solve the problem caused by the incompatibility of network deployment, each terminal (UE, User Equipment) manufacturer adopts various optimization methods to improve the user experience of using the network. However, since the occurrence of various abnormal situations may cause the UE to fail to access the LTE network probabilistically, it is particularly necessary to effectively detect the LTE network access result in the abnormal scenario.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种网络接入结果的检测方法及装置、计算机存储介质,可以有效的检测异常场景下的LTE网络接入结果。Embodiments of the present invention provide a method and device for detecting a network access result, and a computer storage medium, which can effectively detect an LTE network access result in an abnormal scenario.
为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the embodiment of the present invention is realized as follows:
本发明实施例提供了一种网络接入结果的检测方法,应用于终端采用预设的优化方案执行网络接入的过程中,所述方法包括:An embodiment of the present invention provides a method for detecting a network access result, which is applied to a process in which a terminal adopts a preset optimization scheme to perform network access. The method includes:
接收所述终端的第一附着请求消息;所述第一附着请求消息是所述终端注册到LTE网络后且切换至不在服务区(OOS)状态、由于作为邻小区的GSM小区的信号强度提升后选择所述GSM小区后发送的;Receive the first attachment request message of the terminal; the first attachment request message is after the terminal is registered to the LTE network and switched to the out of service area (OOS) state, because the signal strength of the GSM cell as a neighboring cell is improved. Sent after selecting the GSM cell;
向所述终端发送表征通用分组无线服务(GPRS,General Packet Radio Service)网络异常的第一拒绝附着消息;sending, to the terminal, a first refusal to attach message representing an abnormality of the General Packet Radio Service (GPRS, General Packet Radio Service) network;
重复检测是否在第一定时器的定时时间到达之前获得所述终端的第二附着请求,以及向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动;Repeatedly detecting whether the second attach request of the terminal is obtained before the timing time of the first timer arrives, and sending a second attach rejection message to the terminal; the first timer is sending the first rejection to the terminal Start when attaching message/second rejecting attaching message;
基于检测结果确定所述终端是否成功接入所述GSM小区。Whether the terminal successfully accesses the GSM cell is determined based on the detection result.
上述方案中,所述基于检测结果确定所述终端是否成功接入所述GSM小区,包括:In the above solution, the determining whether the terminal successfully accesses the GSM cell based on the detection result includes:
当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求且向所述终端发送第二拒绝附着消息的重复次数达到预设阈值时,确定所述终端成功接入所述GSM小区。When the detection result is that the second attach request of the terminal is obtained before the timing time of the first timer arrives, and the number of repetitions of sending the second attach rejection message to the terminal reaches a preset threshold, determine the The terminal successfully accesses the GSM cell.
上述方案中,所述基于检测结果确定所述终端是否成功接入所述GSM小区,包括:In the above solution, the determining whether the terminal successfully accesses the GSM cell based on the detection result includes:
当所述检测结果为在所述第一定时器的定时时间到达之前未获得所述终端的第二附着请求时,确定所述终端未成功接入所述GSM小区。When the detection result is that the second attach request of the terminal is not obtained before the timing time of the first timer arrives, it is determined that the terminal fails to access the GSM cell.
上述方案中,所述基于检测结果确定所述终端是否成功接入所述GSM小区,包括:In the above solution, the determining whether the terminal successfully accesses the GSM cell based on the detection result includes:
当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求、向所述终端发送第二拒绝附着消息的重复次数未达到预设阈值时,确定所述终端未成功接入所述邻小区。When the detection result is that the second attach request of the terminal is obtained before the timing time of the first timer arrives, and the number of repetitions of sending the second attach rejection message to the terminal does not reach the preset threshold, it is determined that the The terminal fails to access the neighboring cell.
上述方案中,所述方法还包括:建立仿真网络环境,所述仿真网络环境至少包括如下网络结构:LTE网络、TDSCDMA网络、GSM网络,其中,所述LTE网络的系统消息块(SIB,System Information Block)5中配置有TDSCDMA邻区信息,所述LTE网络的SIB7中配置有GSM邻区信息,所述GSM网络的系统消息(SI,System Information)中配置有LTE邻区信息;In the above solution, the method further includes: establishing a simulated network environment, where the simulated network environment includes at least the following network structures: LTE network, TDSCDMA network, and GSM network, wherein the system message block (SIB, System Information Block) of the LTE network Block) 5 is configured with TDSCDMA neighboring cell information, SIB7 of the LTE network is configured with GSM neighboring cell information, and a system message (SI, System Information) of the GSM network is configured with LTE neighboring cell information;
相应地,与所述终端交互的网络为所述仿真网络环境中的网络。Correspondingly, the network interacting with the terminal is the network in the simulated network environment.
本发明实施例还提供了一种网络接入结果的检测装置,应用于终端采用预设的优化方案执行网络接入的过程中,所述装置包括:接收单元、发送单元和检测单元;其中,An embodiment of the present invention further provides an apparatus for detecting a network access result, which is applied to a process in which a terminal adopts a preset optimization scheme to perform network access. The apparatus includes: a receiving unit, a sending unit, and a detecting unit; wherein,
所述接收单元,用于接收所述终端的第一附着请求消息;所述第一附着请求消息是所述终端注册到LTE网络后且切换至OOS状态、由于作为邻小区的GSM小区的信号强度提升后选择所述GSM小区后发送的;The receiving unit is configured to receive the first attach request message of the terminal; the first attach request message is the signal strength of the GSM cell that is the neighbor cell after the terminal registers in the LTE network and switches to the OOS state. Sent after selecting the GSM cell after upgrading;
所述发送单元,用于向所述终端发送表征GPRS网络异常的第一拒绝附着消息;the sending unit, configured to send a first refusal to attach message representing an abnormality of the GPRS network to the terminal;
所述检测单元,用于重复检测是否在第一定时器的定时时间到达之前通过所述接收单元获得所述终端的第二附着请求,以及通过所述发送单元向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动;基于检测结果确定所述终端是否成功接入所述GSM小区。The detecting unit is configured to repeatedly detect whether a second attach request of the terminal is obtained through the receiving unit before the timing of the first timer arrives, and send a second attach rejection request to the terminal through the sending unit message; the first timer is started when the first attach rejection message/second attach rejection message is sent to the terminal; based on the detection result, it is determined whether the terminal successfully accesses the GSM cell.
上述方案中,所述检测单元,用于当所述检测结果为在所述第一定时器的定时时间到达之前所述接收单元获得所述终端的第二附着请求且所述发送单元向所述终端发送第二拒绝附着消息的重复次数达到预设阈值时,确定所述终端成功接入所述GSM小区。In the above solution, the detection unit is configured to, when the detection result is that the receiving unit obtains the second attach request of the terminal before the timing of the first timer arrives, and the sending unit sends the request to the When the number of repetitions of the second attachment rejection message sent by the terminal reaches a preset threshold, it is determined that the terminal successfully accesses the GSM cell.
上述方案中,所述检测单元,用于当所述检测结果为在所述第一定时器的定时时间到达之前所述接收单元未获得所述终端的第二附着请求时,确定所述终端未成功接入所述GSM小区。In the above solution, the detection unit is configured to determine that the terminal has not obtained the second attach request of the terminal when the detection result is that the receiving unit has not obtained the second attach request of the terminal before the timing of the first timer arrives. The GSM cell is successfully accessed.
上述方案中,所述检测单元,用于当所述检测结果为在所述第一定时器的定时时间到达之前所述接收单元获得所述终端的第二附着请求、所述发送单元向所述终端发送第二拒绝附着消息的重复次数未达到预设阈值时,确定所述终端未成功接入所述GSM小区。In the above solution, the detection unit is configured to, when the detection result is that the receiving unit obtains the second attach request of the terminal before the timing of the first timer arrives, and the sending unit sends the request to the terminal. When the number of repetitions of the second attachment rejection message sent by the terminal does not reach a preset threshold, it is determined that the terminal has not successfully accessed the GSM cell.
上述方案中,所述装置还包括:In the above scheme, the device also includes:
模拟单元,用于建立仿真网络环境,所述仿真网络环境至少包括如下网络结构:LTE网络、TDSCDMA网络、GSM网络,其中,所述LTE网络的SIB5中配置有TDSCDMA邻区信息,所述LTE网络的SIB7中配置有GSM邻区信息,所述GSM网络的SI中配置有LTE邻区信息;The simulation unit is used to establish a simulated network environment, and the simulated network environment includes at least the following network structures: LTE network, TDSCDMA network, and GSM network, wherein TDSCDMA neighbor cell information is configured in SIB5 of the LTE network, and the LTE network GSM neighboring cell information is configured in the SIB7 of the GSM network, and LTE neighboring cell information is configured in the SI of the GSM network;
相应地,与所述终端交互的网络为所述仿真网络环境中的网络。Correspondingly, the network interacting with the terminal is the network in the simulated network environment.
本发明实施例还提供了一种网络接入结果的检测装置,应用于终端采用预设的优化方案执行网络接入的过程中,所述装置包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,An embodiment of the present invention further provides a device for detecting network access results, which is applied to a process in which a terminal adopts a preset optimization scheme to perform network access. The device includes: a processor and a device for storing data that can be stored on the processor. memory for running computer programs,
其中,所述处理器用于运行所述计算机程序时,执行本发明实施例所述方法的步骤。Wherein, when the processor is configured to execute the computer program, the steps of the method described in the embodiments of the present invention are executed.
本发明实施例还提供了一种计算机存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例所述方法的步骤。The embodiments of the present invention further provide a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the methods described in the embodiments of the present invention.
本发明实施例提供的网络接入结果的检测方法及装置、计算机存储介质,终端采用预设的优化方案执行网络接入的过程中,接收所述终端的第一附着请求消息;所述第一附着请求消息是所述终端注册到长期演进LTE网络后且切换至不在服务区OOS状态、由于作为邻小区的全球移动通信系统GSM小区的信号强度提升后选择所述GSM小区后发送的;向所述终端发送表征通用分组无线服务GPRS网络异常的第一拒绝附着消息;重复检测是否在第一定时器的定时时间到达之前获得所述终端的第二附着请求,以及向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动;基于检测结果确定所述终端是否成功接入所述GSM小区。采用本发明实施例的方案,终端采用预设的优化方案执行网络的接入过程,在终端由于原RAT信号丢失处于OOS的状态下重选至GPRS数据网络异常接入的场景,在这种异常场景下,网络侧配置错误导致多次拒绝终端的附着请求,以稳定复现出现网中小概率的出现由于OOS重选到GPRS数据接入异常的情况,检测重复接收到终端的附着请求的次数是否达到优化过的最大网络容纳次数,从而验证了优化方案的有效性和合理性,为进一步完善优化方案提供了依据,提高了用户的上网体验。According to the method and device for detecting a network access result, and the computer storage medium provided by the embodiments of the present invention, in the process of performing network access by a terminal using a preset optimization scheme, a first attach request message of the terminal is received; the first attachment request message is received; The attach request message is sent after the terminal registers to the LTE network and switches to the out-of-service OOS state, and selects the GSM cell after the signal strength of the GSM cell as a neighboring cell is improved; The terminal sends a first refusal to attach a message representing an abnormality of the General Packet Radio Service GPRS network; repeatedly detects whether the second attach request of the terminal is obtained before the timing of the first timer arrives, and sends a second refusal to the terminal attach message; the first timer is started when the first attach rejection message/second attach rejection message is sent to the terminal; based on the detection result, it is determined whether the terminal successfully accesses the GSM cell. By adopting the solution of the embodiment of the present invention, the terminal adopts the preset optimization solution to perform the network access process, and when the terminal is in the OOS state due to the loss of the original RAT signal, it reselects to the scenario of abnormal access to the GPRS data network. In the scenario, the configuration error on the network side causes the terminal's attach request to be rejected many times, in order to stably reproduce the occurrence of a small probability in the network due to OOS reselection to the abnormal GPRS data access, check whether the number of times the terminal's attach request is repeatedly received. The optimized maximum network capacity is reached, thereby verifying the effectiveness and rationality of the optimization scheme, providing a basis for further improving the optimization scheme, and improving the user's online experience.
附图说明Description of drawings
图1为通过计算机显示屏显示SIB5的示意图;Fig. 1 is the schematic diagram showing SIB5 through the computer display screen;
图2为通过计算机显示屏显示SIB7的示意图;Fig. 2 is the schematic diagram showing SIB7 by computer display screen;
图3为本发明实施例的网络接入结果的检测方法的流程示意图;3 is a schematic flowchart of a method for detecting a network access result according to an embodiment of the present invention;
图4为通过计算机显示屏显示的拒绝附着消息携带的异常cause值的示意图;4 is a schematic diagram of an abnormal cause value carried by a refusal to attach message displayed by a computer display screen;
图5为本发明实施例的网络接入结果的检测装置的结构组成示意图;FIG. 5 is a schematic structural composition diagram of an apparatus for detecting a network access result according to an embodiment of the present invention;
图6为本发明实施例的网络接入结果的检测装置的硬件结构组成示意图。FIG. 6 is a schematic diagram of a hardware structure of an apparatus for detecting a network access result according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图及具体实施例对本发明作进一步详细的说明。The present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
本发明实施例的技术方案中,模拟出一种异常接入场景,即:在终端由于原RAT信号丢失处于OOS的状态下重选至GPRS数据网络异常接入的场景。In the technical solution of the embodiment of the present invention, an abnormal access scenario is simulated, that is, the terminal reselects to the abnormal access scenario of the GPRS data network in the state of OOS due to the loss of the original RAT signal.
针对上述异常接入场景,网络侧配置错误导致多次拒绝终端的附着请求,以稳定复现出现网中小概率的出现由于OOS重选到GPRS数据接入异常的情况,检测重复接收到终端的附着请求的次数是否达到优化过的最大网络容纳次数,从而验证了优化方案的有效性和合理性。For the above abnormal access scenario, the configuration error on the network side results in multiple rejection of the terminal's attachment request, in order to stably reproduce the occurrence of a small probability in the network due to OOS reselection to the abnormal GPRS data access, and detect repeated reception of the terminal's attachment. Whether the number of requests reaches the optimized maximum network capacity, thus verifying the effectiveness and rationality of the optimization scheme.
本发明实施例中,可以通过仿真平台构造一个网络环境(称为仿真网络环境),仿真网络环境至少包括如下网络结构:LTE网络、TDSCDMA网络、GSM网络,其中,所述LTE网络的SIB5中配置有TDSCDMA邻区信息,所述LTE网络的SIB7中配置有GSM邻区信息,所述GSM网络的SI中配置有LTE邻区信息。图1为通过计算机显示屏显示SIB5的示意图,图2为通过计算机显示屏显示SIB7的示意图。In this embodiment of the present invention, a network environment (called a simulated network environment) may be constructed through a simulation platform, and the simulated network environment at least includes the following network structures: LTE network, TDSCDMA network, and GSM network, wherein the configuration in SIB5 of the LTE network There is TDSCDMA neighboring cell information, the SIB7 of the LTE network is configured with the GSM neighboring cell information, and the SI of the GSM network is configured with the LTE neighboring cell information. FIG. 1 is a schematic diagram of displaying SIB5 through a computer display screen, and FIG. 2 is a schematic diagram of displaying SIB7 through a computer display screen.
而后,基于构造的网络环境执行网络接入过程,在LTE网络接入过程中涉及到的主要对象包括终端和网络,其中,终端可以但不局限于采用手机来实现,网络可以采用仿真平台来实现。这里,由于网络采用仿真平台来实现,因而这种网络能够稳定复现与终端之间的异常接入场景,从而验证优化方案的可行性以及稳定性。Then, the network access process is performed based on the constructed network environment. The main objects involved in the LTE network access process include the terminal and the network. The terminal can be implemented by but not limited to a mobile phone, and the network can be implemented by a simulation platform. . Here, since the network is implemented by an emulation platform, this kind of network can stably reproduce the abnormal access scenario with the terminal, thereby verifying the feasibility and stability of the optimization scheme.
基于上述的仿真网络环境,以下对本发明实施例的技术方案做详细描述。Based on the above-mentioned simulated network environment, the technical solutions of the embodiments of the present invention are described in detail below.
实施例一Example 1
本发明实施例提供了一种网络接入结果的检测方法,图3为本发明实施例的网络接入结果的检测方法的流程示意图;如图3所示,所述方法包括:An embodiment of the present invention provides a method for detecting a network access result, and FIG. 3 is a schematic flowchart of a method for detecting a network access result according to an embodiment of the present invention; as shown in FIG. 3 , the method includes:
步骤101:接收所述终端的第一附着请求消息;所述第一附着请求消息是所述终端注册到LTE网络后且切换至OOS状态、由于作为邻小区的GSM小区的信号强度提升后选择所述GSM小区后发送的。Step 101: Receive the first attach request message of the terminal; the first attach request message is selected after the terminal registers in the LTE network and switches to the OOS state, and the signal strength of the GSM cell as a neighboring cell is improved. Sent after the GSM cell described above.
步骤102:向所述终端发送表征通用分组无线服务GPRS网络异常的第一拒绝附着消息。Step 102: Send a first attach rejection message to the terminal representing an abnormality of the General Packet Radio Service GPRS network.
步骤103:重复检测是否在第一定时器的定时时间到达之前获得所述终端的第二附着请求,以及向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动。Step 103: Repeatedly detecting whether the second attach request of the terminal is obtained before the timing of the first timer arrives, and sending a second attach rejection message to the terminal; the first timer is sending a second attach request to the terminal. Started when the first attach rejection message/second attach rejection message occurs.
步骤104:基于检测结果确定所述终端是否成功接入所述GSM小区。Step 104: Determine whether the terminal successfully accesses the GSM cell based on the detection result.
本发明实施例中,基于构造的仿真网络环境,终端注册到LTE网络,建立基于LTE的承载。该基于LTE的承载可以是默认演进分组系统(EPS,Evolved Packet System)承载(Default EPS bearer),激活LTE网络的用户面数据。In the embodiment of the present invention, based on the constructed simulated network environment, the terminal registers with the LTE network, and establishes the LTE-based bearer. The LTE-based bearer may be a default Evolved Packet System (EPS, Evolved Packet System) bearer (Default EPS bearer), which activates user plane data of the LTE network.
这里,终端注册到LTE网络之前,需执行LTE网络的网络接入过程,该网络接入过程可包括:检测系统消息广播、小区选择、初始接入过程和RRC连接过程;其中,仿真平台模拟网络侧发送系统消息广播,终端基于系统消息广播进行小区选择,在本实施例中,终端选择LTE网络;终端与LTE网络完成初始接入流程,终端与LTE网络建立RRC连接。Here, before the terminal registers to the LTE network, the network access process of the LTE network needs to be performed. The network access process may include: detection system message broadcast, cell selection, initial access process and RRC connection process; wherein, the simulation platform simulates the network The system message broadcast is sent on the side, and the terminal performs cell selection based on the system message broadcast. In this embodiment, the terminal selects the LTE network; the terminal completes the initial access procedure with the LTE network, and the terminal establishes an RRC connection with the LTE network.
本发明实施例中,基于终端所处的LTE服务小区的信号强度的降低,使得终端切换至OOS状态;另一方面,作为邻小区的GSM小区的信号强度的提升,若GSM小区的信号强度提升至接入阈值,终端进行小区重选,选择GSM小区进行接入。In the embodiment of the present invention, based on the decrease of the signal strength of the LTE serving cell where the terminal is located, the terminal is switched to the OOS state; When the access threshold is reached, the terminal performs cell reselection and selects a GSM cell for access.
实际应用中,作为一种实施方式,在接收到所述终端的第一附着请求消息之前,所述方法还包括:接收所述终端的第一测量报告,所述第一测量报告表示服务小区质量低于一定门限且异系统邻区质量高于一定门限;作为一种示例,所述第一测量报告可以为B2测量报告(B2MeasurementReport)。接收到所述第一测量报告、或终端发送所述第一测量报告表示终端待进行小区重选以选择信号质量好的邻小区。其中,仿真平台模拟的LTE网络接收到所述终端的第一测量报告。终端进行小区重选以选择信号质量较好的GSM小区后,仿真平台模拟的GSM网络接收到所述终端的第一附着请求消息。In practical applications, as an implementation manner, before receiving the first attach request message of the terminal, the method further includes: receiving a first measurement report of the terminal, where the first measurement report indicates the quality of the serving cell is lower than a certain threshold and the quality of the neighboring cells of the inter-system is higher than a certain threshold; as an example, the first measurement report may be a B2 measurement report (B2MeasurementReport). Receiving the first measurement report or sending the first measurement report by the terminal indicates that the terminal is to perform cell reselection to select a neighbor cell with good signal quality. The LTE network simulated by the simulation platform receives the first measurement report of the terminal. After the terminal performs cell reselection to select a GSM cell with better signal quality, the GSM network simulated by the simulation platform receives the terminal's first attach request message.
实际应用时,仿真平台模拟的网络设备(如GSM基站)接收到终端发送的第一附着请求消息后,向MME转发所述第一附着请求消息,由网络设备(如MME和HSS)对所述终端进行在GSM网络的附着相关处理,包括鉴权、位置管理等,以在GSM网络完成注册。In practical application, after receiving the first attach request message sent by the terminal, the network device (such as a GSM base station) simulated by the simulation platform forwards the first attach request message to the MME, and the network device (such as the MME and the HSS) sends the first attach request message to the MME. The terminal performs attachment-related processing in the GSM network, including authentication, location management, etc., to complete registration in the GSM network.
本发明实施例中,向所述终端发送表征GPRS网络异常的第一拒绝附着消息。作为一种实施方式,所述向所述终端发送表征GPRS网络异常的第一拒绝附着消息之前,所述方法还包括:封装第一附着拒绝消息,所述第一附着拒绝消息中携带附着拒绝的原因值,所述附着拒绝的原因值用于表征附着拒绝的原因;其中,所述附着拒绝消息中的所述附着拒绝的原因值用于表征GPRS网络异常。In the embodiment of the present invention, a first attach rejection message representing an abnormality of the GPRS network is sent to the terminal. As an implementation manner, before the sending a first attach rejection message representing an abnormality of the GPRS network to the terminal, the method further includes: encapsulating a first attach rejection message, where the first attach rejection message carries an attach rejection message. The reason value, the reason value of the attach rejection is used to represent the reason of the attach rejection; wherein, the reason value of the attach rejection in the attach rejection message is used to represent the abnormality of the GPRS network.
实际应用中,以附着拒绝消息中封装GMM cause值为“GPRS service not allowed(7)”为例,这里,“GPRS service not allowed”表示GPRS网络异常。图4为通过计算机显示屏显示的拒绝附着消息携带的异常GMM cause值的示意图。In a practical application, taking the GMM cause value encapsulated in the attach rejection message as "GPRS service not allowed (7)" as an example, here, "GPRS service not allowed" indicates that the GPRS network is abnormal. FIG. 4 is a schematic diagram of an abnormal GMM cause value carried in a refuse attachment message displayed on a computer display screen.
本发明实施例中,基于向终端发送所述第一拒绝附着消息,检测重复检测是否在第一定时器的定时时间到达之前获得所述终端的第二附着请求,以及向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动。In this embodiment of the present invention, based on sending the first attach rejection message to the terminal, it is detected whether repeated detection obtains the second attach request of the terminal before the timing of the first timer arrives, and the second attach request is sent to the terminal. an attach rejection message; the first timer is started when a first attach rejection message/second attach rejection message is sent to the terminal.
这里,验证优化方案是否成功可包括以下几种实施方式:Here, verifying whether the optimization scheme is successful may include the following implementations:
作为第一种实施方式,所述基于检测结果确定所述终端是否成功接入所述GSM小区,包括:当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求且向所述终端发送第二拒绝附着消息的重复次数达到预设阈值时,确定所述终端成功接入所述GSM小区。As a first implementation manner, the determining whether the terminal successfully accesses the GSM cell based on the detection result includes: when the detection result is that the terminal's information is obtained before the timing of the first timer arrives When the number of repetitions of the second attach request and sending the second attach rejection message to the terminal reaches a preset threshold, it is determined that the terminal successfully accesses the GSM cell.
本实施方式中,在向终端发送第一拒绝附着消息时,可启动第一定时器,在所述第一定时器的定时时间到达之前接收到终端的第二附着请求,向所述终端发送第二拒绝附着消息;进一步在发送第二拒绝附着消息时启动该第一定时器,在第一定时器的定时时间达到之前接收到终端的第二附着请求,向所述终端发送第二拒绝附着消息,重复上述操作,重复检测到在第一定时器的定时时间到达之前接收到终端的第二附着请求,直至检测到重复次数达到预设阈值时,可判定优化方案成功。则所述基于检测结果确定所述终端是否成功接入所述GSM小区,包括:在所述重复次数达到预设阈值后接收到所述终端的第二附着请求,基于所述第二附着请求对所述终端进行鉴权,并获得鉴权成功结果;为所述终端分配下行资源,以完成终端接入过程;向所述终端发送附着成功消息;检测所述终端驻留所述GSM小区的驻留时长,在所述驻留时长达到预设时长时,确定所述终端成功接入所述GSM小区。In this embodiment, when sending the first attach rejection message to the terminal, a first timer may be started, and the second attach request from the terminal is received before the timing of the first timer arrives, and the first attach request is sent to the terminal. 2. Refuse to attach message; further start the first timer when sending the second reject to attach message, receive the second attach request of the terminal before the timing of the first timer expires, and send the second to reject the attach message to the terminal , repeating the above operations, repeatedly detecting that the second attach request of the terminal is received before the timing time of the first timer arrives, until it is detected that the number of repetitions reaches a preset threshold, it can be determined that the optimization scheme is successful. Then, determining whether the terminal successfully accesses the GSM cell based on the detection result includes: receiving a second attach request of the terminal after the number of repetitions reaches a preset threshold, and pairing the terminal based on the second attach request. The terminal performs authentication, and obtains a successful authentication result; allocates downlink resources to the terminal to complete the terminal access process; sends an attach success message to the terminal; detects the camp on the GSM cell where the terminal resides. The dwell time is determined. When the dwell time reaches a preset time, it is determined that the terminal successfully accesses the GSM cell.
其中,所述第二拒绝附着消息携带的附着拒绝的原因值与所述第一拒绝附着消息携带的附着拒绝的原因值可相同。Wherein, the attach refusal cause value carried in the second attach refusal message may be the same as the attach refusal cause value carried in the first attach refusal message.
作为第二种实施方式,所述基于检测结果确定所述终端是否成功接入所述GSM小区,包括:当所述检测结果为在所述第一定时器的定时时间到达之前未获得所述终端的第二附着请求时,确定所述终端未成功接入所述GSM小区。As a second implementation manner, the determining whether the terminal successfully accesses the GSM cell based on the detection result includes: when the detection result is that the terminal is not obtained before the timing of the first timer arrives When the second attach request is sent, it is determined that the terminal fails to access the GSM cell.
本实施方式中,在向终端发送第一拒绝附着消息时,可启动第一定时器,在所述第一定时器的定时时间到达之前未接收到终端的第二附着请求,则可判定优化方案失败,即确定所述终端未成功接入所述GSM小区。In this embodiment, a first timer can be started when the first attach rejection message is sent to the terminal, and an optimization scheme can be determined if the second attach request of the terminal is not received before the time of the first timer arrives If it fails, it is determined that the terminal has not successfully accessed the GSM cell.
作为第三种实施方式,所述基于检测结果确定所述终端是否成功接入所述GSM小区,包括:当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求、向所述终端发送第二拒绝附着消息的重复次数未达到预设阈值时,确定所述终端未成功接入所述邻小区。As a third implementation manner, the determining whether the terminal successfully accesses the GSM cell based on the detection result includes: when the detection result is that the terminal's information is obtained before the timing of the first timer arrives When the number of repetitions of the second attach request and sending the second attach rejection message to the terminal does not reach a preset threshold, it is determined that the terminal has not successfully accessed the neighboring cell.
本实施方式中,在向终端发送第一拒绝附着消息时,可启动第一定时器,在所述第一定时器的定时时间到达之前接收到终端的第二附着请求,向所述终端发送第二拒绝附着消息;进一步在发送第二拒绝附着消息时启动该第一定时器,在第一定时器的定时时间达到之前接收到终端的第二附着请求,向所述终端发送第二拒绝附着消息,重复上述操作,重复检测到在第一定时器的定时时间到达之前接收到终端的第二附着请求,检测到重复次数未达到预设阈值时,即重复次数达到所述预设阈值之前,在第一定时器的定时时间到达之前未接收到终端的第二附着请求,则可判定优化方案失败。In this embodiment, when sending the first attach rejection message to the terminal, a first timer may be started, and the second attach request from the terminal is received before the timing of the first timer arrives, and the first attach request is sent to the terminal. 2. Refuse to attach message; further start the first timer when sending the second reject to attach message, receive the second attach request of the terminal before the timing of the first timer expires, and send the second to reject the attach message to the terminal , repeat the above operation, repeatedly detect that the second attach request of the terminal is received before the timing time of the first timer arrives, and detect that the number of repetitions does not reach the preset threshold, that is, before the number of repetitions reaches the preset threshold, If the second attach request of the terminal is not received before the timing time of the first timer arrives, it may be determined that the optimization solution fails.
本发明实施例中,所述重复次数对应的预设阈值为预设最大网络容纳次数,所述预设阈值可在优化过程中通过实验方式、或测试方式预先获得并设定。In this embodiment of the present invention, the preset threshold corresponding to the number of repetitions is a preset maximum network capacity, and the preset threshold may be obtained and set in advance through an experiment or a test during the optimization process.
基于此,在一实施例中,所述方法还可以包括:建立仿真网络环境,所述仿真网络环境至少包括如下网络结构:LTE网络、TDSCDMA网络、GSM网络,其中,所述LTE网络的SIB5中配置有TDSCDMA邻区信息,所述LTE网络的SIB7中配置有GSM邻区信息,所述GSM网络的SI中配置有LTE邻区信息;Based on this, in an embodiment, the method may further include: establishing a simulated network environment, where the simulated network environment includes at least the following network structures: an LTE network, a TDSCDMA network, and a GSM network, wherein, in SIB5 of the LTE network TDSCDMA neighboring cell information is configured, SIB7 of the LTE network is configured with GSM neighboring cell information, and SI of the GSM network is configured with LTE neighboring cell information;
相应地,与所述终端交互的网络为所述仿真网络环境中的网络。Correspondingly, the network interacting with the terminal is the network in the simulated network environment.
采用本发明实施例的方案,终端采用预设的优化方案执行网络的接入过程,在终端由于原RAT信号丢失处于OOS的状态下重选至GPRS数据网络异常接入的场景,在这种异常场景下,网络侧配置错误导致多次拒绝终端的附着请求,以稳定复现出现网中小概率的出现由于OOS重选到GPRS数据接入异常的情况,检测重复接收到终端的附着请求的次数是否达到优化过的最大网络容纳次数,从而验证了优化方案的有效性和合理性,为进一步完善优化方案提供了依据,提高了用户的上网体验。By adopting the solution of the embodiment of the present invention, the terminal adopts the preset optimization solution to perform the network access process, and when the terminal is in the OOS state due to the loss of the original RAT signal, it reselects to the scenario of abnormal access to the GPRS data network. In the scenario, the configuration error on the network side causes the terminal's attach request to be rejected many times, in order to stably reproduce the occurrence of a small probability in the network due to OOS reselection to the abnormal GPRS data access, check whether the number of times the terminal's attach request is repeatedly received. The optimized maximum network capacity is reached, thereby verifying the effectiveness and rationality of the optimization scheme, providing a basis for further improving the optimization scheme, and improving the user's online experience.
另外,与所述终端交互的网络为仿真网络环境中的网络,采用仿真的方式不需要工作人员去现场,且可以去除其他影响检测的因素,如此,能够大大降低人员成本,同时,能够消除在本发明实施例所描述的场景下其他因素对检测结果的影响。In addition, the network interacting with the terminal is a network in a simulated network environment. The simulation method does not require staff to go to the site, and other factors that affect the detection can be removed. In this way, the personnel cost can be greatly reduced, and at the same time, it can be eliminated. Influences of other factors on the detection results in the scenarios described in the embodiments of the present invention.
下面结合一个应用实施例对本发明再作进一步详细的描述。The present invention will be described in further detail below in conjunction with an application example.
在本应用实施例中,通过仿真平台构造一个网络环境,网络环境的构造可参照前述的构造方式,本实施例中不再赘述。本应用实施例网络接入结果的检测方法,包括以下步骤:In this application embodiment, a network environment is constructed through a simulation platform, and the construction of the network environment may refer to the foregoing construction method, which is not repeated in this embodiment. The method for detecting a network access result in this application embodiment includes the following steps:
步骤201:触发UE开机注册到LTE小区上,建立Default EPS bearer,激活用户面数据。Step 201: Trigger the UE to power on and register on the LTE cell, establish a Default EPS bearer, and activate user plane data.
步骤202:降低UE的服务小区(LTE小区)的信号强度,维持一段时间,触发UE进入OOS状态。Step 202: Decrease the signal strength of the serving cell (LTE cell) of the UE for a period of time to trigger the UE to enter the OOS state.
步骤203:提高UE的邻小区(GSM小区)的信号强度高于接入阀值TH1,UE开始向GSM小区发起附着请求(即Attach Request)消息,该附着请求消息携带接入的原因值。本实施方式中,所述接入的原因值可以为当前服务小区的质量低于接入阈值,而邻小区的信号强度高于接入阈值。Step 203: Increase the signal strength of the UE's neighbor cell (GSM cell) higher than the access threshold TH1, and the UE starts to send an Attach Request (ie, Attach Request) message to the GSM cell, and the Attach Request message carries the access reason value. In this embodiment, the access reason value may be that the quality of the current serving cell is lower than the access threshold, and the signal strength of the neighboring cell is higher than the access threshold.
步骤204:仿真系统开始在GSM层检测是否接收到UE的附着请求(即AttachRequest)消息,检测到接收到UE的附着请求(即Attach Request)消息后,执行步骤205。Step 204: The simulation system starts to detect at the GSM layer whether the UE's Attach Request (ie Attach Request) message is received, and after detecting that the UE's Attach Request (ie, Attach Request) message is received, step 205 is performed.
步骤205:仿真系统模拟GSM网络的网络设备开始进行小区重选后继流程,执行鉴权(Authentication)流程。Step 205: The simulation system simulates the network equipment of the GSM network to start the subsequent process of cell reselection, and execute the authentication process.
步骤206:仿真系统模拟异常情况,拒绝UE的附着请求,并向UE发送拒绝附着(即Attach Reject)消息,拒绝附着消息携带原因(cause)值,本实施例中,携带的原因(cause)值可以为“GPRS Services not allowed”,具体可参照图4所示。Step 206: The simulation system simulates an abnormal situation, rejects the attach request of the UE, and sends a refusal to attach (ie, Attach Reject) message to the UE, and the attach refusal message carries a cause value. In this embodiment, the cause value is carried. It can be "GPRS Services not allowed", as shown in FIG. 4 for details.
步骤207:仿真系统开始在GSM层检测是否能在指定定时器(timer)的定时时间到达之前重新接收到UE的附着请求(即Attach Request);若在timer的定时时间到达之前接收到UE的附着请求(即Attach Request),仿真系统再次模拟异常情况,重新发送拒绝附着(即Attach Reject)消息,携带的原因值可相同。重复异常模拟次数到N-1次(其中N为优化过后的最大网络容纳次数),直至在第N-1次模拟异常场景发送拒绝附着消息后,依然还可以在timer的定时时间到达之前接收到UE的附着请求(即Attach Request),则表明优化方案成功。Step 207: The simulation system starts to detect at the GSM layer whether it can re-receive the attachment request (ie Attach Request) of the UE before the timing of the specified timer (timer) arrives; if the attachment of the UE is received before the timing of the timer arrives Request (that is, Attach Request), the simulation system simulates the abnormal situation again, and resends the attach rejection (that is, Attach Reject) message, and the carried reason value can be the same. Repeat the number of abnormal simulations to N-1 times (where N is the maximum network capacity after optimization), until after the N-1st simulation abnormal scenario sends the rejection message, it can still be received before the timer's timing time arrives. The attachment request (ie Attach Request) of the UE indicates that the optimization scheme is successful.
步骤208:若在指定定时器(timer)的定时时间到达之前未接收到UE的附着请求(即Attach Request),则判定优化方案失败。Step 208: If the UE's Attach Request (ie, Attach Request) is not received before the specified timer (timer) arrives, it is determined that the optimization solution fails.
步骤209:重复异常模拟次数未达到N-1次,则判定优化方案失败。Step 209: If the number of repeated abnormal simulations does not reach N-1 times, it is determined that the optimization scheme fails.
实施例二
本发明实施例还提供了一种网络接入结果的检测装置,应用于终端采用预设的优化方案执行网络接入的过程中。图5为本发明实施例的网络接入结果的检测装置的结构组成示意图;如图5所示,所述装置包括:接收单元32、发送单元31和检测单元33;其中,The embodiment of the present invention also provides a network access result detection device, which is applied to a process in which a terminal adopts a preset optimization scheme to perform network access. FIG. 5 is a schematic diagram of the structure and composition of an apparatus for detecting network access results according to an embodiment of the present invention; as shown in FIG. 5 , the apparatus includes: a receiving unit 32, a sending unit 31, and a detecting unit 33; wherein,
所述接收单元32,用于接收所述终端的第一附着请求消息;所述第一附着请求消息是所述终端注册到LTE网络后且切换至OOS状态、由于作为邻小区的GSM小区的信号强度提升后选择所述GSM小区后发送的;The receiving unit 32 is configured to receive the first attach request message of the terminal; the first attach request message is the signal of the GSM cell that is the neighbor cell after the terminal registers in the LTE network and switches to the OOS state. Sent after the GSM cell is selected after the strength is improved;
所述发送单元31,用于向所述终端发送表征GPRS网络异常的第一拒绝附着消息;The sending unit 31 is configured to send a first refusal to attach message representing an abnormality of the GPRS network to the terminal;
所述检测单元33,用于重复检测是否在第一定时器的定时时间到达之前通过所述接收单元32获得所述终端的第二附着请求,以及通过所述发送单元31向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动;基于检测结果确定所述终端是否成功接入所述GSM小区。The detection unit 33 is configured to repeatedly detect whether the second attach request of the terminal is obtained through the receiving unit 32 before the timing of the first timer arrives, and send the first attach request to the terminal through the sending unit 31. 2. Refuse to attach message; the first timer is started when sending the first refusal to attach message/the second refusal to attach message to the terminal; based on the detection result, it is determined whether the terminal successfully accesses the GSM cell.
本发明实施例中,作为一种实施方式,所述检测单元33,用于当所述检测结果为在所述第一定时器的定时时间到达之前所述接收单元32获得所述终端的第二附着请求且所述发送单元31向所述终端发送第二拒绝附着消息的重复次数达到预设阈值时,确定所述终端成功接入所述GSM小区。In this embodiment of the present invention, as an implementation manner, the detection unit 33 is configured to obtain, when the detection result is that the receiving unit 32 obtains the second information of the terminal before the timing of the first timer arrives When the attach request and the repetition times of sending the second attach rejection message to the terminal by the sending unit 31 reaches a preset threshold, it is determined that the terminal successfully accesses the GSM cell.
作为另一种实施方式,所述检测单元33,用于当所述检测结果为在所述第一定时器的定时时间到达之前所述接收单元32未获得所述终端的第二附着请求时,确定所述终端未成功接入所述GSM小区。As another implementation manner, the detection unit 33 is configured to, when the detection result is that the receiving unit 32 does not obtain the second attach request of the terminal before the timing of the first timer arrives, It is determined that the terminal fails to access the GSM cell.
作为又一种实施方式,所述检测单元33,用于当所述检测结果为在所述第一定时器的定时时间到达之前所述接收单元32获得所述终端的第二附着请求、所述发送单元31向所述终端发送第二拒绝附着消息的重复次数未达到预设阈值时,确定所述终端未成功接入所述GSM小区。As yet another implementation manner, the detection unit 33 is configured to obtain the second attach request of the terminal, the The sending unit 31 determines that the terminal has not successfully accessed the GSM cell when the number of repetitions of sending the second attach rejection message to the terminal does not reach a preset threshold.
在一实施例中,所述装置还包括封装单元34,用于封装第一附着拒绝消息,所述第一附着拒绝消息中携带附着拒绝的原因值,所述附着拒绝的原因值用于表征附着拒绝的原因;其中,所述附着拒绝消息中的所述附着拒绝的原因值用于表征GPRS网络异常。In one embodiment, the apparatus further includes an encapsulation unit 34 for encapsulating a first attach rejection message, where the first attach rejection message carries a reason value for attach rejection, and the attach rejection reason value is used to characterize the attachment. The reason for rejection; wherein, the reason value for the attachment rejection in the attach rejection message is used to represent the abnormality of the GPRS network.
在一实施例中,所述装置还包括:In one embodiment, the apparatus further includes:
模拟单元35,用于建立仿真网络环境,所述仿真网络环境至少包括如下网络结构:LTE网络、TDSCDMA网络、GSM网络,其中,所述LTE网络的SIB5中配置有TDSCDMA邻区信息,所述LTE网络的SIB7中配置有GSM邻区信息,所述GSM网络的SI中配置有LTE邻区信息;相应地,与所述终端交互的网络为所述仿真网络环境中的网络。The simulation unit 35 is configured to establish a simulated network environment, where the simulated network environment includes at least the following network structures: LTE network, TDSCDMA network, and GSM network, wherein TDSCDMA neighbor cell information is configured in SIB5 of the LTE network, and the LTE network The SIB7 of the network is configured with GSM neighbor information, and the SI of the GSM network is configured with LTE neighbor information; correspondingly, the network interacting with the terminal is the network in the simulated network environment.
本发明实施例中,所述装置的检测单元33、封装单元34和模拟单元35,在实际应用中均可由中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,DigitalSignal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述装置中的发送单元31和接收单元32,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In the embodiment of the present invention, the detection unit 33 , the packaging unit 34 and the simulation unit 35 of the device can all be composed of a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), Microcontroller Unit (MCU, Microcontroller Unit) or Programmable Gate Array (FPGA, Field-Programmable Gate Array); the sending unit 31 and the receiving unit 32 in the device can be implemented through a communication module (including: Basic communication suites, operating systems, communication modules, standardized interfaces and protocols, etc.) and transceiver antenna implementation.
需要说明的是:上述实施例提供的网络接入结果的检测装置在进行网络接入结果的检测时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的网络接入结果的检测装置与网络接入结果的检测方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the apparatus for detecting network access results provided by the above embodiments detects the network access results, only the division of the above-mentioned program modules is used as an example for illustration. The allocation is done by different program modules, that is, the internal structure of the device is divided into different program modules, so as to complete all or part of the processing described above. In addition, the apparatus for detecting a network access result provided in the above embodiment and the method for detecting a network access result belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
实施例三
基于上述网络接入结果的检测装置中各单元的实现,本发明实施例还提供了一种网络接入结果的检测装置,图6为本发明实施例的网络接入结果的检测装置的硬件结构组成示意图,如图6所示,所述装置40包括:处理器41和用于存储能够在处理器上运行的计算机程序的存储器42,Based on the implementation of each unit in the apparatus for detecting a network access result, an embodiment of the present invention further provides an apparatus for detecting a network access result. FIG. 6 is a hardware structure of the apparatus for detecting a network access result according to an embodiment of the present invention. A schematic diagram of the composition, as shown in FIG. 6 , the
其中,所述处理器41用于运行所述计算机程序时,执行:终端采用预设的优化方案执行网络接入的过程中,接收所述终端的第一附着请求消息;所述第一附着请求消息是所述终端注册到长期演进LTE网络后且切换至OOS状态、由于作为邻小区的GSM小区的信号强度提升后选择所述GSM小区后发送的;向所述终端发送表征GPRS网络异常的第一拒绝附着消息;重复检测是否在第一定时器的定时时间到达之前获得所述终端的第二附着请求,以及向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动;基于检测结果确定所述终端是否成功接入所述GSM小区。Wherein, the
在一实施例中,所述处理器41用于运行所述计算机程序时,执行:当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求且向所述终端发送第二拒绝附着消息的重复次数达到预设阈值时,确定所述终端成功接入所述GSM小区。In an embodiment, when the
在一实施例中,所述处理器41用于运行所述计算机程序时,执行:当所述检测结果为在所述第一定时器的定时时间到达之前未获得所述终端的第二附着请求时,确定所述终端未成功接入所述GSM小区。In an embodiment, when the
在一实施例中,所述处理器41用于运行所述计算机程序时,执行:当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求、向所述终端发送第二拒绝附着消息的重复次数未达到预设阈值时,确定所述终端未成功接入所述邻小区。In one embodiment, when the
在一实施例中,所述处理器41用于运行所述计算机程序时,执行:封装第一附着拒绝消息,所述第一附着拒绝消息中携带附着拒绝的原因值,所述附着拒绝的原因值用于表征附着拒绝的原因;其中,所述附着拒绝消息中的所述附着拒绝的原因值用于表征GPRS网络异常。In an embodiment, when the
在一实施例中,所述处理器41用于运行所述计算机程序时,执行:建立仿真网络环境,所述仿真网络环境至少包括如下网络结构:LTE网络、TDSCDMA网络、GSM网络,其中,所述LTE网络的SIB5中配置有TDSCDMA邻区信息,所述LTE网络的SIB7中配置有GSM邻区信息,所述GSM网络的SI中配置有LTE邻区信息;相应地,与所述终端交互的网络为所述仿真网络环境中的网络。In an embodiment, when the
实际应用时,如图6所示,该装置40中的各个组件通过总线系统43耦合在一起。可理解,总线系统43用于实现这些组件之间的连接通信。总线系统43除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统43。In practical application, as shown in FIG. 6 , various components in the
可以理解,存储器42可以由任何类型的易失性或非易失性存储设备、或者它们的组合来实现。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,Ferromagnetic Random Access Memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,DynamicRandom Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic RandomAccess Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data RateSynchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器42旨在包括但不限于这些和任意其它适合类型的存储器。It will be appreciated that
上述本发明实施例揭示的方法可以应用于处理器41中,或者由处理器41实现。处理器41可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器41中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器41可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器41可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器42,处理器41读取存储器42中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present invention may be applied to the
在示例性实施例中,装置40可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,ProgrammableLogic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the
实施例四Embodiment 4
在示例性实施例中,本发明实施例还提供了一种计算机存储介质,例如包括计算机程序的存储器,上述计算机程序可由网络接入结果的检测装置的处理器执行,以完成前述方法所述步骤。计算机存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。In an exemplary embodiment, an embodiment of the present invention further provides a computer storage medium, such as a memory including a computer program, and the computer program can be executed by a processor of an apparatus for detecting a network access result, so as to complete the steps of the foregoing method . The computer storage medium can be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it can also be various devices including one or any combination of the above memories.
本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器运行时,执行:终端采用预设的优化方案执行网络接入的过程中,接收所述终端的第一附着请求消息;所述第一附着请求消息是所述终端注册到长期演进LTE网络后且切换至OOS状态、由于作为邻小区的GSM小区的信号强度提升后选择所述GSM小区后发送的;向所述终端发送表征GPRS网络异常的第一拒绝附着消息;重复检测是否在第一定时器的定时时间到达之前获得所述终端的第二附着请求,以及向所述终端发送第二拒绝附着消息;所述第一定时器在向所述终端发送第一拒绝附着消息/第二拒绝附着消息时启动;基于检测结果确定所述终端是否成功接入所述GSM小区。An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is run by a processor, the computer program executes: in the process of performing network access by a terminal using a preset optimization scheme, receiving the The first attach request message of the terminal; the first attach request message is after the terminal is registered in the long-term evolution LTE network and switched to the OOS state, and the GSM cell is selected after the signal strength of the GSM cell as a neighboring cell is improved. sending a first attach rejection message representing an abnormality of the GPRS network to the terminal; repeatedly detecting whether the second attach request of the terminal is obtained before the timing of the first timer arrives, and sending a second attach request to the terminal rejecting the attach message; the first timer is started when the first attach rejecting message/second attach rejecting message is sent to the terminal; determining whether the terminal successfully accesses the GSM cell based on the detection result.
在一实施例中,该计算机程序被处理器运行时,执行:当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求且向所述终端发送第二拒绝附着消息的重复次数达到预设阈值时,确定所述终端成功接入所述GSM小区。In one embodiment, when the computer program is run by the processor, execute: when the detection result is that the second attach request of the terminal is obtained and sent to the terminal before the timing of the first timer arrives When the number of repetitions of the second attach rejection message reaches a preset threshold, it is determined that the terminal successfully accesses the GSM cell.
在一实施例中,该计算机程序被处理器运行时,执行:当所述检测结果为在所述第一定时器的定时时间到达之前未获得所述终端的第二附着请求时,确定所述终端未成功接入所述GSM小区。In one embodiment, when the computer program is run by the processor, execute: when the detection result is that the second attachment request of the terminal has not been obtained before the timing time of the first timer arrives, determine the The terminal fails to access the GSM cell.
在一实施例中,该计算机程序被处理器运行时,执行:当所述检测结果为在所述第一定时器的定时时间到达之前获得所述终端的第二附着请求、向所述终端发送第二拒绝附着消息的重复次数未达到预设阈值时,确定所述终端未成功接入所述邻小区。In an embodiment, when the computer program is run by the processor, execute: when the detection result is that the second attachment request of the terminal is obtained before the timing of the first timer arrives, and the second attachment request is sent to the terminal. When the number of repetitions of the second attach rejection message does not reach a preset threshold, it is determined that the terminal fails to access the neighboring cell.
在一实施例中,该计算机程序被处理器运行时,执行:封装第一附着拒绝消息,所述第一附着拒绝消息中携带附着拒绝的原因值,所述附着拒绝的原因值用于表征附着拒绝的原因;其中,所述附着拒绝消息中的所述附着拒绝的原因值用于表征GPRS网络异常。In one embodiment, when the computer program is run by the processor, execute: encapsulate a first attach rejection message, where the first attach rejection message carries a reason value for attach rejection, and the attach rejection reason value is used to represent the attachment The reason for rejection; wherein, the reason value for the attachment rejection in the attach rejection message is used to represent the abnormality of the GPRS network.
在一实施例中,该计算机程序被处理器运行时,执行:建立仿真网络环境,所述仿真网络环境至少包括如下网络结构:LTE网络、TDSCDMA网络、GSM网络,其中,所述LTE网络的SIB5中配置有TDSCDMA邻区信息,所述LTE网络的SIB7中配置有GSM邻区信息,所述GSM网络的SI中配置有LTE邻区信息;相应地,与所述终端交互的网络为所述仿真网络环境中的网络。In one embodiment, when the computer program is run by the processor, execute: establish a simulated network environment, the simulated network environment includes at least the following network structures: LTE network, TDSCDMA network, GSM network, wherein, the SIB5 of the LTE network is configured with TDSCDMA neighboring cell information, the SIB7 of the LTE network is configured with GSM neighboring cell information, and the SI of the GSM network is configured with LTE neighboring cell information; correspondingly, the network interacting with the terminal is the simulation network in a network environment.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other media that can store program codes.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products are stored in a storage medium and include several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711233098.5A CN107969013B (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 |
|---|---|---|---|
| CN201711233098.5A CN107969013B (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 |
|---|---|
| CN107969013A CN107969013A (en) | 2018-04-27 |
| CN107969013B true CN107969013B (en) | 2020-08-18 |
Family
ID=61999142
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711233098.5A Active CN107969013B (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) | CN107969013B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113196807B (en) * | 2018-11-28 | 2022-08-23 | 京瓷株式会社 | Communication apparatus, vehicle, and method |
| CN112074001A (en) * | 2020-08-27 | 2020-12-11 | 展讯半导体(成都)有限公司 | Network access method and communication device |
| CN113660201B (en) * | 2021-07-08 | 2023-05-30 | 上海二三四五网络科技有限公司 | Control method and control device for high concurrency primary key conflict |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101217767A (en) * | 2008-01-03 | 2008-07-09 | 中兴通讯股份有限公司 | An indication test method and system for CDMA system data service calling |
| WO2011160308A1 (en) * | 2010-06-25 | 2011-12-29 | 华为技术有限公司 | Method for processing network congestion, network device and network system |
| CN104080105A (en) * | 2013-03-28 | 2014-10-01 | 电信科学技术研究院 | Method and device of optimizing switchover performance in dynamic simulation platform |
| CN105848179A (en) * | 2015-01-16 | 2016-08-10 | 中兴通讯股份有限公司 | Cell switching optimization evaluation method and device |
| CN106851755A (en) * | 2017-01-19 | 2017-06-13 | 广东欧珀移动通信有限公司 | A kind of cell registration method and device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FI123336B (en) * | 2009-12-23 | 2013-02-28 | 7Signal Oy | A method for monitoring and intelligently adjusting radio network parameters |
-
2017
- 2017-11-30 CN CN201711233098.5A patent/CN107969013B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101217767A (en) * | 2008-01-03 | 2008-07-09 | 中兴通讯股份有限公司 | An indication test method and system for CDMA system data service calling |
| WO2011160308A1 (en) * | 2010-06-25 | 2011-12-29 | 华为技术有限公司 | Method for processing network congestion, network device and network system |
| CN104080105A (en) * | 2013-03-28 | 2014-10-01 | 电信科学技术研究院 | Method and device of optimizing switchover performance in dynamic simulation platform |
| CN105848179A (en) * | 2015-01-16 | 2016-08-10 | 中兴通讯股份有限公司 | Cell switching optimization evaluation method and device |
| CN106851755A (en) * | 2017-01-19 | 2017-06-13 | 广东欧珀移动通信有限公司 | A kind of cell registration method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107969013A (en) | 2018-04-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107948976A (en) | The detection method and device of LTE network access result, computer-readable storage medium | |
| CN107969013B (en) | Method and device for detecting network access result, and computer storage medium | |
| CN108064459B (en) | A CSFB fallback result detection method and device, storage medium | |
| CN107948997B (en) | Method and device for detecting network access result and computer storage medium | |
| CN108064454A (en) | The falling result detection method and device of CSFB a kind of, storage medium | |
| CN107734529A (en) | Method and device for detecting network access results, and computer storage medium | |
| CN107889109B (en) | Method and device for detecting network access result, and computer storage medium | |
| CN108093429B (en) | Method and device for detecting LTE network access result, and computer storage medium | |
| CN107948995B (en) | Method and device for detecting LTE network access result, and computer storage medium | |
| CN107995638B (en) | Method and device for detecting LTE network access result, and computer storage medium | |
| CN107948998B (en) | Method and device for detecting network access result, and computer storage medium | |
| CN107995652B (en) | Method and device for detecting network access result, and computer storage medium | |
| CN107896378B (en) | Detection method, device and storage medium thereof | |
| CN108184253A (en) | A detection method and its device, storage medium | |
| CN107864483B (en) | Method and device for detecting access result and computer storage medium | |
| CN108040336A (en) | The detection method and device of network insertion result, computer-readable storage medium | |
| CN108112057B (en) | Detection method, detection device and computer storage medium | |
| CN108040348B (en) | Method and device for detecting network access result and computer storage medium | |
| CN108064458B (en) | A CSFB fallback result detection method and device, and computer storage medium | |
| CN107734530B (en) | Method and device for detecting access result and computer storage medium | |
| CN107750052A (en) | The detection method and device of network insertion result, computer-readable storage medium | |
| CN107959941B (en) | Detection method and device, storage medium | |
| CN107949009A (en) | The detection method and device of LTE network access result, computer-readable storage medium | |
| CN107959940B (en) | Detection method and device, storage medium | |
| CN107948996A (en) | The detection method and device of LTE network access result, computer-readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| 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 |