CN112702804B - Data connection reconstruction method and device, terminal and storage medium - Google Patents

Data connection reconstruction method and device, terminal and storage medium Download PDF

Info

Publication number
CN112702804B
CN112702804B CN202110113990.XA CN202110113990A CN112702804B CN 112702804 B CN112702804 B CN 112702804B CN 202110113990 A CN202110113990 A CN 202110113990A CN 112702804 B CN112702804 B CN 112702804B
Authority
CN
China
Prior art keywords
data connection
timer
target message
modem
reconfiguration 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.)
Active
Application number
CN202110113990.XA
Other languages
Chinese (zh)
Other versions
CN112702804A (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 CN202110113990.XA priority Critical patent/CN112702804B/en
Publication of CN112702804A publication Critical patent/CN112702804A/en
Application granted granted Critical
Publication of CN112702804B publication Critical patent/CN112702804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a method and a device for reestablishing data connection, a terminal and a storage medium, wherein the method comprises the following steps: a terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network terminal; responding to the target message carried in the RRC connection reconfiguration signaling, and initiating a data connection reestablishment process after the timing duration of the first timer is reached; the target message is a message which can disconnect the data connection between the terminal and the network end; responding to that the RRC connection reconfiguration signaling does not carry a target message, and initiating a data connection reestablishment process after the timing duration of a second timer is reached; wherein the timing duration of the first timer is less than the timing duration of the second timer.

Description

Data connection reconstruction method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to communication technology, and relates to, but is not limited to, a method and a device for reestablishing data connection, a terminal, and a storage medium.
Background
Currently, with the improvement of living standard, mobile networks are used more and more frequently in life and work of people. In the process of network usage, various problems are faced, such as spectrum crisis, high energy consumption, data interruption, traffic data drastic reduction, and the like.
The experience brought to the user by the network interruption is very bad, and especially in a scene that the user is carrying out an important teleconference and sending an important file, the network data is suddenly interrupted, which brings a very serious influence. Therefore, how to reduce network interruption becomes a focus of research for those skilled in the art.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for reestablishing a data connection, a terminal, and a storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for reestablishing a data connection, where the method includes:
a terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network terminal;
responding to the target message carried in the RRC connection reconfiguration signaling, and initiating a data connection reestablishment process after the timing duration of the first timer is reached; the target message is a message which can disconnect the data connection between the terminal and the network terminal;
responding to that the RRC connection reconfiguration signaling does not carry a target message, and initiating a data connection reestablishment process after the timing duration of a second timer is reached;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
In a second aspect, an embodiment of the present application provides an apparatus for reestablishing a data connection, where the apparatus includes:
a receiving unit, configured to receive a radio resource control RRC connection reconfiguration signaling sent by a network;
a first reestablishing unit, configured to initiate a data connection reestablishment procedure after a timing duration of a first timer reaches, in response to that the RRC connection reconfiguration signaling carries a target message; the target message is a message which can disconnect the data connection between the terminal and the network terminal;
the second reconfiguration unit is used for responding to that the RRC connection reconfiguration signaling does not carry the target message, and initiating a data connection reconfiguration process after the timing duration of the second timer is reached;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
In a third aspect, an embodiment of the present application provides a terminal, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps in the method for reestablishing a data connection when executing the program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the data connection reestablishment method described above.
The embodiment of the application provides a method and a device for reestablishing data connection, a terminal and a storage medium, wherein a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network terminal is received through the terminal; responding to the target message carried in the RRC connection reconfiguration signaling, and initiating a data connection reestablishment process after the timing duration of the first timer is reached; the target message is a message which can disconnect the data connection between the terminal and the network end; responding to that the RRC connection reconfiguration signaling does not carry a target message, and initiating a data connection reestablishment process after the timing duration of a second timer is reached; the timing duration of the first timer is less than that of the second timer, so that the duration of data connection interruption can be reduced under the condition that the terminal receives the target message carried in the RRC reconfiguration signaling, and therefore, a user hardly senses the interruption of data connection in a specific scene, and user experience is improved.
Drawings
Fig. 1 is a first schematic flow chart of an implementation of a data connection reestablishment method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an implementation flow of a data connection reestablishment method according to an embodiment of the present application;
FIG. 3 is a schematic flowchart illustrating an implementation process of the data connection reestablishment method according to the embodiment of the present application
FIG. 4 is a schematic structural diagram of a device for reconstructing a data connection according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware entity of a terminal according to an embodiment of the present application.
Detailed Description
The technical solution of the present application is further elaborated below with reference to the drawings and the embodiments. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
It should be noted that the terms "first \ second \ third" referred to in the embodiments of the present application are only used for distinguishing similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged under specific ordering or sequence if allowed, so that the embodiments of the present application described herein can be implemented in other orders than illustrated or described herein.
The embodiment of the present application provides a method for reestablishing a data connection, where the function implemented by the method may be implemented by a processor in a terminal calling a program code, and certainly, the program code may be stored in a storage medium of the terminal. Fig. 1 is a first schematic flow chart of an implementation of a data connection reestablishment method according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step S101, a terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network end;
here, the terminal may be various types of devices having information processing capability, such as a mobile phone, a PDA (Personal Digital Assistant), a navigator, a Digital phone, a video phone, a smart watch, a smart band, a wearable device, a tablet computer, an all-in-one machine, and the like. The terminal comprises both a multimedia device and a streaming media device.
Here, the RRC protocol has multiple functions, and mainly provides services such as connection management and message transfer for a Non-access stratum (NAS) layer; or, provide the function of parameter configuration to the bottom protocol entity of the access network; or, the UE mobility management related measurement, control and other functions are responsible. The RRC protocol includes an RRC connection reconfiguration process, and when management, underlying parameter configuration, handover execution, and measurement control of an SRB (Signal Radio Bearer) and a DRB (Data Radio Bearer) need to be initiated, the process is triggered. The RRC connection reconfiguration process comprises two steps: the first step is that a base station end sends RRC connection reconfiguration signaling, the RRC connection reconfiguration signaling carries different configuration information contents according to different functions, and one signaling can carry information units which embody a plurality of functions. Secondly, the RRC connection reconfiguration signaling sent by the base station does not carry any actual information, and only plays a role of RRC layer acknowledgement. If the UE cannot execute the content in the RRC connection reconfiguration message, the UE reverts to the configuration before receiving the message.
In general, if the network is in a normal state, the network does not send the RRC connection reconfiguration signaling carrying the DRB release message, and thus, the UE and the network are always in a connected state. However, if the network has an abnormal situation once, the network end may send RRC connection reconfiguration signaling carrying the DRB release message to the UE end. However, the communication protocol specifies that the UE needs to release the context information such as the local DRB in this case, and thus, the data connection is disconnected. Of course, there are many other messages and signaling that may also cause the data connection between the UE and the network to be broken.
Step S102, responding to the target message carried in the RRC connection reconfiguration signaling, and initiating a data connection reestablishment process after the timing duration of the first timer is reached; the target message is a message which can disconnect the data connection between the terminal and the network terminal;
here, the target message is a message that is sent by the network to the terminal in an abnormal condition.
Step S103, in response to that the RRC connection reconfiguration signaling does not carry a target message, initiating a data connection reestablishment process after the timing duration of the second timer is reached;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
In the embodiment of the application, if the RRC connection reconfiguration signaling carries a target message and it is monitored that the data connection between the UE and the network is disconnected, a first timer is started, and a data connection establishment procedure is initiated after the timing time of the first timer is reached, so as to achieve the purpose of data connection reestablishment. And if the RRC connection reconfiguration signaling does not carry the target message and the data connection between the UE and the network is monitored to be disconnected, starting a second timer and initiating a data connection establishment process after the timing time of the second timer is reached so as to fulfill the aim of data connection reestablishment. Meanwhile, the timing duration of the first timer is less than that of the second timer, so that when the RRC reconfiguration signaling carries the target message, the duration of data connection interruption can be reduced, and a user hardly senses the interruption of data connection.
For example, after receiving an RRC connection reconfiguration signaling sent by a network, the UE determines whether the RRC connection reconfiguration signaling carries a DRB release message under an EPS (Evolved packet System). In the communication protocol, it is specified that the UE needs to release context information such as a local DRB when the received RRC connection reconfiguration signaling carries a DRB release, so that a data connection between the UE and the network is disconnected. And if the RRC connection reconfiguration signaling carries the DRB release message, starting a first timer when the data connection between the UE and the network is disconnected, and initiating a data connection reestablishment process after the timing time of the first timer is reached. Meanwhile, the timing duration of the first timer can be set to be in a millisecond level, so that a user can not feel interruption of data connection completely, and the use experience of the user is improved.
In some embodiments, if the network side is an NSA (Non-standby, non-independent networking) network, the target message is a DRB Release (DRB Release) message under an EPS Bearer (i.e., EPS Bearer); if the network side is a SA (stand alone) network, the target message is a DRB release message under a PDU (Protocol Data Unit) Session (i.e., PDU Session).
Here, the NSA network and The SA network are two standard network architectures classified according to The difference in 5G (The 5th Generation of Mobile Communication Technology, fifth Generation Mobile Communication Technology) network deployment architecture. The NSA network is constructed by anchoring a 5G NR (New Radio, new air interface) control plane on a 4G LTE (Long Term Evolution) Core network EPC (4G Core network) in a dual connectivity manner. The SA network does not rely on the existing 4G network architecture any more, and the 5G NR is directly accessed to the 5G core network and is a relatively more complete and independent 5G network. That is, in the NSA network, the 5G and 4G are interconnected at the access network level, and the interconnection is complex; and the terminal is connected with two wireless access technologies of LTE and NR. Under the SA network, the 5G network is independent of the 4G network, and the 5G and the 4G are only communicated at a core network level, so that the communication is simple; and the terminal is connected to only NR one radio access technology.
In the NSA network, if the UE receives the RRC connection reconfiguration signaling and the reconfiguration signaling carries a DRB release message under the EPS bearer, the data connection between the UE and the network is disconnected according to the network protocol. Similarly, in the SA network, if the UE receives the RRC connection reconfiguration signaling and the reconfiguration signaling carries the DRB release message in the PDU session, the data connection between the UE and the network is also disconnected according to the network protocol. Therefore, the target message in this embodiment may be a DRB release message under an EPS bearer, or a DRB release message under a PDU session.
In the embodiment of the application, a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network terminal is received through a terminal; responding to the target message carried in the RRC connection reconfiguration signaling, and initiating a data connection reestablishment process after the timing duration of the first timer is reached; the target message is a message which can disconnect the data connection between the terminal and the network end; responding to that the RRC connection reconfiguration signaling does not carry a target message, and initiating a data connection reestablishment process after the timing duration of a second timer is reached; the timing duration of the first timer is less than that of the second timer, so that the duration of data connection interruption can be reduced under the condition that the terminal receives the target message carried in the RRC reconfiguration signaling, and therefore, under certain specific scenes, a user hardly senses the interruption of data connection, and user experience is improved.
Based on the foregoing embodiments, an embodiment of the present application further provides a method for reestablishing a data connection, where the method includes:
step S111, a modem of the terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network terminal;
step S112, responding to DRB release information carried in the RRC connection reconfiguration signaling, and reporting the DRB release information to an application framework layer of an operating system by the modem;
here, the DRB release message may be a DRB release message under an EPS bearer in an NSA network, or a DRB release message under a PDU session in an SA network.
In the embodiment of the application, a modem of a terminal is responsible for receiving an RRC connection reconfiguration signaling sent by a network, and determining whether the reconfiguration signaling carries a DRB release message. And if the modem determines that the reconfiguration signaling carries the DRB release message, reporting the DRB release message to an application framework layer of a terminal operating system.
Step S113, the modem detects that the DRB release message causes the disconnection of the data connection, and starts a first timer;
in this embodiment of the present application, after the modem detects that the data connection is disconnected due to a DRB release message, the modem starts a first timer.
Here, the execution order of the step S112 and the step S113 is not limited. That is, the modem may report the DRB release message to the application framework layer of the operating system first and then start the first timer, or may start the first timer first and then report the DRB release message to the application framework layer of the operating system.
Step S114, if the application framework layer receives the DRB release message, the application framework layer issues a command to a modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process;
in this embodiment of the present application, if the application framework layer receives the DRB release message, the application framework layer issues a command to the modem after the timing duration of the first timer is reached. The modem then reestablishes the data connection according to the command.
Step S115, in response to that the RRC connection reconfiguration signaling does not carry a target message, initiating a data connection reestablishment process after the timing duration of a second timer is reached;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
Based on the foregoing embodiments, an embodiment of the present application further provides a method for reestablishing a data connection, where the method includes:
step S121, the terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network end;
step S122, responding to that the RRC connection reconfiguration signaling carries a DRB release message, and reporting the DRB release message to an application framework layer of an operating system by a modem of the terminal;
step S123, the modem detects that the DRB release message causes the disconnection of the data connection, and starts a first timer;
step S124, if the application framework layer receives the DRB release message, the application framework layer issues a command to a modem after the timing duration of the first timer is reached, so as to initiate a data connection reestablishment procedure;
step S125, in response to that the RRC connection reconfiguration signaling does not carry a DRB release message, the modem detects the connection state of the data connection;
here, if the RRC connection reconfiguration signaling does not carry a DRB release message, the modem may monitor the connection state of the data connection in real time.
Step S126, the modem detects that the data connection is disconnected due to the fact that the DRB release message is not detected, a second timer is started, and the disconnected state of the data connection is reported to the application framework layer;
in this embodiment of the present application, if the modem monitors that the data connection is disconnected, it may be determined that the reason causing the data connection disconnection is not that the DRB release message is received (because the RRC connection reconfiguration signaling does not carry the DRB release message). Thus, a second timer is started, the timing duration of the second timer being greater than the timing duration of the first timer.
Step S127, if the application framework layer determines that the data connection is disconnected, the application framework layer issues a command to the modem after the timing duration of the second timer is reached, so as to initiate a data connection reestablishment procedure;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
Here, if the application framework layer receives the message of the data connection disconnection state, the application framework layer issues a command to the modem after the timed duration of the second timer is reached, and the modem re-establishes the data connection according to the received command.
In the embodiment of the application, if the RRC connection reconfiguration signaling is received and the reconfiguration signaling carries the DRB release message, the connection is re-initiated after 100ms, so that the user can start to surf the internet only after waiting for 10s from the beginning, and the user has almost no perception at the current millisecond level. Generally, if the network does not carry the DRB release message in the RRC connection reconfiguration signaling under normal conditions, the UE keeps the connected state all the time. Sometimes, the network side can issue a DRB release message to the UE under an abnormal condition, and after the technical scheme of the application is used, a user can feel the interruption of data continuously in an abnormal scene, so that the user experience is improved.
Based on the foregoing embodiment, an embodiment of the present application further provides a data connection reestablishment method, fig. 2 is a schematic flow chart illustrating an implementation of the data connection reestablishment method according to the embodiment of the present application, and as shown in fig. 2, the method includes:
step S201, a terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network end;
step S202, the modem determines whether the RRC connection reconfiguration signaling carries a target message; the target message is a message which can disconnect the data connection between the terminal and the network end;
step S203, responding to the target message carried in the RRC connection reconfiguration signaling, and reporting the target message to an application framework layer of an operating system by the modem;
here, the android system architecture is mainly divided into: the system comprises a kernel layer, a core library layer, an application framework layer and an application layer. The Application framework layer mainly has two functions, one is to compile a standardized module and package the module into a framework for calling to develop an APP (Application, mobile phone software) Application with a special service. Another role is to enable Java (a computer programming language) methods and operating systems to communicate with each other.
In general, the DRB release message is received by a modem in the terminal, so in this embodiment of the present application, the DRB release message received by the modem is reported to an application framework layer for processing, and the application framework layer starts to issue a connection establishment.
Step S204, the application framework layer sends a command to a modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process;
here, the first timer is started when the data connection is disconnected.
For example, the application framework layer of the android system processes the received DRB release message, and re-issues an AT command to the modem to re-establish the data connection after a delay of 100 ms. That is, in some embodiments, the first timer may be turned on when the application framework layer receives a DRB release message.
Step S205, in response to that the RRC connection reconfiguration signaling does not carry the target message, initiating a data connection reestablishment process after the timing duration of the second timer is reached;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
Here, the second timer is started when the data connection is disconnected. The first timer and the second timer are both used for controlling the time from the disconnection of the data connection to the initiation of the data connection reestablishment process.
For example, if the RRC connection reconfiguration signaling does not carry the target message, when the data connection between the terminal and the network is disconnected, the application framework layer of the android system delays for 10s and then issues the AT command to the modem to reestablish the data connection. Certainly, not only the RRC connection reconfiguration signaling does not carry the target message, but also other scenarios that may cause data connection interruption are that the data connection is reestablished after 10s.
In some embodiments, if the network side is a non-independent network configuration (NSA) network, the target message is a Data Radio Bearer (DRB) release message under a packet evolution system (EPS) bearer; and if the network end is an independent networking SA network, the target message is a DRB release message under a Protocol Data Unit (PDU) session.
In the embodiment of the application, a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network terminal is received through a terminal; the modem determines whether the RRC connection reconfiguration signaling carries a target message or not; the target message is a message which can disconnect the data connection between the terminal and the network end; responding to the target message carried in the RRC connection reconfiguration signaling, and reporting the target message to an application framework layer of an operating system by the modem; the application framework layer issues a command to the modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process; responding to that the RRC connection reconfiguration signaling does not carry a target message, and initiating a data connection reestablishment process after the timing duration of a second timer is reached; the timing duration of the first timer is less than that of the second timer, so that the time point for initiating data connection reconstruction can be controlled according to whether the RRC connection reconfiguration signaling carries a target message, the duration of data connection reconstruction in the scene is shortened, and the user can not perceive 'network disconnection' in the scene.
Based on the foregoing embodiments, an embodiment of the present application further provides a method for reestablishing a data connection, where the method includes:
step S211, the terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by the network end;
step S212, the modem determines whether the RRC connection reconfiguration signaling carries a target message; the target message is a message which can disconnect the data connection between the terminal and the network terminal;
step S213, responding to the target message carried in the RRC connection reconfiguration signaling, the modem reports the target message to an application framework layer of an operating system;
here, if the RRC connection reconfiguration signaling carries the target message, according to the network protocol, the UE may disconnect the data connection with the network after receiving the target message. Therefore, if the RRC connection reconfiguration signaling is received and the reconfiguration signaling carries the target message, the modem of the UE reports the target message to the application framework layer of the UE operating system. And initiating a data connection establishment process after the timing time of the first timer is reached. Wherein the first timer is started when the data connection is disconnected.
Step S214, the application framework layer issues a command to a modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process;
here, if the RRC connection reconfiguration signaling carries a target message, the UE may disconnect the data connection with the network after receiving the target message according to the network protocol. Therefore, if the RRC connection reconfiguration signaling is received and the target message is carried in the reconfiguration signaling, the modem of the UE reports the target message to an application framework layer of the UE operating system. Correspondingly, the application framework layer issues a command to the modem after the timing duration of the first timer is reached so as to initiate a data connection establishment process. Wherein the first timer is started when the data connection is disconnected.
Step S215, in response to that the RRC connection reconfiguration signaling does not carry a target message, the modem detects the connection state of the data connection;
step S216, if the data connection is detected to be in a disconnected state, the modem reports the state of the data connection to the application framework layer, and a second timer is started;
here, if it is detected that the data connection is in the disconnected state, the modem may report the state of the data connection to the application framework layer of the operating system and then start the second timer, or start the second timer and then report the state of the data connection to the application framework layer of the operating system.
Step S217, the application framework layer issues a command to a modem after the timing duration of the second timer is reached so as to initiate a data connection reestablishment process;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
Wherein the timing duration of the first timer is less than the timing duration of the second timer.
Here, if the RRC connection reconfiguration signaling does not carry the target message, the modem in the terminal does not perform special processing, and the application framework layer of the operating system issues an AT command to the modem after the timing time of the second timer is reached, and initiates a data connection establishment procedure.
For example, after receiving an RRC connection reconfiguration signaling sent by a network, a terminal determines that the RRC connection reconfiguration signaling carries a target message, and if the target message exists, initiates a data connection reestablishment procedure after 100ms after data connection is disconnected. And if the target message does not exist, initiating a data connection reestablishment process after 10s of disconnection of the data connection. At present, there are many situations that may cause the data connection between the terminal and the network to be disconnected, for example, some messages under the ESM (EPS Session Management) may also cause the data connection to be disconnected, and the disconnection of the data connection caused by any situation may be delayed by 10s and then issued, and is not treated differently. In the embodiment of the application, whether the DRB release message is carried in the RRC connection reconfiguration signaling or not is judged, and the time for reestablishing the data connection is determined according to the judgment result, so that a user can start surfing the Internet only after waiting for 10s at the beginning, and the user experience is improved under the condition that the user hardly senses the situation at the millisecond level.
At present, the 5G network is not completely mature, and message signaling for releasing DRB and EPS Bearer is often carried in RRC connection reconfiguration signaling issued by the NSA network. When the terminal receives the signaling that the DRB in the RRC connection reconfiguration signaling is released, according to the 3rd Generation Partnership Project (3 GPP) protocol, the UE needs to release the context information such as the local DRB and the EPS Bearer, and a phenomenon of data disconnection occurs.
The current technical scheme is as follows: when the data connection is disconnected, because the protocol does not specify, the Modem (i.e. Modem) at the UE end generally does not perform processing, but re-initiates the connection after 10s (seconds) according to the mechanism of the application Framework layer (i.e. Framework layer) of the android system, and if the connection is still not successfully established, the connection is re-initiated after a longer delay.
However, this brings with it certain disadvantages: when receiving message signaling with DRB and EPS Bearer released in RRC connection reconfiguration signaling, local release is needed to keep synchronization with the network, so that the phenomenon of data network disconnection can occur. In addition, at the application framework layer, connection is not initiated again until 10s later, which results in that internet surfing cannot be performed within 10s, and the user experience of the terminal is seriously influenced.
Based on this, the embodiment of the present application provides a method for reestablishing a data connection, which is adjusted to 100ms (milliseconds) by unlocking the 10s limit of the application framework layer mechanism of android. When the network RRC connection reconfiguration signaling carries signaling of releasing DRB, which results in unexpected EPS Bearer being released, the application framework layer of the UE issues AT command to the modem of the UE to reactivate and establish data connection after 100ms, instead of waiting for 10s.
The AT command is a command language of the modem, and is a control command invented by hayes company, an inventor of the dial-up modem, for controlling the modem.
Fig. 3 is a schematic view of a third implementation flow of the data connection reestablishment method according to the embodiment of the present application, and as shown in fig. 3, the method includes:
step S301, a modem module of the terminal judges whether the received signaling is RRC signaling;
here, if the RRC signaling is received, step S302 is performed; if the non-RRC signaling is received, step S303 is performed.
Step S302, judging whether the RRC signaling contains a DRB release message;
here, if the RRC signaling includes a DRB release message, step S304 is performed; if the RRC signaling does not include the DRB release message, step S306 is executed.
Step S303, processing other models;
step S304, reporting the received DRB release message to an application framework layer of an operating system;
step S305, the application framework layer processes the received DRB release message and re-issues an AT command to the modem after delaying for 100ms so as to re-establish data connection;
step S306, the application framework layer re-issues the AT command to the modem after delaying for 10S so as to re-establish the data connection;
step S307, after the modem of the UE receives the AT command, the data connection is reestablished.
Here, in addition to receiving the DRB release message under the RRC connection reconfiguration signaling of the NSA network, the above processing may also be performed in the SA network in response to receiving the PDU Session and the message that the DRB is locally released.
In the embodiment of the application, the DRB release message received by the modem is reported to the android application framework layer for processing, the scheme for reestablishing the data connection is further reduced from 10s to 100ms, almost no perception optimization is performed on a user, and finally an AT command is issued to the modem in the application framework layer to reactivate and establish the data connection. That is to say, under the condition that the terminal receives the RRC connection reconfiguration signaling band DRB release message, the time for re-establishing the data connection for 10s is shortened to 100ms, so that the user can start to surf the internet only after waiting for 10s at the beginning, and the user experience is greatly improved to the extent that the user hardly perceives in the current millisecond level.
Based on the foregoing embodiments, an apparatus for reconstructing data connection is provided in the embodiments of the present application, where the apparatus includes units, sub-units included in the units, modules, and components included in the modules, and may be implemented by a processor in a terminal; of course, the implementation can also be realized through a specific logic circuit; in the implementation, the processor may be a Central Processing Unit (CPU), a Micro Processing Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 4 is a schematic structural diagram of a device for reconstructing data connection according to an embodiment of the present application, and as shown in fig. 4, the device 400 includes:
a receiving unit 401, configured to receive a radio resource control RRC connection reconfiguration signaling sent by a network;
a first reestablishment unit 402, configured to initiate a data connection reestablishment procedure after a timing duration of a first timer reaches in response to that the RRC connection reconfiguration signaling carries a target message; the target message is a message which can disconnect the data connection between the terminal and the network terminal;
a second re-establishing unit 403, configured to initiate a data connection re-establishing process after a timing duration of a second timer reaches in response to that the RRC connection reconfiguration signaling does not carry a target message;
wherein the timing duration of the first timer is less than the timing duration of the second timer.
In some embodiments, the first reconstruction unit 402 comprises:
a judging module, configured to determine whether the RRC connection reconfiguration signaling carries a target message;
a reporting module, configured to respond to that the RRC connection reconfiguration signaling carries a target message, and report, by the modem, the target message to an application framework layer of an operating system;
and the first command issuing module is used for issuing a command to the modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process.
In some embodiments, the second reconstruction unit 403 includes:
a detection module, configured to respond that the RRC connection reconfiguration signaling does not carry a target message, and detect, by the modem, a connection state of the data connection;
a reporting opening module, configured to report, by the modem, the status of the data connection to the application framework layer and open a second timer if it is detected that the data connection is in a disconnected status;
and the second command issuing module is used for issuing a command to the modem by the application framework layer after the timing duration of the second timer is reached so as to initiate a data connection reestablishment process.
In some embodiments of the present invention, the,
if the network end is a non-independent network configuration (NSA) network, the target message is a Data Radio Bearer (DRB) release message under the bearing of a packet evolution system (EPS);
and if the network end is an independent networking SA network, the target message is a DRB release message under a Protocol Data Unit (PDU) session.
In some embodiments, the first reconstruction unit 402 comprises:
a first reestablishment subunit, configured to respond to that the RRC connection reconfiguration signaling carries a DRB release message, and report, by a modem of the terminal, the DRB release message to an application framework layer of an operating system;
the first reestablishing subunit is further configured to detect that the data connection is disconnected due to the DRB release message, and start a first timer;
the first reestablishment subunit is further configured to, if the application framework layer receives the DRB release message, issue, by the application framework layer, a command to a modem after the timing duration of the first timer is reached, so as to initiate a data connection reestablishment procedure.
In some embodiments, the second reconstruction unit 403 includes:
a second reconfiguration subunit, configured to, in response to that the RRC connection reconfiguration signaling does not carry a DRB release message, detect, by the modem, a connection state of the data connection;
the second reconfiguration subunit is further configured to detect that the data connection is disconnected due to the non-DRB release message, start a second timer, and report a disconnected state of the data connection to the application framework layer;
the second reestablishing subunit is further configured to, if the application framework layer determines that the data connection is disconnected, issue, by the application framework layer, a command to the modem after the timing duration of the second timer is reached, so as to initiate a data connection reestablishment procedure.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the above method for reconstructing a data connection is implemented in the form of a software functional module and is sold or used as a standalone product, it may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or the like) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present application provides a terminal, which includes a memory and a processor, where the memory stores a computer program that can be executed on the processor, and the processor executes the computer program to implement the steps in the data connection reestablishment method provided in the foregoing embodiment.
Correspondingly, an embodiment of the present application provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the above method for reconstructing a data connection.
Here, it should be noted that: the above description of the storage medium and terminal embodiments is similar to the description of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the terminal of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 5 is a schematic diagram of a hardware entity of a terminal according to an embodiment of the present application, and as shown in fig. 5, the hardware entity of the terminal 500 includes: a processor 501, a communication interface 502 and a memory 503, wherein
The processor 501 generally controls the overall operation of the terminal 500.
The communication interface 502 may enable the terminal 500 to communicate with other terminals or servers via a network.
The Memory 503 is configured to store instructions and applications executable by the processor 501, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 501 and modules in the terminal 500, and may be implemented by a FLASH Memory or a RAM (Random Access Memory).
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method may be implemented in other manners. The above-described terminal embodiments are merely illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or in other forms.
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, that is, 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, all functional units in the embodiments of the present application may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps of implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer-readable storage medium, and when executed, executes the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media capable of storing program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to arrive at new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in several of the method or terminal embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments or terminal embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A method for reestablishing a data connection, said method comprising:
a terminal receives a Radio Resource Control (RRC) connection reconfiguration signaling sent by a network terminal;
responding to the target message carried in the RRC connection reconfiguration signaling, and initiating a data connection reestablishment process after the timing duration of the first timer is reached; the target message is a message which can disconnect the data connection between the terminal and the network terminal;
responding to that the RRC connection reconfiguration signaling does not carry a target message, and initiating a data connection reestablishment process after the timing duration of a second timer is reached;
wherein the timing duration of the first timer is less than the timing duration of the second timer;
wherein, the initiating the data connection reestablishment process after the timing duration of the first timer is reached in response to the target message carried in the RRC connection reconfiguration signaling includes:
the modem determines whether the RRC connection reconfiguration signaling carries a target message;
responding to the target message carried in the RRC connection reconfiguration signaling, and reporting the target message to an application framework layer of an operating system by the modem;
and the application framework layer issues a command to the modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process.
2. The method according to claim 1, wherein the initiating the data connection reestablishment procedure after the time duration of the second timer is reached in response to the RRC connection reconfiguration signaling not carrying the target message comprises:
responding to that the RRC connection reconfiguration signaling does not carry a target message, and detecting the connection state of the data connection by the modem;
if the data connection is detected to be in a disconnected state, the modem reports the state of the data connection to the application framework layer, and a second timer is started;
and the application framework layer issues a command to a modem after the timing duration of the second timer is reached so as to initiate a data connection reestablishment process.
3. The method according to claim 1 or 2,
if the network end is a non-independent network configuration (NSA) network, the target message is a Data Radio Bearer (DRB) release message under the bearing of a packet evolution system (EPS);
and if the network end is an independent networking SA network, the target message is a DRB release message under a Protocol Data Unit (PDU) session.
4. The method according to claim 3, wherein the re-configuration signaling in response to the RRC connection carries a target message, and initiates a data connection re-establishment procedure after a timing duration of a first timer is reached; wherein, the target message is a message which can disconnect the data connection between the terminal and the network terminal, and comprises:
in response to that the RRC connection reconfiguration signaling carries a DRB release message, a modem of the terminal reports the DRB release message to an application framework layer of an operating system;
the modem detects that the DRB release message causes disconnection of the data connection, and starts a first timer;
if the application framework layer receives the DRB release message, the application framework layer issues a command to a modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process.
5. The method according to claim 4, wherein the initiating the data connection reestablishment procedure after the timing duration of the second timer is reached in response to that the RRC connection reconfiguration signaling does not carry the target message includes:
responding to that the RRC connection reconfiguration signaling does not carry a DRB release message, and detecting the connection state of the data connection by the modem;
the modem detects that the data connection is disconnected due to the fact that the DRB release message is not detected, a second timer is started, and the state of the data connection disconnection is reported to the application framework layer;
and if the application framework layer determines that the data connection is disconnected, the application framework layer issues a command to a modem after the timing duration of the second timer is reached so as to initiate a data connection reestablishment process.
6. An apparatus for reestablishing a data connection, said apparatus comprising:
a receiving unit, configured to receive a radio resource control RRC connection reconfiguration signaling sent by a network;
a first reestablishing unit, configured to initiate a data connection reestablishment procedure after a timing duration of a first timer reaches, in response to that the RRC connection reconfiguration signaling carries a target message; the target message is a message which can disconnect the data connection between the terminal and the network terminal;
the second reconfiguration unit is configured to initiate a data connection reconfiguration procedure after a timing duration of a second timer reaches in response to that the RRC connection reconfiguration signaling does not carry a target message;
the timing duration of the first timer is less than the timing duration of the second timer;
wherein the first reconstruction unit comprises:
a judging module, configured to determine whether the RRC connection reconfiguration signaling carries a target message;
a reporting module, configured to respond to that the RRC connection reconfiguration signaling carries a target message, and report, by the modem, the target message to an application framework layer of an operating system;
and the first command issuing module is used for issuing a command to the modem after the timing duration of the first timer is reached so as to initiate a data connection reestablishment process.
7. A terminal comprising a memory and a processor, the memory storing a computer program operable on the processor, the processor when executing the program implementing the steps in the method of any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202110113990.XA 2021-01-27 2021-01-27 Data connection reconstruction method and device, terminal and storage medium Active CN112702804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110113990.XA CN112702804B (en) 2021-01-27 2021-01-27 Data connection reconstruction method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110113990.XA CN112702804B (en) 2021-01-27 2021-01-27 Data connection reconstruction method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112702804A CN112702804A (en) 2021-04-23
CN112702804B true CN112702804B (en) 2022-12-02

Family

ID=75516328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110113990.XA Active CN112702804B (en) 2021-01-27 2021-01-27 Data connection reconstruction method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112702804B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117835459A (en) * 2024-03-04 2024-04-05 荣耀终端有限公司 Communication method, terminal device, storage medium, chip system and product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019052A1 (en) * 2016-07-29 2018-02-01 深圳市中兴微电子技术有限公司 Method and device for restarting time alignment (ta) timer, and storage medium
WO2018201315A1 (en) * 2017-05-03 2018-11-08 Apple Inc. Data radio bearer re-establishment throttle timer customization

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2523891T3 (en) * 2010-10-01 2014-12-02 Nokia Solutions And Networks Oy Radio resource control connection release message wait timer
KR101954495B1 (en) * 2015-09-23 2019-03-07 주식회사 케이티 Methods for controlling mobility of UE and Apparatuses thereof
CN113455097A (en) * 2019-03-29 2021-09-28 华为技术有限公司 Method and device for recovering link failure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018019052A1 (en) * 2016-07-29 2018-02-01 深圳市中兴微电子技术有限公司 Method and device for restarting time alignment (ta) timer, and storage medium
WO2018201315A1 (en) * 2017-05-03 2018-11-08 Apple Inc. Data radio bearer re-establishment throttle timer customization

Also Published As

Publication number Publication date
CN112702804A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN110839301B (en) Information processing method, terminal and network equipment for radio link failure
CN110267245B (en) Communication control method and electronic device
CN109429287B (en) Network mode switching method, user terminal and computer readable storage medium
WO2021227615A1 (en) Method for improving call quality, and terminal
EP1903823A2 (en) Method of handling radio link failure in wireless communications system and related device
WO2020063834A1 (en) Method and apparatus for transmitting information
KR101975195B1 (en) Base station and method connecting user equipment thereof
CA2936153A1 (en) Wireless communication system for reporting radio link information of a first radio link via a second radio link when radio link problem has occurred in the first radio link
CN106954270B (en) Method and device for monitoring radio resource control process
TW201220916A (en) Radio resource control connection release message wait timer
WO2012125092A1 (en) Method and arrangement for managing radio link failure
CN105657860A (en) Method and device for improving data service response speed
CN116249227A (en) Method and UE for connection establishment avoiding unnecessary actions
CN113727455A (en) Communication method, related equipment and system
EP4247061A1 (en) Communication method, apparatus, and system
US20230388876A1 (en) Connection establishment method and apparatus, and communication device and storage medium
CN112702804B (en) Data connection reconstruction method and device, terminal and storage medium
CN111935808A (en) Method and device for suspending RRC connection and computer storage medium
CN108924963B (en) Method, terminal and base station for keeping air interface state synchronization
WO2014139084A1 (en) Signalling procedures for data transmissions
CN110169146B (en) Discontinuous reception management method and device
EP3057377B1 (en) Network device, terminal device and voice service control method
EP2787766B1 (en) Method and terminal for processing data transmission service
CN109246719B (en) Wireless communication method, base station, and computer-readable storage medium
JP2012500557A (en) Reestablishing the interface between MME and Node B using backoff time

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