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
CN113596942B CN202110833243.3A CN202110833243A CN113596942B CN 113596942 B CN113596942 B CN 113596942B CN 202110833243 A CN202110833243 A CN 202110833243A CN 113596942 B CN113596942 B CN 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 Ltd filed Critical Honor Device Co Ltd
Priority to CN202110833243.3A priority Critical patent/CN113596942B/en
Publication of CN113596942A publication Critical patent/CN113596942A/en
Application granted granted Critical
Publication of CN113596942B publication Critical patent/CN113596942B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • H04W36/0088Scheduling hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

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

Communication management method, user equipment, system and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication management method, a user equipment, a system, and a storage medium.
Background
With the development of communication technology, many User Equipments (UEs) support multiple communication modes (e.g., multiple cellular networks, Wi-Fi, etc.), that is, multiple communication modes that can be connected to the internet are built in one UE. When the user equipment is switched from one cellular network to another network, the networking application server in the user equipment continues to send data messages to the original cellular network because the networking application server does not know that the user equipment is switched to the other network, so that the original cellular network is frequently pulled up, the networking performance of the user equipment is reduced, and the power consumption of the user equipment is improved.
Disclosure of Invention
In view of the above, it is desirable to provide a communication management method, a user equipment, a system and a 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 in communication connection with a core network, and the communication management method includes:
detecting a state of the internet protocol multimedia subsystem in response to a triggering 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.
In a second aspect, an embodiment of the present application provides a user equipment, communicatively connected to a core network, including:
the application processor responds to a trigger event and detects the state of the internet protocol multimedia subsystem; after the internet public data network connection is deactivated, starting the back-off timer;
the baseband processor is used for responding to the activation state of the internet protocol multimedia subsystem detected by the application processor and deactivating the connection of the internet public data network; and after the back-off timer is overtime, the connection of the Internet public data network is reactivated.
In a third aspect, an embodiment of the present application provides a user equipment, communicatively connected to a core network, including:
the baseband processor responds to a trigger event, detects the state of the internet protocol multimedia subsystem, and deactivates the connection of the internet public data network if the internet protocol multimedia subsystem is in an activated state; setting a back-off timer, and starting the back-off timer after the internet public data network connection is deactivated; after the back-off timer is overtime, the connection of the Internet public data network is reactivated;
and the application processor is used 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 of the second aspect;
alternatively, a user equipment as described in the third aspect.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, when the computer instructions are executed on an electronic device, cause the electronic device to execute the communication management method according to the first aspect.
In the embodiment of the application, a communication management method, user equipment, a system and a storage medium are provided. The PDN connection corresponding to the cellular mobile communication network can be deactivated when the cellular mobile communication network is switched to other networks, and the SIM card corresponding to the cellular mobile communication network is prevented from being frequently awakened. Meanwhile, in order to improve the connection speed of the user equipment after being reconnected to the cellular mobile communication network, the communication method provided by the embodiment of the application also provides the back-off timer, and the user equipment is reconnected to the cellular mobile communication network after the back-off timer is overtime, so that the user equipment can quickly start the cellular mobile communication network.
Drawings
Fig. 1 is a schematic view of a communication scenario of a user equipment according to an embodiment of the present application.
Fig. 2 is a schematic block diagram of a user equipment according to an embodiment of the present application.
Fig. 3 is a block diagram of a user equipment according to another embodiment of the present application.
Fig. 4 is a flowchart illustrating a communication management method according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 6 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 7 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 8 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 9 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 10 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 11 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 12 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 13 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 14 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 15 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Fig. 16 is a schematic view of an electronic device module according to an embodiment of the present application.
The following detailed description will further illustrate the present application in conjunction with the above-described figures.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application.
In the embodiments of the present application, "at least one" means one or more, and a plurality means two or more. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It should be noted that in the embodiments of the present application, the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or order. The features defined as "first", "second" may explicitly or implicitly include one or more of the features described. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
All other embodiments that can be obtained by a person skilled in the art without inventive step based on the embodiments in this application are within the scope of protection of this application.
Some embodiments of the application are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 1 is a schematic diagram of a user equipment communication scenario provided in an embodiment of the present application.
Referring to fig. 1, the user equipment 200 is connected to a first application server 301 through a first cellular network access point 301 and to a second application server 402 through a second network access point 302.
It is understood that user device 200 includes, but is not limited to, a portable or mobile device, a cell phone, a tablet, a television, a personal digital assistant, a laptop device, a desktop, a handheld PC, a server, a network device, a graphics device, a video game device, a set-top box, a cellular telephone, a portable media player, a handheld device, a wearable device (e.g., display glasses or goggles, a head-mounted display, a watch, a head-mounted device, an arm band, jewelry, etc.), a virtual reality and/or augmented reality device, an internet-of-things device, an industrial control device, an in-vehicle infotainment device, a streaming media client device, an e-book reading device, a POS machine, or other electronic device capable of wireless and/or wired communication.
It is understood that the user equipment 200 may support one or more Subscriber Identity Module (SIM) cards. One SIM card for each cellular mobile communications network. For convenience of description, the SIM card and its evolution are collectively referred to as the 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, and is used For storing an identification code and a secret key of the user and supporting authentication of the GSM System to the user. For another example, the SIM card may be a Universal Subscriber Identity Module (USIM), which may also be referred to as an upgraded SIM card.
It can be understood that, when the user equipment 200 can support multiple SIM cards, the primary SIM card may be in Long Term Evolution (LTE) mode or 5G dependent network group (Non-standby, NSA) mode. The secondary SIM card may support a Global System For mobile communications (GSM) System, a Universal mobile telecommunications System (Universal mobile 1 telecommunications System, UMTS) System, a Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) System, a Long Term Evolution (LTE) System, a Code Division Multiple Access (CDMA) System, a New System (New System, NS) System, a 5G Non-Standalone network group (Non-Standalone, NSA) System, a 5G Standalone network group (Standalone, SA) System, and the like.
It is understood that when user equipment 200 may support multiple SIM cards, then user equipment 200 may support dual card data concurrency functions or non-dual card data concurrency functions.
It is understood that the user equipment 200 can communicate with other devices by accessing the cellular mobile communication network through the first cellular network access point 2301. The user equipment 200 may also access the cellular mobile communication network through the second network access point 302 or communicate with other devices through wireless communication technology (Wi-Fi).
It will be appreciated that the server may send polling, long connection, and push messages to the application after establishing a connection with the application within the user device 200. Illustratively, long connections include User Datagram Protocol (UDP) connections, Transmission Control Protocol (TCP) connections, and the like.
It is understood that after the application in the user equipment 200 establishes the UDP-based connection with the server, since the UDP does not provide the online status of the user equipment, the server and the user equipment 200 usually use a periodic message to determine whether the user equipment 200 is online.
It is understood that, after the application in the user equipment 200 establishes the TCP connection with the server through the three-way handshake, as long as the connection is not closed (Finish, FIN) or Reset (Reset, RST), the user equipment 200 and the server may determine that both the opposite end is online. However, in practical applications, both the user device 200 and the server side send heartbeat packets to detect the connection status of the opposite side, and discover whether the opposite side is online.
Illustratively, as shown in fig. 1, a user device 200 includes a first Application (APP) 210 and a second Application 220. After the first application 210 in the user equipment 200 establishes a UDP or TCP connection with the first application server 401 through the first cellular network access point 301, the user equipment 200 is handed over from the first cellular mobile communication network to the other network. At this time, after the user equipment 200 establishes a connection with the first cellular mobile communication Network, at least one Public Data Network (PDN) connection is reserved, and the PDN connection is not actively disconnected after switching to another Network. Although the connection between the user equipment 200 side and the first cellular mobile communication network has been disconnected on the access network side, at least one PDN connection remains between the user equipment 200 and the first cellular mobile communication network, i.e. the first cellular mobile communication network of the user equipment 200 is in a suspended state at the core network instead of a switched-off state. Thus, the user equipment 200 is still online to the core network. In some scenarios, if the user equipment is handed over from the first cellular mobile communication network to another network, such as a Wifi network or a second cellular mobile network, the core network of the first cellular network also considers the user equipment 200 to be online at this time. At this time, the application server may think that the ue is still connected through the first cellular network, and still send the data packet to the ue through the first cellular network. These messages may wake up the primary card corresponding to the first cellular mobile communication network, and affect the internet performance of other cards, such as the secondary card. Specifically, if the ue 200 supports the dual-card data concurrency function, because the dual-card data concurrency function is usually implemented by a Time Division Multiplexing (TDM) function, re-waking up the main card corresponding to the first cellular mobile communication network may affect bandwidths of other cellular mobile networks and increase power consumption of the ue 200. Specifically, if the ue 200 does not support the dual-card data concurrency function, re-waking up the main card corresponding to the first cellular mobile communication network may occupy Radio Frequency (RF) resources of the ue 200, and affect performance such as bandwidth of other cellular mobile networks.
For another example, if the user equipment 200 has 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 is not disconnected, the first application server 301 cannot know that the user equipment 200 has switched from the first cellular mobile communication network to the Wi-Fi network before the first application 210 sends a packet to the first application server 401 through the Wi-Fi network. Therefore, the first application server 401 may still use the first cellular mobile communication network for packet transmission when transmitting the packet to the first application 210 in the user equipment 200. And each time the main card corresponding to the first cellular mobile communication network is awakened, Radio Resource Control (RRC) layer connection is established, which improves power consumption and traffic consumption of the ue 200.
It can be understood that, when the second application 220 in the user equipment 200 establishes a connection with the second application server 402 through the second network access point 302, the connection information received by the second application server 402 is from the second network access point 302, and therefore, the second application server 402 does not wake up the corresponding main card of the first cellular mobile communication network when sending a message.
It is understood that the running state of the application in the user equipment 200 can be divided into foreground application, background application, resident application, and the like. It can be understood that, since the foreground application interacts with the server more frequently, the latest parameters such as the latest Internet Protocol (IP) are attached when the application and the server receive and transmit data in the interaction process, and therefore, the host card corresponding to the first cellular mobile communication network is not easily woken up. And because the interaction frequency of the applications such as the background application and the resident application with the server is low, when the server side does not acquire parameters such as an IP (internet protocol) which is not updated by the background application and the resident application, the message is sent to the first cellular mobile communication network, and further the main card corresponding to the first cellular mobile communication network is awakened.
Fig. 2 is a block diagram of a user device 200.
Referring to fig. 2, the ue 200 further includes an Application Processor (AP) 230, a baseband (Modem) Processor 240, a host SIM card 250, and a Wi-Fi module 260.
It can be understood that the application processor 230 is called a Multimedia Application Processor (MAP) and refers to a very large scale integrated circuit that extends audio and video functions and a dedicated interface on the basis of a low power consumption central processing unit CPU. The application processor 230 can run a complex operating system such as Linux kernel (android kernel), Harmony kernel (Harmony kernel), Windows kernel, etc., and the multimedia type processor refers to a processor that processes more than two media, such as image, sound, video, and 3D graphics. A single multimedia type processor refers to a processor that processes one medium, generally only for processing images or sound.
It can be understood that the baseband Processor 240 is an important component in the system chip, and is equivalent to a protocol Processor, and is responsible for processing and storing data, and mainly includes units such as a Digital Signal Processor (DSP), a microcontroller (Micro Controller Unit, MCU), and a memory (e.g., flash memory), and its corresponding main functions are responsible for baseband encoding or decoding, voice encoding and voice encoding, and so on. Currently, the baseband processor 240 not only supports multiple communication standards, but also provides multimedia functions and provides related communication interfaces for multimedia displays, image sensors, and audio devices.
It is understood that in practical applications, the software that the application processor 230 typically supports includes an operating system, a user interface, an application program, and the like. The Baseband processor 240 may be regarded as a wireless Modem module, which is responsible for coordinating and controlling communications between the Baseband and the base station and the application processor 230, and supports operating software including Baseband Modem (Baseband Modem) communication control software, etc.
It is understood that the application processor 230 and the baseband processor 240 support mutual communication by using a preset Interface technology, which may be set by the system in a self-defined manner, for example, the Interface technology includes but is not limited to Serial Peripheral Interface (SPI), Universal Asynchronous Receiver/Transmitter (UART), Universal Serial Bus (USB), General Purpose Input/Output control line (GPIO), and the like. Specifically, the application processor 230 and the baseband processor 240 may implement communication transmission between each other in a message format through a control command, so as to complete functions of a call, a short message, mobile internet, and the like. The control command may include a conventional at (attention) command, a Mobile Broadband Interface (MBIM) command, or other protocol commands supporting the mutual transmission between the application processor 230 and the baseband processor 240.
It is understood that the application processor 230 may be regarded as one processor core, the baseband processor 240 may be regarded as another processor core, and the communication between the two cores follows a specific inter-core communication protocol, which is not limited by the embodiment of the present invention. It can be understood that, in the application processor 230, after the packet passes through a TCP protocol stack and an IP protocol stack of a core (also called a core state) through a socket interface of a source end of the TCP connection, a Task (Task, which may also be understood as a thread) used for inter-core communication in the application processor 230 and the baseband processor 240 respectively is used to transfer the packet to a GSM protocol stack, a UMTS protocol stack, a TD-SCDMA protocol stack, an LTE protocol stack, a CDMA protocol stack, an NR protocol stack, an NSA protocol stack, and an SA protocol stack (which may also be understood as a Task or a thread) in the Modem, and the protocol stack sends the packet out of the user equipment 200 through hardware in the baseband processor 240. The protocol stack is used for carrying one or more communication protocols of a data link layer and a physical layer, and is mainly used for communication protocols of various cellular networks, such as a GSM protocol, a UMTS protocol, a TD-SCDMA protocol, an LTE protocol, a CDMA protocol, an NR protocol, an NSA protocol, an SA protocol, and the like.
It is understood that the main SIM card 250 has the same functions and functions as the main SIM card described in fig. 1, and will not be described in detail herein.
It will be appreciated that Wi-Fi module 260 is used to wirelessly interconnect user device 201 with devices within a wireless local area network.
It is understood that when the user equipment 200 includes the application processor 230, the baseband processor 240, and the primary SIM card 250, the user equipment 200 may implement the attach function, PDN default bearer activation, IMS bearer establishment, IMS registration, and data service deactivation functions.
Fig. 3 is a block diagram of a user equipment 201 according to an embodiment of the present application.
Referring to fig. 3, in comparison with fig. 2, the user equipment 201 in fig. 3 further includes a secondary SIM card 270.
It is understood that the secondary SIM card 270 has the same functions and functions as the secondary SIM card described in fig. 1, and thus, will not be described again.
It is understood that, compared with the user equipment 200 in fig. 2, the user equipment 201 in fig. 3 can also implement the primary and secondary card switching and smart dual card switching functions.
It is understood that when the user equipment 201 supports the smart dual card switching function, the application processor 230 automatically controls the user equipment 201 to switch the network to the signal provided by the secondary SIM card 270 when detecting the signal degradation of the primary SIM card 250. The primary card and the secondary card in the smart dual card can be set according to the requirements of the user, and the application is not limited herein.
It should be understood that the hardware configuration shown in fig. 2 and 3 is only one example. The user equipment of embodiments 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 a different configuration of components. 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.
Fig. 4 is a flowchart illustrating a communication management method according to an embodiment of the present application. By using the communication management method provided by the embodiment of the present application, it is possible to avoid that the network performance and power consumption of the user equipment 200 are affected due to the frequent wake-up of the SIM card corresponding to the first cellular mobile communication network.
Referring to fig. 4, the communication management method includes:
s100: and judging whether a trigger event occurs.
Wherein, when the triggering event is judged to occur, S200 is executed. When it is determined that the trigger event has not occurred, S100 is continuously performed.
It is to be understood that whether a trigger event occurs may be determined by the application processor 230 in the user equipment 200. When a triggering event occurs, it indicates that the network connection of the user equipment 200 is handed over from the first cellular mobile communication network to the other network. For example, the triggering event includes turning off the data switch, switching to Wi-Fi, switching the primary card to the secondary card in the dual smart card mode, switching the secondary card to the primary card in the dual smart card mode, and the like when the user equipment 200 communicates using the first cellular mobile communication network.
S200: it is determined whether an IP Multimedia Subsystem (IMS) is active. Wherein, when the IMS is determined to be in the active state, S300 is performed. And returning to S100 when judging that the triggering event does not occur.
S300: the type of the triggering event is obtained.
S400: and setting a back-off timer according to the type of the trigger event. It will be appreciated that different back-off timing durations may be set depending on the type of triggering event.
It will be appreciated that the back-off timing duration may be set to a time within 0-30 minutes in general. It can be understood that since the frequency of sending messages by the server is obviously reduced after 30 minutes, setting the back-off timing duration within 30 minutes can effectively reduce the frequency of the first cellular mobile communication network being awakened.
It will be appreciated that the types of triggering events include when the user equipment 200 is communicating using the first cellular mobile communications network: turning off the data switch, switching to Wi-Fi, switching the main card to the auxiliary card or switching the auxiliary card to the main card in the smart dual-card mode, and the like.
For example, when the triggering event is to turn off the data switch, it may be considered that the data switch of the user equipment 200 is not turned on in a short time, and therefore, the first backoff fixed length may be set, and the first backoff timing duration may be set to a longer time, for example, 10 minutes, 15 minutes, 20 minutes, 25 minutes, 30 minutes, and the like, which is not limited herein.
For example, when the trigger event is switching to Wi-Fi, it may be considered that the user equipment 200 does not switch to the Wi-Fi network for a short time, and thus the second back-off timing may be set. The duration setting logic of the second back-off timing may be similar to the duration of the first back-off timing, and the application is not limited herein.
For example, when the triggering event is switching the main card, it may be considered that the user equipment 200 does not switch back to the main card (i.e. the first cellular network) in a short time, and therefore, the third back-off timing may be set, and the duration setting logic of the third back-off timing may be similar to the duration of the first back-off timing or the duration of the second back-off timing, which is not limited herein.
For example, when the secondary card is switched from the primary card to the secondary card, the remaining traffic of the secondary card may be detected, if the remaining traffic of the secondary card is lower than a threshold, it may be determined that the user equipment 200 may be switched back to the primary card (i.e., the first cellular network) in a short time, and the third back-off timing may be set to a shorter time duration, for example, 1 minute, 2 minutes, 3 minutes, 5 minutes, and the like, which is not limited herein.
For example, when the triggering event is the smart dual card switching to the secondary card, since the smart dual card is switched frequently, it may be considered that the user equipment 200 has a situation of switching the cellular mobile communication network in a short time, and therefore, the fourth back-off timing duration may be set, and the fourth back-off timing duration is set to be short, for example, 1 minute, 2 minutes, 3 minutes, 5 minutes, and the like, which is not limited herein.
For example, when the triggering event is the smart dual card switching to the master card, since the smart dual card is frequently switched, it may be considered that there is a possibility of switching in a short time in the cellular mobile network of the user equipment 200, and therefore, the fifth back-off timing duration may be set, and 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 herein.
S500: deactivating the internet PDN.
It is to be appreciated that deactivating the internet PDN operation is performed after setting the back-off timer according to the type of triggering event.
Referring to fig. 11, fig. 11 is an interaction diagram of a ue and a core network according to an embodiment of the present application.
Referring to fig. 11, deactivating the internet PDN includes:
s510: and sending a PDN connection removal request.
It is understood that the ue 200 sends a PDN disconnection REQUEST (PDN DISCONNECT REQUEST) to the core network 300 to REQUEST to connect to a PDN, and all global Paging System (EPS) bearer contexts established with the PDN, including the default EPS bearer context, are released.
S520: requesting deactivation of the EPS bearer context.
It is understood that the core network 300 sends a REQUEST to deactivate the EPS BEARER CONTEXT to the user equipment 200 (DEACTIVATE EPS BEARER CONTEXT REQUEST) to indicate that the core network 300 side accepts the PDN reconnection REQUEST sent by the user equipment 200 and performs the deactivation operation.
S530: accepting to deactivate an EPS bearer context.
It may be understood that the user equipment 200 sends an ACCEPT to deactivate EPS BEARER CONTEXT (DEACTIVATE EPS BEARER CONTEXT ACCEPT) to the core network 300 to release all EPS BEARER CONTEXTs between this PDN. After the ue 200 sends the context accepting deactivation of the EPS bearer to the core network 300, the ue 200 successfully performs the cancellation on the core network 300 side, and even if the server sends the message to the core network 300 side again, the core network 300 does not send the message to the ue 200.
S600: a back-off timer is started.
It is to be understood that, after the deactivation of the internet PDN operation is completed, the user equipment 200 starts a Backoff Timer (Backoff Timer), and sets a duration of the Backoff Timer according to the set Backoff-timing duration.
It can be understood that starting the back-off timer after the internet PDN connection is deactivated can improve the accuracy of timing, and avoid reactivating the internet PDN connection after the failure of deactivating the internet PDN connection.
It is understood that, in some embodiments, the execution sequence between step S600 and step S500 is not limited. It can be appreciated that setting the start back-off timer to be performed in parallel with or in advance of sending the PDN reconnection request can improve the operational efficiency of the communication management method.
It is understood that after the back-off timer is started, the application processor 230 continuously detects the state of the user equipment 200, and if it detects that the triggering event is over, such as the data switch is turned on, the Wi-Fi is switched back to the cellular mobile network, the secondary card is switched back to the primary card in the dual-card mode, or the primary card is switched back to the secondary card, and the back-off timer is not timed out, the timing function of the back-off timer is terminated, and step S700 is executed to reactivate the internet PDN. It can be appreciated that the reactivation of the internet PDN after detection of the end of the triggering event can increase the speed at which the user equipment 200 reconnects to the original cellular mobile communication network, avoiding a situation in which the user equipment 200 cannot connect to the internet quickly after switching back to the original cellular mobile communication network.
It is understood that, in some embodiments, the backoff timer may not be set, and the application processor 230 continuously monitors whether the triggering event is ended after the internet PDN deactivation procedure is ended, and executes step S700 to reactivate the internet PDN after the triggering event is monitored to be ended. It can be understood that canceling the back-off timer and continuously monitoring whether the trigger event is over can further reduce the number of times the original cellular mobile communication network of the user equipment 200 is woken up, and reduce the power consumption of the user equipment 200.
S700: and reactivating the Internet PDN.
It is to be understood that the internet PDN is reactivated after the back-off timer expires to reestablish the connection between the user equipment 200 and the core network 300.
It can be understood that the user equipment 200 sets the duration of the back-off timer according to different trigger events, and reactivates the internet PDN after the back-off timer expires, so as to improve the connection speed after the user restarts the application.
For example, referring to fig. 1, after the first application 210 in the ue 200 establishes a UDP or TCP connection with the first application server 401 through the first cellular network access point 301, the ue 200 switches from the first cellular mobile communication network to the Wi-Fi network, and at this time, if the first application server 401 sends a data packet to the first application 210, the data packet is still sent to the first cellular mobile communication network. After detecting that the trigger event is the switch from the first cellular mobile communication network to the Wi-Fi network, the user equipment 200 sets the duration of the back-off timer as a second back-off timing duration according to the type of the trigger event. The user 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 the user equipment 200 to the first cellular mobile communication network.
It can be understood that, since the user equipment 200 still maintains the internet PDN after disconnecting from the first cellular mobile communication network, displaying that the user equipment 200 is still online on the core network 300 side may cause the first application server 401 to pull up the first cellular mobile communication network when issuing the data packet, which affects data transceiving and power consumption of the user equipment 200. By using the communication method provided by the embodiment of the application, the PDN connection can be deactivated, and the SIM card corresponding to the first cellular mobile communication network is prevented from being frequently awakened. Meanwhile, in order to improve the connection speed after the ue 200 reconnects to the first cellular mobile communication network, the communication method provided in this embodiment further provides a back-off timer, so as to set different back-off timing durations according to different trigger event types. After the back-off timer expires, the user equipment 200 is reconnected back to the first cellular mobile communication network, so that the user equipment 200 can quickly enable the first cellular mobile communication network.
It can be understood that the back-off timing duration can also be adjusted according to the usage habit of the user and other data of the chip.
For example, if the user equipment 200 detects that the trigger event is switched from the first cellular mobile communication network to the Wi-Fi network, and the current storage tag of the Wi-Fi network is a company or a home, it may be considered that the user equipment 200 is not switched back to the first cellular mobile communication network for a longer time, and therefore, the duration of the first back-off timer may be set to a longer time, for example, 30 minutes or longer, so as to reduce the trigger frequency of the communication management method, and thus reduce the power consumption of the user equipment 200.
For example, if the ue 200 detects that the trigger event is switched from the first cellular mobile communication network to the Wi-Fi network, and the GPS or beidou positioning chip detects that the ue 200 is in a moving state (i.e. the ue 200 does not turn off the Wi-Fi switch and accesses the Wi-Fi network that was accessed during moving), it may be determined that the ue 200 may switch back to the first cellular mobile network in a short time, and at this time, the second back-off timing duration may be set to a shorter time, or the internet PDN operation is not deactivated, so as to increase the speed of reconnecting the user back to the first cellular mobile communication network, and improve the user experience.
For example, if the user equipment 200 detects that the data switch is turned off by a trigger event, information such as the current signal strength, the current data traffic remaining in the SIM card package, and whether the flight mode is turned on may be further detected. For example, when it is detected that the current signal strength of the ue 200 is poor and the flight mode is turned off rapidly after being turned on, it may be considered that the ue 200 is restarting the network, and the ue 200 will re-establish the connection after going to connect to the first cellular mobile communication network, so the back-off timing duration does not need to be set.
For example, if the user equipment 200 detects a trigger event smart dual-card switching, the remaining flow rates of the packages of the primary SIM card 250 and the secondary SIM card 270 may be further obtained, and if the remaining flow rates of the packages of the current SIM card are low in the smart dual-card switching process, it may be considered that the user equipment 200 will switch back to the original SIM card within a short time. Therefore, the back-off timing duration can be set to a shorter time to improve the response speed of the user equipment 200 in switching back to the original SIM card.
S800: and ending the flow.
It can be understood that, when detecting that the triggering event of the user equipment 200 does not need to intervene to deactivate the PDN connection, the communication management method provided in the embodiment of the present application ends the monitoring procedure until detecting the triggering event again to determine whether intervention is needed again.
For example, after the application is converted into the background application, the server typically sends a message to the background application at 5 seconds, 1 minute, 5 minutes, and 10 minutes. When receiving each message, the user equipment 200 side needs to re-establish an RRC connection, and 11 seconds are required for re-establishing the RRC connection and completing the message reception each time. Taking the working voltage of the user equipment 200 as V and the working current as I as an example, the electricity consumption of 44S V I is consumed in receiving the four messages. I.e., a background application will generate 44S V I power usage. By using the communication management method provided by the embodiment of the application, the time of 12 seconds is required for carrying out the operations of SIM card deactivation and reactivation after timing is finished, and only 12S V I power consumption is required to be consumed, so that compared with the case that one application exists in the background of the user equipment 200, 32S V I power consumption is totally saved. It can be understood that, for some background applications with more frequent interactions, the frequency of sending messages by the server may be more frequent, and the communication management method provided by the embodiment of the present application may save more power consumption. It can be understood that, when the user equipment 200 has a plurality of background applications, more power consumption can be saved by using the communication management method provided in the embodiment of the present application, so as to reduce the power consumption of the user equipment 200.
Please refer to fig. 5, which is a sub-flowchart of step S300 in fig. 4. As shown in fig. 5, the method for determining the type of the trigger event includes:
s310: whether it is a closed data switch.
It is understood that if the type of the triggering event is that the ue 200 turns off the data switch, step S410 is performed, that is, the first Backoff (Backoff) timing duration is set.
If the type of the trigger event is not the off data switch, step S320 is executed to continuously determine the type of the trigger event.
It is to be understood that the trigger event off data switch detection may be applicable to the user equipment 200 in fig. 2 and the user equipment 201 in fig. 3.
S320: whether it is a switch to Wi-Fi.
It is understood that if the type of the trigger event is switching to Wi-Fi, step S420 is executed, i.e. the second back-off timing duration is set.
If the type of the trigger event is not to switch to Wi-Fi, step S330 is executed, i.e., the type of the trigger event is continuously determined.
It is to be understood that the switching of the trigger event to Wi-Fi detection may be applicable to the user equipment 200 in fig. 2 and the user equipment 201 in fig. 3.
S330: whether it is a switch master card.
It is understood that if the type of the trigger event is to switch the master card, step S430 is performed, that is, the third back-off timing duration is set.
If the type of the trigger event is not the switch master card, step S340 is executed.
It is to be understood that the trigger event switch master card detection may be applied to the user equipment 200 in fig. 2 and the user equipment 201 in fig. 3.
S340: whether it is a smart dual card to switch to a secondary card.
It is understood that if the type of the triggering event is the smart dual card switching to the secondary card, step S440 is executed to set the fourth back-off timing duration.
If the type of the trigger event is not the smart dual card switching to the secondary card, step S350 is executed.
It is to be understood that the triggering event smart dual card switch to secondary card detection may be applicable to the user equipment 201 in fig. 3.
S350: whether it is a smart dual card to switch to the master card.
It is understood that if the type of the trigger event is the smart dual card switching to the master card, step S450 is executed to set the fifth back-off timing duration.
If the type of the trigger event is not the smart dual card switching to the master card, step S800 is executed to end the determination process.
It is understood that the triggering event smart dual card switch to master card detection may be applicable to the user equipment 201 in fig. 3.
It is understood that after the backoff timing duration setting is completed, step S500 is performed, that is, the internet PDN deactivation operation is completed.
It is understood that, referring to fig. 4 again, in step S200, the SIM card registers the IMS PDN connection after activating the PDN default bearer. Therefore, if there is no IMS PDN connection currently, it may be considered that the SIM card has no unbroken PDN connection, and the SIM card corresponding to the first cellular mobile communication network is not woken up by the packet.
It is understood that the user equipment 200 sends an attach request and establishes an IMS bearer when accessing the core network 300. Therefore, if the ue 200 supports VoLTE, two PDN connections are established after accessing the core network 300. One is an Internet (Internet) PDN connection, which has a qci (qos Class identifier) of usually 9 for sending and receiving data packets. The other is an IMS PDN connection, where the QCI of the IMS PDN connection is usually 5 to transmit IMS signaling (e.g. control plane signaling for voice call), and when a voice call is performed, a dedicated PDN connection with QCI of 1 is re-established to implement voice packet transmission.
In the embodiment of the application, the detection efficiency of the communication management method can be improved and invalid operation can be reduced by detecting the IMS PDN connection.
Fig. 6 is a flowchart illustrating a communication management method according to an embodiment of the present application.
S100: and judging whether a trigger event occurs.
It should be understood that, referring to fig. 4 and fig. 5 together, steps S100, S200, S310-S350, S410-S450, and S500-S800 in the communication management method shown in fig. 6 are the same as steps S100, S200, S500-S800 in fig. 4 and steps S310-S350 and S410-S450 in fig. 5, and are not repeated herein.
Specifically, referring to fig. 7, the step of activating the default bearer flow of the ue includes:
s011: an attach request is sent.
It is understood that the user equipment 200 sends an ATTACH REQUEST (ATTACH REQUEST) to the core network 300. The attach procedure is a network registration procedure of the ue 200, and after the attach is completed, the core network 300 accepts the default bearer establishment of the ue 200. In the embodiment of the present application, a PDN connection REQUEST (PDN CONNECTIVITY REQUEST) is included in the attach REQUEST.
S012: an attach accept is sent.
It is to be understood that after the core network 300 receives the attach REQUEST from the user equipment 200, the core network 300 sends an attach accept to the user equipment 200 (ATTACH ACCEPT) and carries the REQUEST to ACTIVATE a DEFAULT EPS BEARER CONTEXT (active DEFAULT EPS BEARER CONTEXT REQUEST) in the attach accept as a reply to the PDN connection REQUEST within the attach REQUEST. It is understood that the core network 300 may issue the attach accept alone without carrying the request to activate the default EPS bearer context after receiving the attach request from the ue 200.
S013: requesting activation of a default EPS bearer context.
It is to be understood that, after the core network 300 issues the attach accept separately, the core network 300 may also send a request to activate the default EPS bearer context to the ue 200 separately.
S014: the attachment is sent to be completed.
It is understood that the ue 200 sends an ATTACH COMPLETE (ATTACH COMPLETE) to the core network 300 after receiving the ATTACH request and requesting activation of the DEFAULT EPS BEARER CONTEXT from the core network 300, and it is understood that the ATTACH COMPLETE carries an acknowledgement of activation of the DEFAULT EPS BEARER CONTEXT (active DEFAULT EPS BEARER CONTEXT ACCEPT).
It can be understood that after the user equipment 200 sends the attach completion to the core network 300, it indicates that the user equipment 200 has successfully completed the attach at the core network 300 side and has established the internet PDN connection, and can implement the transmission and reception of the data packet.
Specifically, referring to fig. 8, the IMS registration procedure includes:
s021: and sending a PDN connection request.
It is to be understood that, in performing IMS bearer establishment and IMS registration, the user equipment 200 sends a PDN CONNECTIVITY REQUEST (PDN CONNECTIVITY REQUEST) to the core network 300 to REQUEST establishment of an IMS PDN connection.
S022: requesting activation of a default EPS bearer context.
It is to be understood that the core network 300, after receiving the IMS PDN connection REQUEST sent by the user equipment 200, sends a REQUEST to ACTIVATE a DEFAULT EPS BEARER CONTEXT (active DEFAULT EPS BEARER CONTEXT REQUEST) to the user equipment 200. To establish an IMS PDN connection.
S023: accepting activation of a default EPS bearer context.
It is to be understood that the user equipment 200 sends an acknowledgement to the core network 300 to ACTIVATE the DEFAULT EPS BEARER CONTEXT (ACTIVATE DEFAULT EPS BEARER CONTEXT ACCEPT) after receiving a request from the core network 300 to ACTIVATE the DEFAULT EPS BEARER CONTEXT.
S024: the IMS registration is completed.
It is understood that the core network 300 and the user equipment complete registration of the IMS PDN through Session Initiation Protocol (SIP) signaling to transmit IMS signaling. When receiving the voice call signaling, a dedicated PDN connection is reestablished to realize voice message transmission.
It is to be understood that the user equipment 200 will establish an internet PDN connection and an IMS PDN connection after accessing the core network 300. The communication management method provided by the application can determine whether PDN connection deactivation operation needs to be executed by detecting whether IMS PDN connection exists. And if the IMS PDN connection exists, the deactivation operation is required to be executed, and if the IMS PDN connection does not exist, the deactivation operation is not required to be executed. The networking situation of the user equipment 200 can be confirmed by detecting the IMS PDN connection, avoiding sending a connection detach request to a PDN connection that has failed.
Fig. 9 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Referring to fig. 9, the communication management method includes:
s024: the IMS registration is successful.
It is understood that referring to fig. 8 together, after completing IMS registration, the baseband processor 240 sends IMS registration completion to the application processor 230 to inform the application processor 230 that the first cellular mobile communication network is available. It is understood that the flow of IMS registration is the same as steps S021-S024 in fig. 8, and is not described herein.
S300: and acquiring the type of the trigger event.
It is to be understood that referring to fig. 4 together, the application processor 230 monitors whether there is a trigger event after the user equipment 200 is connected to the first cellular mobile communication network, and detects the type of the trigger event. It is understood that the method for determining the type of the trigger event is the same as the determination logic and execution method in steps S310-S350 in fig. 5, and will not be described herein again.
S400: and setting a back-off timer according to the type of the trigger event.
It is understood that, referring to fig. 5 together, after acquiring the type of the trigger event, the application 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 back-off timer according to the trigger event type is the same as the determination logic and the execution method in steps S410-S450 in fig. 5, and is not described herein again.
S500: deactivating the internet PDN.
It is to be understood that, referring to fig. 5 together, the application processor 230 sends the deactivation internet PDN signaling to the baseband processor 240, and the baseband processor 240 initiates a request to connect to the internet PDN to the core network 300. It can be understood that the method for connecting to the internet PDN is the same as the method for performing steps S510-S530 in fig. 11, and is not described herein again.
S600: a back-off timer is started.
It is to be appreciated that referring also to fig. 4, the application processor 230 starts the back-off timer after sending the deactivate internet PDN signaling. It is understood that the duration of the back-off timer is set according to step S400.
S610: the back-off timer times out.
It is understood that the application processor 230 monitors the state of the backoff timer after starting the backoff timer and determines whether the backoff timer has timed out. If the back-off timer times out, step S700 is executed.
S700: and activating the Internet PDN.
It is to be understood that the application processor 230 sends the activate internet PDN signaling to the baseband processor 240 after whether the backoff timer has expired, so as to control the baseband processor 240 to perform the activate internet PDN operation.
Fig. 10 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Referring to fig. 10, the communication management method includes:
s024: the IMS registration is successful.
It is to be understood that referring to fig. 8 and fig. 9, the baseband processor 240 sends an IMS registration success signaling to the application processor 230 after the IMS registration is completed. It is understood that the flow of IMS registration is the same as steps S021-S024 in fig. 8, and is not described herein.
S301: and acquiring the type of the trigger event.
It is understood that the baseband processor 240 obtains the trigger event type. Referring to fig. 4, the baseband processor 240 monitors whether there is a trigger event after the ue 200 is connected to the first cellular mobile communication network, and detects the type of the trigger event.
S401: and setting a back-off timer according to the type of the trigger event.
It will be appreciated that the baseband processor 240 sets the back-off timer according to the type of triggering event. Referring to fig. 9, it is understood that the processing logic and the determination method are the same as the determination performed by the application processor 230 except that the processing core is converted from the application processor 230 to the baseband processor 240, and the description thereof is omitted.
S501: deactivating the internet PDN completion.
It is to be understood that the baseband processor 240 sends the deactivation internet PDN completion to the application processor 230 after completing the deactivation internet PDN to inform the application processor 230 that the first cellular mobile communication network has completed the deactivation operation, so as to avoid the application processor 230 from actively pulling up the first cellular mobile communication network.
S601: a back-off timer is started.
It is to be appreciated that referring also to fig. 4, the baseband processor 240 starts the back-off timer after sending the deactivated internet PDN signaling. It is understood that the duration of the back-off timer is set according to step S400.
S611: the back-off timer times out.
It is understood that the baseband processor 240 monitors the state of the back-off timer after starting the back-off timer and determines whether the back-off timer has timed out. If the back-off timer times out, step S701 is executed.
S701: and activating the Internet PDN to complete.
It is to be understood that the baseband processor 240 performs the operation of activating the internet PDN after whether the backoff timer has expired, and sends the completion of activating the internet PDN to the application processor 230 after the completion of the activation of the internet PDN, so as to inform the application processor 230 that the first cellular mobile communication network is available.
It is understood that, except that the processing core is converted from the application processor 230 to the baseband processor 240, the remaining processing logic and determination method are the same as that of the application processor 230, and are not described herein again.
Fig. 12 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Referring to fig. 12, the communication management method includes:
s301: the data switch is closed.
It will be appreciated that the application processor 230 is operable to detect whether the data switch of the user device 200 is in an on state or an off state. And if the data switch is in the closed state, executing the communication management method.
S501: the data traffic is deactivated.
It will be appreciated that the application processor 230 initiates deactivation of Data traffic (Data Call) to deactivate Data traffic of the first cellular mobile communications network.
S511: and deactivating the data service flow.
It will be appreciated that the application processor 230 sends a deactivation data traffic flow to the baseband processor 240 to control the baseband processor 240 to perform a deactivation data traffic operation.
S521: and closing the network card and cleaning resources.
It will be appreciated that the baseband processor 240 performs operations to turn off the network card and clear the baseband resources to disconnect from the first cellular mobile communications network.
S531: and completing the data service flow.
It is understood that the baseband processor 240 sends the deactivation data traffic flow completion to the application processor 230, so that the application processor 230 can perform step S541.
S510: and sending a PDN connection removal request.
It can be understood that, since the baseband processor 240 is still in the connected state at this time on the core network 300 side, the baseband processor 240 is required to send a PDN reconnection request to the core network 300 side to display a down line on the core network 300 side. Referring to fig. 11, the method for sending the PDN disconnection request is the same as the method in fig. 11, and is not described herein again.
S541: and (5) clearing resources.
It is to be understood that the application processor 230 performs a cleaning resource operation to clean up the relevant threads related to the first cellular mobile communication network within the application processor 230.
Fig. 13 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Referring to fig. 13, the communication management method includes:
s302: and switching to Wi-Fi.
It is understood that the application processor 230 is configured to detect whether the user equipment 200 is in a state of switching to Wi-Fi, and execute the communication management method if the user equipment 200 is in the state of switching to Wi-Fi.
S501: the data traffic is deactivated.
It is understood that, referring to fig. 12 together, the manner of deactivating the data service by the application processor 230 is the same as that in fig. 12, and is not described herein again.
S511: and deactivating the data service flow.
It is understood that, referring to fig. 12 together, the manner of deactivating the data service flow by the application processor 230 is the same as that in fig. 12, and is not described herein again.
S521: and closing the network card and cleaning resources.
It should be understood that, referring to fig. 12, the baseband processor 240 turns off the network card, and the manner of clearing the resources is the same as that in fig. 12, and is not described herein again.
S531: and deactivating the data service flow.
It is understood that, referring to fig. 12 together, the manner of completing the deactivation of the data service flow by the baseband processor 240 is the same as that in fig. 12, and is not described herein again.
S510: and sending a PDN connection removal request.
It is to be understood that, referring to fig. 12 together, the baseband processor 240 sends the PDN disconnection request in the same manner as in fig. 12, and the description thereof is omitted here.
S541: and (5) clearing resources.
It is understood that, referring to fig. 12, the manner of clearing resources by the application processor 230 is the same as that in fig. 12, and is not described herein again.
S551: and switching to Wi-Fi.
It will be appreciated that application processor 230 sends a switch to Wi-Fi module 260 to activate the Wi-Fi network of user device 200.
Fig. 14 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Referring to fig. 14, the communication management method includes:
s502: the primary SIM card deactivates the data traffic flow.
It will be appreciated that the application processor 230 is operable to monitor whether to switch the cellular mobile communications network from the primary SIM card 250 to the secondary SIM card 270.
S511: the data traffic is deactivated.
It is understood that, referring to fig. 12 and fig. 13 together, the manner of deactivating the data service flow by the application processor 230 is the same as that in fig. 12 and fig. 13, and is not described herein again.
S521: and closing the network card and cleaning resources.
It should be understood that, referring to fig. 12 and 13 together, the main SIM card 250 turns off the network card, and the manner of cleaning the network card is the same as the manner of cleaning the network card by the baseband processor 240 in fig. 12 and 13, and the description thereof is omitted.
S531: and completing the data service flow.
It is understood that, referring to fig. 12 and 13 together, the main SIM card 250 completes the data service flow deactivation in the same manner as the baseband processor 240 in fig. 12 and 13, and the details are not repeated herein.
S510: and sending a PDN connection removal request.
It is to be understood that, referring to fig. 12 and 13 together, the manner in which the primary SIM card 250 sends the PDN connection to the core network 300 is the same as that in fig. 12 and 13, and the description thereof is omitted here.
S541: and clearing data service resources of the main SIM card.
It can be understood that, referring to fig. 12 and 13 together, the manner of clearing the data service resources of the primary SIM card 250 by the application processor 230 is the same as the manner of completing the data service flow deactivation by the application processor 230 in fig. 12 and 13, and is not described herein again.
S701: the secondary SIM card activates data services.
It is understood that the application processor 230 starts to execute the secondary SIM card activation data service after the completion of clearing the data service resources of the primary SIM card.
S711: and activating the data service process.
It is understood that the application processor 230 sends the activation data service flow to the secondary SIM card 270, so that the secondary SIM card 270 performs step S721.
S721: and opening the network card.
It is understood that the secondary SIM card 270 performs an operation of opening a network card and accesses the cellular mobile communication network.
S731: the activation of the data service is successful.
It is understood that the secondary SIM card 270 transmits success of activating the data service to the application processor 230 after accessing the cellular mobile communication network, to inform the application processor 230 that data transceiving is possible using the network of the secondary SIM card 270.
S741: and configuring an auxiliary SIM card internet access channel.
It is understood that the application processor 230 configures the internet access channel of the secondary SIM card 270, and uses the network of the secondary SIM card 270 to perform subsequent data transceiving.
Fig. 15 is a flowchart illustrating a communication management method according to another embodiment of the present application.
Referring to fig. 15, the communication management method includes:
s503: and the secondary SIM card deactivates the data service flow.
It will be appreciated that the application processor 230 is arranged to monitor whether to switch the cellular mobile communications network from the secondary SIM card 270 to the primary SIM card 250.
S511: the data traffic is deactivated.
It is to be understood that, referring to fig. 12, 13 and 14 together, the manner of deactivating the data service flow by the application processor 230 is the same as that in fig. 12, 13 and 14, and is not repeated herein.
S521: and closing the network card and cleaning resources.
It should be understood that, referring to fig. 12 and 13 together, the secondary SIM card 270 closes the network card, and the manner of cleaning the resources is the same as the manner of cleaning the network card by the baseband processor 240 in fig. 12 and 13, and is not described herein again.
S531: and completing the data service flow.
It should be understood that, referring to fig. 12, 13 and 14 together, the manner of deactivating the data service flow by the secondary SIM card 270 is the same as the manner of deactivating the baseband processor 240 in fig. 12, 13 and 14, and is not described herein again.
S510: and sending a PDN connection removal request.
It is to be understood that, referring to fig. 12, 13 and 14 together, the manner in which the secondary SIM card 270 sends the PDN connection request to the core network 300 is the same as that in fig. 12, 13 and 14, and the description thereof is omitted here.
S542: and clearing the data service resources of the secondary SIM card.
It should be understood that, referring to fig. 12, 13 and 14 together, the manner of clearing the data service resources of the secondary SIM card 270 by the application processor 230 is the same as the manner of completing the data service flow deactivation by the application processor 230 in fig. 12, 13 and 14, and is not described herein again.
S711: and activating the data service process.
It is understood that, referring to fig. 14 together, the manner of activating the data service of the primary SIM card 250 by the application processor 230 is the same as the manner of activating the data service of the secondary SIM card 270 by the application processor 230 in fig. 14, and the detailed description thereof is omitted here.
S721: and opening the network card.
It should be understood that, referring to fig. 14, the manner of opening the network card by the primary SIM card 250 is the same as the manner of opening the network card by the secondary SIM card 270 in fig. 14, and the description thereof is omitted.
S731: the activation of the data service is successful.
It can be understood that, referring to fig. 14, the manner in which the primary SIM card 250 successfully sends the activation data service is the same as the manner in which the secondary SIM card 270 successfully sends the activation data service in fig. 14, and is not described herein again.
S742: and configuring a main SIM card internet access channel.
It should be understood that, referring to fig. 14, the way of the network access of the primary SIM card 250 is the same as the way of the network access of the secondary SIM card 270 configured by the application processor 230 in fig. 14, and the description thereof is omitted.
For example, in another embodiment of the present application, after acquiring the trigger event, the application processor 230 may acquire all TCP long connections of the user equipment 200, and send a TCP RST instruction to each connection one by one to disconnect the long connection of the user equipment 200 from each TCP connection. It will be appreciated that the disconnection of the long connection between the user equipment 200 and the TCP connection may cause the user equipment 200 to be taken off-line at the server side, i.e. the server does not send data packets to the user equipment 200 via the first cellular mobile communications network. Therefore, the SIM card corresponding to the first cellular mobile communication network of the user equipment 200 is not frequently woken up.
The embodiment of the present application further provides a storage medium for storing a computer program, and when the computer program runs on the user equipment 200 or the user equipment 201, the user equipment 200 or the user equipment 201 is enabled to execute the communication management method according to the embodiment of the present application.
The storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Storage media includes, but is not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), 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 Disc storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
Fig. 16 is a schematic diagram illustrating a hardware structure of the electronic device 100 according to an embodiment of the present application. The electronic device 100 comprises the user device 200 or the user device 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, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) device, a Virtual Reality (VR) device, an Artificial Intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, and/or a city device, and some embodiments of the present application do not particularly limit the specific type of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, an auto-exposure module 195, and a Subscriber Identity Module (SIM) card interface 195, and the like. 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, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to receive phone calls through the bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, audio module 170 and wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. 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 generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the method can also be used for connecting a headset and playing audio through the headset. The interface may also be used to connect other electronic devices 100, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video 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 provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to 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 be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
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 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The internal memory 121 may include one or more Random Access Memories (RAMs) and one or more non-volatile memories (NVMs).
The 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 (DDR SDRAM), such as fifth generation DDR SDRAM generally referred to as DDR5SDRAM, and the like;
the nonvolatile memory may include a magnetic disk storage device, a flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3DNAND FLASH, etc. according to the operation principle, may include single-level cells (SLC), multi-level cells (MLC), three-level cells (TLC), four-level cells (QLC), etc. according to the level order of the memory cells, and may include universal FLASH memory (UFS), embedded multimedia memory cards (eMMC), etc. according to the storage specification.
The random access memory may be read directly by the processor 110, may be used to store executable programs (e.g., machine instructions) for an operating system or other programs that are running, may be used to store data for users and applications, and so on.
The nonvolatile memory may also store executable programs, data of users and applications, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect an external nonvolatile memory to extend the storage capability of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are saved in an external nonvolatile memory.
The internal memory 121 or the external memory interface 120 is used to store one or more computer programs. One or more computer programs are configured to be executed by the processor 110. The one or more computer programs include a plurality of instructions that, when executed by the processor 110, may implement the communication management method performed on the electronic device 100 in the above-described embodiments to implement the communication management function of the electronic device 100.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near 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 to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be an open mobile electronic device 100 platform (OMTP) standard interface of 3.5mm, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
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 (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may 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 phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for identifying the posture of the electronic equipment 100, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. 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 are no objects near the electronic device 100. The electronic device 100 can utilize the proximity sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to save power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "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, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the electronic device 100 at a different position than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human voice vibrating a bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so that the heart rate detection function is realized.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects in response to touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the communication management method in the above embodiments.
In addition, some embodiments of the present application also provide an apparatus, which may be embodied as a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the communication management method in the above-mentioned method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the module or unit is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of some embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of some embodiments of the present application and not for limiting, and although some embodiments of the present application are described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of some embodiments of the present application without departing from the spirit and scope of the technical solutions of some embodiments of the present application.

Claims (14)

1. A communication management method is applied to user equipment, and the user equipment is in communication connection with a core network, and is characterized in that the communication management method comprises the following steps:
detecting the state of an internet protocol multimedia subsystem in response to a triggering event, wherein the triggering event refers to switching of the network connection of the user equipment from a first cellular mobile communication network to other networks;
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.
2. The communication management method according to claim 1, wherein the communication management method further comprises:
acquiring the type of the trigger event;
and setting the duration of the back-off timer according to the type of the trigger event.
3. The communication management method according to claim 2, wherein the type of the triggering event comprises one of:
the data switch is closed, the Wi-Fi mode is switched, the main card is switched to the auxiliary card in the smart dual card mode, and the auxiliary card is switched to the main card in the smart dual card mode.
4. The communication management method according to claim 2, wherein the communication management method further comprises:
in response to the trigger event terminating, turning off the back-off timer;
and reactivating the connection of the Internet public data network.
5. The communication management method of claim 1, wherein the reactivating the internet public data network connection comprises:
sending an internet public data network connection request and a context bearing request for activating a default global bidirectional network paging system to the core network;
receiving a request from the core network to accept activation of a default global bidirectional network paging system bearer context.
6. The communication management method according to claim 5, wherein the communication management method further comprises:
sending an attach request to the core network;
the attach request includes the internet public data network connection request and the activate default global bidirectional network paging system bearer context request.
7. The communication management method of claim 5, wherein the reactivating the internet public data network connection is based on session initiation protocol signaling.
8. The communication management method of claim 1, wherein said deactivating an internet public data network connection comprises:
sending an internet public data network connection removal request to a core network;
receiving a request from the core network to deactivate a global bidirectional network paging system bearer context;
and sending the bearer context for receiving and deactivating the global bidirectional network paging system to the core network.
9. The communication management method of claim 3, wherein said deactivating an internet public data network connection further comprises:
sending a deactivation data service;
closing the network card and cleaning resources;
and successfully sending the deactivation data service.
10. The communication management method according to claim 3, wherein the reactivating the internet public data network connection further comprises:
sending an activation data service;
opening a network card;
the sending of the activation data service is successful.
11. A user equipment communicatively coupled to a core network, comprising:
an application processor, configured to detect a state of an internet protocol multimedia subsystem in response to a trigger event, where the trigger event is a handover of a network connection of the ue from a first cellular mobile communication network to another network; after the connection of the Internet public data network is deactivated, starting a back-off timer;
the baseband processor is used for responding to the activation state of the internet protocol multimedia subsystem IMS detected by the application processor and deactivating the connection of the internet public data network; and after the back-off timer is overtime, the connection of the Internet public data network is reactivated.
12. A user equipment communicatively coupled to a core network, comprising:
the baseband processor is used for responding to a trigger event and detecting the state of the internet protocol multimedia subsystem, wherein if the internet protocol multimedia subsystem is in an activated state, the baseband processor is used for deactivating the connection of the internet public data network, and the trigger event refers to the switching of the network connection of the user equipment from the first cellular mobile communication network to other networks; the baseband processor is further configured to set a back-off timer, and start the back-off timer after the internet public data network connection is deactivated; and after the back-off timer is overtime, the connection of the Internet public data network is reactivated;
and the application processor is used for receiving the deactivated public data network connection generated by the baseband processor.
13. A communication management system, comprising:
the user equipment of claim 11;
alternatively, the user equipment of claim 12.
14. A computer-readable storage medium, for storing a computer program which, when executed by a processor on a user equipment, causes the user equipment to perform the communication management method of any of claims 1 to 10.
CN202110833243.3A 2021-07-22 2021-07-22 Communication management method, user equipment, system and storage medium Active CN113596942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110833243.3A CN113596942B (en) 2021-07-22 2021-07-22 Communication management method, user equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110833243.3A CN113596942B (en) 2021-07-22 2021-07-22 Communication management method, user equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN113596942A CN113596942A (en) 2021-11-02
CN113596942B true CN113596942B (en) 2022-08-12

Family

ID=78249313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110833243.3A Active CN113596942B (en) 2021-07-22 2021-07-22 Communication management method, user equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN113596942B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357207B (en) * 2022-10-18 2023-02-03 南京芯驰半导体科技有限公司 Screen projection system and method based on heterogeneous SoC
CN115767602B (en) * 2022-11-01 2023-07-07 荣耀终端有限公司 Automatic error correction method for equipment protocol subsystem abnormality and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108702593A (en) * 2016-11-09 2018-10-23 联发科技股份有限公司 Enhance multimedia call control in next generation mobile communication system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299697B (en) * 2007-04-30 2012-09-05 华为技术有限公司 Method and apparatus for logoff of wireless IP access network association address
CN101365230B (en) * 2007-08-07 2010-08-11 华为技术有限公司 Customer separating method, system and apparatus when heterogeneous network switching/changing
CN103929787A (en) * 2013-01-11 2014-07-16 电信科学技术研究院 Method, device and system for switching of heterogeneous networks
US9509519B2 (en) * 2013-09-09 2016-11-29 At&T Intellectual Property I, L.P. Method and system for managing user location information in a communication system
US9820328B2 (en) * 2014-06-24 2017-11-14 Intel Corporation Apparatuses, methods, and systems to reduce handover latency in an integrated wireless local area network and cellular network
EP3007488A1 (en) * 2014-10-08 2016-04-13 Alcatel Lucent Handling of pdn connections for a user equipment in a mobile network at network initiated reselection of a serving core network entity
CN108432336B (en) * 2015-12-28 2020-11-17 华为技术有限公司 PDN connection release method and device and user equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108702593A (en) * 2016-11-09 2018-10-23 联发科技股份有限公司 Enhance multimedia call control in next generation mobile communication system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN110191442B (en) Bluetooth connection method, equipment and system
WO2021139767A1 (en) Screen-on control method and electronic device
CN111369988A (en) Voice awakening method and electronic equipment
CN112533269B (en) Data receiving and sending method, electronic equipment and computer readable storage medium
WO2021052410A1 (en) Application management method and apparatus
WO2021043045A1 (en) Method and device for configuring network configuration information
WO2021043046A1 (en) Resource management and control method and device
CN114710768B (en) Bluetooth connection method and related device
WO2021185141A1 (en) Wi-fi aware link establishment method and system, electronic device, and storage medium
WO2021017909A1 (en) Method, electronic device and system for realizing functions through nfc tag
WO2021043198A1 (en) Bluetooth pairing method, and related device
WO2021104104A1 (en) Energy-efficient display processing method, and apparatus
CN113596942B (en) Communication management method, user equipment, system and storage medium
WO2022089000A1 (en) File system check method, electronic device, and computer readable storage medium
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN113126948A (en) Audio playing method and related equipment
WO2022170854A1 (en) Video call method and related device
CN113676339B (en) Multicast method, device, terminal equipment and computer readable storage medium
CN114116610A (en) Method, device, electronic equipment and medium for acquiring storage information
WO2024012443A1 (en) Method and system for controlling power consumption of device, and electronic device
CN116667875B (en) Switching method and device of internet access and terminal equipment
WO2023226645A1 (en) Communication method, communication system, and electronic device
WO2024055881A1 (en) Clock synchronization method, electronic device, system, and storage medium
WO2023169278A1 (en) Data transmission method and apparatus, and electronic device
WO2023160524A1 (en) Distance measurement method, apparatus, system, and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant