WO2018171470A1 - Method for maintaining air interface state synchronization, terminal, base station and storage medium - Google Patents

Method for maintaining air interface state synchronization, terminal, base station and storage medium Download PDF

Info

Publication number
WO2018171470A1
WO2018171470A1 PCT/CN2018/078861 CN2018078861W WO2018171470A1 WO 2018171470 A1 WO2018171470 A1 WO 2018171470A1 CN 2018078861 W CN2018078861 W CN 2018078861W WO 2018171470 A1 WO2018171470 A1 WO 2018171470A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
base station
state
context
timing
Prior art date
Application number
PCT/CN2018/078861
Other languages
French (fr)
Chinese (zh)
Inventor
戴谦
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018171470A1 publication Critical patent/WO2018171470A1/en

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a method, a terminal, a base station, and a storage medium for maintaining air interface state synchronization.
  • LTE Long Term Evolution
  • 3GPP 3rd Generation Partnership Project
  • 5G New RAT The new Radio Access Technology of The 5th In the Generation Mobile Communication Technology
  • RAN Radio Access Network
  • 5G New RAT 5th In the Generation Mobile Communication Technology
  • both the light connected state and the inactive state belong to the sub-state of the Radio Resource Control (RRC) connection state. If the terminal is in the light connected state or the inactive state, Its RRC connection with the base station remains, and the signaling bearer and data bearer remain.
  • RRC Radio Resource Control
  • the eNB When the terminal is in the inactive state or the light connected state, in the process of establishing the RRC connection, or during the process of restoring the RRC connection, or during the process of transmitting the inactive uplink data transmission (inactive Up Data Transmit, inactive UL Data Tx)
  • the eNB sends the RRC reject signaling, but the terminal does not receive the RRC reject.
  • the terminal considers that the terminal is in the idle state; the terminal is actually in the inactive state or the light connected state.
  • the eNB when the terminal is in the inactive state or the light connected state, if the terminal sends the uplink data in the inactive state or the light connected state, the eNB sends the RRC release signaling, but the terminal fails to receive the terminal, and the base station considers that the terminal is in the terminal. Idle state; the terminal is actually in the inactive state or the light connected state.
  • the base station detects a radio link failure (RLF) in the downlink data transmission, the base station deletes the terminal context (AS Context) autonomously, and sets the state of the terminal. The switch is in the idle state, but the terminal does not receive any RRC release signaling from the base station at this time, so the terminal considers that it is still in the inactive state or the light connected state.
  • RLF radio link failure
  • the embodiments of the present invention provide a method, a terminal, a base station, and a storage medium for maintaining air interface state synchronization, which implement state synchronization between a terminal and a base station in a specific case.
  • An embodiment of the present invention provides a method for maintaining air interface state synchronization, including:
  • the terminal When the terminal is in the RRC connection state, if the terminal detects that it meets the first preset condition, the terminal converts its state from the RRC connection state to the inactive state; wherein the first preset condition is a condition that the terminal must satisfy when the terminal changes its state from the RRC connected state to the inactive state;
  • the terminal When the terminal is in the inactive state, if the terminal detects that the second preset condition is met, the terminal converts its own state from the inactive state to the idle state; wherein, the second The preset condition is a condition that the terminal must satisfy to convert its own state from the inactive state to the idle state.
  • the first preset condition includes:
  • the uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have to be transmitted to the base station to be transmitted.
  • Data and the terminal obtains an AS context ID sent by the base station; where the AS context ID is allocated by the base station, and is used to identify a terminal access layer context AS context stored in the base station.
  • the first preset condition further includes:
  • the terminal generates an RLF caused by an uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have a data to be transmitted that needs to be sent to the base station, and the The terminal obtains the AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station.
  • the first preset condition further includes:
  • the first timer is started or restarted when the terminal sends and receives data, and the timing of the first timer exceeds a first timing value, and the terminal obtains an AS context ID sent by the base station;
  • the AS context ID is allocated by the base station, and is used to identify a terminal AS context stored in the base station;
  • the first timing value is a maximum timing duration of the first timer, and the first The timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  • the second preset condition includes:
  • the terminal generates RLF, and the terminal fails to reselect other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
  • the second preset condition further includes:
  • the second timer Starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds a second timing value; wherein the second timer is at the terminal The timing is stopped when the uplink transmission succeeds or the downlink transmission succeeds; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
  • the second timer continues to be timed when the terminal reselects other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
  • the second preset condition further includes:
  • the third timing value is a maximum timing of the third timer
  • the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  • the method when the terminal is in the inactive state, the method further includes:
  • the terminal stores its own AS context.
  • An embodiment of the present invention provides a method for maintaining air interface state synchronization, where the method includes:
  • the third preset condition is a condition that the base station must satisfy to convert the state of the terminal from the RRC connected state to the inactive state;
  • the fourth preset condition is a condition that the base station must satisfy to convert the state of the terminal from the inactive state to the idle state.
  • the third preset condition includes:
  • the uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, And the base station stores the AS context of the terminal, and the base station sends an AS context ID to the terminal, where the AS context ID is used to identify a terminal AS context stored in the base station.
  • the third preset condition further includes:
  • the terminal generates an RLF due to uplink out-of-synchronization, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, and the base station
  • An AS context is stored in the terminal, and the base station sends an AS context ID to the terminal.
  • the AS context ID is used to identify a terminal AS context stored in the base station.
  • the third preset condition further includes:
  • the fourth preset condition includes: the terminal generates an RLF.
  • the fourth preset condition further includes:
  • the fourth preset condition further includes:
  • a sixth timer is started or restarted when data is transmitted and received by the terminal, and a timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception of the terminal includes the base station being the terminal Allocate uplink or downlink resource scheduling instructions.
  • the method when the terminal is in the inactive state, the method further includes:
  • the base station stores an AS context of the terminal.
  • the embodiment of the invention provides a terminal, including:
  • a first processing unit configured to: when the terminal is in an RRC connected state, if the terminal is configured to meet the first preset condition, the state of the terminal is changed from the RRC connected state to an inactive state;
  • a preset condition is a condition that the first processing unit must satisfy to convert a state of the terminal from the RRC connected state to an inactive state;
  • a second processing unit configured to: when the terminal is in the inactive state, if it is detected that the terminal meets the second preset condition, converting a state of the terminal from the inactive state to an idle state;
  • the second preset condition is a condition that the second processing unit must satisfy to convert the state of the terminal from the inactive state to the idle state.
  • the first preset condition includes:
  • the uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have to be transmitted to the base station to be transmitted.
  • Data and the terminal obtains an access layer context identifier AS context ID sent by the base station; where the AS context ID is allocated by the base station, and is used to identify a terminal access layer stored in the base station Context AS context.
  • the first preset condition further includes:
  • the terminal generates an RLF caused by an uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have a data to be transmitted that needs to be sent to the base station, and the The terminal obtains the AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station.
  • the first preset condition further includes:
  • the first timer is started or restarted when the terminal sends and receives data, and the timing of the first timer exceeds a first timing value, and the terminal obtains an AS context ID sent by the base station;
  • the AS context ID is allocated by the base station, and is used to identify a terminal AS context stored in the base station;
  • the first timing value is a maximum timing duration of the first timer, and the first The timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  • the second preset condition includes:
  • the terminal generates RLF, and the terminal fails to reselect other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
  • the second preset condition further includes:
  • the second timer Starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds a second timing value; wherein the second timer is at the terminal The timing is stopped when the uplink transmission succeeds or the downlink transmission succeeds; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
  • the second preset condition further includes:
  • the third timing value is a maximum timing of the third timer
  • the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  • the terminal further includes:
  • the first storage unit is configured to store an AS context of the terminal.
  • An embodiment of the present invention provides a base station, including:
  • a third processing unit configured to: when the terminal is in an RRC connected state, if the terminal and the base station are configured to meet a third preset condition, the state of the terminal is changed from the RRC connected state to an inactive state;
  • the third preset condition is a condition that the third processing unit must satisfy to convert the state of the terminal from the RRC connected state to the inactive state;
  • a fourth processing unit configured to: when the terminal is in the inactive state, if it is detected that the terminal meets the fourth preset condition, the state of the terminal is changed from the inactive state to the idle state;
  • the fourth preset condition is a condition that the fourth processing unit must satisfy to convert the state of the terminal from the inactive state to the idle state.
  • the third preset condition includes:
  • the uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, And the base station stores the AS context of the terminal, and the base station sends an AS context ID to the terminal, where the AS context ID is used to identify a terminal AS context stored in the base station.
  • the third preset condition further includes:
  • the terminal generates an RLF due to uplink out-of-synchronization, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, and the base station
  • An AS context is stored in the terminal, and the base station sends an AS context ID to the terminal.
  • the AS context ID is used to identify a terminal AS context stored in the base station.
  • the third preset condition further includes:
  • the fourth preset condition includes: the terminal generates an RLF.
  • the fourth preset condition further includes:
  • the fourth preset condition further includes:
  • a sixth timer is started or restarted when data is transmitted and received by the terminal, and a timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception of the terminal includes the base station being the terminal Allocate uplink or downlink resource scheduling instructions.
  • the terminal further includes: a second storage unit configured to store an AS context of the terminal.
  • the embodiment of the present invention further provides a terminal, including a processor and a memory storing the processor-executable instructions, and when the instruction is executed by the processor, performing the method of maintaining the air interface state synchronization implemented by the terminal side.
  • the embodiment of the present invention further provides a base station, including a processor and a memory storing the processor executable instructions, and when the instruction is executed by the processor, performing a method for maintaining an air interface state synchronization implemented by the base station side.
  • the embodiment of the present invention further provides a storage medium, where the computer-executable instructions are stored in the storage medium, and the computer-executable instructions are used to execute the foregoing method for maintaining air interface state synchronization.
  • the method, the terminal, the base station, and the storage medium for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal converts its own state from the RRC connection state. If the base station detects that the terminal and the terminal meet the third preset condition, the base station changes the state of the terminal from the RRC connection state to the inactive state. When the terminal is in the inactive state, the terminal detects that the terminal meets the second preset condition. The terminal converts its state from the inactive state to the idle state.
  • the base station If the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state, so that the terminal and the base station together state the state of the terminal.
  • the RRC connection state is switched to the inactive state, or from the inactive state to the idle state, so that the state synchronization can still be maintained between the terminal and the base station in a specific case.
  • FIG. 1 is a schematic flowchart 1 of a method for maintaining air interface state synchronization according to an embodiment of the present invention
  • FIG. 2 is a second schematic flowchart of a method for maintaining air interface state synchronization according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart 3 of a method for maintaining air interface state synchronization according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart 4 of a method for maintaining air interface state synchronization according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart 5 of a method for maintaining air interface state synchronization according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart 6 of a method for maintaining air interface state synchronization according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart diagram 7 of a method for maintaining air interface state synchronization according to an embodiment of the present disclosure
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a base station according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another base station according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
  • Scenario 1 When the terminal is in the RRC connected state, the terminal receives the suspend signaling sent by the eNodeB (e-Node B, eNB) of the LTE system, and the signaling is used to convert the terminal state to the light connected state. It is assumed that the terminal needs to feed back the acknowledgment of Radio Link Control (RLC ACK) to the eNB after receiving the signaling, so that the eNB confirms that the terminal has received the signaling, but in actuality, the ACK is changed due to the wireless channel. If the cause of the difference is not received by the eNB, the eNB will consider that the suspend signaling fails to be sent, and the terminal is still in the RRC connection state. In fact, the terminal successfully receives the suspend signaling and switches to the light connected state, so the terminal side appears. Not synchronized with the status of the base station side.
  • RLC ACK Radio Link Control
  • Scenario 2 When the terminal is in the RRC connected state, the eNB sends suspend signaling to the terminal, and prepares to convert the terminal to the light connected state, but in actuality, the signaling is not received by the terminal because the radio channel is degraded, then The eNB does not know that the terminal does not successfully receive the signaling, and the eNB converts the terminal state to the light connected state. In fact, the terminal does not receive the conversion signaling, and the state of the terminal is still in the RRC connection state, so the terminal side and the The base station side status is not synchronized.
  • Scenario 3 When the terminal is in the inactive state, if the terminal initiates an RRC connection establishment process, or an RRC connection recovery process, or uplink data transmission to the 5G base station (g-Node B, gNB), if the gNB is in the process due to the load If the terminal is too high and the terminal is rejected, the gNB sends an RRC reject message to the terminal, but the terminal does not successfully receive the message. Therefore, the base station considers that the terminal is in the idle state, and the terminal is still in the inactive state.
  • g-Node B g-Node B
  • Scenario 4 When the terminal is in the inactive state, if the terminal initiates uplink data transmission to the 5G base station gNB, the gNB sends an RRC release to the terminal because the load is too high, but the terminal fails to receive the message. It is in the idle state, and the terminal is still in the inactive state.
  • Scenario 5 When the terminal is in the inactive state, if the base station is transmitting downlink data to the terminal, the continuous transmission fails due to the deterioration of the wireless channel in the process. When the number of failures is too large, the base station determines that the terminal has RLF. At this time, the gNB will automatically convert the terminal state to the idle state, and since there is no explicit signaling to notify the terminal, the terminal does not know that the base station has been converted, and the terminal is still in the inactive state.
  • Scenario 6 When the terminal is in the inactive state, if the terminal is sending uplink data to the gNB, the continuous transmission fails due to the deterioration of the radio channel in the process. When the number of failures is too high, the terminal determines that the terminal has RLF. At this time, the terminal will automatically convert the terminal state to the idle state, and the base station does not know that the terminal has been converted, and the base station is still in the inactive state.
  • Scenario 1 and Scenario 2 describe the case where the RRC state of the existing LTE system mechanism is not synchronized on the terminal side and the base station side; and scenarios 3 to 6 describe that the RRC state existing in the existing LTE system mechanism is on the terminal side. The situation is not synchronized with the state of the base station side.
  • An embodiment of the present invention provides a schematic flowchart 1 of a method for maintaining an air interface state synchronization. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 When the terminal is in the RRC connected state, if the terminal detects that it meets the first preset condition, the terminal converts its own state from the RRC connected state to the inactive state.
  • the first preset condition is a condition that the terminal must satisfy when converting the state of the terminal from the RRC connected state to the inactive state.
  • Step 102 When the terminal is in the RRC connected state, if the base station where the terminal is located detects that the terminal and the terminal meet the third preset condition, the base station changes the state of the terminal from the RRC connected state to the inactive state.
  • the third preset condition is a condition that the base station must satisfy to convert the state of the terminal from the RRC connected state to the inactive state.
  • Step 103 When the terminal is in the inactive state, if the terminal detects that it meets the second preset condition, the terminal converts its own state from the inactive state to the idle state.
  • the second preset condition is a condition that the terminal must satisfy when converting the state of the state from the inactive state to the idle state.
  • the step 103: converting the terminal from the inactive state to the idle state may be implemented by the terminal.
  • Step 104 When the terminal is in the inactive state, if the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state.
  • the fourth preset condition is a condition that the base station must satisfy when converting the state of the terminal from the inactive state to the idle state.
  • step 101 implemented by the terminal and the step 102 implemented by the base station, that is, the terminal can implement step 101 while the terminal implements step 101;
  • steps 104 implemented by the base station, that is, the terminal can implement step 104 while the terminal implements step 103.
  • the method for maintaining the state of the air interface state is provided in this embodiment.
  • the terminal When the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal changes its state from the RRC connection state to the inactive state; if the base station detects The terminal and the terminal satisfy the third preset condition, and the base station changes the state of the terminal from the RRC connection state to the inactive state.
  • the terminal When the terminal is in the inactive state, if the terminal detects that it meets the second preset condition, the terminal sets its own state from the inactive state. The state is converted to the idle state. If the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state. In this way, the terminal and the base station convert the state of the terminal from the RRC connected state to the inactive state. Or from the inactive state to the idle state, so that the state and the base station can still maintain state synchronization in a specific case.
  • An embodiment of the present invention provides a schematic flowchart 2 of a method for maintaining an air interface state synchronization.
  • the method is used to describe how a terminal and a base station maintain an air interface state synchronization when the terminal is in an RRC connected state. As shown in FIG. 2, the method includes the following steps:
  • Step 201 When the terminal is in the RRC connection state, if the terminal detects the uplink out-of-synchronization of the terminal, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not exist, it needs to be sent to the base station.
  • the data to be transmitted, and the terminal obtains the access layer context identifier AS context ID sent by the base station, and the terminal converts its own state from the RRC connected state to the inactive state.
  • the AS context ID is allocated by the base station and is used to identify the terminal AS context stored in the base station.
  • the step 201 is implemented by: the terminal first detecting whether the uplink of the terminal is out of synchronization, and whether the terminal generates RLF, and whether the terminal receives the resource scheduling signaling sent by the base station, and whether the terminal needs to be sent to The data to be transmitted by the base station, and whether the terminal receives the AS context ID sent by the base station; when the uplink desynchronization of the terminal is detected, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal There is no data to be transmitted to be sent to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state to the inactive state.
  • Step 202 When the terminal is in the RRC connected state, if the base station detects the uplink out-of-synchronization of the terminal, and the RLF does not occur in the terminal, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have to be sent to the base station.
  • the data is transmitted, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station changes the state of the terminal from the RRC connection state to the inactive state.
  • the AS context ID is used to identify the terminal AS context stored in the base station.
  • the step 202 is implemented by: the base station first detecting whether the uplink of the terminal is out of synchronization, and whether the terminal has a radio link failure RLF, and whether the base station sends resource scheduling signaling to the terminal, and whether the terminal exists.
  • the base station Whether the data to be transmitted is sent to the base station, and whether the base station stores the AS context of the terminal, and whether the base station sends the AS context ID to the terminal; when the uplink desynchronization of the terminal is detected, and the terminal does not generate RLF, and the base station does not have
  • the resource scheduling signaling is sent to the terminal, and the terminal does not have the data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station converts the state of the terminal to the inactive state.
  • step 201 implemented by the terminal
  • step 202 implemented by the base station
  • the method for maintaining the air interface state synchronization is applicable to the problem described in the similar scenario 1 and scenario 2 that occurs in the 5G system mechanism, that is, the RRC state in the 5G system mechanism is on the terminal side and the base station side.
  • the problem is that the status is out of sync.
  • the method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the RRC connection state, if the terminal detects the uplink out of synchronization of the terminal, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station.
  • the terminal does not have the data to be transmitted to be sent to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state into an inactive state; if the base station detects the uplink out of synchronization of the terminal, and the terminal does not have The RLF is generated, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station will The state is converted to the inactive state. In this way, the terminal and the base station convert the state of the terminal from the RRC connection state to the inactive state, thereby achieving the purpose of maintaining state synchronization between the terminal and the base station in a specific case.
  • the embodiment of the present invention provides a schematic flowchart 3 of a method for maintaining the state of the air interface state.
  • the method is used to describe how the terminal and the base station maintain the air interface state synchronization when the terminal is in the RRC connection state. As shown in FIG. 3, the method includes the following steps:
  • Step 301 When the terminal is in the RRC connected state, if the terminal detects that the terminal has an RLF caused by the uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have to send to the base station. The data is transmitted, and the terminal obtains the AS context ID sent by the base station, and the terminal changes its state from the RRC connection state to the inactive state.
  • the AS context ID is allocated by the base station and is used to identify the terminal AS context stored in the base station.
  • the step 301 can be implemented in the following manner: the terminal first detects whether the terminal has an RLF caused by uplink out-of-synchronization, and whether the terminal receives the resource scheduling signaling sent by the base station, and whether the terminal needs to be sent to the base station. Data to be transmitted, and whether the terminal receives the AS context ID sent by the base station; detecting the RLF caused by the uplink out-of-synchronization of the terminal, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not exist to be sent. The data to be transmitted to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state into an inactive state.
  • Step 302 When the terminal is in the RRC connected state, if the base station detects that the terminal has an RLF caused by the uplink out-of-synchronization, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted that needs to be sent to the base station.
  • the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station changes the state of the terminal from the RRC connection state to the inactive state.
  • the AS context ID is used to identify the terminal AS context stored in the base station.
  • the step 302 is implemented by: the base station first detecting whether the terminal has an RLF caused by uplink out-of-synchronization, whether the base station sends resource scheduling signaling to the terminal, and whether the terminal has data to be transmitted to be sent to the base station.
  • the base station Whether the base station stores the AS context of the terminal, and whether the base station sends the AS context ID to the terminal; the RLF is detected by the terminal due to the uplink out-of-synchronization, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not There is a data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends an AS context ID to the terminal, and the base station converts the state of the terminal into an inactive state.
  • the terminal may implement step 302 while the terminal implements step 301.
  • the method for maintaining the state of the air interface state provided by this embodiment can also be used to solve the problems described in the scenario 1 and scenario 2 that appear in the 5G system mechanism.
  • the method for maintaining the air interface state synchronization when the terminal is in the RRC connected state, if the terminal detects that the terminal has an RLF caused by the uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, The terminal does not have the data to be transmitted to be sent to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state to the inactive state; if the base station detects the uplink out of synchronization of the terminal, and the terminal does not generate RLF And the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station converts the state of the terminal. In the inactive state, the terminal and the base station simultaneously convert the state of the terminal from the RRC connection state to the inactive state, thereby achieving
  • An embodiment of the present invention provides a schematic flowchart of a method for maintaining an air interface state synchronization. As shown in FIG. 4, the method is used to describe how a terminal and a base station maintain air interface state synchronization when the terminal is in an RRC connected state. The method includes the following steps:
  • Step 401 When the terminal is in the RRC connected state, if the terminal detects that the first timer is started or restarted when data is sent and received by the terminal, and the timing of the first timer exceeds the first timing, and the terminal obtains the base station The AS context ID is sent, and the terminal changes its state from the RRC connection state to the inactive state.
  • the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station;
  • the first timing value is the maximum timing duration of the first timer, and the first timing value is configured by the base station for the terminal in advance;
  • the occurrence of data transmission and reception includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  • the detecting process of starting or restarting the first timer when the terminal sends and receives data, and the detecting process of the first timer exceeds the first timing value comprises: the terminal first detecting whether the terminal generates and receives data, and detecting that the terminal occurs When the data is sent or received, the first timer is started, and then the terminal is continuously detected whether the data is transmitted and received again. If the terminal does not detect that the data is transmitted and received again, and the timing of the first timer exceeds the first timing, the detection process ends.
  • the terminal re-transmits the data, restarts the first timer, and then continuously detects whether the terminal has another data transmission and reception, until no data transmission and reception of the terminal is detected and the timing of the first timer exceeds the first timing value. The detection process ends.
  • Step 402 When the terminal is in the RRC connection state, if the base station detects that the fourth timer is started or restarted when data is transmitted and received by the terminal, and the timing of the fourth timer exceeds the fourth timing value, and the base station stores the terminal.
  • the AS context and the base station sends an AS context ID to the terminal, and the base station changes the state of the terminal from the RRC connected state to the inactive state.
  • the AS context ID is used to identify the terminal AS context stored in the base station; the data transmission and reception by the terminal includes the base station assigning an uplink or downlink resource scheduling instruction to the terminal.
  • the base station first detects whether the terminal generates data transmission and reception, and detects that the terminal occurs.
  • the fourth timer is started, and then the terminal is continuously detected whether the data is transmitted and received again. If the terminal does not detect that the data is transmitted and received again, and the timing of the fourth timer exceeds the fourth timing, the detection process ends.
  • the terminal re-transmits the data, restarts the fourth timer, and then continuously detects whether data transmission and reception occurs again, until no data transmission and reception of the terminal is detected and the timing of the fourth timer exceeds the fourth timing value, and the detection is performed. The process ends.
  • the setting of the first timing value and the setting of the fourth timing value are equal or there is a certain error, so that the terminal and the base station can convert the state of the terminal from the RRC connected state to the inactive state simultaneously or within a certain time error.
  • step 401 implemented by the terminal and the step 402 implemented by the base station
  • the terminal can implement step 402 while the terminal implements step 401.
  • the terminal and the base station may be out of synchronization between the RRC connection state and the inactive state, the party that does not enter the inactive state enters the inactive state over time (that is, after the preset value is exceeded), thereby realizing the state between the terminal and the base station.
  • the purpose of synchronization is not be performed by the terminal and the step 402 implemented by the base station.
  • the method for maintaining the state of the air interface state can also be used to solve the problems described in the scenario 1 and scenario 2 that appear in the 5G system mechanism.
  • the method for keeping the state of the terminal and the base station synchronized is basically the same as the method provided by the embodiment corresponding to FIG. 4, but in the embodiment corresponding to FIG. 4, the terminal and the base station are The state of the terminal is changed from the RRC connection state to the inactive state, and in the process of implementing the state synchronization between the terminal and the base station in scenario 1 and scenario 2, the terminal and the base station change the state of the terminal from the RRC connection state to the light connected state.
  • the method for maintaining the air interface state synchronization when the terminal is in the RRC connection state, if the terminal detects that the terminal generates data transmission and reception, the first timer is started or restarted, and the time duration of the first timer exceeds the a certain time value, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state into an idle state; if the base station detects that the fourth timer is started or restarted when the terminal transmits and receives data, and the fourth timer The chronograph duration exceeds the fourth timing value, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station converts the state of the terminal into the idle state; thus, the terminal and the base station together state the state of the terminal from the RRC.
  • the connection state is converted to the inactive state, so that the state synchronization can still be maintained between the terminal and the base station in a specific case.
  • the embodiment of the present invention provides a schematic flowchart of a method for maintaining the state of the air interface state. As shown in FIG. 5, the method is used to describe how the terminal and the base station maintain the air interface state synchronization when the terminal is in the inactive state. The method includes the following steps:
  • Step 501 When the terminal is in the inactive state, if the terminal detects that the terminal has RLF and the terminal fails to reselect other cells, the terminal changes its state from the inactive state to the idle state.
  • the step 501 can be implemented in the following manner: the terminal first detects whether the terminal has an RLF; and the terminal reselects whether the other cell fails; when detecting that the terminal has RLF, and the terminal fails to reselect other cells, the terminal sets its own state. Convert to idle state.
  • Step 502 When the terminal is in the inactive state, if the base station detects that the terminal has RLF, the base station changes the state of the terminal from the inactive state to the idle state.
  • the step 502 may include: the base station first detecting whether the terminal has an RLF; and detecting that the RLF occurs in the terminal, the base station converts the state of the terminal to an idle state.
  • step 501 implemented by the terminal
  • step 502 implemented by the base station
  • the method for maintaining the air interface state synchronization further includes: the terminal stores its own AS context, and the base station stores the AS context of the terminal. After the terminal converts its own state to the idle state, it saves its own AS context. This allows the terminal to support the RRC recovery process to reestablish the RRC connection.
  • the base station saves the AS context of the terminal after converting the state of the terminal to the idle state. The base station is subsequently supported to use the RRC recovery procedure to reestablish the RRC connection.
  • the method for maintaining the air interface state synchronization may be used to solve the problem described in the type scenarios 4 to 6 in the 5G system mechanism, that is, the RRC state in the 5G system mechanism is on the terminal side and the base station side state. The problem is not synchronized.
  • the method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the inactive state, if the terminal detects that the RLF has occurred and the other cell fails to be reselected, the terminal converts its own state to the idle state; if the base station detects The RLF occurs on the terminal, and the base station converts the state of the terminal to the idle state. In this way, the terminal and the base station convert the state of the terminal from the inactive state to the idle state, thereby achieving the purpose of maintaining state synchronization between the terminal and the base station in a specific situation. .
  • An embodiment of the present invention provides a schematic flowchart of a method for maintaining an air interface state synchronization. As shown in FIG. 6 , the method is used to describe how a terminal and a base station maintain an air interface state synchronization when the terminal is in an inactive state. The method includes the following steps:
  • Step 601 When the terminal is in the inactive state, if the terminal detects that the second timer is started or restarted when the terminal uplink transmission fails or the downlink transmission fails, and the timing of the second timer exceeds the second timing value, the terminal will The state of the self transitions from the inactive state to the idle state; wherein the fifth timer stops timing when the terminal uplink transmission succeeds or the downlink transmission succeeds.
  • the second timing value is a maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
  • the step 601 can be implemented in the following manner: the terminal first detects the uplink transmission of the terminal, and the downlink transmission fails. If the terminal uplink transmission fails or the downlink transmission fails, the terminal starts to detect that the uplink transmission fails or the downlink transmission fails. The second timer is timed.
  • the second timer stops counting, and when the terminal detects the terminal uplink transmission failure or downlink again The transmission fails, and the fifth timer is restarted at the time when the terminal uplink transmission failure or the downlink transmission failure is detected again, until the timing of the fifth timer can exceed the fifth timing value, and the terminal converts its own state into the idle state.
  • the second timer continues to time.
  • Step 602 When the terminal is in the inactive state, if the base station detects that the fifth timer is started or restarted when the terminal uplink transmission fails or the downlink transmission fails, and the time duration of the fifth timer exceeds the fifth timing value, the base station will The state of the terminal is changed from the inactive state to the idle state. The fifth timer stops timing when the base station detects that the terminal uplink transmission succeeds or the downlink transmission succeeds.
  • the step 602 can be implemented in the following manner: the base station first detects the uplink transmission of the terminal, and the downlink transmission fails. If the uplink transmission failure or the downlink transmission failure of the terminal is detected, the terminal starts to detect the uplink transmission failure or the downlink transmission fails.
  • the fifth timer is timed. When the timing of the fifth timer is within the fifth timing value and the terminal uplink transmission is successful or the downlink transmission is successful, the fifth timer stops counting, and when the base station detects the terminal uplink transmission failure or downlink again.
  • the transmission fails, and the fifth timer is restarted when the terminal uplink transmission failure or the downlink transmission fails is detected again, until the timing of the fifth timer can exceed the fifth timing value, and the base station converts the state of the terminal from the inactive state to Idle state.
  • step 601 implemented by the terminal
  • step 602 implemented by the base station
  • the second timing value and the fifth timing value may be set earlier.
  • the ground is converted to the idle state together without waiting for the RLF to occur.
  • the setting of the second timing value and the setting of the fifth timing value are equal or there is a certain error, so that the terminal and the base station can convert the state of the terminal from the inactive state to the idle state simultaneously or within a certain time error.
  • the method for maintaining the air interface state synchronization further includes, after step 601, the AS context of the terminal storage terminal, and further includes, after step 602, the AS context of the base station storage terminal.
  • the method for maintaining air interface state synchronization provided by this embodiment can be used to solve the problems described in type scenarios 4-6 occurring in the 5G system mechanism.
  • the method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the inactive state, if the terminal detects that the terminal uplink transmission fails or the downlink transmission fails, the second timer is started or restarted, and the second timer is If the timing exceeds the second timing, the terminal converts its own state to the idle state; if the base station detects that the uplink transmission fails or the downlink transmission fails, the base station starts or restarts the fifth timer, and the fifth timer is timed. When the fifth timing value is exceeded, the base station converts the state of the terminal to the idle state. In this way, the terminal and the base station convert the state of the terminal from the inactive state to the idle state, so that the state and the base station can still maintain state synchronization in a specific case. purpose.
  • the embodiment of the present invention provides a schematic flowchart of a method for maintaining the state of the air interface state synchronization. As shown in FIG. 7 , the method is used to describe how the terminal and the base station maintain the air interface state synchronization when the terminal is in the inactive state. The method includes the following steps:
  • Step 701 When the terminal is in the inactive state, if the terminal detects that the third timer is started or restarted when data is transmitted and received by the terminal, and the timing of the third timer exceeds the third timing value, the terminal sets its own state. The inactive state is converted to the idle state.
  • the third timing value is the maximum timing duration of the third timer, and the third timing value is configured by the base station for the terminal in advance; the data transmission and reception by the terminal includes the terminal receiving the uplink or downlink resource scheduling instruction allocated by the base station.
  • the step 701 can be implemented in the following manner: the terminal first detects whether the terminal generates and receives data, and starts the third timer at the time when the terminal detects the data transmission and reception, and then continuously detects whether the terminal retransmits the data, if not detected. After the data is sent and received again to the terminal, and the timing of the third timer exceeds the third timing value, the terminal converts its own state into an idle state. If it detects that the terminal again receives data transmission and reception, restarts the third timer, and then restarts. The terminal continuously detects whether the data transmission and reception occurs again until the terminal does not detect that the data transmission and reception occurs, and the timing of the third timer exceeds the third timing value, and the terminal converts its own state into the idle state.
  • Step 702 When the terminal is in the inactive state, if the base station detects that the sixth timer is started or restarted when data is transmitted and received by the terminal, and the timing of the sixth timer exceeds the sixth timing value, the base station changes the state of the terminal from The inactive state is converted to the idle state.
  • the data transmission and reception by the terminal includes the base station allocating an uplink or downlink resource scheduling instruction to the terminal.
  • the step 702 can be implemented by: the base station first detecting whether the terminal has data transmission and reception, and starting the sixth timer at the time when the terminal detects the data transmission and reception, and then continuously detecting whether the terminal retransmits the data, if not detected. After the data is sent and received again to the terminal, and the timing of the sixth timer exceeds the sixth timing value, the base station converts the state of the terminal to the idle state. If the terminal detects that the data is transmitted and received again, the sixth timer is restarted, and then Continuously detecting whether data transmission and reception occurs again, until the terminal does not detect data transmission and reception and the timing of the sixth timer exceeds the sixth timing value, the base station converts the state of the terminal into an idle state.
  • step 701 implemented by the terminal
  • step 702 implemented by the base station
  • the setting of the third timing value and the setting of the sixth timing value are equal or there is a certain error, so that the terminal and the base station can convert the state of the terminal from the inactive state to the idle state simultaneously or within a certain time error.
  • the method for maintaining the air interface state synchronization further includes: the AS context of the terminal storage terminal, and the AS context of the base station storage terminal.
  • the method for maintaining air interface state synchronization provided by this embodiment can be used to solve the problems described in type scenarios 4-6 occurring in the 5G system mechanism.
  • the method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the inactive state, if the terminal detects that the third timer is started or restarted when data is transmitted and received by the terminal, and the timing of the third timer exceeds the At the third timing, the terminal converts its own state into an idle state; if the base station detects that the sixth timer is started or restarted when data is transmitted and received by the terminal, and the timing of the sixth timer exceeds the sixth timing value, the base station will terminate the terminal.
  • the state is converted to the idle state; thus, the terminal and the base station convert the state of the terminal from the inactive state to the idle state, thereby achieving the purpose of maintaining state synchronization between the terminal and the base station in a specific case.
  • the terminal 8 includes:
  • the first processing unit 81 is configured to: when the terminal is in the RRC connection state, if it detects that the terminal meets the first preset condition, the state of the terminal is changed from the RRC connection state to the inactive state; wherein the first preset condition is the first The processing unit must satisfy the condition that the state of the terminal is changed from the RRC connected state to the inactive state.
  • the second processing unit 82 is configured to: when the terminal is in the inactive state, if the terminal is found to satisfy the second preset condition, the state of the terminal is changed from the inactive state to the idle state; wherein the second preset condition is the second processing unit The condition that must be met to convert the state of the terminal from the inactive state to the idle state.
  • the first preset condition includes: an uplink out-of-synchronization of the terminal, and the terminal does not generate the RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have the data to be transmitted that needs to be sent to the base station,
  • the terminal obtains the access layer context identifier AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal access layer context AS context stored in the base station.
  • the first preset condition further includes: the RLF caused by the uplink out-of-synchronization of the terminal, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have the data to be transmitted that needs to be sent to the base station, and the terminal obtains The AS context ID sent by the base station; where the AS context ID is allocated by the base station and used to identify the terminal AS context stored in the base station.
  • the first preset condition further includes: starting or restarting the first timer when the terminal sends and receives data, and the timing of the first timer exceeds the first timing value, and the terminal obtains the AS context ID sent by the base station;
  • the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station;
  • the first timing value is the maximum timing duration of the first timer, and the first timing value is configured by the base station for the terminal in advance; the terminal occurs
  • Data transceiving includes receiving, by the terminal, an uplink or downlink resource scheduling instruction allocated by the base station.
  • the second preset condition includes: the terminal generates RLF, and the terminal fails to reselect other cells; wherein, the other cells are cells other than the cell where the terminal is currently located.
  • the second preset condition further includes: starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds the second timing value; wherein the second timer is at the terminal When the uplink transmission succeeds or the downlink transmission succeeds, the timing is stopped; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
  • the second preset condition further includes: starting or restarting the third timer timing when the terminal transmits and receives data, and the timing duration of the third timer exceeds the third timing value; wherein the third timing value is the third timer The maximum timing is long, and the third timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving the uplink or downlink resource scheduling instruction allocated by the base station.
  • the terminal 8 provided by the embodiment of the present invention further includes:
  • the first storage unit 83 is configured to store the AS context of the terminal.
  • An embodiment of the present invention provides a base station. As shown in FIG. 10, the base station 9 includes:
  • the third processing unit 91 is configured to: when the terminal is in the RRC connected state, if it detects that the terminal and the base station meet the third preset condition, the state of the terminal is changed from the RRC connected state to the inactive state; wherein the third preset condition is The third processing unit is a condition that must be satisfied to convert the state of the terminal from the RRC connected state to the inactive state.
  • the fourth processing unit 92 is configured to: when the terminal is in the inactive state, if the terminal is found to satisfy the fourth preset condition, the state of the terminal is changed from the inactive state to the idle state; wherein the fourth preset condition is the fourth processing unit. The condition that must be met to convert the state of the terminal from the inactive state to the idle state.
  • the third preset condition includes: the uplink desynchronization of the terminal, and the RLF does not occur in the terminal, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted that needs to be sent to the base station, and the base station
  • the AS context of the terminal is stored, and the base station sends an AS context ID to the terminal.
  • the AS context ID is used to identify the terminal AS context stored in the base station.
  • the third preset condition further includes: the RLF generated by the terminal due to the uplink out-of-synchronization, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted that needs to be sent to the base station, and the base station stores the terminal.
  • the AS context and the base station sends an AS context ID to the terminal.
  • the AS context ID is used to identify the terminal AS context stored in the base station.
  • the third preset condition further includes: starting or restarting the fourth timer timing when the terminal performs data transmission and reception, and the timing duration of the fourth timer exceeds the fourth timing value, and the base station stores the AS context of the terminal, and the base station The AS sends the AS context ID.
  • the AS context ID is used to identify the terminal AS context stored in the base station.
  • the data transmission and reception of the terminal includes the base station assigning uplink or downlink resource scheduling commands to the terminal.
  • the fourth preset condition includes: the terminal generates an RLF.
  • the fourth preset condition further includes: starting or restarting the fifth timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the fifth timer exceeds a fifth timing value; wherein the fifth timer is at the base station The timing is stopped when the uplink transmission of the terminal is successful or the downlink transmission is successful.
  • the fourth preset condition further includes: starting or restarting the sixth timer when the terminal sends and receives data, and the timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception by the terminal includes the base station allocating the uplink for the terminal Or downlink resource scheduling instructions.
  • the base station 9 provided by the embodiment of the present invention further includes:
  • the second storage unit 93 is configured to store the AS context of the terminal.
  • the terminal When the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal changes its state from the RRC connection state to the inactive state; if the base station detects itself and the terminal, The third preset condition is met, the base station changes the state of the terminal from the RRC connection state to the inactive state; when the terminal is in the inactive state, if the terminal detects that the terminal meets the second preset condition, the terminal converts its state from the inactive state to the inactive state.
  • the base station In the idle state, if the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state; thus, the terminal and the base station convert the state of the terminal from the RRC connection state to the inactive state, or from the inactive state.
  • the state is converted to the idle state, so that the state synchronization can still be maintained between the terminal and the base station in a specific case.
  • the first processing unit 81, the second processing unit 82, the first storage unit 83, the third processing unit 91, the fourth processing unit 92, and the second storage unit 93 may all be processed by the central processing located in the device.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the embodiment of the present invention further provides an electronic device, such as a terminal and a base station; and a hardware structure diagram of the electronic device.
  • the electronic device 110 includes: at least one processor 111, a memory 112, and at least one network interface. 114.
  • the various components in electronic device 110 are coupled together by a bus system 115.
  • the bus system 115 is used to implement connection communication between these components.
  • the bus system 115 includes a power bus, a control bus, and a status signal bus in addition to the data bus.
  • various buses are labeled as bus system 115 in FIG.
  • the memory 112 can be either volatile memory or non-volatile memory, and can include both volatile and nonvolatile memory.
  • the non-volatile memory may be a ROM, a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), or an electrically erasable device.
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • FRAM Ferromagnetic random access memory
  • Flash Memory Magnetic Surface Memory, Optical Disk, or Read Only Disc (CD) -ROM, Compact Disc Read-Only Memory
  • the magnetic surface memory may be a disk storage or a tape storage.
  • the volatile memory can be a random access memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • SSRAM Dynamic Random Access
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhancement Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Dynamic Random Access Memory
  • DRRAM Direct Memory Bus Random Access Memory
  • the memory 112 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device 110.
  • Examples of such data include any computer program, such as application 1122, for operating on electronic device 110.
  • a program implementing the method of the embodiment of the present invention may be included in the application 1122.
  • the method disclosed in the foregoing embodiments of the present invention may be applied to the processor 111 or implemented by the processor 111.
  • the processor 111 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 111 or an instruction in a form of software.
  • the processor 111 described above may be a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like.
  • DSP digital signal processor
  • the processor 111 can implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present invention.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can reside in a storage medium located in memory 112, and processor 111 reads the information in memory 112 and, in conjunction with its hardware, performs the steps of the foregoing method.
  • the electronic device 110 may be configured by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), and Complex Programmable Logic Devices (CPLDs). , Complex Programmable Logic Device), FPGA, general purpose processor, controller, MCU, MPU, or other electronic component implementation for performing the aforementioned methods.
  • ASICs Application Specific Integrated Circuits
  • DSPs Digital Signal processors
  • PLDs Programmable Logic Devices
  • CPLDs Complex Programmable Logic Devices
  • FPGA field-programmable Logic Device
  • controller MCU
  • MPU or other electronic component implementation for performing the aforementioned methods.
  • the computer program signaling can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that signaling stored in the computer readable memory produces an article of manufacture including the signaling device.
  • the signaling device implements the functions specified in one or more blocks of a flow or a flow and/or a block diagram of the flowchart.
  • These computer program signaling can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device
  • the signaling provides steps for implementing the functions specified in one or more blocks of a flow or a flow and/or a block diagram of a block diagram.
  • the terminal when the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal converts its state from the RRC connection state to the inactive state;
  • the first preset condition is a condition that the terminal must satisfy when the terminal changes its state from the RRC connection state to the inactive state;
  • the terminal when the terminal is in the inactive state, if the terminal detects that the user satisfies the a second preset condition, the terminal converts its own state from the inactive state to an idle state; wherein the second preset condition is that the terminal converts its state from the inactive state to the idle state
  • the conditions that the state must satisfy.
  • the third preset condition is a condition that the base station must satisfy when the state of the terminal is changed from the RRC connection state to the inactive state;
  • the base station detects the The terminal satisfies the fourth preset condition, and the base station converts the state of the terminal from the inactive state to the idle state; wherein the fourth preset condition is that the base station changes the state of the terminal from the The condition that the inactive state must be converted to the idle state.

Abstract

Disclosed is a method for maintaining air interface state synchronization. The method comprises: when a terminal is in an RRC connected state, if the terminal detects that same satisfies a first pre-set condition, the terminal converting the state thereof from the RRC connected state to an inactive state, and if a base station detects that same and the terminal satisfy a third pre-set condition, the base station converting the state of the terminal from the RRC connected state to the inactive state; and when the terminal is in the inactive state, if the terminal detects that same satisfies a second pre-set condition, the terminal converting the state thereof from the inactive state to an idle state, and if the base station detects that the terminal satisfies a fourth pre-set condition, the base station converting the state of the terminal from the inactive state to the idle state. Also disclosed are a terminal, a base station and a storage medium.

Description

一种保持空口状态同步的方法、终端、基站及存储介质Method, terminal, base station and storage medium for maintaining air interface state synchronization
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201710189797.8、申请日为2017年03月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. PCT Application No. PCT Application Serial No.
技术领域Technical field
本发明涉及无线通信领域,尤其涉及一种保持空口状态同步的方法、终端、基站及存储介质。The present invention relates to the field of wireless communications, and in particular, to a method, a terminal, a base station, and a storage medium for maintaining air interface state synchronization.
背景技术Background technique
在目前第三代合作伙伴计划(The 3rd Generation Partnership Project,3GPP)讨论的长期演进(Long Term Evolution,LTE)标准和第五代移动通信的新无线接入技术(The new Radio Access Technology of The 5th Generation Mobile Communication Technology,5G New RAT)标准中,分别在LTE引入了弱连接(light connected)状态,在5G new RAT引入了不活跃(inactive)状态,这2个状态的本质类似,对LTE无线接入网络(Radio Access Network,RAN)和5G RAN来说,light connected状态和inactive状态均属于无线资源控制(Radio Resource Control,RRC)连接态的子状态,终端若处于light connected状态或inactive状态时,其与基站的RRC连接仍然保持,信令承载和数据承载仍然保持。The Long Term Evolution (LTE) standard discussed in the current 3rd Generation Partnership Project (3GPP) and the new radio access technology of the fifth generation mobile communication (The new Radio Access Technology of The 5th In the Generation Mobile Communication Technology (5G New RAT) standard, a light connected state is introduced in LTE, and an inactive state is introduced in the 5G new RAT. The two states are similar in nature, and are connected to LTE wirelessly. In the case of the Radio Access Network (RAN) and the 5G RAN, both the light connected state and the inactive state belong to the sub-state of the Radio Resource Control (RRC) connection state. If the terminal is in the light connected state or the inactive state, Its RRC connection with the base station remains, and the signaling bearer and data bearer remain.
当终端处于inactive状态或light connected状态时,若在RRC连接建立的过程中,或恢复RRC连接的过程中,或传输非激活的上行数据传输(inactive UpLink Data Transmit,inactive UL Data Tx)的过程中,基站下发RRC reject信令,但终端没有成功接收到,此时会导致基站认为终端处于idle状态;而终端 实际处于inactive状态或light connected状态。或者,当终端处于inactive状态或light connected状态时,若在inactive状态或light connected状态下终端发送上行数据过程中,基站下发RRC release信令,但终端接收失败,此时会导致基站认为终端处于idle状态;而终端实际处于inactive状态或light connected状态。或者,当终端处于inactive状态或light connected状态时,若在下行数据传输中基站检测到无线链路失败(Radio Link Failure,RLF),基站会自主删除终端的上下文(AS Context),将终端的状态转换为idle状态,但此时终端因为没有收到基站的任何RRC释放信令,因此终端认为自己还是处于inactive状态或light connected状态。When the terminal is in the inactive state or the light connected state, in the process of establishing the RRC connection, or during the process of restoring the RRC connection, or during the process of transmitting the inactive uplink data transmission (inactive Up Data Transmit, inactive UL Data Tx) The eNB sends the RRC reject signaling, but the terminal does not receive the RRC reject. The terminal considers that the terminal is in the idle state; the terminal is actually in the inactive state or the light connected state. Or, when the terminal is in the inactive state or the light connected state, if the terminal sends the uplink data in the inactive state or the light connected state, the eNB sends the RRC release signaling, but the terminal fails to receive the terminal, and the base station considers that the terminal is in the terminal. Idle state; the terminal is actually in the inactive state or the light connected state. Alternatively, when the terminal is in the inactive state or the light connected state, if the base station detects a radio link failure (RLF) in the downlink data transmission, the base station deletes the terminal context (AS Context) autonomously, and sets the state of the terminal. The switch is in the idle state, but the terminal does not receive any RRC release signaling from the base station at this time, so the terminal considers that it is still in the inactive state or the light connected state.
由此可以看出,上述2个新状态的引入可以减少终端的耗电以及终端从空闲idle状态到连接状态的切换次数,减少信令开销;但是状态的增加往往导致终端和基站之间状态不同步的情况更容易发生。It can be seen that the introduction of the above two new states can reduce the power consumption of the terminal and the number of times the terminal switches from the idle idle state to the connected state, and reduce signaling overhead; however, the state increase often results in a state between the terminal and the base station. Synchronization is more likely to happen.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种保持空口状态同步的方法、终端、基站及存储介质,实现了在特定情况下终端和基站之间的状态同步。In view of this, the embodiments of the present invention provide a method, a terminal, a base station, and a storage medium for maintaining air interface state synchronization, which implement state synchronization between a terminal and a base station in a specific case.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供一种保持空口状态同步的方法,包括:An embodiment of the present invention provides a method for maintaining air interface state synchronization, including:
当终端处于RRC连接状态时,若所述终端检测到自身满足第一预设条件,所述终端将自身的状态从所述RRC连接状态转换为inactive状态;其中,所述第一预设条件为所述终端将自身的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;When the terminal is in the RRC connection state, if the terminal detects that it meets the first preset condition, the terminal converts its state from the RRC connection state to the inactive state; wherein the first preset condition is a condition that the terminal must satisfy when the terminal changes its state from the RRC connected state to the inactive state;
当所述终端处于所述inactive状态时,若所述终端检测到自身满足所述第二预设条件,所述终端将自身的状态从所述inactive状态转换为idle状态;其中,所述第二预设条件为所述终端将自身的状态从所述inactive状态转换为所述idle状态所必须满足的条件。When the terminal is in the inactive state, if the terminal detects that the second preset condition is met, the terminal converts its own state from the inactive state to the idle state; wherein, the second The preset condition is a condition that the terminal must satisfy to convert its own state from the inactive state to the idle state.
上述方案中,所述第一预设条件包括:In the above solution, the first preset condition includes:
所述终端的上行链路失同步,且所述终端没有发生RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端接入层上下文AS context。The uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have to be transmitted to the base station to be transmitted. Data, and the terminal obtains an AS context ID sent by the base station; where the AS context ID is allocated by the base station, and is used to identify a terminal access layer context AS context stored in the base station.
上述方案中,所述第一预设条件还包括:In the above solution, the first preset condition further includes:
所述终端发生因上行链路失同步导致的RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context。The terminal generates an RLF caused by an uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have a data to be transmitted that needs to be sent to the base station, and the The terminal obtains the AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station.
上述方案中,所述在第一预设条件还包括:In the above solution, the first preset condition further includes:
在所述终端发生数据收发时启动或重新启动第一计时器计时,且所述第一计时器的计时时长超过第一定时值,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context;所述第一定时值为所述第一计时器的最大计时时长,且所述第一定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。The first timer is started or restarted when the terminal sends and receives data, and the timing of the first timer exceeds a first timing value, and the terminal obtains an AS context ID sent by the base station; The AS context ID is allocated by the base station, and is used to identify a terminal AS context stored in the base station; the first timing value is a maximum timing duration of the first timer, and the first The timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
上述方案中,所述第二预设条件包括:In the above solution, the second preset condition includes:
所述终端发生RLF,且所述终端重选其他小区失败;其中,所述其他小区为除所述终端当前所在小区以外的小区。The terminal generates RLF, and the terminal fails to reselect other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
上述方案中,所述第二预设条件还包括:In the above solution, the second preset condition further includes:
在所述终端上行传输失败或下行传输失败时启动或重新启动第二计时器计时,且所述第二计时器的计时时长超过第二定时值;其中,所述第二计时器在所述终端上行传输成功或下行传输成功时停止计时;所述第二定时值为第二计时器的最大计时时长,且所述第二定时值由所述基站事先为所述终端进行配置。Starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds a second timing value; wherein the second timer is at the terminal The timing is stopped when the uplink transmission succeeds or the downlink transmission succeeds; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
上述方案中,所述第二计时器在所述终端重选其他小区时继续计时;其中,所述其他小区为除所述终端当前所在小区以外的小区。In the above solution, the second timer continues to be timed when the terminal reselects other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
上述方案中,所述第二预设条件还包括:In the above solution, the second preset condition further includes:
在所述终端发生数据收发时启动或重新启动第三计时器计时,且所述第三计时器的计时时长超过第三定时值;其中,所述第三定时值为第三计时器的最大计时时长,且所述第三定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。Starting or restarting a third timer timing when data is transmitted and received by the terminal, and a timing duration of the third timer exceeds a third timing value; wherein the third timing value is a maximum timing of the third timer The time length, and the third timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
上述方案中,当所述终端处于所述inactive状态时,所述方法还包括:In the foregoing solution, when the terminal is in the inactive state, the method further includes:
所述终端存储自身的AS context。The terminal stores its own AS context.
本发明实施例提供一种保持空口状态同步的方法,所述方法包括:An embodiment of the present invention provides a method for maintaining air interface state synchronization, where the method includes:
当终端处于RRC连接状态时,若终端所在基站检测到自身和所述终端满足第三预设条件,所述基站将所述终端的状态从所述RRC连接状态转换为inactive状态;其中,所述第三预设条件为所述基站将所述终端的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;When the terminal is in the RRC connection state, if the base station where the terminal is located detects that the terminal and the terminal meet the third preset condition, the base station converts the state of the terminal from the RRC connection state to the inactive state; The third preset condition is a condition that the base station must satisfy to convert the state of the terminal from the RRC connected state to the inactive state;
当所述终端处于所述inactive状态时,若所述基站检测到所述终端满足所述第四预设条件,所述基站将所述终端的状态从所述inactive状态转换为idle状态;其中,所述第四预设条件为所述基站将所述终端的状态从所述inactive状态转换为所述idle状态所必须满足的条件。When the terminal is in the inactive state, if the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state; The fourth preset condition is a condition that the base station must satisfy to convert the state of the terminal from the inactive state to the idle state.
上述方案中,所述第三预设条件包括:In the above solution, the third preset condition includes:
所述终端的上行链路失同步,且所述终端没有发生RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, And the base station stores the AS context of the terminal, and the base station sends an AS context ID to the terminal, where the AS context ID is used to identify a terminal AS context stored in the base station.
上述方案中,所述第三预设条件还包括:In the above solution, the third preset condition further includes:
所述终端发生因上行链路失同步导致的RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context  ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The terminal generates an RLF due to uplink out-of-synchronization, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, and the base station An AS context is stored in the terminal, and the base station sends an AS context ID to the terminal. The AS context ID is used to identify a terminal AS context stored in the base station.
上述方案中,所述第三预设条件还包括:In the above solution, the third preset condition further includes:
在所述终端发生数据收发时启动或重新启动第四计时器计时,且所述第四计时器的计时时长超过第四定时值,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context;所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。Starting or restarting a fourth timer timing when data is transmitted and received by the terminal, and a timing duration of the fourth timer exceeds a fourth timing value, and the base station stores an AS context of the terminal, and the The base station sends an AS context ID to the terminal, where the AS context ID is used to identify the terminal AS context stored in the base station; the data transmission and reception of the terminal includes the base station allocating uplink or downlink resources to the terminal. Scheduling instructions.
上述方案中,所述第四预设条件包括:所述终端发生RLF。In the above solution, the fourth preset condition includes: the terminal generates an RLF.
上述方案中,所述第四预设条件还包括:In the above solution, the fourth preset condition further includes:
在所述终端上行传输失败或下行传输失败时启动或重新启动第五计时器计时,且所述第五计时器的计时时长超过第五定时值;其中,所述第五计时器在所述基站检测到终端上行传输成功或下行传输成功时停止计时。Starting or restarting a fifth timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the fifth timer exceeds a fifth timing value; wherein the fifth timer is at the base station The timing is stopped when the uplink transmission of the terminal is successful or the downlink transmission is successful.
上述方案中,所述第四预设条件还包括:In the above solution, the fourth preset condition further includes:
在所述终端发生数据收发时启动或重新启动第六计时器计时,且所述第六计时器的计时时长超过第六定时值;其中,所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。A sixth timer is started or restarted when data is transmitted and received by the terminal, and a timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception of the terminal includes the base station being the terminal Allocate uplink or downlink resource scheduling instructions.
上述方案中,当所述终端处于所述inactive状态时,所述方法还包括:In the foregoing solution, when the terminal is in the inactive state, the method further includes:
所述基站存储所述终端的AS context。The base station stores an AS context of the terminal.
本发明实施例提供一种终端,包括:The embodiment of the invention provides a terminal, including:
第一处理单元,配置为当终端处于RRC连接状态时,若检测到所述终端满足第一预设条件,将所述终端的状态从所述RRC连接状态转换为inactive状态;其中,所述第一预设条件为所述第一处理单元将所述终端的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;a first processing unit, configured to: when the terminal is in an RRC connected state, if the terminal is configured to meet the first preset condition, the state of the terminal is changed from the RRC connected state to an inactive state; a preset condition is a condition that the first processing unit must satisfy to convert a state of the terminal from the RRC connected state to an inactive state;
第二处理单元,配置为当所述终端处于所述inactive状态时,若检测到所述终端满足所述第二预设条件,将所述终端的状态从所述inactive状态转换为idle状态;其中,所述第二预设条件为所述第二处理单元将所述终端的状态从所述inactive状态转换为所述idle状态所必须满足的条件。a second processing unit, configured to: when the terminal is in the inactive state, if it is detected that the terminal meets the second preset condition, converting a state of the terminal from the inactive state to an idle state; The second preset condition is a condition that the second processing unit must satisfy to convert the state of the terminal from the inactive state to the idle state.
上述方案中,所述第一预设条件包括:In the above solution, the first preset condition includes:
所述终端的上行链路失同步,且所述终端没有发生RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的接入层上下文标识AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端接入层上下文AS context。The uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have to be transmitted to the base station to be transmitted. Data, and the terminal obtains an access layer context identifier AS context ID sent by the base station; where the AS context ID is allocated by the base station, and is used to identify a terminal access layer stored in the base station Context AS context.
上述方案中,所述第一预设条件还包括:In the above solution, the first preset condition further includes:
所述终端发生因上行链路失同步导致的RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context。The terminal generates an RLF caused by an uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have a data to be transmitted that needs to be sent to the base station, and the The terminal obtains the AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station.
上述方案中,所述第一预设条件还包括:In the above solution, the first preset condition further includes:
在所述终端发生数据收发时启动或重新启动第一计时器计时,且所述第一计时器的计时时长超过第一定时值,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context;所述第一定时值为所述第一计时器的最大计时时长,且所述第一定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。The first timer is started or restarted when the terminal sends and receives data, and the timing of the first timer exceeds a first timing value, and the terminal obtains an AS context ID sent by the base station; The AS context ID is allocated by the base station, and is used to identify a terminal AS context stored in the base station; the first timing value is a maximum timing duration of the first timer, and the first The timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
上述方案中,所述第二预设条件包括:In the above solution, the second preset condition includes:
所述终端发生RLF,且所述终端重选其他小区失败;其中,所述其他小区为除所述终端当前所在小区以外的小区。The terminal generates RLF, and the terminal fails to reselect other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
上述方案中,所述第二预设条件还包括:In the above solution, the second preset condition further includes:
在所述终端上行传输失败或下行传输失败时启动或重新启动第二计时器计时,且所述第二计时器的计时时长超过第二定时值;其中,所述第二计时器在所述终端上行传输成功或下行传输成功时停止计时;所述第二定时值为第二计时器的最大计时时长,且所述第二定时值由所述基站事先为所述终端进行配置。Starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds a second timing value; wherein the second timer is at the terminal The timing is stopped when the uplink transmission succeeds or the downlink transmission succeeds; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
上述方案中,所述第二预设条件还包括:In the above solution, the second preset condition further includes:
在所述终端发生数据收发时启动或重新启动第三计时器计时,且所述第三计时器的计时时长超过第三定时值;其中,所述第三定时值为第三计时器的最大计时时长,且所述第三定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。Starting or restarting a third timer timing when data is transmitted and received by the terminal, and a timing duration of the third timer exceeds a third timing value; wherein the third timing value is a maximum timing of the third timer The time length, and the third timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
上述方案中,所述的终端,还包括:In the above solution, the terminal further includes:
第一存储单元,配置为存储所述终端的AS context。The first storage unit is configured to store an AS context of the terminal.
本发明实施例提供一种基站,包括:An embodiment of the present invention provides a base station, including:
第三处理单元,配置为当终端处于RRC连接状态时,若检测到所述终端和所述基站满足第三预设条件,将所述终端的状态从所述RRC连接状态转换为inactive状态;其中,所述第三预设条件为所述第三处理单元将所述终端的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;a third processing unit, configured to: when the terminal is in an RRC connected state, if the terminal and the base station are configured to meet a third preset condition, the state of the terminal is changed from the RRC connected state to an inactive state; The third preset condition is a condition that the third processing unit must satisfy to convert the state of the terminal from the RRC connected state to the inactive state;
第四处理单元,配置为当所述终端处于所述inactive状态时,若检测到所述终端满足所述第四预设条件,将所述终端的状态从所述inactive状态转换为idle状态;其中,所述第四预设条件为所述第四处理单元将所述终端的状态从所述inactive状态转换为所述idle状态所必须满足的条件。a fourth processing unit, configured to: when the terminal is in the inactive state, if it is detected that the terminal meets the fourth preset condition, the state of the terminal is changed from the inactive state to the idle state; The fourth preset condition is a condition that the fourth processing unit must satisfy to convert the state of the terminal from the inactive state to the idle state.
上述方案中,所述第三预设条件包括:In the above solution, the third preset condition includes:
所述终端的上行链路失同步,且所述终端没有发生RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, And the base station stores the AS context of the terminal, and the base station sends an AS context ID to the terminal, where the AS context ID is used to identify a terminal AS context stored in the base station.
上述方案中,所述第三预设条件还包括:In the above solution, the third preset condition further includes:
所述终端发生因上行链路失同步导致的RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The terminal generates an RLF due to uplink out-of-synchronization, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, and the base station An AS context is stored in the terminal, and the base station sends an AS context ID to the terminal. The AS context ID is used to identify a terminal AS context stored in the base station.
上述方案中,所述第三预设条件还包括:In the above solution, the third preset condition further includes:
在所述终端发生数据收发时启动或重新启动第四计时器计时,且所述第四计时器的计时时长超过第四定时值,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context;所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。Starting or restarting a fourth timer timing when data is transmitted and received by the terminal, and a timing duration of the fourth timer exceeds a fourth timing value, and the base station stores an AS context of the terminal, and the The base station sends an AS context ID to the terminal, where the AS context ID is used to identify the terminal AS context stored in the base station; the data transmission and reception of the terminal includes the base station allocating uplink or downlink resources to the terminal. Scheduling instructions.
上述方案中,所述第四预设条件包括:所述终端发生RLF。In the above solution, the fourth preset condition includes: the terminal generates an RLF.
上述方案中,所述第四预设条件还包括:In the above solution, the fourth preset condition further includes:
在所述终端上行传输失败或下行传输失败时启动或重新启动第五计时器计时,且所述第五计时器的计时时长超过第五定时值;其中,所述第五计时器在所述基站检测到终端上行传输成功或下行传输成功时停止计时。Starting or restarting a fifth timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the fifth timer exceeds a fifth timing value; wherein the fifth timer is at the base station The timing is stopped when the uplink transmission of the terminal is successful or the downlink transmission is successful.
上述方案中,所述第四预设条件还包括:In the above solution, the fourth preset condition further includes:
在所述终端发生数据收发时启动或重新启动第六计时器计时,且所述第六计时器的计时时长超过第六定时值;其中,所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。A sixth timer is started or restarted when data is transmitted and received by the terminal, and a timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception of the terminal includes the base station being the terminal Allocate uplink or downlink resource scheduling instructions.
上述方案中,所述终端还包括:第二存储单元,配置为存储所述终端的AS context。In the foregoing solution, the terminal further includes: a second storage unit configured to store an AS context of the terminal.
本发明实施例还提供一种终端,包括处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行上述终端侧实现的保持空口状态同步的方法。The embodiment of the present invention further provides a terminal, including a processor and a memory storing the processor-executable instructions, and when the instruction is executed by the processor, performing the method of maintaining the air interface state synchronization implemented by the terminal side.
本发明实施例还提供一种基站,包括处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行上述基站侧实现的保持空口状态同步的方法。The embodiment of the present invention further provides a base station, including a processor and a memory storing the processor executable instructions, and when the instruction is executed by the processor, performing a method for maintaining an air interface state synchronization implemented by the base station side.
本发明实施例还提供一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述的保持空口状态同步的方法。The embodiment of the present invention further provides a storage medium, where the computer-executable instructions are stored in the storage medium, and the computer-executable instructions are used to execute the foregoing method for maintaining air interface state synchronization.
本发明实施例提供的保持空口状态同步的方法、终端、基站及存储介质,当终端处于RRC连接状态时,若终端检测到终端满足第一预设条件,终端将自 身的状态从RRC连接状态转换为inactive状态;若基站检测到自身和终端满足第三预设条件,基站将终端的状态从RRC连接状态转换为inactive状态;当终端处于inactive状态时,若终端检测到自身满足第二预设条件,终端将自身的状态从inactive状态转换为idle状态,若基站检测到终端满足第四预设条件,基站将终端的状态从inactive状态转换为idle状态,这样,终端和基站一同将终端的状态从RRC连接状态转换为inactive状态,或者从inactive状态转换为idle状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method, the terminal, the base station, and the storage medium for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal converts its own state from the RRC connection state. If the base station detects that the terminal and the terminal meet the third preset condition, the base station changes the state of the terminal from the RRC connection state to the inactive state. When the terminal is in the inactive state, the terminal detects that the terminal meets the second preset condition. The terminal converts its state from the inactive state to the idle state. If the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state, so that the terminal and the base station together state the state of the terminal. The RRC connection state is switched to the inactive state, or from the inactive state to the idle state, so that the state synchronization can still be maintained between the terminal and the base station in a specific case.
附图说明DRAWINGS
图1为本发明实施例提供的保持空口状态同步的方法的流程示意图一;1 is a schematic flowchart 1 of a method for maintaining air interface state synchronization according to an embodiment of the present invention;
图2为本发明实施例提供的保持空口状态同步的方法的流程示意图二;2 is a second schematic flowchart of a method for maintaining air interface state synchronization according to an embodiment of the present invention;
图3为本发明实施例提供的保持空口状态同步的方法的流程示意图三;3 is a schematic flowchart 3 of a method for maintaining air interface state synchronization according to an embodiment of the present invention;
图4为本发明实施例提供的保持空口状态同步的方法的流程示意图四;4 is a schematic flowchart 4 of a method for maintaining air interface state synchronization according to an embodiment of the present invention;
图5为本发明实施例提供的保持空口状态同步的方法的流程示意图五;FIG. 5 is a schematic flowchart 5 of a method for maintaining air interface state synchronization according to an embodiment of the present invention;
图6为本发明实施例提供的保持空口状态同步的方法的流程示意图六;6 is a schematic flowchart 6 of a method for maintaining air interface state synchronization according to an embodiment of the present invention;
图7为本发明实施例提供的保持空口状态同步的方法的流程示意图七;FIG. 7 is a schematic flowchart diagram 7 of a method for maintaining air interface state synchronization according to an embodiment of the present disclosure;
图8为本发明实施例提供的一种终端结构示意图;FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图9为本发明实施例提供的另一种终端结构示意图;FIG. 9 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure;
图10为本发明实施例提供的一种基站结构示意图;FIG. 10 is a schematic structural diagram of a base station according to an embodiment of the present disclosure;
图11为本发明实施例提供的另一种基站结构示意图;FIG. 11 is a schematic structural diagram of another base station according to an embodiment of the present disclosure;
图12为本发明实施例提供的电子设备的硬件结构示意图。FIG. 12 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
首先,描述一些场景来说明RRC状态在终端侧和基站侧状态不同步的情况。First, some scenarios are described to illustrate the case where the RRC state is not synchronized at the terminal side and the base station side.
场景1:当终端处于RRC连接状态时,终端接收LTE系统的基站(e-Node B,eNB)发送的suspend信令,该信令的作用是将终端状态转换为light connected 状态。假设终端收到该信令后需要向eNB反馈无线链路控制的确认字符(Acknowledgement of Radio Link Control,RLC ACK)来使得eNB确认终端收到了该信令,但实际情况中该ACK因为无线信道变差的原因而没有被eNB收到,那么eNB会认为suspend信令发送失败,终端仍然处于RRC连接状态,而实际上终端成功收到了suspend信令,并转换到了light connected状态,因此出现了终端侧和基站侧状态不同步。Scenario 1: When the terminal is in the RRC connected state, the terminal receives the suspend signaling sent by the eNodeB (e-Node B, eNB) of the LTE system, and the signaling is used to convert the terminal state to the light connected state. It is assumed that the terminal needs to feed back the acknowledgment of Radio Link Control (RLC ACK) to the eNB after receiving the signaling, so that the eNB confirms that the terminal has received the signaling, but in actuality, the ACK is changed due to the wireless channel. If the cause of the difference is not received by the eNB, the eNB will consider that the suspend signaling fails to be sent, and the terminal is still in the RRC connection state. In fact, the terminal successfully receives the suspend signaling and switches to the light connected state, so the terminal side appears. Not synchronized with the status of the base station side.
场景2:当终端处于RRC连接状态时,eNB给终端发送suspend信令,准备将终端转换为light connected状态,但实际情况中该信令因为无线信道变差的原因而没有被终端收到,那么eNB并不知道终端没有成功接收该信令,eNB会将终端状态转换为light connected状态,而实际上终端因为没收到该转换信令,终端的状态仍然处于RRC连接状态,因此出现了终端侧和基站侧状态不同步。Scenario 2: When the terminal is in the RRC connected state, the eNB sends suspend signaling to the terminal, and prepares to convert the terminal to the light connected state, but in actuality, the signaling is not received by the terminal because the radio channel is degraded, then The eNB does not know that the terminal does not successfully receive the signaling, and the eNB converts the terminal state to the light connected state. In fact, the terminal does not receive the conversion signaling, and the state of the terminal is still in the RRC connection state, so the terminal side and the The base station side status is not synchronized.
场景3:当终端处于inactive状态时,若终端向5G基站(g-Node B,gNB)发起RRC连接建立过程、或者RRC连接恢复过程、或者上行链路数据发送,在此过程中若gNB因为负载过高而拒绝了终端,即gNB给终端发RRC reject消息,但终端没有成功接收该消息,因此会出现基站认为终端处于idle状态,而终端实际仍然处于inactive状态。Scenario 3: When the terminal is in the inactive state, if the terminal initiates an RRC connection establishment process, or an RRC connection recovery process, or uplink data transmission to the 5G base station (g-Node B, gNB), if the gNB is in the process due to the load If the terminal is too high and the terminal is rejected, the gNB sends an RRC reject message to the terminal, but the terminal does not successfully receive the message. Therefore, the base station considers that the terminal is in the idle state, and the terminal is still in the inactive state.
场景4:当终端处于inactive状态时,若终端向5G基站gNB发起上行链路数据发送过程中,gNB因为负载过高而给终端发RRC release,但终端接收该消息失败,因此会出现基站认为终端处于idle状态,而终端实际仍然处于inactive状态。Scenario 4: When the terminal is in the inactive state, if the terminal initiates uplink data transmission to the 5G base station gNB, the gNB sends an RRC release to the terminal because the load is too high, but the terminal fails to receive the message. It is in the idle state, and the terminal is still in the inactive state.
场景5:当终端处于inactive状态时,若基站正在给终端发送下行链路数据,在此过程中若因为无线信道变差而导致连续发送失败,当失败次数过多时,基站会判定终端发生了RLF,此时gNB会自主将终端状态转换为idle状态,而由于无显式信令通知终端,终端并不知道基站已经转换了状态,终端实际仍然处于inactive状态。Scenario 5: When the terminal is in the inactive state, if the base station is transmitting downlink data to the terminal, the continuous transmission fails due to the deterioration of the wireless channel in the process. When the number of failures is too large, the base station determines that the terminal has RLF. At this time, the gNB will automatically convert the terminal state to the idle state, and since there is no explicit signaling to notify the terminal, the terminal does not know that the base station has been converted, and the terminal is still in the inactive state.
场景6:当终端处于inactive状态时,若终端正在给gNB发送上行链路数 据,在此过程中若因为无线信道变差而导致连续发送失败,当失败次数过多时,终端会判定终端发生了RLF,此时终端会自主将终端状态转换为idle状态,而基站并不知道终端已经转换了状态,基站实际仍然处于inactive状态。Scenario 6: When the terminal is in the inactive state, if the terminal is sending uplink data to the gNB, the continuous transmission fails due to the deterioration of the radio channel in the process. When the number of failures is too high, the terminal determines that the terminal has RLF. At this time, the terminal will automatically convert the terminal state to the idle state, and the base station does not know that the terminal has been converted, and the base station is still in the inactive state.
其中,场景1和场景2描述的是现有LTE系统机制存在的RRC状态在终端侧和基站侧状态不同步的情况;场景3~6描述的是现有LTE系统机制存在的RRC状态在终端侧和基站侧状态不同步的情况。Scenario 1 and Scenario 2 describe the case where the RRC state of the existing LTE system mechanism is not synchronized on the terminal side and the base station side; and scenarios 3 to 6 describe that the RRC state existing in the existing LTE system mechanism is on the terminal side. The situation is not synchronized with the state of the base station side.
下面以具体的实施例来说明如何实现RRC状态在终端侧和基站侧的状态同步。The following describes how to implement state synchronization of the RRC state on the terminal side and the base station side in a specific embodiment.
本发明实施例提供了保持空口状态同步的方法的流程示意图一,如图1所示,该方法包括以下步骤:An embodiment of the present invention provides a schematic flowchart 1 of a method for maintaining an air interface state synchronization. As shown in FIG. 1 , the method includes the following steps:
步骤101、当终端处于RRC连接状态时,若终端检测到自身满足第一预设条件,终端将自身的状态从RRC连接状态转换为inactive状态。Step 101: When the terminal is in the RRC connected state, if the terminal detects that it meets the first preset condition, the terminal converts its own state from the RRC connected state to the inactive state.
其中,第一预设条件为终端将自身的状态从RRC连接状态转换为inactive状态所必须满足的条件。The first preset condition is a condition that the terminal must satisfy when converting the state of the terminal from the RRC connected state to the inactive state.
步骤102、当终端处于RRC连接状态时,若终端所在基站检测到自身和终端满足第三预设条件,基站将终端的状态从RRC连接状态转换为inactive状态。Step 102: When the terminal is in the RRC connected state, if the base station where the terminal is located detects that the terminal and the terminal meet the third preset condition, the base station changes the state of the terminal from the RRC connected state to the inactive state.
其中,第三预设条件为基站将终端的状态从RRC连接状态转换为inactive状态所必须满足的条件。The third preset condition is a condition that the base station must satisfy to convert the state of the terminal from the RRC connected state to the inactive state.
步骤103、当终端处于inactive状态时,若终端检测到自身满足第二预设条件,终端将自身的状态从inactive状态转换为idle状态。Step 103: When the terminal is in the inactive state, if the terminal detects that it meets the second preset condition, the terminal converts its own state from the inactive state to the idle state.
其中,第二预设条件为终端将自身的状态从inactive状态转换为idle状态所必须满足的条件。The second preset condition is a condition that the terminal must satisfy when converting the state of the state from the inactive state to the idle state.
具体的,步骤103将终端从inactive状态转换为idle状态可以是由终端来实现的。Specifically, the step 103: converting the terminal from the inactive state to the idle state may be implemented by the terminal.
步骤104、当终端处于inactive状态时,若基站检测到终端满足第四预设条件,基站将终端的状态从inactive状态转换为idle状态。Step 104: When the terminal is in the inactive state, if the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state.
其中,第四预设条件为基站将终端的状态从inactive状态转换为idle状态 所必须满足的条件。The fourth preset condition is a condition that the base station must satisfy when converting the state of the terminal from the inactive state to the idle state.
需要说明的是,由终端实现的步骤101和由基站实现的步骤102之间不存在逻辑上的先后顺序,即终端实现步骤101的同时,基站可以实现步骤102;由终端实现的步骤103和由基站实现的步骤104之间不存在逻辑上的先后顺序,即终端实现步骤103的同时,基站可以实现步骤104。It should be noted that there is no logical sequence between the step 101 implemented by the terminal and the step 102 implemented by the base station, that is, the terminal can implement step 101 while the terminal implements step 101; There is no logical sequence between the steps 104 implemented by the base station, that is, the terminal can implement step 104 while the terminal implements step 103.
本实施例提供的保持空口状态同步的方法,当终端处于RRC连接状态时,若终端检测到自身满足第一预设条件,终端将自身的状态从RRC连接状态转换为inactive状态;若基站检测到自身和终端满足第三预设条件,基站将终端的状态从RRC连接状态转换为inactive状态;当终端处于inactive状态时,若终端检测到自身满足第二预设条件,终端将自身的状态从inactive状态转换为idle状态,若基站检测到终端满足第四预设条件,基站将终端的状态从inactive状态转换为idle状态;这样,终端和基站一同将终端的状态从RRC连接状态转换为inactive状态,或者从inactive状态转换为idle状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method for maintaining the state of the air interface state is provided in this embodiment. When the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal changes its state from the RRC connection state to the inactive state; if the base station detects The terminal and the terminal satisfy the third preset condition, and the base station changes the state of the terminal from the RRC connection state to the inactive state. When the terminal is in the inactive state, if the terminal detects that it meets the second preset condition, the terminal sets its own state from the inactive state. The state is converted to the idle state. If the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state. In this way, the terminal and the base station convert the state of the terminal from the RRC connected state to the inactive state. Or from the inactive state to the idle state, so that the state and the base station can still maintain state synchronization in a specific case.
本发明实施例提供了保持空口状态同步的方法的流程示意图二,该方法用于说明当终端处于RRC连接状态时终端和基站如何保持空口状态同步,如图2所示,该方法包括以下步骤:An embodiment of the present invention provides a schematic flowchart 2 of a method for maintaining an air interface state synchronization. The method is used to describe how a terminal and a base station maintain an air interface state synchronization when the terminal is in an RRC connected state. As shown in FIG. 2, the method includes the following steps:
步骤201、当终端处于RRC连接状态时,若终端检测到终端的上行链路失同步,且终端没有发生RLF,且终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的接入层上下文标识AS context ID,终端将自身的状态从RRC连接状态转换为inactive状态。Step 201: When the terminal is in the RRC connection state, if the terminal detects the uplink out-of-synchronization of the terminal, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not exist, it needs to be sent to the base station. The data to be transmitted, and the terminal obtains the access layer context identifier AS context ID sent by the base station, and the terminal converts its own state from the RRC connected state to the inactive state.
其中,AS context ID为基站分配的,且用于标识在基站中存储的终端AS context。The AS context ID is allocated by the base station and is used to identify the terminal AS context stored in the base station.
具体的,步骤201可以通过以下方式来实现:终端先检测终端的上行链路是否失同步,且终端是否发生RLF,且终端是否接收到基站发送的资源调度信令,且终端是否存在需发送至基站的待传输数据,且终端是否接收到基站发送的AS context ID;在检测到终端的上行链路失同步,且终端没有发生RLF,且 终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的AS context ID,终端将自身的状态转换为inactive状态。Specifically, the step 201 is implemented by: the terminal first detecting whether the uplink of the terminal is out of synchronization, and whether the terminal generates RLF, and whether the terminal receives the resource scheduling signaling sent by the base station, and whether the terminal needs to be sent to The data to be transmitted by the base station, and whether the terminal receives the AS context ID sent by the base station; when the uplink desynchronization of the terminal is detected, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal There is no data to be transmitted to be sent to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state to the inactive state.
步骤202、当终端处于RRC连接状态时,若基站检测到终端的上行链路失同步,且终端没有发生RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态从RRC连接状态转换为inactive状态。Step 202: When the terminal is in the RRC connected state, if the base station detects the uplink out-of-synchronization of the terminal, and the RLF does not occur in the terminal, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have to be sent to the base station. The data is transmitted, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station changes the state of the terminal from the RRC connection state to the inactive state.
其中,AS context ID用于标识在基站存储的终端AS context。The AS context ID is used to identify the terminal AS context stored in the base station.
具体的,步骤202可以通过以下方式来实现:基站先检测终端的上行链路是否失同步,且终端是否发生无线链路失败RLF,且基站是否向终端发送了资源调度信令,且终端是否存在需发送至基站的待传输数据,且基站是否存储有终端的AS context,且基站是否向终端发送了AS context ID;在检测到终端的上行链路失同步,且终端没有发生RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态转换为inactive状态。Specifically, the step 202 is implemented by: the base station first detecting whether the uplink of the terminal is out of synchronization, and whether the terminal has a radio link failure RLF, and whether the base station sends resource scheduling signaling to the terminal, and whether the terminal exists. Whether the data to be transmitted is sent to the base station, and whether the base station stores the AS context of the terminal, and whether the base station sends the AS context ID to the terminal; when the uplink desynchronization of the terminal is detected, and the terminal does not generate RLF, and the base station does not have The resource scheduling signaling is sent to the terminal, and the terminal does not have the data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station converts the state of the terminal to the inactive state.
需要说明的是,由终端实现的步骤201和由基站实现的步骤202之间不存在逻辑上的先后顺序,即终端实现步骤201的同时,基站可以实现步骤202。It should be noted that there is no logical sequence between the step 201 implemented by the terminal and the step 202 implemented by the base station, that is, the terminal can implement step 202 while the terminal implements step 201.
还需要说明的是,本实施例提供的保持空口状态同步的方法适用于解决5G系统机制中出现的类似场景1、场景2所描述的问题,即5G系统机制中RRC状态在终端侧和基站侧状态不同步的问题。It should be noted that the method for maintaining the air interface state synchronization provided in this embodiment is applicable to the problem described in the similar scenario 1 and scenario 2 that occurs in the 5G system mechanism, that is, the RRC state in the 5G system mechanism is on the terminal side and the base station side. The problem is that the status is out of sync.
本发明实施例提供的保持空口状态同步的方法,当终端处于RRC连接状态时,若终端检测终端的上行链路失同步,且终端没有发生RLF,且终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的AS context ID,终端将自身的状态转换为inactive状态;若基站检测到终端的上行链路失同步,且终端没有发生RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储 有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态转换为inactive状态;这样,终端和基站一同将终端的状态从RRC连接状态转换为inactive状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the RRC connection state, if the terminal detects the uplink out of synchronization of the terminal, and the terminal does not generate RLF, and the terminal does not receive the resource scheduling signaling sent by the base station. And the terminal does not have the data to be transmitted to be sent to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state into an inactive state; if the base station detects the uplink out of synchronization of the terminal, and the terminal does not have The RLF is generated, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station will The state is converted to the inactive state. In this way, the terminal and the base station convert the state of the terminal from the RRC connection state to the inactive state, thereby achieving the purpose of maintaining state synchronization between the terminal and the base station in a specific case.
本发明实施例提供了保持空口状态同步的方法的流程示意图三,该方法用于说明当终端处于RRC连接状态时终端和基站如何保持空口状态同步,如图3所示,该方法包括以下步骤:The embodiment of the present invention provides a schematic flowchart 3 of a method for maintaining the state of the air interface state. The method is used to describe how the terminal and the base station maintain the air interface state synchronization when the terminal is in the RRC connection state. As shown in FIG. 3, the method includes the following steps:
步骤301、当终端处于RRC连接状态时,若终端检测到终端发生因上行链路失同步导致的RLF,且终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的AS context ID,终端将自身的状态从RRC连接状态转换为inactive状态。Step 301: When the terminal is in the RRC connected state, if the terminal detects that the terminal has an RLF caused by the uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have to send to the base station. The data is transmitted, and the terminal obtains the AS context ID sent by the base station, and the terminal changes its state from the RRC connection state to the inactive state.
其中,AS context ID为基站分配的,且用于标识在基站存储的终端AS context。The AS context ID is allocated by the base station and is used to identify the terminal AS context stored in the base station.
具体的,步骤301可以通过以下方式来实现:终端先检测终端是否发生因上行链路失同步导致的RLF,且终端是否接收到基站发送的资源调度信令,且终端是否存在需发送至基站的待传输数据,且终端是否接收到基站发送的AS context ID;在检测到终端发生因上行链路失同步导致的RLF,且终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的AS context ID,终端将自身的状态转换为inactive状态。Specifically, the step 301 can be implemented in the following manner: the terminal first detects whether the terminal has an RLF caused by uplink out-of-synchronization, and whether the terminal receives the resource scheduling signaling sent by the base station, and whether the terminal needs to be sent to the base station. Data to be transmitted, and whether the terminal receives the AS context ID sent by the base station; detecting the RLF caused by the uplink out-of-synchronization of the terminal, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not exist to be sent. The data to be transmitted to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state into an inactive state.
步骤302、当终端处于RRC连接状态时,若基站检测到终端发生因上行链路失同步导致的RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态从RRC连接状态转换为inactive状态。Step 302: When the terminal is in the RRC connected state, if the base station detects that the terminal has an RLF caused by the uplink out-of-synchronization, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted that needs to be sent to the base station. The base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station changes the state of the terminal from the RRC connection state to the inactive state.
其中,AS context ID用于标识在基站存储的终端AS context。The AS context ID is used to identify the terminal AS context stored in the base station.
具体的,步骤302可以通过以下方式来实现:基站先检测终端是否发生因上行链路失同步导致的RLF,基站是否向终端发送资源调度信令,且终端是否存在需发送至基站的待传输数据,且基站是否存储有终端的AS context,且基 站是否向终端发送AS context ID;在检测到终端发生因上行链路失同步导致的RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态转换为inactive状态。Specifically, the step 302 is implemented by: the base station first detecting whether the terminal has an RLF caused by uplink out-of-synchronization, whether the base station sends resource scheduling signaling to the terminal, and whether the terminal has data to be transmitted to be sent to the base station. Whether the base station stores the AS context of the terminal, and whether the base station sends the AS context ID to the terminal; the RLF is detected by the terminal due to the uplink out-of-synchronization, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not There is a data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends an AS context ID to the terminal, and the base station converts the state of the terminal into an inactive state.
需要说明的是,由终端实现的步骤301和由基站实现的步骤302之间不存在逻辑上的先后顺序,即终端实现步骤301的同时,基站可以实现步骤302It should be noted that there is no logical sequence between the step 301 implemented by the terminal and the step 302 implemented by the base station, that is, the terminal may implement step 302 while the terminal implements step 301.
还需要说明的是,本实施例提供的保持空口状态同步的方法也可以用来解决5G系统机制中出现的类似场景1、场景2所描述的问题。It should be noted that the method for maintaining the state of the air interface state provided by this embodiment can also be used to solve the problems described in the scenario 1 and scenario 2 that appear in the 5G system mechanism.
本发明实施例提供的保持空口状态同步的方法,当终端处于RRC连接状态时,若终端检测到终端发生因上行链路失同步导致的RLF,且终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的AS context ID,终端将自身的状态转换为inactive状态;若基站检测终端的上行链路失同步,且终端没有发生RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态转换为inactive状态;这样,终端和基站一同将终端的状态从RRC连接状态转换为inactive状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the RRC connected state, if the terminal detects that the terminal has an RLF caused by the uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, The terminal does not have the data to be transmitted to be sent to the base station, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state to the inactive state; if the base station detects the uplink out of synchronization of the terminal, and the terminal does not generate RLF And the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted to be sent to the base station, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station converts the state of the terminal. In the inactive state, the terminal and the base station simultaneously convert the state of the terminal from the RRC connection state to the inactive state, thereby achieving the purpose of maintaining state synchronization between the terminal and the base station in a specific case.
本发明实施例提供了保持空口状态同步的方法的流程示意图,如图4所示,该方法用于说明当终端处于RRC连接状态时终端和基站如何保持空口状态同步,该方法包括以下步骤:An embodiment of the present invention provides a schematic flowchart of a method for maintaining an air interface state synchronization. As shown in FIG. 4, the method is used to describe how a terminal and a base station maintain air interface state synchronization when the terminal is in an RRC connected state. The method includes the following steps:
步骤401、当终端处于RRC连接状态时,若终端检测到在终端发生数据收发时启动或重新启动第一计时器计时,且第一计时器的计时时长超过第一定时值,且终端获得了基站发送的AS context ID,终端将自身的状态从RRC连接状态转换为inactive状态。Step 401: When the terminal is in the RRC connected state, if the terminal detects that the first timer is started or restarted when data is sent and received by the terminal, and the timing of the first timer exceeds the first timing, and the terminal obtains the base station The AS context ID is sent, and the terminal changes its state from the RRC connection state to the inactive state.
其中,AS context ID为基站分配的,且用于标识在基站存储的终端AS context;第一定时值为第一计时器的最大计时时长,且第一定时值由基站事先 为终端进行配置;终端发生数据收发包括终端接收到基站分配的上行或下行资源调度指令。The AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station; the first timing value is the maximum timing duration of the first timer, and the first timing value is configured by the base station for the terminal in advance; The occurrence of data transmission and reception includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
具体的,终端发生数据收发时启动或重新启动第一计时器计时,且第一计时器的计时时长超过第一定时值的检测过程包括:终端先检测终端是否发生数据收发,在检测到终端发生数据收发的时刻启动第一计时器计时,然后持续检测终端是否再次发生数据收发,若没有检测到终端再次发生数据收发,且第一计时器的计时时长超过第一定时值,检测过程结束,若检测到终端再次发生数据收发,重新启动第一计时器计时,接着再持续检测终端是否又一次发生数据收发,直到没有检测到终端发生数据收发且第一计时器的计时时长超过第一定时值,检测过程结束。Specifically, the detecting process of starting or restarting the first timer when the terminal sends and receives data, and the detecting process of the first timer exceeds the first timing value comprises: the terminal first detecting whether the terminal generates and receives data, and detecting that the terminal occurs When the data is sent or received, the first timer is started, and then the terminal is continuously detected whether the data is transmitted and received again. If the terminal does not detect that the data is transmitted and received again, and the timing of the first timer exceeds the first timing, the detection process ends. It is detected that the terminal re-transmits the data, restarts the first timer, and then continuously detects whether the terminal has another data transmission and reception, until no data transmission and reception of the terminal is detected and the timing of the first timer exceeds the first timing value. The detection process ends.
步骤402、当终端处于RRC连接状态时,若基站检测到在终端发生数据收发时启动或重新启动第四计时器计时,且第四计时器的计时时长超过第四定时值,且基站存储有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态从RRC连接状态转换为inactive状态。Step 402: When the terminal is in the RRC connection state, if the base station detects that the fourth timer is started or restarted when data is transmitted and received by the terminal, and the timing of the fourth timer exceeds the fourth timing value, and the base station stores the terminal. The AS context, and the base station sends an AS context ID to the terminal, and the base station changes the state of the terminal from the RRC connected state to the inactive state.
其中,AS context ID用于标识在基站存储的终端AS context;终端发生数据收发包括基站为终端分配上行或下行资源调度指令。The AS context ID is used to identify the terminal AS context stored in the base station; the data transmission and reception by the terminal includes the base station assigning an uplink or downlink resource scheduling instruction to the terminal.
具体的,终端发生数据收发时启动或重新启动第四计时器计时,且第四计时器的计时时长超过第四定时值的检测过程包括:基站先检测终端是否发生数据收发,在检测到终端发生数据收发的时刻启动第四计时器计时,然后持续检测终端是否再次发生数据收发,若没有检测到终端再次发生数据收发,且第四计时器的计时时长超过第四定时值,检测过程结束,若检测到终端再次发生数据收发,重新启动第四计时器计时,接着再持续检测是否又一次发生数据收发,直到没有检测到终端发生数据收发且第四计时器的计时时长超过第四定时值,检测过程结束。Specifically, when the terminal generates and receives data, the fourth timer is started or restarted, and the detecting process of the fourth timer exceeds the fourth timing value, the base station first detects whether the terminal generates data transmission and reception, and detects that the terminal occurs. When the data is transmitted and received, the fourth timer is started, and then the terminal is continuously detected whether the data is transmitted and received again. If the terminal does not detect that the data is transmitted and received again, and the timing of the fourth timer exceeds the fourth timing, the detection process ends. It is detected that the terminal re-transmits the data, restarts the fourth timer, and then continuously detects whether data transmission and reception occurs again, until no data transmission and reception of the terminal is detected and the timing of the fourth timer exceeds the fourth timing value, and the detection is performed. The process ends.
进一步的,第一定时值的设置和第四定时值的设置相等或存在一定的误差,这样终端和基站能够同时或在一定时间误差内将终端的状态从RRC连接状态转换为inactive状态。Further, the setting of the first timing value and the setting of the fourth timing value are equal or there is a certain error, so that the terminal and the base station can convert the state of the terminal from the RRC connected state to the inactive state simultaneously or within a certain time error.
需要说明的是,由终端实现的步骤401和由基站实现的步骤402之间不存在逻辑上的先后顺序,即终端实现步骤401的同时,基站可以实现步骤402。即使终端和基站可能出现在RRC连接状态和inactive状态之间不同步,没有进入inactive状态的一方会随着时间推移(即超出预设值后)而进入inactive状态,从而实现终端和基站之间状态同步的目的。It should be noted that there is no logical sequence between the step 401 implemented by the terminal and the step 402 implemented by the base station, that is, the terminal can implement step 402 while the terminal implements step 401. Even if the terminal and the base station may be out of synchronization between the RRC connection state and the inactive state, the party that does not enter the inactive state enters the inactive state over time (that is, after the preset value is exceeded), thereby realizing the state between the terminal and the base station. The purpose of synchronization.
还需要说明的是,本实施例提供的保持空口状态同步的方法也可以用来解决5G系统机制中出现的类似场景1、场景2所描述的问题。而对于如何解决场景1和场景2所描述的问题,保持终端和基站状态同步的方法与图4对应的实施例提供的方法基本相同,只是在图4对应的实施例中,终端和基站是将终端的状态从RRC连接状态转换为inactive状态,而在实现场景1和场景2下终端和基站状态同步的过程中,终端和基站是将终端的状态从RRC连接状态转换为light connected状态。It should be noted that the method for maintaining the state of the air interface state provided by this embodiment can also be used to solve the problems described in the scenario 1 and scenario 2 that appear in the 5G system mechanism. For the problem described in the scenario 1 and the scenario 2, the method for keeping the state of the terminal and the base station synchronized is basically the same as the method provided by the embodiment corresponding to FIG. 4, but in the embodiment corresponding to FIG. 4, the terminal and the base station are The state of the terminal is changed from the RRC connection state to the inactive state, and in the process of implementing the state synchronization between the terminal and the base station in scenario 1 and scenario 2, the terminal and the base station change the state of the terminal from the RRC connection state to the light connected state.
本发明实施例提供的保持空口状态同步的方法,当终端处于RRC连接状态时,若终端检测到终端发生数据收发时启动或重新启动第一计时器计时,且第一计时器的计时时长超过第一定时值,且终端获得了基站发送的AS context ID,终端将自身的状态转换为idle状态;若基站检测到在终端发生数据收发时启动或重新启动第四计时器计时,且第四计时器的计时时长超过第四定时值,且基站存储有终端的AS context,且基站向终端发送了AS context ID,基站将终端的状态转换为idle状态;这样,终端和基站一同将终端的状态从RRC连接状态转换为inactive状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the RRC connection state, if the terminal detects that the terminal generates data transmission and reception, the first timer is started or restarted, and the time duration of the first timer exceeds the a certain time value, and the terminal obtains the AS context ID sent by the base station, and the terminal converts its own state into an idle state; if the base station detects that the fourth timer is started or restarted when the terminal transmits and receives data, and the fourth timer The chronograph duration exceeds the fourth timing value, and the base station stores the AS context of the terminal, and the base station sends the AS context ID to the terminal, and the base station converts the state of the terminal into the idle state; thus, the terminal and the base station together state the state of the terminal from the RRC. The connection state is converted to the inactive state, so that the state synchronization can still be maintained between the terminal and the base station in a specific case.
本发明实施例提供了保持空口状态同步的方法的流程示意图五,如图5所示,该方法用于说明当终端处于inactive状态时终端和基站如何保持空口状态同步,该方法包括以下步骤:The embodiment of the present invention provides a schematic flowchart of a method for maintaining the state of the air interface state. As shown in FIG. 5, the method is used to describe how the terminal and the base station maintain the air interface state synchronization when the terminal is in the inactive state. The method includes the following steps:
步骤501、当终端处于inactive状态时,若终端检测到终端发生RLF,且终端重选其他小区失败,终端将自身的状态从inactive状态转换为idle状态。Step 501: When the terminal is in the inactive state, if the terminal detects that the terminal has RLF and the terminal fails to reselect other cells, the terminal changes its state from the inactive state to the idle state.
具体的,步骤501可以通过以下方式来实现:终端先检测终端是否发生 RLF;且终端重选其他小区是否失败;在检测到终端发生了RLF,且终端重选其他小区失败,终端将自身的状态转换为idle状态。Specifically, the step 501 can be implemented in the following manner: the terminal first detects whether the terminal has an RLF; and the terminal reselects whether the other cell fails; when detecting that the terminal has RLF, and the terminal fails to reselect other cells, the terminal sets its own state. Convert to idle state.
需要说明的是,其他小区为除终端当前所在小区以外的小区。It should be noted that other cells are cells other than the cell where the terminal is currently located.
步骤502、当终端处于inactive状态时,若基站检测到终端发生RLF,基站将终端的状态从inactive状态转换为idle状态。Step 502: When the terminal is in the inactive state, if the base station detects that the terminal has RLF, the base station changes the state of the terminal from the inactive state to the idle state.
具体的,步骤502可以包括:基站先检测终端是否发生RLF;在检测到终端发生了RLF,基站将终端的状态转换为idle状态。Specifically, the step 502 may include: the base station first detecting whether the terminal has an RLF; and detecting that the RLF occurs in the terminal, the base station converts the state of the terminal to an idle state.
需要说明的是,由终端实现的步骤501和由基站实现的步骤502之间不存在逻辑上的先后顺序,即终端实现步骤501的同时,基站可以实现步骤502。It should be noted that there is no logical sequence between the step 501 implemented by the terminal and the step 502 implemented by the base station, that is, the terminal can implement step 502 while the terminal implements step 501.
进一步的,本实施例提供的保持空口状态同步的方法,还包括终端存储自身的AS context,基站存储终端的AS context。终端将自身的状态转换为idle状态之后保存自己的AS context,这可以使得终端后续支持采用RRC恢复过程来重建RRC连接,基站在将终端的状态转换为idle状态之后保存终端的AS context,这可以使得基站后续支持采用RRC恢复过程来重建RRC连接。Further, the method for maintaining the air interface state synchronization provided in this embodiment further includes: the terminal stores its own AS context, and the base station stores the AS context of the terminal. After the terminal converts its own state to the idle state, it saves its own AS context. This allows the terminal to support the RRC recovery process to reestablish the RRC connection. The base station saves the AS context of the terminal after converting the state of the terminal to the idle state. The base station is subsequently supported to use the RRC recovery procedure to reestablish the RRC connection.
需要说明的是,本实施例提供的保持空口状态同步的方法可以用来解决5G系统机制中出现的类型场景4~6所描述的问题,即5G系统机制中RRC状态在终端侧和基站侧状态不同步的问题。It should be noted that the method for maintaining the air interface state synchronization provided in this embodiment may be used to solve the problem described in the type scenarios 4 to 6 in the 5G system mechanism, that is, the RRC state in the 5G system mechanism is on the terminal side and the base station side state. The problem is not synchronized.
本发明实施例提供的保持空口状态同步的方法,当终端处于inactive状态时,若终端检测到自身发生了RLF,且重选其他小区失败,终端将自身的状态转换为idle状态;若基站检测到终端发生了RLF,基站将终端的状态转换为idle状态;这样,终端和基站一同将终端的状态从inactive状态转换为idle状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the inactive state, if the terminal detects that the RLF has occurred and the other cell fails to be reselected, the terminal converts its own state to the idle state; if the base station detects The RLF occurs on the terminal, and the base station converts the state of the terminal to the idle state. In this way, the terminal and the base station convert the state of the terminal from the inactive state to the idle state, thereby achieving the purpose of maintaining state synchronization between the terminal and the base station in a specific situation. .
本发明实施例提供了保持空口状态同步的方法的流程示意图,如图6所示,该方法用于说明当终端处于inactive状态时终端和基站如何保持空口状态同步,该方法包括以下步骤:An embodiment of the present invention provides a schematic flowchart of a method for maintaining an air interface state synchronization. As shown in FIG. 6 , the method is used to describe how a terminal and a base station maintain an air interface state synchronization when the terminal is in an inactive state. The method includes the following steps:
步骤601、当终端处于inactive状态时,若终端检测到在终端上行传输失败或下行传输失败时启动或重新启动第二计时器计时,且第二计时器的计时时长 超过第二定时值,终端将自身的状态从inactive状态转换为idle状态;其中,第五计时器在终端上行传输成功或下行传输成功时停止计时。Step 601: When the terminal is in the inactive state, if the terminal detects that the second timer is started or restarted when the terminal uplink transmission fails or the downlink transmission fails, and the timing of the second timer exceeds the second timing value, the terminal will The state of the self transitions from the inactive state to the idle state; wherein the fifth timer stops timing when the terminal uplink transmission succeeds or the downlink transmission succeeds.
其中,第二定时值为第二计时器的最大计时时长,且第二定时值由基站事先为终端进行配置。The second timing value is a maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
具体的,步骤601可以通过以下方式来实现:终端先检测终端上行传输且下行传输是否失败,若检测到终端上行传输失败或下行传输失败,在检测到终端上行传输失败或下行传输失败的时刻启动第二计时器计时,当第二计时器的计时时长在第二定时值内并检测到了终端上行传输成功或下行传输成功,第二计时器停止计时,当终端再次检测到终端上行传输失败或下行传输失败,在再次检测到终端上行传输失败或下行传输失败的时刻重新启动第五计时器计时,直到第五计时器的计时时长能够超过第五定时值,终端将自身的状态转换为idle状态。Specifically, the step 601 can be implemented in the following manner: the terminal first detects the uplink transmission of the terminal, and the downlink transmission fails. If the terminal uplink transmission fails or the downlink transmission fails, the terminal starts to detect that the uplink transmission fails or the downlink transmission fails. The second timer is timed. When the timing of the second timer is within the second timing value and it is detected that the terminal uplink transmission is successful or the downlink transmission is successful, the second timer stops counting, and when the terminal detects the terminal uplink transmission failure or downlink again The transmission fails, and the fifth timer is restarted at the time when the terminal uplink transmission failure or the downlink transmission failure is detected again, until the timing of the fifth timer can exceed the fifth timing value, and the terminal converts its own state into the idle state.
具体的,若终端检测到终端重选其他小区,第二计时器继续计时。Specifically, if the terminal detects that the terminal reselects other cells, the second timer continues to time.
步骤602、当终端处于inactive状态时,若基站检测到在终端上行传输失败或下行传输失败时启动或重新启动第五计时器计时,且第五计时器的计时时长超过第五定时值,基站将终端的状态从inactive状态转换为idle状态;其中,第五计时器在基站检测到终端上行传输成功或下行传输成功时停止计时。Step 602: When the terminal is in the inactive state, if the base station detects that the fifth timer is started or restarted when the terminal uplink transmission fails or the downlink transmission fails, and the time duration of the fifth timer exceeds the fifth timing value, the base station will The state of the terminal is changed from the inactive state to the idle state. The fifth timer stops timing when the base station detects that the terminal uplink transmission succeeds or the downlink transmission succeeds.
具体的,步骤602可以通过以下方式来实现:基站先检测终端上行传输且下行传输是否失败,若检测到终端上行传输失败或下行传输失败,在检测到终端上行传输失败或下行传输失败的时刻启动第五计时器计时,当第五计时器的计时时长在第五定时值内并检测到了终端上行传输成功或下行传输成功,第五计时器停止计时,当基站再次检测到终端上行传输失败或下行传输失败,在再次检测到终端上行传输失败或下行传输失败的时刻重新启动第五计时器计时,直到第五计时器的计时时长能够超过第五定时值,基站将终端的状态从inactive状态转换为idle状态。Specifically, the step 602 can be implemented in the following manner: the base station first detects the uplink transmission of the terminal, and the downlink transmission fails. If the uplink transmission failure or the downlink transmission failure of the terminal is detected, the terminal starts to detect the uplink transmission failure or the downlink transmission fails. The fifth timer is timed. When the timing of the fifth timer is within the fifth timing value and the terminal uplink transmission is successful or the downlink transmission is successful, the fifth timer stops counting, and when the base station detects the terminal uplink transmission failure or downlink again. The transmission fails, and the fifth timer is restarted when the terminal uplink transmission failure or the downlink transmission fails is detected again, until the timing of the fifth timer can exceed the fifth timing value, and the base station converts the state of the terminal from the inactive state to Idle state.
需要说明的是,由终端实现的步骤601和由基站实现的步骤602之间不存在逻辑上的先后顺序,即终端实现步骤601的同时,基站可以实现步骤602。It should be noted that there is no logical sequence between the step 601 implemented by the terminal and the step 602 implemented by the base station, that is, the terminal can implement step 602 while the terminal implements step 601.
需要说明的是,采用本发明实施例提供的保持空口状态同步的方法,当终端和基站检测到连续的上行传输失败或下行传输失败时,可以通过设置第二定时值和第五定时值更早地一起转换到idle态,而不需要等到RLF发生。It should be noted that, by using the method for maintaining air interface state synchronization provided by the embodiment of the present invention, when the terminal and the base station detect continuous uplink transmission failure or downlink transmission failure, the second timing value and the fifth timing value may be set earlier. The ground is converted to the idle state together without waiting for the RLF to occur.
进一步的,第二定时值的设置和第五定时值的设置相等或存在一定的误差,这样终端和基站能够同时或在一定时间误差内将终端的状态从inactive状态转换为idle状态。Further, the setting of the second timing value and the setting of the fifth timing value are equal or there is a certain error, so that the terminal and the base station can convert the state of the terminal from the inactive state to the idle state simultaneously or within a certain time error.
进一步的,本实施例提供的保持空口状态同步的方法,在步骤601之后还包括终端存储终端的AS context,在步骤602之后还包括基站存储终端的AS context。Further, the method for maintaining the air interface state synchronization provided in this embodiment further includes, after step 601, the AS context of the terminal storage terminal, and further includes, after step 602, the AS context of the base station storage terminal.
还需要说明的是,本实施例提供的保持空口状态同步的方法可以用来解决5G系统机制中出现的类型场景4~6所描述的问题。It should be noted that the method for maintaining air interface state synchronization provided by this embodiment can be used to solve the problems described in type scenarios 4-6 occurring in the 5G system mechanism.
本发明实施例提供的保持空口状态同步的方法,当终端处于inactive状态时,若终端检测到在终端上行传输失败或下行传输失败时启动或重新启动第二计时器计时,且第二计时器的计时时长超过第二定时值,终端将自身的状态转换为idle状态;若基站检测到在终端上行传输失败或下行传输失败时启动或重新启动第五计时器计时,且第五计时器的计时时长超过第五定时值,基站将终端的状态转换为idle状态;这样,终端和基站一同将终端的状态从inactive状态转换为idle状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the inactive state, if the terminal detects that the terminal uplink transmission fails or the downlink transmission fails, the second timer is started or restarted, and the second timer is If the timing exceeds the second timing, the terminal converts its own state to the idle state; if the base station detects that the uplink transmission fails or the downlink transmission fails, the base station starts or restarts the fifth timer, and the fifth timer is timed. When the fifth timing value is exceeded, the base station converts the state of the terminal to the idle state. In this way, the terminal and the base station convert the state of the terminal from the inactive state to the idle state, so that the state and the base station can still maintain state synchronization in a specific case. purpose.
本发明实施例提供了保持空口状态同步的方法的流程示意图七,如图7所示,该方法用于说明当终端处于inactive状态时终端和基站如何保持空口状态同步,该方法包括以下步骤:The embodiment of the present invention provides a schematic flowchart of a method for maintaining the state of the air interface state synchronization. As shown in FIG. 7 , the method is used to describe how the terminal and the base station maintain the air interface state synchronization when the terminal is in the inactive state. The method includes the following steps:
步骤701、当终端处于inactive状态时,若终端检测到在终端发生数据收发时启动或重新启动第三计时器计时,且第三计时器的计时时长超过第三定时值,终端将自身的状态从inactive状态转换为idle状态。Step 701: When the terminal is in the inactive state, if the terminal detects that the third timer is started or restarted when data is transmitted and received by the terminal, and the timing of the third timer exceeds the third timing value, the terminal sets its own state. The inactive state is converted to the idle state.
其中,第三定时值为第三计时器的最大计时时长,且第三定时值由基站事先为终端进行配置;终端发生数据收发包括终端接收到基站分配的上行或下行 资源调度指令。The third timing value is the maximum timing duration of the third timer, and the third timing value is configured by the base station for the terminal in advance; the data transmission and reception by the terminal includes the terminal receiving the uplink or downlink resource scheduling instruction allocated by the base station.
具体的,步骤701可以通过以下方式来实现:终端先检测终端是否发生数据收发,在检测到终端发生数据收发的时刻启动第三计时器计时,然后持续检测终端是否再次发生数据收发,若没有检测到终端再次发生数据收发,且第三计时器的计时时长超过第三定时值,终端将自身的状态转换为idle状态,若检测到终端再次发生数据收发,重新启动第三计时器计时,接着再持续检测终端是否又一次发生数据收发,直到没有检测到终端发生数据收发且第三计时器的计时时长超过第三定时值,终端将自身的状态转换为idle状态。Specifically, the step 701 can be implemented in the following manner: the terminal first detects whether the terminal generates and receives data, and starts the third timer at the time when the terminal detects the data transmission and reception, and then continuously detects whether the terminal retransmits the data, if not detected. After the data is sent and received again to the terminal, and the timing of the third timer exceeds the third timing value, the terminal converts its own state into an idle state. If it detects that the terminal again receives data transmission and reception, restarts the third timer, and then restarts. The terminal continuously detects whether the data transmission and reception occurs again until the terminal does not detect that the data transmission and reception occurs, and the timing of the third timer exceeds the third timing value, and the terminal converts its own state into the idle state.
步骤702、当终端处于inactive状态时,若基站检测到在终端发生数据收发时启动或重新启动第六计时器计时,且第六计时器的计时时长超过第六定时值,基站将终端的状态从inactive状态转换为idle状态。Step 702: When the terminal is in the inactive state, if the base station detects that the sixth timer is started or restarted when data is transmitted and received by the terminal, and the timing of the sixth timer exceeds the sixth timing value, the base station changes the state of the terminal from The inactive state is converted to the idle state.
其中,终端发生数据收发包括基站为终端分配上行或下行资源调度指令。The data transmission and reception by the terminal includes the base station allocating an uplink or downlink resource scheduling instruction to the terminal.
具体的,步骤702可以通过以下方式来实现:基站先检测终端是否发生数据收发,在检测到终端发生数据收发的时刻启动第六计时器计时,然后持续检测终端是否再次发生数据收发,若没有检测到终端再次发生数据收发,且第六计时器的计时时长超过第六定时值,基站将终端的状态转换为idle状态,若检测到终端再次发生数据收发,重新启动第六计时器计时,接着再持续检测是否又一次发生数据收发,直到没有检测到终端发生数据收发且第六计时器的计时时长超过第六定时值,基站将终端的状态转换为idle状态。Specifically, the step 702 can be implemented by: the base station first detecting whether the terminal has data transmission and reception, and starting the sixth timer at the time when the terminal detects the data transmission and reception, and then continuously detecting whether the terminal retransmits the data, if not detected. After the data is sent and received again to the terminal, and the timing of the sixth timer exceeds the sixth timing value, the base station converts the state of the terminal to the idle state. If the terminal detects that the data is transmitted and received again, the sixth timer is restarted, and then Continuously detecting whether data transmission and reception occurs again, until the terminal does not detect data transmission and reception and the timing of the sixth timer exceeds the sixth timing value, the base station converts the state of the terminal into an idle state.
需要说明的是,由终端实现的步骤701和由基站实现的步骤702之间不存在逻辑上的先后顺序,即终端实现步骤701的同时,基站可以实现步骤702。It should be noted that there is no logical sequence between the step 701 implemented by the terminal and the step 702 implemented by the base station, that is, the terminal may implement step 702 while the terminal implements step 701.
进一步的,第三定时值的设置和第六定时值的设置相等或存在一定的误差,这样终端和基站能够同时或在一定时间误差内将终端的状态从inactive状态转换为idle状态。Further, the setting of the third timing value and the setting of the sixth timing value are equal or there is a certain error, so that the terminal and the base station can convert the state of the terminal from the inactive state to the idle state simultaneously or within a certain time error.
进一步的,本实施例提供的保持空口状态同步的方法,还包括终端存储终端的AS context,基站存储终端的AS context。Further, the method for maintaining the air interface state synchronization provided by the embodiment further includes: the AS context of the terminal storage terminal, and the AS context of the base station storage terminal.
还需要说明的是,本实施例提供的保持空口状态同步的方法可以用来解决 5G系统机制中出现的类型场景4~6所描述的问题。It should be noted that the method for maintaining air interface state synchronization provided by this embodiment can be used to solve the problems described in type scenarios 4-6 occurring in the 5G system mechanism.
本发明实施例提供的保持空口状态同步的方法,当终端处于inactive状态时,若终端检测到在终端发生数据收发时启动或重新启动第三计时器计时,且第三计时器的计时时长超过第三定时,终端将自身的状态转换为idle状态;若基站检测到在终端发生数据收发时启动或重新启动第六计时器计时,且第六计时器的计时时长超过第六定时值,基站将终端的状态转换为idle状态;这样,终端和基站一同将终端的状态从inactive状态转换为idle状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。The method for maintaining the air interface state synchronization provided by the embodiment of the present invention, when the terminal is in the inactive state, if the terminal detects that the third timer is started or restarted when data is transmitted and received by the terminal, and the timing of the third timer exceeds the At the third timing, the terminal converts its own state into an idle state; if the base station detects that the sixth timer is started or restarted when data is transmitted and received by the terminal, and the timing of the sixth timer exceeds the sixth timing value, the base station will terminate the terminal. The state is converted to the idle state; thus, the terminal and the base station convert the state of the terminal from the inactive state to the idle state, thereby achieving the purpose of maintaining state synchronization between the terminal and the base station in a specific case.
本发明实施例提供一种终端,如图8所示,该终端8包括:The embodiment of the invention provides a terminal. As shown in FIG. 8, the terminal 8 includes:
第一处理单元81,配置为当终端处于RRC连接状态时,若检测到终端满足第一预设条件,将终端的状态从RRC连接状态转换为inactive状态;其中,第一预设条件为第一处理单元将终端的状态从RRC连接状态转换为inactive状态所必须满足的条件。The first processing unit 81 is configured to: when the terminal is in the RRC connection state, if it detects that the terminal meets the first preset condition, the state of the terminal is changed from the RRC connection state to the inactive state; wherein the first preset condition is the first The processing unit must satisfy the condition that the state of the terminal is changed from the RRC connected state to the inactive state.
第二处理单元82,配置为当终端处于inactive状态时,若检测到终端满足第二预设条件,将终端的状态从inactive状态转换为idle状态;其中,第二预设条件为第二处理单元将终端的状态从inactive状态转换为idle状态所必须满足的条件。The second processing unit 82 is configured to: when the terminal is in the inactive state, if the terminal is found to satisfy the second preset condition, the state of the terminal is changed from the inactive state to the idle state; wherein the second preset condition is the second processing unit The condition that must be met to convert the state of the terminal from the inactive state to the idle state.
进一步的,第一预设条件包括:终端的上行链路失同步,且终端没有发生RLF,且终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的接入层上下文标识AS context ID;其中,AS context ID为基站分配的,且用于标识在基站存储的终端接入层上下文AS context。Further, the first preset condition includes: an uplink out-of-synchronization of the terminal, and the terminal does not generate the RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have the data to be transmitted that needs to be sent to the base station, The terminal obtains the access layer context identifier AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal access layer context AS context stored in the base station.
第一预设条件还包括:终端发生因上行链路失同步导致的RLF,且终端没有接收到基站发送的资源调度信令,且终端不存在需发送至基站的待传输数据,且终端获得了基站发送的AS context ID;其中,AS context ID为基站分配的,且用于标识在基站存储的终端AS context。The first preset condition further includes: the RLF caused by the uplink out-of-synchronization of the terminal, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have the data to be transmitted that needs to be sent to the base station, and the terminal obtains The AS context ID sent by the base station; where the AS context ID is allocated by the base station and used to identify the terminal AS context stored in the base station.
第一预设条件还包括:在终端发生数据收发时启动或重新启动第一计时器 计时,且第一计时器的计时时长超过第一定时值,且终端获得了基站发送的AS context ID;其中,AS context ID为基站分配的,且用于标识在基站存储的终端AS context;第一定时值为第一计时器的最大计时时长,且第一定时值由基站事先为终端进行配置;终端发生数据收发包括终端接收到基站分配的上行或下行资源调度指令。The first preset condition further includes: starting or restarting the first timer when the terminal sends and receives data, and the timing of the first timer exceeds the first timing value, and the terminal obtains the AS context ID sent by the base station; The AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station; the first timing value is the maximum timing duration of the first timer, and the first timing value is configured by the base station for the terminal in advance; the terminal occurs Data transceiving includes receiving, by the terminal, an uplink or downlink resource scheduling instruction allocated by the base station.
进一步的,第二预设条件包括:终端发生RLF,且终端重选其他小区失败;其中,其他小区为除终端当前所在小区以外的小区。Further, the second preset condition includes: the terminal generates RLF, and the terminal fails to reselect other cells; wherein, the other cells are cells other than the cell where the terminal is currently located.
第二预设条件还包括:在终端上行传输失败或下行传输失败时启动或重新启动第二计时器计时,且第二计时器的计时时长超过第二定时值;其中,第二计时器在终端上行传输成功或下行传输成功时停止计时;第二定时值为第二计时器的最大计时时长,且第二定时值由基站事先为终端进行配置。The second preset condition further includes: starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds the second timing value; wherein the second timer is at the terminal When the uplink transmission succeeds or the downlink transmission succeeds, the timing is stopped; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
第二预设条件还包括:在终端发生数据收发时启动或重新启动第三计时器计时,且第三计时器的计时时长超过第三定时值;其中,第三定时值为第三计时器的最大计时时长,且第三定时值由基站事先为终端进行配置;终端发生数据收发包括终端接收到基站分配的上行或下行资源调度指令。The second preset condition further includes: starting or restarting the third timer timing when the terminal transmits and receives data, and the timing duration of the third timer exceeds the third timing value; wherein the third timing value is the third timer The maximum timing is long, and the third timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving the uplink or downlink resource scheduling instruction allocated by the base station.
进一步,在图8对应的实施例的基础上,如图9所示,本发明实施例提供的终端8还包括:Further, on the basis of the corresponding embodiment of FIG. 8, as shown in FIG. 9, the terminal 8 provided by the embodiment of the present invention further includes:
第一存储单元83,配置为存储终端的AS context。The first storage unit 83 is configured to store the AS context of the terminal.
本发明实施例提供一种基站,如图10所示,该基站9包括:An embodiment of the present invention provides a base station. As shown in FIG. 10, the base station 9 includes:
第三处理单元91,配置为当终端处于RRC连接状态时,若检测到终端和基站满足第三预设条件,将终端的状态从RRC连接状态转换为inactive状态;其中,第三预设条件为第三处理单元将终端的状态从RRC连接状态转换为inactive状态所必须满足的条件。The third processing unit 91 is configured to: when the terminal is in the RRC connected state, if it detects that the terminal and the base station meet the third preset condition, the state of the terminal is changed from the RRC connected state to the inactive state; wherein the third preset condition is The third processing unit is a condition that must be satisfied to convert the state of the terminal from the RRC connected state to the inactive state.
第四处理单元92,配置为当终端处于inactive状态时,若检测到终端满足第四预设条件,将终端的状态从inactive状态转换为idle状态;其中,第四预设条件为第四处理单元将终端的状态从inactive状态转换为idle状态所必须满足的条件。The fourth processing unit 92 is configured to: when the terminal is in the inactive state, if the terminal is found to satisfy the fourth preset condition, the state of the terminal is changed from the inactive state to the idle state; wherein the fourth preset condition is the fourth processing unit. The condition that must be met to convert the state of the terminal from the inactive state to the idle state.
进一步的,第三预设条件包括:终端的上行链路失同步,且终端没有发生RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储有终端的AS context,且基站向终端发送了AS context ID;其中,AS context ID用于标识在基站存储的终端AS context。Further, the third preset condition includes: the uplink desynchronization of the terminal, and the RLF does not occur in the terminal, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted that needs to be sent to the base station, and the base station The AS context of the terminal is stored, and the base station sends an AS context ID to the terminal. The AS context ID is used to identify the terminal AS context stored in the base station.
第三预设条件还包括:终端发生因上行链路失同步导致的RLF,且基站没有向终端发送资源调度信令,且终端不存在需发送至基站的待传输数据,且基站存储有终端的AS context,且基站向终端发送了AS context ID;其中,AS context ID用于标识在基站存储的终端AS context。The third preset condition further includes: the RLF generated by the terminal due to the uplink out-of-synchronization, and the base station does not send the resource scheduling signaling to the terminal, and the terminal does not have the data to be transmitted that needs to be sent to the base station, and the base station stores the terminal. The AS context, and the base station sends an AS context ID to the terminal. The AS context ID is used to identify the terminal AS context stored in the base station.
第三预设条件还包括:在终端发生数据收发时启动或重新启动第四计时器计时,且第四计时器的计时时长超过第四定时值,且基站存储有终端的AS context,且基站向终端发送了AS context ID;其中,AS context ID用于标识在基站存储的终端AS context;终端发生数据收发包括基站为终端分配上行或下行资源调度指令。The third preset condition further includes: starting or restarting the fourth timer timing when the terminal performs data transmission and reception, and the timing duration of the fourth timer exceeds the fourth timing value, and the base station stores the AS context of the terminal, and the base station The AS sends the AS context ID. The AS context ID is used to identify the terminal AS context stored in the base station. The data transmission and reception of the terminal includes the base station assigning uplink or downlink resource scheduling commands to the terminal.
进一步的,第四预设条件包括:终端发生RLF。Further, the fourth preset condition includes: the terminal generates an RLF.
第四预设条件还包括:在终端上行传输失败或下行传输失败时启动或重新启动第五计时器计时,且第五计时器的计时时长超过第五定时值;其中,第五计时器在基站检测到终端上行传输成功或下行传输成功时停止计时。The fourth preset condition further includes: starting or restarting the fifth timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the fifth timer exceeds a fifth timing value; wherein the fifth timer is at the base station The timing is stopped when the uplink transmission of the terminal is successful or the downlink transmission is successful.
第四预设条件还包括:在终端发生数据收发时启动或重新启动第六计时器计时,且第六计时器的计时时长超过第六定时值;其中,终端发生数据收发包括基站为终端分配上行或下行资源调度指令。The fourth preset condition further includes: starting or restarting the sixth timer when the terminal sends and receives data, and the timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception by the terminal includes the base station allocating the uplink for the terminal Or downlink resource scheduling instructions.
进一步,在图10对应的实施例的基础上,如图11所示,本发明实施例提供的基站9还包括:Further, on the basis of the corresponding embodiment of FIG. 10, as shown in FIG. 11, the base station 9 provided by the embodiment of the present invention further includes:
第二存储单元93,配置为基站存储终端的AS context。The second storage unit 93 is configured to store the AS context of the terminal.
本实施例提供的终端和基站,当终端处于RRC连接状态时,若终端检测到终端满足第一预设条件,终端将自身的状态从RRC连接状态转换为inactive状态;若基站检测到自身和终端满足第三预设条件,基站将终端的状态从RRC连接状态转换为inactive状态;当终端处于inactive状态时,若终端检测到自身满 足第二预设条件,终端将自身的状态从inactive状态转换为idle状态,若基站检测到终端满足第四预设条件,基站将终端的状态从inactive状态转换为idle状态;这样,终端和基站一同将终端的状态从RRC连接状态转换为inactive状态,或者从inactive状态转换为idle状态,从而实现特定情况下终端和基站之间仍然能够保持状态同步的目的。When the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal changes its state from the RRC connection state to the inactive state; if the base station detects itself and the terminal, The third preset condition is met, the base station changes the state of the terminal from the RRC connection state to the inactive state; when the terminal is in the inactive state, if the terminal detects that the terminal meets the second preset condition, the terminal converts its state from the inactive state to the inactive state. In the idle state, if the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle state; thus, the terminal and the base station convert the state of the terminal from the RRC connection state to the inactive state, or from the inactive state. The state is converted to the idle state, so that the state synchronization can still be maintained between the terminal and the base station in a specific case.
在实际应用中,所述第一处理单元81、第二处理单元82、第一存储单元83、第三处理单元91、第四处理单元92、第二存储单元93均可由位于装置中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。In practical applications, the first processing unit 81, the second processing unit 82, the first storage unit 83, the third processing unit 91, the fourth processing unit 92, and the second storage unit 93 may all be processed by the central processing located in the device. (Central Processing Unit (CPU), Micro Processor Unit (MPU), Digital Signal Processor (DSP) or Field Programmable Gate Array (FPGA).
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明实施例还提供一种电子设备,如终端、基站;所述电子设备的硬件组成结构示意图,如图12所示,电子设备110包括:至少一个处理器111、存储器112和至少一个网络接口114。电子设备110中的各个组件通过总线系统115耦合在一起。可理解,总线系统115用于实现这些组件之间的连接通信。总线系统115除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线系统115。The embodiment of the present invention further provides an electronic device, such as a terminal and a base station; and a hardware structure diagram of the electronic device. As shown in FIG. 12, the electronic device 110 includes: at least one processor 111, a memory 112, and at least one network interface. 114. The various components in electronic device 110 are coupled together by a bus system 115. It will be appreciated that the bus system 115 is used to implement connection communication between these components. The bus system 115 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 115 in FIG.
可以理解,存储器112可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是ROM、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存 储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器112旨在包括但不限于这些和任意其它适合类型的存储器。It will be appreciated that the memory 112 can be either volatile memory or non-volatile memory, and can include both volatile and nonvolatile memory. The non-volatile memory may be a ROM, a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), or an electrically erasable device. EEPROM (Electrically Erasable Programmable Read-Only Memory), Ferromagnetic random access memory (FRAM), Flash Memory, Magnetic Surface Memory, Optical Disk, or Read Only Disc (CD) -ROM, Compact Disc Read-Only Memory); the magnetic surface memory may be a disk storage or a tape storage. The volatile memory can be a random access memory (RAM) that acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access (SSRAM). DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhancement Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory Bus Random Access Memory (DRRAM) ). The memory 112 described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
本发明实施例中的存储器112用于存储各种类型的数据以支持电子设备110的操作。这些数据的示例包括:用于在电子设备110上操作的任何计算机程序,如应用程序1122。实现本发明实施例方法的程序可以包含在应用程序1122中。The memory 112 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device 110. Examples of such data include any computer program, such as application 1122, for operating on electronic device 110. A program implementing the method of the embodiment of the present invention may be included in the application 1122.
上述本发明实施例揭示的方法可以应用于处理器111中,或者由处理器111实现。处理器111可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器111中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器111可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器111可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译 码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器112,处理器111读取存储器112中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 111 or implemented by the processor 111. The processor 111 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 111 or an instruction in a form of software. The processor 111 described above may be a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. The processor 111 can implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can reside in a storage medium located in memory 112, and processor 111 reads the information in memory 112 and, in conjunction with its hardware, performs the steps of the foregoing method.
在示例性实施例中,电子设备110可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、MPU、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the electronic device 110 may be configured by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), and Complex Programmable Logic Devices (CPLDs). , Complex Programmable Logic Device), FPGA, general purpose processor, controller, MCU, MPU, or other electronic component implementation for performing the aforementioned methods.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序信令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序信令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的信令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer programs can be provided to signal to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for signaling by a processor of a computer or other programmable data processing device. Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
这些计算机程序信令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的信令产生包括信令装置的制造品,该信令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program signaling can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that signaling stored in the computer readable memory produces an article of manufacture including the signaling device. The signaling device implements the functions specified in one or more blocks of a flow or a flow and/or a block diagram of the flowchart.
这些计算机程序信令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的信令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program signaling can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device The signaling provides steps for implementing the functions specified in one or more blocks of a flow or a flow and/or a block diagram of a block diagram.
以上,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中,当终端处于RRC连接状态时,若所述终端检测到自身满足第一预设条件,所述终端将自身的状态从所述RRC连接状态转换为inactive状态;其中,所述第一预设条件为所述终端将自身的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;当所述终端处于所述inactive状态时,若所述终端检测到自身满足所述第二预设条件,所述终端将自身的状态从所述inactive状态转换为idle状态;其中,所述第二预设条件为所述终端将自身的状态从所述inactive状态转换为所述idle状态所必须满足的条件。当终端处于RRC连接状态时,若终端所在基站检测到自身和所述终端满足第三预设条件,所述基站将所述终端的状态从所述RRC连接状态转换为inactive状态;其中,所述第三预设条件为所述基站将所述终端的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;当所述终端处于所述inactive状态时,若所述基站检测到所述终端满足所述第四预设条件,所述基站将所述终端的状态从所述inactive状态转换为idle状态;其中,所述第四预设条件为所述基站将所述终端的状态从所述inactive状态转换为所述idle状态所必须满足的条件。如此,实现特定情况下终端和基站之间仍然能够保持状态同步。In the embodiment of the present invention, when the terminal is in the RRC connection state, if the terminal detects that the terminal meets the first preset condition, the terminal converts its state from the RRC connection state to the inactive state; The first preset condition is a condition that the terminal must satisfy when the terminal changes its state from the RRC connection state to the inactive state; when the terminal is in the inactive state, if the terminal detects that the user satisfies the a second preset condition, the terminal converts its own state from the inactive state to an idle state; wherein the second preset condition is that the terminal converts its state from the inactive state to the idle state The conditions that the state must satisfy. When the terminal is in the RRC connection state, if the base station where the terminal is located detects that the terminal and the terminal meet the third preset condition, the base station converts the state of the terminal from the RRC connection state to the inactive state; The third preset condition is a condition that the base station must satisfy when the state of the terminal is changed from the RRC connection state to the inactive state; when the terminal is in the inactive state, if the base station detects the The terminal satisfies the fourth preset condition, and the base station converts the state of the terminal from the inactive state to the idle state; wherein the fourth preset condition is that the base station changes the state of the terminal from the The condition that the inactive state must be converted to the idle state. In this way, state synchronization can still be maintained between the terminal and the base station in a specific case.

Claims (37)

  1. 一种保持空口状态同步的方法,所述方法包括:A method of maintaining air interface state synchronization, the method comprising:
    当终端处于无线资源控制RRC连接状态时,若所述终端检测到自身满足第一预设条件,所述终端将自身的状态从所述RRC连接状态转换为非激活inactive状态;其中,所述第一预设条件为所述终端将自身的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;When the terminal is in the radio resource control RRC connection state, if the terminal detects that it meets the first preset condition, the terminal converts its state from the RRC connection state to the inactive inactive state; A preset condition is a condition that the terminal must satisfy to convert its state from the RRC connected state to the inactive state;
    当所述终端处于所述inactive状态时,若所述终端检测到自身满足所述第二预设条件,所述终端将自身的状态从所述inactive状态转换为空闲idle状态;其中,所述第二预设条件为所述终端将自身的状态从所述inactive状态转换为所述idle状态所必须满足的条件。When the terminal is in the inactive state, if the terminal detects that it meets the second preset condition, the terminal converts its own state from the inactive state to the idle idle state; The second preset condition is a condition that the terminal must satisfy when converting the state of the terminal from the inactive state to the idle state.
  2. 根据权利要求1所述的方法,其中,所述第一预设条件包括:The method of claim 1 wherein said first predetermined condition comprises:
    所述终端的上行链路失同步,且所述终端没有发生无线链路失败RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的接入层上下文标识AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端接入层上下文AS context。The uplink of the terminal is out of synchronization, and the terminal does not have a radio link failure RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not exist to be sent to the Data of the base station to be transmitted, and the terminal obtains an access layer context identifier AS context ID sent by the base station; where the AS context ID is allocated by the base station, and is used to identify the storage at the base station. Terminal access layer context AS context.
  3. 根据权利要求1所述的方法,其中,所述第一预设条件包括:The method of claim 1 wherein said first predetermined condition comprises:
    所述终端发生因上行链路失同步导致的RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context。The terminal generates an RLF caused by an uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have a data to be transmitted that needs to be sent to the base station, and the The terminal obtains the AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station.
  4. 根据权利要求1所述的方法,其中,所述在第一预设条件包括:The method of claim 1 wherein said at a first predetermined condition comprises:
    在所述终端发生数据收发时启动或重新启动第一计时器计时,且所述第一计时器的计时时长超过第一定时值,且所述终端获得了所述基站发送 的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context;所述第一定时值为所述第一计时器的最大计时时长,且所述第一定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。The first timer is started or restarted when the terminal sends and receives data, and the timing of the first timer exceeds a first timing value, and the terminal obtains an AS context ID sent by the base station; The AS context ID is allocated by the base station, and is used to identify a terminal AS context stored in the base station; the first timing value is a maximum timing duration of the first timer, and the first The timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  5. 根据权利要求1所述的方法,其中,所述第二预设条件包括:The method of claim 1 wherein said second predetermined condition comprises:
    所述终端发生RLF,且所述终端重选其他小区失败;其中,所述其他小区为除所述终端当前所在小区以外的小区。The terminal generates RLF, and the terminal fails to reselect other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
  6. 根据权利要求1所述的方法,其中,所述第二预设条件包括:The method of claim 1 wherein said second predetermined condition comprises:
    在所述终端上行传输失败或下行传输失败时启动或重新启动第二计时器计时,且所述第二计时器的计时时长超过第二定时值;其中,所述第二计时器在所述终端上行传输成功或下行传输成功时停止计时;所述第二定时值为第二计时器的最大计时时长,且所述第二定时值由所述基站事先为所述终端进行配置。Starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds a second timing value; wherein the second timer is at the terminal The timing is stopped when the uplink transmission succeeds or the downlink transmission succeeds; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
  7. 根据权利要求6所述的方法,其中,所述第二计时器在所述终端重选其他小区时继续计时;其中,所述其他小区为除所述终端当前所在小区以外的小区。The method according to claim 6, wherein the second timer continues to count when the terminal reselects other cells; wherein the other cells are cells other than the cell in which the terminal is currently located.
  8. 根据权利要求1所述的方法,其中,所述第二预设条件包括:The method of claim 1 wherein said second predetermined condition comprises:
    在所述终端发生数据收发时启动或重新启动第三计时器计时,且所述第三计时器的计时时长超过第三定时值;其中,所述第三定时值为第三计时器的最大计时时长,且所述第三定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。Starting or restarting a third timer timing when data is transmitted and received by the terminal, and a timing duration of the third timer exceeds a third timing value; wherein the third timing value is a maximum timing of the third timer The time length, and the third timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  9. 根据权利要求1所述的方法,其中,当所述终端处于所述inactive状态时,所述方法还包括:The method of claim 1, wherein when the terminal is in the inactive state, the method further comprises:
    所述终端存储自身的AS context。The terminal stores its own AS context.
  10. 一种保持空口状态同步的方法,所述方法包括:A method of maintaining air interface state synchronization, the method comprising:
    当终端处于无线资源控制RRC连接状态时,若终端所在基站检测到自身和所述终端满足第三预设条件,所述基站将所述终端的状态从所述RRC连接状态转换为非激活inactive状态;其中,所述第三预设条件为所述基站将所述终端的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;When the terminal is in the radio resource control RRC connection state, if the base station where the terminal is located detects that the terminal and the terminal meet the third preset condition, the base station converts the state of the terminal from the RRC connection state to the inactive inactive state. The third preset condition is a condition that the base station must satisfy to convert the state of the terminal from the RRC connected state to the inactive state;
    当所述终端处于所述inactive状态时,若所述基站检测到所述终端满足所述第四预设条件,所述基站将所述终端的状态从所述inactive状态转换为空闲idle状态;其中,所述第四预设条件为所述基站将所述终端的状态从所述inactive状态转换为所述idle状态所必须满足的条件。When the terminal is in the inactive state, if the base station detects that the terminal meets the fourth preset condition, the base station converts the state of the terminal from the inactive state to the idle idle state; The fourth preset condition is a condition that the base station must satisfy to convert the state of the terminal from the inactive state to the idle state.
  11. 根据权利要求10所述的方法,其中,所述第三预设条件包括:The method of claim 10, wherein the third predetermined condition comprises:
    所述终端的上行链路失同步,且所述终端没有发生RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的接入层上下文AS context,且所述基站向所述终端发送了接入层上下文标识AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, And the base station stores an access layer context AS context of the terminal, and the base station sends an access layer context identifier AS context ID to the terminal, where the AS context ID is used to identify the base station. Stored terminal AS context.
  12. 根据权利要求10所述的方法,其中,所述第三预设条件包括:The method of claim 10, wherein the third predetermined condition comprises:
    所述终端发生因上行链路失同步导致的RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The terminal generates an RLF due to uplink out-of-synchronization, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, and the base station An AS context is stored in the terminal, and the base station sends an AS context ID to the terminal. The AS context ID is used to identify a terminal AS context stored in the base station.
  13. 根据权利要求10所述的方法,其中,所述第三预设条件包括:The method of claim 10, wherein the third predetermined condition comprises:
    在所述终端发生数据收发时启动或重新启动第四计时器计时,且所述 第四计时器的计时时长超过第四定时值,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context;所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。Starting or restarting a fourth timer timing when data is transmitted and received by the terminal, and a timing duration of the fourth timer exceeds a fourth timing value, and the base station stores an AS context of the terminal, and the The base station sends an AS context ID to the terminal, where the AS context ID is used to identify the terminal AS context stored in the base station; the data transmission and reception of the terminal includes the base station allocating uplink or downlink resources to the terminal. Scheduling instructions.
  14. 根据权利要求10所述的方法,其中,所述第四预设条件包括:The method of claim 10, wherein the fourth predetermined condition comprises:
    所述终端发生无线链路失败RLF。The terminal generates a radio link failure RLF.
  15. 根据权利要求10所述的方法,其中,所述第四预设条件包括:The method of claim 10, wherein the fourth predetermined condition comprises:
    在所述终端上行传输失败或下行传输失败时启动或重新启动第五计时器计时,且所述第五计时器的计时时长超过第五定时值;其中,所述第五计时器在所述基站检测到终端上行传输成功或下行传输成功时停止计时。Starting or restarting a fifth timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the fifth timer exceeds a fifth timing value; wherein the fifth timer is at the base station The timing is stopped when the uplink transmission of the terminal is successful or the downlink transmission is successful.
  16. 根据权利要求10所述的方法,其中,所述第四预设条件包括:The method of claim 10, wherein the fourth predetermined condition comprises:
    在所述终端发生数据收发时启动或重新启动第六计时器计时,且所述第六计时器的计时时长超过第六定时值;其中,所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。A sixth timer is started or restarted when data is transmitted and received by the terminal, and a timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception of the terminal includes the base station being the terminal Allocate uplink or downlink resource scheduling instructions.
  17. 根据权利要求10所述的方法,其中,当所述终端处于所述inactive状态时,所述方法还包括:The method of claim 10, wherein when the terminal is in the inactive state, the method further comprises:
    所述基站存储所述终端的AS context。The base station stores an AS context of the terminal.
  18. 一种终端,所述终端包括:A terminal, the terminal comprising:
    第一处理单元,配置为当终端处于无线资源控制RRC连接状态时,若检测到所述终端满足第一预设条件,将所述终端的状态从所述RRC连接状态转换为非激活inactive状态;其中,所述第一预设条件为所述第一处理单元将所述终端的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;The first processing unit is configured to: when the terminal is in the RRC connection state, if the terminal is configured to meet the first preset condition, the state of the terminal is changed from the RRC connection state to the inactive inactive state; The first preset condition is a condition that the first processing unit must satisfy to convert the state of the terminal from the RRC connected state to the inactive state;
    第二处理单元,配置为当所述终端处于所述inactive状态时,若检测到所述终端满足所述第二预设条件,将所述终端的状态从所述inactive状态转 换为空闲idle状态;其中,所述第二预设条件为所述第二处理单元将所述终端的状态从所述inactive状态转换为所述idle状态所必须满足的条件。a second processing unit, configured to: when the terminal is in the inactive state, if it is detected that the terminal meets the second preset condition, the state of the terminal is changed from the inactive state to the idle idle state; The second preset condition is a condition that the second processing unit must satisfy to convert the state of the terminal from the inactive state to the idle state.
  19. 根据权利要求18所述的终端,其中,所述第一预设条件包括:The terminal according to claim 18, wherein the first preset condition comprises:
    所述终端的上行链路失同步,且所述终端没有发生无线链路失败RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的接入层上下文标识AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端接入层上下文AS context。The uplink of the terminal is out of synchronization, and the terminal does not have a radio link failure RLF, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not exist to be sent to the Data of the base station to be transmitted, and the terminal obtains an access layer context identifier AS context ID sent by the base station; where the AS context ID is allocated by the base station, and is used to identify the storage at the base station. Terminal access layer context AS context.
  20. 根据权利要求18所述的终端,其中,所述第一预设条件还包括:The terminal according to claim 18, wherein the first preset condition further comprises:
    所述终端发生因上行链路失同步导致的RLF,且所述终端没有接收到所述基站发送的资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context。The terminal generates an RLF caused by an uplink out-of-synchronization, and the terminal does not receive the resource scheduling signaling sent by the base station, and the terminal does not have a data to be transmitted that needs to be sent to the base station, and the The terminal obtains the AS context ID sent by the base station, where the AS context ID is allocated by the base station, and is used to identify the terminal AS context stored in the base station.
  21. 根据权利要求18所述的终端,其中,所述第一预设条件包括:The terminal according to claim 18, wherein the first preset condition comprises:
    在所述终端发生数据收发时启动或重新启动第一计时器计时,且所述第一计时器的计时时长超过第一定时值,且所述终端获得了所述基站发送的AS context ID;其中,所述AS context ID为所述基站分配的,且用于标识在所述基站存储的终端AS context;所述第一定时值为所述第一计时器的最大计时时长,且所述第一定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。The first timer is started or restarted when the terminal sends and receives data, and the timing of the first timer exceeds a first timing value, and the terminal obtains an AS context ID sent by the base station; The AS context ID is allocated by the base station, and is used to identify a terminal AS context stored in the base station; the first timing value is a maximum timing duration of the first timer, and the first The timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  22. 根据权利要求18所述的终端,其中,所述第二预设条件包括:The terminal according to claim 18, wherein the second preset condition comprises:
    所述终端发生RLF,且所述终端重选其他小区失败;其中,所述其他小区为除所述终端当前所在小区以外的小区。The terminal generates RLF, and the terminal fails to reselect other cells; wherein the other cells are cells other than the cell where the terminal is currently located.
  23. 根据权利要求18所述的终端,其中,所述第二预设条件包括:The terminal according to claim 18, wherein the second preset condition comprises:
    在所述终端上行传输失败或下行传输失败时启动或重新启动第二计时器计时,且所述第二计时器的计时时长超过第二定时值;其中,所述第二计时器在所述终端上行传输成功或下行传输成功时停止计时;所述第二定时值为第二计时器的最大计时时长,且所述第二定时值由所述基站事先为所述终端进行配置。Starting or restarting the second timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the second timer exceeds a second timing value; wherein the second timer is at the terminal The timing is stopped when the uplink transmission succeeds or the downlink transmission succeeds; the second timing value is the maximum timing duration of the second timer, and the second timing value is configured by the base station for the terminal in advance.
  24. 根据权利要求18所述的终端,其中,所述第二预设条件包括:The terminal according to claim 18, wherein the second preset condition comprises:
    在所述终端发生数据收发时启动或重新启动第三计时器计时,且所述第三计时器的计时时长超过第三定时值;其中,所述第三定时值为第三计时器的最大计时时长,且所述第三定时值由所述基站事先为所述终端进行配置;所述终端发生数据收发包括所述终端接收到所述基站分配的上行或下行资源调度指令。Starting or restarting a third timer timing when data is transmitted and received by the terminal, and a timing duration of the third timer exceeds a third timing value; wherein the third timing value is a maximum timing of the third timer The time length, and the third timing value is configured by the base station in advance for the terminal; the data transmission and reception by the terminal includes the terminal receiving an uplink or downlink resource scheduling instruction allocated by the base station.
  25. 根据权利要求18所述的终端,其中,所述终端包括:The terminal of claim 18, wherein the terminal comprises:
    第一存储单元,配置为存储所述终端的AS context。The first storage unit is configured to store an AS context of the terminal.
  26. 一种基站,所述基站包括:A base station, the base station comprising:
    第三处理单元,配置为当终端处于无线资源控制RRC连接状态时,若检测到所述终端和所述基站满足第三预设条件,将所述终端的状态从所述RRC连接状态转换为非激活inactive状态;其中,所述第三预设条件为所述第三处理单元将所述终端的状态从所述RRC连接状态转换为inactive状态所必须满足的条件;a third processing unit, configured to: when the terminal is in the RRC connection state, if the terminal and the base station are configured to meet the third preset condition, the state of the terminal is changed from the RRC connection state to the non- Activating an inactive state, where the third preset condition is a condition that the third processing unit must satisfy to convert a state of the terminal from the RRC connected state to an inactive state;
    第四处理单元,配置为当所述终端处于所述inactive状态时,若检测到所述终端满足所述第四预设条件,将所述终端的状态从所述inactive状态转换为空闲idle状态;其中,所述第四预设条件为所述第四处理单元将所述终端的状态从所述inactive状态转换为所述idle状态所必须满足的条件。a fourth processing unit, configured to: when the terminal is in the inactive state, if it is detected that the terminal meets the fourth preset condition, the state of the terminal is changed from the inactive state to the idle idle state; The fourth preset condition is a condition that the fourth processing unit must satisfy to convert the state of the terminal from the inactive state to the idle state.
  27. 根据权利要求26所述的基站,其中,所述第三预设条件包括:The base station according to claim 26, wherein said third preset condition comprises:
    所述终端的上行链路失同步,且所述终端没有发生RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的接入层上下文AS context,且所述基站向所述终端发送了接入层上下文标识AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The uplink of the terminal is out of synchronization, and the terminal does not generate RLF, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, And the base station stores an access layer context AS context of the terminal, and the base station sends an access layer context identifier AS context ID to the terminal, where the AS context ID is used to identify the base station. Stored terminal AS context.
  28. 根据权利要求26所述的基站,其中,所述第三预设条件包括:The base station according to claim 26, wherein said third preset condition comprises:
    所述终端发生因上行链路失同步导致的RLF,且所述基站没有向所述终端发送资源调度信令,且所述终端不存在需发送至所述基站的待传输数据,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context。The terminal generates an RLF due to uplink out-of-synchronization, and the base station does not send resource scheduling signaling to the terminal, and the terminal does not have data to be transmitted that needs to be sent to the base station, and the base station An AS context is stored in the terminal, and the base station sends an AS context ID to the terminal. The AS context ID is used to identify a terminal AS context stored in the base station.
  29. 根据权利要求26所述的基站,其中,所述第三预设条件包括:The base station according to claim 26, wherein said third preset condition comprises:
    在所述终端发生数据收发时启动或重新启动第四计时器计时,且所述第四计时器的计时时长超过第四定时值,且所述基站存储有所述终端的AS context,且所述基站向所述终端发送了AS context ID;其中,所述AS context ID用于标识在所述基站存储的终端AS context;所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。Starting or restarting a fourth timer timing when data is transmitted and received by the terminal, and a timing duration of the fourth timer exceeds a fourth timing value, and the base station stores an AS context of the terminal, and the The base station sends an AS context ID to the terminal, where the AS context ID is used to identify the terminal AS context stored in the base station; the data transmission and reception of the terminal includes the base station allocating uplink or downlink resources to the terminal. Scheduling instructions.
  30. 根据权利要求26所述的基站,其中,所述第四预设条件包括:The base station according to claim 26, wherein said fourth preset condition comprises:
    所述终端发生无线链路失败RLF。The terminal generates a radio link failure RLF.
  31. 根据权利要求26所述的基站,其中,所述第四预设条件包括:The base station according to claim 26, wherein said fourth preset condition comprises:
    在所述终端上行传输失败或下行传输失败时启动或重新启动第五计时器计时,且所述第五计时器的计时时长超过第五定时值;其中,所述第五计时器在所述基站检测到终端上行传输成功或下行传输成功时停止计时。Starting or restarting a fifth timer timing when the terminal uplink transmission fails or the downlink transmission fails, and the timing duration of the fifth timer exceeds a fifth timing value; wherein the fifth timer is at the base station The timing is stopped when the uplink transmission of the terminal is successful or the downlink transmission is successful.
  32. 根据权利要求26所述的基站,其特征在于,所述第四预设条件还包括:The base station according to claim 26, wherein the fourth preset condition further comprises:
    在所述终端发生数据收发时启动或重新启动第六计时器计时,且所述第六计时器的计时时长超过第六定时值;其中,所述终端发生数据收发包括所述基站为所述终端分配上行或下行资源调度指令。A sixth timer is started or restarted when data is transmitted and received by the terminal, and a timing of the sixth timer exceeds a sixth timing value; wherein the data transmission and reception of the terminal includes the base station being the terminal Allocate uplink or downlink resource scheduling instructions.
  33. 根据权利要求26所述的基站,其中,所述基站还包括:The base station according to claim 26, wherein the base station further comprises:
    第二存储单元,配置为存储所述终端的AS context。The second storage unit is configured to store the AS context of the terminal.
  34. 一种终端,包括:处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行权利要求1至9任一项所述的保持空口状态同步的方法。A terminal comprising: a processor and a memory storing the processor executable instructions, when the instructions are executed by the processor, performing the method of maintaining air interface state synchronization according to any one of claims 1 to 9.
  35. 一种终端,包括:处理器以及存储有所述处理器可执行指令的存储器,当所述指令被处理器执行时,执行权利要求10至17任一项所述的保持空口状态同步的方法。A terminal comprising: a processor and a memory storing the processor-executable instructions, when the instructions are executed by the processor, performing the method of maintaining air interface state synchronization according to any one of claims 10 to 17.
  36. 一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至9任一项所述的保持空口状态同步的方法。A storage medium storing computer executable instructions for performing the method of maintaining air interface state synchronization according to any one of claims 1 to 9.
  37. 一种存储介质,所述存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求10至17任一项所述的保持空口状态同步的方法。A storage medium storing computer executable instructions for performing the method of maintaining air interface state synchronization according to any one of claims 10 to 17.
PCT/CN2018/078861 2017-03-23 2018-03-13 Method for maintaining air interface state synchronization, terminal, base station and storage medium WO2018171470A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710189797.8A CN108924963B (en) 2017-03-23 2017-03-23 Method, terminal and base station for keeping air interface state synchronization
CN201710189797.8 2017-03-23

Publications (1)

Publication Number Publication Date
WO2018171470A1 true WO2018171470A1 (en) 2018-09-27

Family

ID=63584029

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078861 WO2018171470A1 (en) 2017-03-23 2018-03-13 Method for maintaining air interface state synchronization, terminal, base station and storage medium

Country Status (2)

Country Link
CN (1) CN108924963B (en)
WO (1) WO2018171470A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180262954A1 (en) * 2017-03-07 2018-09-13 Htc Corporation Device and Method of Handling Network Slice Information

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109475011B (en) * 2018-12-12 2020-12-01 中国联合网络通信集团有限公司 UE RRC state determination method and device
CN113497685A (en) * 2020-03-18 2021-10-12 深圳传音控股股份有限公司 Data transmission method and related product
WO2021232239A1 (en) * 2020-05-19 2021-11-25 Nokia Shanghai Bell Co., Ltd. Radio resource control inactive state for remote user equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140235226A1 (en) * 2010-02-12 2014-08-21 Interdigital Patent Holdings, Inc. Method and apparatus for supporting machine-type communications with a mobile-originated-only mode
WO2014134785A1 (en) * 2013-03-05 2014-09-12 华为技术有限公司 Method, apparatus and system for switching state
CN105898894A (en) * 2016-05-13 2016-08-24 华为技术有限公司 Method and device for controlling RRC state

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139931B (en) * 2011-12-02 2017-11-14 株式会社Ntt都科摩 A kind of method, apparatus for controlling wireless heterogeneous networks connection status and base station
WO2013144613A1 (en) * 2012-03-27 2013-10-03 Research In Motion Limited eNB STORING RRC CONFIGURATION INFORMATION AT ANOTHER NETWORK COMPONENT
US9247575B2 (en) * 2012-03-27 2016-01-26 Blackberry Limited eNB storing RRC configuration information at another network component
US10129802B2 (en) * 2013-12-06 2018-11-13 Idac Holdings, Inc. Layered connectivity in wireless systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140235226A1 (en) * 2010-02-12 2014-08-21 Interdigital Patent Holdings, Inc. Method and apparatus for supporting machine-type communications with a mobile-originated-only mode
WO2014134785A1 (en) * 2013-03-05 2014-09-12 华为技术有限公司 Method, apparatus and system for switching state
CN105898894A (en) * 2016-05-13 2016-08-24 华为技术有限公司 Method and device for controlling RRC state

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
INTERDIGITAL COMMUNICATIONS: "RAN Controlled State for New Radio Access", 3GPP TSG-RAN WG2 #95 TDOC R2-165048, 26 August 2016 (2016-08-26), XP051126680 *
INTERDIGITAL COMMUNICATIONS: "State Transition from INACTIVE to IDLE for NR", 3GPP TSG-RAN WG2 #97 R2-1701189, 17 February 2017 (2017-02-17), XP051211480 *
QUALCOMM INCORPORATED ET AL.: "NR RRC inactive state principles", 3GPP TSG-RAN WG2 MEETING #95 R2-165575, 26 August 2016 (2016-08-26), XP051127015 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180262954A1 (en) * 2017-03-07 2018-09-13 Htc Corporation Device and Method of Handling Network Slice Information
US10764785B2 (en) * 2017-03-07 2020-09-01 Htc Corporation Device and method of handling network slice information

Also Published As

Publication number Publication date
CN108924963A (en) 2018-11-30
CN108924963B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
US11596019B2 (en) Wireless communication device and method
JP6931073B2 (en) How to provide duplex communication, associated network nodes and wireless terminals
KR101592806B1 (en) Method for out of sync identification
WO2018171470A1 (en) Method for maintaining air interface state synchronization, terminal, base station and storage medium
US11700663B2 (en) Control method of user equipment and user equipment
TWI657707B (en) Device and method of handling a state mismatch in a wireless communication system
CN108886748B (en) Method and apparatus for reducing signaling overhead and reducing terminal battery
US11700587B2 (en) Method for redefining a time alignment timer of a wireless communication network, corresponding user equipment and network node
CN111294928A (en) Method performed by user equipment and user equipment
JP2010041729A (en) Method and apparatus for processing uplink grant
JP2009296588A (en) Method and apparatus for handling semi-persistent transmission resource
JP2009112007A (en) Method of handling random access procedure failure and related communication device
CN104113928A (en) Radio bearer control (RBC) message processing method and device
WO2022127731A1 (en) Cell changing method and user equipment
WO2019140663A1 (en) Timer-based bandwidth part switching method, terminal device, and network device
US11082933B2 (en) Method for redefining a time alignment timer of a wireless communication network, corresponding user equipment and network node
WO2015159874A1 (en) User device and uplink-transmission-power-information transmission method
CN110582089B (en) Method for transmitting system information and user equipment
US10869354B2 (en) Status detection of RRC connection
CN111757471A (en) User equipment and pre-configured uplink resource sending method executed by same
US20220053570A1 (en) Uplink transmission method and communication apparatus
CN110876208B (en) User Equipment (UE) for efficient communication with a wireless network and method therefor
WO2021226836A1 (en) Method and apparatus for an enhanced failure report mechanism for mcg and scg
WO2015029668A1 (en) Program and base station device
JP2023526479A (en) TERMINAL DEVICE, BASE STATION DEVICE AND METHOD FOR COMMUNICATION

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18770316

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18770316

Country of ref document: EP

Kind code of ref document: A1