Connection release method and device, equipment, storage medium and product
In the NB-IoT environment, the user equipment sends a status report to the base station after receiving the RRC connection release information and releases the connection after the report is sent. This solves the problem of inconsistent connection status, reduces business delay and power consumption, and improves user experience. experience.
Patent Information
- Application Number
- CN202410160391.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2024-10-18
AI Technical Summary
In the NB-IoT environment, when the RRC connection between the UE and the eNB is released, the connection status may be inconsistent, resulting in increased service delay and increased user equipment power consumption.
After receiving the RRC connection release information sent by the base station, the user equipment sends a status report to the base station carrying a status reply request, and releases the RRC connection after confirming that the report is sent.
It ensures the consistency of the connection status between the base station and the user equipment, reduces service delay and the power consumption of the user equipment, and improves the business experience.
Smart Images

Figure CN118804422A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to wireless communication technology, and in particular to a connection release method, device, equipment, storage medium and product. Background Art
[0002] In the NB-IoT (Narrow Band Internet of Things) environment, when communicating between UE (User Equipment) and eNB (Evolved Node B, LTE base station), it is necessary to establish an RRC (Radio Resource Control) connection between the UE and the eNB. After the communication is completed, the RRC connection between the eNB and the UE can be released.
[0003] At present, the more common RRC release method is that when the UE receives the RRC connection release information sent by the eNB, the UE will start a timer, and when the timer expires, the RRC connection on the UE side will be released and enter the idle state. After that, the eNB will also release the RRC connection accordingly.
[0004] In this way, when the eNB needs to receive the status report of the reception of the RRC connection release information replied by the UE before releasing the RRC connection, if the status report that the UE needs to reply to the eNB before the timer expires has not been sent, it may cause the connection status between the eNB and the UE to be inconsistent. Based on this, if the UE happens to have a service trigger to re-establish the RRC connection during this time period, the eNB will refuse or continue to release the connection with the UE, and the UE will repeatedly access, and the result will be failure. Only after the timer on the eNB side expires and releases the previously established RRC connection between the UE and the eNB, can normal access be restored. In this way, not only the service delay is increased and the service experience is affected, but the repeated access of the UE will also increase its power consumption. Summary of the invention
[0005] The embodiments of the present application provide a connection release method, apparatus, device, storage medium and product, which can maintain the consistency of the connection status between the base station and the user equipment, reduce service delay, reduce the power consumption of the user equipment, and improve the service experience.
[0006] In a first aspect, an embodiment of the present application provides a connection release method, the method comprising:
[0007] Receiving radio resource control RRC connection release information sent by the base station;
[0008] In a case where the RRC connection release information carries a status reply request, sending a status report for the RRC connection release information to the base station;
[0009] When it is determined that the status report has been sent, the RRC connection is released.
[0010] In a second aspect, an embodiment of the present application provides a connection release device, the device comprising:
[0011] An information receiving module, used for receiving radio resource control RRC connection release information sent by a base station;
[0012] a report sending module, configured to send a status report for the RRC connection release information to the base station when the RRC connection release information carries a status reply request;
[0013] The connection release module is used to release the RRC connection when it is determined that the status report has been sent.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0015] When the processor executes the computer program instructions, the steps of the connection releasing method as described in any one of the embodiments of the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the connection release method described in any embodiment of the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the steps of the connection release method as described in any one of the embodiments of the first aspect.
[0018] The connection release method, apparatus, device, storage medium and product in the embodiments of the present application, after the user equipment receives the RRC connection release information sent by the base station, when the base station requires the user equipment to reply to the status report, sends a status report for the RRC connection release information to the base station, and releases the RRC connection when it is determined that the status report has been sent. In this way, since the user equipment releases the RRC connection only when it is determined that the status report replied to the base station has been sent, the consistency of the connection status between the base station and the user equipment can be maintained by ensuring that the status report is sent so that the base station releases the RRC connection in time. In addition, since the user equipment no longer needs to wait for a long time for the timer to time out, that is, the RRC connection is released immediately after the status report is sent, it is possible to reduce service delays, reduce power consumption of the user equipment, and thus improve service experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0020] Figure 1 This is an architecture diagram applicable to the connection release method provided in this application.
[0021] Figure 2 It is a schematic diagram of the structure of the internal protocol of the user equipment provided by this application.
[0022] Figure 3 It is a flowchart of a connection release method provided by an embodiment of the present application;
[0023] Figure 4 is a schematic structural diagram of a connection release device provided by an embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0025] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0026] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0027] The following first introduces the architecture applicable to the connection release method provided in this application.
[0028] Figure 1 This is an architecture diagram applicable to the connection release method provided in this application.
[0029] like Figure 1 As shown, the architecture includes multiple user devices 11 and base stations 12. An RRC connection can be established between the multiple user devices 11 and the base stations 12, and communication is performed based on the RRC connection, thereby realizing IoT communication between the multiple user devices 11. The user devices 11 may include terminal devices such as mobile phones, tablets, and smart furniture, and the base stations 12 may include eNBs, etc. In addition, as Figure 2 As shown, the user equipment 11 may include four layers from top to bottom: an RRC layer 101, an RLC (Radio Link Control) layer 102, a MAC (Medium Access Control) layer 103 and a PHY (Physical layer) 104.
[0030] At present, in the NB-IoT environment, after the UE receives the RRC connection release information sent by the eNB, if the RRC connection release information carries a poll request, that is, the eNB requires the UE to reply to it with a corresponding status report when receiving the RRC connection release information, so that the eNB can release the RRC connection with the UE, then the RRC layer in the UE will query the minimum release time of the NV (non-valitile, non-volatile configuration file), and compare the minimum release time with the preset release timer (for example, 10 seconds), and take the smaller one as the timing duration of the new release timer and start it. After the release timer times out, the UE will start to release the local context entity content to release the RRC connection.
[0031] In this way, the status report that the UE needs to reply to the eNB before the release timer times out may not be sent completely, resulting in the failure of the status report to be successfully sent to the eNB. The eNB side cannot receive the status report corresponding to the RRC connection release information, and cannot release the RRC connection related to the UE in time. If the UE happens to have a service trigger to re-establish the RRC connection during this time period, the eNB will reject or continue to release the RRC connection with the UE. The UE will access repeatedly, and the results will always fail. Only after the timer on the eNB side times out and releases the previously established RRC connection with the UE, can normal access be restored. This not only increases the service delay and affects the service experience, but also the repeated access of the UE will increase its power consumption.
[0032] In order to solve the problems of the prior art, the embodiments of the present application provide a connection release method, device, equipment, storage medium and product. The connection release method can be applied to the scenario of releasing the RRC connection between the user equipment and the base station in the Internet of Things. The connection release method provided by the embodiments of the present application is first introduced below.
[0033] Figure 3 1 is a flow chart of a connection release method provided by an embodiment of the present application. The connection release method may be executed by a user equipment UE, for example Figure 1 The user device 11 in.
[0034] like Figure 3 As shown, the connection release method may specifically include the following steps:
[0035] S310, receiving radio resource control RRC connection release information sent by the base station;
[0036] S320: When the RRC connection release information carries a status reply request, send a status report for the RRC connection release information to the base station;
[0037] S330: When it is determined that the status report has been sent, release the RRC connection.
[0038] Therefore, after receiving the RRC connection release information sent by the base station, the user equipment sends a status report for the RRC connection release information to the base station when the base station requires the user equipment to reply to the status report, and releases the RRC connection when it is determined that the status report has been sent. In this way, since the user equipment releases the RRC connection only when it is determined that the status report replied to the base station has been sent, the consistency of the connection status between the base station and the user equipment can be maintained by ensuring that the status report is sent so that the base station releases the RRC connection in time. In addition, since the user equipment no longer needs to wait for a long time for the timer to time out, that is, the RRC connection is released immediately after the status report is sent, the service delay can be reduced, the power consumption of the user equipment can be reduced, and the service experience can be improved.
[0039] The specific implementation methods of the above steps are introduced below.
[0040] In some implementations, in S310, the RRC connection release information may be, for example, an air interface message rrcConnectionRelease sent by the eNB.
[0041] Exemplarily, when the eNB needs to release the RRC connection between it and a certain UE, it can send an air interface message rrcConnectionRelease to the UE to instruct the UE to release the context entity content related to the RRC connection through the air interface message rrcConnectionRelease, thereby realizing the release of the RRC connection on the UE side.
[0042] In some embodiments, in S320, the status reply request may be, for example, a poll request. If the RRC connection release information carries a status reply request, it means that the base station requires the user equipment to reply to it with a corresponding status report after receiving the RRC connection release information. Among them, the status report may be used to confirm that the user equipment has received the RRC connection release information. Based on this, in the case where the RRC connection release information carries a status reply request, the user equipment may reply to the base station with a status report for the RRC connection release information.
[0043] In some specific examples, when the eNB needs to release the RRC connection with the UE, it can send an air interface message rrcConnectionRelease to the UE. If the RLC layer of the UE receives and detects that the air interface message carries a poll request (wherein the RLC header can be provided with a poll bit, the length of which is 1 bit and is set to "1"), the RLC layer can reassemble the air interface message, remove the header of the RLC layer protocol, and pass the data to the RRC layer by sending an internal message A, and set the poll request identifier (e.g., poll flag) to a value of "1", that is, the data requires the RLC layer to send a status report.
[0044] After the RRC layer of the UE receives the internal message A, it can be found after decoding the data that the uploaded data is the air interface message rrcConnectionRelease, and the value of the corresponding poll request identifier is "1", that is, the air interface message requires the RLC layer to send a status report, then an internal message B is sent to notify the RLC layer to send the status report corresponding to the air interface message rrcConnectionRelease.
[0045] After receiving the internal message B, the RLC layer of the UE may trigger the sending of a status report for the air interface message rrcConnectionRelease to the eNB.
[0046] In some implementations, in S330, after sending a status report regarding RRC connection release information to the base station, the UE may detect whether the status report has been sent, and then, if it is determined that the status report has been sent, release the corresponding context entity content to release the RRC connection.
[0047] Exemplarily, the manner in which the UE determines whether the status report has been sent may include changing the value of the status report sending identifier after the lower layer has sent the status report, and the upper layer actively detecting the value corresponding to the corresponding status report sending identifier, and determining whether the lower layer has sent the status report through the value. In addition, the lower layer may actively send a message to the upper layer indicating that the status report has been sent when the status report has been sent, so that the upper layer knows, thereby controlling the entry into the RRC connection release process.
[0048] In addition, in some implementations, when the RRC connection release information carries a status reply request, the connection release method provided in the embodiment of the present application may further include:
[0049] The first timer is started by the RRC layer.
[0050] Based on this, when it is determined that the status report has been sent, the connection release method provided in the embodiment of the present application may further include:
[0051] The first timer is stopped by the RRC layer.
[0052] Here, the first timer may be, for example, a release timer, and the timer may have a preset duration, such as 10 seconds by default of the protocol.
[0053] Exemplarily, when the RRC layer of the UE determines that the air interface message rrcConnectionRelease uploaded by the RLC layer needs to send a status report, the RRC layer can start the first timer while sending an internal message B to the RLC layer to notify the RLC layer to send a status report of the air interface message rrcConnectionRelease, so that when the status report cannot be sent, the RRC connection release process can be started in time after a certain delay period. In addition, when the RRC layer determines that the status report has been sent, the first timer can be stopped in time to start the RRC connection release process in time to reduce service delays.
[0054] In addition, with respect to one of the ways to determine that the status report has been sent, in some implementations, after the above S320, the connection release method provided in the embodiment of the present application may further include:
[0055] When the media access control MAC layer determines that the physical layer has completed sending the status report, the MAC layer sets the value corresponding to the status report sending identifier to the first target value.
[0056] Based on this, the determination in S330 that the status report has been sent may specifically include:
[0057] The value corresponding to the status report sending identifier is detected by the radio link control RLC layer;
[0058] When the value corresponding to the status report sending identifier is the first target value, the RLC layer sends first notification information to the RRC layer;
[0059] When the RRC layer receives the first notification information, it determines that the status report has been sent.
[0060] Here, the status report sending flag may be a flag for indicating whether the status report has been sent, such as a status report sending flag. The first target value may be a value indicating that the status report has been sent, such as "1". In addition, the first notification information may be an internal message used for notification between different layers.
[0061] Exemplarily, when the MAC layer in the UE determines that the PHY has completed sending the status report, the MAC layer may set the value corresponding to the status report sending flag to "1" to indicate that the status report has been sent. After the RLC layer has controlled the lower layer to send a status report to the eNB, it may actively detect whether the value corresponding to the status report sending flag is "1". Due to the software thread scheduling priority, the event of sending the status report may have been executed before the RLC layer detects the value of the status report sending flag. Therefore, when the RLC layer finds that the value corresponding to the status report sending flag is "1" through active detection, the RLC layer may send an internal message D to the RRC layer to indicate that the status report corresponding to the air interface message rrcConnectionRelease has been sent. In this way, after receiving the internal message D, the RRC layer can enter the RRC connection release process.
[0062] Based on this, in order to prevent the historical value of the status report sending identifier from affecting the judgment of the status report sending result that needs to be sent currently, in some embodiments, in S320, when a status reply request is carried in the RRC connection release information, and before sending a status report for the RRC connection release information to the base station, the connection release method provided in the embodiment of the present application may also include:
[0063] The RLC layer resets the value corresponding to the status report sending identifier to the second target value.
[0064] Here, the second target value may be a value indicating that the status report has not been sent, such as "0".
[0065] Exemplarily, after the RLC layer reorganizes the air interface message rrcConnectionRelease sent by the eNB and delivers the data to the RRC layer by sending an internal message A, the RLC layer can reset the status report sending flag to "0" to set the status of the sending report to the unsent state, clear the historical sending status, and avoid affecting the sending status judgment of this status report.
[0066] In addition, with respect to the manner in which the MAC layer determines that the physical layer has completed sending the status report, in some implementations, in the process of sending a status report for RRC connection release information to the base station in S320 above, the connection release method provided in the embodiment of the present application may further include:
[0067] In the case where the MAC layer detects an uplink data packet to be sent, detecting whether the uplink data packet contains a status report;
[0068] When the uplink data packet includes a status report, the MAC layer sends a feedback request to the physical layer, and the feedback request is used to instruct the physical layer to send second notification information to the MAC layer when the uplink data packet is sent completely.
[0069] Based on this, the MAC layer determines that the physical layer has completed sending the status report, which may specifically include:
[0070] When the MAC layer receives the second notification information, the MAC layer determines that the physical layer has completed sending the status report.
[0071] Here, the uplink data packet may be a data packet that needs to be sent to the base station and can carry the status report, such as a data packet formed by the MAC layer receiving an UL Grant (UpLink Grant) for packet assembly - MAC PDU (Protocol Data Unit). The second notification information may be an internal message used for notification between different layers.
[0072] Exemplarily, when the MAC layer receives a UL Grant for packet transmission, if it detects that the status report to be sent by the RLC layer is included, it requests the PHY to successfully send the current MAC PDU and then notify the MAC layer through an internal message C. After the PHY completes sending the MAC PDU containing the status report, it can reply to the MAC layer with the internal message C. After receiving the internal message C, the MAC layer can determine that the PHY has completed sending the status report, and then set the status report sending flag to "1", that is, the status report is successfully sent, so that the RLC layer can determine whether the status report is sent by detecting the value of the status report sending flag.
[0073] In addition, in order for the UE lower layer to send other data to the base station and not to feed back the sending result to the upper layer, it is possible to choose not to feed back the corresponding sending result to the upper layer, so that the operation of sending the result is more selective. In some embodiments, when the RRC connection release information carries a status reply request, the connection release method provided in the embodiment of the present application may further include:
[0074] The RLC layer sets the value corresponding to the sending status feedback identifier to the third target value.
[0075] Based on this, the sending of the first notification information by the RLC layer to the RRC layer may specifically include:
[0076] The RLC layer detects the value corresponding to the sending status feedback identifier;
[0077] When the value corresponding to the sending status feedback identifier is the third target value, the RLC layer sends the first notification information to the RRC layer.
[0078] Here, the sending status feedback flag may be a flag indicating whether the RRC layer needs the lower layer to reply the data sending status, such as a message confirmation flag. In addition, the third target value may be a value indicating that the RRC layer needs the lower layer to reply the data sending status, such as "1".
[0079] Exemplarily, after receiving the internal message B sent by the RRC layer, the RLC layer may set the value of the message confirmation flag to "1", that is, the RLC layer is required to reply the RRC layer with the internal message D after determining that the status report has been sent. In this way, before the RLC layer sends the internal message D to the RRC layer, it can detect whether the value of the message confirmation flag is "1". If it is determined that the value of the message confirmation flag is "1", the internal message D can be sent to the RRC layer, otherwise the internal message D is not sent to the RRC layer.
[0080] In addition, in order to prevent the historical value of the sending status feedback identifier from affecting the judgment of whether the RLC layer currently needs to report the data sending status to the RRC layer, in some implementations, after the RLC layer sends the first notification information to the RRC layer, the connection release method provided in the embodiment of the present application may further include:
[0081] The RLC layer resets the value corresponding to the sending status feedback identifier to the fourth target value.
[0082] Here, the fourth target value may be a value indicating that the RRC layer does not require the lower layer to reply to the data sending status, for example, "0".
[0083] Exemplarily, after the RLC layer confirms that the status report has been sent and sends an internal message D to the RRC layer, the RLC layer may reset the message confirmation flag to "1" to end the sending process and clear the historical status.
[0084] In addition, with respect to another method for determining that the status report has been sent, in some implementations, after S320, the connection release method provided in the embodiment of the present application may further include:
[0085] When the MAC layer determines that the physical layer has completed sending the status report, the MAC layer calls the RLC layer function to send the first notification information to the RRC layer using the RLC layer function.
[0086] Based on this, the determination in S330 that the status report has been sent may specifically include:
[0087] When the RRC layer receives the first notification information, it determines that the status report has been sent.
[0088] For example, if the RLC layer detects that the value of the status report sending flag is not "1" after receiving the internal message B sent by the RRC layer and triggering the status report sending process, then in order to save the power consumption of the UE, the status report sending flag may no longer be detected in real time, and the status report sending status may be determined by waiting for the lower layer to report after the status report is sent. That is, when the MAC layer determines that the physical layer has sent the status report, it can actively call the function of the RLC layer to use the RLC layer function to send an internal message D to the RRC layer, so that the RRC layer can enter the process of releasing the RRC connection in time after receiving the internal message D.
[0089] It should be noted that the manner in which the MAC layer determines that the physical layer has completed sending the status report may be the same as the relevant content in the aforementioned embodiment, and will not be elaborated herein.
[0090] In addition, in the case where the RRC connection release information does not carry a poll request, that is, the eNB does not require the UE to reply to the status report, the current more common RRC connection release method is that after the UE receives the RRC connection release information sent by the eNB, the UE will start a release timer (for example, 10 seconds), and only after the release timer times out will the local context entity content be released to release the RRC connection. In this way, since the release time on the UE side is long, it will also cause a long service delay, affecting the service experience, and the long wait will also increase the power consumption of the UE.
[0091] In order to solve the technical problem in the above situation, in some implementations, after the above S310, the connection release method provided in the embodiment of the present application may further include:
[0092] If the RRC connection release message does not carry a status reply request, the RRC layer calls the physical layer interface to query the sending time of the reception confirmation reply message corresponding to the RRC connection release message;
[0093] Setting a second timer according to the duration of sending the received confirmation reply message;
[0094] Starting a second timer;
[0095] When the second timer expires, the RRC connection is released.
[0096] Here, the reception confirmation reply information may be feedback information between physical layers for confirming that information has been successfully received, such as HARQ ACK (Hybrid Automatic Repeat Request Acknowledgement).
[0097] Exemplarily, the eNB sends an air interface message rrcConnectionRelease to the UE. If the RLC layer of the UE receives and detects that the air interface message does not carry a poll request (for example, the poll bit is not set in the RLC header, or the poll bit is set to "0"), the RLC layer can reorganize the air interface message, remove the header of the RLC layer protocol, and pass the data to the RRC layer by sending an internal message A, and set the value corresponding to the poll request identifier (for example, poll flag) to "0", that is, the data does not need to send a status report.
[0098] After the RRC layer of the UE receives the internal message A, it can be found after decoding the data that the uploaded data is the air interface message rrcConnectionRelease, and the corresponding poll request identifier has a value of "0", that is, the air interface message does not require the RLC layer to send a status report, then the PHY interface is called to query the HARQ ACK transmission duration corresponding to the air interface message rrcConnectionRelease, and this is used as the timing duration of the second timer. Among them, the transmission duration can be the duration from the current time T0 to the end time T1 of the transmission, that is, calculated by T1-T0, and the end time T1 of the transmission can be estimated based on the start time of the HARQ ACK transmission and the expected transmission duration.
[0099] After setting the timing duration corresponding to the second timer according to the sending duration of the HARQ ACK, the RRC layer of the UE may start the second timer, and start releasing the RRC connection after waiting for the second timer to time out.
[0100] In this way, compared with setting a fixed timing duration, dynamically determining the timing duration of the timer according to the sending of the lower-layer information can minimize service delays while ensuring the normal operation of the business, speed up the release of the RRC connection on the UE side, thereby reducing the increase in UE power consumption and improving the service experience.
[0101] It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0102] Based on the same inventive concept, the present application also provides a connection release device. Figure 4 Provide detailed explanation.
[0103] Figure 4 It is a structural schematic diagram of a connection release device provided in one embodiment of the present application.
[0104] like Figure 4 As shown, the connection release device 400 may include:
[0105] The information receiving module 401 is used to receive the radio resource control RRC connection release information sent by the base station;
[0106] A report sending module 402, configured to send a status report for the RRC connection release information to the base station when the RRC connection release information carries a status reply request;
[0107] The connection release module 403 is used to release the RRC connection when it is determined that the status report has been sent.
[0108] The connection release device 400 is described in detail below, as shown below:
[0109] In some embodiments, the connection release device 400 further includes:
[0110] A first setting module is configured to, after sending a status report for the RRC connection release information to the base station, set, by the MAC layer, a value corresponding to a status report sending identifier to a first target value when the MAC layer determines that the physical layer has completed sending the status report;
[0111] The connection release module 403 includes:
[0112] A first detection submodule, configured to detect, by a radio link control RLC layer, a value corresponding to the status report sending identifier;
[0113] A first sending submodule, configured to, when a value corresponding to the status report sending identifier is the first target value, send first notification information from the RLC layer to the RRC layer;
[0114] The first determining submodule is used to determine that the status report has been sent when the RRC layer receives the first notification information.
[0115] In some embodiments, the connection release device 400 further includes:
[0116] The first reset module is used to reset the value corresponding to the status report sending identifier to a second target value by the RLC layer before sending a status report for the RRC connection release information to the base station when the RRC connection release information carries a status reply request.
[0117] In some embodiments, the connection release device 400 further includes:
[0118] A first detection module is used to detect whether the uplink data packet contains the status report when the MAC layer detects an uplink data packet to be sent during the process of sending the status report for the RRC connection release information to the base station;
[0119] A first sending module, configured to, when the uplink data packet includes the status report, send a feedback request from the MAC layer to the physical layer, wherein the feedback request is used to instruct the physical layer to send second notification information to the MAC layer when the uplink data packet is completely sent;
[0120] The first setting module is specifically used for:
[0121] When the MAC layer receives the second notification information, the MAC layer determines that the physical layer has completed sending the status report.
[0122] In some embodiments, the connection release device 400 further includes:
[0123] A second setting module is configured to set, by the RLC layer, a value corresponding to a sending status feedback identifier to a third target value when a status reply request is carried in the RRC connection release information;
[0124] The first sending submodule includes:
[0125] A first detection unit, configured to detect, by the RLC layer, a value corresponding to the sending state feedback identifier;
[0126] The first sending unit is used to send first notification information from the RLC layer to the RRC layer when the value corresponding to the sending status feedback identifier is the third target value.
[0127] In some embodiments, the connection release device 400 further includes:
[0128] The second resetting module is used to reset the value corresponding to the sending status feedback identifier to a fourth target value by the RLC layer after the RLC layer sends the first notification information to the RRC layer.
[0129] In some embodiments, the connection release device 400 further includes:
[0130] a function calling module, configured to, after sending a status report for the RRC connection release information to the base station, call the RLC layer function by the MAC layer when the MAC layer determines that the physical layer has completed sending the status report, so as to use the RLC layer function to send first notification information to the RRC layer;
[0131] The connection release module 403 includes:
[0132] The second determining submodule is used to determine that the status report has been sent when the RRC layer receives the first notification information.
[0133] In some embodiments, the connection release device 400 further includes:
[0134] A first starting module, configured to start a first timer by the RRC layer when a status reply request is carried in the RRC connection release information;
[0135] The first stopping module is used to stop the first timer by the RRC layer when it is determined that the status report has been sent.
[0136] In some embodiments, the connection release device 400 further includes:
[0137] A duration query module, configured to, after receiving the radio resource control RRC connection release information sent by the base station, in the case where the RRC connection release information does not carry the status reply request, query the sending duration of the reception confirmation reply information corresponding to the RRC connection release information by the RRC layer calling the physical layer interface;
[0138] A second setting module is used to set a second timer according to the sending duration of the reception confirmation reply information;
[0139] A second starting module, used to start the second timer;
[0140] A timeout release module is used to release the RRC connection when the second timer times out.
[0141] Therefore, after receiving the RRC connection release information sent by the base station, the user equipment sends a status report for the RRC connection release information to the base station when the base station requires the user equipment to reply to the status report, and releases the RRC connection when it is determined that the status report has been sent. In this way, since the user equipment releases the RRC connection only when it is determined that the status report replied to the base station has been sent, the consistency of the connection status between the base station and the user equipment can be maintained by ensuring that the status report is sent so that the base station releases the RRC connection in time. In addition, since the user equipment no longer needs to wait for a long time for the timer to time out, that is, the RRC connection is released immediately after the status report is sent, the service delay can be reduced, the power consumption of the user equipment can be reduced, and the service experience can be improved.
[0142] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.
[0143] The electronic device 500 may include a processor 501 and a memory 502 storing computer program instructions.
[0144] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0145] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.
[0146] In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.
[0147] The processor 501 implements any one of the connection release methods in the above embodiments by reading and executing the computer program instructions stored in the memory 502 .
[0148] In some examples, the electronic device 500 may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0149] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0150] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus 510 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0151] Exemplarily, the electronic device 500 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).
[0152] The electronic device 500 can execute the connection release method in the embodiment of the present application, thereby realizing the connection Figure 3 and Figure 4 A connection release method and device are described.
[0153] In addition, in combination with the connection release method in the above embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the connection release methods in the above embodiment is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.
[0154] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0155] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0156] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0157] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0158] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A connection release method, characterized in that: include: Receiving radio resource control RRC connection release information sent by the base station; In a case where the RRC connection release information carries a status reply request, sending a status report for the RRC connection release information to the base station; When it is determined that the status report has been sent, the RRC connection is released.
2. The method according to claim 1, characterized in that After sending a status report for the RRC connection release information to the base station, the method further includes: When the media access control MAC layer determines that the physical layer has completed sending the status report, the MAC layer sets the value corresponding to the status report sending identifier to a first target value; The determining that the status report has been sent includes: The radio link control RLC layer detects a value corresponding to the status report sending identifier; When the value corresponding to the status report sending identifier is the first target value, the RLC layer sends first notification information to the RRC layer; When the RRC layer receives the first notification information, it determines that the status report has been sent.
3. The method according to claim 2, characterized in that In a case where the RRC connection release information carries a status reply request, before sending a status report for the RRC connection release information to the base station, the method further includes: The RLC layer resets the value corresponding to the status report sending identifier to a second target value.
4. The method according to claim 2, characterized in that: In the process of sending a status report for the RRC connection release information to the base station, the method further includes: In a case where the MAC layer detects an uplink data packet to be sent, detecting whether the uplink data packet includes the status report; In a case where the uplink data packet includes the status report, the MAC layer sends a feedback request to the physical layer, wherein the feedback request is used to instruct the physical layer to send second notification information to the MAC layer when the uplink data packet is completely sent; The MAC layer determines that the physical layer has completed sending the status report, including: When the MAC layer receives the second notification information, the MAC layer determines that the physical layer has completed sending the status report.
5. The method according to claim 2, characterized in that: In the case where the RRC connection release information carries a status reply request, the method further includes: The RLC layer sets the value corresponding to the sending status feedback identifier to a third target value; The sending, by the RLC layer, the first notification information to the RRC layer includes: The RLC layer detects a value corresponding to the sending status feedback identifier; When the value corresponding to the sending status feedback identifier is the third target value, the RLC layer sends first notification information to the RRC layer.
6. The method according to claim 5, characterized in that After the RLC layer sends the first notification information to the RRC layer, the method further includes: The RLC layer resets the value corresponding to the sending status feedback identifier to a fourth target value.
7. The method according to claim 1, characterized in that After sending a status report for the RRC connection release information to the base station, the method further includes: When the MAC layer determines that the physical layer has completed sending the status report, the MAC layer calls the RLC layer function to send the first notification information to the RRC layer by using the RLC layer function; The step of determining that the status report has been sent includes: When the RRC layer receives the first notification information, it determines that the status report has been sent.
8. The method according to claim 1, characterized in that In the case where the RRC connection release information carries a status reply request, the method further includes: The RRC layer starts a first timer; In the case where it is determined that the status report has been sent, the method further includes: The first timer is stopped by the RRC layer.
9. The method according to claim 1, characterized in that: After receiving the radio resource control RRC connection release information sent by the base station, the method further includes: When the RRC connection release information does not carry the status reply request, the RRC layer calls the physical layer interface to query the sending duration of the reception confirmation reply information corresponding to the RRC connection release information; Setting a second timer according to the sending duration of the reception confirmation reply information; Starting the second timer; When the second timer expires, the RRC connection is released.
10. A connection release device, characterized in that: include: An information receiving module, used for receiving radio resource control RRC connection release information sent by a base station; a report sending module, configured to send a status report for the RRC connection release information to the base station when the RRC connection release information carries a status reply request; The connection release module is used to release the RRC connection when it is determined that the status report has been sent.
11. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the steps of the connection release method according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the connection release method according to any one of claims 1 to 9 are implemented.
13. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the steps of the connection release method as described in any one of claims 1 to 9.
