Packet data network (PDN) connection control method and apparatus, electronic device, and medium
By accumulating and monitoring the number of paging messages of data service type after the data network of the user equipment is turned off, and disconnecting the PDN connection when the threshold is reached, the problem of increased power consumption of the user equipment after the data network is disconnected is solved, and power saving and device sleeping are achieved.
Patent Information
- Application Number
- PCT/CN2024/137234
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-11
- Filing Date
- 2024-12-05
- Publication Date
- 2025-06-19
AI Technical Summary
When the data network of the user equipment is turned off, the data connection between the application processor and the modem of the user equipment is disconnected, but the PDN connection of the user equipment is still retained, causing the network equipment to continuously send paging messages to the user equipment, and the user equipment cannot enter the sleep state, increasing power consumption.
After the data network of the user equipment is closed, if frequent paging messages of data service type are received, the number of them is accumulated. When the number reaches or exceeds a certain threshold, the PDN connection to providing data service is disconnected, thereby avoiding continuous monitoring and receiving paging messages.
By disconnecting the PDN connection, the user equipment can avoid continuing to listen and receive paging messages after the data network is disconnected, thereby being able to enter a dormant state and saving power.
Smart Images

Figure CN2024137234_19062025_PF_FP_ABST
Abstract
Description
Packet data network (PDN) connection control method, device, electronic device, and medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on December 11, 2023, with application number: 202311700421.0, and named "Packet Data Network PDN Connection Control Method, Device, Electronic Device and Medium", the entire content of which is incorporated by reference into this application. Technical Field
[0003] The present application belongs to the field of communication technology, and specifically relates to a PDN connection control method, device, electronic device and medium. Background Art
[0004] Currently, when a user equipment (UE)'s data network is shut down, the data connection between the UE's application processor (AP) and modem is disconnected. However, the UE's PDN connection remains, retaining the Internet Protocol (IP) address assigned to the UE by the network device. In this case, the network device can still locate the UE via the IP address and send paging messages to the UE. However, because the data connection between the UE's AP and modem is disconnected, the UE cannot process received paging messages via the modem and, as a result, does not send acknowledgments of the paging messages to the network device. Consequently, the network device continues to send paging messages to the UE. Because the UE needs to monitor or receive paging messages from the network device, the UE cannot enter a sleep state, increasing the UE's power consumption. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a PDN connection control method, device, electronic device and medium, which can save UE power.
[0006] In the first aspect, an embodiment of the present application provides a PDN connection control method, which includes: when the data network of the user equipment UE is turned off, if a first paging message is received, the first value is increased by 1, and the first paging message is a paging message of the data service type, and the time interval between the receiving time of the first paging message and the receiving time of the previous data service type paging message is less than a preset duration, and the above-mentioned first value is the number of paging messages of the data service type; when the above-mentioned first value is greater than or equal to a first threshold, the first PDN connection is disconnected, and the first PDN connection is the connection between the UE and the PDN providing data services.
[0007] In the second aspect, an embodiment of the present application provides a PDN connection control device, which includes: an execution module; the execution module 301 is used to: when the data network of the UE is turned off, if a first paging message is received, the first value is increased by 1, and the first paging message is a paging message of the data service type, and the time interval between the reception time of the first paging message and the reception time of the previous data service type paging message is less than a preset duration, and the above-mentioned first value is the number of paging messages of the data service type; when the above-mentioned first value is greater than or equal to the first threshold, the first PDN connection is disconnected, and the first PDN connection is the connection between the UE and the PDN providing data services.
[0008] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.
[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.
[0012] In a seventh aspect, an embodiment of the present application provides an electronic device, which is configured to execute the method described in the first aspect.
[0013] In an embodiment of the present application, after the data network of the UE is turned off, if the UE receives a paging message sent by the network device, and the time interval between the reception time of the paging message and the reception time of the previous paging message of the paging message is less than a preset time length, the number of paging messages of the data service type (i.e., the first value) is increased by 1, and when the number of paging messages is greater than or equal to the first threshold, the UE disconnects from the PDN providing the data service. Through this method, when the data network of the UE is turned off, the UE can accumulate the number of paging messages of the data service type, and disconnect the PDN connection of the data service when the accumulated number is greater than or equal to the first threshold, so that after the data network of the UE is disconnected, the PDN connection of the data service can be disconnected when the UE frequently receives a large number of paging messages of the data service type, thereby avoiding the UE from continuing to monitor and receive paging messages after the data network is disconnected, so that the UE can enter a dormant state, thereby saving the power of the UE. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] FIG1 is a flowchart of a PDN connection control method according to an embodiment of the present application;
[0015] FIG2 is a second flowchart of the PDN connection control method provided in an embodiment of the present application;
[0016] FIG3 is a schematic structural diagram of a PDN connection control device provided in an embodiment of the present application;
[0017] FIG4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0018] FIG5 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application. Specific embodiments
[0019] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0020] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0021] The terms "at least one" and "at least one of" in the specification and claims of this application refer to any one, any two, or a combination of more than two of the objects included. For example, at least one of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c", and "a, b, and c", where a, b, and c can be single or multiple. Similarly, "at least two" means two or more, and its meaning is similar to "at least one".
[0022] The following is an explanation of the proper nouns / terms involved in the embodiments of this application.
[0023] 1. Packet Data Network (PDN)
[0024] In the Evolved Packet System (EPS) system, PDN refers to an external data network (relative to LTE operators), such as the Internet, an enterprise private network, etc.
[0025] PDN can be divided into internal PDN and external PDN. Internal PDN is the packet data network in the EPS system, which is the network communication between EPS system entities (such as mobility management entities); while external PDN is the packet data network outside the EPS system, such as the Internet of Things (IoT) and VoLTE services.
[0026] 2. Modem
[0027] A modem is a piece of computer hardware that converts digital signals from electronic devices into analog signals. It converts data to be transmitted into radio frequency signals, converts radio frequency signals into data to be processed, handles signaling between the access stratum (AS) and non-access stratum (NAS), and interfaces with the application processor (AP).
[0028] 3. Application Processor
[0029] An application processor (AP) is a very large-scale integrated circuit (VLSI) that extends the power consumption of a low-power CPU with expanded audio and video capabilities and dedicated interfaces. The AP is responsible for processing applications on electronic devices, including multimedia, games, and web pages.
[0030] In related technologies, when the UE's data network is shut down, the data connection between the UE's AP and Modem will also be disconnected, while the PDN connection between the UE and the PDN will still be retained. In this case, the IP address assigned to the UE by the network device will still be retained, that is, the network device can still find the UE through the UE's IP address and send a paging message to the UE. After the UE monitors the physical downlink control channel (PDCCH) carrying the paging message indication at the paging moment, it receives the paging message from the corresponding physical downlink shared channel (PDSCH) to obtain the purpose of this paging. Since the data connection between the UE's AP and Modem has been disconnected after the data network is shut down, the data-related paging message received by the UE cannot be sent to the AP for processing, and thus no confirmation information for the data-related paging message will be sent to the network device, causing the network device to continue to send data-related paging messages to the UE. On the one hand, the UE needs to frequently monitor and receive paging messages, resulting in the UE being unable to enter the sleep state, thereby increasing the power consumption of the UE; on the other hand, the UE can still receive paging messages through the air interface, resulting in traffic consumption of the UE, which in turn causes abnormal traffic consumption of the EU.
[0031] In an embodiment of the present application, after the data network of the UE is turned off, when the UE receives a paging message sent by the network device and the time interval between the receiving time of the paging message and the receiving time of the previous paging message of the paging message is less than a preset time length, the UE adds 1 to the number of paging messages of the data service type, and disconnects the PND connection of the data service when the number of paging messages is greater than or equal to the first threshold. In this way, after the UE's PDN connection is disconnected, the UE can disconnect the PDN connection with the PDN providing the data service when it determines that a large number of paging messages are frequently received within a certain time period, thereby avoiding the network device from continuing to frequently send a large number of paging messages to the UE. On the one hand, it avoids the UE from frequently monitoring paging messages after the data network is disconnected, so that the UE can enter a sleep state, thereby saving the UE's power; on the other hand, it eliminates the need for the UE to frequently receive paging messages at the air interface, thereby reducing the UE's traffic consumption.
[0032] It should be noted that the above-mentioned paging message is a data-related paging message, that is, a data service type paging message.
[0033] The PDN connection control method provided in the embodiments of the present application may be executed by an electronic device or at least one of a functional module and an entity module in the electronic device that can implement the PDN connection control method. The specific execution subject may be determined based on actual usage requirements and is not limited by the embodiments of the present invention. The following example illustrates the PDN connection control method provided in the embodiments of the present application by taking the execution of the PDN connection control method by a UE as an example.
[0034] The following describes in detail the PDN connection control method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0035] FIG1 is a flow chart of a PDN connection control method provided in an embodiment of the present application. As shown in FIG1 , the PDN connection control method may include the following steps S201 and S202:
[0036] Step S201: When a data network of a user equipment UE is closed, if the UE receives a first paging message, the first value is increased by 1.
[0037] Among them, the above-mentioned first paging message is a paging message of data service type, and the time interval between the reception time of the first paging message and the reception time of the previous data service type paging message is less than the preset duration, and the above-mentioned first value is the number of paging messages of data service type.
[0038] In some embodiments of the present application, the data network refers to a network connected to a mobile device, such as a mobile phone, computer, or other portable electronic device. When the data flow function of the electronic device is turned on, the Internet access function, i.e., Internet access, can be achieved through the data network.
[0039] Exemplarily, the above-mentioned data network can be a data network of mobile communication technologies such as GPRS (General Packet Radio Service), EDGE (Enhanced Data rate for GSM Evolution), third-generation mobile communication technology, HSDPA (High Speed Downlink Packet Access), LTE (Long Term Evolution), NR (New Radio, NR) or 6G.
[0040] In some embodiments of the present application, the data service type paging message may be a data service-related paging message. For example, the data service may be an Internet access service.
[0041] For example, according to different paging purposes, paging messages can be divided into data service related paging, call related paging and short messaging service (SMS) related paging.
[0042] In some embodiments of the present application, after the UE receives a paging message sent by the network side device, it can determine the type of the paging message, and when the paging message is a paging message of a data service type, determine whether the paging message is received within a preset time length after receiving the previous paging message. If so, the number of paging messages of the data service type (i.e., the first value) is increased by 1.
[0043] In some embodiments of the present application, the above-mentioned preset time length can be 20s, 30s or 40s, etc. The preset time length can be set according to actual needs, and the embodiments of the present application are not limited to this.
[0044] In some embodiments of the present application, after the data network of the UE is shut down, the UE may accumulate the number of received paging messages that meet an accumulation condition to obtain the number of paging messages of the data service type (i.e., the first value). Exemplarily, the accumulation condition may be that the paging message is a paging message of the data service type and the interval between the reception time of the paging message and the previous paging message of the data service type is less than a preset duration.
[0045] For example, after receiving paging message 1 related to data services, the UE adds 1 to the number of paging messages received related to data services. After receiving paging message 2 related to data services within 30 seconds after receiving paging message 1, the UE adds 1 to the number of paging messages received related to data services. After receiving paging message 3 related to data services within 30 seconds after receiving paging message 2, the UE continues to add 1 to the number of paging messages received related to data services. At this time, the number of paging messages related to data services is 3.
[0046] In an embodiment of the present application, when the time interval between the reception moments of two adjacent data service-related paging messages is less than a preset time length (for example, 30s), the UE accumulates the number of data service-related paging messages, so that the number can be accumulated when the frequency of receiving data service-related paging messages is high, and the accumulated number is subsequently compared with the upper limit value of the reception number (i.e., the first threshold value), so that the PDN connection can be triggered to be disconnected when the frequency of receiving data service-related paging messages is high and the number is large, while the PDN connection is still retained when the frequency of receiving data service-related paging messages is low, thereby avoiding the disconnection of the PDN connection when the frequency of receiving data service-related paging messages is low, resulting in a certain amount of time required to re-establish the PDN connection when the data network needs to be reused later, thereby balancing the power consumption and performance of the UE.
[0047] Step S202: When the first value is greater than or equal to the first threshold, the UE disconnects the first PDN connection.
[0048] The first PDN connection may be a connection between the UE and a PDN providing data services.
[0049] In some embodiments of the present application, a UE can typically establish PDN connections with two PDNs: one is an IMS (IP Multimedia Subsystem) PDN, and the other is an Internet PDN. The IMS PDN is responsible for services related to phone calls or text messages. The Internet PDN is responsible for services related to data services such as Internet access. For example, the first PDN connection can be a PDN connection with the Internet PDN.
[0050] It should be noted that IP stands for Internet Protocol.
[0051] It should be noted that after the UE's data network is disconnected, data service-related paging cannot be processed by the AP, while call or SMS-related paging messages can still be processed by the AP. Therefore, IMS PDN-related paging needs to be excluded and not used as a trigger for PDN connection disconnection.
[0052] In some embodiments of the present application, the first threshold is an upper limit on the number of paging messages of the data service type. For example, the first threshold can be 3, 5, or 10, etc. The first threshold can be set according to actual needs and is not limited in the embodiments of the present application.
[0053] Exemplarily, in combination with the above embodiments, taking the first threshold of 5 as an example, after receiving paging message 1 related to the data service, the UE adds 1 to the number of received paging messages related to the data service. After receiving paging message 2 related to the data service within 30 seconds after receiving paging message 1, the UE adds 1 to the number of received paging messages related to the data service. After receiving paging message 3 related to the data service within 30 seconds after receiving paging message 2, the UE continues to add 1 to the number of received paging messages related to the data service. At this time, the number of paging messages related to the data service is 3. And so on. When the UE accumulates the number of paging messages related to the data service to be 5, when the number of paging messages related to the data service (i.e., the first value) is equal to 5, the UE disconnects the connection with the PDN providing the data service.
[0054] In some embodiments of the present application, when the UE receives the first paging message, it adds 1 to the first value and starts a paging observation timer, where the paging observation timer is used to count with the above preset duration as the timing period.
[0055] For example, if the UE receives a paging message of another data service type within a preset time period after receiving a paging message related to a data service, the number of paging messages of the data service type is increased by 1, and the above-mentioned paging observation timer is restarted to restart the timing with the above-mentioned preset time period as the timing period through the paging observation timer.
[0056] It should be noted that each time the UE receives a paging message, if it is a paging message related to data services, the paging observation timer will be started and the number of paging messages related to data services will be increased by 1. During the operation of the paging observation timer, if the UE receives a paging message related to data services again, the number of paging messages related to data services will continue to be increased by 1, and the paging observation timer will be restarted to start timing again. When the number of paging messages related to data services reaches the first threshold, the internet PDN will be disconnected.
[0057] The following embodiment takes the first threshold value of 4 as an example to illustrate the PDN connection control method provided in the embodiment of the present application.
[0058] Exemplarily, when the data network of the UE is closed, the number of paging messages related to the data service of the UE (i.e., the first value) is 0. After receiving the paging message 1 related to the data service, the UE adds 1 to the number of paging messages received of the data service type and starts counting from the start of the paging observation timer with a timing duration of 30s. After the UE receives the paging message 2 of the data service type during the operation of the paging observation timer (i.e., within 30s), the UE adds 1 to the number of paging messages received of the data service type and restarts the paging observation timer with a timing duration of 30s. After the UE receives the paging message 3 of the data service type during the operation of the paging observation timer, the UE adds 1 to the number of paging messages received of the data service type and restarts the paging observation timer with a timing duration of 30s. After the UE receives the paging message 4 of the data service type during the operation of the paging observation timer, the UE adds 1 to the number of paging messages received of the data service type. In this case, the UE determines that the number of paging messages of the data service type is 4, which has reached the upper limit value, and then disconnects the PDN connection related to the data service.
[0059] In this way, when the user turns off the UE's data network, each time the UE receives a paging message related to a data service, the number of received paging messages related to the data service can be increased by 1, and a paging observation timer can be started to count with a preset duration as the timing period. When the number of paging messages related to the data service reaches a first threshold, it is considered that the current spam paging standard is met, and the internet PDN is actively disconnected, so that the IP address allocated to the UE by the network side device is reclaimed, and the UE will not continue to be paged, so that the UE does not need to frequently receive useless paging messages, thereby achieving the purpose of saving power and traffic.
[0060] The PDN connection control method provided in the embodiment of the present application is that after the data network of the UE is turned off, if the UE receives a paging message sent by the network device, and the time interval between the reception time of the paging message and the reception time of the previous paging message of the paging message is less than a preset time length, the number of paging messages of the data service type (i.e., the first value) is increased by 1, and when the number of paging messages is greater than or equal to the first threshold, the UE disconnects from the PDN providing the data service. Through this method, when the data network of the UE is turned off, the UE can accumulate the number of paging messages of the data service type, and disconnect the PDN connection of the data service when the accumulated number is greater than or equal to the first threshold, so that after the data network of the UE is disconnected, the PDN connection of the data service can be disconnected when the UE frequently receives a large number of paging messages of the data service type, thereby avoiding the UE from continuing to monitor and receive paging messages after the data network is disconnected, so that the UE can enter a dormant state, thereby saving the power of the UE.
[0061] In some embodiments of the present application, when the data network of the user equipment UE is shut down in the above step S201, the PDN connection control method provided in the embodiment of the present application may include the following step S203:
[0062] Step S203: If the UE receives the second paging message, the first value is set to zero.
[0063] The second paging message is a non-data service type paging message.
[0064] Exemplarily, if the UE receives a paging message of a non-data service type within a preset duration after receiving a paging message of a service data type, the UE clears the number of paging messages of the data service type, that is, sets the first value to zero.
[0065] In some embodiments, the UE can start a paging observation timer with a preset duration as the timing period. During the operation of the paging observation timer, if the UE receives a paging message of a non-data service type (i.e., a second paging message), the UE will clear the number of paging messages of the data service type to zero.
[0066] Exemplarily, in combination with the above example, when the data network of the UE is turned off, the number of paging messages related to the data service of the UE is 0. After receiving the paging message A related to the data service, the UE adds 1 to the number of paging messages of the data service type, and starts the paging observation timer to count with a timing duration of 30s. After the UE receives the paging message B of the data service type during the operation of the paging observation timer (i.e. within 30s), the UE adds 1 to the number of paging messages of the data service type, and restarts the paging observation timer to count with a timing duration of 30s. After the UE receives the paging message C of the telephone service type (i.e. non-data service type) during the operation of the paging observation timer, the UE clears the previously accumulated number of paging messages of the data service type, that is, resets the previously accumulated 2 to 0.
[0067] Exemplarily, after the UE sets the number of paging messages of the data service type to zero, the UE may start accumulating the number of paging messages of the data service type from zero after receiving the paging message of the data service type again.
[0068] In this way, when the user turns off the UE's data network, each time the UE receives a data service-related paging message, it can add 1 to the number of data service-related paging messages and start a paging observation timer to count with a preset duration as the timing period. During the timer counting period, if the number of data service-related paging messages does not reach the first threshold and a non-data service-related paging message (such as a telephone service-related paging message) is received, the previously accumulated number of data service-related paging messages is cleared to record the number of data service-related paging messages from zero again. In this way, when the number of data service-related paging messages received by the UE is small and a non-data service-related paging message is received during the period, the counted data service-related paging messages can be cleared, thereby achieving the goal of disconnecting the PDN connection only after a certain number of data service-related paging messages are received continuously, thereby avoiding frequent disconnection of the PDN connection.
[0069] In some embodiments, the UE may start a paging observation timer with a preset duration as the timing period. During the operation of the paging observation timer, if the UE does not receive a paging message of the data service type again, the UE will clear the number of paging messages of the data service type to zero.
[0070] Exemplarily, in combination with the above example, when the UE's data network is turned off, the number of data service-related paging messages of the UE is 0. After receiving the data service-related paging message D, the UE adds 1 to the number of data service type paging messages and restarts the paging observation timer with a timing duration of 30s. After the UE receives the data service type paging message E during the operation of the paging observation timer (i.e. within 30s), the UE adds 1 to the number of received data service type paging messages and restarts the paging observation timer with a timing duration of 30s. If the UE does not receive the data service-related paging message again during the operation of the paging observation timer (i.e. within 30s), the previously accumulated number of data service type paging messages is cleared, that is, the accumulated 2 are set to 0.
[0071] In this way, when the user turns off the UE's data network, each time the UE receives a data service-related paging message, the UE can add 1 to the number of data service-related paging messages received, and start a paging observation timer to count with a preset duration as the timing period. During the timer counting period, if the number of data service-related paging messages does not reach the first threshold and no data service-related paging message is received again, the previously accumulated number of data service-related paging messages is cleared to record the number of data service-related paging messages received from zero again. In this way, when the number of data service-related paging messages received by the UE is small and no data service-related paging message is received within a certain period of time, the counted data service-related paging messages can be cleared, thereby achieving the goal of disconnecting the PDN connection only after a certain number of data service-related paging messages are received continuously, thereby avoiding frequent disconnection of the PDN connection.
[0072] In some embodiments of the present application, as shown in FIG2 , if the first paging message is received in the above step S201, before adding 1 to the first value, the PDN connection control method provided by the embodiment of the present application may include the following step S204:
[0073] Step S204: If the UE receives the third paging message, it starts counting and records the first value as 1.
[0074] The third paging message is the first data service type paging message received after the data network is shut down.
[0075] In some embodiments, after the UE's data network is shut down, when the UE receives the first data service-related paging message, the UE starts to accumulate the number of data service type paging messages and records the initial number of data service type paging messages (i.e., the first value) as 1.
[0076] In some embodiments, after the UE receives the first data service-related paging message, it can start a paging observation timer and control the paging observation timer to start timing with a timing duration of 30 seconds. If another data service-related paging message is received within 30 seconds after the paging observation timer is started, the first value is increased by 1. If another data service-related paging message is not received within 30 seconds after the paging observation timer is started or a non-data service-related paging message is received, the first value is set to 0.
[0077] In this way, the UE determines whether to continue accumulating or setting the number of paging messages of the service data type by judging the time interval between the reception times of two adjacent data service type paging messages, thereby being able to disconnect the PDN connection when the paging messages of the data service type are received more frequently and the number of paging messages of the data service type is large, thereby saving the UE's power and avoiding frequent disconnection of the PDN connection.
[0078] In some embodiments of the present application, the PDN connection control method provided in the embodiment of the present application may further include the following step S205:
[0079] Step S205: When the running state of the UE satisfies the first preset condition, the UE clears the number of received paging messages of the data service type to zero.
[0080] The first precondition mentioned above includes any one of the following:
[0081] The UE enters flight mode;
[0082] Restart the UE;
[0083] The SIM card of the UE is removed;
[0084] The primary SIM card and secondary SIM card of the UE are swapped.
[0085] In some embodiments, when the data network is turned off and the UE receives a paging message related to a data service, the UE accumulates the number of paging messages of the data service type, and clears the number of paging messages of the data service type when it detects that its own operating status meets the first preset condition.
[0086] For example, in combination with the above example, when the UE's data network is turned off, assuming that the number of data service-related paging messages of the UE is 0, after receiving data service-related paging message 1, the UE adds 1 to the number of data service type paging messages, and after receiving data service-related paging message 2, continues to add 1 to the number of received data service type paging messages. At this time, the number of data service-related paging messages is 2. If the UE detects any of the following: entering flight mode, restarting, SIM card being pulled out, or swapping the primary SIM card and the secondary SIM card, the accumulated number of data service-related paging messages will be cleared.
[0087] It should be noted that when the UE enters flight mode, is restarted, the SIM card is removed, or the primary SIM card and the secondary SIM card are swapped, it can be considered that the UE has entered a new usage phase. Therefore, the number of paging messages related to data services previously counted can be reset to zero, and the number of paging messages related to data services can be re-counted from 0.
[0088] In this way, the UE can reset the number of paging messages of data service types when it enters flight mode, restarts, the SIM card is removed, or the primary SIM card and the secondary SIM card are swapped. This allows the UE to count the number of paging messages of data service types from zero when the data network is turned off during the next use, thereby not affecting the user's subsequent use of the UE.
[0089] In some embodiments of the present application, after the UE disconnects the first PDN connection in the above step S202, the PDN connection control method provided in the embodiment of the present application further includes the following step S206:
[0090] Step S206: When the second PDN connection of the UE is disconnected, the UE re-establishes the first PDN connection.
[0091] The second PDN connection may be a connection between the UE and a PDN providing an IP Multimedia Subsystem IMS service.
[0092] In some embodiments, the above-mentioned IMS service may include a voice service, a video service, or a short message service.
[0093] In some embodiments, the second PDN connection may be a connection with a PDN that provides a voice service, or the second PDN connection may be a PDN connection with a PDN that provides a short message service.
[0094] In some embodiments, the UE may re-establish the first PDN connection when the data network is reopened.
[0095] In this way, the UE can re-establish the first PDN connection when the second PDN connection is disconnected or the UE's data network is reopened, so that the network device can obtain the UE information and ensure the normal execution of the UE service.
[0096] The above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0097] The PDN connection control method provided in the embodiment of the present application may be executed by a PDN connection control device. In the embodiment of the present application, the PDN connection control device performing PDN connection control is taken as an example to illustrate the PDN connection control device provided in the embodiment of the present application.
[0098] FIG3 is a schematic diagram of the structure of a PDN connection control device provided in an embodiment of the present application. As shown in FIG3 , the PDN connection control device 300 may include an execution module 301, which is configured to:
[0099] When the data network of the UE is turned off, if a first paging message is received, the first value is increased by 1. The first paging message is a paging message of the data service type, and the time interval between the reception time of the first paging message and the reception time of the previous data service type paging message is less than the preset duration. The above-mentioned first value is the number of paging messages of the data service type; when the above-mentioned first value is greater than or equal to the first threshold, the first PDN connection is disconnected. The first PDN connection is the connection between the UE and the PDN providing data services.
[0100] In some embodiments, the execution module is further configured to clear the first value to zero when the UE receives a second paging message, where the second paging message is a non-data service type paging message.
[0101] In some embodiments, the above-mentioned execution module is also used to start counting and record the first value as 1 if a third paging message is received before adding 1 to the first value. The above-mentioned third paging message is the first data service type paging message received after the data network is closed.
[0102] In some embodiments, the above-mentioned execution module is used to clear the number of received paging messages of the data service type to zero when the operating status of the UE meets the first preset condition; wherein the above-mentioned first preset condition includes any one of the following: the UE enters flight mode; the UE is restarted; the UE's user identity module SIM card is pulled out; the UE's primary SIM card and secondary SIM card are swapped.
[0103] In some embodiments, the execution module is further configured to re-establish the first PDN connection after the UE disconnects the first PDN connection and when the UE's second PDN connection is disconnected; wherein the second PDN connection is a connection between the UE and the PDN providing the IMS service.
[0104] The PDN connection control device provided in the embodiment of the present application, after the data network of the UE is turned off, if the UE receives a paging message sent by the network device, and the time interval between the reception time of the paging message and the reception time of the previous paging message of the paging message is less than a preset time length, then the number of paging messages of the data service type (i.e., the first value) is increased by 1, and when the number of paging messages is greater than or equal to the first threshold, the UE disconnects from the PDN providing the data service. Through this method, when the data network of the UE is turned off, the PDN connection control device can accumulate the number of paging messages of the data service type, and disconnect the PDN connection of the data service when the accumulated number is greater than or equal to the first threshold, so that after the data network of the UE is disconnected, the PDN connection of the data service can be disconnected when the UE frequently receives a large number of paging messages of the data service type, thereby preventing the UE from continuing to monitor and receive paging messages after the data network is disconnected, so that the UE can enter a dormant state, thereby saving the power of the UE.
[0105] The PDN connection control device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or a device other than a terminal. For example, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM, or an kiosks, etc., and the embodiment of the present application does not specifically limit it.
[0106] The PDN connection control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0107] The PDN connection control device provided in the embodiment of the present application can implement the various processes implemented in the method embodiments of Figures 1 and 2. To avoid repetition, they will not be described here.
[0108] Optionally, as shown in Figure 4, an embodiment of the present application also provides an electronic device 400, including a processor 401 and a memory 402, and the memory 402 stores a program or instruction that can be run on the processor 401. When the program or instruction is executed by the processor 401, the various steps of the above-mentioned PDN connection control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0109] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0110] FIG5 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0111] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101 , a network module 102 , an audio output unit 103 , an input unit 104 , a sensor 105 , a display unit 106 , a user input unit 107 , an interface unit 108 , a memory 109 , and a processor 110 .
[0112] Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 110 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG5 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components or arrange the components differently, which will not be described in detail here.
[0113] Among them, the processor 110 is used to add 1 to the first value if a first paging message is received when the data network is turned off. The first paging message is a paging message of the data service type, and the time interval between the reception time of the first paging message and the reception time of the previous data service type paging message is less than a preset duration. The above-mentioned first value is the number of paging messages of the data service type; the processor 110 is also used to disconnect the first PDN connection when the above-mentioned first value is greater than or equal to the first threshold. The first PDN connection is a connection between the electronic device and the PDN providing data services.
[0114] In some embodiments, the processor 110 is further configured to clear the first value to zero when the electronic device receives a second paging message, where the second paging message is a non-data service type paging message.
[0115] In some embodiments, the processor 110 is further configured to start counting if a third paging message is received before adding 1 to the first value, and record the first value as 1, wherein the third paging message is the first data service type paging message received after the data network is shut down.
[0116] In some embodiments, the processor 110 is further configured to clear the number of received paging messages of the data service type to zero when the operating state of the electronic device satisfies a first preset condition; wherein the first preset condition includes any one of the following: the electronic device enters flight mode; the electronic device is restarted; the user identity module SIM card of the electronic device is removed; the main SIM card and the secondary SIM card of the electronic device are swapped.
[0117] In some embodiments, the processor 110 is further configured to re-establish the first PDN connection after the electronic device disconnects the first PDN connection and when the second PDN connection of the electronic device is disconnected; wherein the second PDN connection is a connection between the electronic device and the PDN providing the IMS service.
[0118] The electronic device provided in the embodiment of the present application, after the data network of the electronic device is turned off, if the electronic device receives a paging message sent by the network device, and the time interval between the reception time of the paging message and the reception time of the previous paging message of the paging message is less than a preset time length, the number of paging messages of the data service type (i.e., the first value) is increased by 1, and when the number of paging messages is greater than or equal to the first threshold, the UE disconnects the connection with the PDN providing the data service. Through this method, when the data network of the electronic device is turned off, the electronic device can accumulate the number of paging messages of the data service type, and disconnect the PDN connection of the data service when the accumulated number is greater than or equal to the first threshold, so that after the data network of the UE is disconnected, the PDN connection of the data service can be disconnected when the electronic device frequently receives a large number of paging messages of the data service type, thereby avoiding the electronic device from continuing to monitor and receive paging messages after the data network is disconnected, so that the electronic device can enter a dormant state, thereby saving the power of the electronic device.
[0119] It should be understood that in an embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0120] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0121] Processor 110 may include one or more processing units. Optionally, processor 110 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 110.
[0122] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned PDN connection control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0123] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0124] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned PDN connection control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0125] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0126] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned PDN connection control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0127] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0129] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A packet data network (PDN) connection control method, the method comprising: In the case where the data network of the user equipment UE is turned off, if a first paging message is received, the first value is increased by 1, the first paging message is a paging message of a data service type, and the time interval between the reception time of the first paging message and the reception time of the previous paging message of the data service type is less than a preset duration, and the first value is the number of paging messages of the data service type; When the first value is greater than or equal to a first threshold, a first PDN connection is disconnected, where the first PDN connection is a connection between the UE and a PDN providing data services.
2. The method according to claim 1, wherein: In the case where the data network of the user equipment UE is turned off, the method further includes: If the UE receives a second paging message, the first value is set to zero, and the second paging message is a paging message of a non-data service type.
3. The method according to claim 1, wherein: If the first paging message is received, before adding 1 to the first value, the method further includes: If a third paging message is received, counting starts and the first value is recorded as 1. The third paging message is the first paging message of the data service type received after the data network is closed.
4. The method according to claim 1, wherein: The method further comprises: When the running state of the UE satisfies a first preset condition, the UE sets the first value to zero; The first preset condition includes any one of the following: The UE enters flight mode; The UE is restarted; The user identity module SIM card of the UE is pulled out; The primary SIM card and the secondary SIM card of the UE are swapped.
5. The method according to claim 1, wherein: After disconnecting the first PDN connection, the method further includes: When the second PDN connection of the UE is disconnected, reestablishing the first PDN connection; The second PDN connection is a connection between the UE and a PDN providing an IP Multimedia Subsystem IMS service.
6. A PDN connection control device, the device comprising: An execution module, wherein the execution module is used to: In the case where the data network of the UE is turned off, if a first paging message is received, the first value is increased by 1, the first paging message is a paging message of a data service type, and the time interval between the reception time of the first paging message and the reception time of the previous paging message of the data service type is less than a preset duration, and the first value is the number of paging messages of the data service type; When the first value is greater than or equal to a first threshold, a first PDN connection is disconnected, where the first PDN connection is a connection between the UE and a PDN providing data services.
7. The device according to claim 6, wherein: The execution module is further configured to clear the first value to zero when the UE receives a second paging message, where the second paging message is a paging message of a non-data service type.
8. The device according to claim 7, wherein: The execution module is also used to start counting and record the first value as 1 if a third paging message is received before adding 1 to the first value, and the third paging message is the first data service type paging message received after the data network is closed.
9. The device according to claim 8, wherein: The execution module is further configured to clear the first value to zero when the running state of the UE satisfies a first preset condition; The first preset condition includes any one of the following: The UE enters flight mode; The UE is restarted; The user identity module SIM card of the UE is pulled out; The primary SIM card and the secondary SIM card of the UE are swapped.
10. The device according to claim 8, wherein: The execution module is further configured to, after the UE disconnects the first PDN connection, re-establish the first PDN connection in a case where the second PDN connection of the UE is disconnected; The second PDN connection is a connection between the UE and a PDN providing an IMS service.
11. An electronic device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the PDN connection control method according to any one of claims 1 to 5 are implemented.
12. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the PDN connection control method according to any one of claims 1 to 5.
13. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the PDN connection control method according to any one of claims 1 to 5.
14. A computer program product, wherein the computer program product is executed by at least one processor to implement the steps of the PDN connection control method according to any one of claims 1 to 5.
15. An electronic device, configured to execute the steps of the PDN connection control method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Long term evolution LTE network data closing method and device
CN106900022A
Data transmission method, terminal, network device and computer-readable storage medium
CN107197482A
Communication method and device of dual-card terminal equipment, electronic equipment and storage medium
CN114364024A
Network connection method and device, electronic equipment and readable storage medium
CN115580942A
Packet data network PDN connection control method and device, electronic equipment and medium
CN117793867A