[go: up one dir, main page]

CN117956569A - Network registration processing method and related device - Google Patents

Network registration processing method and related device Download PDF

Info

Publication number
CN117956569A
CN117956569A CN202211341867.4A CN202211341867A CN117956569A CN 117956569 A CN117956569 A CN 117956569A CN 202211341867 A CN202211341867 A CN 202211341867A CN 117956569 A CN117956569 A CN 117956569A
Authority
CN
China
Prior art keywords
network
terminal device
rejection information
network registration
registration
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.)
Pending
Application number
CN202211341867.4A
Other languages
Chinese (zh)
Inventor
麻鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202211341867.4A priority Critical patent/CN117956569A/en
Publication of CN117956569A publication Critical patent/CN117956569A/en
Pending legal-status Critical Current

Links

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

本申请提供了一种网络注册的处理方法及相关装置,可以在检测到终端设备进行网络注册连续异常的次数达到第一预设次数的情况下,停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。可以自动在网络环境稳定且无法注册成功的情况下尽可能控制终端设备不再重试网络注册,大大节省了设备功耗。

The present application provides a method and a related device for processing network registration, which can stop converting the received first rejection information into the second rejection information when detecting that the number of consecutive abnormal network registrations of the terminal device reaches a first preset number of times, wherein the first rejection information is rejection information prohibiting the network registration, and the second rejection information is rejection information allowing the network registration to be retried. The terminal device can be automatically controlled to not retry the network registration as much as possible when the network environment is stable and the registration cannot be successful, which greatly saves the power consumption of the device.

Description

网络注册的处理方法及相关装置Network registration processing method and related device

技术领域Technical Field

本申请涉及通信技术领域,特别是一种网络注册的处理方法及相关装置。The present application relates to the field of communication technology, and in particular to a method for processing network registration and related devices.

背景技术Background technique

在移动通信系统中,设备侧在使用网络之前需要先进行网络注册,网络侧会判定设备侧允许注册或者不允许注册,在不允许注册时会反馈相应的拒绝信息,目前一般在一次网络注册未成功时,设备侧会进行优化,尝试重复进行注册,但是存在一些不可能注册成功的场景,此时的重复尝试会导致设备产生不必要的功耗。In a mobile communication system, the device side needs to register with the network before using the network. The network side will determine whether the device side is allowed to register or not. If registration is not allowed, the network side will feedback corresponding rejection information. Currently, when a network registration fails, the device side will generally optimize and try to register repeatedly. However, there are some scenarios where registration is impossible. Repeated attempts at this time will cause the device to generate unnecessary power consumption.

发明内容Summary of the invention

有鉴于此,本申请提供了一种网络注册的处理方法及相关装置,可以自动识别无法注册成功的场景并在无法注册成功的场景下控制自身不进行过多次数的网络注册,大大节省了设备功耗。In view of this, the present application provides a network registration processing method and related apparatus, which can automatically identify scenarios where registration cannot be successful and control itself not to perform network registration too many times in scenarios where registration cannot be successful, thereby greatly saving device power consumption.

第一方面,本申请实施例提供了一种网络注册的处理方法,应用于终端设备,所述方法包括:In a first aspect, an embodiment of the present application provides a method for processing network registration, which is applied to a terminal device, and the method includes:

若所述终端设备进行网络注册连续异常的次数达到第一预设次数,则停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。If the number of consecutive abnormalities in the network registration of the terminal device reaches a first preset number, the conversion of the received first rejection information into the second rejection information is stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried.

第二方面,本申请实施例提供一种网络注册的处理装置,应用于终端设备,所述装置包括:In a second aspect, an embodiment of the present application provides a network registration processing device, which is applied to a terminal device, and the device includes:

处理单元,用于若所述终端设备进行网络注册连续异常的次数达到第一预设次数,则停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。A processing unit is used to stop converting a received first rejection message into a second rejection message if the number of consecutive abnormalities in the network registration of the terminal device reaches a first preset number, wherein the first rejection message is a rejection message prohibiting the network registration, and the second rejection message is a rejection message allowing the network registration to be retried.

第三方面,本申请实施例提供一种终端设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, an embodiment of the present application provides a terminal device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method in the first aspect of the embodiment of the present application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.

第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

可见,通过上述网络注册的处理方法及相关装置,可以在所述终端设备进行网络注册连续异常的次数达到第一预设次数的情况下,停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。可以自动在网络环境稳定且无法注册成功的情况下尽可能控制终端设备不再重试网络注册,大大节省了设备功耗。It can be seen that through the above-mentioned network registration processing method and related devices, when the number of consecutive abnormal network registrations of the terminal device reaches the first preset number, the conversion of the received first rejection information into the second rejection information can be stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried. When the network environment is stable and the registration cannot be successful, the terminal device can be automatically controlled to not retry the network registration as much as possible, which greatly saves the power consumption of the device.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

图1为本申请实施例提供的一种通信系统的架构示意图;FIG1 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

图2为本申请实施例提供的一种网络注册的处理方法的流程示意图;FIG2 is a flow chart of a method for processing network registration provided in an embodiment of the present application;

图3为本申请实施例提供的另一种网络注册的处理方法的流程示意图;FIG3 is a flow chart of another method for processing network registration provided in an embodiment of the present application;

图4为本申请实施例提供的一种终端设备的结构示意图;FIG4 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

图5为本申请实施例提供的一种网络注册的处理装置的功能单元组成框图;FIG5 is a block diagram of functional units of a network registration processing device provided in an embodiment of the present application;

图6为本申请实施例提供的另一种网络注册的处理装置的功能单元组成框图。FIG6 is a block diagram of the functional units of another network registration processing device provided in an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution 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. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,表示前后关联对象是一种“或”的关系。本申请实施例中出现的“多个”是指两个或两个以上。It should be understood that the term "and/or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this article indicates that the associated objects before and after are in an "or" relationship. The "plurality" appearing in the embodiments of the present application refers to two or more.

本申请实施例中的“至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合,是指一个或多个,多个指的是两个或两个以上。例如,a、b或c中的至少一项(个),可以表示如下七种情况:a,b,c,a和b,a和c,b和c,a、b和c。其中,a、b、c中的每一个可以是元素,也可以是包含一个或多个元素的集合。In the embodiments of the present application, "at least one item" or similar expressions refer to any combination of these items, including any combination of single items or plural items, and refer to one or more, and multiple refers to two or more. For example, at least one item of a, b, or c can represent the following seven situations: a, b, c, a and b, a and c, b and c, a, b, and c. Among them, each of a, b, and c can be an element or a set containing one or more elements.

本申请实施例中出现的“连接”是指直接连接或者间接连接等各种连接方式,以实现设备间的通信,本申请实施例对此不做任何限定。The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

下面对本申请实施例所涉及的相关内容、概念、含义、技术问题、技术方案、有益效果等进行说明。The following is an explanation of the relevant contents, concepts, meanings, technical issues, technical solutions, beneficial effects, etc. involved in the embodiments of the present application.

一、通信系统、终端设备和网络设备1. Communication systems, terminal equipment and network equipment

1、通信系统1. Communication system

本申请实施例的技术方案可以应用于各种通信系统,例如:通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、先进的长期演进(Advanced Long Term Evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、非授权频谱上的LTE(LTE-based Access to UnlicensedSpectrum,LTE-U)系统、非授权频谱上的NR(NR-based Access to Unlicensed Spectrum,NR-U)系统、非地面通信网络(Non-Terrestrial Networks,NTN)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、无线局域网(Wireless LocalArea Networks,WLAN)、无线保真(Wireless Fidelity,Wi-Fi)、第6代(6th-Generation,6G)通信系统或者其他通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced Long Term Evolution (LTE-A) system, New Radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-based Access to Unlicensed Spectrum, LTE-U) system, NR on unlicensed spectrum (NR-based Access to Unlicensed Spectrum, NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), Wireless Fidelity (Wi-Fi), 6th Generation (6G) communication system or other communication systems.

需要说明的是,传统的通信系统所支持的连接数有限,且易于实现。然而,随着通信技术的发展,通信系统不仅可以支持传统的通信系统,还可以支持如设备到设备(deviceto device,D2D)通信、机器到机器(machine to machine,M2M)通信、机器类型通信(machine type communication,MTC)、车辆间(vehicle to vehicle,V2V)通信、车联网(vehicle to everything,V2X)通信、窄带物联网(narrow band internet of things,NB-IoT)通信等,因此本申请实施例的技术方案也可以应用于上述通信系统。It should be noted that the number of connections supported by traditional communication systems is limited and easy to implement. However, with the development of communication technology, communication systems can not only support traditional communication systems, but also support device-to-device (D2D) communication, machine-to-machine (M2M) communication, machine type communication (MTC), vehicle-to-vehicle (V2V) communication, vehicle-to-everything (V2X) communication, narrowband Internet of things (NB-IoT) communication, etc. Therefore, the technical solutions of the embodiments of the present application can also be applied to the above communication systems.

由于本申请实施例结合终端设备和网络设备描述了各个实施例,因此下面将对涉及的终端设备和网络设备进行具体描述。Since the embodiments of the present application describe various embodiments in conjunction with terminal devices and network devices, the terminal devices and network devices involved will be described in detail below.

2、终端设备2. Terminal equipment

终端设备,可以为一种具有收发功能的设备,又可以称之为终端、用户设备(userequipment,UE)、远程终端设备(remote UE)、中继设备(relay UE)、接入终端设备、用户单元、用户站、移动站、移动台、远方站、移动设备、用户终端设备、智能终端设备、无线通信设备、用户代理或用户装置。需要说明的是,中继设备是能够为其他终端设备(包括远程终端设备)提供中继转发服务的终端设备。Terminal equipment can be a device with transceiver functions, and can also be called terminal, user equipment (UE), remote terminal equipment (remote UE), relay equipment (relay UE), access terminal equipment, user unit, user station, mobile station, mobile station, remote station, mobile device, user terminal equipment, intelligent terminal equipment, wireless communication equipment, user agent or user device. It should be noted that relay equipment is a terminal equipment that can provide relay forwarding services for other terminal equipment (including remote terminal equipment).

例如,终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人自动驾驶中的无线终端设备、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备或者智慧家庭(smart home)中的无线终端设备等。For example, the terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in unmanned autonomous driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.

又例如,终端设备还可以是蜂窝电话、无绳电话、会话启动协议(sessioninitiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、下一代通信系统(例如NR通信系统、6G通信系统)中的终端设备或者未来演进的公用陆地移动通信网络(public landmobile network,PLMN)中的终端设备等,对此不作具体限定。For another example, the terminal device may also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a next-generation communication system (such as an NR communication system, a 6G communication system), or a terminal device in a future evolved public land mobile communication network (PLMN), etc., without specific limitation.

在一些可能的实现中,终端设备可以部署在陆地上,包括室内或室外、手持、穿戴或车载;可以部署在水面上(如轮船等);可以部署在空中(如飞机、气球和卫星等)。In some possible implementations, the terminal device can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; can be deployed on the water surface (such as ships, etc.); can be deployed in the air (such as airplanes, balloons and satellites, etc.).

在一些可能的实现中,终端设备可以包括无线通信功能的装置,例如芯片系统、芯片、芯片模组。示例的,该芯片系统可以包括芯片,还可以包括其它分立器件。In some possible implementations, the terminal device may include a device with wireless communication functions, such as a chip system, a chip, or a chip module. For example, the chip system may include a chip and may also include other discrete devices.

3、网络设备3. Network equipment

网络设备,可以为一种具有收发功能的设备,用于与终端设备之间进行通信。A network device may be a device with transceiver functions, used for communicating with terminal devices.

在一些可能的实现中,网络设备可以是通信系统中的基站(base station,BS)或者部署于无线接入网(radio access network,RAN)用于提供无线通信功能的设备。In some possible implementations, the network device may be a base station (BS) in a communication system or a device deployed in a radio access network (RAN) for providing wireless communication functions.

例如,网络设备可以是LTE通信系统中的演进型节点B(evolutional node B,eNB或eNodeB)、NR通信系统中的下一代演进型的节点B(next generation evolved node B,ng-eNB)、NR通信系统中的下一代节点B(next generation node B,gNB)、双连接架构中的主节点(master node,MN)、双连接架构中的第二节点或辅节点(secondary node,SN)等,对此不作具体限制。For example, the network device can be an evolved node B (eNB or eNodeB) in an LTE communication system, a next generation evolved node B (ng-eNB) in an NR communication system, a next generation node B (gNB) in an NR communication system, a master node (MN) in a dual-connection architecture, a second node or secondary node (SN) in a dual-connection architecture, etc., without specific limitation.

在一些可能的实现中,网络设备还可以是核心网(core network,CN)中的设备,如访问和移动性管理功能(access and mobility management function,AMF)、用户面功能(user plane function,UPF)等;还可以是WLAN中的接入点(access point,AP)、中继站、未来演进的PLMN网络中的通信设备、NTN网络中的通信设备等。In some possible implementations, the network device may also be a device in the core network (CN), such as an access and mobility management function (AMF), a user plane function (UPF), etc.; it may also be an access point (AP) in a WLAN, a relay station, a communication device in a future evolved PLMN network, a communication device in an NTN network, etc.

在一些可能的实现中,网络设备可以包括具有为终端设备提供无线通信功能的装置,例如芯片系统、芯片、芯片模组。示例的,该芯片系统可以包括芯片,或者,可以包括其它分立器件。In some possible implementations, the network device may include a device that provides wireless communication functions for the terminal device, such as a chip system, a chip, or a chip module. For example, the chip system may include a chip, or may include other discrete devices.

在一些可能的实现中,网络设备可以是一个独立的节点以实现上述基站的功能或者,网络设备可以包括两个或多个独立的节点以实现上述基站的功能。例如,网络设备包括集中式单元(centralized unit,CU)和分布式单元(distributed unit,DU),如gNB-CU和gNB-DU。进一步的,在本申请的另一些实施例中,网络设备还可以包括有源天线单元(active antenna unit,AAU)。其中,CU实现网络设备的一部分功能,DU实现网络设备的另一部分功能。比如,CU负责处理非实时协议和服务,实现无线资源控制(radio resourcecontrol,RRC)层、服务数据适配(service data adaptation protocol,SDAP)层、分组数据汇聚(packet data convergence protocol,PDCP)层的功能。DU负责处理物理层协议和实时服务,实现无线链路控制(radio link control,RLC)层、媒体接入控制(medium accesscontrol,MAC)层和物理(physical,PHY)层的功能。另外,AAU可以实现部分物理层处理功能、射频处理及有源天线的相关功能。由于RRC层的信息最终会变成PHY层的信息,或者由PHY层的信息转变而来,因此,在该网络部署下,高层信令(如RRC信令)可以认为是由DU发送的,或者由DU和AAU共同发送的。可以理解的是,网络设备可以包括CU、DU、AAU中的至少一个。另外,可以将CU划分为RAN中的网络设备,或者,也可以将CU划分为核心网中的网络设备,对此不做具体限定。In some possible implementations, the network device may be an independent node to implement the functions of the above-mentioned base station, or the network device may include two or more independent nodes to implement the functions of the above-mentioned base station. For example, the network device includes a centralized unit (CU) and a distributed unit (DU), such as gNB-CU and gNB-DU. Further, in some other embodiments of the present application, the network device may also include an active antenna unit (AAU). Among them, the CU implements part of the functions of the network device, and the DU implements another part of the functions of the network device. For example, the CU is responsible for processing non-real-time protocols and services, and implements the functions of the radio resource control (RRC) layer, the service data adaptation protocol (SDAP) layer, and the packet data convergence protocol (PDCP) layer. The DU is responsible for processing physical layer protocols and real-time services, and implements the functions of the radio link control (RLC) layer, the medium access control (MAC) layer, and the physical (PHY) layer. In addition, the AAU can implement some physical layer processing functions, radio frequency processing, and related functions of active antennas. Since the information of the RRC layer will eventually become the information of the PHY layer, or be converted from the information of the PHY layer, under this network deployment, high-level signaling (such as RRC signaling) can be considered to be sent by the DU, or sent by the DU and the AAU together. It can be understood that the network device may include at least one of the CU, DU, and AAU. In addition, the CU can be classified as a network device in the RAN, or the CU can be classified as a network device in the core network, without specific limitation.

在一些可能的实现中,网络设备可以具有移动特性,例如网络设备可以为移动的设备。可选地,网络设备可以为卫星、气球站。例如,卫星可以为低地球轨道(low earthorbit,LEO)卫星、中地球轨道(medium earth orbit,MEO)卫星、地球同步轨道(geostationary earth orbit,GEO)卫星、高椭圆轨道(high elliptical orbit,HEO)卫星等。可选地,网络设备还可以为设置在陆地、水域等位置的基站。In some possible implementations, the network device may have a mobile feature, for example, the network device may be a mobile device. Optionally, the network device may be a satellite or a balloon station. For example, the satellite may be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, etc. Optionally, the network device may also be a base station set up in a location such as land or water.

在一些可能的实现中,网络设备可以为小区提供服务,而该小区中的终端设备可以通过传输资源(如频谱资源)与网络设备进行通信。其中,该小区可以为宏小区(macrocell)、小小区(small cell)、城市小区(metro cell)、微小区(micro cell)、微微小区(pico cell)和毫微微小区(femto cell)等。In some possible implementations, a network device may provide services for a cell, and a terminal device in the cell may communicate with the network device through transmission resources (such as spectrum resources). The cell may be a macrocell, a small cell, a metro cell, a microcell, a pico cell, a femto cell, etc.

4、示例说明4. Example

下面对本申请实施例的网络注册的系统架构做一个示例性说明。The following is an exemplary description of the system architecture of network registration in an embodiment of the present application.

示例性的,本申请实施例的一种通信系统的网络架构,可以参阅图1。如图1所示,通信系统10可以包括网络设备110和终端设备120。终端设备120可以通过无线方式与网络设备110进行通信。For example, a network architecture of a communication system in an embodiment of the present application can be referred to Figure 1. As shown in Figure 1, the communication system 10 may include a network device 110 and a terminal device 120. The terminal device 120 may communicate with the network device 110 in a wireless manner.

其中,终端设备120可以包括场景识别单元,该场景识别单元可以通过惯性测量单元、加速度传感器、角速度传感器、磁场传感器等运动传感器采集到的终端设备120的运动状态来确定终端设备120是否处于网络稳定场景,终端设备120中的调制解调器可以获取场景识别单元确定的当前场景信息,进而执行相应的网络注册处理方法。Among them, the terminal device 120 may include a scene recognition unit, which can determine whether the terminal device 120 is in a network stable scene through the motion state of the terminal device 120 collected by motion sensors such as an inertial measurement unit, an acceleration sensor, an angular velocity sensor, and a magnetic field sensor. The modem in the terminal device 120 can obtain the current scene information determined by the scene recognition unit, and then execute the corresponding network registration processing method.

图1仅为一种通信系统的网络架构的举例说明,对本申请实施例的通信系统的网络架构并不构成限定。例如,本申请实施例中,通信系统中还可以包括服务器或其它设备。再例如,本申请实施例中,通信系统中可以包括多个网络设备和/或多个终端设备。FIG. 1 is only an example of a network architecture of a communication system, and does not limit the network architecture of the communication system of the embodiment of the present application. For example, in the embodiment of the present application, the communication system may also include a server or other devices. For another example, in the embodiment of the present application, the communication system may include multiple network devices and/or multiple terminal devices.

二、一种网络注册的处理方法2. A method for processing network registration

终端设备在使用网络功能之前,需要先注册网络,即向网络设备发送网络注册请求,网络设备如果确定终端设备符合注册条件,就会允许其注册,终端设备的网络注册成功,网络设备如果确定终端设备不符合注册条件,就会返回一个拒绝注册的拒绝信息,终端设备的网络注册失败。Before using network functions, the terminal device needs to register with the network, that is, send a network registration request to the network device. If the network device determines that the terminal device meets the registration conditions, it will allow it to register, and the network registration of the terminal device will be successful. If the network device determines that the terminal device does not meet the registration conditions, it will return a rejection message to refuse registration, and the network registration of the terminal device will fail.

举例来说,LTE的网络注册流程可以包括开机驻留、初始化用户身份识别卡(Subscriber Identity Module,SIM)、选择PLMN、选择小区、注册、连接及重配置、数据传输流程、测量切换流程等,在此不做赘述,在网络注册流程中,如果无法注册成功,网络设备会返回一个拒绝信息,该拒绝信息根据网络制式的不同有相应变化,可以以拒绝原因值(cause)的形式存在,举例来说,3GPP协议中规定了拒绝原因值的代码,如#7,演进分组系统EPS服务不被允许(EPS services not allowed);#8,EPS服务和非EPS服务均不被允许(EPSservices and non-EPS services not allowed);#14,EPS服务在这个PLMN中不被允许(EPS services not allowed in this PLMN);#11,公共陆地移动网络PLMN不被允许(PLMNnot allowed);#16,MSC服务暂时无法到达(MSC temporarily not reachable);#6,非法ME(Illegal ME);#10,隐式分离(Implicitly detached),且ESM拒绝原因(ESM RejectCause)值为#28;以及#0,网络侧处理用户注册时反馈的拒绝信息不规范等。For example, the network registration process of LTE may include power-on residence, initialization of the subscriber identity module (Subscriber Identity Module, SIM), selection of PLMN, selection of cell, registration, connection and reconfiguration, data transmission process, measurement switching process, etc., which will not be repeated here. In the network registration process, if the registration fails, the network device will return a rejection message, which varies according to the network standard and may exist in the form of a rejection reason value (cause). For example, the 3GPP protocol specifies the code of the rejection reason value, such as #7, EPS services not allowed; #8, EPS services and non-EPS services not allowed; #14, EPS services not allowed in this PLMN; #11, PLMN not allowed; #16, MSC temporarily not reachable; #6, Illegal ME; #10, Implicitly separated. detached), and the ESM RejectCause value is #28; and #0, the rejection information fed back when the network side processes the user registration is not standardized, etc.

需要说明的是,拒绝信息可以分为两类,第一类是直接禁止终端设备再进行网络注册的拒绝信息,如#6等,第二类是终端设备仍然可以再次尝试网络注册的拒绝信息,如#12、#13等,具体分类在此不再列举,以拒绝信息的具体功能为准。It should be noted that rejection information can be divided into two categories. The first category is the rejection information that directly prohibits the terminal device from registering on the network again, such as #6, etc. The second category is the rejection information that the terminal device can still try to register on the network again, such as #12, #13, etc. The specific classification is not listed here, and the specific function of the rejection information shall prevail.

目前,终端设备在接收到第二类的拒绝信息时,会再次尝试进行网络注册;终端设备在接收到第一类的拒绝信息时,可以通过将接收到的第一类的拒绝信息转换为第二类的拒绝信息,以便再次进行网络注册,也可以直接软重启(如进入退出飞行模式)来再次进行网络注册。这本来是为了防止终端设备无法联网而设定的机制,但是在一些场景下,反复重新进行网络注册是没有必要的,反而增加了设备功耗。Currently, when a terminal device receives a second type of rejection message, it will try to register with the network again; when a terminal device receives a first type of rejection message, it can convert the first type of rejection message received into a second type of rejection message in order to register with the network again, or it can directly soft restart (such as entering and exiting airplane mode) to register with the network again. This mechanism was originally set to prevent the terminal device from being unable to connect to the network, but in some scenarios, repeated re-registration of the network is unnecessary and increases the power consumption of the device.

举例来说,若终端设备的SIM卡为异常卡,此时无论如何也无法注册成功;举例来说,若网络环境存在局部异常或拥塞,导致无法注册成功,在网络环境恢复之前,也是无论如何也无法注册成功的。For example, if the SIM card of the terminal device is an abnormal card, registration will not be successful at this time; for example, if there is a local abnormality or congestion in the network environment, resulting in failure of registration, registration will not be successful until the network environment is restored.

在上述场景下,多次进行网络注册只是在重复无效的步骤,导致终端设备产生了不必要的功耗。In the above scenario, multiple network registrations are just repeating invalid steps, causing unnecessary power consumption of the terminal device.

基于上述问题,本申请实施例提供了一种网络注册的处理方法,应用于终端设备,可以识别当前进行网络注册是否是无法注册成功,并在终端设备当前无法注册成功时,尽可能控制终端设备不再进行网络注册,大大节省了设备功耗。Based on the above problems, an embodiment of the present application provides a network registration processing method, which is applied to a terminal device and can identify whether the current network registration cannot be successfully registered. When the terminal device cannot be successfully registered, the terminal device is controlled to stop network registration as much as possible, thereby greatly saving device power consumption.

下面对本申请实施例所涉及的技术方案、有益效果、概念等进行具体说明。The technical solutions, beneficial effects, concepts, etc. involved in the embodiments of the present application are described in detail below.

1、网络稳定场景1. Network stability scenario

需要说明的是,本申请实施例中的网络稳定场景为终端设备的小区未变化的场景,可以理解,在网络稳定场景下,终端设备的服务小区和相邻小区都是稳定的,终端设备测量到的小区也是近似稳定的。在网络稳定场景下,可以保证每次进行的网络注册的流程和具体内容相同。It should be noted that the network stability scenario in the embodiment of the present application is a scenario in which the cell of the terminal device does not change. It can be understood that in the network stability scenario, the serving cell and the adjacent cell of the terminal device are stable, and the cell measured by the terminal device is also approximately stable. In the network stability scenario, it can be ensured that the process and specific content of each network registration are the same.

2、如何检测终端设备是否处于网络稳定场景2. How to detect whether the terminal device is in a stable network scenario

需要说明的是,可以通过检测终端设备的运动状态来确定终端设备是否处于网络稳定场景,若终端设备的运动状态属于静止状态或微动状态,则可以确定终端设备的位置未发生较大的改变,而小区与位置息息相关,不同的位置对应的小区不同,在终端设备的位置未发生较大改变时,可以认为终端设备的服务小区和相邻小区都是稳定的,即终端设备处于网络稳定场景。为便于理解,下面以示例的方式说明如何检测终端设备的运动状态。It should be noted that the movement state of the terminal device can be detected to determine whether the terminal device is in a stable network scenario. If the movement state of the terminal device is static or slightly moving, it can be determined that the location of the terminal device has not changed significantly. The cell is closely related to the location, and different locations correspond to different cells. When the location of the terminal device has not changed significantly, it can be considered that the service cell and adjacent cell of the terminal device are stable, that is, the terminal device is in a stable network scenario. For ease of understanding, the following example illustrates how to detect the movement state of the terminal device.

1)判断终端设备是否处于静止状态1) Determine whether the terminal device is in a stationary state

终端设备可以通过自身搭载的运动传感器检测到自身的加速度和/或角速度等信息,并结合时间信息确定自身的速度,在速度为0时,可以确定终端设备属于静止状态,反之则不属于静止状态,可以理解,此处速度可以为终端设备的平均角速度和/或平均速度等,在此不做具体限定。The terminal device can detect its own acceleration and/or angular velocity and other information through the motion sensor it is equipped with, and determine its own speed in combination with the time information. When the speed is 0, it can be determined that the terminal device is in a stationary state, otherwise it is not in a stationary state. It can be understood that the speed here can be the average angular velocity and/or average speed of the terminal device, etc., and no specific limitation is made here.

2)判断终端设备是否处于微动状态2) Determine whether the terminal device is in a micro-motion state

在一种可能的示例中,终端设备可以通过自身搭载的运动传感器采集加速度和/或角速度等信息,并结合时间信息计算出自身的速度,在速度大于0但持续小于第一速度阈值时,可以确定自身处于微动状态,反之则不属于微动状态,可以理解,第一速度阈值为一个较低的速度,在速度小于第一速度阈值时,终端设备可能处于被用户使用的场景,在该场景下,终端设备的转动、轻微速度变化都不会改变终端设备的服务小区和相邻小区;可以理解,此处速度可以为终端设备的平均角速度和/或平均速度等,在此不做具体限定。In a possible example, the terminal device can collect information such as acceleration and/or angular velocity through the motion sensor carried by itself, and calculate its own speed in combination with time information. When the speed is greater than 0 but continuously less than a first speed threshold, it can be determined that it is in a micro-motion state, otherwise it is not in a micro-motion state. It can be understood that the first speed threshold is a lower speed. When the speed is less than the first speed threshold, the terminal device may be in a scenario where it is used by a user. In this scenario, the rotation of the terminal device and slight speed changes will not change the service cell and adjacent cell of the terminal device. It can be understood that the speed here can be the average angular velocity and/or average speed of the terminal device, etc., and no specific limitation is made here.

在一种可能的示例中,终端设备可以通过自身搭载的运动传感器采集加速度、加速度方向等信息,进而确定每个方向的加速度、每个方向的加速时长,根据每个方向的加速度和每个方向的加速时长确定每个方向的位移距离,根据每个方向的位移距离和终端设备的初始坐标可以确定终端设备的实际坐标,根据初始坐标和实际坐标可以确定终端设备的直线位移距离,在直线位移距离小于预设位移阈值时,可以确定自身处于微动状态,反之则不属于微动状态,可以理解,在终端设备的直线位移距离小于预设位移阈值,则说明终端设备的位置没有发生较大改变,在位置未发生较大改变的场景下,终端设备的服务小区和相邻小区都是稳定的。In a possible example, the terminal device can collect information such as acceleration and acceleration direction through the motion sensor carried by itself, and then determine the acceleration in each direction and the acceleration duration in each direction, and determine the displacement distance in each direction according to the acceleration in each direction and the acceleration duration in each direction, and the actual coordinates of the terminal device can be determined according to the displacement distance in each direction and the initial coordinates of the terminal device, and the straight-line displacement distance of the terminal device can be determined according to the initial coordinates and the actual coordinates. When the straight-line displacement distance is less than the preset displacement threshold, it can be determined that the terminal device is in a micro-motion state, otherwise it is not in a micro-motion state. It can be understood that when the straight-line displacement distance of the terminal device is less than the preset displacement threshold, it means that the position of the terminal device has not changed significantly. In the scenario where the position has not changed significantly, the service cell and the adjacent cell of the terminal device are stable.

3、网络制式3. Network standard

为了判断终端设备是否处于网络注册无论如何都无法成功的场景,需要先引入网络制式的概念,本申请实施例中的网络制式可以分为2G、3G、4G(LTE)、5G、6G甚至更高的网络制式,需要说明的是,第二代移动通讯技术(second generation,2G)可以是对多种网络制式的统称,例如,全球移动通信系统(Code Division Multiple Access,CDMA)和码分多址技术(Global System For Mobile Communication,GSM)都属于2G的网络制式。一般情况下,第三代移动通讯技术(third generation,3G),也可以包括多种网络制式,例如包括TD-SCDMA网络制式、WCDMA网络制式、EVDO网络制式等属于3G的网络制式。第四代通信系统(the4th generation communication system,4G)也可以包括多种网络制式,例如,TD-LTE、FDD-LTE等属于4G的网络制式。第五代移动通信技术(5th Generation MobileCommunication Technology,5G)可以包括非独立组网的网络制式和独立组网的网络制式等。需要说明的是,上述英文表述方式是通信领域常用表述,在此不再赘述对应的中文表述方式。In order to determine whether the terminal device is in a scenario where network registration cannot be successful no matter what, it is necessary to first introduce the concept of network standard. The network standard in the embodiment of the present application can be divided into 2G, 3G, 4G (LTE), 5G, 6G or even higher network standards. It should be noted that the second generation mobile communication technology (second generation, 2G) can be a general term for multiple network standards. For example, the global mobile communication system (Code Division Multiple Access, CDMA) and the code division multiple access technology (Global System For Mobile Communication, GSM) are both 2G network standards. In general, the third generation mobile communication technology (third generation, 3G) can also include multiple network standards, such as TD-SCDMA network standard, WCDMA network standard, EVDO network standard, etc., which belong to 3G network standards. The fourth generation communication system (the 4th generation communication system, 4G) can also include multiple network standards, for example, TD-LTE, FDD-LTE, etc. belong to 4G network standards. The fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) can include network standards for non-independent networking and network standards for independent networking. It should be noted that the above English expressions are commonly used in the communications field, and the corresponding Chinese expressions will not be repeated here.

4、如何确定网络注册异常4. How to determine network registration anomalies

需要说明的是,终端设备支持的网络制式以及支持的每个网络制式的频段不同,在判定网络注册异常时会有一些区别。It should be noted that the network standards supported by the terminal devices and the frequency bands of each network standard are different, so there will be some differences in determining network registration anomalies.

在一种可能的实施例中,终端设备支持4G网络制式、3G网络制式以及2G网络制式,那么在满足以下条件时,可以确定该终端设备网络注册异常:In a possible embodiment, the terminal device supports 4G network standard, 3G network standard and 2G network standard. Then, when the following conditions are met, it can be determined that the network registration of the terminal device is abnormal:

终端设备在4G网络制式下进行全频段的网络注册并被网络侧拒绝;The terminal device registered for the full-band network under the 4G network standard and was rejected by the network side;

终端设备在3G网络制式下进行全频段的网络注册并被网络侧拒绝;The terminal device registered for the full-band network under the 3G network standard and was rejected by the network side;

终端设备在2G网络制式下进行全频段的网络注册并被网络侧拒绝。The terminal device attempts to register for the full-band network under the 2G network standard and is rejected by the network side.

即,终端设备经过完整的全网络制式(2G/3G/4G)全频段搜索仍然无法注册成功时,可以确定本次网络注册异常,可以理解,无论是在哪种网络制式下进行网络注册并被网络侧拒绝,终端设备都会接收到网络侧返回的拒绝信息,拒绝信息的种类可以为第一类也可以为第二类,此时终端设备可以将接收到的第一类拒绝信息转换为第二类拒绝信息,以便进行下一次网络注册,终端设备也可以在接收到第一类拒绝信息时进行软重启以便进行下一次网络注册。That is, when the terminal device still cannot register successfully after a complete search of all network standards (2G/3G/4G) and all frequency bands, it can be determined that this network registration is abnormal. It can be understood that no matter under which network standard the network registration is performed and is rejected by the network side, the terminal device will receive a rejection message returned by the network side. The type of rejection information can be the first type or the second type. At this time, the terminal device can convert the received first type of rejection information into the second type of rejection information for the next network registration. The terminal device can also perform a soft restart when receiving the first type of rejection information for the next network registration.

在一种可能的实施例中,终端设备可以支持5G网络制式、4G网络制式、3G网络制式以及2G网络制式,那么在满足以下条件时,可以确定该终端设备网络注册异常:In a possible embodiment, the terminal device can support 5G network standard, 4G network standard, 3G network standard and 2G network standard. Then, when the following conditions are met, it can be determined that the network registration of the terminal device is abnormal:

终端设备在5G网络制式下进行全频段的网络注册并被网络侧拒绝;The terminal device registered for the full-band network under the 5G network standard and was rejected by the network side;

终端设备在4G网络制式下进行全频段的网络注册并被网络侧拒绝;The terminal device registered for the full-band network under the 4G network standard and was rejected by the network side;

终端设备在3G网络制式下进行全频段的网络注册并被网络侧拒绝;The terminal device registered for the full-band network under the 3G network standard and was rejected by the network side;

终端设备在2G网络制式下进行全频段的网络注册并被网络侧拒绝;The terminal device registered for the full-band network under the 2G network standard and was rejected by the network side;

即,终端设备经过完整的全网络制式(2G/3G/4G/5G)全频段搜索仍然无法注册成功时,可以确定本次网络注册异常。That is, when the terminal device still cannot register successfully after a complete search of all network standards (2G/3G/4G/5G) and all frequency bands, it can be determined that the network registration is abnormal.

在一种可能的实施例中,终端设备可以支持5G网络制式、4G网络制式、3G网络制式,或,终端设备可以支持5G网络制式、4G网络制式,或,终端设备可以支持4G网络制式、3G网络制式,或,终端设备可以支持5G网络制式,3G网络制式等,无论终端设备支持的网络制式为哪种,最终确定该终端设备网络注册是否异常时都可以通过完整的全网络制式全频段搜索是否注册成功来确定,上述示例性说明并不代表对本申请的具体限定。In a possible embodiment, the terminal device may support 5G network standard, 4G network standard, 3G network standard, or the terminal device may support 5G network standard, 4G network standard, or the terminal device may support 4G network standard, 3G network standard, or the terminal device may support 5G network standard, 3G network standard, etc. Regardless of the network standard supported by the terminal device, the final determination of whether the network registration of the terminal device is abnormal can be made by determining whether the registration is successful through a complete full-network standard and full-frequency band search. The above exemplary description does not represent a specific limitation on the present application.

在一种可能的实施例中,也可以在某一网络制式下的某一频段进行反复网络注册并被网络侧拒绝的次数达到该频段对应的次数阈值时,确定本次网络注册异常,举例来说,终端设备当前使用的5G网络制式,那么检测到在5G网络制式的a频段下进行反复网络注册并被拒绝4次时,可以确定本次网络注册异常;举例来说,终端设备当前使用的4G网络制式,那么检测到在4G网络制式的x频段下进行反复网络注册并被拒绝3次时,可以确定本次网络注册异常,在此不做赘述。In a possible embodiment, when repeated network registration is performed in a certain frequency band under a certain network standard and the number of times rejected by the network side reaches the number threshold corresponding to the frequency band, it can be determined that the current network registration is abnormal. For example, if the terminal device currently uses a 5G network standard, then when it is detected that repeated network registration is performed in the a frequency band of the 5G network standard and is rejected 4 times, it can be determined that the current network registration is abnormal. For example, if the terminal device currently uses a 4G network standard, then when it is detected that repeated network registration is performed in the x frequency band of the 4G network standard and is rejected 3 times, it can be determined that the current network registration is abnormal. No further details are given here.

在一种可能的实施例中,5G以及更高的网络制式下,网络侧可能会返回禁用5G以及更高网络制式的拒绝信息,终端设备在接收到此类拒绝信息时,后续进行网络注册时会自动禁用被禁用的网络制式,并且不在被禁用的网络制式下进行网络注册,被禁用的网络制式也不会再作为判断终端设备网络注册是否异常的条件,举例来说,在5G网络制式下进行网络注册并被网络侧拒绝时,网络侧可能返回拒绝原因值#27(N1 mode not allowed),终端设备在接收到#27时,会导致5G网络制式不可用,在后续进行网络注册时,终端设备会以支持4G网络制式、3G网络制式以及2G网络制式对应的条件来判定终端设备的网络注册是否异常。In a possible embodiment, under 5G and higher network standards, the network side may return a rejection message disabling 5G and higher network standards. When the terminal device receives such a rejection message, it will automatically disable the disabled network standard during subsequent network registration, and will not perform network registration under the disabled network standard. The disabled network standard will no longer be used as a condition for determining whether the network registration of the terminal device is abnormal. For example, when network registration is performed under the 5G network standard and is rejected by the network side, the network side may return a rejection reason value #27 (N1 mode not allowed). When the terminal device receives #27, the 5G network standard will be unavailable. When the terminal device performs network registration subsequently, the terminal device will determine whether the network registration of the terminal device is abnormal based on the conditions corresponding to supporting 4G network standards, 3G network standards, and 2G network standards.

5、网络注册的处理5. Processing of network registration

1)第一指令1) First instruction

为了节省设备功耗,本申请实施例引入了第一指令,该第一指令用于关闭将接收到的第一类的拒绝信息转换为第二类的拒绝信息的功能,由于默认的网络注册过程中会开启该功能以防止一次注册失败就不再尝试,此处通过第一指令关闭该功能可以使得终端设备再次接收到第一类的拒绝信息时,会响应于第一类的拒绝信息直接不再进行网络注册,大大节省了设备功耗。In order to save device power consumption, an embodiment of the present application introduces a first instruction, which is used to turn off the function of converting the received first-type rejection information into the second-type rejection information. Since this function is turned on in the default network registration process to prevent further attempts after a registration failure, turning off this function through the first instruction here can make the terminal device directly stop registering with the network in response to the first-type rejection information when it receives the first-type rejection information again, thereby greatly saving device power consumption.

需要说明,终端设备会统计网络注册异常的次数,若统计的终端设备进行网络注册连续异常的次数达到第一预设次数,就生成第一指令,该第一预设次数可以自由设定,在此不做具体限定。It should be noted that the terminal device will count the number of network registration anomalies. If the counted number of consecutive network registration anomalies of the terminal device reaches a first preset number, a first instruction will be generated. The first preset number can be set freely and is not specifically limited here.

2)第二指令2) Second instruction

在一种可能的实施例中,在生成第一指令后,终端设备重新进行网络注册时接收到的都是第二类的拒绝信息,或者,终端设备重新进行网络注册时接收到第一类的拒绝信息并进行了软重启,仍然可以继续进行网络注册,可以理解,软重启是一种自恢复机制,一般存在恢复上限。在这种情况下,终端设备仍然会进行重复地网络注册,造成不必要的功耗浪费,为了解决上述问题,本申请实施例引入了第二指令,该第二指令用于将接收到的第二类的拒绝信息转换为第一类的拒绝信息以及禁止在接收到第一类的拒绝信息时进行软重启。In a possible embodiment, after the first instruction is generated, when the terminal device re-registers with the network, it receives the second type of rejection information, or when the terminal device re-registers with the network, it receives the first type of rejection information and performs a soft restart, and it can still continue to register with the network. It can be understood that the soft restart is a self-recovery mechanism, and generally there is an upper limit to recovery. In this case, the terminal device will still repeatedly register with the network, causing unnecessary power consumption. In order to solve the above problem, the embodiment of the present application introduces a second instruction, which is used to convert the received second type of rejection information into the first type of rejection information and prohibit soft restart when the first type of rejection information is received.

具体的,可以生成第一指令后,若终端设备进行网络注册连续异常的次数达到第二预设次数,则生成该第二指令,该第二预设次数大于第一预设次数,举例来说,第一预设次数可以为2,第二预设次数可以为5。Specifically, after the first instruction is generated, if the number of consecutive network registration exceptions of the terminal device reaches a second preset number, the second instruction is generated, and the second preset number is greater than the first preset number. For example, the first preset number can be 2 and the second preset number can be 5.

举例来说,终端设备在接收到第二类的拒绝信息为#12时,可以将#12转换为第一类的拒绝信息#8,#8可以使得终端设备在电路交换域和分组交换域都无法使用,且由于此时已经禁止软重启,终端设备不再具备网络注册的能力,终端设备会处于无法进行网络注册的状态,进一步节省了设备功耗。For example, when the terminal device receives the second type of rejection information #12, it can convert #12 into the first type of rejection information #8. #8 can make the terminal device unusable in both the circuit switching domain and the packet switching domain. Since soft restart is prohibited at this time, the terminal device no longer has the ability to register with the network. The terminal device will be in a state where it cannot register with the network, further saving device power consumption.

6、防呆机制6. Foolproofing mechanism

在生成第二指令后,终端设备在电路交换域和分组交换域都无法使用,如果终端设备无法注册成功的原因是网络堵塞等原因而非自身SIM卡为异常卡,那么当网络恢复时如果终端设备还处于网络稳定场景,那么就算网络恢复了,终端设备也无法感知到,为了解决这种问题,本申请实施例引入了防呆机制。After the second instruction is generated, the terminal device cannot be used in both the circuit switching domain and the packet switching domain. If the reason why the terminal device cannot register successfully is due to network congestion and other reasons rather than the SIM card itself being an abnormal card, then when the network is restored, if the terminal device is still in a stable network scenario, then even if the network is restored, the terminal device will not be able to perceive it. In order to solve this problem, the embodiment of the present application introduces an anti-fool mechanism.

在一种可能的实施例中,可以在生成第二指令后,若检测到终端设备仍处于上述网络稳定场景但超过预设时长,就进行初始化处理并与允许进行网络注册,初始化处理可以为清空网络注册的历史记录信息,恢复默认设置等,如将将统计的终端设备进行网络注册连续异常的次数置零、允许将接收到的所述第一拒绝信息转换为所述第二拒绝信息以及允许在接收到所述第一拒绝信息时进行软重启等,在此不做赘述。可以理解,允许进行网络注册后仍然采用本申请实施例描述的网络注册的处理方法。In a possible embodiment, after the second instruction is generated, if it is detected that the terminal device is still in the above-mentioned network stability scenario but exceeds the preset time, initialization processing is performed and network registration is allowed. The initialization processing can be to clear the historical record information of network registration, restore the default settings, etc., such as setting the number of consecutive abnormal network registrations of the terminal device to zero, allowing the first rejection information received to be converted to the second rejection information, and allowing a soft restart when the first rejection information is received, etc., which will not be described in detail here. It can be understood that after allowing network registration, the network registration processing method described in the embodiment of the present application is still used.

在一种可能的实施例中,可以在生成第二指令后,若检测到终端设备仍处于上述网络稳定场景但接收到用户反馈指令,就进行初始化处理并与允许进行网络注册。该用户反馈指令可以是用户手动进入或退出飞行模式,也可以是其他用于允许再次进行网络注册的指令,在此不做具体限定。In a possible embodiment, after the second instruction is generated, if it is detected that the terminal device is still in the above-mentioned network stable scenario but receives a user feedback instruction, initialization processing is performed and network registration is allowed. The user feedback instruction can be a user manually entering or exiting the flight mode, or other instructions for allowing network registration again, which are not specifically limited here.

可以理解,在上述1-5的任意一个步骤下,如果检测到终端设备未处于上述网络稳定场景,那么就恢复默认处理方式进行网络注册,默认处理方式包括允许将接收到的第一类的拒绝信息转换为第二类的拒绝信息以及允许在接收到第一类的拒绝信息时进行软重启。It can be understood that in any of the above steps 1-5, if it is detected that the terminal device is not in the above-mentioned network stability scenario, the default processing method will be restored to perform network registration. The default processing method includes allowing the received first type of rejection information to be converted into the second type of rejection information and allowing a soft restart when the first type of rejection information is received.

7、一种网络注册的处理方法的示例说明7. An example of a method for processing network registration

结合上述内容,下面对本申请实施例中的一种网络注册的处理方法进行示例说明,In combination with the above content, an example of a network registration processing method in an embodiment of the present application is described below.

如图2所示,为本申请实施例的一种网络注册的处理方法的流程示意图,应用于终端设备,具体包括如下步骤:As shown in FIG. 2 , it is a flowchart of a method for processing network registration according to an embodiment of the present application, which is applied to a terminal device and specifically includes the following steps:

步骤201,若终端设备进行网络注册连续异常的次数达到第一预设次数,则停止将接收到的第一拒绝信息转换为第二拒绝信息。Step 201: If the number of consecutive network registration anomalies of the terminal device reaches a first preset number, stop converting the received first rejection information into the second rejection information.

其中,终端设备处于网络稳定场景,上述网络稳定场景为上述终端设备的小区未变化的场景,可以通过第一指令来指示停止将接收到的第一拒绝信息转换为第二拒绝信息,上述第一拒绝信息(第一类的拒绝信息)为禁止进行所述网络注册的拒绝信息,上述第二拒绝信息(第二类的拒绝信息)为允许重试所述网络注册的拒绝信息。Among them, the terminal device is in a network stable scenario, and the above-mentioned network stable scenario is a scenario in which the cell of the above-mentioned terminal device has not changed. The first instruction can be used to instruct to stop converting the received first rejection information into the second rejection information. The above-mentioned first rejection information (the first type of rejection information) is rejection information prohibiting the network registration, and the above-mentioned second rejection information (the second type of rejection information) is rejection information allowing retry of the network registration.

可见,通过上述网络注册的处理方法及相关装置,可以在检测到所述终端设备进行网络注册连续异常的次数达到第一预设次数的情况下,停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。可以自动在网络环境稳定且无法注册成功的情况下尽可能控制终端设备不再重试网络注册,大大节省了设备功耗。It can be seen that through the above-mentioned network registration processing method and related devices, when it is detected that the number of consecutive abnormal network registrations of the terminal device reaches the first preset number, the conversion of the received first rejection information into the second rejection information can be stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried. When the network environment is stable and the registration cannot be successful, the terminal device can be automatically controlled to not retry the network registration as much as possible, which greatly saves the power consumption of the device.

上述未详细说明的内容可以参见上述1-6的说明,在此不做赘述。For the contents not described in detail above, please refer to the description of 1-6 above, which will not be repeated here.

8、另一种网络注册的处理方法的示例说明8. Another example of a method for processing network registration

结合上述内容,下面对本申请实施例中的另一种网络注册的处理方法进行示例说明,In combination with the above content, another method for processing network registration in an embodiment of the present application is described below by way of example.

如图3所示,为本申请实施例的另一种网络注册的处理方法的流程示意图,应用于终端设备,具体包括如下步骤:As shown in FIG3 , it is a flowchart of another method for processing network registration according to an embodiment of the present application, which is applied to a terminal device and specifically includes the following steps:

步骤301,检测终端设备的运动状态。Step 301, detecting the motion state of the terminal device.

在一种可能的实施例中,可以检测上述终端设备的速度,在上述速度为0时,确定上述运动状态属于上述静止状态;在上述速度大于0但持续小于第一速度阈值,或,在上述速度持续大于或等于上述第一速度阈值但持续时长小于持续时长阈值,或,在上述速度大于或等于上述第一速度阈值的累计时长小于累计时长阈值时,确定上述运动状态属于上述微动状态。In a possible embodiment, the speed of the terminal device can be detected. When the speed is 0, it is determined that the motion state belongs to the static state; when the speed is greater than 0 but continuously less than a first speed threshold, or, when the speed is continuously greater than or equal to the first speed threshold but the duration is less than a duration threshold, or, when the cumulative duration that the speed is greater than or equal to the first speed threshold is less than the cumulative duration threshold, it is determined that the motion state belongs to the micro-motion state.

步骤302,若所述运动状态属于静止状态或微动状态,则确定所述终端设备处于网络稳定场景。Step 302: If the motion state is a stationary state or a slight motion state, it is determined that the terminal device is in a stable network scenario.

可见,如此可以保证终端设备在后续无网络服务的情况下,仍然能通过运动传感器判断自身的服务小区和相邻小区是否发生变化。It can be seen that this can ensure that the terminal device can still determine whether its service cell and adjacent cell have changed through the motion sensor when there is no network service in the future.

步骤303,统计所述终端设备进行网络注册连续异常的次数。Step 303: Count the number of times the terminal device performs network registration continuously abnormally.

其中,可以重复执行以下步骤直到统计的上述终端设备进行网络注册连续异常的次数达到上述第一预设次数:The following steps may be repeatedly performed until the counted number of consecutive abnormalities in network registration of the terminal device reaches the first preset number:

S1,确定上述终端设备支持的网络制式信息以及支持的每个网络制式的频段信息;S1, determining the network standard information supported by the terminal device and the frequency band information of each supported network standard;

S2,在上述每个网络制式下进行上述网络注册,以及,在上述每个网络制式的每个频段下搜索以进行上述网络注册;S2, performing the network registration in each of the network standards, and searching in each frequency band of each of the network standards to perform the network registration;

S3,若接收到上述每个网络制式对应的拒绝信息且经过上述每个网络制式的每个频段下搜索仍无法注册,则确定上述网络注册异常,将统计的上述终端设备进行网络注册连续异常的次数加一。S3, if the rejection information corresponding to each of the above network standards is received and registration is still not possible after searching in each frequency band of each of the above network standards, it is determined that the above network registration is abnormal, and the number of consecutive network registration abnormalities of the above terminal device is increased by one.

可见,如此可以保证终端设备处于无论如何进行网络注册都无法成功的场景。It can be seen that this can ensure that the terminal device is in a scenario where network registration cannot be successful no matter what.

步骤304,若所述终端设备进行网络注册连续异常的次数达到第一预设次数,则停止将接收到的第一拒绝信息转换为第二拒绝信息。Step 304: If the number of consecutive network registration anomalies of the terminal device reaches a first preset number, stop converting the received first rejection information into the second rejection information.

步骤305,若所述终端设备进行网络注册连续异常的次数达到第二预设次数,则将接收到的所述第二拒绝信息转换为所述第一拒绝信息以及禁止在接收到所述第一拒绝信息时进行软重启。Step 305: If the number of consecutive network registration exceptions of the terminal device reaches a second preset number, the received second rejection information is converted into the first rejection information and a soft restart is prohibited when the first rejection information is received.

其中,所述第二预设次数大于所述第一预设次数,可以通过第二指令来指示将接收到的所述第二拒绝信息转换为所述第一拒绝信息以及禁止在接收到所述第一拒绝信息时进行软重启。Among them, the second preset number of times is greater than the first preset number of times, and a second instruction can be used to instruct to convert the received second rejection information into the first rejection information and prohibit soft restart when the first rejection information is received.

可见,如此可以进一步节省终端设备的功耗。It can be seen that this can further save the power consumption of the terminal device.

步骤306,若检测到所述终端设备仍处于所述网络稳定场景但超过预设时长,或,若检测到所述终端设备仍处于所述网络稳定场景但接收到用户反馈指令,则进行初始化处理并允许进行所述网络注册。Step 306: If it is detected that the terminal device is still in the network stable scenario but exceeds the preset time, or if it is detected that the terminal device is still in the network stable scenario but receives a user feedback instruction, initialization processing is performed and the network registration is allowed.

其中,上述初始化处理包括将统计的上述终端设备进行网络注册连续异常的次数置零、允许将接收到的上述第一拒绝信息转换为上述第二拒绝信息以及允许在接收到上述第一拒绝信息时进行软重启中的至少一项。Among them, the above-mentioned initialization processing includes setting the counted number of consecutive abnormalities in the network registration of the above-mentioned terminal device to zero, allowing the received first rejection information to be converted into the above-mentioned second rejection information, and allowing at least one of soft restart when the above-mentioned first rejection information is received.

如此可以避免终端设备在网络恢复的情况下仍然无法进行网络注册,提升用户体验。This can prevent the terminal device from being unable to register with the network even when the network is restored, thereby improving the user experience.

在一种可能的实施例中,在步骤301-306任意阶段,若检测到上述终端设备未处于上述网络稳定场景,则以默认处理方式进行上述网络注册,上述默认处理方式包括允许将接收到的上述第一拒绝信息转换为上述第二拒绝信息以及允许在接收到上述第一拒绝信息时进行软重启。In a possible embodiment, at any stage of steps 301-306, if it is detected that the above-mentioned terminal device is not in the above-mentioned network stable scenario, the above-mentioned network registration is performed in a default processing manner, and the above-mentioned default processing manner includes allowing the above-mentioned first rejection information received to be converted into the above-mentioned second rejection information and allowing a soft restart when the above-mentioned first rejection information is received.

上述未详细说明的内容可以参见上述1-7的说明,在此不做赘述。For the contents not described in detail above, please refer to the description of 1-7 above, which will not be repeated here.

三、一种终端设备的示例性说明3. Exemplary description of a terminal device

下面结合图4对本申请实施例中的一种终端设备进行说明,图4是本申请实施例的一种终端设备的结构示意图。其中,终端设备400包括处理器401、存储器402以及用于连接处理器401和存储器402的通信总线403。A terminal device in an embodiment of the present application is described below in conjunction with FIG4 , which is a schematic diagram of the structure of a terminal device in an embodiment of the present application. The terminal device 400 includes a processor 401 , a memory 402 , and a communication bus 403 for connecting the processor 401 and the memory 402 .

在一些可能的实现中,存储器402包括但不限于是随机存储记忆体(randomaccess memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read-only memory,EPROM)或便携式只读存储器(compact discread-only memory,CD-ROM),该存储器402用于存储终端设备400所执行的程序代码和所传输的数据。In some possible implementations, the memory 402 includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or portable read-only memory (CD-ROM), and the memory 402 is used to store the program code executed by the terminal device 400 and the transmitted data.

在一些可能的实现中,终端设备400还包括通信接口,其用于接收和发送数据。In some possible implementations, the terminal device 400 further includes a communication interface, which is used to receive and send data.

在一些可能的实现中,处理器401可以是一个或多个中央处理器(CPU),在处理器401是一个中央处理器(CPU)的情况下,该中央处理器(CPU)可以是单核中央处理器(CPU),也可以是多核中央处理器(CPU)。In some possible implementations, the processor 401 may be one or more central processing units (CPUs). When the processor 401 is a central processing unit (CPU), the central processing unit (CPU) may be a single-core central processing unit (CPU) or a multi-core central processing unit (CPU).

在一些可能的实现中,处理器401可以为基带芯片、芯片、中央处理器(CPU)、通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。In some possible implementations, the processor 401 may be a baseband chip, a chip, a central processing unit (CPU), a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof.

具体实现时,终端设备400中的处理器401用于执行存储器402中存储的程序指令421,执行以下操作:In a specific implementation, the processor 401 in the terminal device 400 is used to execute the program instructions 421 stored in the memory 402 to perform the following operations:

若所述终端设备进行网络注册连续异常的次数达到第一预设次数,则停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。If the number of consecutive abnormalities in the network registration of the terminal device reaches a first preset number, the conversion of the received first rejection information into the second rejection information is stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried.

可见,通过上述网络注册的处理方法及相关装置,可以在检测到所述终端设备进行网络注册连续异常的次数达到第一预设次数的情况下,停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。可以自动在网络环境稳定且无法注册成功的情况下尽可能控制终端设备不再重试网络注册,大大节省了设备功耗。It can be seen that through the above-mentioned network registration processing method and related devices, when it is detected that the number of consecutive abnormal network registrations of the terminal device reaches the first preset number, the conversion of the received first rejection information into the second rejection information can be stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried. When the network environment is stable and the registration cannot be successful, the terminal device can be automatically controlled to not retry the network registration as much as possible, which greatly saves the power consumption of the device.

需要说明的是,各个操作的具体实现可以采用上述所示的方法实施例的相应描述,终端设备400可以用于执行本申请上述方法实施例,对此不再赘述。It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the terminal device 400 can be used to execute the above method embodiment of the present application, which will not be repeated here.

四、一种网络注册的处理装置的示例性说明4. Exemplary description of a network registration processing device

上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and/or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

本申请实施例可以根据上述方法示例对终端设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the terminal device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

在采用对应各个功能划分各个功能模块的情况下,图5为本申请实施例提供的一种网络注册的处理装置的功能单元组成框图,所述网络注册的处理装置500包括:In the case of dividing each functional module according to each function, FIG5 is a block diagram of functional units of a network registration processing device provided in an embodiment of the present application, and the network registration processing device 500 includes:

处理单元510,用于若所述终端设备进行网络注册连续异常的次数达到第一预设次数,则停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。Processing unit 510 is used to stop converting the received first rejection information into the second rejection information if the number of consecutive abnormalities in the network registration of the terminal device reaches a first preset number, wherein the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried.

可见,通过上述网络注册的处理方法及相关装置,可以在检测到所述终端设备进行网络注册连续异常的次数达到第一预设次数的情况下,停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。可以自动在网络环境稳定且无法注册成功的情况下尽可能控制终端设备不再重试网络注册,大大节省了设备功耗。It can be seen that through the above-mentioned network registration processing method and related devices, when it is detected that the number of consecutive abnormal network registrations of the terminal device reaches the first preset number, the conversion of the received first rejection information into the second rejection information can be stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried. When the network environment is stable and the registration cannot be successful, the terminal device can be automatically controlled to not retry the network registration as much as possible, which greatly saves the power consumption of the device.

需要说明的是,各个操作的具体实现可以采用上述所示的方法实施例的相应描述,网络注册的处理装置500可以用于执行本申请上述方法实施例,对此不再赘述。It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the network registration processing device 500 can be used to execute the above method embodiment of the present application, which will not be repeated here.

五、另一种网络注册的处理装置的示例性说明V. Exemplary Description of Another Network Registration Processing Device

在采用集成的单元的情况下,下面结合图6对本申请实施例中的另一种网络注册的处理装置600进行详细说明,所述网络注册的处理装置600包括处理单元601和通信单元602,其中,所述处理单元601,用于执行如上述方法实施例中的任一步骤,且在执行诸如发送等数据传输时,可选择的调用所述通信单元602来完成相应操作。In the case of adopting an integrated unit, another network registration processing device 600 in an embodiment of the present application is described in detail below in conjunction with Figure 6, and the network registration processing device 600 includes a processing unit 601 and a communication unit 602, wherein the processing unit 601 is used to execute any step in the above method embodiment, and when performing data transmission such as sending, the communication unit 602 can be selectively called to complete the corresponding operation.

其中,所述网络注册的处理装置600还可以包括存储单元603,用于存储程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是无线通信模块,存储单元603可以是存储器。The network registration processing device 600 may further include a storage unit 603 for storing program codes and data. The processing unit 601 may be a processor, the communication unit 602 may be a wireless communication module, and the storage unit 603 may be a memory.

所述处理单元601具体用于:The processing unit 601 is specifically used for:

若所述终端设备进行网络注册连续异常的次数达到第一预设次数,则停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。If the number of consecutive abnormalities in the network registration of the terminal device reaches a first preset number, the conversion of the received first rejection information into the second rejection information is stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried.

可见,通过上述网络注册的处理方法及相关装置,可以在检测到所述终端设备进行网络注册连续异常的次数达到第一预设次数的情况下,停止将接收到的第一拒绝信息转换为第二拒绝信息,所述第一拒绝信息为禁止进行所述网络注册的拒绝信息,所述第二拒绝信息为允许重试所述网络注册的拒绝信息。可以自动在网络环境稳定且无法注册成功的情况下尽可能控制终端设备不再重试网络注册,大大节省了设备功耗。It can be seen that through the above-mentioned network registration processing method and related devices, when it is detected that the number of consecutive abnormal network registrations of the terminal device reaches the first preset number, the conversion of the received first rejection information into the second rejection information can be stopped, the first rejection information is the rejection information prohibiting the network registration, and the second rejection information is the rejection information allowing the network registration to be retried. When the network environment is stable and the registration cannot be successful, the terminal device can be automatically controlled to not retry the network registration as much as possible, which greatly saves the power consumption of the device.

需要说明的是,各个操作的具体实现可以采用上述所示的方法实施例的相应描述,网络注册的处理装置600可以用于执行本申请上述方法实施例,对此不再赘述。It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the network registration processing device 600 can be used to execute the above method embodiment of the present application, which will not be described in detail.

六、其他示例说明6. Other examples

本申请实施例还提供了一种芯片,包括处理器、存储器及存储在该存储器上的计算机程序或指令,其中,该处理器执行该计算机程序或指令以实现上述方法实施例所描述的步骤。An embodiment of the present application also provides a chip, including a processor, a memory, and a computer program or instructions stored in the memory, wherein the processor executes the computer program or instructions to implement the steps described in the above method embodiment.

本申请实施例还提供了一种芯片模组,包括收发组件和芯片,该芯片包括处理器、存储器及存储在该存储器上的计算机程序或指令,其中,该处理器执行该计算机程序或指令以实现上述方法实施例所描述的步骤。An embodiment of the present application also provides a chip module, including a transceiver component and a chip, the chip including a processor, a memory and a computer program or instructions stored in the memory, wherein the processor executes the computer program or instructions to implement the steps described in the above method embodiment.

本申请实施例还提供了一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes an electronic device.

本申请实施例还提供了一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.

需要说明的是,对于上述的各个实施例,为了简单描述,将其都表述为一系列的动作组合。本领域技术人员应该知悉,本申请不受所描述的动作顺序的限制,因为本申请实施例中的某些步骤可以采用其他顺序或者同时进行。另外,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作、步骤、模块或单元等并不一定是本申请实施例所必须的。It should be noted that, for the above-mentioned various embodiments, for the sake of simple description, they are all expressed as a series of action combinations. Those skilled in the art should be aware that the present application is not limited by the described order of actions, because some steps in the embodiments of the present application can be performed in other orders or simultaneously. In addition, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions, steps, modules or units involved are not necessarily required by the embodiments of the present application.

在上述实施例中,本申请实施例对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the embodiments of the present application have different focuses on the description of each embodiment. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

本申请实施例所描述的方法或者算法的步骤可以以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM、闪存、ROM、EPROM、电可擦可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于终端设备或管理设备中。当然,处理器和存储介质也可以作为分立组件存在于终端设备或管理设备中。The steps of the method or algorithm described in the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device or a management device. Of course, the processor and the storage medium can also be present in a terminal device or a management device as discrete components.

本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输。例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriberline,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

上述实施例中描述的各个装置、产品包含的各个模块/单元,其可以是软件模块/单元,也可以是硬件模块/单元,或者也可以部分是软件模块/单元,部分是硬件模块/单元。例如,对于应用于或集成于芯片的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于芯片模组的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模块/单元可以位于芯片模组的同一组件(例如芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于芯片模组内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现;对于应用于或集成于终端设备的各个装置、产品,其包含的各个模块/单元可以都采用电路等硬件的方式实现,不同的模块/单元可以位于终端设备内同一组件(例如,芯片、电路模块等)或者不同组件中,或者,至少部分模块/单元可以采用软件程序的方式实现,该软件程序运行于终端设备内部集成的处理器,剩余的(如果有)部分模块/单元可以采用电路等硬件方式实现。The modules/units included in the devices and products described in the above embodiments may be software modules/units or hardware modules/units, or may be partially software modules/units and partially hardware modules/units. For example, for the devices and products applied to or integrated in the chip, the modules/units included therein may all be implemented in the form of hardware such as circuits, or at least some of the modules/units may be implemented in the form of software programs, which run on the processor integrated inside the chip, and the remaining (if any) modules/units may be implemented in the form of hardware such as circuits; for the devices and products applied to or integrated in the chip module, the modules/units included therein may all be implemented in the form of hardware such as circuits, and different modules/units may be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules/units may be It is implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules/units can be implemented in hardware such as circuits; for various devices and products applied to or integrated in the terminal equipment, the various modules/units contained therein can be implemented in hardware such as circuits, and different modules/units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal equipment, or, at least some modules/units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal equipment, and the remaining (if any) modules/units can be implemented in hardware such as circuits.

以上所述的具体实施方式,对本申请实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请实施例的具体实施方式而已,并不用于限定本申请实施例的保护范围,凡在本申请实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请实施例的保护范围之内。The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above description is only the specific implementation method of the embodiments of the present application and is not intended to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims (11)

1. A method for processing network registration, applied to a terminal device, the method comprising:
If the number of continuous network registration abnormality of the terminal equipment reaches a first preset number, the received first rejection information is stopped being converted into second rejection information, wherein the first rejection information is rejection information for prohibiting network registration, and the second rejection information is rejection information for allowing retry of network registration.
2. The method of claim 1, wherein the terminal device is in a network stability scenario, the network stability scenario being a scenario in which a cell of the terminal device is unchanged.
3. The method according to claim 1 or 2, wherein after stopping converting the received first reject information into the second reject information if the number of times the terminal device performs network registration continuation abnormality reaches the first preset number of times, the method further comprises:
If the number of continuous network registration abnormality of the terminal equipment reaches a second preset number, converting the received second rejection information into the first rejection information and prohibiting soft restart when the first rejection information is received, wherein the second preset number is larger than the first preset number.
4. The method according to claim 2, wherein before stopping converting the received first reject information into the second reject information if the number of consecutive anomalies in network registration by the terminal device reaches the first preset number of times, the method further comprises:
detecting the motion state of the terminal equipment;
and if the motion state belongs to a static state or a inching state, determining that the terminal equipment is in the network stable scene.
5. The method of claim 4, wherein the detecting the motion state of the terminal device comprises:
detecting the speed of the terminal equipment;
determining that the motion state belongs to the stationary state when the speed is 0;
And determining that the motion state belongs to the inching state when the speed is greater than 0 and continuously smaller than a first speed threshold, or when the speed is continuously greater than or equal to the first speed threshold and continuously longer than a continuously longer threshold, or when the accumulated time length of the speed greater than or equal to the first speed threshold is smaller than an accumulated time length threshold.
6. The method of claim 4, wherein if the motion state belongs to a stationary state or a jog state, the method further comprises, after determining that the terminal device is in the network stabilization scenario:
Determining network system information supported by the terminal equipment and frequency band information of each supported network system;
performing the network registration under each network system, and searching under each frequency band of each network system to perform the network registration;
If the rejection information corresponding to each network system is received and the network registration is still impossible to register after searching under each frequency band of each network system, determining that the network registration is abnormal, and adding one to the counted number of continuous network registration abnormality times of the terminal equipment.
7. The method according to any one of claims 3-6, wherein if the number of consecutive anomalies in network registration by the terminal device reaches a second preset number, converting the received second reject information into the first reject information and prohibiting soft restart upon receipt of the first reject information, the method further comprises:
If the terminal equipment is detected to be still in the network stability scene and exceeds a preset time period, or if the terminal equipment is detected to be still in the network stability scene and receives a user feedback instruction, initializing and allowing the network registration, wherein the initializing comprises at least one of zeroing the counted number of continuous abnormality of the network registration of the terminal equipment, allowing the received first rejection information to be converted into the second rejection information and allowing soft restart to be performed when the first rejection information is received.
8. The method according to any one of claims 3-6, further comprising:
And if the terminal equipment is detected not to be in the network stability scene, performing network registration in a default processing mode, wherein the default processing mode comprises the steps of allowing the received first rejection information to be converted into the second rejection information and allowing soft restart to be performed when the first rejection information is received.
9. A processing apparatus for network registration, applied to a terminal device, the apparatus comprising:
And the processing unit is used for stopping converting the received first rejection information into second rejection information if the number of continuous abnormal network registration times of the terminal equipment reaches a first preset number of times, wherein the first rejection information is rejection information for prohibiting network registration, and the second rejection information is rejection information for allowing retry of network registration.
10. A terminal device, comprising: a processor, a memory, and one or more programs; the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-8.
11. A computer storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1-8.
CN202211341867.4A 2022-10-28 2022-10-28 Network registration processing method and related device Pending CN117956569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211341867.4A CN117956569A (en) 2022-10-28 2022-10-28 Network registration processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211341867.4A CN117956569A (en) 2022-10-28 2022-10-28 Network registration processing method and related device

Publications (1)

Publication Number Publication Date
CN117956569A true CN117956569A (en) 2024-04-30

Family

ID=90793254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211341867.4A Pending CN117956569A (en) 2022-10-28 2022-10-28 Network registration processing method and related device

Country Status (1)

Country Link
CN (1) CN117956569A (en)

Similar Documents

Publication Publication Date Title
US12256365B2 (en) Communication method and apparatus
US20220394459A1 (en) Communications method and apparatus
US20200205120A1 (en) Wireless communication method, network device, and terminal device
CN114080825B (en) Wireless communication method, terminal, base station, communication equipment and storage medium
CN112566266B (en) Communication method, communication apparatus, communication device, storage medium, and program product
US20140003293A1 (en) Enabling direct links between computing devices on an extended service set
CN114828203A (en) Information processing method, device, equipment and readable storage medium
KR20230045001A (en) Method for estimating position of terminal, system and method therefor
WO2022011618A1 (en) Information processing method, terminal device, and network device
US20240137890A1 (en) Wireless user equipment (ue) registration with networking data responsive to external control
CN115516927B (en) Wireless communication method, terminal device and network device
CN115580904A (en) Wireless communication method and device, terminal and network equipment
WO2023237107A1 (en) Paging method and apparatus, terminal device, network device and chip
CN111479294B (en) Congestion control data connection establishment method, terminal and storage medium
CN116489723A (en) Communication method, device and system
CN114258058A (en) Measuring method, measuring device, terminal and network equipment
CN117956569A (en) Network registration processing method and related device
CN113747522A (en) A switching method and device
CN116709524A (en) Communication method and related device
CN114390615B (en) Wireless communication method and device, terminal and storage medium
CN119014055A (en) Communication method and communication device
CN115052326A (en) Communication method and related device
CN115190594A (en) Monitoring method and device, terminal and network equipment
CN116634455B (en) Method and apparatus for sending reports from self-organizing networks
US10051539B2 (en) Access network offloading method, device, and system

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