WO2014101214A1 - Decoding method and device - Google Patents

Decoding method and device Download PDF

Info

Publication number
WO2014101214A1
WO2014101214A1 PCT/CN2012/088101 CN2012088101W WO2014101214A1 WO 2014101214 A1 WO2014101214 A1 WO 2014101214A1 CN 2012088101 W CN2012088101 W CN 2012088101W WO 2014101214 A1 WO2014101214 A1 WO 2014101214A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
type
encrypted data
encrypted
predicted
Prior art date
Application number
PCT/CN2012/088101
Other languages
French (fr)
Chinese (zh)
Inventor
吴宁
朱有团
郭房富
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2012/088101 priority Critical patent/WO2014101214A1/en
Priority to CN201280002790.6A priority patent/CN103404101B/en
Publication of WO2014101214A1 publication Critical patent/WO2014101214A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Definitions

  • the present invention relates to the field of communications and, more particularly, to a method and apparatus for decoding. Background technique
  • IP-based services such as web browsing and video on demand account for an increasing proportion of network traffic of terminals.
  • network browsing and video on demand services bring new demands such as higher speed and shorter delay to mobile networks, and these services themselves also present new features.
  • These services require a large downlink transmission rate, but for the uplink, it is usually mainly to feed back a large number of TCP/IP acknowledgment small packets for downlink transmission, and a small part of these packets are attached with a small amount of content on the TCP/IP header. Most of them only include TCP/IP headers.
  • the TCP/IP header has a lot of fixed information, such as the source address in the IP header and some fixed padding fields. These fixed information contain a wealth of known information that can be utilized, but the received data packets are encrypted by the upper layer, and the known information is unknown to the physical layer on the base station side, and cannot be physically located on the base station side. Auxiliary decoding is performed using these encrypted known information.
  • the physical layer is simply considered to be all 0s or all 1s. If it is encrypted, it is no longer all 0s or all 1s, and auxiliary decoding cannot be performed.
  • Embodiments of the present invention provide a decoding method and a decoding apparatus, which can improve the efficiency of decoding using known information bits.
  • a decoding method including: acquiring a first type of encrypted data packet, wherein the first type of encrypted data packet is encrypted known information bit information, and the first type of encrypted data packet is from a wireless chain. a layer control (Radio Link Control, referred to as "RLC") layer; receiving a second type of encrypted data packet, predicting an SN of the second type of encrypted data packet; according to the predicted SN, using the first type of encrypted data packet The second type of encrypted data packet is decoded by the encrypted known information bit information.
  • RLC Radio Link Control
  • the method before the obtaining the first type of encrypted data packet, the method further The method includes: generating, in the RLC layer entity, a cipher stream corresponding to the SN according to each SN in the SN group corresponding to the RLC entity, and encrypting the known information bit information by using the cipher stream to obtain the first type of encrypted data. package.
  • the method further includes: determining whether the second type of encrypted data packet is the data packet of the attention type; and when the determining result is the second type of encrypted data packet For the type of interest packet, the SN corresponding to the known information bit in the second type of encrypted data packet is predicted.
  • the method further includes: determining whether the second type of the encrypted data packet is the data packet of the attention type; When the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving period is selected, and then the corresponding information bit in the second type of encrypted data packet is predicted. SN.
  • the predicting the SN of the second type of encrypted data packet includes: determining the second Whether the class-encrypted data packet is a new transmission; when it is determined whether the second type of the encrypted data packet is a new transmission, and the second type of the encrypted data packet is a new transmission, determining the second type of the encrypted data packet Whether a second type of encrypted data packet is correctly received; when the judgment result of determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type of encrypted data packet is correctly received, Predicting that the SN is 1 for the SN of the previous second type of encrypted data packet or predicting that the SN is 1 for the SN of the previous second type of encrypted data packet and modulo the SN.
  • the determination result is The previous second type of encrypted data packet is not correctly received, and the number n of the second type of encrypted data packet between the second type of encrypted data packet and the previously correctly received second type of encrypted data packet is predicted, and the known information is predicted.
  • the SN of the bit packet is the SN of the previously correctly received second type of encrypted data packet plus the n plus 1 or the SN of the previously correctly received second type of encrypted data packet is incremented by 1 and overfilled and modulo .
  • the second type of encrypted data packet when determining whether the second type of encrypted data packet is a new transmission, the second type of encrypted data packet is not new.
  • the SN of the data packet predicting the known information bit is the predicted SN of the first type of encrypted data packet.
  • the SN according to the prediction, using the first type of encrypted data packet includes: selecting a first type of encrypted data packet corresponding to the predicted SN; and using the known information bit on the first type of encrypted data packet The information assists in decoding the second type of encrypted data packet.
  • a decoding apparatus including: a receiving module, configured to acquire a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, The first type of encrypted data packet is from the RLC layer, and is also used to receive the second type of encrypted data packet, the second type of encrypted data packet is from the physical layer of the transmitting end, and the processing module is configured to predict the SN of the second type of encrypted data packet; a code module, configured to decode the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet according to the predicted SN
  • the method further includes: a storage module, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
  • the first type of encrypted data packet is generated by the RLC layer, including: in the RLC layer entity, based on the RLC Each SN in the SN group corresponding to the entity generates a cipher stream corresponding to the SN, and encrypts the known information bit information by using the cipher stream to obtain the first type of encrypted data packet.
  • the processing module predicts The SN of the packet of the known information bit.
  • the processing module is further configured to: when using the basic decoding manner to the second The class encryption data packet is decoded incorrectly.
  • the first type of encrypted data packet corresponds to multiple RLC entities
  • the SN group corresponding to the RLC entity predicts the SN corresponding to the known information bit in the second type of encrypted data packet.
  • the processing module is further configured to determine whether the second type of encrypted data packet is combined with the second aspect or the first to fourth possible implementation manners of the second aspect For the new transmission; when it is determined whether the second type of encrypted data packet is a new transmission, and the second type of encrypted data packet is a new transmission, determining the second type of encryption of the second type of encrypted data packet Whether the data packet is correctly received; when the judgment result of determining whether the previous second type encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type encrypted data packet is correctly received, predicting the SN is the The SN of the previous second type of encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet and is oversampled.
  • the processing module is further configured to: when determining the second type of encrypted data
  • the judgment result of whether the previous second type of encrypted data packet of the packet is correctly received is that the previous second type of encrypted data packet is not correctly received, and the second type of encrypted data packet and the second correctly received second type of encrypted data are predicted.
  • the number of encrypted packets of the second type between the packets is n, and the SN is predicted to be the SN of the previously correctly received second type of encrypted data packet plus the n plus one.
  • the second aspect or the first to the sixth possible implementation manner of the second aspect when determining whether the second type of encrypted data packet is a new transmission The result is that when the second type of encrypted data packet is not newly transmitted, the SN is predicted to be the predicted SN of the second type of encrypted data packet.
  • the decoding module is further configured to: select the corresponding SN corresponding to the second aspect, or any one of the first to the seventh possible implementation manners of the second aspect A type of encrypted data packet; assisting decoding of the second type of encrypted data packet by using the known information bit information on the first type of encrypted data packet.
  • a third aspect provides a decoding apparatus, including: a receiver, configured to acquire a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encryption The data packet is from the RLC layer, and is further configured to receive a second type of encrypted data packet, the second type of encrypted data packet is from a physical layer of the transmitting end, and a processor is configured to predict a SN of the second type of encrypted data packet, and is further configured to The predicted SN, decoding the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet
  • the method further includes: a memory, configured to store the first type of encryption The data packet and the second type of encrypted data packet.
  • the first type of encrypted data packet is generated by the RLC layer, including: in the RLC layer entity, based on the RLC Each SN in the SN group corresponding to the entity generates a cipher stream corresponding to the SN, and encrypts the known information bit information by using the cipher stream to obtain the first type of encrypted data packet.
  • the processor is further configured to: when the second type of encrypted data is used in a basic decoding manner Packet decoding error, when the first type of encrypted data packet corresponds to an RLC entity, determining whether the second type of encrypted data packet is the data packet of the attention type; the judgment result is that the second type of encrypted data packet is the data of the attention type At the time of the packet, the processor predicts the SN of the packet of the known information bit.
  • the processor is further configured to: when using the basic decoding manner to the second The class encryption data packet is decoded incorrectly.
  • the first type of encrypted data packet corresponds to multiple RLC entities
  • the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the SN corresponding to the known information bit in the second type of encrypted data packet is predicted.
  • the processor is further configured to: determine whether the second type of encrypted data packet is For the new transmission; when it is determined whether the second type of encrypted data packet is a new transmission, and the second type of encrypted data packet is a new transmission, determining the second type of encryption of the second type of encrypted data packet Whether the data packet is correctly received; when the judgment result of determining whether the previous second type encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type encrypted data packet is correctly received, predicting the SN is the The SN of the previous second type of encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet and is oversampled.
  • the processor is further configured to: when determining the second type of encrypted data
  • the judgment result of whether the previous second type of encrypted data packet of the packet is correctly received is that the previous second type of encrypted data packet is not correctly received, and the second type of encrypted data packet and the second correctly received second type of encrypted data are predicted.
  • the number of encrypted packets of the second type between the packets is n, and the SN is predicted to be the SN of the previously correctly received second type of encrypted data packet plus the n plus one.
  • a seventh possible implementation in combination with the third aspect or the first to sixth possible implementation manners of the third aspect, when determining whether the second type of encrypted data packet is a new transmission The result is that when the second type of encrypted data packet is not newly transmitted, the SN is predicted to be the predicted SN of the second type of encrypted data packet.
  • the processor is further configured to: select the first corresponding to the predicted SN Class-encrypting data packet; assisting decoding of the second type of encrypted data packet by using the known information bit information on the first type of encrypted data packet.
  • the physical layer in order to improve the decoding efficiency of the physical layer, can use the encrypted known information bits to decode, and predict the SN of the second type of encrypted data packet at the physical layer, thereby high probability.
  • the known information bits in the first type of encrypted information corresponding to the SN are found, and the encrypted data packet is decoded by using the information on the known information bits. Thereby effectively improving the decoding speed and improving the decoding performance.
  • FIG. 1 is a schematic flow chart of a method of decoding according to an embodiment of the present invention.
  • FIG. 2 is a schematic block diagram of a decoding apparatus according to an embodiment of the present invention.
  • FIG. 3 is another schematic block diagram of a decoding apparatus according to an embodiment of the present invention. detailed description
  • FIG. 1 shows a schematic flow diagram of a method 100 of coding in accordance with an embodiment of the present invention.
  • the method of Figure 1 is performed at the physical layer.
  • the method 100 includes: S110. Acquire a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, where the first type of encrypted data packet is from a radio link control (Radio Link Control, referred to as "RLC").
  • RLC Radio Link Control
  • the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability.
  • the known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit.
  • a first type of encrypted data packet is obtained, and the first type of encrypted data packet is encrypted known information bit information, and the first type of encrypted data packet is from an RLC layer.
  • the physical layer obtains the first type of encrypted data packet obtained by interacting with the RLC layer, and the first type of encrypted data packet is obtained by encrypting the data packet at the RLC layer.
  • the data packet part of the information bits are fixed, and the fixed information bits are called known information bits.
  • the physical layer deletes the encrypted information bits of the known information bits corresponding to the SN of the data packet in the information layer of the physical layer for the correctly received first type of encrypted data packet.
  • the method 100 further includes:
  • S140 in the RLC layer entity, generate a cipher stream corresponding to the SN based on each SN in the SN group corresponding to the RLC entity, and encrypt the known information bit information by using the cipher stream to obtain the first type of encrypted data. package.
  • S140 includes:
  • each RLC entity has its corresponding SN group.
  • Each SN group consists of several SNs.
  • the RLC entity is different, and the SN group is different.
  • a cipher stream corresponding to the SN is generated for each SN in the SN group. This password stream is used to encrypt the data packet.
  • the known information bits are respectively encrypted by the cipher stream in the RLC layer to generate encrypted known information, and the encrypted known information is the first type of encrypted data packet.
  • the known bit information is encrypted by the cipher stream, and there are various encryption methods, for example. If the known bit information is XORed bit by bit using the cipher stream, the encrypted first type encrypted data packet can be obtained.
  • the RLC layer transmits the first type of encrypted data packet to the physical layer in interactive communication.
  • the SN of the second type of encrypted data packet is predicted, and the second type of encrypted data packet is from the physical layer of the transmitting end.
  • the second type of encrypted data packet is from a physical layer of the transmitting end, and the second type of encrypted data packet is also encrypted at the RLC layer.
  • the SN of the second type of encrypted data packet wherein the SN is in the first type of encrypted data packet, and the known information bit corresponding to the SN is the same as or related to the known information bit included in the second type of encrypted number packet corresponding to the SN. correspond.
  • S120 includes,
  • S121. Determine whether the second type of encrypted data packet is a new transmission.
  • the first type of encrypted data packets are transmitted by the RLC layer to the physical layer through the RLC layer and the physical layer.
  • the second type of encrypted data packet is transmitted by the transmitting end from the physical layer to the receiving end of the physical layer by the transmission channel, and is decoded at the receiving end.
  • the first type of encrypted data packet and the second type of encrypted data packet contain the same known bit. Since the second type of encrypted data packet passes through the transmission channel, it may be interfered by other factors such as noise, and the first type of encrypted data may also be utilized.
  • the known information bits in the packet decode the second type of encrypted data packet.
  • the physical layer of the sending end sends the second type of encrypted data packet to the receiving end.
  • the transmitting end resends the second type of encrypted data packet that failed to be received.
  • the second type of encrypted data packet is newly transmitted.
  • a receiving state of the second type of encrypted data packet received by the receiving end is stored, where the receiving state indicates whether the received second type of encrypted data packet is successfully received, according to the indication information, If the received second type of data packet is not recorded as receiving failure at the receiving end, it may be determined that the second type of encrypted data packet is a new transmission, and when the received second type of data packet is recorded as receiving failure at the receiving end, It is determined that the second type of encrypted data packet is a retransmission, not a new one.
  • S120 further includes
  • the SN of the second type of encrypted data packet is predicted to be the last time of the second type.
  • the predicted SN of the encrypted packet indicates that the first time the encrypted data packet is transmitted to the receiving end of the physical layer, the receiving end fails to resend the second type of encrypted data packet, and the physical layer receiving end receives the first time.
  • the second type of encrypted data packet has been predicted SN by the second type of encrypted data packet.
  • the prediction step refers to step S120, and the physical layer receiving end receives the second type encrypted data packet retransmitted by the physical layer sending end.
  • the SN of the data packet predicting the known information bit is the last predicted SN of the second type of encrypted data packet.
  • S120 further includes
  • S120 further includes
  • S120 further includes
  • S123b in S122b, determining a previous second type of data packet of the second type of encrypted data packet, and determining whether the previous second type data packet of the second type of encrypted data packet is correctly received is the encryption
  • the previous second type of data packet of the data packet is not correctly received, and the number of SNs between the encrypted data packet and the previously correctly received second type data packet is predicted, and the predicted SN is the previous correctly received data.
  • the prediction when the prediction is performed for the first time, in the case that there is no previous second type of data packet or there is no second type of encrypted data packet received correctly, the previous one is The SN of the second type of data packet is 0 or the SN of the second type of encrypted data packet received correctly is 0.
  • the method 100 further includes: S150.
  • S150 When the encrypted data packet is from an RLC entity, determining whether the encrypted data packet is a data packet of interest type; The result is that the SN is predicted when the encrypted data packet is a type of interest packet.
  • the attention type data packet refers to a data packet containing a rich amount of known bit information in the data packet, for example A TCP ACK packet, or a data packet with additional information bits added to the data with known bit information.
  • the type of interest packet is the data packet to be encrypted.
  • the TCPACK packet in the current network is 354 bits, and it is judged whether it is a type packet of interest according to the packet size. For the received data packet, if the data packet size is 354 bits, it can be assisted to decode when the basic decoding algorithm fails.
  • the TCP header will also appear 32bytes and 44bytes.
  • the entire TCPACK will be split into two 354bits packets, and the second packet will be composed of the remaining information of the TCP header and additional information bits.
  • the known information of the packet is considered to be TCP ACK.
  • the known information in the second packet of the packet is the known information in the first packet of the TCPACK packet.
  • the method 100 further includes: S160.
  • S160 When the encrypted data is from multiple RLC entities, the SN of the data packet of the known information bit in the encrypted data packet is predicted. Previously, it also included:
  • the RLC entity with the highest probability of occurrence in the upper receiving period is selected, and the receiving time of the upper segment can be selected according to the specific application scenario.
  • the attention type data packet refers to a data packet in which the data packet contains rich known bit information, such as a TCP ACK packet, or a data packet in which additional information bits are added with known bit information.
  • the type packet is the packet to be encrypted.
  • the TCPACK packet in the current network is 354 bits, and it is judged whether it is a type packet of interest according to the packet size. For the received data packet, if the data packet size is 354 bits, it can be assisted to decode when the basic decoding algorithm fails.
  • the TCP header will also appear 32bytes and 44bytes.
  • the entire TCPACK will be split into two 354bits packets, and the second packet will be composed of the remaining information of the TCP header and additional information bits.
  • the known information of the packet is considered to be TCP ACK.
  • the known information in the second packet of the packet is the known information in the first packet of the TCPACK packet.
  • the judgment result is that the encrypted data packet is the TCP ACK and/or with additional information bits.
  • the prediction step is as described in S120, and will not be described here.
  • the data packets corresponding to other RLC entities can be selected one by one.
  • S130 includes,
  • S130 includes,
  • Auxiliary decoding is to decode using known information bits, optionally
  • the Bit identified as known information is mapped to the infinity value of the corresponding polarity of the demodulated LLR or set to some The saturation value is added or replaced to the system bit corresponding to the demodulation LLR.
  • the Bit identified as known information is mapped to an infinity value of the corresponding polarity of the demodulated LLR or a set saturation value, and the value is added or replaced to the corresponding system bit.
  • this replacement or addition process may be performed each time the component decoder decodes, or may initialize the prior information before the decoding starts.
  • the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability.
  • the known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • FIG. 2 shows a schematic block diagram of a decoding device 200 in accordance with an embodiment of the present invention.
  • the apparatus disclosed in FIG. 2 and its description may be based on the embodiment of the present invention and the method of decoding based on the embodiment of the present invention.
  • the decoding device 200 may correspond to a method of decoding according to an embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the decoding device 200 are respectively Corresponding processes for implementing the various methods in FIG. 1 are omitted for brevity.
  • the decoding device includes:
  • a receiving module configured to obtain a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encrypted data packet is from the RLC layer, and is further configured to receive the second type of encrypted data packet. Packet, the second type of encrypted data packet is from the physical layer of the transmitting end;
  • a processing module configured to predict a SN of the second type of encrypted data packet
  • a decoding module configured to decode the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet according to the predicted SN.
  • the decoding apparatus may further include: a storage module, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
  • the first type of encrypted data packet is generated by the RLC layer, and includes:
  • a cipher stream corresponding to the SN is generated based on each SN in the SN group corresponding to the RLC entity, and the known information bit information is encrypted by using the cipher stream to obtain the first type of encrypted data packet.
  • the processing module is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of encrypted data packet corresponds to an RLC entity, determine whether the second type of encrypted data packet is For the type of interest packet;
  • the processing module predicts the SN of the data packet of the known information bit.
  • the processing module is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of encrypted data packet is stored by the plurality of RLC entities, determine the second type of encrypted data. Whether the packet is the data packet of the attention type; the judgment result is that when the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the first The SN corresponding to the known information bit in the second type of encrypted data packet.
  • the processing module is further configured to: determine whether the second type of encrypted data packet is a new transmission; and determine, according to whether the second type of the encrypted data packet is a new transmission, the second type of encrypted data packet When it is a new transmission, it is judged whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received.
  • the result of the determination is that the previous second type of encrypted data packet is correctly received, and the SN is predicted to be the previous second type.
  • the SN of the encrypted data packet is incremented by 1 or the SN is predicted to be the previous second type of encryption number. According to the package SN plus 1 and add over the modulo.
  • the processing module is further configured to: when determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received, determining that the previous second type of encrypted data packet is not correctly received Predicting the number n of the second type of encrypted data packets between the second type of encrypted data packet and the second correctly received second type of encrypted data packet, and predicting that the SN is the second correctly received second type encrypted data packet. SN plus the n plus one.
  • predicting the SN is a prediction of the second type of the encrypted data packet.
  • the decoding module is further configured to: select the first type of encrypted data packet corresponding to the predicted SN;
  • the second type of encrypted data packet is assisted by the known information bit information on the first type of encrypted data packet.
  • the step of assisting decoding may be referred to in S130 in the method embodiment of the present invention, and is not described here.
  • the decoding device 200 disclosed in the embodiment of the present invention may be located in various devices including the base station in the physical layer, or different modules may be located in different devices in the physical layer, which is not limited by the present invention.
  • the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability.
  • the known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit.
  • FIG. 3 shows a schematic block diagram of a decoding device 300 in accordance with an embodiment of the present invention.
  • the apparatus disclosed in FIG. 3 and its description may be based on the embodiment of the present invention and the method of decoding based on FIG. 1 of the embodiment of the present invention, and the apparatus disclosed based on FIG.
  • the decoding device 300 may correspond to a method of decoding according to an embodiment of the present invention, and the above and other operations and/or functions of the respective devices in the decoding device 300 are respectively implemented in order to implement each of FIG. The corresponding process of the method, for the sake of brevity, will not be repeated here.
  • the decoding device includes:
  • a receiver configured to obtain a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encrypted data packet is from the RLC layer, and is also used to receive the second type of encrypted data packet. Packet, the second type of encrypted data packet is from the physical layer of the transmitting end; a processor, configured to predict a SN of the second type of encrypted data packet, and configured to use the encrypted known information bit information in the first type of encrypted data packet to encrypt the second type of encrypted data packet according to the predicted SN Perform decoding.
  • the decoding apparatus may further include: a memory, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
  • the first type of encrypted data packet is generated by the RLC layer, and includes:
  • the cryptographic stream corresponding to the SN is used to encrypt the known information bit information to obtain the first type of encrypted data packet.
  • the processor is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of encrypted data packet corresponds to an RLC entity, determine whether the second type of encrypted data packet is For the type of interest packet;
  • the processor predicts the SN of the data packet of the known information bit.
  • the processor is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of the encrypted data packet is corresponding to the plurality of RLC entities, determine the second type of encrypted data. Whether the packet is the data packet of the attention type; the judgment result is that when the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the first The SN corresponding to the known information bit in the second type of encrypted data packet.
  • the processor is further configured to: determine whether the second type of encrypted data packet is a new transmission; and determine, according to whether the second type of the encrypted data packet is a new transmission, the second type of the encrypted data packet When it is a new transmission, it is judged whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received.
  • the result of the determination is that the previous second type of encrypted data packet is correctly received, and the SN is predicted to be the previous second type.
  • the SN of the encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet, and the modulo is added.
  • the processor is further configured to: when determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received, determining that the previous second type of encrypted data packet is not correctly received Predicting the number n of the second type of encrypted data packets between the second type of encrypted data packet and the second correctly received second type of encrypted data packet, and predicting that the SN is the second correctly received second The SN of the class-encrypted data packet is incremented by one.
  • predicting the SN is a prediction of the second type of the encrypted data packet.
  • the processor is further configured to: select the first type of encrypted data packet corresponding to the predicted SN; and use the known information bit information on the first type of encrypted data packet to perform the second type of encrypted data packet.
  • Auxiliary decoding may be referred to in S130 in the method embodiment of the present invention, and is not described here.
  • the decoding device 300 disclosed in the embodiment of the present invention may be located in various devices of the physical layer including the base station, or different devices may be located in different devices of the physical layer, which is not limited by the present invention.
  • the physical layer in order to improve the decoding efficiency of the physical layer, the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability.
  • the known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit. Thereby, the decoding speed is effectively improved, and the decoding performance is improved.
  • the term "and/or” is merely an association describing the associated object, indicating that there may be three relationships.
  • a and / or B can mean: A exists separately, there are A and B, and there are three cases of B alone.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • the disclosed systems, devices, and The method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. The medium of the code.

Abstract

Disclosed in an embodiment of the present invention are a decoding method and device, the method comprising: acquiring a first encrypted data packet, the first encrypted data packet being encrypted known information bit information coming from an RLC layer; predicting the SN of a second encrypted data packet, the second encrypted data packet coming from the physical layer of a transmission terminal; utilizing the encrypted known information bit information of the first encrypted data packet to decode the second encrypted data packet according to the predicted SN. The decoding method and device in the embodiment of the present invention can more effectively use the known information bit information for decoding, thus improving decoding efficiency.

Description

译码的方法和装置 技术领域  Decoding method and device
本发明涉及通信领域, 并且更具体地, 涉及译码的方法和装置。 背景技术  The present invention relates to the field of communications and, more particularly, to a method and apparatus for decoding. Background technique
随着智能终端的普及和移动应用需求的大量增加,移动业务呈现新的特 点, 网页浏览和视频点播等基于 IP 的业务占了终端的网络流量越来越大的 比重。 相比较传统的语音和文件传输业务, 网络浏览和视频点播业务对移动 网络带来更高速率, 更短时延等新需求, 同时这些业务自身也呈现出新的特 点。 这些业务需要下行较大的传输速率, 但是对于上行而言, 通常主要是反 馈大量的针对下行传输的 TCP/IP 确认小数据包, 这些数据包少部分是在 TCP/IP头标上附加少量内容, 大部分仅仅包括 TCP/IP头标。 根据 TCP/IP 协议, TCP/IP头标有很多固定的信息, 如 IP头标中的源地址和一些固定的 填充域等内容。 这些固定的信息含有丰富的已知信息可以被利用, 但是接收 到的数据包由于经过高层的加密,对基站侧的物理层来说这些已知信息其实 都是未知的, 无法在基站侧物理层利用这些被加密的已知信息进行辅助译 码。  With the popularization of smart terminals and the increasing demand for mobile applications, mobile services have introduced new features. IP-based services such as web browsing and video on demand account for an increasing proportion of network traffic of terminals. Compared with traditional voice and file transmission services, network browsing and video on demand services bring new demands such as higher speed and shorter delay to mobile networks, and these services themselves also present new features. These services require a large downlink transmission rate, but for the uplink, it is usually mainly to feed back a large number of TCP/IP acknowledgment small packets for downlink transmission, and a small part of these packets are attached with a small amount of content on the TCP/IP header. Most of them only include TCP/IP headers. According to the TCP/IP protocol, the TCP/IP header has a lot of fixed information, such as the source address in the IP header and some fixed padding fields. These fixed information contain a wealth of known information that can be utilized, but the received data packets are encrypted by the upper layer, and the known information is unknown to the physical layer on the base station side, and cannot be physically located on the base station side. Auxiliary decoding is performed using these encrypted known information.
现有技术中对于这些固定的已知信息, 物理层简单的认为是全 0或者全 1 , 若被加密, 则就不再是全 0或者全 1 , 无法进行辅助译码。  In the prior art, for these fixed known information, the physical layer is simply considered to be all 0s or all 1s. If it is encrypted, it is no longer all 0s or all 1s, and auxiliary decoding cannot be performed.
发明内容 Summary of the invention
本发明实施例提供了一种译码的方法和译码装置, 能够提升利用已知信 息位译码的效率。  Embodiments of the present invention provide a decoding method and a decoding apparatus, which can improve the efficiency of decoding using known information bits.
第一方面, 提供了一种译码的方法, 包括: 获取第一类加密数据包, 该 第一类加密数据包为经过加密的已知信息位信息, 该第一类加密数据包来自 无线链路控制 (Radio Link Control, 简称为 "RLC" )层; 接收第二类加密数 据包, 预测该第二类加密数据包的 SN; 根据该预测的 SN, 利用该第一类加 密数据包中该经过加密的已知信息位信息对该第二类加密数据包进行译码。  In a first aspect, a decoding method is provided, including: acquiring a first type of encrypted data packet, wherein the first type of encrypted data packet is encrypted known information bit information, and the first type of encrypted data packet is from a wireless chain. a layer control (Radio Link Control, referred to as "RLC") layer; receiving a second type of encrypted data packet, predicting an SN of the second type of encrypted data packet; according to the predicted SN, using the first type of encrypted data packet The second type of encrypted data packet is decoded by the encrypted known information bit information.
在第一种可能的实现方式中, 该获取第一类加密数据包之前, 该方法还 包括: 在 RLC层实体内, 基于该 RLC实体对应的 SN组内的每个 SN生成 该 SN对应的密码流, 用该密码流对该已知信息位信息进行加密, 得到该第 一类加密数据包。 In a first possible implementation manner, before the obtaining the first type of encrypted data packet, the method further The method includes: generating, in the RLC layer entity, a cipher stream corresponding to the SN according to each SN in the SN group corresponding to the RLC entity, and encrypting the known information bit information by using the cipher stream to obtain the first type of encrypted data. package.
在第二种可能的实现方式中, 结合第一方面或第一方面的第一种可能的 实现方式, 当用基本译码方式对第二类加密数据包译码错误, 该第二类加密 数据包对应一个 RLC实体时,该预测第二类加密数据包的 SN之前,还包括: 判断该第二类加密数据包是否为该关注类型数据包; 当该判断结果为该第二 类加密数据包为该关注类型数据包时,预测该第二类加密数据包中的已知信 息位对应的 SN。  In a second possible implementation manner, in combination with the first aspect or the first possible implementation manner of the first aspect, when the second type of encrypted data packet is decoded by a basic decoding manner, the second type of encrypted data is Before the packet corresponds to an RLC entity, before the predicting the SN of the second type of encrypted data packet, the method further includes: determining whether the second type of encrypted data packet is the data packet of the attention type; and when the determining result is the second type of encrypted data packet For the type of interest packet, the SN corresponding to the known information bit in the second type of encrypted data packet is predicted.
在第三种可能的实现方式中, 结合第一方面或第一方面的第一种或第二 种可能的实现方式, 当用基本译码方式对第二类加密数据包译码错误, 该第 二类加密数据包存对应多个 RLC实体时,该预测第二类加密数据包的 SN之 前, 还包括: 判断该第二类加密数据包是否为该关注类型数据包; 该判断结 果为该第二类加密数据包为该关注类型数据包时,选取在上段接收时间内出 现概率最大的该 RLC实体所对应的 SN组后进行预测该第二类加密数据包中 的该已知信息位对应的 SN。  In a third possible implementation manner, in combination with the first aspect or the first or second possible implementation manner of the first aspect, when the second type of encrypted data packet is decoded by a basic decoding manner, the first Before the second type of encrypted data packet is corresponding to the plurality of RLC entities, before the predicting the SN of the second type of encrypted data packet, the method further includes: determining whether the second type of the encrypted data packet is the data packet of the attention type; When the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving period is selected, and then the corresponding information bit in the second type of encrypted data packet is predicted. SN.
在第四种可能的实现方式中, 结合第一方面或第一方面的第一种至第三 种任一种可能的实现方式, 该预测第二类加密数据包的 SN包括: 判断该第 二类加密数据包是否为新传; 当该判断该第二类的加密数据包是否为新传的 判断结果为该第二类加密数据包是新传时, 判断该第二类加密数据包的前一 个第二类加密数据包是否正确接收; 当该判断该第二类加密数据包的该前一 个第二类加密数据包是否正确接收的判断结果为该前一个第二类加密数据 包正确接收, 预测该 SN为该前一个第二类加密数据包的 SN加 1或预测该 SN为该前一个第二类加密数据包的 SN加 1并加溢后取模。  In a fourth possible implementation, in combination with the first aspect or the first to the third possible implementation manner of the first aspect, the predicting the SN of the second type of encrypted data packet includes: determining the second Whether the class-encrypted data packet is a new transmission; when it is determined whether the second type of the encrypted data packet is a new transmission, and the second type of the encrypted data packet is a new transmission, determining the second type of the encrypted data packet Whether a second type of encrypted data packet is correctly received; when the judgment result of determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type of encrypted data packet is correctly received, Predicting that the SN is 1 for the SN of the previous second type of encrypted data packet or predicting that the SN is 1 for the SN of the previous second type of encrypted data packet and modulo the SN.
在第五种可能的实现方式中, 结合第一方面的第四种可能的实现方式, 当该判断该第二类加密数据包的该前一个第二类加密数据包是否正确接收 的判断结果为该前一个第二类加密数据包未正确接收,预测该第二类加密数 据包和前一个正确接收的第二类加密数据包之间第二类加密数据包个数 n, 预测该已知信息位的数据包的 SN为该前一个正确接收的第二类加密数据包 的 SN加该 n再加 1或该前一个正确接收的第二类加密数据包的 SN加 1并 加溢后取模。 在第六种可能的实现方式中, 结合第一方面的第四种可能的实现方式, 当该判断该第二类加密数据包是否为新传的判断结果为该第二类加密数据 包不是新传时, 预测该已知信息位的数据包的 SN为上一次对该第一类加密 数据包的预测 SN。 In a fifth possible implementation manner, in combination with the fourth possible implementation manner of the first aspect, when determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received, the determination result is The previous second type of encrypted data packet is not correctly received, and the number n of the second type of encrypted data packet between the second type of encrypted data packet and the previously correctly received second type of encrypted data packet is predicted, and the known information is predicted. The SN of the bit packet is the SN of the previously correctly received second type of encrypted data packet plus the n plus 1 or the SN of the previously correctly received second type of encrypted data packet is incremented by 1 and overfilled and modulo . In a sixth possible implementation, in combination with the fourth possible implementation manner of the first aspect, when determining whether the second type of encrypted data packet is a new transmission, the second type of encrypted data packet is not new. At the time of transmission, the SN of the data packet predicting the known information bit is the predicted SN of the first type of encrypted data packet.
在第七种可能的实现方式中, 结合第一方面和第一方面的第一至第六种 任一种可能的实现方式, 该根据该预测的 SN, 利用该第一类加密数据包中 该经过加密的已知信息位信息对该第二类加密数据包进行译码包括: 选取该 预测的 SN对应的第一类加密数据包; 利用该第一类加密数据包上的该已知 信息位信息对该第二类加密数据包进行辅助译码。  In a seventh possible implementation, in combination with the first aspect and any one of the first to the sixth possible implementation manners of the first aspect, the SN according to the prediction, using the first type of encrypted data packet Decoding the second type of encrypted data packet by using the encrypted known information bit information includes: selecting a first type of encrypted data packet corresponding to the predicted SN; and using the known information bit on the first type of encrypted data packet The information assists in decoding the second type of encrypted data packet.
第二方面, 提供了一种译码的装置, 其特征在于, 包括: 接收模块, 用 于获取第一类加密数据包, 该第一类加密数据包为经过加密的已知信息位信 息, 该第一类加密数据包来自 RLC层, 还用于接收第二类加密数据包, 该 第二类加密数据包来自发送端的物理层; 处理模块, 用于预测第二类加密数 据包的 SN; 译码模块, 用于根据该预测的 SN, 利用该第一类加密数据包中 该经过加密的已知信息位信息对该第二类加密数据包进行译码  In a second aspect, a decoding apparatus is provided, including: a receiving module, configured to acquire a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, The first type of encrypted data packet is from the RLC layer, and is also used to receive the second type of encrypted data packet, the second type of encrypted data packet is from the physical layer of the transmitting end, and the processing module is configured to predict the SN of the second type of encrypted data packet; a code module, configured to decode the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet according to the predicted SN
在第一种可能的实现方式中, 还包括: 存储模块, 用于存储该第一类加 密数据包和该第二类加密数据包。  In a first possible implementation, the method further includes: a storage module, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
在第二种可能的实现方式中, 结合第二方面或第二方面的第一种可能的 实现方式, 该第一类加密数据包由 RLC层生成, 包括: 在 RLC层实体内, 基于该 RLC实体对应的 SN组内的每个 SN生成该 SN对应的密码流, 用该 密码流对该已知信息位信息进行加密, 得到该第一类加密数据包。  In a second possible implementation manner, in combination with the second aspect or the first possible implementation manner of the second aspect, the first type of encrypted data packet is generated by the RLC layer, including: in the RLC layer entity, based on the RLC Each SN in the SN group corresponding to the entity generates a cipher stream corresponding to the SN, and encrypts the known information bit information by using the cipher stream to obtain the first type of encrypted data packet.
在第三种可能的实现方式中, 结合第二方面或第二方面的第一种或第二 种可能的实现方式, 当用基本译码方式对第二类加密数据包译码错误, 该第 一类加密数据包对应一个 RLC 实体时, 判断该第二类加密数据包是否为该 关注类型数据包; 该判断结果为该第二类加密数据包为该关注类型数据包 时, 该处理模块预测该已知信息位的数据包的 SN。  In a third possible implementation manner, in combination with the second aspect or the first or second possible implementation manner of the second aspect, when the second type of encrypted data packet is decoded by a basic decoding manner, the first When a type of encrypted data packet corresponds to an RLC entity, it is determined whether the second type of encrypted data packet is the data packet of the attention type; and the result of the determination is that the second type of encrypted data packet is the data packet of the attention type, the processing module predicts The SN of the packet of the known information bit.
在第四种可能的实现方式中, 结合第二方面或第二方面的第一种至第三 种任一种可能的实现方式, 该处理模块进一步用于, 当用基本译码方式对第 二类加密数据包译码错误, 该第一类加密数据包存对应多个 RLC 实体时, 判断该第二类加密数据包是否为该关注类型数据包; 该判断结果为该第二类 加密数据包为该关注类型数据包时,选取在上段接收时间内出现概率最大的 该 RLC实体所对应的 SN组,预测该第二类加密数据包中的该已知信息位对 应的 SN。 In a fourth possible implementation, in combination with the second aspect or the first to the third possible implementation manner of the second aspect, the processing module is further configured to: when using the basic decoding manner to the second The class encryption data packet is decoded incorrectly. When the first type of encrypted data packet corresponds to multiple RLC entities, it is determined whether the second type of encrypted data packet is the data packet of the attention type; the judgment result is the second type of encrypted data packet. For the data packet of the attention type, select the one with the highest probability of occurrence in the upper receiving time. The SN group corresponding to the RLC entity predicts the SN corresponding to the known information bit in the second type of encrypted data packet.
在第五种可能的实现方式中, 结合第二方面或第二方面的第一种至第四 种任一种可能的实现方式, 该处理模块进一步用于, 判断该第二类加密数据 包是否为新传; 当该判断该第二类的加密数据包是否为新传的判断结果为该 第二类加密数据包是新传时, 判断该第二类加密数据包的前一个第二类加密 数据包是否正确接收; 当该判断该第二类加密数据包的该前一个第二类加密 数据包是否正确接收的判断结果为该前一个第二类加密数据包正确接收,预 测该 SN为该前一个第二类加密数据包的 SN加 1或预测该 SN为该前一个 第二类加密数据包的 SN加 1并加溢后取模。  In a fifth possible implementation, the processing module is further configured to determine whether the second type of encrypted data packet is combined with the second aspect or the first to fourth possible implementation manners of the second aspect For the new transmission; when it is determined whether the second type of encrypted data packet is a new transmission, and the second type of encrypted data packet is a new transmission, determining the second type of encryption of the second type of encrypted data packet Whether the data packet is correctly received; when the judgment result of determining whether the previous second type encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type encrypted data packet is correctly received, predicting the SN is the The SN of the previous second type of encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet and is oversampled.
在第六种可能的实现方式中, 结合第二方面或第二方面的第一种至第五 种任一种可能的实现方式, 该处理模块进一步用于, 当该判断该第二类加密 数据包的该前一个第二类加密数据包是否正确接收的判断结果为该前一个 第二类加密数据包未正确接收,预测该第二类加密数据包和前一个正确接收 的第二类加密数据包之间第二类加密数据包个数 n, 预测该 SN为该前一个 正确接收的第二类加密数据包的 SN加该 n再加 1。  In a sixth possible implementation, in combination with the second aspect or the first to the fifth possible implementation manners of the second aspect, the processing module is further configured to: when determining the second type of encrypted data The judgment result of whether the previous second type of encrypted data packet of the packet is correctly received is that the previous second type of encrypted data packet is not correctly received, and the second type of encrypted data packet and the second correctly received second type of encrypted data are predicted. The number of encrypted packets of the second type between the packets is n, and the SN is predicted to be the SN of the previously correctly received second type of encrypted data packet plus the n plus one.
在第七种可能的实现方式中, 结合第二方面或第二方面的第一种至第六 种任一种可能的实现方式, 当该判断该第二类加密数据包是否为新传的判断 结果为该第二类加密数据包不是新传时, 预测该 SN为上一次对该第二类加 密数据包的预测 SN。  In a seventh possible implementation, the second aspect or the first to the sixth possible implementation manner of the second aspect, when determining whether the second type of encrypted data packet is a new transmission The result is that when the second type of encrypted data packet is not newly transmitted, the SN is predicted to be the predicted SN of the second type of encrypted data packet.
在第八种可能的实现方式中, 结合第二方面或第二方面的第一种至第七 种任一种可能的实现方式, 该译码模块进一步用于, 选取该预测的 SN对应 的第一类加密数据包; 利用该第一类加密数据包上的该已知信息位信息对该 第二类加密数据包进行辅助译码。  In an eighth possible implementation, the decoding module is further configured to: select the corresponding SN corresponding to the second aspect, or any one of the first to the seventh possible implementation manners of the second aspect A type of encrypted data packet; assisting decoding of the second type of encrypted data packet by using the known information bit information on the first type of encrypted data packet.
第三方面, 提供了一种译码的装置, 包括: 接收器, 用于获取第一类加 密数据包, 该第一类加密数据包为经过加密的已知信息位信息, 该第一类加 密数据包来自 RLC层, 还用于接收第二类加密数据包, 该第二类加密数据 包来自发送端的物理层; 处理器, 用于预测第二类加密数据包的 SN, 还用 于根据该预测的 SN, 利用该第一类加密数据包中该经过加密的已知信息位 信息对该第二类加密数据包进行译码  A third aspect provides a decoding apparatus, including: a receiver, configured to acquire a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encryption The data packet is from the RLC layer, and is further configured to receive a second type of encrypted data packet, the second type of encrypted data packet is from a physical layer of the transmitting end, and a processor is configured to predict a SN of the second type of encrypted data packet, and is further configured to The predicted SN, decoding the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet
在第一种可能的实现方式中, 还包括: 存储器, 用于存储该第一类加密 数据包和该第二类加密数据包。 In a first possible implementation, the method further includes: a memory, configured to store the first type of encryption The data packet and the second type of encrypted data packet.
在第二种可能的实现方式中, 结合第三方面或第三方面的第一种可能的 实现方式, 该第一类加密数据包由 RLC层生成, 包括: 在 RLC层实体内, 基于该 RLC实体对应的 SN组内的每个 SN生成该 SN对应的密码流, 用该 密码流对该已知信息位信息进行加密, 得到该第一类加密数据包。  In a second possible implementation, in combination with the third aspect or the first possible implementation manner of the third aspect, the first type of encrypted data packet is generated by the RLC layer, including: in the RLC layer entity, based on the RLC Each SN in the SN group corresponding to the entity generates a cipher stream corresponding to the SN, and encrypts the known information bit information by using the cipher stream to obtain the first type of encrypted data packet.
在第三种可能的实现方式中, 结合第三方面或第三方面的第一种或第二 种可能的实现方式, 该处理器进一步用于, 当用基本译码方式对第二类加密 数据包译码错误, 该第一类加密数据包对应一个 RLC 实体时, 判断该第二 类加密数据包是否为该关注类型数据包; 该判断结果为该第二类加密数据包 为该关注类型数据包时, 该处理器预测该已知信息位的数据包的 SN。  In a third possible implementation, in combination with the third aspect or the first or second possible implementation manner of the third aspect, the processor is further configured to: when the second type of encrypted data is used in a basic decoding manner Packet decoding error, when the first type of encrypted data packet corresponds to an RLC entity, determining whether the second type of encrypted data packet is the data packet of the attention type; the judgment result is that the second type of encrypted data packet is the data of the attention type At the time of the packet, the processor predicts the SN of the packet of the known information bit.
在第四种可能的实现方式中, 结合第三方面或第三方面的第一种至第三 种任一种可能的实现方式, 该处理器进一步用于, 当用基本译码方式对第二 类加密数据包译码错误, 该第一类加密数据包存对应多个 RLC 实体时, 判 断该第二类加密数据包是否为该关注类型数据包; 该判断结果为该第二类加 密数据包为该关注类型数据包时,选取在上段接收时间内出现概率最大的该 RLC实体所对应的 SN组, 预测该第二类加密数据包中的该已知信息位对应 的 SN。  In a fourth possible implementation, in combination with the third aspect or the first to the third possible implementation manners of the third aspect, the processor is further configured to: when using the basic decoding manner to the second The class encryption data packet is decoded incorrectly. When the first type of encrypted data packet corresponds to multiple RLC entities, it is determined whether the second type of encrypted data packet is the data packet of the attention type; the judgment result is the second type of encrypted data packet. For the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the SN corresponding to the known information bit in the second type of encrypted data packet is predicted.
在第五种可能的实现方式中, 结合第三方面或第三方面的第一种至第四 种任一种可能的实现方式, 该处理器进一步用于, 判断该第二类加密数据包 是否为新传; 当该判断该第二类的加密数据包是否为新传的判断结果为该第 二类加密数据包是新传时, 判断该第二类加密数据包的前一个第二类加密数 据包是否正确接收; 当该判断该第二类加密数据包的该前一个第二类加密数 据包是否正确接收的判断结果为该前一个第二类加密数据包正确接收,预测 该 SN为该前一个第二类加密数据包的 SN加 1或预测该 SN为该前一个第 二类加密数据包的 SN加 1并加溢后取模。  In a fifth possible implementation, in combination with the third aspect or the first to fourth possible implementation manners of the third aspect, the processor is further configured to: determine whether the second type of encrypted data packet is For the new transmission; when it is determined whether the second type of encrypted data packet is a new transmission, and the second type of encrypted data packet is a new transmission, determining the second type of encryption of the second type of encrypted data packet Whether the data packet is correctly received; when the judgment result of determining whether the previous second type encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type encrypted data packet is correctly received, predicting the SN is the The SN of the previous second type of encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet and is oversampled.
在第六种可能的实现方式中, 结合第三方面或第三方面的第一种至第五 种任一种可能的实现方式, 该处理器进一步用于, 当该判断该第二类加密数 据包的该前一个第二类加密数据包是否正确接收的判断结果为该前一个第 二类加密数据包未正确接收,预测该第二类加密数据包和前一个正确接收的 第二类加密数据包之间第二类加密数据包个数 n, 预测该 SN为该前一个正 确接收的第二类加密数据包的 SN加该 n再加 1。 在第七种可能的实现方式中, 结合第三方面或第三方面的第一种至第六 种任一种可能的实现方式, 当该判断该第二类加密数据包是否为新传的判断 结果为该第二类加密数据包不是新传时, 预测该 SN为上一次对该第二类加 密数据包的预测 SN。 In a sixth possible implementation, in combination with the third aspect or the first to fifth possible implementation manners of the third aspect, the processor is further configured to: when determining the second type of encrypted data The judgment result of whether the previous second type of encrypted data packet of the packet is correctly received is that the previous second type of encrypted data packet is not correctly received, and the second type of encrypted data packet and the second correctly received second type of encrypted data are predicted. The number of encrypted packets of the second type between the packets is n, and the SN is predicted to be the SN of the previously correctly received second type of encrypted data packet plus the n plus one. In a seventh possible implementation, in combination with the third aspect or the first to sixth possible implementation manners of the third aspect, when determining whether the second type of encrypted data packet is a new transmission The result is that when the second type of encrypted data packet is not newly transmitted, the SN is predicted to be the predicted SN of the second type of encrypted data packet.
在第八种可能的实现方式中, 结合第三方面或第三方面的第一种至第七 种任一种可能的实现方式, 该处理器进一步用于, 选取该预测的 SN对应的 第一类加密数据包; 利用该第一类加密数据包上的该已知信息位信息对该第 二类加密数据包进行辅助译码。  In an eighth possible implementation, in combination with the third aspect or the first to the seventh possible implementation manners of the third aspect, the processor is further configured to: select the first corresponding to the predicted SN Class-encrypting data packet; assisting decoding of the second type of encrypted data packet by using the known information bit information on the first type of encrypted data packet.
基于上述技术方案, 本发明实施例为了提高物理层的译码效率, 使物理 层可以利用被加密的已知信息位进行译码,在物理层预测第二类加密数据包 的 SN, 从而高概率的找到该 SN对应的第一类加密信息中的该已知信息位, 利用该已知信息位的上的信息对加密数据包进行译码。从而有效的提高的译 码速度, 提高了译码性能。  Based on the foregoing technical solution, in order to improve the decoding efficiency of the physical layer, the physical layer can use the encrypted known information bits to decode, and predict the SN of the second type of encrypted data packet at the physical layer, thereby high probability. The known information bits in the first type of encrypted information corresponding to the SN are found, and the encrypted data packet is decoded by using the information on the known information bits. Thereby effectively improving the decoding speed and improving the decoding performance.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1是根据本发明实施例的译码的方法的示意性流程图。  1 is a schematic flow chart of a method of decoding according to an embodiment of the present invention.
图 2是根据本发明实施例的译码装置的示意性框图;  2 is a schematic block diagram of a decoding apparatus according to an embodiment of the present invention;
图 3是根据本发明实施例的译码装置的另一示意性框图。 具体实施方式  FIG. 3 is another schematic block diagram of a decoding apparatus according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
图 1示出了根据本发明实施例的译码的方法 100的示意性流程图。 图 1 的方法在物理层执行, 如图 1所示, 该方法 100包括: S110, 获取第一类加密数据包, 该第一类加密数据包为经过加密的已知 信息位信息, 该第一类加密数据包来自无线链路控制 (Radio Link Control, 简 称为 "RLC" )层; FIG. 1 shows a schematic flow diagram of a method 100 of coding in accordance with an embodiment of the present invention. The method of Figure 1 is performed at the physical layer. As shown in Figure 1, the method 100 includes: S110. Acquire a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, where the first type of encrypted data packet is from a radio link control (Radio Link Control, referred to as "RLC"). Floor;
S120, 接收第二类加密数据包, 预测该第二类加密数据包的 SN;  S120, receiving a second type of encrypted data packet, and predicting an SN of the second type of encrypted data packet;
S130, 根据该预测的 SN, 利用该第一类加密数据包中该经过加密的已 知信息位信息对该第二类加密数据包进行译码。  S130. Decode the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet according to the predicted SN.
在本发明实施例中, 为了提高物理层的译码效率, 使物理层可以利用被 加密的已知信息位进行译码, 在物理层预测第二类加密数据包的 SN, 从而 高概率的找到该 SN对应的第一类加密信息中的该已知信息位, 利用该已知 信息位的上的信息对加密数据包进行译码。 从而有效的提高的译码速度, 提 高了译码性能。  In the embodiment of the present invention, in order to improve the decoding efficiency of the physical layer, the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability. The known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit. Thereby, the decoding speed is effectively improved, and the decoding performance is improved.
在 S110 中, 获取第一类加密数据包, 该第一类加密数据包为经过加密 的已知信息位信息, 该第一类加密数据包来自 RLC层。  In S110, a first type of encrypted data packet is obtained, and the first type of encrypted data packet is encrypted known information bit information, and the first type of encrypted data packet is from an RLC layer.
具体而言, 物理层获得与 RLC层交互中得到的第一类加密数据包, 该 第一类加密数据包在 RLC层经过对数据包进行加密后所得。 在数据包中, 部分信息位为固定的, 该固定信息位称为已知信息位。  Specifically, the physical layer obtains the first type of encrypted data packet obtained by interacting with the RLC layer, and the first type of encrypted data packet is obtained by encrypting the data packet at the RLC layer. In the data packet, part of the information bits are fixed, and the fixed information bits are called known information bits.
物理层对于正确接收的第一类加密数据包,将物理层的信息库中和该数 据包的 SN对应的已知信息位的加密信息位删除。  The physical layer deletes the encrypted information bits of the known information bits corresponding to the SN of the data packet in the information layer of the physical layer for the correctly received first type of encrypted data packet.
在本发明实施例中, 可选地, 在 S110之前, 该方法 100还包括:  In the embodiment of the present invention, optionally, before S110, the method 100 further includes:
S140, 在 RLC层实体内, 基于该 RLC实体对应的 SN组内的每个 SN 生成该 SN对应的密码流, 用该密码流对该已知信息位信息进行加密, 得到 该第一类加密数据包。  S140, in the RLC layer entity, generate a cipher stream corresponding to the SN based on each SN in the SN group corresponding to the RLC entity, and encrypt the known information bit information by using the cipher stream to obtain the first type of encrypted data. package.
可选地, S140包括:  Optionally, S140 includes:
5141 ,在 RLC层为 RLC实体所对应的 SN组内的每个 SN生成该 SN对 应的密码流。  5141. Generate, at the RLC layer, a cipher corresponding to the SN for each SN in the SN group corresponding to the RLC entity.
在 RLC层可有不同的 RLC实体, 每个 RLC实体都有其所对应的 SN 组。 每个 SN组由若干 SN构成。 RLC实体不同, SN组也不同。 为每个 SN 组内的 SN生成与该 SN对应的密码流。 该密码流用于对数据包进行加密。  There may be different RLC entities in the RLC layer, and each RLC entity has its corresponding SN group. Each SN group consists of several SNs. The RLC entity is different, and the SN group is different. A cipher stream corresponding to the SN is generated for each SN in the SN group. This password stream is used to encrypt the data packet.
5142, 在该 RLC层用该密码流分别对已知信息位进行加密, 生成加密 后的已知信息, 该加密后的已知信息为该第一类加密数据包。  5142. The known information bits are respectively encrypted by the cipher stream in the RLC layer to generate encrypted known information, and the encrypted known information is the first type of encrypted data packet.
在 RLC层, 用该密码流对已知位信息进行加密, 加密方式有多种, 例 如用该密码流对已知位信息逐比特进行异或,便可以得到加密后的第一类加 密数据包。 At the RLC layer, the known bit information is encrypted by the cipher stream, and there are various encryption methods, for example. If the known bit information is XORed bit by bit using the cipher stream, the encrypted first type encrypted data packet can be obtained.
RLC层在和物理层的交互通信中,将该第一类加密数据包在交互通信中 传输到物理层。  In the interactive communication with the physical layer, the RLC layer transmits the first type of encrypted data packet to the physical layer in interactive communication.
在 S120中, 预测第二类加密数据包的 SN, 该第二类加密数据包来自发 送端的物理层。  In S120, the SN of the second type of encrypted data packet is predicted, and the second type of encrypted data packet is from the physical layer of the transmitting end.
可选地, 该第二类加密数据包来自发送端的物理层, 该第二类加密数据 包也是在 RLC层进行加密。 第二类加密数据包的 SN, 该 SN在第一类加密 数据包中该 SN对应的已知信息位, 和该 SN对应的第二类加密数包中所包 含的已知信息位相同或相对应。  Optionally, the second type of encrypted data packet is from a physical layer of the transmitting end, and the second type of encrypted data packet is also encrypted at the RLC layer. The SN of the second type of encrypted data packet, wherein the SN is in the first type of encrypted data packet, and the known information bit corresponding to the SN is the same as or related to the known information bit included in the second type of encrypted number packet corresponding to the SN. correspond.
可选地, S120包括,  Optionally, S120 includes,
S121 , 判断该第二类加密数据包是否为新传。 在物理层, 第一类加密数 据包通过 RLC层和物理层的交互通信, 由 RLC层传输到物理层。 第二类加 密数据包由来自物理层的发送端将加密数据包由传输信道传送到物理层的 接收端, 并在接收端进行译码。 第一类加密数据包和第二类加密包包含相同 的已知位, 由于第二类加密数据包经过传输信道, 有可能收到噪音等其它因 素干扰而出错, 也可以利用第一类加密数据包中的已知信息位, 对第二类加 密数据包进行译码。  S121. Determine whether the second type of encrypted data packet is a new transmission. At the physical layer, the first type of encrypted data packets are transmitted by the RLC layer to the physical layer through the RLC layer and the physical layer. The second type of encrypted data packet is transmitted by the transmitting end from the physical layer to the receiving end of the physical layer by the transmission channel, and is decoded at the receiving end. The first type of encrypted data packet and the second type of encrypted data packet contain the same known bit. Since the second type of encrypted data packet passes through the transmission channel, it may be interfered by other factors such as noise, and the first type of encrypted data may also be utilized. The known information bits in the packet decode the second type of encrypted data packet.
发送端物理层向接收端发送第二类加密数据包, 当第二类加密数据包接 收失败时,发送端重发该接收失败的第二类加密数据包。对于物理层接收端, 当所接受到的第二类加密数据包为非重发, 即第一次接收到该第二类加密数 据包, 该第二类加密数据包为新传。  The physical layer of the sending end sends the second type of encrypted data packet to the receiving end. When the second type of encrypted data packet fails to be received, the transmitting end resends the second type of encrypted data packet that failed to be received. For the physical layer receiving end, when the received second type of encrypted data packet is non-retransmitted, that is, the second type of encrypted data packet is received for the first time, the second type of encrypted data packet is newly transmitted.
在物理层的接收端,存储有接收端所接受到的第二类加密数据包的接收 状态, 该接收状态指示了所接收到的第二类加密数据包是否成功接收, 根据 该指示信息, 当所接受到的第二类数据包未在接收端记录为接收失败, 则可 以判断该第二类加密数据包是新传, 当所接受到的第二类数据包在接收端记 录为接收失败, 则可以判断该第二类加密数据包为重发, 而非新传。  At the receiving end of the physical layer, a receiving state of the second type of encrypted data packet received by the receiving end is stored, where the receiving state indicates whether the received second type of encrypted data packet is successfully received, according to the indication information, If the received second type of data packet is not recorded as receiving failure at the receiving end, it may be determined that the second type of encrypted data packet is a new transmission, and when the received second type of data packet is recorded as receiving failure at the receiving end, It is determined that the second type of encrypted data packet is a retransmission, not a new one.
可选地, S120还包括,  Optionally, S120 further includes
S122a,在 S121中当判断第二类加密数据包是否为新传的判断结果为该 第二类加密数据包不是新传时, 预测第二类加密数据包的 SN为上一次对该 第二类加密数据包的预测 SN。 当该第二类加密数据包并非新传,表明该加密数据包第一次传输到物理 层接收端接收失败因此发送端重新发送该第二类加密数据包, 物理层接收端 在第一次接收该第二类加密数据包时已经对该第二类加密数据包进行了预 测 SN, 预测步骤参照步骤 S120, 当物理层接收端再次收到物理层发送端重 发的该第二类加密数据包时, 预测所述已知信息位的数据包的 SN为上一次 对所述第二类加密数据包的预测 SN。 S122a. When it is determined in S121 whether the second type of encrypted data packet is a new transmission, and the second type of encrypted data packet is not a new transmission, the SN of the second type of encrypted data packet is predicted to be the last time of the second type. The predicted SN of the encrypted packet. When the second type of encrypted data packet is not newly transmitted, it indicates that the first time the encrypted data packet is transmitted to the receiving end of the physical layer, the receiving end fails to resend the second type of encrypted data packet, and the physical layer receiving end receives the first time. The second type of encrypted data packet has been predicted SN by the second type of encrypted data packet. The prediction step refers to step S120, and the physical layer receiving end receives the second type encrypted data packet retransmitted by the physical layer sending end. The SN of the data packet predicting the known information bit is the last predicted SN of the second type of encrypted data packet.
可选地, S120还包括,  Optionally, S120 further includes
S122b,在 S121中判断该第二类加密数据包是否为新传的判断结果为该 第二类加密数据包是新传时, 判断该第二类加密数据包的前一个数据包是否 正确接收。  S122b. When it is determined in S121 whether the second type of encrypted data packet is a new transmission, if the second type of encrypted data packet is a new transmission, it is determined whether the previous data packet of the second type of encrypted data packet is correctly received.
可选地, S120还包括,  Optionally, S120 further includes
S123a, 在 S122b中, 判断该加密数据包的前一个数据包, 当该判断该 加密数据包的前一个数据包是否正确接收的判断结果为该加密数据包的前 一个数据包正确接收,预测该 SN为该前一个数据包的 SN加 1或者为 该前 一个数据包 SN加 1并加溢后取模。  S123a, in S122b, determining a previous data packet of the encrypted data packet, and when determining whether the previous data packet of the encrypted data packet is correctly received, the result of the determination that the previous data packet of the encrypted data packet is correctly received, predicting the The SN adds 1 to the SN of the previous data packet or adds 1 to the previous data packet SN and adds the modulo.
可选地, S120还包括,  Optionally, S120 further includes
S123b, 在 S122b中, 判断该第二类加密数据包的前一个第二类数据包, 当该判断该第二类加密数据包的前一个第二类数据包是否正确接收的判断 结果为该加密数据包的前一个第二类数据包未正确接收,预测该加密数据包 和前一个正确接收的第二类数据包之间的 SN个数 n, 预测所 SN为所述前 一个正确接收的第二类数据包 SN加所述加 n加 1或者前一个正确接收的第 二类加密数据包的 SN加 1并加溢后取模。  S123b, in S122b, determining a previous second type of data packet of the second type of encrypted data packet, and determining whether the previous second type data packet of the second type of encrypted data packet is correctly received is the encryption The previous second type of data packet of the data packet is not correctly received, and the number of SNs between the encrypted data packet and the previously correctly received second type data packet is predicted, and the predicted SN is the previous correctly received data. The second type of data packet SN plus the addition of n plus 1 or the previously correctly received second type of encrypted data packet SN plus 1 and overfilled modulo.
本发明实施例中, 可选地, 当第一次进行预测时, 对于不存在前一个第 二类数据包或不存在前一个正确接收的第二类加密数据包的情况下,令前一 个第二类数据包的 SN为 0或前一个正确接收的第二类加密数据包的 SN为 0。  In the embodiment of the present invention, optionally, when the prediction is performed for the first time, in the case that there is no previous second type of data packet or there is no second type of encrypted data packet received correctly, the previous one is The SN of the second type of data packet is 0 or the SN of the second type of encrypted data packet received correctly is 0.
在本发明实施例中, 可选地, 在 S120之前, 该方法 100还包括: S150, 当加密数据包来自于一个 RLC 实体时, 判断所述加密数据包是 否为关注类型数据包; 所述判断结果为所述加密数据包为关注类型数据包 时, 预测 SN。  In the embodiment of the present invention, optionally, before the step S120, the method 100 further includes: S150. When the encrypted data packet is from an RLC entity, determining whether the encrypted data packet is a data packet of interest type; The result is that the SN is predicted when the encrypted data packet is a type of interest packet.
该关注类型数据包指数据包中包含有丰富已知位信息的数据包, 例如 TCP ACK包, 或者数据中添加附加信息位具有已知位信息的数据包。 关注 类型数据包为待加密的数据包, The attention type data packet refers to a data packet containing a rich amount of known bit information in the data packet, for example A TCP ACK packet, or a data packet with additional information bits added to the data with known bit information. The type of interest packet is the data packet to be encrypted.
目前现网中 TCPACK包空口为 354bits,根据数据包大小判断是否为关注 类型数据包。 对于接收到的数据包, 如果该数据包大小为 354bits, 当其釆用 基本译码算法失败时, 可对其进行辅助译码。  Currently, the TCPACK packet in the current network is 354 bits, and it is judged whether it is a type packet of interest according to the packet size. For the received data packet, if the data packet size is 354 bits, it can be assisted to decode when the basic decoding algorithm fails.
根据对现网数据分析, TCP头还会出现 32bytes和 44bytes, 此时, 整个 TCPACK会被拆分成 2个 354bits包,第二个包由 TCP头剩余信息以及附加 信息位组成。 对于需要进行辅助译码的某个 354bits的数据包, 若该数据包 的预测 SN为某个正确接收的 TCPACK的第一个包的 SN加 1 , 则认为该数 据包的已知信息为 TCP ACK包的第二个数据包内的已知信息, 反之, 该数 据包的已知信息为 TCPACK包的第一个数据包内的已知信息。  According to the analysis of the existing network data, the TCP header will also appear 32bytes and 44bytes. At this time, the entire TCPACK will be split into two 354bits packets, and the second packet will be composed of the remaining information of the TCP header and additional information bits. For a 354-bit packet that needs to be assisted, if the predicted SN of the packet is 1 for the SN of the first packet of a correctly received TCP ACK, the known information of the packet is considered to be TCP ACK. The known information in the second packet of the packet. Conversely, the known information of the packet is the known information in the first packet of the TCPACK packet.
在本发明实施例中, 可选地, 在 S120之前, 该方法 100还包括: S160, 当加密数据来自于多个 RLC实体, 该预测该加密数据包中该已 知信息位的数据包的 SN之前, 还包括:  In the embodiment of the present invention, optionally, before the S120, the method 100 further includes: S160. When the encrypted data is from multiple RLC entities, the SN of the data packet of the known information bit in the encrypted data packet is predicted. Previously, it also included:
选取在上段接收时间内出现概率最大的 RLC实体, 其中上段接收时间可 以根据具体应用场景进行选取。  The RLC entity with the highest probability of occurrence in the upper receiving period is selected, and the receiving time of the upper segment can be selected according to the specific application scenario.
判断所述加密数据包是否为关注类型数据包; 所述判断结果为所述加密 数据包为关注类型数据包时, 预测 SN。  Determining whether the encrypted data packet is a data packet of interest type; and when the determining result is that the encrypted data packet is a data packet of a concern type, predicting the SN.
该关注类型数据包指数据包中包含有丰富已知位信息的数据包, 例如 TCP ACK包, 或者数据中添加附加信息位具有已知位信息的数据包。 关注 类型数据包为待加密的数据包,  The attention type data packet refers to a data packet in which the data packet contains rich known bit information, such as a TCP ACK packet, or a data packet in which additional information bits are added with known bit information. The type packet is the packet to be encrypted.
目前现网中 TCPACK包空口为 354bits,根据数据包大小判断是否为关注 类型数据包。 对于接收到的数据包, 如果该数据包大小为 354bits, 当其釆用 基本译码算法失败时, 可对其进行辅助译码。  Currently, the TCPACK packet in the current network is 354 bits, and it is judged whether it is a type packet of interest according to the packet size. For the received data packet, if the data packet size is 354 bits, it can be assisted to decode when the basic decoding algorithm fails.
根据对现网数据分析, TCP头还会出现 32bytes和 44bytes, 此时, 整个 TCPACK会被拆分成 2个 354bits包,第二个包由 TCP头剩余信息以及附加 信息位组成。 对于需要进行辅助译码的某个 354bits的数据包, 若该数据包 的预测 SN为某个正确接收的 TCPACK的第一个包的 SN加 1 , 则认为该数 据包的已知信息为 TCP ACK包的第二个数据包内的已知信息, 反之, 该数 据包的已知信息为 TCPACK包的第一个数据包内的已知信息。  According to the analysis of the existing network data, the TCP header will also appear 32bytes and 44bytes. At this time, the entire TCPACK will be split into two 354bits packets, and the second packet will be composed of the remaining information of the TCP header and additional information bits. For a 354-bit packet that needs to be assisted, if the predicted SN of the packet is 1 for the SN of the first packet of a correctly received TCP ACK, the known information of the packet is considered to be TCP ACK. The known information in the second packet of the packet. Conversely, the known information of the packet is the known information in the first packet of the TCPACK packet.
所述判断结果为所述加密数据包为所述 TCP ACK和 /或带有附加信息位 时, 预测 SN。 预测步骤如 S120所述, 此处不再累述。 The judgment result is that the encrypted data packet is the TCP ACK and/or with additional information bits. When predicting SN. The prediction step is as described in S120, and will not be described here.
当预测错误时, 可再逐个选取其它 RLC实体对应的数据包。  When the prediction is wrong, the data packets corresponding to other RLC entities can be selected one by one.
5130, 根据该预测的 SN, 利用该第一类加密数据包中该经过加密的已 知信息位信息对该第二类加密数据包进行译码。  5130. Decode, according to the predicted SN, the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet.
可选地, S130包括,  Optionally, S130 includes,
5131 , 选取步骤 S120中预测的 SN对应的第一类加密数据包的已知信 息位加密信息。  5131. Select the known information bit encryption information of the first type of encrypted data packet corresponding to the SN predicted in step S120.
可选地, S130包括,  Optionally, S130 includes,
5132 ,利用该已知信息位的上的加密信息对所述加密数据包进行辅助译 码。  5132. Perform auxiliary decoding on the encrypted data packet by using the encrypted information on the known information bit.
辅助译码为利用已知信息位进行译码, 可选地,  Auxiliary decoding is to decode using known information bits, optionally
在解调对数释然比(Log Likelihood Ratio, 简称为 "LLR" )结果送入译 码器前,将识别为已知信息的 Bit映射到解调 LLR对应极性的无穷大值或者 设定的某个饱和值, 将这个值加到或替换到解调 LLR对应的系统位上。  Before the result of demodulating Log Likelihood Ratio (LLR) is sent to the decoder, the Bit identified as known information is mapped to the infinity value of the corresponding polarity of the demodulated LLR or set to some The saturation value is added or replaced to the system bit corresponding to the demodulation LLR.
可选地, 在译码器内部, 将识别为已知信息的 Bit映射到解调 LLR对应 极性的无穷大值或者设定的某个饱和值,将这个值加到或替换到对应的系统 位的外信息上, 这个替换或者加的过程可以在每次分量译码器译码的过程, 也可以是译码开始前初始化先验信息。  Optionally, inside the decoder, the Bit identified as known information is mapped to an infinity value of the corresponding polarity of the demodulated LLR or a set saturation value, and the value is added or replaced to the corresponding system bit. In the external information, this replacement or addition process may be performed each time the component decoder decodes, or may initialize the prior information before the decoding starts.
在本发明实施例中, 为了提高物理层的译码效率, 使物理层可以利用被 加密的已知信息位进行译码, 在物理层预测第二类加密数据包的 SN, 从而 高概率的找到该 SN对应的第一类加密信息中的该已知信息位, 利用该已知 信息位的上的信息对加密数据包进行译码。 从而有效的提高的译码速度, 提 高了译码性能。  In the embodiment of the present invention, in order to improve the decoding efficiency of the physical layer, the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability. The known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit. Thereby, the decoding speed is effectively improved, and the decoding performance is improved.
应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。  It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
图 2示出了根据本发明实施例的译码装置 200的示意性框图。 图 2及其 说明所揭示的装置, 可基于本发明实施例图 1和基于本发明实施例图 1所揭 示的译码的方法。  FIG. 2 shows a schematic block diagram of a decoding device 200 in accordance with an embodiment of the present invention. The apparatus disclosed in FIG. 2 and its description may be based on the embodiment of the present invention and the method of decoding based on the embodiment of the present invention.
根据本发明实施例的译码装置 200可对应于根据本发明实施例的译码的 方法,并且译码装置 200中的各个模块的上述和其它操作和 /或功能分别为了 实现图 1中的各个方法的相应流程, 为了简洁, 在此不再赘述。 The decoding device 200 according to an embodiment of the present invention may correspond to a method of decoding according to an embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the decoding device 200 are respectively Corresponding processes for implementing the various methods in FIG. 1 are omitted for brevity.
如图 2所示, 译码装置包括:  As shown in FIG. 2, the decoding device includes:
接收模块, 用于获取第一类加密数据包, 该第一类加密数据包为经过加 密的已知信息位信息, 该第一类加密数据包来自 RLC层, 还用于接收第二 类加密数据包, 该第二类加密数据包来自发送端的物理层;  a receiving module, configured to obtain a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encrypted data packet is from the RLC layer, and is further configured to receive the second type of encrypted data packet. Packet, the second type of encrypted data packet is from the physical layer of the transmitting end;
处理模块, 用于预测第二类加密数据包的 SN;  a processing module, configured to predict a SN of the second type of encrypted data packet;
译码模块, 用于根据该预测的 SN, 利用该第一类加密数据包中该经过 加密的已知信息位信息对该第二类加密数据包进行译码。  And a decoding module, configured to decode the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet according to the predicted SN.
可选地, 该译码装置还可以包括, 存储模块, 用于存储该第一类加密数 据包和该第二类加密数据包。  Optionally, the decoding apparatus may further include: a storage module, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
可选地, 该第一类加密数据包由 RLC层生成, 包括:  Optionally, the first type of encrypted data packet is generated by the RLC layer, and includes:
在 RLC层实体内, 基于该 RLC实体对应的 SN组内的每个 SN生成该 SN对应的密码流, 用该密码流对该已知信息位信息进行加密, 得到该第一 类加密数据包。  In the RLC layer entity, a cipher stream corresponding to the SN is generated based on each SN in the SN group corresponding to the RLC entity, and the known information bit information is encrypted by using the cipher stream to obtain the first type of encrypted data packet.
可选地, 该处理模块进一步用于, 当用基本译码方式对第二类加密数据 包译码错误, 该第一类加密数据包对应一个 RLC 实体时, 判断该第二类加 密数据包是否为该关注类型数据包;  Optionally, the processing module is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of encrypted data packet corresponds to an RLC entity, determine whether the second type of encrypted data packet is For the type of interest packet;
该判断结果为该第二类加密数据包为该关注类型数据包时, 该处理模块 预测该已知信息位的数据包的 SN。  When the judgment result is that the second type of encrypted data packet is the attention type data packet, the processing module predicts the SN of the data packet of the known information bit.
可选地, 该处理模块进一步用于, 当用基本译码方式对第二类加密数据 包译码错误, 该第一类加密数据包存对应多个 RLC 实体时, 判断该第二类 加密数据包是否为该关注类型数据包; 该判断结果为该第二类加密数据包为 该关注类型数据包时, 选取在上段接收时间内出现概率最大的该 RLC 实体 所对应的 SN组, 预测该第二类加密数据包中的该已知信息位对应的 SN。  Optionally, the processing module is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of encrypted data packet is stored by the plurality of RLC entities, determine the second type of encrypted data. Whether the packet is the data packet of the attention type; the judgment result is that when the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the first The SN corresponding to the known information bit in the second type of encrypted data packet.
可选地,该处理模块进一步用于,判断该第二类加密数据包是否为新传; 当该判断该第二类的加密数据包是否为新传的判断结果为该第二类加 密数据包是新传时, 判断该第二类加密数据包的前一个第二类加密数据包是 否正确接收。  Optionally, the processing module is further configured to: determine whether the second type of encrypted data packet is a new transmission; and determine, according to whether the second type of the encrypted data packet is a new transmission, the second type of encrypted data packet When it is a new transmission, it is judged whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received.
当该判断该来第二类加密数据包的该前一个第二类加密数据包是否正 确接收的判断结果为该前一个第二类加密数据包正确接收, 预测该 SN为该 前一个第二类加密数据包的 SN加 1或预测该 SN为该前一个第二类加密数 据包的 SN加 1并加溢后取模。 When it is determined that the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received, the result of the determination is that the previous second type of encrypted data packet is correctly received, and the SN is predicted to be the previous second type. The SN of the encrypted data packet is incremented by 1 or the SN is predicted to be the previous second type of encryption number. According to the package SN plus 1 and add over the modulo.
可选地, 该处理模块进一步用于, 当该判断该第二类加密数据包的该前 一个第二类加密数据包是否正确接收的判断结果为该前一个第二类加密数 据包未正确接收,预测该第二类加密数据包和前一个正确接收的第二类加密 数据包之间第二类加密数据包个数 n, 预测该 SN为该前一个正确接收的第 二类加密数据包的 SN加该 n再加 1。  Optionally, the processing module is further configured to: when determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received, determining that the previous second type of encrypted data packet is not correctly received Predicting the number n of the second type of encrypted data packets between the second type of encrypted data packet and the second correctly received second type of encrypted data packet, and predicting that the SN is the second correctly received second type encrypted data packet. SN plus the n plus one.
可选地, 当该判断该第二类加密数据包是否为新传的判断结果为该第二 类加密数据包不是新传时, 预测该 SN为上一次对该第二类加密数据包的预 测 SN。  Optionally, when the determining whether the second type of encrypted data packet is a new transmission result is that the second type of encrypted data packet is not a new transmission, predicting the SN is a prediction of the second type of the encrypted data packet. SN.
可选地该译码模块进一步用于, 选取该预测的 SN对应的第一类加密数 据包;  Optionally, the decoding module is further configured to: select the first type of encrypted data packet corresponding to the predicted SN;
利用该第一类加密数据包上的该已知信息位信息对该第二类加密数据 包进行辅助译码。 辅助译码的步骤可参照本发明方法实施例中 S130所述, 此处不再累述。  The second type of encrypted data packet is assisted by the known information bit information on the first type of encrypted data packet. The step of assisting decoding may be referred to in S130 in the method embodiment of the present invention, and is not described here.
本发明实施例所揭示的译码装置 200, 可位于物理层的包括基站在内的 各种设备内,也可不同模块分别位于物理层不同的设备内,本发明不作限定。  The decoding device 200 disclosed in the embodiment of the present invention may be located in various devices including the base station in the physical layer, or different modules may be located in different devices in the physical layer, which is not limited by the present invention.
在本发明实施例中, 为了提高物理层的译码效率, 使物理层可以利用被 加密的已知信息位进行译码, 在物理层预测第二类加密数据包的 SN, 从而 高概率的找到该 SN对应的第一类加密信息中的该已知信息位, 利用该已知 信息位的上的信息对加密数据包进行译码。 从而有效的提高的译码速度, 提 高了译码性能。  In the embodiment of the present invention, in order to improve the decoding efficiency of the physical layer, the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability. The known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit. Thereby, the decoding speed is effectively improved, and the decoding performance is improved.
图 3示出了根据本发明实施例的译码装置 300的示意性框图。 图 3及其 说明所揭示的装置, 可基于本发明实施例图 1和基于本发明实施例图 1所揭 示的译码的方法, 以及基于图 2所揭示的装置。  FIG. 3 shows a schematic block diagram of a decoding device 300 in accordance with an embodiment of the present invention. The apparatus disclosed in FIG. 3 and its description may be based on the embodiment of the present invention and the method of decoding based on FIG. 1 of the embodiment of the present invention, and the apparatus disclosed based on FIG.
根据本发明实施例的译码装置 300可对应于根据本发明实施例的译码的 方法,并且译码装置 300中的各个器的上述和其它操作和 /或功能分别为了实 现图 1中的各个方法的相应流程, 为了简洁, 在此不再赘述。  The decoding device 300 according to an embodiment of the present invention may correspond to a method of decoding according to an embodiment of the present invention, and the above and other operations and/or functions of the respective devices in the decoding device 300 are respectively implemented in order to implement each of FIG. The corresponding process of the method, for the sake of brevity, will not be repeated here.
如图 3所示, 译码装置包括:  As shown in FIG. 3, the decoding device includes:
接收器, 用于获取第一类加密数据包, 该第一类加密数据包为经过加密 的已知信息位信息, 该第一类加密数据包来自 RLC层, 还用于接收第二类 加密数据包, 该第二类加密数据包来自发送端的物理层; 处理器, 用于预测第二类加密数据包的 SN, 还用于根据该预测的 SN, 利用该第一类加密数据包中该经过加密的已知信息位信息对该第二类加密 数据包进行译码。 a receiver, configured to obtain a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encrypted data packet is from the RLC layer, and is also used to receive the second type of encrypted data packet. Packet, the second type of encrypted data packet is from the physical layer of the transmitting end; a processor, configured to predict a SN of the second type of encrypted data packet, and configured to use the encrypted known information bit information in the first type of encrypted data packet to encrypt the second type of encrypted data packet according to the predicted SN Perform decoding.
可选地, 该译码装置还可以包括, 存储器, 用于存储该第一类加密数据 包和该第二类加密数据包。  Optionally, the decoding apparatus may further include: a memory, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
可选地, 该第一类加密数据包由 RLC层生成, 包括:  Optionally, the first type of encrypted data packet is generated by the RLC layer, and includes:
在 RLC层实体内, 基于该 RLC实体对应的 SN组内的每个 SN生成该 Within the RLC layer entity, generating the SN based on each SN in the SN group corresponding to the RLC entity
SN对应的密码流, 用该密码流对该已知信息位信息进行加密, 得到该第一 类加密数据包。 The cryptographic stream corresponding to the SN is used to encrypt the known information bit information to obtain the first type of encrypted data packet.
可选地, 该处理器进一步用于, 当用基本译码方式对第二类加密数据包 译码错误, 该第一类加密数据包对应一个 RLC 实体时, 判断该第二类加密 数据包是否为该关注类型数据包;  Optionally, the processor is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of encrypted data packet corresponds to an RLC entity, determine whether the second type of encrypted data packet is For the type of interest packet;
该判断结果为该第二类加密数据包为该关注类型数据包时, 该处理器预 测该已知信息位的数据包的 SN。  When the judgment result is that the second type of encrypted data packet is the attention type data packet, the processor predicts the SN of the data packet of the known information bit.
可选地, 该处理器进一步用于, 当用基本译码方式对第二类加密数据包 译码错误, 该第一类加密数据包存对应多个 RLC 实体时, 判断该第二类加 密数据包是否为该关注类型数据包; 该判断结果为该第二类加密数据包为该 关注类型数据包时, 选取在上段接收时间内出现概率最大的该 RLC 实体所 对应的 SN组, 预测该第二类加密数据包中的该已知信息位对应的 SN。  Optionally, the processor is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, and the first type of the encrypted data packet is corresponding to the plurality of RLC entities, determine the second type of encrypted data. Whether the packet is the data packet of the attention type; the judgment result is that when the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the first The SN corresponding to the known information bit in the second type of encrypted data packet.
可选地, 该处理器进一步用于, 判断该第二类加密数据包是否为新传; 当该判断该第二类的加密数据包是否为新传的判断结果为该第二类加 密数据包是新传时, 判断该第二类加密数据包的前一个第二类加密数据包是 否正确接收。  Optionally, the processor is further configured to: determine whether the second type of encrypted data packet is a new transmission; and determine, according to whether the second type of the encrypted data packet is a new transmission, the second type of the encrypted data packet When it is a new transmission, it is judged whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received.
当该判断该来第二类加密数据包的该前一个第二类加密数据包是否正 确接收的判断结果为该前一个第二类加密数据包正确接收, 预测该 SN为该 前一个第二类加密数据包的 SN加 1或预测该 SN为该前一个第二类加密数 据包的 SN加 1并加溢后取模。  When it is determined that the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received, the result of the determination is that the previous second type of encrypted data packet is correctly received, and the SN is predicted to be the previous second type. The SN of the encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet, and the modulo is added.
可选地, 该处理器进一步用于, 当该判断该第二类加密数据包的该前一 个第二类加密数据包是否正确接收的判断结果为该前一个第二类加密数据 包未正确接收,预测该第二类加密数据包和前一个正确接收的第二类加密数 据包之间第二类加密数据包个数 n, 预测该 SN为该前一个正确接收的第二 类加密数据包的 SN加该 n再加 1。 Optionally, the processor is further configured to: when determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received, determining that the previous second type of encrypted data packet is not correctly received Predicting the number n of the second type of encrypted data packets between the second type of encrypted data packet and the second correctly received second type of encrypted data packet, and predicting that the SN is the second correctly received second The SN of the class-encrypted data packet is incremented by one.
可选地, 当该判断该第二类加密数据包是否为新传的判断结果为该第二 类加密数据包不是新传时, 预测该 SN为上一次对该第二类加密数据包的预 测 SN。  Optionally, when the determining whether the second type of encrypted data packet is a new transmission result is that the second type of encrypted data packet is not a new transmission, predicting the SN is a prediction of the second type of the encrypted data packet. SN.
可选地, 该处理器进一步用于, 选取该预测的 SN对应的第一类加密数 据包; 利用该第一类加密数据包上的该已知信息位信息对该第二类加密数据 包进行辅助译码。 辅助译码的步骤可参照本发明方法实施例中 S130所述, 此处不再累述。  Optionally, the processor is further configured to: select the first type of encrypted data packet corresponding to the predicted SN; and use the known information bit information on the first type of encrypted data packet to perform the second type of encrypted data packet. Auxiliary decoding. The step of assisting decoding may be referred to in S130 in the method embodiment of the present invention, and is not described here.
本发明实施例所揭示的译码装置 300, 可位于物理层的包括基站在内的 各种设备内,也可不同器件分别位于物理层不同的设备内,本发明不作限定。 在本发明实施例中, 为了提高物理层的译码效率, 使物理层可以利用被 加密的已知信息位进行译码, 在物理层预测第二类加密数据包的 SN, 从而 高概率的找到该 SN对应的第一类加密信息中的该已知信息位, 利用该已知 信息位的上的信息对加密数据包进行译码。 从而有效的提高的译码速度, 提 高了译码性能。  The decoding device 300 disclosed in the embodiment of the present invention may be located in various devices of the physical layer including the base station, or different devices may be located in different devices of the physical layer, which is not limited by the present invention. In the embodiment of the present invention, in order to improve the decoding efficiency of the physical layer, the physical layer may use the encrypted known information bits for decoding, and predict the SN of the second type of encrypted data packet at the physical layer, thereby finding a high probability. The known information bit in the first type of encrypted information corresponding to the SN, and the encrypted data packet is decoded by using the information on the known information bit. Thereby, the decoding speed is effectively improved, and the decoding performance is improved.
应理解, 在本发明实施例中, 术语 "和 /或"仅仅是一种描述关联对象的 关联关系, 表示可以存在三种关系。 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符 "/" , 一 般表示前后关联对象是一种 "或" 的关系。  It should be understood that in the embodiment of the present invention, the term "and/or" is merely an association describing the associated object, indicating that there may be three relationships. For example, A and / or B, can mean: A exists separately, there are A and B, and there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 上述 描述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。 In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and The method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection. The components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用软件 功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术方 案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (ROM, Read-Only Memory ). 随机存取存 4诸器 (RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. The medium of the code.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1. 一种译码的方法, 其特征在于, 包括:  A decoding method, comprising:
获取第一类加密数据包, 所述第一类加密数据包包括经过加密的已知信 息位信息, 所述第一类加密数据包在无线链路控制 RLC层产生;  Acquiring a first type of encrypted data packet, the first type of encrypted data packet includes encrypted known information bit information, and the first type of encrypted data packet is generated at a radio link control RLC layer;
接收第二类加密数据包, 预测所述第二类加密数据包的序号 SN;  Receiving a second type of encrypted data packet, predicting a sequence number SN of the second type of encrypted data packet;
根据所述预测的 SN, 利用第一类所述经过加密的已知信息位信息对所 述第二类加密数据包进行译码。  And decoding, according to the predicted SN, the second type of encrypted data packet by using the first type of the encrypted known information bit information.
2. 根据权利要求 1 所述的方法, 其特征在于, 所述第一类加密数据包 在无线链路控制 RLC层产生包括:  2. The method according to claim 1, wherein the generating of the first type of encrypted data packet in the radio link control RLC layer comprises:
在 RLC层实体内, 基于所述 RLC实体对应的 SN组内的每个 SN生成 该 SN对应的密码流,轮流使用所述密码流对所述已知信息位信息进行加密, 得到所述第一类加密数据包。  Generating, in the RLC layer entity, a cipher stream corresponding to the SN based on each SN in the SN group corresponding to the RLC entity, and using the cipher stream to encrypt the known information bit information in turn to obtain the first Class encrypted packets.
3. 根据权利要求 1或 2所述的方法, 其特征在于, 当用基本译码方式 对第二类加密数据包译码错误, 所述第二类加密数据包对应一个 RLC 实体 时, 所述预测第二类加密数据包的 SN之前, 还包括: 判断所述第二类加密 数据包是否为所述关注类型数据包;  The method according to claim 1 or 2, wherein when the second type of encrypted data packet is decoded in a basic decoding manner, and the second type of encrypted data packet corresponds to an RLC entity, Before the SN of the second type of encrypted data packet is predicted, the method further includes: determining whether the second type of encrypted data packet is the attention type data packet;
当所述判断结果为所述第二类加密数据包为所述关注类型数据包时,预 测所述第二类加密数据包中的已知信息位对应的 SN。  When the result of the determination is that the second type of encrypted data packet is the attention type data packet, the SN corresponding to the known information bit in the second type of encrypted data packet is predicted.
4. 根据权利要求 1或 2所述的方法所述的方法, 其特征在于, 当用基 本译码方式对第二类加密数据包译码错误, 所述第二类加密数据包对应多个 The method according to the method of claim 1 or 2, wherein when the second type of encrypted data packet is decoded by a basic decoding method, the second type of encrypted data packet corresponds to multiple
RLC实体时, 所述预测第二类加密数据包的 SN之前, 还包括: The RLC entity, before the predicting the SN of the second type of encrypted data packet, further includes:
判断所述第二类加密数据包是否为关注类型数据包;  Determining whether the second type of encrypted data packet is a type of interest packet;
所述判断结果为所述第二类加密数据包为所述关注类型数据包时,选取 在上段接收时间内出现概率最大的所述 RLC实体所对应的 SN组后进行预测 所述第二类加密数据包中的所述已知信息位对应的 SN。  When the result of the judgment is that the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the second type of encryption is predicted. The SN corresponding to the known information bit in the data packet.
5. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述预测 第二类加密数据包的 SN包括:  The method according to any one of claims 1 to 4, wherein the predicting the SN of the second type of encrypted data packet comprises:
判断所述第二类加密数据包是否为新传;  Determining whether the second type of encrypted data packet is a new transmission;
当所述判断所述第二类的加密数据包是否为新传的判断结果为所述第 二类加密数据包是新传时, 判断所述第二类加密数据包的前一个第二类加密 数据包是否正确接收; 当所述判断所述第二类加密数据包的所述前一个第二类加密数据包是 否正确接收的判断结果为所述前一个第二类加密数据包正确接收,预测所述Determining a previous second type of encryption of the second type of encrypted data packet when the judgment result of determining whether the second type of encrypted data packet is a new transmission is that the second type of encrypted data packet is a new transmission Whether the packet is received correctly; When the determining result of determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type of encrypted data packet is correctly received, predicting the
SN为所述前一个第二类加密数据包的 SN加 1或预测所述 SN为所述前一个 第二类加密数据包的 SN加 1并加溢后取模。 The SN adds 1 to the SN of the previous second type of encrypted data packet or predicts that the SN is 1 for the SN of the previous second type of encrypted data packet and adds the modulo.
6. 根据权利要求 5所述的方法, 其特征在于, 当所述判断所述第二类 加密数据包的所述前一个第二类加密数据包是否正确接收的判断结果为所 述前一个第二类加密数据包未正确接收,预测所述第二类加密数据包和前一 个正确接收的第二类加密数据包之间第二类加密数据包个数 n, 预测所述已 知信息位的数据包的 SN为所述前一个正确接收的第二类加密数据包的 SN 加所述 n再加 1或所述前一个正确接收的第二类加密数据包的 SN加所述 n 再加 1并加溢后取模。  The method according to claim 5, wherein the determining result of the determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received is the previous one The second type of encrypted data packet is not correctly received, and the number n of the second type of encrypted data packet between the second type of encrypted data packet and the previously correctly received second type of encrypted data packet is predicted, and the known information bit is predicted. The SN of the data packet is the SN of the previously correctly received second type of encrypted data packet plus the n plus 1 or the SN of the previously correctly received second type of encrypted data packet plus the n plus 1 And after the overflow, take the mold.
7. 根据权利要求 5所述的方法, 其特征在于, 当所述判断所述第二类 加密数据包是否为新传的判断结果为所述第二类加密数据包不是新传时,预 测所述已知信息位的数据包的 SN为上一次对所述第一类加密数据包的预测 SN。  The method according to claim 5, wherein, when the determining result of the second type of encrypted data packet is a new transmission is that the second type of encrypted data packet is not a new transmission, the prediction center The SN of the data packet of the known information bit is the last predicted SN of the first type of encrypted data packet.
8. 根据权利要求 1至 7中任一项所述的方法, 其特征在于, 所述根据所 述预测的 SN, 利用所述第一类加密数据包中所述经过加密的已知信息位信 息对所述第二类加密数据包进行译码包括:  The method according to any one of claims 1 to 7, wherein the using the encrypted known information bit information in the first type of encrypted data packet according to the predicted SN Decoding the second type of encrypted data packet includes:
选取所述预测的 SN对应的第一类加密数据包;  Selecting the first type of encrypted data packet corresponding to the predicted SN;
利用所述第一类加密数据包上的所述已知信息位信息对所述第二类加 密数据包进行辅助译码。  The second type of encrypted data packet is assisted and decoded by using the known information bit information on the first type of encrypted data packet.
9. 一种译码的装置, 其特征在于, 包括:  9. A decoding device, comprising:
接收模块, 用于获取第一类加密数据包, 所述第一类加密数据包为经过 加密的已知信息位信息, 所述第一类加密数据包来自 RLC层, 还用于接收 第二类加密数据包, 所述第二类加密数据包来自发送端的物理层;  a receiving module, configured to obtain a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encrypted data packet is from the RLC layer, and is used to receive the second type. Encrypting the data packet, the second type of encrypted data packet is from a physical layer of the transmitting end;
处理模块, 用于预测第二类加密数据包的 SN;  a processing module, configured to predict a SN of the second type of encrypted data packet;
译码模块, 用于根据所述预测的 SN, 利用所述第一类加密数据包中所 述经过加密的已知信息位信息对所述第二类加密数据包进行译码。  And a decoding module, configured to decode the second type of encrypted data packet by using the encrypted known information bit information in the first type of encrypted data packet according to the predicted SN.
10. 根据权利要求 9所述的装置, 其特征在于, 还包括:  10. The device according to claim 9, further comprising:
存储模块, 用于存储所述第一类加密数据包和所述第二类加密数据包。 And a storage module, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
11. 根据权利要求 9或 10所述的装置, 其特征在于, 所述第一类加密 数据包由 RLC层生成, 包括: The apparatus according to claim 9 or 10, wherein the first type of encryption The data packet is generated by the RLC layer and includes:
在 RLC层实体内, 基于所述 RLC实体对应的 SN组内的每个 SN生成 该 SN对应的密码流, 用所述密码流对所述已知信息位信息进行加密, 得到 所述第一类加密数据包。  Generating, in the RLC layer entity, a cipher stream corresponding to the SN based on each SN in the SN group corresponding to the RLC entity, and encrypting the known information bit information by using the cipher stream to obtain the first class Encrypt the packet.
12. 根据权利要求 9至 11 中任一项所述的装置, 其特征在于, 所述处 理模块进一步用于, 当用基本译码方式对第二类加密数据包译码错误, 所述 第一类加密数据包对应一个 RLC 实体时, 判断所述第二类加密数据包是否 为所述关注类型数据包;  The device according to any one of claims 9 to 11, wherein the processing module is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, the first When the class-encrypted data packet corresponds to an RLC entity, determining whether the second type of encrypted data packet is the attention type data packet;
所述判断结果为所述第二类加密数据包为所述关注类型数据包时, 所述 处理模块预测所述已知信息位的数据包的 SN。  When the judgment result is that the second type of encrypted data packet is the attention type data packet, the processing module predicts the SN of the data packet of the known information bit.
13. 根据权利要求 9至 12中任一项所述的装置, 其特征在于, 所述处 理模块进一步用于, 当用基本译码方式对第二类加密数据包译码错误, 所述 第一类加密数据包存对应多个 RLC实体时,  The apparatus according to any one of claims 9 to 12, wherein the processing module is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, the first When a class-encrypted data packet corresponds to multiple RLC entities,
判断所述第二类加密数据包是否为所述关注类型数据包;  Determining whether the second type of encrypted data packet is the attention type data packet;
所述判断结果为所述第二类加密数据包为所述关注类型数据包时,选取 在上段接收时间内出现概率最大的所述 RLC实体所对应的 SN组,预测所述 第二类加密数据包中的所述已知信息位对应的 SN。  When the result of the determination is that the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the second type of encrypted data is predicted. The SN corresponding to the known information bit in the packet.
14. 根据权利要求 9至 13中任一项所述的装置, 其特征在于, 所述处 理模块进一步用于,  The apparatus according to any one of claims 9 to 13, wherein the processing module is further configured to:
判断所述第二类加密数据包是否为新传;  Determining whether the second type of encrypted data packet is a new transmission;
当所述判断所述第二类的加密数据包是否为新传的判断结果为所述第 二类加密数据包是新传时, 判断所述第二类加密数据包的前一个第二类加密 数据包是否正确接收;  Determining a previous second type of encryption of the second type of encrypted data packet when the judgment result of determining whether the second type of encrypted data packet is a new transmission is that the second type of encrypted data packet is a new transmission Whether the packet is received correctly;
当所述判断所述第二类加密数据包的所述前一个第二类加密数据包是 否正确接收的判断结果为所述前一个第二类加密数据包正确接收,预测所述 SN为所述前一个第二类加密数据包的 SN加 1或预测所述 SN为所述前一个 第二类加密数据包的 SN加 1并加溢后取模。  When the determining result of determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type of encrypted data packet is correctly received, predicting that the SN is the The SN of the previous second type of encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet and is oversampled.
15. 根据权利要求 9至 14中任一项所述的装置, 其特征在于, 所述处 理模块进一步用于, 当所述判断所述第二类加密数据包的所述前一个第二类 加密数据包是否正确接收的判断结果为所述前一个第二类加密数据包未正 确接收,预测所述第二类加密数据包和前一个正确接收的第二类加密数据包 之间第二类加密数据包个数 n, 预测所述 SN为所述前一个正确接收的第二 类加密数据包的 SN加所述 n再加 1或所述前一个正确接收的第二类加密数 据包的 SN加所述 n再加 1并加溢后取模。 The device according to any one of claims 9 to 14, wherein the processing module is further configured to: when the determining the second type of encryption of the second type of encrypted data packet The judgment result of whether the data packet is correctly received is that the previous second type of encrypted data packet is not correctly received, and the second type of encrypted data packet is predicted and the second type of encrypted data packet received correctly before. Between the second type of encrypted data packet number n, the SN is predicted to be the SN of the previously correctly received second type of encrypted data packet plus the n plus 1 or the previous correctly received second class Encrypt the data packet SN plus the n plus 1 and add the overflow and modulo.
16. 根据权利要求 9至 15中任一项所述的装置, 其特征在于, 当所述 判断所述第二类加密数据包是否为新传的判断结果为所述第二类加密数据 包不是新传时, 预测所述 SN为上一次对所述第二类加密数据包的预测 SN。  The device according to any one of claims 9 to 15, wherein, when the determining whether the second type of encrypted data packet is a new transmission is a result of the second type of encrypted data packet is not At the time of new transmission, the SN is predicted to be the predicted SN of the second type of encrypted data packet.
17. 根据权利要求 9至 16中任一项所述的装置, 其特征在于, 所述译 码模块进一步用于,  The apparatus according to any one of claims 9 to 16, wherein the decoding module is further used for
选取所述预测的 SN对应的第一类加密数据包;  Selecting the first type of encrypted data packet corresponding to the predicted SN;
利用所述第一类加密数据包上的所述已知信息位信息对所述第二类加 密数据包进行辅助译码。  The second type of encrypted data packet is assisted and decoded by using the known information bit information on the first type of encrypted data packet.
18. 一种译码的装置, 其特征在于, 包括:  18. A decoding device, comprising:
接收器, 用于获取第一类加密数据包, 所述第一类加密数据包为经过加 密的已知信息位信息, 所述第一类加密数据包来自 RLC层, 还用于接收第 二类加密数据包, 所述第二类加密数据包来自发送端的物理层;  a receiver, configured to obtain a first type of encrypted data packet, where the first type of encrypted data packet is encrypted known information bit information, the first type of encrypted data packet is from an RLC layer, and is used to receive a second type. Encrypting the data packet, the second type of encrypted data packet is from a physical layer of the transmitting end;
处理器,用于预测第二类加密数据包的 SN,还用于根据所述预测的 SN, 利用所述第一类加密数据包中所述经过加密的已知信息位信息对所述第二 类加密数据包进行译码。  a processor, configured to predict an SN of the second type of encrypted data packet, and configured to use the encrypted known information bit information in the first type of encrypted data packet to use the second SN according to the predicted SN Class-encrypted packets are decoded.
19. 根据权利要求 18所述的装置, 其特征在于, 还包括:  19. The device according to claim 18, further comprising:
存储器, 用于存储所述第一类加密数据包和所述第二类加密数据包。 And a memory, configured to store the first type of encrypted data packet and the second type of encrypted data packet.
20. 根据权利要求 18或 19所述的装置, 其特征在于, 所述第一类加密 数据包由 RLC层生成, 包括: The device according to claim 18 or 19, wherein the first type of encrypted data packet is generated by an RLC layer, and includes:
在 RLC层实体内, 基于所述 RLC实体对应的 SN组内的每个 SN生成 该 SN对应的密码流, 用所述密码流对所述已知信息位信息进行加密, 得到 所述第一类加密数据包。  Generating, in the RLC layer entity, a cipher stream corresponding to the SN based on each SN in the SN group corresponding to the RLC entity, and encrypting the known information bit information by using the cipher stream to obtain the first class Encrypt the packet.
21. 根据权利要求 18至 20中任一项所述的装置, 其特征在于, 所述处 理器进一步用于, 当用基本译码方式对第二类加密数据包译码错误, 所述第 一类加密数据包对应一个 RLC 实体时, 判断所述第二类加密数据包是否为 所述关注类型数据包;  The device according to any one of claims 18 to 20, wherein the processor is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, the first When the class-encrypted data packet corresponds to an RLC entity, determining whether the second type of encrypted data packet is the attention type data packet;
所述判断结果为所述第二类加密数据包为所述关注类型数据包时, 所述 处理器预测所述已知信息位的数据包的 SN。 When the judgment result is that the second type of encrypted data packet is the attention type data packet, the processor predicts the SN of the data packet of the known information bit.
22. 根据权利要求 18至 21中任一项所述的装置, 其特征在于, 所述处 理器进一步用于, 当用基本译码方式对第二类加密数据包译码错误, 所述第 一类加密数据包存对应多个 RLC实体时, The device according to any one of claims 18 to 21, wherein the processor is further configured to: when the second type of encrypted data packet is decoded by a basic decoding manner, the first When a class-encrypted data packet corresponds to multiple RLC entities,
判断所述第二类加密数据包是否为所述关注类型数据包;  Determining whether the second type of encrypted data packet is the attention type data packet;
所述判断结果为所述第二类加密数据包为所述关注类型数据包时,选取 在上段接收时间内出现概率最大的所述 RLC实体所对应的 SN组,预测所述 第二类加密数据包中的所述已知信息位对应的 SN。  When the result of the determination is that the second type of encrypted data packet is the data packet of the attention type, the SN group corresponding to the RLC entity having the highest probability of occurrence in the upper receiving time is selected, and the second type of encrypted data is predicted. The SN corresponding to the known information bit in the packet.
23. 根据权利要求 18至 22中任一项所述的装置, 其特征在于, 所述处 理器进一步用于,  The apparatus according to any one of claims 18 to 22, wherein the processor is further used for
判断所述第二类加密数据包是否为新传;  Determining whether the second type of encrypted data packet is a new transmission;
当所述判断所述第二类的加密数据包是否为新传的判断结果为所述第 二类加密数据包是新传时, 判断所述第二类加密数据包的前一个第二类加密 数据包是否正确接收;  Determining a previous second type of encryption of the second type of encrypted data packet when the judgment result of determining whether the second type of encrypted data packet is a new transmission is that the second type of encrypted data packet is a new transmission Whether the packet is received correctly;
当所述判断所述第二类加密数据包的所述前一个第二类加密数据包是 否正确接收的判断结果为所述前一个第二类加密数据包正确接收,预测所述 SN为所述前一个第二类加密数据包的 SN加 1或预测所述 SN为所述前一个 第二类加密数据包的 SN加 1并加溢后取模。  When the determining result of determining whether the previous second type of encrypted data packet of the second type of encrypted data packet is correctly received is that the previous second type of encrypted data packet is correctly received, predicting that the SN is the The SN of the previous second type of encrypted data packet is incremented by 1 or the SN is predicted to be 1 for the SN of the previous second type of encrypted data packet and is oversampled.
24. 根据权利要求 18至 23中任一项所述的装置, 其特征在于, 所述处 理器进一步用于, 当所述判断所述第二类加密数据包的所述前一个第二类加 密数据包是否正确接收的判断结果为所述前一个第二类加密数据包未正确 接收,预测所述第二类加密数据包和前一个正确接收的第二类加密数据包之 间第二类加密数据包个数 n, 预测所述 SN为所述前一个正确接收的第二类 加密数据包的 SN加所述 n再加 1或所述前一个正确接收的第二类加密数据 包的 SN加所述 n再加 1并加溢后取模。 The device according to any one of claims 18 to 23, wherein the processor is further configured to: when the determining the second type of encryption of the second type of encrypted data packet The judgment result of whether the data packet is correctly received is that the previous second type of encrypted data packet is not correctly received, and the second type of encryption between the second type of encrypted data packet and the previous correctly received second type of encrypted data packet is predicted. The number n of packets, the SN is predicted to be the SN of the previously correctly received second type of encrypted data packet plus the n plus 1 or the SN plus of the previously correctly received second type of encrypted data packet The n is further increased by 1 and added to the mold.
25. 根据权利要求 18至 24中任一项所述的装置, 其特征在于, 当所述 判断所述第二类加密数据包是否为新传的判断结果为所述第二类加密数据 包不是新传时, 预测所述 SN为上一次对所述第二类加密数据包的预测 SN。  The device according to any one of claims 18 to 24, wherein, when the determining whether the second type of encrypted data packet is a new transmission is a result of the second type of encrypted data packet is not At the time of new transmission, the SN is predicted to be the predicted SN of the second type of encrypted data packet.
26. 根据权利要求 18至 25中任一项所述的装置, 其特征在于, 所述处 理器进一步用于,  The apparatus according to any one of claims 18 to 25, wherein the processor is further used for
选取所述预测的 SN对应的第一类加密数据包;  Selecting the first type of encrypted data packet corresponding to the predicted SN;
利用所述第一类加密数据包上的所述已知信息位信息对所述第二类加 密数据包进行辅助译码 < Adding to the second class by using the known information bit information on the first type of encrypted data packet Secure data packet for auxiliary decoding
PCT/CN2012/088101 2012-12-31 2012-12-31 Decoding method and device WO2014101214A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/088101 WO2014101214A1 (en) 2012-12-31 2012-12-31 Decoding method and device
CN201280002790.6A CN103404101B (en) 2012-12-31 2012-12-31 The method and apparatus of decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/088101 WO2014101214A1 (en) 2012-12-31 2012-12-31 Decoding method and device

Publications (1)

Publication Number Publication Date
WO2014101214A1 true WO2014101214A1 (en) 2014-07-03

Family

ID=49565860

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/088101 WO2014101214A1 (en) 2012-12-31 2012-12-31 Decoding method and device

Country Status (2)

Country Link
CN (1) CN103404101B (en)
WO (1) WO2014101214A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101199158A (en) * 2005-04-26 2008-06-11 高通股份有限公司 Method and apparatus for ciphering and re-ordering packets in a wireless communication system
CN101795184A (en) * 2010-01-27 2010-08-04 华为终端有限公司 Memory management method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2809579B1 (en) * 2000-05-23 2003-07-04 Nortel Matra Cellular METHOD FOR CONTROLLING A CHANNEL BETWEEN A RADIO TERMINAL AND A CELLULAR RADIO COMMUNICATION INFRASTRUCTURE, AND ACCESS NETWORK IMPLEMENTING SUCH A METHOD
CN100370853C (en) * 2004-09-21 2008-02-20 华为技术有限公司 Wireless access network and its communication method
CN1917411B (en) * 2005-08-16 2012-03-07 中兴通讯股份有限公司 System and method for realization of accessing high speed down going packets in multiple carriers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101199158A (en) * 2005-04-26 2008-06-11 高通股份有限公司 Method and apparatus for ciphering and re-ordering packets in a wireless communication system
CN101795184A (en) * 2010-01-27 2010-08-04 华为终端有限公司 Memory management method and device

Also Published As

Publication number Publication date
CN103404101A (en) 2013-11-20
CN103404101B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
US8276035B1 (en) High performance digital communications resiliency in a roamable virtual private network
KR101370901B1 (en) Method of communication in mobile communication system
US8004992B2 (en) Adding hybrid ARQ to WLAN protocols with MAC based feedback
EP2437421B1 (en) Method, device and communication system for retransmitting based on forward error correction
US20090319850A1 (en) Local drop control for a transmit buffer in a repeat transmission protocol device
CN106899390B (en) HARQ transmission-based method, device and system
JP4608000B2 (en) Secure and bandwidth efficient encryption synchronization method
JP5392102B2 (en) Apparatus and method for reducing overhead in a wireless network
JP5598018B2 (en) System and method for reducing overhead in a wireless network
US20170142077A1 (en) Data encryption and transmission method and apparatus
EP2782281A1 (en) Data transmission using rateless coding
EP3637657B1 (en) Communication method, network device and terminal
TW200935801A (en) Hierarchical CRC scheme
US11477170B2 (en) Decoding method and apparatus
US10200155B2 (en) One-way data transmission apparatus, one-way data reception apparatus, and one-way data transmission/reception method using the same
JP2017508408A (en) Data transmission and feedback processing method and apparatus
CN114513418B (en) Data processing method and related equipment
US8631313B2 (en) Method of error detection for wireless transmission
KR20100081902A (en) Method for transmitting and receiving data using random linear coding
WO2015077960A1 (en) Transmission method and device for data packet
WO2014101214A1 (en) Decoding method and device
Konduru et al. Huffman coding and multi-generation mixing assisted network coding based MAC for QoS-centric secure data communication over MANETs
EP3128717B1 (en) Communication system, transmission device, communication method, and program
KR20200102029A (en) Collaborative request repeat method in communication for internet of things and apparatus thereof
CN113037762A (en) Communication method, device, equipment and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1