CN108377579B - Method, device, terminal and storage medium for controlling radio resource control connection - Google Patents

Method, device, terminal and storage medium for controlling radio resource control connection Download PDF

Info

Publication number
CN108377579B
CN108377579B CN201810149744.8A CN201810149744A CN108377579B CN 108377579 B CN108377579 B CN 108377579B CN 201810149744 A CN201810149744 A CN 201810149744A CN 108377579 B CN108377579 B CN 108377579B
Authority
CN
China
Prior art keywords
terminal
rrc connection
data packet
packet
access network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810149744.8A
Other languages
Chinese (zh)
Other versions
CN108377579A (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
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810149744.8A priority Critical patent/CN108377579B/en
Publication of CN108377579A publication Critical patent/CN108377579A/en
Application granted granted Critical
Publication of CN108377579B publication Critical patent/CN108377579B/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/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Landscapes

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

Abstract

The application discloses a control method, a control device, a terminal and a storage medium for radio resource control connection, and belongs to the technical field of terminals. The method comprises the following steps: detecting the state of RRC connection between the terminal and the access network equipment, wherein the state of RRC connection comprises a connection state and an idle state; when in the connection state of RRC connection, determining whether a data packet to be sent exists in a protocol IP layer interconnected among networks; and if the data packet to be transmitted does not exist, transmitting an Internet packet searching PING packet to the access network equipment at the IP layer, wherein the PING packet is used for maintaining the connection state of the RRC connection. According to the method and the device, when the terminal is in the connection state of the RRC connection, the ACK data packet is sent to the access network equipment, the duration that the terminal is in the connection state is prolonged, the probability that the RRC connection needs to be reestablished when the terminal processes the instant service in the related art, so that the processing efficiency is low is reduced, and the effect of reducing the service delay is achieved.

Description

Method, device, terminal and storage medium for controlling radio resource control connection
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling Radio Resource Control (RRC) connection, a terminal, and a storage medium.
Background
The states of the RRC connection of the terminal include: a connected state and an idle state. The connection state is a state that RRC connection is established between the terminal and the access network equipment, and in the state, data packets can be transmitted and received between the terminal and the access network equipment; the idle state refers to a state in which no RRC connection is established between the terminal and the access network device, and in this state, the terminal cannot send a data packet to the access network device, but can receive a system message and a paging request message sent by the access network device.
In a typical communication system, if a terminal is currently in a connected state and a data packet is not sent to an access network device within a preset timeout period, the access network device may release an RRC connection with the terminal. At this time, the terminal switches from the connected state to the idle state. When the terminal needs to transmit uplink data, the terminal sends a Scheduling Request (SR) to the access network device, and the access network device establishes RRC connection with the terminal again according to the SR, and at this time, the terminal is switched from an idle state to a connected state.
Disclosure of Invention
The embodiment of the application provides a control method, a control device, a terminal and a storage medium for RRC connection, which can be used for solving the problem of low processing efficiency caused by the fact that the RRC connection needs to be reestablished when the terminal processes the instant service. The technical scheme is as follows:
according to a first aspect of embodiments of the present application, there is provided a method for controlling radio resource control, RRC, connection, where the method is used in a terminal, and the method includes:
detecting the state of RRC connection between the terminal and access network equipment, wherein the state of RRC connection comprises a connection state and an idle state;
when the RRC connection is in a connection state, determining whether a data packet to be sent exists in an Internet Protocol (IP) layer interconnected among networks;
and if the data Packet to be sent does not exist, sending an Internet Packet search (PING) Packet to access network equipment at the IP layer, wherein the PING Packet is used for maintaining the connection state of the RRC connection.
According to a second aspect of the embodiments of the present application, there is provided an apparatus for controlling RRC connection, where the apparatus is used in a terminal, and the apparatus includes:
the detection module is used for detecting the state of RRC connection between the terminal and the access network equipment, wherein the state of the RRC connection comprises a connection state and an idle state;
a determining module, configured to determine, in an IP layer, whether a data packet to be sent exists when the RRC connection is in a connected state;
and the sending module is used for sending a PING packet to access network equipment on the IP layer if the data packet to be sent does not exist, wherein the PING packet is used for maintaining the connection state of the RRC connection.
According to a third aspect of embodiments of the present application, there is provided a terminal, where the terminal includes a processor, a memory connected to the processor, and program instructions stored in the memory, and the processor executes the program instructions to implement the RRC connection control method according to the first aspect of the present application.
According to a fourth aspect of embodiments herein, there is provided a computer readable storage medium having stored thereon program instructions, which when executed by a processor, implement the method for controlling RRC connection according to the first aspect of the present application.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
by detecting the state of RRC connection between the terminal and the access network equipment, when the terminal is in the connection state of the RRC connection, whether a data packet to be sent exists is determined in an IP layer; and if the data packet to be transmitted does not exist, transmitting a PING packet to the access network equipment on the IP layer, wherein the PING packet is used for maintaining the connection state of the RRC connection. According to the method and the device, when the terminal is in the connection state of the RRC connection, the ACK data packet is sent to the access network equipment, the duration that the terminal is in the connection state is prolonged, the probability that the RRC connection needs to be reestablished when the terminal processes the instant service in the related art, so that the processing efficiency is low is reduced, and the effect of reducing the service delay is achieved.
Drawings
Fig. 1 is a schematic structural diagram of a mobile communication system according to an embodiment of the present application;
fig. 2 is a diagram of a protocol layer configuration of a radio bearer according to an embodiment of the present application;
fig. 3 is a flowchart of a method for controlling RRC connection according to an embodiment of the present application;
fig. 4 is a flowchart of a method for controlling RRC connection according to another embodiment of the present application;
fig. 5 is a flowchart of a method for controlling RRC connection according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an RRC connected control apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of a terminal according to an exemplary embodiment of the present application;
fig. 8 is a schematic structural diagram of an access network device according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms related to the present application will be described.
Data packet of the instant service: is a data packet whose data processing speed is higher than a preset speed threshold. In other words, the data packet of the instant service has a low delay attribute, and is a data packet whose service delay is lower than the preset delay threshold. The preset speed threshold or the preset time delay threshold may be a value set by a terminal in a default manner, or may be a value set by a user in a self-defined manner. For example, the preset delay threshold is 150 ms.
Generally, a packet of an instant service is a packet that needs to be immediately notified of a user's handling. For example, the data packet of the instant service is virtual resource data using the virtual commodity packet as a carrier.
It should be noted that, in various embodiments of the present application, the virtual package may also be referred to as a virtual red package or an electronic red package, where the virtual package is a virtual carrier for transferring resources in a donation form between at least two users, and the at least two users may or may not have a friend relationship in the client and/or the real world. The resources involved in the virtual good package may be cash, gaming equipment, gaming material, gaming pets, gaming chips, icons, members, titles, value added services, points, shoe-shaped gold, gold beans, gift certificates, redemption certificates, coupons, greeting cards, and the like. The embodiment of the present application does not limit the types of resources.
It should be noted that, a part of related terms related in the embodiments of the present application may refer to corresponding related descriptions in the 3GPP protocol, for example, RRC _ CONNECTED, RRC _ IDLE, ACK, and the like, which are not described herein again.
In the related art, if the terminal is currently in a connected state and a data packet is not sent to the access network device within a preset timeout period, the access network device may release the RRC connection with the terminal. At this time, the terminal switches from the connected state to the idle state. When the terminal needs to transmit uplink data, the terminal needs to request to reestablish RRC connection with the access network device, and the terminal is switched from an idle state to a connected state after the RRC connection is reestablished.
In the above method, after the RRC connection between the terminal and the access network is released, it takes a long time to reestablish the RRC connection, resulting in a long service delay. Therefore, the embodiments of the present application provide a method, an apparatus, a terminal, and a storage medium for controlling RRC connection, which can be used to solve the problem that when a terminal processes an instant service, the processing efficiency is low because RRC connection needs to be reestablished. The following description will be made by using exemplary embodiments.
Referring to fig. 1, a schematic structural diagram of a mobile communication system according to an embodiment of the present application is shown. The mobile communication system may be an LTE system or a fifth generation mobile communication technology (5G), which is also called a New Radio (NR) system. The mobile communication system includes: a terminal 120, an access network device 140 and a provisioning server 160.
The terminal 120 runs a specific application program, which is an application program supporting a low-latency service and is used for processing a data packet of an instant service.
Optionally, the designated application is an application supporting an instant service, and has a low latency attribute. For example, the specific application is an application supporting the red envelope grabbing function or the like, or an application having the order grabbing function, such as a travel-class application. The specific type of the specific application program is not limited in the embodiments of the present application.
The terminal 120 may be a mobile phone, a tablet computer, an e-book reader, an MP3 player (Moving picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), an MP4 player (Moving picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), a laptop, a desktop computer, and the like.
The terminal 120 includes an Application Processor (AP) and a baseband chip (modem).
An application processor is a processor in the terminal for running an operating system and application programs. Such as: monitoring the running condition of the application program, monitoring the data packet of the application program and the like.
The Baseband chip, also referred to as a Baseband chip Processor (BP), is a Processor for communicating with access network devices. Such as: and providing network request, call and short message service. The application processor and the baseband chip communicate with each other through a shared memory.
Alternatively, the application processor and the baseband chip may be integrated into a single processor.
The terminal 120 and the access network device 140 establish a wireless connection over a wireless air interface. Optionally, the wireless air interface is based on an LTE standard; or the wireless air interface is a wireless air interface based on a 5G standard, for example, the wireless air interface is NR; alternatively, the wireless air interface may be a wireless air interface based on a 5G next generation mobile communication network technology standard.
The access network device 140 may be a base station that may be used to coordinate management of attributes for the air interface. For example, the base station may be an evolved Node B (eNB) in LTE, or a base station in 5G system that adopts a centralized distributed architecture.
The preset server 160 is a preset third party server. The preset server 160 is configured to receive a PING packet sent by the terminal 120 through the access network device 140.
Optionally, the provisioning server 160 is connected to the access network device 140 through a communication network. Optionally, the communication network is a wireless network or a wired network.
For example, taking the mobile communication system as an LTE system as an example, please refer to fig. 2, which shows a protocol layer configuration diagram of a radio bearer. When a piece of signaling or Data is transmitted from the Access network device 140 to the terminal 120 through the radio bearer during wireless transmission, after the Access network device 140 sequentially passes through the PDCP layer, the RLC layer, the MAC layer, and the PHY layer, the radio unit of the Access network device 140 sends the signaling or Data to the terminal 120, and the signaling or Data is received by the radio unit of the terminal 120 and sequentially passes through the PHY layer, the MAC layer, the PLC layer, and the PDCP layer of the terminal 120 for processing. Accordingly, when a piece of signaling or data is transmitted from the terminal 120 to the access network device 140 through the radio bearer, the processing order of the protocol layers is reverse to the above order.
Please refer to fig. 3, which illustrates a flowchart of a method for controlling RRC connection according to an embodiment of the present application. The present embodiment is exemplified by applying the RRC connection control method to the terminal 120 shown in fig. 1 or fig. 2. The control method of the RRC connection comprises the following steps:
step 301, detecting the RRC connection state between the terminal and the access network device, where the RRC connection state includes a connection state and an idle state.
In the mobile communication system, the states of the RRC connection of the terminal include: a CONNECTED state (or RRC _ CONNECTED state) and an IDLE state (or RRC _ IDLE state).
The connection state is a state in which RRC connection is established between the terminal and the access network device, and in the connection state, the terminal and the access network device can receive and transmit data packets.
The idle state is a state in which no RRC connection is established between the terminal and the access network device, and in the idle state, the terminal cannot send a data packet to the access network device, but can receive a system message and a paging request message sent by the access network device.
If the terminal detects that the RRC connection state between the terminal and the access network device is a connection state, step 302 is executed; and if the terminal detects that the RRC connection state between the terminal and the access network equipment is an idle state, ending the process.
Step 302, when in the connected state of RRC connection, determining whether there is a data packet to be transmitted in the IP layer.
When the terminal detects that the state of the RRC connection between the terminal and the access network equipment is a connection state, namely the terminal is in the connection state of the RRC connection, whether a data packet to be sent exists or not is determined in an IP layer.
If the terminal determines that the data packet to be sent exists in the IP layer, ending the process; if the terminal determines that there is no data packet to be sent in the IP layer, step 303 is executed.
Step 303, if there is no data packet to be sent, sending a PING packet to the access network device on the IP layer, where the PING packet is used to maintain the connection state of the RRC connection.
And if the data packet to be sent does not exist, the terminal generates a PING packet on an IP layer and sends the PING packet to the access network equipment.
The terminal generates a PING packet, comprising: and the terminal adds a corresponding header to each protocol layer for the null data content to generate a PING packet.
In the embodiment of the application, in order to keep the RRC connection state between the terminal and the access network device in a connected state, the terminal continuously sends a PING packet to the preset server within a certain period of time. Optionally, when the terminal detects that a designated application program supporting the instant service is started, a data packet transmission request is sent to the baseband chip; and/or sending a data packet transmission request to the baseband chip when the application processor detects a data packet of the instant service in the specified application program.
It should be noted that, reference may be made to the following embodiments for details of the process of sending the PING packet by the terminal to the provisioning server, which will not be described herein.
To sum up, in the embodiment of the present application, by detecting the RRC connection state between the terminal and the access network device, when the terminal is in the RRC connection state, it is determined whether a data packet to be transmitted exists in the IP layer; and if the data packet to be transmitted does not exist, transmitting a PING packet to the access network equipment on the IP layer, wherein the PING packet is used for maintaining the connection state of the RRC connection. According to the method and the device, when the terminal is in the connection state of the RRC connection, the ACK data packet is sent to the access network equipment, the duration that the terminal is in the connection state is prolonged, the probability that the RRC connection needs to be reestablished when the terminal processes the instant service in the related art, so that the processing efficiency is low is reduced, and the effect of reducing the service delay is achieved.
Please refer to fig. 4, which shows a flowchart of a method for controlling RRC connection according to another embodiment of the present application. The present embodiment is exemplified by applying the RRC connection control method to the terminal 120 shown in fig. 1 or fig. 2. The control method of the RRC connection comprises the following steps:
step 401, an IP protocol stack of a baseband chip detects an RRC connection state between a terminal and an access network device, where the RRC connection state includes a connection state and an idle state.
The state of the RRC connection of the terminal includes one of a connected state and an idle state.
If the IP protocol stack of the baseband chip detects that the terminal is in the RRC connected connection state, execute step 402; and if the IP protocol stack of the baseband chip detects that the terminal is in an idle state of RRC connection, ending the process.
Step 402, when in the connection state of RRC connection, the IP protocol stack of the baseband chip determines whether there is a data packet to be sent in the IP layer.
If the IP protocol stack of the baseband chip determines that the data packet to be sent exists, ending the process; if the IP protocol stack of the baseband chip determines that there is no data packet to be sent, step 403 is executed.
In step 403, if there is no data packet to be sent, the application processor detects whether a specific application program is running.
When the RRC connection state between the terminal and the access network equipment is in a connection state, the application processor detects whether a specified application program is operated. If the application processor detects that the specified application program is running, execute step 404; and if the application processor detects that the specified application program is not operated, ending the process.
Optionally, the application processor detects whether a specific application program is running, including but not limited to the following three possible implementation manners:
in a first possible implementation manner, an application processor acquires an application identifier of an application program running in a foreground; and when the application identifier is the preset application identifier, determining that the specified application program runs, namely the application processor detects that the specified application program supporting the instant service is started.
The application identification of an application is used to uniquely identify the application. The application identification comprises the following steps: at least one of a package name of the application program, a version number of the application program, and an icon of the application program, which is not limited in this embodiment.
The identifier of the preset application identifier may be sent by the access network device, or may also be set by a terminal as a default, or may also be set by a user as a self-defined, which is not limited in this embodiment.
Optionally, the terminal acquires an application identifier of an application program running in a foreground from a preset stack of an operating system; illustratively, the predetermined stack is a predetermined active stack.
Optionally, the terminal monitors the application program running in the foreground in an active polling manner, and determines the application identifier of the application program running in the foreground according to foreground motion Activity (english: Activity); wherein, the activity is a component containing a user interface and is used for realizing the interaction with the user, each application program comprises a plurality of activities, and each activity corresponds to one user interface. The foreground running activity is a component corresponding to the user interface positioned at the uppermost layer. The uppermost user interface is the user interface that the user sees on the screen when using the terminal.
Taking an operating system as an android operating system as an example, the activities can be stacked, and each time a new activity is started, the new activity is overlaid on the original activity; and storing the started activities by using an activity stack, wherein the activity stack is a last-in first-out data structure, and the activity can be stacked in the activity stack and positioned at the top of the stack when starting one activity in the default condition, and the activity positioned at the top of the stack is foreground operation activity. When the operation activity of the foreground changes, the activity at the top of the stack in the active stack also changes, the terminal monitors the operation activity of the foreground in an active polling mode through the program manager, and acquires the application identifier of the application program corresponding to the operation activity of the foreground.
It should be noted that, in addition to the new activity being at the top of the stack, when an old activity is switched to the foreground operation, the old activity is moved to the top of the stack again.
When the application processor acquires the application identifier of the application program running in the foreground, whether the application identifier exists is inquired in a preset application set, if so, the application identifier is determined to be the preset application identifier, namely, the specified application program is determined to run in the terminal.
Optionally, a preset application set is stored in the terminal, where the preset application set includes preset application identifiers corresponding to multiple application programs supporting the instant service.
In a second possible implementation manner, the application processor acquires an application identifier and an interface type identifier of an application program running in a foreground; and when the current interface of the application program is determined to be the instant service associated interface according to the application identifier and the interface type identifier, determining that the specified application program runs.
The instant service associated interface is an application program interface which is operated in a foreground in the terminal and is associated with the instant service. For example, the instant service association interface is an application program interface displayed with a virtual package.
Optionally, the application processor obtains the application identifier and the interface type identifier of the application program running in the foreground from a predetermined stack of the operating system. Determining whether the application identifier is a preset application identifier or not according to the application identifier, and if the application identifier is the preset application identifier, determining whether a current interface of the application program is an instant service associated interface or not according to the interface type identifier; and if the instant service correlation interface is available, determining that the specified application program is operated.
Optionally, the interface type identifier includes a first type identifier and a second type identifier, where the first type identifier is used to indicate that the current interface of the application program is an instant service associated interface, and the second type identifier is used to indicate that the current interface of the application program is not an instant service associated interface.
Optionally, when the interface type identifier obtained by the application processor is the first type identifier, it is determined that the current interface of the application program is the instant service associated interface, and it is determined that the specified application program is operated. And when the interface type identifier acquired by the application processor is the second type identifier, determining that the current interface of the application program is not the instant service associated interface, and determining that the specified application program is not operated.
It should be noted that, the process of the application processor obtaining the application identifier and the interface type identifier of the application program running in the foreground from the predetermined stack of the operating system may be similar to the process of obtaining the application identifier of the application program running in the foreground by referring to the above-mentioned application processor, and details are not described here.
In a third possible implementation manner, the application processor obtains a characteristic parameter of a data packet in a currently running application program, where the characteristic parameter includes at least one of a data type, a data length, and a data characteristic value of the data packet; when the characteristic parameter is used for indicating that the data packet is a data packet of the instant service, determining that the specified application program runs, wherein the data packet of the instant service is a data packet with a data processing speed higher than a preset speed threshold, namely the application processor detects the data packet of the instant service in the specified application program.
Optionally, the application processor obtains the characteristic parameters of the data packet of the application program running in the foreground from a predetermined stack of the operating system. And inputting the characteristic parameters into a preset identification model, and outputting to obtain an identification result, wherein the identification result is used for indicating whether the data packet is a data packet of the instant service.
Optionally, the preset recognition model is a model obtained by training an original parameter model according to the historical characteristic parameters. The raw parametric model includes, but is not limited to: at least one of a Convolutional Neural Network (CNN) model, a Deep Neural Network (DNN) model, a Recurrent Neural Network (RNN) model, an embedding (embedding) model, a Gradient Boosting Decision Tree (GBDT) model, and a Logistic Regression (LR) model.
It should be noted that any two of the above possible implementation manners may be implemented in combination, and all three implementation manners may be implemented in combination, which is easily understood by those skilled in the art according to the above embodiments, and the embodiments of the present invention are not repeatedly described in detail for the implementation manners combined with the several embodiments.
In step 404, when the application processor detects that the designated application program is running, the application processor obtains the data packet transmission parameters.
Optionally, the data packet transmission parameter includes at least one of a transmission interval, a transmission time period and a destination IP address of the PING packet.
The transmission interval is the time interval between two consecutive transmissions of PING packets. Optionally, the transmission interval is less than a preset release duration, where the preset release duration is used to indicate that the access network device does not detect a data packet within the preset release duration and issue an RRC connection release signaling to the terminal. For example, the preset release time is 10 seconds, and the transmission interval is 5 seconds. This embodiment is not limited thereto.
The transmission time period is the duration of sending the PING packet, and the transmission time period is greater than the data transmission time period of the data packet of the instant service. For example, the data transmission time period of the data packet of the instant service is 2 seconds, and the transmission time period is 2 minutes or 5 minutes. This embodiment is not limited thereto.
The destination IP address is an IP address of a preset server. The preset server is a preset third-party server connected with the access network equipment.
Step 405, the application processor generates a data packet transmission request, where the data packet transmission request carries data packet transmission parameters.
And the application processor generates a data packet transmission request according to the data packet transmission parameters. Optionally, the data packet transmission request is used to trigger the baseband chip to send a PING packet to the preset server, so as to perform RRC connection between the terminal and the access network device, that is, maintain a connection state of the terminal.
At step 406, the application processor sends a packet transmission request to the baseband chip.
Correspondingly, the IP protocol stack of the baseband chip receives the data packet transmission request.
Step 407, after receiving the data packet transmission request, the IP protocol stack of the baseband chip generates a PING packet.
Optionally, the PING packet carries error checking information, where the error checking information is used to instruct the access network device to discard the PING packet after receiving the PING packet.
Illustratively, the IP protocol stack of the baseband chip adds a respective corresponding header to each layer of protocol layer for empty data content and error check information, and generates a PING packet.
And step 408, the IP protocol stack of the baseband chip sends a PING packet to the access network equipment.
Optionally, the IP protocol stack of the baseband chip obtains data packet transmission parameters from the received data packet transmission request, and sends a PING packet to the access network device according to the data packet transmission parameters.
Illustratively, the data packet transmission parameters include a transmission interval, a transmission period, and a destination IP address of the PING packet. The IP protocol stack of the baseband chip sends a PING packet to the access network equipment according to the transmission parameters of the data packet, and the PING packet comprises the following steps: and sending PING packets to the access network equipment at transmission intervals in the transmission time period.
Optionally, the IP protocol stack of the baseband chip sends a PING packet to the access network device, and the access network device receives the PING packet and forwards the PING packet to the preset server corresponding to the target IP address after checking that the PING packet is correct.
To sum up, according to the embodiments of the present application, after receiving the PING packet, the access network device discards the PING packet when acquiring the wrong checking information in the PING packet, and does not transmit the PING packet to the preset server, so that part of signaling overhead is saved.
In addition, since the application processor detects that the specified application program supporting the instant service is started, and/or when the data packet of the instant service in the specified application program is detected, the probability that the terminal is about to process the instant service is relatively high, in this embodiment, the application processor detects that the specified application program supporting the instant service is started; and/or when the application processor detects a data packet of the instant service in the designated application program, sending a data packet transmission request to the baseband chip to notify the baseband chip to generate a PING packet, so that the access network device maintains the RRC connection with the terminal, and the terminal does not need to send the PING packet to the access network device to maintain the connection state each time when no data packet to be sent exists, which causes a problem of large power consumption; the method can save the resources of the terminal and ensure the timeliness of the terminal for processing the instant service.
Optionally, after step 408, the method further includes the following steps, as shown in fig. 5:
step 501, when the duration of sending the PING packet reaches the transmission time period, the IP protocol stack of the baseband chip stops sending the PING packet.
And when the duration of sending the PING packet reaches the transmission time period, the IP protocol stack of the baseband chip stops sending the PING packet to the preset server through the access network equipment.
Step 502, the access network device detects whether a data packet is received within a preset release duration.
The data packets include PING packets, null data packets, and data packets carrying correct check information and data content.
The preset release duration is set by the access network device as a default, or set by a user as a self-defined, which is not limited in this embodiment.
When the access network device detects that the data packet is not received within the preset release duration, executing step 503; and when the access network equipment detects that the data packet is received within the preset release duration, maintaining the RRC connection with the terminal.
Step 503, when the access network device does not detect the data packet within the preset release duration, it issues an RRC connection release signaling to the terminal.
When the access network equipment does not detect the data packet within the preset release duration, the access network equipment sends an RRC connection release signaling to the terminal, wherein the RRC connection release signaling is used for indicating the release of the RRC connection between the terminal and the access network equipment.
Step 504, the IP protocol stack of the baseband chip releases the RRC connection according to the RRC connection release signaling.
And the terminal receives an RRC connection release signaling sent by the access network equipment through an IP protocol stack of the baseband chip. And the IP protocol stack of the baseband chip releases the RRC connection with the access network equipment according to the received RRC connection release signaling, and simultaneously switches the state of the RRC connection from a connection state to an idle state.
To sum up, in the embodiment of the present application, when the duration of sending the PING packet reaches the transmission time period, the IP protocol stack of the baseband chip stops sending the PING packet, and releases the RRC connection according to the RRC connection release signaling; on one hand, the terminal prolongs the RRC connection with the access network equipment for a certain time period, namely a transmission time period, thereby further improving the timeliness of the terminal for processing the instant service; on the other hand, when the duration of sending the PING packet reaches the transmission time period, the RRC connection is released, so that the situation that the RRC connection state between the terminal and the access network device is always in a connected state is avoided, and the signaling overhead between the terminal and the access network device is saved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 6, which illustrates a schematic structural diagram of an RRC connected control apparatus according to an embodiment of the present application. The RRC connection control apparatus may be implemented in the terminal 120 in fig. 1 by a dedicated hardware circuit or a combination of hardware and software, and includes: a detection module 610, a determination module 620, and a transmission module 630.
A detecting module 610, configured to detect a RRC connection state between the terminal and the access network device, where the RRC connection state includes a connection state and an idle state;
a determining module 620, configured to determine, in an IP layer, whether a data packet to be sent exists when the RRC connection is in a connected state;
a sending module 630, configured to send a PING packet to the access network device on the IP layer if there is no data packet to be sent, where the PING packet is used to maintain a connection state of the RRC connection.
Optionally, the terminal includes an application processor and a baseband chip, and the sending module 630 includes: a first transmitting unit, a generating unit and a second transmitting unit;
the first sending unit is used for sending a data packet transmission request to the baseband chip through the application processor;
the generating unit is used for generating a PING packet after receiving a data packet transmission request through an IP protocol stack of the baseband chip;
and the second sending unit is used for sending the PING packet to the access network equipment through the IP protocol stack of the baseband chip.
Optionally, the first sending unit is further configured to send a data packet transmission request to the baseband chip when the application processor detects that a specified application program supporting the instant service is started; and/or sending a data packet transmission request to the baseband chip when the application processor detects a data packet of the instant service in the specified application program.
Optionally, the data packet transmission request carries a transmission interval and a transmission time period of the PING packet; the second sending unit is also used for acquiring the transmission interval and the transmission time period of the PING packet from the received data packet transmission request through the IP protocol stack of the baseband chip; and the IP protocol stack of the baseband chip sends PING packets to the access network equipment at transmission intervals in a transmission time period.
Optionally, the transmission interval is a time interval between two consecutive transmissions of PING packets, the transmission time period is a duration for sending PING packets, and the transmission time period is greater than a data transmission time period of data packets of the instant service.
Optionally, the apparatus further comprises: a stopping module and a releasing module.
The stopping module is used for stopping sending the PING packet when the duration of sending the PING packet reaches the transmission time period through the IP protocol stack of the baseband chip;
and the release module is used for releasing the RRC connection according to the RRC connection release signaling sent by the access network equipment through the IP protocol stack of the baseband chip.
Optionally, the PING packet carries the checking information with the error.
The relevant details may be combined with the method embodiments described with reference to fig. 3-5. The detecting module 610 is further configured to implement functions related to any other implicit or disclosed detecting steps in the foregoing method embodiments; the determining module 620 is further configured to implement the functions related to any other implicit or disclosed determining steps in the above method embodiments; the sending module 630 is further configured to implement the functions related to any other implicit or disclosed sending steps in the above method embodiments.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
The present application also provides a computer readable medium, on which program instructions are stored, and when the program instructions are executed by a processor, the control method of RRC connection provided by the above-mentioned various method embodiments is implemented.
The present application also provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for controlling an RRC connection according to the various embodiments described above.
Referring to fig. 7, a schematic structural diagram of a terminal provided in an exemplary embodiment of the present application is shown, where the terminal includes: a processor 701, a receiver 702, a transmitter 703, a memory 704, and a bus 705.
The processor 701 includes one or more processing cores, and the processor 701 executes various functional applications and information processing by executing software programs and modules.
The receiver 702 and the transmitter 703 may be implemented as one communication component, which may be a baseband chip.
The memory 704 is coupled to the processor 701 by a bus 705.
The memory 704 may be configured to store at least one program instruction, and the processor 701 is configured to execute the at least one program instruction to implement the method for controlling RRC connection at the terminal side in the above-described method embodiments.
Further, the memory 704 may be implemented by any type or combination of volatile or non-volatile storage devices, including, but not limited to: magnetic or optical disks, electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), Static Random Access Memory (SRAM), read-only memory (ROM), magnetic memory, flash memory, programmable read-only memory (PROM).
Referring to fig. 8, a schematic structural diagram of an access network device according to an exemplary embodiment of the present application is shown, where the access network device includes: a processor 801, a receiver 802, a transmitter 803, a memory 804 and a bus 805.
The processor 801 includes one or more processing cores, and the processor 801 executes various functional applications and information processing by running software programs and modules.
The receiver 802 and the transmitter 803 may be implemented as one communication component, which may be a piece of communication chip.
The memory 804 is coupled to the processor 801 by a bus 805.
The memory 804 may be configured to store at least one program instruction, and the processor 801 is configured to execute the at least one program instruction to implement the method for controlling RRC connection on the access network device side in the above method embodiments.
Further, the memory 804 may be implemented by any type or combination of volatile or non-volatile storage devices, including, but not limited to: magnetic or optical disks, electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), Static Random Access Memory (SRAM), read-only memory (ROM), magnetic memory, flash memory, programmable read-only memory (PROM).
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (7)

1. A control method for Radio Resource Control (RRC) connection, which is used in a terminal, and comprises the following steps:
detecting the state of RRC connection between the terminal and access network equipment, wherein the state of RRC connection comprises a connection state and an idle state;
when the RRC connection is in a connection state, determining whether a data packet to be sent exists in a protocol IP layer interconnected among networks;
if the data packet to be sent does not exist, and the application processor detects that a specified application program runs, sending a data packet transmission request to the baseband chip, wherein the specified application program corresponds to a preset application identifier, a preset interface type identifier or a preset characteristic parameter, the preset application identifier is an application identifier corresponding to the application program supporting the instant service, the preset interface type identifier indicates that the current interface of the application program is a timeliness service associated interface, and the preset characteristic parameter indicates that the data packet in the application program is a data packet of the instant service;
after receiving the data packet transmission request, the IP protocol stack of the baseband chip generates an Internet packet searching (PING) packet, wherein the PING packet is used for maintaining the connection state of the RRC connection and carries error checking information which is used for indicating the access network equipment to discard the PING packet after receiving the PING packet;
and the IP protocol stack of the baseband chip sends the PING packet to the access network equipment.
2. The method of claim 1, wherein the data packet transmission request carries a transmission interval and a transmission time period of the PING packet; the sending of the PING packet to the access network device by the IP protocol stack of the baseband chip includes:
the IP protocol stack of the baseband chip acquires the transmission interval and the transmission time period of the PING packet from the received data packet transmission request;
and the IP protocol stack of the baseband chip sends the PING packet to the access network equipment at the transmission interval in the transmission time period.
3. The method of claim 2, wherein the transmission interval is a time interval between two consecutive transmissions of the PING packet, wherein the transmission time period is a duration of sending the PING packet, and wherein the transmission time period is greater than a data transmission time period of a data packet of an instantaneous service.
4. The method of claim 2, further comprising:
when the duration of sending the PING packet reaches the transmission time period, the IP protocol stack of the baseband chip stops sending the PING packet;
and the IP protocol stack of the baseband chip releases the RRC connection according to the RRC connection release signaling sent by the access network equipment.
5. An apparatus for controlling Radio Resource Control (RRC) connection, for use in a terminal, the apparatus comprising:
the detection module is used for detecting the state of RRC connection between the terminal and the access network equipment, wherein the state of the RRC connection comprises a connection state and an idle state;
a determining module, configured to determine, when the RRC connection is in a connected state, whether a data packet to be sent exists in a protocol IP layer interconnected between networks;
a transmission module including a first transmission unit, a generation unit, and a second transmission unit; the first sending unit is configured to send a data packet transmission request to a baseband chip if the to-be-sent data packet does not exist and an application processor detects that a specified application program runs, where the specified application program corresponds to a preset application identifier, a preset interface type identifier, or a preset characteristic parameter, the preset application identifier is an application identifier corresponding to an application program supporting an instantaneity service, the preset interface type identifier indicates that a current interface of the application program is an instantaneity service associated interface, and the preset characteristic parameter indicates that a data packet in the application program is a data packet of the instantaneity service;
the generating unit is configured to generate a PING packet after receiving the data packet transmission request through an IP protocol stack of the baseband chip, where the PING packet is used to maintain a connection state of the RRC connection, and carries error check information, and the error check information is used to instruct the access network device to discard the PING packet after receiving the PING packet;
and the second sending unit is used for sending the PING packet to the access network equipment through the IP protocol stack of the baseband chip.
6. A terminal, characterized in that the terminal comprises a processor, a memory connected to the processor, and program instructions stored on the memory, which when executed by the processor implement the method of controlling an RRC connection according to any of claims 1 to 4.
7. A computer-readable storage medium, having stored thereon program instructions, which when executed by a processor, implement the method of controlling an RRC connection according to any one of claims 1 to 4.
CN201810149744.8A 2018-02-13 2018-02-13 Method, device, terminal and storage medium for controlling radio resource control connection Active CN108377579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810149744.8A CN108377579B (en) 2018-02-13 2018-02-13 Method, device, terminal and storage medium for controlling radio resource control connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810149744.8A CN108377579B (en) 2018-02-13 2018-02-13 Method, device, terminal and storage medium for controlling radio resource control connection

Publications (2)

Publication Number Publication Date
CN108377579A CN108377579A (en) 2018-08-07
CN108377579B true CN108377579B (en) 2020-08-18

Family

ID=63018021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810149744.8A Active CN108377579B (en) 2018-02-13 2018-02-13 Method, device, terminal and storage medium for controlling radio resource control connection

Country Status (1)

Country Link
CN (1) CN108377579B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112770413B (en) * 2019-11-01 2022-06-21 深圳市万普拉斯科技有限公司 RRC state control method, device, mobile terminal and readable storage medium
CN113260028B (en) * 2020-02-13 2022-11-08 中国电信股份有限公司 Control method and system for releasing radio resource control connection, terminal and base station
CN112533301B (en) * 2020-11-30 2023-09-22 广东小天才科技有限公司 RRC state control method and device of terminal, terminal and storage medium
CN113490284A (en) * 2021-07-15 2021-10-08 北京小米移动软件有限公司 Scheduling request method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581954A (en) * 2012-07-20 2014-02-12 中兴通讯股份有限公司 Method for network service process optimization and intelligent terminal
CN105657860A (en) * 2016-01-29 2016-06-08 珠海市魅族科技有限公司 Method and device for improving data service response speed
CN106658758A (en) * 2017-02-10 2017-05-10 北京小米移动软件有限公司 State conversion method, state keeping method and device, and user equipment
CN106792928A (en) * 2015-11-23 2017-05-31 中国移动通信集团公司 A kind of method and device of accessing terminal to network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581954A (en) * 2012-07-20 2014-02-12 中兴通讯股份有限公司 Method for network service process optimization and intelligent terminal
CN106792928A (en) * 2015-11-23 2017-05-31 中国移动通信集团公司 A kind of method and device of accessing terminal to network
CN105657860A (en) * 2016-01-29 2016-06-08 珠海市魅族科技有限公司 Method and device for improving data service response speed
CN106658758A (en) * 2017-02-10 2017-05-10 北京小米移动软件有限公司 State conversion method, state keeping method and device, and user equipment

Also Published As

Publication number Publication date
CN108377579A (en) 2018-08-07

Similar Documents

Publication Publication Date Title
CN108377579B (en) Method, device, terminal and storage medium for controlling radio resource control connection
US10165486B2 (en) Multiple-communications-standard transmission method and apparatus
US10802885B2 (en) Method and apparatus for data processing based on multicore
CN106034084B (en) Data transmission method and device
US10944681B2 (en) Methods and devices for data processing
CN108076535B (en) Method, device, terminal and storage medium for controlling radio resource control connection
CN102790776A (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN112514324B (en) Dynamic management of application servers on network edge computing devices
CN112399484A (en) Data transmission method, device, storage medium and electronic equipment
CN108391325B (en) Method, device and terminal for managing wireless connection
US20190182854A1 (en) Methods and apparatuses for dynamic resource and schedule management in time slotted channel hopping networks
CN112333690A (en) Data transmission method, device, storage medium, terminal and network access point equipment
WO2016049880A1 (en) Data transmission method and terminal
CN114846774B (en) Communication method and device
CN108391326B (en) Method, device and terminal for managing wireless connection
US11304245B2 (en) Method and device proxy for handling radio communication of data to a wireless device
CN112422457B (en) Message processing method and device and computer storage medium
CN112135329B (en) Parameter transmission method, device and system
CN108599902B (en) Method, device, user equipment and storage medium for reducing communication delay
CN110049071A (en) Network data exchange control method, device and terminal
CN110661592B (en) Signaling transmission method and system, centralized unit, distribution unit and storage medium
WO2024065136A1 (en) Control method and apparatus thereof
CN116471614A (en) Transmission processing method, transmission processing device, communication equipment and readable storage medium
CN114258158A (en) Aggregation configuration method, device and terminal
CN109413695A (en) The network quality support method and device of wireless network

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant