[go: up one dir, main page]

CN117119541B - Terminal network connection processing method, terminal and storage medium - Google Patents

Terminal network connection processing method, terminal and storage medium Download PDF

Info

Publication number
CN117119541B
CN117119541B CN202310247403.5A CN202310247403A CN117119541B CN 117119541 B CN117119541 B CN 117119541B CN 202310247403 A CN202310247403 A CN 202310247403A CN 117119541 B CN117119541 B CN 117119541B
Authority
CN
China
Prior art keywords
terminal
state
network
threshold
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310247403.5A
Other languages
Chinese (zh)
Other versions
CN117119541A (en
Inventor
杜襄南
丁明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310247403.5A priority Critical patent/CN117119541B/en
Publication of CN117119541A publication Critical patent/CN117119541A/en
Application granted granted Critical
Publication of CN117119541B publication Critical patent/CN117119541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

本申请涉及通信技术领域,提供一种终端网络连接的处理方法、终端设备及存储介质,该方法包括:在终端连接网络侧设备之后,监测终端进行无服务搜网的搜网频率;在搜网频率大于预设频率阈值且终端处于第一状态的情况下,终端将第一接入门限的值由初始值进行减小,并启动第一定时器,第一定时器的时长为第一接入门限的值为减小后的值的持续时间;若终端由第一状态切换为第二状态,则终端将第一接入门限的值恢复至初始值,第二状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、第一接入门限的值减小后的值的持续时间达到预设时长、退出飞行模式或拔插卡状态。本申请实施例可以降低终端在一些场景下的功耗。

The present application relates to the field of communication technology, and provides a method for processing a terminal network connection, a terminal device, and a storage medium, the method comprising: after the terminal is connected to a network side device, monitoring the network search frequency of the terminal for searching a network without service; when the network search frequency is greater than a preset frequency threshold and the terminal is in a first state, the terminal reduces the value of a first access threshold from an initial value, and starts a first timer, the duration of the first timer being the duration of the value of the first access threshold being the reduced value; if the terminal switches from the first state to the second state, the terminal restores the value of the first access threshold to the initial value, and the second state includes at least one of the following: exiting the micro-motion static state, entering the bright screen state, the duration of the value of the first access threshold after the value is reduced reaches a preset duration, exiting the flight mode or the card removal state. The embodiments of the present application can reduce the power consumption of the terminal in some scenarios.

Description

终端网络连接的处理方法、终端及存储介质Terminal network connection processing method, terminal and storage medium

技术领域Technical Field

本申请涉及通信技术领域,尤其涉及一种终端网络连接的处理方法、终端及可读存储介质。The present application relates to the field of communication technology, and in particular to a method for processing a terminal network connection, a terminal, and a readable storage medium.

背景技术Background technique

目前,终端(terminal equpiment)、在一些网络信号较弱的环境下,终端处于脱网的边缘,由于终端测量的网络信号容易出现上下波动,终端为保持通信移动性和网络信号更好的小区,终端会不停的在脱网、搜网和驻网之间来回乒乓,造成不必要的脱网和再搜网,造成终端的功耗过大。At present, in some environments with weak network signals, the terminal is on the verge of being disconnected from the network. Since the network signal measured by the terminal is prone to fluctuations, in order to maintain communication mobility and a cell with better network signals, the terminal will constantly ping-pong between disconnection, network search and network stationing, resulting in unnecessary disconnection and re-network search, causing excessive power consumption of the terminal.

发明内容Summary of the invention

本申请提供一种终端网络连接的处理方法、终端及可读存储介质,以降低终端在一些场景下的功耗。The present application provides a method for processing a terminal network connection, a terminal, and a readable storage medium to reduce the power consumption of the terminal in some scenarios.

第一方面,本申请实施例提供了一种终端网络连接的处理方法,其特征在于,所述的方法包括:在终端连接网络侧设备之后,监测终端进行无服务搜网的搜网频率;在所述搜网频率大于预设频率阈值且终端处于第一状态的情况下,所述终端将第一接入门限的值由初始值进行减小,并启动第一定时器,所述第一定时器的时长为所述第一接入门限的值为减小后的值的持续时间,其中,所述第一接入门限为所述网络侧设备为所述终端配置的无服务搜网的接入门限,所述第一状态为:微动静止状态和灭屏状态;在所述终端将第一接入门限的值进行减小之后,所述的方法还包括:若所述终端由所述第一状态切换为第二状态,则所述终端将所述第一接入门限的值恢复至所述初始值,所述第二状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述第一接入门限的值为减小后的值的持续时间达到预设时长、退出飞行模式或拔插卡状态。In a first aspect, an embodiment of the present application provides a method for processing a terminal network connection, characterized in that the method includes: after the terminal is connected to a network side device, monitoring the network search frequency of the terminal performing a serviceless network search; when the network search frequency is greater than a preset frequency threshold and the terminal is in a first state, the terminal reduces the value of a first access threshold from an initial value and starts a first timer, the duration of the first timer being the duration of the value of the first access threshold being the reduced value, wherein the first access threshold is the access threshold for serviceless network search configured by the network side device for the terminal, and the first state is: a micro-motion still state and a screen-off state; after the terminal reduces the value of the first access threshold, the method also includes: if the terminal switches from the first state to a second state, the terminal restores the value of the first access threshold to the initial value, and the second state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, the duration of the value of the first access threshold being the reduced value reaches a preset duration, exiting the flight mode or the card removal state.

基于该实施例方案,在终端连接网络侧设备(例如基站)之后,终端接入移动通信网络之后为保持通信移动性和良好的通信质量,在终端处于脱网的边缘时,终端会因网络信号的信号质量进一步变差而对当前驻留小区进行脱网,然后对相邻小区进行搜网以选出网络信号的信号质量相对更好的小区进行驻留,此时终端完成依次无服务搜网的流程;检测终端进行无服务搜网的搜网频率,在确定搜网频率大于预设频率阈值,表明终端处于脱网的边缘,正在进行反复的脱网、搜网和驻网的方案乒乓,终端此时处于较高的功耗阶段,进而对终端是否处于第一状态进行监测,第一状态为终端进入微动静止状态且同步进入了灭屏状态,终端进入微动静止状态表明终端所处位置不变或变化很小,终端相对驻留小区的网络信号的信号质量稳定,终端进入灭屏状态表明此时终端暂没有或较少业务、或者用户基本不使用,用户此时对终端的网络信号的信号质量要求较低,所以终端处于第一状态后,终端此时对网络信号需求较低,可减小终端关于进行无服务搜网的网络配置中的第一接入门限,由于第一接入门限的值由初始值变小,终端即使处于以原始的第一接入门限标准下的脱网边缘,也不会触发终端对当前驻留小区进行脱网,然后对相邻小区进行搜网,避免和抑制不必要的脱网、搜网和驻网之间来回乒乓,降低了终端在第一状态下的功耗,进而降低了终端的整体功耗。Based on the embodiment scheme, after the terminal is connected to the network side device (such as a base station), after the terminal accesses the mobile communication network, in order to maintain communication mobility and good communication quality, when the terminal is on the verge of being disconnected from the network, the terminal will disconnect from the current resident cell due to the further deterioration of the signal quality of the network signal, and then search the adjacent cells to select a cell with relatively better signal quality of the network signal to reside in. At this time, the terminal completes the process of no-service network search in sequence; the network search frequency of the terminal performing no-service network search is detected, and when it is determined that the network search frequency is greater than the preset frequency threshold, it indicates that the terminal is on the verge of being disconnected from the network, and is performing repeated disconnection, network search and network ping-pong. The terminal is in a relatively high power consumption stage at this time, and then monitors whether the terminal is in the first state. The first state is that the terminal enters a micro-motion static state and synchronously enters a screen-off state. The terminal Entering the micro-motion static state indicates that the terminal's position remains unchanged or changes very little, and the signal quality of the terminal's network signal relative to the resident cell is stable. The terminal entering the screen-off state indicates that the terminal has no or few services at this time, or the user basically does not use it. The user has low requirements for the signal quality of the terminal's network signal at this time. Therefore, after the terminal is in the first state, the terminal has a low demand for network signals at this time, which can reduce the first access threshold of the terminal in the network configuration for performing no-service network search. Since the value of the first access threshold decreases from the initial value, even if the terminal is on the edge of disconnection under the original first access threshold standard, it will not trigger the terminal to disconnect from the current resident cell, and then search for the adjacent cell, thereby avoiding and suppressing unnecessary disconnection, network search and network ping-pong, reducing the power consumption of the terminal in the first state, and thus reducing the overall power consumption of the terminal.

再者,基于该实施例方案,在终端进入减小第一接入门限的降低功耗优化方案后,基于终端的第一定时器开始统计第一接入门限的值减小后的持续时间,并同步监测终端是否退出微动静止状态、监测终端是否进入亮屏状态、监测终端是否他退出飞行模式、监测终端是否处于拔插卡状态;在监测到终端退出微动静止状态、进入亮屏状态、退出飞行模式或者处于拔插卡状态、第一接入门限的值为减小后的值的持续时间达到预设时长,表明用户移动或拿起终端、点亮屏幕、整备好终端或者终端进入降低无服务搜网的接入门限的周期时间用尽,用户大概率需要使用终端处理相关业务,需要较好的网络信号支持,因此在终端处于第二状态之后,表明终端即将有业务处理需求、需要较好的网络信号支持,此时退出减小第一接入门限的降低功耗优化方案,将第一接入门限增大并恢复至预设初始门限,以取消对终端的脱网、搜网和驻网流程执行的抑制,优先保证终端的网络信号的强度和质量。Furthermore, based on the embodiment, after the terminal enters the power consumption reduction optimization scheme of reducing the first access threshold, the first timer based on the terminal starts to count the duration of the first access threshold value after being reduced, and synchronously monitors whether the terminal exits the micro-motion static state, monitors whether the terminal enters the screen-lit state, monitors whether the terminal exits the flight mode, and monitors whether the terminal is in the card-plugging state; when it is monitored that the terminal exits the micro-motion static state, enters the screen-lit state, exits the flight mode, or is in the card-plugging state, and the duration of the value of the first access threshold being the reduced value reaches a preset duration, it indicates that the user moves or picks up the terminal, lights up the screen, prepares the terminal, or the terminal enters the cycle time of reducing the access threshold for searching the network without service. The user is likely to need to use the terminal to process related services and needs better network signal support. Therefore, after the terminal is in the second state, it indicates that the terminal is about to have business processing requirements and needs better network signal support. At this time, the power consumption reduction optimization scheme of reducing the first access threshold is exited, and the first access threshold is increased and restored to the preset initial threshold to cancel the inhibition of the execution of the terminal's network disconnection, network search, and network stationing processes, and give priority to ensuring the strength and quality of the terminal's network signal.

示例性的,微动静止状态为终端处于微动模式或静止模式,通过终端的运动传感器等实现方式,若获取终端的位移变化值处于预设极小位移区间,则确定终端处于微动模式;若获取终端的位移变化值小于预设极小位移值,则确定终端处于静止模式。Exemplarily, the micro-motion still state is that the terminal is in micro-motion mode or still mode. Through the implementation method of the terminal's motion sensor, if the displacement change value of the terminal is in a preset minimum displacement interval, it is determined that the terminal is in micro-motion mode; if the displacement change value of the terminal is less than the preset minimum displacement value, it is determined that the terminal is in still mode.

示例性的,终端的网络信号的信号质量为终端中天线接收移动通信网络信号的无线信号强度,单位为RSRP(Reference Signal Receiving Power,参考信号接收功率);和/或终端中天线接收移动通信网络信号的无线信号质量,单位为RSRQ(Reference SignalReceiving Quality,参考信号接收质量)。Exemplarily, the signal quality of the network signal of the terminal is the wireless signal strength of the mobile communication network signal received by the antenna in the terminal, measured in RSRP (Reference Signal Receiving Power); and/or the wireless signal quality of the mobile communication network signal received by the antenna in the terminal, measured in RSRQ (Reference Signal Receiving Quality).

示例性的,终端进入灭屏状态为:在终端灭屏的持续时长大于预设灭屏阈值时,确定终端进入灭屏状态。Exemplarily, the terminal enters the screen-off state when: when the duration of the terminal screen being off is greater than a preset screen-off threshold, it is determined that the terminal enters the screen-off state.

示例性的,第一接入门限为终端进行对当前驻留小区进行脱网的网络信号的信号质量的临界值。Exemplarily, the first access threshold is a critical value of the signal quality of a network signal for the terminal to disconnect from the current cell.

示例性的,本申请实施例的终端网络连接的处理方法应用于终端的Modem(调制解调器),所述终端网络连接的处理方法的执行主体为终端的Modem。Exemplarily, the method for processing a terminal network connection in the embodiment of the present application is applied to a modem of a terminal, and the execution subject of the method for processing a terminal network connection is the modem of the terminal.

示例性的,终端的Sensorhub(传感器控制中心)用于感知终端进入或退出微动静止状态,Sensorhub将终端进入或退出微动静止状态的信息发送至终端的Modem(调整解调器)。Exemplarily, the Sensorhub (sensor control center) of the terminal is used to sense that the terminal enters or exits the micro-motion static state, and the Sensorhub sends the information that the terminal enters or exits the micro-motion static state to the Modem (modem) of the terminal.

示例性的,终端的Sensorhub(传感器控制中心)属于终端的内核层。Exemplarily, the Sensorhub (sensor control center) of the terminal belongs to the kernel layer of the terminal.

示例性的,本申请实施例的终端为智能手机。Exemplarily, the terminal in the embodiment of the present application is a smart phone.

根据第一方面,所述终端将第一接入门限的值由初始值进行减小包括:所述终端选择预置的第二接入门限,若所述第一接入门限的值大于所述第二接入门限的值,则所述第一接入门限的值更新为所述第二接入门限的值。According to the first aspect, the terminal reduces the value of the first access threshold from an initial value, including: the terminal selects a preset second access threshold, and if the value of the first access threshold is greater than the value of the second access threshold, the value of the first access threshold is updated to the value of the second access threshold.

基于该实施例方案,以数值较小的第二接入门限替换终端当前驻留小区无服务搜网的第一接入门限,实现对当前的第一接入门限的减小;同时,若终端当前的第一接入门限本就大于第二接入门限,则不再对第一接入门限进行调小,以保证终端基础的网络信号最低值。Based on this embodiment scheme, the first access threshold of the terminal's current no-service network search in the cell where the terminal is currently staying is replaced by a second access threshold with a smaller value, thereby reducing the current first access threshold; at the same time, if the terminal's current first access threshold is already greater than the second access threshold, the first access threshold is no longer reduced to ensure the minimum value of the terminal's basic network signal.

根据第一方面,或者以上第一方面的任意一种实现方式,所述在终端连接网络侧设备之后,监测终端进行无服务搜网的搜网频率的步骤包括:在终端连接网络侧设备之后,动态监测终端的网络信号的信号质量是否大于用于触发搜网的预设初始门限;若终端的网络信号的信号质量小于或等于预设初始门限,则监测终端进行无服务搜网的搜网频率;若终端的网络信号的信号质量大于预设初始门限,则在确定终端处于第三状态之后,停止终端对当前的驻留小区之外的任意小区的测量行为;所述第三状态为:微动静止状态、灭屏状态、所述网络信号的信号质量大于预设的第三接入门限和进入idle态同时成立。According to the first aspect, or any implementation method of the first aspect above, the step of monitoring the network search frequency of the terminal for no-service network search after the terminal is connected to the network side device includes: after the terminal is connected to the network side device, dynamically monitoring whether the signal quality of the terminal's network signal is greater than the preset initial threshold for triggering the network search; if the signal quality of the terminal's network signal is less than or equal to the preset initial threshold, monitoring the network search frequency of the terminal for no-service network search; if the signal quality of the terminal's network signal is greater than the preset initial threshold, after determining that the terminal is in a third state, stopping the terminal's measurement behavior of any cell other than the current resident cell; the third state is: micro-motion static state, screen off state, the signal quality of the network signal is greater than the preset third access threshold and entering the idle state are established at the same time.

基于该实施例方案,在终端连接网络侧设备(如基站)之后,动态监测终端的网络信号的信号质量是否大于预设初始门限,若终端的网络信号的信号质量小于或等于预设初始门限,则表明终端此时的网络信号的信号质量处于较差的状态,终端将会对当前驻留的小区进行脱网并进行无服务搜网,因此监测终端进行无服务搜网的搜网频率,以供在搜网频率大于预设频率阈值且终端处于第一状态时,减小终端关于进行无服务搜网的网络配置中的第一接入门限,以避免终端处于脱网的边缘而进行反复的脱网、搜网和驻网的方案乒乓,降低终端的功耗。若终端的网络信号的信号质量大于预设初始门限,则表明终端此时的网络信号的信号质量处于较好的状态,可进一步监测终端是否处于第三状态。第三状态为终端进入微动静止状态且进入灭屏状态且当前网络信号的信号质量大于第三接入门限且进入idle态,其中,终端进入微动静止状态表明终端所处位置不变或变化很小,终端相对驻留小区的网络信号的信号质量稳定;终端进入灭屏状态表明此时终端暂没有或较少业务、或者用户基本不使用,用户此时对终端的网络信号的信号质量要求较低;终端当前的网络信号的信号质量大于第三接入门限(第三接入门限大于预设初始门限),表明终端当前的网络信号的信号质量较好、能支持大部分业务的网络需求;终端进入idle态(空闲态),表明终端在某个小区完成了驻留之后,没有待处理的业务;终端处于第三状态,表明终端同时进入微动静止状态、灭屏状态、网络信号的信号质量大于第三接入门限和idle态,终端在位移上基本处于静止状态、灭屏无用户使用状态、网络信号的信号质量较佳和处于无待处理业务状态,终端当前的网络信号的信号质量足够支持当前可能的业务需求,可以认为终端网络信道环境稳定,不需要进行终端的移动性处理,因此可停止终端对当前的驻留小区之外的任意小区的测量行为,即终端的调制解调器停止对其他同频和异频小区的测量,在保证终端移动性网络业务需求的前提下,降低了终端在第三状态下的功耗,进一步降低了终端的整体功耗。Based on the scheme of this embodiment, after the terminal is connected to the network side device (such as a base station), the signal quality of the network signal of the terminal is dynamically monitored to see if it is greater than the preset initial threshold. If the signal quality of the network signal of the terminal is less than or equal to the preset initial threshold, it indicates that the signal quality of the network signal of the terminal is in a poor state at this time, and the terminal will disconnect from the cell currently resident and perform a no-service network search. Therefore, the network search frequency of the terminal performing a no-service network search is monitored, so that when the network search frequency is greater than the preset frequency threshold and the terminal is in the first state, the first access threshold in the network configuration of the terminal for performing a no-service network search is reduced to avoid the terminal being on the verge of disconnection and repeatedly disconnecting, searching and staying in the network, thereby reducing the power consumption of the terminal. If the signal quality of the network signal of the terminal is greater than the preset initial threshold, it indicates that the signal quality of the network signal of the terminal is in a good state at this time, and it is possible to further monitor whether the terminal is in the third state. The third state is that the terminal enters a micro-motion still state and a screen-off state, and the signal quality of the current network signal is greater than the third access threshold and enters an idle state, wherein the terminal entering the micro-motion still state indicates that the terminal's position remains unchanged or changes very little, and the signal quality of the terminal's network signal relative to the resident cell is stable; the terminal entering the screen-off state indicates that the terminal has no or few services at this time, or the user basically does not use it, and the user has low requirements on the signal quality of the terminal's network signal at this time; the signal quality of the terminal's current network signal is greater than the third access threshold (the third access threshold is greater than the preset initial threshold), indicating that the signal quality of the terminal's current network signal is good and can support the network requirements of most services; the terminal enters an idle state, indicating that the terminal has no room to stay in a certain cell after completing its stay The terminal is in the third state, indicating that the terminal simultaneously enters the micro-motion static state, the screen-off state, the signal quality of the network signal is greater than the third access threshold and the idle state, the terminal is basically in a static state in terms of displacement, the screen is off and there is no user using the state, the signal quality of the network signal is relatively good and there is no pending business. The signal quality of the current network signal of the terminal is sufficient to support the current possible business needs. It can be considered that the terminal network channel environment is stable and there is no need for terminal mobility processing. Therefore, the terminal can stop measuring any cell outside the current resident cell, that is, the terminal modem stops measuring other co-frequency and hetero-frequency cells. Under the premise of ensuring the terminal mobility network business needs, the power consumption of the terminal in the third state is reduced, and the overall power consumption of the terminal is further reduced.

根据第一方面,或者以上第一方面的任意一种实现方式,在所述停止终端对当前的驻留小区之外的任意小区的测量行为的步骤之后,所述的方法还包括:若终端由第三状态切换为第四状态,则允许终端对当前的驻留小区之外的任意小区的测量行为,所述第四状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述网络信号的信号质量小于或等于第三接入门限、离开idle态、退出飞行模式和拔插卡状态。According to the first aspect, or any implementation method of the first aspect above, after the step of stopping the terminal from measuring any cell outside the current resident cell, the method further includes: if the terminal switches from the third state to the fourth state, the terminal is allowed to measure any cell outside the current resident cell, and the fourth state includes at least one of the following: exiting the micro-motion still state, entering the bright screen state, the signal quality of the network signal is less than or equal to the third access threshold, leaving the idle state, exiting the flight mode, and removing the card state.

基于该实施例方案,在停止终端对当前的驻留小区之外的任意小区的测量行为之后,开始监测终端是否退出微动静止状态、是否进入亮屏状态、实时网络信号的信号质量是否小于或等于第三接入门限、是否离开idle态、是否退出飞行模式以及是否处于拔插卡状态;终端退出微动静止状态,表明用户移动或拿起终端;终端进入亮屏状态,表明点亮屏幕或者整备好终端,用户大概率需要使用终端处理相关业务;终端实时网络信号的信号质量小于或等于第三接入门限,表明此时网络信号的信号质量的强度和质量较差,需提升网络信号的信号质量的强度和质量;终端离开idle态,则进入连接态,有待处理的业务;终端退出飞行模式或处于拔插卡状态,表明用户大概率需要使用终端处理相关业务,需要较好的网络信号的信号质量支持;因此,在终端处于第四状态之后,表明终端此时网络信号的信号质量难以支持待处理业务或者即将被用户使用,需支持终端的移动性,此时,退出停止终端对当前的驻留小区之外的任意小区的测量行为的降低功耗优化方案,允许终端对当前的驻留小区之外的任意小区的测量行为,优先保证终端的移动性和网络信号的信号质量的强度和质量。Based on the scheme of this embodiment, after stopping the terminal's measurement behavior on any cell other than the current resident cell, it starts to monitor whether the terminal exits the micro-motion static state, whether it enters the screen-on state, whether the signal quality of the real-time network signal is less than or equal to the third access threshold, whether it leaves the idle state, whether it exits the flight mode, and whether it is in the card removal state; the terminal exits the micro-motion static state, indicating that the user moves or picks up the terminal; the terminal enters the screen-on state, indicating that the screen is turned on or the terminal is ready, and the user is likely to need to use the terminal to process related services; the signal quality of the terminal's real-time network signal is less than or equal to the third access threshold, indicating that the signal quality strength and quality of the network signal are poor at this time, and the signal quality of the network signal needs to be improved. The strength and quality of the signal quality; when the terminal leaves the idle state, it enters the connected state, and there is business to be processed; when the terminal exits the flight mode or is in the card removal state, it indicates that the user is likely to need to use the terminal to process related business, and requires better signal quality support of the network signal; therefore, after the terminal is in the fourth state, it indicates that the signal quality of the network signal of the terminal at this time is difficult to support the business to be processed or is about to be used by the user, and the mobility of the terminal needs to be supported. At this time, the power consumption reduction optimization scheme of stopping the terminal from measuring any cell outside the current resident cell is exited, and the terminal is allowed to measure any cell outside the current resident cell, giving priority to ensuring the mobility of the terminal and the strength and quality of the signal quality of the network signal.

根据第一方面,或者以上第一方面的任意一种实现方式,所述第三接入门限包括第一子门限和第二子门限,第一子门限大于第二子门限,所述网络信号的信号质量大于第三接入门限的步骤为:所述网络信号的信号质量大于第一子门限;所述网络信号的信号质量小于或等于第三接入门限的步骤为:所述网络信号的信号质量小于或等于第二子门限。According to the first aspect, or any implementation method of the first aspect above, the third access threshold includes a first sub-threshold and a second sub-threshold, the first sub-threshold is greater than the second sub-threshold, and the step in which the signal quality of the network signal is greater than the third access threshold is: the signal quality of the network signal is greater than the first sub-threshold; the step in which the signal quality of the network signal is less than or equal to the third access threshold is: the signal quality of the network signal is less than or equal to the second sub-threshold.

基于该实施例方案,在第三状态的定义中,网络信号的信号质量大于第三接入门限具体为网络信号的信号质量大于第一子门限;在第四状态的定义中,网络信号的信号质量小于或等于第三接入门限具体为网络信号的信号质量小于或等于第二子门限,第一子门限和第二子门限存在一定差值;在终端进入第三状态以停止对当前的驻留小区之外的任意小区的测量行为的判断过程中,以第一子门限作为第三接入门限,在终端进入第四状态以允许终端对当前的驻留小区之外的任意小区的测量行为的判断过程中,以第二子门限作为第三接入门限,从而终端的网络信号的信号质量在第一子门限和第二子门限之间波动并不会出现停止邻小区测量和允许邻小区测量之间的方案乒乓,避免方案乒乓的额外功耗,进而进一步降低终端功耗。Based on the scheme of this embodiment, in the definition of the third state, the signal quality of the network signal is greater than the third access threshold, specifically, the signal quality of the network signal is greater than the first sub-threshold; in the definition of the fourth state, the signal quality of the network signal is less than or equal to the third access threshold, specifically, the signal quality of the network signal is less than or equal to the second sub-threshold, and there is a certain difference between the first sub-threshold and the second sub-threshold; in the process of judging that the terminal enters the third state to stop the measurement behavior of any cell outside the current resident cell, the first sub-threshold is used as the third access threshold, and in the process of judging that the terminal enters the fourth state to allow the terminal to measure any cell outside the current resident cell, the second sub-threshold is used as the third access threshold, so that the signal quality of the network signal of the terminal fluctuates between the first sub-threshold and the second sub-threshold, and there will be no ping-pong between stopping the neighboring cell measurement and allowing the neighboring cell measurement, thereby avoiding the extra power consumption of the ping-pong scheme, thereby further reducing the power consumption of the terminal.

根据第一方面,或者以上第一方面的任意一种实现方式,所述终端处于第一状态包括:所述终端处于微动静止状态和灭屏状态;According to the first aspect, or any implementation of the first aspect above, the terminal being in the first state includes: the terminal being in a micro-motion static state and a screen-off state;

所述处于灭屏状态包括:终端灭屏的持续时长大于预设灭屏阈值的情况下,确定终端处于灭屏状态;The screen-off state includes: when the duration of the terminal screen being off is greater than a preset screen-off threshold, determining that the terminal is in the screen-off state;

所述处于微动静止状态包括:终端处于微动静止状态的持续时长大于预设微动静止阈值的情况下,确定终端进入微动静止状态。The being in the micro-motion static state includes: when the duration of the terminal being in the micro-motion static state is greater than a preset micro-motion static threshold, determining that the terminal enters the micro-motion static state.

基于该实施例方案,在终端处于第一状态、第三状态或第五状态的判断中,终端进入灭屏状态可为:在终端灭屏的持续时长大于预设灭屏阈值时,才确定终端进入灭屏状态,避免终端在短暂息屏场景(如用户临时熄灭屏幕或屏幕自动息屏读秒到达且用户即将主动点亮屏幕)而触发终端进入第一状态、第三状态或第五状态的响应,防止终端进入息屏状态和进入亮屏状态的方案乒乓,避免方案乒乓的额外功耗,进而进一步降低终端的功耗。Based on this embodiment scheme, in the judgment that the terminal is in the first state, the third state or the fifth state, the terminal entering the screen-off state may be: when the duration of the terminal screen being off is greater than the preset screen-off threshold, it is determined that the terminal enters the screen-off state, thereby avoiding the terminal from triggering a response to enter the first state, the third state or the fifth state in a short screen-off scenario (such as the user temporarily turns off the screen or the screen automatically turns off the screen and the user is about to actively turn on the screen), thereby preventing the terminal from ping-pong between entering the screen-off state and entering the screen-on state, thereby avoiding the extra power consumption of the ping-pong scheme, and further reducing the power consumption of the terminal.

再者,基于该实施例方案,在终端处于第一状态、第三状态或第五状态的判断中,终端进入微动静止状态可为:在终端处于微动静止状态的持续时长大于预设微动静止阈值,才确定终端进入微动静止状态,避免终端在短暂微动静止场景(如用户临时放下终端或终端处于短时间的相对静止)而触发终端进入第一状态、第三状态或第五状态的响应,防止终端进入微动静止状态和退出微动静止状态的方案乒乓,避免方案乒乓的额外功耗,进而进一步降低终端功耗。Furthermore, based on the embodiment scheme, in the judgment of whether the terminal is in the first state, the third state or the fifth state, the terminal enters the micro-motion still state when the duration of the terminal in the micro-motion still state is greater than the preset micro-motion still threshold. It is determined that the terminal enters the micro-motion still state, thereby avoiding the terminal from triggering a response to enter the first state, the third state or the fifth state in a short micro-motion still scenario (such as the user temporarily puts down the terminal or the terminal is relatively still for a short period of time), preventing the terminal from entering and exiting the micro-motion still state in a ping-pong manner, avoiding the extra power consumption of the ping-pong scheme, and further reducing the power consumption of the terminal.

根据第一方面,或者以上第一方面的任意一种实现方式,所述的方法还包括:若终端的网络信号的信号质量大于预设初始门限,且确定终端处于第五状态,则所述终端增大LTE背景搜索NR的间隔时长;所述第五状态为:处于LTE背景搜索NR场景和进入微动静止状态。According to the first aspect, or any implementation method of the first aspect above, the method further includes: if the signal quality of the network signal of the terminal is greater than a preset initial threshold, and it is determined that the terminal is in the fifth state, the terminal increases the interval duration of the LTE background search NR; the fifth state is: being in the LTE background search NR scenario and entering a micro-motion still state.

基于该实施例方案,在终端的网络信号的信号质量大于预设初始门限,则表明终端此时的网络信号的信号质量处于较好的状态,可同步监测终端是否处于第三状态或第五状态,若同时检测到终端满足处于第三状态和第五状态,则优先确定终端满足第三状态并执行后续步骤;若检测到终端仅满足处于第五状态,则表明终端处于LTE(Long TermEvolution,长期演进)网络环境需背景搜索NR(New Radio,新空口)场景,且终端进入微动静止状态表明终端所处位置不变或变化很小,终端相对驻留小区的网络信号的信号质量稳定,可增大LTE背景搜索NR的间隔时长,减小接入新空口背景搜索的频率,降低了终端在第五状态下的功耗,从而进一步降低终端的整体功耗。Based on this embodiment, when the signal quality of the network signal of the terminal is greater than the preset initial threshold, it indicates that the signal quality of the network signal of the terminal is in a good state at this time, and whether the terminal is in the third state or the fifth state can be synchronously monitored. If it is detected that the terminal satisfies the third state and the fifth state at the same time, it is prioritized to determine that the terminal satisfies the third state and executes subsequent steps; if it is detected that the terminal only satisfies the fifth state, it indicates that the terminal is in an LTE (Long Term Evolution) network environment and requires a background search for an NR (New Radio) scenario, and the terminal enters a micro-motion static state, indicating that the terminal's position remains unchanged or changes very little, and the signal quality of the network signal of the terminal relative to the resident cell is stable, and the interval duration of the LTE background search NR can be increased, and the frequency of background search for access to the new air interface can be reduced, thereby reducing the power consumption of the terminal in the fifth state, thereby further reducing the overall power consumption of the terminal.

根据第一方面,或者以上第一方面的任意一种实现方式,在所述终端增大LTE背景搜索NR的间隔时长之后,所述的方法还包括:若终端由第五状态切换为第六状态,则将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,所述第六状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、退出飞行模式或拔插卡状态。According to the first aspect, or any implementation method of the first aspect above, after the terminal increases the interval duration of the LTE background search NR, the method also includes: if the terminal switches from the fifth state to the sixth state, the interval duration of the LTE background search NR is restored to a preset initial duration value, and the sixth state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, exiting the flight mode, or removing and plugging the card state.

基于该实施例方案,在增大LTE背景搜索NR的间隔时长之后,开始监测终端是否退出微动静止状态、是否进入亮屏状态、是否退出飞行模式以及是否处于拔插卡状态;终端退出微动静止状态,表明用户移动或拿起终端;终端进入亮屏状态,表明点亮屏幕或者整备好终端,用户大概率需要使用终端处理相关业务;终端退出飞行模式或处于拔插卡状态,表明用户大概率需要使用终端处理相关业务,需要较好的网络信号的信号质量支持;因此,在终端处于第六状态之后,表明终端此时对进入NR场景需求较强,此时,退出增大LTE背景搜索NR的间隔时长的降低功耗优化方案,将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,优先保证终端及时进入NR场景。Based on the embodiment scheme, after increasing the interval duration of the LTE background search for NR, the program starts to monitor whether the terminal exits the micro-motion static state, enters the screen-on state, exits the flight mode, and is in the card-plugging state; the terminal exits the micro-motion static state, indicating that the user moves or picks up the terminal; the terminal enters the screen-on state, indicating that the screen is lit or the terminal is ready, and the user is likely to need to use the terminal to process related services; the terminal exits the flight mode or is in the card-plugging state, indicating that the user is likely to need to use the terminal to process related services, and requires better signal quality support from the network signal; therefore, after the terminal is in the sixth state, it indicates that the terminal has a strong demand for entering the NR scene at this time. At this time, the power consumption reduction optimization scheme that increases the interval duration of the LTE background search for NR is exited, and the interval duration of the LTE background search for NR is restored to the preset initial duration value, giving priority to ensuring that the terminal enters the NR scene in a timely manner.

根据第一方面,或者以上第一方面的任意一种实现方式,所述终端增大LTE背景搜索NR的间隔时长包括:所述终端增大LTE背景搜索NR的间隔时长以形成新的LTE背景搜索NR的间隔时长,直至所述LTE背景搜索NR的间隔时长到达预设最大间隔时长。According to the first aspect, or any implementation method of the first aspect above, the terminal increases the interval duration of the LTE background search NR, including: the terminal increases the interval duration of the LTE background search NR to form a new interval duration of the LTE background search NR, until the interval duration of the LTE background search NR reaches a preset maximum interval duration.

基于该实施例方案,在进行一次或多次LTE背景搜索NR之后,终端仍然未进入NR场景,增大LTE背景搜索NR的间隔时长以形成新的LTE背景搜索NR的间隔时长,以新的LTE背景搜索NR的间隔时长进行LTE背景搜索NR,由于原始的间隔时长和增大一次的间隔时长还是未进入NR场景,那么继续以当前的间隔时长进行LTE背景搜索NR仍然难以让终端进入NR场景,此时可进一步增大LTE背景搜索NR的间隔时长,进一步降低终端在LTE背景搜索NR的频次,进而进一步降低终端在第五状态的功耗以及整体功耗,直至LTE背景搜索NR的间隔时长到达预设最大间隔时长。Based on this embodiment, after performing one or more LTE background search NRs, the terminal still has not entered the NR scenario, the interval duration of the LTE background search NR is increased to form a new interval duration of the LTE background search NR, and the LTE background search NR is performed with the new interval duration of the LTE background search NR. Since the original interval duration and the increased interval duration still have not entered the NR scenario, continuing to perform the LTE background search NR with the current interval duration is still difficult for the terminal to enter the NR scenario. At this time, the interval duration of the LTE background search NR can be further increased to further reduce the frequency of the terminal's LTE background search NR, thereby further reducing the terminal's power consumption in the fifth state and the overall power consumption, until the interval duration of the LTE background search NR reaches the preset maximum interval duration.

第二方面,本申请提供了一种终端设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述终端设备执行时,使得所述终端设备执行以下步骤:In a second aspect, the present application provides a terminal device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the terminal device, the terminal device performs the following steps:

在终端连接网络侧设备之后,监测终端进行无服务搜网的搜网频率;After the terminal is connected to the network side device, the network search frequency of the terminal performing no-service network search is monitored;

在所述搜网频率大于预设频率阈值且终端处于第一状态的情况下,所述终端将第一接入门限的值由初始值进行减小,并启动第一定时器,所述第一定时器的时长为所述第一接入门限的值为减小后的值的持续时间,其中,所述第一接入门限为所述网络侧设备为所述终端配置的无服务搜网的接入门限,所述第一状态为:微动静止状态和灭屏状态;When the network search frequency is greater than the preset frequency threshold and the terminal is in the first state, the terminal reduces the value of the first access threshold from the initial value and starts the first timer, the duration of the first timer is the duration of the value of the first access threshold being the reduced value, wherein the first access threshold is the access threshold for the no-service network search configured by the network side device for the terminal, and the first state is: micro-motion static state and screen-off state;

在所述终端将第一接入门限的值进行减小之后,所述的方法还包括:After the terminal reduces the value of the first access threshold, the method further includes:

若所述终端由所述第一状态切换为第二状态,则所述终端将所述第一接入门限的值恢复至所述初始值,所述第二状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述第一接入门限的值为减小后的值的持续时间达到预设时长、退出飞行模式或拔插卡状态。If the terminal switches from the first state to the second state, the terminal restores the value of the first access threshold to the initial value, and the second state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, the duration of the value of the first access threshold being the reduced value reaches a preset time length, exiting the flight mode or the card removal state.

根据第二方面,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

所述终端选择预置的第二接入门限,若所述第一接入门限的值大于所述第二接入门限的值,则所述第一接入门限的值更新为所述第二接入门限的值。The terminal selects a preset second access threshold, and if the value of the first access threshold is greater than the value of the second access threshold, the value of the first access threshold is updated to the value of the second access threshold.

根据第二方面,或者以上第二方面的任意一种实现方式,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

在终端连接网络侧设备之后,动态监测终端的网络信号的信号质量是否大于用于触发搜网的预设初始门限;After the terminal is connected to the network side device, dynamically monitor whether the signal quality of the terminal's network signal is greater than a preset initial threshold for triggering a network search;

若终端的网络信号的信号质量小于或等于预设初始门限,则监测终端进行无服务搜网的搜网频率;If the signal quality of the network signal of the terminal is less than or equal to the preset initial threshold, the network search frequency of the monitoring terminal performing the no-service network search;

若终端的网络信号的信号质量大于预设初始门限,则在终端处于第三状态的情况下,停止终端对当前的驻留小区之外的任意小区的测量行为;所述第三状态为:微动静止状态、灭屏状态、所述网络信号的信号质量大于预设的第三接入门限和idle态同时成立。If the signal quality of the network signal of the terminal is greater than the preset initial threshold, then when the terminal is in the third state, the terminal stops measuring any cell outside the current resident cell; the third state is: micro-motion still state, screen off state, the signal quality of the network signal is greater than the preset third access threshold and idle state are established at the same time.

根据第二方面,或者以上第二方面的任意一种实现方式,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

若终端由所述第三状态切换为第四状态,则允许终端对当前的驻留小区之外的任意小区的测量行为,所述第四状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述网络信号的信号质量小于或等于第三接入门限、离开idle态、退出飞行模式或拔插卡状态。If the terminal switches from the third state to the fourth state, the terminal is allowed to measure any cell outside the current resident cell, and the fourth state includes at least one of the following: exiting the micro-motion static state, entering the bright screen state, the signal quality of the network signal is less than or equal to the third access threshold, leaving the idle state, exiting the flight mode or the card removal state.

根据第二方面,或者以上第二方面的任意一种实现方式,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

所述网络信号的信号质量大于第三接入门限为:所述网络信号的信号质量大于第一子门限;The signal quality of the network signal is greater than the third access threshold: the signal quality of the network signal is greater than the first sub-threshold;

所述网络信号的信号质量小于或等于第三接入门限为:所述网络信号的信号质量小于或等于第二子门限。The signal quality of the network signal is less than or equal to the third access threshold means that the signal quality of the network signal is less than or equal to the second sub-threshold.

根据第二方面,或者以上第二方面的任意一种实现方式,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

所述处于灭屏状态包括:终端灭屏的持续时长大于预设灭屏阈值的情况下,确定终端处于灭屏状态;The screen-off state includes: when the duration of the terminal screen being off is greater than a preset screen-off threshold, determining that the terminal is in the screen-off state;

所述处于微动静止状态包括:终端处于微动静止状态的持续时长大于预设微动静止阈值的情况下,确定终端进入微动静止状态。The being in the micro-motion static state includes: when the duration of the terminal being in the micro-motion static state is greater than a preset micro-motion static threshold, determining that the terminal enters the micro-motion static state.

根据第二方面,或者以上第二方面的任意一种实现方式,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

若终端的网络信号的信号质量大于预设初始门限,且确定终端处于第五状态,则所述终端增大LTE背景搜索NR的间隔时长;所述第五状态为:处于LTE背景搜索NR和进入微动静止状态。If the signal quality of the network signal of the terminal is greater than the preset initial threshold and it is determined that the terminal is in the fifth state, the terminal increases the interval duration of the LTE background search NR; the fifth state is: being in the LTE background search NR and entering the micro-motion static state.

根据第二方面,或者以上第二方面的任意一种实现方式,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

若终端由第五状态切换为第六状态,则将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,所述第六状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、退出飞行模式或拔插卡状态。If the terminal switches from the fifth state to the sixth state, the interval duration of the LTE background search NR is restored to the preset initial duration value, and the sixth state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, exiting the flight mode, or removing the card from the state.

根据第二方面,或者以上第二方面的任意一种实现方式,当所述计算机程序被所述一个或多个处理器执行时,使得所述终端设备执行以下步骤:According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by the one or more processors, the terminal device performs the following steps:

所述终端增大LTE背景搜索NR的间隔时长以形成新的LTE背景搜索NR的间隔时长,直至所述LTE背景搜索NR的间隔时长到达预设最大间隔时长。The terminal increases the interval duration of the LTE background search NR to form a new interval duration of the LTE background search NR until the interval duration of the LTE background search NR reaches a preset maximum interval duration.

第三方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得处理器执行如上述第一方面或第一方面的可能的实现方式中任一项所述的终端网络连接的处理方法。In a third aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes a method for processing a terminal network connection as described in any one of the first aspect or possible implementations of the first aspect.

第三方面以及第三方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第三方面以及第三方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The third aspect and any implementation of the third aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the third aspect and any implementation of the third aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.

第四方面,本申请实施例提供了一种计算机程序,该计算机程序包括用于执行第一方面以及第一方面的任意可能的实现方式中的终端网络连接的处理方法的指令。In a fourth aspect, an embodiment of the present application provides a computer program, which includes instructions for executing the method for processing a terminal network connection in the first aspect and any possible implementation of the first aspect.

第四方面以及第四方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第四方面以及第四方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.

第五方面,本申请实施例提供了一种芯片,该芯片包括处理电路、收发管脚。其中,该收发管脚、和该处理电路通过内部连接通路互相通信,该处理电路执行第一方面或第一方面的任一种可能的实现方式中的终端网络连接的处理方法,以控制接收管脚接收信号,以控制发送管脚发送信号。示例性的,芯片为终端设备的芯片,终端设备可以为手机。In a fifth aspect, an embodiment of the present application provides a chip, the chip comprising a processing circuit and a transceiver pin. The transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the terminal network connection processing method in the first aspect or any possible implementation of the first aspect to control the receiving pin to receive a signal and control the sending pin to send a signal. Exemplarily, the chip is a chip of a terminal device, and the terminal device can be a mobile phone.

第五方面以及第五方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第五方面以及第五方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The fifth aspect and any implementation of the fifth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fifth aspect and any implementation of the fifth aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请终端网络连接的处理方法应用的系统网络框架示意图;FIG1 is a schematic diagram of a system network framework for the application of the terminal network connection processing method of the present application;

图2为本申请终端网络连接的处理方法涉及终端设备的接口协议分层通信示意图;FIG2 is a schematic diagram of layered communication of an interface protocol of a terminal device involved in the method for processing a terminal network connection of the present application;

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

图4为本申请终端网络连接的处理方法实施例提供的一种整体流程示意图;FIG4 is a schematic diagram of an overall flow chart of a method for processing a terminal network connection according to an embodiment of the present application;

图5为本申请终端网络连接的处理方法的时序流程示意图;FIG5 is a schematic diagram of a timing flow chart of a method for processing a terminal network connection according to the present application;

图6为本申请终端网络连接的处理方法另一实施例的时序流程示意图;FIG6 is a timing flow diagram of another embodiment of a method for processing a terminal network connection according to the present application;

图7为本申请终端网络连接的处理方法又一实施例的时序流程示意图;FIG7 is a schematic diagram of a timing flow chart of another embodiment of a method for processing a terminal network connection of the present application;

图8为本申请实施例提供的一种终端设备的另一种框架结构示意图。FIG8 is a schematic diagram of another framework structure of a terminal device provided in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are 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.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.

在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

本申请实施例可以应用于各种移动通信系统,例如:新无线(new radio,NR)系统、全球移动通讯(global system of mobile communication,GSM)系统、码分多址(codedivision multiple access,CDMA)系统、宽带码分多址(wideband code divisionmultiple access,WCDMA)系统、通用分组无线业务(general pcket radio service,GPRS)、长期演进(long term evolution,LTE)系统、先进的长期演进(advanced long termevolution,LTE-A)系统、演进的长期演进(evolved long term evolution,eLTE)系统、未来5G通信系统等其它通信系统,具体的,在此处不作限制。The embodiments of the present application can be applied to various mobile communication systems, such as: new radio (NR) system, global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, advanced long term evolution (LTE-A) system, evolved long term evolution (eLTE) system, future 5G communication system and other communication systems, specifically, no limitation is made here.

如图1所示,该通信系统包括接入网设备100和用户设备200。接入网设备100与用户设备200之间的连接方式可以为无线连接。As shown in Fig. 1, the communication system includes an access network device 100 and a user equipment 200. The connection between the access network device 100 and the user equipment 200 may be a wireless connection.

接入网设备100可以是LTE中的演进型基站(evolutional Node B,eNB或e-NodeB),还可以是新无线控制器(new radio controller,NR controller),可以是5G系统中的gNode B(gNB),可以是集中式网元(centralized unit),可以是新无线基站,可以是射频拉远模块,可以是微基站,可以是中继(relay),可以是分布式网元(distributed unit),可以是接收点(transmission reception point,TRP)或传输点(transmission point,TP)或者任何其它无线接入设备,但本申请实施例不限于此。接入网设备可以覆盖1个或多个小区。The access network device 100 may be an evolutionary Node B (eNB or e-NodeB) in LTE, a new radio controller (NR controller), a gNode B (gNB) in a 5G system, a centralized unit, a new wireless base station, a radio frequency remote module, a micro base station, a relay, a distributed unit, a transmission reception point (TRP) or a transmission point (TP) or any other wireless access device, but the embodiments of the present application are not limited thereto. The access network device may cover one or more cells.

终端设备2 0 0也可以称为用户设备(u s e r equipment,UE)、移动台(mobilestation,MS)、移动终端(mobile terminal,MT)等。具体的,终端设备200可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(a ugmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等,对此不作限定。The terminal device 200 may also be referred to as user equipment (UE), mobile station (MS), mobile terminal (MT), etc. Specifically, the terminal device 200 may be a mobile phone, a tablet computer (pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc., without limitation.

示例性的,本申请实施例的终端设备包括但不限于搭载IOS、Android、Microsoft或者其它操作系统。Exemplarily, the terminal devices of the embodiments of the present application include but are not limited to those equipped with IOS, Android, Microsoft or other operating systems.

本申请实施例中,终端设备200可以在接入网设备100下的某个小区驻留,之后驻留小区为终端设备200提供服务,即下文所涉及的小区。终端设备200在驻留小区驻留之后,还会对驻留小区以及邻小区进行测量,以监测驻留小区以及邻小区的网络信号质量。在驻留小区满足重选条件时,还可以进行小区重选(即对当前驻留小区脱网,然后对邻小区进行搜网),以重选至一个最优小区(即再次驻网)为终端设备200提供服务。终端设备200处于连接态(即CONNECTED态)下,当接收到接入网设备200下发的重定向指令后,会执行重定向过程,主要有两种,一种是由网络下发测量控制消息,终端设备200测量候选小区的信号并上报测量报告给网络,由网络下发重定向指令;另一种为盲重定向,是由网络直接下发重定向指令,终端设备200直接无条件执行重定向。In the embodiment of the present application, the terminal device 200 can reside in a cell under the access network device 100, and then the resident cell provides services for the terminal device 200, that is, the cell involved below. After the terminal device 200 resides in the resident cell, it will also measure the resident cell and the neighboring cell to monitor the network signal quality of the resident cell and the neighboring cell. When the resident cell meets the reselection condition, the cell reselection can also be performed (that is, the current resident cell is disconnected from the network, and then the neighboring cell is searched for the network) to reselect to an optimal cell (that is, resident again) to provide services for the terminal device 200. The terminal device 200 is in a connected state (that is, CONNECTED state). When receiving the redirection instruction issued by the access network device 200, the redirection process will be executed. There are two main types. One is that the network sends a measurement control message, the terminal device 200 measures the signal of the candidate cell and reports the measurement report to the network, and the network sends a redirection instruction; the other is blind redirection, in which the network directly sends a redirection instruction, and the terminal device 200 directly and unconditionally executes the redirection.

在本申请一些可行实施例中,终端设备的无线制式的接口协议分为三层:L1物理层(physical layer,PHY)、L2数据链路层和L3网络层。如图2示例性给出一种终端设备的接口协议分层通信的示意图。如图2中,L1物理层PHY位于最底层,主要负责处理调制解调、天线映射或其他电信物理层功能,本申请实施例的终端网络连接的处理方法应用于终端的modem(调制解调器),modem属于L1物理层。In some feasible embodiments of the present application, the interface protocol of the wireless standard of the terminal device is divided into three layers: L1 physical layer (physical layer, PHY), L2 data link layer and L3 network layer. As shown in Figure 2, a schematic diagram of the layered communication of the interface protocol of a terminal device is given as an example. As shown in Figure 2, the L1 physical layer PHY is located at the bottom layer and is mainly responsible for processing modulation and demodulation, antenna mapping or other telecommunications physical layer functions. The terminal network connection processing method of the embodiment of the present application is applied to the terminal modem, and the modem belongs to the L1 physical layer.

L2数据链路层包括PDCP层、无线链路控制(radio link control,RLC)层和MAC层。其中,PDCP层主要负责执行包头压缩,以减少无线接口传输的比特流量。RLC层主要负责分段和连接、高层数据的顺序控制等处理。MAC层主要负责混合自动重传请求(hybridautomatic repeat request,HARQ)重传和上下行调度等。The L2 data link layer includes the PDCP layer, the radio link control (RLC) layer and the MAC layer. The PDCP layer is mainly responsible for performing header compression to reduce the bit flow of wireless interface transmission. The RLC layer is mainly responsible for segmentation and connection, and sequence control of high-level data. The MAC layer is mainly responsible for hybrid automatic repeat request (HARQ) retransmission and uplink and downlink scheduling.

L3网络层包括非接入层(non-access stratum,NAS)和RRC层。其中,非接入层NAS可用于传输用户信息或控制信息,例如4G/5G通信链路或业务的建立、释放以及移动性管理信息等。NAS层以下的协议层也可称为接入层(access stratum,AS)。RRC层支持终端设备和基站eNB间多种功能的信令协议,广播NAS层和AS层的系统消息,RRC连接建立、保持和释放,端到端无线承载(例如UE到网络侧间无线接入网链路)的建立、修改和释放,包括UE测量报告、小区切换和重选等功能在内的移动管理等。在实际应用中,终端设备可通过L3网络层与网络侧通信,以实现4G和5G接入网的建立、释放等操作,示例性的,终端进行LTE背景搜索NR,以实现5G接入网的建立。The L3 network layer includes the non-access stratum (NAS) and the RRC layer. Among them, the non-access stratum NAS can be used to transmit user information or control information, such as the establishment and release of 4G/5G communication links or services, and mobility management information. The protocol layer below the NAS layer can also be called the access stratum (AS). The RRC layer supports signaling protocols for various functions between terminal devices and base stations eNB, broadcasts system messages of the NAS layer and the AS layer, establishes, maintains and releases RRC connections, establishes, modifies and releases end-to-end radio bearers (such as the radio access network link between the UE and the network side), and includes UE measurement reports, cell switching and reselection. Mobile management including functions such as mobile management. In actual applications, the terminal device can communicate with the network side through the L3 network layer to implement operations such as the establishment and release of 4G and 5G access networks. For example, the terminal performs an LTE background search for NR to establish a 5G access network.

本申请所提供的终端网络连接的处理方法,可以适用于手机、平板电脑、桌面型、膝上型、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(Personal Digital Assistant,PDA)、可穿戴终端设备、智能手表等终端。其中,适用该终端网络连接的处理方法的终端设备,其结构可以如图3所示。The terminal network connection processing method provided in the present application can be applied to terminals such as mobile phones, tablet computers, desktops, laptops, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, personal digital assistants (PDA), wearable terminal devices, smart watches, etc. Among them, the terminal device to which the terminal network connection processing method is applied can have a structure as shown in FIG3 .

如图3所示,图3为本申请提供的一种终端设备的组成示例图,终端设备200可以包括处理器210,外部存储器接口220,内部存储器221,通用串行总线(universal serialbus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中传感器模块280可以包括压力传感器280A,陀螺仪传感器280B,气压传感器280C,磁传感器280D,加速度传感器280E,距离传感器280F,接近光传感器280G,指纹传感器280H,温度传感器280J,触摸传感器280K,环境光传感器280L,骨传导传感器280M等。As shown in Figure 3, Figure 3 is an example diagram of the composition of a terminal device provided by the present application. The terminal device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

可以理解的是,本实施例示意的结构并不构成对该终端设备200的具体限定。在另一些实施例中,该终端设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device 200. In other embodiments, the terminal device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

其中,控制器可以是终端设备200的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the terminal device 200. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

示例性的,处理器210在本申请终端网络连接的处理方法各实施例中,为终端设备处于各种状态下的条件判定提供算力支持,为中终端设备的modem提供条件判定的结果。Exemplarily, in each embodiment of the method for processing a terminal network connection of the present application, the processor 210 provides computing power support for condition determination of the terminal device in various states, and provides the result of the condition determination for the modem of the terminal device.

处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备200的结构限定。在本申请另一些实施例中,终端设备200也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the terminal device 200. In other embodiments of the present application, the terminal device 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

终端设备200的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。The wireless communication function of the terminal device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor.

天线1和天线2用于发射和接收电磁波信号。终端设备200中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

移动通信模块250可以提供应用在终端设备200上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块250可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块250还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。The mobile communication module 250 can provide solutions for wireless communications including 2G/3G/4G/5G applied to the terminal device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.

调制解调处理器,即本申请实施例终端网络连接的处理方法应用载体modem,可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器270A,受话器270B等)输出声音信号,或通过显示屏294显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器210,与移动通信模块250或其他功能模块设置在同一个器件中。The modem processor, i.e., the modem used as the carrier of the processing method for the terminal network connection in the embodiment of the present application, may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and may be arranged in the same device as the mobile communication module 250 or other functional modules.

无线通信模块260可以提供应用在终端设备200上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块260可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

在一些实施例中,终端设备200的天线1和移动通信模块250耦合,天线2和无线通信模块260耦合,使得终端设备200可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。示例性的,终端设备200可通过天线1和移动通信模块250耦合以及天线2和无线通信模块260耦合,实现无服务搜网的网络配置中的第一接入门限的调整、停止或允许终端对当前的驻留小区之外的任意小区的测量行为以及调整接入新空口背景搜索的间隔时长、网络信号的监测。In some embodiments, the antenna 1 of the terminal device 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the terminal device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and/or satellite based augmentation system (SBAS). Exemplarily, the terminal device 200 can couple the antenna 1 and the mobile communication module 250 and the antenna 2 and the wireless communication module 260 to adjust the first access threshold in the network configuration of the service-free network search, stop or allow the terminal to measure any cell other than the current resident cell, and adjust the interval duration of the background search for accessing the new air interface and the monitoring of the network signal.

SIM卡接口295用于连接SIM卡。SIM卡可以通过插入SIM卡接口295,或从SIM卡接口295拔出,实现和终端设备200的接触和分离。终端设备200可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口295可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口295可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口295也可以兼容不同类型的SIM卡。SIM卡接口295也可以兼容外部存储卡。终端设备200通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,终端设备200采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在终端设备200中,不能和终端设备200分离。示例性的,终端设备200的拔插卡状态为终端设备200的SIM卡接口295接入SIM卡或取出SIM卡。The SIM card interface 295 is used to connect the SIM card. The SIM card can be connected to and separated from the terminal device 200 by inserting the SIM card interface 295 or pulling it out from the SIM card interface 295. The terminal device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The terminal device 200 interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the terminal device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 200 and cannot be separated from the terminal device 200. Exemplarily, the card insertion and removal state of the terminal device 200 is that the SIM card interface 295 of the terminal device 200 accesses the SIM card or removes the SIM card.

另外,在上述部件之上,运行有操作系统。例如鸿蒙系统,iOS操作系统,Android开源操作系统,Windows操作系统等。在该操作系统上可以安装运行应用程序。In addition, an operating system is running on the above components, such as Hongmeng system, iOS operating system, Android open source operating system, Windows operating system, etc. Applications can be installed and run on the operating system.

为了更好地理解本申请一实施例提供终端网络连接的处理方法的整体流程和可实现方式,参见图4,包括以下步骤:In order to better understand the overall process and implementable manner of the method for processing terminal network connection provided by an embodiment of the present application, refer to FIG. 4 , which includes the following steps:

步骤A10,在终端连接网络侧设备之后,动态监测终端的网络信号的信号质量是否大于用于触发搜网的预设初始门限。Step A10: After the terminal is connected to the network side device, dynamically monitor whether the signal quality of the terminal's network signal is greater than a preset initial threshold for triggering a network search.

示例性的,终端为终端设备,网络侧设备为接入网设备(例如基站),终端中的modem动态检测终端当前驻留小区的网络信号的信号质量是否大于预设初始门限,以判断终端的网络信号的信号质量的强度和质量是否足够差以不得不触发脱网和搜网,预设初始门限一般作为终端是否具备基础网络信号的信号质量的参考阈值。Exemplarily, the terminal is a terminal device, and the network side device is an access network device (such as a base station). The modem in the terminal dynamically detects whether the signal quality of the network signal of the terminal's current cell is greater than a preset initial threshold, so as to determine whether the strength and quality of the signal quality of the terminal's network signal are poor enough to trigger disconnection and network search. The preset initial threshold is generally used as a reference threshold for whether the terminal has the signal quality of the basic network signal.

步骤A21,若终端的网络信号的信号质量小于或等于预设初始门限,则监测终端进行无服务搜网的搜网频率。Step A21: If the signal quality of the network signal of the terminal is less than or equal to the preset initial threshold, the network search frequency of the terminal performing the no-service network search is monitored.

在终端的网络信号的信号质量小于或等于预设初始门限时,表明此时终端的网络信号的信号质量较差,触发脱网和搜网的概率较大,此时modem需同步监测终端进行无服务(out of service,OOS)搜网的搜网频率。When the signal quality of the terminal's network signal is less than or equal to the preset initial threshold, it indicates that the signal quality of the terminal's network signal is poor, and the probability of triggering network disconnection and network search is high. At this time, the modem needs to synchronously monitor the network search frequency of the terminal for out of service (OOS) network search.

步骤A22,在确定搜网频率大于预设频率阈值之后,判断终端是否处于第一状态,第一状态为:进入微动静止状态和灭屏状态。Step A22, after determining that the network search frequency is greater than the preset frequency threshold, determine whether the terminal is in the first state, the first state is: entering the micro-motion still state and the screen off state.

若确定终端的搜网频率大于预设频率阈值,则表明终端在频繁搜网过程中功耗较大,需要进一步确定终端频繁搜网是否有必要,因而判断终端是否处于第一状态,以确定是否需要启动降低终端功耗的优化方案。若终端的搜网频率不大于预设频率阈值,表明终端进行OOS搜网频率尚处于正常范围,此时终端的网络信号的信号质量基本能支持基础业务需求,或者表明终端尚处于脱网和搜网初期,功耗不大,可暂不介入功耗优化。If it is determined that the terminal's network search frequency is greater than the preset frequency threshold, it indicates that the terminal consumes a lot of power during frequent network searches, and it is necessary to further determine whether it is necessary for the terminal to frequently search the network, and thus determine whether the terminal is in the first state to determine whether it is necessary to start an optimization plan to reduce the power consumption of the terminal. If the terminal's network search frequency is not greater than the preset frequency threshold, it indicates that the terminal's OOS network search frequency is still within the normal range, and the signal quality of the terminal's network signal can basically support basic business needs, or it indicates that the terminal is still in the early stages of disconnection and network search, and the power consumption is not large, so power consumption optimization can be temporarily not involved.

步骤A23,若终端处于第一状态,则减小终端关于进行无服务搜网的网络配置中的第一接入门限。Step A23: if the terminal is in the first state, reducing the first access threshold in the network configuration of the terminal for performing a no-service network search.

在确定终端处于第一状态之后,表明终端所处位置不变或变化很小、终端相对驻留小区的网络信号的信号质量稳定,并且表明此时终端暂没有或较少业务、或者用户基本不使用,用户此时对终端的网络信号的信号质量要求较低,终端此时对网络信号的信号质量需求较低,可减小终端关于进行无服务搜网的网络配置中的第一接入门限,抑制终端在脱网、搜网和驻网之间来回乒乓,降低了终端在第一状态下的功耗,进而降低了终端的整体功耗。其中,在所述搜网频率大于预设频率阈值且终端处于第一状态的情况下,所述终端将第一接入门限的值由初始值进行减小,并启动第一定时器,所述第一定时器的时长为所述第一接入门限的值为减小后的值的持续时间,其中,所述第一接入门限为所述网络侧设备为所述终端配置的无服务搜网的接入门限,所述第一状态为:微动静止状态和灭屏状态。After determining that the terminal is in the first state, it indicates that the location of the terminal remains unchanged or changes very little, the signal quality of the network signal of the terminal relative to the resident cell is stable, and it indicates that the terminal has no or few services at this time, or the user basically does not use it, the user has low requirements for the signal quality of the network signal of the terminal at this time, and the terminal has low requirements for the signal quality of the network signal at this time, which can reduce the first access threshold in the network configuration of the terminal for performing no-service network search, inhibit the terminal from ping-pong back and forth between disconnection, network search and network resident, reduce the power consumption of the terminal in the first state, and thus reduce the overall power consumption of the terminal. Wherein, when the network search frequency is greater than the preset frequency threshold and the terminal is in the first state, the terminal reduces the value of the first access threshold from the initial value and starts the first timer, the duration of the first timer is the duration of the value of the first access threshold being the reduced value, wherein the first access threshold is the access threshold of the no-service network search configured by the network side device for the terminal, and the first state is: micro-motion static state and screen off state.

步骤A24,在终端处于第二状态之后,将第一接入门限恢复至预设初始门限,第二状态包括:退出微动静止状态、进入亮屏状态、减小第一接入门限的持续时长达到预设临界时长、退出飞行模式和拔插卡状态中一项或多项。Step A24, after the terminal is in the second state, the first access threshold is restored to the preset initial threshold, and the second state includes: exiting the micro-motion static state, entering the screen-on state, reducing the duration of the first access threshold to reach a preset critical duration, exiting the flight mode, and removing and plugging the card state. One or more of the state.

在执行减小终端关于进行无服务搜网的网络配置中的第一接入门限的功耗优化方案之后,监测终端是否处于第二状态,若终端处于第二状态,即终端由所述第一状态切换为第二状态,则表明用户移动或拿起终端、点亮屏幕或者整备好终端,用户大概率需要使用终端处理相关业务,需要较好的网络信号的信号质量支持,此时退出减小第一接入门限的降低功耗优化方案,终端的modem将第一接入门限增大并恢复至预设初始门限,以取消对终端的脱网、搜网和驻网流程执行的抑制,优先保证终端的网络信号的信号质量的强度和质量。After executing the power consumption optimization scheme for reducing the first access threshold in the network configuration of the terminal for performing service-free network search, monitor whether the terminal is in the second state. If the terminal is in the second state, that is, the terminal switches from the first state to the second state, it indicates that the user moves or picks up the terminal, turns on the screen or prepares the terminal. The user is likely to need to use the terminal to process related services and requires better signal quality support of the network signal. At this time, exit the power consumption optimization scheme for reducing the first access threshold, and the terminal's modem increases the first access threshold and restores it to the preset initial threshold to cancel the inhibition of the terminal's offline, network search and network stationing processes, and give priority to ensuring the strength and quality of the signal quality of the terminal's network signal.

步骤A311,若终端的网络信号的信号质量大于预设初始门限,则在确定终端处于第三状态之后,停止终端对当前的驻留小区之外的任意小区的测量行为;第三状态为:进入微动静止状态、进入灭屏状态、网络信号的信号质量大于第三接入门限和进入idle态同时成立。Step A311, if the signal quality of the network signal of the terminal is greater than the preset initial threshold, then after determining that the terminal is in the third state, stop the terminal's measurement of any cell outside the current resident cell; the third state is: entering a micro-motion still state, entering a screen-off state, the signal quality of the network signal is greater than the third access threshold and entering an idle state are established at the same time.

在终端的网络信号的信号质量大于预设初始门限时,表明此时终端的网络信号的信号质量处于较好的状态,终端大概率不会脱网和搜网,modem监测终端是否处于第三状态,若终端处于第三状态,则表明终端同时进入微动静止状态、灭屏状态、网络信号的信号质量大于第二接入门限和idle态,终端在位移上基本处于静止状态、灭屏无用户使用状态、网络信号的信号质量较佳和处于无待处理业务状态,终端当前的网络信号的信号质量足够支持当前可能的业务需求,可以认为终端网络信道环境稳定,不需要进行终端的移动性处理,因此modem可停止终端对当前的驻留小区之外的任意小区的测量行为,即终端的调制解调器停止对其他同频和异频小区的测量,在保证终端移动性网络业务需求的前提下,降低了终端在第三状态下的功耗,进一步降低了终端的整体功耗。When the signal quality of the network signal of the terminal is greater than the preset initial threshold, it indicates that the signal quality of the network signal of the terminal is in a good state at this time, and the terminal is unlikely to be disconnected from the network or search for the network. The modem monitors whether the terminal is in the third state. If the terminal is in the third state, it indicates that the terminal simultaneously enters the micro-motion static state, the screen-off state, and the signal quality of the network signal is greater than the second access threshold and the idle state. The terminal is basically in a static state in terms of displacement, the screen is off and there is no user using the state, the signal quality of the network signal is good, and there is no pending business. The signal quality of the current network signal of the terminal is sufficient to support the current possible business needs. It can be considered that the terminal network channel environment is stable and the terminal mobility processing is not required. Therefore, the modem can stop the terminal from measuring any cell outside the current resident cell, that is, the terminal modem stops measuring other co-frequency and hetero-frequency cells. On the premise of ensuring the terminal mobility network business needs, the power consumption of the terminal in the third state is reduced, and the overall power consumption of the terminal is further reduced.

步骤A312,在终端处于第四状态之后,允许终端对当前的驻留小区之外的任意小区的测量行为,第四状态包括:退出微动静止状态、进入亮屏状态、网络信号的信号质量小于或等于第三接入门限、离开idle态、退出飞行模式和拔插卡状态中一项或多项。Step A312, after the terminal is in the fourth state, the terminal is allowed to measure any cell other than the current resident cell, and the fourth state includes: exiting the micro-motion static state, entering the bright screen state, the signal quality of the network signal is less than or equal to the third access threshold, leaving the idle state, exiting the flight mode and one or more of the card removal state.

在modem停止终端对当前的驻留小区之外的任意小区的测量行为之后,监测终端是否处于第四状态,在终端处于第四状态之后,即终端由所述第三状态切换为第四状态,表明终端此时网络信号的信号质量难以支持待处理业务或者即将被用户使用,需支持终端的移动性,此时,退出停止终端对当前的驻留小区之外的任意小区的测量行为的降低功耗优化方案,modem允许终端对当前的驻留小区之外的任意小区的测量行为,优先保证终端的移动性和网络信号的信号质量的强度和质量。After the modem stops the terminal's measurement behavior of any cell outside the current resident cell, monitor whether the terminal is in the fourth state. After the terminal is in the fourth state, that is, the terminal switches from the third state to the fourth state, it indicates that the signal quality of the network signal of the terminal at this time is difficult to support the pending service or is about to be used by the user, and the mobility of the terminal needs to be supported. At this time, exit the power consumption reduction optimization scheme of stopping the terminal's measurement behavior of any cell outside the current resident cell, and the modem allows the terminal to measure any cell outside the current resident cell, giving priority to ensuring the mobility of the terminal and the strength and quality of the signal quality of the network signal.

步骤A321,若终端的网络信号的信号质量大于预设初始门限,则确定终端处于第五状态之后,增大LTE背景搜索NR的间隔时长;第五状态为:处于LTE背景搜索NR场景和进入微动静止状态。Step A321, if the signal quality of the network signal of the terminal is greater than the preset initial threshold, it is determined that the terminal is in the fifth state, and the interval length of the LTE background search NR is increased; the fifth state is: being in the LTE background search NR scenario and entering the micro-motion still state.

在终端的网络信号的信号质量大于预设初始门限时,在监测终端是否处于第三状态的同时,同步检测终端是否处于第五状态,若终端处于第五状态,则表明终端处于LTE(Long Term Evolution,长期演进)网络环境需背景搜索NR(New Radio,新空口)场景,且终端进入微动静止状态表明终端所处位置不变或变化很小,终端相对驻留小区的网络信号的信号质量稳定,modem可增大LTE背景搜索NR的间隔时长,减小LTE背景搜索NR的频率,降低了终端在第五状态下的功耗,从而进一步降低终端的整体功耗。When the signal quality of the network signal of the terminal is greater than the preset initial threshold, while monitoring whether the terminal is in the third state, it is synchronously detected whether the terminal is in the fifth state. If the terminal is in the fifth state, it indicates that the terminal is in an LTE (Long Term Evolution) network environment and needs to perform a background search for an NR (New Radio) scenario. The terminal entering a micro-motion static state indicates that the terminal's position remains unchanged or changes very little, and the signal quality of the network signal of the terminal relative to the resident cell is stable. The modem can increase the interval duration of the LTE background search for NR, reduce the frequency of the LTE background search for NR, and reduce the power consumption of the terminal in the fifth state, thereby further reducing the overall power consumption of the terminal.

步骤A322,在终端处于第六状态之后,将LTE背景搜索NR的间隔时长恢复至预设初始时长值,第六状态包括:退出微动静止状态、进入亮屏状态、退出飞行模式和拔插卡状态中一项或多项。Step A322, after the terminal is in the sixth state, the interval duration of the LTE background search NR is restored to the preset initial duration value, and the sixth state includes: exiting the micro-motion still state, entering the screen-on state, exiting the flight mode, and removing and plugging the card state.

在modem增大LTE背景搜索NR的间隔时长之后,监测终端是否处于第六状态,在终端处于第六状态之后,即终端由第五状态切换为第六状态,表明终端此时对进入NR场景需求较强,此时,退出增大LTE背景搜索NR的间隔时长的降低功耗优化方案,modem将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,优先保证终端及时进入NR场景。After the modem increases the interval duration of the LTE background search for NR, it monitors whether the terminal is in the sixth state. After the terminal is in the sixth state, that is, the terminal switches from the fifth state to the sixth state, it indicates that the terminal has a strong demand to enter the NR scene at this time. At this time, the power consumption reduction optimization scheme of increasing the interval duration of the LTE background search for NR is exited, and the modem restores the interval duration of the LTE background search for NR to the preset initial duration value, giving priority to ensuring that the terminal enters the NR scene in time.

为更好理解终端网络连接的处理方法细化拓展方案细节,参照图5,在本申请的终端网络连接的处理方法一些实施例中,终端网络连接的处理方法包括:To better understand the details of the detailed extension scheme of the terminal network connection processing method, referring to FIG. 5 , in some embodiments of the terminal network connection processing method of the present application, the terminal network connection processing method includes:

步骤S10,在终端连接网络侧设备之后,modem监测终端进行无服务搜网的搜网频率;Step S10, after the terminal is connected to the network side device, the modem monitors the network search frequency of the terminal performing a no-service network search;

步骤S20,在搜网频率大于预设频率阈值且终端处于第一状态的情况下,modem将第一接入门限的值由初始值进行减小,并启动第一定时器,第一定时器的时长为第一接入门限的值为减小后的值的持续时间,其中,第一接入门限为网络侧设备为终端配置的无服务搜网的接入门限,第一状态为:微动静止状态和灭屏状态;Step S20, when the network search frequency is greater than the preset frequency threshold and the terminal is in the first state, the modem reduces the value of the first access threshold from the initial value and starts the first timer, the duration of the first timer is the duration of the value of the first access threshold being the reduced value, wherein the first access threshold is the access threshold for no-service network search configured by the network side device for the terminal, and the first state is: micro-motion static state and screen-off state;

示例性的,第一定时器可设置于终端内,在终端开始将第一接入门限的值由初始值进行减小时,第一定时器开始计时,第一计时器的时长为第一接入门限的值为减小后的值的持续时间。Exemplarily, the first timer can be set in the terminal. When the terminal starts to reduce the value of the first access threshold from the initial value, the first timer starts timing, and the duration of the first timer is the duration when the value of the first access threshold is the reduced value.

步骤S30,若终端由第一状态切换为第二状态,则modem将第一接入门限的值恢复至初始值,第二状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、第一接入门限的值为减小后的值的持续时间达到预设时长、退出飞行模式或拔插卡状态。Step S30, if the terminal switches from the first state to the second state, the modem restores the value of the first access threshold to the initial value, and the second state includes at least one of the following: exiting the micro-motion static state, entering the screen-on state, the duration of the first access threshold being the reduced value reaches a preset time length, exiting the flight mode or the card removal state.

在本实施例中,终端网络连接的处理方法各实施例的执行主体为终端中的modem(调制解调器),在终端连接网络侧设备(如基站)之后,终端接入移动通信网络之后为保持通信移动性和良好的通信质量,在终端处于脱网的边缘时,终端modem会因网络信号的信号质量进一步变差而对当前驻留小区进行脱网,然后modem对相邻小区进行搜网以选出网络信号的信号质量相对更好的小区进行驻留,此时终端modem完成依次无服务搜网的流程;modem检测终端进行无服务搜网的搜网频率,在确定搜网频率大于预设频率阈值,表明终端处于脱网的边缘,正在进行反复的脱网、搜网和驻网的方案乒乓,终端此时处于较高的功耗阶段,进而modem对终端是否处于第一状态进行监测,第一状态为终端进入微动静止状态且同步进入了灭屏状态,终端进入微动静止状态表明终端所处位置不变或变化很小,终端相对驻留小区的网络信号的信号质量稳定,终端进入灭屏状态表明此时终端暂没有或较少业务、或者用户基本不使用,用户此时对终端的网络信号的信号质量要求较低,所以终端处于第一状态后,终端此时对网络信号的信号质量需求较低,modem可减小终端关于进行无服务搜网的网络配置中的第一接入门限,由于第一接入门限变小,终端即使处于以原始的第一接入门限标准下的脱网边缘,也不会触发终端对当前驻留小区进行脱网,然后对相邻小区进行搜网,避免和抑制不必要的脱网、搜网和驻网之间来回乒乓,降低了终端在第一状态下的功耗,进而降低了终端的整体功耗。In this embodiment, the execution subject of each embodiment of the processing method for terminal network connection is a modem in the terminal. After the terminal is connected to the network side device (such as a base station), after the terminal accesses the mobile communication network, in order to maintain communication mobility and good communication quality, when the terminal is on the verge of being disconnected from the network, the terminal modem will disconnect from the current resident cell due to further deterioration of the signal quality of the network signal, and then the modem searches for adjacent cells to select a cell with relatively better signal quality of the network signal to reside in. At this time, the terminal modem completes the process of no-service network search in sequence; the modem detects the network search frequency of the terminal performing no-service network search, and when it is determined that the network search frequency is greater than a preset frequency threshold, it indicates that the terminal is on the verge of being disconnected from the network, and is performing repeated disconnection, network search and network ping-pong. The terminal is in a relatively high power consumption stage at this time, and then the modem monitors whether the terminal is in the first state, The first state is that the terminal enters a micro-motion still state and synchronously enters a screen-off state. The terminal entering the micro-motion still state indicates that the terminal's position remains unchanged or changes very little, and the signal quality of the terminal's network signal relative to the resident cell is stable. The terminal entering the screen-off state indicates that the terminal has no or few services at this time, or the user basically does not use it. The user has low requirements for the signal quality of the terminal's network signal at this time. Therefore, after the terminal is in the first state, the terminal has low requirements for the signal quality of the network signal. The modem can reduce the first access threshold of the terminal in the network configuration for performing no-service network search. Since the first access threshold becomes smaller, even if the terminal is on the edge of disconnection under the original first access threshold standard, it will not trigger the terminal to disconnect from the current resident cell, and then search for the adjacent cell, thereby avoiding and suppressing unnecessary disconnection, network search and network ping-pong, reducing the power consumption of the terminal in the first state, and thus reducing the overall power consumption of the terminal.

再者,基于该实施例方案,在终端进入减小第一接入门限的降低功耗优化方案后,基于终端的第一定时器开始统计第一接入门限的值减小后的持续时间,并同步监测终端是否退出微动静止状态、监测终端是否进入亮屏状态、监测终端是否他退出飞行模式、监测终端是否处于拔插卡状态;在监测到终端退出微动静止状态、进入亮屏状态、退出飞行模式或者处于拔插卡状态、第一接入门限的值为减小后的值的持续时间达到预设时长,表明用户移动或拿起终端、点亮屏幕、整备好终端或者终端进入降低无服务搜网的接入门限的周期时间用尽,用户大概率需要使用终端处理相关业务,需要较好的网络信号支持,因此在终端处于第二状态之后,表明终端即将有业务处理需求、需要较好的网络信号支持,此时退出减小第一接入门限的降低功耗优化方案,将第一接入门限增大并恢复至预设初始门限,以取消对终端的脱网、搜网和驻网流程执行的抑制,优先保证终端的网络信号的强度和质量。Furthermore, based on the embodiment, after the terminal enters the power consumption reduction optimization scheme of reducing the first access threshold, the first timer based on the terminal starts to count the duration of the first access threshold value after being reduced, and synchronously monitors whether the terminal exits the micro-motion static state, monitors whether the terminal enters the screen-lit state, monitors whether the terminal exits the flight mode, and monitors whether the terminal is in the card-plugging state; when it is monitored that the terminal exits the micro-motion static state, enters the screen-lit state, exits the flight mode, or is in the card-plugging state, and the duration of the value of the first access threshold being the reduced value reaches a preset duration, it indicates that the user moves or picks up the terminal, lights up the screen, prepares the terminal, or the terminal enters the cycle time of reducing the access threshold for searching the network without service. The user is likely to need to use the terminal to process related services and needs better network signal support. Therefore, after the terminal is in the second state, it indicates that the terminal is about to have business processing requirements and needs better network signal support. At this time, the power consumption reduction optimization scheme of reducing the first access threshold is exited, and the first access threshold is increased and restored to the preset initial threshold to cancel the inhibition of the execution of the terminal's network disconnection, network search, and network stationing processes, and give priority to ensuring the strength and quality of the terminal's network signal.

示例性的,微动静止状态为终端处于微动模式或静止模式,通过终端的运动传感器等实现方式,若获取终端的位移变化值处于预设极小位移区间,则确定终端处于微动模式;若获取终端的位移变化值小于预设极小位移值,则确定终端处于静止模式。Exemplarily, the micro-motion still state is that the terminal is in micro-motion mode or still mode. Through the implementation method of the terminal's motion sensor, if the displacement change value of the terminal is in a preset minimum displacement interval, it is determined that the terminal is in micro-motion mode; if the displacement change value of the terminal is less than the preset minimum displacement value, it is determined that the terminal is in still mode.

示例性的,终端的网络信号的信号质量为终端中天线接收移动通信网络信号的信号质量的无线信号强度,单位为RSRP(Reference Signal Receiving Power,参考信号接收功率);和/或终端中天线接收移动通信网络信号的信号质量的无线信号质量,单位为RSRQ(Reference Signal Receiving Quality,参考信号接收质量)。Exemplarily, the signal quality of the network signal of the terminal is the wireless signal strength of the signal quality of the mobile communication network signal received by the antenna in the terminal, and the unit is RSRP (Reference Signal Receiving Power); and/or the wireless signal quality of the signal quality of the mobile communication network signal received by the antenna in the terminal, and the unit is RSRQ (Reference Signal Receiving Quality).

示例性的,终端进入灭屏状态为:在终端灭屏的持续时长大于预设灭屏阈值时,确定终端进入灭屏状态。Exemplarily, the terminal enters the screen-off state when: when the duration of the terminal screen being off is greater than a preset screen-off threshold, it is determined that the terminal enters the screen-off state.

示例性的,第一接入门限为终端进行对当前驻留小区进行脱网的网络信号的信号质量的临界值。Exemplarily, the first access threshold is a critical value of the signal quality of a network signal for the terminal to disconnect from the current cell.

示例性的,本申请实施例的终端网络连接的处理方法应用于终端的Modem(调制解调器),所述终端网络连接的处理方法的执行主体为终端的Modem。Exemplarily, the method for processing a terminal network connection in the embodiment of the present application is applied to a modem of a terminal, and the execution subject of the method for processing a terminal network connection is the modem of the terminal.

示例性的,终端的Sensorhub(传感器控制中心)用于感知终端进入或退出微动静止状态,Sensorhub将终端进入或退出微动静止状态的信息发送至终端的Modem(调整解调器)。Exemplarily, the Sensorhub (sensor control center) of the terminal is used to sense that the terminal enters or exits the micro-motion static state, and the Sensorhub sends the information that the terminal enters or exits the micro-motion static state to the Modem (modem) of the terminal.

示例性的,终端的Sensorhub(传感器控制中心)属于终端的内核层。Exemplarily, the Sensorhub (sensor control center) of the terminal belongs to the kernel layer of the terminal.

示例性的,本申请实施例的终端为智能手机。Exemplarily, the terminal in the embodiment of the present application is a smart phone.

示例性的,本申请终端网络连接的处理方法各实施例方案,不仅针对LTE(LongTerm Evolution,长期演进)、SA(standalone,独立组网)制式,针对以前2G、3G或者未来6G等接入技术也是同样适用。并且,本申请终端网络连接的处理方法各实施例方案对于GCF(Global Certification Forum,全球认证论坛)测试不生效。For example, the embodiments of the method for processing the terminal network connection of the present application are not only applicable to LTE (LongTerm Evolution) and SA (standalone) standards, but also to previous 2G, 3G or future 6G access technologies. In addition, the embodiments of the method for processing the terminal network connection of the present application are not effective for GCF (Global Certification Forum) testing.

在本申请的终端网络连接的处理方法一些实施例中,步骤S30中终端将第一接入门限的值由初始值进行减小包括:In some embodiments of the method for processing a terminal network connection of the present application, in step S30, the terminal reduces the value of the first access threshold from the initial value, including:

步骤B,所述终端选择预置的第二接入门限,若所述第一接入门限的值大于所述第二接入门限的值,则所述第一接入门限的值更新为所述第二接入门限的值。Step B: The terminal selects a preset second access threshold. If the value of the first access threshold is greater than the value of the second access threshold, the value of the first access threshold is updated to the value of the second access threshold.

在本实施例中,以数值较小的第二接入门限替换终端当前驻留小区无服务搜网的第一接入门限,实现对当前的第一接入门限的减小;同时,若终端当前的第一接入门限本就大于第二接入门限,则不再对第一接入门限进行调小,以保证终端基础的网络信号最低值。In this embodiment, the first access threshold of the terminal's current no-service network search in the cell where the terminal is currently residing is replaced by a second access threshold with a smaller value, thereby reducing the current first access threshold; at the same time, if the terminal's current first access threshold is already greater than the second access threshold, the first access threshold is no longer reduced to ensure the minimum value of the terminal's basic network signal.

在本申请的终端网络连接的处理方法一些实施例中,步骤S10在终端连接网络侧设备之后,modem监测终端进行无服务搜网的搜网频率包括:In some embodiments of the method for processing terminal network connection of the present application, in step S10, after the terminal is connected to the network side device, the modem monitors the network search frequency of the terminal performing no service network search, including:

步骤S11,在终端连接网络侧设备之后,modem动态监测终端的网络信号的信号质量是否大于用于触发搜网的预设初始门限;Step S11, after the terminal is connected to the network side device, the modem dynamically monitors whether the signal quality of the terminal's network signal is greater than a preset initial threshold for triggering a network search;

步骤S12,若终端的网络信号的信号质量小于或等于预设初始门限,则modem监测终端进行无服务搜网的搜网频率;Step S12, if the signal quality of the network signal of the terminal is less than or equal to the preset initial threshold, the modem monitors the network search frequency of the terminal performing a no-service network search;

步骤S13,若终端的网络信号的信号质量大于预设初始门限,则modem在确定终端处于第三状态的情况下,停止终端对当前的驻留小区之外的任意小区的测量行为;所述第三状态为:进入微动静止状态、进入灭屏状态、所述网络信号的信号质量大于预设的第三接入门限和进入idle态同时成立。Step S13, if the signal quality of the network signal of the terminal is greater than the preset initial threshold, the modem stops the terminal's measurement of any cell outside the current resident cell when determining that the terminal is in the third state; the third state is: entering a micro-motion still state, entering a screen-off state, the signal quality of the network signal is greater than a preset third access threshold and entering an idle state are simultaneously established.

在本实施例中,在终端连接网络侧设备(如基站)之后,动态监测终端的网络信号的信号质量是否大于预设初始门限,若终端的网络信号的信号质量小于或等于预设初始门限,则表明终端此时的网络信号的信号质量处于较差的状态,终端modem将会对当前驻留的小区进行脱网并进行无服务搜网,因此modem监测终端进行无服务搜网的搜网频率,以供在搜网频率大于预设频率阈值且终端处于第一状态时,减小终端关于进行无服务搜网的网络配置中的第一接入门限,以避免终端处于脱网的边缘而进行反复的脱网、搜网和驻网的方案乒乓,降低终端的功耗。若终端的网络信号的信号质量大于预设初始门限,则表明终端此时的网络信号的信号质量处于较好的状态,可进一步modem监测终端是否处于第三状态。第三状态为终端进入微动静止状态且进入灭屏状态且当前网络信号的信号质量大于第三接入门限且进入idle态,其中,终端进入微动静止状态表明终端所处位置不变或变化很小,终端相对驻留小区的网络信号的信号质量稳定;终端进入灭屏状态表明此时终端暂没有或较少业务、或者用户基本不使用,用户此时对终端的网络信号的信号质量要求较低;终端当前的网络信号的信号质量大于第三接入门限(第三接入门限大于预设初始门限),表明终端当前的网络信号的信号质量较好、能支持大部分业务的网络需求;终端进入idle态(空闲态),表明终端在某个小区完成了驻留之后,没有待处理的业务;终端处于第三状态,表明终端同时进入微动静止状态、灭屏状态、网络信号的信号质量大于第三接入门限和idle态,终端在位移上基本处于静止状态、灭屏无用户使用状态、网络信号的信号质量较佳和处于无待处理业务状态,终端当前的网络信号的信号质量足够支持当前可能的业务需求,可以认为终端网络信道环境稳定,不需要进行终端的移动性处理,因此modem可停止终端对当前的驻留小区之外的任意小区的测量行为,即终端的调制解调器停止对其他同频和异频小区的测量,在保证终端移动性网络业务需求的前提下,降低了终端在第三状态下的功耗,进一步降低了终端的整体功耗。In this embodiment, after the terminal is connected to the network side device (such as a base station), the signal quality of the network signal of the terminal is dynamically monitored to see whether it is greater than a preset initial threshold. If the signal quality of the network signal of the terminal is less than or equal to the preset initial threshold, it indicates that the signal quality of the network signal of the terminal is in a poor state at this time, and the terminal modem will disconnect the currently resident cell and perform a no-service network search. Therefore, the modem monitors the network search frequency of the terminal for performing a no-service network search, so that when the network search frequency is greater than the preset frequency threshold and the terminal is in the first state, the first access threshold in the network configuration of the terminal for performing a no-service network search is reduced to avoid the terminal being on the verge of disconnection and repeatedly disconnecting, searching and staying in the network, thereby reducing the power consumption of the terminal. If the signal quality of the network signal of the terminal is greater than the preset initial threshold, it indicates that the signal quality of the network signal of the terminal is in a good state at this time, and the modem can further monitor whether the terminal is in the third state. The third state is that the terminal enters a micro-motion static state and a screen-off state, and the signal quality of the current network signal is greater than the third access threshold and enters an idle state, wherein the terminal entering the micro-motion static state indicates that the terminal's position remains unchanged or changes very little, and the signal quality of the terminal's network signal relative to the resident cell is stable; the terminal entering the screen-off state indicates that the terminal has no or few services at this time, or the user basically does not use it, and the user has low requirements on the signal quality of the terminal's network signal at this time; the signal quality of the terminal's current network signal is greater than the third access threshold (the third access threshold is greater than the preset initial threshold), indicating that the signal quality of the terminal's current network signal is good and can support the network requirements of most services; the terminal enters an idle state (idle state), indicating that the terminal has no pending services after completing its stay in a certain cell. Service; The terminal is in the third state, indicating that the terminal simultaneously enters the micro-motion static state, the screen-off state, the signal quality of the network signal is greater than the third access threshold and the idle state, the terminal is basically in a static state in terms of displacement, the screen is off and there is no user using the state, the signal quality of the network signal is relatively good and there is no pending service. The signal quality of the current network signal of the terminal is sufficient to support the current possible service needs. It can be considered that the terminal network channel environment is stable and there is no need for terminal mobility processing. Therefore, the modem can stop the terminal from measuring any cell outside the current resident cell, that is, the terminal modem stops measuring other co-frequency and hetero-frequency cells. Under the premise of ensuring the terminal mobility network service needs, the power consumption of the terminal in the third state is reduced, and the overall power consumption of the terminal is further reduced.

示例性的,参照图6,在本申请终端网络连接的处理方法关于第三状态触发场景的实施例,终端中设置Sensorhub(传感器控制中心)和modem(调制解调器),Sensorhub感知并向modem提供终端进入微动静止状态或者退出微动静止状态的信息,modem接收关于终端进入或者退出微动静止状态的信息,并在终端的网络信号的信号质量大于预设初始门限之后,执行步骤S131判断终端是否处于第三状态,所述第三状态为:进入微动静止状态、进入灭屏状态、所述网络信号的信号质量大于第三接入门限和进入idle态同时成立;并在终端处于第三状态时,执行步骤S132停止对其他同频和异频小区的测量。Exemplarily, referring to Figure 6, in an embodiment of the third state triggering scenario of the terminal network connection processing method of the present application, a Sensorhub (sensor control center) and a modem (modem) are set in the terminal, the Sensorhub senses and provides the modem with information that the terminal enters or exits the micro-motion still state, the modem receives the information about the terminal entering or exiting the micro-motion still state, and after the signal quality of the network signal of the terminal is greater than the preset initial threshold, executes step S131 to determine whether the terminal is in the third state, and the third state is: entering the micro-motion still state, entering the screen off state, the signal quality of the network signal is greater than the third access threshold and entering the idle state are established at the same time; and when the terminal is in the third state, executes step S132 to stop measuring other co-frequency and hetero-frequency cells.

在本申请的终端网络连接的处理方法一些实施例中,在步骤S13中停止终端对当前的驻留小区之外的任意小区的测量行为的步骤之后,所述的方法还包括:In some embodiments of the method for processing a terminal network connection of the present application, after the step of stopping the terminal from measuring any cell other than the current camping cell in step S13, the method further includes:

步骤50,若终端由所述第三状态切换为第四状态,则modem允许终端对当前的驻留小区之外的任意小区的测量行为,所述第四状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述网络信号的信号质量小于或等于第三接入门限、离开idle态、退出飞行模式或拔插卡状态。Step 50, if the terminal switches from the third state to the fourth state, the modem allows the terminal to measure any cell other than the current resident cell, and the fourth state includes at least one of the following: exiting the micro-motion static state, entering the screen-on state, the signal quality of the network signal is less than or equal to the third access threshold, leaving the idle state, exiting the flight mode or the card removal state.

在本实施例中,在modem停止终端对当前的驻留小区之外的任意小区的测量行为之后,开始监测终端是否退出微动静止状态、是否进入亮屏状态、实时网络信号的信号质量是否小于或等于第三接入门限、是否离开idle态、是否退出飞行模式以及是否处于拔插卡状态;终端退出微动静止状态,表明用户移动或拿起终端;终端进入亮屏状态,表明点亮屏幕或者整备好终端,用户大概率需要使用终端处理相关业务;终端实时网络信号的信号质量小于或等于第三接入门限,表明此时网络信号的信号质量的强度和质量较差,需提升网络信号的信号质量的强度和质量;终端离开idle态,则进入连接态,有待处理的业务;终端退出飞行模式或处于拔插卡状态,表明用户大概率需要使用终端处理相关业务,需要较好的网络信号的信号质量支持;因此,在终端处于第四状态之后,表明终端此时网络信号的信号质量难以支持待处理业务或者即将被用户使用,需支持终端的移动性,此时,退出停止终端对当前的驻留小区之外的任意小区的测量行为的降低功耗优化方案,modem允许终端对当前的驻留小区之外的任意小区的测量行为,优先保证终端的移动性和网络信号的信号质量的强度和质量。In this embodiment, after the modem stops the terminal from measuring any cell other than the current resident cell, it starts to monitor whether the terminal exits the micro-motion static state, whether it enters the screen-on state, whether the signal quality of the real-time network signal is less than or equal to the third access threshold, whether it leaves the idle state, whether it exits the flight mode, and whether it is in the card removal state; the terminal exits the micro-motion static state, indicating that the user moves or picks up the terminal; the terminal enters the screen-on state, indicating that the screen is turned on or the terminal is ready, and the user is likely to use the terminal to process related services; the signal quality of the terminal's real-time network signal is less than or equal to the third access threshold, indicating that the strength and quality of the signal quality of the network signal are poor at this time, and the signal quality of the network signal needs to be improved. The strength and quality of the quality; when the terminal leaves the idle state, it enters the connected state and there is business to be processed; when the terminal exits the flight mode or is in the card removal state, it indicates that the user is likely to need to use the terminal to process related business, and requires better signal quality support of the network signal; therefore, after the terminal is in the fourth state, it indicates that the signal quality of the network signal of the terminal at this time is difficult to support the business to be processed or is about to be used by the user, and the mobility of the terminal needs to be supported. At this time, the power consumption reduction optimization solution of stopping the terminal from measuring any cell outside the current resident cell is exited, and the modem allows the terminal to measure any cell outside the current resident cell, giving priority to ensuring the mobility of the terminal and the strength and quality of the signal quality of the network signal.

示例性的,所述第三接入门限包括第一子门限和第二子门限,第一子门限大于第二子门限,所述网络信号的信号质量大于第三接入门限的步骤为:所述网络信号的信号质量大于第一子门限;所述网络信号的信号质量小于或等于第三接入门限的步骤为:所述网络信号的信号质量小于或等于第二子门限。Exemplarily, the third access threshold includes a first sub-threshold and a second sub-threshold, the first sub-threshold is greater than the second sub-threshold, and the step of the signal quality of the network signal being greater than the third access threshold is: the signal quality of the network signal is greater than the first sub-threshold; the step of the signal quality of the network signal being less than or equal to the third access threshold is: the signal quality of the network signal is less than or equal to the second sub-threshold.

基于该实施例方案,在第三状态的定义中,网络信号的信号质量大于第二接入门限具体为网络信号的信号质量大于第一子门限(即Thresh1);在第四状态的定义中,网络信号的信号质量小于或等于第二接入门限具体为网络信号的信号质量小于或等于第二子门限(即Thresh2),第一子门限和第二子门限存在一定差值(例如Thresh1-Thresh2=3Db);在终端进入第三状态以停止对当前的驻留小区之外的任意小区的测量行为的判断过程中,以第一子门限作为第三接入门限,在终端进入第四状态以允许终端对当前的驻留小区之外的任意小区的测量行为的判断过程中,以第二子门限作为第三接入门限,从而终端的网络信号的信号质量在第一子门限和第二子门限之间波动并不会出现停止邻小区测量和允许邻小区测量之间的方案乒乓,避免方案乒乓的额外功耗,进而进一步降低终端功耗。Based on the scheme of this embodiment, in the definition of the third state, the signal quality of the network signal is greater than the second access threshold, specifically, the signal quality of the network signal is greater than the first sub-threshold (i.e., Thresh1); in the definition of the fourth state, the signal quality of the network signal is less than or equal to the second access threshold, specifically, the signal quality of the network signal is less than or equal to the second sub-threshold (i.e., Thresh2), and there is a certain difference between the first sub-threshold and the second sub-threshold (for example, Thresh1-Thresh2=3Db); in the process of judging that the terminal enters the third state to stop the measurement behavior of any cell outside the current resident cell, the first sub-threshold is used as the third access threshold, and in the process of judging that the terminal enters the fourth state to allow the terminal to measure any cell outside the current resident cell, the second sub-threshold is used as the third access threshold, so that the signal quality of the network signal of the terminal fluctuates between the first sub-threshold and the second sub-threshold, and there will be no ping-pong between the scheme of stopping neighboring cell measurement and allowing neighboring cell measurement, thereby avoiding the additional power consumption of the scheme ping-pong, thereby further reducing the power consumption of the terminal.

示例性的,所述进入灭屏状态的步骤包括:在终端灭屏的持续时长大于预设灭屏阈值时,确定终端进入灭屏状态。基于该实施例方案,在终端处于第一状态、第三状态或第五状态的判断中,终端进入灭屏状态可为:在终端灭屏的持续时长大于预设灭屏阈值时,才确定终端进入灭屏状态,避免终端在短暂息屏场景(如用户临时熄灭屏幕或屏幕自动息屏读秒到达且用户即将主动点亮屏幕)而触发终端进入第一状态、第三状态或第五状态的响应,防止终端进入息屏状态和进入亮屏状态的方案乒乓,避免方案乒乓的额外功耗,进而进一步降低终端功耗。Exemplarily, the step of entering the screen-off state includes: when the duration of the terminal screen being off is greater than a preset screen-off threshold, determining that the terminal has entered the screen-off state. Based on this embodiment, in the judgment that the terminal is in the first state, the third state, or the fifth state, the terminal entering the screen-off state may be: when the duration of the terminal screen being off is greater than the preset screen-off threshold, determining that the terminal has entered the screen-off state, avoiding the terminal from triggering the response of entering the first state, the third state, or the fifth state in a short screen-off scenario (such as the user temporarily turns off the screen or the screen automatically turns off the screen and the user is about to actively turn on the screen), preventing the terminal from entering the screen-off state and entering the screen-on state in a ping-pong scheme, avoiding the extra power consumption of the ping-pong scheme, and further reducing the power consumption of the terminal.

示例性的,所述进入微动静止状态的步骤包括:在终端处于微动静止状态的持续时长大于预设微动静止阈值时,确定终端进入微动静止状态。基于该实施例方案,在终端处于第一状态、第三状态或第五状态的判断中,终端进入微动静止状态可为:在终端处于微动静止状态的持续时长大于预设微动静止阈值,才确定终端进入微动静止状态,避免终端在短暂微动静止场景(如用户临时放下终端或终端处于短时间的相对静止)而触发终端进入第一状态、第三状态或第五状态的响应,防止终端进入微动静止状态和退出微动静止状态的方案乒乓,避免方案乒乓的额外功耗,进而进一步降低终端功耗。Exemplarily, the step of entering the micro-motion static state includes: when the duration of the terminal being in the micro-motion static state is longer than a preset micro-motion static threshold, determining that the terminal has entered the micro-motion static state. Based on this embodiment, in the judgment that the terminal is in the first state, the third state, or the fifth state, the terminal entering the micro-motion static state may be: when the duration of the terminal being in the micro-motion static state is longer than a preset micro-motion static threshold, determining that the terminal has entered the micro-motion static state, avoiding the terminal from triggering a response to enter the first state, the third state, or the fifth state in a short micro-motion static scenario (such as the user temporarily putting down the terminal or the terminal being relatively static for a short period of time), preventing the terminal from entering and exiting the micro-motion static state in a ping-pong manner, avoiding the extra power consumption of the ping-pong scheme, and further reducing the power consumption of the terminal.

在本申请的终端网络连接的处理方法一些实施例中,所述的方法还包括:In some embodiments of the method for processing a terminal network connection of the present application, the method further includes:

步骤C,若终端的网络信号的信号质量大于预设初始门限,则确定终端处于第五状态之后,modem增大LTE背景搜索NR的间隔时长;所述第五状态为:处于LTE背景搜索NR场景和进入微动静止状态。Step C, if the signal quality of the network signal of the terminal is greater than the preset initial threshold, after determining that the terminal is in the fifth state, the modem increases the interval length of the LTE background search NR; the fifth state is: being in the LTE background search NR scenario and entering the micro-motion static state.

在本实施例中,在终端的网络信号的信号质量大于预设初始门限,则表明终端此时的网络信号的信号质量处于较好的状态,可同步监测终端是否处于第三状态或第五状态,若同时检测到终端满足处于第三状态和第五状态,则优先确定终端满足第三状态并执行后续步骤;若检测到终端仅满足处于第五状态,则表明终端处于LTE(Long TermEvolution,长期演进)网络环境需背景搜索NR(New Radio,新空口)场景,且终端进入微动静止状态表明终端所处位置不变或变化很小,终端相对驻留小区的网络信号的信号质量稳定,modem可增大接入新空口背景搜索的间隔时长,减小LTE背景搜索NR的频率,降低了终端在第五状态下的功耗,从而进一步降低终端的整体功耗。In this embodiment, when the signal quality of the network signal of the terminal is greater than the preset initial threshold, it indicates that the signal quality of the network signal of the terminal is in a good state at this time, and whether the terminal is in the third state or the fifth state can be synchronously monitored. If it is detected that the terminal satisfies the third state and the fifth state at the same time, it is prioritized to determine that the terminal satisfies the third state and executes subsequent steps; if it is detected that the terminal only satisfies the fifth state, it indicates that the terminal is in an LTE (Long Term Evolution) network environment and needs to perform a background search for an NR (New Radio) scenario, and the terminal enters a micro-motion static state, indicating that the terminal's position remains unchanged or changes very little, and the signal quality of the network signal of the terminal relative to the resident cell is stable. The modem can increase the interval time of the background search for accessing the new air interface, reduce the frequency of the LTE background search for NR, and reduce the power consumption of the terminal in the fifth state, thereby further reducing the overall power consumption of the terminal.

终端搜索网络的方式可以分为前景搜索(foreground search)和背景搜索(background search)两种方式。示例性的,LTE背景搜索(background search)NR可以是指,终端在驻留在LTE(即4G(the4th generation mobile communication technology,第四代移动通信技术)移动通信网络的情况下搜索NR网络。The terminal may search for a network in two ways: foreground search and background search. For example, LTE background search NR may refer to the terminal searching for an NR network while residing in an LTE (i.e., 4G (the 4th generation mobile communication technology) mobile communication network.

示例性的,参照图7,在本申请终端网络连接的处理方法关于第五状态触发场景的实施例,终端中设置Sensorhub(传感器控制中心)和modem(调制解调器),Sensorhub感知并向modem提供终端进入微动静止状态或者退出微动静止状态的信息,modem接收关于终端进入或者退出微动静止状态的信息,并在终端的网络信号的信号质量大于预设初始门限之后,modem执行步骤C1判断终端是否处于第五状态,所述第五状态为:处于LTE背景搜索NR场景和进入微动静止状态;并在终端处于第五状态时,modem执行步骤C2增大接入新空口背景搜索(即LTE背景搜索NR)的间隔时长。Exemplarily, referring to Figure 7, in an embodiment of the fifth state triggering scenario of the terminal network connection processing method of the present application, a Sensorhub (sensor control center) and a modem (modem) are set in the terminal, the Sensorhub senses and provides information about the terminal entering or exiting the micro-motion still state to the modem, the modem receives information about the terminal entering or exiting the micro-motion still state, and after the signal quality of the network signal of the terminal is greater than the preset initial threshold, the modem executes step C1 to determine whether the terminal is in the fifth state, and the fifth state is: being in the LTE background search NR scenario and entering the micro-motion still state; and when the terminal is in the fifth state, the modem executes step C2 to increase the interval duration of the background search for accessing the new air interface (i.e., LTE background search NR).

在本申请的终端网络连接的处理方法一些实施例中,在步骤C中增大接入新空口背景搜索的间隔时长的步骤之后,所述的方法还包括:In some embodiments of the method for processing a terminal network connection of the present application, after the step of increasing the interval duration of the background search for accessing a new air interface in step C, the method further includes:

步骤D,在终端处于第六状态之后,modem将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,所述第六状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、退出飞行模式或拔插卡状态。Step D, after the terminal is in the sixth state, the modem restores the interval duration of the LTE background search NR to a preset initial duration value, and the sixth state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, exiting the flight mode, or removing the card state.

在本实施例中,在增大LTE背景搜索NR的间隔时长之后,开始监测终端是否退出微动静止状态、是否进入亮屏状态、是否退出飞行模式以及是否处于拔插卡状态;终端退出微动静止状态,表明用户移动或拿起终端;终端进入亮屏状态,表明点亮屏幕或者整备好终端,用户大概率需要使用终端处理相关业务;终端退出飞行模式或处于拔插卡状态,表明用户大概率需要使用终端处理相关业务,需要较好的网络信号的信号质量支持;因此,在终端处于第六状态之后,表明终端此时对进入NR场景需求较强,此时,退出增大LTE背景搜索NR的间隔时长的降低功耗优化方案,modem将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,优先保证终端及时进入NR场景。In this embodiment, after increasing the interval duration of the LTE background search for NR, the terminal starts to monitor whether it exits the micro-motion static state, enters the screen-on state, exits the flight mode, and is in the card-plugging state; the terminal exits the micro-motion static state, indicating that the user moves or picks up the terminal; the terminal enters the screen-on state, indicating that the screen is lit or the terminal is ready, and the user is likely to need to use the terminal to process related services; the terminal exits the flight mode or is in the card-plugging state, indicating that the user is likely to need to use the terminal to process related services, and requires better signal quality support from the network signal; therefore, after the terminal is in the sixth state, it indicates that the terminal has a strong demand for entering the NR scene at this time. At this time, the power consumption reduction optimization scheme of increasing the interval duration of the LTE background search for NR is exited, and the modem restores the interval duration of the LTE background search for NR to the preset initial duration value, giving priority to ensuring that the terminal enters the NR scene in time.

示例性的,所述终端增大LTE背景搜索NR的间隔时长包括:所述终端增大LTE背景搜索NR的间隔时长以形成新的LTE背景搜索NR的间隔时长,直至所述LTE背景搜索NR的间隔时长到达预设最大间隔时长。。Exemplarily, the terminal increasing the interval duration of the LTE background search NR includes: the terminal increasing the interval duration of the LTE background search NR to form a new interval duration of the LTE background search NR, until the interval duration of the LTE background search NR reaches a preset maximum interval duration.

基于该实施例方案,在进行一次或多次LTE背景搜索NR之后,终端仍然未进入NR场景,增大LTE背景搜索NR的间隔时长以形成新的LTE背景搜索NR的间隔时长,以新的LTE背景搜索NR的间隔时长进行LTE背景搜索NR,由于原始的间隔时长和增大一次的间隔时长还是未进入NR场景,那么继续以当前的间隔时长进行LTE背景搜索NR仍然难以让终端进入NR场景,此时可进一步增大LTE背景搜索NR的间隔时长,进一步降低终端在LTE背景搜索NR的频次,进而进一步降低终端在第五状态的功耗以及整体功耗,直至LTE背景搜索NR的间隔时长到达预设最大间隔时长。Based on this embodiment, after performing one or more LTE background search NRs, the terminal still has not entered the NR scenario, the interval duration of the LTE background search NR is increased to form a new interval duration of the LTE background search NR, and the LTE background search NR is performed with the new interval duration of the LTE background search NR. Since the original interval duration and the increased interval duration still have not entered the NR scenario, continuing to perform the LTE background search NR with the current interval duration is still difficult for the terminal to enter the NR scenario. At this time, the interval duration of the LTE background search NR can be further increased to further reduce the frequency of the terminal's LTE background search NR, thereby further reducing the terminal's power consumption in the fifth state and the overall power consumption, until the interval duration of the LTE background search NR reaches the preset maximum interval duration.

可以理解的是,终端设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的步骤,本申请能够以硬件或者硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能。It is understandable that, in order to implement the above functions, the terminal device includes hardware and/or software modules corresponding to the execution of each function. In combination with the steps of each example described in the embodiments disclosed 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. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments.

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

在采用对应各个功能划分各个功能模块的情况下,图8示出了上述实施例中涉及的终端设备的一种可能的组成示意图,如图8所示,该终端设备500可以包括:监测单元501和响应单元502,其中:In the case of dividing each functional module according to each function, FIG8 shows a possible composition diagram of the terminal device involved in the above embodiment. As shown in FIG8, the terminal device 500 may include: a monitoring unit 501 and a response unit 502, wherein:

监测单元501,用于在终端连接网络侧设备之后,监测终端进行无服务搜网的搜网频率;The monitoring unit 501 is used to monitor the network search frequency of the terminal performing a no-service network search after the terminal is connected to the network side device;

响应单元502用于:The response unit 502 is used to:

在所述搜网频率大于预设频率阈值且终端处于第一状态的情况下,所述终端将第一接入门限的值由初始值进行减小,并启动第一定时器,所述第一定时器的时长为所述第一接入门限的值为减小后的值的持续时间,其中,所述第一接入门限为所述网络侧设备为所述终端配置的无服务搜网的接入门限,所述第一状态为:微动静止状态和灭屏状态;When the network search frequency is greater than the preset frequency threshold and the terminal is in the first state, the terminal reduces the value of the first access threshold from the initial value and starts the first timer, the duration of the first timer is the duration of the value of the first access threshold being the reduced value, wherein the first access threshold is the access threshold for the no-service network search configured by the network side device for the terminal, and the first state is: micro-motion static state and screen-off state;

若所述终端由所述第一状态切换为第二状态,则所述终端将所述第一接入门限的值恢复至所述初始值,所述第二状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述第一接入门限的值为减小后的值的持续时间达到预设时长、退出飞行模式或拔插卡状态。If the terminal switches from the first state to the second state, the terminal restores the value of the first access threshold to the initial value, and the second state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, the duration of the value of the first access threshold being the reduced value reaches a preset time length, exiting the flight mode or the card removal state.

在一种可能的实现方式中,所述响应单元502用于:选择预置的第二接入门限,若所述第一接入门限的值大于所述第二接入门限的值,则所述第一接入门限的值更新为所述第二接入门限的值。In a possible implementation, the response unit 502 is used to: select a preset second access threshold, and if the value of the first access threshold is greater than the value of the second access threshold, update the value of the first access threshold to the value of the second access threshold.

在一种可能的实现方式中,所述监测单元501用于:在终端连接网络侧设备之后,动态监测终端的网络信号的信号质量是否大于用于触发搜网的预设初始门限;In a possible implementation, the monitoring unit 501 is used to: after the terminal is connected to the network side device, dynamically monitor whether the signal quality of the network signal of the terminal is greater than a preset initial threshold for triggering a network search;

若终端的网络信号的信号质量小于或等于预设初始门限,则监测终端进行无服务搜网的搜网频率;If the signal quality of the network signal of the terminal is less than or equal to the preset initial threshold, the network search frequency of the monitoring terminal performing the no-service network search;

若终端的网络信号的信号质量大于预设初始门限,则在终端处于第三状态的情况下,停止终端对当前的驻留小区之外的任意小区的测量行为;所述第三状态为:微动静止状态、灭屏状态、所述网络信号的信号质量大于预设的第三接入门限和idle态同时成立。If the signal quality of the network signal of the terminal is greater than the preset initial threshold, then when the terminal is in the third state, the terminal stops measuring any cell outside the current resident cell; the third state is: micro-motion still state, screen off state, the signal quality of the network signal is greater than the preset third access threshold and idle state are established at the same time.

在一种可能的实现方式中,所述响应单元502用于:若终端由所述第三状态切换为第四状态,则允许终端对当前的驻留小区之外的任意小区的测量行为,所述第四状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述网络信号的信号质量小于或等于第三接入门限、离开idle态、退出飞行模式或拔插卡状态。In one possible implementation, the response unit 502 is used to: if the terminal switches from the third state to the fourth state, the terminal is allowed to measure any cell other than the current resident cell, and the fourth state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, the signal quality of the network signal is less than or equal to the third access threshold, leaving the idle state, exiting the flight mode or the card removal state.

在一种可能的实现方式中,所述响应单元502用于确定:In a possible implementation, the response unit 502 is used to determine:

所述网络信号的信号质量大于第三接入门限为:所述网络信号的信号质量大于第一子门限;The signal quality of the network signal is greater than the third access threshold: the signal quality of the network signal is greater than the first sub-threshold;

所述网络信号的信号质量小于或等于第三接入门限为:所述网络信号的信号质量小于或等于第二子门限。The signal quality of the network signal is less than or equal to the third access threshold means that the signal quality of the network signal is less than or equal to the second sub-threshold.

在一种可能的实现方式中,所述响应单元502用于确定:In a possible implementation, the response unit 502 is used to determine:

所述处于灭屏状态包括:终端灭屏的持续时长大于预设灭屏阈值的情况下,确定终端处于灭屏状态;The screen-off state includes: when the duration of the terminal screen being off is greater than a preset screen-off threshold, determining that the terminal is in the screen-off state;

所述处于微动静止状态包括:终端处于微动静止状态的持续时长大于预设微动静止阈值的情况下,确定终端进入微动静止状态。The being in the micro-motion static state includes: when the duration of the terminal being in the micro-motion static state is greater than a preset micro-motion static threshold, determining that the terminal enters the micro-motion static state.

在一种可能的实现方式中,所述响应单元502用于:In a possible implementation, the response unit 502 is used to:

若终端的网络信号的信号质量大于预设初始门限,且确定终端处于第五状态,则所述终端增大LTE背景搜索NR的间隔时长;所述第五状态为:处于LTE背景搜索NR场景和进入微动静止状态。If the signal quality of the network signal of the terminal is greater than the preset initial threshold and it is determined that the terminal is in the fifth state, the terminal increases the interval duration of the LTE background search NR; the fifth state is: being in the LTE background search NR scenario and entering the micro-motion static state.

在一种可能的实现方式中,所述响应单元502用于:In a possible implementation, the response unit 502 is used to:

若终端由第五状态切换为第六状态,则将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,所述第六状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、退出飞行模式或拔插卡状态。If the terminal switches from the fifth state to the sixth state, the interval duration of the LTE background search NR is restored to the preset initial duration value, and the sixth state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, exiting the flight mode, or removing the card from the state.

在一种可能的实现方式中,所述响应单元502用于:In a possible implementation, the response unit 502 is used to:

增大LTE背景搜索NR的间隔时长以形成新的LTE背景搜索NR的间隔时长,直至所述LTE背景搜索NR的间隔时长到达预设最大间隔时长。The interval duration of the LTE background search NR is increased to form a new interval duration of the LTE background search NR, until the interval duration of the LTE background search NR reaches a preset maximum interval duration.

应理解的是,这里的终端设备以功能模块的形式体现。这里的术语“模块”可以通过软件和/或硬件形式实现,对此不作具体限定。例如,“模块”可以是实现上述功能的软件程序、硬件电路或二者结合。所述硬件电路可能包括应用特有集成电路(applicationspecific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。It should be understood that the terminal device here is embodied in the form of a functional module. The term "module" here can be implemented in the form of software and/or hardware, and is not specifically limited to this. For example, a "module" can be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit, and/or other suitable components that support the described functions.

本申请还提供一种终端设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述终端设备执行时,使得所述终端设备执行如上述第一方面或第一方面的可能的实现方式中任一项所述的终端网络连接的处理方法。The present application also provides a terminal device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the terminal device, enable the terminal device to execute a method for processing a terminal network connection as described in any one of the first aspect or possible implementations of the first aspect.

本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得处理器执行如上述第一方面或第一方面的可能的实现方式中任一项所述的终端网络连接的处理方法。The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes a method for processing a terminal network connection as described in any one of the first aspect or possible implementations of the first aspect.

本申请还提供一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行第一方面或第一方面的可能的实现方式中任一项所述的终端网络连接的处理方法。The present application also provides a chip, which includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the terminal network connection processing method described in any one of the first aspect or possible implementations of the first aspect.

可选的,该芯片还可以包括存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器上存储的指令,当所述指令被执行时,所述处理器用于执行第一方面或第一方面的可能的实现方式中任一项所述的终端网络连接的处理方法。Optionally, the chip may also include a memory storing instructions, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the terminal network connection processing method described in any one of the first aspect or possible implementations of the first aspect.

存储器可以是只读存储器(read-only memory,ROM)、可存储静态信息和指令的其它类型的静态存储设备、随机存取存储器(random access memory,RAM)或可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备,或者还可以是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质等。The memory can be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or it can also be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer.

本申请实施例中,“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,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, "and/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B may represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. A and B may be singular or plural. The character "/" generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a-b, a-c, b and c, or a-b-c, where a, b, c may be single or multiple.

本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software 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 this application.

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

在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims (11)

1.一种终端网络连接的处理方法,其特征在于,所述的方法包括:1. A method for processing a terminal network connection, characterized in that the method comprises: 在终端连接网络侧设备之后,监测终端进行无服务搜网的搜网频率;After the terminal is connected to the network side device, the network search frequency of the terminal performing no-service network search is monitored; 在所述搜网频率大于预设频率阈值且终端处于第一状态的情况下,所述终端将第一接入门限的值由初始值进行减小,并启动第一定时器,所述第一定时器的时长为所述第一接入门限的值为减小后的值的持续时间,其中,所述第一接入门限为终端进行对当前驻留小区进行脱网的网络信号的信号质量的临界值,所述第一状态为:微动静止状态和灭屏状态;When the network search frequency is greater than the preset frequency threshold and the terminal is in the first state, the terminal reduces the value of the first access threshold from the initial value and starts the first timer, the duration of the first timer is the duration of the value of the first access threshold being the reduced value, wherein the first access threshold is the critical value of the signal quality of the network signal for the terminal to disconnect the current resident cell, and the first state is: micro-motion static state and screen-off state; 在所述终端将第一接入门限的值进行减小之后,所述的方法还包括:After the terminal reduces the value of the first access threshold, the method further includes: 若所述终端由所述第一状态切换为第二状态,则所述终端将所述第一接入门限的值恢复至所述初始值,所述第二状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述第一接入门限的值为减小后的值的持续时间达到预设时长、退出飞行模式、拔卡状态或插卡状态。If the terminal switches from the first state to the second state, the terminal restores the value of the first access threshold to the initial value, and the second state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, the duration of the value of the first access threshold being the reduced value reaches a preset time length, exiting the flight mode, the card-pulling state, or the card-inserting state. 2.如权利要求1所述的终端网络连接的处理方法,其特征在于,所述终端将第一接入门限的值由初始值进行减小包括:2. The method for processing a terminal network connection according to claim 1, wherein the terminal reduces the value of the first access threshold from an initial value by: 所述终端选择预置的第二接入门限,若所述第一接入门限的值大于所述第二接入门限的值,则所述第一接入门限的值更新为所述第二接入门限的值。The terminal selects a preset second access threshold, and if the value of the first access threshold is greater than the value of the second access threshold, the value of the first access threshold is updated to the value of the second access threshold. 3.如权利要求1或2所述的终端网络连接的处理方法,其特征在于,所述在终端连接网络侧设备之后,监测终端进行无服务搜网的搜网频率的步骤包括:3. The method for processing a terminal network connection according to claim 1 or 2, wherein after the terminal is connected to the network side device, the step of monitoring the frequency of the terminal performing a network search without service comprises: 在终端连接网络侧设备之后,动态监测终端的网络信号的信号质量是否大于用于触发搜网的预设初始门限;After the terminal is connected to the network side device, dynamically monitor whether the signal quality of the terminal's network signal is greater than a preset initial threshold for triggering a network search; 若终端的网络信号的信号质量小于或等于预设初始门限,则监测终端进行无服务搜网的搜网频率;If the signal quality of the network signal of the terminal is less than or equal to the preset initial threshold, the network search frequency of the monitoring terminal performing the no-service network search; 若终端的网络信号的信号质量大于预设初始门限,则在终端处于第三状态的情况下,停止终端对当前的驻留小区之外的任意小区的测量行为;所述第三状态为:微动静止状态、灭屏状态、所述网络信号的信号质量大于预设的第三接入门限和idle态同时成立。If the signal quality of the network signal of the terminal is greater than the preset initial threshold, then when the terminal is in the third state, the terminal stops measuring any cell outside the current resident cell; the third state is: micro-motion still state, screen off state, the signal quality of the network signal is greater than the preset third access threshold and idle state are established at the same time. 4.如权利要求3所述的终端网络连接的处理方法,其特征在于,在所述停止终端对当前的驻留小区之外的任意小区的测量行为的步骤之后,所述的方法还包括:4. The method for processing a terminal network connection according to claim 3, characterized in that after the step of stopping the terminal from measuring any cell other than the current camping cell, the method further comprises: 若终端由所述第三状态切换为第四状态,则允许终端对当前的驻留小区之外的任意小区的测量行为,所述第四状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、所述网络信号的信号质量小于或等于第三接入门限、离开idle态、退出飞行模式、拔卡状态或插卡状态。If the terminal switches from the third state to the fourth state, the terminal is allowed to measure any cell outside the current resident cell, and the fourth state includes at least one of the following: exiting the micro-motion static state, entering the bright screen state, the signal quality of the network signal is less than or equal to the third access threshold, leaving the idle state, exiting the flight mode, the card removal state or the card insertion state. 5.如权利要求4所述的终端网络连接的处理方法,其特征在于,所述第三接入门限包括第一子门限和第二子门限,第一子门限大于第二子门限,5. The method for processing a terminal network connection according to claim 4, wherein the third access threshold comprises a first sub-threshold and a second sub-threshold, the first sub-threshold is greater than the second sub-threshold, 所述网络信号的信号质量大于第三接入门限为:所述网络信号的信号质量大于第一子门限;The signal quality of the network signal is greater than the third access threshold: the signal quality of the network signal is greater than the first sub-threshold; 所述网络信号的信号质量小于或等于第三接入门限为:所述网络信号的信号质量小于或等于第二子门限。The signal quality of the network signal is less than or equal to the third access threshold means that the signal quality of the network signal is less than or equal to the second sub-threshold. 6.如权利要求1或2所述的终端网络连接的处理方法,其特征在于,所述终端处于第一状态包括:所述终端处于微动静止状态和灭屏状态;6. The method for processing a terminal network connection according to claim 1 or 2, wherein the terminal being in the first state comprises: the terminal being in a micro-motion static state and a screen-off state; 所述处于灭屏状态包括:终端灭屏的持续时长大于预设灭屏阈值的情况下,确定终端处于灭屏状态;The screen-off state includes: when the duration of the terminal screen being off is greater than a preset screen-off threshold, determining that the terminal is in the screen-off state; 所述处于微动静止状态包括:终端处于微动静止状态的持续时长大于预设微动静止阈值的情况下,确定终端进入微动静止状态。The being in the micro-motion static state includes: when the duration of the terminal being in the micro-motion static state is greater than a preset micro-motion static threshold, determining that the terminal enters the micro-motion static state. 7.如权利要求3所述的终端网络连接的处理方法,其特征在于,所述的方法还包括:7. The method for processing a terminal network connection according to claim 3, characterized in that the method further comprises: 若终端的网络信号的信号质量大于预设初始门限,且确定终端处于第五状态,则所述终端增大LTE背景搜索NR的间隔时长;所述第五状态为:处于LTE背景搜索NR场景和进入微动静止状态。If the signal quality of the network signal of the terminal is greater than the preset initial threshold and it is determined that the terminal is in the fifth state, the terminal increases the interval duration of the LTE background search NR; the fifth state is: being in the LTE background search NR scenario and entering the micro-motion static state. 8.如权利要求7所述的终端网络连接的处理方法,其特征在于,在所述终端增大LTE背景搜索NR的间隔时长之后,所述的方法还包括:8. The method for processing a terminal network connection according to claim 7, characterized in that after the terminal increases the interval duration of the LTE background search NR, the method further comprises: 若终端由第五状态切换为第六状态,则将所述LTE背景搜索NR的间隔时长恢复至预设初始时长值,所述第六状态包括以下中的至少一项:退出微动静止状态、进入亮屏状态、退出飞行模式、拔卡状态或插卡状态。If the terminal switches from the fifth state to the sixth state, the interval duration of the LTE background search NR is restored to a preset initial duration value, and the sixth state includes at least one of the following: exiting the micro-motion still state, entering the screen-on state, exiting the flight mode, the card-pulling state, or the card-inserting state. 9.如权利要求7或8所述的终端网络连接的处理方法,所述终端增大LTE背景搜索NR的间隔时长包括:9. The method for processing a terminal network connection according to claim 7 or 8, wherein the terminal increases the interval duration of the LTE background search NR, comprising: 所述终端增大LTE背景搜索NR的间隔时长以形成新的LTE背景搜索NR的间隔时长,直至所述LTE背景搜索NR的间隔时长到达预设最大间隔时长。The terminal increases the interval duration of the LTE background search NR to form a new interval duration of the LTE background search NR until the interval duration of the LTE background search NR reaches a preset maximum interval duration. 10.一种终端设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述终端设备执行时,使得所述终端设备执行如权利要求1至9中任一项所述的终端网络连接的处理方法。10. A terminal device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the terminal device, enable the terminal device to execute the terminal network connection processing method as described in any one of claims 1 to 9. 11.一种存储介质,其特征在于,所述存储介质为计算机可读存储介质,所述存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得处理器执行权利要求1至9中任一项所述的终端网络连接的处理方法。11. A storage medium, characterized in that the storage medium is a computer-readable storage medium, and a computer program is stored in the storage medium. When the computer program is executed by a processor, the processor executes the terminal network connection processing method according to any one of claims 1 to 9.
CN202310247403.5A 2023-03-03 2023-03-03 Terminal network connection processing method, terminal and storage medium Active CN117119541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310247403.5A CN117119541B (en) 2023-03-03 2023-03-03 Terminal network connection processing method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310247403.5A CN117119541B (en) 2023-03-03 2023-03-03 Terminal network connection processing method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN117119541A CN117119541A (en) 2023-11-24
CN117119541B true CN117119541B (en) 2024-05-28

Family

ID=88798963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310247403.5A Active CN117119541B (en) 2023-03-03 2023-03-03 Terminal network connection processing method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN117119541B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010138587A1 (en) * 2009-05-26 2010-12-02 Qualcomm Incorporated Network detection device power conservation
WO2018098694A1 (en) * 2016-11-30 2018-06-07 华为技术有限公司 Network search method and terminal device
CN109104755A (en) * 2017-06-20 2018-12-28 中兴通讯股份有限公司 A kind of network search method, mobile terminal and web search device
CN109905906A (en) * 2017-12-08 2019-06-18 奇酷互联网络科技(深圳)有限公司 Network signal search control method, device, mobile terminal and storage medium
CN110087287A (en) * 2019-04-23 2019-08-02 努比亚技术有限公司 Terminal searches control method, device, mobile terminal and the storage medium of net
CN111132011A (en) * 2019-12-27 2020-05-08 上海移远通信科技有限公司 Configuration method, system, electronic device and medium of communication module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010138587A1 (en) * 2009-05-26 2010-12-02 Qualcomm Incorporated Network detection device power conservation
WO2018098694A1 (en) * 2016-11-30 2018-06-07 华为技术有限公司 Network search method and terminal device
CN109104755A (en) * 2017-06-20 2018-12-28 中兴通讯股份有限公司 A kind of network search method, mobile terminal and web search device
CN109905906A (en) * 2017-12-08 2019-06-18 奇酷互联网络科技(深圳)有限公司 Network signal search control method, device, mobile terminal and storage medium
CN110087287A (en) * 2019-04-23 2019-08-02 努比亚技术有限公司 Terminal searches control method, device, mobile terminal and the storage medium of net
CN111132011A (en) * 2019-12-27 2020-05-08 上海移远通信科技有限公司 Configuration method, system, electronic device and medium of communication module

Also Published As

Publication number Publication date
CN117119541A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
US12267766B2 (en) MLD privacy and operation enhancements
KR102725637B1 (en) Method for internet of things communication and an electronic device thereof
US8583057B2 (en) Techniques to control a shared antenna architecture for multiple co-located radio modules
CN114641032B (en) Terminal device and communication method
US11943759B2 (en) Dynamic bandwidth adaptation with network scheduling
US20240007840A1 (en) Method for secondary cell state configuration, user equipment, and storage medium
US20130170420A1 (en) Wireless communication device, wireless communication method and processing circuit
US20150156717A1 (en) Apparatus and method for wireless mobile device power savings
CN114451004B (en) CLI measurement method and device, terminal equipment and network equipment
WO2022082568A1 (en) Relay ue-assisted ran notification area update procedure
WO2021147539A1 (en) Terminal power saving method based on wireless local area network connection, and terminal
WO2021062730A1 (en) Wireless communication method and device
US20240365239A1 (en) Signal sending method, signal receiving method, configuration sending method, and related device
US20240430960A1 (en) Data Transmission Method, Terminal, and Device
CN112866965B (en) Intelligent glasses
CN114501560A (en) A connection control method, mobile terminal, medium, and product
CN117119541B (en) Terminal network connection processing method, terminal and storage medium
WO2025020549A1 (en) Communication method and related device
CN112866964B (en) Wireless earphone assembly
CN114339950B (en) Configuration method and device, terminal and network side equipment
CN112825597B (en) Terminal device and wireless communication method
RU2800056C1 (en) Terminal and communication method
CN119364492B (en) Awakening method and communication device
WO2025055355A1 (en) OPERATION RELATED TO AMIBIENT INTERNET OF THINGS (IoT) DEVICE
HK40069701A (en) Terminal device and communication method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Terminal Co.,Ltd.

Country or region after: China

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Patentee before: Honor Device Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address