[go: up one dir, main page]

CN112806073B - Communication processing method, device, mobile terminal and storage medium - Google Patents

Communication processing method, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN112806073B
CN112806073B CN201880098550.8A CN201880098550A CN112806073B CN 112806073 B CN112806073 B CN 112806073B CN 201880098550 A CN201880098550 A CN 201880098550A CN 112806073 B CN112806073 B CN 112806073B
Authority
CN
China
Prior art keywords
location area
cell
mobile terminal
cells
current cell
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
CN201880098550.8A
Other languages
Chinese (zh)
Other versions
CN112806073A (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
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112806073A publication Critical patent/CN112806073A/en
Application granted granted Critical
Publication of CN112806073B publication Critical patent/CN112806073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种通信处理方法、装置、移动终端及存储介质,该通信处理方法应用于移动终端,该通信处理方法包括:在对当前小区进行网络注册时,接收小区注册结果;当小区注册结果为注册失败时,禁止所述当前小区,所述当前小区对应有位置区标识,所述位置区标识对应多个小区;当所述位置区标识对应的小区被所述移动终端禁止的个数达到指定小区个数后,禁止所述位置区标识。本方法可以使在遇到网络异常时,能较快恢复网络功能。

Figure 201880098550

The present application discloses a communication processing method, device, mobile terminal, and storage medium. The communication processing method is applied to a mobile terminal. The communication processing method includes: receiving the cell registration result when performing network registration on the current cell; When the result is that the registration fails, prohibit the current cell, the current cell corresponds to a location area identifier, and the location area identifier corresponds to multiple cells; when the number of cells corresponding to the location area identifier is prohibited by the mobile terminal After the specified number of cells is reached, the location area identification is prohibited. The method can quickly recover network functions when encountering network abnormalities.

Figure 201880098550

Description

通信处理方法、装置、移动终端及存储介质Communication processing method, device, mobile terminal and storage medium

技术领域technical field

本申请涉及移动终端技术领域,更具体地,涉及一种通信处理方法、装置、移动终端及存储介质。The present application relates to the technical field of mobile terminals, and more specifically, to a communication processing method, device, mobile terminal and storage medium.

背景技术Background technique

移动终端,例如手机、平板电脑等,已经成为人们日常生活中最常用的消费型电子产品之一,人们越来越习惯通过移动终端进行各种与生活相关的操作,移动终端通常需要通过运营商基站进行通信。而移动终端常会遇到网络异常的情况,在移动终端遇到网络异常时,需要较长时间才能恢复网络。Mobile terminals, such as mobile phones and tablet computers, have become one of the most commonly used consumer electronic products in people's daily life. People are becoming more and more accustomed to performing various life-related operations through mobile terminals. The base station communicates. However, the mobile terminal often encounters a network abnormality, and when the mobile terminal encounters a network abnormality, it takes a long time to restore the network.

发明内容Contents of the invention

鉴于上述问题,本申请提出了一种通信处理方法、装置、移动终端及存储介质,以解决上述问题。In view of the above problems, the present application proposes a communication processing method, device, mobile terminal and storage medium to solve the above problems.

第一方面,本申请实施例提供了一种通信处理方法,应用于移动终端,所述方法包括:在对当前小区进行网络注册时,接收小区注册结果;当小区注册结果为注册失败时,禁止所述当前小区,所述当前小区对应有位置区标识,所述位置区标识对应多个小区;当所述位置区标识对应的小区被所述移动终端禁止的个数达到指定小区个数后,禁止所述位置区标识。In the first aspect, the embodiment of the present application provides a communication processing method applied to a mobile terminal. The method includes: receiving the cell registration result when performing network registration on the current cell; The current cell, the current cell corresponds to a location area identifier, and the location area identifier corresponds to a plurality of cells; when the number of cells corresponding to the location area identifier that is prohibited by the mobile terminal reaches the specified number of cells, The location area identification is prohibited.

第二方面,本申请实施例提供了一种通信处理装置,应用于移动终端,所述装置包括:结果接收模块、小区禁止模块以及位置区禁止模块,其中,所述结果接收模块用于在对当前小区进行网络注册时,接收小区注册结果;所述小区禁止模块用于当小区注册结果为注册失败时,禁止所述当前小区,所述当前小区对应有位置区标识,所述位置区标识对应多个小区;所述位置区禁止模块用于当所述位置区标识对应的小区被所述移动终端禁止的个数达到指定小区个数后,禁止所述位置区标识。In the second aspect, the embodiment of the present application provides a communication processing device, which is applied to a mobile terminal. The device includes: a result receiving module, a cell barring module, and a location area barring module, wherein the result receiving module is used to When the current cell performs network registration, the cell registration result is received; the cell prohibition module is used to prohibit the current cell when the cell registration result is a registration failure, the current cell corresponds to a location area identifier, and the location area identifier corresponds to A plurality of cells; the location area prohibition module is configured to prohibit the location area identifier when the number of cells corresponding to the location area identifier banned by the mobile terminal reaches the specified number of cells.

第三方面,本申请实施例提供了一种移动终端,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述第一方面提供的通信处理方法。In a third aspect, the embodiment of the present application provides a mobile terminal, including: one or more processors; memory; one or more application programs, wherein the one or more application programs are stored in the memory and The one or more programs are configured to be executed by the one or more processors, and the one or more programs are configured to execute the communication processing method provided in the first aspect above.

第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的通信处理方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to perform the communication provided by the first aspect above. Approach.

相对于现有技术,本申请提供的方案,在对当前小区进行网络注册时,接收小区注册结果,当小区注册结果为注册失败时,禁止当前小区,其中,当前小区对应有位置区标识,位置区标识对应多个小区,当该位置区标识对应的小区被移动终端禁止的个数达到指定小区个数后,禁止该位置区标识,从而避免网络注册失败时禁止位置区标识,而导致网络恢复时间较长。Compared with the prior art, the solution provided by this application receives the cell registration result when performing network registration on the current cell, and prohibits the current cell when the cell registration result is a registration failure, wherein the current cell corresponds to a location area identifier, location The area ID corresponds to multiple cells. When the number of the cell corresponding to the location area ID is banned by the mobile terminal reaches the specified number of cells, the location area ID is prohibited, so as to avoid the prohibition of the location area ID when the network registration fails, resulting in network recovery. A long time.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1示出了本申请实施例提供的一种移动通信网络的系统架构示意图。Fig. 1 shows a schematic diagram of a system architecture of a mobile communication network provided by an embodiment of the present application.

图2示出了本申请实施例提供的另一种移动通信网络的系统架构示意图。Fig. 2 shows a schematic diagram of a system architecture of another mobile communication network provided by an embodiment of the present application.

图3示出了根据本申请一个实施例的通信处理方法流程图。Fig. 3 shows a flowchart of a communication processing method according to an embodiment of the present application.

图4示出了根据本申请另一个实施例的通信处理方法流程图。Fig. 4 shows a flowchart of a communication processing method according to another embodiment of the present application.

图5示出了根据本申请又一个实施例的通信处理方法流程图。Fig. 5 shows a flowchart of a communication processing method according to yet another embodiment of the present application.

图6示出了根据本申请实施例提供的通信处理方法中步骤S330的流程图。Fig. 6 shows a flow chart of step S330 in the communication processing method provided according to the embodiment of the present application.

图7示出了根据本申请一个实施例的通信处理装置的一种框图。Fig. 7 shows a block diagram of a communication processing device according to an embodiment of the present application.

图8是本申请实施例的用于执行根据本申请实施例的通信处理方法的移动终端的框图。Fig. 8 is a block diagram of a mobile terminal for executing the communication processing method according to the embodiment of the present application according to the embodiment of the present application.

图9是本申请实施例的用于保存或者携带实现根据本申请实施例的通信处理方法的程序代码的存储单元。Fig. 9 is a storage unit used to store or carry program codes for realizing the communication processing method according to the embodiment of the present application according to the embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

随着移动通信技术的长足发展,移动通信已经经历了2G、3G以及4G等多个版本的发展。而不论是早期2G时代的GSM(Global System for Mobile Communication)移动通信系统或者CDMA(Code Division Multiple Access)通信系统,还是到了后面4G时代的LTE(long term evolution,长期演进)系统架构,基站都是比较重要的一个通信设备。With the rapid development of mobile communication technology, mobile communication has experienced the development of multiple versions such as 2G, 3G and 4G. Regardless of whether it is the GSM (Global System for Mobile Communication) mobile communication system or the CDMA (Code Division Multiple Access) communication system in the early 2G era, or the LTE (long term evolution, long term evolution) system architecture in the later 4G era, the base station is A more important communication device.

例如,如图1所示的2G移动通信系统架构示意图。基站BTS(base transceiverstation)作为移动通信通路的接入设备与BSC(Base Station Controller)连接,然后BSC再与MSC(mobile switching center,移动交换中心)连接。再例如图2所示的4G移动通信系统架构示意图。基站eNB(evolved node B)与MME(Mobility Management Entity)连接,而MME与服务网关Serving Gateway连接。可以从图1和图2看出,在移动通信系统中,基站作为直接与移动终端建立连接的设备,在整个系统架构中有着比较重要的地位。基站,一般是指“公用移动通信基站”,其作用主要用于给手机、平板电脑等移动终端提供信号。基站设施并不仅仅掌握在各大运营商与设备厂商的手中,各大高校、研究所、科研机构中经常可以看到它们的身影,这加速了通信技术更新换代的频率以及缩短了商用开发的过渡时间。在使用移动终端时,移动终端需要注册运营商网络,而在注册运营商网络时,可能会出现注册失败的情况,协议规定在网络注册失败时会将当前位置区标识(TAI,Tracking Area Identity)禁止,即禁止跟踪该位置区标识对应的跟踪区域。For example, a schematic diagram of a 2G mobile communication system architecture is shown in FIG. 1 . A base station BTS (base transceiverstation) is used as an access device of a mobile communication path and is connected to a BSC (Base Station Controller), and then the BSC is connected to an MSC (mobile switching center, mobile switching center). Another example is the schematic diagram of the architecture of the 4G mobile communication system shown in FIG. 2 . A base station eNB (evolved node B) is connected to an MME (Mobility Management Entity), and the MME is connected to a Serving Gateway. It can be seen from FIG. 1 and FIG. 2 that in a mobile communication system, a base station, as a device that directly establishes a connection with a mobile terminal, plays an important role in the entire system architecture. Base stations generally refer to "public mobile communication base stations", which are mainly used to provide signals to mobile terminals such as mobile phones and tablet computers. Base station facilities are not only in the hands of major operators and equipment manufacturers, they can often be seen in major universities, research institutes, and scientific research institutions, which accelerates the frequency of communication technology updates and shortens the time for commercial development. Transition time. When using a mobile terminal, the mobile terminal needs to register with the operator's network, and when registering with the operator's network, registration failure may occur. The agreement stipulates that the current location area identity (TAI, Tracking Area Identity) will be identified when the network registration fails. Prohibited, that is, the tracking area corresponding to the location area identifier is prohibited from being tracked.

发明人经过长期的研究发现,移动终端在注册网络失败时,可能是因为网络情况一直较差,被网络拒绝而导致网络注册失败,也可能是因为网络情况暂时较差,被网络拒绝而导致网络注册失败,在注册失败时,需要较长时间才能恢复网络。如果是网络情况暂时较差而导致的注册失败,则移动终端在重启或者切换至飞行模式之后,再进行注册,则能成功注册网络,但这依然需要较长时间才能恢复网络。基于上述问题,发明人提出了本申请实施例提供的通信处理方法、装置、移动终端以及存储介质,注册当前小区失败时,禁止当前小区,当该当前小区对应的位置区标识下的小区被移动终端禁止的个数达到指定个数后,才禁止位置区标识,避免临时网络异常而使移动终端需要较长时间恢复网络。After long-term research, the inventor found that when the mobile terminal fails to register with the network, it may be because the network condition has been poor and the network has been rejected, resulting in network registration failure, or it may be because the network condition is temporarily poor and the network is rejected, resulting in network registration failure. Registration failed. When the registration fails, it takes a long time to restore the network. If the registration fails due to temporary poor network conditions, the mobile terminal can successfully register with the network after restarting or switching to flight mode, but it still takes a long time to restore the network. Based on the above problems, the inventor proposed the communication processing method, device, mobile terminal, and storage medium provided by the embodiments of the present application. When the registration of the current cell fails, the current cell is prohibited. When the cell under the location area identifier corresponding to the current cell is moved The location area identification is prohibited only after the number of prohibited terminals reaches the specified number, so as to avoid temporary network abnormalities and make it take a long time for the mobile terminal to restore the network.

下面对本申请实施例的通信处理方法进行详细介绍。The communication processing method in the embodiment of the present application will be described in detail below.

请参阅图3,本申请实施例提供了一种通信处理方法,可应用于移动终端,该通信处理方法可以包括:Please refer to FIG. 3. The embodiment of the present application provides a communication processing method, which can be applied to a mobile terminal. The communication processing method may include:

步骤S110:在对当前小区进行网络注册时,接收小区注册结果。Step S110: When performing network registration for the current cell, receive a cell registration result.

在本申请实施例中,移动终端在注册运营商网络时,可以对当前跟踪到的位置区标识下的小区进行注册,以便注册成功后使用运营商网络进行通信。在对当前跟踪到的位置区标识下的小区进行注册时,可以接收到对当前小区进行注册的小区注册结果。In the embodiment of the present application, when the mobile terminal registers with the operator's network, it can register the cell under the currently tracked location area identifier, so that the operator's network can be used for communication after the registration is successful. When registering a cell under the currently tracked location area identifier, a cell registration result of registering the current cell may be received.

在对当前小区在进行注册时,需要进行初始接入过程,例如,上述的RRC连接。在进行初始接入过程之后,则需要进行附着attach过程。附着过程是进行注册过程中必要的过程,只有当附着成功后才可以进行后续的业务。在进行附着过程时,需要进行移动终端与网络的相互鉴权,移动终端与MM(Mobility Management Entity)建立MM(mobilemanagement)上下文。MME为移动终端建立默认承载,移动终端获得网络侧分配的IP地址。还需进行用户位置登记,以及临时身份标识(S-TMSI)的分配。When registering the current cell, an initial access process, for example, the above-mentioned RRC connection, needs to be performed. After the initial access process is performed, an attach process needs to be performed. The attachment process is a necessary process in the registration process, and only after the attachment is successful can subsequent services be performed. During the attachment process, mutual authentication between the mobile terminal and the network is required, and the mobile terminal establishes an MM (mobile management) context with an MM (Mobility Management Entity). The MME establishes a default bearer for the mobile terminal, and the mobile terminal obtains an IP address allocated by the network side. User location registration and allocation of temporary identities (S-TMSIs) are also required.

进一步的,在对当前小区进行注册后,可以接收当前小区返回的小区注册结果,该小区注册结果可以是表征注册当前小区成功的信息,也可以是表征注册当前小区失败的信息。Further, after the current cell is registered, a cell registration result returned by the current cell may be received, and the cell registration result may be information indicating successful registration of the current cell, or information indicating failure of registration in the current cell.

步骤S120:当小区注册结果为注册失败时,禁止所述当前小区,所述当前小区对应有位置区标识,所述位置区标识对应多个小区。Step S120: When the registration result of the cell is that the registration fails, prohibit the current cell, the current cell corresponds to a location area identifier, and the location area identifier corresponds to a plurality of cells.

在本申请实施例中,在接受到对当前小区进行注册时,当前小区返回的小区注册结果之后,则可以获知对当前小区是否注册成功。In the embodiment of the present application, after receiving the cell registration result returned by the current cell when registering with the current cell, it may be known whether the registration with the current cell is successful.

进一步的,当上述接收的小区注册结果为注册失败时,则表示当前小区所在网络可能出现异常,为避免再次注册该小区,则可以禁止该当前小区,即禁止移动终端再对当前小区进行注册。Further, when the cell registration result received above is registration failure, it means that the network where the current cell is located may be abnormal. To avoid re-registering the cell, the current cell can be prohibited, that is, the mobile terminal is prohibited from registering with the current cell.

其中,小区是指在蜂窝移动通信系统中,其中的一个基站或基站的一部分(扇形天线)所覆盖的区域,在这个区域内移动台可以通过无线信道可靠地与基站进行通信。对于当前小区而言,当前小区对应有位置区标识(TAI,Tracking Area Identity),位置区标识用于标识跟踪区域,由国家代码(MCC,Mobile Country Code)、网络代码(MNC,MobileNetwork Code)及跟踪区代码(Tracking Area Code,TAC)组成。上述小区为移动网络的最小覆盖范围,而TAI对应跟踪区的覆盖范围,其范围较大,通常一个TAI下对应有十个至几十个小区。另外,位置区标识对应有公共陆地移动网络(PLMN,Public Land MobileNetwork),PLMN是由政府或它所批准的经营者,为公众提供陆地移动通信业务目的而建立和经营的网络。该网路通常与公众交换电话网互连,形成整个地区或国家规模的通信网。PLMN由上述的MCC以及MNC构成,例如,中国移动的PLMN为46000,460即为MCC,00即为MNC,又例如,中国联通的PLMN为46001,460即为MCC,01即为MNC。由于TAI由MCC、MNC以及TAC构成,即由PLMN以及TAC构成,因此,一个PLMN对应有多个TAI,通常一个PLMN下最多有16bit标识的0~65535个TAI。Among them, a cell refers to an area covered by a base station or a part of a base station (sector antenna) in a cellular mobile communication system, in which a mobile station can reliably communicate with a base station through a wireless channel. For the current cell, the current cell corresponds to a location area identity (TAI, Tracking Area Identity), which is used to identify the tracking area, which consists of a country code (MCC, Mobile Country Code), a network code (MNC, MobileNetwork Code) and Tracking Area Code (Tracking Area Code, TAC) composition. The aforementioned cell is the minimum coverage area of the mobile network, and the TAI corresponds to the coverage area of the tracking area, which has a relatively large area. Generally, one TAI corresponds to ten to dozens of cells. In addition, the location area identifier corresponds to a Public Land Mobile Network (PLMN, Public Land Mobile Network). PLMN is a network established and operated by the government or an operator approved by it to provide land mobile communication services for the public. This network is usually interconnected with the public switched telephone network to form an entire regional or national scale communication network. The PLMN is composed of the above-mentioned MCC and MNC. For example, the PLMN of China Mobile is 46000, 460 is the MCC, and 00 is the MNC. For example, the PLMN of China Unicom is 46001, 460 is the MCC, and 01 is the MNC. Since the TAI is composed of the MCC, the MNC and the TAC, that is, the PLMN and the TAC, one PLMN corresponds to multiple TAIs, and usually there are at most 0 to 65535 TAIs with 16-bit identifiers under one PLMN.

步骤S130:当所述位置区标识对应的小区被所述移动终端禁止的个数达到指定小区个数后,禁止所述位置区标识。Step S130: When the number of cells corresponding to the location area identifier banned by the mobile terminal reaches a specified number of cells, prohibit the location area identifier.

在本申请实施例中,在对上述当前小区进行网络注册时,注册失败并禁止当前小区之后,移动终端可以对其他小区进行网络注册。移动终端对其他小区进行注册,可以是对当前小区所对应的位置区标识的小区进行注册,也可以是对其他位置区标识的小区进行注册。In the embodiment of the present application, when performing network registration for the above-mentioned current cell, after the registration fails and the current cell is banned, the mobile terminal may perform network registration for other cells. When the mobile terminal registers with other cells, it may be to register with a cell identified by a location area corresponding to the current cell, or it may be to register with a cell identified by another location area.

进一步的,当移动终端在对其他小区进行注册时,可以对注册结果进行监测。并且,在注册其他小区失败时,也会禁止注册失败的小区。当移动终端注册的小区中,上述当前小区的位置区标识所对应的小区被移动终端禁止的个数达到指定小区个数时,则表示该位置区标识对应的网络存在异常,如果移动终端注册该位置区标识的其他小区,也会失败。其中,指定小区个数的具体数值可以不作为限定,例如,指定小区个数可以为3个,可以为5个,也可以为10个等。此时可以禁止该位置区标识,即禁止跟踪该位置区标识对应的跟踪区域,禁止对该位置区标识对应的所有小区进行注册,避免移动终端继续注册该位置区标识对应的小区,而导致无法网络注册成功。Further, when the mobile terminal is registering with other cells, it can monitor the registration result. In addition, when other cells fail to register, the failed cell will also be prohibited. When the cell registered by the mobile terminal, the number of cells corresponding to the location area identifier of the current cell mentioned above is prohibited by the mobile terminal reaches the specified number of cells, it means that the network corresponding to the location area identifier is abnormal. If the mobile terminal registers the Other cells identified by the location area will also fail. Wherein, the specific value of the number of specified cells may not be limited, for example, the number of specified cells may be 3, 5, or 10, etc. At this time, the location area identifier can be prohibited, that is, it is forbidden to track the tracking area corresponding to the location area identifier, and it is forbidden to register all the cells corresponding to the location area identifier, so as to prevent the mobile terminal from continuing to register the cell corresponding to the location area identifier, resulting in failure to Network registration is successful.

由于移动终端在注册网络时,移动终端对一个位置区标识所对应的小区注册失败后,仅禁止当前注册失败的小区,在该位置区标识对应的小区被移动终端禁止的个数达到指定小区个数时,才禁止位置区标识。避免临时网络异常而导致位置区标识被禁止,使移动终端无法加入该位置区标识的网络。When the mobile terminal registers on the network, after the mobile terminal fails to register the cell corresponding to a location area identifier, it only prohibits the cell that failed to register currently, and the number of cells corresponding to the location area identifier that is prohibited by the mobile terminal reaches the number of specified cells. The location area marking is disabled only when the Avoid temporary network anomalies that cause the location area identifier to be prohibited, so that the mobile terminal cannot join the network identified by the location area.

另外,由于伪基站可能模拟运营商基站,并利用协议中注册网络失败时禁止位置区标识的漏洞,使移动终端禁止周围的TAI而使移动终端接入2G(2-Generation wirelesstelephone technology,第二代移动通信技术)基站的小区、3G(3rd-Generation,第三代移动通信技术)基站的小区,而使不法分子实现其不法活。通过上述方法,则可以避免伪基站利用协议漏洞而故意使移动终端禁止TAI的情况,降低移动终端被伪基站攻击的风险。其中,伪基站即假基站,是移动通信网络之外的非法基站,伪基站一般由主机和笔记本电脑组成,通过短信群发器、短信发信机等相关设备能够搜取以其为中心、一定半径范围内的手机卡信息,利用2G移动通信的缺陷,通过伪装成运营商的基站,冒用他人手机号码强行向用户手机发送诈骗、广告推销等短信息。In addition, because the fake base station may simulate the operator's base station, and use the loophole in the agreement to prohibit the location area identification when the registration network fails, the mobile terminal prohibits the surrounding TAI and enables the mobile terminal to access 2G (2-Generation wirelesstelephone technology, the second generation mobile communication technology) base station, and 3G (3rd-Generation, third-generation mobile communication technology) base station cells, so that criminals can realize their illegal activities. Through the above method, it is possible to avoid the situation that the pseudo base station intentionally disables the TAI of the mobile terminal by exploiting a protocol loophole, and reduces the risk of the mobile terminal being attacked by the pseudo base station. Among them, the fake base station is a fake base station, which is an illegal base station outside the mobile communication network. The fake base station is generally composed of a host computer and a laptop computer. Through SMS group senders, SMS senders and other related equipment, it is possible to search Mobile phone card information within the scope, taking advantage of the defects of 2G mobile communication, by pretending to be the base station of the operator, fraudulently using other people's mobile phone numbers to forcibly send short messages such as fraud and advertising to the user's mobile phone.

本申请实施例提供的通信处理方法,通过对当前小区进行网络注册时,接收小区注册结果,当小区注册结果为注册失败时,仅禁止当前小区,当前小区对应有位置区标识,且该位置区标识对应多个小区。当该位置区标识对应的小区被移动终端禁止的个数达到指定小区个数后,禁止位置区标识。从而使得移动终端注册网络失败时,不会立即禁止当前的位置区标识,避免网络异常而导致位置区标识被禁止,使移动终端无法后续注册该位置区标识的网络,并且避免伪基站利用协议漏洞而故意使移动终端禁止TAI的情况,降低移动终端被伪基站攻击的风险。The communication processing method provided by the embodiment of the present application receives the cell registration result when the network registration is performed on the current cell, and when the cell registration result is a registration failure, only the current cell is prohibited, and the current cell corresponds to a location area identifier, and the location area The identifier corresponds to multiple cells. When the number of cells corresponding to the location area identifier is prohibited by the mobile terminal reaches the specified number of cells, the location area identifier is prohibited. In this way, when the mobile terminal fails to register with the network, the current location area identifier will not be banned immediately, avoiding network abnormalities that cause the location area identifier to be banned, making it impossible for the mobile terminal to subsequently register with the network identified by the location area identifier, and preventing pseudo base stations from exploiting protocol loopholes In the case where the mobile terminal is intentionally prohibited from TAI, the risk of the mobile terminal being attacked by a fake base station is reduced.

请参阅图2,本申请另一个实施例提供了一种通信处理方法,可应用于移动终端,该通信处理方法可以包括:Referring to FIG. 2, another embodiment of the present application provides a communication processing method, which can be applied to a mobile terminal. The communication processing method may include:

步骤S210:在对当前小区进行网络注册时,接收小区注册结果。Step S210: When performing network registration for the current cell, receive a cell registration result.

在本申请实施例中,步骤S210可以参阅上述实施例的内容,在此不再赘述。In the embodiment of the present application, for step S210, reference may be made to the content of the foregoing embodiments, and details are not repeated here.

步骤S220:当小区注册结果为注册失败时,禁止选择、重选或者接入所述当前小区,所述当前小区对应有位置区标识,所述位置区标识对应多个小区。Step S220: When the registration result of the cell is registration failure, it is prohibited to select, reselect or access the current cell, the current cell corresponds to a location area identifier, and the location area identifier corresponds to multiple cells.

在本申请实施例中,在上述对当前小区进行网络注册,接收到的小区注册结果为注册失败时,禁止该当前小区。其中,禁止当前小区,可以为禁止选择、重选或者接入该当前小区。小区选择为移动终端开机(或从无服务区域进入有服务器区域)后,会试图与SIM卡允许的PLMN取得联系,因此会选择一个合适的小区驻留,并从中提取控制信道的参数和其他系统信息,这种选择过程被称为“小区选择”。小区重选为移动终端在空闲(IDLE)模式下因位置变动、信号变化等因素导致重新选择服务小区的过程。接入小区是指移动终端接入到小区,以实现网络服务。通过禁止选择、重选或者接入到该当前小区,可以使移动终端不再对当前小区进行注册,以便移动终端对其他小区进行注册,加快成功注册网络。In the embodiment of the present application, when the network registration of the current cell is performed, and the received cell registration result is a registration failure, the current cell is prohibited. Wherein, prohibiting the current cell may be prohibiting selection, reselection or access to the current cell. Cell selection: After the mobile terminal is turned on (or enters a server area from an unserved area), it will try to get in touch with the PLMN allowed by the SIM card, so it will choose a suitable cell to reside in, and extract the control channel parameters and other system parameters from it. Information, this selection process is called "cell selection". Cell reselection is a process in which a mobile terminal reselects a serving cell due to factors such as location changes and signal changes in idle (IDLE) mode. Accessing a cell means that a mobile terminal accesses a cell to implement network services. By prohibiting the selection, reselection or access to the current cell, the mobile terminal can no longer register with the current cell, so that the mobile terminal can register with other cells and speed up the successful network registration.

在本申请实施例中,在禁止当前小区之后,可能此前注册当前小区失败,仅是时间网络情况不好,而导致的注册失败。而在一段时间后,可能网络恢复正常,此时移动终端可以正常注册当前小区,如果对当前小区禁止的时间较长,则会使移动终端后续无法注册该小区。因此,该通信处理方法还可以包括:In the embodiment of the present application, after the current cell is banned, the registration of the current cell may have failed before, and the registration failure was only caused by bad network conditions at the time. After a period of time, the network may return to normal. At this time, the mobile terminal can normally register with the current cell. If the current cell is prohibited for a long time, the mobile terminal cannot subsequently register with the cell. Therefore, the communication processing method may also include:

监测所述移动终端禁止所述当前小区的时长,将监测到的时长作为第一时长;当所述第一时长超过第一设定时长时,取消禁止当前小区。Monitoring the duration of prohibiting the current cell by the mobile terminal, using the monitored duration as the first duration; when the first duration exceeds the first set duration, canceling the prohibition of the current cell.

可以理解的,在对执行禁止当前小区的时刻起,可以开始对移动终端禁止当前小区的时长进行监测并记录,其中,监测的方式可以包括实时监测、间隔预定时长监测、或者根据用户自行设置的时间间隔监测,可选的,为了提升监测禁止当前小区的时长的准确性,可以采用实时监测的方式。监测的移动终端禁止当前小区的时长,可以作为第一时长。在确定出第一时长超过第一设定时长时,取消禁止当前小区,也就是说,不再禁止移动终端对当前小区进行网络注册,以便移动终端后续可以对当前小区进行注册,在当前小区临时网络异常之后,网络恢复正常时可以成功注册当前小区。在本申请实施例中,第一设定时长的具体大小在本申请实施例中可以不作为限定,例如,可以是0.05小时,可以是0.2小时,也可以是0.5小时,还可以是1小时等。It can be understood that from the moment when the current cell is prohibited, the time period for which the mobile terminal is prohibited from the current cell can be monitored and recorded, wherein the monitoring method can include real-time monitoring, monitoring at predetermined intervals, or according to user-set Time interval monitoring is optional. In order to improve the accuracy of monitoring the duration of prohibiting the current cell, a real-time monitoring method can be used. The time length during which the monitored mobile terminal prohibits the current cell may be used as the first time length. When it is determined that the first duration exceeds the first set duration, the prohibition of the current cell is cancelled, that is, the mobile terminal is no longer prohibited from performing network registration on the current cell, so that the mobile terminal can subsequently register on the current cell, temporarily registering in the current cell After the network is abnormal, the current cell can be successfully registered when the network returns to normal. In the embodiment of the present application, the specific size of the first set duration may not be limited in the embodiment of the present application, for example, it may be 0.05 hours, 0.2 hours, 0.5 hours, or 1 hour, etc. .

在本申请实施例中,在取消禁止当前小区之后,移动终端则可以再次对当前小区注册。当移动终端选择该当前小区进行注册时,如果该当前小区对应的网络恢复正常时,则移动终端可以成功注册该当前小区。如果该当前小区的网络未恢复正常,即网络仍然处于异常,则移动终端仍然不能成功注册该当前小区,此时如果接收到对当前小区的注册结果为注册失败,则会再次禁止该当前小区。另外,再次注册当前小区失败,可能表示当前小区处于网络异常的时间较长,因此,该通信处理方法还可以包括:In the embodiment of the present application, after canceling the barring of the current cell, the mobile terminal can register with the current cell again. When the mobile terminal selects the current cell for registration, if the network corresponding to the current cell returns to normal, the mobile terminal can successfully register with the current cell. If the network of the current cell has not returned to normal, that is, the network is still abnormal, the mobile terminal still cannot successfully register the current cell, and if the registration result of the current cell is received as registration failure, the current cell will be banned again. In addition, the failure to register the current cell again may indicate that the current cell has been abnormal in the network for a long time. Therefore, the communication processing method may also include:

当再次注册所述当前小区失败时,增大所述第一设定时长。When re-registering with the current cell fails, increase the first set duration.

可以理解的是,当上述取消禁止当前小区之后,移动终端再次对当前小区进行注册,并且可以接收到当前小区返回的小区注册结果。如果这次对当前小区进行网络注册,接收到的小区注册结果是表征注册当前小区失败的信息,即小区注册结果为注册失败,则可以增大上述的第一设定时长。也就是说,对小区注册失败之后,禁止该小区,并且设定禁止小区的第一设定时长,当第一设定时长之后,取消禁止该小区,并且当再次注册该小区失败时,增大该第一设定时长。It can be understood that after the prohibition of the current cell is cancelled, the mobile terminal registers with the current cell again, and can receive a cell registration result returned by the current cell. If the network registration of the current cell is performed this time, and the received cell registration result is information indicating that the registration of the current cell fails, that is, the cell registration result is a registration failure, the above-mentioned first set duration can be increased. That is to say, after the registration of the cell fails, the cell is banned, and the first set time length of the barred cell is set. After the first set time length, the barred cell is cancelled, and when the registration of the cell fails again, increase The first set duration.

另外,在本申请实施例中,当上述再次禁止当前小区,并增大第一设定时长之后,如果后续取消禁止当前小区,又出现注册当前小区失败时,依然禁止当前小区,并增大第一设定时长。从而注册失败时,小区被禁止的时间,随着注册失败的次数而增加。In addition, in the embodiment of this application, when the current cell is prohibited again and the first set duration is increased, if the prohibition of the current cell is subsequently canceled and the registration of the current cell fails again, the current cell is still prohibited and the second duration is increased. - Set the duration. Therefore, when the registration fails, the time for the cell to be banned increases with the number of registration failures.

在本申请实施例中,当再次注册上述当前小区失败时,具体第一设定时长的增大大小可以不作为限定,例如,可以是0.5小时,也可以是1小时等。In this embodiment of the present application, when re-registration of the above-mentioned current cell fails, the specific increase of the first set duration may not be limited, for example, it may be 0.5 hour or 1 hour.

通过上述设定禁止小区的时长,即上述第一设定时长,并且随着再次注册小区失败时,增大禁止小区的时长,实现避免小区对应的网络临时异常而导致网络注册失败时需要较长时间才能重新注册该小区。并且随着后续再次注册小区失败,增大禁止小区的设定时长,使得移动终端可以避免注册网络存在问题的小区,通过注册其他小区而成功注册网络。By setting the duration of the forbidden cell above, that is, the above-mentioned first set duration, and increasing the duration of the forbidden cell when the registration of the cell fails again, it is realized to avoid the temporary abnormality of the network corresponding to the cell and cause the network registration failure to take a long time time to re-register the cell. In addition, as subsequent re-registration of cells fails, the setting time of prohibited cells is increased, so that the mobile terminal can avoid registering with cells with network problems and successfully register with the network by registering with other cells.

另外,在本申请实施例中,上述增大第一设定时长,也可以是出现多次再次注册该小区失败时,才增大第一设定时长,更加有效的避免临时性网络异常导致移动终端无法注册该当前小区的网络。例如,在上述取消禁止当前小区之后,如果第二次注册该当前小区失败,则仅是按照第一设定时长禁止该当前小区,当第三次注册该当前小区失败时,也仅是按照第一设定时长禁止该当前小区,当第四次注册该当前小区失败时,则可以增大第一设定时长。In addition, in the embodiment of the present application, the above-mentioned increase of the first set time length may also increase the first set time length when there are multiple failures to re-register the cell, so as to more effectively avoid temporary network abnormalities that cause movement. The terminal cannot register with the network of the current cell. For example, after canceling the prohibition of the current cell above, if the registration of the current cell fails for the second time, the current cell is only prohibited according to the first set duration; The current cell is prohibited for a set period of time, and the first set period of time can be increased when the registration of the current cell fails for the fourth time.

步骤S230:当所述位置区标识对应的小区被所述移动终端禁止的个数达到指定小区个数后,禁止选择、重选或者接入所述位置区标识对应的所有小区。Step S230: When the number of cells corresponding to the location area identifier is prohibited by the mobile terminal reaches the specified number of cells, prohibit selection, reselection or access to all cells corresponding to the location area identifier.

在本申请实施例中,在禁止上述当前小区之后,可以对后续移动终端对其他小区进行网络注册过程中的注册结果进行监测。当上述当前小区的位置区标识所对应的小区,被移动终端禁止的个数达到指定小区个数之后,则表示移动终端注册该位置区标识的小区也不会成功,因此可以禁止该位置区标识。其中,禁止该位置区标识,可以是禁止移动终端选择、重选或者接入该位置区标识对应的所有小区。可以理解的是,通过禁止移动终端选择、重选或者接入到该位置区标识下的所有小区,可以使移动终端在后续注册网络过程中可以不再对该位置区标识的小区进行注册,节省移动终端注册网络的时间。In the embodiment of the present application, after the above-mentioned current cell is prohibited, the subsequent registration results of the mobile terminal in the network registration process of other cells may be monitored. When the cell corresponding to the location area identifier of the above-mentioned current cell is banned by the mobile terminal after reaching the specified number of cells, it means that the mobile terminal will not succeed in registering the cell with the location area identifier, so the location area identifier can be banned . Wherein, prohibiting the location area identifier may be prohibiting the mobile terminal from selecting, reselecting or accessing all cells corresponding to the location area identifier. It can be understood that by prohibiting the mobile terminal from selecting, reselecting or accessing all cells under the location area identifier, the mobile terminal can no longer register with the cell identified by the location area in the subsequent network registration process, saving The time when the mobile terminal registered with the network.

作为一种方式,上述当位置区标识对应的小区被移动终端禁止的个数达到指定小区个数后,禁止位置区标识,可以包括:As a method, when the number of cells corresponding to the location area identifier is prohibited by the mobile terminal reaches the specified number of cells, prohibiting the location area identifier may include:

当所述位置区标识对应的小区被连续禁止的个数达到指定小区个数,或者;第一时间段内所述位置区标识对应的小区被连续禁止的个数达到指定小区个数,禁止所述位置区标识,第一时间段为禁止所述当前小区后的设定时间段。When the number of continuously prohibited cells corresponding to the location area identifier reaches the specified number of cells, or; within the first time period, the number of continuously prohibited cells corresponding to the location area identifier reaches the specified number of cells, prohibit all The location area identifier, the first time period is a set time period after the current cell is prohibited.

可以理解的是,上述位置区标识对应的小区被禁止的个数达到指定小区个数,可以是移动终端在对其他小区进行注册时,连续注册到该位置区标识的小区出现失败,导致该位置区标识对应的小区被连续禁止的个数达到指定小区个数。也可以是,移动终端在对其他小区进行注册时,在禁止当前小区后的设定时间段内,该位置区标识对应的小区被连续禁止的个数达到指定小区个数。当满足上述任意一种条件时,则可以禁止该位置区标识。It can be understood that when the number of prohibited cells corresponding to the above location area identifier reaches the specified number of cells, it may be that when the mobile terminal registers with other cells, the continuous registration to the cell with the location area identifier fails, resulting in the failure of the location area identifier. The number of consecutive prohibited cells corresponding to the zone identifier reaches the specified number of cells. It may also be that, when the mobile terminal registers with other cells, within a set period of time after the current cell is prohibited, the number of consecutively prohibited cells corresponding to the location area identifier reaches the specified number of cells. When any one of the above conditions is satisfied, the location area identification can be prohibited.

在本申请实施例中,在禁止上述位置区标识之后,可能此前出现移动终端注册该位置区标识的小区时,出现注册失败指定小区个数的情况,可能是因为该位置区标识对应的网络出现临时异常而导致的。可能在后续会出现该位置区标识的网络恢复正常的情况,此时移动终端则可以成功对该位置区标识下的小区进行注册。如果对上述位置区标识禁止的时间较长,则会使移动终端长时间内无法注册该位置区标识的所有小区。因此,该通信处理方法还可以包括:In the embodiment of the present application, after the above-mentioned location area identification is prohibited, there may be a situation where the mobile terminal failed to register the specified number of cells when registering the cell of the location area identification, which may be because the network corresponding to the location area identification appears. caused by a temporary exception. There may be a situation in which the network identified by the location area returns to normal in the future, and at this time, the mobile terminal can successfully register with the cell under the identification of the location area. If the above-mentioned location area identifier is prohibited for a long time, the mobile terminal will not be able to register all the cells of the location area identifier for a long time. Therefore, the communication processing method may also include:

监测所述移动终端禁止所述位置区标识的时长,将监测到的时长作为第二时长;当所述第二时长超过第二设定时长时,取消禁止所述位置区标识。Monitoring the duration for which the mobile terminal prohibits the location area identification, and using the monitored duration as a second duration; when the second duration exceeds a second set duration, canceling the prohibition of the location area identification.

可以理解的是,在执行禁止上述位置区标识的时刻起,可以开始对移动终端禁止该位置区标识的时长进行监测并记录,其中,监测的方式可以包括实时监测、间隔设定时长监测、或者根据用户仔细设置的时间间隔监测。可选的,为提升监测禁止该位置区标识的时间的准确性,可以采用实时监测的方式监测移动终端禁止该位置区标识的时长。并且,监测到的移动终端禁止该位置区标识的时长,可以作为第二时长。It can be understood that, from the moment when the above-mentioned location area identification is prohibited, the monitoring and recording of the duration of the mobile terminal's prohibition of the location area identification can be started, wherein the monitoring method can include real-time monitoring, interval setting time length monitoring, or Monitoring is performed at intervals carefully set by the user. Optionally, in order to improve the accuracy of monitoring the time when the location area identification is prohibited, real-time monitoring may be used to monitor the duration of the mobile terminal prohibiting the location area identification. In addition, the monitored time period during which the mobile terminal prohibits the location area identifier may be used as the second time period.

在确定出上述第二时长超过第二设定时长时,则可以取消禁止该位置区标识,即取消禁止选择、重新或者接入该位置区标识对应的所有小区,也就是说,不再禁止移动终端对该位置区标识下的所有小区进行网络注册,以便移动终端后续可以对该位置区标识对应的小区。第二设定时长可以理解为对该位置区标识进行禁止的时长。在该位置区标识对应的网络由临时网络异常,恢复正常网络之后,则移动终端此时可以成功注册该位置区标识下的小区。在本申请实施例中,第一设定时长的具体大小在本申请实施例中可以不作为限定,例如,可以是0.1小时,可以是0.2小时,也可以是0.5小时,还可以是1小时等。When it is determined that the above-mentioned second duration exceeds the second set duration, the prohibition of the location area identifier can be canceled, that is, the prohibition of selecting, re-or accessing all cells corresponding to the location area identifier can be canceled, that is to say, the movement is no longer prohibited The terminal performs network registration for all cells under the location area identifier, so that the mobile terminal can subsequently identify the corresponding cells for the location area. The second set duration may be understood as a duration for prohibiting the location area identifier. After the network corresponding to the location area identifier is abnormal from the temporary network and returns to a normal network, the mobile terminal can successfully register the cell under the location area identifier at this time. In the embodiment of the present application, the specific size of the first set duration may not be limited in the embodiment of the present application, for example, it may be 0.1 hour, 0.2 hour, 0.5 hour, or 1 hour, etc. .

在本申请实施例中,在取消禁止该位置区标识之后,移动终端则可以再次对该位置区标识下的所有小区进行注册。当移动终端对该位置区标识下的小区进行注册时,如果该当前位置区标识对应的网络恢复正常时,则移动终端可以成功注册该位置区别标识下的所有小区或者部分小区。如果该当前位置区标识对应的网络未恢复正常,即网络仍然处于异常,则移动终端仍然不能成功注册该位置区标识下的任一小区。因此,如果出现注册该位置区标识的指定小区个数的小区失败时,则表示当前位置区标识的网络出现异常的时间较长,因此,该通信处理方法还可以包括:In the embodiment of the present application, after the prohibition of the location area identifier is cancelled, the mobile terminal can register all the cells under the location area identifier again. When the mobile terminal registers the cells under the location area identifier, if the network corresponding to the current location area identifier returns to normal, the mobile terminal can successfully register all or part of the cells under the location difference identifier. If the network corresponding to the current location area identifier has not returned to normal, that is, the network is still abnormal, the mobile terminal still cannot successfully register any cell under the location area identifier. Therefore, if there is a failure to register the specified number of cells identified by the location area, it means that the network identified by the current location area has been abnormal for a long time. Therefore, the communication processing method may also include:

当所述位置区标识对应的小区被所述移动终端禁止的个数再次达到指定小区个数时,增大所述第二设定时长。When the number of cells corresponding to the location area identifier banned by the mobile terminal reaches the specified number of cells again, the second set duration is increased.

可以理解的是,当上述取消禁止该位置区标识之后,移动终端可以再次对该位置区标识下的小区进行注册,并且可以获取到对该位置区标识下的小区进行注册的注册结果。如果仍然出现多次注册该位置区标识的小区失败,使得该位置区标识的小区被禁止的个数再次达到指定个数时,则表示该位置区标识的网络仍然处于网络异常的情况,并且该位置区标识对应的网络出现异常的时间可能较长,因此可以再次禁止该位置区标识,并且可以增大上述的第二设定时长。It can be understood that, after the prohibition of the location area identifier is canceled, the mobile terminal can register the cell under the location area identifier again, and can obtain the registration result of the registration of the cell under the location area identifier. If there are still repeated failures to register the cell identified by the location area, so that the number of cells prohibited by the location area identifier reaches the specified number again, it means that the network of the location area identifier is still in a network abnormal situation, and the The abnormal time of the network corresponding to the location area identifier may be relatively long, so the location area identifier may be prohibited again, and the above-mentioned second set duration may be increased.

另外,在本申请实施例中,当上述再次禁止位置区标识,并增大第二设定时长之后,如果后续取消禁止该位置区标识,又出现该位置区标识的小区被禁止的个数达到指定小区个数时,依然禁止该位置区标识,并增大第二设定时长。从而再次出现该位置区标识的多个小区注册失败时,该位置区标识被禁止的时间会增加。In addition, in the embodiment of the present application, when the location area logo is prohibited again and the second set duration is increased, if the prohibition of the location area logo is subsequently canceled, the number of cells with the location area logo that appear again will be prohibited. When the number of cells is specified, the location area identification is still prohibited, and the second set duration is increased. Therefore, when registration failures of multiple cells of the location area identifier occur again, the time for which the location area identifier is prohibited will increase.

在本申请实施例中,当再次出现该位置区标识的小区被禁止的个数达到指定小区个数时,具体第二设定时长的增大大小可以不作为限定,例如,可以是0.2小时,也可以是0.5小时,也可以是1小时等。In the embodiment of the present application, when the number of prohibited cells with the location area identifier again reaches the specified number of cells, the increase of the specific second setting time length may not be limited, for example, it may be 0.2 hours, It may also be 0.5 hours, or 1 hour, etc.

通过上述设定禁止位置区标识的时长,即上述第二设定时长,并且随着再次出现该位置区标识的小区被禁止的个数达到指定小区个数时,增大禁止位置区标识的时长,实现避免位置区标识对应的网络临时异常,而导致需要较长时间后才能重新注册该位置区标识。并且随着后续再次出现该位置区标识的小区被禁止个数达到指定小区个数时,即再次满足位置区标识被禁止的调节时,则增大禁止位置区标识的第二设定时长,使得移动终端可以避免注册网络存在问题的位置区标识,通过注册其他位置区标识的小区而成功注册网络。By setting the duration of prohibiting the location area identification, that is, the above-mentioned second set duration, and as the number of prohibited cells with the location area identification reappearing reaches the specified number of cells, increase the duration of the prohibition of the location area identification , so as to avoid the temporary abnormality of the network corresponding to the location area identifier, resulting in that it takes a long time to re-register the location area identifier. And when the prohibited number of cells with the location area logo appearing again in the subsequent period reaches the specified number of cells, that is, when the regulation that the location area logo is prohibited is satisfied again, the second setting duration of the forbidden location area logo is increased, so that The mobile terminal can avoid registering with a location area identifier that has a problem with the network, and successfully registers with the network by registering with a cell with other location area identifiers.

另外,在本申请实施例中,上述增大第二设定时长,也可以是出现多次满足禁止位置区标识的条件时,才增大第一设定时长,有效的避免临时性网络异常导致移动终端无法注册该位置区标识的网络。例如,在上述取消禁止该位置区标识之后,如果第二次出现该位置区标识的小区被禁止个数达到指定小区个数,则仅是按照第二设定时长禁止该位置区标识,当第三次出现该位置区标识的小区被禁止个数达到指定小区个数时,也仅是按照第二设定时长禁止该位置区标识,当第四次出现该位置区标识的小区被禁止个数达到指定小区个数时,则可以增大第二设定时长。In addition, in the embodiment of the present application, the above-mentioned increase of the second set time length may also increase the first set time length when the condition of prohibiting location area identification is met multiple times, which can effectively avoid the temporary network abnormality causing The mobile terminal cannot register with the network identified by the location area. For example, after the aforementioned cancellation of the prohibition of the location area identifier, if the number of prohibited cells in which the location area identifier appears for the second time reaches the specified number of cells, the location area identifier is only prohibited according to the second set duration. When the number of prohibited cells with the location area logo appearing three times reaches the specified number of cells, the location area logo is only prohibited according to the second set time length. When the fourth time the location area logo appears in the prohibited cell number When the number of designated cells is reached, the second set duration can be increased.

步骤S240:当所述公共陆地移动网络下对应的位置区标识被所述移动终端禁止的个数达到设定个数后,禁止所述公共陆地移动网络。Step S240: When the number of location area identifiers corresponding to the public land mobile network prohibited by the mobile terminal reaches a set number, prohibit the public land mobile network.

可以理解的是,由于每个位置区标识对应有公共陆地移动网络,并且公共陆地移动网络下对应多个位置区标识。在上述位置区标识被禁止后,可能是该位置区标识对应的公共陆地移动网络存在网络异常的情况。因此,可以对禁止位置区标识的情况进行监测,以确定上述位置区标识(上述当前小区对应的位置区标识)对应的公共陆地移动网络是否存在异常。当该公共陆地移动网络对应的位置区标识达到设定个数时,则表示该公共陆地移动网络对应的多个位置区标识均存在网络异常的情况,此时可能为该公共陆地移动网络存在异常。因此,为避免移动终端继续对该公共陆地移动网络下的位置区标识对应的小区注册,可以禁止该公共陆地移动网络,以节省移动终端注册网络的时间。其中,设定个数的具体数值在本申请实施例中可以不作为限定,例如,设定个数可以为2个,也可以为3个,也可以为5个等。It can be understood that each location area identifier corresponds to a public land mobile network, and the public land mobile network corresponds to multiple location area identifiers. After the location area identifier is prohibited, it may be that the public land mobile network corresponding to the location area identifier has a network anomaly. Therefore, the situation of prohibiting the location area identification can be monitored to determine whether there is an abnormality in the public land mobile network corresponding to the above location area identification (the location area identification corresponding to the above current cell). When the number of location area identifiers corresponding to the public land mobile network reaches the set number, it means that the multiple location area identifiers corresponding to the public land mobile network have network abnormalities, and at this time there may be abnormalities in the public land mobile network . Therefore, in order to prevent the mobile terminal from continuing to register with the cell corresponding to the location area identifier under the public land mobile network, the public land mobile network may be prohibited, so as to save the time for the mobile terminal to register with the network. Wherein, the specific value of the set number may not be limited in the embodiment of the present application, for example, the set number may be 2, 3, or 5, etc.

作为一种方式,当所述公共陆地移动网络下对应的位置区标识被所述移动终端禁止的个数达到设定个数后,禁止所述公共陆地移动网络,包括:As a method, when the number of location area identifiers corresponding to the public land mobile network banned by the mobile terminal reaches a set number, prohibiting the public land mobile network includes:

当所述公共陆地移动网络对应的位置区标识被连续禁止的个数达到设定个数,或者;在第二时间段内所述公共陆地移动网络对应的位置区标识被禁止的个数达到设定个数,禁止所述公共陆地移动网络,所述第二时间段为禁止所述位置区标识后的设定时间段。When the number of continuously prohibited location area identifiers corresponding to the public land mobile network reaches the set number, or; within the second time period, the number of prohibited location area identifiers corresponding to the public land mobile network reaches the set number The number is fixed, the public land mobile network is prohibited, and the second time period is a set time period after the location area identification is prohibited.

可以理解的是,上述公共陆地移动网络的位置区标识被禁止的个数达到设定个数,可以是移动终端在对其他小区进行注册时,连续出现该公共陆地移动网络的位置区标识对应的小区被连续禁止的个数达到指定小区个数,而使得公共陆地移动网络的位置区标识被禁止的个数达到设定个数。也可以是,移动终端在对其他小区进行注册时,在禁止当前小区对应的位置区标识后的设定时间段内,该公共陆地移动网络的位置区标识被禁止的个数达到设定个数。当满足上述任意一种条件时,则可以禁止该公共陆地移动网络。It can be understood that the number of prohibited location area identifiers of the above-mentioned public land mobile network reaches the set number, which may be that the location area identifiers of the public land mobile network appear continuously when the mobile terminal registers with other cells. The number of continuously prohibited cells reaches the specified number of cells, so that the number of prohibited location area identifiers of the public land mobile network reaches the set number. It may also be that when the mobile terminal registers with other cells, within a set period of time after the location area ID corresponding to the current cell is prohibited, the number of location area IDs of the public land mobile network that is prohibited reaches the set number . When any one of the above conditions is satisfied, the public land mobile network can be prohibited.

另外,上述禁止该公共陆地移动网络,可以包括:禁止选择、重选或者接入该公共陆地移动网络的所有位置区标识对应的所有小区。In addition, the aforementioned prohibiting the public land mobile network may include: prohibiting selection, reselection, or access to all cells corresponding to all location area identifiers of the public land mobile network.

同样的,禁止公共陆地移动网络也可以是,在一定市场后取消该禁止操作,使移动终端可以对该公共陆地移动网络的位置区标识对应的小区进行注册。因此,该通信处理方法还可以包括:Similarly, prohibiting the public land mobile network may also be to cancel the prohibition operation after a certain market period, so that the mobile terminal can register with the cell corresponding to the location area identifier of the public land mobile network. Therefore, the communication processing method may also include:

监测所述移动终端禁止所述公共陆地移动网络的时长,将监测到的时长作为第三时长;当所述第三时长超过第三设定时长时,取消禁止所述公共陆地移动网络。Monitoring the duration of prohibition of the public land mobile network by the mobile terminal, using the monitored duration as a third duration; when the third duration exceeds a third set duration, canceling the prohibition of the public land mobile network.

可以理解的,在对执行禁止该公共陆地移动网络的时刻起,可以开始对移动终端禁止公共陆地移动网络的时长进行监测并记录,其中,监测的方式可以包括实时监测、间隔预定时长监测、或者根据用户自行设置的时间间隔监测,可选的,为了提升监测禁止公共陆地移动网络的时长的准确性,可以采用实时监测的方式。监测的移动终端禁止公共陆地移动网络的时长,可以作为第三时长。在确定出第三时长超过第三设定时长时,取消禁止该公共陆地移动网络,也就是说,不再禁止移动终端对该公共陆地移动网络的所有位置区标识的所有小区进行网络注册,以便移动终端后续可以对该公共陆地移动网络的所有位置区标识的所有小区进行注册,在该公共陆地移动网络出现临时网络异常之后,网络恢复正常时可以成功注册该公共陆地移动网络下的位置区标识对应的小区。在本申请实施例中,第三设定时长的具体大小在本申请实施例中可以不作为限定,例如,可以是0.05小时,可以是0.2小时,也可以是0.5小时,还可以是1小时等。It can be understood that, from the moment when the public land mobile network is prohibited, the period for which the mobile terminal is prohibited from the public land mobile network can be monitored and recorded, wherein the monitoring method can include real-time monitoring, monitoring at predetermined intervals, or According to the time interval monitoring set by the user, optionally, in order to improve the accuracy of monitoring the duration of prohibition of the public land mobile network, a real-time monitoring method may be used. The period during which the monitored mobile terminal is banned from the public land mobile network may be used as the third period. When it is determined that the third duration exceeds the third set duration, the prohibition of the public land mobile network is canceled, that is, the mobile terminal is no longer prohibited from performing network registration for all cells identified by all location areas of the public land mobile network, so that The mobile terminal can then register with all the cells identified by all the location areas of the public land mobile network. After a temporary network abnormality occurs in the public land mobile network, the mobile terminal can successfully register for the location area identification under the public land mobile network when the network returns to normal. the corresponding district. In the embodiment of the present application, the specific size of the third set duration may not be limited in the embodiment of the present application, for example, it may be 0.05 hours, 0.2 hours, 0.5 hours, or 1 hour, etc. .

另外,在后续取消禁止该公共陆地移动网络之后,当再次满足上述需要禁止该公共陆地移动网络的条件,即该公共陆地移动网络的位置区标识被禁止的个数达到设定个数,可以再次禁止该公共陆地移动网络,并且增大上述第三设定时长。因此,该通信处理方法还可以包括:In addition, after canceling the prohibition of the public land mobile network subsequently, when the above-mentioned conditions for prohibiting the public land mobile network are met again, that is, the number of prohibited location area identifiers of the public land mobile network reaches the set number, you can again The public land mobile network is prohibited, and the above-mentioned third set duration is increased. Therefore, the communication processing method may also include:

当所述公共陆地移动网络下对应的位置区标识被所述移动终端禁止的个数再次达到设定个数后,增大所述第三设定时长。When the number of location area identifiers corresponding to the public land mobile network banned by the mobile terminal reaches a set number again, increase the third set duration.

可以理解的是,通过上述增大禁止公共移动网络的第三设定时长,使得移动终端可以避免注册网络存在问题的公共移动网络的位置区标识对应的小区,通过注册其他公共移动网络的位置区标识对应的小区而成功注册网络。It can be understood that, by increasing the third set duration for prohibiting the public mobile network, the mobile terminal can avoid registering with the cell corresponding to the location area identifier of the public mobile network that has problems in the network, and by registering with the location area of other public mobile networks Identify the corresponding cell and successfully register with the network.

本申请实施例提供的通信处理方法,通过在对当前小区进行网络注册,注册失败时,禁止当前小区,并且在第一设定时长后取消禁止该当前小区,另外,在再次注册该当前小区失败时,增大该第一设定时长。当该当前小区的位置区标识对应的小区被禁止的个数达到指定小区个数后,可以禁止该位置区标识,并且在第二设定时长后取消禁止该位置区标识,另外,在再次出现该位置区标识的小区被禁止的个数达到指定小区个数时,增大第二设定时长。另外,还在公共陆地移动网络的位置区标识被禁止的个数达到设定个数时,禁止公共陆地移动网络,节省注册网络的时间。从而,可以有效避免临时网络,不会立即禁止当前的位置区标识,避免网络异常而导致位置区标识被禁止,使移动终端无法后续注册该位置区标识的网络,并且避免伪基站利用协议漏洞而故意使移动终端禁止TAI的情况,降低移动终端被伪基站攻击的风险。The communication processing method provided by the embodiment of the present application is to perform network registration on the current cell. When the registration fails, the current cell is banned, and the current cell is canceled after the first set time length. In addition, when the registration of the current cell fails again , increase the first set duration. When the number of prohibited cells corresponding to the location area identifier of the current cell reaches the specified number of cells, the location area identifier can be prohibited, and the prohibition of the location area identifier can be canceled after the second set time length. In addition, when the location area identifier appears again When the number of prohibited cells identified by the location area reaches the number of designated cells, the second set duration is increased. In addition, when the number of prohibited location area identifiers of the public land mobile network reaches the set number, the public land mobile network is prohibited, saving time for network registration. Therefore, temporary networks can be effectively avoided, the current location area identifier will not be banned immediately, and the location area identifier is prohibited due to network abnormalities, so that the mobile terminal cannot subsequently register with the network identified by the location area identifier, and it is also avoided that the fake base station exploits a protocol loophole to The mobile terminal is intentionally prohibited from TAI to reduce the risk of the mobile terminal being attacked by a fake base station.

请参阅图4,本申请又一个实施例提供了一种通信处理方法,可应用于移动终端,该通信处理方法可以包括:Referring to FIG. 4, another embodiment of the present application provides a communication processing method, which can be applied to a mobile terminal. The communication processing method may include:

步骤S310:在对当前小区进行网络注册时,接收小区注册结果。Step S310: When performing network registration for the current cell, receive a cell registration result.

步骤S320:当小区注册结果为注册失败时,禁止所述当前小区,所述当前小区对应有位置区标识,所述位置区标识对应多个小区。Step S320: When the result of cell registration is registration failure, prohibit the current cell, the current cell corresponds to a location area identifier, and the location area identifier corresponds to multiple cells.

在本申请实施例中,步骤S310以及步骤S320的内容可以参阅上述实施例的内容,在此不再赘述。在禁止当前小区后,也可以在第一设定时长后取消禁止当前小区。并且当再次注册当前小区失败时,可以增大第一设定时长。In the embodiment of the present application, the content of step S310 and step S320 may refer to the content of the above-mentioned embodiment, and details are not repeated here. After the current cell is prohibited, the prohibition of the current cell may also be canceled after a first set duration. And when the registration of the current cell fails again, the first set duration can be increased.

步骤S330:识别所述当前小区对应的基站是否为伪基站。Step S330: Identify whether the base station corresponding to the current cell is a pseudo base station.

在本申请实施例中,移动终端在对上述当前小区进行注册,并注册失败时,可能是因为移动终端在对伪基站的小区进行注册而注册失败。可以理解的,在对基站的小区在进行注册时,需要进行初始接入过程,例如,上述的RRC连接。在进行初始接入过程之后,则需要进行附着attach过程。附着过程是进行注册过程中必要的过程,只有当附着成功后才可以进行后续的业务。在进行附着过程时,需要进行移动终端与网络的相互鉴权,移动终端与MM(Mobility Management Entity)建立MM(mobile management)上下文。MME为移动终端建立默认承载,移动终端获得网络侧分配的IP地址。还需进行用户位置登记,以及临时身份标识(S-TMSI)的分配。而伪基站的小区不能通过上述鉴权等安全验证过程,则会导致注册失败。In the embodiment of the present application, when the mobile terminal fails to register with the above-mentioned current cell, it may be because the mobile terminal is registering with the cell of the pseudo base station and the registration fails. It can be understood that when registering the cell of the base station, an initial access process, for example, the above-mentioned RRC connection, needs to be performed. After the initial access process is performed, an attach process needs to be performed. The attachment process is a necessary process in the registration process, and only after the attachment is successful can subsequent services be performed. During the attachment process, mutual authentication between the mobile terminal and the network is required, and the mobile terminal establishes an MM (mobile management) context with an MM (Mobility Management Entity). The MME establishes a default bearer for the mobile terminal, and the mobile terminal obtains an IP address allocated by the network side. User location registration and allocation of temporary identities (S-TMSIs) are also required. However, if the cell of the fake base station cannot pass the security verification process such as the above-mentioned authentication, the registration will fail.

因此,可以在移动终端对当前小区注册失败时,识别该当前小区对应的基站是否为伪基站,以便在识别出该基站为伪基站时,进行相关防护操作。Therefore, when the mobile terminal fails to register with the current cell, it is possible to identify whether the base station corresponding to the current cell is a fake base station, so as to perform related protection operations when the base station is identified as a fake base station.

在本申请实施例中,识别当前小区对应的基站是否为伪基站,可以包括:In the embodiment of the present application, identifying whether the base station corresponding to the current cell is a pseudo base station may include:

步骤S331:向所述当前小区发起跟踪区更新。Step S331: Initiate tracking area update to the current cell.

在本申请实施例中,由于伪基站会增大发射功率,而使移动终端接入伪基站的小区,并且由于伪基站的TAC与运营商基站的TAC不同,因此可以发起跟踪区跟新(TrackingArea Update,TAU)。其中,长期演进网络(Long Term Evolution,LTE)中的跟踪区更新,是指当移动终端由一个小区位置区(TA,tracking area)移动至另外一个TA时,必须在新的TA上重新进行位置登记以通知网络来更改他所存储的移动终端的位置信息。例如,移动终端探测到新的小区,发现该小区的TAC与当前小区的TAC不同时,则会发起TAU。为确定移动终端位置,LTE网络的覆盖区将被分为多个TA,TA的功能与3G的位置区和路由区类似,是LTE系统中位置更新和寻呼的基本单位。TA用TAC标识,一个TA可包含一个或者多个小区,TAC在这些小区的SIB1中广播。网络运营时用TAI作为TA的唯一标识。In the embodiment of this application, since the pseudo base station will increase the transmit power, the mobile terminal will access the cell of the pseudo base station, and since the TAC of the pseudo base station is different from the TAC of the operator's base station, a tracking area update (TrackingArea Update, TAU). Among them, the tracking area update in the long term evolution network (Long Term Evolution, LTE) refers to that when the mobile terminal moves from one cell location area (TA, tracking area) to another TA, the location must be reset on the new TA. Register to inform the network to change its stored location information of the mobile terminal. For example, when the mobile terminal detects a new cell and finds that the TAC of the cell is different from the TAC of the current cell, it will initiate a TAU. In order to determine the location of the mobile terminal, the coverage area of the LTE network will be divided into multiple TAs. The function of the TA is similar to the location area and routing area of 3G, and it is the basic unit of location update and paging in the LTE system. A TA is identified by a TAC, and a TA may include one or more cells, and the TAC is broadcast in the SIB1 of these cells. TAI is used as the unique identifier of TA during network operation.

在进行TAU时,会进行鉴权、完整性保护等安全验证过程,而如果伪基站进行TAU,由于其不能通过上述的安全验证过程,因此,会TAU更新失败。并且在伪基站由于不能TAU成功,因此会在TAU失败之前,发送重定向命令,使移动终端重定向到2G伪基站的小区或者3G伪基站的小区,以实现不法分子的不法活动。When performing TAU, security verification processes such as authentication and integrity protection will be performed, and if the pseudo base station performs TAU, it will fail to update the TAU because it cannot pass the above security verification process. And because the pseudo base station cannot TAU successfully, it will send a redirection command before the TAU fails, so that the mobile terminal is redirected to the cell of the 2G pseudo base station or the cell of the 3G pseudo base station, so as to realize the illegal activities of criminals.

因此,可以识别当前小区的基站是否为伪基站时,可以向当前小区发起跟踪区更新。Therefore, when it can be identified whether the base station of the current cell is a pseudo base station, a tracking area update can be initiated to the current cell.

步骤S332:如果在接收到表征跟踪区更新成功的结果之前,接收到指示进行小区重定向的指示指令,则识别出所述当前注册的当前小区对应的基站为伪基站。Step S332: If an instruction indicating cell redirection is received before receiving a result indicating that the tracking area update is successful, then identify that the base station corresponding to the currently registered current cell is a pseudo base station.

在本申请实施例中,在向当前小区发起TAU之后,移动终端可以接收当前小区返回的跟踪区更新结果,当接收到当前小区返回的拒绝更新信息时,则表示跟踪区跟新失败,当接收到当前小区返回的成功更新的信息时,则表示跟踪区更新成功。In the embodiment of this application, after initiating a TAU to the current cell, the mobile terminal can receive the tracking area update result returned by the current cell. When the successful update information is returned by the current cell, it means that the tracking area update is successful.

进一步的,由于会在TAU失败之前,发送重定向命令,使移动终端重定向到2G伪基站的小区或者3G伪基站的小区。因此,可以监测是否接收到指示进行小区重定向的指示指令。当接收到指示进行小区重定向的指令,则可以确定接收到该指令的时刻是否在接收到表征跟踪区更新成功的结果之前。Further, because the redirection command is sent before the TAU fails, the mobile terminal is redirected to the cell of the 2G pseudo base station or the cell of the 3G pseudo base station. Therefore, it may be monitored whether an instruction instruction to perform cell redirection is received. When receiving an instruction indicating to perform cell redirection, it may be determined whether the moment of receiving the instruction is before receiving a result indicating that the tracking area update is successful.

在本申请实施例中,确定接收到指示进行重定向的指示指令,可以包括:In the embodiment of the present application, determining that the instruction indicating redirection is received may include:

接收当前小区在释放与所述移动终端之间的无线资源控制的连接过程中发送的释放信息,根据所述释放信息确定是否接收到进行重定向的指示指令。Receiving release information sent by the current cell during the process of releasing the radio resource control connection with the mobile terminal, and determining whether an instruction to perform redirection is received according to the release information.

可以理解的是,当前小区在与移动终端建立RRC(Radio Resource Control,无线资源控制)连接后,可以通过控制释放移动终端的RRC连接过程中,发送携带重定向的指示指令的释放信息,该指示指令用于指示移动终端由当前小区重定向到另外的小区。对应的,移动终端可以接收到当前小区在上述释放RRC连接的过程中发送的释放信息,并确定出接收到的释放信息中是否存在有上述指示指令。It can be understood that after the current cell establishes an RRC (Radio Resource Control, radio resource control) connection with the mobile terminal, it can send release information carrying a redirection instruction during the process of releasing the RRC connection of the mobile terminal through control. The instruction is used to instruct the mobile terminal to redirect from the current cell to another cell. Correspondingly, the mobile terminal may receive the release information sent by the current cell during the process of releasing the RRC connection, and determine whether the above indication instruction exists in the received release information.

当确定出上述接收到的释放信息存在上述指示指令时,可以确定当前时刻之前是否接收到过表征跟踪区更新成功的结果。如果没有接收到过表征跟踪区更新成功的结果,则表示在接收到过表征跟踪区更新成功的结果之前,移动终端接收到进行重定向的指示指令。由于伪基站会在TAU失败之前,发送重定向命令,使移动终端重定向到2G伪基站的小区或者3G伪基站的小区,因此,可以识别出当前注册的当前小区对应的基站为伪基站。When it is determined that the above-mentioned received release information contains the above-mentioned indication instruction, it may be determined whether a result representing successful updating of the tracking area has been received before the current moment. If the result of successfully updating the over-characterized tracking area is not received, it means that the mobile terminal has received a redirection instruction before receiving the result of successful over-characterized tracking area update. Since the pseudo base station will send a redirection command before the TAU fails to redirect the mobile terminal to the cell of the 2G pseudo base station or the cell of the 3G pseudo base station, it can be identified that the base station corresponding to the currently registered cell is a pseudo base station.

当然,具体识别当前小区的基站是否为伪基站的方式在本申请实施例中可以不作为限定。Certainly, the manner of specifically identifying whether the base station of the current cell is a pseudo base station may not be limited in this embodiment of the present application.

在本申请实施例中,该通信处理方法还可以包括:取消上述小区重定向。In this embodiment of the present application, the communication processing method may further include: canceling the foregoing cell redirection.

可以理解的是,为保证用户的安全,避免不法分子通过将移动终端重定向至2G基站的小区或者3G基站的小区,实现其不法行为。因此,可以在确定出上述重定向为伪基站所发出的重定向时,可以取消该小区重定向,即不再执行该小区重定向,避免重定向至2G基站的小区或者3G基站的小区后,遭受到攻击而导致用户的损失。It can be understood that, in order to ensure the safety of the user, criminals are prevented from realizing their illegal activities by redirecting the mobile terminal to the cell of the 2G base station or the cell of the 3G base station. Therefore, when it is determined that the above redirection is a redirection issued by a pseudo base station, the cell redirection can be canceled, that is, the cell redirection is no longer performed, and after redirecting to a cell of a 2G base station or a cell of a 3G base station is avoided, User losses due to attacks.

步骤S340:如果为伪基站,则禁止所述基站。Step S340: If it is a false base station, prohibit the base station.

在确定当前小区对应的基站为伪基站时,为避免用户受到不法分子的攻击,因此,可以禁止接入到该基站。When it is determined that the base station corresponding to the current cell is a fake base station, in order to prevent the user from being attacked by criminals, access to the base station may be prohibited.

作为一种实施方式,禁止移动终端接入该当前小区对应的基站的方式包括移动终端禁止探测该基站所对应的特征参数,其中,特征参数包括位置区标识(TAI,TrackingArea Identity)、绝对视频信道号(EARFCN,eutra absolute radio frequency channelnumber)、物理单元标识(PCI,physical cell identity)、小区身份(CID,cell identity)等,当然,该基站所对应的特征参数还可以包括其他,在此不再赘述。在本实施例中,可以通过当前小区的基站所对应的特征参数,对该基站进行标识,并基于该标识禁止移动终端接入该基站。As an implementation, the method of prohibiting the mobile terminal from accessing the base station corresponding to the current cell includes prohibiting the mobile terminal from detecting the characteristic parameters corresponding to the base station, wherein the characteristic parameters include location area identification (TAI, TrackingArea Identity), absolute video channel number (EARFCN, eutra absolute radio frequency channel number), physical unit identification (PCI, physical cell identity), cell identity (CID, cell identity), etc. Of course, the characteristic parameters corresponding to the base station can also include other, which will not be repeated here repeat. In this embodiment, the base station of the current cell may be identified by the characteristic parameter corresponding to the base station, and the mobile terminal is prohibited from accessing the base station based on the identification.

步骤S350:当所述位置区标识对应的小区被所述移动终端禁止的个数达到指定小区个数后,禁止所述位置区标识。Step S350: When the number of cells corresponding to the location area identifier banned by the mobile terminal reaches a specified number of cells, prohibit the location area identifier.

在本申请实施例中,步骤S350可以参阅上述实施例的内容,在此不再赘述。在禁止该位置区标识后,也可以在第二设定时长后取消禁止该位置区标识。并且当位置区标识对应的小区被所述移动终端禁止的个数再次达到指定小区个数时,可以增大第二设定时长。In the embodiment of the present application, for step S350, reference may be made to the content of the foregoing embodiments, and details are not repeated here. After the location area identification is prohibited, the prohibition of the location area identification may also be canceled after a second set period of time. And when the number of cells corresponding to the location area identifier banned by the mobile terminal reaches the specified number of cells again, the second set duration can be increased.

步骤S360:当所述公共陆地移动网络下对应的位置区标识被所述移动终端禁止的个数达到设定个数后,禁止所述公共陆地移动网络。Step S360: When the number of location area identifiers corresponding to the public land mobile network prohibited by the mobile terminal reaches a set number, prohibit the public land mobile network.

在本申请实施例中,步骤S360可以参阅上述实施例的内容,在此不再赘述。在禁止该公共陆地移动网络后,也可以在第三设定时长后取消禁止该公共陆地移动网络。并且当公共陆地移动网络对应的位置区标识被所述移动终端禁止的个数再次达到设定个数时,可以增大第三设定时长。In this embodiment of the present application, reference may be made to the contents of the foregoing embodiments for step S360, and details are not repeated here. After the public land mobile network is barred, the barring of the public land mobile network may also be canceled after a third set period of time. And when the number of location area identifiers corresponding to the public land mobile network banned by the mobile terminal reaches the set number again, the third set duration may be increased.

本申请实施例提供的通信处理方法,通过在对当前小区进行网络注册,注册失败时,禁止当前小区,并且在第一设定时长后取消禁止该当前小区,另外,在再次注册该当前小区失败时,增大该第一设定时长。在注册当前小区失败时,还失败当前小区对应的基站是否为伪基站,并在识别出伪基站时,进行相关处理,避免用户的损失。当该当前小区的位置区标识对应的小区被禁止的个数达到指定小区个数后,可以禁止该位置区标。另外,还在公共陆地移动网络的位置区标识被禁止的个数达到设定个数时,禁止公共陆地移动网络,节省注册网络的时间。从而,可以有效避免临时网络,不会立即禁止当前的位置区标识,避免网络异常而导致位置区标识被禁止,使移动终端无法后续注册该位置区标识的网络,并且避免伪基站利用协议漏洞而故意使移动终端禁止TAI的情况,降低移动终端被伪基站攻击的风险。The communication processing method provided by the embodiment of the present application is to perform network registration on the current cell. When the registration fails, the current cell is banned, and the current cell is canceled after the first set time length. In addition, when the registration of the current cell fails again , increase the first set duration. When the registration of the current cell fails, it is also determined whether the base station corresponding to the current cell is a pseudo base station, and when the pseudo base station is identified, relevant processing is performed to avoid loss of users. When the number of prohibited cells corresponding to the location area identifier of the current cell reaches the specified number of cells, the location area identifier may be prohibited. In addition, when the number of prohibited location area identifiers of the public land mobile network reaches the set number, the public land mobile network is prohibited, saving time for network registration. Therefore, temporary networks can be effectively avoided, the current location area identifier will not be banned immediately, and the location area identifier is prohibited due to network abnormalities, so that the mobile terminal cannot subsequently register with the network identified by the location area identifier, and it is also avoided that the fake base station exploits a protocol loophole to The mobile terminal is intentionally prohibited from TAI to reduce the risk of the mobile terminal being attacked by a fake base station.

请参阅图7,图7示出了本申请一个实施例提供的通信处理装置400的模块框图。该通信处理装置400应用于移动终端,下面将针对图7所示的装置进行阐述,所述通信处理装置400包括:结果接收模块410、小区禁止模块420以及位置区禁止模块430。其中,所述结果接收模块410用于在对当前小区进行网络注册时,接收小区注册结果;所述小区禁止模块420用于当小区注册结果为注册失败时,禁止所述当前小区,所述当前小区对应有位置区标识,所述位置区标识对应多个小区;所述位置区禁止模块430用于当所述位置区标识对应的小区被所述移动终端禁止的个数达到指定小区个数后,禁止所述位置区标识。Referring to FIG. 7 , FIG. 7 shows a block diagram of a communication processing device 400 provided by an embodiment of the present application. The communication processing device 400 is applied to a mobile terminal. The device shown in FIG. 7 will be described below. The communication processing device 400 includes: a result receiving module 410 , a cell barring module 420 and a location area barring module 430 . Wherein, the result receiving module 410 is configured to receive a cell registration result when performing network registration on the current cell; the cell prohibiting module 420 is configured to prohibit the current cell when the cell registration result is a registration failure, and the current cell A cell corresponds to a location area identifier, and the location area identifier corresponds to a plurality of cells; the location area prohibition module 430 is configured to when the number of cells corresponding to the location area identifier that is prohibited by the mobile terminal reaches the specified number of cells , disable the location area identifier.

在本申请实施例中,该通信处理装置400还可以包括:第一时长监测模块以及第一取消模块。第一时长监测模块用于监测所述移动终端禁止所述当前小区的时长,将监测到的时长作为第一时长;第一取消模块用于当所述第一时长超过第一设定时长时,取消禁止当前小区。In the embodiment of the present application, the communication processing device 400 may further include: a first duration monitoring module and a first cancellation module. The first duration monitoring module is used to monitor the duration during which the mobile terminal prohibits the current cell, and takes the monitored duration as the first duration; the first cancellation module is configured to when the first duration exceeds the first set duration, Unban the current cell.

进一步的,该通信处理装置400还可以包括:第一时长增大模块。第一时长增大模块用于当再次注册所述当前小区失败时,增大所述第一设定时长。Further, the communication processing apparatus 400 may further include: a first duration increasing module. The first duration increasing module is configured to increase the first set duration when re-registering the current cell fails.

在本申请实施例中,该通信处理装置400还可以包括:第二时长监测模块以及第二取消模块。第二时长监测模块用于监测所述移动终端禁止所述位置区标识的时长,将监测到的时长作为第二时长;第二取消模块用于当所述第二时长超过第二设定时长时,取消禁止所述位置区标识。In the embodiment of the present application, the communication processing device 400 may further include: a second duration monitoring module and a second cancellation module. The second duration monitoring module is used to monitor the duration during which the mobile terminal prohibits the location area identification, and takes the monitored duration as the second duration; the second cancellation module is used to when the second duration exceeds the second set duration , cancel prohibiting the location area identifier.

进一步的,该通信处理装置400还可以包括:第二时长增大模块。第二时长增大模块用于当所述位置区标识对应的小区被所述移动终端禁止的个数再次达到指定小区个数时,增大所述第二设定时长。Further, the communication processing apparatus 400 may further include: a second duration increasing module. The second duration increasing module is configured to increase the second set duration when the number of cells corresponding to the location area identifier banned by the mobile terminal reaches the specified number of cells again.

在本申请实施例中,位置区禁止模块430可以具体用于:当所述位置区标识对应的小区被连续禁止的个数达到指定小区个数,或者;第一时间段内所述位置区标识对应的小区被连续禁止的个数达到指定小区个数,禁止所述位置区标识,第一时间段为禁止所述当前小区后的设定时间段。In this embodiment of the present application, the location area barring module 430 may be specifically used: when the number of cells corresponding to the location area ID that are continuously barred reaches the specified number of cells, or; within the first time period, the location area ID The number of corresponding cells that are continuously prohibited reaches the specified number of cells, and the location area identifier is prohibited, and the first time period is a set time period after the current cell is prohibited.

在本申请实施例中,所述位置区标识对应有公共陆地移动网络,所述公共陆地网络对应多个位置区标识。该通信处理装置400还可以包括:网络禁止模块。网络禁止模块用于当所述公共陆地移动网络下对应的位置区标识被所述移动终端禁止的个数达到设定个数后,禁止所述公共陆地移动网络。In this embodiment of the present application, the location area identifier corresponds to a public land mobile network, and the public land mobile network corresponds to multiple location area identifiers. The communication processing device 400 may also include: a network prohibition module. The network barring module is used to bar the public land mobile network when the number of corresponding location area identifiers barred by the mobile terminal under the public land mobile network reaches a set number.

在本申请实施例中,该通信处理装置400还可以包括:第三时长监测模块以及第三取消模块。第三时长监测模块用于监测所述移动终端禁止所述公共陆地移动网络的时长,将监测到的时长作为第三时长;第三取消模块用于当所述第三时长超过第三设定时长时,取消禁止所述公共陆地移动网络。In the embodiment of the present application, the communication processing device 400 may further include: a third duration monitoring module and a third canceling module. The third duration monitoring module is used to monitor the duration during which the mobile terminal prohibits the public land mobile network, and takes the monitored duration as the third duration; the third cancellation module is used to when the third duration exceeds the third set duration , unban the public land mobile network in question.

进一步的,该通信处理装置400还可以包括:第三时长增大模块。第三时长增大模块用于当再次注册所述公共陆地移动网络下任一位置区标识的小区失败时,增大所述第三设定时长。Further, the communication processing apparatus 400 may further include: a third duration increasing module. The third duration increasing module is configured to increase the third set duration when re-registering with any cell identified by a location area under the public land mobile network fails.

在本申请实施例中,网络禁止模块可以具体用于:当所述公共陆地移动网络对应的位置区标识被连续禁止的个数达到设定个数,或者;在第二时间段内所述公共陆地移动网络对应的位置区标识被禁止的个数达到设定个数,禁止所述公共陆地移动网络,所述第二时间段为禁止所述位置区标识后的设定时间段。In this embodiment of the present application, the network prohibition module may be specifically configured to: when the number of consecutively prohibited location area identifiers corresponding to the public land mobile network reaches a set number, or; within the second time period, the public land mobile network When the number of prohibited location area identifiers corresponding to the land mobile network reaches a set number, the public land mobile network is prohibited, and the second time period is a set time period after the location area identifier is prohibited.

进一步的,网络禁止模块禁止所述公共陆地移动网络,可以包括:禁止选择、重选或者接入所述公共陆地移动网络的所有位置区标识对应的所有小区。Further, the network prohibiting module prohibiting the public land mobile network may include: prohibiting selection, reselection, or access to all cells corresponding to all location area identifiers of the public land mobile network.

在本申请实施例中,小区禁止模块420禁止当前小区,可以包括:禁止选择、重选或者接入所述当前小区。In this embodiment of the present application, the cell barring module 420 barring the current cell may include: barring selection, reselection, or access to the current cell.

在本申请实施例中,位置区禁止模块430禁止所述位置区标识,可以包括:禁止选择、重选或者接入所述位置区标识对应的所有小区。In this embodiment of the present application, the location area prohibition module 430 prohibits the location area identifier, which may include: prohibiting selection, reselection, or access to all cells corresponding to the location area identifier.

在本申请实施例中,该通信处理装置400还可以包括:基站识别模块以及基站禁止模块。基站识别模块用于识别所述当前小区对应的基站是否为伪基站;基站禁止模块用于如果当前小区对应的基站为伪基站,则禁止所述基站。In the embodiment of the present application, the communication processing device 400 may further include: a base station identification module and a base station prohibition module. The base station identification module is used to identify whether the base station corresponding to the current cell is a pseudo base station; the base station prohibition module is used to prohibit the base station if the base station corresponding to the current cell is a pseudo base station.

进一步的,基站识别模块可以具有用于:向所述当前小区发起跟踪区更新;如果在接收到表征跟踪区更新成功的结果之前,接收到指示进行小区重定向的指示指令时,则识别出所述当前注册的当前小区对应的基站为伪基站。Further, the base station identification module may be configured to: initiate a tracking area update to the current cell; if an instruction indicating cell redirection is received before receiving a result indicating that the tracking area update is successful, then identify the cell The base station corresponding to the currently registered current cell is a pseudo base station.

在本申请实施例中,该通信处理装置400还可以包括:重定向取消模块。重定向取消模块用于取消所述小区重定向。In this embodiment of the present application, the communication processing apparatus 400 may further include: a redirection cancellation module. The redirection cancellation module is used to cancel the cell redirection.

在本申请实施例中,基站禁止模块可以具有用于禁止探测所述基站所对应的特征参数,所述特征参数包括位置区标识、绝对视频信道号、物理单元标识以及小区标识中的至少一种。In the embodiment of the present application, the base station prohibiting module may have characteristic parameters corresponding to prohibiting the detection of the base station, and the characteristic parameters include at least one of location area identifiers, absolute video channel numbers, physical unit identifiers, and cell identifiers .

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the devices and modules described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other forms of coupling.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.

综上所述,本申请提供的方案,在对当前小区进行网络注册时,接收小区注册结果,当小区注册结果为注册失败时,禁止当前小区,其中,当前小区对应有位置区标识,位置区标识对应多个小区,当该位置区标识对应的小区被移动终端禁止的个数达到指定小区个数后,禁止该位置区标识,从而避免网络注册失败时禁止位置区标识,而导致网络恢复时间较长。To sum up, the solution provided by this application receives the cell registration result when the network registration of the current cell is performed, and when the cell registration result is a registration failure, the current cell is banned, wherein the current cell corresponds to a location area identifier, and the location area The identifier corresponds to multiple cells. When the number of cells corresponding to the location area identifier is banned by the mobile terminal reaches the specified number of cells, the location area identifier is prohibited, so as to avoid the prohibition of the location area identifier when the network registration fails, resulting in network recovery time. longer.

请参考图8,其示出了本申请实施例提供的一种移动终端的结构框图。该移动终端100可以是智能手机、平板电脑、电子书等能够运行应用程序的移动终端。本申请中的移动终端100可以包括一个或多个如下部件:处理器110、存储器120以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 8 , which shows a structural block diagram of a mobile terminal provided by an embodiment of the present application. The mobile terminal 100 may be a mobile terminal capable of running application programs, such as a smart phone, a tablet computer, and an e-book. The mobile terminal 100 in this application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein one or more application programs may be stored in the memory 120 and configured to be run by a or a plurality of processors 110, and one or more programs are configured to execute the methods described in the foregoing method embodiments.

处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个移动终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行移动终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts in the entire mobile terminal 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Various functions and processing data of the mobile terminal 100. Optionally, the processor 110 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the displayed content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into the processor 110, but implemented by a communication chip alone.

存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The storage data area can also store data created by the terminal 100 during use (such as phonebook, audio and video data, chat record data) and the like.

请参考图9,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 9 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program codes are stored in the computer-readable medium 800, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.

计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。The computer readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The computer-readable storage medium 800 has a storage space for program code 810 for executing any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products. Program code 810 may, for example, be compressed in a suitable form.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (19)

1. A communication processing method, applied to a mobile terminal, the method comprising:
receiving a cell registration result when network registration is carried out on a current cell;
when the result of the cell registration is that the registration fails, prohibiting the current cell, wherein the current cell corresponds to a location area identifier, and the location area identifier corresponds to a plurality of cells;
registering the cell corresponding to the location area identifier and other location area identifiers;
when the number of the cells corresponding to the location area identifier, which is forbidden by the mobile terminal, reaches the number of the specified cells, the location area identifier is forbidden;
monitoring the time length of the mobile terminal prohibiting the position area identification, and taking the monitored time length as a second time length;
And when the second time length exceeds a second set time length, canceling to prohibit the position area identification.
2. The method of claim 1, wherein after said disabling said current cell, the method further comprises:
monitoring the duration of the current cell forbidden by the mobile terminal, and taking the monitored duration as a first duration;
and when the first time length exceeds the first set time length, canceling to prohibit the current cell.
3. The method of claim 2, wherein after canceling the prohibition of the current cell when the first time period exceeds a first set time period, the method further comprises:
and when the current cell is failed to be registered again, increasing the first set duration.
4. The method of claim 1, wherein after canceling the disabling of the location area identification when the second time period exceeds a second set time period, the method further comprises:
and when the number of the cells corresponding to the location area identification, which is forbidden by the mobile terminal, reaches the designated number of the cells again, increasing the second set duration.
5. The method according to any one of claims 1-4, wherein prohibiting the location area identifier after the number of cells to which the location area identifier corresponds is prohibited by the mobile terminal reaches a specified number of cells, includes:
When the number of the cells continuously forbidden corresponding to the position area identification reaches the number of the designated cells, or the number of the designated cells is equal to the number of the designated cells;
and continuously prohibiting the number of the cells corresponding to the position area identifier from reaching the number of the designated cells in a first time period, wherein the position area identifier is prohibited, and the first time period is a set time period after the current cell is prohibited.
6. The method according to any one of claims 1-4, wherein the location area identifier corresponds to a public land mobile network, the public land mobile network corresponds to a plurality of location area identifiers, and the method further comprises, after prohibiting the location area identifiers after the number of cells to which the location area identifiers correspond is prohibited by the mobile terminal reaches a specified number of cells:
and when the number of the corresponding position area identifiers under the public land mobile network is up to the set number, prohibiting the public land mobile network.
7. The method of claim 6, wherein after said disabling said public land mobile network, said method further comprises:
monitoring the duration of the public land mobile network forbidden by the mobile terminal, and taking the monitored duration as a third duration;
And when the third duration exceeds a third set duration, canceling to prohibit the public land mobile network.
8. The method of claim 7, wherein after the canceling the prohibition of the public land mobile network occurs when the third duration exceeds a third set duration, the method further comprises:
and when the number of the corresponding position area identifiers forbidden by the mobile terminal under the public land mobile network reaches the set number again, increasing the third set duration.
9. The method according to claim 6, wherein prohibiting the public land mobile network when the number of corresponding location area identifiers prohibited by the mobile terminal under the public land mobile network reaches a set number, comprises:
when the number of the continuously forbidden position area identifiers corresponding to the public land mobile network reaches the set number, or;
and in a second time period, the forbidden number of the location area identifiers corresponding to the public land mobile network reaches a set number, the public land mobile network is forbidden, and the second time period is a set time period after the location area identifiers are forbidden.
10. The method of claim 6, wherein said disabling said public land mobile network comprises:
And prohibiting selection, reselection or access of all cells corresponding to all location area identifiers of the public land mobile network.
11. The method according to any of claims 1-4, wherein said disabling the current cell comprises:
and prohibiting selection, reselection or access to the current cell.
12. The method of any of claims 1-4, wherein disabling the location area identification comprises:
and prohibiting selection, reselection or access to all cells corresponding to the location area identifier.
13. The method according to any one of claims 1-4, wherein the prohibiting the current cell when the cell registration result is a registration failure, further comprises:
identifying whether the base station corresponding to the current cell is a pseudo base station or not;
and if the base station is a pseudo base station, prohibiting the base station.
14. The method of claim 13, wherein the identifying whether the base station corresponding to the current cell is a pseudo base station comprises:
initiating tracking area update to the current cell;
and if an instruction for indicating to redirect the cell is received before a result for indicating that the tracking area is updated successfully is received, identifying the base station corresponding to the current cell as a pseudo base station.
15. The method of claim 14, wherein the method further comprises:
the cell redirection is cancelled.
16. The method of claim 13, wherein said disabling said base station comprises:
and prohibiting detection of characteristic parameters corresponding to the base station, wherein the characteristic parameters comprise at least one of a location area identifier, an absolute video channel number, a physical unit identifier and a cell identifier.
17. A communication processing apparatus, characterized by being applied to a mobile terminal, the apparatus comprising: a result receiving module, a cell prohibiting module and a location area prohibiting module, wherein,
the result receiving module is used for receiving a cell registration result when the network registration is carried out on the current cell;
the cell prohibiting module is used for prohibiting the current cell when the cell registration result is that the registration fails, wherein the current cell corresponds to a position area identifier, and the position area identifier corresponds to a plurality of cells; registering the cell corresponding to the location area identifier and other location area identifiers;
the location area prohibiting module is used for prohibiting the location area identifier after the number of the cells corresponding to the location area identifier, which are prohibited by the mobile terminal, reaches the number of the designated cells; monitoring the time length of the mobile terminal prohibiting the position area identification, and taking the monitored time length as a second time length; and when the second time length exceeds a second set time length, canceling to prohibit the position area identification.
18. A mobile terminal, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-16.
19. A computer readable storage medium having stored therein program code which is callable by a processor to perform the method of any one of claims 1-16.
CN201880098550.8A 2018-12-06 2018-12-06 Communication processing method, device, mobile terminal and storage medium Active CN112806073B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/119618 WO2020113530A1 (en) 2018-12-06 2018-12-06 Communication processing method and apparatus, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112806073A CN112806073A (en) 2021-05-14
CN112806073B true CN112806073B (en) 2023-06-13

Family

ID=70974504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880098550.8A Active CN112806073B (en) 2018-12-06 2018-12-06 Communication processing method, device, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN112806073B (en)
WO (1) WO2020113530A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040493B (en) * 2021-11-30 2023-02-28 哲库科技(北京)有限公司 Data bearer establishment method, device, terminal and storage medium
CN114125972B (en) * 2021-12-01 2024-01-23 Oppo广东移动通信有限公司 Network connection method and related device
CN114710824B (en) * 2022-04-15 2025-03-18 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for determining network search cycle
CN115209500A (en) * 2022-07-20 2022-10-18 西安广和通无线通信有限公司 Service recovery method, device, computer equipment and storage medium
US20240155481A1 (en) * 2022-11-04 2024-05-09 Qualcom Incorporated Cell selection for user equipment registration
CN116156619A (en) * 2022-12-30 2023-05-23 展讯半导体(成都)有限公司 Network registration method and device
CN118450378B (en) * 2023-09-20 2025-06-13 荣耀终端股份有限公司 An exception handling method, device, equipment, medium and product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523954A (en) * 2006-10-03 2009-09-02 艾利森电话股份有限公司 Access control method involving dynamically changing location areas identities
WO2010076742A1 (en) * 2008-12-30 2010-07-08 Turkcell Teknoloji Arastirma Ve Gelistirme Anonim Sirketi An accidental roaming prevention and correction system
CN102256323A (en) * 2011-07-29 2011-11-23 华为终端有限公司 Network registration method and device
CN105704734A (en) * 2014-11-28 2016-06-22 联芯科技有限公司 Specified type cell detection method, device and communication terminal
CN105933884A (en) * 2016-06-21 2016-09-07 广东欧珀移动通信有限公司 Network registering method and device of mobile terminal, and the mobile terminal
CN107182109A (en) * 2017-07-17 2017-09-19 努比亚技术有限公司 A kind of mobile network's connection register method, device and computer-readable recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2112854A1 (en) * 2008-04-24 2009-10-28 Nokia Siemens Networks S.p.A. Access control method for cellular networks comprising femto-cells
US9414298B1 (en) * 2015-05-29 2016-08-09 Apple Inc. Dynamic aggression management of cellular connectivity
US12015921B2 (en) * 2016-11-10 2024-06-18 Mediatek Singapore Pte. Ltd. Method and apparatus for avoiding denial of services in mobile communications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523954A (en) * 2006-10-03 2009-09-02 艾利森电话股份有限公司 Access control method involving dynamically changing location areas identities
WO2010076742A1 (en) * 2008-12-30 2010-07-08 Turkcell Teknoloji Arastirma Ve Gelistirme Anonim Sirketi An accidental roaming prevention and correction system
CN102256323A (en) * 2011-07-29 2011-11-23 华为终端有限公司 Network registration method and device
CN105704734A (en) * 2014-11-28 2016-06-22 联芯科技有限公司 Specified type cell detection method, device and communication terminal
CN105933884A (en) * 2016-06-21 2016-09-07 广东欧珀移动通信有限公司 Network registering method and device of mobile terminal, and the mobile terminal
CN107182109A (en) * 2017-07-17 2017-09-19 努比亚技术有限公司 A kind of mobile network's connection register method, device and computer-readable recording medium

Also Published As

Publication number Publication date
WO2020113530A1 (en) 2020-06-11
CN112806073A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN112806073B (en) Communication processing method, device, mobile terminal and storage medium
EP3337245B1 (en) Method and apparatus for handling abnormality of network communication function and storage medium
CN108696872B (en) A redirection method and device
US20170127371A1 (en) Method for Updating RPLMN Information and User Equipment
CN106488456B (en) A base station registration method and device, and mobile terminal
CN108012271B (en) Pseudo base station discovery method and device
CN114245430B (en) Voice access method and terminal equipment
CN112806044B (en) Pseudo base station identification method, device, mobile terminal and storage medium
CN113573372A (en) Cell selection method and terminal
US11812270B2 (en) Method for identifying pseudo base station, apparatus, and mobile terminal
CN112806043B (en) Pseudo base station identification method and device, mobile terminal and storage medium
US20210329519A1 (en) Cell Connection Processing Method and Mobile Terminal
CN112703755B (en) Pseudo base station processing method, pseudo base station processing device, mobile terminal and storage medium
WO2019061410A1 (en) Abnormal frequency point detection method and device, and computer storage medium
US11012870B2 (en) Technique for triggering mobility management specific procedure to avoid registration state mismatch between user equipment and network
WO2020087419A1 (en) False base station processing method and apparatus, mobile terminal, and storage medium
CN112868247B (en) Cell connection processing method, device, mobile terminal and storage medium
CN112312398A (en) Cell access method, device and system
CN112889315B (en) Cell information processing method and device, electronic equipment and readable storage medium
WO2020087417A1 (en) Pseudo base station identification method and device, mobile terminal and storage medium
CN112690011B (en) Pseudo base station identification method, device, mobile terminal and storage medium
WO2019061486A1 (en) Csfb fallback result detecting method, device thereof and computer storage medium
WO2020113479A1 (en) Method and device for identifying pseudo base station, mobile terminal 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
GR01 Patent grant
GR01 Patent grant