WO2022252133A1 - Method and apparatus for recovery after security activation failure - Google Patents
Method and apparatus for recovery after security activation failure Download PDFInfo
- Publication number
- WO2022252133A1 WO2022252133A1 PCT/CN2021/097792 CN2021097792W WO2022252133A1 WO 2022252133 A1 WO2022252133 A1 WO 2022252133A1 CN 2021097792 W CN2021097792 W CN 2021097792W WO 2022252133 A1 WO2022252133 A1 WO 2022252133A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- rrc connection
- security mode
- message
- random access
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 182
- 230000004913 activation Effects 0.000 title claims abstract description 64
- 238000011084 recovery Methods 0.000 title abstract description 24
- 230000006854 communication Effects 0.000 claims abstract description 100
- 238000004891 communication Methods 0.000 claims abstract description 99
- 230000000977 initiatory effect Effects 0.000 claims abstract description 10
- 230000015654 memory Effects 0.000 claims description 56
- 238000012545 processing Methods 0.000 claims description 53
- 238000004590 computer program Methods 0.000 claims description 15
- 238000001994 activation Methods 0.000 abstract description 67
- 230000008569 process Effects 0.000 abstract description 62
- 238000010586 diagram Methods 0.000 description 24
- 230000005540 biological transmission Effects 0.000 description 19
- 230000006870 function Effects 0.000 description 19
- 230000011664 signaling Effects 0.000 description 18
- 230000002159 abnormal effect Effects 0.000 description 15
- 238000007726 management method Methods 0.000 description 9
- 108091005487 SCARB1 Proteins 0.000 description 6
- 102100037118 Scavenger receptor class B member 1 Human genes 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 101001055444 Homo sapiens Mediator of RNA polymerase II transcription subunit 20 Proteins 0.000 description 5
- 102100026165 Mediator of RNA polymerase II transcription subunit 20 Human genes 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 102000018059 CS domains Human genes 0.000 description 2
- 108050007176 CS domains Proteins 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 208000037918 transfusion-transmitted disease Diseases 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/38—Connection release triggered by timers
Definitions
- the terminal first enters the RRC idle state after sending the security mode failure message to the network and does not receive the RRC connection release message from the network, and sends The network sends a random access preamble.
- the terminal enters the RRC idle state in time, and sends a random access preamble to the network when there is a service demand, reducing the power consumption of the terminal maintaining the RRC connection state, and balancing delay and power consumption.
- the embodiment of the present application provides a wireless communication method, and the method may be executed by a wireless communication device.
- the method includes: receiving a security mode command from the network, where the security mode command is used to provide access layer security activation information; sending a security mode failure message to the network, where the security mode failure message is used to indicate that the security mode is activated failure; and after sending a security mode failure message to the network, directly initiate a random access procedure to the network to establish a new RRC connection.
- the terminal after sending a security mode failure message to the network, the terminal can directly initiate a random access procedure without trying to receive an RRC connection release message.
- the recovery of the business since there is no need to wait for the time of the RRC connection release message, the recovery of the business depends on the time when the security mode failure message is sent by itself, so the recovery of the business can be maximized compared with the existing technology. accelerate.
- the terminal after sending a security mode failure message to the network, the terminal first enters the RRC idle state, and sends a random access preamble to the network according to service requirements.
- the terminal releases resources in time, enters the RRC idle state, and sends a random access preamble to the network when there is a service demand, that is, starts random access to the network.
- Power consumption can be reduced by reducing the time that the terminal stays in the RRC connection state in the case of no service.
- an embodiment of the present application provides a wireless communication device, including a processing unit and a transceiver unit, wherein the processing unit is used to control the transceiver unit; the transceiver unit is used to send and receive related functions, including : receiving a security mode command from the network, where the security mode command is used to provide access layer security activation information; sending a security mode failure message to the network, where the security mode failure message is used to indicate security activation failure; and After sending a security mode failure message to the network and when no RRC connection release message is received from the network, initiate a random access procedure to the network to establish a new RRC connection.
- the transceiving unit includes a receiving unit and a sending unit.
- the wireless communication device is a communication chip
- the processing unit may be one or more processors or processor cores
- the transceiver unit may be an input-output circuit or interface of the communication chip.
- the transceiving unit may be a transmitter and a receiver, or the transceiving unit may be a transmitter and a receiver.
- the wireless communication device further includes various modules that can be used to implement any implementation manner of any wireless communication method from the first aspect to the second aspect.
- the embodiment of the present application provides a wireless communication device, including a processor and a memory.
- a transceiver is also included.
- the memory is used to store computer programs or instructions
- the processor is used to call and run the computer programs or instructions from the memory.
- the wireless communication device executes the above-mentioned first aspect to Any implementation of any wireless communication method in the second aspect.
- memory can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
- a system in a sixth aspect, includes the wireless communication apparatus and network equipment described above.
- a computer program product includes: a computer program (also referred to as code, or an instruction), which, when the computer program is executed, causes the computer to execute any of the above first to second aspects.
- a computer program also referred to as code, or an instruction
- the baseband processing chip is integrated in the SoC chip, and the radio frequency processing chip is not integrated with the SoC chip.
- the interface circuit may be a radio frequency processing chip in the wireless communication device, and the processing circuit may be a baseband processing chip in the wireless communication device.
- the wireless communication device may be a part of a wireless communication device, such as an integrated circuit product such as a system chip or a communication chip.
- the interface circuit may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip or chip system.
- a processor may also be embodied as processing circuitry or logic circuitry.
- FIG. 1 is a schematic structural diagram of a wireless communication system provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of a control plane wireless protocol architecture provided by an embodiment of the present application
- FIG. 3 is a schematic diagram of an RRC connection state transition process provided by an embodiment of the present application.
- FIG. 4 is a schematic flow diagram of establishing an RRC connection provided by an embodiment of the present application.
- FIG. 6 is a block diagram of an abnormal active recovery after a security mode activation failure provided by an embodiment of the present application.
- FIG. 8 is a schematic flow diagram of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application.
- FIG. 11 is a schematic flow diagram of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application.
- devices can be divided into devices that provide wireless network services and devices that use wireless network services.
- Devices that provide wireless network services refer to those devices that make up a wireless communication network, which can be referred to as network equipment or network elements for short.
- Network equipment is usually owned by operators (such as China Mobile and Vodafone) or infrastructure providers (such as tower companies), and these manufacturers are responsible for operation or maintenance.
- Network equipment can be further divided into radio access network (radio access network, RAN) equipment and core network (core network, CN) equipment.
- RAN radio access network
- core network core network
- Typical RAN equipment includes a base station (base station, BS).
- Devices using wireless network services are usually located at the edge of the network, and may be referred to as terminals for short.
- the terminal can establish a connection with the network equipment, and provide users with specific wireless communication services based on the services of the network equipment.
- user equipment user equipment
- subscriber unit subscriber unit
- SU subscriber unit
- the terminal compared with the base station usually placed in a fixed location, the terminal often moves with the user, and is sometimes called a mobile station (mobile station, MS).
- some network devices such as a relay node (relay node, RN) or a wireless router, etc., can sometimes be considered as terminals because they have a UE identity or belong to a user.
- the terminal can be a mobile phone (mobile phone), a tablet computer (tablet computer), a laptop computer (laptop computer), a wearable device (such as a smart watch, a smart bracelet, a smart helmet, smart glasses), and other Devices with wireless access capabilities, such as smart cars, various Internet of things (IOT) devices, including various smart home devices (such as smart meters and smart home appliances) and smart city devices (such as security or monitoring equipment, Intelligent road traffic facilities), etc.
- IOT Internet of things
- smart home devices such as smart meters and smart home appliances
- smart city devices such as security or monitoring equipment, Intelligent road traffic facilities
- FIG. 1 is a schematic structural diagram of a wireless communication system provided by an embodiment of the present application.
- a wireless communication system includes a terminal and a base station. According to different transmission directions, the transmission link from the terminal to the base station is marked as uplink (uplink, UL), and the transmission link from the base station to the terminal is marked as downlink (downlink, DL).
- uplink uplink
- downlink downlink
- data transmission in the uplink may be abbreviated as uplink data transmission or uplink transmission
- data transmission in the downlink may be abbreviated as downlink data transmission or downlink transmission.
- the wireless communication system can comply with the wireless communication standard of 3GPP, and can also comply with other wireless communication standards, such as the 802 series (such as 802.11, 802.15, or 802.20) of the Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers, IEEE). wireless communication standards. Although only one base station and one terminal are shown in FIG. 1 , the wireless communication system may also include other numbers of terminals and base stations. In addition, the wireless communication system may also include other network equipment, such as core network equipment.
- the terminal and the base station should know the predefined configuration of the wireless communication system, including the radio access technology (radio access technology, RAT) supported by the system, and the wireless resources specified by the system, such as radio frequency bands and carriers.
- the carrier is a frequency range that complies with system regulations. This frequency range can be jointly determined by the center frequency of the carrier (referred to as the carrier frequency) and the bandwidth of the carrier.
- the predefined configurations of these systems can be used as part of the standard protocol of the wireless communication system, or determined through the interaction between the terminal and the base station.
- the content of the standard protocol of the wireless communication system may be pre-stored in the memory of the terminal and the base station, and/or embodied as a hardware circuit or software code of the terminal and the base station.
- the terminal and the base station support one or more of the same RAT, such as 5G NR, 4G LTE, or the RAT of the future evolution system.
- the terminal and the base station use the same air interface parameters, coding scheme, modulation scheme, etc., and communicate with each other based on radio resources specified by the system.
- the air interface parameter is a parameter used to describe air interface characteristics. In English, air interface parameters are sometimes called numerology.
- the air interface parameters may include subcarrier spacing (subcarrier spacing, SC), and may also include a cyclic prefix (cyclic prefix, CP).
- the wireless communication system can support various air interface parameters, and these air interface parameters can be used as a part of the standard protocol.
- FIG. 2 is a schematic diagram of a control plane wireless protocol architecture provided by an embodiment of the present application.
- the wireless protocol architecture can correspond to the wireless protocol architecture of 3GPP.
- the wireless protocol stack is divided into two planes: the user plane and the control plane.
- the user plane (User Plane, UP) protocol stack is the protocol cluster used for user data transmission
- the control plane (Control Plane, CP) protocol stack is the protocol cluster used for system control signaling transmission.
- the user plane protocol is mainly responsible for functions related to user data transmission
- the control plane protocol is mainly responsible for functions such as connection establishment, mobility management, and security management.
- the wireless protocol architecture corresponds to the control plane protocol.
- a protocol stack is formed, including: physical (PHY) layer protocol, media access control (media access control, MAC) layer protocol, radio link control (radio link control, RLC) layer protocol, packet data convergence (packet data convergence protocol, PDCP) layer protocol, radio resource control (radio resource control, RRC) layer protocol and non-access layer (non- access stratum, NAS) layer protocol.
- PHY physical
- RLC radio link control
- PDCP packet data convergence
- RRC radio resource control
- non-access stratum, NAS non-access stratum
- the communication process between the terminal and the network can be divided into an access stratum (Access Stratum, AS) process and a non-access stratum (Non-access Stratum, NAS) process.
- AS access stratum
- NAS non-access stratum
- the process of the access layer can be understood as the process that requires the participation of terminal equipment and base stations in the wireless access layer
- the process of the non-access layer refers to the signaling process that only the terminal and the core network participate in the processing.
- the latter corresponds to the NAS layer protocol, and the former includes the RRC protocol and other layer protocols below for link establishment.
- radio resource management is a very important part of the mobile communication network. It is to maximize the utilization of the wireless spectrum under the condition of limited bandwidth and prevent the network Congestion and keep the signaling load as small as possible to provide service quality guarantee for wireless user terminals in the network.
- the control of radio resources involves the processing of various radio resources, for example, processing of system messages, connection control, mobility management, and measurement.
- the signaling process at the access layer includes: paging (Paging) process, radio resource connection establishment (RRC connection establishment), initial security activation (Initial AS security activation) process, radio resource reconfiguration (RRC Reconfiguration) radio resource connection release (RRC Connection Release) process, etc.
- Its processes at the non-access layer mainly include mobility management in the CS domain, call control in the CS domain, mobility management in the PS domain, and session management in the PS domain.
- FIG. 3 is a schematic diagram of an RRC connection state transition process provided by an embodiment of the present application.
- the terminal and the network can enter different RRC connection states, including: idle state (RRC_IDLE) and connected state (RRC_CONNECTED), and the reasons may include mobility changes or service triggers.
- RRC_IDLE idle state
- RRC_CONNECTED connected state
- the terminal There are two conditions for the terminal to release the RRC connection and enter the RRC_IDLE state, one of which can be satisfied: 1.
- the wireless link connection is not normal; 2.
- the terminal receives the RRC Connection Release (RRC Connection Release) message.
- RRC connection establishment request RRC connection establishment message
- RRC connection establishment completion message RRC connection release message
- RRC connection release message all belong to the control signaling of the RRC layer, which are transmitted using a signaling radio bearer (SRB).
- SRB signaling radio bearer
- Various SRBs are defined in wireless communication, mainly including SRB0, SRB1 and SRB2.
- SRB0 is a radio bearer established by default, without integrity protection and encryption processing, such as the above-mentioned RRC connection establishment request and RRC connection establishment message.
- SRB1 is used to send RRC signaling messages, which are used to indicate the status and changes of the RRC connection, such as air interface node configuration, link switching, and so on.
- the signaling carried by it includes the above RRC connection establishment complete message and RRC connection release message.
- the terminal first receives a Security Mode Command (SMC) message from the network.
- SMC Security Mode Command
- the SMC message is carried by SRB1 and carries relevant security parameters of the AS for activation of the security mode.
- the network When the terminal accesses the network, the network is configured by the MME to select the corresponding integrity algorithm, encryption and decryption algorithm, and Kasme , and then the SMC informs the terminal of the security algorithm, which includes the integrity algorithm and the encryption algorithm.
- the terminal generates AS layer security keys based on K asme , the above security algorithm and NAS UPLINK COUNT, including control plane integrity protection keys and encryption keys, and user plane encryption and decryption keys.
- the terminal will verify the integrity of the SMC message based on the integrity protection key and algorithm, and update the security parameters if the verification passes. It can be seen that if the security parameters of the terminal are updated, it is considered that the activation of the security mode is successful, otherwise, the activation of the security mode fails.
- the security mode of the terminal If the security mode of the terminal is successfully activated, it will send a Security Mode Complete (Security Mode Complete) message to the network to confirm the successful activation of AS security, see Figure 5(a).
- the terminal configures the updated key group, integrity protection algorithm and encryption algorithm.
- a Security Mode Failure (Security Mode Failure) message will be sent to the network to indicate that the activation of the AS security fails, as shown in Figure 5(b).
- the failure scenarios of the terminal security mode activation mainly include: the uplink NAS count value used by the network and the terminal to deduce the key group is inconsistent, etc.
- the DRB configuration process is fixed on the premise that the RRC connection is completed and the security mode is successfully activated.
- the terminal needs to end the SMC process after the security mode activation fails.
- the terminal remains in the RRC_CONNECTED state, and does not have the conditions to initiate an RRC connection establishment request to the base station; and only when certain conditions are met, such as an abnormal wireless link, can the terminal initiate an RRC connection establishment request to the base station. Therefore, the terminal cannot automatically restart the activation of the security mode by re-establishing the RRC connection, resulting in the failure of DRB configuration and the failure of user services.
- the terminal can change its RRC connection state to the RRC_IDLE state by receiving the RRC connection release message sent by the base station.
- the terminal When the terminal is in the RRC_IDLE state, it can actively send an RRC connection establishment request to the network through random access again through subsequent service requirements, such as data services or voice calls.
- the terminal After the terminal completes the establishment of the RRC connection with the network, it can receive the SMC message from the network again, thereby re-starting the initial security activation of the AS.
- uncontrollable situations such as network congestion or data packet loss occur, the RRC connection release message cannot reach the terminal in time, which will cause service interruption and uncontrollability. It can be known from the above that in the prior art, reactivating the security mode requires the terminal to wait passively for the RRC connection release message sent by the network, so as to further establish the DRB and restore the normal operation of user services.
- Step 601 the terminal receives a security mode command from the network, and the security mode command is used to provide access layer security activation information.
- Step 602 the terminal sends a security mode failure message to the network, where the security mode failure message is used to indicate that the activation of the security mode fails.
- the embodiment of the present application provides that the terminal can initiate a random access procedure even if it does not receive the RRC connection release message.
- the technical solution is as described in step 603.
- the situation that the terminal does not receive the RRC connection release message from the network after sending the security mode failure message to the network may include the following situations:
- the terminal After sending a security mode failure message to the network, the terminal actively initiates a random access procedure to the network. That is, after the terminal sends the security mode failure message, it can independently initiate a random access procedure to establish a new RRC connection without trying to receive the RRC connection release message delivered by the network. In this case, since the terminal does not need to wait for the receiving network to deliver the RRC connection release message, it does not depend on the network, and this solution can enable it to re-establish the RRC connection and perform security activation more quickly.
- the terminal After the terminal sends the security mode failure message to the network, the terminal tries to receive the RRC connection release message. If the downlink message received subsequently by the terminal is an RRC connection release message, the terminal can normally enter the RRC idle state according to the existing standard protocol, and then re-establish the RRC connection. If the downlink message (for example, the first RRC message) received by the terminal subsequently is not an RRC connection release message, then the terminal can autonomously initiate a random access procedure to establish a new RRC connection. In this case, by identifying other downlink messages other than the RRC connection release message as a trigger condition, it can be compatible with the existing standard protocol, and can also be used as another product implementation solution. When the existing standard protocol cannot solve the problem, through The terminal independently initiates a random access process to reduce the delay in re-establishing network connection and security activation.
- the above three situations are only examples of some possible situations of the embodiment of the present application, and do not limit the applicable situations of the embodiment of the present application.
- the three situations mentioned above may also be combined with each other.
- the latter two cases can be considered to be combined, that is, if other RRC messages other than the RRC connection release message are received within the first period of time, the terminal can initiate a random access procedure autonomously.
- FIG. 7 it is a schematic flowchart of an abnormal active recovery after a security mode activation failure provided by the embodiment of the present application.
- the message interaction surrounded by the dotted line box belongs to the random access process in step 703 . May include the following steps:
- Step 702 the terminal sends a security mode failure message to the network.
- Step 703 Initiate a random access procedure to the network after the security mode failure message is sent to the network and the RRC connection release message from the network is not received.
- Step 704 the terminal receives an RRC connection establishment message from the network.
- Step 705 the terminal sends an RRC connection establishment complete message to the network.
- steps 701, 702 and 703 reference may be made to steps 601, 602 and 603, which will not be repeated here.
- step 703 if the above-mentioned RRC connection release message is not received, the terminal will initiate a random access procedure to re-connect to the network.
- the initiation of the random access process is as shown in the figure, which mainly includes four message interactions: the terminal sends a random access preamble message, receives a random access preamble response message, sends an uplink message (here the uplink message is an RRC connection establishment request), receives Contention resolution message.
- the terminal can synchronize with the network and obtain uplink resources.
- the terminal starts the random access procedure to send an RRC connection establishment request to the network, thereby establishing a new RRC connection.
- the start of the random access process by the terminal can also be divided into two categories:
- the terminal immediately sends a random access preamble message. After the aforementioned situations where the RRC connection release message is not received, the terminal immediately starts the random access process, and immediately sends a random access preamble message to the network to obtain uplink resources and request the network to establish an RRC connection. In this case, the recovery speed of the RRC connection between the terminal and the network can be maximized, thereby optimizing user service experience.
- the terminal sends a random access preamble message non-immediately.
- One of its implementation methods can refer to Figure 8, and the specific steps are as follows:
- Step 802 the terminal sends a security mode failure message to the network.
- Step 803 includes the following steps:
- Step 8031 the terminal enters the RRC_IDLE state.
- Step 8032 the terminal initiates a random access procedure to the network according to service requirements, the random access procedure includes sending a random access preamble message, and the random access procedure is used to establish a new RRC connection.
- the terminal actively releases the current RRC connection and first enters the RRC_IDLE state after the above-mentioned multiple situations of not receiving the RRC connection release message. If the terminal receives the RRC connection release message in the RRC_IDLE state, the message cannot be delivered to the RRC layer in the idle state, the terminal discards the message and does not perform its corresponding operation. After the terminal is in the RRC_IDLE state, it can respond to new service requirements. When there is a service requirement, such as a voice call or data service, the terminal starts a random access process to establish a new RRC connection. If during this process, that is, during the random access process initiated by the terminal and before a new RRC connection is established, it receives an RRC connection release message, discards the message, and does not perform the corresponding operation.
- a service requirement such as a voice call or data service
- the terminal can slow down the speed of re-connecting to the network when there is no business demand, and can effectively reduce the power consumption in the scene, and Respond in a timely manner to the generated business needs and reduce the delay in restoring network connections.
- step 705 after receiving the RRC connection establishment message, the terminal applies the configuration carried in it, and sends an RRC connection establishment complete message to the network to indicate that the RRC connection establishment is successful. So far, the new RRC connection between the terminal and the network, and the SRB1 carrying the signaling communication are all established.
- the network sends the SMC message again, as in step 706, to instruct the terminal to perform a new security mode activation to activate AS security and establish communication bearers between SRB2 and DRB.
- the above two situations are only examples of some possible situations of the embodiments of the present application, and do not limit the applicable situations of the embodiments of the present application.
- the above two cases can be combined with the aforementioned "the case that the terminal does not receive the RRC connection release message from the network after sending the security mode failure message to the network" to expand the implementation.
- Step 903 includes the following steps:
- Step 9031 the terminal starts a timer, and the duration of the timer is the first duration.
- Step 9032 when the timer expires, the terminal initiates random access to the network, and the random access is used to request uplink resources, thereby sending an RRC connection establishment request.
- the terminal After the terminal finishes sending the security mode failure message, it starts a timer as shown in step 9031, and the duration of the timer is the first duration.
- the timer can be counted forward or counted down.
- the terminal detects whether an RRC connection release message from the network is received within the first duration.
- Step 1002 the terminal sends a security mode failure message to the network.
- the received RRC message is other RRC messages other than the RRC connection release message.
- the RRC messages delivered by the network are messages carried by the SRB and not related to service content, including, for example, RRC connection reconfiguration messages, NAS direct transfer messages, and the like.
- the terminal regards all RRC messages from the network that are not RRC connection release messages as RRC connection release messages with decoding errors for subsequent processing, not limited to RRC connection release messages. Delete the RRC connection configuration, thereby reducing the dependence on the network, and speeding up the establishment of the RRC connection and the normal recovery of services.
- FIG. 11 it is a schematic flowchart of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application.
- This flow diagram is for the case where the terminal does not need to try to receive the RRC connection release message sent by the network after sending the security mode failure message. It mainly includes the following steps:
- Step 1102 the terminal sends a security mode failure message to the network.
- Step 1103 After sending the security mode failure message to the network, the terminal directly initiates a random access procedure to the network, and the random access procedure is used to request re-establishment of the RRC connection.
- the terminal may directly initiate a random access procedure to the network without waiting for a response from the network, that is, without trying to receive an RRC connection release message from the network. It is worth noting that the need not to try to receive here does not refer to physically closing the ability of the terminal to receive downlink messages, or ignoring all the messages received by the terminal, but to make the subsequent execution of "initiating a random access procedure to the network" rely on The completion of the aforementioned "sending the security mode failure message to the network" is not the reception of the RRC connection release message. That is, the terminal relies on itself, not the release of the network. Wherein, the terminal directly initiates the random access procedure to the network can be divided into the following two situations:
- the terminal After sending the security mode failure message to the network, the terminal immediately initiates a random access procedure to the network. Since the security mode failure message sent in step 1102 indicates that the previous communication connection between the terminal and the network failed to be established, this also means that the previous service that requires the establishment of an RRC connection has not been satisfied. In order to meet the previous service requirement, the terminal can start the random access process immediately after sending the security mode failure message, so as to shorten the time of abnormal service.
- the terminal After sending the security mode failure message to the network, the terminal does not immediately initiate a random access process to the network. The terminal ignores the previous service requirements. If the terminal fails to activate the security mode during the handover process, and it has no ongoing voice or data services, the terminal can release the RRC connection first after sending the security mode failure message, and switch its own RRC The connected state is changed to the RRC idle state, and when there is a business demand later, such as calling or data exchange, apply for access to the network and restore the RRC connection. In this case, the terminal performs a random access process by actively entering the RRC_IDLE state and responding to service requirements.
- the terminal On the premise of not relying on the RRC release message of the network, the terminal performs network access according to the service requirements to speed up the normal operation of services. In addition, by actively entering the RRC_IDLE state in time, the terminal can also effectively reduce power consumption in scenarios.
- the network After receiving the security mode failure message, the network will send the RRC connection release message without waiting for the terminal to reply and confirm, and directly delete the existing RRC connection configuration on the network, that is, the retransmission of the RRC connection release message will not be arranged. Therefore, after receiving the security mode failure message, the network will execute the corresponding random access procedure after receiving the random access preamble message in a normal sequence, so as to establish an RRC connection with the terminal.
- the terminal directly initiates the random access process to the network after sending the security mode failure message, and does not try to receive the message sent by the network, and the operation of starting random access depends on the operation of sending the security mode failure message or Based on the triggering of business needs, the dependence on the network is reduced, so as to realize the active recovery from the failure of security activation, accelerate the RRC connection reconstruction, and reduce the time for abnormal business.
- a wireless communication device provided by an embodiment of the present application is introduced below.
- the communication device 1200 includes a processing unit 1210 and a transceiver unit 1220 , both of which are connected by wires.
- the wireless communication device is used to implement each step corresponding to the terminal in each of the above embodiments:
- the processing unit 1210 is configured to control the transceiver unit 1220 to communicate with the network; and is configured to control the transceiver unit to start a random access procedure when sensing service requirements, so as to establish an RRC connection with the network.
- the transceiver unit 1220 is further configured to send a random message to the network if no RRC connection release message is received from the network within the first period of time after sending the security mode failure message. Access process.
- the processing unit 1210 further includes a timer, and is configured to start the timer after sending the security mode failure message, and the duration of the timer is the first duration.
- the transceiver unit 1220 is further configured to actively initiate a random access procedure to the network after sending the security mode failure message.
- the processing unit 1210 is also used to actively release the occupied RRC resources, and control the communication device 1200 to enter the RRC idle state; In the case of releasing the message, after the communication device 1200 enters the RRC idle state, it sends a random access preamble message when there is a service demand.
- the transceiver unit 1220 may also be divided into a receiving unit and a sending unit, each of which has the function of receiving and sending, which is not limited here.
- the above-mentioned communication device may also include a storage unit, which is used to store data or instructions (also referred to as codes or programs), and each of the above-mentioned units may interact or be coupled with the storage unit to implement corresponding methods or functions .
- the coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
- each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1310 or instructions in the form of software.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor 1310 .
- the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
- the storage medium is located in the memory 1320, and the processor 1310 reads the information in the memory 1320, and completes the steps of the above method in combination with its hardware.
- a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
- the steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
- the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
- RAM static random access memory
- SRAM static random access memory
- DRAM dynamic random access memory
- DRAM synchronous dynamic random access memory
- SDRAM double data rate synchronous dynamic random access memory
- double data rate SDRAM double data rate SDRAM
- the communication device may include a processor 1310 , a transceiver 1330 and a memory 1320 .
- the memory 1320 is used to store instructions
- the processor 1310 is used to execute the instructions stored in the memory 1320, which can be implemented by the wireless communication device in any one or more of the corresponding methods shown in FIGS. 6 to 10 above. A step of.
- sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application.
- the implementation process constitutes any limitation.
- the technical solutions provided by the embodiments of the present application may be fully or partially implemented by software, hardware, firmware or any combination thereof.
- software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, a terminal device, a network device, an artificial intelligence device or other programmable devices.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present application relates to the technical field of wireless communications, and discloses a method and apparatus for recovery after a security mode activation failure. The method comprises: a terminal device receiving a security mode command from a network, and starting an access stratum security activation process; after a security activation failure, sending a security mode failure message to the network; and under the condition that the security mode failure message is sent to the network and no radio resource control (RRC) connection release message is received, initiating a random access process to the network to establish a new RRC connection. By using the solution, the problem that the terminal device needs to rely on a network notification to release the RRC connection after sending the security mode failure message can be solved, and the random access process can be initiated independently to speed up service recovery.
Description
本申请涉及无线通信系统,尤其涉及一种安全激活失败后的恢复方法和装置。The present application relates to a wireless communication system, and in particular to a recovery method and device after security activation fails.
在如今的移动无线通信网络中,对无线资源的控制涉及到多种无线资源的处理过程,例如,系统消息的处理、连接控制、移动性管理、测量等处理。此外,接入层(Access Stratum,简称AS)的连接控制部分还包括了许多子过程,其中就有初始接入层安全激活(Initial AS security activation)过程。In today's mobile wireless communication network, the control of radio resources involves the processing of various radio resources, for example, the processing of system messages, connection control, mobility management, measurement and other processing. In addition, the connection control part of the access stratum (AS for short) also includes many sub-processes, among which there is the initial access stratum security activation (Initial AS security activation) process.
对于AS的初始安全激活过程,即安全模式的激活包括以下步骤:网络下发安全模式命令(security mode command,简称SMC),终端收到网络的SMC消息后,获得AS的相关安全参数,并对接收到的消息进行完整性保护验证。其中,如果终端通过AS的完整性保护验证,则向网络发送安全模式完成(security mode complete)消息;未通过AS的完整性保护验证,则向网络发送安全模式失败(security mode failure)消息。当安全模式配置完成后,终端才能正常进行数据业务信息以及语音信息的业务。因此,初始安全激活过程失败将直接影响到用户的业务体验。For the initial security activation process of the AS, that is, the activation of the security mode includes the following steps: the network sends a security mode command (security mode command, referred to as SMC), and the terminal obtains the relevant security parameters of the AS after receiving the SMC message from the network, and Received messages are verified for integrity protection. Wherein, if the terminal passes the integrity protection verification of the AS, it sends a security mode complete message to the network; if it fails the integrity protection verification of the AS, it sends a security mode failure message to the network. After the configuration of the security mode is completed, the terminal can normally carry out data service information and voice information services. Therefore, the failure of the initial security activation process will directly affect the user's service experience.
现有技术中,终端AS安全激活失败会导致其无法正常进行数据与语音的业务。而随着无线通信业务与应用环境的多元化发展,网络环境会变得更具有挑战性,因此有必要研究如何在安全模式激活失败的情况下,加速终端对数据与语音业务的正常服务,提升用户的通信体验。In the prior art, failure to activate the security of the terminal AS will cause it to fail to perform data and voice services normally. With the diversified development of wireless communication services and application environments, the network environment will become more challenging. Therefore, it is necessary to study how to accelerate the normal services of terminals for data and voice services and improve The user's communication experience.
发明内容Contents of the invention
本申请实施例提供一种安全激活失败后的恢复方法和装置,用以加速用户从安全模式激活失败的情况中加速数据业务和语音通话的恢复与正常进行,从而保证用户业务质量与通信体验。The embodiments of the present application provide a recovery method and device after security activation failure, which is used to accelerate the recovery and normal progress of data services and voice calls for users in the case of security mode activation failures, thereby ensuring user service quality and communication experience.
第一方面,本申请实施例提供一种无线通信的方法,该方法可由无线通信装置来执行。该方法包括:接收来自网络的安全模式命令,所述安全模式命令用于提供接入层安全激活的信息;向所述网络发送安全模式失败消息,所述安全模式失败消息用于指示安全模式激活失败;在向所述网络发送安全模式失败消息后且未接收到来自所述网络的无线资源控制(Radio Resource Control,RRC)连接释放消息的情况下,向所述网络发起随机接入流程,以建立新的RRC连接。In a first aspect, the embodiment of the present application provides a wireless communication method, and the method may be executed by a wireless communication device. The method includes: receiving a security mode command from the network, where the security mode command is used to provide access layer security activation information; sending a security mode failure message to the network, where the security mode failure message is used to indicate that the security mode is activated Failure; after sending a security mode failure message to the network and not receiving a radio resource control (Radio Resource Control, RRC) connection release message from the network, initiate a random access procedure to the network to Establish a new RRC connection.
基于上述的方法,终端减少了对RRC连接释放消息的等待时间。现有技术中,终端对RRC连接的释放依赖于来自网络的RRC连接释放消息,在网络不稳定的场景下,终端等待RRC连接释放消息会造成用户业务无法正常进行。相较之下,采用上述方案有利于降低终端对网络的依赖,加速业务的恢复与正常进行,有利于及时响应业务需求、提升用户的业务体验。Based on the above method, the terminal reduces the waiting time for the RRC connection release message. In the prior art, the release of the RRC connection by the terminal depends on the RRC connection release message from the network. In an unstable network scenario, the terminal waiting for the RRC connection release message will cause user services to fail normally. In contrast, adopting the above-mentioned solution is beneficial to reduce the terminal's dependence on the network, accelerate service recovery and normal operation, and is conducive to responding to service needs in a timely manner and improving user service experience.
作为一种可能的实现方式,终端是在向所述网络发送安全模式失败消息后的一段时间(例,第一时长)内,没有接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随 机接入流程。As a possible implementation, after the terminal sends the security mode failure message to the network within a period of time (for example, the first duration), if the terminal does not receive the RRC connection release message from the network, send the The network initiates a random access procedure.
具体实现中,终端可以在发送所述安全模式失败消息后启动定时器,所述定时器的时长为所述第一时长。更进一步地,所述第一时长的取值为多个可配置的取值中的一个,即第一时长可以进行调整。调整的方式可以基于大数据统计或网络情况,范围可以控制在100到3000毫秒之间。In a specific implementation, the terminal may start a timer after sending the security mode failure message, and the duration of the timer is the first duration. Furthermore, the value of the first duration is one of multiple configurable values, that is, the first duration can be adjusted. The adjustment method can be based on big data statistics or network conditions, and the range can be controlled between 100 and 3000 milliseconds.
在该技术方案中,终端通过限制没有接收到RRC连接释放消息的时间,避免对RRC连接释放消息的无限制的等待,减少对网络的依赖,从而能够尽快重建与网络的RRC连接。In this technical solution, the terminal avoids unlimited waiting for the RRC connection release message by limiting the time when it does not receive the RRC connection release message, and reduces the dependence on the network, so that the RRC connection with the network can be reestablished as soon as possible.
作为另一种可能的实现方式,终端是在向所述网络发送安全模式失败消息后,接收到来自所述网络的RRC连接释放消息之外的其他下行消息的情况下,向所述网络发起随机接入流程。所述其他下行消息可以指RRC消息,该RRC消息包括RRC连接重配置消息。As another possible implementation, after sending a security mode failure message to the network, the terminal initiates a random Access process. The other downlink messages may refer to RRC messages, and the RRC messages include RRC connection reconfiguration messages.
在该技术方案中,终端通过接收来自网络的、不被认为是RRC连接释放消息的RRC消息,视其为解码出错的RRC连接释放消息,从而及时进行RRC连接重建,避免因为解码错误等原因导致的无限的等待时间。In this technical solution, by receiving an RRC message from the network that is not considered an RRC connection release message, the terminal regards it as an RRC connection release message with a decoding error, so as to perform RRC connection re-establishment in a timely manner, avoiding problems caused by decoding errors and other reasons. infinite waiting time.
作为另一种可能的实现方式,终端是在向所述网络发送安全模式失败消息后,没有接收到来自所述网络的RRC连接释放消息的情况下,主动向所述网络发起随机接入流程。As another possible implementation manner, after sending a security mode failure message to the network, the terminal actively initiates a random access procedure to the network when no RRC connection release message is received from the network.
在该技术方案中,终端无需尝试接收来自所述网络的RRC连接释放消息,在发送安全模式失败消息后主动发起随机接入流程,可进一步降低时延。In this technical solution, the terminal does not need to try to receive the RRC connection release message from the network, and actively initiates a random access process after sending the security mode failure message, which can further reduce the time delay.
作为另一种可能的实现方式,终端是在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,先进入RRC空闲态,并根据业务需求向所述网络发送随机接入前导。As another possible implementation, the terminal first enters the RRC idle state after sending the security mode failure message to the network and does not receive the RRC connection release message from the network, and sends The network sends a random access preamble.
在该技术方案中,终端通过及时进入RRC空闲态,并在有业务需求时向网络发送随机接入前导,减少终端维持RRC连接态的功耗,平衡时延与功耗。In this technical solution, the terminal enters the RRC idle state in time, and sends a random access preamble to the network when there is a service demand, reducing the power consumption of the terminal maintaining the RRC connection state, and balancing delay and power consumption.
第二方面,本申请实施例提供一种无线通信的方法,该方法可由无线通信装置来执行。该方法包括:接收来自网络的安全模式命令,所述安全模式命令用于提供接入层安全激活的信息;向所述网络发送安全模式失败消息,所述安全模式失败消息用于指示安全模式激活失败;并在向所述网络发送安全模式失败消息后,直接向所述网络发起随机接入流程,以建立新的RRC连接。In a second aspect, the embodiment of the present application provides a wireless communication method, and the method may be executed by a wireless communication device. The method includes: receiving a security mode command from the network, where the security mode command is used to provide access layer security activation information; sending a security mode failure message to the network, where the security mode failure message is used to indicate that the security mode is activated failure; and after sending a security mode failure message to the network, directly initiate a random access procedure to the network to establish a new RRC connection.
基于上述的方法,终端向所述网络发送安全模式失败消息后,无需尝试接收RRC连接释放消息,即可直接发起随机接入流程。相较于前述的现有技术,由于不需要等待RRC连接释放消息的时间,对业务的恢复依赖于自身发送安全模式失败消息的时间,因此业务的恢复与现有技术相比可以得到最大程度的加速。Based on the above method, after sending a security mode failure message to the network, the terminal can directly initiate a random access procedure without trying to receive an RRC connection release message. Compared with the aforementioned existing technology, since there is no need to wait for the time of the RRC connection release message, the recovery of the business depends on the time when the security mode failure message is sent by itself, so the recovery of the business can be maximized compared with the existing technology. accelerate.
作为一种可能的实现方式,终端是在向所述网络发送安全模式失败消息后,先进入RRC空闲态,并根据业务需求向所述网络发送随机接入前导。As a possible implementation manner, after sending a security mode failure message to the network, the terminal first enters the RRC idle state, and sends a random access preamble to the network according to service requirements.
在该技术方案中,终端通过及时释放资源、进入RRC空闲态,并在有业务需求时向网络发送随机接入前导、即启动对网络的随机接入,在使业务恢复速度加快的同时,也可以通过减少终端在无业务情况下、处于RRC连接态的时间来减少功耗。In this technical solution, the terminal releases resources in time, enters the RRC idle state, and sends a random access preamble to the network when there is a service demand, that is, starts random access to the network. Power consumption can be reduced by reducing the time that the terminal stays in the RRC connection state in the case of no service.
第三方面,本申请实施例提供一种无线通信装置,包括处理单元和收发单元,其中,所述处理单元用于控制所述收发单元;所述收发单元用于发送和接收相关的功能,包括:接收来自网络的安全模式命令,所述安全模式命令用于提供接入层安全激活的信息;向所述网络 发送安全模式失败消息,所述安全模式失败消息用于指示安全激活失败;以及在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,以建立新的RRC连接。In a third aspect, an embodiment of the present application provides a wireless communication device, including a processing unit and a transceiver unit, wherein the processing unit is used to control the transceiver unit; the transceiver unit is used to send and receive related functions, including : receiving a security mode command from the network, where the security mode command is used to provide access layer security activation information; sending a security mode failure message to the network, where the security mode failure message is used to indicate security activation failure; and After sending a security mode failure message to the network and when no RRC connection release message is received from the network, initiate a random access procedure to the network to establish a new RRC connection.
可选地,收发单元包括接收单元和发送单元。在一种设计中,无线通信装置为通信芯片,处理单元可以是一个或多个处理器或处理器核心,收发单元可以为通信芯片的输入输出电路或者接口。Optionally, the transceiving unit includes a receiving unit and a sending unit. In one design, the wireless communication device is a communication chip, the processing unit may be one or more processors or processor cores, and the transceiver unit may be an input-output circuit or interface of the communication chip.
在另一种设计中,收发单元可以为发射器和接收器,或者收发单元为发射机和接收机。In another design, the transceiving unit may be a transmitter and a receiver, or the transceiving unit may be a transmitter and a receiver.
可选的,无线通信装置还包括可用于执行上述第一方面至第二方面任一种无线通信方法中的任一种实施方式的各个模块。Optionally, the wireless communication device further includes various modules that can be used to implement any implementation manner of any wireless communication method from the first aspect to the second aspect.
第四方面,本申请实施例提供一种无线通信装置,该装置可以是终端,还可以是用于终端的芯片。该装置具有实现上述第一方面的方法或其任一可能的实现方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, the embodiment of the present application provides a wireless communication device, and the device may be a terminal, and may also be a chip for the terminal. The device has the function of realizing the method of the above first aspect or any possible realization method thereof. This function may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第五方面,本申请实施例提供一种无线通信装置,包括处理器和存储器。可选的,还包括收发器。该存储器用于存储计算机程序或指令,该处理器用于从存储器中调用并运行该计算机程序或指令,当处理器执行存储器中的计算机程序或指令时,使得该无线通信装置执行上述第一方面至第二方面任一种无线通信方法中的任一种实施方式。In a fifth aspect, the embodiment of the present application provides a wireless communication device, including a processor and a memory. Optionally, a transceiver is also included. The memory is used to store computer programs or instructions, and the processor is used to call and run the computer programs or instructions from the memory. When the processor executes the computer programs or instructions in the memory, the wireless communication device executes the above-mentioned first aspect to Any implementation of any wireless communication method in the second aspect.
可选的,处理器为一个或多个,存储器为一个或多个。Optionally, there are one or more processors, and one or more memories.
可选的,存储器可以与处理器集成在一起,或者存储器与处理器分离设置。Optionally, the memory may be integrated with the processor, or the memory may be separated from the processor.
可选的,存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。Alternatively, memory can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
第六方面,提供了一种系统,系统包括上述无线通信装置和网络设备。In a sixth aspect, a system is provided, and the system includes the wireless communication apparatus and network equipment described above.
第七方面,提供了一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得计算机执行上述第一方面至第二方面中任一种可能实现方式中的方法,或者使得计算机执行上述第一方面至第二方面任一种实现方式中的方法。In a seventh aspect, a computer program product is provided, and the computer program product includes: a computer program (also referred to as code, or an instruction), which, when the computer program is executed, causes the computer to execute any of the above first to second aspects. A method in a possible implementation manner, or causing a computer to execute the method in any one of the foregoing first aspect to the second aspect.
第八方面,提供了一种计算机可读存储介质,计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面至第二方面中任一种可能实现方式中的方法,或者使得计算机执行上述第一方面至第二方面任一种实现方式中的方法。In an eighth aspect, a computer-readable storage medium is provided, and the computer-readable medium stores a computer program (also referred to as code, or an instruction) which, when run on a computer, causes the computer to perform the above-mentioned first to second aspects. The method in any possible implementation manner in the aspect, or causing the computer to execute the method in any implementation manner in the first aspect to the second aspect above.
第九方面,提供了一种芯片系统,该芯片系统可以包括处理器。该处理器与存储器耦合,可用于执行第一方面至第二方面中任一方面,以及第一方面至第二方面中任一方面中任一种可能实现方式中的方法。可选地,该芯片系统还包括存储器。存储器,用于存储计算机程序(也可以称为代码,或指令)。处理器,用于从存储器调用并运行计算机程序,使得安装有芯片系统的设备执行第一方面至第二方面中任一方面,以及第一方面至第二方面中任一方面中任一种可能实现方式中的方法。In a ninth aspect, a chip system is provided, and the chip system may include a processor. The processor is coupled with the memory, and may be used to execute any one of the first aspect to the second aspect, and the method in any possible implementation manner of any one of the first aspect to the second aspect. Optionally, the chip system further includes a memory. Memory, used to store computer programs (also called code, or instructions). A processor for calling and running a computer program from a memory, so that the device installed with the system-on-a-chip executes any one of the first to second aspects, and any possible one of any of the first to second aspects method in the implementation.
第十方面,提供了一种无线通信装置,包括:接口电路和处理电路。接口电路可以包括输入电路和输出电路。处理电路用于通过输入电路接收信号,并通过输出电路发射信号,使 得第一方面至第三方面任一方面,以及第一方面至第二方面中任一种可能实现方式中的方法被实现。In a tenth aspect, a wireless communication device is provided, including: an interface circuit and a processing circuit. Interface circuitry may include input circuitry and output circuitry. The processing circuit is used to receive signals through the input circuit and transmit signals through the output circuit, so that any one of the first aspect to the third aspect, and the method in any possible implementation manner of the first aspect to the second aspect are realized.
在具体实现过程中,无线通信装置可以为芯片,输入电路可以为输入管脚,输出电路可以为输出管脚,处理电路可以为晶体管、门电路、触发器和各种逻辑电路等。输入电路所接收的输入的信号可以是由例如但不限于接收器接收并输入的,输出电路所输出的信号可以是例如但不限于输出给发射器并由发射器发射的,且输入电路和输出电路可以是同一电路,该电路在不同的时刻分别用作输入电路和输出电路。本申请实施例对处理器及各种电路的具体实现方式不做限定。In a specific implementation process, the wireless communication device may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a flip-flop, and various logic circuits. The input signal received by the input circuit may be received and input by, for example but not limited to, the receiver, the output signal of the output circuit may be, for example but not limited to, output to the transmitter and transmitted by the transmitter, and the input circuit and the output The circuit may be the same circuit, which is used as an input circuit and an output circuit respectively at different times. The embodiment of the present application does not limit the specific implementation manners of the processor and various circuits.
在一种实现方式中,无线通信装置可以是无线通信设备,即支持无线通信功能的计算机设备。具体地,无线通信设备可以是诸如智能手机这样的终端,也可以是诸如基站这样的无线接入网设备。系统芯片也可称为片上系统(system on chip,SoC),或简称为SoC芯片。通信芯片可包括基带处理芯片和射频处理芯片。基带处理芯片有时也被称为调制解调器(modem)或基带芯片。射频处理芯片有时也被称为射频收发机(transceiver)或射频芯片。在物理实现中,通信芯片中的部分芯片或者全部芯片可集成在SoC芯片内部。例如,基带处理芯片集成在SoC芯片中,射频处理芯片不与SoC芯片集成。接口电路可以为无线通信设备中的射频处理芯片,处理电路可以为无线通信设备中的基带处理芯片。In an implementation manner, the wireless communication device may be a wireless communication device, that is, a computer device supporting a wireless communication function. Specifically, the wireless communication device may be a terminal such as a smart phone, or a wireless access network device such as a base station. A system chip can also be called a system on chip (system on chip, SoC), or simply a SoC chip. Communication chips may include baseband processing chips and radio frequency processing chips. Baseband processing chips are also sometimes referred to as modems or baseband chips. RF processing chips are sometimes also referred to as RF transceivers or RF chips. In physical implementation, part or all of the chips in the communication chip can be integrated inside the SoC chip. For example, the baseband processing chip is integrated in the SoC chip, and the radio frequency processing chip is not integrated with the SoC chip. The interface circuit may be a radio frequency processing chip in the wireless communication device, and the processing circuit may be a baseband processing chip in the wireless communication device.
在又一种实现方式中,无线通信装置可以是无线通信设备中的部分器件,如系统芯片或通信芯片等集成电路产品。接口电路可以为该芯片或芯片系统上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。处理器也可以体现为处理电路或逻辑电路。In yet another implementation manner, the wireless communication device may be a part of a wireless communication device, such as an integrated circuit product such as a system chip or a communication chip. The interface circuit may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip or chip system. A processor may also be embodied as processing circuitry or logic circuitry.
图1为本申请实施例提供的一种无线通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a wireless communication system provided by an embodiment of the present application;
图2为本申请实施例提供的一种控制面无线协议架构的示意图;FIG. 2 is a schematic diagram of a control plane wireless protocol architecture provided by an embodiment of the present application;
图3为本申请实施例提供的一种RRC连接状态转换流程示意图;FIG. 3 is a schematic diagram of an RRC connection state transition process provided by an embodiment of the present application;
图4为本申请实施例提供的一种RRC连接建立的流程示意图;FIG. 4 is a schematic flow diagram of establishing an RRC connection provided by an embodiment of the present application;
图5为本申请实施例提供的一种接入层初始安全激活过程,图5(a)所示是初始安全激活成功的过程,图5(b)所示是初始安全激活失败的过程;Figure 5 is an initial security activation process of the access layer provided by the embodiment of the present application. Figure 5(a) shows the process of initial security activation success, and Figure 5(b) shows the process of initial security activation failure;
图6为本申请实施例提供的一种安全模式激活失败后异常的主动恢复的流程框图;FIG. 6 is a block diagram of an abnormal active recovery after a security mode activation failure provided by an embodiment of the present application;
图7为本申请实施例提供的一种安全模式激活失败后异常的主动恢复的流程示意图;FIG. 7 is a schematic flowchart of an abnormal active recovery after a security mode activation failure provided by an embodiment of the present application;
图8为本申请实施例提供的另一种安全模式激活失败后异常的主动恢复的流程示意图;FIG. 8 is a schematic flow diagram of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application;
图9为本申请实施例提供的另一种安全模式激活失败后异常的主动恢复的流程示意图;FIG. 9 is a schematic flow diagram of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application;
图10为本申请实施例提供的另一种安全模式激活失败后异常的主动恢复的流程示意图;FIG. 10 is a schematic flow diagram of another abnormal active recovery after the failure to activate the security mode provided by the embodiment of the present application;
图11为本申请实施例提供的另一种安全模式激活失败后异常的主动恢复的流程示意图;FIG. 11 is a schematic flow diagram of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application;
图12为本申请实施例提供的一种无线通信装置的示意性框图;FIG. 12 is a schematic block diagram of a wireless communication device provided by an embodiment of the present application;
图13为本申请实施例提供的一种无线通信装置的结构示意图。FIG. 13 is a schematic structural diagram of a wireless communication device provided by an embodiment of the present application.
应理解,上述结构示意图中,各框图的尺寸和形态仅供参考,不应构成对本申请实施例的排他性的解读。结构示意图所呈现的各框图间的相对位置和包含关系,仅为示意性地表示各框图间的结构关联,而非限制本申请实施例的物理连接方式。It should be understood that in the above structural diagrams, the size and shape of each block diagram are for reference only, and should not constitute an exclusive interpretation of the embodiment of the present application. The relative positions and containment relationships among the block diagrams shown in the structural schematic diagram are only schematic representations of the structural relationships among the block diagrams, rather than limiting the physical connection methods of the embodiments of the present application.
下面结合附图并举实施例,对本申请提供的技术方案作进一步说明。应理解,本申请实施例中提供的系统结构和业务场景主要是为了解释本申请的技术方案的一些可能的实施方式,不应被解读为对本申请的技术方案的唯一性限定。本领域普通技术人员可以知晓,随着系统的演进,以及更新的业务场景的出现,本申请提供的技术方案对于相同或类似的技术问题仍然可以适用。The technical solutions provided by the present application will be further described below in conjunction with the accompanying drawings and examples. It should be understood that the system structure and business scenarios provided in the embodiments of the present application are mainly for explaining some possible implementations of the technical solution of the present application, and should not be interpreted as a unique limitation on the technical solution of the present application. Those skilled in the art may know that with the evolution of the system and the emergence of newer business scenarios, the technical solutions provided in this application are still applicable to the same or similar technical problems.
应理解,本申请实施例提供的技术方案,包括安全模式激活失败后异常的主动回复方法及其相关装置。这些技术方案解决问题的原理相同或相似,在以下具体实施例的介绍中,某些重复之处可能不再赘述,但应视为这些具体实施例之间已有相互引用,可以相互结合。It should be understood that the technical solutions provided by the embodiments of the present application include a method for proactively recovering abnormality after the activation of the security mode fails and related devices. The principles of these technical solutions to solve problems are the same or similar. In the introduction of the following specific embodiments, some repetitions may not be repeated, but it should be considered that these specific embodiments have mutual references and can be combined with each other.
无线通信系统中,设备可分为提供无线网络服务的设备和使用无线网络服务的设备。提供无线网络服务的设备是指那些组成无线通信网络的设备,可简称为网络设备(network equipment),或网络单元(network element)。网络设备通常归属于运营商(如中国移动和Vodafone)或基础设施提供商(如铁塔公司),并由这些厂商负责运营或维护。网络设备还可进一步分为无线接入网(radio access network,RAN)设备以及核心网(core network,CN)设备。典型的RAN设备包括基站(base station,BS)。In a wireless communication system, devices can be divided into devices that provide wireless network services and devices that use wireless network services. Devices that provide wireless network services refer to those devices that make up a wireless communication network, which can be referred to as network equipment or network elements for short. Network equipment is usually owned by operators (such as China Mobile and Vodafone) or infrastructure providers (such as tower companies), and these manufacturers are responsible for operation or maintenance. Network equipment can be further divided into radio access network (radio access network, RAN) equipment and core network (core network, CN) equipment. Typical RAN equipment includes a base station (base station, BS).
应理解,基站有时也可以被称为无线接入点(access point,AP),或发送接收点(transmission reception point,TRP)。具体地,基站可以是5G新无线电(new radio,NR)系统中的通用节点B(generation Node B,gNB),4G长期演进(long term evolution,LTE)系统的演进节点B(evolutional Node B,eNB)。It should be understood that sometimes the base station may also be called a wireless access point (access point, AP), or a transmission reception point (transmission reception point, TRP). Specifically, the base station can be a general node B (generation Node B, gNB) in a 5G new radio (new radio, NR) system, or an evolved node B (evolutional Node B, eNB) in a 4G long term evolution (long term evolution, LTE) system. ).
使用无线网络服务的设备通常位于网络的边缘,可简称为终端(terminal)。终端能够与网络设备建立连接,并基于网络设备的服务为用户提供具体的无线通信业务。应理解,由于终端与用户的关系更加紧密,有时也被称为用户设备(user equipment,UE),或订户单元(subscriber unit,SU)。此外,相对于通常在固定地点放置的基站,终端往往随着用户一起移动,有时也被称为移动台(mobile station,MS)。此外,有些网络设备,例如中继节点(relay node,RN)或者无线路由器等,由于具备UE身份,或者归属于用户,有时也可被认为是终端。Devices using wireless network services are usually located at the edge of the network, and may be referred to as terminals for short. The terminal can establish a connection with the network equipment, and provide users with specific wireless communication services based on the services of the network equipment. It should be understood that, because the relationship between the terminal and the user is closer, it is sometimes called user equipment (user equipment, UE), or a subscriber unit (subscriber unit, SU). In addition, compared with the base station usually placed in a fixed location, the terminal often moves with the user, and is sometimes called a mobile station (mobile station, MS). In addition, some network devices, such as a relay node (relay node, RN) or a wireless router, etc., can sometimes be considered as terminals because they have a UE identity or belong to a user.
具体地,终端可以是移动电话(mobile phone),平板电脑(tablet computer),膝上型电脑(laptop computer),可穿戴设备(比如智能手表,智能手环,智能头盔,智能眼镜),以及其他具备无线接入能力的设备,如智能汽车,各种物联网(internet of thing,IOT)设备,包括各种智能家居设备(比如智能电表和智能家电)以及智能城市设备(比如安防或监控设备,智能道路交通设施)等。Specifically, the terminal can be a mobile phone (mobile phone), a tablet computer (tablet computer), a laptop computer (laptop computer), a wearable device (such as a smart watch, a smart bracelet, a smart helmet, smart glasses), and other Devices with wireless access capabilities, such as smart cars, various Internet of things (IOT) devices, including various smart home devices (such as smart meters and smart home appliances) and smart city devices (such as security or monitoring equipment, Intelligent road traffic facilities), etc.
为了便于表述,本申请中将以基站和终端为例,详细说明本申请实施例的技术方案。For the convenience of expression, in this application, a base station and a terminal will be taken as examples to describe the technical solutions of the embodiments of this application in detail.
图1为本申请实施例提供的一种无线通信系统的结构示意图。如图1所示,无线通信系统包括终端和基站。按照传输方向的不同,从终端到基站的传输链路记为上行链路(uplink,UL),从基站到终端的传输链路记为下行链路(downlink,DL)。相类似地,上行链路中的数据传输可简记为上行数据传输或上行传输,下行链路中的数据传输可简记为下行数据传输或下行传输。FIG. 1 is a schematic structural diagram of a wireless communication system provided by an embodiment of the present application. As shown in Fig. 1, a wireless communication system includes a terminal and a base station. According to different transmission directions, the transmission link from the terminal to the base station is marked as uplink (uplink, UL), and the transmission link from the base station to the terminal is marked as downlink (downlink, DL). Similarly, data transmission in the uplink may be abbreviated as uplink data transmission or uplink transmission, and data transmission in the downlink may be abbreviated as downlink data transmission or downlink transmission.
该无线通信系统中,基站可通过集成或外接的天线设备,为特定地理区域提供通信覆盖。位于基站的通信覆盖范围内的一个或多个终端,均可以接入基站。一个基站可以管理一个或 多个小区(cell)。每个小区具有一个身份证明(identification),该身份证明也被称为小区标识(cell identity,cell ID)。从无线资源的角度看,一个小区是下行无线资源,以及与其配对的上行无线资源(非必需)的组合。In the wireless communication system, the base station can provide communication coverage for a specific geographical area through an integrated or external antenna device. One or more terminals within the communication coverage of the base station can access the base station. One base station can manage one or more cells. Each cell has an identification (identification), which is also called a cell identity (cell ID). From the perspective of radio resources, a cell is a combination of downlink radio resources and its paired uplink radio resources (not necessary).
应理解,该无线通信系统可以遵从3GPP的无线通信标准,也可以遵从其他无线通信标准,例如电气电子工程师学会(Institute of Electrical and Electronics Engineers,IEEE)的802系列(如802.11,802.15,或者802.20)的无线通信标准。图1中虽然仅示出了一个基站和一个终端,该无线通信系统也可包括其他数目的终端和基站。此外,该无线通信系统还可包括其他的网络设备,比如核心网设备。It should be understood that the wireless communication system can comply with the wireless communication standard of 3GPP, and can also comply with other wireless communication standards, such as the 802 series (such as 802.11, 802.15, or 802.20) of the Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers, IEEE). wireless communication standards. Although only one base station and one terminal are shown in FIG. 1 , the wireless communication system may also include other numbers of terminals and base stations. In addition, the wireless communication system may also include other network equipment, such as core network equipment.
终端和基站应知晓该无线通信系统预定义的配置,包括系统支持的无线电接入技术(radio access technology,RAT),以及系统规定的无线资源,比如无线电频段及载波。载波是符合系统规定的一段频率范围。这段频率范围可由载波的中心频率(记为载频)和载波的带宽共同确定。这些系统预定义的配置可作为无线通信系统的标准协议的一部分,或者通过终端和基站间的交互确定。无线通信系统的标准协议的内容,可能会预先存储在终端和基站的存储器中,和/或,体现为终端和基站的硬件电路或软件代码。The terminal and the base station should know the predefined configuration of the wireless communication system, including the radio access technology (radio access technology, RAT) supported by the system, and the wireless resources specified by the system, such as radio frequency bands and carriers. The carrier is a frequency range that complies with system regulations. This frequency range can be jointly determined by the center frequency of the carrier (referred to as the carrier frequency) and the bandwidth of the carrier. The predefined configurations of these systems can be used as part of the standard protocol of the wireless communication system, or determined through the interaction between the terminal and the base station. The content of the standard protocol of the wireless communication system may be pre-stored in the memory of the terminal and the base station, and/or embodied as a hardware circuit or software code of the terminal and the base station.
该无线通信系统中,终端和基站支持一种或多种相同的RAT,例如5G NR,4G LTE,或未来演进系统的RAT。具体地,终端和基站采用相同的空口参数、编码方案和调制方案等,并基于系统规定的无线资源相互通信。其中,空口参数是用于描述空口特征的参数。在英文中,空口参数有时也被称为numerology。空口参数可包括子载波间隔(subcarrier spacing,SC),也可包括循环前缀(cyclic prefix,CP)。该无线通信系统可支持多种不同空口参数,这些空口参数可作为标准协议的一部分。In this wireless communication system, the terminal and the base station support one or more of the same RAT, such as 5G NR, 4G LTE, or the RAT of the future evolution system. Specifically, the terminal and the base station use the same air interface parameters, coding scheme, modulation scheme, etc., and communicate with each other based on radio resources specified by the system. Wherein, the air interface parameter is a parameter used to describe air interface characteristics. In English, air interface parameters are sometimes called numerology. The air interface parameters may include subcarrier spacing (subcarrier spacing, SC), and may also include a cyclic prefix (cyclic prefix, CP). The wireless communication system can support various air interface parameters, and these air interface parameters can be used as a part of the standard protocol.
终端和网络(包括基站与核心网设备)之间的传输可遵循相关标准组织定义的技术规范。图2为本申请实施例提供的一种控制面无线协议架构的示意图。该无线协议架构可对应3GPP的无线协议架构。无线协议栈分为两个平面:用户面和控制面。用户面(User Plane,UP)协议栈即用户数据传输采用的协议簇,控制面(Control Plane,CP)协议栈即系统的控制信令传输采用的协议簇。其中,用户面协议主要负责与用户数据传输相关的功能,控制面协议主要负责连接建立、移动性管理和安全性管理等功能。The transmission between the terminal and the network (including the base station and the core network equipment) can follow the technical specifications defined by relevant standard organizations. FIG. 2 is a schematic diagram of a control plane wireless protocol architecture provided by an embodiment of the present application. The wireless protocol architecture can correspond to the wireless protocol architecture of 3GPP. The wireless protocol stack is divided into two planes: the user plane and the control plane. The user plane (User Plane, UP) protocol stack is the protocol cluster used for user data transmission, and the control plane (Control Plane, CP) protocol stack is the protocol cluster used for system control signaling transmission. Among them, the user plane protocol is mainly responsible for functions related to user data transmission, and the control plane protocol is mainly responsible for functions such as connection establishment, mobility management, and security management.
如图2所示,该无线协议架构对应于控制面协议,从底层协议到高层协议,构成协议栈,包括:物理(physical,PHY)层协议、媒体接入控制(media access control,MAC)层协议、无线链路控制(radio link control,RLC)层协议、分组数据汇聚(packet data convergence protocol,PDCP)层协议、无线资源控制(radio resource control,RRC)层协议和非接入层(non-access stratum,NAS)层协议。以终端为例,控制面的消息先由高层向底层传递,之后通过物理信道传到基站或核心网侧,由其底层递交到相应的高层,从而完成一次通信传输。As shown in Figure 2, the wireless protocol architecture corresponds to the control plane protocol. From the bottom protocol to the high layer protocol, a protocol stack is formed, including: physical (PHY) layer protocol, media access control (media access control, MAC) layer protocol, radio link control (radio link control, RLC) layer protocol, packet data convergence (packet data convergence protocol, PDCP) layer protocol, radio resource control (radio resource control, RRC) layer protocol and non-access layer (non- access stratum, NAS) layer protocol. Taking the terminal as an example, the message on the control plane is first transmitted from the high layer to the bottom layer, and then transmitted to the base station or core network side through the physical channel, and then submitted by the bottom layer to the corresponding high layer, thus completing a communication transmission.
从协议栈角度出发,终端与网络的通信流程可以分为接入层(Access Stratum,AS)流程和非接入层(Non-access Stratum,NAS)流程。其中,接入层的流程可以被理解为需要无线接入层的终端设备与基站参与处理的流程,非接入层的流程即指只有终端和核心网参与处理的信令流程,基站对该信令流程起运输作用。后者对应于NAS层协议,前者包括RRC协议及以下的其他层协议、用于链路的搭建。通过接入层的流程,终端和核心网之间建立起了通信通路,从而实现非接入层的信令流程。From the perspective of the protocol stack, the communication process between the terminal and the network can be divided into an access stratum (Access Stratum, AS) process and a non-access stratum (Non-access Stratum, NAS) process. Among them, the process of the access layer can be understood as the process that requires the participation of terminal equipment and base stations in the wireless access layer, and the process of the non-access layer refers to the signaling process that only the terminal and the core network participate in the processing. Let the process function as a transport. The latter corresponds to the NAS layer protocol, and the former includes the RRC protocol and other layer protocols below for link establishment. Through the flow of the access layer, a communication path is established between the terminal and the core network, thereby realizing the signaling flow of the non-access layer.
在贯穿接入层和非接入层的信令流程中,无线资源管理是移动通信网络中非常重要的一环,其是在有限带宽的条件下,最大程度地提高无线频谱利用率,防止网络拥塞和保持尽可 能小的信令负荷,为网络内无线用户终端提供业务质量保障。对无线资源的控制涉及到多种无线资源的处理过程,例如,系统消息的处理、连接控制、移动性管理、测量等处理。In the signaling process throughout the access layer and the non-access layer, radio resource management is a very important part of the mobile communication network. It is to maximize the utilization of the wireless spectrum under the condition of limited bandwidth and prevent the network Congestion and keep the signaling load as small as possible to provide service quality guarantee for wireless user terminals in the network. The control of radio resources involves the processing of various radio resources, for example, processing of system messages, connection control, mobility management, and measurement.
其中,在上述的无线资源的处理过程中,其在接入层的信令流程包括有:寻呼(Paging)过程,无线资源连接建立(RRC connection establishment)、初始安全激活(Initial AS security activation)过程,无线资源重配置(RRC Reconfiguration)无线资源连接的释放(RRC Connection Release)过程等。其在非接入层的流程主要包括电路域的移动性管理、电路域的呼叫控制、分组域的移动性管理、分组域的会话管理。Among them, in the above-mentioned wireless resource processing process, the signaling process at the access layer includes: paging (Paging) process, radio resource connection establishment (RRC connection establishment), initial security activation (Initial AS security activation) process, radio resource reconfiguration (RRC Reconfiguration) radio resource connection release (RRC Connection Release) process, etc. Its processes at the non-access layer mainly include mobility management in the CS domain, call control in the CS domain, mobility management in the PS domain, and session management in the PS domain.
以下一代(next generation,NR)移动通信网络为例,在无线资源的处理过程中,网络需先搭建与终端的RRC连接,之后才能进行控制信令与业务数据的通信。Taking the next generation (NR) mobile communication network as an example, in the process of wireless resource processing, the network needs to establish an RRC connection with the terminal before communicating control signaling and service data.
图3为本申请实施例提供的一种RRC连接状态转换流程示意图。如图3所示,终端和网络可进入不同的RRC连接状态,包括:空闲态(RRC_IDLE)和连接态(RRC_CONNECTED),原因可包括移动性改变或者业务触发等。FIG. 3 is a schematic diagram of an RRC connection state transition process provided by an embodiment of the present application. As shown in Figure 3, the terminal and the network can enter different RRC connection states, including: idle state (RRC_IDLE) and connected state (RRC_CONNECTED), and the reasons may include mobility changes or service triggers.
以终端与基站为例,终端最初时处于RRC_IDLE态。当场景变化,如进行注册或业务触发等,终端与基站建立链路,从RRC_IDLE态转入RRC_CONNECTED态。图4所示为本申请实施例提供的一种RRC连接建立的流程示意图,其中UE指代终端设备,NW指代网络,通用于后续流程示意图。图4指示了终端从RRC_IDLE态到RRC_CONNECTED态的流程:Taking the terminal and the base station as an example, the terminal is initially in the RRC_IDLE state. When the scene changes, such as registration or service triggering, etc., the terminal establishes a link with the base station, and changes from the RRC_IDLE state to the RRC_CONNECTED state. FIG. 4 is a schematic flowchart of an RRC connection establishment provided by an embodiment of the present application, wherein UE refers to a terminal device, and NW refers to a network, which are commonly used in subsequent schematic flowcharts. Figure 4 indicates the flow of the terminal from the RRC_IDLE state to the RRC_CONNECTED state:
步骤401、终端向基站发送RRC连接建立请求(RRC Connection Setup Request),所述RRC连接建立请求用于请求与所述基站建立RRC连接。Step 401, the terminal sends an RRC connection setup request (RRC Connection Setup Request) to the base station, and the RRC connection setup request is used to request to establish an RRC connection with the base station.
步骤402、终端接收来自所述基站的RRC连接建立(RRC Connection Setup)消息,所述RRC连接建立消息用于响应所述RRC连接建立请求。Step 402, the terminal receives an RRC connection setup (RRC Connection Setup) message from the base station, and the RRC connection setup message is used to respond to the RRC connection setup request.
步骤403、终端向所述基站发送RRC连接建立完成(RRC Connection Setup Complete)消息,所述RRC连接建立完成消息用于指示终端与基站的RRC连接建立完成。 Step 403, the terminal sends an RRC Connection Setup Complete (RRC Connection Setup Complete) message to the base station, and the RRC Connection Setup Complete message is used to indicate that the RRC connection setup between the terminal and the base station is completed.
其中,当终端接收RRC连接建立消息后,其连接状态由RRC_IDLE态转为RRC_CONNECTED态。而终端发送RRC连接建立完成消息意味着RRC连接的建立完成,只有该连接被释放,终端才可转回RRC_IDLE态,实现的方式为终端接收来自所述基站的RRC连接释放消息。现有技术中,基站侧通过启动定时器,当与终端的通信交互停止超过一定阈值,将下发RRC连接释放消息。Wherein, when the terminal receives the RRC connection establishment message, its connection state changes from the RRC_IDLE state to the RRC_CONNECTED state. The sending of the RRC connection establishment completion message by the terminal means that the establishment of the RRC connection is completed. Only when the connection is released, the terminal can return to the RRC_IDLE state. The implementation method is that the terminal receives the RRC connection release message from the base station. In the prior art, the base station side starts a timer, and when the communication interaction with the terminal stops exceeding a certain threshold, the base station sends an RRC connection release message.
终端释放RRC连接进入RRC_IDLE状态有两个条件,可择一满足:1、无线链路连接不正常;2、终端接收RRC连接释放(RRC Connection Release)消息。There are two conditions for the terminal to release the RRC connection and enter the RRC_IDLE state, one of which can be satisfied: 1. The wireless link connection is not normal; 2. The terminal receives the RRC Connection Release (RRC Connection Release) message.
上述RRC连接建立请求、RRC连接建立消息、RRC连接建立完成消息和RRC连接释放消息都属于RRC层的控制信令,其使用信令无线承载(signaling radio bearer,SRB)来传输。在无线通信中定义了多种SRB,主要有SRB0,SRB1和SRB2。The above-mentioned RRC connection establishment request, RRC connection establishment message, RRC connection establishment completion message and RRC connection release message all belong to the control signaling of the RRC layer, which are transmitted using a signaling radio bearer (SRB). Various SRBs are defined in wireless communication, mainly including SRB0, SRB1 and SRB2.
SRB0是默认建立的无线承载,没有完整性保护和加密处理,如上述RRC连接建立请求和RRC连接建立消息。SRB0 is a radio bearer established by default, without integrity protection and encryption processing, such as the above-mentioned RRC connection establishment request and RRC connection establishment message.
SRB1用于发送RRC信令消息,用于指示RRC连接的状态和变化,如空口节点配置、链路切换等。其承载的信令包括如上述RRC连接建立完成消息和RRC连接释放消息。SRB1 is used to send RRC signaling messages, which are used to indicate the status and changes of the RRC connection, such as air interface node configuration, link switching, and so on. The signaling carried by it includes the above RRC connection establishment complete message and RRC connection release message.
SRB2用于发送包含记录的测量信息在内的RRC消息,以及NAS层消息,可以分流SRB1的信令负荷。此外,RRC层还向下传递用户面数据,由数据无线承载(data radio bearer,DRB)负责。其中,一般而言,SRB1、SRB2和DRB需要完整性保护和加密保护。SRB2 is used to send RRC messages including recorded measurement information and NAS layer messages, which can offload the signaling load of SRB1. In addition, the RRC layer also transmits user plane data downwards, which is in charge of the data radio bearer (DRB). Among them, generally speaking, SRB1, SRB2 and DRB need integrity protection and encryption protection.
为实现完整性保护和加密保护,终端需要与基站执行安全模式激活,即激活AS初始安 全。AS层安全功能是指对控制面RRC信令的完整性保护和加密保护以及用户面数据的加密保护。In order to achieve integrity protection and encryption protection, the terminal needs to perform security mode activation with the base station, that is, activate AS initial security. The security function of the AS layer refers to the integrity protection and encryption protection of the RRC signaling of the control plane and the encryption protection of the data of the user plane.
对于处于RRC_CONNECTED态的终端,AS的初始安全激活过程包含:初始安全激活成功过程和初始安全激活失败过程。图5所示为本申请实施例提供的一种AS初始安全激活过程,图5(a)所示是初始安全激活成功的过程,图5(b)所示是初始安全激活失败的过程。For a terminal in the RRC_CONNECTED state, the initial security activation process of the AS includes: initial security activation success process and initial security activation failure process. FIG. 5 shows an AS initial security activation process provided by the embodiment of the present application. FIG. 5(a) shows a successful initial security activation process, and FIG. 5(b) shows a failed initial security activation process.
从图中可以看出,终端先从网络接收安全模式命令(Security Mode Command,SMC)消息,所述SMC消息由SRB1承载,携带AS的相关安全参数,用于安全模式激活。It can be seen from the figure that the terminal first receives a Security Mode Command (SMC) message from the network. The SMC message is carried by SRB1 and carries relevant security parameters of the AS for activation of the security mode.
所述AS的相关安全参数包括密钥组、完整性保护算法、加密保护算法。其中,密钥组包括有根密钥、完整性保护和加密保护的算法密钥,后者由根密钥K
asme派生。根密钥K
asme由移动性管理实体管理生成。当根密钥发生改变时,由此派生出的AS层安全算法密钥也会随之发生改变。需要注意的是,这种改变是终端和网络同步改变的,这样才能保证完整性保护机制和机密性保护机制的正常运作。
The relevant security parameters of the AS include a key group, an integrity protection algorithm, and an encryption protection algorithm. Among them, the key group includes the root key, integrity protection and encryption protection algorithm key, the latter is derived from the root key K asme . The root key Kasme is managed and generated by the mobility management entity. When the root key changes, the AS layer security algorithm key derived from it will also change accordingly. It should be noted that this change is made synchronously between the terminal and the network, so as to ensure the normal operation of the integrity protection mechanism and the confidentiality protection mechanism.
AS层完整性保护和加密保护的算法密钥的获取基于K
asme以及上行NAS计数值(即非接入层上行消息计数序列值)(NAS UPLINK COUNT),两者计算得出接入层根密钥,然后再由接入层根密钥计算出AS层的安全算法密钥。
The algorithm keys for AS layer integrity protection and encryption protection are obtained based on K asme and the uplink NAS count value (that is, the non-access layer uplink message count sequence value) (NAS UPLINK COUNT), the two calculate the access layer root key key, and then calculate the security algorithm key of the AS layer from the root key of the access layer.
当终端接入网络,网络由MME配置选择相应的完整性算法、加解密算法和K
asme,然后通过SMC将所述的安全算法告知终端,所述安全算法包括完整性算法与加密算法。同时,终端基于K
asme、上述安全算法和NAS UPLINK COUNT生成AS层安全密钥,包括控制面完整性保护密钥和加密密钥,以及用户面加解密密钥。其后,终端会基于完整性保护密钥和算法对SMC消息进行完整性验证,验证通过则对安全参数进行更新。由此可知,终端的安全参数被更新,则视为安全模式激活成功,反之则安全模式激活失败。
When the terminal accesses the network, the network is configured by the MME to select the corresponding integrity algorithm, encryption and decryption algorithm, and Kasme , and then the SMC informs the terminal of the security algorithm, which includes the integrity algorithm and the encryption algorithm. At the same time, the terminal generates AS layer security keys based on K asme , the above security algorithm and NAS UPLINK COUNT, including control plane integrity protection keys and encryption keys, and user plane encryption and decryption keys. Afterwards, the terminal will verify the integrity of the SMC message based on the integrity protection key and algorithm, and update the security parameters if the verification passes. It can be seen that if the security parameters of the terminal are updated, it is considered that the activation of the security mode is successful, otherwise, the activation of the security mode fails.
终端安全模式激活成功,其会向所述网络发送安全模式完成(Security Mode Complete)消息,用来确认AS安全性的激活成功,参见图5(a)。终端配置更新后的密钥组、完整性保护算法和加密算法。If the security mode of the terminal is successfully activated, it will send a Security Mode Complete (Security Mode Complete) message to the network to confirm the successful activation of AS security, see Figure 5(a). The terminal configures the updated key group, integrity protection algorithm and encryption algorithm.
若终端安全模式激活失败,则会向所述网络发送安全模式失败(Security Mode Failure)消息,用来指示AS安全性的激活失败,参见图5(b)。终端安全模式激活失败情景主要有:网络与终端用于推演密钥组的上行NAS计数值不一致等。If the activation of the security mode of the terminal fails, a Security Mode Failure (Security Mode Failure) message will be sent to the network to indicate that the activation of the AS security fails, as shown in Figure 5(b). The failure scenarios of the terminal security mode activation mainly include: the uplink NAS count value used by the network and the terminal to deduce the key group is inconsistent, etc.
AS安全性的激活失败会导致终端与网络无法建立SRB2和DRB,也即安全模式激活失败后的异常。其中,由于DRB用于承载数据业务信息以及语音信息,因此DRB的配置失败使用户的数据业务和语音通话无法正常进行。由此可知,终端在安全模式激活失败后,其会进入无法正常进行用户业务的异常状态、进一步影响用户的业务体验。The failure to activate the AS security will cause the terminal and the network to fail to establish SRB2 and DRB, which is an exception after the activation of the security mode fails. Wherein, since the DRB is used to carry data service information and voice information, a failure to configure the DRB makes the user's data service and voice call unable to proceed normally. It can be seen from this that after the terminal fails to activate the security mode, it will enter an abnormal state where user services cannot be normally performed, further affecting the user's service experience.
现有技术中,DRB的配置流程被固定在RRC连接完成、安全模式激活成功的前提下。而根据3GPP 38.331技术规范的规定,终端在安全模式激活失败后需要结束SMC流程。SMC流程结束后,终端依旧维持在RRC_CONNECTED态中,不具备向基站发起RRC连接建立请求的条件;而只有满足一定条件下,如无线链路异常等,终端才能向基站发起RRC连接重建请求。因此,终端无法通过重新建立RRC连接来自主重启安全模式激活,导致DRB配置无法进行、用户业务无法开展。In the prior art, the DRB configuration process is fixed on the premise that the RRC connection is completed and the security mode is successfully activated. According to the 3GPP 38.331 technical specification, the terminal needs to end the SMC process after the security mode activation fails. After the SMC process ends, the terminal remains in the RRC_CONNECTED state, and does not have the conditions to initiate an RRC connection establishment request to the base station; and only when certain conditions are met, such as an abnormal wireless link, can the terminal initiate an RRC connection establishment request to the base station. Therefore, the terminal cannot automatically restart the activation of the security mode by re-establishing the RRC connection, resulting in the failure of DRB configuration and the failure of user services.
现有技术中,终端可以通过接收基站下发的RRC连接释放消息,使其RRC连接状态转为RRC_IDLE态。在终端处于RRC_IDLE态时,其可以通过后续的业务需求,例如数据业务或语音通话,从而再次通过随机接入、主动向网络发送RRC连接建立请求。当终端与网络完 成RRC连接建立后,可以再次接收来自所述网络的SMC消息,从而再次启动AS初始安全激活。当网络发生拥塞、或数据包丢失等不可控情况发生时,RRC连接释放消息无法及时到达终端,会导致业务进行受阻、且不可控。由上述可知,现有技术中,再次启动安全模式激活需要终端被动地等待网络下发RRC连接释放消息,从而进一步建立DRB、恢复用户业务的正常进行。In the prior art, the terminal can change its RRC connection state to the RRC_IDLE state by receiving the RRC connection release message sent by the base station. When the terminal is in the RRC_IDLE state, it can actively send an RRC connection establishment request to the network through random access again through subsequent service requirements, such as data services or voice calls. After the terminal completes the establishment of the RRC connection with the network, it can receive the SMC message from the network again, thereby re-starting the initial security activation of the AS. When uncontrollable situations such as network congestion or data packet loss occur, the RRC connection release message cannot reach the terminal in time, which will cause service interruption and uncontrollability. It can be known from the above that in the prior art, reactivating the security mode requires the terminal to wait passively for the RRC connection release message sent by the network, so as to further establish the DRB and restore the normal operation of user services.
为解决上述问题,本申请实施例的总体思路如下:使终端能够在没有接收到RRC连接释放消息的情况下,也能够向网络发起随机接入流程,及时响应已有的或新的业务需求,从而加速用户业务的正常进行,所述业务包括但不限于终端主动发起的数据通信、语音通话、注册等。In order to solve the above problems, the general idea of the embodiment of the present application is as follows: enable the terminal to initiate a random access process to the network without receiving the RRC connection release message, and respond to existing or new service requirements in a timely manner. Therefore, the normal progress of user services is accelerated, and the services include but are not limited to data communication, voice calls, registration, etc. actively initiated by the terminal.
如图6所示,为本申请实施例提供的一种安全模式激活失败后异常的主动恢复的流程框图。此流程中,终端在第一次AS安全激活失败后、重新接入网络、建立通信链路,以启动第二次AS安全激活。此流程框图包括以下步骤:As shown in FIG. 6 , it is a flow chart of an abnormal active recovery after a security mode activation failure provided by the embodiment of the present application. In this process, after the first AS security activation fails, the terminal re-connects to the network and establishes a communication link to start the second AS security activation. This flowchart includes the following steps:
步骤601、终端接收来自网络的安全模式命令,所述安全模式命令用于提供接入层安全激活的信息。Step 601, the terminal receives a security mode command from the network, and the security mode command is used to provide access layer security activation information.
步骤602、终端向所述网络发送安全模式失败消息,所述安全模式失败消息用于指示安全模式激活失败。Step 602, the terminal sends a security mode failure message to the network, where the security mode failure message is used to indicate that the activation of the security mode fails.
步骤603、终端在没有接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入过程,以建立新的RRC连接。Step 603, when the terminal does not receive the RRC connection release message from the network, it initiates a random access procedure to the network to establish a new RRC connection.
其中,终端在完成与网络RRC连接的建立后,如步骤601所示,其接收安全模式命令,该安全模式命令携带的AS安全参数用于指示进行安全激活;当安全模式激活失败,如步骤602所示,终端向网络发送安全模式失败消息,用于指示此次的安全模式激活失败。在此情况下,网络正常应当下发RRC连接释放消息,用于指示终端释放当前RRC连接资源,转入RRC_IDLE态。但是,由于网络故障等多种原因,终端延迟或未能接收到该RRC连接释放消息。Wherein, after the terminal completes the establishment of the RRC connection with the network, as shown in step 601, it receives a security mode command, and the AS security parameter carried by the security mode command is used to indicate security activation; when the security mode activation fails, as in step 602 As shown in , the terminal sends a security mode failure message to the network, which is used to indicate that the activation of the security mode failed this time. In this case, the network should normally issue an RRC connection release message to instruct the terminal to release the current RRC connection resources and enter the RRC_IDLE state. However, due to various reasons such as network failure, the terminal delays or fails to receive the RRC connection release message.
为了降低终端对网络下发的RRC连接释放消息的依赖度,提高通信的鲁棒性,本申请实施例提供了终端在没有接收到RRC连接释放消息的情况下,也能发起随机接入流程的技术方案,如步骤603所述。其中,终端向网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况可包括以下几种情况:In order to reduce the terminal's dependence on the RRC connection release message issued by the network and improve the robustness of communication, the embodiment of the present application provides that the terminal can initiate a random access procedure even if it does not receive the RRC connection release message. The technical solution is as described in step 603. Wherein, the situation that the terminal does not receive the RRC connection release message from the network after sending the security mode failure message to the network may include the following situations:
1、终端在向所述网络发送安全模式失败消息后,主动向所述网络发起随机接入流程。即,终端在发送了安全模式失败消息后,其无需尝试接收网络下发RRC连接释放消息,即可自主发起随机接入流程,以建立新的RRC连接。这种情况下,由于终端无需等待接收网络下发RRC连接释放消息,因此不依赖网络,该方案可以使其更快地重新建立RRC连接和执行安全激活。1. After sending a security mode failure message to the network, the terminal actively initiates a random access procedure to the network. That is, after the terminal sends the security mode failure message, it can independently initiate a random access procedure to establish a new RRC connection without trying to receive the RRC connection release message delivered by the network. In this case, since the terminal does not need to wait for the receiving network to deliver the RRC connection release message, it does not depend on the network, and this solution can enable it to re-establish the RRC connection and perform security activation more quickly.
2、终端在向所述网络发送安全模式失败消息后,终端等待一段时间,例如第一时长,其在这段时间内尝试接收RRC连接释放消息。如果第一时长内终端接收到预期的RRC连接释放消息,则终端可以按照现有标准协议正常进入RRC空闲态,之后重新建立RRC连接。如果第一时长内终端没有接收到预期的RRC连接释放消息,那么终端就可以自主发起随机接入流程,以建立新的RRC连接。这种情况下,通过引入一段时间(第一时长)的等待和终端自主发起随机接入流程,既可兼容现有标准协议,还可以作为产品实现方案,在现有标准协议无法解决问题时,通过终端自主发起随机接入流程,降低重新恢复网络连接和执行安全激活 的时延。2. After the terminal sends the security mode failure message to the network, the terminal waits for a period of time, such as the first period of time, and tries to receive the RRC connection release message within this period of time. If the terminal receives the expected RRC connection release message within the first period of time, the terminal can normally enter the RRC idle state according to the existing standard protocol, and then re-establish the RRC connection. If the terminal does not receive the expected RRC connection release message within the first period of time, the terminal can independently initiate a random access procedure to establish a new RRC connection. In this case, by introducing a period of time (the first duration) of waiting and the terminal independently initiates a random access process, it can be compatible with existing standard protocols, and can also be used as a product implementation solution. When the existing standard protocol cannot solve the problem, By independently initiating the random access process by the terminal, the delay in re-establishing network connection and performing security activation is reduced.
3、终端在向所述网络发送安全模式失败消息后,终端尝试接收RRC连接释放消息。如果终端随后接收到的下行消息是RRC连接释放消息,则终端可以按照现有标准协议正常进入RRC空闲态,之后重新建立RRC连接。如果终端随后接收到的下行消息(例如第一条RRC消息)不是RRC连接释放消息,随后终端就可以自主发起随机接入流程,以建立新的RRC连接。这种情况下,通过识别RRC连接释放消息之外的其他下行消息作为触发条件,既可兼容现有标准协议,也可以作为另一种产品实现方案,在现有标准协议无法解决问题时,通过终端自主发起随机接入流程,降低重新恢复网络连接和安全激活的时延。3. After the terminal sends the security mode failure message to the network, the terminal tries to receive the RRC connection release message. If the downlink message received subsequently by the terminal is an RRC connection release message, the terminal can normally enter the RRC idle state according to the existing standard protocol, and then re-establish the RRC connection. If the downlink message (for example, the first RRC message) received by the terminal subsequently is not an RRC connection release message, then the terminal can autonomously initiate a random access procedure to establish a new RRC connection. In this case, by identifying other downlink messages other than the RRC connection release message as a trigger condition, it can be compatible with the existing standard protocol, and can also be used as another product implementation solution. When the existing standard protocol cannot solve the problem, through The terminal independently initiates a random access process to reduce the delay in re-establishing network connection and security activation.
应理解,上述3种情况仅仅是列举了本申请实施例的一些可能的情况,并非限制本申请实施例适用的情形。并且,上述举例的3种情况也可以相互结合。例如后2种情况可以考虑结合后,即在第一时长内若接收到RRC连接释放消息之外的其他RRC消息,则终端可以自主发起随机接入流程。It should be understood that the above three situations are only examples of some possible situations of the embodiment of the present application, and do not limit the applicable situations of the embodiment of the present application. In addition, the three situations mentioned above may also be combined with each other. For example, the latter two cases can be considered to be combined, that is, if other RRC messages other than the RRC connection release message are received within the first period of time, the terminal can initiate a random access procedure autonomously.
在图6所示实施例的基础上,以下将结合具体的消息交互流程介绍本申请实施例。如图7所示,为本申请实施例提供的一种安全模式激活失败后异常的主动恢复的流程示意图。其中,虚线框包围的消息交互属于步骤703的随机接入流程。可包括以下步骤:On the basis of the embodiment shown in FIG. 6 , the following will introduce the embodiment of the present application in combination with a specific message interaction process. As shown in FIG. 7 , it is a schematic flowchart of an abnormal active recovery after a security mode activation failure provided by the embodiment of the present application. Wherein, the message interaction surrounded by the dotted line box belongs to the random access process in step 703 . May include the following steps:
步骤701、终端接收来自网络的安全模式命令。Step 701, the terminal receives a security mode command from the network.
步骤702、终端向所述网络发送安全模式失败消息。Step 702, the terminal sends a security mode failure message to the network.
步骤703、在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程。Step 703: Initiate a random access procedure to the network after the security mode failure message is sent to the network and the RRC connection release message from the network is not received.
步骤704、终端接收来自所述网络的RRC连接建立消息。Step 704, the terminal receives an RRC connection establishment message from the network.
步骤705、终端向所述网络发送RRC连接建立完成消息。Step 705, the terminal sends an RRC connection establishment complete message to the network.
步骤706、终端接收来自所述网络的新的安全模式命令。Step 706, the terminal receives a new security mode command from the network.
上述步骤701,702和703可以参照步骤601,602和603,此处不再赘述。For the above steps 701, 702 and 703, reference may be made to steps 601, 602 and 603, which will not be repeated here.
此外,步骤703中,在上述没有接收到RRC连接释放消息的情况下,终端将发起随机接入流程,重新接入网络。随机接入流程的发起如图所述,主要包括四次消息交互:终端发送随机接入前导消息,接收随机接入前导响应消息,发送上行消息(在这里上行消息为RRC连接建立请求),接收竞争解决消息。通过所述随机接入流程,终端可以与网络同步、获得上行资源,在此,终端启动随机接入流程,用以向所述网络发送RRC连接建立请求,从而建立新的RRC连接。In addition, in step 703, if the above-mentioned RRC connection release message is not received, the terminal will initiate a random access procedure to re-connect to the network. The initiation of the random access process is as shown in the figure, which mainly includes four message interactions: the terminal sends a random access preamble message, receives a random access preamble response message, sends an uplink message (here the uplink message is an RRC connection establishment request), receives Contention resolution message. Through the random access procedure, the terminal can synchronize with the network and obtain uplink resources. Here, the terminal starts the random access procedure to send an RRC connection establishment request to the network, thereby establishing a new RRC connection.
上一个实施例中叙述的、多种未接收到RRC连接释放消息的情况下,根据终端发送随机接入前导消息的时机,终端对随机接入流程的启动也可分为两类:As described in the previous embodiment, when the RRC connection release message is not received, according to the timing when the terminal sends the random access preamble message, the start of the random access process by the terminal can also be divided into two categories:
1、终端立即发送随机接入前导消息。终端在前述未接收到RRC连接释放消息的多种情况后,立即启动随机接入流程,即刻向网络发送随机接入前导消息,用以获取上行资源、向网络请求建立RRC连接。这种情况下,终端与网络间RRC连接的恢复速度可以得到最大化,优化用户的业务体验。1. The terminal immediately sends a random access preamble message. After the aforementioned situations where the RRC connection release message is not received, the terminal immediately starts the random access process, and immediately sends a random access preamble message to the network to obtain uplink resources and request the network to establish an RRC connection. In this case, the recovery speed of the RRC connection between the terminal and the network can be maximized, thereby optimizing user service experience.
2、终端非立即地发送随机接入前导消息。其实现的方式之一可参照图8,具体步骤如下:2. The terminal sends a random access preamble message non-immediately. One of its implementation methods can refer to Figure 8, and the specific steps are as follows:
步骤802、终端向网络发送安全模式失败消息。Step 802, the terminal sends a security mode failure message to the network.
步骤803包含以下步骤:Step 803 includes the following steps:
步骤8031、终端进入RRC_IDLE态。 Step 8031, the terminal enters the RRC_IDLE state.
步骤8032、终端根据业务需求,向所述网络发起随机接入流程,所述随机接入流程包括 发送随机接入前导消息,且所述随机接入流程用以建立新的RRC连接。 Step 8032, the terminal initiates a random access procedure to the network according to service requirements, the random access procedure includes sending a random access preamble message, and the random access procedure is used to establish a new RRC connection.
其中,步骤8031中,终端在前述未接收到RRC连接释放消息的多种情况后,主动释放当前RRC连接,先进入RRC_IDLE态。如果终端在RRC_IDLE态下收到RRC连接释放消息,该消息由于在空闲态下无法被递送至RRC层,终端丢弃该消息,不执行其相应的操作。在终端处于RRC_IDLE态后,可以响应新的业务需求。当有业务需求产生,如语音通话或数据业务等,终端受业务需求激发而启动随机接入流程,以建立新的RRC连接。若在此过程中,即终端发起随机接入流程中、新的RRC连接建成前,其收到RRC连接释放消息,丢弃该消息,不执行相应的操作。Wherein, in step 8031, the terminal actively releases the current RRC connection and first enters the RRC_IDLE state after the above-mentioned multiple situations of not receiving the RRC connection release message. If the terminal receives the RRC connection release message in the RRC_IDLE state, the message cannot be delivered to the RRC layer in the idle state, the terminal discards the message and does not perform its corresponding operation. After the terminal is in the RRC_IDLE state, it can respond to new service requirements. When there is a service requirement, such as a voice call or data service, the terminal starts a random access process to establish a new RRC connection. If during this process, that is, during the random access process initiated by the terminal and before a new RRC connection is established, it receives an RRC connection release message, discards the message, and does not perform the corresponding operation.
这种情况下,终端通过先进入RRC空闲态、非立即地发送随机接入前导消息,可以放缓在没有业务需求情况下的重新接入网络速度,且可以有效降低场景下的功耗,并对产生的业务需求及时响应、降低恢复网络连接的时延。In this case, by first entering the RRC idle state and sending the random access preamble message non-immediately, the terminal can slow down the speed of re-connecting to the network when there is no business demand, and can effectively reduce the power consumption in the scene, and Respond in a timely manner to the generated business needs and reduce the delay in restoring network connections.
在终端建立起上行同步后,网络接收到其发来的RRC连接建立请求,重新配置RRC连接的相关参数、并通过RRC连接建立消息下发到终端,如步骤704所示。After the terminal establishes uplink synchronization, the network receives the RRC connection establishment request from it, reconfigures the relevant parameters of the RRC connection, and sends it to the terminal through the RRC connection establishment message, as shown in step 704 .
步骤705中,终端接收所述RRC连接建立消息后,应用其携带的配置,并向所述网络发送RRC连接建立完成消息,用以指示此次RRC连接的建立成功。至此,终端与网络的之间的新的RRC连接,以及承载信令通信的SRB1都建立完成。In step 705, after receiving the RRC connection establishment message, the terminal applies the configuration carried in it, and sends an RRC connection establishment complete message to the network to indicate that the RRC connection establishment is successful. So far, the new RRC connection between the terminal and the network, and the SRB1 carrying the signaling communication are all established.
根据协议,网络再次下发SMC消息,如步骤706,用以指示终端进行新一次的安全模式激活,以激活AS安全性,建立SRB2和DRB的通信承载。According to the protocol, the network sends the SMC message again, as in step 706, to instruct the terminal to perform a new security mode activation to activate AS security and establish communication bearers between SRB2 and DRB.
至此,终端在前一次安全激活失败、未接收到RRC连接释放消息的情况下,主动发送随机接入前导、与网络再次建立RRC连接,推动新一次的安全激活的进行,加速业务的正常进行。So far, when the previous security activation failed and the RRC connection release message was not received, the terminal proactively sends a random access preamble and establishes an RRC connection with the network again to promote a new security activation and accelerate the normal operation of services.
考虑到步骤701、704、705和706对于后续实施例而言有重复性,因此其不在其他实施例中再做赘述。Considering that steps 701, 704, 705 and 706 are repetitive for subsequent embodiments, they will not be repeated in other embodiments.
此外,应理解,上述2种情况仅仅是列举了本申请实施例的一些可能的情况,并非限制本申请实施例适用的情形。并且,上述举例的2种情况可以与前述“终端向网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况”相互结合,进行实现方式的拓展。In addition, it should be understood that the above two situations are only examples of some possible situations of the embodiments of the present application, and do not limit the applicable situations of the embodiments of the present application. In addition, the above two cases can be combined with the aforementioned "the case that the terminal does not receive the RRC connection release message from the network after sending the security mode failure message to the network" to expand the implementation.
如图9所示,为本申请实施例提供的一种安全模式激活失败后异常的主动恢复的流程示意图。此流程示意图对应于终端在发送安全模式失败消息后,第一时长内未收到网络下发RRC连接释放消息的情况,第一时长的具体实现可以通过计时模块,例如设定定时器,达成,因此流程包括以下步骤:As shown in FIG. 9 , it is a schematic flowchart of an abnormal active recovery after a security mode activation failure provided by the embodiment of the present application. This flow diagram corresponds to the situation that the terminal does not receive the RRC connection release message from the network within the first period of time after sending the security mode failure message. The specific realization of the first period of time can be achieved through the timing module, such as setting a timer. The process therefore consists of the following steps:
步骤902、终端向网络发送安全模式失败消息。Step 902, the terminal sends a security mode failure message to the network.
步骤903包含以下步骤:Step 903 includes the following steps:
步骤9031、终端启动定时器,所述定时器的时长为所述第一时长。 Step 9031, the terminal starts a timer, and the duration of the timer is the first duration.
步骤9032、终端在定时器结束的情况下,向所述网络发起随机接入,所述随机接入用于请求上行资源、从而发送RRC连接建立请求。 Step 9032, when the timer expires, the terminal initiates random access to the network, and the random access is used to request uplink resources, thereby sending an RRC connection establishment request.
其中,终端在完成安全模式失败消息的发送后,如步骤9031所示其启动定时器,所述定时器的时长为所述第一时长。所述定时器可以是正向计时,也可以是倒数计时。终端检测在第一时长内,是否接收到来自网络的RRC连接释放消息。Wherein, after the terminal finishes sending the security mode failure message, it starts a timer as shown in step 9031, and the duration of the timer is the first duration. The timer can be counted forward or counted down. The terminal detects whether an RRC connection release message from the network is received within the first duration.
若接收到,则依照现有技术中对RRC连接释放消息的后续流程来执行。If received, it will be executed according to the subsequent procedure of the RRC connection release message in the prior art.
若终端没接收到,则停止其继续对RRC连接释放消息的等待。终端终止定时器,向所述网络发起随机接入。If the terminal does not receive it, it stops waiting for the RRC connection release message. The terminal terminates the timer, and initiates random access to the network.
所述第一时长的取值可以被设定为固定数值,取值也可以被调整,调整方式包括动态调整或从多个可配置的取值中选一个,调整的最小单位可以是国际单位制,如1ms等,或通信协议中的TTI(transmission time interval,发送时间间隔),用于形容在数个TTI内未收到RRC连接释放消息。例如,第一时长的取值范围可以控制在100ms到3000ms之间,如果注重移动端的功耗问题,可以将第一时长的取值减小,如可以取100ms;当面对极端恶劣的网络情况、即接收RRC连接释放消息缓慢,应考虑减少与网络的信令交互,可以将第一时长的取值增大,如取3000ms。此外,其取值的调整依据还可以包括:依据终端感知到的RRC连接建立失败次数,业务需求统计或大数据统计。The value of the first duration can be set as a fixed value, and the value can also be adjusted. The adjustment method includes dynamic adjustment or selecting one of multiple configurable values. The minimum unit of adjustment can be the International System of Units, For example, 1ms, etc., or TTI (transmission time interval, sending time interval) in the communication protocol, is used to describe that the RRC connection release message has not been received within several TTIs. For example, the value range of the first duration can be controlled between 100ms and 3000ms. If you pay attention to the power consumption of the mobile terminal, you can reduce the value of the first duration, such as 100ms; when faced with extremely bad network conditions 1. That is, the receiving of the RRC connection release message is slow, and the signaling interaction with the network should be considered to be reduced, and the value of the first duration can be increased, for example, 3000ms. In addition, the basis for adjusting its value may also include: according to the number of RRC connection establishment failures perceived by the terminal, service demand statistics or big data statistics.
若终端在第一时长后再接收RRC连接释放消息,且当前未建立起新的RRC连接,丢弃所述RRC连接释放消息,继续执行随机接入流程,所述随机接入流程用以建立所述新的RRC连接。If the terminal receives the RRC connection release message after the first duration, and no new RRC connection is currently established, the RRC connection release message is discarded, and the random access procedure is continued, and the random access procedure is used to establish the New RRC connection.
根据上述方案,终端在安全激活失败的情况下,可以通过依据未接收到RRC连接释放消息的时长、也即自身的定时器来实现从失败中的恢复,启动随机接入流程,推进新一次的RRC连接建立与安全模式激活,使其业务能正常进行。According to the above solution, when the security activation fails, the terminal can recover from the failure according to the duration of not receiving the RRC connection release message, that is, its own timer, start the random access process, and promote a new The RRC connection is established and the security mode is activated, so that the business can be carried out normally.
如图10所示,为本申请实施例提供的另一种安全模式激活失败后异常的主动恢复的流程示意图。此流程示意图对应于终端在发送完安全模式失败消息后,收到的下行消息不是RRC连接释放消息的情况。终端可能在未收到RRC连接释放消息的情况下,接收到网络下发的其他消息。其中,由于终端配置AS安全性失败,因此终端无法解码除SRB0以外的SRB承载的信令消息以及DRB承载的数据消息。以RRC消息为例,其中,终端接收的RRC消息主要包括由SRB承载的信令消息(如RRC连接重配置消息)、透明模式下不进行保护的信令消息(如系统消息块),则前述流程包括以下步骤:As shown in FIG. 10 , it is a schematic flowchart of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application. This flowchart corresponds to the situation that the terminal receives a downlink message other than an RRC connection release message after sending the security mode failure message. The terminal may receive other messages from the network without receiving the RRC connection release message. Wherein, because the terminal fails to configure AS security, the terminal cannot decode signaling messages carried by SRBs other than SRB0 and data messages carried by DRBs. Taking the RRC message as an example, the RRC message received by the terminal mainly includes signaling messages carried by the SRB (such as RRC connection reconfiguration messages), and signaling messages that are not protected in transparent mode (such as system information blocks). The process includes the following steps:
步骤1002、终端向网络发送安全模式失败消息。Step 1002, the terminal sends a security mode failure message to the network.
步骤1003包含以下步骤: Step 1003 includes the following steps:
步骤10031、在向所述网络发送安全模式失败消息后,接收来自所述网络的RRC连接释放消息之外的其他RRC消息。Step 10031: After sending the security mode failure message to the network, receive other RRC messages from the network except the RRC connection release message.
步骤10032、向所述网络发起随机接入流程,所述随机接入流程用于请求RRC连接的重新建立。Step 10032: Initiate a random access procedure to the network, and the random access procedure is used to request re-establishment of the RRC connection.
其中,步骤10031中,当网络接收到安全模式失败消息后,其应下发RRC连接释放消息。前述“收到的下行消息不是RRC连接释放消息”的情况指,终端收到的RRC消息不被认为是RRC连接释放消息,具体可被视作包括两种情况:Wherein, in step 10031, after the network receives the safety mode failure message, it should issue an RRC connection release message. The aforementioned situation of "the received downlink message is not an RRC connection release message" means that the RRC message received by the terminal is not considered as an RRC connection release message, which can be regarded as including two situations:
1、收到的RRC消息为RRC连接释放消息,但可能出现因为网络传输、内部处理等原因,导致上述消息发生解码失败的情况。即,终端无法辨认其为RRC连接释放消息。1. The received RRC message is an RRC connection release message, but it may happen that the above message fails to be decoded due to reasons such as network transmission and internal processing. That is, the terminal cannot recognize it as an RRC connection release message.
2、收到的RRC消息为非RRC连接释放消息的其他RRC消息。网络下发的RRC消息为由SRB承载的、非业务内容相关的消息,包括例如RRC连接重配置消息、NAS直传消息等。2. The received RRC message is other RRC messages other than the RRC connection release message. The RRC messages delivered by the network are messages carried by the SRB and not related to service content, including, for example, RRC connection reconfiguration messages, NAS direct transfer messages, and the like.
从上述两种情况中可知,对终端而言,当其在发送安全模式失败消息后,接收到任何来自网络的、非RRC连接释放消息的其他RRC消息,都可标记其为解码出错的RRC连接释放消息,删除原有RRC连接配置。在此过程中,终端不执行收到的RRC消息指示的任何操作。之后再向网络发起随机接入流程、申请建立新的RRC连接,从而在RRC连接建立后执行新 一次的安全激活。安全模式激活成功后可以建立DRB、恢复用户业务的正常进行。From the above two situations, it can be seen that for the terminal, after sending the safety mode failure message, it can mark it as an RRC connection with decoding error if it receives any other RRC message from the network that is not an RRC connection release message. Release the message and delete the original RRC connection configuration. During this process, the terminal does not perform any operation indicated by the received RRC message. Then initiate a random access process to the network and apply for the establishment of a new RRC connection, so as to perform a new security activation after the RRC connection is established. After the security mode is successfully activated, a DRB can be established to restore the normal operation of user services.
在上述实施例中,终端在安全激活失败的情况下,将所有来自网络的、非RRC连接释放消息的RRC消息视为解码出错的RRC连接释放消息进行后续处理,而非限于RRC连接释放消息来删除RRC连接配置,从而降低对网络的依赖,加速RRC连接的建立与业务的正常恢复。In the above embodiment, when the security activation fails, the terminal regards all RRC messages from the network that are not RRC connection release messages as RRC connection release messages with decoding errors for subsequent processing, not limited to RRC connection release messages. Delete the RRC connection configuration, thereby reducing the dependence on the network, and speeding up the establishment of the RRC connection and the normal recovery of services.
如图11所示,为本申请实施例提供的另一种安全模式激活失败后异常的主动恢复的流程示意图。此流程示意图是再终端在发送安全模式失败消息后,无需尝试接收网络下发RRC连接释放消息的情况下,主要包括以下步骤:As shown in FIG. 11 , it is a schematic flowchart of an abnormal active recovery after another security mode activation failure provided by the embodiment of the present application. This flow diagram is for the case where the terminal does not need to try to receive the RRC connection release message sent by the network after sending the security mode failure message. It mainly includes the following steps:
步骤1102、终端向网络发送安全模式失败消息。Step 1102, the terminal sends a security mode failure message to the network.
步骤1103、终端向网络发送安全模式失败消息后,直接向所述网络发起随机接入流程,所述随机接入流程用于请求RRC连接的重新建立。Step 1103: After sending the security mode failure message to the network, the terminal directly initiates a random access procedure to the network, and the random access procedure is used to request re-establishment of the RRC connection.
终端向网络发送安全模式失败消息后,其可以不等待网络的回应,即无需尝试接收来自所述网络的RRC连接释放消息,直接向所述网络发起随机接入流程。值得注意的是,这里的无需尝试接收并非指物理上的关闭终端接收下行消息的能力,或无视终端接收到的一切消息,而是使后续“向所述网络发起随机接入流程”的执行依赖于前述“向网络发送安全模式失败消息”的完成,非RRC连接释放消息的接收。即,终端依赖自身,而非网络的释放。其中,终端直接向所述网络发起随机接入流程可以分为以下两种情况:After sending the security mode failure message to the network, the terminal may directly initiate a random access procedure to the network without waiting for a response from the network, that is, without trying to receive an RRC connection release message from the network. It is worth noting that the need not to try to receive here does not refer to physically closing the ability of the terminal to receive downlink messages, or ignoring all the messages received by the terminal, but to make the subsequent execution of "initiating a random access procedure to the network" rely on The completion of the aforementioned "sending the security mode failure message to the network" is not the reception of the RRC connection release message. That is, the terminal relies on itself, not the release of the network. Wherein, the terminal directly initiates the random access procedure to the network can be divided into the following two situations:
1、终端在向网络发送安全模式失败消息后,立即向所述网络发起随机接入流程。由于步骤1102中发送的安全模式失败消息指示了终端与网络的前一次通信连接建立失败,这也代表前一次需求建立RRC连接的业务未得到满足。为满足前一次的业务需求,终端可以在发送安全模式失败消息后,立即启动随机接入流程,以缩短业务不正常的时间。常见的应用场景如:通话或数据业务过程中,当终端发生安全模式激活失败,其在发送完安全模式失败消息后,立即直接向网络发送随机接入前导消息并删除原有RRC连接配置,使与网络的RRC连接以及业务的恢复速度最大化,优化用户体验。1. After sending the security mode failure message to the network, the terminal immediately initiates a random access procedure to the network. Since the security mode failure message sent in step 1102 indicates that the previous communication connection between the terminal and the network failed to be established, this also means that the previous service that requires the establishment of an RRC connection has not been satisfied. In order to meet the previous service requirement, the terminal can start the random access process immediately after sending the security mode failure message, so as to shorten the time of abnormal service. Common application scenarios such as: during a call or data service, when the terminal fails to activate the security mode, after sending the security mode failure message, it immediately sends a random access preamble message directly to the network and deletes the original RRC connection configuration, so that The RRC connection with the network and the recovery speed of services are maximized to optimize user experience.
2、终端在向网络发送安全模式失败消息后,非立即地向网络发起随机接入流程。终端忽视前一次的业务需求,如终端在切换过程中发生安全模式激活失败,且其没有进行中的语音或数据业务,终端可以在发送安全模式失败消息后,先释放RRC连接,将自身的RRC连接态改为RRC空闲态,待之后有业务需求时,如主叫或数据交互,再向网络申请接入,恢复RRC连接。这种情况下,终端通过主动进入RRC_IDLE态、响应业务需求而进行随机接入流程,在不依赖网络的RRC释放消息的前提下,依据业务需求的情况进行网络接入,加速业务的正常进行。此外,通过及时主动进入RRC_IDLE态,终端还可以有效降低场景下的功耗。2. After sending the security mode failure message to the network, the terminal does not immediately initiate a random access process to the network. The terminal ignores the previous service requirements. If the terminal fails to activate the security mode during the handover process, and it has no ongoing voice or data services, the terminal can release the RRC connection first after sending the security mode failure message, and switch its own RRC The connected state is changed to the RRC idle state, and when there is a business demand later, such as calling or data exchange, apply for access to the network and restore the RRC connection. In this case, the terminal performs a random access process by actively entering the RRC_IDLE state and responding to service requirements. On the premise of not relying on the RRC release message of the network, the terminal performs network access according to the service requirements to speed up the normal operation of services. In addition, by actively entering the RRC_IDLE state in time, the terminal can also effectively reduce power consumption in scenarios.
由于网络在接收安全模式失败消息后,会下发RRC连接释放消息,且不等待终端进行回复确认,直接在网络删除已有的RRC连接配置,即不安排RRC连接释放消息的重传。因此网络在收到安全模式失败消息后、收到随机接入前导消息符合正常顺序,会执行相应的随机接入流程,从而与终端建立RRC连接。After receiving the security mode failure message, the network will send the RRC connection release message without waiting for the terminal to reply and confirm, and directly delete the existing RRC connection configuration on the network, that is, the retransmission of the RRC connection release message will not be arranged. Therefore, after receiving the security mode failure message, the network will execute the corresponding random access procedure after receiving the random access preamble message in a normal sequence, so as to establish an RRC connection with the terminal.
若终端在建立起新的RRC连接之前收到RRC连接释放消息,由于已删除RRC连接配置,因此无法将所述RRC连接释放消息递送到RRC层,因此丢弃该消息,继续执行随机接入流程,所述随机接入流程用以建立所述新的RRC连接。If the terminal receives the RRC connection release message before establishing a new RRC connection, since the RRC connection configuration has been deleted, the RRC connection release message cannot be delivered to the RRC layer, so the message is discarded and the random access process is continued. The random access procedure is used to establish the new RRC connection.
由上可知,终端通过在发送安全模式失败消息后直接向所述网络发起随机接入流程,不尝试接收网络下发的消息,将启动随机接入的操作依赖于发送安全模式失败消息的操作或业 务需求的触发之上,降低对网络的依赖度,从而实现从安全激活失败的情况下的主动恢复,加速RRC连接重建,减少业务非正常进行的时间。It can be seen from the above that the terminal directly initiates the random access process to the network after sending the security mode failure message, and does not try to receive the message sent by the network, and the operation of starting random access depends on the operation of sending the security mode failure message or Based on the triggering of business needs, the dependence on the network is reduced, so as to realize the active recovery from the failure of security activation, accelerate the RRC connection reconstruction, and reduce the time for abnormal business.
下面介绍本申请实施例提供的一种无线通信装置。A wireless communication device provided by an embodiment of the present application is introduced below.
参考图12,为本申请实施例提供的一种无线通信装置的示意性框图,该通信装置1200包括处理单元1210和收发单元1220,两者通过线路相连。该无线通信装置用于实现上述各实施例中对应终端的各个步骤:Referring to FIG. 12 , it is a schematic block diagram of a wireless communication device provided by an embodiment of the present application. The communication device 1200 includes a processing unit 1210 and a transceiver unit 1220 , both of which are connected by wires. The wireless communication device is used to implement each step corresponding to the terminal in each of the above embodiments:
处理单元1210用于控制收发单元1220进行与网络的通信;用于在感知到业务需求时,控制收发单元启动随机接入流程,从而与网络建立RRC连接。The processing unit 1210 is configured to control the transceiver unit 1220 to communicate with the network; and is configured to control the transceiver unit to start a random access procedure when sensing service requirements, so as to establish an RRC connection with the network.
收发单元1220,用于接收来自网络的安全模式命令,安全模式命令用于提供接入层安全激活的信息;发送安全模式失败消息;启动随机接入流程。The transceiver unit 1220 is configured to receive a security mode command from the network, the security mode command is used to provide access layer security activation information; send a security mode failure message; start a random access process.
在一种可能的实现方法中,收发单元1220还用于在发送所述安全模式失败消息后第一时长内没有接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程。In a possible implementation method, the transceiver unit 1220 is further configured to send a random message to the network if no RRC connection release message is received from the network within the first period of time after sending the security mode failure message. Access process.
在一种可能的实现方法中,处理单元1210还包括定时器,并用于在发送所述安全模式失败消息后启动所述定时器,所述定时器的时长为所述第一时长。In a possible implementation method, the processing unit 1210 further includes a timer, and is configured to start the timer after sending the security mode failure message, and the duration of the timer is the first duration.
在一种可能的实现方法中,收发单元1220还用于在发送所述安全模式失败消息后,接收到来自所述网络的RRC连接释放消息之外的其他RRC消息的情况下,向所述网络发起随机接入流程。In a possible implementation method, the transceiver unit 1220 is further configured to, after sending the security mode failure message, receive an RRC message from the network other than the RRC connection release message from the network, send the message to the network Initiate a random access procedure.
在一种可能的实现方法中,该其他RRC消息包括RRC连接重配消息。In a possible implementation method, the other RRC messages include RRC connection reconfiguration messages.
在一种可能的实现方法中,收发单元1220还用于在发送所述安全模式失败消息后,主动向所述网络发起随机接入流程。In a possible implementation method, the transceiver unit 1220 is further configured to actively initiate a random access procedure to the network after sending the security mode failure message.
在一种可能的实现方法中,处理单元1210还用于主动释放占用的RRC资源,控制通信装置1200进入RRC空闲态;收发单元1220还用于在发送安全模式失败消息后且未接收到RRC连接释放消息的情况下,通信装置1200进入RRC空闲态后,在有业务需求的情况下发送随机接入前导消息。In a possible implementation method, the processing unit 1210 is also used to actively release the occupied RRC resources, and control the communication device 1200 to enter the RRC idle state; In the case of releasing the message, after the communication device 1200 enters the RRC idle state, it sends a random access preamble message when there is a service demand.
在以上各实现方式中,收发单元1220也可以分为一个接收单元和一个发送单元,各自具备接收和发送的功能,这里不作限定。In the above implementation manners, the transceiver unit 1220 may also be divided into a receiving unit and a sending unit, each of which has the function of receiving and sending, which is not limited here.
可选地,上述通信装置还可以包括存储单元,该存储单元用于存储数据或者指令(也可以称为代码或者程序),上述各个单元可以和存储单元交互或者耦合,以实现对应的方法或者功能。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。Optionally, the above-mentioned communication device may also include a storage unit, which is used to store data or instructions (also referred to as codes or programs), and each of the above-mentioned units may interact or be coupled with the storage unit to implement corresponding methods or functions . The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
本申请实施例中,通信装置中单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且通信装置中的单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元以硬件的形式实现。例如,各个单元可以为单独设立的处理元件,也可以集成在通信装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由通信装置的某一个处理元件调用并执行该单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件又可以称为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。In the embodiment of the present application, the division of units in the communication device is only a division of logical functions, which may be fully or partially integrated into one physical entity or physically separated during actual implementation. In addition, the units in the communication device can be implemented in the form of software calling through the processing elements; they can also be implemented in the form of hardware; some units can also be implemented in the form of software calling through the processing elements, and some units can be implemented in the form of hardware. For example, each unit can be an independently established processing element, or can be integrated into a certain chip of the communication device. In addition, it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the communication device. function of the unit. In addition, all or part of these units can be integrated together, or implemented independently. The processing element described here may also be referred to as a processor, and may be an integrated circuit with a signal processing capability. In the process of implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software called by the processing element.
在一个例子中,以上任一通信装置中的单元可以是被配置成实施以上方法的一个或多个 集成电路,例如:一个或多个特定集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA),或这些集成电路形式中至少两种的组合。再如,当通信装置中的单元可以通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。In one example, the units in any of the above communication devices may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (application specific integrated circuit, ASIC), or, one or multiple microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (field programmable gate array, FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the units in the communication device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (central processing unit, CPU) or other processors that can call programs. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
参考图13,为本申请实施例提供的一种无线通信装置的结构示意图,该无线通信装置可以为无线通信装置或网络设备,也可以为芯片或电路,比如可设置于无线通信装置的芯片或电路,再比如可设置于网络设备内的芯片或电路,用于实现以上方法实施例中的方法。如图13所示,该通信装置1300包括:处理器1310和收发器1330,可选地,该通信装置1300还包括存储器1320,在图中以虚线框表示此存储器1320非必备。收发器1330用于实现与其他设备进行通信。其中,处理器1310、存储器1320和收发器1330通过总线实现连接与数据通信。Referring to FIG. 13 , it is a schematic structural diagram of a wireless communication device provided in an embodiment of the present application. The wireless communication device may be a wireless communication device or a network device, or may be a chip or a circuit, such as a chip or a A circuit, such as a chip or a circuit that may be set in a network device, is used to implement the methods in the above method embodiments. As shown in FIG. 13 , the communication device 1300 includes: a processor 1310 and a transceiver 1330 . Optionally, the communication device 1300 also includes a memory 1320 , which is indicated by a dotted line box in the figure and is optional. The transceiver 1330 is used to communicate with other devices. Wherein, the processor 1310, the memory 1320, and the transceiver 1330 implement connection and data communication through a bus.
应理解,上述处理器1310可以是一个芯片。例如,该处理器1310可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。It should be understood that the above processor 1310 may be a chip. For example, the processor 1310 may be a field programmable gate array (field programmable gate array, FPGA), may be an application specific integrated circuit (ASIC), may also be a system chip (system on chip, SoC), or It can be a central processing unit (central processor unit, CPU), or a network processor (network processor, NP), or a digital signal processing circuit (digital signal processor, DSP), or a microcontroller (micro controller) unit, MCU), it can also be a programmable controller (programmable logic device, PLD) or other integrated chips.
实现过程中,上述方法的各步骤可以通过处理器1310中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器1310中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1320,处理器1310读取存储器1320中的信息,结合其硬件完成上述方法的步骤。In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1310 or instructions in the form of software. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor 1310 . The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1320, and the processor 1310 reads the information in the memory 1320, and completes the steps of the above method in combination with its hardware.
具体的,图12中的处理单元1210的功能及其实现过程可以通过图13所示的通信装置1300中的处理器1310调用存储器1320中存储的计算机可执行指令来实现。或者,图12中的收发单元1220的功能/实现过程可以通过图13中所示的通信装置1300中的收发器1330来实现。Specifically, the function of the processing unit 1210 in FIG. 12 and its implementation process may be implemented by the processor 1310 in the communication device 1300 shown in FIG. 13 calling computer-executable instructions stored in the memory 1320 . Alternatively, the function/implementation process of the transceiver unit 1220 in FIG. 12 may be implemented by the transceiver 1330 in the communication device 1300 shown in FIG. 13 .
应注意,本申请实施例中的处理器1310可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be noted that the processor 1310 in the embodiment of the present application may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above-mentioned method embodiments may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components . Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
在本申请实施例中,存储器1320可以是易失性存储器或非易失性存储器,或可包括易失 性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。In the embodiment of the present application, the memory 1320 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
该通信装置1300对应上述方法中的无线通信装置的情况下,该通信装置可以包括处理器1310、收发器1330和存储器1320。该存储器1320用于存储指令,该处理器1310用于执行该存储器1320存储的指令,可以实现如上图6至图10中所示的任一项或任多项对应的方法中无线通信装置所执行的步骤。In the case where the communication device 1300 corresponds to the wireless communication device in the above method, the communication device may include a processor 1310 , a transceiver 1330 and a memory 1320 . The memory 1320 is used to store instructions, and the processor 1310 is used to execute the instructions stored in the memory 1320, which can be implemented by the wireless communication device in any one or more of the corresponding methods shown in FIGS. 6 to 10 above. A step of.
本领域普通技术人员可以理解:本申请实施例中涉及的第一、第二等各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围,也表示先后顺序。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。“至少一个”是指一个或者多个。至少两个是指两个或者多个。“至少一个”、“任意一个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个、种),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。“多个”是指两个或两个以上,其它量词与之类似。Those of ordinary skill in the art can understand that the first, second, and other numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application, and also indicate the sequence. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one" means one or more. At least two means two or more. "At least one", "any one" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural item(s). For example, at least one item (one, species) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or Multiple. "Multiple" means two or more than two, and other quantifiers are similar.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.
本申请实施例提供的技术方案可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、终端设备、网络设备、人工智能设备或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The technical solutions provided by the embodiments of the present application may be fully or partially implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a terminal device, a network device, an artificial intelligence device or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device including a server, a data center, and the like integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
在本申请实施例中,各实施例之间可以相互引用,例如方法实施例之间的方法和/或术语可以相互引用,例如装置实施例之间的功能和/或术语可以相互引用,例如装置实施例和方法实施例之间的功能和/或术语可以相互引用。In the embodiments of the present application, the various embodiments may refer to each other, for example, the methods and/or terms between the method embodiments may refer to each other, for example, the functions and/or terms between the device embodiments may refer to each other, such as the device Functions and/or terms between the embodiments and the method embodiments may refer to each other.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉 本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (20)
- 一种无线通信方法,其特征在于,包括:A wireless communication method, characterized in that, comprising:接收来自网络的安全模式命令,所述安全模式命令用于提供接入层安全激活的信息;receiving a security mode command from the network, where the security mode command is used to provide access layer security activation information;向所述网络发送安全模式失败消息,所述安全模式失败消息用于指示安全激活失败;以及sending a security mode failure message to the network, the security mode failure message being used to indicate security activation failure; and在向所述网络发送安全模式失败消息后且未接收到来自所述网络的无线资源控制RRC连接释放消息的情况下,向所述网络发起随机接入流程,以建立新的RRC连接。Initiating a random access procedure to the network to establish a new RRC connection after sending a security mode failure message to the network and not receiving a radio resource control RRC connection release message from the network.
- 根据权利要求1所述的方法,其特征在于:The method according to claim 1, characterized in that:在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:Initiating a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:在向所述网络发送安全模式失败消息后的第一时长内,没有接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程。Initiate a random access procedure to the network if no RRC connection release message is received from the network within the first period of time after the security mode failure message is sent to the network.
- 根据权利要求2所述的方法,其特征在于,还包括:The method according to claim 2, further comprising:在发送所述安全模式失败消息后启动定时器,所述定时器的时长为所述第一时长。A timer is started after the security mode failure message is sent, and the duration of the timer is the first duration.
- 根据权利要求3所述的方法,其特征在于:The method according to claim 3, characterized in that:所述第一时长的取值为多个可配置的取值中的一个。The value of the first duration is one of multiple configurable values.
- 根据权利要求1所述的方法,其特征在于:The method according to claim 1, characterized in that:在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:Initiating a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:在向所述网络发送安全模式失败消息后,接收到来自所述网络的RRC连接释放消息之外的其他RRC消息的情况下,向所述网络发起随机接入流程。After sending the security mode failure message to the network, in the case of receiving other RRC messages from the network than the RRC connection release message, initiate a random access procedure to the network.
- 根据权利要求5所述的方法,其特征在于:The method according to claim 5, characterized in that:所述其他RRC消息包括RRC连接重配置消息。The other RRC messages include RRC connection reconfiguration messages.
- 根据权利要求1所述的方法,其特征在于:The method according to claim 1, characterized in that:在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:Initiating a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:在向所述网络发送安全模式失败消息后,主动向所述网络发起随机接入流程。After sending the security mode failure message to the network, actively initiate a random access procedure to the network.
- 根据权利要求1至7中任一所述的方法,其特征在于:The method according to any one of claims 1 to 7, characterized in that:在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:Initiating a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,先进入RRC空闲态,并根据业务需求向所述网络发送随机接入前导。After sending the security mode failure message to the network and not receiving the RRC connection release message from the network, first enter the RRC idle state, and send a random access preamble to the network according to service requirements.
- 一种无线通信装置,其特征在于,包括:A wireless communication device, characterized in that it includes:处理单元和收发单元;processing unit and transceiver unit;其中,所述处理单元用于控制所述收发单元,所述收发单元用于:Wherein, the processing unit is used to control the transceiver unit, and the transceiver unit is used to:接收来自网络的安全模式命令,所述安全模式命令用于提供接入层安全激活的信息;receiving a security mode command from the network, where the security mode command is used to provide access layer security activation information;向所述网络发送安全模式失败消息,所述安全模式失败消息用于指示安全激活失败;以及sending a security mode failure message to the network, the security mode failure message being used to indicate security activation failure; and在向所述网络发送安全模式失败消息后且未接收到来自所述网络的无线资源控制RRC连接释放消息的情况下,向所述网络发起随机接入流程,以建立新的RRC连接。Initiating a random access procedure to the network to establish a new RRC connection after sending a security mode failure message to the network and not receiving a radio resource control RRC connection release message from the network.
- 根据权利要求9所述的装置,其特征在于:The device according to claim 9, characterized in that:所述收发单元用于在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:The transceiver unit is configured to initiate a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:所述收发单元用于在向所述网络发送安全模式失败消息后的第一时长内,没有接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程。The transceiver unit is configured to initiate a random access procedure to the network if no RRC connection release message is received from the network within a first period of time after the security mode failure message is sent to the network.
- 根据权利要求10所述的装置,其特征在于:The device according to claim 10, characterized in that:所述处理单元还用于在所述收发单元发送所述安全模式失败消息后启动定时器,所述定时器的时长为所述第一时长。The processing unit is further configured to start a timer after the sending and receiving unit sends the security mode failure message, and the duration of the timer is the first duration.
- 根据权利要求11所述的装置,其特征在于:The device according to claim 11, characterized in that:所述处理单元还用于设置所述第一时长的取值,所述第一时长的取值为多个可设置的取值中的一个。The processing unit is further configured to set a value of the first duration, and the value of the first duration is one of a plurality of settable values.
- 根据权利要求9所述的装置,其特征在于:The device according to claim 9, characterized in that:所述收发单元用于在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:The transceiver unit is configured to initiate a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:所述收发单元用于在向所述网络发送安全模式失败消息后,接收到来自所述网络的RRC连接释放消息之外的其他RRC消息的情况下,向所述网络发起随机接入流程。The transceiver unit is configured to initiate a random access procedure to the network when receiving other RRC messages from the network than the RRC connection release message after sending the security mode failure message to the network.
- 根据权利要求13所述的装置,其特征在于:The device according to claim 13, characterized in that:所述其他RRC消息包括RRC连接重配置消息。The other RRC messages include RRC connection reconfiguration messages.
- 根据权利要求9所述的装置,其特征在于:The device according to claim 9, characterized in that:所述收发单元用于在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:The transceiver unit is configured to initiate a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:所述收发单元用于在向所述网络发送安全模式失败消息后,主动向所述网络发起随机接入流程。The transceiver unit is configured to actively initiate a random access procedure to the network after sending a security mode failure message to the network.
- 根据权利要求9至15中任一所述的装置,其特征在于:The device according to any one of claims 9 to 15, characterized in that:所述收发单元用于在向所述网络发送安全模式失败消息后且未接收到来自所述网络的RRC连接释放消息的情况下,向所述网络发起随机接入流程,包括:The transceiver unit is configured to initiate a random access procedure to the network after sending a security mode failure message to the network and not receiving an RRC connection release message from the network, including:所述收发单元用于在向所述网络发送安全模式失败消息后且未接收到来自所述网络的 RRC连接释放消息的情况下,先进入RRC空闲态,并根据业务需求向所述网络发送随机接入前导。The transceiver unit is configured to first enter the RRC idle state after sending a safety mode failure message to the network and not receive an RRC connection release message from the network, and send a random message to the network according to business requirements. Access the lead.
- 一种无线通信装置,其特征在于,包括:A wireless communication device, characterized in that it includes:处理器和存储器,其中,所述存储器用于存储程序指令,所述处理器用于执行所述存储器中的程序指令,以实现如权利要求1至8中的任一所述方法。A processor and a memory, wherein the memory is used to store program instructions, and the processor is used to execute the program instructions in the memory, so as to implement the method according to any one of claims 1 to 8.
- 一种无线通信装置,其特征在于,包括:A wireless communication device, characterized in that it includes:处理电路和接口电路;其中,processing circuits and interface circuits; where,所述接口电路用于与所述无线通信装置外部的存储器耦合,并为所述处理电路访问所述存储器提供通信接口;The interface circuit is used to couple with a memory external to the wireless communication device, and provide a communication interface for the processing circuit to access the memory;所述处理电路用于执行所述存储器中的程序指令,以实现如权利要求1至8中的任一所述方法。The processing circuit is configured to execute program instructions in the memory, so as to implement the method as described in any one of claims 1-8.
- 一种计算机可读存储介质,其特征在于:A computer-readable storage medium, characterized in that:所述计算机可读存储介质中存储了程序代码,所述程序代码被处理器执行时,实现权利要求1至8中任一项所述的方法。A program code is stored in the computer-readable storage medium, and when the program code is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
- 一种计算机程序产品,其特征在于:A computer program product, characterized in that:所述计算机程序产品包含的程序代码被处理器执行时,实现权利要求1至8中任一项所述的方法。When the program code included in the computer program product is executed by the processor, the method according to any one of claims 1 to 8 is implemented.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202180016259.3A CN115707358A (en) | 2021-06-02 | 2021-06-02 | Recovery method and device after security activation failure |
PCT/CN2021/097792 WO2022252133A1 (en) | 2021-06-02 | 2021-06-02 | Method and apparatus for recovery after security activation failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/097792 WO2022252133A1 (en) | 2021-06-02 | 2021-06-02 | Method and apparatus for recovery after security activation failure |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022252133A1 true WO2022252133A1 (en) | 2022-12-08 |
Family
ID=84322656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/097792 WO2022252133A1 (en) | 2021-06-02 | 2021-06-02 | Method and apparatus for recovery after security activation failure |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115707358A (en) |
WO (1) | WO2022252133A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090320100A1 (en) * | 2008-06-20 | 2009-12-24 | Qualcomm Incorporated | Handling of integrity check failure in a wireless communication system |
CN106937317A (en) * | 2015-12-31 | 2017-07-07 | 联发科技股份有限公司 | Communication device and method for recovering safety mode command failure |
CN107592620A (en) * | 2017-08-31 | 2018-01-16 | 努比亚技术有限公司 | A kind of method, terminal and the computer-readable recording medium of network signal interaction |
CN108377494A (en) * | 2016-11-22 | 2018-08-07 | 深圳市中兴微电子技术有限公司 | A kind of terminal abnormal flow guard method and device |
CN111385830A (en) * | 2018-12-29 | 2020-07-07 | 华为技术有限公司 | Communication method and device |
-
2021
- 2021-06-02 WO PCT/CN2021/097792 patent/WO2022252133A1/en active Application Filing
- 2021-06-02 CN CN202180016259.3A patent/CN115707358A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090320100A1 (en) * | 2008-06-20 | 2009-12-24 | Qualcomm Incorporated | Handling of integrity check failure in a wireless communication system |
CN106937317A (en) * | 2015-12-31 | 2017-07-07 | 联发科技股份有限公司 | Communication device and method for recovering safety mode command failure |
CN108377494A (en) * | 2016-11-22 | 2018-08-07 | 深圳市中兴微电子技术有限公司 | A kind of terminal abnormal flow guard method and device |
CN107592620A (en) * | 2017-08-31 | 2018-01-16 | 努比亚技术有限公司 | A kind of method, terminal and the computer-readable recording medium of network signal interaction |
CN111385830A (en) * | 2018-12-29 | 2020-07-07 | 华为技术有限公司 | Communication method and device |
Also Published As
Publication number | Publication date |
---|---|
CN115707358A (en) | 2023-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109565896B (en) | Low power RRC operation method and apparatus | |
JP7559850B2 (en) | Method, device and system for handling LBT monitoring failure | |
US20200396652A1 (en) | Method, apparatus, computer program product and computer program for conditional handover | |
US11184812B2 (en) | Security context in a wireless communication system | |
US20240179786A1 (en) | Communication method and apparatus | |
US12114384B2 (en) | Communication method, apparatus, and system | |
WO2022236484A1 (en) | Sdt failure reporting method, terminal device, and network device | |
WO2021197029A1 (en) | Listen before talk (lbt) failure indicating method and apparatus | |
US20230262557A1 (en) | Methods and devices for enhancing integrated access backhaul networks for new radio | |
JP7413349B2 (en) | Random access method, data reception method and device, communication system | |
WO2022252133A1 (en) | Method and apparatus for recovery after security activation failure | |
WO2023071752A1 (en) | Sidelink transmission method and apparatus, network device, and terminal device | |
WO2021062845A1 (en) | Communication method and communication apparatus | |
WO2023070656A1 (en) | Method and apparatus for reporting failure information of master cell group | |
WO2022170545A1 (en) | Radio link reestablishment method and apparatus | |
WO2022236499A1 (en) | Cg resource maintenance method, terminal device and network device | |
US20240357690A1 (en) | Method and apparatus for transceiving information, and communication system | |
WO2024045858A1 (en) | Communication method and apparatus | |
WO2022256982A1 (en) | Method and device for conditional pscell change | |
US20250063437A1 (en) | Security context in a wireless communication system | |
WO2024174192A1 (en) | Forwarding control method, information sending method, repeater, and network device | |
WO2023035240A1 (en) | Method and apparatus for controlling random access, and terminal device | |
WO2024020728A1 (en) | Methods and apparatuses for simultaneous transmission on multiple paths | |
WO2024229808A1 (en) | Multi-path processing method and apparatus and communication system | |
WO2023122889A1 (en) | Communication processing method and apparatus, terminal device and access network device |
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: 21943502 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: 21943502 Country of ref document: EP Kind code of ref document: A1 |