CN115334636A - A 5G network search and registration method, device, and computer-readable storage medium - Google Patents
A 5G network search and registration method, device, and computer-readable storage medium Download PDFInfo
- Publication number
- CN115334636A CN115334636A CN202210973842.XA CN202210973842A CN115334636A CN 115334636 A CN115334636 A CN 115334636A CN 202210973842 A CN202210973842 A CN 202210973842A CN 115334636 A CN115334636 A CN 115334636A
- Authority
- CN
- China
- Prior art keywords
- network
- search
- last registered
- registration
- priority
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
- H04W60/04—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration using triggered events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
- H04W60/02—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration by periodical registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动通信领域,尤其涉及一种5G网络搜网注册方法、设备及计算机可读存储介质。The present invention relates to the field of mobile communications, in particular to a 5G network search and registration method, device and computer-readable storage medium.
背景技术Background technique
现有技术中,5G网络已在全球逐步普及,但目前5G/4G/3G/2G网络并存,在此复杂的网络中,会出现一些设备无法快速注册到5G的情况。特别地,设备要很快地注册到5G并不是很容易,尤其对于双卡设备抢占资源的情况,一旦开始没注册到5G,要进入空闲状态也不容易,需要一定时间。而且为了省电,一般设备对于NSA 5G采用了省电的策略,在网速较低是不去连接NSA5G,但是,网络并不清楚设备端所设置的省电策略,在4G网络时,网络可能一直要求终端去测量NSA 5G,而设备端却因为省电策略而不去测量,双方无法交互,导致网络在一段时间内不释放连接,设备也就无法进入空闲状态启动4G到5G的注册流程。In the existing technology, 5G networks have been gradually popularized around the world, but currently 5G/4G/3G/2G networks coexist. In this complex network, some devices may not be able to quickly register to 5G. In particular, it is not easy for a device to quickly register to 5G, especially for dual-card devices that occupy resources. Once it is not registered to 5G, it is not easy to enter the idle state, and it will take a certain amount of time. Moreover, in order to save power, general equipment adopts a power-saving strategy for NSA 5G, and does not connect to NSA5G when the network speed is low. However, the network does not know the power-saving strategy set on the device side. The terminal has been required to measure NSA 5G, but the device side does not measure it because of the power saving strategy. The two parties cannot interact, resulting in the network not releasing the connection for a period of time, and the device cannot enter the idle state to start the registration process from 4G to 5G.
因此,在目前5G/4G/3G/2G网络并存的情况下,如何对设备端的搜网注册进行适应性地调整,以使设备能够较快地注册到5G网络,成为亟待解决的技术问题。Therefore, under the current coexistence of 5G/4G/3G/2G networks, how to adaptively adjust the search network registration on the device side, so that the device can register to the 5G network quickly, has become an urgent technical problem to be solved.
发明内容Contents of the invention
为了解决现有技术中的上述技术缺陷,本发明提出了一种5G网络搜网注册方法,该方法包括:In order to solve the above-mentioned technical defects in the prior art, the present invention proposes a 5G network search and registration method, which includes:
获取设备当前的搜网注册场景;Obtain the current Souwang registration scene of the device;
在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网;When the device is turned on, the card is hot-swapped, and the network mode is modified, the preset network search policy is set to the last registered network for priority search;
将上次注册网络设置为空,以使所述设备开机、所述热插拔卡以及所述修改网络模式的场景下,按预设的网络优先级执行搜网注册;The last registered network is set to empty, so that under the scene of starting the device, the hot-swappable card and the modified network mode, the network search registration is performed according to the preset network priority;
在退出飞行模式的场景下,将所述搜网策略设置为以上次注册网络进行优先搜网,其中,所述上次注册网络不为空。In the scenario of exiting the flight mode, the network search strategy is set to search the network with the last registered network first, wherein the last registered network is not empty.
可选地,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,包括:Optionally, in the scenario where the device is turned on, the card is hot-swapped, and the network mode is modified, the preset network search strategy is set to perform a priority search on the last registered network, including:
在所述设备开机场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;In the scene where the device is turned on, it is detected whether the network search strategy is to search the network with priority for the last registered network;
在所述搜网策略不以上次注册网络进行优先搜网,而以所述网络优先级进行搜网时,获取所述网络优先级。The network priority is obtained when the network search strategy does not perform the network search with the priority of the last registered network, but performs the network search with the network priority.
可选地,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,还包括:Optionally, in the scenario where the device is turned on, the card is hot-swapped, and the network mode is modified, setting the preset search strategy to search the network with the last registered network as the priority, further includes:
在所述网络优先级中的最高优先级是5G网络时,执行所述网络优先级的搜网注册;When the highest priority among the network priorities is a 5G network, perform network search and registration of the network priorities;
在所述网络优先级中的最高优先级不是5G网络时,将所述搜网策略设置为以上次注册网络进行优先搜网,并将上次注册网络设置为空,以使所述设备开机的场景下,按预设的网络优先级执行搜网注册。When the highest priority among the network priorities is not a 5G network, set the network search strategy to search the network with the last registered network as the priority, and set the last registered network to be empty, so that the device is turned on In this scenario, perform network search and registration according to the preset network priority.
可选地,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,包括:Optionally, in the scenario where the device is turned on, the card is hot-swapped, and the network mode is modified, the preset network search strategy is set to perform a priority search on the last registered network, including:
在所述热插拔卡场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;In the hot-swappable card scenario, detect whether the network search strategy is to search the network with priority for the last registered network;
在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。When the network search strategy is to search the network preferentially with the last registered network, the last registered network is acquired.
可选地,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,还包括:Optionally, in the scenario where the device is turned on, the card is hot-swapped, and the network mode is modified, setting the preset search strategy to search the network with the last registered network as the priority, further includes:
在上次注册网络是5G网络时,执行上次注册网络的搜网注册;When the last registered network is a 5G network, execute the search registration of the last registered network;
在上次注册网络不是5G网络时,将上次注册网络设置为空,以使所述热插拔卡的场景下,按预设的网络优先级执行搜网注册。When the last registered network is not a 5G network, the last registered network is set to be empty, so that in the scene of the hot-swappable card, the network search registration is performed according to the preset network priority.
可选地,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,包括:Optionally, in the scenario where the device is turned on, the card is hot-swapped, and the network mode is modified, the preset network search strategy is set to perform a priority search on the last registered network, including:
在所述修改网络模式的场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;In the scenario of modifying the network mode, it is detected whether the network search strategy is to search the network with priority in the last registered network;
在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。When the network search strategy is to search the network preferentially with the last registered network, the last registered network is acquired.
可选地,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,还包括:Optionally, in the scenario where the device is turned on, the card is hot-swapped, and the network mode is modified, setting the preset search strategy to search the network with the last registered network as the priority, further includes:
在所述上次注册网络包含于所述网络优先级、且所述上次注册网络是5G网络时,执行所述网络优先级的搜网注册;When the last registered network is included in the network priority and the last registered network is a 5G network, perform network search and registration of the network priority;
在所述上次注册网络未包含于所述网络优先级时,将上次注册网络设置为空,以使所述修改网络模式的场景下,按网络模式修改后的网络优先级执行搜网注册。When the last registered network is not included in the network priority, set the last registered network to be empty, so that in the scenario of modifying the network mode, perform network search and registration according to the modified network priority of the network mode .
可选地,所述在退出飞行模式的场景下,将所述搜网策略设置为以上次注册网络进行优先搜网,其中,所述上次注册网络不为空,包括:Optionally, in the scenario of exiting the flight mode, setting the search strategy to search the network with the last registered network as the priority, wherein the last registered network is not empty, including:
在所述退出飞行模式的场景下,确定所述搜网策略是以上次注册网络进行优先搜网;In the scenario of exiting the flight mode, it is determined that the network search strategy is to search the network with priority on the last registered network;
在上次注册网络是5G网络时,执行上次注册网络的搜网注册,在上次注册网络不是5G网络时,将上次注册网络设置为空,以使所述退出飞行模式的场景下,按预设的网络优先级执行搜网注册。When the last registered network is a 5G network, execute the search network registration of the last registered network, and when the last registered network is not a 5G network, set the last registered network to empty, so that in the scenario of exiting the flight mode, According to the preset network priority, perform search network registration.
本发明还提出了一种5G网络搜网注册设备,该设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上任一项所述的5G网络搜网注册方法的步骤。The present invention also proposes a 5G network search and registration device, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor, and the computer program is executed by the processor When executing, realize the steps of the 5G network search and registration method described in any one of the above.
本发明还提出了一种计算机可读存储介质,该计算机可读存储介质上存储有5G网络搜网注册程序,5G网络搜网注册程序被处理器执行时实现如上述任一项所述的5G网络搜网注册方法的步骤。The present invention also proposes a computer-readable storage medium, the computer-readable storage medium stores a 5G network search registration program, and when the 5G network search registration program is executed by a processor, the 5G network registration program as described in any one of the above is realized. The steps of the registration method of Internet search.
实施本发明的5G网络搜网注册方法、设备及计算机可读存储介质,通过获取设备当前的搜网注册场景;在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网;将上次注册网络设置为空,以使所述设备开机、所述热插拔卡以及所述修改网络模式的场景下,按预设的网络优先级执行搜网注册;在退出飞行模式的场景下,将所述搜网策略设置为以上次注册网络进行优先搜网,其中,所述上次注册网络不为空。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。Implement the 5G network search registration method, device and computer-readable storage medium of the present invention, by obtaining the current search registration scene of the device; The network policy is set to search the network with the priority of the last registered network; set the last registered network to empty, so that in the scene of the device being turned on, the hot-swappable card, and the modified network mode, according to the preset network Perform network search and registration with priority; in the scenario of exiting the flight mode, set the network search strategy to perform network search with the last registered network, wherein the last registered network is not empty. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1是本发明涉及的一种移动终端的硬件结构示意图;Fig. 1 is a schematic diagram of the hardware structure of a mobile terminal involved in the present invention;
图2是本发明5G网络搜网注册方法第一实施例的流程图;Fig. 2 is a flowchart of the first embodiment of the 5G network search and registration method of the present invention;
图3是本发明5G网络搜网注册方法第二实施例的流程图;Fig. 3 is a flow chart of the second embodiment of the 5G network search and registration method of the present invention;
图4是本发明5G网络搜网注册方法第三实施例的流程图;Fig. 4 is a flow chart of the third embodiment of the 5G network search and registration method of the present invention;
图5是本发明5G网络搜网注册方法第四实施例的流程图;5 is a flow chart of a fourth embodiment of the method for searching and registering a 5G network in the present invention;
图6是本发明5G网络搜网注册方法第五实施例的流程图;Fig. 6 is a flow chart of the fifth embodiment of the method for searching and registering in the 5G network of the present invention;
图7是本发明5G网络搜网注册方法第六实施例的流程图;Fig. 7 is a flow chart of the sixth embodiment of the 5G network search and registration method of the present invention;
图8是本发明5G网络搜网注册方法第七实施例的流程图;Fig. 8 is a flow chart of the seventh embodiment of the 5G network search and registration method of the present invention;
图9是本发明5G网络搜网注册方法第八实施例的流程图。FIG. 9 is a flow chart of an eighth embodiment of a method for searching and registering a 5G network according to the present invention.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.
终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。Terminals may be implemented in various forms. For example, the terminals described in the present invention may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, portable Mobile terminals such as wearable devices, smart bracelets, and pedometers, and fixed terminals such as digital TVs and desktop computers.
后续描述中将以移动终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。In the following description, a mobile terminal will be taken as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present invention can also be applied to fixed-type terminals.
请参阅图1,其为实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1 , which is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The
下面结合图1对移动终端的各个部件进行具体的介绍:Each component of the mobile terminal is specifically introduced below in combination with FIG. 1:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(CodeDivision Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code DivisionMultiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous CodeDivision Multiple Access,时分同步码分多址)、FDD-LTE(Frequency DivisionDuplexing-Long Term Evolution,频分双工长期演进)和TDD-LTE(Time DivisionDuplexing-Long Term Evolution,分时双工长期演进)等。The
WiFi属于短距离无线传输技术,移动终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile terminal can help users send and receive emails, browse web pages, and access streaming media through the
音频输出单元103可以在移动终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。The
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The
进一步的,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元108用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
尽管图1未示出,移动终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the
基于上述移动终端硬件结构,提出本发明方法各个实施例。Based on the above mobile terminal hardware structure, various embodiments of the method of the present invention are proposed.
实施例一Embodiment one
图2是本发明5G网络搜网注册方法第一实施例的流程图。一种5G网络搜网注册方法,该方法包括:Fig. 2 is a flow chart of the first embodiment of the 5G network search and registration method of the present invention. A 5G network search registration method, the method comprising:
S1、获取设备当前的搜网注册场景;S1. Acquiring the current registration scene of the device;
S2、在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网;S2. In the scenario where the device is powered on, the card is hot-swapped, and the network mode is modified, set the preset network search policy to search the network with priority for the last registered network;
S3、将上次注册网络设置为空,以使所述设备开机、所述热插拔卡以及所述修改网络模式的场景下,按预设的网络优先级执行搜网注册;S3. Set the last registered network to be empty, so that in the scene where the device is turned on, the hot-swappable card and the network mode are modified, the network search registration is performed according to the preset network priority;
S4、在退出飞行模式的场景下,将所述搜网策略设置为以上次注册网络进行优先搜网,其中,所述上次注册网络不为空。S4. In the scenario of exiting the flight mode, set the network search strategy to search the network preferentially in the last registered network, wherein the last registered network is not empty.
在本实施例中,将RPLMN作为上一次注册的网络,将RPLMNACT作为是否使用RPLMN来优先搜网,将mode_pref作为网络模式,其定义了各网络的优先级。In this embodiment, RPLMN is used as the last registered network, RPLMNACT is used as whether to use RPLMN to preferentially search the network, and mode_pref is used as the network mode, which defines the priority of each network.
在本实施例中,将设备原始的RPLMNACT适时地替换RPLMNACT_1,由此,根据RPLMNACT_1、RPLMN、mode_pref来执行新的搜网注册,策略如下所述。In this embodiment, the original RPLMNACT of the device is replaced in time with RPLMNACT_1, so that a new network search registration is performed according to RPLMNACT_1, RPLMN, and mode_pref, and the strategy is as follows.
在本实施例中,如果RPLMNACT_1为0,那么不选择mode_pref定义的优先级来搜网,而是去读卡里设定的优先级,即,根据设备的卡里设定的优先级来搜网。In this embodiment, if RPLMNACT_1 is 0, then do not choose the priority defined by mode_pref to search the Internet, but read the priority set in the card, that is, search the Internet according to the priority set in the card of the device .
在本实施例中,如果RPLMNACT_1为1,分两种情况,一是,如果RPLMN为空,则根据mode_pref的优先级来搜网,二是,如果RPLMN不为空,则根据RPLMN来搜网,即,如果搜不到RPLMN网络,再根据mode_pref来搜网。In this embodiment, if RPLMNACT_1 is 1, there are two cases, one is, if RPLMN is empty, then search the network according to the priority of mode_pref, and the other is, if RPLMN is not empty, then search the network according to RPLMN, That is, if the RPLMN network cannot be found, then search the network according to mode_pref.
需要说明的是,在本实施例中,考虑到原始的RPLMNACT里的数值牵扯较多,因此,本实施例在搜网部分,采用RPLMNACT_1代替RPLMNACT,其各场景该值都为1,对应的,搜网优先级由mode_pref决定,而不去读卡里的优先级。It should be noted that in this embodiment, considering that the values in the original RPLMNACT are more involved, therefore, in this embodiment, RPLMNACT_1 is used instead of RPLMNACT in the part of network search, and the value of each scene is 1. Correspondingly, The search network priority is determined by mode_pref instead of reading the priority in the card.
在本实施例中,以下对各场景下RPLMNACT_1、RPLMN的值进行说明。In this embodiment, the values of RPLMNACT_1 and RPLMN in each scenario are described below.
在本实施例中,针对开机启动终端/热插拔卡/修改mode_pref的场景,均是优先搜最高优先级网络,即,将RPLMNAC_1设为1,RPLMN设为FF(空),不同的是,在退出飞行模式的场景下,优先搜RPLMN。In this embodiment, for the scenarios of booting the terminal/hot-swapping card/modifying mode_pref, the highest priority network is first searched, that is, RPLMNAC_1 is set to 1, and RPLMN is set to FF (null). The difference is, In the scenario of exiting the airplane mode, search for RPLMN first.
在本实施例中,针对上述开机启动终端/热插拔卡/修改mode_pref的场景,设置RPLMNACT_1=1,RPLMN=FF,按设定的mode_pref优先级搜网。例如,mode_pref为5G/4G/3G/2G,则优先搜5G。In this embodiment, for the above-mentioned scenarios of booting up the terminal/hot-plugging the card/modifying the mode_pref, set RPLMNACT_1=1, RPLMN=FF, and search the network according to the set mode_pref priority. For example, if mode_pref is 5G/4G/3G/2G, 5G will be searched first.
在本实施例中,针对上述退出飞行模式的场景,设置RPLMNACT_1=1,即,先搜RPLMN,同时,考虑到其他场景优先考虑了搜5G,此处则以当前的RPLMN优先,从而也能快速地注册到合适的网络。In this embodiment, set RPLMNACT_1=1 for the above-mentioned scenario of exiting the flight mode, that is, search for RPLMN first, and at the same time, consider other scenarios to give priority to searching for 5G. Here, the current RPLMN is given priority, so that it can also quickly properly register to the appropriate network.
本实施例的有益效果在于,通过获取设备当前的搜网注册场景;在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网;将上次注册网络设置为空,以使所述设备开机、所述热插拔卡以及所述修改网络模式的场景下,按预设的网络优先级执行搜网注册;在退出飞行模式的场景下,将所述搜网策略设置为以上次注册网络进行优先搜网,其中,所述上次注册网络不为空。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, by obtaining the current network search registration scene of the device; in the scene of device startup, hot plugging and network mode modification, the preset network search policy is set to preferentially search for the last registered network. network; set the last registered network to be empty, so that in the scene where the device is turned on, the hot-swappable card and the network mode are modified, the network search registration is performed according to the preset network priority; after exiting the flight mode In the scenario, the network search policy is set to search the network preferentially with the last registered network, wherein the last registered network is not empty. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例二Embodiment two
图3是本发明5G网络搜网注册方法第二实施例的流程图,基于上述实施例,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,包括:Fig. 3 is a flow chart of the second embodiment of the 5G network search and registration method of the present invention. Based on the above-mentioned embodiment, the preset network search strategy is set to Priority search for the last registered network, including:
S21、在所述设备开机场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;S21. In the scene where the device is powered on, detect whether the network search strategy is to search the network with priority for the last registered network;
S22、在所述搜网策略不以上次注册网络进行优先搜网,而以所述网络优先级进行搜网时,获取所述网络优先级。S22. Acquiring the network priority when the network search strategy does not perform network search preferentially on the last registered network, but performs network search according to the network priority.
可选地,在本实施例中,考虑到现有的设备开机场景下,RPLMNACT为0,不跟据设备设置的网络模式的优先级(5G、4G、3G、2G由高到低优先级)来搜网,而是从卡里读取优先级,有些卡的优先级可能是(4G、3G、5G、2G),所以开始搜4G,注册到4G,完成注册,进入空闲状态,启动4G到5G的流程,满足一定的算法,可注册到5G。但是如果在空闲状态前,网络将该卡重定向到3G,那么就很难直接从3G注册到5G,必须先从3G重选到4G,再从4G重选(有SIB24)到5G,或者空闲状态启动4G到5G流程(无SIB24);或者3G无服务,然后搜5G,注册到5G。因此,本实施例对上述执行流程进行适应性地调整,首先,在所述设备开机场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;然后,在所述搜网策略不以上次注册网络进行优先搜网,而以所述网络优先级进行搜网时,获取所述网络优先级。从而使得流程优化,留出资源以进行快速地5G网络搜网和注册。Optionally, in this embodiment, considering the existing device startup scenario, RPLMNACT is 0, and does not follow the priority of the network mode set by the device (5G, 4G, 3G, 2G priority from high to low) To search the Internet, read the priority from the card. Some cards may have priority (4G, 3G, 5G, 2G), so start searching for 4G, register to 4G, complete registration, enter idle state, start 4G to The 5G process meets certain algorithms and can be registered to 5G. However, if the network redirects the card to 3G before the idle state, it is difficult to register directly from 3G to 5G. You must first reselect from 3G to 4G, and then reselect from 4G (with SIB24) to 5G, or idle The state starts the 4G to 5G process (no SIB24); or 3G has no service, then search for 5G, and register to 5G. Therefore, in this embodiment, the above execution process is adaptively adjusted. First, in the scene where the device is powered on, it is detected whether the network search policy is to search the network with priority in the last registered network; then, in the network search policy The network priority is obtained when searching the network with the priority of the network instead of the last registered network. This optimizes the process and reserves resources for fast 5G network search and registration.
本实施例的有益效果在于,通过在所述设备开机场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;在所述搜网策略不以上次注册网络进行优先搜网,而以所述网络优先级进行搜网时,获取所述网络优先级。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, in the scene where the device is turned on, it is detected whether the network search policy is to search the network with priority on the last registered network; When searching the network with the network priority, the network priority is acquired. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例三Embodiment three
图4是本发明5G网络搜网注册方法第三实施例的流程图,基于上述实施例,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,还包括:Fig. 4 is a flow chart of the third embodiment of the 5G network search and registration method of the present invention. Based on the above-mentioned embodiment, the preset network search strategy is set to For priority search of the last registered network, it also includes:
S23、在所述网络优先级中的最高优先级是5G网络时,执行所述网络优先级的搜网注册;S23. When the highest priority among the network priorities is a 5G network, perform network search and registration of the network priorities;
S24、在所述网络优先级中的最高优先级不是5G网络时,将所述搜网策略设置为以上次注册网络进行优先搜网,并将上次注册网络设置为空,以使所述设备开机的场景下,按预设的网络优先级执行搜网注册。S24. When the highest priority among the network priorities is not the 5G network, set the network search strategy to search the network with the last registered network as the priority, and set the last registered network to empty, so that the device In the scene of starting up, search and register according to the preset network priority.
可选地,在本实施例中,如上例所述,在所述网络优先级中的最高优先级是5G网络时,执行所述网络优先级的搜网注册;在所述网络优先级中的最高优先级不是5G网络时,将所述搜网策略设置为以上次注册网络进行优先搜网,并将上次注册网络设置为空,以使所述设备开机的场景下,按预设的网络优先级执行搜网注册。由此,避免了在空闲状态前,网络将该卡重定向到3G,即,很难直接从3G注册到5G。有效避免了设备必须先从3G重选到4G,再从4G重选(有SIB24)到5G,或者空闲状态启动4G到5G流程(无SIB24);或者3G无服务,然后搜5G,注册到5G的繁杂逻辑。Optionally, in this embodiment, as described in the above example, when the highest priority among the network priorities is a 5G network, perform network search and registration of the network priority; When the highest priority is not the 5G network, set the network search strategy to search the network with the last registered network as the priority, and set the last registered network to empty, so that when the device is turned on, the network will be searched according to the preset network Priority execution search network registration. Thus, it is avoided that the network redirects the card to 3G before the idle state, that is, it is difficult to register directly from 3G to 5G. It effectively prevents the device from having to reselect from 3G to 4G first, and then reselect from 4G (with SIB24) to 5G, or start the 4G to 5G process in idle state (without SIB24); or 3G has no service, then search for 5G, and register to 5G complicated logic.
本实施例的有益效果在于,通过在所述网络优先级中的最高优先级是5G网络时,执行所述网络优先级的搜网注册;在所述网络优先级中的最高优先级不是5G网络时,将所述搜网策略设置为以上次注册网络进行优先搜网,并将上次注册网络设置为空,以使所述设备开机的场景下,按预设的网络优先级执行搜网注册。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, when the highest priority among the network priorities is a 5G network, the search and registration of the network priority is performed; the highest priority among the network priorities is not a 5G network , set the network search strategy to search the network with the priority of the last registered network, and set the last registered network to empty, so that when the device is turned on, the network search registration is performed according to the preset network priority . A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例四Embodiment Four
图5是本发明5G网络搜网注册方法第四实施例的流程图,基于上述实施例,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,包括:Fig. 5 is a flow chart of the fourth embodiment of the 5G network search and registration method of the present invention. Based on the above-mentioned embodiment, the preset network search strategy is set to Priority search for the last registered network, including:
S31、在所述热插拔卡场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;S31. In the hot-swappable card scenario, detect whether the network search strategy is to perform network search preferentially on the last registered network;
S32、在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。S32. Acquire the last registered network when the network search strategy is to search the network preferentially with the last registered network.
可选地,在本实施例中,考虑到现有的热插拔卡场景下,RPLMNACT不为0,RPLMN为之前注册的网络模式。例如,设备之前为4G,那么RPLMN为4G,优先搜4G,也即,无法使得设备即刻开始执行5G搜网和注册。因此,本实施例对上述策略进行适应性地调整,同样的,如上例所述,首先,在所述热插拔卡场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;然后,在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。Optionally, in this embodiment, considering the existing hot-swappable card scenario, RPLMNACT is not 0, and RPLMN is a previously registered network mode. For example, if the device is 4G before, then the RPLMN is 4G, and 4G is searched first, that is, the device cannot start to perform 5G network search and registration immediately. Therefore, this embodiment adjusts the above strategy adaptively. Similarly, as described in the above example, first, in the hot-swappable card scenario, it is detected whether the network search strategy is to search the network with priority for the last registered network ; Then, when the network search strategy is to search the network with the last registered network first, obtain the last registered network.
本实施例的有益效果在于,通过在所述热插拔卡场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, by detecting whether the network search strategy is to perform a priority search on the last registered network in the hot-swappable card scenario; Get the last registered network. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例五Embodiment five
图6是本发明5G网络搜网注册方法第五实施例的流程图,基于上述实施例,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,还包括:6 is a flow chart of the fifth embodiment of the 5G network search and registration method of the present invention. Based on the above embodiment, the preset network search strategy is set to For priority search of the last registered network, it also includes:
S33、在上次注册网络是5G网络时,执行上次注册网络的搜网注册;S33. When the last registered network is a 5G network, execute the search registration of the last registered network;
S34、在上次注册网络不是5G网络时,将上次注册网络设置为空,以使所述热插拔卡的场景下,按预设的网络优先级执行搜网注册。S34. When the last registered network is not a 5G network, set the last registered network to empty, so that in the scene of the hot-swappable card, perform network search and registration according to the preset network priority.
可选地,在本实施例中,如上例所述,在上次注册网络是5G网络时,执行上次注册网络的搜网注册;在上次注册网络不是5G网络时,将上次注册网络设置为空,以使所述热插拔卡的场景下,按预设的网络优先级执行搜网注册。Optionally, in this embodiment, as described in the above example, when the last registered network is a 5G network, perform the search registration of the last registered network; when the last registered network is not a 5G network, the last registered network Set it to empty, so that in the scene of the hot-swappable card, the network search registration is performed according to the preset network priority.
可选地,在本实施例中,在预设的网络优先级中,设置5G网络为最高的网络优先级。Optionally, in this embodiment, among the preset network priorities, the 5G network is set as the highest network priority.
本实施例的有益效果在于,通过在上次注册网络是5G网络时,执行上次注册网络的搜网注册;在上次注册网络不是5G网络时,将上次注册网络设置为空,以使所述热插拔卡的场景下,按预设的网络优先级执行搜网注册。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, when the last registered network is a 5G network, the search network registration of the last registered network is performed; when the last registered network is not a 5G network, the last registered network is set to be empty, so that In the scenario of the hot-swappable card, perform network search and registration according to the preset network priority. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例六Embodiment six
图7是本发明5G网络搜网注册方法第六实施例的流程图,基于上述实施例,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,包括:7 is a flow chart of the sixth embodiment of the 5G network search and registration method of the present invention. Based on the above embodiment, the preset network search strategy is set to Priority search for the last registered network, including:
S41、在所述修改网络模式的场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;S41. In the scenario of modifying the network mode, detect whether the network search strategy is to search the network preferentially in the last registered network;
S42、在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。S42. Acquire the last registered network when the network search strategy is to search the network preferentially with the last registered network.
可选地,在本实施例中,考虑到现有的修改网络模式的场景,RPLMNACT不为0,如果RPLMN包含在新的mode_pref中,先搜RPLMN,如果没有包含在新的网络模式中,先搜新的mode_pref的最高优先级网络。例如,原来mode_pref为4/3/2G,原来注册在4G,新的网络模式为5/4/3/2G,那么优先搜4G。可以看出,上述方案依然无法使得设备即刻开始执行5G搜网和注册。基于此,本实施例对上述策略进行适应性地调整,首先,在所述修改网络模式的场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;然后,在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。Optionally, in this embodiment, considering the existing scenario of modifying the network mode, RPLMNACT is not 0, if RPLMN is included in the new mode_pref, first search for RPLMN, if not included in the new network mode, first Search for the highest priority network for the new mode_pref. For example, if the original mode_pref is 4/3/2G, the original registration is in 4G, and the new network mode is 5/4/3/2G, then 4G will be searched first. It can be seen that the above solution still cannot enable the device to immediately perform 5G network search and registration. Based on this, this embodiment adaptively adjusts the above-mentioned strategy. First, in the scenario of modifying the network mode, it is detected whether the search strategy is to search the network with priority in the last registered network; then, in the search The network strategy is to obtain the last registered network when performing a priority search on the last registered network.
本实施例的有益效果在于,通过在所述修改网络模式的场景下,检测所述搜网策略是否为以上次注册网络进行优先搜网;在所述搜网策略是以上次注册网络进行优先搜网时,获取上次注册网络。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, in the scene of modifying the network mode, it is detected whether the network search strategy is to search the network with the last registered network; if the network search strategy is to search the network with the last registration Get the last registered network. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例七Embodiment seven
图8是本发明5G网络搜网注册方法第七实施例的流程图,基于上述实施例,所述在设备开机、热插拔卡以及修改网络模式的场景下,将预设的搜网策略设置为以上次注册网络进行优先搜网,还包括:Fig. 8 is a flow chart of the seventh embodiment of the 5G network search and registration method of the present invention. Based on the above embodiment, the preset network search strategy is set to For priority search of the last registered network, it also includes:
S43、在所述上次注册网络包含于所述网络优先级、且所述上次注册网络是5G网络时,执行所述网络优先级的搜网注册;S43. When the last registered network is included in the network priority and the last registered network is a 5G network, perform network search and registration of the network priority;
S44、在所述上次注册网络未包含于所述网络优先级时,将上次注册网络设置为空,以使所述修改网络模式的场景下,按网络模式修改后的网络优先级执行搜网注册。S44. When the last registered network is not included in the network priority, set the last registered network to empty, so that in the scenario of modifying the network mode, the search is performed according to the network priority after the network mode modification net registration.
可选地,在本实施例中,基于上述实施例,在所述上次注册网络包含于所述网络优先级、且所述上次注册网络是5G网络时,执行所述网络优先级的搜网注册;在所述上次注册网络未包含于所述网络优先级时,将上次注册网络设置为空,以使所述修改网络模式的场景下,按网络模式修改后的网络优先级执行搜网注册。Optionally, in this embodiment, based on the above embodiment, when the last registered network is included in the network priority and the last registered network is a 5G network, the search for the network priority is performed. Network registration; when the last registered network is not included in the network priority, the last registered network is set to be empty, so that in the scenario of modifying the network mode, it is executed according to the modified network priority of the network mode Souwang registration.
可选地,在本实施例中,在修改后的网络优先级中,设置5G网络为最高的网络优先级。Optionally, in this embodiment, in the modified network priority, the 5G network is set as the highest network priority.
本实施例的有益效果在于,通过在所述上次注册网络包含于所述网络优先级、且所述上次注册网络是5G网络时,执行所述网络优先级的搜网注册;在所述上次注册网络未包含于所述网络优先级时,将上次注册网络设置为空,以使所述修改网络模式的场景下,按网络模式修改后的网络优先级执行搜网注册。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, when the last registered network is included in the network priority and the last registered network is a 5G network, the network search registration of the network priority is performed; When the last registered network is not included in the network priority, set the last registered network to be empty, so that in the scenario of modifying the network mode, the network search registration is performed according to the modified network priority of the network mode. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例八Embodiment eight
图9是本发明5G网络搜网注册方法第八实施例的流程图,基于上述实施例,所述在退出飞行模式的场景下,将所述搜网策略设置为以上次注册网络进行优先搜网,其中,所述上次注册网络不为空,包括:Fig. 9 is a flow chart of the eighth embodiment of the 5G network search and registration method of the present invention. Based on the above embodiment, in the scenario of exiting the flight mode, set the search strategy to prioritize the search for the last registered network , where the last registered network is not empty, including:
S51、在所述退出飞行模式的场景下,确定所述搜网策略是以上次注册网络进行优先搜网;S51. In the scenario of exiting the flight mode, determine that the network search strategy is to search the network with priority in the last registered network;
S52、在上次注册网络是5G网络时,执行上次注册网络的搜网注册,在上次注册网络不是5G网络时,将上次注册网络设置为空,以使所述退出飞行模式的场景下,按预设的网络优先级执行搜网注册。S52. When the last registered network is a 5G network, perform search and registration of the last registered network, and when the last registered network is not a 5G network, set the last registered network to empty, so that the scene of exiting the flight mode Next, search and register according to the preset network priority.
可选地,在本实施例中,考虑到上述退出飞行模式的场景与上述热插拔卡的场景类似,相同的是,设置RPLMNACT_1=1,即,先搜RPLMN,不同的是,考虑到其他场景优先考虑了搜5G,此处则以当前的RPLMN优先,从而也能快速地注册到合适的网络。Optionally, in this embodiment, considering that the scenario of exiting the flight mode is similar to the scenario of the hot-swappable card described above, the same thing is that RPLMNACT_1=1 is set, that is, the RPLMN is searched first, and the difference is that considering other The scenario gives priority to searching for 5G, and here the current RPLMN is given priority, so that it can quickly register to a suitable network.
本实施例的有益效果在于,通过在所述退出飞行模式的场景下,确定所述搜网策略是以上次注册网络进行优先搜网;在上次注册网络是5G网络时,执行上次注册网络的搜网注册,在上次注册网络不是5G网络时,将上次注册网络设置为空,以使所述退出飞行模式的场景下,按预设的网络优先级执行搜网注册。实现了一种灵活性更高、自适应性更强的5G网络搜网注册方案,对现有的多个场景的搜网注册进行了策略调整,使得设备能够避免本地设置项的干扰,并较快地注册到5G网络,从而有效提升用户的网络体验。The beneficial effect of this embodiment is that, in the scenario of exiting the flight mode, it is determined that the network search strategy is to use the last registered network to search the network first; when the last registered network is a 5G network, the last registered network is executed. When the last registered network is not a 5G network, set the last registered network to empty, so that in the scenario of exiting the airplane mode, the search network registration is performed according to the preset network priority. A more flexible and adaptive 5G network search registration scheme has been realized, and the strategy adjustments have been made to the existing search network registration in multiple scenarios, so that the device can avoid the interference of local setting items, and it is easier to Quickly register to the 5G network, thereby effectively improving the user's network experience.
实施例九Embodiment nine
基于上述实施例,本发明还提出了一种5G网络搜网注册设备,该设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上任一项所述的5G网络搜网注册方法的步骤。Based on the above-mentioned embodiments, the present invention also proposes a 5G network search and registration device, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor, the computer program When executed by the processor, realize the steps of the 5G network search and registration method described in any one of the above.
需要说明的是,上述设备实施例与方法实施例属于同一构思,其具体实现过程详细见方法实施例,且方法实施例中的技术特征在设备实施例中均对应适用,这里不再赘述。It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, and will not be repeated here.
实施例十Embodiment ten
基于上述实施例,本发明还提出了一种计算机可读存储介质,该计算机可读存储介质上存储有5G网络搜网注册程序,5G网络搜网注册程序被处理器执行时实现如上述任一项所述的5G网络搜网注册方法的步骤。Based on the above embodiments, the present invention also proposes a computer-readable storage medium, on which a 5G network search registration program is stored. When the 5G network search registration program is executed by a processor, any of the above-mentioned The steps of the 5G network search registration method described in item.
需要说明的是,上述介质实施例与方法实施例属于同一构思,其具体实现过程详细见方法实施例,且方法实施例中的技术特征在介质实施例中均对应适用,这里不再赘述。It should be noted that the above-mentioned media embodiment and the method embodiment belong to the same idea, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the media embodiment, and will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, and these all belong to the protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210973842.XA CN115334636A (en) | 2022-08-15 | 2022-08-15 | A 5G network search and registration method, device, and computer-readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210973842.XA CN115334636A (en) | 2022-08-15 | 2022-08-15 | A 5G network search and registration method, device, and computer-readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115334636A true CN115334636A (en) | 2022-11-11 |
Family
ID=83924215
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210973842.XA Pending CN115334636A (en) | 2022-08-15 | 2022-08-15 | A 5G network search and registration method, device, and computer-readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115334636A (en) |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101711050A (en) * | 2009-11-20 | 2010-05-19 | 中兴通讯股份有限公司 | Method and system for selecting RPLMN |
| CN103582082A (en) * | 2012-08-02 | 2014-02-12 | 中兴通讯股份有限公司 | Web selecting method and device |
| CN104796962A (en) * | 2014-01-16 | 2015-07-22 | 中兴通讯股份有限公司 | Network searching method and network searching device |
| CN106714134A (en) * | 2016-12-21 | 2017-05-24 | 深圳众思科技有限公司 | Network search method and apparatus of mobile terminal, and mobile terminal |
| CN107426717A (en) * | 2017-08-24 | 2017-12-01 | 努比亚技术有限公司 | One kind searches net register method, terminal and computer-readable recording medium |
| CN107567073A (en) * | 2017-07-05 | 2018-01-09 | 宇龙计算机通信科技(深圳)有限公司 | Search the method, apparatus, terminal and computer-readable recording medium of net |
| CN111526580A (en) * | 2020-04-30 | 2020-08-11 | Oppo广东移动通信有限公司 | Network registration method and related product |
| CN112261701A (en) * | 2020-10-23 | 2021-01-22 | 展讯通信(上海)有限公司 | Scene-based terminal network searching strategy selection method and device, storage medium and terminal |
| CN113556798A (en) * | 2020-04-26 | 2021-10-26 | 华为技术有限公司 | Network searching method and related device for SA (Security Association) network 5G automatic account opening |
| CN114666871A (en) * | 2020-12-22 | 2022-06-24 | 深圳市万普拉斯科技有限公司 | Network searching method, device, mobile terminal and storage medium |
| WO2022152167A1 (en) * | 2021-01-14 | 2022-07-21 | 华为技术有限公司 | Network selection method and device |
-
2022
- 2022-08-15 CN CN202210973842.XA patent/CN115334636A/en active Pending
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101711050A (en) * | 2009-11-20 | 2010-05-19 | 中兴通讯股份有限公司 | Method and system for selecting RPLMN |
| CN103582082A (en) * | 2012-08-02 | 2014-02-12 | 中兴通讯股份有限公司 | Web selecting method and device |
| CN104796962A (en) * | 2014-01-16 | 2015-07-22 | 中兴通讯股份有限公司 | Network searching method and network searching device |
| CN106714134A (en) * | 2016-12-21 | 2017-05-24 | 深圳众思科技有限公司 | Network search method and apparatus of mobile terminal, and mobile terminal |
| CN107567073A (en) * | 2017-07-05 | 2018-01-09 | 宇龙计算机通信科技(深圳)有限公司 | Search the method, apparatus, terminal and computer-readable recording medium of net |
| CN107426717A (en) * | 2017-08-24 | 2017-12-01 | 努比亚技术有限公司 | One kind searches net register method, terminal and computer-readable recording medium |
| CN113556798A (en) * | 2020-04-26 | 2021-10-26 | 华为技术有限公司 | Network searching method and related device for SA (Security Association) network 5G automatic account opening |
| CN111526580A (en) * | 2020-04-30 | 2020-08-11 | Oppo广东移动通信有限公司 | Network registration method and related product |
| CN112261701A (en) * | 2020-10-23 | 2021-01-22 | 展讯通信(上海)有限公司 | Scene-based terminal network searching strategy selection method and device, storage medium and terminal |
| CN114666871A (en) * | 2020-12-22 | 2022-06-24 | 深圳市万普拉斯科技有限公司 | Network searching method, device, mobile terminal and storage medium |
| WO2022152167A1 (en) * | 2021-01-14 | 2022-07-21 | 华为技术有限公司 | Network selection method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11848773B2 (en) | Transmit antenna switching method and terminal device | |
| US12105935B2 (en) | Method for displaying background application and mobile terminal | |
| WO2022206810A1 (en) | Service processing method, and terminal and network device | |
| CN109901695B (en) | Screen power-saving display method, mobile terminal and computer-readable storage medium | |
| CN110062104A (en) | Application program launching method, device and mobile terminal | |
| CN111158815B (en) | Dynamic wallpaper blurring method, terminal and computer readable storage medium | |
| CN112712815A (en) | Software-based pop sound suppression method, terminal and computer readable medium | |
| CN109521937B (en) | Screen display control method and mobile terminal | |
| CN111475066A (en) | Background switching method of application program and electronic device | |
| CN110825474B (en) | Interface display method and device and electronic equipment | |
| US20210225376A1 (en) | Speech processing method and mobile terminal | |
| CN108681429A (en) | A kind of bright screen control method and mobile terminal | |
| CN108307075A (en) | A kind of incoming call processing method and mobile terminal | |
| CN109947617B (en) | Method, terminal and readable storage medium for monitoring display content of application interface | |
| CN111124585A (en) | Operation method, device and readable storage medium of shortcut panel | |
| CN110471068A (en) | Proximity detection method and mobile terminal | |
| CN115334636A (en) | A 5G network search and registration method, device, and computer-readable storage medium | |
| CN113394854A (en) | Charging method, mobile terminal, charging equipment and storage medium | |
| CN107770811A (en) | A kind of data processing method, mobile terminal and computer-readable recording medium | |
| CN113419701A (en) | Sound effect setting method and related equipment | |
| CN115291711A (en) | Peripheral power consumption control method and device and computer readable storage medium | |
| CN109981888B (en) | Wake-up timer control method, terminal and computer readable storage medium | |
| CN113377483A (en) | Theme display method, terminal device and storage medium | |
| CN113655748A (en) | A terminal debugging circuit, method, terminal and storage medium | |
| CN107318155B (en) | Call control method, terminal and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |