WO2015006980A1 - 加密参数处理方法和装置 - Google Patents

加密参数处理方法和装置 Download PDF

Info

Publication number
WO2015006980A1
WO2015006980A1 PCT/CN2013/079705 CN2013079705W WO2015006980A1 WO 2015006980 A1 WO2015006980 A1 WO 2015006980A1 CN 2013079705 W CN2013079705 W CN 2013079705W WO 2015006980 A1 WO2015006980 A1 WO 2015006980A1
Authority
WO
WIPO (PCT)
Prior art keywords
encryption
user equipment
parameter configuration
control entity
configuration message
Prior art date
Application number
PCT/CN2013/079705
Other languages
English (en)
French (fr)
Inventor
袁强
杨春杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/079705 priority Critical patent/WO2015006980A1/zh
Priority to CN201380001091.4A priority patent/CN104584605B/zh
Publication of WO2015006980A1 publication Critical patent/WO2015006980A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/61Time-dependent

Definitions

  • Embodiments of the present invention relate to communication technologies, and in particular, to a method and an apparatus for processing an encryption parameter.
  • Background Art In order to ensure the security of Adaptive Multi-Rate (AMR) voice transmission in an air interface, an MPEG algorithm needs to encrypt an AMR voice data using an encryption algorithm.
  • AMR Adaptive Multi-Rate
  • the encryption parameter "COUNT-C" maintained by the User Equipment (UE) and the Radio Network Controller (RNC) is dynamically changed in real time, wherein the transmission of voice data is TM.
  • "COU TC" is 32bit
  • high 24bit is Hyper Frame Number (HFN)
  • low 8bit is Connection Frame Number (CFN).
  • AMR adaptive multi-rate
  • DDRD Direct Retry Decision
  • hard handover etc. involved in the configuration or reconfiguration of encrypted information, packet loss due to air interface environment factors Retransmission, so there is a problem that the RNC and the UE service data encryption and decryption parameters are inconsistent.
  • the embodiments of the present invention provide a method and an apparatus for processing encryption parameters to solve the problem that the RNC and the UE encryption and decryption parameters are inconsistent.
  • an embodiment of the present invention provides a method for processing an encryption parameter, including: receiving, by a radio link control (RLC) entity of a UE, an encryption parameter configuration message sent by a radio resource control (RRC) entity of a UE, where the encryption parameter configuration
  • the message includes an encryption activation time; the RLC entity of the UE sends the encryption parameter configuration message to a radio network controller (RNC); the RLC entity of the UE determines whether the RNC is received before the encryption activation time arrives a response message of the cryptographic parameter configuration message sent; if the radio link control entity does not receive the response message of the ciphering parameter configuration message sent by the radio network controller before the cipher activation time arrives,
  • the RLC entity of the UE sends a request message to the RRC entity of the UE, so that the RRC entity of the UE reconfigures the encryption parameter.
  • the method before the RLC entity of the UE sends the request message to the RRC entity of the UE, the method further includes: the RLC entity of the UE according to the first transmission number MaxDAT(N) And determining, by the second transmission number X(N), whether to send a request message to the RRC entity of the UE, where the MaxDAT(N) is: the RLC entity of the UE receives the RRC entity of the UE, the Nth The maximum number of transmissions of the encryption parameter configuration message allowed to be transmitted to the RNC after the transmission of the encryption parameter configuration message; the X(N) is: the RLC entity of the UE receives the RRC entity of the UE. The maximum number of transmissions of the encrypted parameter configuration message sent to the RNC before the encryption activation time configured by the encryption parameter configuration message is allowed.
  • the maximum number of transmissions of the RNC transmission encryption parameter configuration message; the Y(N) is: an encryption parameter configuration message sent by the RLC entity of the UE on the Nth time of receiving the RRC entity of the UE The actual number of sending the encrypted message parameter configuration to the RNC.
  • any one of the first to the third possible implementation manners of the first aspect in a fourth possible implementation manner, sends the RRC entity to the UE And the RLC entity of the UE sends a request message to the RRC entity of the UE, where the request message includes the RLC entity of the UE not received.
  • the identifier information of the response message sent by the RNC so that the RRC entity of the UE reconfigures the encryption parameter according to the identifier information.
  • an embodiment of the present invention provides a method for processing an encryption parameter, including: a radio resource control (RRC) entity of a UE sends an encryption parameter configuration message to a radio link control (RLC) entity of the UE, where the encryption parameter configuration message is sent
  • RRC radio resource control
  • the RRC entity of the UE receives the request message sent by the RLC entity of the UE, where the request message includes that the RLC entity of the UE does not receive the response message sent by the radio network controller (RNC).
  • RRC radio resource control
  • RLC radio link control
  • the RRC entity of the UE reconfigures the encryption parameter according to the identifier information; the RRC entity of the UE sends a new encryption parameter configuration message to the RLC entity of the UE, where the new encryption parameter configuration message includes Reconfiguring the encryption parameters to cause the RLC entity of the UE to send the new encryption parameter configuration message to the RNC.
  • the method further includes: the RRC entity of the UE receiving the configuration message sent by the RNC So that the RRC entity of the UE configures an encryption parameter according to the configuration message.
  • the embodiment of the present invention provides an encryption parameter processing method, including: receiving, by an RLC entity of a UE, an encryption parameter configuration message sent by an RRC entity of a UE, where the encryption parameter configuration message includes an encryption activation time;
  • the entity sends the encryption parameter configuration message to a radio network controller (RNC);
  • RLC entity of the UE determines whether a response message of the encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives ; if used
  • the radio link control entity of the user equipment does not receive the response message of the encryption parameter configuration message sent by the radio network controller before the encryption activation time arrives, and the RLC entity of the UE activates the encryption activation time. Delays a preset duration and uses the delayed encryption activation time as the new encryption activation time.
  • the preset duration is 2.56 seconds.
  • the embodiment of the present invention provides an encryption parameter processing apparatus, including: a message receiving module, configured to receive an encryption parameter configuration RNC message sent by a radio resource control (RRC) entity of a UE, where the encryption parameter configuration message includes encryption a message sending module, configured to send the encryption parameter configuration message to a radio network controller (RNC), and a response message determining module, configured to determine whether the RNC sends the RRC message before the cipher activation time arrives a response message of the encryption parameter configuration message; a request message sending module, configured to: if the response message of the encryption parameter configuration message sent by the RNC is not received before the encryption activation time arrives, to the UE The RRC entity sends a request message to cause the RRC entity of the UE to reconfigure the encryption parameters.
  • RRC radio resource control
  • the method further includes: a request message determining module, configured to: according to the first transmission number MaxDAT(N) and the second transmission, before sending the request message to the RRC entity of the UE
  • the number X(N) is determined whether to send a request message to the RRC entity of the UE, where the MaxDAT(N) is: the RLC entity of the UE receives the encryption of the Nth transmission of the RRC entity of the UE.
  • the maximum number of transmissions of the encryption parameter configuration message transmitted to the RNC after the parameter configuration message is allowed; the X(N) is: the encryption performed by the RLC entity of the UE at the Nth time of receiving the RRC entity of the UE The maximum number of transmissions of the parameter configuration message to the RNC that is allowed to transmit the encryption parameter configuration message to the RNC before the encryption activation time configured by the encryption parameter configuration message.
  • the request message sending module is specifically configured to: The RRC entity sends a request message, where the RLC entity of the UE does not receive the identifier information of the response message sent by the RNC, so that the RRC entity of the UE reconfigures according to the identifier information. Encryption parameters.
  • an embodiment of the present invention provides an encryption parameter processing apparatus, including: a first message sending module, configured to send an encryption parameter configuration message to a radio link control (RLC) entity of a UE, where the encryption parameter configuration message includes a requesting message receiving module, configured to receive a request message sent by an RLC entity of the UE, where the RLC entity of the UE does not receive a response message sent by a radio network controller (RNC)
  • RLC radio link control
  • the cryptographic parameter configuration module is configured to reconfigure the cryptographic parameter according to the identifier information
  • the second message sending module is configured to send a new ciphering parameter configuration message to the RLC entity of the UE, where the new ciphering parameter is
  • the configuration message includes reconfigured encryption parameters to cause the RLC entity of the UE to the RNC Sending the new encryption parameter configuration message.
  • the method further includes: a re-configuration message receiving module, configured to receive a configuration message sent by the RNC, before sending the encryption parameter configuration message to the RLC entity of the UE, to enable the The RRC entity of the UE configures an encryption parameter according to the configuration message.
  • a re-configuration message receiving module configured to receive a configuration message sent by the RNC, before sending the encryption parameter configuration message to the RLC entity of the UE, to enable the The RRC entity of the UE configures an encryption parameter according to the configuration message.
  • an embodiment of the present invention provides an encryption parameter processing apparatus, including: a message receiving module, configured to receive an encryption parameter configuration message sent by an RRC entity of a UE, where the encryption parameter configuration message includes an encryption activation time; And the sending the encryption parameter configuration message to the radio network controller (RNC); the response message determining module, configured to determine whether the encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives
  • the response message of the encryption activation time processing module is configured to delay the encryption activation time if the response message of the encryption parameter configuration message sent by the radio network controller is not received before the encryption activation time arrives A preset duration and the delayed encryption activation time is used as the new encryption activation time.
  • the preset duration is 2.56 seconds.
  • a seventh aspect of the present invention provides an encryption parameter processing apparatus, including: a receiver, a transmitter, and a processor;
  • the receiver is configured to receive an encryption parameter configuration message sent by a radio link control (RLC) entity of a user equipment (UE), where the encryption parameter configuration message includes an encryption activation time;
  • RLC radio link control
  • UE user equipment
  • the transmitter is configured to send an encryption parameter configuration message to a radio network controller (RNC), where the processor is configured to determine whether a response message of an encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives; If the response message of the ciphering parameter configuration message sent by the RNC is not received before the ciphering activation time arrives, sending a request message to the radio resource control (RRC) entity of the UE, so that the RRC entity of the UE is reconfigured.
  • RRC radio resource control
  • the processor is further configured to: before the sending the request message to the RRC entity of the UE, according to the first transmission times MaxDAT(N) and the second transmission times X (N), determining whether to send a request message to an RRC entity of the UE;
  • the MaxDAT(N) is: the maximum transmission of the encryption parameter configuration message that is allowed to be transmitted to the RNC after the RLC entity of the UE receives the encryption parameter configuration message sent by the RRC entity of the UE for the Nth time. Number of times
  • the X(N) is: the RLC entity of the UE receives the encrypted parameter configuration message sent by the RRC entity of the UE to the encrypted activation time configured by the encryption parameter configuration message.
  • MaxDAT(N) MaxDAT
  • the MaxDAT is: the allowed to the RLC entity before the UE is reset.
  • the Y(N) is: the number of times the RLC entity of the UE actually sends the encryption parameter configuration message to the RNC after receiving the cryptographic parameter configuration message sent by the RRC entity of the UE.
  • the cipher (N) is: the UE that is received by the RLC entity of the UE.
  • the CFN indicating the encryption activation time carried in the cryptographic parameter configuration message sent by the RRC entity for the Nth time
  • the CFN (frame) (N) is: a CFN when the RLC entity of the UE sends the encrypted parameter configuration message sent by the RRC entity of the UE to the RNC for the first time to the RNC for the first time;
  • the timer_ Poll is: a time interval between the RLC entity of the UE sending the encryption parameter configuration message twice to the RNC;
  • the processor is specifically configured to: send to an RRC entity of the UE And a request message, where the RLC entity of the UE does not receive the identifier information of the response message sent by the RNC, so that the RRC entity of the UE reconfigures the encryption parameter according to
  • an embodiment of the present invention provides an encryption parameter processing apparatus, including: a transmitter, a receiver, and a processor.
  • the transmitter is configured to send an encryption parameter configuration message to a radio link control (RLC) entity of a user equipment (UE), where the encryption parameter configuration message includes an encryption activation time;
  • RLC radio link control
  • UE user equipment
  • the receiver is configured to receive a request message sent by an RLC entity of the UE, where the request message includes identifier information that the RLC entity of the UE does not receive a response message sent by a radio network controller (RNC);
  • RNC radio network controller
  • the processor configured to: reconfigure an encryption parameter according to the identifier information; send a new encryption parameter configuration message to an RLC entity of the UE, where the new encryption parameter configuration message includes a reconfigured encryption parameter, so that The RLC entity of the UE sends the new encryption parameter configuration message to the RNC.
  • the receiver is further configured to: before sending an encryption parameter configuration message to the RLC entity of the UE, receive a configuration message sent by the RNC, so that the UE is configured
  • the radio resource control entity configures the encryption parameters according to the configuration message.
  • an embodiment of the present invention provides an encryption parameter processing apparatus, including: a receiver, a transmitter, and a processor;
  • the receiver is configured to receive an encryption parameter configuration message sent by a radio resource control entity of the user equipment, where the encryption parameter configuration message includes an encryption activation time;
  • the transmitter is configured to send the encryption parameter configuration message to a radio network controller (RNC);
  • RNC radio network controller
  • the processor is configured to determine, before the arrival of the encryption activation time, whether a response message of the encryption parameter configuration message sent by the RNC-free message is received; if the encryption activation time is not received before the arrival of the encryption activation time a response message of the encryption parameter configuration message sent by the radio network controller, delaying the encryption activation time by a preset duration, and using the delayed encryption activation time as a new Encryption activation time.
  • the preset duration is 2.56 seconds.
  • the method and device for processing an encryption parameter receives an encryption parameter notification message sent by the RRC, and the encryption parameter notification message includes an encryption activation time, and sends an encryption parameter notification message to the RNC, and if the encryption activation time is not received, Sending a request message to the RRC, and sending a request message to the RRC, so that the RRC sends the reconfigured encryption parameter, and the RNC and the RNC are implemented.
  • FIG. 1 is a flowchart of a method for processing an encryption parameter according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for processing an encryption parameter according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for processing an encryption parameter according to Embodiment 3 of the present invention.
  • FIG. 4 is a flowchart of a method for processing an encryption parameter according to Embodiment 4 of the present invention.
  • FIG. 5 is a signaling flowchart of a method for processing an encryption parameter according to Embodiment 5 of the present invention
  • FIG. 6 is a schematic structural diagram of an encryption parameter processing apparatus 600 according to Embodiment 6 of the present invention
  • FIG. 8 is a schematic structural diagram of an encryption parameter processing apparatus 800 according to Embodiment 8 of the present invention
  • FIG. 9 is a schematic structural diagram of an encryption parameter processing apparatus 900 according to Embodiment 9 of the present invention
  • FIG. 10 is a schematic structural diagram of an encryption parameter processing apparatus 1000 according to Embodiment 10 of the present invention.
  • FIG. 1 is a flowchart of a method for processing an encryption parameter according to Embodiment 1 of the present invention.
  • the method of this embodiment is applicable to a situation in which the RNC can be consistent with the encryption and decryption parameters maintained by the UE.
  • the method is performed by an encryption parameter processing device configured in the UE, which is typically implemented in hardware and/or software.
  • the Radio Link Control (RTC) entity of the UE receives an encryption parameter configuration message sent by a radio resource control (RRC) entity of the UE, where the encryption parameter configuration message includes an encryption activation time.
  • RRC radio resource control
  • the UE continuously transmits an encryption parameter configuration message to the RNC after receiving the configuration message sent by the RNC due to the unavoidable air interface environment factor, and the encryption parameter configuration message includes the configured encryption.
  • the parameters "COUNT-C”, "COUNT-C” are 32bit, the high 24bit is the Hyper Frame Number (HFN), and the lower 8bit is the Connection Frame Number (CFN), where the encryption activation time It is determined by the CFN contained in the encryption parameter configuration message.
  • the process of transmitting the ciphering parameter configuration message to the RNC by the UE is implemented by the RLC entity of the UE receiving the ciphering parameter configuration message sent by the RRC entity of the UE, and continuously transmitting the ciphering parameter configuration message to the RNC.
  • the RLC entity of the UE sends an encryption parameter configuration message to the RNC.
  • the RLC entity of the UE sends an encryption parameter configuration message to the RNC every other preset time. If the response message of the encryption parameter configuration message sent by the RNC is not received when the next time the encryption parameter configuration message is sent, it will be sent again.
  • the encryption parameter configures the message.
  • the RLC entity of the UE determines whether a response message of the ciphering parameter configuration message sent by the RNC is received before the cipher activation time arrives.
  • the RLC entity of the UE If the RLC entity of the UE does not receive the response message of the ciphering parameter configuration message sent by the RNC before the ciphering activation time arrives, the RLC entity of the UE sends a request message to the RRC entity of the UE, so that the RRC entity of the UE reconfigures the RRC entity. parameter.
  • the RLC entity of the UE transmits the encryption parameter configuration message to the RNC for less than 2 seconds
  • the encryption parameters maintained by the UE and the RLC are consistent, but the air interface environment of the actual network is not considered, resulting in poor air interface environment.
  • the phenomenon that the RLC entity of the UE transmits the encryption parameter configuration message to the RNC for more than 2 seconds is ubiquitous, resulting in the current UE in the network. Inconsistent with the encryption parameters maintained by RLC.
  • steps 130 and 140 determine whether the RNC sends the encrypted activation time before receiving the RNC.
  • the response message of the encryption parameter configuration message if the RLC entity of the UE does not receive the response message of the encryption parameter configuration message sent by the RNC, the RLC entity of the UE sends a request message to the RRC entity of the UE, so that the RRC entity of the UE is reconfigured and encrypted.
  • the parameter thereby solving the encryption parameter configuration message sent by the RLC entity of the UE when the RNC has not received the RLC entity, but the RLC entity of the UE activates the encryption parameter, which is caused by the UE and the RNC.
  • the problem of inconsistent encryption parameters thereby solving the encryption parameter configuration message sent by the RLC entity of the UE when the RNC has not received the RLC entity, but the RLC entity of the UE activates the encryption parameter, which is caused by the UE and the RNC.
  • the RLC entity of the UE after receiving the ciphering parameter configuration message sent by the RRC entity of the UE, the RLC entity of the UE sends the ciphering parameter configuration message to the RNC, and determines whether to send to the RRC entity of the UE according to the cipher activation time.
  • the message is requested to cause the RRC entity of the UE to reconfigure the encryption parameters.
  • the encryption parameter processing method provided in this embodiment sends an encryption parameter configuration message to the RNC through the RLC entity of the UE, and determines whether to send a request message to the RRC entity of the UE according to the encryption activation time included in the encryption parameter configuration message, so as to enable the RRC of the UE.
  • the entity reconfigures the encryption parameters. Therefore, in the prior art, when the encryption activation time arrives, the RNC has not received the encryption parameter configuration message, and the RLC entity of the UE activates the encryption parameter when the encryption activation time arrives, causing the RNC to be inconsistent with the encryption parameter maintained by the UE.
  • the problem is that the consistency between the encryption and decryption parameters maintained by the RNC and the UE is achieved.
  • FIG. 2 is a flowchart of a method for processing an encryption parameter according to Embodiment 2 of the present invention.
  • the RRC entity of the UE sends an encryption parameter configuration message to the RLC entity of the UE, where the encryption parameter configuration message includes an encryption activation time.
  • the RRC entity of the UE sends an encryption parameter configuration message to the RLC entity of the UE, where the encryption parameter configuration message includes an encryption activation time, so that the RLC entity of the UE receives the encryption parameter configuration message, and then sends an encryption parameter configuration message to the RNC, and determines according to the encryption activation time. Whether to send a request message to the RRC entity of the UE.
  • the RRC entity of the UE receives the request message sent by the RLC entity of the UE, and the RLC entity that includes the UE does not receive the identifier information of the response message sent by the RNC.
  • the RRC entity of the UE reconfigures the encryption parameter according to the identifier information.
  • the RRC entity of the UE sends a new encryption parameter configuration message to the RLC entity of the UE, where the new encryption parameter configuration message includes the reconfigured encryption parameter, so that the RLC entity of the UE sends a new encryption parameter configuration message to the RNC.
  • step 220 to step 240 the RRC entity of the UE receives the request message sent by the RLC entity of the UE, and reconfigures the encryption parameter according to the identifier information of the response message sent by the RLC that is not received by the RLC entity included in the request message.
  • the reconfigured encryption parameter is sent to the RLC entity of the UE, so that the RLC entity of the UE sends a new encryption parameter configuration message to the RNC.
  • the cryptographic parameter processing method after receiving the request message sent by the RLC entity of the UE, the RRC entity of the UE reconfigures the encryption parameter, and sends the reconfigured encryption parameter to the RLC entity of the UE, so as to enable the RLC of the UE.
  • the entity sends a new encryption parameter configuration message to the RNC.
  • FIG. 3 is a flowchart of a method for processing an encryption parameter according to Embodiment 3 of the present invention.
  • the RLC entity of the UE receives an encryption parameter configuration message sent by the RRC entity of the UE, where the encryption parameter configuration message includes an encryption activation time.
  • the RLC entity of the UE sends an encryption parameter configuration message to the RNC.
  • the RLC entity of the UE determines whether a response message of the encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives.
  • the RLC entity of the UE If the RLC entity of the UE does not receive the response message of the encryption parameter configuration message sent by the RNC before the encryption activation time arrives, the RLC entity of the UE delays the encryption activation time by a preset duration, and uses the delayed encryption activation time as New encryption activation time.
  • the preset duration is 2.56 seconds. Because the RLC entity of the UE delays the encryption activation time by 2.56 seconds, the converted CFN indicating the new encryption activation time is consistent with the CFN indicating the encryption activation time before the delay of 2.56 seconds. Therefore, the UE The RLC entity only needs to determine whether to receive the response message of the ciphering parameter configuration message sent by the RNC before the new cipher activation time arrives, and does not need to send the request message to the RRC entity of the UE, and sends the first time from the UE to the RNC. The encryption parameter configuration message received by the RRC entity.
  • the RLC entity of the UE receives the response message of the ciphering parameter configuration message sent by the RNC before the new cipher activation time arrives, when the new cipher activation time arrives, the RLC entity of the UE and the RNC are at the new cipher activation time.
  • the encryption parameters are activated at the same time. If the RLC entity of the UE still does not receive the response message of the ciphering parameter configuration message sent by the RNC before the new cipher activation time arrives, the continuation delay is 2.56 seconds and then the above process is continued until receiving.
  • the response message of the encryption parameter configuration message sent by the RNC or the resetting of the signaling radio bearer causes a dropped call.
  • the encryption parameter processing method provided in this embodiment sends an encryption parameter configuration message to the RNC through the RLC entity of the UE. If the response message of the encryption parameter configuration message sent by the RNC is not received, the encryption activation time is delayed by 2.56 seconds and is used as a new encryption. The activation time determines whether a response message is received before the new encryption activation time arrives. Therefore, in the prior art, when the encryption activation time arrives, the RNC has not received the encryption parameter configuration message, and the RLC entity of the UE activates the encryption parameter when the encryption activation time arrives, which causes the RNC to be inconsistent with the encryption parameter maintained by the UE. The problem is that the consistency between the encryption and decryption parameters maintained by the RNC and the UE is implemented.
  • FIG. 4 is a flowchart of a method for processing an encryption parameter according to Embodiment 4 of the present invention.
  • the RLC entity of the UE receives the encryption parameter configuration message sent by the RNC between the encryption parameter configuration message sent by the RRC entity of the UE and the encryption activation time configured by the RRC entity.
  • the response message is taken as an example to describe the entire process of the encryption parameter processing method.
  • the RRC entity of the UE receives the configuration message sent by the RNC, so that the RRC entity of the UE configures the encryption parameter according to the configuration message.
  • the RLC entity of the UE receives an encryption parameter configuration message sent by the RRC entity of the UE, where the encryption parameter configuration message includes an encryption activation time.
  • the RLC entity of the UE sends an encryption parameter configuration message to the RNC.
  • the RLC entity of the UE determines whether a response message of the encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives.
  • the RLC entity of the UE determines, according to the first transmission number MaxDAT(N) and the second transmission number X(N), whether to send a request message to the RRC entity of the UE.
  • MaxDAT(N+l) MaxDAT(N)-Y(N), where ⁇ is an integer greater than or equal to 2.
  • the MaxDAT is: the maximum number of transmissions of the encryption parameter configuration message that is allowed to be transmitted to the RNC before the RLC entity of the UE is reset; and the MaxDAT(N) is: the encryption parameter sent by the RLC entity of the UE to the RRC entity of the UE for the Nth time.
  • X(N) is: the RLC entity of the UE receives the encryption parameter configuration message sent by the RRC entity of the UE for the Nth time to the encryption parameter configuration message.
  • Y(N) is: the number of times the RLC entity of the UE actually sends the encryption parameter configuration message to the RNC after receiving the encryption parameter configuration message sent by the RRC entity of the UE, where N is an integer greater than or equal to 1.
  • X(N) can be calculated by: if CFN(cipher)(N)>CFN(frame)
  • the CFN (N) is: the CFN of the encryption activation time carried in the cryptographic parameter configuration message sent by the RRC entity of the UE received by the RLC entity of the UE; the CFN frame) (N) is: The CFN when the RLC entity sends the encrypted parameter configuration message sent by the RRC entity of the received UE to the RNC for the first time to the RNC, the timer_ Poll is: the time interval between the RLC entity of the UE sending the encryption parameter configuration message twice to the RNC.
  • ms means milliseconds
  • int( (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer— Poll) means pair (CFN(cipher) (N) -CFN(frame) (N) ) *10ms/timer_Poll calculates the value rounded
  • int((CFN(cipher) ( N ) -CFN(frame) ( N ) +256)* lOms/timer— Poll) means pair (CFN(cipher) ( N ) - The value calculated by CFN(frame)(N) +256)*10ms/timer_Poll is rounded
  • X(N) is: the encryption parameter configuration message sent by the RLC entity of the UE at the Nth time of receiving the RRC entity of the UE to the encryption The maximum number of transmissions allowed to transmit the encryption parameter configuration message to the RNC between the encryption activation times configured by the parameter configuration message.
  • Y(N) is: the number
  • the RLC entity of the UE sends a request message to the RRC entity of the UE, so that the RRC entity of the UE reconfigures the encryption parameter.
  • the RRC entity of the UE sends a new encryption parameter configuration message to the RLC entity of the UE.
  • the new cryptographic parameter configuration message contains the reconfigured cryptographic parameters to cause the RLC entity of the UE to send a new cryptographic parameter configuration message to the RNC.
  • the encryption parameter processing method provided in this embodiment does not activate the encryption parameter if the response message sent by the RNC is not received when the encryption activation time arrives, but according to the first transmission number MaxDAT(N) and the second transmission number.
  • X(N) determining whether to send a request message to the RRC entity of the UE, and if the request message is sent to the RRC entity of the UE, the RRC entity reconfiguration encryption parameter of the UE may be received, so that the reconfigurable may be sent to the RNC.
  • the encryption parameter is used to implement the consistency between the encryption and decryption parameters maintained by the RNC and the UE.
  • FIG. 5 is a signaling flowchart of a method for processing an encryption parameter according to Embodiment 5 of the present invention.
  • the RLC entity of the UE receives the encryption parameter configuration message sent by the RNC between the encryption parameter configuration message sent by the RRC entity of the UE and the encryption activation time configured by the RRC entity.
  • the response message is taken as an example to describe the entire process of the encryption parameter processing method.
  • the RRC entity of the UE receives the configuration message sent by the RNC, so that the RRC entity of the UE configures the encryption parameter according to the configuration message.
  • the RLC entity of the UE receives an encryption parameter configuration message sent by the RRC entity of the UE, where the encryption parameter configuration message includes an encryption activation time.
  • the RLC entity of the UE sends the received encryption parameter configuration message to the RNC.
  • the RLC entity of the UE determines whether a response message of the encryption parameter configuration message sent by the RNC is received before the encryption activation time T1 arrives. If not received, execute 450.
  • the RLC entity of the UE determines to send a request message to the RRC entity of the UE according to the first transmission number MaxDAT(1) and the second transmission number X(1).
  • the RLC entity of the UE sends a request message to the RRC entity of the UE, so as to enable the RRC of the UE.
  • the entity reconfigures the encryption parameters.
  • the RRC entity of the UE sends a new encryption parameter configuration message to the RLC entity of the UE, where the new encryption parameter configuration message includes the reconfigured encryption parameter.
  • the RLC entity of the UE sends a new encryption parameter configuration message to the RNC.
  • the RLC entity of the UE starts to send a new encryption parameter configuration message to the RNC, and the new encryption parameter configuration message includes the reconfigured encryption parameter.
  • the RLC entity of the UE receives a response message of a new encryption parameter configuration message sent by the RNC.
  • the RLC entity of the UE activates a new encryption parameter when the new encryption activation time T2 arrives.
  • the RNC activates the encryption parameter included in the new encryption parameter configuration message when the new encryption activation time T2 arrives.
  • the encryption parameter is activated when the new encryption activation time indicated is reached.
  • the RLC entity of the UE receives the response message of the new ciphering parameter configuration message sent by the RNC as an example, because the RNC sends a new ciphering parameter configuration message to the RLC entity of the UE.
  • the response message therefore, both the UE and the RNC activate the encryption parameter when the new encryption activation time ⁇ 2 indicated by the CFN in the reconfigured encryption parameter arrives, thereby ensuring the consistency of the encryption parameters maintained by both parties.
  • the encryption parameter processing method provided in this embodiment is obtained when the encryption activation time arrives, if If the response message sent by the RNC is not received, the encryption parameter is not activated, but the first transmission number MaxDAT(N) and the second transmission number X(N) are used to determine whether to send a request message to the RRC entity of the UE, if the message is sent to the UE.
  • the RRC entity sends the request message, and the RRC entity reconfigured encryption parameter of the UE may be received, so that the reconfigured encryption parameter may be sent to the RNC, and the consistency between the RNC and the UE's maintenance encryption and decryption parameters is implemented.
  • FIG. 6 is a schematic structural diagram of an encryption parameter processing apparatus 600 according to Embodiment 6 of the present invention.
  • the apparatus of this embodiment is suitable for the case where the RNC can be kept consistent with the encryption and decryption parameters maintained by the UE.
  • the device is typically implemented in hardware and/or software.
  • the encryption parameter processing apparatus includes the following modules: a message receiving module 610, a message transmitting module 620, a response message determining module 630, and a request message sending module 640.
  • the message receiving module 610 is configured to receive an encryption parameter configuration message sent by the RRC entity of the UE, where the encryption parameter configuration message includes an encryption activation time; the message sending module 620 is configured to send an encryption parameter configuration message to the radio network controller (RNC); The module 630 is configured to determine whether a response message of the encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives. The request message sending module 640 is configured to not receive the encryption sent by the radio network controller before the encryption activation time arrives. The response message of the parameter configuration message sends a request message to the RRC entity of the UE, so that the RRC entity of the UE reconfigures the encryption parameter.
  • RNC radio network controller
  • the encryption parameter processing apparatus 600 further includes: a request message determining module, configured to determine, according to the first number of transmissions MaxDAT(N) and the second number of transmissions X(N), before sending the request message to the RRC entity of the UE Sending a request message to the RRC entity of the UE; where MaxDAT(N) is: the maximum of the encryption parameter configuration message that is allowed to be transmitted to the RNC after the RLC entity of the UE receives the encrypted parameter configuration message sent by the RRC entity of the UE.
  • the number of transmissions; X(N)3 ⁇ 4 The RLC entity of the UE transmits the encryption to the RNC before receiving the encrypted parameter configuration message sent by the RRC entity of the UE to the encrypted activation time configured by the encryption parameter configuration message.
  • MaxDAT(N) is: the maximum transmission of the encryption parameter configuration message that is allowed to be transmitted to the RNC after the RLC entity of the UE receives the encryption parameter configuration message sent by the RRC entity of the UE.
  • the number of times; X(N) is: the RLC entity of the UE transmits the encryption parameter to the RNC between the encrypted parameter configuration message sent by the RRC entity of the UE and the encrypted activation time configured by the encryption parameter configuration message. Configure the maximum number of transmissions for a message.
  • Y(N) is: the number of times the RLC entity of the UE actually sends the ciphering parameter configuration message to the RNC after receiving the ciphering parameter configuration message sent by the RRC entity of the UE, where N is an integer greater than or equal to 1.
  • the CFN (N) is: the CFN of the encryption activation time carried in the cryptographic parameter configuration message sent by the RRC entity of the UE received by the RLC entity of the UE; the CFN frame) (N) is: The CFN when the RLC entity sends the encrypted parameter configuration message sent by the RRC entity of the received UE to the RNC for the first time to the RNC, the timer_ Poll is: the time interval between the RLC entity of the UE sending the encryption parameter configuration message twice to the RNC.
  • ms means milliseconds
  • int( ( CFN(cipher) (N ) -CFN(frame) (N ) )* 1 Oms/timer— Poll) means pair ( CFN(cipher) (N) -CFN(frame) (N) ) *10ms/timer_Poll calculated value rounded
  • int((CFN(cipher) ( N ) -CFN(frame) ( N ) +256)* 1 Oms/timer— Poll) means pair (CFN(cipher) ( N -CFN(frame) (N) +256) *10ms/timer_Poll
  • the calculated value is rounded
  • X(N) is: The RLC entity of the UE receives the encryption parameter configuration message sent by the RRC entity of the UE for the Nth time.
  • Y(N) is: the number of times the RLC entity of the UE actually sends the encryption parameter configuration message to the RNC after receiving the encryption parameter configuration message sent by the RRC entity of the UE, where N is an integer greater than or equal to 1.
  • the request message sending module 640 is specifically configured to send a request message to the RRC entity of the UE, where the request message includes an identifier of the response message sent by the RLC entity of the UE that is not received by the RNC. Information, such that the RRC entity of the UE reconfigures the encryption parameters according to the identification information.
  • the cryptographic parameter processing apparatus sends an ciphering parameter configuration message to the RNC, and determines whether to send a request message to the RRC entity of the UE according to the cipher activation time included in the ciphering parameter configuration message, so that the RRC entity of the UE is reconfigured and encrypted. parameter. Therefore, in the prior art, when the encryption activation time arrives, the RNC has not received the encryption parameter configuration message, and the RLC entity of the UE activates the encryption parameter when the encryption activation time arrives, which causes the RNC to be inconsistent with the encryption parameter maintained by the UE. The problem is that the consistency between the encryption and decryption parameters maintained by the RNC and the UE is implemented.
  • FIG. 7 is a schematic structural diagram of an encryption parameter processing apparatus 700 according to Embodiment 7 of the present invention.
  • the encryption parameter processing apparatus includes the following modules: a first message sending module 710, a request message receiving module 720, an encryption parameter configuration module 730, and a second message sending module 740.
  • the first message sending module 710 is configured to send an encryption parameter configuration message to the RLC entity of the UE, where the encryption parameter configuration message includes an encryption activation time.
  • the request message receiving module 720 is configured to receive a request message sent by the RLC entity of the UE, where the request message includes the UE.
  • the RLC entity does not receive the identification information of the response message sent by the radio network controller (RNC);
  • the encryption parameter configuration module 730 is configured to reconfigure the encryption parameter according to the identification information;
  • the second message sending module 740 is configured to provide the RLC entity to the UE.
  • a new encryption parameter configuration message is sent, and the new encryption parameter configuration message includes the reconfigured encryption parameter to enable the RLC entity of the UE to send a new encryption parameter configuration message to the RNC.
  • the encryption parameter processing apparatus 700 further includes: a reconfiguration message receiving module, configured to: before sending the encryption parameter configuration message to the RLC entity of the UE, receive a configuration message sent by the RNC, so that the RRC entity of the UE configures the encryption according to the configuration message. parameter.
  • the cryptographic parameter processing apparatus after receiving the request message sent by the RLC entity of the UE, reconfigures the encryption parameter, and sends the reconfigured encryption parameter to the RLC entity of the UE, so that the RLC entity of the UE sends the RLC entity to the RNC. New encryption parameter configuration message. Thereby, the consistency of the encryption and decryption parameters maintained by the RNC and the UE is achieved.
  • FIG. 8 is a schematic structural diagram of an encryption parameter processing apparatus 800 according to Embodiment 8 of the present invention.
  • the encryption parameter processing apparatus includes the following modules: a message receiving module 810, a message transmitting module 820, a response message determining module 830, and an encryption activation time processing module 840.
  • the message receiving module 810 is configured to receive an encryption parameter configuration message sent by the RRC entity of the UE, where the encryption parameter configuration message includes an encryption activation time; the message sending module 820 is configured to send an encryption parameter configuration message to the radio network controller (RNC); Module 830 is used to determine the addition Before receiving the secret activation time, whether the response message of the encryption parameter configuration message sent by the RNC is received; the encryption activation time processing module 840 is configured to not receive the response of the encryption parameter configuration message sent by the radio network controller before the encryption activation time arrives. The message delays the encryption activation time by a preset duration encryption activation time.
  • the encryption parameter processing apparatus sends an encryption parameter configuration message to the RNC. If the response message of the encryption parameter configuration message sent by the RNC is not received, the encryption activation time is delayed by 2.56 seconds and is used as the new encryption activation time. Determine whether a response message is received before the new encryption activation time arrives. Therefore, in the prior art, when the cipher activation time arrives, the RNC has not received the ciphering parameter configuration message, and the RLC entity of the UE activates the ciphering parameter when the cipher activation time arrives, causing the RNC to be inconsistent with the cryptographic parameters maintained by the UE. The problem is that the consistency between the encryption and decryption parameters maintained by the RNC and the UE is implemented.
  • FIG. 9 is a schematic structural diagram of an encryption parameter processing apparatus 900 according to Embodiment 9 of the present invention.
  • the apparatus of this embodiment is suitable for the case where the RNC can be kept consistent with the encryption and decryption parameters maintained by the UE.
  • the encryption parameter processing apparatus includes: a receiver 910, a transmitter 920, and a processor 930.
  • the receiver 910 is configured to receive an encryption parameter configuration message sent by the RRC entity of the UE, where the encryption parameter configuration message includes an encryption activation time; the transmitter 920 is configured to send an encryption parameter configuration message to the radio network controller (RNC); Determining whether a response message of the encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives; if the response message of the encryption parameter configuration message sent by the radio network controller is not received before the encryption activation time arrives, the UE sends the response message to the UE The RRC entity sends a request message to cause the RRC entity of the UE to reconfigure the encryption parameters.
  • RRC radio network controller
  • the processor 930 is further configured to: before sending the request message to the RRC entity of the UE, determine whether to send the request message to the RRC entity of the UE according to the first number of transmissions MaxDAT(N) and the second number of transmissions X(N);
  • the MaxDAT(N) is: the maximum number of transmissions of the encryption parameter configuration message allowed to the RNC after the RLC entity of the UE receives the encryption parameter configuration message sent by the RRC entity of the UE for the Nth time;
  • X(N) is: The maximum number of transmissions of the encryption parameter configuration message transmitted to the RNC allowed by the RLC entity of the UE before receiving the encrypted parameter configuration message sent by the RRC entity of the UE to the encrypted activation time configured by the encryption parameter configuration message.
  • X(N) is: the cryptographic parameter configuration message sent by the RLC entity of the UE to the RRC entity of the UE to the cryptographic activation configured by the cryptographic parameter configuration message
  • Y(N) is: the number of times the RLC entity of the UE actually sends the encryption parameter configuration message to the RNC after receiving the encryption parameter configuration message sent by the RRC entity of the UE, where N is an integer greater than or equal to 1.
  • X(N) in this embodiment can be obtained by calculating:
  • the CFN (N) is: the CFN of the encryption activation time carried in the cryptographic parameter configuration message sent by the RRC entity of the UE received by the RLC entity of the UE; the CFN frame) (N) is: The CFN when the RLC entity sends the encrypted parameter configuration message sent by the RRC entity of the received UE to the RNC for the first time to the RNC, the timer_ Poll is: the time interval between the RLC entity of the UE sending the encryption parameter configuration message twice to the RNC.
  • ms means milliseconds
  • int( (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer— Poll) means pair (CFN(cipher) (N) -CFN(frame) (N) ) *10ms/timer_Poll calculates the value rounded
  • int((CFN(cipher) ( N ) -CFN(frame) ( N ) +256)* lOms/timer— Poll) means pair (CFN(cipher) ( N ) - The value calculated by CFN(frame)(N) +256)*10ms/timer_Poll is rounded
  • X(N) is: the encryption parameter configuration message sent by the RLC entity of the UE at the Nth time of receiving the RRC entity of the UE to the encryption The maximum number of transmissions allowed to transmit the encryption parameter configuration message to the RNC between the encryption activation times configured by the parameter configuration message.
  • Y(N) is: RRC
  • the processor 930 is specifically configured to send a request message to the RRC entity of the UE, where the request message includes the identifier information of the response message sent by the RLC entity of the UE that is not received by the RNC, so that the RRC entity of the UE reconfigures the encryption according to the identifier information. parameter.
  • the cryptographic parameter processing apparatus sends an ciphering parameter configuration message to the RNC, and determines whether to send a request message to the RRC entity of the UE according to the cipher activation time included in the ciphering parameter configuration message, so that the RRC entity of the UE is reconfigured and encrypted. parameter. Therefore, in the prior art, when the encryption activation time arrives, the RNC has not received the encryption parameter configuration message, and the RLC entity of the UE activates the encryption parameter when the encryption activation time arrives, which causes the RNC to be inconsistent with the encryption parameter maintained by the UE. The problem is that the consistency between the encryption and decryption parameters maintained by the RNC and the UE is implemented.
  • FIG. 10 is a schematic structural diagram of an encryption parameter processing apparatus 1000 according to Embodiment 10 of the present invention.
  • the encryption parameter processing apparatus includes: a transmitter 1010, a receiver 1020, and a processor 1030.
  • the sender 1010 is configured to send an encryption parameter configuration message to the RLC entity of the UE, where the encryption parameter configuration message includes an encryption activation time.
  • the receiver 1020 is configured to receive a request message sent by the RLC entity of the UE, where the RLC entity that includes the UE in the request message is not received.
  • the processor 1030 is configured to reconfigure the encryption parameter according to the identifier information; and send a new encryption parameter configuration message to the RLC entity of the UE, where the new encryption parameter configuration message includes
  • the reconfigured encryption parameters are such that the RLC entity of the UE sends a new encryption parameter configuration message to the RNC.
  • the receiver 1020 is further configured to: before sending the ciphering parameter configuration message to the RLC entity of the UE, receive the configuration message sent by the RNC, so that the RRC entity of the UE configures the ciphering parameter according to the configuration message.
  • the cryptographic parameter processing apparatus after receiving the request message sent by the RLC entity of the UE, reconfigures the encryption parameter, and sends the reconfigured encryption parameter to the RLC entity of the UE, so that the RLC entity of the UE sends the RLC entity to the RNC. New encryption parameter configuration message. Thereby, the consistency of the encryption and decryption parameters maintained by the RNC and the UE is achieved.
  • the structural diagram of the encryption parameter processing apparatus is the same as that of FIG. 9.
  • the receiver is configured to receive an encryption parameter configuration message sent by the RRC entity of the UE, plus The secret parameter configuration message includes an encryption activation time;
  • the transmitter is configured to send an encryption parameter configuration message to the radio network controller (RNC);
  • the processor is configured to determine whether a response message of the encryption parameter configuration message sent by the RNC is received before the encryption activation time arrives. If the response message of the encryption parameter configuration message sent by the radio network controller is not received before the encryption activation time arrives, the encryption activation time is delayed by a preset duration, and the delayed encryption activation time is taken as the new encryption activation time.
  • the preset duration can be 2.56 seconds.
  • the encryption parameter processing apparatus sends an encryption parameter configuration message to the RNC. If the response message of the encryption parameter configuration message sent by the RNC is not received, the encryption activation time is delayed by 2.56 seconds and is used as the new encryption activation time. Determine whether a response message is received before the new encryption activation time arrives. Therefore, in the prior art, when the cipher activation time arrives, the RNC has not received the ciphering parameter configuration message, and the RLC entity of the UE activates the ciphering parameter when the cipher activation time arrives, causing the RNC to be inconsistent with the cryptographic parameters maintained by the UE. The problem is that the consistency between the encryption and decryption parameters maintained by the RNC and the UE is implemented.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

本发明实施例提供一种加密参数处理方法和装置,本发明加密参数处理方法,包括:UE的RLC实体接收UE的RRC实体发送的加密参数配置消息,加密参数配置消息包含加密激活时间;UE的RLC实体向无线网络控制器(RNC)发送加密参数配置消息;UE的RLC实体确定在加密激活时间到达之前,是否收到RNC发送的加密参数配置消息的响应消息;若无线链路控制实体在加密激活时间到达之前未收到无线网络控制器发送的加密参数配置消息的响应消息,则UE的RLC实体向UE的RRC实体发送请求消息,以使UE的RRC实体重新配置加密参数。实现了RNC与UE维护的加解密参数的一致性。

Description

加密参数处理方法和装置
技术领域 本发明实施例涉及通信技术, 尤其涉及一种加密参数处理方法和装置。 背景技术 为了保证自适应多速率 (Adaptive Multi-Rate, 简称 AMR) 语音在空口 传递时信息的安全, UMTS网络中需要使用加密算法对 AMR语音数据加密。
然而, 由于用户设备 (User Equipment,简称 UE)和无线网络控制器(Radio Network Controller, 简称: RNC) 维护的加密参数" COUNT-C"是实时动态变 化的, 其中, 由于语音数据的传输是 TM模式, 在 TM模式下, "COU T-C" 共 32bit, 高 24bit为超帧号(Hyper Frame Number, 简称 HFN), 低 8bit为连 接帧号 (Connection Frame Number, 简称 CFN)。 在自适应多速率 (Adaptive Multi Rate, 简称 AMR) 语音业务建立, 直接重试 (Directed Retry Decision, 简称 DRD), 硬切换等涉及加密信息配置或重配的过程中, 由于空口环境因 素引起丢包重传, 因此存在 RNC与 UE业务数据加解密参数维护不一致的问 题。 发明内容 本发明实施例提供一种加密参数处理方法和装置, 以解决 RNC与 UE加 解密参数维护不一致的问题。
第一方面, 本发明实施例提供一种加密参数处理方法, 包括: UE的无线 链路控制 (RLC) 实体接收 UE 的无线资源控制 (RRC) 实体发送的加密参 数配置消息, 所述加密参数配置消息包含加密激活时间; 所述 UE的 RLC实 体向无线网络控制器 (RNC) 发送所述加密参数配置消息; 所述 UE的 RLC 实体确定在所述加密激活时间到达之前,是否收到所述 RNC发送的所述加密 参数配置消息的响应消息; 若所述无线链路控制实体在所述加密激活时间到 达之前未收到所述无线网络控制器发送的所述加密参数配置消息的响应消 息, 则所述 UE的 RLC实体向所述 UE的 RRC实体发送请求消息, 以使所述 UE的 RRC实体重新配置加密参数。 在第一方面的第一种可能的实现方式中, 所述 UE 的 RLC 实体向所述 UE的 RRC实体发送请求消息之前, 还包括: 所述 UE的 RLC实体根据第一 传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是否向所述 UE的 RRC实 体发送请求消息; 其中, 所述 MaxDAT(N)为: 所述 UE的 RLC实体在接收 到所述 UE的 RRC实体第 N次发送的加密参数配置消息后所允许的向所述 RNC传输加密参数配置消息的最大传输次数;所述 X(N)为:所述 UE的 RLC 实体在接收到所述 UE的 RRC实体第 N次发送的加密参数配置消息到该加密 参数配置消息所配置的加密激活时间之前所允许的向所述 RNC传输该加密 参数配置消息的最大传输次数。
根据第一方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述 UE的 RLC实体根据第一传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是否向所述 UE 的 RRC 实体发送请求消息, 包括: 当 N=l 时, MaxDAT(N)=MaxDAT , 如果 MaxDAT(N)>X(N)+l, 贝 lj当 Y(N)=X(N), 则确 定向所述 RRC发送请求消息; 相应地, 所述 UE的 RRC实体重新配置加密 参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N)-l ; 当 N>=2时,如果 MaxDAT(N) >X(N), 则当 Y(N)=X(N), 则确定向所述 UE的 RRC实体发送请求消息; 相 应 地 , 所 述 UE 的 RRC 实 体 重 新 配 置 加 密 参 数 后 , MaxDAT(N+l)=MaxDAT(N)-Y(N), 其中 N为大于等于 2的整数; 其中, 所 述 MaxDAT为: 所述 UE的 RLC实体复位前所允许的向所述 RNC传输加密 参数配置消息的最大传输次数;所述 Y(N)为:所述 UE的 RLC实体在接收到 所述 UE的 RRC实体第 N次发送的加密参数配置消息后向所述 RNC实际发 送该加密参数配置消息的次数。
根据第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 若 CFN(cipher)(N)>CFN(frame)(N),则 X(N)=int((CFN(cipher)(N)-CFN(frame) (N) )*10ms/timer_Poll);若 CFN(cipher) (N) <CFN(frame) (N),则 X(N)=int ( (CFN(cipher) (N) -CFN(frame) (N) +256)* lOms/timer— Poll) ; 其中, 所 述 CFN(cipherXN)为: 所述 UE的 RLC实体接收的所述 UE的 RRC实体第 N 次发送的加密参数配置消息中携带的表示加密激活时间的 CFN ; 所述 CFN(frame)(N)为: 所述 UE的 RLC实体第一次向所述 RNC发送接收的所述 UE的 RRC实体第 N次发送的加密参数配置消息时的 CFN; 所述 timer Poll 为: 所述 UE的 RLC实体向所述 RNC发送两次所述加密参数配置消息之间 的时间间隔; ms 表示毫秒, int( ( CFN(cipher) ( N ) -CFN(frame) ( N ) )*10ms/timer_Poll)表示对 ( CFN(cipher) ( N ) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值取整, int((CFN(cipher) (N) -CFN(frame) ( N ) +256)* lOms/timer— Poll)表示对(CFN(cipher) ( N ) -CFN(frame) ( N ) +256)*10ms/timer_Poll计算出的数值取整。
根据第一方面、 第一方面的第一种至第三种可能的实现方式中的任意一 种,在第四种可能的实现方式中,所述 UE的 RLC实体向所述 UE的 RRC实 体发送请求消息, 以使所述 UE的 RRC实体重新配置加密参数, 包括: 所述 UE的 RLC实体向所述 UE的 RRC实体发送请求消息, 所述请求消息中包含 所述 UE的 RLC实体未收到所述 RNC发送的所述响应消息的标识信息, 以 使所述 UE的 RRC实体根据所述标识信息重新配置加密参数。
第二方面, 本发明实施例提供一种加密参数处理方法, 包括: UE的无线 资源控制 (RRC) 实体向 UE 的无线链路控制 (RLC) 实体发送加密参数配 置消息, 所述加密参数配置消息包含加密激活时间; 所述 UE的 RRC实体接 收所述 UE的 RLC实体发送的请求消息,所述请求消息中包含所述 UE的 RLC 实体未收到无线网络控制器 (RNC) 发送的响应消息的标识信息; 所述 UE 的 RRC实体根据所述标识信息, 重新配置加密参数; 所述 UE的 RRC实体 向所述 UE的 RLC实体发送新的加密参数配置消息, 所述新的加密参数配置 消息包含重新配置的加密参数, 以使所述 UE的 RLC实体向所述 RNC发送 所述新的加密参数配置消息。
在第二方面的第一种可能的实现方式中, 在所述 UE的 RRC实体向 UE 的 RLC实体发送加密参数配置消息之前, 还包括: 所述 UE的 RRC实体接 收所述 RNC发送的配置消息, 以使所述 UE的 RRC实体根据所述配置消息 配置加密参数。
第三方面, 本发明实施例提供一种加密参数处理方法, 包括: UE的 RLC 实体接收 UE的 RRC实体发送的加密参数配置消息, 所述加密参数配置消息 包含加密激活时间; 所述 UE的 RLC实体向无线网络控制器 (RNC) 发送所 述加密参数配置消息; 所述 UE的 RLC实体确定在所述加密激活时间到达之 前, 是否收到所述 RNC发送的所述加密参数配置消息的响应消息; 若所述用 户设备的无线链路控制实体在所述加密激活时间到达之前未收到所述无线网 络控制器发送的所述加密参数配置消息的响应消息, 则所述 UE的 RLC实体 将所述加密激活时间延迟一预设时长, 并将延迟的加密激活时间作为新的加 密激活时间。
在第三方面的第一种可能的实现方式中, 所述预设时长为 2.56秒。
第四方面, 本发明实施例提供一种加密参数处理装置, 包括: 消息接收 模块, 用于接收 UE的无线资源控制 (RRC) 实体发送的加密参数配置 RNC 消息, 所述加密参数配置消息包含加密激活时间; 消息发送模块, 用于向无 线网络控制器 (RNC) 发送所述加密参数配置消息; 响应消息确定模块, 用 于确定在所述加密激活时间到达之前,是否收到所述 RNC发送的所述加密参 数配置消息的响应消息; 请求消息发送模块, 用于若在所述加密激活时间到 达之前未收到所述 RNC发送的所述加密参数配置消息的响应消息,则向所述 UE的 RRC实体发送请求消息,以使所述 UE的 RRC实体重新配置加密参数。
在第四方面的第一种可能的实现方式中, 还包括: 请求消息确定模块, 用于在向所述 UE 的 RRC 实体发送请求消息之前, 根据第一传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是否向所述 UE的 RRC实体发送请 求消息; 其中, 所述 MaxDAT(N)为: 所述 UE的 RLC实体在接收到所述 UE 的 RRC实体第 N次发送的加密参数配置消息后所允许的向所述 RNC传输加 密参数配置消息的最大传输次数;所述 X(N)为:所述 UE的 RLC实体在接收 到所述 UE的 RRC实体第 N次发送的加密参数配置消息到该加密参数配置消 息所配置的加密激活时间之前所允许的向所述 RNC传输该加密参数配置消 息的最大传输次数。
根据第四方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述请求消息确定模块, 具体用于: 当 N=l 时, MaxDAT N)=MaxDAT, 如 果 MaxDAT(N)>X(N)+l, 则当 Y(N)=X(N), 则确定向所述 RRC发送请求消 息; 相应地, 所述 UE 的 RRC 实体重新配置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N)-l; 当 N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向所述 UE的 RRC实体发送请求消息; 相应地, 所 述 UE的 RRC实体重新配置加密参数后, MaxDAT(N+ 1 )=MaxDAT(N)- Υ(Ν) , 其中 Ν为大于等于 2的整数; 其中, 所述 MaxDAT为: 所述 UE的 RLC实 体复位前所允许的向所述 RNC传输加密参数配置消息的最大传输次数;所述 Y(N)为: 所述 UE的 RLC实体在接收到所述 UE的 RRC实体第 N次发送的 加密参数配置消息后向所述 RNC实际发送该加密参数配置消息的次数。
根据第四方面的第三种能的实现方式, 在第三种可能的实现方式中, 若 CFN(cipher)CN) >CFN(frame) (N ),则 X(N)=int ( (CFN(cipher)CN) -CFN(frame) ( N ) )*10ms/timer— Poll ) ; 若 CFN(cipher) (N ) <CFN(frame) (N ) , 则 X(N)=int((CFN(cipher) (N) -CFN(frame) (N) +256)* lOms/timer— Poll); 其中, 所述 CFN cipher)(N)为: 所述 UE的 RLC实体接收的所述 UE的 RRC实体第 N 次发送的加密参数配置消息中携带的表示加密激活时间的 CFN; 所述 CFN(frame)(N)为: 所述 UE的 RLC实体第一次向所述 RNC发送接收的所述 UE的 RRC实体第 N次发送的加密参数配置消息时的 CFN; 所述 timer— Poll 为: 所述 UE的 RLC实体向所述 RNC发送两次所述加密参数配置消息之间 的时间间隔; ms 表示毫秒, int( ( CFN(cipher) ( N ) -CFN(frame) ( N ) )*10ms/timer_Poll)表示对 ( CFN(cipher) ( N ) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值取整, int((CFN(cipher) (N) -CFN(frame) ( N ) +256)* lOms/timer— Poll)表示对(CFN(cipher) ( N ) -CFN(frame) ( N ) +256)*10ms/timer_Poll计算出的数值取整。
根据第四方面、第四方面的第一种至第三种能的实现方式中的任意一种, 在第四种可能的实现方式中, 所述请求消息发送模块具体用于: 向所述 UE 的 RRC实体发送请求消息, 所述请求消息中包含所述 UE的 RLC实体未收 到所述 RNC发送的所述响应消息的标识信息, 以使所述 UE的 RRC实体根 据所述标识信息重新配置加密参数。
第五方面, 本发明实施例提供一种加密参数处理装置, 包括: 第一消息 发送模块, 用于向 UE的无线链路控制 (RLC) 实体发送加密参数配置消息, 所述加密参数配置消息包含加密激活时间; 请求消息接收模块, 用于接收所 述 UE的 RLC实体发送的请求消息,所述请求消息中包含所述 UE的 RLC实 体未收到无线网络控制器 (RNC) 发送的响应消息的标识信息; 加密参数配 置模块, 用于根据所述标识信息, 重新配置加密参数; 第二消息发送模块, 用于向所述 UE的 RLC实体发送新的加密参数配置消息, 所述新的加密参数 配置消息包含重新配置的加密参数, 以使所述 UE的 RLC实体向所述 RNC 发送所述新的加密参数配置消息。
在第五方面的第一种可能的实现方式中, 还包括: 重配消息接收模块, 用于在向 UE的 RLC实体发送加密参数配置消息之前, 接收所述 RNC发送 的配置消息, 以使所述 UE的 RRC实体根据所述配置消息配置加密参数。
第六方面, 本发明实施例提供一种加密参数处理装置, 包括: 消息接收 模块, 用于接收 UE的 RRC实体发送的加密参数配置消息, 所述加密参数配 置消息包含加密激活时间; 消息发送模块, 用于向无线网络控制器 (RNC) 发送所述加密参数配置消息; 响应消息确定模块, 用于确定在所述加密激活 时间到达之前, 是否收到所述 RNC 发送的所述加密参数配置消息的响应消 息; 加密激活时间处理模块, 用于若在所述加密激活时间到达之前未收到所 述无线网络控制器发送的所述加密参数配置消息的响应消息, 则将所述加密 激活时间延迟一预设时长,并将延迟的加密激活时间作为新的加密激活时间。
在第六方面的第一种可能的实现方式中, 所述预设时长为 2.56秒。
第七方面, 本发明实施例提供一种加密参数处理装置, 包括: 接收器、 发送器和处理器;
所述接收器, 用于接收用户设备 (UE) 的无线链路控制 (RLC) 实体发 送的加密参数配置消息, 加密参数配置消息包含加密激活时间;
所述发送器, 用于向无线网络控制器 (RNC) 发送加密参数配置消息; 所述处理器, 用于确定在加密激活时间到达之前, 是否收到 RNC发送的 加密参数配置消息的响应消息; 若在所述加密激活时间到达之前未收到所述 RNC 发送的所述加密参数配置消息的响应消息, 则向 UE 的无线资源控制 (RRC) 实体发送请求消息, 以使 UE的 RRC实体重新配置加密参数。
在第七方面的第一种可能的实现方式中, 所述处理器还用于: 在向所述 UE的 RRC实体发送请求消息之前,根据第一传输次数 MaxDAT(N)和第二传 输次数 X(N), 确定是否向所述 UE的 RRC实体发送请求消息;
其中, 所述 MaxDAT(N)为: 所述 UE的 RLC实体在接收到所述 UE的 RRC实体第 N次发送的加密参数配置消息后所允许的向所述 RNC传输加密 参数配置消息的最大传输次数;
所述 X(N)为: 所述 UE的 RLC实体在接收到所述 UE的 RRC实体第 N 次发送的加密参数配置消息到该加密参数配置消息所配置的加密激活时间之 前所允许的向所述 RNC传输该加密参数配置消息的最大传输次数。 根据第七方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述处理器还具体用于:
当 N=l 时, MaxDAT(N)=MaxDAT, 如果 MaxDAT(N)>X(N)+l, 则当 Y(N)=X(N), 则确定向 RRC发送请求消息; 相应地, UE的 RRC实体重新配 置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N)-l;
当 N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向 UE 的 RRC实体发送请求消息; 相应地, UE的 RRC实体重新配置加密参数后, MaxDAT(N+l )=MaxDAT(N)-Y(N) , 其中 Ν为大于等于 2的整数;
其中, 所述 MaxDAT为: 所述 UE的 RLC实体复位前所允许的向所述
RNC传输加密参数配置消息的最大传输次数;
所述 Y(N)为: 所述 UE的 RLC实体在接收到所述 UE的 RRC实体第 N 次发送的加密参数配置消息后向所述 RNC 实际发送该加密参数配置消息的 次数。
根据第七方面的第二种可能的实现方式, 在第三种可能的实现方式中, 若 CFN(cipher)(N)>CFN(frame)(N),则 X(N)=int((CFN(cipher)(N)-CFN(frame) (N) )*10ms/timer_Poll) ;
若 CFN(cipher) (N) <CFN(frame) (N) , 贝 'J X(N)=int ( (CFN(cipher) (N) -CFN(frame) (N) +256)* lOms/timer— Poll);
其中, 所述 CFN(cipher)(N)为: 所述 UE的 RLC实体接收的所述 UE的
RRC 实体第 N 次发送的加密参数配置消息中携带的表示加密激活时间的 CFN;
所述 CFN(frame)(N)为:所述 UE的 RLC实体第一次向所述 RNC发送接 收的所述 UE的 RRC实体第 N次发送的加密参数配置消息时的 CFN;
所述 timer— Poll为:所述 UE的 RLC实体向所述 RNC发送两次所述加密 参数配置消息之间的时间间隔;
ms表示毫秒, int( (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll) 表示对(CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值 取整, int((CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll)表示对 (CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll计算出的数值取 根据第七方面、 第七方面的第一种至第三种任意一种可能的实现方式, 在第四种可能的实现方式中, 所述处理器具体用于: 向所述 UE的 RRC实体 发送请求消息, 所述请求消息中包含所述 UE的 RLC实体未收到所述 RNC 发送的所述响应消息的标识信息, 以使所述 UE的 RRC实体根据所述标识信 息重新配置加密参数。
第八方面, 本发明实施例提供一种加密参数处理装置, 包括: 发送器、 接收器和处理器。
所述发送器, 用于向用户设备 (UE)的无线链路控制 (RLC) 实体发送加 密参数配置消息, 所述加密参数配置消息包含加密激活时间;
所述接收器, 用于接收所述 UE的 RLC实体发送的请求消息, 所述请求 消息中包含所述 UE的 RLC实体未收到无线网络控制器(RNC)发送的响应 消息的标识信息;
所述处理器, 用于根据所述标识信息, 重新配置加密参数; 向所述 UE 的 RLC实体发送新的加密参数配置消息,所述新的加密参数配置消息包含重 新配置的加密参数, 以使所述 UE的 RLC实体向所述 RNC发送所述新的加 密参数配置消息。
在第八方面的第一种可能的实现方式中, 所述接收器还用于: 在向 UE 的 RLC实体发送加密参数配置消息之前, 接收所述 RNC发送的配置消息, 以使所述 UE的无线资源控制实体根据所述配置消息配置加密参数。
第九方面, 本发明实施例提供一种加密参数处理装置, 包括: 接收器、 发送器和处理器;
所述接收器, 用于接收用户设备的无线资源控制实体发送的加密参数配 置消息, 所述加密参数配置消息包含加密激活时间;
所述发送器, 用于向无线网络控制器 (RNC) 发送所述加密参数配置消 息;
所述处理器, 用于确定在所述加密激活时间到达之前, 是否收到所述无 RNC发送的所述加密参数配置消息的响应消息; 若在所述加密激活时间到达 之前未收到所述无线网络控制器发送的所述加密参数配置消息的响应消息, 则将所述加密激活时间延迟一预设时长, 并将延迟的加密激活时间作为新的 加密激活时间。
在第九方面的第一种可能的实现方式中, 所述预设时长为 2.56秒。
本发明实施例加密参数处理方法和装置,通过接收 RRC发送的加密参数 通知消息, 加密参数通知消息包含加密激活时间, 并将加密参数通知消息发 送给 RNC, 在到达加密激活时间之前, 若未收到 RNC发送的确认消息, 则 向 RRC发送请求消息, 以使 RRC发送重新配置的加密参数, 实现了 RNC与
UE维护的加解密参数的一致性。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例一所提供的加密参数处理方法的流程图;
图 2为本发明实施例二所提供的加密参数处理方法的流程图;
图 3为本发明实施例三所提供的加密参数处理方法的流程图;
图 4为本发明实施例四所提供的加密参数处理方法的流程图;
图 5为本发明实施例五所提供的加密参数处理方法的信令流程图; 图 6为本发明实施例六所提供的加密参数处理装置 600的结构示意图; 图 7为本发明实施例七所提供的加密参数处理装置 700的结构示意图; 图 8为本发明实施例八所提供的加密参数处理装置 800的结构示意图; 图 9为本发明实施例九所提供的加密参数处理装置 900的结构示意图; 图 10为本发明实施例十所提供的加密参数处理装置 1000的结构示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 图 1为本发明实施例一所提供的加密参数处理方法的流程图。 本实施例 的方法适用于能够使 RNC与 UE维护的加解密参数保持一致的情况。该方法 由配置在 UE中的加密参数处理装置执行, 该装置通常以硬件和 /或软件的方 式来实现。
110、 UE的无线链路控制(Radio Link Control, 简称 RLC)实体接收 UE 的无线资源控制 (radio resource control, 简称 RRC) 实体发送的加密参数配 置消息, 加密参数配置消息包含加密激活时间。
其中, 本文所描述的实体, 在物理上即为一种功能单元或装置, 本申请 并不限制。
在涉及加密信息配置或重配的过程中, 由于不可避免的空口环境因素引 起 UE收到 RNC发送的配置消息后,不断的向 RNC传输加密参数配置消息, 加密参数配置消息中包含配置完成的加密参数" COUNT-C", "COUNT-C"共 32bit, 高 24bit为超帧号 (Hyper Frame Number, 简称 HFN) , 低 8bit为连 接帧号 (Connection Frame Number, 简称 CFN) , 其中, 加密激活时间由加 密参数配置消息中包含的 CFN决定。 在上述的 UE向 RNC传输加密参数配 置消息的过程是通过 UE的 RLC实体接收 UE的 RRC实体发送的加密参数配 置消息后, 不断的向 RNC传输该加密参数配置消息来实现的。
120、 UE的 RLC实体向 RNC发送加密参数配置消息。
每隔一个预设时间, UE的 RLC实体向 RNC发送一次加密参数配置消息, 如果在到达下一次发送加密参数配置消息时,没有收到 RNC发送的加密参数 配置消息的响应消息, 则会再次发送该加密参数配置消息。
130、 UE的 RLC实体确定在加密激活时间到达之前, 是否收到 RNC发 送的加密参数配置消息的响应消息。
140、 若 UE的 RLC实体在加密激活时间到达之前未收到 RNC发送的加 密参数配置消息的响应消息,则 UE的 RLC实体向 UE的 RRC实体发送请求 消息, 以使 UE的 RRC实体重新配置加密参数。
目前根据协议规定, 由于空口原因导致 UE的 RLC实体向 RNC传输加 密参数配置消息的时间小于 2秒时, 能够保证 UE和 RLC维护的加密参数一 致, 但是没有考虑到实际网络存在空口环境差, 导致 UE的 RLC实体向 RNC 传输加密参数配置消息的时间超过 2秒的现象普遍存在,致使目前网络中 UE 和 RLC维护的加密参数不一致的问题。 为了解决 UE的 RLC实体向 RNC传 输加密参数配置消息的时间超过 2秒时 UE和 RLC维护的加密参数不一致的 问题,步骤 130和步骤 140通过确定在加密激活时间到达之前,是否收到 RNC 发送的加密参数配置消息的响应消息, 如果 UE的 RLC实体没有收到 RNC 发送的加密参数配置消息的响应消息,则 UE的 RLC实体向 UE的 RRC实体 发送请求消息, 以使 UE的 RRC实体重新配置加密参数, 从而解决了现有技 术中在加密激活时间到达时, 如果 RNC还未收到 UE的 RLC实体发送的加 密参数配置消息,而 UE的 RLC实体却激活了加密参数,导致 UE和 RNC维 护的加密参数不一致的问题。
在本发明的另一实施例中, UE的 RLC实体接收到 UE的 RRC实体发送 的加密参数配置消息后, 向 RNC发送该加密参数配置消息, 并根据加密激活 时间确定是否向 UE的 RRC实体发送请求消息,以使 UE的 RRC实体重新配 置加密参数。
本实施例提供的加密参数处理方法, 通过 UE的 RLC实体向 RNC发送 加密参数配置消息, 并根据加密参数配置消息包含的加密激活时间确定是否 向 UE的 RRC实体发送请求消息, 以使 UE的 RRC实体重新配置加密参数。 从而解决了现有技术中在加密激活时间到达时,由于 RNC还没有收到加密参 数配置消息, 而 UE的 RLC实体在加密激活时间到达时激活加密参数, 导致 RNC与 UE维护的加密参数不一致的问题,实现了 RNC与 UE维护的加解密 参数的一致性。
图 2为本发明实施例二所提供的加密参数处理方法的流程图。
210、 UE的 RRC实体向 UE的 RLC实体发送加密参数配置消息, 加密 参数配置消息包含加密激活时间。
UE的 RRC实体向 UE的 RLC实体发送加密参数配置消息, 加密参数配 置消息包含加密激活时间, 以便 UE的 RLC实体收到加密参数配置消息后向 RNC发送加密参数配置消息,并根据加密激活时间确定是否向 UE的 RRC实 体发送请求消息。
220、 UE的 RRC实体接收 UE的 RLC实体发送的请求消息, 请求消息 中包含 UE的 RLC实体未收到 RNC发送的响应消息的标识信息。
230、 UE的 RRC实体根据标识信息, 重新配置加密参数。 240、 UE的 RRC实体向 UE的 RLC实体发送新的加密参数配置消息, 新的加密参数配置消息包含重新配置的加密参数, 以使 UE 的 RLC 实体向 RNC发送新的加密参数配置消息。
在步骤 220至步骤 240中, UE的 RRC实体接收 UE的 RLC实体发送的 请求消息, 并根据请求消息中包含的 UE的 RLC实体未收到 RNC发送的响 应消息的标识信息, 重新配置加密参数, 把重新配置的加密参数发送给 UE 的 RLC实体, 以使 UE的 RLC实体向 RNC发送新的加密参数配置消息。
本实施例提供的加密参数处理方法, 通过 UE的 RRC实体接收到 UE的 RLC实体发送的请求消息后, 重新配置加密参数, 并向 UE的 RLC实体发送 重新配置的加密参数, 以使 UE的 RLC实体向 RNC发送新的加密参数配置 消息。 从而实现了 RNC与 UE维护的加解密参数的一致性。
图 3为本发明实施例三所提供的加密参数处理方法的流程图。
310、 UE的 RLC实体接收 UE的 RRC实体发送的加密参数配置消息, 加密参数配置消息包含加密激活时间;
320、 UE的 RLC实体向 RNC发送加密参数配置消息;
330、 UE的 RLC实体确定在加密激活时间到达之前, 是否收到 RNC发 送的加密参数配置消息的响应消息;
340、 若 UE的 RLC实体在加密激活时间到达之前未收到 RNC发送的加 密参数配置消息的响应消息, 则 UE的 RLC实体将加密激活时间延迟一预设 时长, 并将延迟的加密激活时间作为新的加密激活时间。
预设时长为 2.56秒, 因为 UE的 RLC实体将加密激活时间延迟 2.56秒 后,换算成的表示新的加密激活时间的 CFN与延迟 2.56秒前的表示加密激活 时间的 CFN是一致的, 因此 UE的 RLC实体只需在新的加密激活时间到达 前, 确定是否收到 RNC发送的加密参数配置消息的响应消息, 不需向 UE的 RRC实体发送请求消息, 一直向 RNC发送第一次从 UE的 RRC实体接收到 的加密参数配置消息。 如果在新的加密激活时间到达前, UE的 RLC实体收 到 RNC 发送的加密参数配置消息的响应消息, 则在新的加密激活时间到达 时, UE的 RLC实体与 RNC在该新的加密激活时间同时激活加密参数。如果 在新的加密激活时间到达前, UE的 RLC实体仍然没有收到 RNC发送的加密 参数配置消息的响应消息, 则继续延迟 2.56秒后继续上述的过程, 直到收到 RNC发送的加密参数配置消息的响应消息或者信令无线承载复位导致掉话。 本实施例提供的加密参数处理方法, 通过 UE的 RLC实体向 RNC发送 加密参数配置消息, 如果没有收到 RNC 发送的加密参数配置消息的响应消 息, 则加密激活时间延迟 2.56秒后作为新的加密激活时间, 在新的加密激活 时间到达前确定是否收到响应消息。 从而解决了现有技术中在加密激活时间 到达时, 由于 RNC还没有收到加密参数配置消息, 而 UE的 RLC实体在加 密激活时间到达时激活加密参数, 导致 RNC与 UE维护的加密参数不一致的 问题, 实现了 RNC与 UE维护的加解密参数的一致性。
本实施例以上述实施例一和实施例二为基础, 进一步进行了优化, 图 4 为本发明实施例四所提供的加密参数处理方法的流程图。 本实施例以 UE 的 RLC实体在接收到 UE的 RRC实体第 2次发送的加密参数配置消息到该加密 参数配置消息所配置的加密激活时间之间,收到了 RNC发送的该加密参数配 置消息的响应消息为例, 具体介绍加密参数处理方法的整个流程。
410、 UE的 RRC实体接收 RNC发送的配置消息, 以使 UE的 RRC实体 根据配置消息配置加密参数。
420、 UE的 RLC实体接收 UE的 RRC实体发送的加密参数配置消息, 加密参数配置消息包含加密激活时间;
430、 UE的 RLC实体向 RNC发送加密参数配置消息。
440、 UE的 RLC实体确定在加密激活时间到达之前, 是否收到 RNC发 送的加密参数配置消息的响应消息。
450、 UE 的 RLC 实体根据第一传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是否向 UE的 RRC实体发送请求消息。
举例来说, UE的 RLC实体根据第一传输次数 MaxDAT(N)和第二传输次 数 X(N), 确定是否向 UE的 RRC实体发送请求消息可以通过如下方式实现: 当 N=l 时, MaxDAT(N)=MaxDAT, 如果 MaxDAT(N) > X(N)+1, 则当 Y(N)=X(N), 则确定向 RRC发送请求消息; 相应地, UE的 RRC实体重新配 置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N)-l。
当 N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向 UE 的 RRC实体发送请求消息; 相应地, UE的 RRC实体重新配置加密参数后, MaxDAT(N+l )=MaxDAT(N)-Y(N) , 其中 Ν为大于等于 2的整数。 其中, MaxDAT为: UE的 RLC实体复位前所允许的向 RNC传输加密 参数配置消息的最大传输次数; MaxDAT(N)为: UE 的 RLC 实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息后所允许的向 RNC传输加 密参数配置消息的最大传输次数; X(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息到该加密参数配置消息所配置的加 密激活时间之间所允许的向 RNC传输加密参数配置消息的最大传输次数。 Y(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配 置消息后向 RNC实际发送该加密参数配置消息的次数,其中 N为大于等于 1 的整数。
上述的 X(N)可以通过如下方式计算获得:若 CFN(cipher)(N)>CFN(frame)
(N), 则 X(N)=int ((CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer— Poll); 若 CFN(cipher)(N)<CFN(frame)(N),则 X(N)=int((CFN(cipher)(N)-CFN(frame) (N) +256)* lOms/timer— Poll) 。
其中, CFN(cipher)(N)为: UE的 RLC实体接收的 UE的 RRC实体第 N 次发送的加密参数配置消息中携带的表示加密激活时间的 CFN ; CFN frame)(N)为: UE的 RLC实体第一次向 RNC发送接收的 UE的 RRC实 体第 N次发送的加密参数配置消息时的 CFN, timer— Poll为: UE的 RLC实 体向 RNC 发送两次加密参数配置消息之间的时间间隔, ms 表示毫秒, int( (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer— Poll)表示对(CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值取整, int((CFN(cipher) ( N ) -CFN(frame) ( N ) +256)* lOms/timer— Poll)表示对(CFN(cipher) ( N ) -CFN(frame) (N) +256)*10ms/timer_Poll计算出的数值取整; X(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息到该加 密参数配置消息所配置的加密激活时间之间所允许的向 RNC 传输加密参数 配置消息的最大传输次数。 Y(N)为: UE的 RLC实体在接收到 UE的 RRC实 体第 N次发送的加密参数配置消息后向 RNC实际发送该加密参数配置消息 的次数, 其中 N为大于等于 1的整数。
460、 UE的 RLC实体向 UE的 RRC实体发送请求消息,以使 UE的 RRC 实体重新配置加密参数。
470、 UE的 RRC实体向 UE的 RLC实体发送新的加密参数配置消息, 新的加密参数配置消息包含重新配置的加密参数, 以使 UE 的 RLC 实体向 RNC发送新的加密参数配置消息。
本实施例提供的加密参数处理方法, 通过在加密激活时间到达时, 如果 没有收到 RNC发送的响应消息, 则不激活加密参数, 而是根据第一传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是否向 UE的 RRC实体发送请求消 息,如果向 UE的 RRC实体发送请求消息,则可以接收到 UE的 RRC实体重 新配置的加密参数, 以实现后续可以向 RNC发送重新配置的加密参数, 实现 RNC与 UE维护的加解密参数的一致性。
图 5为本发明实施例五所提供的加密参数处理方法的信令流程图。 本实 施例以 UE的 RLC实体在接收到 UE的 RRC实体第 2次发送的加密参数配置 消息到该加密参数配置消息所配置的加密激活时间之间,收到了 RNC发送的 该加密参数配置消息的响应消息为例, 具体介绍加密参数处理方法的整个流 程。
501、 UE的 RRC实体接收 RNC发送的配置消息, 以使 UE的 RRC实体 根据配置消息配置加密参数。
502、 UE的 RLC实体接收 UE的 RRC实体发送的加密参数配置消息, 加密参数配置消息包含加密激活时间;
503、 UE的 RLC实体向 RNC发送接收到的加密参数配置消息。
504、 UE的 RLC实体确定在加密激活时间 T1到达之前, 是否收到 RNC 发送的加密参数配置消息的响应消息。 如果未收到, 执行 450。
505、 UE 的 RLC 实体根据第一传输次数 MaxDAT(l)和第二传输次数 X(l), 确定向 UE的 RRC实体发送请求消息。
如果网络配置的 MAXDAT=25, timer_Poll=300ms, CFN(cipher)(l)=220, CFN(frame)(l)=0, 贝 lj X( 1 )=int((220-0)* 10/300)=7 , 则在从 CFN(frame)(l)=0 至 CFN(cipher)(l)=220表示的加密激活时间为 2200ms之间, UE的 RLC实体 最大可以向 RNC传输 7次该加密参数配置消息, 由于 MaxDAT(l)=25>8, 则 确定在 Y 1)=7时, UE的 RLC实体向 UE的 RRC实体发送请求消息。 UE的 RLC 实 体 向 UE 的 RRC 实 体 发 送 请 求 消 息 后 , MaxDAT(2)=MaxDAT( 1 )-7- 1 = 17。
506、 UE的 RLC实体向 UE的 RRC实体发送请求消息,以使 UE的 RRC 实体重新配置加密参数。
507、 UE的 RRC实体向 UE的 RLC实体发送新的加密参数配置消息, 新的加密参数配置消息包含重新配置的加密参数。
508、 UE的 RLC实体向 RNC发送新的加密参数配置消息。
在步骤 506至步骤 508中, UE的 RRC实体收到请求消息后, 重新配置 加密参数, 并在 Y(¾=l时, 也即在 UE的 RLC实体向 RNC第 8次发送加密 参数配置消息时, UE的 RLC实体开始向 RNC发送新的加密参数配置消息, 新的加密参数配置消息包含重新配置的加密参数。
509、 UE的 RLC实体接收 RNC发送的新的加密参数配置消息的响应消 息。
需要说明的是, 在步骤 505至步骤 509中, 以在 UE的 RLC实体向 UE 的 RRC实体发送了一次请求消息后, 向 RNC发送更新的加密参数配置消息 的过程中收到了 RNC的响应消息。 如果在此过程中仍然没有收到 RNC的响 应消息, 则可以根据 MaxDAT(2)=MaxDAT(l)-7-l=17>X(2)=7,在 Y(2)=7时, 向 UE的 RRC实体发送请求消息。 当然 Χ(2)的值也可以不为 7, Χ(2)的值以 网络配置的 CFN(cipher)(N)、 CFN(frame)(N)和 timer— Poll 确定, 在此仅以 X(2)=X(1)=7为例进行介绍。
510、 UE的 RLC实体在新的加密激活时间 T2到达时激活新的加密参数 配置消息中包含的加密参数。
511、 RNC在新的加密激活时间 T2到达时激活新的加密参数配置消息中 包含的加密参数。
在步骤 509至步骤 510中, 如果在 Y(¾=7之前, UE的 RLC实体接收到 RNC发送的新的加密参数配置消息的响应消息,则 UE和 RNC都在重新配置 的加密参数中的 CFN表示的新的加密激活时间到达时, 激活加密参数。
在此仅以 Υ(2)=4时, UE的 RLC实体接收到 RNC发送的新的加密参数配置 消息的响应消息为例进行说明, 由于 RNC向 UE的 RLC实体发送了新的加 密参数配置消息的响应消息, 因此 UE和 RNC都在重新配置的加密参数中的 CFN表示的新的加密激活时间 Τ2到达时, 激活加密参数, 从而保证了双方 维护的加密参数的一致性。
本实施例提供的加密参数处理方法, 通过在加密激活时间到达时, 如果 没有收到 RNC发送的响应消息, 则不激活加密参数, 而是根据第一传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是否向 UE的 RRC实体发送请求消 息,如果向 UE的 RRC实体发送请求消息,则可以接收到 UE的 RRC实体重 新配置的加密参数, 以实现后续可以向 RNC发送重新配置的加密参数, 实现 RNC与 UE维护的加解密参数的一致性。
图 6为本发明实施例六所提供的加密参数处理装置 600的结构示意图。 本实施例的装置适用于能够使 RNC与 UE维护的加解密参数保持一致的情 况。 该装置通常以硬件和 /或软件的方式来实现。 参照图 6, 该加密参数处理 装置包括如下模块: 消息接收模块 610、 消息发送模块 620、 响应消息确定模 块 630和请求消息发送模块 640。
消息接收模块 610用于接收 UE的 RRC实体发送的加密参数配置消息, 加密参数配置消息包含加密激活时间; 消息发送模块 620用于向无线网络控 制器 (RNC) 发送加密参数配置消息; 响应消息确定模块 630用于确定在加 密激活时间到达之前, 是否收到 RNC发送的加密参数配置消息的响应消息; 请求消息发送模块 640用于若在加密激活时间到达之前未收到无线网络控制 器发送的加密参数配置消息的响应消息,则向 UE的 RRC实体发送请求消息, 以使 UE的 RRC实体重新配置加密参数。
进一步的, 加密参数处理装置 600还包括: 请求消息确定模块, 用于在 向 UE的 RRC实体发送请求消息之前, 根据第一传输次数 MaxDAT(N)和第 二传输次数 X(N), 确定是否向 UE 的 RRC 实体发送请求消息; 其中, MaxDAT(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加 密参数配置消息后所允许的向 RNC传输加密参数配置消息的最大传输次数; X(N)¾ : UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配 置消息到该加密参数配置消息所配置的加密激活时间之前所允许的向 RNC 传输该加密参数配置消息的最大传输次数。
进一步的, 请求消息确定模块具体用于: 当 N=l 时, MaxDAT(N)=MaxDAT , 如果 MaxDAT(N)>X(N)+l, 贝 lj当 Y(N)=X(N), 则确 定向 RRC发送请求消息; 相应地, UE的 RRC实体重新配置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N)-l; 当 N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向 UE的 RRC实体发送请求消息; 相应地, UE的 RRC实体重新配置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N),其中 N为 大于等于 2的整数; 其中, MaxDAT为: UE的 RLC实体复位前所允许的向 RNC传输加密参数配置消息的最大传输次数; MaxDAT(N)为: UE的 RLC实 体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息后所允许的向 RNC传输加密参数配置消息的最大传输次数; X(N)为: UE的 RLC实体在接 收到 UE的 RRC实体第 N次发送的加密参数配置消息到该加密参数配置消息 所配置的加密激活时间之间所允许的向 RNC传输加密参数配置消息的最大 传输次数。 Y(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的 加密参数配置消息后向 RNC 实际发送该加密参数配置消息的次数, 其中 N 为大于等于 1的整数。
进一步的, 本实施例中的的 X(N)可以通过如下方式计算获得: 若 CFN(cipher) (N ) >CFN(frame) (N ),则 X(N)=int((CFN(cipher)(N)-CFN(frame) (N) )*10ms/timer— Poll);若 CFN(cipher) (N) <CFN(frame) (N),则 X(N)=int ((CFN(cipher) (N) -CFN(frame) (N) +256)* lOms/timer— Poll) 。
其中, CFN(cipher)(N)为: UE的 RLC实体接收的 UE的 RRC实体第 N 次发送的加密参数配置消息中携带的表示加密激活时间的 CFN ; CFN frame)(N)为: UE的 RLC实体第一次向 RNC发送接收的 UE的 RRC实 体第 N次发送的加密参数配置消息时的 CFN, timer— Poll为: UE的 RLC实 体向 RNC 发送两次加密参数配置消息之间的时间间隔, ms 表示毫秒, int( ( CFN(cipher) (N ) -CFN(frame) (N ) )* 1 Oms/timer— Poll)表示对( CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值取整, int((CFN(cipher) ( N ) -CFN(frame) ( N ) +256)* 1 Oms/timer— Poll)表示对(CFN(cipher) ( N ) -CFN(frame) (N) +256)*10ms/timer_Poll计算出的数值取整; X(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息到该加 密参数配置消息所配置的加密激活时间之间所允许的向 RNC 传输加密参数 配置消息的最大传输次数。 Y(N)为: UE的 RLC实体在接收到 UE的 RRC实 体第 N次发送的加密参数配置消息后向 RNC实际发送该加密参数配置消息 的次数, 其中 N为大于等于 1的整数。
进一步的, 请求消息发送模块 640具体用于向 UE的 RRC实体发送请求 消息, 请求消息中包含 UE的 RLC实体未收到 RNC发送的响应消息的标识 信息, 以使 UE的 RRC实体根据标识信息重新配置加密参数。
本实施例提供的加密参数处理装置, 通过向 RNC 发送加密参数配置消 息, 并根据加密参数配置消息包含的加密激活时间确定是否向 UE的 RRC实 体发送请求消息, 以使 UE的 RRC实体重新配置加密参数。 从而解决了现有 技术中在加密激活时间到达时, 由于 RNC还没有收到加密参数配置消息, 而 UE的 RLC实体在加密激活时间到达时激活加密参数, 导致 RNC与 UE维护 的加密参数不一致的问题, 实现了 RNC与 UE维护的加解密参数的一致性。
图 7为本发明实施例七所提供的加密参数处理装置 700的结构示意图。 参照图 7, 该加密参数处理装置包括如下模块: 第一消息发送模块 710、 请求 消息接收模块 720、 加密参数配置模块 730和第二消息发送模块 740。
第一消息发送模块 710用于向 UE的 RLC实体发送加密参数配置消息, 加密参数配置消息包含加密激活时间; 请求消息接收模块 720用于接收 UE 的 RLC实体发送的请求消息, 请求消息中包含 UE的 RLC实体未收到无线 网络控制器 (RNC) 发送的响应消息的标识信息; 加密参数配置模块 730用 于根据标识信息, 重新配置加密参数; 第二消息发送模块 740用于向 UE的 RLC实体发送新的加密参数配置消息, 新的加密参数配置消息包含重新配置 的加密参数, 以使 UE的 RLC实体向 RNC发送新的加密参数配置消息。
进一步的, 加密参数处理装置 700还包括: 重配消息接收模块, 用于在 向 UE的 RLC实体发送加密参数配置消息之前, 接收 RNC发送的配置消息, 以使 UE的 RRC实体根据配置消息配置加密参数。
本实施例提供的加密参数处理装置, 通过接收到 UE的 RLC实体发送的 请求消息后, 重新配置加密参数, 并向 UE的 RLC实体发送重新配置的加密 参数, 以使 UE的 RLC实体向 RNC发送新的加密参数配置消息。 从而实现 了 RNC与 UE维护的加解密参数的一致性。
图 8为本发明实施例八所提供的加密参数处理装置 800的结构示意图。 参照图 8, 该加密参数处理装置包括如下模块: 消息接收模块 810、 消息发送 模块 820、 响应消息确定模块 830和加密激活时间处理模块 840。
消息接收模块 810用于接收 UE的 RRC实体发送的加密参数配置消息, 加密参数配置消息包含加密激活时间; 消息发送模块 820用于向无线网络控 制器 (RNC) 发送加密参数配置消息; 响应消息确定模块 830用于确定在加 密激活时间到达之前, 是否收到 RNC发送的加密参数配置消息的响应消息; 加密激活时间处理模块 840用于若在加密激活时间到达之前未收到无线网络 控制器发送的加密参数配置消息的响应消息, 则将加密激活时间延迟一预设 时长 加密激活时间。
Figure imgf000021_0001
本实施例提供的加密参数处理装置, 通过向 RNC 发送加密参数配置消 息, 如果没有收到 RNC发送的加密参数配置消息的响应消息, 则加密激活时 间延迟 2.56秒后作为新的加密激活时间, 在新的加密激活时间到达前确定是 否收到响应消息。 从而解决了现有技术中在加密激活时间到达时, 由于 RNC 还没有收到加密参数配置消息, 而 UE的 RLC实体在加密激活时间到达时激 活加密参数, 导致 RNC与 UE维护的加密参数不一致的问题, 实现了 RNC 与 UE维护的加解密参数的一致性。
图 9为本发明实施例九所提供的加密参数处理装置 900的结构示意图。 本实施例的装置适用于能够使 RNC与 UE维护的加解密参数保持一致的情 况。 参照图 9, 该加密参数处理装置包括: 接收器 910、 发送器 920和处理器 930。
接收器 910用于接收 UE的 RRC实体发送的加密参数配置消息, 加密参 数配置消息包含加密激活时间; 发送器 920用于向无线网络控制器 (RNC) 发送加密参数配置消息; 处理器 930用于确定在加密激活时间到达之前, 是 否收到 RNC发送的加密参数配置消息的响应消息;若在加密激活时间到达之 前未收到无线网络控制器发送的加密参数配置消息的响应消息, 则向 UE 的 RRC实体发送请求消息, 以使 UE的 RRC实体重新配置加密参数。
进一步的, 处理器 930还用于在向 UE的 RRC实体发送请求消息之前, 根据第一传输次数 MaxDAT(N)和第二传输次数 X(N),确定是否向 UE的 RRC 实体发送请求消息; 其中, MaxDAT(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息后所允许的向 RNC传输加密参数 配置消息的最大传输次数; X(N)为: UE的 RLC实体在接收到 UE的 RRC实 体第 N次发送的加密参数配置消息到该加密参数配置消息所配置的加密激活 时间之前所允许的向 RNC传输该加密参数配置消息的最大传输次数。
进一步的, 处理器 930还具体用于: 当 N=l时, MaxDAT(N)=MaxDAT, 如果 MaxDAT(N)>X(N)+l,则当 Y(N)=X(N),则确定向 RRC发送请求消息; 相 应 地 , UE 的 RRC 实 体 重 新 配 置 加 密 参 数 后 , MaxDAT(N+l)=MaxDAT(N)-Y(N)-l; 当 N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向 UE的 RRC实体发送请求消息,其中 N为大于等 于 2 的整数; 相应地, UE 的 RRC 实体重新配置加密参数后, MaxDAT(N+l )=MaxDAT(N)-Y(N); 其中, MaxDAT为: UE的 RLC实体复 位前所允许的向 RNC传输加密参数配置消息的最大传输次数; MaxDAT(N) 为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消 息后所允许的向 RNC传输加密参数配置消息的最大传输次数; X(N)为: UE 的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息到该 加密参数配置消息所配置的加密激活时间之间所允许的向 RNC传输加密参 数配置消息的最大传输次数。 Y(N)为: UE的 RLC实体在接收到 UE的 RRC 实体第 N次发送的加密参数配置消息后向 RNC实际发送该加密参数配置消 息的次数, 其中 N为大于等于 1的整数。
进一步的, 本实施例中的的 X(N)可以通过如下方式计算获得: 若
CFN(cipher) (N ) >CFN(frame) (N ),则 X(N)=int((CFN(cipher)(N)-CFN(frame) (N) )*10ms/timer— Poll);若 CFN(cipher) (N) <CFN(frame) (N),则 X(N)=int ((CFN(cipher) (N) -CFN(frame) (N) +256)* lOms/timer— Poll) 。
其中, CFN(cipher)(N)为: UE的 RLC实体接收的 UE的 RRC实体第 N 次发送的加密参数配置消息中携带的表示加密激活时间的 CFN ; CFN frame)(N)为: UE的 RLC实体第一次向 RNC发送接收的 UE的 RRC实 体第 N次发送的加密参数配置消息时的 CFN, timer— Poll为: UE的 RLC实 体向 RNC 发送两次加密参数配置消息之间的时间间隔, ms 表示毫秒, int( (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer— Poll)表示对(CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值取整, int((CFN(cipher) ( N ) -CFN(frame) ( N ) +256)* lOms/timer— Poll)表示对(CFN(cipher) ( N ) -CFN(frame) (N) +256)*10ms/timer_Poll计算出的数值取整; X(N)为: UE的 RLC实体在接收到 UE的 RRC实体第 N次发送的加密参数配置消息到该加 密参数配置消息所配置的加密激活时间之间所允许的向 RNC 传输加密参数 配置消息的最大传输次数。 Y(N)为: UE的 RLC实体在接收到 UE的 RRC实 体第 N次发送的加密参数配置消息后向 RNC实际发送该加密参数配置消息 的次数, 其中 N为大于等于 1的整数。
进一步的, 处理器 930具体用于向 UE的 RRC实体发送请求消息, 请求 消息中包含 UE的 RLC实体未收到 RNC发送的响应消息的标识信息, 以使 UE的 RRC实体根据标识信息重新配置加密参数。
本实施例提供的加密参数处理装置, 通过向 RNC 发送加密参数配置消 息, 并根据加密参数配置消息包含的加密激活时间确定是否向 UE的 RRC实 体发送请求消息, 以使 UE的 RRC实体重新配置加密参数。 从而解决了现有 技术中在加密激活时间到达时, 由于 RNC还没有收到加密参数配置消息, 而 UE的 RLC实体在加密激活时间到达时激活加密参数, 导致 RNC与 UE维护 的加密参数不一致的问题, 实现了 RNC与 UE维护的加解密参数的一致性。
图 10为本发明实施例十所提供的加密参数处理装置 1000的结构示意图。 参照图 10, 该加密参数处理装置包括: 发送器 1010、 接收器 1020和处理器 1030。
发送器 1010用于向 UE的 RLC实体发送加密参数配置消息, 加密参数 配置消息包含加密激活时间; 接收器 1020用于接收 UE的 RLC实体发送的 请求消息, 请求消息中包含 UE的 RLC实体未收到无线网络控制器 (RNC) 发送的响应消息的标识信息; 处理器 1030用于根据标识信息, 重新配置加密 参数; 向 UE的 RLC实体发送新的加密参数配置消息, 新的加密参数配置消 息包含重新配置的加密参数, 以使 UE的 RLC实体向 RNC发送新的加密参 数配置消息。
进一步的, 接收器 1020还用于在向 UE的 RLC实体发送加密参数配置 消息之前, 接收 RNC发送的配置消息, 以使 UE的 RRC实体根据配置消息 配置加密参数。
本实施例提供的加密参数处理装置, 通过接收到 UE的 RLC实体发送的 请求消息后, 重新配置加密参数, 并向 UE的 RLC实体发送重新配置的加密 参数, 以使 UE的 RLC实体向 RNC发送新的加密参数配置消息。 从而实现 了 RNC与 UE维护的加解密参数的一致性。
参见图 9, 本实施例提供的加密参数处理装置的结构图与图 9相同。 在 本实施例中, 接收器用于接收 UE的 RRC实体发送的加密参数配置消息, 加 密参数配置消息包含加密激活时间; 发送器用于向无线网络控制器 (RNC) 发送加密参数配置消息; 处理器用于确定在加密激活时间到达之前, 是否收 到 RNC发送的加密参数配置消息的响应消息;若在加密激活时间到达之前未 收到无线网络控制器发送的加密参数配置消息的响应消息, 则将加密激活时 间延迟一预设时长, 并将延迟的加密激活时间作为新的加密激活时间。
进一步的, 预设时长可以为 2.56秒。
本实施例提供的加密参数处理装置, 通过向 RNC 发送加密参数配置消 息, 如果没有收到 RNC发送的加密参数配置消息的响应消息, 则加密激活时 间延迟 2.56秒后作为新的加密激活时间, 在新的加密激活时间到达前确定是 否收到响应消息。 从而解决了现有技术中在加密激活时间到达时, 由于 RNC 还没有收到加密参数配置消息, 而 UE的 RLC实体在加密激活时间到达时激 活加密参数, 导致 RNC与 UE维护的加密参数不一致的问题, 实现了 RNC 与 UE维护的加解密参数的一致性。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: ROM、 RAM,磁碟或者光盘等各种可以存储程序代码 的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权利 要 求
1、 一种加密参数处理方法, 其特征在于, 包括:
用户设备的无线链路控制实体接收用户设备的无线资源控制实体发送的 加密参数配置消息, 所述加密参数配置消息包含加密激活时间;
所述用户设备的无线链路控制实体向无线网络控制器发送所述加密参数 配置消息;
所述用户设备的无线链路控制实体确定在所述加密激活时间到达之前, 是否收到所述无线网络控制器发送的所述加密参数配置消息的响应消息; 若所述用户设备的无线链路控制实体在所述加密激活时间到达之前未收 到所述无线网络控制器发送的所述加密参数配置消息的响应消息, 则所述用 户设备的无线链路控制实体向所述用户设备的无线资源控制实体发送请求消 息, 以使所述用户设备的无线资源控制实体重新配置加密参数。
2、 根据权利要求 1所述的方法, 其特征在于, 所述用户设备的无线链路 控制实体向所述用户设备的无线资源控制实体发送请求消息之前, 所述方法 还包括:
所述用户设备的无线链路控制实体根据第一传输次数 MaxDAT(N)和第 二传输次数 X(N), 确定是否向所述用户设备的无线资源控制实体发送请求消 息;
其中, 所述 MaxDAT(N)为: 所述用户设备的无线链路控制实体在接收到 所述用户设备的无线资源控制实体第 N次发送的加密参数配置消息后所允许 的向所述无线网络控制器传输加密参数配置消息的最大传输次数;
所述 X(N)为: 所述用户设备的无线链路控制实体在接收到所述用户设备 的无线资源控制实体第 N次发送的加密参数配置消息到该加密参数配置消息 所配置的加密激活时间之前所允许的向所述无线网络控制器传输该加密参数 配置消息的最大传输次数。
3、 根据权利要求 2所述的方法, 其特征在于, 所述用户设备的无线链路 控制实体根据第一传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是否向 所述用户设备的无线资源控制实体发送请求消息, 包括:
当 N=l 时, MaxDAT(N)=MaxDAT, 如果 MaxDAT(N)>X(N)+l, 则当 Y(N)=X(N), 则确定向所述无线资源控制发送请求消息; 相应地, 所述用户 设 备 的 无 线 资 源 控 制 实 体 重 新 配 置 加 密 参 数 后 ,
MaxDAT(N+ 1 )=MaxDAT(N)- Y(N)- 1;
N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向所述 用户设备的无线资源控制实体发送请求消息; 相应地, 所述用户设备的无线 资源控制实体重新配置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N),其中 N为大于等于 2的整数;
其中, 所述 MaxDAT为: 所述用户设备的无线链路控制实体复位前所允 许的向所述无线网络控制器传输加密参数配置消息的最大传输次数, 其中 N 为大于等于 1的整数;
所述 Y(N)为: 所述用户设备的无线链路控制实体在接收到所述用户设备 的无线资源控制实体第 N次发送的加密参数配置消息后向所述无线网络控制 器实际发送该加密参数配置消息的次数。
4、 根据权利要求 3 所述的方法, 其特征在于, 若 CFN(cipher) (N) >CFN(frame) ( N ) , 贝 'J X(N)=int( ( CFN(cipher) ( N ) -CFN(frame) (N) )*10ms/timer— Poll);
若 CFN(cipher) (N) <CFN(frame) (N) , 贝 'J X(N)=int((CFN(cipher) (N) -CFN(frame) (N) +256)* lOms/timer— Poll);
其中, 所述 CFN^ipher^N)为: 所述用户设备的无线链路控制实体接收 的所述用户设备的无线资源控制实体第 N次发送的加密参数配置消息中携带 的表示加密激活时间的连接帧号 CFN;
所述 CFN(frameXN)为:所述用户设备的无线链路控制实体第一次向所述 无线网络控制器发送接收的所述用户设备的无线资源控制实体第 N次发送的 加密参数配置消息时的 CFN;
所述 timer— Poll 为: 所述用户设备的无线链路控制实体向所述无线网络 控制器发送两次所述加密参数配置消息之间的时间间隔;
ms表示毫秒, int( (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll) 表示对(CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值 取整, int((CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll)表示对 (CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll计算出的数值取 整。
5、 根据权利要求 1〜4中任一项所述的方法, 其特征在于, 所述用户设备 的无线链路控制实体向所述用户设备的无线资源控制实体发送请求消息, 以 使所述用户设备的无线资源控制实体重新配置加密参数, 包括:
所述用户设备的无线链路控制实体向所述用户设备的无线资源控制实体 发送请求消息, 所述请求消息中包含所述用户设备的无线链路控制实体未收 到所述无线网络控制器发送的所述响应消息的标识信息, 以使所述用户设备 的无线资源控制实体根据所述标识信息重新配置加密参数。
6、 一种加密参数处理方法, 包括:
用户设备的无线资源控制实体向用户设备的无线链路控制实体发送加密 参数配置消息, 所述加密参数配置消息包含加密激活时间;
所述用户设备的无线资源控制实体接收所述用户设备的无线链路控制实 体发送的请求消息, 所述请求消息中包含所述用户设备的无线链路控制实体 未收到无线网络控制器发送的响应消息的标识信息;
所述用户设备的无线资源控制实体根据所述标识信息, 重新配置加密参 数;
所述用户设备的无线资源控制实体向所述用户设备的无线链路控制实体 发送新的加密参数配置消息, 所述新的加密参数配置消息包含重新配置的加 密参数, 以使所述用户设备的无线链路控制实体向所述无线网络控制器发送 所述新的加密参数配置消息。
7、 根据权利要求 6所述的方法, 其特征在于, 在所述用户设备的无线资 源控制实体向用户设备的无线链路控制实体发送加密参数配置消息之前, 所 述方法还包括:
所述用户设备的无线资源控制实体接收所述无线网络控制器发送的配置 消息, 以使所述用户设备的无线资源控制实体根据所述配置消息配置加密参 数。
8、 一种加密参数处理方法, 其特征在于, 包括:
用户设备的无线链路控制实体接收用户设备的无线资源控制实体发送的 加密参数配置消息, 所述加密参数配置消息包含加密激活时间;
所述用户设备的无线链路控制实体向无线网络控制器发送所述加密参数 配置消息; 所述用户设备的无线链路控制实体确定在所述加密激活时间到达之前, 是否收到所述无线网络控制器发送的所述加密参数配置消息的响应消息; 若所述用户设备的无线链路控制实体在所述加密激活时间到达之前未收 到所述无线网络控制器发送的所述加密参数配置消息的响应消息, 则所述用 户设备的无线链路控制实体将所述加密激活时间延迟一预设时长, 并将延迟 的加密激活时间作为新的加密激活时间。
9、 根据权利要求 8所述的方法, 其特征在于, 所述预设时长为 2.56秒。
10、 一种加密参数处理装置, 其特征在于, 包括:
消息接收模块, 用于接收用户设备的无线资源控制实体发送的加密参数 配置消息, 所述加密参数配置消息包含加密激活时间;
消息发送模块, 用于向无线网络控制器发送所述加密参数配置消息; 响应消息确定模块, 用于确定在所述加密激活时间到达之前, 是否收到 所述无线网络控制器发送的所述加密参数配置消息的响应消息;
请求消息发送模块, 用于若在所述加密激活时间到达之前未收到所述无 线网络控制器发送的所述加密参数配置消息的响应消息, 则向所述用户设备 的无线资源控制实体发送请求消息, 以使所述用户设备的无线资源控制实体 重新配置加密参数。
11、 根据权利要求 10所述的装置, 其特征在于, 还包括:
请求消息确定模块, 用于在向所述用户设备的无线资源控制实体发送请 求消息之前, 根据第一传输次数 MaxDAT(N)和第二传输次数 X(N), 确定是 否向所述用户设备的无线资源控制实体发送请求消息;
其中, 所述 MaxDAT(N)为: 所述用户设备的无线链路控制实体在接收到 所述用户设备的无线资源控制实体第 N次发送的加密参数配置消息后所允许 的向所述无线网络控制器传输加密参数配置消息的最大传输次数;
所述 X(N)为: 所述用户设备的无线链路控制实体在接收到所述用户设备 的无线资源控制实体第 N次发送的加密参数配置消息到该加密参数配置消息 所配置的加密激活时间之前所允许的向所述无线网络控制器传输该加密参数 配置消息的最大传输次数。
12、根据权利要求 11所述的装置,其特征在于,所述请求消息确定模块, 具体用于: 当 N=l 时, MaxDAT(N)=MaxDAT, 如果 MaxDAT(N)>X(N)+l, 则当 Y(N)=X(N), 则确定向所述无线资源控制发送请求消息; 相应地, 所述用户 设 备 的 无 线 资 源 控 制 实 体 重 新 配 置 加 密 参 数 后 , MaxDAT(N+ 1 )=MaxDAT(N)- Y(N)- 1;
N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向所述 用户设备的无线资源控制实体发送请求消息; 相应地, 所述用户设备的无线 资源控制实体重新配置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N),其中 N为大于等于 2的整数;
其中, 所述 MaxDAT为: 所述用户设备的无线链路控制实体复位前所允 许的向所述无线网络控制器传输加密参数配置消息的最大传输次数;
所述 Y(N)为: 所述用户设备的无线链路控制实体在接收到所述用户设备 的无线资源控制实体第 N次发送的加密参数配置消息后向所述无线网络控制 器实际发送该加密参数配置消息的次数。
13、 根据权利要求 12所述的装置, 其特征在于, 若 CFN(cipher) (N) >CFN(frame) ( N ) , 贝 lj X(N)=int ( (CFN(cipher) ( N ) -CFN(frame) (N) )*10ms/timer— Poll) ;
若 CFN(cipher) (N) <CFN(frame) (N) , 贝 'J X(N)=int ( (CFN(cipher) (N) -CFN(frame) (N) +256)* lOms/timer— Poll);
其中, 所述 CFN^ipher^N)为: 所述用户设备的无线链路控制实体接收 的所述用户设备的无线资源控制实体第 N次发送的加密参数配置消息中携带 的表示加密激活时间的连接帧号 CFN;
所述 CFN(frameXN)为:所述用户设备的无线链路控制实体第一次向所述 无线网络控制器发送接收的所述用户设备的无线资源控制实体第 N次发送的 加密参数配置消息时的 CFN;
所述 timer— Poll 为: 所述用户设备的无线链路控制实体向所述无线网络 控制器发送两次所述加密参数配置消息之间的时间间隔;
ms表示毫秒, int( (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll) 表示对(CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值 取整, int((CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll)表示对 (CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll计算出的数值取
14、 根据权利要求 10〜13中任一项所述的装置, 其特征在于, 所述请求 消息发送模块具体用于: 向所述用户设备的无线资源控制实体发送请求消息, 所述请求消息中包含所述用户设备的无线链路控制实体未收到所述无线网络 控制器发送的所述响应消息的标识信息, 以使所述用户设备的无线资源控制 实体根据所述标识信息重新配置加密参数。
15、 一种加密参数处理装置, 包括:
第一消息发送模块, 用于向用户设备的无线链路控制实体发送加密参数 配置消息, 所述加密参数配置消息包含加密激活时间;
请求消息接收模块, 用于接收所述用户设备的无线链路控制实体发送的 请求消息, 所述请求消息中包含所述用户设备的无线链路控制实体未收到无 线网络控制器发送的响应消息的标识信息;
加密参数配置模块, 用于根据所述标识信息, 重新配置加密参数; 第二消息发送模块, 用于向所述用户设备的无线链路控制实体发送新的 加密参数配置消息, 所述新的加密参数配置消息包含重新配置的加密参数, 以使所述用户设备的无线链路控制实体向所述无线网络控制器发送所述新的 加密参数配置消息。
16、 根据权利要求 15所述的装置, 其特征在于, 还包括:
重配消息接收模块, 用于在向用户设备的无线链路控制实体发送加密参 数配置消息之前, 接收所述无线网络控制器发送的配置消息, 以使所述用户 设备的无线资源控制实体根据所述配置消息配置加密参数。
17、 一种加密参数处理装置, 其特征在于, 包括:
消息接收模块, 用于接收用户设备的无线资源控制实体发送的加密参数 配置消息, 所述加密参数配置消息包含加密激活时间;
消息发送模块, 用于向无线网络控制器发送所述加密参数配置消息; 响应消息确定模块, 用于确定在所述加密激活时间到达之前, 是否收到 所述无线网络控制器发送的所述加密参数配置消息的响应消息;
加密激活时间处理模块, 用于若在所述加密激活时间到达之前未收到所 述无线网络控制器发送的所述加密参数配置消息的响应消息, 则将所述加密 激活时间延迟一预设时长,并将延迟的加密激活时间作为新的加密激活时间。
18、 根据权利要求 17所述的装置, 其特征在于, 所述预设时长为 2.56
19、 一种加密参数处理装置, 其特征在于, 包括: 接收器、 发送器和处 理器;
所述接收器, 用于接收用户设备的无线网络控制器实体发送的加密参数 配置消息, 加密参数配置消息包含加密激活时间;
所述发送器, 用于向无线网络控制器发送加密参数配置消息;
所述处理器, 用于确定在加密激活时间到达之前, 是否收到无线网络控 制器发送的加密参数配置消息的响应消息; 若所述无线链路控制实体在所述 加密激活时间到达之前未收到所述无线网络控制器发送的所述加密参数配置 消息的响应消息, 则向用户设备的无线资源控制实体发送请求消息, 以使用 户设备的无线资源控制实体重新配置加密参数。
20、 根据权利要求 19所述的装置, 其特征在于, 所述处理器还用于: 在 向所述用户设备的无线资源控制实体发送请求消息之前, 根据第一传输次数 MaxDAT(N)和第二传输次数 X(N),确定是否向所述用户设备的无线资源控制 实体发送请求消息;
其中, 所述 MaxDAT(N)为: 所述用户设备的无线链路控制实体在接收到 所述用户设备的无线资源控制实体第 N次发送的加密参数配置消息后所允许 的向所述无线网络控制器传输加密参数配置消息的最大传输次数;
所述 X(N)为: 所述用户设备的无线链路控制实体在接收到所述用户设备 的无线资源控制实体第 N次发送的加密参数配置消息到该加密参数配置消息 所配置的加密激活时间之前所允许的向所述无线网络控制器传输该加密参数 配置消息的最大传输次数。
21、根据权利要求 20所述的装置,其特征在于,所述处理器还具体用于: 当 N=l 时, MaxDAT(N)=MaxDAT, 如果 MaxDAT(N)>X(N)+l, 则当
Y(N)=X(N), 则确定向无线资源控制发送请求消息; 相应地, 用户设备的无 线资源控制实体重新配置加密参数后, MaxDAT(N+l)=MaxDAT(N)-Y(N)-l; 当N>=2时, 如果 MaxDAT(N)>X(N), 则当 Y(N)=X(N), 则确定向用户 设备的无线资源控制实体发送请求消息; 相应地, 用户设备的无线资源控制 实体重新配置加密参数后, MaxDAT(N+l)=MaxDAT N)-Y(N), 其中 N为大 于等于 2的整数;
其中, 所述 MaxDAT为: 所述用户设备的无线链路控制实体复位前所允 许的向所述无线网络控制器传输加密参数配置消息的最大传输次数;
所述 Y(N)为: 所述用户设备的无线链路控制实体在接收到所述用户设备 的无线资源控制实体第 N次发送的加密参数配置消息后向所述无线网络控制 器实际发送该加密参数配置消息的次数。
22、 根据权利要求 21 所述的装置, 其特征在于, 若 CFN(cipher) (N) >CFN(frame) ( N ) , 贝 lj X(N)=int ( (CFN(cipher) ( N ) -CFN(frame) (N) )*10ms/timer— Poll) ;
若 CFN(cipher) (N) <CFN(frame) (N) , 贝 lj X(N)=int ( (CFN(cipher) (N)
-CFN(frame) (N) +256)* lOms/timer— Poll);
其中, 所述 CFN(cipherXN)为: 所述用户设备的无线链路控制实体接收 的所述用户设备的无线资源控制实体第 N次发送的加密参数配置消息中携带 的表示加密激活时间的连接帧号 CFN;
所述 CFN frameXN)为:所述用户设备的无线链路控制实体第一次向所述 无线网络控制器发送接收的所述用户设备的无线资源控制实体第 N次发送的 加密参数配置消息时的 CFN;
所述 timer— Poll 为: 所述用户设备的无线链路控制实体向所述无线网络 控制器发送两次所述加密参数配置消息之间的时间间隔;
ms表示毫秒, int (; (CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer— Poll) 表示对(CFN(cipher) (N) -CFN(frame) (N) )*10ms/timer_Poll计算出的数值 取整, int((CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll)表示对 (CFN(cipher) (N) -CFN(frame) (N) +256)*10ms/timer_Poll计算出的数值取 整。
23、 根据权利要求 19〜22中任一项所述的装置, 其特征在于, 所述处理 器具体用于: 向所述用户设备的无线资源控制实体发送请求消息, 所述请求 消息中包含所述用户设备的无线链路控制实体未收到所述无线网络控制器发 送的所述响应消息的标识信息, 以使所述用户设备的无线资源控制实体根据 所述标识信息重新配置加密参数。
24、 一种加密参数处理装置, 包括: 发送器、 接收器和处理器。 所述发送器, 用于向用户设备的无线链路控制实体发送加密参数配置消 息, 所述加密参数配置消息包含加密激活时间;
所述接收器, 用于接收所述用户设备的无线链路控制实体发送的请求消 息, 所述请求消息中包含所述用户设备的无线链路控制实体未收到无线网络 控制器发送的响应消息的标识信息;
所述处理器, 用于根据所述标识信息, 重新配置加密参数; 向所述用户 设备的无线链路控制实体发送新的加密参数配置消息, 所述新的加密参数配 置消息包含重新配置的加密参数, 以使所述用户设备的无线链路控制实体向 所述无线网络控制器发送所述新的加密参数配置消息。
25、 根据权利要求 24所述的装置, 其特征在于, 所述接收器还用于: 在 向用户设备的无线链路控制实体发送加密参数配置消息之前, 接收所述无线 网络控制器发送的配置消息, 以使所述用户设备的无线资源控制实体根据所 述配置消息配置加密参数。
26、 一种加密参数处理装置, 其特征在于, 包括: 接收器、 发送器和处 理器;
所述接收器, 用于接收用户设备的无线资源控制实体发送的加密参数配 置消息, 所述加密参数配置消息包含加密激活时间;
所述发送器, 用于向无线网络控制器发送所述加密参数配置消息; 所述处理器, 用于确定在所述加密激活时间到达之前, 是否收到所述无 线网络控制器发送的所述加密参数配置消息的响应消息; 若在所述加密激活 时间到达之前未收到所述无线网络控制器发送的所述加密参数配置消息的响 应消息, 则将所述加密激活时间延迟一预设时长, 并将延迟的加密激活时间 作为新的加密激活时间。
27、 根据权利要求 26所述的装置, 其特征在于, 所述预设时长为 2.56
PCT/CN2013/079705 2013-07-19 2013-07-19 加密参数处理方法和装置 WO2015006980A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/079705 WO2015006980A1 (zh) 2013-07-19 2013-07-19 加密参数处理方法和装置
CN201380001091.4A CN104584605B (zh) 2013-07-19 2013-07-19 加密参数处理方法和装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/079705 WO2015006980A1 (zh) 2013-07-19 2013-07-19 加密参数处理方法和装置

Publications (1)

Publication Number Publication Date
WO2015006980A1 true WO2015006980A1 (zh) 2015-01-22

Family

ID=52345734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079705 WO2015006980A1 (zh) 2013-07-19 2013-07-19 加密参数处理方法和装置

Country Status (2)

Country Link
CN (1) CN104584605B (zh)
WO (1) WO2015006980A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788544B (zh) * 2017-11-15 2021-06-18 大唐移动通信设备有限公司 一种层2处理方法、cu及du
CN113038466B (zh) * 2018-09-12 2023-02-21 维沃移动通信有限公司 处理方法和设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100202614A1 (en) * 2009-02-09 2010-08-12 Samsung Electronics Co. Ltd. Apparatus and method for ciphering of uplink data in mobile communication system
CN102469454A (zh) * 2010-11-08 2012-05-23 华为技术有限公司 Rnc切换中的密钥设置方法及无线网络控制器、终端
CN102740289A (zh) * 2012-06-15 2012-10-17 电信科学技术研究院 一种密钥更新方法、装置及系统
CN102917350A (zh) * 2011-08-05 2013-02-06 华为技术有限公司 启用安全密钥的方法,接入网节点、用户设备和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100202614A1 (en) * 2009-02-09 2010-08-12 Samsung Electronics Co. Ltd. Apparatus and method for ciphering of uplink data in mobile communication system
CN102469454A (zh) * 2010-11-08 2012-05-23 华为技术有限公司 Rnc切换中的密钥设置方法及无线网络控制器、终端
CN102917350A (zh) * 2011-08-05 2013-02-06 华为技术有限公司 启用安全密钥的方法,接入网节点、用户设备和系统
CN102740289A (zh) * 2012-06-15 2012-10-17 电信科学技术研究院 一种密钥更新方法、装置及系统

Also Published As

Publication number Publication date
CN104584605B (zh) 2018-01-23
CN104584605A (zh) 2015-04-29

Similar Documents

Publication Publication Date Title
US11025414B2 (en) Key exchange method and apparatus
KR101507482B1 (ko) Lte 모바일 유닛에서의 비접속 계층(nas) 보안을 가능하게 하는 방법 및 장치
WO2019095885A1 (zh) 网络接入的方法、终端设备和网络设备
KR102460648B1 (ko) 이용되는 보안 키들에 영향을 주는 연결 재구성의 일부로서 베어러 특정 변경들을 구현하기 위한 방법 및 장치
WO2018058687A1 (zh) 一种处理控制信令的方法、设备及系统
WO2018137689A1 (zh) 一种数据安全传输的方法及接入网、终端、核心网设备
WO2019096002A1 (zh) 一种安全保护的方法及装置
WO2016134536A1 (zh) 密钥生成方法、设备及系统
JP5344202B2 (ja) 通信システム
TW200803371A (en) Ciphering control and synchronization in a wireless communication system
WO2020177501A1 (zh) 密钥配置的方法、装置和终端
TW200830817A (en) Encryption in a wireless telecommunications
WO2009127114A1 (zh) 密钥生成方法、装置及系统
WO2014169451A1 (zh) 数据传输方法和装置
WO2012171281A1 (zh) 一种安全参数修改方法及基站
WO2018166338A1 (zh) 一种秘钥更新方法及装置
CN103607261A (zh) 一种数据传输方法及装置
WO2022151917A1 (zh) 消息处理方法、装置、终端及网络侧设备
TW201228417A (en) Deciphering methods and mobile communication apparatuses thereto
WO2022027476A1 (zh) 密钥管理方法及通信装置
WO2015006980A1 (zh) 加密参数处理方法和装置
WO2008022498A1 (fr) Procédé servant à modifier l&#39;algorithme de cryptage en réadressage
CN115699986A (zh) 非活动状态下的数据通信
CN114503628A (zh) 管理通信系统中的安全密钥
WO2018228444A1 (zh) 连接管理方法、终端及无线接入网设备

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: 13889412

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: 13889412

Country of ref document: EP

Kind code of ref document: A1