CN104168640A - Reception end PDCP layer HFN out-off-step recovering method and device - Google Patents

Reception end PDCP layer HFN out-off-step recovering method and device Download PDF

Info

Publication number
CN104168640A
CN104168640A CN201310186338.6A CN201310186338A CN104168640A CN 104168640 A CN104168640 A CN 104168640A CN 201310186338 A CN201310186338 A CN 201310186338A CN 104168640 A CN104168640 A CN 104168640A
Authority
CN
China
Prior art keywords
hfn
receiving terminal
design variables
current
current hfn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310186338.6A
Other languages
Chinese (zh)
Inventor
崔强军
刘钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310186338.6A priority Critical patent/CN104168640A/en
Priority to PCT/CN2014/077687 priority patent/WO2014183672A1/en
Publication of CN104168640A publication Critical patent/CN104168640A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a reception end PDCP (packet data convergence protocol) layer HFN (hyper frame number) out-off-step recovering method which comprises the following steps: detecting the state of current HFN of a reception end in a PDCP layer; when the state of the current HFN of the reception end is out-off-step, utilizing the reception end current HFN and preset variable to decode corresponding data packets; and if the decoding is carried out successfully, utilizing the current HFN and preset variable to update the current HFN of the reception end. The invention further discloses a reception end device. According to the reception end PDCP layer HFN out-off-step recovering method and device, reception end HFN out-off-step recovery can be realized under the condition of not initiating RRC connection reconstruction.

Description

A kind of restoration methods and equipment of receiving terminal PDCP layer HFN step-out
Technical field
The present invention relates to communication technical field, refer to especially a kind of restoration methods and equipment of receiving terminal PDCP layer HFN step-out.
Background technology
At LTE (Long Term Evolution, Long Term Evolution) PDCP (the Packet Data Convergence Protocol of user's face in system, PDCP) when layer transmission data, the each RB of transmitting terminal PDCP layer (Radio Bearer, radio bearer) be that 32-bit number numbering COUNT of each allocation of packets is used for computations, receiving terminal RB uses identical COUNT for deciphering calculating.Wherein, COUNT is by PDCP SN (Sequence Number, sequence number) the splicing composition of high-order HFN (Hyper Frame Number, Hyper Frame Number) and low level.
Each RB safeguards a corresponding COUNT sequence.When RB sets up, the value zero clearing of HFN and SN.Packet of the every processing of transmitting terminal, PDCP SN adds 1, if PDCP SN reaches the maximum of SN, HFN adds 1.Be illustrated in figure 1 the packet encryption and decryption process of PDCP layer, transmitting terminal uses COUNT and other parameters to be encrypted packet, and the last PDCP SN that this packet is corresponding on the band of packet header sends to receiving terminal.Transmitting terminal only sends PDCP SN, and receiving terminal is safeguarded HFN by the PDCP SN receiving.Receiving terminal is received after packet, splices composition COUNT from parsing PDCP SN packet header together with the HFN oneself safeguarding, the packet of receiving is decrypted.In the situation of general not packet loss, the COUNT of transmitting terminal and receiving terminal is the same, and HFN is the same.But in the time having mass data packet loss between a receipts, may cause the HFN of transmitting terminal and receiving terminal unequal, and the unequal meeting of HFN causes Decryption failures, decipher function lost efficacy.
At present, for the problem of the above-mentioned packet Decryption failures causing due to the HFN step-out of transmitting terminal and receiving terminal, prior art has proposed a kind of mode of RRC connection reconstruction, but while reconstruction, need transmitting terminal and receiving terminal to carry out Signalling exchange, and reconstruction meeting cause relatively large interruption time delay to business.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of restoration methods and equipment of receiving terminal PDCP layer HFN step-out, the problem losing efficacy to solve packet decipher function that receiving terminal PDCP layer HFN step-out causes.
For achieving the above object, technical scheme of the present invention is achieved in that
The restoration methods that the invention provides a kind of receiving terminal PDCP PDCP layer Hyper Frame Number HFN step-out, the method comprises:
Detect the state of the current HFN of receiving terminal at PDCP layer;
When the state of the current HFN of described receiving terminal is step-out, uses the current HFN of receiving terminal to add design variables corresponding packet is decrypted;
When described successful decryption, use described current HFN to add design variables the current HFN of receiving terminal is upgraded.
Preferably, the described state that detects receiving terminal current HFN at PDCP layer, comprising: use the current HFN of receiving terminal to be decrypted the packet receiving, judge that whether decipher the fixed field of the packet obtaining legal, if illegal, determine the current HFN step-out of receiving terminal.
Preferably, the current HFN of described use receiving terminal adds design variables corresponding packet is decrypted, and comprising:
When the state that the current HFN of described receiving terminal detected is step-out, the value of the described design variables that deciphering is used is initial value; Every Decryption failures once, make the value of described design variables add 1 after deciphering again, until successful decryption, or, until design variables reaches default higher limit;
The initial value of described design variables is 1, and described higher limit is to be more than or equal to 1 positive integer.
Preferably, when described design variables reaches default higher limit, if Decryption failures, the reconstruction connecting by radio resource control RRC is carried out transmitting terminal HFN and receiving terminal HFN synchronously.
The present invention also provides a kind of receiving device, comprising:
Detection module, for detecting the state of current Hyper Frame Number HFN at PDCP PDCP layer;
Deciphering module, in the time that the state of current HFN is step-out, uses current HFN to add design variables corresponding packet is decrypted;
Update module, for when the successful decryption, is used described current HFN to add that design variables upgrades current HFN.
Preferably, described detection module, also for using current HFN to be decrypted the packet receiving, judge that whether the fixed field of the packet that obtains of deciphering is legal, if illegal, definite current HFN step-out.
Preferably, described deciphering module, in the time that the state that the current HFN of described receiving terminal detected is step-out, is also decrypted for initial value for the value of the described design variables that uses; Also for every Decryption failures once, make the value of described design variables add 1 after deciphering again, until successful decryption, or, until design variables reaches default higher limit; The initial value of described design variables is 1, and described higher limit is to be more than or equal to 1 positive integer.
Preferably, rebuild module, when reach default higher limit and Decryption failures in described design variables, initiate the reconstruction that radio resource control RRC connects, by the synchronous HFN of process of reconstruction.
Restoration methods and the receiving device of receiving terminal PDCP layer HFN step-out provided by the invention, at the state of the current HFN of PDCP layer detection receiving terminal; When the state of the current HFN of receiving terminal is step-out, uses the current HFN of receiving terminal to add design variables corresponding packet is decrypted; When successful decryption, use current HFN to add design variables the current HFN of receiving terminal is upgraded.By the way, can under the prerequisite of not initiating RRC connection reconstruction, realize synchronizeing of receiving terminal HFN and transmitting terminal HFN; In addition, above-mentioned recovery process is the independent behavior of receiving terminal, does not relate to mutual with transmitting terminal, compared with the existing mode of recovering HFN by RRC connection reconstruction mode, reduce the Signalling exchange of transmitting terminal and receiving terminal, also avoided the relatively large interruption time delay causing to business.
Brief description of the drawings
Fig. 1 is PDCP layer data bag encryption and decryption process;
The restoration methods flow chart of the receiving terminal PDCP layer HFN step-out that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is user face protocol stack schematic diagram involved in the present invention;
The receiving device structural representation that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the technical solution of the present invention is further elaborated.
The restoration methods of the receiving terminal PDCP layer HFN step-out that the embodiment of the present invention provides, comprises as shown in Figure 2:
Step 201, at the state of the current HFN of PDCP layer detection receiving terminal.
In the embodiment of the present invention, receiving terminal refers to packet receiving equipment, and in the reciprocal process of subscriber equipment (UE) and base station, preferably, receiving terminal is UE.Certainly the scheme that, the embodiment of the present invention provides is also applicable to base station.
Preferably, in this step, detect the state of the current HFN of receiving terminal at PDCP layer, comprise: use current HFN to be decrypted the packet receiving, whether the fixed field (as protocol number, object IP etc.) that judges the packet that obtains of deciphering is legal, if illegal, determine the current HFN step-out of receiving terminal.
Here so-called illegal referring to: for example object IP different with desired value (unequal).
In the embodiment of the present invention, success is (as shown in Figure 3 in the state of the current HFN of PDCP layer direct-detection receiving terminal and prior art, to detect packet deciphering by upper strata, to detect packet by IP layer whether successfully to decipher) Comparatively speaking, have advantages of as follows:
Detection speed is fast, in the sufficiently long situation in fixed inspection BIT position (as object IP), processes unsuccessfully for 1 time, can think failure.This method that detects Decryption failures at this layer of PDCP, can fast detecting go out this fault mistake, starts recovery process, improves service stability and user and experiences.This fast detecting and restoration methods, can promote the protocol processes process that extends to.And when at present IP layer is illegal to the packet format that low layer (Access Layer) detected and submit, Access Layer is not carried out to feedback operation fast, but rely on the processing on its upper strata, speed is slow, substantially be equal to PDCP layer Decryption failures at least 3 times, IP layer just can detect Decryption failures for the first time, can not process Decryption failures in time, can cause so the larger interruption of business.
Step 202, when the state of the current HFN of receiving terminal is step-out, is used the current HFN of receiving terminal to add design variables corresponding packet is decrypted.
Preferably, detect that it is initial value that first after step-out deciphered the value of the design variables using; Every Decryption failures once, make the value of design variables add 1 after deciphering again, until successful decryption, or, until design variables reaches default higher limit N; Wherein, the initial value of design variables is 1, and higher limit N is more than or equal to 1 positive integer.
If when design variables reaches default higher limit N, decipher still failed, stop so decryption oprerations, initiate RRC (Radio Resource Control, radio resource control) connect reconstruction flow process, in this flow process, the receiving terminal HFN of step-out is carried out synchronously to (with synchronizeing of transmitting terminal HFN).
Step 203, when successful decryption, is used current HFN to add design variables the current HFN of receiving terminal is upgraded.
In the time that design variables value does not reach higher limit N or reaches higher limit N, if successful decryption, while using successful decryption, corresponding current HFN adds design variables and replaces current HFN, completes the recovery of HFN.
In above-mentioned recovery process, according to actual applicable cases, can realize the recovery of receiving terminal HFN under the prerequisite of not initiating RRC connection reconstruction by the setting of N value; In addition, HFN recovery process when successful decryption is the independent behavior of receiving terminal, do not relate to mutual with transmitting terminal, synchronize the mode of HFN by RRC connection reconstruction mode and compare with existing, reduce the Signalling exchange of transmitting terminal and receiving terminal, also avoided the relatively large interruption time delay causing to business.
In order to realize above-mentioned HFN restoration methods, the embodiment of the present invention also provides a kind of receiving device, as shown in Figure 4, comprising:
Detection module 10, for detecting the state of current HFN at PDCP layer;
Deciphering module 20, in the time that the state of current HFN is step-out, uses current HFN to add design variables corresponding packet is decrypted;
Update module 30, for when the successful decryption, is used current HFN to add that design variables upgrades current HFN.
Preferably, detection module 10, uses current HFN to be decrypted the packet receiving, and judge that whether the fixed field of the packet that obtains of deciphering is legal, if illegal, definite current HFN step-out.
Deciphering module 20, in the time that the state that the current HFN of receiving terminal detected is step-out, is also decrypted for initial value for the value of the design variables that uses; Also for every Decryption failures once, make the value of design variables add 1 after deciphering again, until successful decryption, or, until design variables reaches default higher limit N; The initial value of design variables is 1, and higher limit N is more than or equal to 1 positive integer.
Rebuild module 40, when reach default higher limit N and Decryption failures in design variables, initiate the reconstruction that RRC connects, by synchronous HFN in process of reconstruction.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.

Claims (8)

1. a restoration methods for receiving terminal PDCP PDCP layer Hyper Frame Number HFN step-out, is characterized in that, the method comprises:
Detect the state of the current HFN of receiving terminal at PDCP layer;
When the state of the current HFN of described receiving terminal is step-out, uses the current HFN of receiving terminal to add design variables corresponding packet is decrypted;
When described successful decryption, use described current HFN to add design variables the current HFN of receiving terminal is upgraded.
2. the restoration methods of receiving terminal PDCP layer HFN step-out according to claim 1, it is characterized in that, the described state that detects the current HFN of receiving terminal at PDCP layer, comprise: use the current HFN of receiving terminal to be decrypted the packet receiving, whether the fixed field that judges the packet that obtains of deciphering is legal, if illegal, determine the current HFN step-out of receiving terminal.
3. the restoration methods of receiving terminal PDCP layer HFN step-out according to claim 1, is characterized in that, the current HFN of described use receiving terminal adds design variables corresponding packet is decrypted, and comprising:
When the state that the current HFN of described receiving terminal detected is step-out, the value of the described design variables that deciphering is used is initial value; Every Decryption failures once, make the value of described design variables add 1 after deciphering again, until successful decryption, or, until design variables reaches default higher limit;
The initial value of described design variables is 1, and described higher limit is to be more than or equal to 1 positive integer.
4. the restoration methods of receiving terminal PDCP layer HFN step-out according to claim 3, it is characterized in that, when described design variables reaches default higher limit, if Decryption failures, the reconstruction connecting by radio resource control RRC is carried out transmitting terminal HFN and receiving terminal HFN synchronously.
5. a receiving device, is characterized in that, comprising:
Detection module, for detecting the state of current Hyper Frame Number HFN at PDCP PDCP layer;
Deciphering module, in the time that the state of current HFN is step-out, uses current HFN to add design variables corresponding packet is decrypted;
Update module, for when the successful decryption, is used described current HFN to add that design variables upgrades current HFN.
6. receiving device according to claim 5, is characterized in that,
Described detection module, also for using current HFN to be decrypted the packet receiving, judge that whether the fixed field of the packet that obtains of deciphering is legal, if illegal, definite current HFN step-out.
7. receiving device according to claim 5, is characterized in that,
Described deciphering module, in the time that the state that the current HFN of described receiving terminal detected is step-out, is also decrypted for initial value for the value of the described design variables that uses; Also for every Decryption failures once, make the value of described design variables add 1 after deciphering again, until successful decryption, or, until design variables reaches default higher limit; The initial value of described design variables is 1, and described higher limit is to be more than or equal to 1 positive integer.
8. receiving device according to claim 7, is characterized in that, this equipment also comprises:
Rebuild module, when reach default higher limit and Decryption failures in described design variables, initiate the reconstruction that radio resource control RRC connects, by the synchronous HFN of process of reconstruction.
CN201310186338.6A 2013-05-17 2013-05-17 Reception end PDCP layer HFN out-off-step recovering method and device Pending CN104168640A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310186338.6A CN104168640A (en) 2013-05-17 2013-05-17 Reception end PDCP layer HFN out-off-step recovering method and device
PCT/CN2014/077687 WO2014183672A1 (en) 2013-05-17 2014-05-16 Method and device for restoring receiving end from hfn out-of-synchronization in pdcp layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310186338.6A CN104168640A (en) 2013-05-17 2013-05-17 Reception end PDCP layer HFN out-off-step recovering method and device

Publications (1)

Publication Number Publication Date
CN104168640A true CN104168640A (en) 2014-11-26

Family

ID=51897733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310186338.6A Pending CN104168640A (en) 2013-05-17 2013-05-17 Reception end PDCP layer HFN out-off-step recovering method and device

Country Status (2)

Country Link
CN (1) CN104168640A (en)
WO (1) WO2014183672A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108901066A (en) * 2018-06-13 2018-11-27 京信通信系统(中国)有限公司 PDCP layers of hyper frame number synchronization method and apparatus
CN109691159A (en) * 2016-09-13 2019-04-26 诺基亚技术有限公司 PDCP COUNT processing in RRC connection recovery
CN110771205A (en) * 2017-06-15 2020-02-07 高通股份有限公司 Refreshing security keys in 5G wireless systems
WO2022193932A1 (en) * 2021-03-19 2022-09-22 翱捷科技股份有限公司 Lte pdcp data decryption enhancement method and apparatus
WO2022206983A1 (en) * 2021-04-02 2022-10-06 华为技术有限公司 Communication method and communication apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210132864A (en) 2020-04-28 2021-11-05 삼성전자주식회사 Electronic device transmitting and receiving packet and method for operating thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1451250A (en) * 2000-03-23 2003-10-22 西门子移动通讯公司 Handover procedures in radio communication system
US20070258591A1 (en) * 2006-05-05 2007-11-08 Interdigital Technology Corporation Ciphering control and synchronization in a wireless communication system
WO2009056015A1 (en) * 2007-10-29 2009-05-07 Huawei Technologies Co., Ltd. Parameter synchronization method and equipment
CN102090131A (en) * 2007-09-14 2011-06-08 皇家飞利浦电子股份有限公司 Apparatus and method for enabling communications among unsynchronized wireless devices
CN102137435A (en) * 2010-10-21 2011-07-27 上海华为技术有限公司 Method, device and system for processing data
CN102769907A (en) * 2012-07-03 2012-11-07 中兴通讯股份有限公司 Method, device and system for hyper frame number synchronization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494858B (en) * 2008-01-21 2011-01-05 中兴通讯股份有限公司 Method, apparatus and system for encipher recovery when switching user side processor
CN101742430A (en) * 2008-11-20 2010-06-16 华为技术有限公司 Method and device for processing data packet, and base station

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1451250A (en) * 2000-03-23 2003-10-22 西门子移动通讯公司 Handover procedures in radio communication system
US20070258591A1 (en) * 2006-05-05 2007-11-08 Interdigital Technology Corporation Ciphering control and synchronization in a wireless communication system
CN102090131A (en) * 2007-09-14 2011-06-08 皇家飞利浦电子股份有限公司 Apparatus and method for enabling communications among unsynchronized wireless devices
WO2009056015A1 (en) * 2007-10-29 2009-05-07 Huawei Technologies Co., Ltd. Parameter synchronization method and equipment
CN102137435A (en) * 2010-10-21 2011-07-27 上海华为技术有限公司 Method, device and system for processing data
CN102769907A (en) * 2012-07-03 2012-11-07 中兴通讯股份有限公司 Method, device and system for hyper frame number synchronization

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109691159A (en) * 2016-09-13 2019-04-26 诺基亚技术有限公司 PDCP COUNT processing in RRC connection recovery
CN109691159B (en) * 2016-09-13 2024-01-12 诺基亚技术有限公司 PDCP COUNT handling in RRC connection recovery
CN110771205A (en) * 2017-06-15 2020-02-07 高通股份有限公司 Refreshing security keys in 5G wireless systems
CN110771205B (en) * 2017-06-15 2022-03-29 高通股份有限公司 Refreshing security keys in 5G wireless systems
US11503461B2 (en) 2017-06-15 2022-11-15 Qualcomm Incorporated Refreshing security keys in 5G wireless systems
CN108901066A (en) * 2018-06-13 2018-11-27 京信通信系统(中国)有限公司 PDCP layers of hyper frame number synchronization method and apparatus
WO2022193932A1 (en) * 2021-03-19 2022-09-22 翱捷科技股份有限公司 Lte pdcp data decryption enhancement method and apparatus
WO2022206983A1 (en) * 2021-04-02 2022-10-06 华为技术有限公司 Communication method and communication apparatus

Also Published As

Publication number Publication date
WO2014183672A1 (en) 2014-11-20

Similar Documents

Publication Publication Date Title
JP5036868B2 (en) Security error detection method and apparatus in mobile communication system
US20150280905A1 (en) Method and apparatus for detecting and correcting pdcp hyper frame number (hfn) desynchronization
CN104168640A (en) Reception end PDCP layer HFN out-off-step recovering method and device
KR102278296B1 (en) Recover radio links to user equipment
CN109691159B (en) PDCP COUNT handling in RRC connection recovery
US20080120728A1 (en) Method and apparatus for performing integrity protection in a wireless communications system
CN111556506B (en) Abnormal link processing method and equipment
US20140098657A1 (en) Error Recovery
CN113132978A (en) LTE PDCP data decryption enhancement method and device
CN104967599B (en) Fast recovery from encryption key mismatch
EP1942626A1 (en) Methods and apparatuses for performing security error recovery in a wireless communications system
US9825806B2 (en) Mobile communication method and mobile station
US20080119164A1 (en) Method and apparatus for performing security error recovery in a wireless communications system
CN105848173B (en) Method and device for recovering service after decryption or decompression failure
EP2648436B1 (en) Method and device for synchronizing uplink encryption parameters in unacknowledged mode
CN113692778A (en) Restoring radio connections in a communication network
EP3206337A1 (en) Detection method, sending end, receiving end and detection system
CN107113606B (en) Method, apparatus and storage medium for communicating with a GPRS network
CN105376740B (en) safe reconstruction method, equipment and system
CN113038531A (en) Fault tolerance method and system based on enhanced RLC data PDU

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141126

WD01 Invention patent application deemed withdrawn after publication