WO2019149210A1 - Data compression method and decompression method, and sending end and receiving end - Google Patents

Data compression method and decompression method, and sending end and receiving end Download PDF

Info

Publication number
WO2019149210A1
WO2019149210A1 PCT/CN2019/073849 CN2019073849W WO2019149210A1 WO 2019149210 A1 WO2019149210 A1 WO 2019149210A1 CN 2019073849 W CN2019073849 W CN 2019073849W WO 2019149210 A1 WO2019149210 A1 WO 2019149210A1
Authority
WO
WIPO (PCT)
Prior art keywords
rrc message
information
nas
data
compression
Prior art date
Application number
PCT/CN2019/073849
Other languages
French (fr)
Chinese (zh)
Inventor
全海洋
梁靖
Original Assignee
电信科学技术研究院有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 电信科学技术研究院有限公司 filed Critical 电信科学技术研究院有限公司
Publication of WO2019149210A1 publication Critical patent/WO2019149210A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0205Traffic management, e.g. flow control or congestion control at the air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a data compression method, a decompression method, a transmitting end, and a receiving end.
  • the network can use the UDC (Uplink Data Compression) function to enable the UE to compress the uplink data. Re-transmission, thereby reducing the air interface resource overhead.
  • UDC Uplink Data Compression
  • the sender maintains the compression cache, the receiver maintains the decompression cache, and the compression cache and the decompression cache are first-in, first-out queues.
  • the sender compresses the data to be sent before sending the data.
  • the specific compression process may be: first, in the data to be sent, searching for a target field that meets the following characteristics: the length exceeds a preset threshold; the target field is the same as a field in the compressed cache or is located in the target field with the data to be sent. The previous field is the same; then if the target field is found, the target field is replaced by a combination of the offset and the length, which is the position offset between the target field and the previous same field of the target field. This length is the length of the target field. When multiple fields in a packet meet the above characteristics, these fields can be compressed. Since the length of the offset and length combination is shorter than the length of the target field itself, it can be compressed.
  • the transmitting end After obtaining the compressed data packet, the transmitting end sends the compressed data packet to the receiving end, and simultaneously fills the corresponding original data packet (uncompressed data) into the compressed cache. After receiving the compressed data packet, the receiving end may decompress the compressed data packet according to the offset and length in the compressed data packet, and the decompressed buffer, and fill the compressed data into the decompression buffer.
  • the transmitting end may specifically be a UE, and the receiving end may specifically be a base station.
  • the UDC function supported by the LTE/LTE-Advanced system can only be used for data transmission on the user plane.
  • the DRB (Date Radio Bearers) is implemented on the PDCP (Packet Data Convergence Protocol) layer. Carrying) uplink data carried.
  • the control plane SRB Signaling Radio Bearers
  • Transfer the data transmission of the DRB without the user plane can be supported, that is, the control plane SRB (Signaling Radio Bearers) is utilized. Transfer.
  • the UE in the NB-IoT system is in a harsh environment, which requires not only power saving, low power consumption, but also extended coverage. Therefore, if the control plane data in such a system is compressed and then transmitted, it may be advantageous. Reduce the terminal transmission volume, reduce terminal power consumption, and save air interface resources.
  • it is not clear how to compress the control plane data so it is necessary to provide a compression method for the control plane data.
  • the present disclosure provides a data compression method, a decompression method, a transmitting end, and a receiving end, so as to implement a compression process and a decompression process of control plane data, improve data transmission efficiency, and save air interface resources.
  • the present disclosure provides a data compression method, including:
  • the present disclosure also provides a data decompression method, including:
  • the NAS information When the NAS information is compressed, the NAS information is decompressed according to the compression related information.
  • the present disclosure provides a transmitting end, including a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor;
  • the processor is configured to: acquire NAS information, compress the NAS information by using an RRC layer, obtain compressed data, determine compression related information in the RRC message, and generate a target RRC according to the compressed data and the compression related information.
  • the transceiver is configured to: send the target RRC message to a receiving end.
  • the present disclosure provides a receiving end, including a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor;
  • the transceiver is configured to: receive a target RRC message sent by a sending end, where the target RRC message includes NAS information and corresponding compression related information;
  • the processor is configured to: determine whether the NAS information is compressed, and when the NAS information is compressed, decompress the NAS information according to the compression related information.
  • the present disclosure further provides a data compression apparatus, including:
  • a compression module configured to compress the NAS information through an RRC layer to obtain compressed data
  • a first determining module configured to determine corresponding compression related information in the RRC message
  • a generating module configured to generate a target RRC message according to the compressed data and the compression related information
  • a sending module configured to send the target RRC message to the receiving end.
  • the present disclosure further provides a data decompressing apparatus, including:
  • a receiving module configured to receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information;
  • a second determining module configured to determine whether the NAS information is compressed
  • a decompression module configured to decompress the NAS information according to the compression related information when the NAS information is compressed.
  • the present disclosure also provides a communication device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is The steps of implementing the above data compression method are implemented.
  • the present disclosure also provides a communication device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is The steps of implementing the above data decompression method are implemented.
  • the present disclosure also provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the steps of the data compression method.
  • the present disclosure also provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the steps of the data decompression method.
  • the acquired NAS information is compressed by the RRC layer, the compressed data is obtained, the corresponding compression related information in the RRC message is determined, the target RRC message is generated according to the compressed data and the compressed related information, and the target RRC message is sent to the receiving end.
  • It can realize the compression process of the control plane data, improve the data transmission efficiency and save the air interface resources.
  • the weak coverage of the NB-IoT system (multiple repeated transmissions to ensure demodulation and reception) and the NR (New Radio) system are better in terms of energy saving, resource saving, and transmission efficiency. .
  • FIG. 1 is a flow chart of a data compression method according to some embodiments of the present disclosure
  • FIG. 2 is a flowchart of a data decompression method according to some embodiments of the present disclosure
  • FIG. 3 is a schematic structural diagram of a transmitting end according to some embodiments of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a receiving end according to some embodiments of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a data compression apparatus according to some embodiments of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a data decompressing apparatus according to some embodiments of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a communication device according to some embodiments of the present disclosure.
  • some embodiments of the present disclosure provide a data compression method, which is applied to a transmitting end, and includes the following steps:
  • Step 101 Acquire NAS information.
  • the NAS (Non-Access Stratum) information is signaling and/or data of the NAS, and the data may be application layer data.
  • the signaling and/or data generated by the NAS can be sent to the RRC (Radio Resource Control) layer through NAS signaling.
  • RRC Radio Resource Control
  • Step 102 compress the NAS information through the RRC layer to obtain compressed data.
  • the deflate lossless data compression method when compressing the NAS information, the deflate lossless data compression method can be used, wherein the dictionary can use the dictionary defined by RFC3485 or the dictionary defined by the operator. If the sender does not preset the dictionary, the NULL dictionary can be used. That is, all the bytes whose bit is 0), if the sender presets multiple dictionaries, the dictionary can be selected to be compressed according to the configuration message of the network.
  • Step 103 Determine corresponding compression related information in the RRC message.
  • the determining the compression related information in the RRC message may be determined according to a specific compression process and a specific form of the corresponding RRC message.
  • the compression related information may include one or more of the following indication information:
  • the foregoing indication information may be represented by bit 0 or 1.
  • the corresponding indication bit may be set to 0; if the NAS information in the target RRC message is compressed data, the corresponding indication bit may be set to 1.
  • Step 104 Generate a target RRC message according to the compressed data and the compression related information.
  • the compressed data can be filled in a preset NAS container of the target RRC message.
  • the preset NAS container is used to carry the signaling and/or application layer data of the NAS, and may be a related container for carrying NAS signaling, or a newly defined container dedicated to carrying compressed data.
  • Step 105 Send a target RRC message to the receiving end.
  • the receiving end may first determine whether the NAS information is compressed according to the content in the target RRC message; and then, when the NAS information is compressed, decompress the compressed data according to the compression related information. .
  • the sending end in some embodiments of the present disclosure may be a terminal device (such as a mobile phone, an iPad, etc.) or a network device (such as a base station, etc.), and correspondingly, the receiving end may be a network device or a terminal device.
  • a terminal device such as a mobile phone, an iPad, etc.
  • a network device such as a base station, etc.
  • the receiving end may be a network device or a terminal device.
  • the base station may deliver the decompressed NAS information or the uncompressed NAS information to the NAS layer, further The decompressed NAS information or the uncompressed NAS information is forwarded to the core network node, for example, to the MME entity through the S1 interface between the base station and the MME (Mobility Management Entity) entity.
  • the base station may first check the integrity of the decompressed NAS information, and then submit it to the NAS layer after the check is passed. If the integrity check fails, the error information may be fed back to the terminal device to cause the terminal device to resend the related information.
  • the data compression method of some embodiments of the present disclosure compresses the acquired NAS information by the RRC layer, obtains compressed data, determines corresponding compression related information in the RRC message, generates a target RRC message according to the compressed data and the compression related information, and receives the information.
  • the terminal sends the target RRC message, which can implement the compression process of the control plane data, improve data transmission efficiency, and save air interface resources.
  • the weak coverage of the NB-IoT system (multiple repeated transmissions to ensure demodulation and reception) and the NR system are more effective in terms of energy saving, resource saving, and transmission efficiency.
  • the manner in which the target RRC message is generated may be at least two according to different filling positions of the compression related information, as described in detail below.
  • the sender directly fills the compression related information into the target RRC message.
  • the process of generating the target RRC message may be:
  • the sending end fills the compressed data into the preset NAS container of the first RRC message to obtain a second RRC message.
  • the sender fills the compression related information into the second RRC message to obtain a target RRC message.
  • the first RRC message or the second RRC message is an RRC message to be processed that is existing before the target RRC message is generated, and the first RRC message is filled in by the processing of the first RRC message.
  • the second RRC message is obtained, and the target RRC message is obtained by filling the second RRC message with the compression related information by processing the second RRC message.
  • the sending end fills the compression related information into the preset compressed data packet header of the compressed data.
  • the process of generating the target RRC message may be:
  • the sending end fills the compression related information into the preset compressed data packet header of the compressed data to obtain a compressed data packet;
  • the preset compressed data packet header may be, for example, a first 8 or 16 bit header of the preset compressed data packet;
  • the sending end fills the compressed data packet into the preset NAS container of the third RRC message, and fills in the third RRC message with the indication information for indicating that the preset NAS container carries the compressed data packet, to obtain the target RRC message.
  • the third RRC message is an RRC message to be processed that is existing before the target RRC message is generated, and the compressed data packet is filled into the preset NAS container of the third RRC message by processing the third RRC message. And instructing the preset NAS container to carry the compressed data packet to fill the third RRC message, to obtain the target RRC message.
  • the uplink RRC message is exemplified by the RRC connection recovery complete message, but not limited thereto, as long as the uplink RRC message carries the NAS container, the corresponding uplink data compression can be supported.
  • the structure of the RRC connection recovery complete message may be as follows, where the dedicatedInfoNAS-r13 is a container carrying NAS information to be compressed.
  • the compression process for the RRC connection recovery complete message is: filling the compressed data into the dedicatedInfoNAS-r13, filling the compression related information into the RRC message, and correspondingly obtaining the target RRC connection recovery complete message (partial field) It can be as follows (this is only a schematic example and does not fully comply with the rules of ASN.1):
  • the dedicatedInfoNAS-r13 is filled with compressed data, and compressedInd, compressedDict, resetBuffer, enterBufferFlag, and checksum are compression related information.
  • the compressedInd is used to indicate whether the dedicatedInfoNAS-r13 is compressed data or uncompressed data. Since the dedicatedInfoNAS-r13 is an original container, the compressedInd must be added, and other compression related information parameters may be optionally increased.
  • the compressedDict is used to indicate the dictionary or dictionary version used by the compression process.
  • the resetBuffer is used to indicate whether to reset the buffer before decompressing, that is, to clear the data in the buffer.
  • the enterBufferFlag is used to indicate whether the decompressed data is filled in the buffer, for example, can be filled in by FIFO.
  • the checksum is used to indicate the state of the data in the buffer before the compression, for example, several check bits that can be calculated by some rule for verifying whether the data of the buffer is consistent.
  • the compression processing process for the RRC connection recovery complete message is: filling the compressed data into a newly added container carrying the compressed data, filling the compression related information into the RRC message, and recovering the corresponding target RRC connection.
  • the full message (some fields) can be as follows:
  • the compressedDedicatedInfoNAS is a newly added container that carries compressed data, and is used to carry compressed data.
  • the dedicatedInfoNAS-r13 may not appear.
  • the compressedDict, resetBuffer, enterBufferFlag, and checksum are compression related information.
  • the compressedDict is used to indicate the dictionary or dictionary version used by the compression process.
  • the resetBuffer is used to indicate whether to reset the buffer before decompressing, that is, to clear the data in the buffer.
  • the enterBufferFlag is used to indicate whether the decompressed data is filled in the buffer, for example, can be filled in by FIFO.
  • the checksum is used to indicate the state of the data in the buffer before the compression, for example, a check digit calculated by a certain rule for verifying whether the data of the buffer is consistent. Since the target RRC connection recovery complete message includes a container that exclusively carries compressed data, a separate bit may not be used to indicate whether to compress.
  • the compression processing process for recovering the complete message of the RRC connection is: filling the compression related information into the preset compressed data packet header of the compressed data, and filling the obtained compressed data packet into the dedicatedInfoNAS-r13, correspondingly obtained.
  • the target RRC connection recovery complete message (partial field) can be as follows:
  • the compressedInd is used to indicate that the dedicatedInfoNAS-r13 carries the compressed data packet, and the format of the compressed data packet can be as shown in Table 1 below:
  • the indication information 1 is used to indicate a dictionary or dictionary version used by the compression process, and the indication information 2 is used to indicate whether to reset the buffer before decompression, and the indication information 3 is used to indicate whether the decompressed data is filled in the buffer.
  • the indication information 4 is used to indicate the status of the data in the buffer before compression. It should be noted that the indication information 1 to the indication information 4 are optionally added, and the total length of the header information before compressing the data may be 8 bits or 16 bits.
  • the dedicatedInfoNAS-r13 is optional OCTET STRING type, and the compressed data packet part is in the form of 8-bit group. The data is insufficient and is padded with 0.
  • the receiving end may first determine, according to the compressedInd, that the dedicatedInfoNAS-r13 carries the compressed data packet, and then according to the packet header information in the compressed data packet, The compressed data is then decompressed.
  • the compression processing process for recovering the complete message for the RRC connection is: filling the compression related information into the preset compressed data packet header of the compressed data, and filling the obtained compressed data packet into the newly added special carrying compressed data.
  • the corresponding target RRC connection recovery complete message (partial field) can be obtained as follows:
  • the compressedDedicatedInfoNAS is a newly added container that carries compressed data, and is used to carry compressed data packets.
  • the dedicatedInfoNAS-r13 may not appear.
  • the format of the compressed data packet carried in the compressedDedicatedInfoNAS can be as described in the third embodiment, and details are not described herein again.
  • some embodiments of the present disclosure further provide a data decompression method, which is applied to a receiving end, and includes the following steps:
  • Step 201 Receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information.
  • Step 202 Determine whether the NAS information is compressed.
  • Step 203 When the NAS information is compressed, the NAS information is decompressed according to the compression related information.
  • the data decompression method of some embodiments of the present disclosure by receiving a target RRC message sent by the sending end, the target RRC message includes NAS information and corresponding compression related information, determining whether the NAS information is compressed, when the NAS information is compressed, according to The related information is compressed, and the NAS information is decompressed, which can realize the decompression process of the control plane data, improve the data transmission efficiency, and save the air interface resources.
  • the NAS information is filled in a preset NAS container of the target RRC message.
  • the compression related information is filled in the target RRC message, or the compression related information is filled in a preset compressed data packet header of the compressed data.
  • the NAS information is signaling and/or data of the NAS.
  • the compression related information includes one or more of the following indication information:
  • some embodiments of the present disclosure further provide a transmitting end, including a transceiver 31, a memory 32, a processor 33, and a computer program stored on the memory 32 and operable on the processor 33;
  • the processor 33 is configured to: acquire NAS information, compress the NAS information by using an RRC layer, obtain compressed data, determine compression related information in the RRC message, and generate, according to the compressed data and the compression related information, Target RRC message;
  • the transceiver 31 is configured to: send the target RRC message to a receiving end.
  • the transmitting end of some embodiments of the present disclosure compresses the acquired NAS information through the RRC layer, obtains compressed data, determines corresponding compression related information in the RRC message, and generates a target RRC message according to the compressed data and the compression related information, to the receiving end.
  • Sending the target RRC message can implement the compression process of the control plane data, improve the data transmission efficiency, and save the air interface resources.
  • the processor 33 is configured to: fill the compressed data into a preset NAS container of the first RRC message, obtain a second RRC message, and fill the compression related information into the second RRC. In the message, the target RRC message is obtained.
  • the processor 33 is specifically configured to: fill the compression related information into a preset compressed data packet header of the compressed data, obtain a compressed data packet, and fill the compressed data packet into a third RRC message.
  • the indication information for indicating that the preset NAS container carries the compressed data packet is filled in the third RRC message to obtain the target RRC message.
  • the NAS information is signaling and/or data of the NAS.
  • the compression related information includes one or more of the following indication information:
  • bus 30 may include any number of interconnected buses and bridges, and bus 30 will include one or more processors represented by processor 33 and memory represented by memory 32.
  • the various circuits are connected together.
  • the transceiver 31 can include a transmitter and a receiver, the transmitter and receiver can be a transceiver interface, and the transmitter and receiver can be coupled to the processor 31 and the memory 33 via a bus 30.
  • the processor 33 is responsible for managing the bus 30 and the usual processing, and the memory 32 can be used to store data used by the processor 33 when performing operations.
  • some embodiments of the present disclosure further provide a receiving end, including a transceiver 41, a memory 42, a processor 43, and a computer program stored on the memory 42 and operable on the processor 43;
  • the transceiver 41 is configured to: receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information;
  • the processor 43 is configured to: determine whether the NAS information is compressed, and when the NAS information is compressed, decompress the NAS information according to the compression related information.
  • the receiving end of some embodiments of the present disclosure receives the target RRC message sent by the sending end, the target RRC message includes the NAS information and the corresponding compression related information, determines whether the NAS information is compressed, and when the NAS information is compressed, according to the compression correlation Information, decompressing NAS information, can realize the decompression process of control plane data, improve data transmission efficiency and save air interface resources.
  • the NAS information is filled in a preset NAS container of the target RRC message.
  • the compression related information is filled in the target RRC message, or the compression related information is filled in a preset compressed data packet header of the compressed data.
  • the NAS information is signaling and/or data of the NAS.
  • the compression related information includes one or more of the following indication information:
  • bus 40 may include any number of interconnected buses and bridges, and bus 40 will include one or more processors represented by processor 43 and memory represented by memory 42.
  • the various circuits are connected together.
  • the transceiver 41 can include a transmitter and a receiver, the transmitter and receiver can be a transceiver interface, and the transmitter and receiver can be coupled to the processor 41 and memory 44 via a bus 40.
  • the processor 43 is responsible for managing the bus 40 and the usual processing, and the memory 42 can be used to store data used by the processor 43 when performing operations.
  • some embodiments of the present disclosure further provide a data compression apparatus, including:
  • An obtaining module 51 configured to acquire NAS information
  • the compression module 52 is configured to compress the NAS information by using an RRC layer to obtain compressed data.
  • the first determining module 53 is configured to determine corresponding compression related information in the RRC message.
  • the generating module 54 is configured to generate a target RRC message according to the compressed data and the compression related information
  • the sending module 55 is configured to send the target RRC message to the receiving end.
  • the data compression apparatus of some embodiments of the present disclosure compresses the acquired NAS information by the RRC layer, obtains compressed data, determines corresponding compression related information in the RRC message, generates a target RRC message according to the compressed data and the compression related information, and receives the received information.
  • the terminal sends the target RRC message, which can implement the compression process of the control plane data, improve data transmission efficiency, and save air interface resources.
  • the generating module 54 is specifically configured to:
  • the generating module 54 is specifically configured to:
  • the NAS information is signaling and/or data of the NAS.
  • the compression related information includes one or more of the following indication information:
  • some embodiments of the present disclosure further provide a data decompressing apparatus, including:
  • the receiving module 61 is configured to receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information.
  • a second determining module 62 configured to determine whether the NAS information is compressed
  • the decompression module 63 is configured to decompress the NAS information according to the compression related information when the NAS information is compressed.
  • the data decompression apparatus of some embodiments of the present disclosure receives a target RRC message sent by a sender, where the target RRC message includes NAS information and corresponding compression related information, and determines whether the NAS information is compressed.
  • the NAS information is compressed, according to The related information is compressed, and the NAS information is decompressed, which can realize the decompression process of the control plane data, improve the data transmission efficiency, and save the air interface resources.
  • the NAS information is filled in a preset NAS container of the target RRC message.
  • the compression related information is filled in the target RRC message, or the compression related information is filled in a preset compressed data packet header of the compressed data.
  • the NAS information is signaling and/or data of the NAS.
  • the compression related information includes one or more of the following indication information:
  • some embodiments of the present disclosure also provide a transmitting end including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is processed
  • Some embodiments of the present disclosure also provide a receiving end comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is executed by the processor.
  • some embodiments of the present disclosure further provide a communication device including a bus 71, a transceiver 72, an antenna 73, a bus interface 74, a processor 75, and a memory 76.
  • the communication device further includes a computer program stored on the memory 76 and executable on the processor 75.
  • the communication device can be a terminal device or a network device.
  • the computer program is executed by the processor 75 to implement the following steps:
  • the computer program can be executed by the processor 75 to implement the following steps:
  • the control transceiver 72 receives the target RRC message sent by the sender, where the target RRC message includes the NAS information and the corresponding compression related information, determines whether the NAS information is compressed, and when the NAS information is compressed, according to the compression correlation Information, decompressing the NAS information.
  • the transceiver 72 is configured to receive and transmit data under the control of the processor 75.
  • bus architecture (represented by bus 71), which may include any number of interconnected buses and bridges, will include one or more processors represented by processor 75 and memory represented by memory 76.
  • the various circuits are linked together.
  • the bus 71 can also link various other circuits, such as peripherals, voltage regulators, and power management circuits, as is well known in the art, and therefore, will not be further described herein.
  • Bus interface 74 provides an interface between bus 71 and transceiver 72.
  • Transceiver 72 can be an element or a plurality of elements, such as multiple receivers and transmitters, providing means for communicating with various other devices on a transmission medium.
  • Data processed by processor 75 is transmitted over wireless medium via antenna 73. Further, antenna 73 also receives the data and transmits the data to processor 75.
  • the processor 75 is responsible for managing the bus 71 and the usual processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions.
  • the memory 76 can be used to store data used by the processor 75 when performing operations.
  • the processor 75 can be a CPU, an ASIC, an FPGA, or a CPLD.
  • Some embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements various processes of the data compression method embodiments described above, and achieves the same technology The effect, to avoid repetition, will not be repeated here.
  • Some embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements various processes of the data decompression method embodiments described above, and can achieve the same Technical effects, to avoid repetition, will not be repeated here.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media, and information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present disclosure, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present disclosure.

Abstract

Provided are a data compression method and decompression method, and a sending end and a receiving end. The data compression method comprises: acquiring NAS information; compressing the NAS information via an RRC layer to obtain compressed data; determining corresponding compression-related information in an RRC message; generating a target RRC message according to the compressed data and the compression-related information; and sending the target RRC message to a receiving end.

Description

一种数据压缩方法、解压缩方法、发送端及接收端Data compression method, decompression method, transmitting end and receiving end
相关申请的交叉引用Cross-reference to related applications
本申请主张在2018年2月2日在中国提交的中国专利申请号No.201810107993.0的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 20110110799, filed on Jan. 2, s.
技术领域Technical field
本公开涉及通信技术领域,特别是涉及一种数据压缩方法、解压缩方法、发送端及接收端。The present disclosure relates to the field of communications technologies, and in particular, to a data compression method, a decompression method, a transmitting end, and a receiving end.
背景技术Background technique
在LTE(Long Term Evolution,长期演进)/LTE-Advanced系统中,网络可以配置UE(User Equipment,用户设备)使用UDC(Uplink Data Compression,上行数据压缩)功能,以使UE对上行数据进行压缩后再传输,从而降低空口资源开销。In the LTE (Long Term Evolution)/LTE-Advanced system, the network (User Equipment) can use the UDC (Uplink Data Compression) function to enable the UE to compress the uplink data. Re-transmission, thereby reducing the air interface resource overhead.
对于UDC功能,发送端维护压缩缓存,接收端维护解压缓存,压缩缓存和解压缓存均为先入先出队列。发送端在发送数据之前,先对待发送数据进行压缩。其中,具体的压缩过程可为:首先在待发送数据中,寻找符合以下特征的目标字段:长度超过预设门限;目标字段与压缩缓存中的某字段相同或与本待发送数据内位于目标字段之前的某字段相同;然后若找到目标字段,则将该目标字段替换为偏移量和长度的组合,该偏移量为目标字段与目标字段的前一个相同字段之间的位置偏移量,该长度为目标字段的长度。当在一个数据包中存在多个字段符合上述特征时,可对这些字段均进行压缩。由于偏移量和长度组合的长度短于目标字段本身的长度,因此可起到压缩的效果。For the UDC function, the sender maintains the compression cache, the receiver maintains the decompression cache, and the compression cache and the decompression cache are first-in, first-out queues. The sender compresses the data to be sent before sending the data. The specific compression process may be: first, in the data to be sent, searching for a target field that meets the following characteristics: the length exceeds a preset threshold; the target field is the same as a field in the compressed cache or is located in the target field with the data to be sent. The previous field is the same; then if the target field is found, the target field is replaced by a combination of the offset and the length, which is the position offset between the target field and the previous same field of the target field. This length is the length of the target field. When multiple fields in a packet meet the above characteristics, these fields can be compressed. Since the length of the offset and length combination is shorter than the length of the target field itself, it can be compressed.
在获得压缩数据包后,发送端向接收端发送压缩数据包,同时将对应的原始数据包(未压缩数据)填入压缩缓存中。接收端在收到压缩数据包后,可根据压缩数据包中的偏移量和长度,以及解压缓存对压缩数据包进行解压缩,并将接压缩后的数据填入解压缓存。在UDC过程中,发送端具体可为UE,接收端具体可为基站。After obtaining the compressed data packet, the transmitting end sends the compressed data packet to the receiving end, and simultaneously fills the corresponding original data packet (uncompressed data) into the compressed cache. After receiving the compressed data packet, the receiving end may decompress the compressed data packet according to the offset and length in the compressed data packet, and the decompressed buffer, and fill the compressed data into the decompression buffer. In the UDC process, the transmitting end may specifically be a UE, and the receiving end may specifically be a base station.
目前LTE/LTE-Advanced系统中支持的UDC功能只能用于用户面的数据传输,在PDCP(Packet Data Convergence Protocol,分组数据汇聚协议)层上实现压缩所指定的DRB(Date Radio Bearers,数据无线承载)承载的上行数据。而在NB-IoT(Narrow Band Internet of Things,基于蜂窝网络的窄带物联网)系统中,可以支持没有用户面的DRB的数据传输,即利用控制面的SRB(信令无线承载,Signaling Radio Bearers)进行传输。通常NB-IoT系统中的UE所处的环境更恶劣,不仅需要省电、低功耗,还要扩展覆盖,因此若对此类系统中的控制面数据进行压缩后再传输,则可有利于降低终端传输量,减少终端耗电,节约空口资源。但目前尚未明确如何压缩控制面数据,因此有必要提供一种针对控制面数据的压缩方法。Currently, the UDC function supported by the LTE/LTE-Advanced system can only be used for data transmission on the user plane. The DRB (Date Radio Bearers) is implemented on the PDCP (Packet Data Convergence Protocol) layer. Carrying) uplink data carried. In the NB-IoT (Narrow Band Internet of Things) system, the data transmission of the DRB without the user plane can be supported, that is, the control plane SRB (Signaling Radio Bearers) is utilized. Transfer. Generally, the UE in the NB-IoT system is in a harsh environment, which requires not only power saving, low power consumption, but also extended coverage. Therefore, if the control plane data in such a system is compressed and then transmitted, it may be advantageous. Reduce the terminal transmission volume, reduce terminal power consumption, and save air interface resources. However, it is not clear how to compress the control plane data, so it is necessary to provide a compression method for the control plane data.
发明内容Summary of the invention
本公开提供一种数据压缩方法、解压缩方法、发送端及接收端,以实现控制面数据的压缩过程和解压缩过程,提高数据传输效率和节约空口资源。The present disclosure provides a data compression method, a decompression method, a transmitting end, and a receiving end, so as to implement a compression process and a decompression process of control plane data, improve data transmission efficiency, and save air interface resources.
第一方面,本公开提供了一种数据压缩方法,包括:In a first aspect, the present disclosure provides a data compression method, including:
获取非接入层NAS信息;Obtain non-access stratum NAS information;
通过无线资源控制RRC层对所述NAS信息进行压缩,得到压缩数据;Compressing the NAS information by using a radio resource control RRC layer to obtain compressed data;
确定RRC消息中对应的压缩相关信息;Determining corresponding compression related information in the RRC message;
根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;Generating a target RRC message according to the compressed data and the compression related information;
向接收端发送所述目标RRC消息。Sending the target RRC message to the receiving end.
第二方面,本公开还提供了一种数据解压缩方法,包括:In a second aspect, the present disclosure also provides a data decompression method, including:
接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;Receiving a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information;
确定所述NAS信息是否被压缩;Determining whether the NAS information is compressed;
当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。When the NAS information is compressed, the NAS information is decompressed according to the compression related information.
第三方面,本公开提供了一种发送端,包括收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,In a third aspect, the present disclosure provides a transmitting end, including a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor;
所述处理器用于:获取NAS信息,通过RRC层对所述NAS信息进行压缩, 得到压缩数据,确定RRC消息中对应的压缩相关信息,根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;The processor is configured to: acquire NAS information, compress the NAS information by using an RRC layer, obtain compressed data, determine compression related information in the RRC message, and generate a target RRC according to the compressed data and the compression related information. Message
所述收发机用于:向接收端发送所述目标RRC消息。The transceiver is configured to: send the target RRC message to a receiving end.
第四方面,本公开提供了一种接收端,包括收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,In a fourth aspect, the present disclosure provides a receiving end, including a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor;
所述收发机用于:接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;The transceiver is configured to: receive a target RRC message sent by a sending end, where the target RRC message includes NAS information and corresponding compression related information;
所述处理器用于:确定所述NAS信息是否被压缩,当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。The processor is configured to: determine whether the NAS information is compressed, and when the NAS information is compressed, decompress the NAS information according to the compression related information.
第五方面,本公开还提供了一种数据压缩装置,包括:In a fifth aspect, the present disclosure further provides a data compression apparatus, including:
获取模块,用于获取NAS信息;Obtaining a module for acquiring NAS information;
压缩模块,用于通过RRC层对所述NAS信息进行压缩,得到压缩数据;a compression module, configured to compress the NAS information through an RRC layer to obtain compressed data;
第一确定模块,用于确定RRC消息中对应的压缩相关信息;a first determining module, configured to determine corresponding compression related information in the RRC message;
生成模块,用于根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;a generating module, configured to generate a target RRC message according to the compressed data and the compression related information;
发送模块,用于向接收端发送所述目标RRC消息。And a sending module, configured to send the target RRC message to the receiving end.
第六方面,本公开还提供了一种数据解压缩装置,其中,包括:In a sixth aspect, the present disclosure further provides a data decompressing apparatus, including:
接收模块,用于接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;a receiving module, configured to receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information;
第二确定模块,用于确定所述NAS信息是否被压缩;a second determining module, configured to determine whether the NAS information is compressed;
解压缩模块,用于当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。And a decompression module, configured to decompress the NAS information according to the compression related information when the NAS information is compressed.
第七方面,本公开还提供了一种通信设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述计算机程序被所述处理器执行时实现上述数据压缩方法的步骤。In a seventh aspect, the present disclosure also provides a communication device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is The steps of implementing the above data compression method are implemented.
第八方面,本公开还提供了一种通信设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述计算机程序被所述处理器执行时实现上述数据解压缩方法的步骤。In an eighth aspect, the present disclosure also provides a communication device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is The steps of implementing the above data decompression method are implemented.
第九方面,本公开还提供了一种计算机可读存储介质,其上存储有计算 机程序,其中,所述计算机程序被处理器执行时实现上述数据压缩方法的步骤。In a ninth aspect, the present disclosure also provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the steps of the data compression method.
第十方面,本公开还提供了一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现上述数据解压缩方法的步骤。In a tenth aspect, the present disclosure also provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the steps of the data decompression method.
在本公开中,通过RRC层对获取的NAS信息进行压缩,得到压缩数据,确定RRC消息中对应的压缩相关信息,根据压缩数据以及压缩相关信息,生成目标RRC消息,向接收端发送目标RRC消息,能够实现控制面数据的压缩过程,提高数据传输效率和节约空口资源。特别的,针对NB-IoT系统的弱覆盖情况(多次重复传输来保证解调和接收)以及NR(New Radio,新无线)系统等,在节能、节约资源、提高传输效率等方面效果更好。In the present disclosure, the acquired NAS information is compressed by the RRC layer, the compressed data is obtained, the corresponding compression related information in the RRC message is determined, the target RRC message is generated according to the compressed data and the compressed related information, and the target RRC message is sent to the receiving end. It can realize the compression process of the control plane data, improve the data transmission efficiency and save the air interface resources. In particular, the weak coverage of the NB-IoT system (multiple repeated transmissions to ensure demodulation and reception) and the NR (New Radio) system are better in terms of energy saving, resource saving, and transmission efficiency. .
附图说明DRAWINGS
为了更清楚地说明本公开一些实施例的技术方案,下面将对本公开一些实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of some embodiments of the present disclosure, the drawings to be used in some embodiments of the present disclosure will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present disclosure. Other drawings may also be obtained from those of ordinary skill in the art based on these drawings without the inventive labor.
图1为本公开一些实施例的数据压缩方法的流程图;1 is a flow chart of a data compression method according to some embodiments of the present disclosure;
图2为本公开一些实施例的数据解压缩方法的流程图;2 is a flowchart of a data decompression method according to some embodiments of the present disclosure;
图3为本公开一些实施例的发送端的结构示意图;3 is a schematic structural diagram of a transmitting end according to some embodiments of the present disclosure;
图4为本公开一些实施例的接收端的结构示意图;4 is a schematic structural diagram of a receiving end according to some embodiments of the present disclosure;
图5为本公开一些实施例的数据压缩装置的结构示意图;FIG. 5 is a schematic structural diagram of a data compression apparatus according to some embodiments of the present disclosure;
图6为本公开一些实施例的数据解压缩装置的结构示意图;FIG. 6 is a schematic structural diagram of a data decompressing apparatus according to some embodiments of the present disclosure;
图7为本公开一些实施例的通信设备的结构示意图。FIG. 7 is a schematic structural diagram of a communication device according to some embodiments of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开一些实施例中的附图,对本公开一些实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有 作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in some embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
参见图1所示,本公开一些实施例提供了一种数据压缩方法,应用于发送端,包括如下步骤:As shown in FIG. 1 , some embodiments of the present disclosure provide a data compression method, which is applied to a transmitting end, and includes the following steps:
步骤101:获取NAS信息。Step 101: Acquire NAS information.
其中,该NAS(Non-Access Stratum,非接入层)信息为NAS的信令和/或数据,该数据具体可为应用层数据。NAS产生的信令和/或数据可通过NAS信令发送给RRC(Radio Resource Control,无线资源控制)层。The NAS (Non-Access Stratum) information is signaling and/or data of the NAS, and the data may be application layer data. The signaling and/or data generated by the NAS can be sent to the RRC (Radio Resource Control) layer through NAS signaling.
步骤102:通过RRC层对NAS信息进行压缩,得到压缩数据。Step 102: compress the NAS information through the RRC layer to obtain compressed data.
其中,在对NAS信息进行压缩时,可使用deflate的无损数据压缩方法,其中的字典可采用RFC3485中定义的字典或者运营商定义的字典,若发送端未预置字典,则可使用NULL字典(即所有比特为0的字典),若发送端预置了多个字典,则可根据网络的配置消息选择其配置的字典来进行压缩。Among them, when compressing the NAS information, the deflate lossless data compression method can be used, wherein the dictionary can use the dictionary defined by RFC3485 or the dictionary defined by the operator. If the sender does not preset the dictionary, the NULL dictionary can be used. That is, all the bytes whose bit is 0), if the sender presets multiple dictionaries, the dictionary can be selected to be compressed according to the configuration message of the network.
步骤103:确定RRC消息中对应的压缩相关信息。Step 103: Determine corresponding compression related information in the RRC message.
其中,在确定RRC消息中对应的压缩相关信息时,可根据具体的压缩过程和对应RRC消息的具体形式确定。该压缩相关信息可包括如下指示信息中的一项或多项:The determining the compression related information in the RRC message may be determined according to a specific compression process and a specific form of the corresponding RRC message. The compression related information may include one or more of the following indication information:
指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
具体实现时,上述指示信息可以采用比特0或1来表示。比如,若目标RRC消息中的NAS信息不是压缩数据,则可将对应的指示比特设置为0;若目标RRC消息中的NAS信息是压缩数据,则可将对应的指示比特设置为1。In specific implementation, the foregoing indication information may be represented by bit 0 or 1. For example, if the NAS information in the target RRC message is not compressed data, the corresponding indication bit may be set to 0; if the NAS information in the target RRC message is compressed data, the corresponding indication bit may be set to 1.
步骤104:根据压缩数据以及压缩相关信息,生成目标RRC消息。Step 104: Generate a target RRC message according to the compressed data and the compression related information.
其中,该压缩数据可被填入目标RRC消息的预设NAS容器中。具体实现时,该预设NAS容器用于携带NAS的信令和/或应用层数据,可为相关技术的用于携带NAS信令的容器,或者新定义的专门用于携带压缩数据的容器。The compressed data can be filled in a preset NAS container of the target RRC message. In a specific implementation, the preset NAS container is used to carry the signaling and/or application layer data of the NAS, and may be a related container for carrying NAS signaling, or a newly defined container dedicated to carrying compressed data.
步骤105:向接收端发送目标RRC消息。Step 105: Send a target RRC message to the receiving end.
其中,接收端在接收到目标RRC消息后,可首先根据该目标RRC消息中的内容,确定其中的NAS信息是否被压缩;然后当NAS信息被压缩时,根据压缩相关信息对压缩数据进行解压缩。After receiving the target RRC message, the receiving end may first determine whether the NAS information is compressed according to the content in the target RRC message; and then, when the NAS information is compressed, decompress the compressed data according to the compression related information. .
应说明的是,本公开一些实施例中的发送端可为终端设备(比如手机、iPad等)或网络设备(比如基站等),对应的,接收端可为网络设备或终端设备。当发送端为终端设备,接收端为基站时,基站在得到解压缩后的NAS信息或未压缩的NAS信息后,可将解压缩后的NAS信息或未压缩的NAS信息递交给NAS层,进一步的将解压缩后的NAS信息或未压缩的NAS信息转发给核心网节点,例如通过基站和MME(Mobility Management Entity,移动管理功能)实体之间的S1接口发送给MME实体。为了保证传输数据的准确性,基站在得到解压缩后的NAS信息后,可先对解压缩后的NAS信息的完整性进行检查,在检查通过后再递交给NAS层。若完整性检查未通过,则可向终端设备反馈错误信息,以使终端设备重发相关信息。It should be noted that the sending end in some embodiments of the present disclosure may be a terminal device (such as a mobile phone, an iPad, etc.) or a network device (such as a base station, etc.), and correspondingly, the receiving end may be a network device or a terminal device. When the transmitting end is the terminal device and the receiving end is the base station, after obtaining the decompressed NAS information or the uncompressed NAS information, the base station may deliver the decompressed NAS information or the uncompressed NAS information to the NAS layer, further The decompressed NAS information or the uncompressed NAS information is forwarded to the core network node, for example, to the MME entity through the S1 interface between the base station and the MME (Mobility Management Entity) entity. In order to ensure the accuracy of the transmitted data, after obtaining the decompressed NAS information, the base station may first check the integrity of the decompressed NAS information, and then submit it to the NAS layer after the check is passed. If the integrity check fails, the error information may be fed back to the terminal device to cause the terminal device to resend the related information.
本公开一些实施例的数据压缩方法,通过RRC层对获取的NAS信息进行压缩,得到压缩数据,确定RRC消息中对应的压缩相关信息,根据压缩数据以及压缩相关信息,生成目标RRC消息,向接收端发送目标RRC消息,能够实现控制面数据的压缩过程,提高数据传输效率和节约空口资源。特别的,针对NB-IoT系统的弱覆盖情况(多次重复传输来保证解调和接收)以及NR系统等,在节能、节约资源、提高传输效率等方面效果更好。The data compression method of some embodiments of the present disclosure compresses the acquired NAS information by the RRC layer, obtains compressed data, determines corresponding compression related information in the RRC message, generates a target RRC message according to the compressed data and the compression related information, and receives the information. The terminal sends the target RRC message, which can implement the compression process of the control plane data, improve data transmission efficiency, and save air interface resources. In particular, the weak coverage of the NB-IoT system (multiple repeated transmissions to ensure demodulation and reception) and the NR system are more effective in terms of energy saving, resource saving, and transmission efficiency.
本公开一些实施例中,基于压缩相关信息的填入位置的不同,生成目标RRC消息的方式可至少有如下两种,详述如下。In some embodiments of the present disclosure, the manner in which the target RRC message is generated may be at least two according to different filling positions of the compression related information, as described in detail below.
方式一method one
方式一中,发送端将压缩相关信息直接填入目标RRC消息中。根据压缩数据以及压缩相关信息,生成目标RRC消息的过程可为:In the first method, the sender directly fills the compression related information into the target RRC message. According to the compressed data and the compression related information, the process of generating the target RRC message may be:
首先,发送端将压缩数据填入第一RRC消息的预设NAS容器中,得到第二RRC消息;First, the sending end fills the compressed data into the preset NAS container of the first RRC message to obtain a second RRC message.
然后,发送端将压缩相关信息填入第二RRC消息中,得到目标RRC消息。Then, the sender fills the compression related information into the second RRC message to obtain a target RRC message.
需要说明的是,该第一RRC消息或第二RRC消息为在生成目标RRC消息之前已有的待处理的RRC消息,通过对第一RRC消息的处理即将压缩数据填 入第一RRC消息的预设NAS容器中,可得到第二RRC消息,通过对第二RRC消息的处理即将压缩相关信息填入第二RRC消息中,可得到目标RRC消息。It should be noted that the first RRC message or the second RRC message is an RRC message to be processed that is existing before the target RRC message is generated, and the first RRC message is filled in by the processing of the first RRC message. In the NAS container, the second RRC message is obtained, and the target RRC message is obtained by filling the second RRC message with the compression related information by processing the second RRC message.
方式二Way two
方式二中,发送端将压缩相关信息填入压缩数据的预设压缩数据包头中。根据压缩数据以及压缩相关信息,生成目标RRC消息的过程可为:In the second mode, the sending end fills the compression related information into the preset compressed data packet header of the compressed data. According to the compressed data and the compression related information, the process of generating the target RRC message may be:
首先,发送端将压缩相关信息填入压缩数据的预设压缩数据包头中,得到压缩数据包;该预设压缩数据包头例如可为预置的压缩数据包的前8或者16比特的包头;First, the sending end fills the compression related information into the preset compressed data packet header of the compressed data to obtain a compressed data packet; the preset compressed data packet header may be, for example, a first 8 or 16 bit header of the preset compressed data packet;
然后,发送端将压缩数据包填入第三RRC消息的预设NAS容器中,并将用于指示预设NAS容器承载压缩数据包的指示信息填入第三RRC消息中,得到目标RRC消息。Then, the sending end fills the compressed data packet into the preset NAS container of the third RRC message, and fills in the third RRC message with the indication information for indicating that the preset NAS container carries the compressed data packet, to obtain the target RRC message.
需要说明的是,该第三RRC消息为在生成目标RRC消息之前已有的待处理的RRC消息,通过对第三RRC消息的处理即将压缩数据包填入第三RRC消息的预设NAS容器中,并将用于指示预设NAS容器承载压缩数据包的指示信息填入第三RRC消息中,可得到目标RRC消息。It should be noted that the third RRC message is an RRC message to be processed that is existing before the target RRC message is generated, and the compressed data packet is filled into the preset NAS container of the third RRC message by processing the third RRC message. And instructing the preset NAS container to carry the compressed data packet to fill the third RRC message, to obtain the target RRC message.
下面,以上行RRC消息为例,对本公开一些实施例的数据压缩过程进行说明。值得注意的是,本公开一些实施例的数据压缩方法并不局限于上行RRC消息,同样适用于下行RRC消息。The following takes the RRC message as an example to describe the data compression process of some embodiments of the present disclosure. It should be noted that the data compression method of some embodiments of the present disclosure is not limited to the uplink RRC message, and is also applicable to the downlink RRC message.
在本公开一些实施例中,上行RRC消息以RRC连接恢复完整消息为例,但不以此为限,只要上行RRC消息中携带了NAS容器即可支持对应的上行数据压缩。具体的,RRC连接恢复完整消息的结构可如下所示,其中的dedicatedInfoNAS-r13为要进行压缩的携带NAS信息的容器。In some embodiments of the present disclosure, the uplink RRC message is exemplified by the RRC connection recovery complete message, but not limited thereto, as long as the uplink RRC message carries the NAS container, the corresponding uplink data compression can be supported. Specifically, the structure of the RRC connection recovery complete message may be as follows, where the dedicatedInfoNAS-r13 is a container carrying NAS information to be compressed.
Figure PCTCN2019073849-appb-000001
Figure PCTCN2019073849-appb-000001
Figure PCTCN2019073849-appb-000002
Figure PCTCN2019073849-appb-000002
实例一Example one
实例一中,针对上述RRC连接恢复完整消息的压缩处理过程为,将压缩数据填入dedicatedInfoNAS-r13中,将压缩相关信息填入RRC消息中,对应得到的目标RRC连接恢复完整消息(部分字段)可如下所示(此仅为示意举例,并未完全遵守ASN.1的规则):In the first example, the compression process for the RRC connection recovery complete message is: filling the compressed data into the dedicatedInfoNAS-r13, filling the compression related information into the RRC message, and correspondingly obtaining the target RRC connection recovery complete message (partial field) It can be as follows (this is only a schematic example and does not fully comply with the rules of ASN.1):
Figure PCTCN2019073849-appb-000003
Figure PCTCN2019073849-appb-000003
在该目标RRC连接恢复完整消息中,dedicatedInfoNAS-r13中填入压缩数据,compressedInd、compressedDict、resetBuffer、enterBufferFlag和checksum为压缩相关信息。该compressedInd用于指示dedicatedInfoNAS-r13中是压缩数据还是未压缩的数据,由于该dedicatedInfoNAS-r13是原有容器,因此该compressedInd是必须增加的, 其他压缩相关信息参数可选增加。该compressedDict用于指示压缩过程所使用的字典或字典版本。该resetBuffer用于指示解压缩之前是否复位缓冲区即清空缓冲区中的数据。该enterBufferFlag用于指示解压缩后的数据是否填入缓冲区中,比如可以FIFO方式填入。该checksum用于指示压缩之前的缓冲区中的数据的状态,比如可以是以某种规则计算出来的用于校验缓冲区的数据是否一致的几个校验比特。In the target RRC connection recovery complete message, the dedicatedInfoNAS-r13 is filled with compressed data, and compressedInd, compressedDict, resetBuffer, enterBufferFlag, and checksum are compression related information. The compressedInd is used to indicate whether the dedicatedInfoNAS-r13 is compressed data or uncompressed data. Since the dedicatedInfoNAS-r13 is an original container, the compressedInd must be added, and other compression related information parameters may be optionally increased. The compressedDict is used to indicate the dictionary or dictionary version used by the compression process. The resetBuffer is used to indicate whether to reset the buffer before decompressing, that is, to clear the data in the buffer. The enterBufferFlag is used to indicate whether the decompressed data is filled in the buffer, for example, can be filled in by FIFO. The checksum is used to indicate the state of the data in the buffer before the compression, for example, several check bits that can be calculated by some rule for verifying whether the data of the buffer is consistent.
实例二Example two
实例二中,针对上述RRC连接恢复完整消息的压缩处理过程为,将压缩数据填入新增的专门携带压缩数据的容器中,将压缩相关信息填入RRC消息中,对应得到的目标RRC连接恢复完整消息(部分字段)可如下所示:In the second embodiment, the compression processing process for the RRC connection recovery complete message is: filling the compressed data into a newly added container carrying the compressed data, filling the compression related information into the RRC message, and recovering the corresponding target RRC connection. The full message (some fields) can be as follows:
Figure PCTCN2019073849-appb-000004
Figure PCTCN2019073849-appb-000004
在该目标RRC连接恢复完整消息中,compressedDedicatedInfoNAS为新增的专门携带压缩数据的容器,用于携带压缩数据,此情况下,dedicatedInfoNAS-r13可不用出现。compressedDict、resetBuffer、enterBufferFlag和checksum为压缩相关信息。该compressedDict用于指示压缩过程所使用的字典或字典版本。该resetBuffer用于指示解压缩之前是否复位缓冲区即清空缓冲区中的数据。该enterBufferFlag用于指示解压缩后的数据是否填入缓冲区中,比如可以FIFO方式填入。该checksum用于 指示压缩之前的缓冲区中的数据的状态,比如可以是以某种规则计算出来的用于校验缓冲区的数据是否一致的几个校验比特。由于该目标RRC连接恢复完整消息中包括专门携带压缩数据的容器,因此可不用单独的比特来指示是否压缩。In the target RRC connection recovery complete message, the compressedDedicatedInfoNAS is a newly added container that carries compressed data, and is used to carry compressed data. In this case, the dedicatedInfoNAS-r13 may not appear. The compressedDict, resetBuffer, enterBufferFlag, and checksum are compression related information. The compressedDict is used to indicate the dictionary or dictionary version used by the compression process. The resetBuffer is used to indicate whether to reset the buffer before decompressing, that is, to clear the data in the buffer. The enterBufferFlag is used to indicate whether the decompressed data is filled in the buffer, for example, can be filled in by FIFO. The checksum is used to indicate the state of the data in the buffer before the compression, for example, a check digit calculated by a certain rule for verifying whether the data of the buffer is consistent. Since the target RRC connection recovery complete message includes a container that exclusively carries compressed data, a separate bit may not be used to indicate whether to compress.
实例三Example three
实例三中,针对上述RRC连接恢复完整消息的压缩处理过程为,将压缩相关信息填入压缩数据的预设压缩数据包头中,并将得到的压缩数据包填入dedicatedInfoNAS-r13中,对应得到的目标RRC连接恢复完整消息(部分字段)可如下所示:In the third example, the compression processing process for recovering the complete message of the RRC connection is: filling the compression related information into the preset compressed data packet header of the compressed data, and filling the obtained compressed data packet into the dedicatedInfoNAS-r13, correspondingly obtained. The target RRC connection recovery complete message (partial field) can be as follows:
Figure PCTCN2019073849-appb-000005
Figure PCTCN2019073849-appb-000005
在该目标RRC连接恢复完整消息中,该compressedInd用于指示dedicatedInfoNAS-r13中携带的是压缩数据包,而压缩数据包的格式可如下表1所示:In the target RRC connection recovery complete message, the compressedInd is used to indicate that the dedicatedInfoNAS-r13 carries the compressed data packet, and the format of the compressed data packet can be as shown in Table 1 below:
Figure PCTCN2019073849-appb-000006
Figure PCTCN2019073849-appb-000006
表1Table 1
其中,该指示信息1用于指示压缩过程所使用的字典或字典版本,该指示信息2用于指示解压缩之前是否复位缓冲区,该指示信息3用于指示解压缩后的数据是否填入缓冲区中,该指示信息4用于指示压缩之前的缓冲区中的数据的状态。需指出的是,该指示信息1至指示信息4是可选添加的,压缩数据之前的包头信息的总长度可为8比特或者16比特。该dedicatedInfoNAS-r13可选是OCTET STRING类型,压缩数据包部分为8位 组形式,数据不足,以0填充。The indication information 1 is used to indicate a dictionary or dictionary version used by the compression process, and the indication information 2 is used to indicate whether to reset the buffer before decompression, and the indication information 3 is used to indicate whether the decompressed data is filled in the buffer. In the area, the indication information 4 is used to indicate the status of the data in the buffer before compression. It should be noted that the indication information 1 to the indication information 4 are optionally added, and the total length of the header information before compressing the data may be 8 bits or 16 bits. The dedicatedInfoNAS-r13 is optional OCTET STRING type, and the compressed data packet part is in the form of 8-bit group. The data is insufficient and is padded with 0.
对应的,接收端比如基站在接收到该目标RRC连接恢复完整消息后,可首先根据该compressedInd,确定该dedicatedInfoNAS-r13中携带的是压缩数据包,然后根据压缩数据包中的包头信息,对其后的压缩数据进行解压缩。Correspondingly, after receiving the target RRC connection recovery complete message, the receiving end, for example, the base station may first determine, according to the compressedInd, that the dedicatedInfoNAS-r13 carries the compressed data packet, and then according to the packet header information in the compressed data packet, The compressed data is then decompressed.
实例四Example four
实例四中,针对上述RRC连接恢复完整消息的压缩处理过程为,将压缩相关信息填入压缩数据的预设压缩数据包头中,并将得到的压缩数据包填入新增的专门携带压缩数据的容器中,对应得到的目标RRC连接恢复完整消息(部分字段)可如下所示:In the fourth example, the compression processing process for recovering the complete message for the RRC connection is: filling the compression related information into the preset compressed data packet header of the compressed data, and filling the obtained compressed data packet into the newly added special carrying compressed data. In the container, the corresponding target RRC connection recovery complete message (partial field) can be obtained as follows:
Figure PCTCN2019073849-appb-000007
Figure PCTCN2019073849-appb-000007
在该目标RRC连接恢复完整消息中,compressedDedicatedInfoNAS为新增的专门携带压缩数据的容器,用于携带压缩数据包,此情况下,dedicatedInfoNAS-r13可不用出现。而compressedDedicatedInfoNAS中携带的压缩数据包的格式可如实例三中所述,在此不再赘述。In the target RRC connection recovery complete message, the compressedDedicatedInfoNAS is a newly added container that carries compressed data, and is used to carry compressed data packets. In this case, the dedicatedInfoNAS-r13 may not appear. The format of the compressed data packet carried in the compressedDedicatedInfoNAS can be as described in the third embodiment, and details are not described herein again.
参见图2所示,本公开一些实施例还提供了一种数据解压缩方法,应用于接收端,包括如下步骤:As shown in FIG. 2, some embodiments of the present disclosure further provide a data decompression method, which is applied to a receiving end, and includes the following steps:
步骤201:接收发送端发送的目标RRC消息,该目标RRC消息包括NAS信息和对应的压缩相关信息;Step 201: Receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information.
步骤202:确定NAS信息是否被压缩;Step 202: Determine whether the NAS information is compressed.
步骤203:当NAS信息被压缩时,根据压缩相关信息,对NAS信息进行解压缩。Step 203: When the NAS information is compressed, the NAS information is decompressed according to the compression related information.
本公开一些实施例的数据解压缩方法,通过接收发送端发送的目标RRC消息,该目标RRC消息包括NAS信息和对应的压缩相关信息,确定NAS信息 是否被压缩,当NAS信息被压缩时,根据压缩相关信息,对NAS信息进行解压缩,能够实现控制面数据的解压缩过程,提高数据传输效率和节约空口资源。The data decompression method of some embodiments of the present disclosure, by receiving a target RRC message sent by the sending end, the target RRC message includes NAS information and corresponding compression related information, determining whether the NAS information is compressed, when the NAS information is compressed, according to The related information is compressed, and the NAS information is decompressed, which can realize the decompression process of the control plane data, improve the data transmission efficiency, and save the air interface resources.
本公开一些实施例中,可选的,所述NAS信息被填入所述目标RRC消息的预设NAS容器中。In some embodiments of the present disclosure, optionally, the NAS information is filled in a preset NAS container of the target RRC message.
可选的,所述压缩相关信息被填入所述目标RRC消息中,或者所述压缩相关信息被填入压缩数据的预设压缩数据包头中。Optionally, the compression related information is filled in the target RRC message, or the compression related information is filled in a preset compressed data packet header of the compressed data.
可选的,所述NAS信息为NAS的信令和/或数据。Optionally, the NAS information is signaling and/or data of the NAS.
可选的,所述压缩相关信息包括如下指示信息中的一项或多项:Optionally, the compression related information includes one or more of the following indication information:
指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
上述实施例对本公开的数据压缩方法和数据解压缩方法进行了说明,下面将结合实施例和附图对本公开的发送端和接收端进行说明。The above embodiment describes the data compression method and the data decompression method of the present disclosure. The transmitting end and the receiving end of the present disclosure will be described below with reference to the embodiments and the accompanying drawings.
参见图3所示,本公开一些实施例还提供了一种发送端,包括收发机31、存储器32、处理器33及存储在存储器32上并可在处理器33上运行的计算机程序;其中,Referring to FIG. 3, some embodiments of the present disclosure further provide a transmitting end, including a transceiver 31, a memory 32, a processor 33, and a computer program stored on the memory 32 and operable on the processor 33;
所述处理器33用于:获取NAS信息,通过RRC层对所述NAS信息进行压缩,得到压缩数据,确定RRC消息中对应的压缩相关信息,根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;The processor 33 is configured to: acquire NAS information, compress the NAS information by using an RRC layer, obtain compressed data, determine compression related information in the RRC message, and generate, according to the compressed data and the compression related information, Target RRC message;
所述收发机31用于:向接收端发送所述目标RRC消息。The transceiver 31 is configured to: send the target RRC message to a receiving end.
本公开一些实施例的发送端,通过RRC层对获取的NAS信息进行压缩,得到压缩数据,确定RRC消息中对应的压缩相关信息,根据压缩数据以及压缩相关信息,生成目标RRC消息,向接收端发送目标RRC消息,能够实现控制面数据的压缩过程,提高数据传输效率和节约空口资源。The transmitting end of some embodiments of the present disclosure compresses the acquired NAS information through the RRC layer, obtains compressed data, determines corresponding compression related information in the RRC message, and generates a target RRC message according to the compressed data and the compression related information, to the receiving end. Sending the target RRC message can implement the compression process of the control plane data, improve the data transmission efficiency, and save the air interface resources.
可选的,所述处理器33具体用于:将所述压缩数据填入第一RRC消息的预设NAS容器中,得到第二RRC消息,将所述压缩相关信息填入所述第二RRC 消息中,得到所述目标RRC消息。Optionally, the processor 33 is configured to: fill the compressed data into a preset NAS container of the first RRC message, obtain a second RRC message, and fill the compression related information into the second RRC. In the message, the target RRC message is obtained.
可选的,所述处理器33具体用于:将所述压缩相关信息填入所述压缩数据的预设压缩数据包头中,得到压缩数据包,将所述压缩数据包填入第三RRC消息的预设NAS容器中,并将用于指示所述预设NAS容器承载压缩数据包的指示信息填入所述第三RRC消息中,得到所述目标RRC消息。Optionally, the processor 33 is specifically configured to: fill the compression related information into a preset compressed data packet header of the compressed data, obtain a compressed data packet, and fill the compressed data packet into a third RRC message. In the preset NAS container, the indication information for indicating that the preset NAS container carries the compressed data packet is filled in the third RRC message to obtain the target RRC message.
可选的,所述NAS信息为NAS的信令和/或数据。Optionally, the NAS information is signaling and/or data of the NAS.
可选的,所述压缩相关信息包括如下指示信息中的一项或多项:Optionally, the compression related information includes one or more of the following indication information:
指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
在图3中,总线架构(用总线30来代表),总线30可以包括任意数量的互联的总线和桥,总线30将包括由处理器33代表的一个或多个处理器和存储器32代表的存储器的各种电路连接在一起。收发机31可包括发送器和接收器,发送器和接收器可以是一个收发接口,发送器和接收器可通过总线30与处理器31和存储器33连接。In FIG. 3, a bus architecture (represented by bus 30), bus 30 may include any number of interconnected buses and bridges, and bus 30 will include one or more processors represented by processor 33 and memory represented by memory 32. The various circuits are connected together. The transceiver 31 can include a transmitter and a receiver, the transmitter and receiver can be a transceiver interface, and the transmitter and receiver can be coupled to the processor 31 and the memory 33 via a bus 30.
处理器33负责管理总线30和通常的处理,而存储器32可以被用于存储处理器33在执行操作时所使用的数据。The processor 33 is responsible for managing the bus 30 and the usual processing, and the memory 32 can be used to store data used by the processor 33 when performing operations.
参见图4所示,本公开一些实施例还提供了一种接收端,包括收发机41、存储器42、处理器43及存储在存储器42上并可在处理器43上运行的计算机程序;其中,Referring to FIG. 4, some embodiments of the present disclosure further provide a receiving end, including a transceiver 41, a memory 42, a processor 43, and a computer program stored on the memory 42 and operable on the processor 43;
所述收发机41用于:接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;The transceiver 41 is configured to: receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information;
所述处理器43用于:确定所述NAS信息是否被压缩,当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。The processor 43 is configured to: determine whether the NAS information is compressed, and when the NAS information is compressed, decompress the NAS information according to the compression related information.
本公开一些实施例的接收端,通过接收发送端发送的目标RRC消息,该目标RRC消息包括NAS信息和对应的压缩相关信息,确定NAS信息是否被压缩,当NAS信息被压缩时,根据压缩相关信息,对NAS信息进行解压缩,能 够实现控制面数据的解压缩过程,提高数据传输效率和节约空口资源。The receiving end of some embodiments of the present disclosure receives the target RRC message sent by the sending end, the target RRC message includes the NAS information and the corresponding compression related information, determines whether the NAS information is compressed, and when the NAS information is compressed, according to the compression correlation Information, decompressing NAS information, can realize the decompression process of control plane data, improve data transmission efficiency and save air interface resources.
可选的,所述NAS信息被填入所述目标RRC消息的预设NAS容器中。Optionally, the NAS information is filled in a preset NAS container of the target RRC message.
可选的,所述压缩相关信息被填入所述目标RRC消息中,或者所述压缩相关信息被填入压缩数据的预设压缩数据包头中。Optionally, the compression related information is filled in the target RRC message, or the compression related information is filled in a preset compressed data packet header of the compressed data.
可选的,所述NAS信息为NAS的信令和/或数据。Optionally, the NAS information is signaling and/or data of the NAS.
可选的,所述压缩相关信息包括如下指示信息中的一项或多项:Optionally, the compression related information includes one or more of the following indication information:
指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
在图4中,总线架构(用总线40来代表),总线40可以包括任意数量的互联的总线和桥,总线40将包括由处理器43代表的一个或多个处理器和存储器42代表的存储器的各种电路连接在一起。收发机41可包括发送器和接收器,发送器和接收器可以是一个收发接口,发送器和接收器可通过总线40与处理器41和存储器44连接。In FIG. 4, a bus architecture (represented by bus 40), bus 40 may include any number of interconnected buses and bridges, and bus 40 will include one or more processors represented by processor 43 and memory represented by memory 42. The various circuits are connected together. The transceiver 41 can include a transmitter and a receiver, the transmitter and receiver can be a transceiver interface, and the transmitter and receiver can be coupled to the processor 41 and memory 44 via a bus 40.
处理器43负责管理总线40和通常的处理,而存储器42可以被用于存储处理器43在执行操作时所使用的数据。The processor 43 is responsible for managing the bus 40 and the usual processing, and the memory 42 can be used to store data used by the processor 43 when performing operations.
参见图5所示,本公开一些实施例还提供了一种数据压缩装置,包括:As shown in FIG. 5, some embodiments of the present disclosure further provide a data compression apparatus, including:
获取模块51,用于获取NAS信息;An obtaining module 51, configured to acquire NAS information;
压缩模块52,用于通过RRC层对所述NAS信息进行压缩,得到压缩数据;The compression module 52 is configured to compress the NAS information by using an RRC layer to obtain compressed data.
第一确定模块53,用于确定RRC消息中对应的压缩相关信息;The first determining module 53 is configured to determine corresponding compression related information in the RRC message.
生成模块54,用于根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;The generating module 54 is configured to generate a target RRC message according to the compressed data and the compression related information;
发送模块55,用于向接收端发送所述目标RRC消息。The sending module 55 is configured to send the target RRC message to the receiving end.
本公开一些实施例的数据压缩装置,通过RRC层对获取的NAS信息进行压缩,得到压缩数据,确定RRC消息中对应的压缩相关信息,根据压缩数据以及压缩相关信息,生成目标RRC消息,向接收端发送目标RRC消息,能够实现控制面数据的压缩过程,提高数据传输效率和节约空口资源。The data compression apparatus of some embodiments of the present disclosure compresses the acquired NAS information by the RRC layer, obtains compressed data, determines corresponding compression related information in the RRC message, generates a target RRC message according to the compressed data and the compression related information, and receives the received information. The terminal sends the target RRC message, which can implement the compression process of the control plane data, improve data transmission efficiency, and save air interface resources.
可选的,所述生成模块54具体用于:Optionally, the generating module 54 is specifically configured to:
将所述压缩数据填入第一RRC消息的预设NAS容器中,得到第二RRC消息,并将所述压缩相关信息填入所述第二RRC消息中,得到所述目标RRC消息。Filling the compressed data into a preset NAS container of the first RRC message, obtaining a second RRC message, and filling the compression related information into the second RRC message to obtain the target RRC message.
可选的,所述生成模块54具体用于:Optionally, the generating module 54 is specifically configured to:
将所述压缩相关信息填入所述压缩数据的预设压缩数据包头中,得到压缩数据包,将所述压缩数据包填入第三RRC消息的预设NAS容器中,并将用于指示所述预设NAS容器承载压缩数据包的指示信息填入所述第三RRC消息中,得到所述目标RRC消息。Filling the compression related information into a preset compressed data packet header of the compressed data to obtain a compressed data packet, and filling the compressed data packet into a preset NAS container of the third RRC message, and The indication information that the preset NAS container carries the compressed data packet is filled in the third RRC message to obtain the target RRC message.
可选的,所述NAS信息为NAS的信令和/或数据。Optionally, the NAS information is signaling and/or data of the NAS.
可选的,所述压缩相关信息包括如下指示信息中的一项或多项:Optionally, the compression related information includes one or more of the following indication information:
指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
参见图6所示,本公开一些实施例还提供了一种数据解压缩装置,包括:Referring to FIG. 6, some embodiments of the present disclosure further provide a data decompressing apparatus, including:
接收模块61,用于接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;The receiving module 61 is configured to receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information.
第二确定模块62,用于确定所述NAS信息是否被压缩;a second determining module 62, configured to determine whether the NAS information is compressed;
解压缩模块63,用于当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。The decompression module 63 is configured to decompress the NAS information according to the compression related information when the NAS information is compressed.
本公开一些实施例的数据解压缩装置,通过接收发送端发送的目标RRC消息,该目标RRC消息包括NAS信息和对应的压缩相关信息,确定NAS信息是否被压缩,当NAS信息被压缩时,根据压缩相关信息,对NAS信息进行解压缩,能够实现控制面数据的解压缩过程,提高数据传输效率和节约空口资源。The data decompression apparatus of some embodiments of the present disclosure receives a target RRC message sent by a sender, where the target RRC message includes NAS information and corresponding compression related information, and determines whether the NAS information is compressed. When the NAS information is compressed, according to The related information is compressed, and the NAS information is decompressed, which can realize the decompression process of the control plane data, improve the data transmission efficiency, and save the air interface resources.
可选的,所述NAS信息被填入所述目标RRC消息的预设NAS容器中。Optionally, the NAS information is filled in a preset NAS container of the target RRC message.
可选的,所述压缩相关信息被填入所述目标RRC消息中,或者所述压缩相关信息被填入压缩数据的预设压缩数据包头中。Optionally, the compression related information is filled in the target RRC message, or the compression related information is filled in a preset compressed data packet header of the compressed data.
可选的,所述NAS信息为NAS的信令和/或数据。Optionally, the NAS information is signaling and/or data of the NAS.
可选的,所述压缩相关信息包括如下指示信息中的一项或多项:Optionally, the compression related information includes one or more of the following indication information:
指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
此外,本公开一些实施例还提供了一种发送端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述计算机程序被所述处理器执行时可实现上述数据压缩方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Moreover, some embodiments of the present disclosure also provide a transmitting end including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is processed The processes of the foregoing data compression method embodiments can be implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
本公开一些实施例还提供了一种接收端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述计算机程序被所述处理器执行时可实现上述数据解压缩方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Some embodiments of the present disclosure also provide a receiving end comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is executed by the processor The various processes of the foregoing data decompression method embodiments can be implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
具体的,参见图7所示,本公开一些实施例还提供了一种通信设备,包括总线71、收发机72、天线73、总线接口74、处理器75和存储器76。在本公开一些实施例中,所述通信设备还包括:存储在存储器76上并可在处理器75上运行的计算机程序。该通信设备可为终端设备或网络设备。Specifically, referring to FIG. 7, some embodiments of the present disclosure further provide a communication device including a bus 71, a transceiver 72, an antenna 73, a bus interface 74, a processor 75, and a memory 76. In some embodiments of the present disclosure, the communication device further includes a computer program stored on the memory 76 and executable on the processor 75. The communication device can be a terminal device or a network device.
其中,当通信设备为发送端时,计算机程序被处理器75执行时可实现以下步骤:Wherein, when the communication device is the transmitting end, the computer program is executed by the processor 75 to implement the following steps:
获取NAS信息,通过RRC层对所述NAS信息进行压缩,得到压缩数据,确定RRC消息中对应的压缩相关信息,根据所述压缩数据以及压缩相关信息,生成目标RRC消息,并控制收发机72向接收端发送所述目标RRC消息。Acquiring the NAS information, compressing the NAS information through the RRC layer, obtaining compressed data, determining compression related information in the RRC message, generating a target RRC message according to the compressed data and the compression related information, and controlling the transceiver 72 to The receiving end sends the target RRC message.
当通信设备为接收端时,计算机程序被处理器75执行时可实现以下步骤:When the communication device is the receiving end, the computer program can be executed by the processor 75 to implement the following steps:
控制收发机72接收发送端发送的目标RRC消息,该目标RRC消息包括NAS信息和对应的压缩相关信息,确定所述NAS信息是否被压缩,当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。The control transceiver 72 receives the target RRC message sent by the sender, where the target RRC message includes the NAS information and the corresponding compression related information, determines whether the NAS information is compressed, and when the NAS information is compressed, according to the compression correlation Information, decompressing the NAS information.
收发机72,用于在处理器75的控制下接收和发送数据。The transceiver 72 is configured to receive and transmit data under the control of the processor 75.
在图7中,总线架构(用总线71来代表),总线71可以包括任意数量的互联的总线和桥,总线71将包括由处理器75代表的一个或多个处理器和存储器76代表的存储器的各种电路链接在一起。总线71还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口74在总线71和收发机72之间提供接口。收发机72可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器75处理的数据通过天线73在无线介质上进行传输,进一步,天线73还接收数据并将数据传送给处理器75。In Figure 7, a bus architecture (represented by bus 71), which may include any number of interconnected buses and bridges, will include one or more processors represented by processor 75 and memory represented by memory 76. The various circuits are linked together. The bus 71 can also link various other circuits, such as peripherals, voltage regulators, and power management circuits, as is well known in the art, and therefore, will not be further described herein. Bus interface 74 provides an interface between bus 71 and transceiver 72. Transceiver 72 can be an element or a plurality of elements, such as multiple receivers and transmitters, providing means for communicating with various other devices on a transmission medium. Data processed by processor 75 is transmitted over wireless medium via antenna 73. Further, antenna 73 also receives the data and transmits the data to processor 75.
处理器75负责管理总线71和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器76可以被用于存储处理器75在执行操作时所使用的数据。The processor 75 is responsible for managing the bus 71 and the usual processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 76 can be used to store data used by the processor 75 when performing operations.
可选的,处理器75可以是CPU、ASIC、FPGA或CPLD。Alternatively, the processor 75 can be a CPU, an ASIC, an FPGA, or a CPLD.
本公开一些实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时可实现上述数据压缩方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Some embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements various processes of the data compression method embodiments described above, and achieves the same technology The effect, to avoid repetition, will not be repeated here.
本公开一些实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时可实现上述数据解压缩方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Some embodiments of the present disclosure also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements various processes of the data decompression method embodiments described above, and can achieve the same Technical effects, to avoid repetition, will not be repeated here.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本公开一些实施例的序号仅仅为了描述,不代表实施例的优劣。The serial numbers of some embodiments of the present disclosure described above are for illustration only and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present disclosure, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present disclosure.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。The above is only the specific embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the disclosure. It should be covered within the scope of protection of the present disclosure. Therefore, the scope of protection of the disclosure should be determined by the scope of the claims.

Claims (27)

  1. 一种数据压缩方法,包括:A data compression method comprising:
    获取非接入层NAS信息;Obtain non-access stratum NAS information;
    通过无线资源控制RRC层对所述NAS信息进行压缩,得到压缩数据;Compressing the NAS information by using a radio resource control RRC layer to obtain compressed data;
    确定RRC消息中对应的压缩相关信息;Determining corresponding compression related information in the RRC message;
    根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;Generating a target RRC message according to the compressed data and the compression related information;
    向接收端发送所述目标RRC消息。Sending the target RRC message to the receiving end.
  2. 根据权利要求1所述的数据压缩方法,其中,所述根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息,包括:The data compression method according to claim 1, wherein the generating a target RRC message according to the compressed data and the compression related information comprises:
    将所述压缩数据填入第一RRC消息的预设NAS容器中,得到第二RRC消息;Filling the compressed data into a preset NAS container of the first RRC message to obtain a second RRC message;
    将所述压缩相关信息填入所述第二RRC消息中,得到所述目标RRC消息。Filling the compression related information into the second RRC message to obtain the target RRC message.
  3. 根据权利要求1所述的数据压缩方法,其中,所述根据所述压缩数据以及所述压缩相关信息,生成RRC消息,包括:The data compression method according to claim 1, wherein the generating an RRC message according to the compressed data and the compression related information comprises:
    将所述压缩相关信息填入所述压缩数据的预设压缩数据包头中,得到压缩数据包;Filling the compression related information into a preset compressed data packet header of the compressed data to obtain a compressed data packet;
    将所述压缩数据包填入第三RRC消息的预设NAS容器中,并将用于指示所述预设NAS容器承载压缩数据包的指示信息填入所述第三RRC消息中,得到所述目标RRC消息。Filling the compressed data packet into a preset NAS container of the third RRC message, and filling the third RRC message with the indication information for indicating that the preset NAS container carries the compressed data packet, to obtain the Target RRC message.
  4. 根据权利要求1至3中任一项所述的数据压缩方法,其中,所述NAS信息为NAS的信令和/或数据。The data compression method according to any one of claims 1 to 3, wherein the NAS information is signaling and/or data of the NAS.
  5. 根据权利要求1至3中任一项所述的数据压缩方法,其中,所述压缩相关信息包括如下指示信息中的一项或多项:The data compression method according to any one of claims 1 to 3, wherein the compression related information comprises one or more of the following indication information:
    指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
    指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
    指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
    指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
    指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
  6. 一种数据解压缩方法,包括:A data decompression method comprising:
    接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;Receiving a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information;
    确定所述NAS信息是否被压缩;Determining whether the NAS information is compressed;
    当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。When the NAS information is compressed, the NAS information is decompressed according to the compression related information.
  7. 根据权利要求6所述的数据解压缩方法,其中,所述NAS信息被填入所述目标RRC消息的预设NAS容器中。The data decompression method according to claim 6, wherein said NAS information is filled in a preset NAS container of said target RRC message.
  8. 根据权利要求6所述的数据解压缩方法,其中,所述压缩相关信息被填入所述目标RRC消息中,或者所述压缩相关信息被填入压缩数据的预设压缩数据包头中。The data decompression method according to claim 6, wherein the compression related information is filled in the target RRC message, or the compression related information is filled in a preset compressed data packet header of the compressed data.
  9. 根据权利要求6至8中任一项所述的数据解压缩方法,其中,所述NAS信息为NAS的信令和/或数据。The data decompression method according to any one of claims 6 to 8, wherein the NAS information is signaling and/or data of the NAS.
  10. 根据权利要求6至8中任一项所述的数据解压缩方法,其中,所述压缩相关信息包括如下指示信息中的一项或多项:The data decompression method according to any one of claims 6 to 8, wherein the compression related information comprises one or more of the following indication information:
    指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
    指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
    指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
    指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
    指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
  11. 一种发送端,包括收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,A transmitting end, comprising a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor; wherein
    所述处理器用于:获取NAS信息,通过RRC层对所述NAS信息进行压缩,得到压缩数据,确定RRC消息中对应的压缩相关信息,根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;The processor is configured to: acquire NAS information, compress the NAS information by using an RRC layer, obtain compressed data, determine compression related information in the RRC message, and generate a target RRC according to the compressed data and the compression related information. Message
    所述收发机用于:向接收端发送所述目标RRC消息。The transceiver is configured to: send the target RRC message to a receiving end.
  12. 根据权利要求11所述的发送端,其中,The transmitting end according to claim 11, wherein
    所述处理器具体用于:将所述压缩数据填入第一RRC消息的预设NAS容器中,得到第二RRC消息,将所述压缩相关信息填入所述第二RRC消息中, 得到所述目标RRC消息。The processor is specifically configured to: fill the compressed data into a preset NAS container of the first RRC message, obtain a second RRC message, and fill the compression related information into the second RRC message to obtain the The target RRC message.
  13. 根据权利要求11所述的发送端,其中,The transmitting end according to claim 11, wherein
    所述处理器具体用于:将所述压缩相关信息填入所述压缩数据的预设压缩数据包头中,得到压缩数据包,将所述压缩数据包填入第三RRC消息的预设NAS容器中,并将用于指示所述预设NAS容器承载压缩数据包的指示信息填入所述第三RRC消息中,得到所述目标RRC消息。The processor is specifically configured to: fill the compression related information into a preset compressed data packet header of the compressed data, obtain a compressed data packet, and fill the compressed data packet into a preset NAS container of a third RRC message. And indicating, by using the indication information, that the preset NAS container carries the compressed data packet, the third RRC message, to obtain the target RRC message.
  14. 根据权利要求11至13中任一项所述的发送端,其中,所述NAS信息为NAS的信令和/或数据。The transmitting end according to any one of claims 11 to 13, wherein the NAS information is signaling and/or data of the NAS.
  15. 根据权利要求11至13中任一项所述的发送端,其中,所述压缩相关信息包括如下指示信息中的一项或多项:The transmitting end according to any one of claims 11 to 13, wherein the compression related information comprises one or more of the following indication information:
    指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
    指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
    指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
    指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
    指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
  16. 一种接收端,包括收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,A receiving end comprising a transceiver, a memory, a processor, and a computer program stored on the memory and operable on the processor;
    所述收发机用于:接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;The transceiver is configured to: receive a target RRC message sent by a sending end, where the target RRC message includes NAS information and corresponding compression related information;
    所述处理器用于:确定所述NAS信息是否被压缩,当所述NAS信息被压缩时,根据所述压缩相关信息,对所述NAS信息进行解压缩。The processor is configured to: determine whether the NAS information is compressed, and when the NAS information is compressed, decompress the NAS information according to the compression related information.
  17. 根据权利要求16所述的接收端,其中,所述NAS信息被填入所述目标RRC消息的预设NAS容器中。The receiving end according to claim 16, wherein said NAS information is filled in a preset NAS container of said target RRC message.
  18. 根据权利要求16所述的接收端,其中,所述压缩相关信息被填入所述目标RRC消息中,或者所述压缩相关信息被填入压缩数据的预设压缩数据包头中。The receiving end according to claim 16, wherein said compression related information is filled in said target RRC message, or said compression related information is filled in a preset compressed data packet header of compressed data.
  19. 根据权利要求16至18中任一项所述的接收端,其中,所述NAS信息为NAS的信令和/或数据。The receiving end according to any one of claims 16 to 18, wherein the NAS information is signaling and/or data of the NAS.
  20. 根据权利要求16至18中任一项所述的接收端,其中,所述压缩相 关信息包括如下指示信息中的一项或多项:The receiving end according to any one of claims 16 to 18, wherein the compression related information comprises one or more of the following indication information:
    指示RRC消息中的NAS信息是否是压缩数据的指示信息;Indicates whether the NAS information in the RRC message is indication information of the compressed data;
    指示解压缩后的数据是否填入缓冲区的指示信息;An indication indicating whether the decompressed data is filled in the buffer;
    指示解压缩之前是否复位缓冲区的指示信息;Indicates whether to reset the buffer indication information before decompression;
    指示压缩过程所使用的字典或字典版本的指示信息;An indication indicating the dictionary or dictionary version used by the compression process;
    指示压缩之前的缓冲区中的数据的状态的指示信息。An indication indicating the status of the data in the buffer before compression.
  21. 一种数据压缩装置,包括:A data compression device comprising:
    获取模块,用于获取NAS信息;Obtaining a module for acquiring NAS information;
    压缩模块,用于通过RRC层对所述NAS信息进行压缩,得到压缩数据;a compression module, configured to compress the NAS information through an RRC layer to obtain compressed data;
    第一确定模块,用于确定RRC消息中对应的压缩相关信息;a first determining module, configured to determine corresponding compression related information in the RRC message;
    生成模块,用于根据所述压缩数据以及所述压缩相关信息,生成目标RRC消息;a generating module, configured to generate a target RRC message according to the compressed data and the compression related information;
    发送模块,用于向接收端发送所述目标RRC消息。And a sending module, configured to send the target RRC message to the receiving end.
  22. 根据权利要求21所述的数据压缩装置,其中,所述生成模块具体用于:The data compression device according to claim 21, wherein the generating module is specifically configured to:
    将所述压缩数据填入第一RRC消息的预设NAS容器中,得到第二RRC消息,并将所述压缩相关信息填入所述第二RRC消息中,得到所述目标RRC消息。Filling the compressed data into a preset NAS container of the first RRC message, obtaining a second RRC message, and filling the compression related information into the second RRC message to obtain the target RRC message.
  23. 根据权利要求21所述的数据压缩装置,其中,所述生成模块具体用于:The data compression device according to claim 21, wherein the generating module is specifically configured to:
    将所述压缩相关信息填入所述压缩数据的预设压缩数据包头中,得到压缩数据包,将所述压缩数据包填入第三RRC消息的预设NAS容器中,并将用于指示所述预设NAS容器承载压缩数据包的指示信息填入所述第三RRC消息中,得到所述目标RRC消息。Filling the compression related information into a preset compressed data packet header of the compressed data to obtain a compressed data packet, and filling the compressed data packet into a preset NAS container of the third RRC message, and The indication information that the preset NAS container carries the compressed data packet is filled in the third RRC message to obtain the target RRC message.
  24. 一种数据解压缩装置,包括:A data decompression device includes:
    接收模块,用于接收发送端发送的目标RRC消息,所述目标RRC消息包括NAS信息和对应的压缩相关信息;a receiving module, configured to receive a target RRC message sent by the sending end, where the target RRC message includes NAS information and corresponding compression related information;
    第二确定模块,用于确定所述NAS信息是否被压缩;a second determining module, configured to determine whether the NAS information is compressed;
    解压缩模块,用于当所述NAS信息被压缩时,根据所述压缩相关信息, 对所述NAS信息进行解压缩。And a decompression module, configured to decompress the NAS information according to the compression related information when the NAS information is compressed.
  25. 一种通信设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的数据压缩方法的步骤,或者如权利要求6至10中任一项所述的数据解压缩方法的步骤。A communication device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the computer program is executed by the processor to implement claims 1 to 5 The step of the data compression method according to any one of the preceding claims, or the step of the data decompression method according to any one of claims 6 to 10.
  26. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的数据压缩方法的步骤。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the steps of the data compression method according to any one of claims 1 to 5.
  27. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求6至10中任一项所述的数据解压缩方法的步骤。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the steps of the data decompression method according to any one of claims 6 to 10.
PCT/CN2019/073849 2018-02-02 2019-01-30 Data compression method and decompression method, and sending end and receiving end WO2019149210A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810107993.0 2018-02-02
CN201810107993.0A CN110139317B (en) 2018-02-02 2018-02-02 Data compression method, decompression method, sending end and receiving end

Publications (1)

Publication Number Publication Date
WO2019149210A1 true WO2019149210A1 (en) 2019-08-08

Family

ID=67478611

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073849 WO2019149210A1 (en) 2018-02-02 2019-01-30 Data compression method and decompression method, and sending end and receiving end

Country Status (2)

Country Link
CN (1) CN110139317B (en)
WO (1) WO2019149210A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556129A (en) * 2020-04-23 2021-10-26 华为技术有限公司 Data processing method and device
CN114070324A (en) * 2020-08-05 2022-02-18 大唐移动通信设备有限公司 Data compression method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011054142A1 (en) * 2009-11-03 2011-05-12 上海贝尔股份有限公司 Method and equipment for converging plural service data from machine terminal devices
CN102215531A (en) * 2010-06-03 2011-10-12 美商威睿电通公司 Method and device for reducing signal burden

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083137B (en) * 2009-12-01 2013-12-11 电信科学技术研究院 Method, system and device for transmitting data
CN102740287A (en) * 2012-07-06 2012-10-17 大唐移动通信设备有限公司 Non-access stratum (NAS) message coding and decoding method and device
US10177837B2 (en) * 2015-06-17 2019-01-08 Hughes Network Systems, Llc Approaches for high speed global packet data services for LEO/MEO satellite systems
CN107094142B (en) * 2017-04-28 2020-11-27 电信科学技术研究院 Method and device for decompressing and compressing uplink data
CN107302585B (en) * 2017-07-11 2020-05-26 电信科学技术研究院 Preset dictionary synchronization method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011054142A1 (en) * 2009-11-03 2011-05-12 上海贝尔股份有限公司 Method and equipment for converging plural service data from machine terminal devices
CN102215531A (en) * 2010-06-03 2011-10-12 美商威睿电通公司 Method and device for reducing signal burden

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTERDIGITAL COMMUNICATIONS: "Control and user plane operation with low rate data services for Low-cost UE' s based on LTE", 3GPP TSG-RAN WG1 MEETING #71 RL-125095, vol. RAN WG1, 3 November 2012 (2012-11-03), XP050662956 *

Also Published As

Publication number Publication date
CN110139317A (en) 2019-08-16
CN110139317B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
US10863578B2 (en) Data transmission method, device and system
WO2018227814A1 (en) Data indicating method, device and communication system
CN115426673A (en) Time delay measuring method, network equipment and terminal equipment
EP4099593A1 (en) Data transmission method and communication apparatus
US20220368494A1 (en) Uplink re-transmission with compact memory usage
KR102598577B1 (en) Communication methods and devices
US20210392612A1 (en) Method, device and terminal for location message transmission processing
US20230139754A1 (en) Coding method and apparatus
WO2021047374A1 (en) Communication method and apparatus
WO2019149210A1 (en) Data compression method and decompression method, and sending end and receiving end
US20180146077A1 (en) Method and apparatus for determining processing mode for data packet
US11228667B2 (en) Base station, method, and device for data transmission
US9648609B2 (en) Communication system, base station, and communication terminal
TWI685225B (en) Communication method, and terminal equipment
WO2019214619A1 (en) Data processing method and apparatus
US20220338288A1 (en) Communication method and apparatus
WO2019085920A1 (en) Information transmission method and communication device
EP4271036A1 (en) Communication method and apparatus
US11483737B2 (en) RRC message transmission method and device
WO2017185368A1 (en) Signalling transmission method and device
CN110933607B (en) Method, device and equipment for transmitting positioning information
CN112218390A (en) Data processing method and device
WO2023098881A1 (en) Transmission method for location auxiliary data, and terminal, location server, and storage medium
US20230412319A1 (en) Wireless communication method, terminal device and network device
WO2024060139A1 (en) Communication method and device, storage medium, and program product

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

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

Country of ref document: EP

Kind code of ref document: A1