CN112789946A - Method and device for releasing RRC connection and mobile terminal - Google Patents

Method and device for releasing RRC connection and mobile terminal Download PDF

Info

Publication number
CN112789946A
CN112789946A CN201880098255.2A CN201880098255A CN112789946A CN 112789946 A CN112789946 A CN 112789946A CN 201880098255 A CN201880098255 A CN 201880098255A CN 112789946 A CN112789946 A CN 112789946A
Authority
CN
China
Prior art keywords
rrc connection
mobile terminal
releasing
base station
signaling
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.)
Granted
Application number
CN201880098255.2A
Other languages
Chinese (zh)
Other versions
CN112789946B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112789946A publication Critical patent/CN112789946A/en
Application granted granted Critical
Publication of CN112789946B publication Critical patent/CN112789946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a method, a device, a mobile terminal and a computer readable storage medium for releasing RRC connection, wherein the method for releasing RRC connection comprises the following steps: detecting whether the mobile terminal is in an RRC (radio resource control) connected state; if the mobile terminal is in an RRC connection state, counting the number of Packet Data Convergence Protocol (PDCP) layer data packets transmitted in a target period, wherein the target period is greater than an original period; and if the number of the PDCP layer data packets is less than or equal to a preset threshold value, releasing the RRC connection. By the method and the device, the mobile terminal can quickly release the RRC connection.

Description

Method and device for releasing RRC connection and mobile terminal Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method and an apparatus for releasing an RRC connection, a mobile terminal, and a computer-readable storage medium.
Background
Long Term Evolution (LTE) is a Long Term Evolution of The Universal Mobile Telecommunications System (UMTS) technology standard established by The 3rd Generation Partnership Project (3 GPP) organization. In the LTE system, the mobile terminal is divided from a Radio Resource Control (RRC) perspective, and includes two states, an idle state and a connected state. After the RRC connection of the mobile terminal is released, the mobile terminal enters an RRC idle state, which may save power.
Disclosure of Invention
The application provides a method, a device, a mobile terminal and a computer readable storage medium for releasing RRC connection, which can enable the mobile terminal to quickly release the RRC connection.
A first aspect of the present application provides a method for releasing an RRC connection, including:
detecting whether the mobile terminal is in an RRC (radio resource control) connected state;
if the mobile terminal is in an RRC connection state, counting the number of Packet Data Convergence Protocol (PDCP) layer data packets transmitted in a target period, wherein the target period is greater than an original period;
and if the number of the PDCP layer data packets is less than or equal to a preset threshold value, releasing the RRC connection.
A second aspect of the present application provides an apparatus for releasing an RRC connection, comprising:
the connection state detection module is used for detecting whether the mobile terminal is in an RRC connection state;
a data packet counting module, configured to count a number of packet data convergence protocol PDCP layer data packets transmitted in a target period if the mobile terminal is in an RRC connected state, where the target period is greater than an original period;
and the connection release module is used for releasing the RRC connection if the number of the PDCP layer data packets is less than or equal to a preset threshold value.
A third aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as described in the first aspect above when executing the computer program.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect as described above.
A fifth aspect of the application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method as described above in the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating an implementation of a method for releasing an RRC connection according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of a method for releasing an RRC connection according to a second embodiment of the present application;
fig. 3 is a schematic flow chart of an implementation of the method for releasing RRC connection according to the third embodiment of the present application;
fig. 4 is a block diagram of an apparatus for releasing an RRC connection according to a fourth embodiment of the present application;
fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application;
fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Example 1
Referring to fig. 1, is a schematic flowchart illustrating an implementation flow of a method for releasing an RRC connection according to an embodiment of the present application, where the method for releasing an RRC connection is applied to a mobile terminal, and as shown in the figure, the method for releasing an RRC connection may include the following steps:
step S101, detecting whether the mobile terminal is in an RRC connection state.
In the embodiment of the present application, the connected state is also referred to as a service state, and when the mobile terminal completes residence in a cell, the mobile terminal enters an idle state; when the mobile terminal subsequently completes the random access process (i.e. the mobile terminal establishes RRC connection with the base station), the mobile terminal enters a connected state, and the mobile terminal can perform data transmission with the base station. The base station and the mobile terminal can establish wireless connection through a wireless air interface. Optionally, the wireless air interface may be a wireless air interface based on an LTE standard, or a wireless air interface based on a 5G next-generation mobile communication network technology standard, which is not limited herein. The base station may be an evolved base station in LTE or a base station in a 5G system that adopts a centralized distributed architecture, which is not limited herein.
Step S102, if the mobile terminal is in RRC connection state, counting the number of packet data convergence protocol PDCP layer data packets transmitted in a target period, wherein the target period is larger than the original period.
In the embodiment of the present application, the mobile terminal detects whether the RRC between the mobile terminal and the base station is in a connected state (i.e., detects whether the mobile terminal is in an RRC connection), and if the RRC between the mobile terminal and the base station is in the connected state, the number of Packet Data Convergence Protocol (PDCP) layer packets transmitted in a target period may be counted in a modem Protocol stack, and whether the RRC connection between the mobile terminal and the base station is released is determined according to the number of transmitted PDCP layer packets. The modem protocol stack may refer to an LTE protocol stack on a mobile terminal baseband chip side. The PDCP layer belongs to a second layer of a Radio interface Protocol stack, and processes an RRC message on a Control plane and an Internet Protocol (IP) packet on a user plane, and after obtaining an IP data packet from an upper layer, the PDCP layer may perform header compression and encryption on the IP data packet, and then deliver the IP data packet to a Radio Link Control (RLC) sublayer on the user plane. The PDCP sublayer also provides in-order commit and duplicate packet detection functions to the upper layers. In the control plane, the PDCP sublayer provides signaling transport services for the upper RRC layer, and implements ciphering and consistency protection of RRC signaling, and implements deciphering and consistency checking of RRC signaling in the reverse direction. The PDCP layer data packet comprises signaling data and user plane data, and can comprehensively detect the quantity of data packets transmitted between the mobile terminal and the base station when the mobile terminal is in an RRC connection state.
In this embodiment, the target period is a preset time interval for counting the number of PDCP layer packets. If the mobile terminal in the connected state does not perform data transmission with the base station for a period of time, the base station releases the RRC connection with the mobile terminal, where the period of time is an original period, the time of the original period is usually 10 seconds to 15 seconds, and then the target period may be set to be greater than 15 seconds, and a user may set a specific time of the target period according to actual needs, for example, 20 seconds, without limitation.
In the embodiment of the application, the target period is set to be larger than the original period, so that the data statistics time can be prolonged, the situation that RRC connection is not released all the time due to network abnormality is avoided, and the electric quantity of the mobile terminal is saved.
Optionally, the counting the number of packet data convergence protocol PDCP layer packets transmitted in the target period includes:
and counting the number of the PDCP layer data packets received and the number of the PDCP layer data packets transmitted in the target period.
In the embodiment of the present application, when counting the number of PDCP layer packets transmitted by the mobile terminal in the target period, in order to improve the accuracy of the number of data packets, the number of PDCP layer packets received by the mobile terminal in the target period and the number of PDCP layer packets sent by the mobile terminal in the target period may be respectively counted.
Step S103, if the number of the PDCP layer data packets is less than or equal to a preset threshold value, the RRC connection is released.
In this embodiment of the present application, if the mobile terminal detects that the number of the PDCP layer packets is less than or equal to the preset threshold, the mobile terminal may actively release the RRC connection with the base station, or release the RRC connection with the base station when receiving an RRC connection release signaling fed back by the base station.
Optionally, if the number of PDCP layer packets is less than or equal to a preset threshold, releasing the RRC connection includes:
and if the number of the received PDCP layer data packets is less than or equal to a first preset threshold value and the number of the sent PDCP layer data packets is less than or equal to a second preset threshold value, releasing the RRC connection.
In this embodiment of the application, the first preset threshold and the second preset threshold are standard values preset by a user and used for determining release of an RRC connection, and the first preset threshold and the second preset threshold may be the same or different, and are not limited herein. For example, both the first preset threshold and the second preset threshold are 0 or 1.
According to the embodiment of the application, when the mobile terminal is in RRC connection, the number of the sub-PDCP layer data packets transmitted by the mobile terminal in a target period is counted, and when the number of the PDCP layer data packets is smaller than or equal to a preset threshold value, RRC connection between the mobile terminal and the base station is released, so that the mobile terminal can quickly enter an idle state from a connection state, the electric quantity of the mobile terminal is saved, the target period is set to be larger than an original period, and the situation that the RRC connection caused by network abnormity is not released all the time can be avoided.
Example 2
Referring to fig. 2, it is a schematic flowchart of an implementation flow of a method for releasing an RRC connection according to the second embodiment of the present application, where the method for releasing an RRC connection is applied to a mobile terminal, and as shown in the figure, the method for releasing an RRC connection may include the following steps:
step S201, detecting whether the mobile terminal is in an RRC connected state.
In the embodiment of the present application, the step is the same as or similar to step 101, and reference may be specifically made to the related description of step 101, which is not repeated herein.
Step S202, if the mobile terminal is in RRC connection state, counting the number of packet data convergence protocol PDCP layer data packets transmitted in a target period, wherein the target period is larger than the original period.
In the embodiment of the present application, the step is the same as or similar to step 102, and reference may be specifically made to the related description of step 102, which is not repeated herein.
Step S203, if the number of the PDCP layer data packets is less than or equal to a preset threshold value, sending a notification message for releasing the RRC connection to a base station.
Step S204, when receiving an RRC connection release signaling, releasing the RRC connection, wherein the RRC connection release signaling is fed back by the base station after receiving the notification information.
In this embodiment of the application, if the mobile terminal detects that the number of the PDCP layer packets is less than or equal to the preset threshold, the mobile terminal may send notification information for releasing the RRC connection to the base station to notify the base station to feed back an RRC connection release signaling to the mobile terminal, and when receiving the RRC connection release signaling fed back by the base station, the mobile terminal releases the RRC connection with the base station.
Optionally, the sending the notification information for releasing the RRC connection to the base station includes:
and sending ESR signaling of the extended service request to the base station.
In this embodiment, the mobile terminal may notify the base station to feed back an RRC connection release signaling to the mobile terminal by sending an Extended Service Request (ESR) signaling to the base station.
Optionally, the sending the notification information for releasing the RRC connection to the base station includes:
and sending hypertext transfer protocol (HTTP) request information to the base station.
In this embodiment, the mobile terminal may also notify the base station to feed back an RRC connection release signaling to the mobile terminal by sending, to the base station, HyperText Transfer Protocol (HTTP) request information through a modem IP Protocol stack. The HTTP request information may carry an identifier of the mobile terminal and a request for feeding back an RRC connection release signaling.
Optionally, the sending the notification information for releasing the RRC connection to the base station includes:
and sending a customized signaling to the base station, wherein the customized signaling is set according to a reserved field of a preset signaling.
In this embodiment, the mobile terminal may also notify the base station to feed back the RRC connection release signaling to the mobile terminal by sending, to the base station, a customized signaling set according to some reserved fields of preset signaling. The preset signaling may refer to a signaling that a reserved field selected in advance by a user is undefined, and the reserved field of the preset signaling may define the preset signaling to notify the base station to feed back an RRC connection release signaling to the mobile terminal.
Optionally, the releasing the RRC connection when receiving the RRC connection release signaling includes:
and when the RRC connection release signaling is received, sending tracking area update TAU signaling to the base station, and releasing the RRC connection.
In this embodiment, when receiving the RRC connection release signaling, the mobile terminal may send a Tracking Area Update (Tracking Area Update) signaling to the base station, so as to report the location information of the mobile terminal to the base station for location synchronization.
According to the embodiment of the application, when the mobile terminal is in RRC connection, the number of the sub-PDCP layer data packets transmitted by the mobile terminal in a target period is counted, when the number of the PDCP layer data packets is smaller than or equal to a preset threshold value, notification information for releasing the RRC connection is sent to the base station, and when an RRC connection release signaling is received, the RRC connection is released, so that the mobile terminal can quickly enter an idle state from a connection state, the electric quantity of the mobile terminal is saved, the target period is set to be larger than an original period, and the situation that the RRC connection is not released all the time due to network abnormality can be avoided.
Example 3
Referring to fig. 3, is a schematic flowchart illustrating an implementation flow of a method for releasing an RRC connection according to a third embodiment of the present application, where the method for releasing an RRC connection is applied to a mobile terminal, and as shown in the figure, the method for releasing an RRC connection may include the following steps:
step S301, detecting whether the mobile terminal is in an RRC connected state.
In the embodiment of the present application, the step is the same as or similar to step 101, and reference may be specifically made to the related description of step 101, which is not repeated herein.
Step S302, if the mobile terminal is in RRC connection state, counting the number of packet data convergence protocol PDCP layer data packets transmitted in a target period, wherein the target period is larger than the original period.
In the embodiment of the present application, the step is the same as or similar to step 102, and reference may be specifically made to the related description of step 102, which is not repeated herein.
Step S303, if the number of the PDCP layer data packets is less than or equal to a preset threshold value, releasing the RRC connection and controlling a baseband chip of the mobile terminal to enter a standby state.
In the embodiment of the present application, when releasing the RRC connection with the base station, the mobile terminal may control a baseband chip (modem) of the mobile terminal to enter a standby state, so as to save power of the mobile terminal and reduce power consumption of the mobile terminal. The baseband chip of the mobile terminal is used for communicating with the base station.
When the RRC connection is released, the baseband chip of the mobile terminal enters a standby state, so that the electric quantity of the mobile terminal can be further saved, and the power consumption of the mobile terminal is reduced.
Example 4
Referring to fig. 4, a device for releasing an RRC connection according to a fourth embodiment of the present application is provided, and the device for releasing an RRC connection may be integrated in a mobile terminal, and for convenience of description, only the relevant portions of the embodiment of the present application are shown.
The device for releasing RRC connection comprises:
a connection state detection module 41, configured to detect whether the mobile terminal is in an RRC connection state;
a data packet counting module 42, configured to count, if the mobile terminal is in an RRC connected state, the number of packet data convergence protocol PDCP layer data packets transmitted in a target period, where the target period is greater than an original period;
a connection releasing module 43, configured to release the RRC connection if the number of PDCP layer packets is less than or equal to a preset threshold.
Optionally, the data packet statistics module 42 is specifically configured to:
and counting the number of the PDCP layer data packets received and the number of the PDCP layer data packets transmitted in the target period.
Optionally, the connection releasing module 43 is specifically configured to:
and if the number of the received PDCP layer data packets is less than or equal to a first preset threshold value and the number of the sent PDCP layer data packets is less than or equal to a second preset threshold value, releasing the RRC connection.
Optionally, the connection releasing module 43 includes:
a transmitting unit configured to transmit notification information for releasing the RRC connection to a base station;
a releasing unit, configured to release the RRC connection when receiving an RRC connection release signaling, where the RRC connection release signaling is fed back by the base station when receiving the notification information.
Optionally, the sending unit is specifically configured to:
and sending ESR signaling of the extended service request to the base station.
Optionally, the sending unit is specifically configured to:
and sending hypertext transfer protocol (HTTP) request information to the base station.
Optionally, the sending unit is specifically configured to:
and sending a customized signaling to the base station, wherein the customized signaling is set according to a reserved field of a preset signaling.
Optionally, the release unit is specifically configured to:
and when the RRC connection release signaling is received, sending tracking area update TAU signaling to the base station, and releasing the RRC connection.
Optionally, the connection releasing module 43 is specifically configured to:
and controlling a baseband chip of the mobile terminal to enter a standby state.
The apparatus for releasing RRC connection provided in this embodiment of the present application may be applied to the first, second, and third embodiments of the foregoing methods, and for details, refer to the description of the first, second, and third embodiments of the foregoing methods, which is not described herein again.
Example 5
Fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application. The mobile terminal as shown in the figure may include: one or more processors 501 (only one shown); one or more input devices 502 (only one shown), one or more output devices 503 (only one shown), and a memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 505. The memory 504 is used for storing instructions and the processor 501 is used for executing the instructions stored by the memory 504. Wherein:
the processor 501 is configured to detect whether the mobile terminal is in an RRC connected state; if the mobile terminal is in an RRC connection state, counting the number of Packet Data Convergence Protocol (PDCP) layer data packets transmitted in a target period, wherein the target period is greater than an original period; and if the number of the PDCP layer data packets is less than or equal to a preset threshold value, releasing the RRC connection.
Optionally, the processor 501 is specifically configured to:
and counting the number of the PDCP layer data packets received and the number of the PDCP layer data packets transmitted in the target period.
Optionally, the processor 501 is specifically configured to:
and if the number of the received PDCP layer data packets is less than or equal to a first preset threshold value and the number of the sent PDCP layer data packets is less than or equal to a second preset threshold value, releasing the RRC connection.
Optionally, the processor 501 is specifically configured to:
sending notification information for releasing the RRC connection to a base station;
and when an RRC connection release signaling is received, releasing the RRC connection, wherein the RRC connection release signaling is fed back by the base station after the base station receives the notification information.
Optionally, the processor 501 is specifically configured to:
and sending ESR signaling of the extended service request to the base station.
Optionally, the processor 501 is specifically configured to:
and sending hypertext transfer protocol (HTTP) request information to the base station.
Optionally, the processor 501 is specifically configured to:
and sending a customized signaling to the base station, wherein the customized signaling is set according to a reserved field of a preset signaling.
Optionally, the processor 501 is specifically configured to:
and when the RRC connection release signaling is received, sending tracking area update TAU signaling to the base station, and releasing the RRC connection.
Optionally, when releasing the RRC connection, the processor 501 is further configured to:
and controlling a baseband chip of the mobile terminal to enter a standby state.
It should be understood that, in the embodiment of the present Application, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output device 503 may include a display (LCD, etc.), a speaker, a data transmission interface, and the like.
The memory 504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 501. A portion of the memory 504 may also include non-volatile random access memory. For example, the memory 504 may also store device type information.
In a specific implementation, the processor 501, the input device 502, the output device 503, and the memory 504 described in this embodiment of the present application may execute the implementation described in the embodiment of the method for releasing an RRC connection provided in this embodiment of the present application, or may execute the implementation described in the apparatus for releasing an RRC connection described in the fourth embodiment of the present application, which is not described herein again.
Example 6
Fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application. As shown in fig. 6, the mobile terminal 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the various information processing method embodiments described above, such as steps S101 to S103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 43 shown in fig. 3.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the mobile terminal 6. For example, the computer program 62 may be divided into a connection state detection module, a packet statistics module, and a connection release module, and each module has the following specific functions:
the connection state detection module is used for detecting whether the mobile terminal is in an RRC connection state;
a data packet counting module, configured to count a number of packet data convergence protocol PDCP layer data packets transmitted in a target period if the mobile terminal is in an RRC connected state, where the target period is greater than an original period;
and the connection release module is used for releasing the RRC connection if the number of the PDCP layer data packets is less than or equal to a preset threshold value.
Optionally, the data packet statistics module is specifically configured to:
and counting the number of the PDCP layer data packets received and the number of the PDCP layer data packets transmitted in the target period.
Optionally, the connection releasing module is specifically configured to:
and if the number of the received PDCP layer data packets is less than or equal to a first preset threshold value and the number of the sent PDCP layer data packets is less than or equal to a second preset threshold value, releasing the RRC connection.
Optionally, the connection releasing module includes:
a transmitting unit configured to transmit notification information for releasing the RRC connection to a base station;
a releasing unit, configured to release the RRC connection when receiving an RRC connection release signaling, where the RRC connection release signaling is fed back by the base station when receiving the notification information.
Optionally, the sending unit is specifically configured to:
and sending ESR signaling of the extended service request to the base station.
Optionally, the sending unit is specifically configured to:
and sending hypertext transfer protocol (HTTP) request information to the base station.
Optionally, the sending unit is specifically configured to:
and sending a customized signaling to the base station, wherein the customized signaling is set according to a reserved field of a preset signaling.
Optionally, the release unit is specifically configured to:
and when the RRC connection release signaling is received, sending tracking area update TAU signaling to the base station, and releasing the RRC connection.
Optionally, the connection releasing module is specifically configured to:
and controlling a baseband chip of the mobile terminal to enter a standby state. The mobile terminal 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a mobile terminal 6 and is not intended to limit the mobile terminal 6 and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The processor 60 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the mobile terminal 6, such as a hard disk or a memory of the mobile terminal 6. The memory 61 may also be an external storage device of the mobile terminal 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the mobile terminal 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the mobile terminal 6. The memory 61 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal may be implemented in other ways. For example, the above-described apparatus/mobile terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, 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 or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. 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 modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (20)

  1. A method for releasing an RRC connection, comprising:
    detecting whether the mobile terminal is in an RRC (radio resource control) connected state;
    if the mobile terminal is in an RRC connection state, counting the number of Packet Data Convergence Protocol (PDCP) layer data packets transmitted in a target period, wherein the target period is greater than an original period;
    and if the number of the PDCP layer data packets is less than or equal to a preset threshold value, releasing the RRC connection.
  2. The method of claim 1, wherein the counting the number of packet data convergence protocol PDCP layer packets transmitted during the target period comprises:
    and counting the number of the PDCP layer data packets received and the number of the PDCP layer data packets transmitted in the target period.
  3. The method of claim 2, wherein the releasing the RRC connection if the number of PDCP layer packets is less than or equal to a predetermined threshold comprises:
    and if the number of the received PDCP layer data packets is less than or equal to a first preset threshold value and the number of the sent PDCP layer data packets is less than or equal to a second preset threshold value, releasing the RRC connection.
  4. The method of claim 1, wherein the releasing the RRC connection comprises:
    sending notification information for releasing the RRC connection to a base station;
    and when an RRC connection release signaling is received, releasing the RRC connection, wherein the RRC connection release signaling is fed back by the base station after the base station receives the notification information.
  5. The method of claim 4, wherein the sending notification information to the base station to release the RRC connection comprises:
    and sending ESR signaling of the extended service request to the base station.
  6. The method of claim 4, wherein the sending notification information to the base station to release the RRC connection comprises:
    and sending hypertext transfer protocol (HTTP) request information to the base station.
  7. The method of claim 4, wherein the sending notification information to the base station to release the RRC connection comprises:
    and sending a customized signaling to the base station, wherein the customized signaling is set according to a reserved field of a preset signaling.
  8. The method of claim 4, wherein the releasing the RRC connection upon receiving RRC connection release signaling comprises:
    and when the RRC connection release signaling is received, sending tracking area update TAU signaling to the base station, and releasing the RRC connection.
  9. The method of any one of claims 1 to 8, when releasing the RRC connection, further comprising:
    and controlling a baseband chip of the mobile terminal to enter a standby state.
  10. An apparatus for releasing an RRC connection, comprising:
    the connection state detection module is used for detecting whether the mobile terminal is in an RRC connection state;
    a data packet counting module, configured to count a number of packet data convergence protocol PDCP layer data packets transmitted in a target period if the mobile terminal is in an RRC connected state, where the target period is greater than an original period;
    and the connection release module is used for releasing the RRC connection if the number of the PDCP layer data packets is less than or equal to a preset threshold value.
  11. A mobile terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of:
    detecting whether the mobile terminal is in an RRC (radio resource control) connected state;
    if the mobile terminal is in an RRC connection state, counting the number of Packet Data Convergence Protocol (PDCP) layer data packets transmitted in a target period, wherein the target period is greater than an original period;
    and if the number of the PDCP layer data packets is less than or equal to a preset threshold value, releasing the RRC connection.
  12. The mobile terminal of claim 11, wherein the processor, when executing the computer program, embodies the steps of:
    and counting the number of the PDCP layer data packets received and the number of the PDCP layer data packets transmitted in the target period.
  13. The mobile terminal of claim 12, wherein the processor, when executing the computer program, embodies the steps of:
    and if the number of the received PDCP layer data packets is less than or equal to a first preset threshold value and the number of the sent PDCP layer data packets is less than or equal to a second preset threshold value, releasing the RRC connection.
  14. The mobile terminal of claim 11, wherein the processor, when executing the computer program, embodies the steps of:
    sending notification information for releasing the RRC connection to a base station;
    and when an RRC connection release signaling is received, releasing the RRC connection, wherein the RRC connection release signaling is fed back by the base station after the base station receives the notification information.
  15. The mobile terminal of claim 14, wherein the processor, when executing the computer program, embodies the steps of:
    and sending ESR signaling of the extended service request to the base station.
  16. The mobile terminal of claim 14, wherein the processor, when executing the computer program, implements the steps of:
    and sending hypertext transfer protocol (HTTP) request information to the base station.
  17. The mobile terminal of claim 14, wherein the processor, when executing the computer program, embodies the steps of:
    and sending a customized signaling to the base station, wherein the customized signaling is set according to a reserved field of a preset signaling.
  18. The mobile terminal of claim 14, wherein the processor, when executing the computer program, embodies the steps of:
    and when the RRC connection release signaling is received, sending routing area update TAU signaling to the base station, and releasing the RRC connection.
  19. The mobile terminal according to any of claims 11 to 18, wherein the processor, when executing the computer program, further performs the steps of:
    and controlling a baseband chip of the mobile terminal to enter a standby state.
  20. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
CN201880098255.2A 2018-11-22 2018-11-22 Method and device for releasing RRC connection and mobile terminal Active CN112789946B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/116818 WO2020103063A1 (en) 2018-11-22 2018-11-22 Rrc connection releasing method and apparatus, and mobile terminal

Publications (2)

Publication Number Publication Date
CN112789946A true CN112789946A (en) 2021-05-11
CN112789946B CN112789946B (en) 2023-03-07

Family

ID=70773424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880098255.2A Active CN112789946B (en) 2018-11-22 2018-11-22 Method and device for releasing RRC connection and mobile terminal

Country Status (2)

Country Link
CN (1) CN112789946B (en)
WO (1) WO2020103063A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113795046B (en) * 2021-09-14 2023-09-26 北京小米移动软件有限公司 Communication method, communication device, communication apparatus, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968493A (en) * 2005-11-16 2007-05-23 大唐移动通信设备有限公司 Lossless repositioning method
CN102404721A (en) * 2010-09-10 2012-04-04 华为技术有限公司 Safety protecting method of Un interface, device and base station
CN102724770A (en) * 2012-05-09 2012-10-10 中国联合网络通信集团有限公司 Method, device and system for switching state of user equipment
CN102892203A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Method and terminal for scheduling radio links in packet domain network
US20130114813A1 (en) * 2010-06-10 2013-05-09 Huawei Technologies Co., Ltd. Method and apparatus for refreshing key
US20140126362A1 (en) * 2011-07-01 2014-05-08 Nec Corporation Communication system and base station device
CN106792618A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Flux monitoring method and device and terminal
CN108430070A (en) * 2018-05-30 2018-08-21 Oppo广东移动通信有限公司 A kind of wireless heterogeneous networks connection method and equipment, computer storage media

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530706B (en) * 2014-10-23 2019-07-26 电信科学技术研究院 A kind of method and apparatus transmitting downlink data
EP3285428B1 (en) * 2016-07-26 2020-12-23 HTC Corporation Device for handling cellular-wlan aggregation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968493A (en) * 2005-11-16 2007-05-23 大唐移动通信设备有限公司 Lossless repositioning method
US20130114813A1 (en) * 2010-06-10 2013-05-09 Huawei Technologies Co., Ltd. Method and apparatus for refreshing key
CN102404721A (en) * 2010-09-10 2012-04-04 华为技术有限公司 Safety protecting method of Un interface, device and base station
US20140126362A1 (en) * 2011-07-01 2014-05-08 Nec Corporation Communication system and base station device
CN102892203A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Method and terminal for scheduling radio links in packet domain network
CN102724770A (en) * 2012-05-09 2012-10-10 中国联合网络通信集团有限公司 Method, device and system for switching state of user equipment
CN106792618A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Flux monitoring method and device and terminal
CN108430070A (en) * 2018-05-30 2018-08-21 Oppo广东移动通信有限公司 A kind of wireless heterogeneous networks connection method and equipment, computer storage media

Also Published As

Publication number Publication date
CN112789946B (en) 2023-03-07
WO2020103063A1 (en) 2020-05-28

Similar Documents

Publication Publication Date Title
EP3531290B1 (en) Data backup method, apparatus, electronic device, storage medium, and system
CN107391259B (en) Resource processing method and device, computer readable storage medium and mobile terminal
US10762542B2 (en) Item transfer apparatus, system and method
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
US20190095887A1 (en) Resource transferring method and apparatus
US11343233B2 (en) Node control method and related apparatus in distributed system
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
US20140160978A1 (en) Method and apparatus for low energy discovery
CN111416867A (en) Method for processing messages between different devices, server and computer storage medium
CN111784380B (en) Advertisement putting attribution method and device
CN109120683B (en) Data transmission method and related product
US20190205976A1 (en) Account number registration method, apparatus, and system
CN110266582B (en) Message pushing method, system, server and communication terminal
WO2014102456A1 (en) Method and apparatus for secure advertising
WO2015013929A1 (en) Method and apparatus for handling an incoming communication request while a subscriber identity module is in an active communication mode
CN106413032B (en) Hotspot establishing method and terminal equipment
CN112789946B (en) Method and device for releasing RRC connection and mobile terminal
WO2021218801A1 (en) Transmission methods and electronic device
CN106792434B (en) Hotspot establishing method and terminal equipment
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal
CN110874729A (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
CN106793173A (en) The method and mobile terminal of information processing
CN109714734B (en) DMR system, wireless communication method and device of DMR and terminal equipment

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