Movatterモバイル変換


[0]ホーム

URL:


CN113596942B - Communication management method, user equipment, system and storage medium - Google Patents

Communication management method, user equipment, system and storage medium
Download PDF

Info

Publication number
CN113596942B
CN113596942BCN202110833243.3ACN202110833243ACN113596942BCN 113596942 BCN113596942 BCN 113596942BCN 202110833243 ACN202110833243 ACN 202110833243ACN 113596942 BCN113596942 BCN 113596942B
Authority
CN
China
Prior art keywords
network
user equipment
connection
management method
communication management
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
CN202110833243.3A
Other languages
Chinese (zh)
Other versions
CN113596942A (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 LtdfiledCriticalHonor Device Co Ltd
Priority to CN202110833243.3ApriorityCriticalpatent/CN113596942B/en
Publication of CN113596942ApublicationCriticalpatent/CN113596942A/en
Application grantedgrantedCritical
Publication of CN113596942BpublicationCriticalpatent/CN113596942B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The application provides a communication management method, user equipment, a system and a storage medium. The communication management method is applied to user equipment, wherein the user equipment is in communication connection with a core network, and the communication management method comprises the following steps: detecting a state of an internet protocol multimedia subsystem in response to a trigger event; if the internet protocol multimedia subsystem is in an activated state, deactivating the connection of the internet public data network; setting a back-off timer according to the trigger event; after the connection of the internet public data network is deactivated, starting the back-off timer; and after the back-off timer is overtime, the connection of the Internet public data network is reactivated. When the cellular mobile communication network is switched to other networks, the connection of the Internet public data network corresponding to the cellular mobile communication network can be deactivated, and the SIM card corresponding to the cellular mobile communication network is prevented from being frequently awakened.

Description

Translated fromChinese
通信管理方法、用户设备、系统及存储介质Communication management method, user equipment, system and storage medium

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种通信管理方法、用户设备、系统及存储介质。The present application relates to the field of communication technologies, and in particular, to a communication management method, user equipment, system, and storage medium.

背景技术Background technique

随着通信技术的发展,很多用户设备(User Equipment,UE)都支持多种通信方式(如多个蜂窝网络,Wi-Fi等),即一个用户设备中内置多种可以连接至互联网的通信方式。当用户设备从一个蜂窝网络切换至其他网络时,用户设备中的联网应用服务器因不知晓用户设备已经切换至其他网络,会继续发送数据报文至原蜂窝网络,导致原蜂窝网络被频繁拉起,降低了用户设备的联网性能,提高了用户设备的功耗。With the development of communication technology, many user equipments (UEs) support multiple communication methods (such as multiple cellular networks, Wi-Fi, etc.), that is, a user equipment has multiple built-in communication methods that can be connected to the Internet . When the user equipment is switched from one cellular network to another network, the networking application server in the user equipment will continue to send data packets to the original cellular network because it does not know that the user equipment has been switched to other networks, causing the original cellular network to be frequently pulled up. , which reduces the networking performance of the user equipment and increases the power consumption of the user equipment.

发明内容SUMMARY OF THE INVENTION

有鉴于此,有必要提供一种通信管理方法、用户设备、系统及存储介质,能够提高用户设备的联网性能并降低功耗。In view of this, it is necessary to provide a communication management method, user equipment, system and storage medium, which can improve the networking performance of the user equipment and reduce power consumption.

第一方面,本申请一实施方式提供一种通信管理方法,应用于用户设备,所述用户设备通信连接核心网,所述通信管理方法包括:In a first aspect, an embodiment of the present application provides a communication management method, which is applied to a user equipment, where the user equipment is communicatively connected to a core network, and the communication management method includes:

响应于触发事件,检测网络互联协议多媒体子系统的状态;In response to a trigger event, detecting the state of the Internet Protocol Multimedia Subsystem;

若所述网络互联协议多媒体子系统为激活状态,则去激活互联网公用数据网连接;If the Internet Protocol Multimedia Subsystem is in an activated state, then deactivate the Internet public data network connection;

根据所述触发事件设置退避定时器;setting a back-off timer according to the trigger event;

在所述去激活互联网公用数据网连接完成之后,启动所述退避定时器;starting the back-off timer after the deactivation of the Internet public data network connection is completed;

在所述退避定时器超时后,重新激活互联网公用数据网连接。After the back-off timer expires, the Internet public data network connection is reactivated.

第二方面,本申请一实施方式提供一种用户设备,通信连接核心网,包括:In a second aspect, an embodiment of the present application provides a user equipment that is communicatively connected to a core network, including:

应用处理器,响应于触发事件,检测网络互联协议多媒体子系统的状态;在所述去激活互联网公用数据网连接之后,启动所述退避定时器;an application processor, in response to a trigger event, to detect the state of the Internet Protocol Multimedia Subsystem; after the deactivation of the Internet public data network connection, start the back-off timer;

基带处理器,响应于所述应用处理器检测到的网络互联协议多媒体子系统的激活状态,用于去激活互联网公用数据网连接;在所述退避定时器超时后,重新激活互联网公用数据网连接。a baseband processor for deactivating the Internet public data network connection in response to the activation state of the Internet Protocol Multimedia Subsystem detected by the application processor; after the back-off timer expires, reactivating the Internet public data network connection .

第三方面,本申请一实施方式提供一种用户设备,通信连接核心网,包括:In a third aspect, an embodiment of the present application provides a user equipment that is communicatively connected to a core network, including:

基带处理器,响应于触发事件,检测网络互联协议多媒体子系统的状态,若所述网络互联协议多媒体子系统为激活状态,则去激活互联网公用数据网连接;设置退避定时器,在所述去激活互联网公用数据网连接之后,启动所述退避定时器;在所述退避定时器超时后,重新激活互联网公用数据网连接;The baseband processor, in response to the trigger event, detects the state of the Internet Protocol Multimedia Subsystem, and if the Internet Internet Protocol Multimedia Subsystem is in an active state, deactivates the Internet public data network connection; After activating the Internet public data network connection, start the back-off timer; after the back-off timer expires, reactivate the Internet public data network connection;

应用处理器,用于接收所述基带处理器生成的去激活公用数据网连接。An application processor for receiving the deactivated public data network connection generated by the baseband processor.

第四方面,本申请一实施例提供一种通信管理系统,包括:In a fourth aspect, an embodiment of the present application provides a communication management system, including:

如第二方面所述的用户设备;The user equipment according to the second aspect;

或者,如第三方面所述的用户设备。Or, the user equipment according to the third aspect.

第五方面,本申请一实施方式提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面所述的通信管理方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, when the computer instructions are executed on an electronic device, the electronic device is made to execute the first The communication management method described in the aspect.

本申请实施例中,通信管理方法、用户设备、系统及存储介质。可以在从蜂窝移动通信网络切换至其他网络时,去激活该蜂窝移动通信网对应的PDN连接,避免蜂窝移动通信网络对应的SIM卡被频繁唤醒。同时,为了提高用户设备重新连接回蜂窝移动通信网络后的连接速度,本申请实施例提供的通信方法还提供了退避定时器,在退避定时器超时后,使用户设备重新连接回蜂窝移动通信网络,使用户设备可以快速的启用蜂窝移动通信网络。In the embodiments of the present application, a communication management method, a user equipment, a system, and a storage medium are provided. When switching from a cellular mobile communication network to another network, the PDN connection corresponding to the cellular mobile communication network can be deactivated to avoid frequent awakening of the SIM card corresponding to the cellular mobile communication network. At the same time, in order to improve the connection speed after the user equipment is reconnected to the cellular mobile communication network, the communication method provided by the embodiment of the present application further provides a back-off timer, and after the back-off timer expires, the user equipment is reconnected to the cellular mobile communication network. , so that the user equipment can quickly enable the cellular mobile communication network.

附图说明Description of drawings

图1为本申请一实施例提供的用户设备的通信场景示意图。FIG. 1 is a schematic diagram of a communication scenario of a user equipment according to an embodiment of the present application.

图2为本申请一实施例提供的用户设备的模块示意图。FIG. 2 is a schematic block diagram of a user equipment according to an embodiment of the present application.

图3为本申请另一实施例提供的用户设备的模块示意图。FIG. 3 is a schematic block diagram of a user equipment according to another embodiment of the present application.

图4为本申请一实施例提供的通信管理方法的流程示意图。FIG. 4 is a schematic flowchart of a communication management method provided by an embodiment of the present application.

图5为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 5 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图6为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 6 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图7为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 7 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图8为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 8 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图9为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 9 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图10为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 10 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图11为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 11 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图12为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 12 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图13为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 13 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图14为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 14 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图15为本申请另一实施例提供的通信管理方法的流程示意图。FIG. 15 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

图16为本申请一实施例提供的电子设备模块示意图。FIG. 16 is a schematic diagram of an electronic device module according to an embodiment of the application.

如下具体实施方式将结合上述附图进一步说明本申请。The following specific embodiments will further illustrate the present application in conjunction with the above drawings.

具体实施方式Detailed ways

下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式是本申请一部分实施方式,而不是全部的实施方式。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments.

需要说明的是,本申请实施例中“至少一个”是指一个或者多个,多个是指两个或两个以上。除非另有定义,本文所使用的所有的技术和科学术语与属于本申请中的技术领域的技术人员通常理解的含义相同。本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。It should be noted that, in the embodiments of the present application, "at least one" refers to one or more, and multiple refers to two or more. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field in this application. Terms used in the specification of the present application are for the purpose of describing specific embodiments only, and are not intended to limit the present application.

需要说明的是,本申请实施例中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请实施例的描述中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "first" and "second" are only used for the purpose of distinguishing and describing, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order . Features delimited with "first", "second" may expressly or implicitly include one or more of the stated features. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

基于本申请中的实施方式,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施方式,都是属于本申请保护的范围。Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.

下面结合附图,对申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.

图1是本申请一实施例提供的用户设备通信场景的示意图。FIG. 1 is a schematic diagram of a user equipment communication scenario provided by an embodiment of the present application.

请参阅图1,用户设备200通过第一蜂窝网络接入点301连接至第一应用服务器301,并通过第二网络接入点302连接至第二应用服务器402。Referring to FIG. 1 , theuser equipment 200 is connected to thefirst application server 301 through the first cellularnetwork access point 301 , and is connected to thesecond application server 402 through the secondnetwork access point 302 .

可以理解的是,用户设备200包括,但不限于,便携式或移动设备、手机、平板电脑、电视、个人数字助理、膝上型设备、台式机、手持PC、服务器、网络设备、图形设备、视频游戏设备、机顶盒、蜂窝电话、便携式媒体播放器、手持设备、可穿戴设备(例如,显示眼镜或护目镜、头戴式显示器、手表、头戴设备、臂带、珠宝等)、虚拟现实和/或增强现实设备、物联网设备、工业控制设备、车载信息娱乐设备、流媒体客户端设备、电子书阅读设备、POS机、或者能够进行无线通信和/或有线通信的其他电子设备。It will be appreciated thatuser equipment 200 includes, but is not limited to, portable or mobile devices, cell phones, tablet computers, televisions, personal digital assistants, laptops, desktops, handheld PCs, servers, network devices, graphics devices, video Gaming devices, set-top boxes, cellular phones, portable media players, handheld devices, wearable devices (eg, display glasses or goggles, head-mounted displays, watches, headsets, armbands, jewelry, etc.), virtual reality and/or Or augmented reality devices, IoT devices, industrial control devices, in-vehicle infotainment devices, streaming media client devices, e-book reading devices, POS machines, or other electronic devices capable of wireless and/or wired communication.

可以理解的是,用户设备200可以支持一张或多张用户身份识别模块(SubscriberIdentity Module,SIM)卡。每个蜂窝移动通信网络对应一张SIM卡。为了便于描述,本申请实施例中将SIM卡以及其演进都统称为SIM卡。例如SIM卡可以是全球移动通信系统(GlobalSystem For Mobile Communications,GSM)数字移动电话用户的身份识别卡,用于存储用户的身份识别码和密钥,并支持GSM系统对用户的鉴权。又例如,SIM卡也可以是全球用户识别卡(Universal Subscriber Identity Module,USIM),也可以称为升级SIM卡。It can be understood that theuser equipment 200 may support one or more subscriber identity module (Subscriber Identity Module, SIM) cards. Each cellular mobile communication network corresponds to a SIM card. For ease of description, the SIM card and its evolution are collectively referred to as a SIM card in the embodiments of the present application. For example, the SIM card may be an identification card of a Global System For Mobile Communications (GSM) digital mobile phone user, which is used to store the user's identification code and key, and supports the authentication of the user by the GSM system. For another example, the SIM card may also be a universal subscriber identity module (Universal Subscriber Identity Module, USIM), which may also be called an upgraded SIM card.

可以理解的是,当用户设备200可以支持多张SIM卡时,主SIM卡可以为长期演进(Long Term Evolution,LTE)制式或5G非独立网组(Non-Standalone,NSA)制式。副SIM卡可以为支持全球移动通信系统(Global System For Mobi1eCommunication,GSM)制式、通用移动通信系统(Universal Mobi1 eTelecommunications System,UMTS)制式、时分同步码分多址(Time Division-Synchronous Code Division Multiple Access,TD-SCDMA)制式、长期演进(Long Term Evolution,LTE)制式、码分多址(Code Division Multiple Access,CDMA)制式、新系统(New System,NS)制式、5G非独立网组(Non-Standalone,NSA)制式、5G独立网组(Standalone,SA)制式等。It can be understood that when theuser equipment 200 can support multiple SIM cards, the primary SIM card can be a Long Term Evolution (Long Term Evolution, LTE) standard or a 5G Non-Standalone (Non-Standalone, NSA) standard. The secondary SIM card may support Global System For Mobi1eCommunication (GSM) standard, Universal Mobile Telecommunications System (UMTS) standard, Time Division-Synchronous Code Division Multiple Access (Time Division-Synchronous Code Division Multiple Access) TD-SCDMA), Long Term Evolution (LTE), Code Division Multiple Access (CDMA), New System (NS), 5G Non-Standalone (Non-Standalone) , NSA) standard, 5G independent network group (Standalone, SA) standard, etc.

可以理解的是,当用户设备200可以支持多张SIM卡时,则用户设备200可以支持双卡数据并发功能或非双卡数据并发功能。It can be understood that, when theuser equipment 200 can support multiple SIM cards, theuser equipment 200 can support a dual-SIM data concurrent function or a non-dual-SIM data concurrent function.

可以理解的是,用户设备200可以通过第一蜂窝网络接入点2301接入蜂窝移动通信网络与其他设备进行通信。用户设备200还可以通过第二网络接入点302接入蜂窝移动通信网络或通过无线通信技术(Wi-Fi)与其他设备进行通信。It can be understood that theuser equipment 200 can access the cellular mobile communication network through the first cellular network access point 2301 to communicate with other devices. Theuser equipment 200 can also access a cellular mobile communication network through the secondnetwork access point 302 or communicate with other devices through a wireless communication technology (Wi-Fi).

可以理解的是,服务器在与用户设备200内的应用建立连接之后,可能会向应用发送轮询、长连接及推送消息。示例性的,长连接包括用户数据报协议(User DatagramProtocol,UDP)连接及传输控制协议(Transmission Control Protocol,TCP)连接等。It can be understood that, after establishing the connection with the application in theuser equipment 200, the server may send polling, long connection and push messages to the application. Exemplarily, the persistent connection includes a User Datagram Protocol (User Datagram Protocol, UDP) connection and a Transmission Control Protocol (Transmission Control Protocol, TCP) connection, and the like.

可以理解的是,当用户设备200内的应用与服务器建立基于UDP的连接之后,由于UDP不会提供用户设备的在线状态,因此服务器端与用户设备200通常会使用周期性报文来确定用户设备200是否在线。It can be understood that after the application in theuser equipment 200 establishes a UDP-based connection with the server, since UDP does not provide the online status of the user equipment, the server and theuser equipment 200 usually use periodic packets to determine the user equipment. 200 is online.

可以理解的是,当用户设备200内的应用与服务器通过三次握手建立TCP连接之后,只要该连接未被关闭连接(Finish,FIN)或重置连接(Reset,RST),则用户设备200和服务器端可以认定对端均在线。然而,在实际应用中,用户设备200和服务器端均会发送心跳包来检测对端的连接状态,以及时发现对端是否在线。It can be understood that after the application in theuser equipment 200 establishes a TCP connection with the server through the three-way handshake, as long as the connection is not closed (Finish, FIN) or reset (Reset, RST), theuser equipment 200 and the server The peers can determine that the peers are all online. However, in practical applications, both theuser equipment 200 and the server will send a heartbeat packet to detect the connection status of the peer, and find out in time whether the peer is online.

示例性的,如图1所示,用户设备200包括第一应用(Application,APP)210和第二应用220。当用户设备200内的第一应用210通过第一蜂窝网络接入点301与第一应用服务器401建立UDP或TCP连接之后,用户设备200从第一蜂窝移动通信网络切换至其他网络。此时,用户设备200与第一蜂窝移动通信网络建立连接之后会至少保留一个公用数据网(PublicData Network,PDN)连接,在切换至其他网络之后不会主动切断PDN连接。尽管在用户设备200端与第一蜂窝移动通信网络之间的连接在接入网侧已经断开,但是由于用户设备200与第一蜂窝移动通信网络之间仍保留有至少一条PDN连接,即,用户设备200的第一蜂窝移动通信网络在核心网处于挂起状态而非切断状态。因此,对于核心网来说,用户设备200依然是在线。在一些场景下,如果用户设备从第一蜂窝移动通信网络切换到其他网络,例如Wifi网络或者第二蜂窝移动网络,此时第一蜂窝网络的核心网还认为用户设备200在线。此时应用服务器可能认为用户设备还通过第一蜂窝网络连接,依然会通过第一蜂窝网络给用户设备发送数据报文。这些报文会唤醒第一蜂窝移动通信网络对应的主卡,影响其他卡,例如副卡的上网性能。具体地,若用户设备200支持双卡数据并发功能,由于双卡数据并发功能常通过时分多路复用(Time Division Multiplexing,TDM)功能实现,则重新唤醒第一蜂窝移动通信网络对应的主卡会影响其他蜂窝移动网络的带宽并增加用户设备200的功耗。具体地,若用户设备200不支持双卡数据并发功能,则重新唤醒第一蜂窝移动通信网络对应的主卡会占用用户设备200的射频(Radio Frequency,RF)资源,影响其他蜂窝移动网络的带宽等性能。Exemplarily, as shown in FIG. 1 , theuser equipment 200 includes a first application (Application, APP) 210 and asecond application 220 . After thefirst application 210 in theuser equipment 200 establishes a UDP or TCP connection with thefirst application server 401 through the first cellularnetwork access point 301, theuser equipment 200 switches from the first cellular mobile communication network to another network. At this time, after theuser equipment 200 establishes a connection with the first cellular mobile communication network, at least one public data network (Public Data Network, PDN) connection will remain, and will not actively cut off the PDN connection after switching to another network. Although the connection between theuser equipment 200 and the first cellular mobile communication network has been disconnected on the access network side, at least one PDN connection still remains between theuser equipment 200 and the first cellular mobile communication network, that is, The first cellular mobile communication network of theuser equipment 200 is in a suspended state rather than a disconnected state in the core network. Therefore, for the core network, theuser equipment 200 is still online. In some scenarios, if the user equipment is switched from the first cellular mobile communication network to another network, such as a Wifi network or the second cellular mobile network, the core network of the first cellular network also considers theuser equipment 200 to be online at this time. At this time, the application server may consider that the user equipment is still connected through the first cellular network, and will still send data packets to the user equipment through the first cellular network. These messages will wake up the main card corresponding to the first cellular mobile communication network, and affect the Internet access performance of other cards, such as the auxiliary card. Specifically, if theuser equipment 200 supports the dual-card data concurrency function, since the dual-card data concurrency function is often implemented by a time division multiplexing (Time Division Multiplexing, TDM) function, the main card corresponding to the first cellular mobile communication network is re-awakened It will affect the bandwidth of other cellular mobile networks and increase the power consumption of theuser equipment 200 . Specifically, if theuser equipment 200 does not support the dual-card data concurrency function, reawakening the main card corresponding to the first cellular mobile communication network will occupy the radio frequency (Radio Frequency, RF) resources of theuser equipment 200 and affect the bandwidth of other cellular mobile networks. and other performance.

再例如,若用户设备200已经从第一蜂窝移动通信网络切换至Wi-Fi网络,由于第一蜂窝移动通信网络的互联网PDN连接并未断开,因此在第一应用210通过Wi-Fi网络向第一应用服务器401发送数据包之前,第一应用服务器301无法知晓用户设备200已经从第一蜂窝移动通信网络切换至Wi-Fi网络。因此,第一应用服务器401在向用户设备200中的第一应用210发送数据包时,仍会使用第一蜂窝移动通信网络进行数据包发送。而每次唤醒第一蜂窝移动通信网络对应的主卡会建立无线资源控制层(Radio Resource Control,RRC)连接,提升了用户设备200的功率消耗及流量消耗。For another example, if theuser equipment 200 has been switched from the first cellular mobile communication network to the Wi-Fi network, since the Internet PDN connection of the first cellular mobile communication network has not been disconnected, thefirst application 210 sends data to the Wi-Fi network through the Wi-Fi network. Before thefirst application server 401 sends the data packet, thefirst application server 301 cannot know that theuser equipment 200 has been switched from the first cellular mobile communication network to the Wi-Fi network. Therefore, when thefirst application server 401 sends a data packet to thefirst application 210 in theuser equipment 200, it still uses the first cellular mobile communication network to send the data packet. Each time the main card corresponding to the first cellular mobile communication network is woken up, a radio resource control layer (Radio Resource Control, RRC) connection will be established, which increases the power consumption and traffic consumption of theuser equipment 200 .

可以理解的是,用户设备200内的第二应用220在通过第二网络接入点302与第二应用服务器402建立连接时,第二应用服务器402接收到的连接信息是来自第二网络接入点302,因此,第二应用服务器402在下发报文时不会唤醒第一蜂窝移动通信网络对应的主卡。It can be understood that, when thesecond application 220 in theuser equipment 200 establishes a connection with thesecond application server 402 through the secondnetwork access point 302, the connection information received by thesecond application server 402 is from the second network access point. Atpoint 302, therefore, thesecond application server 402 will not wake up the main card corresponding to the first cellular mobile communication network when delivering the message.

可以理解的是,用户设备200内的应用的运行状态可以分为前台应用、后台应用及常驻应用等。可以理解的是,由于前台应用与服务器的交互较为频繁,在交互的过程中应用与服务器进行数据收发时,会附上最新的网络互连协议(Internet Protocol,IP)等最新参数,因此不容易出现唤醒第一蜂窝移动通信网络对应的主卡的情况。而由于后台应用及常驻应用等应用与服务器的交互频率较低,因此,在服务器侧未获取后台应用及常驻应用未更新的IP等参数时,会将报文下发至第一蜂窝移动通信网络,进而导致第一蜂窝移动通信网络对应的主卡被唤醒。It can be understood that the running states of the applications in theuser equipment 200 can be divided into foreground applications, background applications, resident applications, and the like. It is understandable that since the interaction between the foreground application and the server is relatively frequent, when the application and the server send and receive data, the latest parameters such as the latest Internet Protocol (IP) will be attached, so it is not easy. A situation of waking up the main card corresponding to the first cellular mobile communication network occurs. However, due to the low frequency of interaction between applications such as background applications and resident applications and the server, when the server side does not obtain parameters such as the IP of the background application and the resident application that have not been updated, the packet will be sent to the first cellular mobile phone. communication network, thereby causing the main card corresponding to the first cellular mobile communication network to wake up.

图2是用户设备200的模块示意图。FIG. 2 is a block diagram of theuser equipment 200 .

请参阅图2,用户设备200还包括应用处理器(Application Processor,AP)230、基带(Modem)处理器240、主SIM卡250及Wi-Fi模组260。Referring to FIG. 2 , theuser equipment 200 further includes an application processor (Application Processor, AP) 230 , a baseband (Modem)processor 240 , amain SIM card 250 and a Wi-Fi module 260 .

可以理解的是,应用处理器230的全称为多媒体应用处理器(multimediaapplication processor,MAP),指在低功耗中央处理器CPU的基础上拓展了音视频功能和专用接口的超大规模集成电路。应用处理器230能够运行复杂的类似Linux内核(Andriod内核)、鸿蒙内核(Harmony内核)、Windows内核等操作系统,多媒体型处理器指处理媒介超过两种的处理器,例如图像、声音、视频以及3D图形等媒介。单一多媒体型处理器是指处理一种媒介的处理器,通常仅用于处理图像或声音。It can be understood that the full name of theapplication processor 230 is a multimedia application processor (MAP), which refers to an ultra-large-scale integrated circuit that expands audio and video functions and dedicated interfaces on the basis of a low-power central processing unit CPU. Theapplication processor 230 can run complex operating systems such as the Linux kernel (Andriod kernel), the Harmony kernel (Harmony kernel), the Windows kernel, etc. The multimedia processor refers to a processor that processes more than two kinds of media, such as image, sound, video and 3D graphics and other media. A single multimedia processor refers to a processor that handles one medium, usually only for image or sound.

可以理解的是,基带处理器240是系统芯片中的一个重要部件,相当于一个协议处理器,负责数据的处理和存储,主要由数字信号处理器(Digital Signal Processor,DSP)、微控制器(Micro Controller Unit,MCU)和内存(如flash、闪存)等单元组成,其对应主要功能为负责基带编码或译码、声音编码和语音编码等。目前,基带处理器240不仅支持多种通信标准,还提供多媒体功能以及提供用于多媒体显示器、图像传感器和音频设备相关的通信接口。It can be understood that thebaseband processor 240 is an important component in the system chip, equivalent to a protocol processor, responsible for data processing and storage, mainly composed of a digital signal processor (Digital Signal Processor, DSP), a microcontroller ( Micro Controller Unit, MCU) and memory (such as flash, flash memory) and other units, and its corresponding main functions are responsible for baseband coding or decoding, voice coding and speech coding. Currently, thebaseband processor 240 not only supports a variety of communication standards, but also provides multimedia functions and provides related communication interfaces for multimedia displays, image sensors, and audio devices.

可以理解的是,在实际应用中,通常应用处理器230支持运行的软件包括操作系统、用户界面以及应用程序等。基带处理器240可以视为一个无线调制解调模块,负责协调控制基带与基站和应用处理器230之间的通信,其支持运行的软件包括基带调制解调(Baseband Modem)的通信控制软件等。It can be understood that, in practical applications, the software usually supported to run by theapplication processor 230 includes an operating system, a user interface, and an application program. Thebaseband processor 240 can be regarded as a wireless modem module, responsible for coordinating and controlling the communication between the baseband and the base station and theapplication processor 230, and the software it supports to run includes communication control software for baseband modem (Baseband Modem).

可以理解的是,应用处理器230和基带处理器240之间支持采用预设的接口技术实现相互通信,该接口技术可为系统自定义设置的,例如其包括但不限于串行外围设备接口(Serial Peripheral Interface,SPI)、通用异步接收/发送装置(UniversalAsynchronous Receiver/Transmitter,UART)、通用串行总线(Universal Serial Bus,USB)、通用输入输出控制线(General Purpose Input/Output,GPIO)等接口技术。具体地,应用处理器230和基带处理器240之间可通过控制命令以消息的格式实现相互间的通信传输,以完成通话、短消息、移动上网等功能。该控制命令可以包括传统AT(Attention)命令、移动宽带接口模式(Mobile Broadband Interface Model,MBIM)命令或其他支持应用处理器230和基带处理器240相互传输的协议命令等。It can be understood that theapplication processor 230 and thebaseband processor 240 support mutual communication using a preset interface technology, and the interface technology can be customized for the system, for example, it includes but is not limited to the serial peripheral device interface ( Serial Peripheral Interface (SPI), Universal Asynchronous Receiver/Transmitter (UART), Universal Serial Bus (USB), General Purpose Input/Output (GPIO) and other interfaces technology. Specifically, theapplication processor 230 and thebaseband processor 240 can implement mutual communication transmission in a message format through control commands, so as to complete functions such as calls, short messages, and mobile Internet access. The control commands may include traditional AT (Attention) commands, Mobile Broadband Interface Model (MBIM) commands, or other protocol commands that support mutual transmission between theapplication processor 230 and thebaseband processor 240 .

可以理解的是,应用处理器230可以视为一个处理器核,基带处理器240则视为另一个处理器核,两个核之间的通信遵循具体的核间通信协议,本发明实施例对核间通信协议的种类不做限定。可以理解的是,应用处理器230中,应用通过TCP连接的源端的socket接口,将数据包经过内核(也称内核态)的TCP协议栈以及IP协议栈后,使用应用处理器230和基带处理器240内各自用于进行核间通信的任务(Task,也可以理解为线程),将数据包传递给Modem中的,GSM协议栈、UMTS协议栈、TD-SCDMA协议栈、LTE协议栈、CDMA协议栈、NR协议栈、NSA协议栈、SA协议栈(也可以理解为任务或者线程),协议栈再通过基带处理器240中的硬件,将该数据包从用户设备200中发送出去。协议栈用于承载一种或多种数据链路层和物理层的通信协议,主要是用于各种蜂窝网络的通信协议,例如GSM协议、UMTS协议、TD-SCDMA协议、LTE协议、CDMA协议、NR协议、NSA协议、SA协议等,本申请不做限制。It can be understood that theapplication processor 230 may be regarded as one processor core, and thebaseband processor 240 may be regarded as another processor core, and the communication between the two cores follows a specific inter-core communication protocol. The types of inter-core communication protocols are not limited. It can be understood that, in theapplication processor 230, theapplication processor 230 and the baseband are used to process the data packets through the TCP protocol stack and the IP protocol stack of the kernel (also called kernel mode) using the socket interface of the source end connected through TCP. Each task (Task, can also be understood as a thread) in thedevice 240 for inter-core communication, transmits the data packet to the Modem, GSM protocol stack, UMTS protocol stack, TD-SCDMA protocol stack, LTE protocol stack, CDMA protocol stack Protocol stack, NR protocol stack, NSA protocol stack, SA protocol stack (which can also be understood as a task or thread), the protocol stack then sends the data packet from theuser equipment 200 through the hardware in thebaseband processor 240 . The protocol stack is used to carry one or more communication protocols of the data link layer and physical layer, mainly used for communication protocols of various cellular networks, such as GSM protocol, UMTS protocol, TD-SCDMA protocol, LTE protocol, CDMA protocol , NR protocol, NSA protocol, SA protocol, etc., which are not limited in this application.

可以理解的是,主SIM卡250与图1中描述的主SIM卡功能和作用相同,在此不再赘述。It can be understood that themain SIM card 250 has the same function and function as the main SIM card described in FIG. 1 , and will not be repeated here.

可以理解的是,Wi-Fi模组260用于将用户设备201与无线局域网内的设备以无线方式互相连接。It can be understood that the Wi-Fi module 260 is used to wirelessly connect theuser equipment 201 and the devices in the wireless local area network.

可以理解的是,当用户设备200包括应用处理器230、基带处理器240及主SIM卡250时,用户设备200可以实现附着功能、PDN默认承载激活、建立IMS承载、IMS注册、去激活数据业务功能。It can be understood that when theuser equipment 200 includes theapplication processor 230, thebaseband processor 240 and theprimary SIM card 250, theuser equipment 200 can implement the attach function, PDN default bearer activation, IMS bearer establishment, IMS registration, and deactivation of data services. Function.

图3是本申请一实施例提供的用户设备201的模块示意图。FIG. 3 is a schematic block diagram of auser equipment 201 provided by an embodiment of the present application.

请参阅图3,与图2相比,图3中的用户设备201还包括副SIM卡270。Referring to FIG. 3 , compared with FIG. 2 , theuser equipment 201 in FIG. 3 further includes asecondary SIM card 270 .

可以理解的是,副SIM卡270与图1中描述的副SIM卡功能和作用相同,在此不再赘述。It can be understood that thesecondary SIM card 270 has the same function and function as the secondary SIM card described in FIG. 1 , and details are not described herein again.

可以理解的是,与图2中的用户设备200相比,图3中的用户设备201还可以实现主副卡切换及智慧双卡切换功能。It can be understood that, compared with theuser equipment 200 in FIG. 2 , theuser equipment 201 in FIG. 3 can also implement the functions of switching between primary and secondary cards and switching between smart dual cards.

可以理解的是,当用户设备201支持智慧双卡切换功能时,在应用处理器230检测到主SIM卡250信号变差时,会自动控制用户设备201将网络切换至副SIM卡270提供的信号。智慧双卡中的主卡和副卡可以根据用户的需求自行设置,本申请在此不做限制。It can be understood that, when theuser equipment 201 supports the smart dual-card switching function, when theapplication processor 230 detects that the signal of theprimary SIM card 250 is deteriorated, it will automatically control theuser equipment 201 to switch the network to the signal provided by thesecondary SIM card 270. . The main card and the auxiliary card in the smart dual card can be set by themselves according to the needs of the user, which is not limited in this application.

应理解,图2及图3所示的硬件结构仅是一个示例。本申请实施例的用户设备可以具有比图中所示用户设备更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the hardware structure shown in FIG. 2 and FIG. 3 is only an example. The user equipment in this embodiment of the present application may have more or fewer components than the user equipment shown in the figures, may combine two or more components, or may have different component configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.

图4是本申请一实施例提供的通信管理方法的流程示意图。使用本申请实施例提供的通信管理方法可以避免因第一蜂窝移动通信网络对应的SIM卡被频繁的唤醒,而导致用户设备200的网络性能及功耗受到影响。FIG. 4 is a schematic flowchart of a communication management method provided by an embodiment of the present application. Using the communication management method provided by the embodiment of the present application can avoid that the network performance and power consumption of theuser equipment 200 are affected due to the SIM card corresponding to the first cellular mobile communication network being frequently woken up.

请参阅图4,通信管理方法包括:Referring to Figure 4, the communication management method includes:

S100:判断是否发生触发事件。S100: Determine whether a trigger event occurs.

其中,当判断发生触发事件时,执行S200。当判断未发生触发事件时,继续执行S100。Wherein, when it is determined that a trigger event occurs, S200 is executed. When it is determined that the trigger event does not occur, continue to execute S100.

可以理解的是,可通过用户设备200中的应用处理器230判断是否发生触发事件。当触发事件发生时,表示用户设备200的网络连接从第一蜂窝移动通信网络切换至其他网络。示例的,触发事件包括在用户设备200使用第一蜂窝移动通信网络进行通信时,关闭数据开关、切换至Wi-Fi、切换主卡及智慧双卡模式下主卡切换至副卡或副卡切换至主卡等。It can be understood that, whether a trigger event occurs can be determined by theapplication processor 230 in theuser equipment 200 . When the trigger event occurs, it means that the network connection of theuser equipment 200 is switched from the first cellular mobile communication network to another network. Exemplarily, the trigger event includes when theuser equipment 200 communicates using the first cellular mobile communication network, turning off the data switch, switching to Wi-Fi, switching the main card, and switching the main card to the secondary card or switching the secondary card in the smart dual-card mode. to the main card, etc.

S200:判断IP多媒体子系统技术(IP Multimedia Subsystem,IMS)是否处于激活状态。其中,当判断IMS处于激活状态时,执行S300。当判断未发生触发事件时,返回S100。S200: Determine whether an IP Multimedia Subsystem (IP Multimedia Subsystem, IMS) technology is in an activated state. Wherein, when it is determined that the IMS is in an active state, S300 is executed. When it is determined that the trigger event has not occurred, return to S100.

S300:获取触发事件的类型。S300: Obtain the type of the trigger event.

S400:根据触发事件的类型设置退避定时器。可以理解的是,可根据触发事件的类型设置不同的退避定时时长。S400: Set a backoff timer according to the type of the trigger event. It can be understood that different backoff timing durations can be set according to the type of the trigger event.

可以理解的是,退避定时时长通常可以设置为0-30分钟内的时间。可以理解的是,由于服务器发送报文的频率在30分钟之后明显降低,因此将退避定时时长设置在30分钟之内可以有效的降低第一蜂窝移动通信网络被唤起的频率。It can be understood that the backoff timing duration can usually be set to a time within 0-30 minutes. It can be understood that, since the frequency of sending packets by the server is significantly reduced after 30 minutes, setting the backoff timing within 30 minutes can effectively reduce the frequency at which the first cellular mobile communication network is awakened.

可以理解的是,触发事件的类型包括在用户设备200使用第一蜂窝移动通信网络进行通信时:关闭数据开关、切换至Wi-Fi、切换主卡及智慧双卡模式下主卡切换至副卡或副卡切换至主卡等。It can be understood that the types of trigger events include when theuser equipment 200 communicates using the first cellular mobile communication network: turning off the data switch, switching to Wi-Fi, switching the primary card, and switching the primary card to the secondary card in the smart dual-card mode. Or switch the secondary card to the main card, etc.

示例的,当触发事件为关闭数据开关时,可以认为用户设备200的数据开关在短时间内不会打开,因此可以设置第一退避定长,且将第一退避定时时长设置为一个较长的时间,例如10分钟、15分钟、20分钟、25分钟、30分钟等,本申请在此不做限制。For example, when the trigger event is to turn off the data switch, it can be considered that the data switch of theuser equipment 200 will not be turned on in a short time, so the first backoff fixed length can be set, and the first backoff timing duration can be set to a longer time. Time, such as 10 minutes, 15 minutes, 20 minutes, 25 minutes, 30 minutes, etc., is not limited in this application.

示例的,当触发事件为切换至Wi-Fi时,可以认为用户设备200在短时间内不会切换Wi-Fi网络,因此可以设置第二退避定时。第二退避定时的时长设置逻辑可以与第一退避的定时时长类似,本申请在此不做限制。For example, when the trigger event is switching to Wi-Fi, it may be considered that theuser equipment 200 will not switch to the Wi-Fi network in a short time, so the second backoff timing may be set. The duration setting logic of the second backoff timing may be similar to the timing duration of the first backoff, which is not limited in this application.

示例的,当触发事件为切换主卡时,可以认为用户设备200在短时间内不会切换回主卡(即第一蜂窝网络),因此可以设置第三退避定时,第三退避定时的时长设置逻辑可以与第一退避定时时长或第二退避定时时长类似,本申请在此不做限制。For example, when the trigger event is to switch the main card, it can be considered that theuser equipment 200 will not switch back to the main card (ie, the first cellular network) in a short time, so a third back-off timing can be set, and the duration of the third back-off timing can be set. The logic may be similar to the first backoff timing duration or the second backoff timing duration, which is not limited in this application.

示例的,在从主卡切换至副卡时,可以检测副卡的剩余流量,若副卡的剩余流量低于一阈值,则可以判断用户设备200在短时间内可能会切换回主卡(即第一蜂窝网络),可以将第三退避定时设置为一个较短的时长,例如1分钟、2分钟、3分钟、5分钟等,本申请在此不做限制。For example, when switching from the primary card to the secondary card, the remaining traffic of the secondary card can be detected, and if the remaining traffic of the secondary card is lower than a threshold, it can be determined that theuser equipment 200 may switch back to the primary card (ie, the primary card) in a short time. The first cellular network), the third backoff timing can be set to a short duration, such as 1 minute, 2 minutes, 3 minutes, 5 minutes, etc., which is not limited in this application.

示例的,当触发事件为智慧双卡切换至副卡时,由于智慧双卡的切换较为频繁,因此可以认为用户设备200存在短时间内切换蜂窝移动通信网络的情况,因此可以设置第四退避定时时长,第四退避定时时长的设置较短,例如1分钟、2分钟、3分钟、5分钟等,本申请在此不做限制。For example, when the trigger event is the switching of the smart dual card to the secondary card, since the switching of the smart dual card is relatively frequent, it can be considered that theuser equipment 200 switches over the cellular mobile communication network in a short time, so a fourth backoff timing can be set. duration, the setting of the fourth back-off timing duration is relatively short, such as 1 minute, 2 minutes, 3 minutes, 5 minutes, etc., which is not limited in this application.

示例的,当触发事件为智慧双卡切换至主卡时,由于智慧双卡的切换较为频繁,可以认为用户设备200的蜂窝移动网络存在短时间内切换的可能性,因此可以设置第五退避定时时长,第五退避定时时长的设置逻辑可以与第四退避定时时长的设置类似,本申请在此不做限制。For example, when the trigger event is the switching of the smart dual card to the main card, since the switching of the smart dual card is relatively frequent, it can be considered that the cellular mobile network of theuser equipment 200 has the possibility of switching in a short time, so the fifth backoff timing can be set. duration, the setting logic of the fifth back-off timing duration may be similar to the setting of the fourth back-off timing duration, which is not limited in this application.

S500:去激活互联网PDN。S500: Deactivate the Internet PDN.

可以理解的是,在根据触发事件的类型设置退避定时器之后,执行去激活互联网PDN操作。It can be understood that, after the back-off timer is set according to the type of the trigger event, the deactivation of the Internet PDN operation is performed.

请一并参阅图11,图11是本申请一实施例提供的用户设备与核心网的交互图。Please refer to FIG. 11 together. FIG. 11 is an interaction diagram between a user equipment and a core network provided by an embodiment of the present application.

请参阅图11,去激活互联网PDN包括:Referring to Figure 11, deactivating the Internet PDN includes:

S510:发送PDN去连接请求。S510: Send a PDN disconnection request.

可以理解的是,用户设备200发送PDN去连接请求(PDN DISCONNECT REQUEST)至核心网300,以请求去连接PDN,所有和此PDN间建立的全球性双向网络寻呼系统(E-mailPaging System,EPS)承载上下文,包括默认EPS承载上下文都会被释放掉。It can be understood that theuser equipment 200 sends a PDN disconnect request (PDN DISCONNECT REQUEST) to thecore network 300 to request to connect to the PDN, and all the global two-way network paging systems (E-mail Paging System, EPS) established between this PDN. ) bearer context, including the default EPS bearer context, will be released.

S520:请求去激活EPS承载上下文。S520: Request to deactivate the EPS bearer context.

可以理解的是,核心网300向用户设备200发送请求去激活EPS承载上下文(DEACTIVATE EPS BEARER CONTEXT REQUEST),以表示核心网300侧接受用户设备200发送的PDN去连接请求,并执行去激活操作。It can be understood that thecore network 300 sends a request to theuser equipment 200 to deactivate the EPS bearer context (DEACTIVATE EPS BEARER CONTEXT REQUEST) to indicate that thecore network 300 accepts the PDN disconnection request sent by theuser equipment 200 and performs a deactivation operation.

S530:接受去激活EPS承载上下文。S530: Accept the deactivation of the EPS bearer context.

可以理解的是,用户设备200向核心网300发送接受去激活EPS承载上下文(DEACTIVATE EPS BEARER CONTEXT ACCEPT),以释放掉所有与此PDN之间的EPS承载上下文。在用户设备200向核心网300发送接受去激活EPS承载上下文之后,用户设备200在核心网300侧注销成功,即使服务器再发送报文至核心网300侧,核心网300也不会向用户设备200发送报文。It can be understood that theuser equipment 200 sends an acceptance to thecore network 300 to deactivate the EPS bearer context (DEACTIVATE EPS BEARER CONTEXT ACCEPT) to release all the EPS bearer contexts with this PDN. After theuser equipment 200 sends an acceptance to thecore network 300 to deactivate the EPS bearer context, theuser equipment 200 successfully deregisters on thecore network 300 side. Send message.

S600:启动退避定时器。S600: Start the backoff timer.

可以理解的是,在完成去激活互联网PDN操作之后,用户设备200启动退避定时器(Backoff Timer),并根据设置的退避定时时长来设置退避定时器的时长。It can be understood that, after the deactivation of the Internet PDN operation is completed, theuser equipment 200 starts a backoff timer (Backoff Timer), and sets the duration of the backoff timer according to the set duration of the backoff timer.

可以理解的是,在去激活互联网PDN连接完成后启动退避定时器可以提高计时的准确性,避免去激活互联网PDN失败后重新激活互联网PDN连接。It can be understood that starting the back-off timer after the deactivation of the Internet PDN connection is completed can improve the timing accuracy, and avoid reactivating the Internet PDN connection after the deactivation of the Internet PDN fails.

可以理解的是,在一些实施例中,并不对步骤S600与步骤S500之间的执行顺序不做限定。可以理解的是,将启动退避定时器设置为与发送PDN去连接请求并行或者提前执行,可以提高通信管理方法的运行效率。It can be understood that, in some embodiments, the execution order between step S600 and step S500 is not limited. It can be understood that setting the starting backoff timer to be performed in parallel with the sending of the PDN disconnection request or in advance can improve the operation efficiency of the communication management method.

可以理解的是,在启动退避定时器之后,应用处理器230持续检测用户设备200的状态,若检测到触发事件结束,例如数据开关打开、Wi-Fi切换回蜂窝移动网络、切换回主卡及智慧双卡模式下副卡切换回主卡或主卡切换回副卡等情况,且此时退避定时器未超时,则终止退避定时器的计时功能,并执行步骤S700以重新激活互联网PDN。可以理解的是,在检测到触发事件结束后重新激活互联网PDN可以提高用户设备200重新连接至原蜂窝移动通信网络的速度,避免用户设备200在切换回原蜂窝移动通信网络后无法快速的连接至互联网的情况。It can be understood that after starting the back-off timer, theapplication processor 230 continues to detect the state of theuser equipment 200, and if it detects that the trigger event ends, for example, the data switch is turned on, the Wi-Fi is switched back to the cellular mobile network, the switch back to the main card, and the like. In the smart dual-card mode, when the secondary card is switched back to the primary card or the primary card is switched back to the secondary card, and the back-off timer does not expire at this time, the timing function of the back-off timer is terminated, and step S700 is executed to reactivate the Internet PDN. It can be understood that reactivating the Internet PDN after detecting the end of the trigger event can improve the speed at which theuser equipment 200 reconnects to the original cellular mobile communication network, so as to prevent theuser equipment 200 from being unable to quickly connect to the original cellular mobile communication network after switching back to the original cellular mobile communication network. Internet situation.

可以理解的是,在一些实施例中,可以不设置退避定时器,应用处理器230在去激活互联网PDN流程结束后,持续监测触发事件是否结束,并在监测到触发事件结束后,执行步骤S700以重新激活互联网PDN。可以理解的是,取消设置退避定时器并持续监控触发事件是否结束可以进一步降低用户设备200原蜂窝移动通信网络被唤醒的次数,降低用户设备200的功耗。It can be understood that, in some embodiments, the back-off timer may not be set, and theapplication processor 230 continuously monitors whether the trigger event ends after the deactivation of the Internet PDN process ends, and executes step S700 after monitoring the end of the trigger event. to reactivate Internet PDN. It can be understood that, canceling the setting of the backoff timer and continuously monitoring whether the trigger event ends can further reduce the number of times the original cellular mobile communication network of theuser equipment 200 is woken up, and reduce the power consumption of theuser equipment 200 .

S700:重新激活互联网PDN。S700: Reactivate the Internet PDN.

可以理解的是,在退避定时器超时后,重新激活互联网PDN,以重新建立用户设备200与核心网300之间的连接。It can be understood that, after the back-off timer expires, the Internet PDN is reactivated to re-establish the connection between theuser equipment 200 and thecore network 300 .

可以理解的是,用户设备200根据不同的触发事件设置退避定时器的时长,并在退避定时器超时后重新激活互联网PDN可以提高用户重新启动应用后的连接速度。It can be understood that theuser equipment 200 sets the duration of the back-off timer according to different trigger events, and reactivating the Internet PDN after the back-off timer expires can improve the connection speed after the user restarts the application.

示例性的,请一并参阅图1,当用户设备200内的第一应用210通过第一蜂窝网络接入点301与第一应用服务器401建立UDP或TCP连接之后,用户设备200从第一蜂窝移动通信网络切换至Wi-Fi网络,此时,若第一应用服务器401发送数据报文至第一应用210,仍会发送至第一蜂窝移动通信网络。用户设备200在检测到触发事件为从第一蜂窝移动通信网络切换至Wi-Fi网络后,根据触发事件的类型设置退避定时器的时长为第二退避定时时长。用户设备200执行去激活第一蜂窝移动通信网络,并启动退避定时器。在退避定时器超时后,重新激活互联网PDN,以使用户设备200重新连接至第一蜂窝移动通信网络。1, after thefirst application 210 in theuser equipment 200 establishes a UDP or TCP connection with thefirst application server 401 through the first cellularnetwork access point 301, theuser equipment 200 from the first cellular network The mobile communication network is switched to the Wi-Fi network. At this time, if thefirst application server 401 sends the data packet to thefirst application 210, it will still be sent to the first cellular mobile communication network. After detecting that the trigger event is switching from the first cellular mobile communication network to the Wi-Fi network, theuser equipment 200 sets the duration of the back-off timer as the second back-off timing duration according to the type of the trigger event. Theuser equipment 200 performs deactivation of the first cellular mobile communication network and starts a back-off timer. After the back-off timer expires, the Internet PDN is reactivated to reconnect theuser equipment 200 to the first cellular mobile communication network.

可以理解的是,由于用户设备200在断开与第一蜂窝移动通信网络的连接之后,仍会保留互联网PDN,因此在核心网300侧显示用户设备200仍然在线,可能导致第一应用服务器401下发数据报文时会拉起第一蜂窝移动通信网络,影响用户设备200的数据收发及功耗。使用本申请实施例提供的通信方法可以去激活PDN连接,避免第一蜂窝移动通信网络对应的SIM卡被频繁唤醒。同时,为了提高用户设备200重新连接回第一蜂窝移动通信网络后的连接速度,本申请实施例提供的通信方法还提供了退避定时器,以根据不同的触发事件类型设置不同的退避定时时长。在退避定时器超时后,使用户设备200重新连接回第一蜂窝移动通信网络,使用户设备200可以快速的启用第一蜂窝移动通信网络。It can be understood that since theuser equipment 200 will still retain the Internet PDN after disconnecting from the first cellular mobile communication network, it is displayed on thecore network 300 side that theuser equipment 200 is still online, which may cause thefirst application server 401 to download the Internet PDN. When a data packet is sent, the first cellular mobile communication network will be pulled up, which affects the data transmission and reception and power consumption of theuser equipment 200 . By using the communication method provided by the embodiment of the present application, the PDN connection can be deactivated, so as to prevent the SIM card corresponding to the first cellular mobile communication network from being frequently woken up. Meanwhile, in order to improve the connection speed after theuser equipment 200 is reconnected to the first cellular mobile communication network, the communication method provided by the embodiment of the present application further provides a backoff timer to set different backoff timer durations according to different trigger event types. After the back-off timer expires, theuser equipment 200 is reconnected to the first cellular mobile communication network, so that theuser equipment 200 can quickly enable the first cellular mobile communication network.

可以理解的是,退避定时时长还可以根据用户的使用习惯及其他芯片的数据进行调整。It can be understood that the backoff timing duration can also be adjusted according to the user's usage habits and data of other chips.

示例性的,若用户设备200检测到触发事件从第一蜂窝移动通信网络切换至Wi-Fi网络,而当前Wi-Fi网络的存储标签为公司或家庭,则可以认为用户设备200在较长的时间内不会切换回第一蜂窝移动通信网络,因此可以将第一退避定时器的时长设置为一个较长的时间,例如30分钟或者更长的时间,以降低通信管理方法的触发频率,从而降低用户设备200的功耗。Exemplarily, if theuser equipment 200 detects a trigger event to switch from the first cellular mobile communication network to the Wi-Fi network, and the storage tag of the current Wi-Fi network is a company or a home, it can be considered that theuser equipment 200 is in a long period of time. It will not switch back to the first cellular mobile communication network within a certain time, so the duration of the first backoff timer can be set to a longer time, such as 30 minutes or longer, to reduce the trigger frequency of the communication management method, thereby The power consumption of theuser equipment 200 is reduced.

示例性的,若用户设备200检测到触发事件从第一蜂窝移动通信网络切换至Wi-Fi网络,而GPS或北斗定位芯片检测到用户设备200处于移动状态(即用户设备200未关闭Wi-Fi开关,且在移动的过程中接入了曾接入过的Wi-Fi网络),则可以认定为用户设备200可能会短时间内切换回第一蜂窝移动网络,则此时可以将第二退避定时时长设置为一个较短的时间,或者不执行去激活互联网PDN操作,以提高用户重新连接回第一蜂窝移动通信网络的速度,提高用户体验。Exemplarily, if theuser equipment 200 detects a trigger event to switch from the first cellular mobile communication network to the Wi-Fi network, and the GPS or Beidou positioning chip detects that theuser equipment 200 is in a mobile state (that is, theuser equipment 200 does not turn off Wi-Fi) switch, and access the previously accessed Wi-Fi network during the movement), it can be determined that theuser equipment 200 may switch back to the first cellular mobile network in a short time, and at this time, the second backoff can be The timing duration is set to a short time, or the operation of deactivating the Internet PDN is not performed, so as to improve the speed of the user reconnecting back to the first cellular mobile communication network and improve the user experience.

示例性的,若用户设备200检测到触发事件关闭数据开关,则可以进一步检测当前的信号强度、当前SIM卡套餐内剩余的数据流量及飞行模式是否开启等信息。例如,当检测到用户设备200当前的信号强度较差,且飞行模式在开启后迅速关闭,则可以认为用户设备200是在重启网络,用户设备200将在去连接第一蜂窝移动通信网络之后重新建立连接,因此无需设置退避定时时长。Exemplarily, if theuser equipment 200 detects a trigger event to turn off the data switch, it can further detect information such as the current signal strength, the remaining data traffic in the current SIM card package, and whether the airplane mode is enabled. For example, when it is detected that the current signal strength of theuser equipment 200 is poor, and the airplane mode is quickly turned off after being turned on, it can be considered that theuser equipment 200 is restarting the network, and theuser equipment 200 will restart after disconnecting from the first cellular mobile communication network. The connection is established, so there is no need to set the backoff timing.

示例性的,若用户设备200检测到触发事件智慧双卡切换,则可以进一步获取主SIM卡250及副SIM卡270的套餐剩余流量,若在进行智慧双卡切换的过程中,当前SIM卡的套餐剩余流量较低,则可以认为用户设备200将会在较短的时间内重新切回原SIM卡。因此可以将退避定时时长设置为一个较短的时间,以提高用户设备200在切换回原SIM卡的响应速度。Exemplarily, if theuser equipment 200 detects the trigger event smart dual-card switching, it can further obtain the remaining traffic of the package of theprimary SIM card 250 and thesecondary SIM card 270. If the remaining traffic of the package is low, it can be considered that theuser equipment 200 will switch back to the original SIM card in a relatively short period of time. Therefore, the back-off timing duration can be set to a short time, so as to improve the response speed of theuser equipment 200 when switching back to the original SIM card.

S800:结束流程。S800: End the process.

可以理解的是,本申请实施例提出的通信管理方法在检测到用户设备200的触发事件不需要介入去激活PDN连接时,则会结束监控流程,直至再次检测到触发事件,以再次判断是否需要介入。It can be understood that, when the communication management method proposed in this embodiment of the present application detects that the triggering event of theuser equipment 200 does not require intervention to activate the PDN connection, the monitoring process will end until the triggering event is detected again, so as to judge again whether the PDN connection is required. intervention.

举例而言,在应用转换为后台应用后,服务器通常在第5秒、第1分钟、第5分钟及第10分钟时会发送一个报文至后台应用。收到每个报文时,用户设备200侧都需要重新建立一个RRC连接,每次重新建立RRC连接并完成报文接收需要11秒的时间。以用户设备200的工作电压为V且工作电流为I为例,则接收四次报文共需要消耗44S*V*I的用电量。即一个后台应用会产生44S*V*I的用电量。而使用本申请实施例提供的通信管理方法,进行SIM卡去激活及定时结束后重新激活操作需要12秒的时间,仅需要消耗12S*V*I的用电量,与用户设备200后台存在一个应用相比,共节约了32S*V*I的用电量。可以理解的是,对于一些交互更频繁的后台应用,服务器发送报文的频率可能更频繁,而使用本申请实施例提供的通信管理方法可以节约更多的用电量。可以理解的是,当用户设备200存在多个后台应用时,使用本申请实施例提供的通信管理方法可以节约更多的用电量,以降低用户设备200的功耗。For example, after the application is converted into a background application, the server usually sends a message to the background application at the 5th second, the 1st minute, the 5th minute and the 10th minute. When each packet is received, theuser equipment 200 side needs to re-establish an RRC connection, and it takes 11 seconds to re-establish the RRC connection and complete the packet reception each time. Taking the working voltage of theuser equipment 200 as V and the working current as I as an example, a total of 44S*V*I of power consumption is required to receive four packets. That is, a background application will generate 44S*V*I of power consumption. However, using the communication management method provided by the embodiment of the present application, it takes 12 seconds to deactivate the SIM card and reactivate after the timing is over, and only needs to consume 12S*V*I of power consumption, and there is a background with theuser equipment 200. Compared with the application, a total of 32S*V*I of electricity consumption is saved. It can be understood that, for some background applications with more frequent interactions, the server may send packets more frequently, and more power consumption can be saved by using the communication management method provided by the embodiments of the present application. It can be understood that when theuser equipment 200 has multiple background applications, using the communication management method provided by the embodiments of the present application can save more power consumption, so as to reduce the power consumption of theuser equipment 200 .

请一并参考图5,为图4中步骤S300的子流程示意图。如图5所示,触发事件类型的判断方法包括:Please also refer to FIG. 5 , which is a schematic diagram of a sub-flow of step S300 in FIG. 4 . As shown in Figure 5, the method for judging the trigger event type includes:

S310:是否为关闭数据开关。S310: Whether to turn off the data switch.

可以理解的是,若触发事件的类型为用户设备200关闭数据开关,则执行步骤S410,即设置第一退避(Backoff)定时时长。It can be understood that, if the type of the trigger event is that theuser equipment 200 turns off the data switch, step S410 is performed, that is, the first backoff (Backoff) timing duration is set.

若触发事件的类型不是关闭数据开关,则执行步骤S320以继续判断触发事件的类型。If the type of the trigger event is not to turn off the data switch, step S320 is executed to continue to determine the type of the trigger event.

可以理解的是,触发事件关闭数据开关检测可以适用于图2中的用户设备200及图3中的用户设备201。It can be understood that the triggering event to turn off the data switch detection may be applicable to theuser equipment 200 in FIG. 2 and theuser equipment 201 in FIG. 3 .

S320:是否为切换至Wi-Fi。S320: Whether to switch to Wi-Fi.

可以理解的是,若触发事件的类型为切换至Wi-Fi,则执行步骤S420,即设置第二退避定时时长。It can be understood that, if the type of the trigger event is switching to Wi-Fi, step S420 is performed, that is, the second backoff timing duration is set.

若触发事件的类型不是切换至Wi-Fi,则执行步骤S330,即继续判断触发事件的类型。If the type of the trigger event is not switching to Wi-Fi, step S330 is executed, that is, the type of the trigger event is continued to be determined.

可以理解的是,触发事件切换至Wi-Fi检测可以适用于图2中的用户设备200及图3中的用户设备201。It can be understood that the trigger event switching to Wi-Fi detection may be applicable to theuser equipment 200 in FIG. 2 and theuser equipment 201 in FIG. 3 .

S330:是否为切换主卡。S330: Whether to switch the main card.

可以理解的是,若触发事件的类型为切换主卡,则执行步骤S430,即设置第三退避定时时长。It can be understood that, if the type of the trigger event is switching the main card, step S430 is executed, that is, the third backoff timing duration is set.

若触发事件的类型不是切换主卡,则执行步骤S340。If the type of the trigger event is not switching the main card, step S340 is executed.

可以理解的是,触发事件切换主卡检测可以适用于图2中的用户设备200及图3中的用户设备201。It can be understood that the detection of the trigger event switching the main card can be applied to theuser equipment 200 in FIG. 2 and theuser equipment 201 in FIG. 3 .

S340:是否为智慧双卡切换至副卡。S340: Whether the smart dual card is switched to the secondary card.

可以理解的是,若触发事件的类型为智慧双卡切换至副卡,则执行步骤S440,即设置第四退避定时时长。It can be understood that, if the type of the triggering event is switching from the smart dual card to the secondary card, step S440 is executed, that is, the fourth backoff timing duration is set.

若触发事件的类型不是智慧双卡切换至副卡,则执行步骤S350。If the type of the triggering event is not the smart dual card switching to the secondary card, step S350 is executed.

可以理解的是,触发事件智慧双卡切换至副卡检测可以适用于图3中的用户设备201。It can be understood that the trigger event smart dual card switching to secondary card detection can be applied to theuser equipment 201 in FIG. 3 .

S350:是否为智慧双卡切换至主卡。S350: Whether the smart dual card is switched to the main card.

可以理解的是,若触发事件的类型为智慧双卡切换至主卡,则执行步骤S450,即设置第五退避定时时长。It can be understood that, if the type of the triggering event is switching from the smart dual card to the main card, step S450 is executed, that is, the fifth backoff timing is set.

若触发事件的类型不是智慧双卡切换至主卡,则执行步骤S800以结束判断流程。If the type of the triggering event is not the smart dual card switching to the main card, step S800 is executed to end the judgment process.

可以理解的是,触发事件智慧双卡切换至主卡检测可以适用于图3中的用户设备201。It can be understood that the trigger event detection of smart dual-card switching to the main card may be applicable to theuser equipment 201 in FIG. 3 .

可以理解的是,在完成退避定时时长设置后,执行步骤S500,即完成互联网PDN去激活操作。It can be understood that, after completing the setting of the back-off timing, step S500 is performed, that is, the Internet PDN deactivation operation is completed.

可以理解的是,请再次参阅图4,其中步骤S200中,SIM卡在激活PDN默认承载之后,会注册IMS PDN连接。因此,若当前不存在IMS PDN连接则可以认为SIM卡没有未断开的PDN连接,第一蜂窝移动通信网络对应的SIM卡不会被数据包唤醒。It can be understood that, please refer to FIG. 4 again, wherein in step S200, the SIM card will register the IMS PDN connection after activating the PDN default bearer. Therefore, if there is currently no IMS PDN connection, it can be considered that the SIM card has no undisconnected PDN connection, and the SIM card corresponding to the first cellular mobile communication network will not be awakened by the data packet.

可以理解的是,用户设备200在接入核心网300时,会发送附着请求并建立IMS承载。因此,若用户设备200支持VoLTE,则在接入核心网300后会建立两个PDN连接。一个为互联网(Internet)PDN连接,该互联网PDN连接的QCI(QoS Class Identifier)通常为9,以进行数据报文的收发。另一个为IMS PDN连接,该IMS PDN连接的QCI通常为5,以传输IMS信令(例如语音呼叫的控制面信令),在进行语音通话时,会重新建立一个QCI为1的专用PDN连接,以实现语音报文传输。It can be understood that, when theuser equipment 200 accesses thecore network 300, it will send an attach request and establish an IMS bearer. Therefore, if theuser equipment 200 supports VoLTE, after accessing thecore network 300, two PDN connections will be established. One is an Internet (Internet) PDN connection, and the QCI (QoS Class Identifier) of the Internet PDN connection is usually 9, so as to send and receive data packets. The other is an IMS PDN connection. The QCI of the IMS PDN connection is usually 5 to transmit IMS signaling (such as the control plane signaling of a voice call). During a voice call, a dedicated PDN connection with a QCI of 1 will be re-established. , in order to realize the transmission of voice packets.

在本申请实施例中,检测IMS PDN连接可以提高通信管理方法的检测效率,减少无效操作。In the embodiment of the present application, detecting the IMS PDN connection can improve the detection efficiency of the communication management method and reduce invalid operations.

图6是本申请一实施例提供的通信管理方法流程示意图。FIG. 6 is a schematic flowchart of a communication management method provided by an embodiment of the present application.

S100:判断是否发生触发事件。S100: Determine whether a trigger event occurs.

可以理解的是,请一并参阅图4及图5,图6中示出的通信管理方法中的步骤S100、S200、S310-S350、S410-S450、及S500-S800与图4中的步骤S100、S200、S500-S800及图5中的步骤S310-S350及S410-S450相同,在此不再赘述。It can be understood that, please refer to FIG. 4 and FIG. 5 together, the steps S100, S200, S310-S350, S410-S450, and S500-S800 in the communication management method shown in FIG. 6 are the same as the step S100 in FIG. 4 . , S200, S500-S800, and steps S310-S350 and S410-S450 in FIG. 5 are the same, and are not repeated here.

具体地,请一并参阅图7,激活用户设备默认承载流程包括:Specifically, please refer to FIG. 7 together. The process of activating the default bearer of the user equipment includes:

S011:发送附着请求。S011: Send an attach request.

可以理解的是,用户设备200向核心网300发送附着请求(ATTACH REQUEST)。附着过程即用户设备200的网络注册过程,在附着完成后,核心网300承认用户设备200的默认承载建立。在本申请实施例中,附着请求内包括PDN连接请求(PDN CONNECTIVITY REQUEST)。It can be understood that theuser equipment 200 sends an attach request (ATTACH REQUEST) to thecore network 300 . The attach process is the network registration process of theuser equipment 200 . After the attach is completed, thecore network 300 acknowledges the establishment of the default bearer of theuser equipment 200 . In this embodiment of the present application, the attach request includes a PDN connection request (PDN CONNECTIVITY REQUEST).

S012:发送附着接受。S012: Send Attach Accept.

可以理解的是,核心网300在接收到来自用户设备200的附着请求之后,核心网300向用户设备200发送附着接受(ATTACH ACCEPT),并在附着接受中携带请求激活默认EPS承载上下文(ACTIVATE DEFAULT EPS BEARER CONTEXT REQUEST),以作为对附着请求内PDN连接请求的回应。可以理解的是,核心网300在接收到来自用户设备200的附着请求之后,可以单独下发附着接受而不携带请求激活默认EPS承载上下文。It can be understood that, after thecore network 300 receives the attach request from theuser equipment 200, thecore network 300 sends an attach accept (ATTACH ACCEPT) to theuser equipment 200, and carries a request to activate the default EPS bearer context (ACTIVATE DEFAULT) in the attach accept. EPS BEARER CONTEXT REQUEST) as a response to the PDN connection request within the attach request. It can be understood that, after receiving the attach request from theuser equipment 200, thecore network 300 may issue the attach acceptance independently without carrying the request to activate the default EPS bearer context.

S013:请求激活默认EPS承载上下文。S013: Request to activate the default EPS bearer context.

可以理解的是,在核心网300单独下发附着接受后,核心网300还可以单独向用户设备200发送请求激活默认EPS承载上下文。It can be understood that, after thecore network 300 individually issues the attach acceptance, thecore network 300 may also individually send a request to theuser equipment 200 to activate the default EPS bearer context.

S014:发送附着完成。S014: The sending attachment is completed.

可以理解的是,用户设备200在接收到来自核心网300的附着请求和请求激活默认EPS承载上下文之后,发送附着完成(ATTACH COMPLETE)至核心网300,可以理解的是,附着完成中携带有确认激活默认EPS承载上下文(ACTIVATE DEFAULT EPS BEARER CONTEXTACCEPT)。It can be understood that, after receiving the attach request from thecore network 300 and requesting to activate the default EPS bearer context, theuser equipment 200 sends an ATTACH COMPLETE to thecore network 300. It can be understood that the attach completion carries an acknowledgement. ACTIVATE DEFAULT EPS BEARER CONTEXTACCEPT is activated.

可以理解的是,用户设备200在向核心网300发送附着完成后,表示用户设备200已经成功在核心网300侧完成附着,并已经建立了互联网PDN连接,可以实现进行数据报文的收发。It can be understood that, after theuser equipment 200 sends the attachment completion to thecore network 300, it means that theuser equipment 200 has successfully completed the attachment on thecore network 300 side, and has established an Internet PDN connection, which can realize the sending and receiving of data packets.

具体地,请一并参阅图8,IMS注册流程包括:Specifically, please refer to Figure 8 together. The IMS registration process includes:

S021:发送PDN连接请求。S021: Send a PDN connection request.

可以理解的是,在进行IMS承载建立及IMS注册时,用户设备200向核心网300发送PDN连接请求(PDN CONNECTIVITY REQUEST),以请求建立IMS PDN连接。It can be understood that, when performing IMS bearer establishment and IMS registration, theuser equipment 200 sends a PDN connection request (PDN CONNECTIVITY REQUEST) to thecore network 300 to request to establish an IMS PDN connection.

S022:请求激活默认EPS承载上下文。S022: Request to activate the default EPS bearer context.

可以理解的是,核心网300在接收到用户设备200发送的IMS PDN连接请求之后,发送请求激活默认EPS承载上下文(ACTIVATE DEFAULT EPS BEARER CONTEXT REQUEST)至用户设备200。以建立IMS PDN连接。It can be understood that, after receiving the IMS PDN connection request sent by theuser equipment 200, thecore network 300 sends a request to activate the default EPS bearer context (ACTIVATE DEFAULT EPS BEARER CONTEXT REQUEST) to theuser equipment 200. to establish an IMS PDN connection.

S023:接受激活默认EPS承载上下文。S023: Accept to activate the default EPS bearer context.

可以理解的是,用户设备200在接收到来自核心网300的请求激活默认EPS承载上下文之后,发送确认激活默认EPS承载上下文(ACTIVATE DEFAULT EPS BEARER CONTEXTACCEPT)至核心网300。It can be understood that, after receiving the request from thecore network 300 to activate the default EPS bearer context, theuser equipment 200 sends a confirmation to activate the default EPS bearer context (ACTIVATE DEFAULT EPS BEARER CONTEXTACCEPT) to thecore network 300.

S024:完成IMS注册。S024: Complete the IMS registration.

可以理解的是,核心网300与用户设备通过会话初始协议(Session InitiationProtocol,SIP)信令完成IMS PDN的注册,以传输IMS信令。在接收到语音通话信令时,会重新建立一个专用PDN连接,以实现语音报文传输。It can be understood that, thecore network 300 and the user equipment complete the registration of the IMS PDN through Session Initiation Protocol (Session Initiation Protocol, SIP) signaling, so as to transmit the IMS signaling. When the voice call signaling is received, a dedicated PDN connection will be re-established to realize voice message transmission.

可以理解的是,用户设备200在接入核心网300之后,会建立互联网PDN连接和IMSPDN连接。本申请提供的通信管理方法可以通过检测IMS PDN连接是否存在来确定是否需要执行PDN连接去激活操作。若IMS PDN连接存在着则表示需要执行去激活操作,若IMS PDN连接不存在,则表示无需进行去激活操作。通过检测IMS PDN连接可以确认用户设备200的联网情况,避免发送去连接请求至已经失效的PDN连接。It can be understood that, after theuser equipment 200 accesses thecore network 300, an Internet PDN connection and an IMS PDN connection will be established. The communication management method provided by the present application can determine whether a PDN connection deactivation operation needs to be performed by detecting whether an IMS PDN connection exists. If the IMS PDN connection exists, it means that the deactivation operation needs to be performed. If the IMS PDN connection does not exist, it means that the deactivation operation does not need to be performed. By detecting the IMS PDN connection, the networking situation of theuser equipment 200 can be confirmed, so as to avoid sending a disconnection request to the PDN connection that has been invalidated.

图9是本申请另一实施例提供的通信管理方法流程示意图。FIG. 9 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

请参阅图9,通信管理方法包括:Referring to Figure 9, the communication management method includes:

S024:IMS注册成功。S024: IMS registration is successful.

可以理解的是,请一并参阅图8,基带处理器240在完成IMS注册后,会向应用处理器230发送IMS注册完成,以通知应用处理器230可以使用第一蜂窝移动通信网络。可以理解的是,IMS注册的流程与图8中步骤S021-S024相同,在此不再赘述。It can be understood that, referring to FIG. 8 , after completing the IMS registration, thebaseband processor 240 will send the IMS registration complete to theapplication processor 230 to notify theapplication processor 230 that the first cellular mobile communication network can be used. It can be understood that the process of IMS registration is the same as steps S021-S024 in FIG. 8 , and details are not repeated here.

S300:获取触发事件类型。S300: Obtain the trigger event type.

可以理解的是,请一并参阅图4,应用处理器230在用户设备200连接至第一蜂窝移动通信网络之后,监控是否有触发事件,并检测触发事件的类型。可以理解的是,判断触发事件类型的方法与图5中的步骤S310-S350中的判断逻辑和执行方法相同,在此不再赘述。It can be understood that, referring to FIG. 4 , after theuser equipment 200 is connected to the first cellular mobile communication network, theapplication processor 230 monitors whether there is a trigger event and detects the type of the trigger event. It can be understood that the method for judging the trigger event type is the same as the judging logic and execution method in steps S310-S350 in FIG. 5 , and details are not repeated here.

S400:根据触发事件类型设置退避定时器。S400: Set the backoff timer according to the trigger event type.

可以理解的是,请一并参阅图5,应用处理器230在获取到触发事件的类型后,根据触发事件的类型设置退避定时器的时长。可以理解的是,根据触发事件类型设置退避定时器的方法与图5中的步骤S410-S450中的判断逻辑和执行方法相同,在此不再赘述。It can be understood that, referring to FIG. 5 together, after acquiring the type of the trigger event, theapplication processor 230 sets the duration of the back-off timer according to the type of the trigger event. It can be understood that the method for setting the backoff timer according to the trigger event type is the same as the judgment logic and execution method in steps S410-S450 in FIG. 5 , and details are not repeated here.

S500:去激活互联网PDN。S500: Deactivate the Internet PDN.

可以理解的是,请一并参阅图5,应用处理器230向基带处理器240发送去激活互联网PDN信令,由基带处理器240向核心网300发起去连接互联网PDN请求。可以理解的是,去连接互联网PDN的方法与图11中的步骤S510-S530中的执行方法相同,在此不再赘述。It can be understood that, referring to FIG. 5 , theapplication processor 230 sends a deactivation Internet PDN signaling to thebaseband processor 240 , and thebaseband processor 240 initiates a request to thecore network 300 to connect to the Internet PDN. It can be understood that the method for connecting to the Internet PDN is the same as the execution method in steps S510-S530 in FIG. 11 , and details are not described herein again.

S600:启动退避定时器。S600: Start the backoff timer.

可以理解的是,请一并参阅图4,应用处理器230在发送去激活互联网PDN信令之后,启动退避定时器。可以理解的是,退避定时器的时长根据步骤S400进行设置。It can be understood that, referring to FIG. 4 together, theapplication processor 230 starts a back-off timer after sending the deactivation Internet PDN signaling. It can be understood that the duration of the back-off timer is set according to step S400.

S610:退避定时器超时。S610: The backoff timer times out.

可以理解的是,应用处理器230在启动退避定时器后,监控退避定时器的状态,并判断退避定时器是否超时。若退避定时器超时,则执行步骤S700。It can be understood that, after starting the back-off timer, theapplication processor 230 monitors the state of the back-off timer, and determines whether the back-off timer expires. If the back-off timer times out, step S700 is executed.

S700:激活互联网PDN。S700: Activate the Internet PDN.

可以理解的是,应用处理器230在退避定时器是否超时之后,发送激活互联网PDN信令至基带处理器240,以控制基带处理器240执行激活互联网PDN操作。It can be understood that, after the back-off timer expires, theapplication processor 230 sends an Internet PDN activation signaling to thebaseband processor 240 to control thebaseband processor 240 to perform an Internet PDN activation operation.

图10是本申请另一实施例提供的通信管理方法流程示意图。FIG. 10 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

请参阅图10,通信管理方法包括:Referring to Figure 10, the communication management method includes:

S024:IMS注册成功。S024: IMS registration is successful.

可以理解的是,请一并参阅图8和图9,基带处理器240在IMS注册完成后,发送IMS注册成功信令至应用处理器230。可以理解的是,IMS注册的流程与图8中步骤S021-S024相同,在此不再赘述。It can be understood that, referring to FIG. 8 and FIG. 9 together, thebaseband processor 240 sends an IMS registration success signaling to theapplication processor 230 after the IMS registration is completed. It can be understood that the process of IMS registration is the same as steps S021-S024 in FIG. 8 , and details are not repeated here.

S301:获取触发事件类型。S301: Obtain the trigger event type.

可以理解的是,基带处理器240获取触发事件类型。请一并参阅图4,基带处理器240在用户设备200连接至第一蜂窝移动通信网络之后,监控是否有触发事件,并检测触发事件的类型。It can be understood that thebaseband processor 240 obtains the trigger event type. Please also refer to FIG. 4 , after theuser equipment 200 is connected to the first cellular mobile communication network, thebaseband processor 240 monitors whether there is a trigger event, and detects the type of the trigger event.

S401:根据触发事件类型设置退避定时器。S401: Set a backoff timer according to the trigger event type.

可以理解的是,基带处理器240根据触发事件类型设置退避定时器。请一并参阅图9,可以理解的是,除处理核心由应用处理器230转换为基带处理器240之外,其余处理逻辑和判断方式与由应用处理器230进行判断是相同,在此不再赘述。It can be understood that thebaseband processor 240 sets the backoff timer according to the trigger event type. Please refer to FIG. 9 together. It can be understood that, except that the processing core is converted from theapplication processor 230 to thebaseband processor 240, the rest of the processing logic and determination method are the same as those performed by theapplication processor 230, which are not repeated here. Repeat.

S501:去激活互联网PDN完成。S501: Deactivation of the Internet PDN is completed.

可以理解的是,基带处理器240在完成去激活互联网PDN之后,发送去激活互联网PDN完成至应用处理器230,以通知应用处理器230第一蜂窝移动通信网络已经完成去激活操作,避免应用处理器230端主动拉起第一蜂窝移动通信网络。It can be understood that, after thebaseband processor 240 completes the deactivation of the Internet PDN, it sends the deactivation of the Internet PDN to theapplication processor 230 to notify theapplication processor 230 that the first cellular mobile communication network has completed the deactivation operation to avoid application processing. The end of thedevice 230 actively pulls up the first cellular mobile communication network.

S601:启动退避定时器。S601: Start a backoff timer.

可以理解的是,请一并参阅图4,基带处理器240在发送去激活互联网PDN信令之后,启动退避定时器。可以理解的是,退避定时器的时长根据步骤S400进行设置。It can be understood that, referring to FIG. 4 together, thebaseband processor 240 starts a back-off timer after sending the deactivation Internet PDN signaling. It can be understood that the duration of the back-off timer is set according to step S400.

S611:退避定时器超时。S611: The backoff timer expires.

可以理解的是,基带处理器240在启动退避定时器后,监控退避定时器的状态,并判断退避定时器是否超时。若退避定时器超时,则执行步骤S701。It can be understood that, after starting the back-off timer, thebaseband processor 240 monitors the state of the back-off timer, and determines whether the back-off timer expires. If the back-off timer times out, step S701 is executed.

S701:激活互联网PDN完成。S701: The activation of the Internet PDN is completed.

可以理解的是,基带处理器240在退避定时器是否超时之后,执行激活互联网PDN操作,并在互联网PDN激活完成后,发送激活互联网PDN完成至应用处理器230,以通知应用处理器230可以使用第一蜂窝移动通信网络。It can be understood that thebaseband processor 240 executes the operation of activating the Internet PDN after the back-off timer expires, and after the activation of the Internet PDN is completed, sends the completion of activating the Internet PDN to theapplication processor 230 to notify theapplication processor 230 that the Internet PDN can be used. A first cellular mobile communication network.

可以理解的是,可以理解的是,除处理核心由应用处理器230转换为基带处理器240之外,其余处理逻辑和判断方式与由应用处理器230进行判断是相同,在此不再赘述。It can be understood that, except that the processing core is converted from theapplication processor 230 to thebaseband processor 240, the remaining processing logic and determination method are the same as those performed by theapplication processor 230, which will not be repeated here.

图12是本申请另一实施例提供的通信管理方法流程示意图。FIG. 12 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

请参阅图12,通信管理方法包括:Referring to Figure 12, the communication management method includes:

S301:数据开关关闭。S301: The data switch is turned off.

可以理解的是,应用处理器230用于检测用户设备200的数据开关是处于开启状态还是关闭状态。若数据开关处于关闭状态,则执行通信管理方法。It can be understood that theapplication processor 230 is configured to detect whether the data switch of theuser equipment 200 is in an on state or an off state. If the data switch is in an off state, the communication management method is executed.

S501:去激活数据业务。S501: Deactivate the data service.

可以理解的是,应用处理器230发起去激活数据业务(Data Call),以去激活第一蜂窝移动通信网络的数据业务。It can be understood that, theapplication processor 230 initiates deactivation of the data service (Data Call) to deactivate the data service of the first cellular mobile communication network.

S511:去激活数据业务流程。S511: Deactivate the data service process.

可以理解的是,应用处理器230向基带处理器240发送去激活数据业务流程,以控制基带处理器240执行去激活数据业务操作。It can be understood that theapplication processor 230 sends the deactivation data service process to thebaseband processor 240 to control thebaseband processor 240 to perform the deactivation data service operation.

S521:关闭网卡,清理资源。S521: Turn off the network card and clear resources.

可以理解的是,基带处理器240执行关闭网卡并清理基带资源操作,以断开与第一蜂窝移动通信网络的连接。It can be understood that thebaseband processor 240 performs the operation of closing the network card and clearing the baseband resources, so as to disconnect the connection with the first cellular mobile communication network.

S531:去激活数据业务流程完成。S531: The deactivation data service process is completed.

可以理解的是,基带处理器240向应用处理器230发送去激活数据业务流程完成,使应用处理器230可以执行步骤S541。It can be understood that thebaseband processor 240 sends the deactivation data to theapplication processor 230 and the service process is complete, so that theapplication processor 230 can execute step S541.

S510:发送PDN去连接请求。S510: Send a PDN disconnection request.

可以理解的是,由于在核心网300侧,基带处理器240此时仍处于连接状态,因此需要基带处理器240发送PDN去连接请求至核心网300侧,以在核心网300侧显示下线。请一并参阅图11,发送PDN去连接请求的方法与图11中的方法相同,在此不再赘述。It can be understood that since thebaseband processor 240 is still in the connected state on thecore network 300 side, thebaseband processor 240 needs to send a PDN connection request to thecore network 300 side to display the offline on thecore network 300 side. Please refer to FIG. 11 together. The method for sending the PDN disconnection request is the same as the method in FIG. 11 , and details are not repeated here.

S541:清理资源。S541: Clean up resources.

可以理解的是,应用处理器230执行清理资源操作,以清理应用处理器230内关于第一蜂窝移动通信网络的相关线程。It can be understood that theapplication processor 230 performs a cleanup resource operation to clean up related threads in theapplication processor 230 related to the first cellular mobile communication network.

图13是本申请另一实施例提供的通信管理方法流程示意图。FIG. 13 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

请参阅图13,通信管理方法包括:Referring to Figure 13, the communication management method includes:

S302:切换至Wi-Fi。S302: Switch to Wi-Fi.

可以理解的是,应用处理器230用于检测用户设备200是否处于切换至Wi-Fi的状态,若用户设备200处于切换至Wi-Fi的状态,则执行通信管理方法。It can be understood that theapplication processor 230 is configured to detect whether theuser equipment 200 is in the state of switching to Wi-Fi, and if theuser equipment 200 is in the state of switching to Wi-Fi, the communication management method is executed.

S501:去激活数据业务。S501: Deactivate the data service.

可以理解的是,请一并参阅图12,应用处理器230去激活数据业务的方式与图12中相同,在此不再赘述。It can be understood that, referring to FIG. 12 together, the manner in which theapplication processor 230 deactivates the data service is the same as that in FIG. 12 , and details are not repeated here.

S511:去激活数据业务流程。S511: Deactivate the data service process.

可以理解的是,请一并参阅图12,应用处理器230去激活数据业务流程的方式与图12中相同,在此不再赘述。It can be understood that, referring to FIG. 12 together, the manner in which theapplication processor 230 deactivates the data service process is the same as that in FIG. 12 , and details are not repeated here.

S521:关闭网卡,清理资源。S521: Turn off the network card and clear resources.

可以理解的是,请一并参阅图12,基带处理器240关闭网卡,清理资源的方式与图12中相同,在此不再赘述。It can be understood that, referring to FIG. 12 together, thebaseband processor 240 shuts down the network card and clears resources in the same manner as in FIG. 12 , and details are not repeated here.

S531:去激活数据业务流程完成。S531: The deactivation data service process is completed.

可以理解的是,请一并参阅图12,基带处理器240去激活数据业务流程完成方式与图12中相同,在此不再赘述。It can be understood that, please refer to FIG. 12 together. The deactivation process of the data service by thebaseband processor 240 is the same as that in FIG. 12 , and details are not repeated here.

S510:发送PDN去连接请求。S510: Send a PDN disconnection request.

可以理解的是,请一并参阅图12,基带处理器240发送PDN去连接请求方式与图12中相同,在此不再赘述。It can be understood that, referring to FIG. 12 together, the manner in which thebaseband processor 240 sends the PDN disconnection request is the same as that in FIG. 12 , and details are not repeated here.

S541:清理资源。S541: Clean up resources.

可以理解的是,请一并参阅图12,应用处理器230清理资源的方式与图12中相同,在此不再赘述。It can be understood that, referring to FIG. 12 together, the manner in which theapplication processor 230 clears resources is the same as that in FIG. 12 , and details are not repeated here.

S551:切换至Wi-Fi。S551: Switch to Wi-Fi.

可以理解的是,应用处理器230发送切换至Wi-Fi至Wi-Fi模组260,以激活用户设备200的Wi-Fi网络。It can be understood that theapplication processor 230 sends the switch to Wi-Fi to Wi-Fi module 260 to activate the Wi-Fi network of theuser equipment 200 .

图14是本申请另一实施例提供的通信管理方法流程示意图。FIG. 14 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

请参阅图14,通信管理方法包括:Referring to Figure 14, the communication management method includes:

S502:主SIM卡去激活数据业务流程。S502: The primary SIM card deactivates the data service process.

可以理解的是,应用处理器230用于监控是否将蜂窝移动通信网络从主SIM卡250切换至副SIM卡270。It can be understood that theapplication processor 230 is configured to monitor whether to switch the cellular mobile communication network from theprimary SIM card 250 to thesecondary SIM card 270 .

S511:去激活数据业务。S511: Deactivate the data service.

可以理解的是,请一并参阅图12及图13,应用处理器230去激活数据业务流程的方式与图12及图13中相同,在此不再赘述。It can be understood that, referring to FIG. 12 and FIG. 13 together, the manner in which theapplication processor 230 deactivates the data service process is the same as that in FIG. 12 and FIG. 13 , and will not be repeated here.

S521:关闭网卡,清理资源。S521: Turn off the network card and clear resources.

可以理解的是,请一并参阅图12及图13,主SIM卡250关闭网卡,清理资源的方式与图12及图13中基带处理器240清理网卡的方式相同,在此不再赘述。It can be understood that, please refer to FIG. 12 and FIG. 13 together, themain SIM card 250 closes the network card and clears resources in the same manner as thebaseband processor 240 clears the network card in FIGS. 12 and 13 , and will not be repeated here.

S531:去激活数据业务流程完成。S531: The deactivation data service process is completed.

可以理解的是,请一并参阅图12及图13,主SIM卡250去激活数据业务流程完成方式与图12及图13中基带处理器240去激活的方式相同,在此不再赘述。It can be understood that, please refer to FIG. 12 and FIG. 13 together, the deactivation of the data service process of themain SIM card 250 is the same as the deactivation of thebaseband processor 240 in FIGS. 12 and 13 , and will not be repeated here.

S510:发送PDN去连接请求。S510: Send a PDN disconnection request.

可以理解的是,请一并参阅图12及图13,主SIM卡250发送去连接PDN至核心网300的方式与图12及图13中相同,在此不再赘述。It can be understood that, please refer to FIG. 12 and FIG. 13 together, the manner in which theprimary SIM card 250 sends to connect the PDN to thecore network 300 is the same as that in FIG. 12 and FIG. 13 , and will not be repeated here.

S541:清理主SIM卡数据业务资源。S541: Clear the data service resources of the main SIM card.

可以理解的是,请一并参阅图12及图13,应用处理器230清理主SIM卡250数据业务资源的方式与图12及图13中应用处理器230去激活数据业务流程完成方式相同,在此不再赘述。It can be understood that, please refer to FIG. 12 and FIG. 13 together, the manner in which theapplication processor 230 clears the data service resources of themain SIM card 250 is the same as that of theapplication processor 230 in FIG. 12 and FIG. 13 to deactivate the data service process. This will not be repeated here.

S701:副SIM卡激活数据业务。S701: The secondary SIM card activates the data service.

可以理解的是,应用处理器230在清理主SIM卡数据业务资源完成后,开始执行副SIM卡激活数据业务。It can be understood that theapplication processor 230 starts to execute the secondary SIM card activation data service after clearing the data service resources of the primary SIM card.

S711:激活数据业务流程。S711: Activate the data business process.

可以理解的是,应用处理器230发送激活数据业务流程至副SIM卡270,使副SIM卡270执行步骤S721。It can be understood that theapplication processor 230 sends the activation data service process to thesecondary SIM card 270, so that thesecondary SIM card 270 executes step S721.

S721:打开网卡。S721: Open the network card.

可以理解的是,副SIM卡270执行打开网卡操作,并接入蜂窝移动通信网络。It can be understood that thesecondary SIM card 270 performs the operation of opening the network card and accesses the cellular mobile communication network.

S731:激活数据业务成功。S731: The activation of the data service is successful.

可以理解的是,副SIM卡270在接入蜂窝移动通信网络之后,向应用处理器230发送激活数据业务成功,以通知应用处理器230可以使用副SIM卡270的网络进行数据收发。It can be understood that after thesecondary SIM card 270 is connected to the cellular mobile communication network, it sends to theapplication processor 230 that the data service is activated successfully, so as to notify theapplication processor 230 that the network of thesecondary SIM card 270 can be used for data transmission and reception.

S741:配置副SIM卡上网通道。S741: Configure the access channel of the secondary SIM card.

可以理解的是,应用处理器230配置副SIM卡270的上网通道,并使用副SIM卡270的网络进行后续的数据收发。It can be understood that theapplication processor 230 configures the Internet access channel of thesecondary SIM card 270, and uses the network of thesecondary SIM card 270 for subsequent data transmission and reception.

图15是本申请另一实施例提供的通信管理方法流程示意图。FIG. 15 is a schematic flowchart of a communication management method provided by another embodiment of the present application.

请参阅图15,通信管理方法包括:Referring to Figure 15, the communication management method includes:

S503:副SIM卡去激活数据业务流程。S503: The secondary SIM card deactivates the data service process.

可以理解的是,应用处理器230用于监控是否将蜂窝移动通信网络从副SIM卡270切换至主SIM卡250。It can be understood that theapplication processor 230 is used to monitor whether to switch the cellular mobile communication network from thesecondary SIM card 270 to theprimary SIM card 250 .

S511:去激活数据业务。S511: Deactivate the data service.

可以理解的是,请一并参阅图12、图13及图14,应用处理器230去激活数据业务流程的方式与图12、图13及图14中相同,在此不再赘述。It can be understood that, referring to FIG. 12 , FIG. 13 and FIG. 14 together, the method of deactivating the data service process by theapplication processor 230 is the same as that in FIG. 12 , FIG. 13 and FIG. 14 , and details are not repeated here.

S521:关闭网卡,清理资源。S521: Turn off the network card and clear resources.

可以理解的是,请一并参阅图12及图13,副SIM卡270关闭网卡,清理资源的方式与图12及图13中基带处理器240清理网卡的方式相同,在此不再赘述。It can be understood that, please refer to FIG. 12 and FIG. 13 together, thesecondary SIM card 270 closes the network card, and the method of clearing resources is the same as the method of clearing the network card by thebaseband processor 240 in FIG. 12 and FIG. 13 , and will not be repeated here.

S531:去激活数据业务流程完成。S531: The deactivation data service process is completed.

可以理解的是,请一并参阅图12、图13及图14,副SIM卡270去激活数据业务流程完成方式与图12、图13及图14中基带处理器240去激活的方式相同,在此不再赘述。It can be understood that, please refer to Fig. 12, Fig. 13 and Fig. 14 together, the deactivation data service process of thesecondary SIM card 270 is completed in the same manner as the deactivation of thebaseband processor 240 in Fig. 12, Fig. 13 and Fig. 14. This will not be repeated here.

S510:发送PDN去连接请求。S510: Send a PDN disconnection request.

可以理解的是,请一并参阅图12、图13及图14,副SIM卡270发送去连接PDN至核心网300的方式与图12、图13及图14中相同,在此不再赘述。It can be understood that, please refer to FIG. 12 , FIG. 13 and FIG. 14 together, the manner in which thesecondary SIM card 270 sends to connect the PDN to thecore network 300 is the same as that in FIG. 12 , FIG. 13 and FIG. 14 , and will not be repeated here.

S542:清理副SIM卡数据业务资源。S542: Clear data service resources of the secondary SIM card.

可以理解的是,请一并参阅图12、图13及图14,应用处理器230清理副SIM卡270数据业务资源的方式与图12、图13及图14中应用处理器230去激活数据业务流程完成方式相同,在此不再赘述。It can be understood that, please refer to FIG. 12 , FIG. 13 and FIG. 14 together, the manner in which theapplication processor 230 clears the data service resources of thesecondary SIM card 270 is the same as that of theapplication processor 230 in FIGS. 12 , 13 and 14 to deactivate the data service. The process is completed in the same manner, and will not be repeated here.

S711:激活数据业务流程。S711: Activate the data business process.

可以理解的是,请一并参阅图14,应用处理器230激活主SIM卡250数据业务的方式与图14应用处理器230激活副SIM卡270数据业务的方式相同,在此不再赘述。It can be understood that, please refer to FIG. 14 together, the way that theapplication processor 230 activates the data service of theprimary SIM card 250 is the same as the way that theapplication processor 230 activates the data service of thesecondary SIM card 270 in FIG. 14 , and will not be repeated here.

S721:打开网卡。S721: Open the network card.

可以理解的是,请一并参阅图14,主SIM卡250打开网卡的方式与图14副SIM卡270打开网卡的方式相同,在此不再赘述。It can be understood that, please refer to FIG. 14 together, the manner in which theprimary SIM card 250 opens the network card is the same as the manner in which thesecondary SIM card 270 opens the network card in FIG. 14 , and will not be repeated here.

S731:激活数据业务成功。S731: The activation of the data service is successful.

可以理解的是,请一并参阅图14,主SIM卡250发送激活数据业务成功的方式与图14中副SIM卡270发送激活数据业务成功的方式相同,在此不再赘述。It can be understood that, please refer to FIG. 14 together, the mode in which theprimary SIM card 250 successfully sends the activation data service is the same as the mode in which thesecondary SIM card 270 successfully sends the activation data service in FIG. 14 , and will not be repeated here.

S742:配置主SIM卡上网通道。S742: Configure the main SIM card Internet access channel.

可以理解的是,请一并参阅图14,主SIM卡250上网通道的方式与图14中应用处理器230配置副SIM卡270的上网通道相同,在此不再赘述。It can be understood that, please refer to FIG. 14 together, the mode of themain SIM card 250 surfing the Internet is the same as that of theapplication processor 230 configuring the Internet channel of thesecondary SIM card 270 in FIG. 14 , and details are not repeated here.

示例性的,在本申请另一实施例中,应用处理器230在获取到触发事件后,可以获取用户设备200的全部TCP长连接,并对每个连接逐个发送TCP RST指令,以断开用户设备200与每个TCP连接的长连接。可以理解的是,断开用户设备200与TCP连接之间的长连接,可以使用户设备200在服务器侧下线,即服务器不会通过第一蜂窝移动通信网络向用户设备200发送数据报文。因此,用户设备200的第一蜂窝移动通信网络对应的SIM卡不会被频繁的唤醒。Exemplarily, in another embodiment of the present application, after acquiring the trigger event, theapplication processor 230 may acquire all the long TCP connections of theuser equipment 200, and send TCP RST instructions to each connection one by one to disconnect the user. A persistent connection ofdevice 200 with each TCP connection. It can be understood that disconnecting the long connection between theuser equipment 200 and the TCP connection can make theuser equipment 200 go offline on the server side, that is, the server will not send data packets to theuser equipment 200 through the first cellular mobile communication network. Therefore, the SIM card corresponding to the first cellular mobile communication network of theuser equipment 200 will not be awakened frequently.

本申请实施例还提供一种存储介质,用于存储计算机程序,当所述计算机指令在用户设备200或用户设备201上运行时,使得所述用户设备200或用户设备201执行如本申请实施例的通信管理方法。The embodiment of the present application further provides a storage medium for storing a computer program, when the computer instruction is executed on theuser equipment 200 or theuser equipment 201, theuser equipment 200 or theuser equipment 201 executes the same as the embodiment of the present application. method of communication management.

所述存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。存储介质包括但不限于随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-OnlyMemory,ROM)、带电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、闪存或其它存储器、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、数字通用光盘(Digital Versatile Disc,DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。The storage media includes volatile and nonvolatile, removable and non-removable implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data medium. Storage media include but are not limited to random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory or other memory, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical disk storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or can Any other medium used to store desired information and that can be accessed by a computer.

参考图16所示,为本申请一实施例中电子设备100的硬件结构示意图。所述电子设备100包括上述用户设备200或用户设备201。具体地,所述电子设备100可以是手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personaldigital assistant,PDA)、增强现实(augmented reality,AR)设备、虚拟现实(virtualreality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备和/或智慧城市设备,本申请的一些实施例对该电子设备100的具体类型不作特殊限制。Referring to FIG. 16 , it is a schematic diagram of a hardware structure of an electronic device 100 in an embodiment of the present application. The electronic device 100 includes the above-mentioneduser equipment 200 oruser equipment 201 . Specifically, the electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, Personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, smart home device and/or smart city equipment, some embodiments of the present application do not specifically limit the specific type of the electronic equipment 100 .

电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,自动曝光模块195,以及用户标识模块(subscriber identificationmodule,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include aprocessor 110, anexternal memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, acharge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 ,mobile communication module 150,wireless communication module 160,audio module 170,speaker 170A,receiver 170B, microphone 170C,headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194,automatic Exposure module 195, and subscriber identification module (subscriber identification module, SIM)card interface 195 and so on. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.

可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

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

控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in theprocessor 110 for storing instructions and data. In some embodiments, the memory inprocessor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by theprocessor 110 . If theprocessor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of theprocessor 110 is reduced, thereby increasing the efficiency of the system.

在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, theprocessor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) interface /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface, etc.

I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, theprocessor 110 may contain multiple sets of I2C buses. Theprocessor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces. For example, theprocessor 110 may couple the touch sensor 180K through the I2C interface, so that theprocessor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .

I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, theprocessor 110 may contain multiple sets of I2S buses. Theprocessor 110 may be coupled with theaudio module 170 through an I2S bus to implement communication between theprocessor 110 and theaudio module 170 . In some embodiments, theaudio module 170 can transmit audio signals to thewireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.

PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. In some embodiments, theaudio module 170 and thewireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, theaudio module 170 can also transmit audio signals to thewireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect theprocessor 110 with thewireless communication module 160 . For example, theprocessor 110 communicates with the Bluetooth module in thewireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, theaudio module 170 can transmit audio signals to thewireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.

MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(displayserial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect theprocessor 110 with peripheral devices such as the display screen 194 and the camera 193 . The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (displayserial interface, DSI), and the like. In some embodiments, theprocessor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 . Theprocessor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .

GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect theprocessor 110 with the camera 193, the display screen 194, thewireless communication module 160, theaudio module 170, the sensor module 180, and the like. The GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.

USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备100,例如AR设备等。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices 100, such as AR devices and the like.

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

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。Thecharging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, thecharging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, thecharging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While thecharging management module 140 charges the battery 142 , the electronic device 100 can also be powered by the power management module 141 .

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , thecharging management module 140 and theprocessor 110 . The power management module 141 receives input from the battery 142 and/or thecharging management module 140, and supplies power to theprocessor 110, the internal memory 121, the display screen 194, the camera 193, and thewireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in theprocessor 110 . In other embodiments, the power management module 141 and thecharging management module 140 may also be provided in the same device.

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, themobile communication module 150, thewireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.

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

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

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to thespeaker 170A, thereceiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of theprocessor 110, and may be provided in the same device as themobile communication module 150 or other functional modules.

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

在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with themobile communication module 150, and the antenna 2 is coupled with thewireless communication module 160, so that the electronic device 100 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 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 a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou satellite navigation system (BDS), a quasi-zenith satellite system (quasi- zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).

电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.

电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.

ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .

摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.

视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, for example, moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.

NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.

内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

随机存取存储器可以包括静态随机存储器(static random-access memory,SRAM)、动态随机存储器(dynamic random access memory,DRAM)、同步动态随机存储器(synchronous dynamic random access memory,SDRAM)、双倍资料率同步动态随机存取存储器(double data rate synchronous dynamic random access memory,DDR SDRAM,例如第五代DDR SDRAM一般称为DDR5SDRAM)等;Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as the fifth generation DDR SDRAM is generally called DDR5 SDRAM), etc.;

非易失性存储器可以包括磁盘存储器件、快闪存储器(flash memory)。Non-volatile memory may include magnetic disk storage devices, flash memory.

快闪存储器按照运作原理划分可以包括NOR FLASH、NAND FLASH、3DNAND FLASH等,按照存储单元电位阶数划分可以包括单阶存储单元(single-level cell,SLC)、多阶存储单元(multi-level cell,MLC)、三阶储存单元(triple-level cell,TLC)、四阶储存单元(quad-level cell,QLC)等,按照存储规范划分可以包括通用闪存存储(英文:universalflash storage,UFS)、嵌入式多媒体存储卡(embedded multi media Card,eMMC)等。Flash memory can be divided into NOR FLASH, NAND FLASH, 3DNAND FLASH, etc. according to the operation principle, and can include single-level cell (SLC), multi-level cell (multi-level cell) according to the level of storage cell potential , MLC), triple-level cell (TLC), quad-level cell (QLC), etc., according to storage specifications can include universal flash storage (English: universal flash storage, UFS), embedded Multimedia memory card (embedded multi media Card, eMMC) and so on.

随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用的数据等。The random access memory can be directly read and written by theprocessor 110, and can be used to store executable programs (eg, machine instructions) of an operating system or other running programs, and can also be used to store user and application data.

非易失性存储器也可以存储可执行程序和存储用户及应用的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。The non-volatile memory can also store executable programs and store user and application data, etc., and can be loaded into the random access memory in advance for theprocessor 110 to directly read and write.

外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。Theexternal memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 . The external non-volatile memory communicates with theprocessor 110 through theexternal memory interface 120 to realize the data storage function. For example, save music, video, etc. files in external non-volatile memory.

内部存储器121或外部存储器接口120用于存储一个或多个计算机程序。一个或多个计算机程序被配置为被该处理器110执行。该一个或多个计算机程序包括多个指令,多个指令被处理器110执行时,可实现上述实施例中在电子设备100上执行的通信管理方法,以实现电子设备100的通信管理功能。Internal memory 121 orexternal memory interface 120 is used to store one or more computer programs. One or more computer programs are configured to be executed by theprocessor 110 . The one or more computer programs include multiple instructions, and when the multiple instructions are executed by theprocessor 110 , can implement the communication management method executed on the electronic device 100 in the above-mentioned embodiments, so as to realize the communication management function of the electronic device 100 .

电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through anaudio module 170, aspeaker 170A, areceiver 170B, a microphone 170C, anearphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.

音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。Theaudio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal.Audio module 170 may also be used to encode and decode audio signals. In some embodiments, theaudio module 170 may be provided in theprocessor 110 , or some functional modules of theaudio module 170 may be provided in theprocessor 110 .

扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through thespeaker 170A, or listen to a hands-free call.

受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。Thereceiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or a voice message, the voice can be answered by placing thereceiver 170B close to the human ear.

麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.

耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备100平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of theUSA,CTIA)标准接口。Theearphone jack 170D is used to connect wired earphones. Theearphone port 170D may be a USB port 130, or a 3.5mm open mobile terminal platform (OMTP) standard port, a cellular telecommunications industry association of the USA (CTIA) standard port.

压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 . In some embodiments, the angular velocity of electronic device 100 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenarios.

气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.

磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.

加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备100姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to recognize the posture of the electronic device 100, and can be used in applications such as horizontal and vertical screen switching, and pedometers.

距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F for measuring distance. The electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 100 emits infrared light to the outside through the light emitting diode. Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 . The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.

环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.

指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.

温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect the temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.

骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone. Theaudio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.

按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .

马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.

SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。TheSIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into theSIM card interface 195 or pulling out from theSIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. TheSIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the sameSIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. TheSIM card interface 195 can also be compatible with different types of SIM cards. TheSIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .

本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的通信管理方法。This embodiment also provides a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the communication management method in the above-mentioned embodiment.

另外,本申请的一些实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的通信管理方法。In addition, some embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, when the apparatus is running , the processor can execute the computer execution instructions stored in the memory, so that the chip executes the communication management method in the above method embodiments.

其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined. Or it may be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

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

该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请的一些实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a readable storage medium. Based on this understanding, the technical solutions of some embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or the whole or part of the technical solutions, which are stored in a The storage medium includes several instructions to enable a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

最后应说明的是,以上实施例仅用以说明本申请的一些实施例的技术方案而非限制,尽管参照较佳实施例对本申请的一些实施例进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的一些实现例的技术方案进行修改或等同替换,而不脱离本申请的一些实施例的技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of some embodiments of the present application rather than limitations. Although some embodiments of the present application have been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should It is understood that the technical solutions of some implementation examples of the present application may be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of some embodiments of the present application.

Claims (14)

CN202110833243.3A2021-07-222021-07-22 Communication management method, user equipment, system and storage mediumActiveCN113596942B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110833243.3ACN113596942B (en)2021-07-222021-07-22 Communication management method, user equipment, system and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110833243.3ACN113596942B (en)2021-07-222021-07-22 Communication management method, user equipment, system and storage medium

Publications (2)

Publication NumberPublication Date
CN113596942A CN113596942A (en)2021-11-02
CN113596942Btrue CN113596942B (en)2022-08-12

Family

ID=78249313

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110833243.3AActiveCN113596942B (en)2021-07-222021-07-22 Communication management method, user equipment, system and storage medium

Country Status (1)

CountryLink
CN (1)CN113596942B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115357207B (en)*2022-10-182023-02-03南京芯驰半导体科技有限公司Screen projection system and method based on heterogeneous SoC
CN115767602B (en)*2022-11-012023-07-07荣耀终端有限公司 Device protocol subsystem exception automatic error correction method and electronic device
US12426120B2 (en)2023-08-162025-09-23Samsung Electronics Co., Ltd.Method and system for optimizing IMS PDN connection in communication system
CN119277463A (en)*2024-03-152025-01-07荣耀终端有限公司 Communication method, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108702593A (en)*2016-11-092018-10-23联发科技股份有限公司Enhanced multimedia call control in next generation mobile communication systems

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101299697B (en)*2007-04-302012-09-05华为技术有限公司Method and apparatus for logoff of wireless IP access network association address
CN101365230B (en)*2007-08-072010-08-11华为技术有限公司Customer separating method, system and apparatus when heterogeneous network switching/changing
CN103929787A (en)*2013-01-112014-07-16电信科学技术研究院Method, device and system for switching of heterogeneous networks
US9509519B2 (en)*2013-09-092016-11-29At&T Intellectual Property I, L.P.Method and system for managing user location information in a communication system
US9820328B2 (en)*2014-06-242017-11-14Intel CorporationApparatuses, methods, and systems to reduce handover latency in an integrated wireless local area network and cellular network
EP3007488A1 (en)*2014-10-082016-04-13Alcatel LucentHandling of pdn connections for a user equipment in a mobile network at network initiated reselection of a serving core network entity
EP3370475B1 (en)*2015-12-282020-04-22Huawei Technologies Co., Ltd.Method and user equipment for releasing pdn connection

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108702593A (en)*2016-11-092018-10-23联发科技股份有限公司Enhanced multimedia call control in next generation mobile communication systems

Also Published As

Publication numberPublication date
CN113596942A (en)2021-11-02

Similar Documents

PublicationPublication DateTitle
CN113596942B (en) Communication management method, user equipment, system and storage medium
CN112533269B (en)Data receiving and sending method, electronic equipment and computer readable storage medium
CN111369988A (en)Voice awakening method and electronic equipment
CN111262975A (en) Bright screen control method and electronic device
WO2021104104A1 (en)Energy-efficient display processing method, and apparatus
CN113448482B (en) Touch screen sliding response control method and device, and electronic device
WO2021043046A1 (en)Resource management and control method and device
WO2021185141A1 (en)Wi-fi aware link establishment method and system, electronic device, and storage medium
CN111372329B (en)Connection establishing method and terminal equipment
CN114727269A (en)Bluetooth connection method and related device
CN110687998A (en) Application management method and device
CN110557740A (en)Electronic equipment control method and electronic equipment
WO2021052170A1 (en)Motor vibration control method and electronic device
WO2021043250A1 (en)Bluetooth communication method, and related device
CN110572799A (en) Method and device for simultaneous response
WO2022042265A1 (en)Communication method, terminal device, and storage medium
CN113676339A (en) Multicast method, apparatus, terminal device, and computer-readable storage medium
CN111651254A (en) A method and apparatus for executing an application
CN113436635A (en)Self-calibration method and device of distributed microphone array and electronic equipment
WO2023169278A1 (en)Data transmission method and apparatus, and electronic device
CN115119336A (en)Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN115134404A (en) Method and electronic device for managing push connections
CN116074303A (en) Remote boot method, electronic device and system
CN114258044B (en) Standby method, system and terminal equipment
CN116667875B (en)Switching method and device of internet access and terminal equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP03Change 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

CP03Change of name, title or address

[8]ページ先頭

©2009-2025 Movatter.jp