WO2022028133A1 - 一种数据压缩方法、装置及存储介质 - Google Patents

一种数据压缩方法、装置及存储介质 Download PDF

Info

Publication number
WO2022028133A1
WO2022028133A1 PCT/CN2021/101204 CN2021101204W WO2022028133A1 WO 2022028133 A1 WO2022028133 A1 WO 2022028133A1 CN 2021101204 W CN2021101204 W CN 2021101204W WO 2022028133 A1 WO2022028133 A1 WO 2022028133A1
Authority
WO
WIPO (PCT)
Prior art keywords
compression
cache
data
identifier
service
Prior art date
Application number
PCT/CN2021/101204
Other languages
English (en)
French (fr)
Inventor
张惠英
全海洋
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Priority to JP2023507802A priority Critical patent/JP7434663B2/ja
Priority to KR1020237004965A priority patent/KR20230037637A/ko
Priority to EP21853459.2A priority patent/EP4195513A1/en
Publication of WO2022028133A1 publication Critical patent/WO2022028133A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3084Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction using adaptive string matching, e.g. the Lempel-Ziv method
    • H03M7/3088Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction using adaptive string matching, e.g. the Lempel-Ziv method employing the use of a dictionary, e.g. LZ78
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/60General implementation details not specific to a particular type of compression
    • H03M7/6052Synchronisation of encoder and decoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data compression method, device, and storage medium.
  • Embodiments of the present application provide a data compression method, device, and storage medium, so as to solve the defect of low data compression efficiency in the prior art, and realize efficient transmission of multiple services.
  • an embodiment of the present application provides a data transmission method, which is used for a data sending end, where the data sending end can carry multiple services on one wireless bearer, and each service corresponds to a compressed buffer, including:
  • the setting message carrying the compression identifier is sent to the data receiving end.
  • the setting message is a Packet Data Convergence Protocol PDCP message
  • the adding a compression identifier used to indicate the first compression cache in the setting message includes:
  • the compression flag is added to the PDCP header of the PDCP message.
  • adding the compression identifier to the PDCP header of the PDCP message includes:
  • the compression identifier includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the data compression method according to an embodiment of the present application further includes:
  • a corresponding compression cache is established for the service that needs to be compressed according to the compression information.
  • the compression information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression method according to an embodiment of the present application further includes:
  • the release information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression method according to an embodiment of the present application further includes:
  • the dictionary content corresponding to the first compressed cache is updated by using the first data.
  • an embodiment of the present application provides a data transmission method, the method is used for a data receiving end, and the data receiving end can receive a plurality of compressed services carried on a wireless bearer, and each service corresponds to a decompression buffer ,include:
  • the second data is decompressed by using the dictionary in the first decompression cache to obtain the first data.
  • the setting message is a Packet Data Convergence Protocol PDCP message
  • the compression identifier is included in the PDCP header of the PDCP message.
  • a setting field in the PDCP header for carrying the compression identifier includes the compression identifier.
  • the compression identifier includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the data compression method according to an embodiment of the present application further includes:
  • a corresponding decompression cache is established for the service that needs to be compressed according to the compression information.
  • the compression information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression method according to an embodiment of the present application further includes:
  • the decompression cache corresponding to the service to be released is released according to the release information.
  • the release information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression method according to an embodiment of the present application further includes:
  • the dictionary content in the first decompression cache is updated with the first data.
  • an embodiment of the present application further provides a data compression device, characterized in that the data compression device can carry multiple services on one wireless bearer, and each service corresponds to a compression buffer, including a memory, a transceiver, processor:
  • a memory for storing a computer program
  • a transceiver for sending and receiving data under the control of the processor
  • a processor for reading the computer program in the memory and performing the following operations:
  • the setting message carrying the compression identifier is sent to the data receiving end.
  • the setting message is a Packet Data Convergence Protocol PDCP message
  • the adding a compression identifier used to indicate the first compression cache in the setting message includes:
  • the compression flag is added to the PDCP header of the PDCP message.
  • the adding the compression identifier to the PDCP header of the PDCP message includes:
  • the compression identifier includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the data compression apparatus further includes:
  • a corresponding compression cache is established for the service that needs to be compressed according to the compression information.
  • the compression information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the release information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the dictionary content corresponding to the first compressed cache is updated by using the first data.
  • an embodiment of the present application further provides a data compression device, characterized in that the data compression device can receive multiple compressed services carried on one wireless bearer, and each service corresponds to a decompression cache, including a memory , transceiver, processor:
  • a memory for storing a computer program
  • a transceiver for sending and receiving data under the control of the processor
  • a processor for reading the computer program in the memory and performing the following operations:
  • the second data is decompressed by using the dictionary in the first decompression cache to obtain the first data.
  • the setting message is a Packet Data Convergence Protocol PDCP message
  • the compression identifier is included in the PDCP header of the PDCP message.
  • a setting field in the PDCP header for carrying the compression identifier includes the compression identifier.
  • the compression identifier includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the data compression apparatus further includes:
  • a corresponding decompression cache is established for the service that needs to be compressed according to the compression information.
  • the compression information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the release information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the dictionary content in the first decompression cache is updated with the first data.
  • an embodiment of the present application provides a data compression device, characterized in that the device is used for a data sending end, and the data sending end can carry multiple services on one wireless bearer, and each service corresponds to a compression buffer ,include:
  • a compression cache determining module configured to determine a first compression cache corresponding to the service to which the first data to be sent belongs
  • a compression module configured to use a dictionary corresponding to the first compression cache to compress the first data to obtain compressed second data
  • an encapsulation module configured to encapsulate the second data in a setting message, and add a compression identifier for indicating the first compression cache in the setting message;
  • a sending module configured to send the setting message carrying the compression identifier to a data receiving end.
  • an embodiment of the present application further provides a data compression device, characterized in that the device is used for a data receiving end, and the data receiving end can receive a plurality of compressed services carried on a wireless bearer, each The business corresponds to a decompression cache, including:
  • a receiving module configured to receive a setting message carrying a compression identifier sent by the data sending end, where the compression identifier is used to indicate the first compression cache corresponding to the service to which the received first data belongs, and the setting message also includes the The data sending end uses the dictionary corresponding to the first compression cache to compress the second data of the first data;
  • a decompression cache determination module configured to determine a first decompression cache corresponding to the first compression cache according to the compression identifier
  • a decompression module configured to decompress the second data by using the dictionary in the first decompression cache to obtain the first data.
  • an embodiment of the present application provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the above-mentioned first The method described in the aspect, or the method described in the second aspect above.
  • a first compression cache corresponding to a service to which the first data to be sent belongs is determined; and a dictionary corresponding to the first compression cache is used to compress the first data. Compression to obtain compressed second data; encapsulate the second data in a setting message, and add a compression identifier for indicating the first compression cache in the setting message; carry the The setting message of the compression identifier is sent to the data receiving end, which improves the data compression efficiency and realizes the efficient transmission of multiple services.
  • FIG. 1 is a schematic flowchart of a data compression method provided by an embodiment of the present application.
  • FIG. 2 is an example diagram of a compressed cache provided by an embodiment of the present application.
  • FIG. 3 is an example diagram of a compressed cache indication provided by an embodiment of the present application.
  • FIG. 4 is an example diagram of another compression cache indication provided by an embodiment of the present application.
  • FIG. 6 is an information interaction diagram for releasing a compressed cache provided by an embodiment of the present application.
  • FIG. 7 is an example diagram of releasing a compressed cache provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a data compression method provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • the term “plurality” refers to two or more than two, and other quantifiers are similar.
  • the network can configure the UE (User Equipment, user equipment) to use UDC (Uplink Data Compression, uplink data Compression) function, which compresses the uplink data and then transmits it to reduce the overhead of air interface resources.
  • UDC Uplink Data Compression, uplink data Compression
  • the UE When performing uplink compression, the UE can also use the content of the preset dictionary to compress the data to be transmitted, thereby further improving the compression efficiency; correspondingly, the base station side needs to decompress according to the content of the preset dictionary.
  • an RB Radio Bearer, radio bearer
  • RB Radio Bearer, radio bearer
  • the same dictionary is used for compression and decompression of multiple services, since there is no correlation between multiple service data, the Greatly reduces compression efficiency.
  • the present application provides a data compression method for a wireless bearer that carries multiple services. Multiple services transmitted on one bearer are compressed and decompressed using multiple dictionaries, thereby realizing efficient transmission of multiple services.
  • the sender maintains the compression cache
  • the receiver maintains the decompression cache
  • the compression and decompression caches are both first-in, first-out queues
  • the sender compresses the data to be sent:
  • the length exceeds the preset threshold
  • the destination field is the same as a field in the compressed cache or before the destination field in this packet.
  • the offset is the position offset between the target field and the same field before the target field
  • the length is the length of the target field
  • the length of the combination of offset and length is shorter than the length of the target field itself, it has the effect of compression; in a data packet, there may be multiple fields that meet the above characteristics, and all of these fields can be compressed.
  • the sender sends the compressed data packet to the opposite end; at the same time, fills the corresponding original data packet (uncompressed data) into the compression cache:
  • the receiving end decompresses the received data packet based on the offset and length in the packet and the decompression cache; then, fills the decompressed data packet into the decompression cache.
  • the compression and decompression caches are empty, the compression end has a low probability of finding the target field in the current packet to be sent, and the compression efficiency is correspondingly low; after the UDC runs for a period of time, the compression cache gradually increases, and the compression The probability of the terminal finding the target field in the current packet to be sent is improved, and the compression efficiency is correspondingly improved.
  • the above-mentioned transmitting end is a terminal; the receiving end is a base station.
  • a preset dictionary can be written for frequently occurring fields based on service characteristics, and stored in the compression and decompression caches of the compression end and decompression segment respectively before UDC is started.
  • the compression and decompression cache is no longer empty, but has a preset dictionary of high-frequency fields, which can effectively improve the discovery probability of target fields and improve compression efficiency.
  • the terminal and the base station need to obtain the preset dictionary to be used separately, that is, to complete the preset dictionary synchronization process.
  • a radio bearer In the existing UDC mechanism, a radio bearer (RB) has only one compression/decompression buffer, corresponding to one compression dictionary. If only one service is carried on the wireless bearer, there is no problem using one dictionary for compression and decompression. However, when multiple services are carried on the wireless bearer, multiple services use the same dictionary for compression and decompression, because there is no correlation between the data of multiple services. , it will greatly reduce the compression efficiency.
  • the embodiments of the present application provide a data compression method, device, and storage medium, which improve data compression efficiency and realize efficient transmission of multiple services.
  • the method and the device are conceived based on the same application. Since the principles of the method and the device for solving the problem are similar, the implementation of the device and the method can be referred to each other, and repeated descriptions will not be repeated here.
  • applicable systems may be global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) general packet Wireless service (general packet radio service, GPRS) system, long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD) system, Long term evolution advanced (LTE-A) system, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) system, 5G New Radio (New Radio, NR) system, etc.
  • GSM global system of mobile communication
  • CDMA code division multiple access
  • WCDMA Wideband Code Division Multiple Access
  • general packet Wireless service general packet Radio service
  • GPRS general packet Wireless service
  • LTE long term evolution
  • LTE long term evolution
  • FDD frequency division duplex
  • TDD time division duplex
  • LTE-A Long term evolution advanced
  • UMTS universal mobile
  • the terminal device involved in the embodiments of the present application may be a device that provides voice and/or data connectivity to a user, a handheld device with a wireless connection function, or other processing device connected to a wireless modem.
  • the name of the terminal equipment may be different.
  • the terminal equipment may be called user equipment (User Equipment, UE).
  • Wireless terminal equipment can communicate with one or more core networks (Core Network, CN) via a radio access network (Radio Access Network, RAN).
  • RAN Radio Access Network
  • "telephone) and computers with mobile terminal equipment eg portable, pocket-sized, hand-held, computer-built or vehicle-mounted mobile devices, which exchange language and/or data with the radio access network.
  • Wireless terminal equipment may also be referred to as system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point , a remote terminal device (remote terminal), an access terminal device (access terminal), a user terminal device (user terminal), a user agent (user agent), and a user device (user device), which are not limited in the embodiments of the present application.
  • the network device involved in the embodiments of the present application may be a base station, and the base station may include a plurality of cells providing services for the terminal.
  • the base station may also be called an access point, or may be a device in the access network that communicates with wireless terminal equipment through one or more sectors on the air interface, or other names.
  • the network equipment can be used to exchange received air frames with Internet Protocol (IP) packets, and act as a router between the wireless terminal equipment and the rest of the access network, which can include the Internet. Protocol (IP) communication network.
  • IP Internet Protocol
  • the network devices may also coordinate attribute management for the air interface.
  • the network device involved in this embodiment of the present application may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile Communications (GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA). ), or a network device (NodeB) in a Wide-band Code Division Multiple Access (Wide-band Code Division Multiple Access, WCDMA), or an evolved network device in a long-term evolution (long term evolution, LTE) system (evolutional Node B, eNB or e-NodeB), 5G base station (gNB) in 5G network architecture (next generation system), or Home evolved Node B (HeNB), relay node (relay node) , a home base station (femto), a pico base station (pico), etc., which are not limited in the embodiments of the present application.
  • a network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be geographical
  • FIG. 1 is a schematic diagram of a data compression method provided by an embodiment of the present application.
  • the method is used for a data sending end.
  • the data sending end can carry multiple services on one wireless bearer, and each service corresponds to a compression buffer; as shown in FIG. 1
  • the data compression method includes the following steps:
  • the data sending end determines the first compressed buffer corresponding to the service to which the first data to be sent belongs, and the data sending end here may be a base station or a terminal.
  • the terminal determines the first compressed buffer corresponding to the service to which the first data to be sent belongs
  • the data sending end is a base station
  • the base station determines the first compressed buffer corresponding to the service to which the first data to be sent belongs.
  • a compressed cache when the data sending end is a terminal, that is, the terminal determines the first compressed buffer corresponding to the service to which the first data to be sent belongs; when the data sending end is a base station, that is, the base station determines the first compressed buffer corresponding to the service to which the first data to be sent belongs.
  • S102 Compress the first data by using a dictionary corresponding to the first compression cache to obtain compressed second data.
  • the data sending end uses a dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs to compress the first data to be sent to obtain the compressed second data.
  • the data sending end here may be a base station or a terminal.
  • the terminal uses the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs to compress the first data to be sent to obtain the compressed second data
  • the data sending end is a base station
  • the base station uses the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs to compress the first data to be sent to obtain compressed second data.
  • the dictionary corresponding to the first compression cache may be located in the first compression cache, that is, the dictionary loaded in the first compression cache in advance; or it may be located outside the first compression cache, that is, it is pre-established with the first compression cache A dictionary of correspondences.
  • S103 Encapsulate the second data in a setting message, and add a compression identifier for indicating the first compression cache in the setting message.
  • the data sending end encapsulates the compressed second data in a setting message, and adds a compression identifier used to indicate the first compressed buffer to be sent in the setting message, where the data sending end may be a base station, Can also be a terminal.
  • the terminal when the data sending end is a terminal, the terminal encapsulates the compressed second data in a setting message, and adds a compression identifier used to indicate the first compression buffer to be sent in the setting message; when the data sending end When it is a base station, the base station encapsulates the compressed second data in a setting message, and adds a compression identifier used to indicate the first compressed buffer to be sent in the setting message.
  • the data sending end sends a setting message carrying a compression identifier used to indicate the first compressed buffer to be sent to the data receiving end, where the data sending end may be a base station or a terminal, when the data sending end is When a terminal is used, the data receiving end is a base station; when a data transmitting end is a base station, the data receiving end is a terminal.
  • the terminal when the data sender is a terminal, the terminal sends a setting message carrying a compression identifier used to indicate the first compressed buffer to be sent to the base station; when the data sender is a base station, the terminal will carry a setting message used to indicate the to-be-sent first compressed buffer The setting message of the compression identifier of the first compression cache is sent to the terminal.
  • a data sending end and a data receiving end are included.
  • the compressed data compression process between the data sending end and the data receiving end may be:
  • the data sending end and the data receiving end establish two radio bearers DRB (Date Radio Bearer, data radio bearer) 0 and DRB1.
  • DRB0 carries three services, corresponding to compression buffer 0, compression buffer 1 and compression buffer 2 of DRB0 respectively.
  • DRB1 carries two services, corresponding to compression cache 0 and compression cache 1 of DRB1 respectively.
  • Step 1 The data sender needs to send a data packet of service 0 of DRB0, and the data sender finds the compression buffer 0 of DRB0 according to the correspondence between the service and the compression buffer.
  • the PDCP PDU is transmitted to the RLC (Radio Link Control, Radio Link Layer Control Protocol) layer.
  • RLC Radio Link Control, Radio Link Layer Control Protocol
  • Step 2 The RLC layer, the MAC (Medium Access Control, medium access control) and the physical layer perform data transmission on the compressed data packets.
  • MAC Medium Access Control, medium access control
  • Step 3 The RLC layer of the data receiving end decodes the PDCP PDU, and maps the compressed data packet to the DRB0 according to the channel mapping relationship and transmits it to the PDCP layer.
  • Step 4 The PDCP layer of the data receiving end finds the decompression cache 0 of DRB0 according to the compression cache identifier or the compression dictionary identifier in the PDCP header (header), uses the decompression cache 0 of DRB0 to decompress the data packet, and updates the decompression cache 0 of DRB0 dictionary information in .
  • Step 5 The PDCP layer at the data receiving end delivers the decompressed data packet to the upper layer.
  • the upper layer can be (RRC (Radio Resource Control, Radio Resource Control) layer, NAS (Non-Access-Stratum non-access layer) layer, SDAP (Service Data Adaptation Protocol, Service Data Adaptation Protocol) layer and so on.
  • RRC Radio Resource Control
  • Radio Resource Control Radio Resource Control
  • NAS Non-Access-Stratum non-access layer
  • SDAP Service Data Adaptation Protocol, Service Data Adaptation Protocol
  • the PDCP header here can also have other identifiers. , such as SN (Serial Number, sequence code), FU (Flag of UDC, upstream data compression indication), FR (Flag of Reset, reset indication), Checksum (checksum), etc.
  • FU indicates whether the data packet is compressed by the UDC protocol, and the value "1" indicates that the data packet is compressed by the UDC protocol;
  • FR indicates whether to reset the UDC compression cache.
  • a value of "1" indicates that this is the first compressed packet after the UDC cache has been reset.
  • Checksum means that this field contains the verification bits of the content of the compressed cache buffer: before the current packet is put into the cache buffer, the checksum is calculated based on the content of the current compressed cache buffer.
  • the first compressed cache corresponding to the service to which the first data to be sent belongs is determined; the first data is compressed by using the dictionary corresponding to the first compressed cache to obtain the compressed second data; Encapsulate the second data in a setting message, and add a compression identifier used to indicate the first compression cache in the setting message; send the setting message carrying the compression identifier to The data receiving end improves the efficiency of data compression and realizes the efficient transmission of multiple services.
  • the setting message in the above S103 may be a PDCP message, and when performing the above S103, when adding a compression identifier for indicating the first compression cache to the setting message, the setting message may include but not limited to the following Method to realize:
  • the compression identifier of the first compression cache may include one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the setting field may be a reserved field in the PDCP header, such as the location of the buffer ID (Buffer Identity buffer sequence number) as shown in Figure 3; it may also be a newly added field in the PDCP header, as shown in Figure 4
  • the location of the buffer ID. 3 and 4 are only a specific example, and do not constitute a limitation on the embodiments of the present application, that is, the setting fields in the embodiments of the present application may be located in, but not limited to, where the buffer ID shown in FIG. 3 or FIG. 4 is located. Location.
  • Figure 3 is the direct use of reserved bits to carry the buffer ID (Buffer Identity buffer sequence number)
  • Figure 4 is the addition of a new byte in the PDCP header (Packet Data Convergence Protocol header) to carry the buffer ID (Buffer Identity, buffer sequence number) No).
  • the fields included in Figure 3 or Figure 4 are:
  • Buffer ID (Buffer Identity, buffer serial number) field
  • the compression identification can be set at the position of the buffer ID field in Fig. 3 or Fig. 4.
  • the compression flag added to the setting field may include one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the flexibility and diversity of the transmission of the compressed identifier are enriched by adding the compression identifier to the setting field of the PDCP header of the PDCP message.
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs in the foregoing S103 may include one or a combination of the following:
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs may include:
  • the compressed cache identifier of the first compressed cache corresponding to the service to which the first data belongs or
  • the dictionary identifier of the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs or
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs may include:
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs may include:
  • the compressed cache identifier of the first compressed cache corresponding to the service to which the first data belongs.
  • the dictionary identifier of the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs
  • the data compression method may further include:
  • S105 Receive a first message sent by a network-side device, where the first message includes compression information configured by the network-side device for a service that needs to be compressed;
  • the data receiving end when receiving the compression information configured by the network side device for the service that needs to be compressed, the data receiving end can establish a corresponding compression cache for the service that needs to be compressed according to the compression information, and load the corresponding dictionary into the compression cache.
  • the network side device may be the base station.
  • step S105 and S106 may be performed before S101 to establish a compression buffer for each service that needs to be compressed, and then in step S101, determine the first compression buffer corresponding to the service to which the first data to be sent belongs.
  • a terminal, a base station and a core network are included.
  • the compressed information configuration process between the base station and the core network includes the steps:
  • RRC Radio Resource Control, Radio Resource Control
  • the terminal initiates a PDU (Protocol Data Unit, protocol data unit) establishment request to the core network, and the request includes service information QoS (Quality of Service, quality of service) information.
  • PDU Protocol Data Unit, protocol data unit
  • QoS Quality of Service
  • the core network determines to establish a PDU connection for the terminal, establishes a connection between the base station and the core network for the terminal, sends a PDU session (session control) establishment acceptance message to the base station, and notifies the base station of corresponding service information (for example, QoS information).
  • PDU session session control
  • the base station configures information such as radio bearers for the terminal, which includes compression information corresponding to the service. and sent to the terminal through a control plane message (for example, an RRC reconfiguration message).
  • the compressed information can include one or a combination of the following:
  • Compression cache identifier and/or decompression cache identifier (1) Compression cache identifier and/or decompression cache identifier
  • cache information e.g, cache size
  • the terminal After receiving the configuration information, the terminal establishes a compression buffer for the corresponding service according to the compression information in the configuration signaling, loads the corresponding dictionary, and feeds back an RRC configuration complete message to the base station.
  • the multiple service configuration process repeats steps S2 to S5, and the base station configures radio bearers according to service characteristics, and can map multiple services to the same or different radio bearers. Among them, multiple services are performed at the same time, each service will initiate its own PDU session establishment process, and then the base station uses RRC reconfiguration to configure the service to the appropriate RB.
  • the first message includes the compression information configured by the network side device for the service that needs to be compressed; and according to the compression information, a corresponding compression cache is established for the service that needs to be compressed. , and load the corresponding dictionary in the compression cache, so that the dictionary in the compression cache can be directly used for subsequent compression, which improves the efficiency of data compression.
  • the compression information configured by the network side device for the service that needs to be compressed in the above S105 may include one or a combination of the following:
  • Compression cache information and/or decompression cache information eg, cache size
  • the compression information configured by the network side device for the service that needs to be compressed may include:
  • Case 1 a. Compression Cache ID and/or Decompression Cache ID; or
  • Case 2 a. Compression Cache ID and/or Decompression Cache ID
  • Case 3 a. Compression Cache ID and/or Decompression Cache ID
  • Scenario 7 c. Compression cache information and/or decompression cache information
  • Case 8 a. Compression Cache ID and/or Decompression Cache ID
  • the ninth situation a. Compression cache identifier and/or decompression cache identifier
  • the cache size in the above compression cache information and/or decompression cache information may refer to the amount of dictionary information that can be stored in the cache.
  • the sender and receiver use the dictionary in the cache to compress and decompress data. The higher the compression ratio.
  • the data compression method may further include:
  • S107 Receive a second message sent by the network side device, where the second message includes release information configured by the network side device for the service that needs to be released;
  • the data receiving end when receiving the release information configured for the service that needs to be released and sent by the network side device, the data receiving end can release the compressed buffer corresponding to the service that needs to be released according to the release information.
  • the network side device may be a base station.
  • S107 and S108 may be executed before S101, or may be executed after S104.
  • a terminal, a base station and a core network are included.
  • the compression cache release process between the terminal, the base station and the core network includes steps:
  • the core network determines to release a PDU connection of a service of the terminal, sends a PDU session release message to the base station, and at the same time notifies the base station of corresponding service information (for example, QoS information).
  • service information for example, QoS information
  • the base station reconfigures the radio bearer and other information for the terminal, which includes the compression cache identifier or the compression dictionary identifier corresponding to the release service (for example: release the compression buffer 2 of DRB0 in Figure 2). And send it to the terminal through the RRC reconfiguration message.
  • the terminal After receiving the configuration information, the terminal releases the compression buffer of the corresponding service according to the configuration information in the configuration signaling (for example, releases the compression buffer 2 of DRB0 in FIG. 2), and feeds back a configuration complete message to the base station.
  • the configuration signaling for example, releases the compression buffer 2 of DRB0 in FIG. 2
  • the bearer and compression buffer configuration of the data sender before the release is shown in Figure 2; after the compression buffer 2 of DRB0 in Figure 2 is released, the bearer and compression buffer configuration of the data sender is shown in Figure 7.
  • the second message includes the release information configured by the network side device for the service that needs to be released, and releases the compressed buffer corresponding to the service that needs to be released according to the release information, thereby.
  • the waste of resources is avoided and the utilization rate of resources is improved.
  • the release information configured by the network side device for the service that needs to be released in the above S107 includes one or a combination of the following:
  • the release information configured by the network side device for the service that needs to be released includes the following:
  • the first situation a.
  • the compression cache identifier and/or the decompression cache identifier are described in detail below.
  • the second case b. Dictionary identification.
  • the third situation c. Service identification.
  • Case 6 a. Compression Cache ID and/or Decompression Cache ID
  • Case 7 a. Compression Cache ID and/or Decompression Cache ID
  • the data compression method may further include:
  • the first data is data before compression.
  • updating the dictionary content refers to updating the dictionary information after each compression, and updating the cached dictionary according to the first data.
  • the specific updating method may be to directly replace the old data with new data in a first-in-first-out manner.
  • the data sender can carry multiple services on one wireless bearer, and each service corresponds to a compression buffer.
  • each service corresponds to a compression buffer.
  • the dictionary corresponding to the compression cache compresses the first data to obtain compressed second data; encapsulates the second data in a setting message, and adds in the setting message to indicate the first data
  • a compression identifier of the compression cache the setting message carrying the compression identifier is sent to the data receiving end, thereby improving data compression efficiency and realizing efficient transmission of multiple services.
  • FIG. 8 is a schematic diagram of a data compression method provided by an embodiment of the present application.
  • the method is used for a data receiving end, and the data receiving end can receive multiple compressed services carried on one wireless bearer, and each service corresponds to a decompression buffer ;
  • the data compression method may include the following steps:
  • the data receiving end receives a setting message that is sent by the data sending end and carries a compression identifier, where the compression identifier is used to indicate the first compression cache corresponding to the service to which the received first data belongs, and the data sent by the data sending end carries the compression identifier.
  • the setting message also includes second data obtained by the data sending end compressing the first data received by the receiving end using a dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs.
  • the data receiving end here may be a base station or a terminal.
  • the base station receives a setting message carrying a compression identifier sent by the terminal, and the compression identifier is used to indicate the first compression buffer corresponding to the service to which the first data received belongs, and the setting message carrying the compression identifier sent by the base station further includes:
  • the terminal uses the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs to the second data after compressing the first data received by the base station.
  • the terminal receives a setting message that is sent by the base station and carries a compression identifier.
  • the compression identifier is used to indicate the first compression buffer corresponding to the service to which the received first data belongs.
  • the setting message that is sent by the terminal and carries the compression identifier also includes:
  • the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs is the second data obtained by compressing the first data received by the terminal.
  • the data receiving end determines, according to the compression identifier, the first decompression buffer corresponding to the first compression buffer corresponding to the service to which the first data belongs.
  • the data receiving end here may be a base station or a terminal.
  • the base station determines, according to the compression identifier, the first decompression cache corresponding to the first compression cache corresponding to the service to which the first data belongs;
  • the terminal determines, according to the compression identifier, a first decompression buffer corresponding to the first compression buffer corresponding to the service to which the first data belongs.
  • the data receiving end uses the dictionary in the first decompression cache corresponding to the service to which the first data belongs to decompress the second data after compressing the first data received by the receiving end, to obtain the first data received by the receiving end.
  • the data receiving end here may be a base station or a terminal.
  • the base station decompresses the second data after the first data received by the base station is compressed by using a dictionary in the first decompression cache corresponding to the service to which the first data belongs, to obtain the first data received by the base station;
  • the terminal uses the dictionary in the first decompression cache corresponding to the service to which the first data belongs to decompress the second data after the first data received by the terminal is compressed, to obtain the first data received by the terminal.
  • a data sending end and a data receiving end are included.
  • the compressed data compression process between the data sending end and the data receiving end will not be repeated here.
  • the compression identifier is used to indicate the first compression cache corresponding to the service to which the received first data belongs, and the setting message also includes data transmission.
  • the end uses the dictionary corresponding to the first compression cache to compress the second data of the first data, determines the first decompression cache corresponding to the first compression cache according to the compression identifier, and uses the dictionary in the first decompression cache to compress the second data. Decompression is performed to obtain the first data, thereby improving the efficiency of data compression and realizing efficient transmission of multiple services.
  • the setting message in the foregoing S801 may be a PDCP message, and the PDCP header of the PDCP message includes a compression identifier used to indicate the first compression buffer corresponding to the service to which the received first data belongs.
  • the compression identifier of the first compression cache may include one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the data receiving end when the data receiving end executes S201, after receiving the PDCP message, it may obtain the compression identifier from the PDCP header of the PDCP message.
  • the setting message in the foregoing S801 may be a PDCP message, and the setting field of the PDCP header of the PDCP message includes a setting field used to indicate the first compressed buffer corresponding to the service to which the received first data belongs. Compressed information.
  • the data receiving end when the data receiving end performs S201, after receiving the PDCP message, it may obtain the compression identifier from the setting field of the PDCP header of the PDCP message.
  • the setting field may be a reserved field in the PDCP header, such as the location of the buffer ID (Buffer Identity buffer sequence number) shown in Figure 3 above; it may also be a newly added field in the PDCP header, as shown in Figure 4 above The location of the buffer ID shown.
  • the buffer ID Buffer Identity buffer sequence number
  • the compression identification can be set at the position of the buffer ID field in the above-mentioned FIG. 3 or the above-mentioned FIG. 4 .
  • the compression flag added to the setting field may include one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • obtaining the compression identifier from the setting field of the PDCP header of the PDCP message can enrich the flexibility and diversity of obtaining the compression identifier.
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs in the above S801 may include one or a combination of the following:
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs may include:
  • the compressed cache identifier of the first compressed cache corresponding to the service to which the first data belongs or
  • the dictionary identifier of the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs or
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs may include:
  • the compression identifier used to indicate the first compression cache corresponding to the service to which the first data belongs may include:
  • the compressed cache identifier of the first compressed cache corresponding to the service to which the first data belongs.
  • the dictionary identifier of the dictionary corresponding to the first compression cache corresponding to the service to which the first data belongs
  • the data compression method may further include:
  • S804. Receive a first message sent by a network-side device, where the first message includes compression information configured by the network-side device for a service that needs to be compressed;
  • the data receiving end when receiving the compression information configured by the network side device for the service that needs to be compressed, the data receiving end can establish a corresponding decompression cache for the service that needs to be compressed according to the compression information, and load the corresponding dictionary in the decompression cache.
  • the network side device may be the base station.
  • the compressed information configuration process between the base station and the core network includes, in addition to S1 to S5 included in the above-mentioned FIG. 5 , also includes:
  • the base station establishes a corresponding decompression cache for the service that needs to be compressed according to the compression information, and loads the corresponding dictionary in the decompression cache.
  • the first message includes the compression information configured by the network side device for the service that needs to be compressed; and according to the compression information, a corresponding decompression cache is established for the service that needs to be compressed. , which facilitates subsequent decompression directly using the dictionary in the decompression cache, improves the efficiency of data decompression, and meets the data decompression requirements of multiple services.
  • the compression information configured by the network side device for the service that needs to be compressed in the above S804 may include one or a combination of the following:
  • the data compression method may further include:
  • the second message when the data receiving end receives the second message sent by the network side device, the second message includes the release information configured by the network side device for the service that needs to be released, and can release the decompression buffer corresponding to the service that needs to be released according to the release information.
  • the network side device when the data transmitting end is the terminal and the data receiving end is the base station, the network side device may be the base station.
  • S806 and S807 may be executed before S801, or may be executed after S803.
  • a terminal, a base station and a core network are included.
  • the compression cache release process between the terminal, the base station and the core network includes in addition to S1 to S3 included in the above-mentioned FIG. 6 , also includes:
  • the base station releases the decompression buffer corresponding to the service to be released according to the release information (for example, releases the decompression buffer 2 of DRB0 in FIG. 2 ).
  • the bearer and decompression buffer configuration of the data receiver before release is shown in Figure 2; after the decompression buffer 2 of DRB0 in Figure 2 is released, the bearer and decompression buffer configuration of the data receiver is shown in Figure 7.
  • the release information configured by the network side device for the service that needs to be released in the above S806 includes one or a combination of the following:
  • the data compression method may further include:
  • the first data is decompressed data.
  • the updating of the dictionary content refers to updating the dictionary information after each decompression, and updating the cached dictionary according to the first data.
  • the specific updating method may be to directly replace the old data with new data in a first-in-first-out manner.
  • the data receiving end can carry multiple services on one wireless bearer, and each service corresponds to a compressed cache.
  • each service corresponds to a compressed cache.
  • the dictionary corresponding to the compression cache compresses the first data to obtain compressed second data; encapsulates the second data in a setting message, and adds in the setting message to indicate the first data
  • a compression identifier of the compression cache the setting message carrying the compression identifier is sent to the data receiving end, thereby improving data compression efficiency and realizing efficient transmission of multiple services.
  • FIG. 9 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • the data compression apparatus can carry multiple services on one wireless bearer, and each service corresponds to a compression buffer, including a memory 920, a transceiver 900, a processing device 910.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 910 and various circuits of memory represented by memory 920 are linked together.
  • the bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein.
  • the bus interface provides the interface.
  • Transceiver 900 may be multiple elements, including a transmitter and a receiver, providing means for communicating with various other devices over transmission media including wireless channels, wired channels, fiber optic cables, and the like.
  • the processor 910 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 910 in performing operations.
  • the processor 910 may be a central processor (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (Complex Programmable Logic Device). , CPLD), the processor can also use a multi-core architecture.
  • CPU central processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • CPLD complex programmable logic device
  • the memory 920 is used to store computer programs; the transceiver 900 is used to send and receive data under the control of the processor; the processor 910 is used to read the computer program in the memory and perform the following operations:
  • the setting message carrying the compression identifier is sent to the data receiving end.
  • the setting message is a Packet Data Convergence Protocol PDCP message
  • the adding a compression identifier used to indicate the first compression cache in the setting message includes:
  • the compression flag is added to the PDCP header of the PDCP message.
  • the adding the compression identifier to the PDCP header of the PDCP message includes:
  • the compression identifier includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the data compression apparatus further includes:
  • a corresponding compression cache is established for the service that needs to be compressed according to the compression information.
  • the compression information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the release information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the dictionary content corresponding to the first compressed cache is updated by using the first data.
  • the data compression apparatus can carry multiple services on one wireless bearer, and each service corresponds to a compression buffer, by determining the first compression buffer corresponding to the service to which the first data to be sent belongs;
  • the dictionary corresponding to the compression cache compresses the first data to obtain compressed second data; encapsulates the second data in a setting message, and adds in the setting message to indicate the first data
  • a compression identifier of the compression cache the setting message carrying the compression identifier is sent to the data receiving end, thereby improving data compression efficiency and realizing efficient transmission of multiple services.
  • FIG. 10 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • the data compression apparatus can carry multiple services on one wireless bearer, and each service corresponds to a compression buffer, including a memory 1020, a transceiver 1000, a processing device 1010.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1010 and various circuits of memory represented by memory 1020 are linked together.
  • the bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein.
  • the bus interface provides the interface.
  • Transceiver 1000 may be multiple elements, including a transmitter and a receiver, providing means for communicating with various other devices over transmission media including wireless channels, wired channels, fiber optic cables, and the like.
  • the processor 1010 is responsible for managing the bus architecture and general processing, and the memory 1020 may store data used by the processor 1010 in performing operations.
  • the processor 3100 may be a central processor (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (Complex Programmable Logic Device). , CPLD), the processor can also use a multi-core architecture.
  • CPU central processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • CPLD complex programmable logic device
  • the memory 1020 is used to store computer programs; the transceiver 1000 is used to send and receive data under the control of the processor; the processor 1010 is used to read the computer programs in the memory and perform the following operations:
  • the second data is decompressed by using the dictionary in the first decompression cache to obtain the first data.
  • the data compression apparatus further includes:
  • the setting message is a Packet Data Convergence Protocol PDCP message
  • the compression identifier is included in the PDCP header of the PDCP message.
  • the data compression apparatus further includes:
  • the setting field in the PDCP header for carrying the compression identifier includes the compression identifier.
  • the data compression apparatus further includes:
  • the compression identification includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the data compression apparatus further includes:
  • a corresponding decompression cache is established for the service that needs to be compressed according to the compression information.
  • the compression information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the decompression cache corresponding to the service to be released is released according to the release information.
  • the release information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the data compression apparatus further includes:
  • the dictionary content in the first decompression cache is updated with the first data.
  • the data compression apparatus can receive multiple compressed services carried on a wireless bearer, each service corresponds to a decompression cache, and by receiving the setting message carrying the compression identifier sent by the data sending end, the The compression identifier is used to indicate the first compression cache corresponding to the service to which the received first data belongs, and the setting message further includes that the data sender uses a dictionary corresponding to the first compression cache to compress the first data Determine the first decompression cache corresponding to the first compression cache according to the compression identifier; use the dictionary in the first decompression cache to decompress the second data to obtain the first data , thereby improving the data compression efficiency and realizing the efficient transmission of multiple services.
  • FIG. 11 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • the device is used for a data sending end, and the data sending end can carry multiple services on one wireless bearer, and each service corresponds to a compressed buffer, including:
  • a compression buffer determining module 111 configured to determine a first compression buffer corresponding to the service to which the first data to be sent belongs;
  • a compression module 112 configured to compress the first data by using a dictionary corresponding to the first compression cache to obtain compressed second data
  • an encapsulation module 113 configured to encapsulate the second data in a setting message, and add a compression identifier for indicating the first compression cache in the setting message;
  • the sending module 114 is configured to send the setting message carrying the compression identifier to the data receiving end.
  • the setting message is a packet data convergence protocol PDCP message;
  • the encapsulation module 113 includes:
  • the adding a compression identifier used to indicate the first compression cache in the setting message includes:
  • the compression flag is added to the PDCP header of the PDCP message.
  • the packaging module 113 includes:
  • the adding the compression identifier to the PDCP header of the PDCP message includes:
  • the packaging module 113 includes:
  • the compression identification includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • a first receiving module configured to receive a first message sent by a network-side device, where the first message includes compression information configured by the network-side device for a service that needs to be compressed;
  • the establishment module is configured to establish a corresponding compression cache for the service that needs to be compressed according to the compression information.
  • the compressed information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • a second receiving module configured to receive a second message sent by a network side device, where the second message includes release information configured by the network side device for a service that needs to be released;
  • a release module configured to release the compressed cache corresponding to the service that needs to be released according to the release information.
  • the release information includes one of the following or a combination thereof:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • An update module configured to update the dictionary content corresponding to the first compressed cache by using the first data.
  • a data compression device is used for a data sending end, and the data sending end can carry multiple services on one radio bearer, and each service corresponds to a compression cache, including: a compression cache determination module for determining a first compression cache corresponding to the service to which the first data to be sent belongs; a compression module, configured to compress the first data by using a dictionary corresponding to the first compression cache to obtain compressed second data; an encapsulation module , used to encapsulate the second data in a setting message, and add a compression identifier used to indicate the first compression cache in the setting message; the sending module is used to carry the compression identifier The setting message is sent to the data receiving end. Therefore, the embodiment of the present application improves the data compression efficiency and realizes the efficient transmission of multiple services.
  • FIG. 12 is a schematic structural diagram of a data compression apparatus provided by an embodiment of the present application.
  • the device is used for a data receiving end, and the data receiving end can receive a plurality of compressed services carried on a radio bearer, and each service corresponds to a decompression buffer, including:
  • the receiving module 121 is configured to receive a setting message carrying a compression identifier sent by the data sending end, where the compression identifier is used to indicate the first compression cache corresponding to the service to which the received first data belongs, and the setting message further includes The data sending end uses the dictionary corresponding to the first compression cache to compress the second data of the first data;
  • a decompression cache determining module 122 configured to determine a first decompression cache corresponding to the first compression cache according to the compression identifier
  • the decompression module 123 is configured to decompress the second data by using the dictionary in the first decompression cache to obtain the first data.
  • the receiving module 121 further includes: the setting message is a Packet Data Convergence Protocol PDCP message;
  • the compression identifier is included in the PDCP header of the PDCP message.
  • the receiving module 121 further includes:
  • the setting field in the PDCP header for carrying the compression identifier includes the compression identifier.
  • the receiving module 121 further includes: the compression identifier includes one or a combination of the following:
  • the service identifier of the service corresponding to the first compressed cache is the service identifier of the service corresponding to the first compressed cache.
  • the receiving module 121 is further configured to:
  • a corresponding decompression cache is established for the service that needs to be compressed according to the compression information.
  • the compressed information includes one or a combination of the following:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • the receiving module 121 is further configured to:
  • the decompression cache corresponding to the service to be released is released according to the release information.
  • the release information includes one of the following or a combination thereof:
  • Compression cache ID and/or decompression cache ID are Compression cache ID and/or decompression cache ID
  • a content update module configured to update the dictionary content in the first decompression cache by using the first data.
  • a signal transmission device is used for a data receiving end, and the data receiving end can receive a plurality of compressed services carried on a wireless bearer, and each service corresponds to a decompression cache, including: a receiving module , used to receive a setting message carrying a compression identifier sent by the data sending end, where the compression identifier is used to indicate the first compression cache corresponding to the service to which the received first data belongs, and the setting message also includes the data
  • the sending end uses the dictionary corresponding to the first compression cache to compress the second data of the first data;
  • a decompression cache determination module is configured to determine the first decompression corresponding to the first compression cache according to the compression identifier a cache;
  • a decompression module configured to decompress the second data by using the dictionary in the first decompression cache to obtain the first data. Therefore, the embodiment of the present application improves the data compression efficiency and realizes the efficient transmission of multiple services.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a processor-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
  • an embodiment of the present application further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the method for the data sending end , or the method used on the data receiving side.
  • the processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic storage (eg, floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (eg, CD, DVD, BD, HVD, etc.), and semiconductor memory (eg, ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state disk (SSD)), etc.
  • magnetic storage eg, floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • optical storage eg, CD, DVD, BD, HVD, etc.
  • semiconductor memory eg, ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state disk (SSD)
  • the processor-readable storage medium stores a computer program
  • the computer program is used to cause the processor to execute the above-mentioned data compression method. Therefore, the embodiment of the present application improves the data compression efficiency and realizes the efficient transmission of multiple services.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
  • processor-executable instructions may also be stored in a processor-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the processor-readable memory result in the manufacture of means comprising the instructions product, the instruction means implements the functions specified in the flow or flow of the flowchart and/or the block or blocks of the block diagram.
  • processor-executable instructions can also be loaded onto a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process that Execution of the instructions provides steps for implementing the functions specified in the flowchart or blocks and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

提供了一种数据压缩方法、装置及存储介质。方法用于数据发送端,数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括:确定待发送的第一数据所属业务对应的第一压缩缓存(S101);利用第一压缩缓存对应的字典对第一数据进行压缩,得到压缩后的第二数据(S102);将第二数据封装在设定消息中,并在设定消息中添加用于指示第一压缩缓存的压缩标识(S103);将携带有压缩标识的设定消息发送至数据接收端(S104)。提高了数据压缩效率,实现了多个业务的高效传输。

Description

一种数据压缩方法、装置及存储介质
相关申请的交叉引用
本申请要求于2020年08月05日提交的申请号为202010779019.6,发明名称为“一种数据压缩方法、装置及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本文。
技术领域
本申请涉及通信技术领域,尤其涉及一种数据压缩方法、装置及存储介质。
背景技术
在通信***中,对数据进行压缩后再进行传输是一种常见的数据传输方式。
目前的数据压缩传输方法,只有一个压缩/解压缓存,对应一个压缩字典,其压缩效率较低。
因此,如何解决数据压缩效率低的问题是当前需要解决的技术问题。
发明内容
本申请实施例提供一种数据压缩方法、装置及存储介质,用以解决现有技术中数据压缩效率低的缺陷,实现多个业务的高效传输。
第一方面,本申请实施例提供一种数据传输方法,该方法用于数据发送端,所述数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括:
确定待发送的第一数据所属业务对应的第一压缩缓存;
利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;
将所述第二数据封装在设定消息中,并在所述设定消息中添加用 于指示所述第一压缩缓存的压缩标识;
将携带有所述压缩标识的所述设定消息发送至数据接收端。
可选地,根据本申请一个实施例的数据压缩方法,所述设定消息为分组数据汇聚协议PDCP消息;
所述在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识,包括:
在所述PDCP消息的PDCP头添加所述压缩标识。
可选地,根据本申请一个实施例的数据压缩方法,在所述PDCP消息的PDCP头添加所述压缩标识,包括:
确定所述PDCP头中用于承载所述压缩标识的设定字段;
在所述设定字段添加所述压缩标识。
可选地,根据本申请一个实施例的数据压缩方法,压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选地,根据本申请一个实施例的数据压缩方法,还包括:
接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
根据所述压缩信息为所述需要压缩的业务建立对应的压缩缓存。
可选地,根据本申请一个实施例的数据压缩方法,压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选地,根据本申请一个实施例的数据压缩方法,还包括:
接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
根据所述释放信息释放所述需要释放的业务对应的压缩缓存。
可选地,根据本申请一个实施例的数据压缩方法,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选地,根据本申请一个实施例的数据压缩方法,还包括:
利用所述第一数据更新所述第一压缩缓存对应的字典内容。
第二方面,本申请实施例提供一种数据传输方法,该方法用于数据接收端,所述数据接收端能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,包括:
接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
利用所述第一解压缓存中的字典对所述第二数据进行解压,得到所述第一数据。
可选地,根据本申请一个实施例的数据压缩方法,所述设定消息为分组数据汇聚协议PDCP消息;
所述PDCP消息的PDCP头中包括所述压缩标识。
可选地,根据本申请一个实施例的数据压缩方法,所述PDCP头中用于承载所述压缩标识的设定字段包括所述压缩标识。
可选地,根据本申请一个实施例的数据压缩方法,所述压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选地,根据本申请一个实施例的数据压缩方法,还包括:
接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
根据所述压缩信息为所述需要压缩的业务建立对应的解压缓存。
可选地,根据本申请一个实施例的数据压缩方法,所述压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选地,根据本申请一个实施例的数据压缩方法,还包括:
接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
根据所述释放信息释放所述需要释放的业务对应的解压缓存。
可选地,根据本申请一个实施例的数据压缩方法,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选地,根据本申请一个实施例的数据压缩方法,还包括:
利用所述第一数据更新所述第一解压缓存中的字典内容。
第三方面,本申请实施例还提供一种数据压缩装置,其特征在于,所述数据压缩装置能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括存储器,收发机,处理器:
存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:
确定待发送的第一数据所属业务对应的第一压缩缓存;
利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;
将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;
将携带有所述压缩标识的所述设定消息发送至数据接收端。
可选地,根据本申请一个实施例的数据压缩装置,所述设定消息为分组数据汇聚协议PDCP消息;
所述在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识,包括:
在所述PDCP消息的PDCP头添加所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,所述在所述PDCP消息的PDCP头添加所述压缩标识,包括:
确定所述PDCP头中用于承载所述压缩标识的设定字段;
在所述设定字段添加所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,所述压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
根据所述压缩信息为所述需要压缩的业务建立对应的压缩缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
根据所述释放信息释放所述需要释放的业务对应的压缩缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
利用所述第一数据更新所述第一压缩缓存对应的字典内容。
第四方面,本申请实施例还提供一种数据压缩装置,其特征在于,所述数据压缩装置能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,包括存储器,收发机,处理器:
存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行 以下操作:
接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
利用所述第一解压缓存中的字典对所述第二数据进行解压,得到所述第一数据。
可选地,根据本申请一个实施例的数据压缩装置,所述设定消息为分组数据汇聚协议PDCP消息;
所述PDCP消息的PDCP头中包括所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,所述PDCP头中用于承载所述压缩标识的设定字段包括所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,所述压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
根据所述压缩信息为所述需要压缩的业务建立对应的解压缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
根据所述释放信息释放所述需要释放的业务对应的解压缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
利用所述第一数据更新所述第一解压缓存中的字典内容。
第五方面,本申请实施例提供一种数据压缩装置,其特征在于,该装置用于数据发送端,所述数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括:
压缩缓存确定模块,用于确定待发送的第一数据所属业务对应的第一压缩缓存;
压缩模块,用于利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;
封装模块,用于将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;
发送模块,用于将携带有所述压缩标识的所述设定消息发送至数据接收端。
第六方面,本申请实施例还提供一种数据压缩装置,其特征在于,该装置用于数据接收端,所述数据接收端能够接收一个无线承载上承 载的多个被压缩的业务,每个业务对应一个解压缓存,包括:
接收模块,用于接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
解压缓存确定模块,用于根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
解压模块,用于利用所述第一解压缓存中的字典对所述第二数据进行解压,得到所述第一数据。
第七方面,本申请实施例提供一种处理器可读存储介质,其特征在于,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行上述第一方面所述的方法,或上述第二方面所述的方法。
本申请实施例提供的,数据压缩方法、装置及存储介质,通过确定待发送的第一数据所属业务对应的第一压缩缓存;利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;将携带有所述压缩标识的所述设定消息发送至数据接收端,提高了数据压缩效率,实现多个业务的高效传输。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附 图获得其他的附图。
图1是本申请实施例提供的一种数据压缩方法的流程示意图;
图2是本申请实施例提供的一种压缩缓存的示例图;
图3是本申请实施例提供的一种压缩缓存指示的示例图;
图4是本申请实施例提供的另一种压缩缓存指示的示例图;
图5是本申请实施例提供的一种配置压缩信息的信息交互图;
图6是本申请实施例提供的一种释放压缩缓存的信息交互图;
图7是本申请实施例提供的一种释放压缩缓存的示例图;
图8是本申请实施例提供的一种数据压缩方法的流程示意图;
图9是本申请实施例提供的一种数据压缩装置的结构示意图;
图10是本申请实施例提供的一种数据压缩装置的结构示意图;
图11是本申请实施例提供的一种数据压缩装置的结构示意图;
图12是本申请实施例提供的一种数据压缩装置的结构示意图。
具体实施方式
本申请实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,并不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在LTE(Long-Term Evolution,长期演进)/LTE-A(Long-Term Evolution-Advance,进一步长期演进)***中,网络可以配置UE(User Equipment,用户设备)使用UDC(Uplink Data Compression,上行数据压缩)功能,对上行数据进行压缩后再传输,以降低空口资源开销。
在进行上行压缩时,UE还可以利用预置字典内容对待传数据进行压缩,从而进一步提升压缩效率;相应的,基站侧则需要根据预置字典内容进行解压缩。
现有UDC机制中一个RB(Radio Bearer,无线承载)只有一个压缩/解压缓存,对应一个压缩字典。如果RB上只承载一个业务,使用一个字典进行压缩解压没有问题,但是当RB上承载多个业务,多个业务使用同一个字典进行压缩解压,由于多个业务数据之间没有相关性,就会大大降低压缩效率。
目前尚未有一个无线承载上使用多个压缩字典和压缩/解压缓存的机制。本申请给出了一种承载多个业务的无线承载的数据压缩方法,一个承载上传输的多个业务使用多个字典压缩解压,从而实现多个业务的高效传输。
一、UDC压缩机制
1、发送端维护压缩缓存,接收端维护解压缓存,压缩和解压缓存均为先入先出队列;
2、发送端在发送数据前,先对待发送数据进行压缩:
(1)在待发送数据包中,寻找符合以下特征的目标字段:
长度超过预设门限;
目标字段与压缩缓存中或本数据包内位于目标字段之前的某字段相同。
(2)如果找到目标字段,则将字段A替换为偏移量和长度组合:
偏移量为目标字段与目标字段之前的相同字段之间的位置偏移量;
长度为目标字段的长度;
因为偏移量和长度组合的长度短于目标字段本身的长度,因此,起到了压缩的效果;在一个数据包内,可能存在多个字段符合上述特征,对这些字段均可进行压缩。
3、发送端发送压缩数据包给对端;同时,将对应的原始数据包(未压缩数据)填入压缩缓存:
4、接收端基于包中的偏移量和长度,以及解压缓存对收到的数据包进行解压;然后,将解压后的数据包填入解压缓存。
基于上述原理,在UDC刚启动时,压缩和解压缓存为空,压缩端在当前待发包中找到目标字段的概率低,压缩效率相应较低;在UDC运行一段时间后,压缩缓存逐渐增多,压缩端在当前待发包中找到目标字段的概率有所提升,压缩效率相应提升。
在UDC中,上述发送端为终端;接收端为基站。
二、基于预置字典的压缩机制
作为UDC的一种优化,可以基于业务特征,将高频出现的字段编写预置字典,在UDC启动前,分别存入压缩端和解压段的压缩和解压缓存中。
这样,在UDC刚启动时,压缩和解压缓存不再为空,而是存有高频字段的预置字典;能有效提升目标字段的发现概率,提升压缩效率。
显然,为了实现上述机制,在UDC启动前,终端和基站需要分别获取将使用的预置字典,即完成预置字典同步过程。
现有UDC机制中一个无线承载(RB)只有一个压缩/解压缓存,对应一个压缩字典。如果无线承载上只承载一个业务,使用一个字典 进行压缩解压没有问题,但是当无线承载上承载多个业务,多个业务使用同一个字典进行压缩解压,由于多个业务的数据之间没有相关性,就会大大降低压缩效率。
因此,本申请实施例提供一种数据压缩方法、装置及存储介质,提高了数据压缩效率,实现多个业务的高效传输。
其中,方法和装置是基于同一申请构思的,由于方法和装置解决问题的原理相似,因此装置和方法的实施可以相互参见,重复之处不再赘述。
本申请实施例提供的技术方案可以适用于多种***,尤其是5G***。例如适用的***可以是全球移动通讯(global system of mobile communication,GSM)***、码分多址(code division multiple access,CDMA)***、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)通用分组无线业务(general packet radio service,GPRS)***、长期演进(long term evolution,LTE)***、LTE频分双工(frequency division duplex,FDD)***、LTE时分双工(time division duplex,TDD)***、高级长期演进(long term evolution advanced,LTE-A)***、通用移动***(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)***、5G新空口(New Radio,NR)***等。这多种***中均包括终端设备和网络设备。***中还可以包括核心网部分,例如演进的分组***(Evloved Packet System,EPS)、5G***(5GS)等。
本申请实施例涉及的终端设备,可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备等。在不同的***中,终端设备的名称可能也不相同,例如在5G***中,终端设备可以称为用户设备(User  Equipment,UE)。无线终端设备可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网(Core Network,CN)进行通信,无线终端设备可以是移动终端设备,如移动电话(或称为“蜂窝”电话)和具有移动终端设备的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(Session Initiated Protocol,SIP)话机、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备。无线终端设备也可以称为***、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(user terminal)、用户代理(user agent)、用户装置(user device),本申请实施例中并不限定。
本申请实施例涉及的网络设备,可以是基站,该基站可以包括多个为终端提供服务的小区。根据具体应用场合不同,基站又可以称为接入点,或者可以是接入网中在空中接口上通过一个或多个扇区与无线终端设备通信的设备,或者其它名称。网络设备可用于将收到的空中帧与网际协议(Internet Protocol,IP)分组进行相互更换,作为无线终端设备与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议(IP)通信网络。网络设备还可协调对空中接口的属性管理。例如,本申请实施例涉及的网络设备可以是全球移动通信***(Global System for Mobile communications,GSM)或码分多址接入(Code Division Multiple Access,CDMA)中的网络设备(Base Transceiver Station,BTS),也可以是带宽码分多址接入(Wide-band Code Division Multiple Access,WCDMA)中的网络设备(NodeB), 还可以是长期演进(long term evolution,LTE)***中的演进型网络设备(evolutional Node B,eNB或e-NodeB)、5G网络架构(next generation system)中的5G基站(gNB),也可以是家庭演进基站(Home evolved Node B,HeNB)、中继节点(relay node)、家庭基站(femto)、微微基站(pico)等,本申请实施例中并不限定。在一些网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点和分布单元(distributed unit,DU)节点,集中单元和分布单元也可以地理上分开布置。
下面通过具体实施例进行说明。
图1是本申请实施例提供的一种数据压缩方法示意图,该方法用于数据发送端,该数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存;如图1所示,该数据压缩方法包括以下步骤:
S101、确定待发送的第一数据所属业务对应的第一压缩缓存。
具体的,数据发送端确定待发送的第一数据所属业务对应的第一压缩缓存,这里的数据发送端可以是基站,也可以是终端。
比如:当数据发送端为终端时,即终端确定待发送的第一数据所属业务对应的第一压缩缓存;当数据发送端为基站时,即基站确定待发送的第一数据所属业务对应的第一压缩缓存。
S102、利用第一压缩缓存对应的字典对第一数据进行压缩,得到压缩后的第二数据。
具体的,数据发送端利用第一数据所属业务对应的第一压缩缓存对应的字典对待发送的第一数据进行压缩,得到压缩后的第二数据,这里的数据发送端可以是基站,也可以是终端。
比如:当数据发送端为终端时,即终端利用第一数据所属业务对应的第一压缩缓存对应的字典对待发送的第一数据进行压缩,得到压 缩后的第二数据;当数据发送端为基站时,即基站利用第一数据所属业务对应的第一压缩缓存对应的字典对待发送的第一数据进行压缩,得到压缩后的第二数据。
其中,第一压缩缓存对应的字典可以位于第一压缩缓存之内,即预先载入第一压缩缓存中的字典;也可以是位于第一压缩缓存之外,即与第一压缩缓存预先建立了对应关系的字典。
S103、将第二数据封装在设定消息中,并在设定消息中添加用于指示第一压缩缓存的压缩标识。
具体的,数据发送端将压缩后的第二数据封装在设定消息中,并在设定消息中添加用于指示待发送的第一压缩缓存的压缩标识,这里的数据发送端可以是基站,也可以是终端。
比如:当数据发送端为终端时,终端将压缩后的第二数据封装在设定消息中,并在设定消息中添加用于指示待发送的第一压缩缓存的压缩标识;当数据发送端为基站时,基站将压缩后的第二数据封装在设定消息中,并在设定消息中添加用于指示待发送的第一压缩缓存的压缩标识。
S104、将携带有压缩标识的设定消息发送至数据接收端。
具体的,数据发送端将携带有用于指示待发送的第一压缩缓存的压缩标识的设定消息发送至数据接收端,这里的数据发送端可以是基站,也可以是终端,当数据发送端为终端时,数据接收端为基站;当数据发送端为基站时,数据接收端为终端。
比如:当数据发送端为终端时,终端将携带有用于指示待发送的第一压缩缓存的压缩标识的设定消息发送至基站;当数据发送端为基站时,终端将携带有用于指示待发送的第一压缩缓存的压缩标识的设定消息发送至终端。
在一示例性场景中,如图2所示,包括数据发送端和数据接收端。 其中,数据发送端和数据接收端之间的压缩数据压缩过程可以是:
数据发送端与数据接收端建立了2个无线承载DRB(Date Radio Bearer,数据无线承载)0和DRB1,DRB0上承载了3个业务,分别对应DRB0的压缩缓存0、压缩缓存1和压缩缓存2,DRB1上承载了2个业务,分别对应DRB1的压缩缓存0和压缩缓存1。
步骤1:数据发送端要发送一个DRB0的业务0的数据包,数据发送端根据业务和压缩缓存之间的对应关系找到DRB0的压缩缓存0。使用DRB0的压缩缓存0中的字典对业务0的数据包进行压缩,然后将压缩后的数据包封装到PDCP(Packet Data Convergence Protocol,分组数据汇聚协议)PDU(Protocol Data Unit,协议数据单元)中,在PDCP头中添加压缩相关的域,其中包含压缩缓存标识或压缩字典标识或业务0的业务标识。PDCP PDU传输给RLC(Radio Link Control,无线链路层控制协议)层。
步骤2:RLC层、MAC(Medium Access Control,媒体接入控制)和物理层对压缩后的数据包进行数据传输。
步骤3:数据接收端的RLC层解出PDCP PDU,并根据信道映射关系将压缩后的数据包映射到DRB0上传递给PDCP层。
步骤4:数据接收端的PDCP层根据PDCP header(头部)中的压缩缓存标识或压缩字典标识找到DRB0的解压缓存0,使用DRB0的解压缓存0对数据包进行解压,并更新DRB0的解压缓存0中的字典信息。
步骤5:数据接收端的PDCP层将解压后的数据包递交给高层。
其中,高层可以是(RRC(Radio Resource Control,无线资源控制)层、NAS(Non-Access-Stratum非接入层)层、SDAP(Service Data Adaptation Protocol,业务数据适配协议)层等。
这里的PDCP header中除了压缩缓存标识或压缩字典标识或业务 标识之外,PDCP header中还可以有其他的标识,比如:如图3或图4所示,现有机制中的PDCP头包含的域,例如SN(Serial Number,序列码)、FU(Flag of UDC,上行数据压缩指示)、FR(Flag of Reset,复位指示)、Checksum(校验和)等。其中,FU指示此数据包是否由UDC协议压缩,值“1”表示数据包由UDC协议压缩;FR:指示是否重置UDC压缩缓存。值“1”表示这是UDC缓存重置后的第一个压缩包。Checksum指此字段包含压缩缓存冲区内容的验证位:在当前数据包放入缓存冲区之前,根据当前压缩缓存冲区的内容计算校验和。
对每个待发射的数据包执行上述步骤1-5的操作,使用业务对应的压缩缓存中的字典进行压缩和解压,完成数据的压缩传输。
由上述实施例可见,通过确定待发送的第一数据所属业务对应的第一压缩缓存;利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;将携带有所述压缩标识的所述设定消息发送至数据接收端,提高了数据压缩的效率,实现多个业务的高效传输。
在一个可选的实施例中,上述S103中的设定消息可以为PDCP消息,在执行上述S103中在设定消息中添加用于指示第一压缩缓存的压缩标识时,可以包括但不限于以下实现方式:
S1031、在PDCP消息的PDCP头添加用于指示第一数据所属业务对应的第一压缩缓存的压缩标识。
具体的,第一压缩缓存的压缩标识可以包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
由上述实施例可见,通过在PDCP消息的PDCP头添加用于指示第一数据所属业务对应的第一压缩缓存的压缩标识,可以提高压缩标识传输的可靠性。
在一个可选的实施例中,在执行上述S1031时,可以包括但不限于以下实现方式:
确定PDCP头中用于承载所述压缩标识的设定字段;
在设定字段添加压缩标识。
具体的,设定字段可以是PDCP头中的预留字段,如图3所示的buffer ID(Buffer Identity缓冲序列号)所在位置;也可以是PDCP头中的新增字段,如图4所示的buffer ID所在位置。其中,图3和图4仅为一个具体的示例,不构成对本申请实施例的限制,即本申请实施例中的设定字段可以位于但不限于图3或图4所示的buffer ID所在的位置。
其中,图3是直接使用预留比特承载buffer ID(Buffer Identity缓冲序列号),图4是在PDCP header(分组数据汇聚协议头部)中增加新的字节承载buffer ID(Buffer Identity,缓冲序列号)。并且,图3或图4中包括的各个字段分别为:
D/C(Data/Control,数据/控制)字段;
R(Reserve,预留)字段;
SN(Serial Number,序列码)字段;
FU(Flag of UDC,上行数据压缩指示)字段;
FR(Flag of Reset,复位指示)字段;
Buffer ID(Buffer Identity,缓冲序列号)字段;
Checksum(校验和)字段;
Oct(字节)字段。
其中,压缩标识可以设置在图3或图4中的buffer ID字段所在 位置。
另外,设定字段添加的压缩标识可以包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
由上述实施例可见,通过在PDCP消息的PDCP头的设定字段添加压缩标识,从而丰富了压缩标识传输的灵活性和多样性。
在一个可选的实施例中,上述S103中用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括以下一种或其组合:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识;
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;
第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
具体的,比如:用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识;或
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;或
第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
又比如:用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识和第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;或
第一数据所属业务对应的第一压缩缓存的压缩缓存标识和第一数据所属业务对应的第一压缩缓存对应的业务的业务标识;或
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识和第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
又比如:用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识;和
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;和
第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
在一个可选的实施例中,该数据压缩方法还可以包括:
S105、接收网络侧设备发送的第一消息,该第一消息中包括网络侧设备为需要压缩的业务配置的压缩信息;
S106、根据压缩信息为需要压缩的业务建立对应的压缩缓存。
具体的,数据接收端在接收到网络侧设备为需要压缩的业务配置的压缩信息时,可以根据该压缩信息为需要压缩的业务建立对应的压缩缓存,并在压缩缓存中载入对应的字典。其中,在数据发送端为终端,数据接收端为基站时,网络侧设备可以为基站。
并且,上述S105和S106可以执行在S101之前为需要压缩的每个业务提前建立压缩缓存,然后在步骤S101中确定待发送的第一数据所属业务对应的第一压缩缓存。
在一示例性场景中,如图5所示,包括终端、基站和核心网。其中,、基站和核心网之间的压缩信息配置过程包括步骤:
S1、终端与基站之间建立RRC(Radio Resource Control,无线资源控制)连接,如果终端处于连接态,则跳过这一步骤。
S2、终端向核心网发起PDU(Protocol Data Unit,协议数据单元)建立请求,请求中包含业务信息QoS(Quality of Service,业务质量)信息。
S3、核心网确定为该终端建立PDU连接,在基站和核心网之间为该终端建立连接,并将PDU session(会话控制)建立接受消息发 送给基站,同时通知基站对应的业务信息(比如,QoS信息)。
S4、基站为终端配置无线承载等信息,其中包含业务对应的压缩信息。并通过控制面消息(例如RRC重配置消息)发送给终端。其中压缩信息可以包括以下一种或其组合:
(1)压缩缓存标识和/或解压缓存标识;
(2)字典标识;
(3)压缩缓存信息和/或解压缓存信息(比如,缓存大小);
(4)业务标识。
S5:终端收到配置信息后,根据配置信令中的压缩信息为相应业务建立压缩缓存,并载入对应的字典,向基站反馈RRC配置完成消息。
多个业务配置过程重复步骤S2至S5,基站根据业务特性进行无线承载配置,可以将多个业务映射到相同或不同的无线承载上。其中,多个业务同时进行,每个业务都会发起自己的PDU session建立过程,然后基站使用RRC重配置将业务配置到合适的RB上。
由上述实施例可见,通过接收网络侧设备发送的第一消息,该第一消息中包括网络侧设备为需要压缩的业务配置的压缩信息;并根据压缩信息为需要压缩的业务建立对应的压缩缓存,并在压缩缓存中载入对应的字典,这样便于后续直接使用压缩缓存中的字典进行压缩,提高了数据压缩的效率。
在一个可选的实施例中,上述S105中网络侧设备为需要压缩的业务配置的压缩信息可以包括以下一种或其组合:
a、压缩缓存标识和/或解压缓存标识;
b、字典标识;
c、压缩缓存信息和/或解压缓存信息(比如,缓存大小);
d、业务标识。
具体的,网络侧设备为需要压缩的业务配置的压缩信息可以包括:
第一种情形:a、压缩缓存标识和/或解压缓存标识;或
b、字典标识;或
c、压缩缓存信息和/或解压缓存信息;或
d、业务标识。
第二种情形:a、压缩缓存标识和/或解压缓存标识;和
b、字典标识。
第三种情形:a、压缩缓存标识和/或解压缓存标识;和
c、压缩缓存信息和/或解压缓存信息。
第四种情形:a、压缩缓存标识和/或解压缓存标识;和
d、业务标识。
第五种情形:b、字典标识;和
c、压缩缓存信息和/或解压缓存信息。
第六种情形:b、字典标识;和
d、业务标识。
第七种情形:c、压缩缓存信息和/或解压缓存信息;和
d、业务标识。
第八种情形:a、压缩缓存标识和/或解压缓存标识;和
b、字典标识;和
c、压缩缓存信息和/或解压缓存信息;
第九种情形:a、压缩缓存标识和/或解压缓存标识;
和b、字典标识;
和d、业务标识。
第十种情形:a、压缩缓存标识、解压缓存标识、压缩缓存标识和解压缓存标识;和
c、压缩缓存信息和/或解压缓存信息;和
d、业务标识。
第十一种情形:b、字典标识;和
c、压缩缓存信息和/或解压缓存信息;和
d、业务标识。
第十二种情形:a、压缩缓存标识和/或解压缓存标识;和
b、字典标识;和
c、压缩缓存信息和/或解压缓存信息;和
d、业务标识。
另外,上述压缩缓存信息和/或解压缓存信息中的缓存大小可以指的是缓存中可以存储的字典信息的多少,发送和接收端使用缓存中的字典对数据进行压缩和解压缩,字典越大,压缩率越高。
在一个可选的实施例中,该数据压缩方法还可以包括:
S107、接收网络侧设备发送的第二消息,该第二消息包括网络侧设备为需要释放的业务配置的释放信息;
S108、根据释放信息释放需要释放的业务对应的压缩缓存。
具体地,数据接收端在接收网络侧设备发送的为需要释放的业务配置的释放信息时,可以根据释放信息释放需要释放的业务对应的压缩缓存。其中,在数据发送端为终端时,网络侧设备可以为基站。
并且,上述S107和S108可以执行在S101之前,也可以执行在S104之后。
在一示例性场景中,如图6所示,包括终端、基站和核心网。其中,终端、基站和核心网之间的压缩缓存释放过程包括步骤:
S1:核心网确定释放终端一个业务的PDU连接,向基站发送PDU session释放消息发送给基站,同时通知基站对应的业务信息(比如:QoS信息)。
S2:基站为终端重配置无线承载等信息,其中包含释放业务对应 的压缩缓存标识或压缩字典标识(比如:释放图2中DRB0的压缩缓存2)。并通过RRC重配置消息发送给终端。
S3:终端收到配置信息后,根据配置信令中的配置信息释放相应业务的压缩缓存(比如:释放图2中DRB0的压缩缓存2),向基站反馈配置完成消息。
比如,释放前数据发送端的承载和压缩缓存配置如图2所示;释放图2中DRB0的压缩缓存2后,数据发送端的承载和压缩缓存配置如图7所示。
由上述实施例可见,通过接收网络侧设备发送的第二消息,该第二消息包括网络侧设备为需要释放的业务配置的释放信息,并根据释放信息释放需要释放的业务对应的压缩缓存,从而避免了资源浪费,提高了资源利用率。
在一个可选的实施例中,上述S107中网络侧设备为需要释放的业务配置的释放信息包括以下一种或其组合:
a、压缩缓存标识和/或解压缓存标识;
b、字典标识;
c、业务标识。
具体的,网络侧设备为需要释放的业务配置的释放信息包括以下:
第一种情形:a、压缩缓存标识和/或解压缓存标识。
第二种情形:b、字典标识。
第三种情形:c、业务标识。
第四种情形:a、压缩缓存标识和/或解压缓存标识;和
b、字典标识。
第五种情形:b、字典标识;和
c、业务标识。
第六种情形:a、压缩缓存标识和/或解压缓存标识;和
c、业务标识。
第七种情形:a、压缩缓存标识和/或解压缓存标识;和
b、字典标识;和
c、业务标识。
在一个可选的实施例中,该数据压缩方法还可以包括:
S109、利用第一数据更新第一数据所属业务对应的第一压缩缓存对应的字典内容。
具体地,第一数据为压缩前的数据。
其中,更新字典内容是指每次压缩后对字典信息进行更新,根据第一数据对缓存的字典进行更新,具体更新方式可以是直接采用先进先出方式使用新的数据替代旧的数据。
由上述实施例可见,数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,通过确定待发送的第一数据所属业务对应的第一压缩缓存;利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;将携带有所述压缩标识的所述设定消息发送至数据接收端,从而提高了数据压缩效率,实现多个业务的高效传输。
图8是本申请实施例提供的一种数据压缩方法示意图,该方法用于数据接收端,该数据接收端能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存;如图8所示,该数据压缩方法可以包括以下步骤:
S801、接收数据发送端发送的携带有压缩标识的设定消息,该压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,设定消息中还包括数据发送端利用第一压缩缓存对应的字典对第一数据进行压缩后的第二数据。
具体的,数据接收端接收数据发送端发送的携带有压缩标识的设定消息,该压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,数据发送端发送的携带有压缩标识的设定消息中还包括数据发送端利用第一数据所属业务对应的第一压缩缓存对应的字典对接收端接收的第一数据进行压缩后的第二数据。这里的数据接收端可以是基站,也可以是终端。
比如:基站接收终端发送的携带有压缩标识的设定消息,该压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,基站发送的携带有压缩标识的设定消息中还包括终端利用第一数据所属业务对应的第一压缩缓存对应的字典对基站接收的第一数据进行压缩后的第二数据。
终端接收基站发送的携带有压缩标识的设定消息,该压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,终端发送的携带有压缩标识的设定消息中还包括终端利用第一数据所属业务对应的第一压缩缓存对应的字典对终端接收的第一数据进行压缩后的第二数据。
S802、根据压缩标识确定第一压缩缓存对应的第一解压缓存。
具体的,数据接收端根据压缩标识确定第一数据所属业务对应的第一压缩缓存对应的第一解压缓存。这里的数据接收端可以是基站,也可以是终端。
比如:基站根据压缩标识确定第一数据所属业务对应的第一压缩缓存对应的第一解压缓存;
终端根据压缩标识确定第一数据所属业务对应的第一压缩缓存对应的第一解压缓存。
S803、利用第一解压缓存中的字典对第二数据进行解压,得到第一数据。
具体的,数据接收端利用第一数据所属业务对应的第一解压缓存中的字典对接收端接收的第一数据进行压缩后的第二数据进行解压,得到接收端接收的第一数据。这里的数据接收端可以是基站,也可以是终端。
比如:基站利用第一数据所属业务对应的第一解压缓存中的字典对基站接收的第一数据进行压缩后的第二数据进行解压,得到基站接收的第一数据;
终端利用第一数据所属业务对应的第一解压缓存中的字典对终端接收的第一数据进行压缩后的第二数据进行解压,得到终端接收的第一数据。
比如:在一示例性场景中,如上述图2所示,包括数据发送端和数据接收端。其中,数据发送端和数据接收端之间的压缩数据压缩过程在这里不再赘述。
由上述实施例可见,通过接收数据发送端发送的携带有压缩标识的设定消息,该压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,设定消息中还包括数据发送端利用第一压缩缓存对应的字典对第一数据进行压缩后的第二数据,根据压缩标识确定第一压缩缓存对应的第一解压缓存,以及利用第一解压缓存中的字典对第二数据进行解压,得到第一数据,从而提高了数据压缩的效率,实现多个业务的高效传输。
在一个可选的实施例中,上述S801中的设定消息可以为PDCP消息,并且PDCP消息的PDCP头中包括用于指示接收的第一数据所属业务对应的第一压缩缓存的压缩标识。
其中,第一压缩缓存的压缩标识可以包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
与此对应的,数据接收端在执行S201时,可以在接收到PDCP消息后,从PDCP消息的PDCP头中获取压缩标识。
由上述实施例可见,在接收到PDCP消息后,从PDCP消息的PDCP头中获取压缩标识,可以提高压缩标识传输的可靠性。
在一个可选的实施例中,上述S801中的设定消息可以为PDCP消息,并且PDCP消息的PDCP头的设定字段中包括用于指示接收的第一数据所属业务对应的第一压缩缓存的压缩信息。
与此对应的,数据接收端在执行S201时,可以在接收到PDCP消息后,从PDCP消息的PDCP头的设定字段中获取压缩标识。
具体的,设定字段可以是PDCP头中的预留字段,如上述图3所示的buffer ID(Buffer Identity缓冲序列号)所在位置;也可以是PDCP头中的新增字段,如上述图4所示的buffer ID所在位置。
其中,压缩标识可以设置在上述图3或上述图4中的buffer ID字段所在位置。
另外,设定字段添加的压缩标识可以包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
由上述实施例可见,在接收到PDCP消息后,从PDCP消息的PDCP头的设定字段中获取压缩标识,可以丰富了获取压缩标识的灵活性和多样性。
在一个可选的实施例中,上述S801中用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括以下一种或其组合:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识;
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;
第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
具体的,比如:用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识;或
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;或
第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
又比如:用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识和第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;或
第一数据所属业务对应的第一压缩缓存的压缩缓存标识和第一数据所属业务对应的第一压缩缓存对应的业务的业务标识;或
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识和第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
又比如:用于指示第一数据所属业务对应的第一压缩缓存的压缩标识可以包括:
第一数据所属业务对应的第一压缩缓存的压缩缓存标识;和
第一数据所属业务对应的第一压缩缓存对应的字典的字典标识;和
第一数据所属业务对应的第一压缩缓存对应的业务的业务标识。
在一个可选的实施例中,该数据压缩方法还可以包括:
S804、接收网络侧设备发送的第一消息,该第一消息中包括网络侧设备为需要压缩的业务配置的压缩信息;
S805、根据压缩信息为需要压缩的业务建立对应的解压缓存。
具体的,数据接收端在接收到网络侧设备为需要压缩的业务配置 的压缩信息时,可以根据该压缩信息为需要压缩的业务建立对应的解压缓存,并在解压缓存中载入对应的字典。其中,在数据发送端为终端,数据接收端为基站时,网络侧设备可以为基站。
并且,上述S804和S805可以执行在S801之前。
在一示例性场景中,如上述图5所示,包括终端、基站和核心网。其中,基站和核心网之间的压缩信息配置过程除了包括上述图5包括的S1至S5之外,还包括:
基站根据压缩信息为需要压缩的业务建立对应的解压缓存,并在解压缓存中载入对应的字典。
由上述实施例可见,通过接收网络侧设备发送的第一消息,该第一消息中包括网络侧设备为需要压缩的业务配置的压缩信息;并根据压缩信息为需要压缩的业务建立对应的解压缓存,这样便于后续直接使用解压缓存中的字典进行解压,提高了数据解压的效率,满足了多个业务的数据解压需求。
在一个可选的实施例中,上述S804中网络侧设备为需要压缩的业务配置的压缩信息可以包括以下一种或其组合:
a、压缩缓存标识和/或解压缓存标识;
b、字典标识;
c、压缩缓存信息和/或解压缓存信息;
d、业务标识。
在一个可选的实施例中,该数据压缩方法还可以包括:
S806、接收网络侧设备发送的第二消息,该第二消息包括网络侧设备为需要释放的业务配置的释放信息;
S807、根据释放信息释放需要释放的业务对应的解压缓存。
具体的,数据接收端在接收网络侧设备发送的第二消息,该第二消息包括网络侧设备为需要释放的业务配置的释放信息时,可以根据 释放信息释放需要释放的业务对应的解压缓存。其中,在数据发送端为终端,数据接收端为基站时,网络侧设备可以为基站。
并且,上述S806和S807可以执行在S801之前,也可以执行在S803之后。
在一示例性场景中,如上述图6所示,包括终端、基站和核心网。其中,终端、基站和核心网之间的压缩缓存释放过程除了包括上述图6包括的S1至S3之外,还包括:
基站根据释放信息释放需要释放的业务对应的解压缓存(比如:释放图2中DRB0的解压缓存2)。
比如,释放前数据接收端的承载和解压缓存配置如图2所示;释放图2中DRB0的解压缓存2后,数据接收端的承载和解压缓存配置如图7所示。
在一个可选的实施例中,上述S806中网络侧设备为需要释放的业务配置的释放信息包括以下一种或其组合:
a、压缩缓存标识和/或解压缓存标识;
b、字典标识;
c、业务标识。
在一个可选的实施例中,该数据压缩方法还可以包括:
S808、利用第一数据更新第一数据所属业务对应的第一解压缓存中的字典内容。
具体地,第一数据为解压后的数据。
其中,更新字典内容是指每次解压后对字典信息进行更新,根据第一数据对缓存的字典进行更新,具体更新方式可以是直接采用先进先出方式使用新的数据替代旧的数据。
由上述实施例可见,数据接收端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,通过确定待发送的第一数据所属 业务对应的第一压缩缓存;利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;将携带有所述压缩标识的所述设定消息发送至数据接收端,从而提高了数据压缩效率,实现多个业务的高效传输。
图9是本申请实施例提供的一种数据压缩装置的结构示意图,该数据压缩装置能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括存储器920,收发机900,处理器910。
其中,在图9中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器910代表的一个或多个处理器和存储器920代表的存储器的各种电路链接在一起。总线架构还可以将诸如***设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机900可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括无线信道、有线信道、光缆等传输介质。处理器910负责管理总线架构和通常的处理,存储器920可以存储处理器910在执行操作时所使用的数据。
处理器910可以是中央处埋器(CPU)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器也可以采用多核架构。
存储器920,用于存储计算机程序;收发机900,用于在所述处理器的控制下收发数据;处理器910,用于读取所述存储器中的计算机程序并执行以下操作:
确定待发送的第一数据所属业务对应的第一压缩缓存;
利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得 到压缩后的第二数据;
将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;
将携带有所述压缩标识的所述设定消息发送至数据接收端。
可选地,根据本申请一个实施例的数据压缩装置,所述设定消息为分组数据汇聚协议PDCP消息;
所述在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识,包括:
在所述PDCP消息的PDCP头添加所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,所述在所述PDCP消息的PDCP头添加所述压缩标识,包括:
确定所述PDCP头中用于承载所述压缩标识的设定字段;
在所述设定字段添加所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,所述压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
根据所述压缩信息为所述需要压缩的业务建立对应的压缩缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
根据所述释放信息释放所述需要释放的业务对应的压缩缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
利用所述第一数据更新所述第一压缩缓存对应的字典内容。
由上述实施例可见,数据压缩装置能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,通过确定待发送的第一数据所属业务对应的第一压缩缓存;利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;将携带有所述压缩标识的所述设定消息发送至数据接收端,从而提高了数据压缩效率,实现多个业务的高效传输。
图10是本申请实施例提供的一种数据压缩装置的结构示意图,该数据压缩装置能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括存储器1020,收发机1000,处理器1010。
其中,在图10中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1010代表的一个或多个处理器和存储器1020代表的存储器的各种电路链接在一起。总线架构还可以将诸如***设备、 稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1000可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括无线信道、有线信道、光缆等传输介质。处理器1010负责管理总线架构和通常的处理,存储器1020可以存储处理器1010在执行操作时所使用的数据。
处理器3100可以是中央处埋器(CPU)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器也可以采用多核架构。
存储器1020,用于存储计算机程序;收发机1000,用于在所述处理器的控制下收发数据;处理器1010,用于读取所述存储器中的计算机程序并执行以下操作:
接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
利用所述第一解压缓存中的字典对所述第二数据进行解压,得到所述第一数据。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
所述设定消息为分组数据汇聚协议PDCP消息;
所述PDCP消息的PDCP头中包括所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
所述PDCP头中用于承载所述压缩标识的设定字段包括所述压缩标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
所述压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
根据所述压缩信息为所述需要压缩的业务建立对应的解压缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
根据所述释放信息释放所述需要释放的业务对应的解压缓存。
可选地,根据本申请一个实施例的数据压缩装置,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选地,根据本申请一个实施例的数据压缩装置,还包括:
利用所述第一数据更新所述第一解压缓存中的字典内容。
由上述实施例可见,数据压缩装置能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,通过接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;利用所述第一解压缓存中的字典对所述第二数据进行解压,得到所述第一数据,从而提高了数据压缩效率,实现多个业务的高效传输。
在此需要说明的是,本申请实施例提供的上述装置,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。
图11是本申请实施例提供的一种数据压缩装置的结构示意图。该装置用于数据发送端,所述数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括:
压缩缓存确定模块111,用于确定待发送的第一数据所属业务对应的第一压缩缓存;
压缩模块112,用于利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;
封装模块113,用于将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;
发送模块114,用于将携带有所述压缩标识的所述设定消息发送至数据接收端。
可选的,建立在上述装置的基础上,设定消息为分组数据汇聚协议PDCP消息;所述封装模块113中包括:
所述在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识,包括:
在所述PDCP消息的PDCP头添加所述压缩标识。
可选的,建立在上述装置的基础上,所述封装模块113中包括:
所述在所述PDCP消息的PDCP头添加所述压缩标识,包括:
确定所述PDCP头中用于承载所述压缩标识的设定字段;
在所述设定字段添加所述压缩标识。
可选的,建立在上述装置的基础上,所述封装模块113中包括:
所述压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选的,建立在上述装置的基础上,还包括:
第一接收模块,用于接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
建立模块,用于根据所述压缩信息为所述需要压缩的业务建立对应的压缩缓存。
可选的,建立在上述装置的基础上,所述压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选的,建立在上述装置的基础上,还包括:
第二接收模块,用于接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
释放模块,用于根据所述释放信息释放所述需要释放的业务对应的压缩缓存。
可选的,建立在上述装置的基础上,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选的,建立在上述装置的基础上,还包括:
更新模块,用于利用所述第一数据更新所述第一压缩缓存对应的字典内容。
由上述实施例可见,一种数据压缩装置用于数据发送端,所述数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括:压缩缓存确定模块,用于确定待发送的第一数据所属业务对应的第一压缩缓存;压缩模块,用于利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;封装模块,用于将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;发送模块,用于将携带有所述压缩标识的所述设定消息发送至数据接收端。因此,本申请实施例提高了数据压缩效率,实现多个业务的高效传输。
图12是本申请实施例提供的一种数据压缩装置的结构示意图。该装置用于数据接收端,所述数据接收端能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,包括:
接收模块121,用于接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一 压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
解压缓存确定模块122,用于根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
解压模块123,用于利用所述第一解压缓存中的字典对所述第二数据进行解压,得到所述第一数据。
可选的,建立在上述装置的基础上,所述接收模块121,还包括:所述设定消息为分组数据汇聚协议PDCP消息;
所述PDCP消息的PDCP头中包括所述压缩标识。
可选的,建立在上述装置的基础上,所述接收模块121,还包括:
所述PDCP头中用于承载所述压缩标识的设定字段包括所述压缩标识。
可选的,建立在上述装置的基础上,所述接收模块121,还包括:所述压缩标识包括以下一种或其组合:
所述第一压缩缓存的压缩缓存标识;
所述第一压缩缓存对应的字典的字典标识;
所述第一压缩缓存对应的业务的业务标识。
可选的,建立在上述装置的基础上,所述接收模块121还用于:
接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
根据所述压缩信息为所述需要压缩的业务建立对应的解压缓存。
可选的,建立在上述装置的基础上,所述压缩信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
压缩缓存信息和/或解压缓存信息;
业务标识。
可选的,建立在上述装置的基础上,所述接收模块121还用于:
接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
根据所述释放信息释放所述需要释放的业务对应的解压缓存。
可选的,建立在上述装置的基础上,所述释放信息包括以下一种或其组合:
压缩缓存标识和/或解压缓存标识;
字典标识;
业务标识。
可选的,建立在上述装置的基础上,还包括:
内容更新模块,用于利用所述第一数据更新所述第一解压缓存中的字典内容。
由上述实施例可见,一种信号传输装置,用于数据接收端,所述数据接收端能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,包括:接收模块,用于接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;解压缓存确定模块,用于根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;解压模块,用于利用所述第一解压缓存中的字典对所述第二数据进行解压,得到所述第一数据。因此,本申请实施例提高了数据压缩效率,实现多个业务的高效传输。
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可 以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
在此需要说明的是,本申请实施例提供的上述装置,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。
另一方面,本申请实施例还提供一种处理器可读存储介质,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行用于数据发送端的方法,或用于数据接收端的方法。
所述处理器可读存储介质可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。
由上述实施例可见,处理器可读存储介质存储有计算机程序,所 述计算机程序用于使所述处理器执行上述数据压缩方法。因此,本申请实施例提高了数据压缩效率,实现多个业务的高效传输。
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机可执行指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机可执行指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些处理器可执行指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的处理器可读存储器中,使得存储在该处理器可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些处理器可执行指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (55)

  1. 一种数据压缩方法,其特征在于,该方法用于数据发送端,所述数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括:
    确定待发送的第一数据所属业务对应的第一压缩缓存;
    利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;
    将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;
    将携带有所述压缩标识的所述设定消息发送至数据接收端。
  2. 根据权利要求1所述的方法,其特征在于,所述设定消息为分组数据汇聚协议PDCP消息;
    所述在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识,包括:
    在所述PDCP消息的PDCP头添加所述压缩标识。
  3. 根据权利要求2所述的方法,其特征在于,所述在所述PDCP消息的PDCP头添加所述压缩标识,包括:
    确定所述PDCP头中用于承载所述压缩标识的设定字段;
    在所述设定字段添加所述压缩标识。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述压缩标识包括以下一种或其组合:
    所述第一压缩缓存的压缩缓存标识;
    所述第一压缩缓存对应的字典的字典标识;
    所述第一压缩缓存对应的业务的业务标识。
  5. 根据权利要求1所述的方法,其特征在于,还包括:
    接收网络侧设备发送的第一消息,所述第一消息中包括所述网络 侧设备为需要压缩的业务配置的压缩信息;
    根据所述压缩信息为所述需要压缩的业务建立对应的压缩缓存。
  6. 根据权利要求5所述的方法,其特征在于,所述压缩信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    压缩缓存信息和/或解压缓存信息;
    业务标识。
  7. 根据权利要求1或5所述的方法,其特征在于,还包括:
    接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
    根据所述释放信息释放所述需要释放的业务对应的压缩缓存。
  8. 根据权利要求7所述的方法,其特征在于,所述释放信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    业务标识。
  9. 根据权利要求1所述的方法,其特征在于,还包括:
    利用所述第一数据更新所述第一压缩缓存对应的字典内容。
  10. 一种数据压缩方法,其特征在于,该方法用于数据接收端,所述数据接收端能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,包括:
    接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
    根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
    利用所述第一解压缓存对应的字典对所述第二数据进行解压,得到所述第一数据。
  11. 根据权利要求10所述的方法,其特征在于,所述设定消息为分组数据汇聚协议PDCP消息;
    所述PDCP消息的PDCP头中包括所述压缩标识。
  12. 根据权利要求11所述的方法,其特征在于,所述PDCP头中用于承载所述压缩标识的设定字段包括所述压缩标识。
  13. 根据权利要求10至12任一项所述的方法,其特征在于,所述压缩标识包括以下一种或其组合:
    所述第一压缩缓存的压缩缓存标识;
    所述第一压缩缓存对应的字典的字典标识;
    所述第一压缩缓存对应的业务的业务标识。
  14. 根据权利要求10所述的方法,其特征在于,还包括:
    接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
    根据所述压缩信息为所述需要压缩的业务建立对应的解压缓存。
  15. 根据权利要求14所述的方法,其特征在于,所述压缩信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    压缩缓存信息和/或解压缓存信息;
    业务标识。
  16. 根据权利要求10或14所述的方法,其特征在于,还包括:
    接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
    根据所述释放信息释放所述需要释放的业务对应的解压缓存。
  17. 根据权利要求16所述的方法,其特征在于,所述释放信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    业务标识。
  18. 根据权利要求10所述的方法,其特征在于,还包括:
    利用所述第一数据更新所述第一解压缓存对应的字典内容。
  19. 一种数据压缩装置,其特征在于,所述数据压缩装置能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括存储器,收发机,处理器:
    存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:
    确定待发送的第一数据所属业务对应的第一压缩缓存;
    利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;
    将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;
    将携带有所述压缩标识的所述设定消息发送至数据接收端。
  20. 根据权利要求19所述的装置,其特征在于,所述设定消息为分组数据汇聚协议PDCP消息;
    所述在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识,包括:
    在所述PDCP消息的PDCP头添加所述压缩标识。
  21. 根据权利要求20所述的装置,其特征在于,所述在所述PDCP 消息的PDCP头添加所述压缩标识,包括:
    确定所述PDCP头中用于承载所述压缩标识的设定字段;
    在所述设定字段添加所述压缩标识。
  22. 根据权利要求19至21任一项所述的装置,其特征在于,所述压缩标识包括以下一种或其组合:
    所述第一压缩缓存的压缩缓存标识;
    所述第一压缩缓存对应的字典的字典标识;
    所述第一压缩缓存对应的业务的业务标识。
  23. 根据权利要求19所述的装置,其特征在于,还包括:
    接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
    根据所述压缩信息为所述需要压缩的业务建立对应的压缩缓存。
  24. 根据权利要求23所述的装置,其特征在于,所述压缩信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    压缩缓存信息和/或解压缓存信息;
    业务标识。
  25. 根据权利要求19或23所述的装置,其特征在于,还包括:
    接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
    根据所述释放信息释放所述需要释放的业务对应的压缩缓存。
  26. 根据权利要求25所述的装置,其特征在于,所述释放信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    业务标识。
  27. 根据权利要求19所述的装置,其特征在于,还包括:
    利用所述第一数据更新所述第一压缩缓存对应的字典内容。
  28. 一种数据压缩装置,其特征在于,所述数据压缩装置能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,包括存储器,收发机,处理器:
    存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:
    接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
    根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
    利用所述第一解压缓存对应的字典对所述第二数据进行解压,得到所述第一数据。
  29. 根据权利要求28所述的装置,其特征在于,所述设定消息为分组数据汇聚协议PDCP消息;
    所述PDCP消息的PDCP头中包括所述压缩标识。
  30. 根据权利要求29所述的装置,其特征在于,所述PDCP头中用于承载所述压缩标识的设定字段包括所述压缩标识。
  31. 根据权利要求28至30任一项所述的装置,其特征在于,所述压缩标识包括以下一种或其组合:
    所述第一压缩缓存的压缩缓存标识;
    所述第一压缩缓存对应的字典的字典标识;
    所述第一压缩缓存对应的业务的业务标识。
  32. 根据权利要求28所述的装置,其特征在于,还包括:
    接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
    根据所述压缩信息为所述需要压缩的业务建立对应的解压缓存。
  33. 根据权利要求32所述的装置,其特征在于,所述压缩信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    压缩缓存信息和/或解压缓存信息;
    业务标识。
  34. 根据权利要求28或32所述的装置,其特征在于,还包括:
    接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
    根据所述释放信息释放所述需要释放的业务对应的解压缓存。
  35. 根据权利要求34所述的装置,其特征在于,所述释放信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    业务标识。
  36. 根据权利要求28所述的装置,其特征在于,还包括:
    利用所述第一数据更新所述第一解压缓存对应的字典内容。
  37. 一种数据压缩装置,其特征在于,该装置用于数据发送端,所述数据发送端能够在一个无线承载上承载多个业务,每个业务对应一个压缩缓存,包括:
    压缩缓存确定模块,用于确定待发送的第一数据所属业务对应的第一压缩缓存;
    压缩模块,用于利用所述第一压缩缓存对应的字典对所述第一数据进行压缩,得到压缩后的第二数据;
    封装模块,用于将所述第二数据封装在设定消息中,并在所述设定消息中添加用于指示所述第一压缩缓存的压缩标识;
    发送模块,用于将携带有所述压缩标识的所述设定消息发送至数据接收端。
  38. 根据权利要求37所述的装置,其特征在于,所述设定消息为分组数据汇聚协议PDCP消息;
    所述封装模块具体用于:
    在所述PDCP消息的PDCP头添加所述压缩标识。
  39. 根据权利要求38所述的装置,其特征在于,所述在所述PDCP消息的PDCP头添加所述压缩标识,包括:
    确定所述PDCP头中用于承载所述压缩标识的设定字段;
    在所述设定字段添加所述压缩标识。
  40. 根据权利要求37至39任一项所述的装置,其特征在于,所述压缩标识包括以下一种或其组合:
    所述第一压缩缓存的压缩缓存标识;
    所述第一压缩缓存对应的字典的字典标识;
    所述第一压缩缓存对应的业务的业务标识。
  41. 根据权利要求37所述的装置,其特征在于,还包括:
    第一接收模块,用于接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
    建立模块,用于根据所述压缩信息为所述需要压缩的业务建立对应的压缩缓存。
  42. 根据权利要求41所述的装置,其特征在于,所述压缩信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    压缩缓存信息和/或解压缓存信息;
    业务标识。
  43. 根据权利要求37或41所述的装置,其特征在于,还包括:
    第二接收模块,用于接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧设备为需要释放的业务配置的释放信息;
    释放模块,用于根据所述释放信息释放所述需要释放的业务对应的压缩缓存。
  44. 根据权利要求43所述的装置,其特征在于,所述释放信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    业务标识。
  45. 根据权利要求37所述的装置,其特征在于,还包括:
    更新模块,用于利用所述第一数据更新所述第一压缩缓存对应的字典内容。
  46. 一种信号传输装置,其特征在于,该装置用于数据接收端,所述数据接收端能够接收一个无线承载上承载的多个被压缩的业务,每个业务对应一个解压缓存,包括:
    接收模块,用于接收数据发送端发送的携带有压缩标识的设定消息,所述压缩标识用于指示接收的第一数据所属业务对应的第一压缩缓存,所述设定消息中还包括所述数据发送端利用所述第一压缩缓存对应的字典对所述第一数据进行压缩后的第二数据;
    解压缓存确定模块,用于根据所述压缩标识确定所述第一压缩缓存对应的第一解压缓存;
    解压模块,用于利用所述第一解压缓存对应的字典对所述第二数据进行解压,得到所述第一数据。
  47. 根据权利要求46所述的装置,其特征在于,所述设定消息为分组数据汇聚协议PDCP消息;
    所述PDCP消息的PDCP头中包括所述压缩标识。
  48. 根据权利要求47所述的装置,其特征在于,所述PDCP头中用于承载所述压缩标识的设定字段包括所述压缩标识。
  49. 根据权利要求46至48任一项所述的装置,其特征在于,所述压缩标识包括以下一种或其组合:
    所述第一压缩缓存的压缩缓存标识;
    所述第一压缩缓存对应的字典的字典标识;
    所述第一压缩缓存对应的业务的业务标识。
  50. 根据权利要求46所述的装置,其特征在于,所述接收模块还用于:
    接收网络侧设备发送的第一消息,所述第一消息中包括所述网络侧设备为需要压缩的业务配置的压缩信息;
    根据所述压缩信息为所述需要压缩的业务建立对应的解压缓存。
  51. 根据权利要求50所述的装置,其特征在于,所述压缩信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    压缩缓存信息和/或解压缓存信息;
    业务标识。
  52. 根据权利要求46或50所述的装置,其特征在于,所述接收模块还用于:
    接收网络侧设备发送的第二消息,所述第二消息包括所述网络侧 设备为需要释放的业务配置的释放信息;
    根据所述释放信息释放所述需要释放的业务对应的解压缓存。
  53. 根据权利要求52所述的装置,其特征在于,所述释放信息包括以下一种或其组合:
    压缩缓存标识和/或解压缓存标识;
    字典标识;
    业务标识。
  54. 根据权利要求46所述的装置,其特征在于,还包括:
    内容更新模块,用于利用所述第一数据更新所述第一解压缓存对应的字典内容。
  55. 一种处理器可读存储介质,其特征在于,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行权利要求1至9任一项所述的方法,或权利要求10至18任一所述的方法。
PCT/CN2021/101204 2020-08-05 2021-06-21 一种数据压缩方法、装置及存储介质 WO2022028133A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2023507802A JP7434663B2 (ja) 2020-08-05 2021-06-21 データ圧縮方法、装置及び記憶媒体
KR1020237004965A KR20230037637A (ko) 2020-08-05 2021-06-21 데이터 압축 방법, 장치 및 저장 매체
EP21853459.2A EP4195513A1 (en) 2020-08-05 2021-06-21 Data compression method and apparatus, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010779019.6 2020-08-05
CN202010779019.6A CN114070324A (zh) 2020-08-05 2020-08-05 一种数据压缩方法、装置及存储介质

Publications (1)

Publication Number Publication Date
WO2022028133A1 true WO2022028133A1 (zh) 2022-02-10

Family

ID=80116843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101204 WO2022028133A1 (zh) 2020-08-05 2021-06-21 一种数据压缩方法、装置及存储介质

Country Status (5)

Country Link
EP (1) EP4195513A1 (zh)
JP (1) JP7434663B2 (zh)
KR (1) KR20230037637A (zh)
CN (1) CN114070324A (zh)
WO (1) WO2022028133A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190149421A1 (en) * 2017-11-16 2019-05-16 Samsung Electronics Co., Ltd. Communication method and apparatus in wireless communication system
CN109842653A (zh) * 2017-11-27 2019-06-04 电信科学技术研究院 一种进行数据传输的方法和设备
CN109842905A (zh) * 2017-11-28 2019-06-04 ***通信有限公司研究院 字典配置方法、网络侧设备及用户终端
CN110139317A (zh) * 2018-02-02 2019-08-16 电信科学技术研究院有限公司 一种数据压缩方法、解压缩方法、发送端及接收端
CN110401604A (zh) * 2018-04-25 2019-11-01 ***通信有限公司研究院 一种信息传输方法、装置及计算机可读存储介质
CN110958643A (zh) * 2018-09-26 2020-04-03 电信科学技术研究院有限公司 一种控制面消息的传输方法及设备
WO2020091410A1 (en) * 2018-10-30 2020-05-07 Samsung Electronics Co., Ltd. Method and apparatus for reducing overhead of ethernet frame in next generation mobile communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190149421A1 (en) * 2017-11-16 2019-05-16 Samsung Electronics Co., Ltd. Communication method and apparatus in wireless communication system
CN109842653A (zh) * 2017-11-27 2019-06-04 电信科学技术研究院 一种进行数据传输的方法和设备
CN109842905A (zh) * 2017-11-28 2019-06-04 ***通信有限公司研究院 字典配置方法、网络侧设备及用户终端
CN110139317A (zh) * 2018-02-02 2019-08-16 电信科学技术研究院有限公司 一种数据压缩方法、解压缩方法、发送端及接收端
CN110401604A (zh) * 2018-04-25 2019-11-01 ***通信有限公司研究院 一种信息传输方法、装置及计算机可读存储介质
CN110958643A (zh) * 2018-09-26 2020-04-03 电信科学技术研究院有限公司 一种控制面消息的传输方法及设备
WO2020091410A1 (en) * 2018-10-30 2020-05-07 Samsung Electronics Co., Ltd. Method and apparatus for reducing overhead of ethernet frame in next generation mobile communication system

Also Published As

Publication number Publication date
CN114070324A (zh) 2022-02-18
JP2023536979A (ja) 2023-08-30
KR20230037637A (ko) 2023-03-16
EP4195513A1 (en) 2023-06-14
JP7434663B2 (ja) 2024-02-20

Similar Documents

Publication Publication Date Title
US10412650B2 (en) Data transmission method, apparatus and system
WO2019029643A1 (zh) 通信方法、基站、终端设备和***
WO2018127018A1 (zh) 多链接通信方法、设备和终端
WO2019141273A1 (zh) 用于确定性传输的通信方法和相关装置
US11489760B2 (en) Multicast group creation method, multicast group joining method, and apparatus
CN110636535B (zh) 一种数据传输方法及装置
WO2019034130A1 (zh) 传输方法、发送端和接收端
WO2023066383A1 (zh) 数据传输方法、装置及存储介质
WO2018227814A1 (zh) 数据指示方法、装置、通信***
WO2018228558A1 (zh) 一种传输数据的方法、网络设备和终端设备
WO2020063318A1 (zh) 通信方法与设备
WO2019196788A1 (zh) 通信方法和通信装置
WO2023078339A1 (zh) 一种数据传输的方法、卫星基站、信关站及存储介质
WO2022073491A1 (zh) 切换方法、装置、终端设备、网络设备及存储介质
CN111385071A (zh) 一种数据传输方法、设备及计算机存储介质
WO2017193402A1 (zh) 一种数据传输方法、装置及***
WO2022028133A1 (zh) 一种数据压缩方法、装置及存储介质
WO2023005452A1 (zh) 一种通信方法、装置及设备
WO2022152092A1 (zh) 数据传输控制方法和装置
WO2022042652A1 (zh) 上行数据处理方法、装置、网络设备、终端设备及介质
WO2018053685A1 (zh) 数据封装方法、装置以及通信***
WO2021000763A1 (zh) 数据传输方法及装置
WO2021142767A1 (zh) 通信方法和通信装置
WO2020088177A1 (zh) 一种通信方法、移动性管理实体、用户设备及服务网关
WO2018228545A1 (zh) 信息处理方法以及相关装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21853459

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023507802

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20237004965

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 202327010322

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2021853459

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE