TW201927020A - Method and apparatus for data transmission - Google Patents

Method and apparatus for data transmission Download PDF

Info

Publication number
TW201927020A
TW201927020A TW107142185A TW107142185A TW201927020A TW 201927020 A TW201927020 A TW 201927020A TW 107142185 A TW107142185 A TW 107142185A TW 107142185 A TW107142185 A TW 107142185A TW 201927020 A TW201927020 A TW 201927020A
Authority
TW
Taiwan
Prior art keywords
cache
compression dictionary
dictionary
compression
network side
Prior art date
Application number
TW107142185A
Other languages
Chinese (zh)
Other versions
TWI701955B (en
Inventor
劉佳敏
全海洋
Original Assignee
大陸商電信科學技術研究院有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商電信科學技術研究院有限公司 filed Critical 大陸商電信科學技術研究院有限公司
Publication of TW201927020A publication Critical patent/TW201927020A/en
Application granted granted Critical
Publication of TWI701955B publication Critical patent/TWI701955B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the present application relate to a method and an apparatus for data transmission for resolving issues of the prior art, which does not have a specific solution for data transmission during cache initialization or after reset due to asynchronous caches. In an embodiment of the present application, a network-side apparatus decompresses, by using a target compression dictionary in a decompression cache, a received UDC compressed data packet; and a terminal compresses, by using the target compression dictionary in the compression cache, a data packet to be sent to acquire a UDC compressed data packet and send the same. Because the network-side apparatus and the terminal can perform decompression and compression by using the target compression dictionary, the rate of successful data transmission is increased during cache initialization or after reset due to asynchronous caches, further enhancing transmission efficiency and saving resources of an air interface.

Description

一種進行資料傳輸的方法和設備 Method and device for data transmission

本發明屬於無線通訊技術領域,特別是關於一種進行資料傳輸的方法和設備。 The invention belongs to the field of wireless communication technologies, and in particular relates to a method and a device for performing data transmission.

長期演進(Long Term Evolution,LTE)/長期演進升級(Long Term Evolution-Advanced,LTE-A)中,終端可以配置上行資料壓縮(UL data compression,UDC)功能。上行資料壓縮就是終端在層二對上行資料或者信令進行壓縮,基地台側在對應協定層對壓縮的資料進行解壓縮操作,目的是節省空中介面傳輸的資料量,節約上行資源,提升傳輸效率。 In the Long Term Evolution (LTE)/Long Term Evolution-Advanced (LTE-A), the terminal can configure the UL data compression (UDC) function. Uplink data compression means that the terminal compresses the uplink data or signaling at layer 2, and the base station side decompresses the compressed data at the corresponding protocol layer, so as to save the amount of data transmitted by the empty intermediate plane, save uplink resources, and improve transmission efficiency. .

為了提高壓縮率,終端和基地台側根據發送和接收的資料各自獨立維護快取。一般情況下,快取中可以存放兩類內容:一個是預配置的高匹配概率內容,例如通用的超級文本傳送協定(Hyper Text Transport Protocol,HTTP)頭中Host:、Accept:等內容;另一個是之前發送或接收的資料包內容,例如連續資料包發送時,可以將前面的資料包加入快取,後續的資料包內容根據前面的資料包內容進行匹配。 In order to increase the compression ratio, the terminal and the base station side independently maintain the cache according to the transmitted and received data. In general, the cache can store two types of content: one is a pre-configured high-match probability content, such as the Common Hypertext Transport Protocol (HTTP) header Host:, Accept:, etc.; another It is the content of the data packet sent or received before. For example, when the continuous data packet is sent, the previous data package can be added to the cache, and the content of the subsequent data package is matched according to the contents of the previous data package.

但是對於快取初始化或因為快取不同步快取進行重置後,如何進行資料傳輸還沒有明確的方案。 However, there is no clear solution for how to perform data transfer after the cache initialization or reset due to the cache asynchronous cache.

本發明提供一種進行資料傳輸的方法和設備,用以解決現有技術中在快取初始化或因為快取不同步進行重置後,如何進行資料傳輸還沒有明確方案的問題。 The present invention provides a method and a device for performing data transmission, which solves the problem of how to perform data transmission in the prior art after the cache initialization or the cache is not synchronized.

第一方面,本發明實施例提供的一種進行資料傳輸的方法,該方法包括:網路側設備將目標壓縮字典存儲到解壓快取中;該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 In a first aspect, a method for data transmission is provided by an embodiment of the present invention, where the method includes: a network side device stores a target compression dictionary in a decompression cache; and the network side device compresses the received UDC data by decompressing a cache. The package is decompressed.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中,包括:若解壓快取的容量大於目標壓縮字典,則該網路側設備將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓快取最前面和/或最後面;或若解壓快取的容量不大於目標壓縮字典,則該網路側設備將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量。 Optionally, the network side device stores the target compression dictionary in the decompression cache, including: if the capacity of the decompression cache is greater than the target compression dictionary, the network side device stores the target compression dictionary in the decompression cache, and the remaining positions Supplementing the set value; wherein the remaining position includes the first and/or the last side of the decompression cache; or if the capacity of the decompression cache is not greater than the target compression dictionary, the network side device compresses the first N bits or the last N of the target dictionary The bit or intermediate N bit is stored to the decompression cache, and N is the capacity of the decompression cache.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之 前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;該方法還包括:若快取校驗失敗,則該網路側設備返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, before the network side device stores the target compression dictionary in the decompression cache, the method further includes: the network side device selecting an unused and highest priority compression dictionary as the target compression dictionary according to the compression dictionary priority order; The network side device decompresses the received UDC compressed data packet by decompressing the cache. The method further includes: the network side device performs a cache check according to the received UDC compressed data packet, and determines that the cache check succeeds; the method further includes: if the cache check fails, the network side device returns according to the The compression dictionary priority selects an unused and highest priority compression dictionary as the target compression dictionary until the cache check succeeds or there is no unused compression dictionary.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:若該網路側設備接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則該網路側設備將該壓縮字典標識對應的壓縮字典作為目標壓縮字典。 Optionally, before the network side device stores the target compression dictionary in the decompression cache, the method further includes: if the header of the UDC compressed data packet received by the network side device includes a compression dictionary identifier, the network side device The compression dictionary identifies the corresponding compression dictionary as the target compression dictionary.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備為該終端配置發送使用的壓縮字典;該網路側設備將配置給終端的壓縮字典作為目標壓縮字典。 Optionally, before the network side device stores the target compression dictionary in the decompression cache, the method further includes: the network side device configures a compression dictionary used for sending, and the network side device targets the compression dictionary configured to the terminal Compress the dictionary.

可選的,該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;該方法還包括:若快取校驗失敗,則該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功 或沒有未使用的壓縮字典。 Optionally, before the network side device decompresses the received UDC compressed data packet by using the decompression cache, the network side device further performs a cache check according to the received UDC compressed data packet, and determines a cache. The verification succeeds. The method further includes: if the cache verification fails, the network side device selects an unused compression dictionary with the highest priority according to the compression dictionary priority order as the target compression dictionary until the cache verification succeeds. Or no unused compression dictionary.

第二方面,本發明實施例一種進行資料傳輸的方法,該方法包括:終端將目標壓縮字典存儲到壓縮快取中;該終端通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;該終端發送該UDC壓縮資料包。 In a second aspect, a method for data transmission is provided in the embodiment of the present invention, the method includes: the terminal stores the target compression dictionary in a compression cache; and the terminal compresses the data packet to be sent by using a compression cache to obtain a UDC compressed data package. The terminal sends the UDC compressed data packet.

可選的,該終端將目標壓縮字典存儲到壓縮快取中,包括:若壓縮快取的容量大於目標壓縮字典,則該終端將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則該終端將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 Optionally, the terminal stores the target compression dictionary in the compression cache, including: if the capacity of the compression cache is greater than the target compression dictionary, the terminal stores the target compression dictionary in the compression cache, and the remaining positions supplement the set value; Wherein the remaining location includes the first and/or the last of the compression cache; or if the capacity of the compression cache is not greater than the target compression dictionary, the terminal compresses the first N bits or the last N bits or the intermediate N bits of the target dictionary The meta is stored to the compression cache, and N is the capacity of the decompression cache.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典。 Optionally, before the terminal stores the target compression dictionary in the compression cache, the terminal further includes: the terminal uses the compression dictionary with the highest priority as the target compression dictionary according to the currently used compression dictionary priority order.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 Optionally, before the terminal stores the target compression dictionary in the compressed cache, the method further includes: the terminal uses the compression dictionary used for sending the network side device configuration as the target compression dictionary.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之前,還 包括:若該終端沒有該網路側設備配置的壓縮字典,則按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典。 Optionally, the terminal stores the target compression dictionary before the compression cache, and Including: if the terminal does not have a compression dictionary configured by the network side device, according to the currently used compression dictionary priority order, the compression dictionary with the highest priority is used as the target compression dictionary or the compression dictionary of the network side device configuration is not higher. The sequential compression dictionary serves as the target compression dictionary.

第三方面,本發明實施例提供的一種進行資料傳輸的網路側設備,該網路側設備包括:處理器、記憶體和收發機;處理器,用於讀取記憶體中的程式並執行下列過程:將目標壓縮字典存儲到解壓快取中;通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 A third aspect of the present invention provides a network side device for data transmission, where the network side device includes: a processor, a memory, and a transceiver; and a processor, configured to read a program in the memory and perform the following process. : Store the target compression dictionary into the decompression cache; decompress the received UDC compressed data packet by decompressing the cache.

第四方面,本發明實施例提供的一種進行資料傳輸的終端,該終端包括:處理器、記憶體和收發機;處理器,用於讀取記憶體中的程式並執行下列過程:將目標壓縮字典存儲到壓縮快取中;通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;發送該UDC壓縮資料包。 A fourth aspect of the present invention provides a terminal for data transmission, the terminal comprising: a processor, a memory and a transceiver; and a processor, configured to read a program in the memory and perform the following process: compressing the target The dictionary is stored in the compression cache; the data packet to be sent is compressed by the compression cache to obtain the UDC compressed data packet; and the UDC compressed data packet is sent.

第五方面,本發明實施例提供的一種進行資料傳輸的網路側設備,該網路側設備包括:處理模組,用於將目標壓縮字典存儲到解壓快取中;解壓模組,用於通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 A fifth aspect of the present invention provides a network side device for performing data transmission, where the network side device includes: a processing module, configured to store a target compression dictionary in a decompression cache; and a decompression module, configured to decompress The cache decompresses the received UDC compressed data package.

第六方面,本發明實施例提供的一種進行資料傳輸的終端,該終端包括:快取模組,用於將目標壓縮字典存儲到壓縮快取中; 壓縮模組,用於通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;發送模組,用於發送該UDC壓縮資料包。 A sixth aspect of the present invention provides a terminal for performing data transmission, where the terminal includes: a cache module, configured to store a target compression dictionary into a compression cache; The compression module is configured to compress a data packet to be sent by using a compression cache to obtain a UDC compressed data packet, and a sending module, configured to send the UDC compressed data packet.

第七方面,本發明實施例提供的一種快取同步異常設備可讀存儲介質,包括程式碼,當該程式碼在計算設備上運行時,該程式碼用於使該計算設備執行上述第一方面任一該方法的步驟或第二方面任一該方法的步驟。 According to a seventh aspect, a cache synchronization abnormal device readable storage medium provided by an embodiment of the present invention includes a code for enabling the computing device to perform the first aspect when the code is run on a computing device Any of the steps of the method or the steps of any of the methods of the second aspect.

本發明實施例網路側設備通過解壓快取中的目標壓縮字典對收到的UDC壓縮資料包進行解壓操作;終端通過壓縮快取中的目標壓縮字典對需要發送的資料包進行壓縮得到UDC壓縮資料包並發送。由於網路側設備和終端可以通過目標壓縮字典進行解壓操作和壓縮,從而在快取初始化或因為快取不同步進行重置後,提高了進行資料傳輸的成功率;進一步提高傳輸效率,節省空中介面資源。 In the embodiment of the present invention, the network side device decompresses the received UDC compressed data packet by using the target compression dictionary in the decompression cache; the terminal compresses the data packet to be sent by using the target compression dictionary in the compressed cache to obtain the UDC compressed data. Package and send. Since the network side device and the terminal can perform decompression operation and compression through the target compression dictionary, the success rate of data transmission is improved after the cache initialization or the cache is not synchronized, and the transmission efficiency is further improved, and the space intermediate is saved. Resources.

600~601、700~702‧‧‧步驟 600~601, 700~702‧‧‧ steps

10‧‧‧網路側設備 10‧‧‧Network side equipment

20‧‧‧終端 20‧‧‧ Terminal

200、300‧‧‧處理器 200, 300‧‧‧ processor

201、301‧‧‧記憶體 201, 301‧‧‧ memory

202、302‧‧‧收發機提 202, 302‧‧‧ transceivers

400‧‧‧處理模組 400‧‧‧Processing module

401‧‧‧解壓模組 401‧‧‧Decompression Module

500‧‧‧快取模組 500‧‧‧Cache Module

501‧‧‧壓縮模組 501‧‧‧Compression Module

502‧‧‧發送模組 502‧‧‧Transmission module

為了更清楚地說明本發明實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡要介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域的普通技術人員來講,在不付出進步性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying progressive labor.

圖1為本發明實施例進行資料傳輸的系統結構示意圖;圖2為本發明實施例第一種網路側設備的結構示意圖; 圖3為本發明實施例第一種終端的結構示意圖;圖4為本發明實施例第二種網路側設備的結構示意圖;圖5為本發明實施例第二種終端的結構示意圖;圖6為本發明實施例網路側設備進行資料接收的方法流程示意圖;圖7為本發明實施例終端進行資料發送的方法流程示意圖。 1 is a schematic structural diagram of a system for performing data transmission according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a first network side device according to an embodiment of the present invention; 3 is a schematic structural diagram of a first terminal according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of a second network side device according to an embodiment of the present invention; and FIG. 5 is a schematic structural diagram of a second terminal according to an embodiment of the present invention; A schematic flowchart of a method for receiving data by a network side device according to an embodiment of the present invention; FIG. 7 is a schematic flowchart of a method for data transmission by a terminal according to an embodiment of the present invention.

以下,對本發明實施例中的部分用語進行解釋說明,以便於本領域技術人員理解:(1)本發明實施例中,名詞「網路」和「系統」經常交替使用,但本領域的技術人員可以理解其含義;(2)本發明實施例中術語「多個」是指兩個或兩個以上,其它量詞與之類似;(3)「和/或」,描述關聯物件的關聯關係,表示可以存在三種關係,例如,A和/或B,可以表示:單獨存在A,同時存在A和B,單獨存在B這三種情況。字元「/」一般表示前後關聯物件是一種「或」的關係。 In the following, some of the terms in the embodiments of the present invention are explained so as to be understood by those skilled in the art: (1) In the embodiment of the present invention, the terms "network" and "system" are often used interchangeably, but those skilled in the art (2) In the embodiment of the present invention, the term "plurality" means two or more, and other quantifiers are similar thereto; (3) "and/or", describing the association relationship of the associated objects, indicating There may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, and A and B exist simultaneously, and B exists separately. The character "/" generally indicates that the contextual object is an "or" relationship.

為了使本發明的目的、技術方案和優點更加清楚,下面將結合附圖對本發明作進一步地詳細描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出進步性勞動前提下所獲得的所有其它實施例,都屬於本發明保護的範圍。 The present invention will be further described in detail with reference to the accompanying drawings, in which FIG. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the scope of the present invention are within the scope of the present invention.

如圖1所示,本發明實施例進行資料傳輸的系統包括:網路 側設備10和終端20。 As shown in FIG. 1 , a system for data transmission according to an embodiment of the present invention includes: a network Side device 10 and terminal 20.

網路側設備10,用於將目標壓縮字典存儲到解壓快取中;通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 The network side device 10 is configured to store the target compression dictionary in the decompression cache, and decompress the received UDC compressed data packet by decompressing the cache.

終端20,用於將目標壓縮字典存儲到壓縮快取中;通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;發送該UDC壓縮資料包。 The terminal 20 is configured to store the target compression dictionary into the compression cache; compress the data packet to be sent by compressing the cache to obtain the UDC compressed data packet; and send the UDC compressed data packet.

本發明實施例網路側設備通過解壓快取中的目標壓縮字典對收到的UDC壓縮資料包進行解壓操作;終端通過壓縮快取中的目標壓縮字典對需要發送的資料包進行壓縮得到UDC壓縮資料包並發送。由於網路側設備和終端可以通過目標壓縮字典進行解壓操作和壓縮,從而在快取初始化或因為快取不同步進行重置後,提高了進行資料傳輸的成功率;進一步提高傳輸效率,節省空中介面資源。 In the embodiment of the present invention, the network side device decompresses the received UDC compressed data packet by using the target compression dictionary in the decompression cache; the terminal compresses the data packet to be sent by using the target compression dictionary in the compressed cache to obtain the UDC compressed data. Package and send. Since the network side device and the terminal can perform decompression operation and compression through the target compression dictionary, the success rate of data transmission is improved after the cache initialization or the cache is not synchronized, and the transmission efficiency is further improved, and the space intermediate is saved. Resources.

其中,本發明實施例的網路側設備可以是基地台(比如宏基地台,演進基地台、家庭基地台等),也可以是中繼(RN,Relay Node)設備,還可以是其它網路側設備。 The network side device in the embodiment of the present invention may be a base station (such as a macro base station, an evolved base station, a home base station, etc.), or may be a relay (RN, Relay Node) device, or may be another network side device. .

本發明實施例的壓縮字典是指一些已有的壓縮內容參考值,以這些資訊作為壓縮快取的初始值,可以對初期的壓縮帶來較好的壓縮效率,否則如果從全0的壓縮快取開始進行,相當於初期的資料包無法進行壓縮,沒有任何的壓縮內容參考值。 The compression dictionary of the embodiment of the present invention refers to some existing compressed content reference values, and the information is used as the initial value of the compression cache, which can bring better compression efficiency to the initial compression, otherwise if the compression is fast from all 0s The start of the process is equivalent to the initial packet cannot be compressed, and there is no reference to the compressed content.

在實施中,壓縮字典在接收端和發送端獲得同步,即兩端所使用的壓縮字典資訊保持一致,這樣能夠保證壓縮和解壓操作正常進行。 In the implementation, the compression dictionary is synchronized at the receiving end and the transmitting end, that is, the compression dictionary information used at both ends is kept consistent, so that the compression and decompression operations can be performed normally.

本發明實施例的壓縮字典包括標準壓縮字典和/或運營商自 訂的壓縮字典。 The compression dictionary of the embodiment of the present invention includes a standard compression dictionary and/or an operator. Customized compression dictionary.

標準壓縮字典一般用於比較特定的業務,比如針對基於IP的語音呼叫(Voice over IP,VoIP)業務的會話初始化協議(Session Initiated Protocol,SIP)信令,國際互聯網工程任務組織(The Internet Engineering Task Force,IETF)標準化了一套專門的壓縮字典RFC3485。標準壓縮字典只需要終端和網路側設備分別在出廠或者更新的時候將標準壓縮字典載入進去,即可供後續使用。 Standard compression dictionaries are generally used to compare specific services, such as Session Initiated Protocol (SIP) signaling for IP over Voice (VoIP) services, The Internet Engineering Task Force, IETF) standardized a special compression dictionary RFC3485. The standard compression dictionary only needs to load the standard compression dictionary into the terminal or the network side device at the time of shipment or update, that is, for subsequent use.

運營商自訂的壓縮字典一般可以更靈活的定義壓縮字典,比如運營商根據某種業務的大資料統計或者後臺統計,獲得高頻出現的內容將其做成運營商自訂的壓縮字典。運營商可以將不同業務適用的壓縮字典,標記成不同的ID,例如定義壓縮字典1用於檔案傳輸通訊協定(File Transfer Protocol,FTP)業務,壓縮字典2用於超級文本傳送協定(Hyper Text Transport Protocol,HTTP)業務,壓縮字典3用於及時消息業務等。運營商還可以對壓縮字典進行更新,並針對不同的更新,給予詳細的版本記錄,例如版本1是2017年6月發佈的,版本2是2017年10月發佈的。 The operator-defined compression dictionary can generally define the compression dictionary more flexibly. For example, the operator obtains the high-frequency content according to the large data statistics of a certain service or the background statistics, and makes it into a carrier-customized compression dictionary. The operator can mark the compression dictionary applicable to different services into different IDs, such as defining compression dictionary 1 for File Transfer Protocol (FTP) service and compression dictionary 2 for Hyper Text Transport (Hyper Text Transport). Protocol, HTTP) service, compression dictionary 3 is used for timely message service. Operators can also update the compression dictionary and give detailed version records for different updates. For example, version 1 was released in June 2017 and version 2 was released in October 2017.

在實施中,對於標準壓縮字典,由網路廠商和終端廠商分別根據標準來實現即可。 In the implementation, for the standard compression dictionary, it can be implemented by the network manufacturer and the terminal manufacturer according to the standard.

對於運營商自訂的壓縮字典由於具有動態和靈活的特性,需要由運營商下發給用戶。 The carrier-customized compression dictionary needs to be delivered to the user by the operator because of its dynamic and flexible features.

具體的,該網路側設備通過多播、廣播和單播中的部分或全部方式,為終端配置該運營商自訂的壓縮字典。 Specifically, the network side device configures the operator-defined compression dictionary for the terminal by using part or all of multicast, broadcast, and unicast.

如果網路側設備採用廣播或多播的形式發送,網路側設備需 要提前預告發送的時間以及發送方式的具體資訊,以便於終端可以獲得該廣播或多播的壓縮字典,這種方式效率高,一次性可以通知到幾乎所有的開機用戶。 If the network side device is sent in broadcast or multicast mode, the network side device needs to It is necessary to predict the time of sending and the specific information of the sending method in advance, so that the terminal can obtain the compressed dictionary of the broadcast or multicast, which is efficient and can notify almost all the boot users at one time.

如果網路側設備採用單播的形式發送,網路側設備每次發送給一個使用者。對於單播形式發送的方式有很多,下面列舉幾種:1、當終端進行業務傳輸時,可以在需要發送給終端的資訊中攜帶字典資訊發送給終端;2、設置至少一個網路空閒時段,比如23點到5點,當處於空閒時段時,可以將壓縮字典發送給使用者;3、給終端發送通知,由終端通知使用者決定是否接收以及何時接收壓縮字典。 If the network side device is sent in unicast mode, the network side device sends it to one user at a time. There are many ways to send in unicast mode. The following are listed: 1. When the terminal performs service transmission, it can carry dictionary information to the terminal in the information that needs to be sent to the terminal; 2. Set at least one network idle period. For example, from 23 o'clock to 5 o'clock, when in the idle time period, the compression dictionary can be sent to the user; 3. The terminal is notified, and the terminal notifies the user to decide whether to receive and when to receive the compression dictionary.

需要說明的是,上述3種方式只是舉例說明,任何能夠將壓縮字典通過單播發送給終端的方式都適用本發明實施例。 It should be noted that the above three methods are only examples, and any manner in which the compression dictionary can be transmitted to the terminal through unicast is applicable to the embodiment of the present invention.

在實施中,網路側設備需要將目標壓縮字典存儲到解壓快取中,終端需要將目標壓縮字典存儲到壓縮快取中。 In the implementation, the network side device needs to store the target compression dictionary into the decompression cache, and the terminal needs to store the target compression dictionary into the compression cache.

由於解壓快取的容量和目標壓縮字典的大小不同,壓縮快取的容量和目標壓縮字典的大小不同,具體快取的方式也不一樣。 Since the capacity of the decompression cache is different from the size of the target compression dictionary, the size of the compression cache is different from the size of the target compression dictionary, and the specific cache method is different.

快取方式一、解壓快取的容量大於目標壓縮字典的大小,即整個目標壓縮字典都可以存儲到解壓快取中,並且還會有剩餘位置。 Cache mode 1. The capacity of the decompression cache is larger than the size of the target compression dictionary, that is, the entire target compression dictionary can be stored in the decompression cache, and there will be remaining positions.

具體的,該網路側設備將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓快取最前面和/或最後面: 1、可以將目標壓縮字典資訊的尾部與解壓快取的尾部進行對齊放置,並在解壓快取前面多出的空間中採取補充設定值的操作,比如設定值是0,解壓快取的容量是100,目標壓縮字典的大小是80,則目標壓縮字典佔用壓縮快取後80的位置,前20的位置可以補0;2、可以將目標壓縮字典資訊的頭部與解壓快取的頭部進行對齊放置,並在解壓快取前面多出的空間中採取補充設定值的操作,比如設定值是0,解壓快取的容量是100,目標壓縮字典的大小是80,則目標壓縮字典佔用壓縮快取前80的位置,後20的位置可以補0。 Specifically, the network side device stores the target compression dictionary in the decompression cache, and the remaining positions are supplemented with the set value; wherein the remaining positions include the first and/or the last of the decompression cache: 1. The tail of the target compression dictionary information can be aligned with the tail of the decompression cache, and the operation of supplementing the set value is taken in the space extra in front of the decompression cache. For example, the set value is 0, and the capacity of the decompression cache is 100, the size of the target compression dictionary is 80, the target compression dictionary occupies 80 positions after the compression cache, the top 20 position can complement 0; 2, the head of the target compression dictionary information and the header of the decompression cache can be performed Align the placement and take additional settings in the extra space in front of the decompression cache. For example, the set value is 0, the decompression cache size is 100, and the target compression dictionary size is 80. The target compression dictionary takes up fast compression. Take the position of the first 80, and the position of the last 20 can make up 0.

對於終端側:若壓縮快取的容量大於目標壓縮字典,則該終端將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;具體的過程與網路側設備類似,在此不再贅述。 For the terminal side: if the capacity of the compressed cache is larger than the target compression dictionary, the terminal stores the target compression dictionary in the decompression cache, and the remaining positions supplement the set value; wherein the remaining positions include the first and/or the last of the compression cache The specific process is similar to that of the network side device, and will not be described here.

快取方式二、若解壓快取的容量不大於目標壓縮字典,則該網路側設備將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量:1、目標壓縮字典和解壓快取二者頭對齊,多餘目標壓縮字典內容刪除,保持解壓快取中的內容為目標壓縮字典前部的內容,比如解壓快取的容量是80,目標壓縮字典的大小是100,則將目標壓縮字典前80的位置存儲到解壓快取中;2、目標壓縮字典和解壓快取二者尾部對齊,多餘目標壓縮字典內容刪除,保持解壓快取中的內容為目標壓縮字典後部的內容, 比如解壓快取的容量是80,目標壓縮字典的大小是100,則將目標壓縮字典後80的位置存儲到解壓快取中;3、解壓快取從目標壓縮字典中間截取,多餘的兩頭目標壓縮字典的內容刪除,保持解壓快取中的內容為目標壓縮字典中部的內容,比如解壓快取的容量是80,目標壓縮字典的大小是100,則將目標壓縮字典第10~90的位置存儲到解壓快取中。這裡前後選取時也可以不對稱選取,但是需要保證終端和網路側設備選取的位置相同,如果解壓快取的容量等於目標壓縮字典,則將目標壓縮字典整個存儲到解壓快取中。 Cache mode 2: If the capacity of the decompression cache is not greater than the target compression dictionary, the network side device stores the first N bits or the last N bits or the intermediate N bits of the target compression dictionary to the decompression cache, and N is decompressed fast. The capacity is taken as follows: 1. The target compression dictionary and the decompression cache are both aligned, and the excess target compression dictionary content is deleted, and the content in the decompression cache is kept as the content of the front part of the target compression dictionary, for example, the capacity of the decompression cache is 80. The size of the target compression dictionary is 100, and the position of the first 80 compression dictionary is stored in the decompression cache; 2. The target compression dictionary and the decompression cache are both tail aligned, and the excess target compression dictionary content is deleted, and the decompression cache is kept. The content of the target is the content of the back of the dictionary. For example, the capacity of the decompression cache is 80, the size of the target compression dictionary is 100, and the position of the target compression dictionary is stored in the decompression cache; 3. The decompression cache is intercepted from the middle of the target compression dictionary, and the excess two targets are compressed. The content of the dictionary is deleted, and the content in the decompression cache is kept in the middle of the target compression dictionary. For example, the capacity of the decompression cache is 80, and the size of the target compression dictionary is 100, and the position of the target compression dictionary is stored to the 10th to 90th positions. Unzip the cache. Here, the selection may be asymmetrically selected, but it is necessary to ensure that the terminal and the network side device select the same location. If the capacity of the decompression cache is equal to the target compression dictionary, the target compression dictionary is entirely stored in the decompression cache.

對於終端側:若壓縮快取的容量不大於目標壓縮字典,則該終端將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為壓縮快取的容量;具體的過程與網路側設備類似,在此不再贅述。 For the terminal side: if the compressed cache capacity is not greater than the target compression dictionary, the terminal stores the first N bits or the last N bits or the intermediate N bits of the target compression dictionary to the decompression cache, where N is the capacity of the compressed cache. The specific process is similar to that of the network side device, and will not be described here.

在實施中,網路側設備可以為該終端配置發送使用的壓縮字典,也可以不為終端進行配置,下面分別進行說明。 In an implementation, the network side device may configure a compression dictionary for sending and using the terminal, or may not configure the terminal, which will be separately described below.

一、網路側設備為該終端配置發送使用的壓縮字典。 1. The network side device configures the compression dictionary used for sending and transmitting the terminal.

在實施中,網路側設備為該終端配置發送使用的壓縮字典後可以將配置給終端的壓縮字典作為目標壓縮字典。比如網路側設備通知終端本次發送使用的壓縮字典的標識。 In an implementation, after the network side device configures the terminal to send the used compression dictionary, the compression dictionary configured to the terminal may be used as the target compression dictionary. For example, the network side device notifies the terminal of the identifier of the compression dictionary used for the current transmission.

相應的,該終端將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 Correspondingly, the terminal uses the compression dictionary used for sending the network side device configuration as the target compression dictionary.

在實施中,網路側設備可以根據該終端的字典支援能力資訊 和/或業務資訊,為該終端配置發送使用的壓縮字典。 In the implementation, the network side device can obtain the capability information according to the dictionary of the terminal. And/or business information, configure the compression dictionary used for sending the terminal.

比如,當一個VoIP業務到達時,網路側設備在配置相關的資料無線承載(Data Radio Bearer,DRB)時,可以告知UE啟動VoIP業務相關的字典,例如RFC3485。 For example, when a VoIP service arrives, the network side device can inform the UE to start a VoIP service related dictionary, such as RFC3485, when configuring a related Data Radio Bearer (DRB).

當一個HTTP業務到達時,UE(終端)又支援相關業務的預定義字典,則網路側可以配置UE把預定義字典1作為壓縮快取的初始值,開始最初的壓縮。 When an HTTP service arrives, the UE (terminal) supports a predefined dictionary of related services, and the network side can configure the UE to use the predefined dictionary 1 as the initial value of the compression cache to start the initial compression.

當到達的業務沒有相對應的預定義字典,或者UE不支援運營商自訂的壓縮字典時,網路側設備可以配置終端把標準化的字典作為目標壓縮字典;或者網路側設備可以配置終端把預設填充資訊(比如全0)存儲到壓縮快取中。 When the arriving service does not have a corresponding predefined dictionary, or the UE does not support the operator-defined compression dictionary, the network side device may configure the terminal to use the standardized dictionary as the target compression dictionary; or the network side device may configure the terminal to preset the dictionary. Fill information (such as all 0s) is stored in the compressed cache.

其中,終端的字典支援能力資訊可以是任何能夠使網路側設備確定終端支援哪些壓縮字典的資訊。 The dictionary support capability information of the terminal may be any information that enables the network side device to determine which compression dictionary the terminal supports.

下面列舉幾種。 Here are a few.

1、該終端將字典支援能力資訊發送給該網路側設備;具體的,終端在進行能力上報的時候,可以攜帶自己的字典能力資訊,例如是否支援運營商標準壓縮字典、支援哪些運營商標準壓縮字典、是否支援預定義的壓縮字典、當前存儲的預定義壓縮字典的版本為多少等。 1. The terminal sends the dictionary support capability information to the network side device; specifically, the terminal can carry its own dictionary capability information when performing capability reporting, for example, whether to support the operator standard compression dictionary, and which carrier standards are supported. Whether to compress the dictionary, whether to support the predefined compression dictionary, the version of the currently stored predefined compression dictionary, and so on.

2、由於標準壓縮字典比較容易支援,預設所有的終端只要支援UDC則自動支援標準壓縮字典,則終端將是否支援UDC作為字典支援能力資訊,只需要上報自己是否支持UDC;相應的,若終端支援UDC,則網路側設備可以確定UE支援標準壓縮 字典。 2. Since the standard compression dictionary is relatively easy to support, it is preset that all terminals support the standard compression dictionary automatically if they support UDC. The terminal will support UDC as the dictionary support capability information, and only need to report whether it supports UDC; correspondingly, if When the terminal supports UDC, the network side device can determine that the UE supports standard compression. dictionary.

3、當網路側設備在向終端下發最新的運營商自訂的壓縮字典並獲得成功之後(一般這種資訊是通過確認(AM)模式進行發送,可以有隱式的無線鏈路控制(Radio Link Control,RLC)層的回饋判斷終端是否接收成功,或者通過業務層的確認判斷終端是否接收成功),那麼網路側設備可以記錄該終端獲得最新的運營商預定義字典資訊,即終端的字典支援能力資訊就是網路側設備記錄的最新的運營商預定義字典資訊。 3. After the network side device sends the latest carrier-customized compression dictionary to the terminal and succeeds (generally the information is sent through the acknowledgement (AM) mode, there may be implicit radio link control (Radio). The feedback of the Link Control (RLC) layer determines whether the terminal successfully receives, or determines whether the terminal receives success through the confirmation of the service layer. Then, the network side device can record that the terminal obtains the latest operator predefined dictionary information, that is, the dictionary support of the terminal. Capability information is the latest operator pre-defined dictionary information recorded by the network side device.

4、針對上面的3,下發運營商自訂的壓縮字典的行為可能是由核心網發起的,因此核心網記錄終端是否獲得最新的運營商預定義字典資訊,核心網可以將該內容在網路側設備查詢的時候,例如查詢UE能力,發送給網路側設備,以備網路側設備配置UDC時使用。 4. For the above 3, the behavior of issuing the carrier-defined compression dictionary may be initiated by the core network, so the core network records whether the terminal obtains the latest operator predefined dictionary information, and the core network may use the content on the network. When the device on the side of the device queries, for example, the capability of the UE is queried and sent to the device on the network side for use when the network side device configures the UDC.

需要說明的是,除了上面列舉的終端的字典支援能力資訊和/或業務資訊,其他任何能夠使網路側設備確定終端發送使用的壓縮字典的資訊都適用本發明實施例。 It should be noted that, in addition to the dictionary support capability information and/or service information of the terminal listed above, any other information that enables the network side device to determine the compression dictionary used by the terminal for transmission is applicable to the embodiment of the present invention.

該終端在確定網路側設備配置的發送使用的壓縮字典後,如果終端有配置的壓縮字典,可以將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 After determining the compression dictionary used for the transmission of the configuration of the network side device, if the terminal has a configured compression dictionary, the compression dictionary used for transmission by the network side device configuration may be used as the target compression dictionary.

這裡有一種可能是終端沒有配置的壓縮字典,這時終端需要選擇一種壓縮字典作為目標壓縮字典:1、終端有配置的壓縮字典,終端將配置的壓縮字典作為目標壓縮字典存儲到壓縮快取中,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包,並發送該UDC 壓縮資料包;2、終端沒有配置的壓縮字典,即終端不支援配置的壓縮字典,這種情況一般發生在網路側設備對終端的字典支援能力情況瞭解不清楚,例如終端未上報字典支援的能力資訊,或者終端雖然上報了字典支援能力,但終端當前存儲的運營商自訂的壓縮字典只有1到5,但網路側設備要求用運營商自訂的壓縮字典8,而運營商自訂的壓縮字典8在終端並沒有獲得該內容。 There is a compression dictionary that may not be configured by the terminal. In this case, the terminal needs to select a compression dictionary as the target compression dictionary: 1. The terminal has a configured compression dictionary, and the terminal stores the configured compression dictionary as a target compression dictionary into the compression cache. The compressed data packet is compressed by the compressed cache to obtain a UDC compressed data packet, and the UDC is sent. Compressed data packet; 2. The compression dictionary that is not configured by the terminal, that is, the terminal does not support the configured compression dictionary. This situation generally occurs when the network side device does not know the dictionary support capability of the terminal, for example, the terminal does not report the dictionary support. Capability information, or the terminal has reported the dictionary support capability, but the terminal currently stores the carrier-defined compression dictionary only 1 to 5, but the network-side device requires the operator-defined compression dictionary 8, and the operator customizes The compression dictionary 8 does not obtain the content at the terminal.

終端按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典存儲到壓縮快取中或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包,並發送該UDC壓縮資料包。 The terminal stores, according to the currently used compression dictionary priority order, the compression dictionary with the highest priority as the target compression dictionary into the compression cache or the compression dictionary that is not higher than the priority order of the compression dictionary configured by the network side device as the target compression dictionary. The UDC compressed data packet is obtained by compressing the data packet to be sent by compressing the cache, and sending the UDC compressed data packet.

比如壓縮字典優先順序從高到低為:運營商自訂的壓縮字典A、運營商自訂的壓縮字典B和標準壓縮字典。 For example, the compression dictionary priority order is from high to low: operator-customized compression dictionary A, operator-customized compression dictionary B, and standard compression dictionary.

終端將運營商自訂的壓縮字典A作為目標壓縮字典存儲到壓縮快取中,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包,並發送該UDC壓縮資料包。 The terminal stores the carrier-defined compression dictionary A as a target compression dictionary in the compression cache, compresses the data packet to be sent by compressing the cache to obtain a UDC compressed data packet, and transmits the UDC compressed data packet.

比如壓縮字典優先順序從高到低為:運營商自訂的壓縮字典A、運營商自訂的壓縮字典B和標準壓縮字典。 For example, the compression dictionary priority order is from high to low: operator-customized compression dictionary A, operator-customized compression dictionary B, and standard compression dictionary.

網路側設備配置的壓縮字典C的優先順序低於壓縮字典A高於壓縮字典B,則終端將運營商自訂的壓縮字典C作為目標壓縮字典存儲到壓縮快取中,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓 縮資料包,並發送該UDC壓縮資料包。這裡也可以將標準壓縮字典作為目標壓縮字典存儲到壓縮快取中。 The priority of the compression dictionary C configured by the network side device is lower than that of the compression dictionary A is higher than the compression dictionary B, and the terminal stores the carrier-customized compression dictionary C as a target compression dictionary into the compression cache, and the compression cache needs to be compressed. The transmitted packet is compressed to obtain UDC pressure. Reduce the packet and send the UDC compressed package. Here, the standard compression dictionary can also be stored as a target compression dictionary into the compression cache.

在實施中,可以選擇不高於網路側設備配置的壓縮字典的優先順序中最高的壓縮字典作為目標壓縮字典。當然,也可以在不高於網路側設備配置的壓縮字典的優先順序中隨機或採用其他方式選擇。 In the implementation, the highest compression dictionary in the priority order of the compression dictionary configured by the network side device may be selected as the target compression dictionary. Of course, it can also be randomly or otherwise selected in the priority order of the compression dictionary that is not higher than the configuration of the network side device.

這裡終端也可以不按照壓縮字典優先順序選擇或者在壓縮字典優先順序中沒有壓縮字典或者沒有網路側設備配置的壓縮字典時,將預設填充資訊存儲到解壓快取中,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包,並發送該UDC壓縮資料包。 Here, the terminal may also not select the compression dictionary priority order or when there is no compression dictionary in the compression dictionary priority order or the compression dictionary configured by the network side device, the preset filling information is stored in the decompression cache, and the compression cache is required. The transmitted data packet is compressed to obtain a UDC compressed data packet, and the UDC compressed data packet is sent.

其中,終端當前使用的壓縮字典優先順序可以根據終端所在的位置、當前時間等因素確定。 The priority of the compression dictionary currently used by the terminal may be determined according to factors such as the location of the terminal, the current time, and the like.

比如終端處於基地台A下,則終端當前使用的壓縮字典優先順序是基地台A對應的壓縮字典優先順序;終端又移動到基地台B下,則終端當前使用的壓縮字典優先順序是基地台B對應的壓縮字典優先順序。 For example, if the terminal is under the base station A, the compression dictionary priority order currently used by the terminal is the compression dictionary priority order corresponding to the base station A; when the terminal moves to the base station B, the compression dictionary priority order currently used by the terminal is the base station B. The corresponding compression dictionary is prioritized.

不同基地台由於所屬的網路或者公共陸地移動網路(Public Land Mobile Network,PLMN)不同,所以對應的壓縮字典優先順序也可能不同。比如當UE處於本地基地台的覆蓋下時,可以將本地運營商預配置的字典作為最高優先順序,標準化字典作為次優先順序。而當該UE漫遊到別的地區,處於漫遊基地台的覆蓋之下時,這時候UE本地運營商預配置的字典就失效了,而漫遊地運營商的預配置字典UE沒有來得及獲取,此時可以將標準化字典作為最高優先順序。 Different base stations may have different compression dictionary priorities depending on their network or Public Land Mobile Network (PLMN). For example, when the UE is under the coverage of the local base station, the pre-configured dictionary of the local operator can be used as the highest priority, and the standardized dictionary is used as the secondary priority. When the UE roams to another area and is under the coverage of the roaming base station, the pre-configured dictionary of the UE local operator fails at this time, and the pre-configured dictionary UE of the roaming operator does not have time to obtain. Standardized dictionaries can be used as the highest priority.

一種特殊情況是網路側設備為終端配置預設填充資訊(比如全0),則終端將預設填充資訊存儲到解壓快取中。 A special case is that the network side device configures preset filling information (such as all 0s) for the terminal, and the terminal stores the preset filling information in the decompression cache.

可選的,終端如果是用目標壓縮字典進行壓縮,則終端還可以將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, if the terminal is compressed by using the target compression dictionary, the terminal may further set the compression dictionary identifier corresponding to the target compression dictionary to the head of the UDC compressed data package.

這裡的壓縮字典標識可以是標準壓縮字典的標識或運營商自訂的壓縮字典的標識。 The compression dictionary identifier here may be the identity of a standard compression dictionary or the identity of an operator-defined compression dictionary.

對於網路側設備,如果接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則該網路側設備將該壓縮字典標識對應的壓縮字典作為目標壓縮字典,並將目標壓縮字典存儲到解壓快取中;通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 For the network side device, if the header of the received UDC compressed data packet includes a compression dictionary identifier, the network side device uses the compression dictionary corresponding to the compression dictionary identifier as the target compression dictionary, and stores the target compression dictionary to the decompression cache. The decompression operation is performed on the received UDC compressed data packet by decompressing the cache.

如果接收到的UDC壓縮資料包的頭部不包括壓縮字典標識,網路側設備可以將配置給終端的壓縮字典作為目標壓縮字典進行解壓操作;如果快取校驗失敗,則網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 If the header of the received UDC compressed data packet does not include the compression dictionary identifier, the network side device may decompress the compression dictionary configured to the terminal as the target compression dictionary; if the cache verification fails, the network side device follows the compression dictionary. The priority order selects an unused and highest priority compression dictionary as the target compression dictionary until the cache check succeeds or there is no unused compression dictionary.

比如壓縮字典優先順序從高到低為:運營商自訂的壓縮字典A、運營商自訂的壓縮字典B和標準壓縮字典。 For example, the compression dictionary priority order is from high to low: operator-customized compression dictionary A, operator-customized compression dictionary B, and standard compression dictionary.

如果網路側設備為終端配置運營商自訂的壓縮字典A,網路側設備用運營商自訂的壓縮字典A快取校驗失敗,則網路側設備按照壓縮字典優先順序先選擇運營商自訂的壓縮字典B作為目標壓縮字典進行解壓操作;若快取校驗成功,則不再選擇,若快取校驗失敗,則繼續選擇標準 壓縮字典作為目標壓縮字典進行解壓操作。 If the network side device configures the carrier-defined compression dictionary A for the terminal, and the network-side device fails the verification with the carrier-defined compression dictionary A, the network-side device selects the carrier-customized first according to the compression dictionary priority order. Compression dictionary B is used as the target compression dictionary for decompression operation; if the cache verification is successful, it is no longer selected. If the cache verification fails, the selection criterion continues. The compression dictionary is used as a target compression dictionary for decompression operations.

可選的,在快取校驗失敗後,若沒有未使用的壓縮字典,則該網路側設備將預設填充資訊存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 Optionally, after the cache verification fails, if there is no unused compression dictionary, the network side device stores the preset filling information in the decompression cache, and extracts the UDC compressed data packet by decompressing the cache. Decompress the operation.

繼續上一個例子,若網路側設備選擇標準壓縮字典作為目標壓縮字典進行快取校驗失敗,由於沒有未使用的壓縮字典,則網路側設備將預設填充資訊(比如全0)存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 Continuing with the previous example, if the network side device selects the standard compression dictionary as the target compression dictionary for the cache verification failure, since there is no unused compression dictionary, the network side device stores the preset filling information (such as all 0s) to the decompression fast. Take the decompression and decompress the received UDC compressed data packet by decompressing the cache.

在實施中,如果終端將預設填充資訊存儲到解壓快取中,則終端還可以在UDC壓縮資料包中攜帶通知資訊,用於通知網路側設備終端未使用壓縮字典進行壓縮或用於通知網路側設備終端使用預設填充資訊進行壓縮。 In the implementation, if the terminal stores the preset padding information in the decompression cache, the terminal may further carry the notification information in the UDC compressed data packet, to notify the network side device terminal that the compression dictionary is not used for compression or for the notification network. The roadside device terminal compresses using preset padding information.

對於網路側設備來說,在接收到第一個UDC壓縮資料包時,先按照配置給終端的壓縮字典,嘗試進行快取校驗,如果成功,則說明終端使用了配置的壓縮字典資訊,則後續可以正常解壓縮和處理資料包。如果不成功,則說明終端不支援配置的壓縮字典,此時網路側設備採取向下一個壓縮字典優先順序依次嘗試的方法,直到快取校驗成功,成功地那個快取初始值即為終端選擇的壓縮快取的初始值,那麼網路側設備也把該值作為解壓快取的初始值,進行後續的解壓和後續包的處理。 For the network side device, when receiving the first UDC compressed data packet, first try to perform the cache check according to the compression dictionary configured to the terminal. If successful, the terminal uses the configured compression dictionary information. Subsequent decompression and processing of the data package. If it is unsuccessful, the terminal does not support the configured compression dictionary. At this time, the network side device adopts the method of sequentially pressing the next compression dictionary priority order until the cache verification succeeds. The successful initial value of the cache is the terminal selection. The initial value of the compression cache, the network side device also uses the value as the initial value of the decompression cache, and performs subsequent decompression and subsequent packet processing.

這裡的第一個UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 The first UDC compressed data packet here is the first UDC compressed data packet to be initially transferred or the first UDC compressed data packet after the compression cache reset.

二、網路側設備不為該終端配置發送使用的壓縮字典。 2. The network side device does not configure the compression dictionary used for sending the terminal.

由於網路側設備不為終端配置發送使用的壓縮字典,所以終端需要按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典,或者直接將預設填充資訊存儲到壓縮快取中。 Since the network side device does not configure the compression dictionary used for the terminal configuration, the terminal needs to use the compression dictionary with the highest priority as the target compression dictionary according to the currently used compression dictionary priority order, or directly store the preset filling information to the compression cache. in.

比如壓縮字典優先順序從高到低為:運營商自訂的壓縮字典A、運營商自訂的壓縮字典B和標準壓縮字典。終端將運營商自訂的壓縮字典A作為目標壓縮字典存儲到壓縮快取中,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包,並發送該UDC壓縮資料包。 For example, the compression dictionary priority order is from high to low: operator-customized compression dictionary A, operator-customized compression dictionary B, and standard compression dictionary. The terminal stores the carrier-defined compression dictionary A as a target compression dictionary in the compression cache, compresses the data packet to be sent by compressing the cache to obtain a UDC compressed data packet, and transmits the UDC compressed data packet.

其中,終端當前使用的壓縮字典優先順序可以根據終端所在的位置、當前時間等因素確定。 The priority of the compression dictionary currently used by the terminal may be determined according to factors such as the location of the terminal, the current time, and the like.

比如終端處於基地台A下,則終端當前使用的壓縮字典優先順序是基地台A對應的壓縮字典優先順序;終端又移動到基地台B下,則終端當前使用的壓縮字典優先順序是基地台B對應的壓縮字典優先順序。 For example, if the terminal is under the base station A, the compression dictionary priority order currently used by the terminal is the compression dictionary priority order corresponding to the base station A; when the terminal moves to the base station B, the compression dictionary priority order currently used by the terminal is the base station B. The corresponding compression dictionary is prioritized.

不同基地台由於所屬的網路或者PLMN不同,所以對應的壓縮字典優先順序也可能不同。比如當UE處於本地基地台的覆蓋下時,可以將本地運營商預配置的字典作為最高優先順序,標準化字典作為次優先順序。而當該UE漫遊到別的地區,處於漫遊基地台的覆蓋之下時,這時候UE本地運營商預配置的字典就失效了,而漫遊地運營商的預配置字典UE沒有來得及獲取,此時可以將標準化字典作為最高優先順序。 Different base stations may have different compression dictionary priorities depending on their network or PLMN. For example, when the UE is under the coverage of the local base station, the pre-configured dictionary of the local operator can be used as the highest priority, and the standardized dictionary is used as the secondary priority. When the UE roams to another area and is under the coverage of the roaming base station, the pre-configured dictionary of the UE local operator fails at this time, and the pre-configured dictionary UE of the roaming operator does not have time to obtain. Standardized dictionaries can be used as the highest priority.

可選的,終端如果是用目標壓縮字典進行壓縮,則終端還可以將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, if the terminal is compressed by using the target compression dictionary, the terminal may further set the compression dictionary identifier corresponding to the target compression dictionary to the head of the UDC compressed data package.

這裡的壓縮字典標識可以是標準壓縮字典的標識或運營商 自訂的壓縮字典的標識。 The compression dictionary identifier here can be the identifier or operator of the standard compression dictionary. The ID of the custom compression dictionary.

如果終端將預設填充資訊存儲到解壓快取中,則終端還可以在UDC壓縮資料包中攜帶通知資訊,用於通知網路側設備終端未使用壓縮字典進行壓縮或用於通知網路側設備終端使用預設填充資訊進行壓縮。 If the terminal stores the preset padding information in the decompression cache, the terminal may further carry the notification information in the UDC compressed data packet, to notify the network side device terminal that the compression is not compressed by the compression dictionary or used to notify the network side device terminal. Preset fill information for compression.

對於網路側設備,如果接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則該網路側設備將該壓縮字典標識對應的壓縮字典作為目標壓縮字典,並將目標壓縮字典存儲到解壓快取中;通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 For the network side device, if the header of the received UDC compressed data packet includes a compression dictionary identifier, the network side device uses the compression dictionary corresponding to the compression dictionary identifier as the target compression dictionary, and stores the target compression dictionary to the decompression cache. The decompression operation is performed on the received UDC compressed data packet by decompressing the cache.

如果接收到的UDC壓縮資料包的頭部包括通知資訊,則網路側設備將預設填充資訊存儲到解壓快取中;通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 If the header of the received UDC compressed data packet includes the notification information, the network side device stores the preset filling information in the decompression cache; and decompresses the received UDC compressed data packet by decompressing the cache.

如果接收到的UDC壓縮資料包的頭部不包括壓縮字典標識,網路側設備可以按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典,通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 If the header of the received UDC compressed data packet does not include the compression dictionary identifier, the network side device may use the compression dictionary with the highest priority as the target compression dictionary according to the currently used compression dictionary priority order, and extract the received dictionary by decompressing the cache. The UDC compresses the data packet for decompression operation.

具體的,該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,通過解壓快取對收到的UDC壓縮資料包進行解壓操作;若快取校驗失敗,則該網路側設備返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 Specifically, the network side device selects an unused and highest priority compression dictionary as the target compression dictionary according to the compression dictionary priority order, and decompresses the received UDC compressed data packet by decompressing the cache; if the cache check If it fails, the network side device returns a step of selecting an unused and highest priority compression dictionary as the target compression dictionary according to the compression dictionary priority order until the cache verification succeeds or there is no unused compression dictionary.

比如壓縮字典優先順序從高到低為:運營商自訂的壓縮字典 A、運營商自訂的壓縮字典B和標準壓縮字典。 For example, the compression dictionary priority order is from high to low: carrier-customized compression dictionary A, the operator's custom compression dictionary B and standard compression dictionary.

網路側設備按照壓縮字典優先順序先選擇運營商自訂的壓縮字典A作為目標壓縮字典進行解壓操作;若快取校驗成功,則不再選擇,若快取校驗失敗,則網路側設備按照壓縮字典優先順序先選擇運營商自訂的壓縮字典B作為目標壓縮字典進行解壓操作;若快取校驗成功,則不再選擇,若快取校驗失敗,則繼續選擇標準壓縮字典作為目標壓縮字典進行解壓操作。 The network side device selects the operator-defined compression dictionary A as the target compression dictionary for decompression operation according to the compression dictionary priority order; if the cache verification succeeds, the network side device does not select. If the cache verification fails, the network side device follows. The compression dictionary priority order first selects the operator-defined compression dictionary B as the target compression dictionary for decompression operation; if the cache verification is successful, it is no longer selected. If the cache verification fails, the standard compression dictionary is selected as the target compression. The dictionary is decompressed.

可選的,在快取校驗失敗後,若沒有未使用的壓縮字典,則該網路側設備將預設填充資訊存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 Optionally, after the cache verification fails, if there is no unused compression dictionary, the network side device stores the preset filling information in the decompression cache, and extracts the UDC compressed data packet by decompressing the cache. Decompress the operation.

繼續上一個例子,若網路側設備選擇標準壓縮字典作為目標壓縮字典進行快取校驗失敗,由於沒有未使用的壓縮字典,則網路側設備將預設填充資訊(比如全0)存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 Continuing with the previous example, if the network side device selects the standard compression dictionary as the target compression dictionary for the cache verification failure, since there is no unused compression dictionary, the network side device stores the preset filling information (such as all 0s) to the decompression fast. Take the decompression and decompress the received UDC compressed data packet by decompressing the cache.

對於網路側設備來說,在接收到第一個UDC壓縮資料包時,採取壓縮字典優先順序依次嘗試的方法,直到快取校驗成功,成功地那個快取初始值即為終端選擇的壓縮快取的初始值,那麼網路側設備也把該值作為解壓快取的初始值,進行後續的解壓和後續包的處理。 For the network side device, when receiving the first UDC compressed data packet, the method of compressing the dictionary priority order is adopted, until the cache check succeeds, and the cache initial value is successfully selected for the terminal. The initial value is taken, and the network side device also uses the value as the initial value of the decompression cache, and performs subsequent decompression and subsequent packet processing.

這裡的第一個UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 The first UDC compressed data packet here is the first UDC compressed data packet to be initially transferred or the first UDC compressed data packet after the compression cache reset.

在實施中,如果終端和網路側設備初始化的壓縮快取內容不一致或者中間出現異常情況造成了快取驗證失敗,就需要啟動恢復過程。 In the implementation, if the compression cache content initialized by the terminal and the network side device is inconsistent or an abnormal situation occurs in the middle, causing the cache verification failure, the recovery process needs to be started.

例如傳輸過程中資料丟失,造成壓縮快取和解壓快取中的資料不一樣,由於兩端所使用的快取不一致,在快取校驗環節中,就會失敗,這時候對於網路側設備就可以判斷出現了快取失步,需要啟動恢復過程重新獲得快取的同步。 For example, the data is lost during the transmission process, and the data in the compression cache and the decompression cache are different. Because the caches used at both ends are inconsistent, it will fail in the cache check process. It can be judged that there is a cache out of synchronization, and it is necessary to start the recovery process to regain the synchronization of the cache.

快取校驗失敗的恢復過程一般包括如下步驟。 The recovery process of cache verification failure generally includes the following steps.

1、網路側設備發現快取校驗失敗,向終端指示該快取校驗失敗。 1. The network side device finds that the cache check fails, and indicates to the terminal that the cache check fails.

可選的,此時也可以攜帶推薦的復位的快取初始值(即攜帶用於通知終端配置發送使用的壓縮字典或預設填充資訊的指示資訊,比如壓縮字典標識或者表示採用預設填充值的資訊)。 Optionally, the initial value of the cache of the recommended reset may be carried at this time (that is, the indication information that is used to notify the terminal to configure the compression dictionary or the preset padding information used for sending, such as compressing the dictionary identifier or indicating that the preset padding value is used. Information).

例如當使用運營商自訂的壓縮字典作為初始值時,如果第一個UDC壓縮資料包開始就出現了快取校驗失敗,說明兩側使用的運營商自訂的壓縮字典不一致,此時再進行快取復位時,初始值可以選擇標準化字典或者預設填充值(比如全0)作為快取初始值。 For example, when using the carrier-customized compression dictionary as the initial value, if the first UDC compressed data packet starts, the cache verification failure occurs, indicating that the carrier-customized compression dictionary used on both sides is inconsistent. When performing a cache reset, the initial value can be selected as a normalized dictionary or a preset fill value (such as all 0s) as the cache initial value.

例如如果使用標準壓縮字典作為初始值,第一個UDC壓縮資料包開始就出現了快取校驗失敗,說明兩側的標準壓縮字典出現異常,此時再進行快取復位時,初始值可以選擇預設填充值(比如全0)作為快取初始值。 For example, if a standard compression dictionary is used as the initial value, the first UDC compressed data packet begins to have a cache check failure, indicating that the standard compression dictionary on both sides is abnormal. At this time, when the cache reset is performed, the initial value can be selected. The preset fill value (such as all 0s) is used as the cache initial value.

2、終端接收到快取校驗失敗指示,需要重定快取,如果網路側設備攜帶了重定的快取初始值,則按照該快取初始值進行復位,如果沒有攜帶,則預設重定為標準化字典或預設填充值。 2. The terminal receives the cache check failure indication, and needs to reset the cache. If the network side device carries the re-set initial value, it resets according to the cache initial value. If not, the preset is re-standardized. Dictionary or preset padding values.

3、終端在重定快取之後發送的第一個UDC壓縮資料包裡, 顯示攜帶重定指示和/或目標壓縮字典對應的壓縮字典標識,告知接收端從這個包開始復位。 3. The first UDC compressed data packet sent by the terminal after resizing the cache, The compression dictionary identifier corresponding to the re-indication indication and/or the target compression dictionary is displayed, and the receiving end is notified to start resetting from the packet.

這裡的重定指示可以是一個指示資訊。 The redirection indication here can be an indication information.

4、網路側設備接收到第一個攜帶重定指示的UDC壓縮資料包後,重定解壓快取,如果有約定或者配置則按照約定或者配置的初始值作為重定之後的解壓快取的初始值;如果沒有約定或者配置,則網路側設備可以按照上面介紹的方式依次嘗試不同的壓縮字典和預設填重置進行快取校驗,選擇快取校驗成功的那個快取初始值作為復位之後的快取初始值,之後開始正常的解壓和處理資料包。 4. After receiving the first UDC compressed data packet carrying the re-instruction indication, the network-side device re-defines the decompression cache. If there is an agreement or configuration, the initial value of the decompression cache after re-determination according to the agreement or the configured initial value; If there is no agreement or configuration, the network side device can sequentially try different compression dictionary and preset reset to perform cache check according to the method described above, and select the cache initial value that the cache check succeeds as fast after reset. Take the initial value and then start normal decompression and processing the packet.

如果隨同重定指示一起還接收到目標壓縮字典對應的壓縮字典標識,或者網路側設備接收到第一個攜帶重定指示的UDC壓縮資料包中沒有重定指示,有目標壓縮字典對應的壓縮字典標識,則網路側設備可以將壓縮字典標識對應的壓縮字典作為目標壓縮字典進行快取校驗。 If the compression dictionary identifier corresponding to the target compression dictionary is received along with the re-instruction indication, or the network side device receives the first re-indication indication in the UDC compressed data packet carrying the re-instruction indication, and there is a compression dictionary identifier corresponding to the target compression dictionary, The network side device can perform the cache check on the compression dictionary corresponding to the compression dictionary identifier as the target compression dictionary.

需要說明的是,上述快取初始值就是解壓快取中存儲的資訊。 It should be noted that the above initial cache value is the information stored in the decompression cache.

如圖2所示,本發明實施例第一種網路側設備包括:處理器200、記憶體201和收發機202。 As shown in FIG. 2, the first network side device of the embodiment of the present invention includes: a processor 200, a memory 201, and a transceiver 202.

處理器200負責管理匯流排架構和通常的處理,記憶體201可以存儲處理器200在執行操作時所使用的資料。收發機202用於在處理器200的控制下接收和發送資料。 The processor 200 is responsible for managing the bus bar architecture and the usual processing, and the memory 201 can store the data used by the processor 200 when performing operations. The transceiver 202 is configured to receive and transmit data under the control of the processor 200.

匯流排架構可以包括任意數量的互聯的匯流排和橋,具體由 處理器200代表的一個或多個處理器和記憶體201代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩壓器和功率管理電路等之類的各種其他電路連結在一起,這些都是本領域所公知的,因此,本文不再對其進行進一步描述。匯流排介面提供介面。處理器200負責管理匯流排架構和通常的處理,記憶體201可以存儲處理器200在執行操作時所使用的資料。 The busbar architecture can include any number of interconnected busbars and bridges, specifically One or more processors represented by the processor 200 and various circuits of the memory represented by the memory 201 are coupled together. The busbar architecture can also couple various other circuits, such as peripherals, voltage regulators, and power management circuits, as is well known in the art, and therefore, will not be further described herein. The bus interface provides an interface. The processor 200 is responsible for managing the bus bar architecture and the usual processing, and the memory 201 can store the data used by the processor 200 when performing operations.

本發明實施例揭示的流程,可以應用於處理器200中,或者由處理器200實現。在實現過程中,信號處理流程的各步驟可以通過處理器200中的硬體的集成邏輯電路或者軟體形式的指令完成。處理器200可以是通用處理器、數位訊號處理器、專用積體電路、現場可程式設計閘陣列或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件,可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者任何常規的處理器等。結合本發明實施例所公開的方法的步驟可以直接體現為硬體處理器執行完成,或者用處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電可讀寫可程式設計記憶體、寄存器等本領域成熟的存儲介質中。該存儲介質位於記憶體201,處理器200讀取記憶體201中的資訊,結合其硬體完成信號處理流程的步驟。 The flow disclosed in the embodiment of the present invention may be applied to the processor 200 or implemented by the processor 200. In the implementation process, the steps of the signal processing flow may be completed by hardware integrated logic circuits or instructions in the form of software in the processor 200. The processor 200 can be a general purpose processor, a digital signal processor, a dedicated integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or a transistor logic device, a discrete hardware component, can be implemented or executed. Each method, step, and logic block diagram disclosed in the embodiments of the present invention. A general purpose processor can be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of a hardware and a software module in a processor. The software module can be located in a random storage medium, a flash memory, a read-only memory, a programmable read-only memory, or an electrically readable and writable programmable memory, a register, and the like. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201, and combines the steps of the hardware to complete the signal processing flow.

其中,處理器200,用於讀取記憶體201中的程式並執行下列過程:將目標壓縮字典存儲到解壓快取中;通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 The processor 200 is configured to read a program in the memory 201 and execute the following process: storing the target compression dictionary into the decompression cache; and decompressing the received UDC compressed data packet by decompressing the cache.

可選的,該處理器200具體用於:若解壓快取的容量大於目標壓縮字典,則將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓快取最前面和/或最後面;或若解壓快取的容量不大於目標壓縮字典,則將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量。 Optionally, the processor 200 is specifically configured to: if the capacity of the decompression cache is greater than the target compression dictionary, store the target compression dictionary in the decompression cache, and add the set value to the remaining positions; wherein the remaining locations include the decompression cache The first and/or the last; or if the capacity of the decompression cache is not greater than the target compression dictionary, the first N bits or the last N bits or the intermediate N bits of the target compression dictionary are stored to the decompression cache, and N is decompressed fast. Take the capacity.

可選的,該處理器200還用於:按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;若快取校驗失敗,則返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, the processor 200 is further configured to: select an unused compression dictionary with the highest priority according to the compression dictionary priority order as the target compression dictionary; and perform decompression operation on the received UDC compressed data packet by using the decompression cache. According to the received UDC compressed data packet, the cache check is performed, and the cache check success is determined; if the cache check fails, the return is selected according to the compression dictionary priority order, and an unused and highest priority compression dictionary is selected as the compression dictionary. The step of the target compression dictionary until the cache check succeeds or there is no unused compression dictionary.

可選的,該處理器200還用於:若接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則將該壓縮字典標識對應的壓縮字典作為目標壓縮字典。 Optionally, the processor 200 is further configured to: if the header of the received UDC compressed data packet includes a compression dictionary identifier, use the compression dictionary corresponding to the compression dictionary identifier as the target compression dictionary.

可選的,該處理器200還用於:為該終端配置發送使用的壓縮字典;將配置給終端的壓縮字典作為目標壓縮字典。 Optionally, the processor 200 is further configured to: configure, for the terminal, a compression dictionary used for sending; and use a compression dictionary configured to the terminal as a target compression dictionary.

可選的,該處理器200還用於:通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,根據收到 的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;若快取校驗失敗,則按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, the processor 200 is further configured to: before decompressing the received UDC compressed data packet by decompressing the cache, according to the received The UDC compressed data packet performs cache check and determines that the cache check succeeds; if the cache check fails, an unused and highest priority compression dictionary is selected as the target compression dictionary according to the compression dictionary priority order until The cache check succeeds or there is no unused compression dictionary.

可選的,該處理器200還用於:在快取校驗失敗後,若沒有未使用的壓縮字典,則將預設填充資訊存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 Optionally, the processor 200 is further configured to: after the cache verification fails, if there is no unused compression dictionary, store the preset filling information in the decompression cache, and extract the received information through the decompression cache. The UDC compresses the data packet for decompression operation.

可選的,該處理器200具體用於:根據該終端的字典支援能力資訊和/或業務資訊,為該終端配置發送使用的壓縮字典。 Optionally, the processor 200 is specifically configured to: configure, according to the terminal support capability information and/or service information of the terminal, a compression dictionary used for sending and transmitting the terminal.

可選的,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 Optionally, the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compression cache reset.

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該處理器還用於:在確定壓縮快取和解壓快取不同步後,通知該終端進行快取重定。 Optionally, the first UDC compressed data packet is a first UDC compressed data packet after performing a compression cache reset; the processor is further configured to: notify after determining that the compressed cache and the decompress cache are not synchronized. The terminal performs a cache re-determination.

可選的,該處理器200還用於:在該通知中攜帶用於通知終端配置發送使用的壓縮字典或預設填充資訊的指示資訊。 Optionally, the processor 200 is further configured to: in the notification, carry the indication information used to notify the terminal to configure the compression dictionary used for sending or the preset filling information.

可選的,該壓縮字典包括標準壓縮字典和/或運營商自訂的壓縮字典。 Optionally, the compression dictionary includes a standard compression dictionary and/or a carrier-customized compression dictionary.

可選的,該壓縮字典包括運營商自訂的壓縮字典; 該處理器200還用於:通過多播、廣播和單播中的部分或全部方式,為終端配置該運營商自訂的壓縮字典。 Optionally, the compression dictionary includes an operator-defined compression dictionary; The processor 200 is further configured to configure the operator-customized compression dictionary for the terminal by using part or all of multicast, broadcast, and unicast.

如圖3所示,本發明實施例第一種終端包括:處理器300負責管理匯流排架構和通常的處理,記憶體301可以存儲處理器300在執行操作時所使用的資料。收發機302用於在處理器300的控制下接收和發送資料。 As shown in FIG. 3, the first terminal of the embodiment of the present invention includes: the processor 300 is responsible for managing the bus bar architecture and the usual processing, and the memory 301 can store the data used by the processor 300 when performing the operation. The transceiver 302 is configured to receive and transmit data under the control of the processor 300.

匯流排架構可以包括任意數量的互聯的匯流排和橋,具體由處理器300代表的一個或多個處理器和記憶體301代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩壓器和功率管理電路等之類的各種其他電路連結在一起,這些都是本領域所公知的,因此,本文不再對其進行進一步描述。匯流排介面提供介面。處理器300負責管理匯流排架構和通常的處理,記憶體301可以存儲處理器300在執行操作時所使用的資料。 The busbar architecture can include any number of interconnected busbars and bridges, specifically linked by one or more processors represented by processor 300 and various circuits of memory represented by memory 301. The busbar architecture can also couple various other circuits, such as peripherals, voltage regulators, and power management circuits, as is well known in the art, and therefore, will not be further described herein. The bus interface provides an interface. The processor 300 is responsible for managing the bus bar architecture and the usual processing, and the memory 301 can store the data used by the processor 300 when performing operations.

本發明實施例揭示的流程,可以應用於處理器300中,或者由處理器300實現。在實現過程中,信號處理流程的各步驟可以通過處理器300中的硬體的集成邏輯電路或者軟體形式的指令完成。處理器300可以是通用處理器、數位訊號處理器、專用積體電路、現場可程式設計閘陣列或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件,可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者任何常規的處理器等。結合本發明實施例 所公開的方法的步驟可以直接體現為硬體處理器執行完成,或者用處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電可讀寫可程式設計記憶體、寄存器等本領域成熟的存儲介質中。該存儲介質位於記憶體301,處理器300讀取記憶體301中的資訊,結合其硬體完成信號處理流程的步驟。 The flow disclosed in the embodiment of the present invention may be applied to the processor 300 or implemented by the processor 300. In the implementation process, each step of the signal processing flow may be completed by hardware integrated logic circuits or instructions in software form in the processor 300. The processor 300 can be a general purpose processor, a digital signal processor, a dedicated integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or a transistor logic device, a discrete hardware component, can be implemented or executed. Each method, step, and logic block diagram disclosed in the embodiments of the present invention. A general purpose processor can be a microprocessor or any conventional processor or the like. Combined with embodiments of the present invention The steps of the disclosed method can be directly embodied by the execution of the hardware processor or by a combination of hardware and software modules in the processor. The software module can be located in a random storage medium, a flash memory, a read-only memory, a programmable read-only memory, or an electrically readable and writable programmable memory, a register, and the like. The storage medium is located in the memory 301, and the processor 300 reads the information in the memory 301, and combines the steps of the hardware to complete the signal processing flow.

其中,處理器300,用於讀取記憶體301中的程式並執行下列過程:處理器300,用於讀取記憶體中的程式並執行下列過程:將目標壓縮字典存儲到壓縮快取中;通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;發送該UDC壓縮資料包。 The processor 300 is configured to read a program in the memory 301 and execute the following process: the processor 300 is configured to read a program in the memory and execute the following process: storing the target compression dictionary into the compressed cache; The compressed data packet is compressed by the compressed cache to obtain a UDC compressed data packet; the UDC compressed data packet is sent.

可選的,該處理器300具體用於:若壓縮快取的容量大於目標壓縮字典,則將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 Optionally, the processor 300 is specifically configured to: if the capacity of the compressed cache is greater than the target compression dictionary, store the target compression dictionary in the compressed cache, and add the set value to the remaining positions; wherein the remaining locations include the compressed cache The first and/or the last; or if the capacity of the compression cache is not greater than the target compression dictionary, the first N bits or the last N bits or the intermediate N bits of the target compression dictionary are stored to the compression cache, and N is decompressed fast. Take the capacity.

可選的,該處理器300用於:按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典。 Optionally, the processor 300 is configured to: use the compression dictionary with the highest priority as the target compression dictionary according to the currently used compression dictionary priority order.

可選的,該處理器300還用於:將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 Optionally, the processor 300 is further configured to: use a compression dictionary used for sending the network side device configuration as a target compression dictionary.

可選的,該處理器300還用於: 若沒有該網路側設備配置的壓縮字典,則按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典。 Optionally, the processor 300 is further configured to: If there is no compression dictionary configured by the network side device, the compression dictionary with the highest priority is used as the target compression dictionary or the compression dictionary that is not higher than the priority order of the compression dictionary configured by the network side device according to the currently used compression dictionary priority order. Compress the dictionary as a target.

可選的,該處理器300還用於:若沒有該網路側設備配置的壓縮字典,則將預設填充資訊存儲到壓縮快取中。 Optionally, the processor 300 is further configured to: if there is no compression dictionary configured by the network side device, store the preset padding information into the compression cache.

可選的,該處理器300還用於:將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, the processor 300 is further configured to: place the compression dictionary identifier corresponding to the target compression dictionary in a header of the UDC compressed data packet.

可選的,該處理器300還用於:將字典支援能力資訊發送給該網路側設備。 Optionally, the processor 300 is further configured to: send the dictionary support capability information to the network side device.

可選的,該字典支援能力資訊包括下列中的部分或全部:是否支援標準壓縮字典;是否支援運營商自訂壓縮字典;支援運營商自訂的壓縮字典的詳細資訊。 Optionally, the dictionary support capability information includes part or all of the following: whether to support the standard compression dictionary; whether to support the operator's custom compression dictionary; and to support the operator's customized compression dictionary details.

可選的,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 Optionally, the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compression cache reset.

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該處理器300還用於:接收到該網路側設備通知的快取重定指示;在該UDC壓縮資料包的頭部攜帶重定指示和/或該目標壓縮字典對應的壓縮字典標識。 Optionally, the first UDC compressed data packet is a first UDC compressed data packet after performing a compression cache reset; the processor 300 is further configured to: receive a cache redirection indication notified by the network side device; A re-indication indication and/or a compression dictionary identifier corresponding to the target compression dictionary is carried in a header of the UDC compressed data packet.

如圖4所示,本發明實施例第二種網路側設備包括:處理模組400,用於將目標壓縮字典存儲到解壓快取中;解壓模組401,用於通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 As shown in FIG. 4, the second network side device of the embodiment of the present invention includes: a processing module 400, configured to store a target compression dictionary in a decompression cache; and a decompression module 401, configured to receive the decompression cache The UDC compressed data package is decompressed.

可選的,該處理模組400具體用於:若解壓快取的容量大於目標壓縮字典,則將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓快取最前面和/或最後面;或若解壓快取的容量不大於目標壓縮字典,則將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量。 Optionally, the processing module 400 is specifically configured to: if the capacity of the decompression cache is greater than the target compression dictionary, store the target compression dictionary in the decompression cache, and add the set value to the remaining positions; wherein the remaining locations include the decompression fast Take the front and/or the last side; or if the capacity of the decompression cache is not greater than the target compression dictionary, store the first N bits or the last N bits or the intermediate N bits of the target compression dictionary to the decompression cache, and N is decompressed. The capacity of the cache.

可選的,該處理模組400還用於:按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;該解壓模組401還用於:通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;若快取校驗失敗,則觸發處理模組400執行按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, the processing module 400 is further configured to: select an unused compression dictionary with the highest priority as the target compression dictionary according to the compression dictionary priority order; and the decompression module 401 is further configured to: Before the decompressing operation of the UDC compressed data packet, the cache verification is performed according to the received UDC compressed data packet, and the cache verification is determined to be successful; if the cache verification fails, the trigger processing module 400 executes the compression dictionary according to the compression dictionary. The priority order selects an unused and highest priority compression dictionary as the target compression dictionary until the cache check succeeds or there is no unused compression dictionary.

可選的,該處理模組400還用於:若接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則將該壓縮字典標識對應的壓縮字典作為目標壓縮字典。 Optionally, the processing module 400 is further configured to: if the header of the received UDC compressed data packet includes a compression dictionary identifier, use the compression dictionary corresponding to the compression dictionary identifier as the target compression dictionary.

可選的,該處理模組400還用於:為該終端配置發送使用的壓縮字典;將配置給終端的壓縮字典作為目標壓縮字典。 Optionally, the processing module 400 is further configured to: configure a compression dictionary used for sending the terminal; and use a compression dictionary configured to the terminal as a target compression dictionary.

可選的,該解壓模組401還用於:通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;若快取校驗失敗,則觸發處理模組400按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, the decompression module 401 is further configured to perform a cache check according to the received UDC compressed data packet and perform a cache check before decompressing the received UDC compressed data packet by using a decompression cache. If the cache verification fails, the trigger processing module 400 selects an unused compression dictionary with the highest priority as the target compression dictionary according to the compression dictionary priority order until the cache verification succeeds or there is no unused compression dictionary. .

可選的,該處理模組400還用於:在該解壓模組401快取校驗失敗後,若沒有未使用的壓縮字典,則將預設填充資訊存儲到解壓快取中。 Optionally, the processing module 400 is further configured to: after the cache verification failure of the decompression module 401, if there is no unused compression dictionary, store the preset filling information into the decompression cache.

可選的,該處理模組400具體用於:根據該終端的字典支援能力資訊和/或業務資訊,為該終端配置發送使用的壓縮字典。 Optionally, the processing module 400 is configured to: configure, according to the dictionary support capability information and/or service information of the terminal, a compression dictionary used for sending and transmitting the terminal.

可選的,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 Optionally, the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compression cache reset.

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該解壓模組401還用於:在確定壓縮快取和解壓快取不同步後,通知該終端進行快取重定。 Optionally, the first UDC compressed data packet is a first UDC compressed data packet after performing a compression cache reset; the decompression module 401 is further configured to: after determining that the compressed cache and the decompression cache are not synchronized , the terminal is notified to perform a cache re-determination.

可選的,該解壓模組401還用於: 在該通知中攜帶用於通知終端配置發送使用的壓縮字典或預設填充資訊的指示資訊。 Optionally, the decompression module 401 is further configured to: The notification carries information indicating that the terminal is configured to use the compression dictionary or the preset padding information used for transmission.

可選的,該壓縮字典包括標準壓縮字典和/或運營商自訂的壓縮字典。 Optionally, the compression dictionary includes a standard compression dictionary and/or a carrier-customized compression dictionary.

可選的,該壓縮字典包括運營商自訂的壓縮字典。 Optionally, the compression dictionary includes an operator-defined compression dictionary.

該處理模組400還用於:通過多播、廣播和單播中的部分或全部方式,為終端配置該運營商自訂的壓縮字典。 The processing module 400 is further configured to: configure the operator-customized compression dictionary for the terminal by using part or all of multicast, broadcast, and unicast.

如圖5所示,本發明實施例第二種終端包括:快取模組500,用於將目標壓縮字典存儲到壓縮快取中;壓縮模組501,用於通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;發送模組502,用於發送該UDC壓縮資料包。 As shown in FIG. 5, the second terminal of the embodiment of the present invention includes: a cache module 500 for storing a target compression dictionary in a compression cache; and a compression module 501 for compressing a cache to be sent. The data packet is compressed to obtain a UDC compressed data packet, and the transmitting module 502 is configured to send the UDC compressed data packet.

可選的,該快取模組500具體用於:若壓縮快取的容量大於目標壓縮字典,則將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 Optionally, the cache module 500 is specifically configured to: if the capacity of the compressed cache is greater than the target compression dictionary, store the target compression dictionary in the compressed cache, and the remaining positions are supplemented with the set value; wherein the remaining positions include the compression The cache is first and/or last; or if the capacity of the compression cache is not greater than the target compression dictionary, the first N bits or the last N bits or intermediate N bits of the target compression dictionary are stored to the compression cache, N is Decompress the cached capacity.

可選的,該快取模組500還用於:按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典。 Optionally, the cache module 500 is further configured to: use the compression dictionary with the highest priority as the target compression dictionary according to the currently used compression dictionary priority order.

可選的,該快取模組500還用於:將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 Optionally, the cache module 500 is further configured to: use a compression dictionary used for sending the network side device configuration as a target compression dictionary.

可選的,該快取模組500還用於:若沒有該網路側設備配置的壓縮字典,則按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典。 Optionally, the cache module 500 is further configured to: if there is no compression dictionary configured by the network side device, use the compression dictionary with the highest priority as the target compression dictionary or not according to the currently used compression dictionary priority order. The compression dictionary of the priority order of the compression dictionary configured on the network side device is used as the target compression dictionary.

可選的,該快取模組500還用於:若沒有該網路側設備配置的壓縮字典,則將預設填充資訊存儲到壓縮快取中。 Optionally, the cache module 500 is further configured to store the preset padding information into the compressed cache if there is no compression dictionary configured by the network side device.

可選的,該壓縮模組501還用於:將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, the compression module 501 is further configured to: place the compression dictionary identifier corresponding to the target compression dictionary in a header of the UDC compressed data packet.

可選的,該發送模組502還用於:將字典支援能力資訊發送給該網路側設備。 Optionally, the sending module 502 is further configured to: send dictionary support capability information to the network side device.

可選的,該字典支援能力資訊包括下列中的部分或全部: 是否支援標準壓縮字典;是否支援運營商自訂壓縮字典;支援運營商自訂的壓縮字典的詳細資訊。 Optionally, the dictionary support capability information includes some or all of the following: Whether to support the standard compression dictionary; whether to support the operator's custom compression dictionary; to support the operator's customized compression dictionary details.

可選的,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 Optionally, the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compression cache reset.

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包; 該發送模組502還用於:接收到該網路側設備通知的快取重定指示;在該UDC壓縮資料包的頭部攜帶重定指示和/或該目標壓縮字典對應的壓縮字典標識。 Optionally, the first UDC compressed data packet is a first UDC compressed data packet after performing a compression cache reset; The sending module 502 is further configured to: receive a cache redirection indication notified by the network side device; and carry a redirection indication and/or a compression dictionary identifier corresponding to the target compression dictionary in a header of the UDC compressed data packet.

本發明實施例提供一種可讀存儲介質,包括程式碼,當該程式碼在計算設備上運行時,該程式碼用於使該計算設備執行上述系統中網路側設備的動作。 An embodiment of the present invention provides a readable storage medium, including a code for causing the computing device to perform an action of a network side device in the system when the code is run on a computing device.

本發明實施例還提供一種可讀存儲介質,包括程式碼,當該程式碼在計算設備上運行時,該程式碼用於使該計算設備執行上述系統中終端的動作。 The embodiment of the invention further provides a readable storage medium, comprising a code for causing the computing device to perform the action of the terminal in the system when the code is run on the computing device.

基於同一發明構思,本發明實施例中還提供了一種網路側設備進行資料接收的方法,由於該方法對應的設備是本發明實施例進行資料傳輸的系統中的網路側設備,並且該方法解決問題的原理與該設備相似,因此該方法的實施可以參見系統的實施,重複之處不再贅述。 Based on the same inventive concept, the embodiment of the present invention further provides a method for receiving data by a network side device, where the device corresponding to the method is a network side device in a system for data transmission according to an embodiment of the present invention, and the method solves the problem. The principle is similar to the device, so the implementation of the method can be referred to the implementation of the system, and the repeated description will not be repeated.

如圖6所示,本發明實施例網路側設備進行資料接收的方法包括:步驟600、網路側設備將目標壓縮字典存儲到解壓快取中;步驟601、該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 As shown in FIG. 6, the method for receiving data on the network side device in the embodiment of the present invention includes: Step 600: The network side device stores the target compression dictionary in the decompression cache; Step 601: The network side device receives the data through the decompression cache The UDC compressed data package is decompressed.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中,包括:若解壓快取的容量大於目標壓縮字典,則該網路側設備將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓 快取最前面和/或最後面;或若解壓快取的容量不大於目標壓縮字典,則該網路側設備將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量。 Optionally, the network side device stores the target compression dictionary in the decompression cache, including: if the capacity of the decompression cache is greater than the target compression dictionary, the network side device stores the target compression dictionary in the decompression cache, and the remaining positions Supplemental set value; wherein the remaining positions include the decompression The cache is first and/or last; or if the capacity of the decompression cache is not greater than the target compression dictionary, the network side device stores the first N bits or the last N bits or the intermediate N bits of the target compression dictionary to the decompression fast Take, N is the capacity of the decompression cache.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功。 Optionally, before the network side device stores the target compression dictionary in the decompression cache, the method further includes: the network side device selecting an unused and highest priority compression dictionary as the target compression dictionary according to the compression dictionary priority order; Before the network side device decompresses the received UDC compressed data packet by using the decompression cache, the network side device performs a cache check according to the received UDC compressed data packet, and determines that the cache verification is successful.

該方法還包括:若快取校驗失敗,則該網路側設備返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 The method further includes: if the cache check fails, the network side device returns a step of selecting an unused compression dictionary with the highest priority according to the compression dictionary priority order as the target compression dictionary until the cache verification succeeds or not Unused compression dictionary.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:若該網路側設備接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則該網路側設備將該壓縮字典標識對應的壓縮字典作為目標壓縮字典。 Optionally, before the network side device stores the target compression dictionary in the decompression cache, the method further includes: if the header of the UDC compressed data packet received by the network side device includes a compression dictionary identifier, the network side device The compression dictionary identifies the corresponding compression dictionary as the target compression dictionary.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括: 該網路側設備為該終端配置發送使用的壓縮字典;該網路側設備將配置給終端的壓縮字典作為目標壓縮字典。 Optionally, before the network side device stores the target compression dictionary in the decompression cache, the method further includes: The network side device configures a compression dictionary used for sending the terminal; the network side device uses a compression dictionary configured to the terminal as a target compression dictionary.

可選的,該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功。 Optionally, before the network side device decompresses the received UDC compressed data packet by using the decompression cache, the network side device further performs a cache check according to the received UDC compressed data packet, and determines a cache. The verification was successful.

該方法還包括:若快取校驗失敗,則該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 The method further includes: if the cache check fails, the network side device selects an unused and highest priority compression dictionary as the target compression dictionary according to the compression dictionary priority order until the cache check succeeds or there is no unused Compress the dictionary.

可選的,該方法還包括:在快取校驗失敗後,若沒有未使用的壓縮字典,則該網路側設備將預設填充資訊存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 Optionally, the method further includes: after the cache verification fails, if there is no unused compression dictionary, the network side device stores the preset filling information in the decompression cache, and receives the decompression cache through the decompression cache. The UDC compressed data package is decompressed.

可選的,該網路側設備為該終端配置發送使用的壓縮字典,包括:該網路側設備根據該終端的字典支援能力資訊和/或業務資訊,為該終端配置發送使用的壓縮字典。 Optionally, the network side device configures, for the terminal, a compression dictionary used for sending, and the network side device configures, according to the terminal support capability information and/or service information of the terminal, a compression dictionary used for sending, by the terminal.

可選的,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 Optionally, the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compression cache reset.

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包; 該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備在確定壓縮快取和解壓快取不同步後,通知該終端進行快取重定。 Optionally, the first UDC compressed data packet is a first UDC compressed data packet after performing a compression cache reset; Before the network side device stores the target compression dictionary in the decompression cache, the network side device notifies the terminal to perform the cache re-determination after determining that the compression cache and the decompression cache are not synchronized.

可選的,該網路側設備通知該終端進行快取重定之前,還包括:該網路側設備在該通知中攜帶用於通知終端配置發送使用的壓縮字典或預設填充資訊的指示資訊。 Optionally, before the network side device notifies the terminal to perform the cache re-determination, the network side device further includes: the network side device, in the notification, the indication information for notifying the terminal to configure the compression dictionary or the preset filling information used for sending.

可選的,該壓縮字典包括標準壓縮字典和/或運營商自訂的壓縮字典。 Optionally, the compression dictionary includes a standard compression dictionary and/or a carrier-customized compression dictionary.

可選的,該壓縮字典包括運營商自訂的壓縮字典;該方法還包括:該網路側設備通過多播、廣播和單播中的部分或全部方式,為終端配置該運營商自訂的壓縮字典。 Optionally, the compression dictionary includes an operator-defined compression dictionary. The method further includes: configuring, by the network side device, the carrier-customized compression for the terminal by using part or all of multicast, broadcast, and unicast. dictionary.

基於同一發明構思,本發明實施例中還提供了一種終端進行資料發送的方法,由於該方法對應的設備是本發明實施例進行資料傳輸的系統中的終端,並且該方法解決問題的原理與該設備相似,因此該方法的實施可以參見系統的實施,重複之處不再贅述。 Based on the same inventive concept, the embodiment of the present invention further provides a method for transmitting data by a terminal, where the device corresponding to the method is a terminal in a system for data transmission according to an embodiment of the present invention, and the method solves the problem and the method The devices are similar, so the implementation of the method can be referred to the implementation of the system, and the repeated description will not be repeated.

如圖7所示,本發明實施例終端進行資料發送的方法包括:步驟700、終端將目標壓縮字典存儲到壓縮快取中;步驟701、該終端通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;步驟702、該終端發送該NDC壓縮資料包。 As shown in FIG. 7, the method for transmitting data by the terminal in the embodiment of the present invention includes: Step 700: The terminal stores the target compression dictionary into the compression cache; Step 701: The terminal compresses the data packet to be sent by using the compression cache Obtaining a UDC compressed data packet; in step 702, the terminal sends the NDC compressed data packet.

可選的,該終端將目標壓縮字典存儲到壓縮快取中,包括:若壓縮快取的容量大於目標壓縮字典,則該終端將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則該終端將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 Optionally, the terminal stores the target compression dictionary in the compression cache, including: if the capacity of the compression cache is greater than the target compression dictionary, the terminal stores the target compression dictionary in the compression cache, and the remaining positions supplement the set value; Wherein the remaining location includes the first and/or the last of the compression cache; or if the capacity of the compression cache is not greater than the target compression dictionary, the terminal compresses the first N bits or the last N bits or the intermediate N bits of the target dictionary The meta is stored to the compression cache, and N is the capacity of the decompression cache.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典。 Optionally, before the terminal stores the target compression dictionary in the compression cache, the terminal further includes: the terminal uses the compression dictionary with the highest priority as the target compression dictionary according to the currently used compression dictionary priority order.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 Optionally, before the terminal stores the target compression dictionary in the compressed cache, the method further includes: the terminal uses the compression dictionary used for sending the network side device configuration as the target compression dictionary.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:若該終端沒有該網路側設備配置的壓縮字典,則按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典。 Optionally, before the terminal stores the target compression dictionary in the compressed cache, the method further includes: if the terminal does not have a compression dictionary configured by the network side device, the highest priority compression is performed according to the currently used compression dictionary priority order. The dictionary serves as a target compression dictionary or a compression dictionary that does not have a higher priority than a compression dictionary configured by the network side device as a target compression dictionary.

可選的,該方法還包括:若該終端沒有該網路側設備配置的壓縮字典,則將預設填充資訊存儲到壓縮快取中。 Optionally, the method further includes: if the terminal does not have a compression dictionary configured by the network side device, storing the preset padding information into the compressed cache.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之後,發送該UDC壓縮資料包之前,還包括:該終端將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, after the terminal stores the target compression dictionary in the compressed cache, before sending the UDC compressed data package, the method further includes: the terminal placing the compression dictionary identifier corresponding to the target compression dictionary in the header of the UDC compressed data package. unit.

可選的,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端將字典支援能力資訊發送給該網路側設備。 Optionally, before the terminal stores the target compression dictionary in the compressed cache, the method further includes: the terminal sending the dictionary support capability information to the network side device.

可選的,該字典支援能力資訊包括下列中的部分或全部:是否支援標準壓縮字典;是否支援運營商自訂壓縮字典;支援運營商自訂的壓縮字典的詳細資訊。 Optionally, the dictionary support capability information includes part or all of the following: whether to support the standard compression dictionary; whether to support the operator's custom compression dictionary; and to support the operator's customized compression dictionary details.

可選的,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 Optionally, the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compression cache reset.

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端接收到該網路側設備通知的快取重定指示;該終端發送該UDC壓縮資料包之前,還包括:該終端在該UDC壓縮資料包的頭部攜帶重定指示和/或該目標壓縮字典對應的壓縮字典標識。 Optionally, the first UDC compressed data packet is a first UDC compressed data packet after performing a compression cache reset; before the terminal stores the target compression dictionary in the compressed cache, the method further includes: receiving, by the terminal, the terminal The cache redirection indication notified by the network side device; before the sending the UDC compressed data packet, the terminal further includes: the terminal carrying a re-indication indication in the header of the UDC compressed data packet and/or a compression dictionary identifier corresponding to the target compression dictionary .

以上參照示出根據本發明實施例的方法、裝置(系統)和/或電腦程式產品的框圖和/或流程圖描述本發明。應理解,可以通過電腦程 式指令來實現框圖和/或流程圖示圖的一個塊以及框圖和/或流程圖示圖的塊的組合。可以將這些電腦程式指令提供給通用電腦、專用電腦的處理器和/或其它可程式設計資料處理裝置,以產生機器,使得經由電腦處理器和/或其它可程式設計資料處理裝置執行的指令創建用於實現框圖和/或流程圖塊中所指定的功能/動作的方法。 The invention has been described above with reference to block diagrams and/or flowchart illustrations of a method, apparatus (system) and/or computer program product according to an embodiment of the invention. It should be understood that you can pass the computer program The instructions are implemented to implement one block of the block diagrams and/or flowchart illustrations and combinations of blocks of the block diagrams and/or flowchart illustrations. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer, and/or other programmable data processing apparatus to produce a machine for creation of instructions executed by a computer processor and/or other programmable data processing apparatus. A method for implementing the functions/actions specified in the block diagrams and/or flowchart blocks.

相應地,還可以用硬體和/或軟體(包括固件、駐留軟體、微碼等)來實施本發明。更進一步地,本發明可以採取電腦可使用或電腦可讀存儲介質上的電腦程式產品的形式,其具有在介質中實現的電腦可使用或電腦可讀程式碼,以由指令執行系統來使用或結合指令執行系統而使用。在本發明上下文中,電腦可使用或電腦可讀介質可以是任意介質,其可以包含、存儲、通信、傳輸、或傳送程式,以由指令執行系統、裝置或設備使用,或結合指令執行系統、裝置或設備使用。 Accordingly, the invention may also be practiced with hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the present invention can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable code embodied in the medium for use by the instruction execution system or Used in conjunction with the instruction execution system. In the context of the present invention, a computer usable or computer readable medium can be any medium that can contain, store, communicate, transfer, or transfer a program for use by an instruction execution system, apparatus, or device, or in conjunction with an instruction execution system, Used by the device or device.

顯然,本領域的技術人員可以對本發明進行各種改動和變型而不脫離本發明的精神和範圍。這樣,倘若本發明的這些修改和變型屬於本發明申請專利範圍及其等同技術的範圍之內,則本發明也意圖包含這些改動和變型在內。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (27)

一種進行資料傳輸的方法,其特徵在於,該方法包括:網路側設備將目標壓縮字典存儲到解壓快取中;該網路側設備通過解壓快取對收到的上行資料壓縮UDC壓縮資料包進行解壓操作。 A method for data transmission, the method comprising: the network side device storing the target compression dictionary in the decompression cache; and the network side device decompressing the received uplink data compression UDC compressed data packet by using the decompression cache operating. 如請求項1所述的進行資料傳輸的方法,其中,該網路側設備將目標壓縮字典存儲到解壓快取中,包括:若解壓快取的容量大於目標壓縮字典,則該網路側設備將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓快取最前面和/或最後面;或若解壓快取的容量不大於目標壓縮字典,則該網路側設備將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量。 The method for performing data transmission according to claim 1, wherein the network side device stores the target compression dictionary in the decompression cache, including: if the capacity of the decompression cache is larger than the target compression dictionary, the network side device will target The compression dictionary is stored in the decompression cache, and the remaining positions are supplemented with the set values; wherein the remaining positions include the first and/or the last side of the decompression cache; or if the capacity of the decompression cache is not greater than the target compression dictionary, the network side device The N-bit or the last N-bit or the intermediate N-bit of the target compression dictionary is stored to the decompression cache, and N is the capacity of the decompression cache. 如請求項1所述的進行資料傳輸的方法,其中,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;該方法還包括:若快取校驗失敗,則該網路側設備返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 The method for performing data transmission according to claim 1, wherein before the network side device stores the target compression dictionary in the decompression cache, the method further includes: the network side device selecting an unused one according to the compression dictionary priority order and giving priority to The highest-order compression dictionary is used as the target compression dictionary; before the network-side device decompresses the received UDC compressed data packet by decompressing the cache, the network side device further includes: performing fast retrieval according to the received UDC compressed data packet. And determining that the cache check succeeds; the method further comprises: if the cache check fails, the network side device returns to select an unused and highest priority compression dictionary as the target compression dictionary according to the compression dictionary priority order. Steps until the cache check succeeds or there are no unused compression dictionaries. 如請求項1所述的進行資料傳輸的方法,其中,該網路側設備將目標壓 縮字典存儲到解壓快取中之前,還包括:若該網路側設備接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則該網路側設備將該壓縮字典標識對應的壓縮字典作為目標壓縮字典。 The method for performing data transmission according to claim 1, wherein the network side device targets the target Before the dictionary is stored in the decompression cache, the method further includes: if the header of the UDC compressed data packet received by the network side device includes a compression dictionary identifier, the network side device compresses the compression dictionary corresponding to the compression dictionary identifier as a target dictionary. 如請求項1所述的進行資料傳輸的方法,其中,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備為該終端配置發送使用的壓縮字典;該網路側設備將配置給終端的壓縮字典作為目標壓縮字典。 The method for performing data transmission according to claim 1, wherein the network side device stores the target compression dictionary in the decompression cache, and further includes: the network side device configures a compression dictionary used for sending and transmitting the terminal; The roadside device uses the compression dictionary configured to the terminal as the target compression dictionary. 如請求項5所述的進行資料傳輸的方法,其中,該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;該方法還包括:若快取校驗失敗,則該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 The method for performing data transmission according to claim 5, wherein before the decompressing operation of the received UDC compressed data packet by the network side device, the network side device further comprises: the network side device compressing the data according to the received UDC The packet performs a cache check and determines that the cache check succeeds. The method further includes: if the cache check fails, the network side device selects an unused and highest priority compression dictionary according to the compression dictionary priority order. The target compresses the dictionary until the cache check succeeds or there is no unused compression dictionary. 如請求項3所述的進行資料傳輸的方法,其中,該方法還包括:在快取校驗失敗後,若沒有未使用的壓縮字典,則該網路側設備將預設填充資訊存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 The method for performing data transmission according to claim 3, wherein the method further comprises: after the cache verification fails, if there is no unused compression dictionary, the network side device stores the preset filling information to the decompression fast. Take the decompression and decompress the received UDC compressed data packet by decompressing the cache. 如請求項5所述的進行資料傳輸的方法,其中,該網路側設備為該終端配置發送使用的壓縮字典,包括:該網路側設備根據該終端的字典支援能力資訊和/或業務資訊,為該終端配置發送使用的壓縮字典。 The method for performing data transmission according to claim 5, wherein the network side device configures, for the terminal, a compression dictionary used for sending, the network side device includes: according to the dictionary support capability information and/or service information of the terminal, The terminal configures the compression dictionary used for transmission. 如請求項1所述的進行資料傳輸的方法,其中,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 The method for performing data transmission according to claim 1, wherein the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compressed cache reset. 如請求項9所述的進行資料傳輸的方法,其中,該第一個UDC壓縮資料 包是進行壓縮快取重置後的第一個UDC壓縮資料包;該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備在確定壓縮快取和解壓快取不同步後,通知該終端進行快取重定。 The method for performing data transmission according to claim 9, wherein the first UDC compressed data The packet is the first UDC compressed data packet after the compression cache reset; before the network side device stores the target compression dictionary in the decompression cache, the network side device further determines the compression cache and the decompression cache. After not synchronizing, the terminal is notified to perform a cache re-determination. 如請求項10所述的進行資料傳輸的方法,其中,該網路側設備通知該終端進行快取重定之前,還包括:該網路側設備在該通知中攜帶用於通知終端配置發送使用的壓縮字典或預設填充資訊的指示資訊。 The method for performing data transmission according to claim 10, wherein, before the network side device notifies the terminal to perform the reconfiguration, the network side device further includes: the network side device carrying the compression dictionary for notifying the terminal to configure the sending and using, in the notification Or preset information to fill the information. 如請求項1所述的進行資料傳輸的方法,其中,該壓縮字典包括標準壓縮字典和/或運營商自訂的壓縮字典。 A method of performing data transmission as described in claim 1, wherein the compression dictionary comprises a standard compression dictionary and/or an operator-customized compression dictionary. 如請求項12所述的進行資料傳輸的方法,其中,該壓縮字典包括運營商自訂的壓縮字典;該方法還包括:該網路側設備通過多播、廣播和單播中的部分或全部方式,為終端配置該運營商自訂的壓縮字典。 The method for performing data transmission according to claim 12, wherein the compression dictionary includes an operator-customized compression dictionary; the method further includes: the network side device adopts part or all of multicast, broadcast, and unicast , configure the carrier-customized compression dictionary for the terminal. 一種進行資料傳輸的方法,其特徵在於,該方法包括:終端將目標壓縮字典存儲到壓縮快取中;該終端通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;該終端發送該UDC壓縮資料包。 A method for data transmission, comprising: storing, by a terminal, a target compression dictionary into a compression cache; the terminal compressing a data packet to be sent by using a compression cache to obtain a UDC compressed data packet; The UDC compressed package. 如請求項14所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中,包括:若壓縮快取的容量大於目標壓縮字典,則該終端將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則該終端將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 The method for performing data transmission according to claim 14, wherein the terminal stores the target compression dictionary into the compression cache, including: if the capacity of the compression cache is greater than the target compression dictionary, the terminal stores the target compression dictionary to In the compression cache, the remaining positions are supplemented with setting values; wherein the remaining positions include the first and/or the last side of the compression cache; or if the capacity of the compression cache is not greater than the target compression dictionary, the terminal compresses the target before the dictionary N The bit or the last N bit or the middle N bit are stored to the compression cache, and N is the capacity of the decompression cache. 如請求項14所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典。 The method for performing data transmission according to claim 14, wherein before the terminal stores the target compression dictionary in the compression cache, the method further comprises: the terminal pressing the compression dictionary with the highest priority according to the currently used compression dictionary priority order. Compress the dictionary as a target. 如請求項14所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 The method for performing data transmission according to claim 14, wherein before the terminal stores the target compression dictionary in the compression cache, the method further includes: the terminal using the compression dictionary used for sending the configuration of the network side device as the target compression dictionary. . 如請求項17所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:若該終端沒有該網路側設備配置的壓縮字典,則按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典。 The method for performing data transmission according to claim 17, wherein before the terminal stores the target compression dictionary in the compression cache, the method further includes: if the terminal does not have a compression dictionary configured by the network side device, according to the currently used The dictionary priority order is compressed, and the compression dictionary with the highest priority is used as the target compression dictionary or the compression dictionary that does not exceed the priority order of the compression dictionary configured by the network side device as the target compression dictionary. 如請求項16所述的進行資料傳輸的方法,其中,該方法還包括:若該終端沒有該網路側設備配置的壓縮字典,則將預設填充資訊存儲到壓縮快取中。 The method for performing data transmission according to claim 16, wherein the method further comprises: if the terminal does not have a compression dictionary configured by the network side device, storing the preset padding information into the compression cache. 如請求項14所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之後,發送該UDC壓縮資料包之前,還包括:該終端將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 The method for performing data transmission according to claim 14, wherein the terminal stores the target compression dictionary in the compressed cache, and before transmitting the UDC compressed data package, the method further includes: compressing the target compression dictionary by the terminal The dictionary identifier is placed at the head of the UDC compressed package. 如請求項14所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端將字典支援能力資訊發送給該網路側設備。 The method for performing data transmission according to claim 14, wherein before the terminal stores the target compression dictionary in the compression cache, the method further includes: the terminal transmitting the dictionary support capability information to the network side device. 如請求項21所述的進行資料傳輸的方法,其中,該字典支援能力資訊包括下列中的部分或全部:是否支援標準壓縮字典;是否支援運營商自訂壓縮字典;支援運營商自訂的壓縮字典的詳細資訊。 The method for performing data transmission according to claim 21, wherein the dictionary support capability information includes part or all of the following: whether to support a standard compression dictionary; whether to support an operator customized compression dictionary; and support for operator-customized compression. The details of the dictionary. 如請求項14所述的進行資料傳輸的方法,其中,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 The method for performing data transmission according to claim 14, wherein the UDC compressed data packet is the first UDC compressed data packet that is initially transmitted or the first UDC compressed data packet after the compressed cache reset. 如請求項23所述的進行資料傳輸的方法,其中,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端接收到該網路側設備通知的快取重定指示;該終端發送該UDC壓縮資料包之前,還包括:該終端在該UDC壓縮資料包的頭部攜帶重定指示和/或該目標壓縮字典對應的壓縮字典標識。 The method for performing data transmission according to claim 23, wherein the first UDC compressed data packet is a first UDC compressed data packet after performing a compression cache reset; the terminal stores the target compression dictionary to a fast compression Before the fetching, the method further includes: the terminal receiving the cache redirection indication notified by the network side device; before the sending the UDC compressed data packet, the terminal further includes: the terminal carrying the re-indication indication in the head of the UDC compressed data packet / or the compression dictionary identifier corresponding to the target compression dictionary. 一種進行資料傳輸的網路側設備,其特徵在於,該網路側設備包括:處理器、記憶體和收發機;處理器,用於讀取記憶體中的程式並執行如請求項1至13中任一項所述的進行資料傳輸的方法的步驟。 A network side device for data transmission, characterized in that: the network side device comprises: a processor, a memory and a transceiver; and a processor, configured to read a program in the memory and execute as in any of claims 1 to 13 A method of performing the method of data transmission. 一種進行資料傳輸的終端,其特徵在於,該終端包括:處理器、記憶體和收發機;處理器,用於讀取記憶體中的程式並執行如請求項14至24中任一項所述的進行資料傳輸的方法的步驟。 A terminal for data transmission, characterized in that the terminal comprises: a processor, a memory and a transceiver; a processor for reading a program in the memory and performing the method of any one of claims 14 to 24 The steps of the method of data transmission. 一種快取同步異常設備可讀存儲介質,其特徵在於,包括程式碼,當該程式碼在計算設備上運行時,該程式碼用於使該計算設備執行請求項1至13中任一項所述的進行資料傳輸的方法的步驟或請求項14至24中任一項所述的進行資料傳輸的方法的步驟。 A cache synchronization exception device readable storage medium, comprising: a code for causing the computing device to perform any one of claims 1 to 13 when the code is run on a computing device The steps of the method of performing data transmission or the method of performing data transmission according to any one of claims 14 to 24.
TW107142185A 2017-11-27 2018-11-27 Method and equipment for data transmission TWI701955B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201711208102.2A CN109842653B (en) 2017-11-27 2017-11-27 Method and equipment for data transmission
CN201711208102.2 2017-11-27
??201711208102.2 2017-11-27

Publications (2)

Publication Number Publication Date
TW201927020A true TW201927020A (en) 2019-07-01
TWI701955B TWI701955B (en) 2020-08-11

Family

ID=66631808

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107142185A TWI701955B (en) 2017-11-27 2018-11-27 Method and equipment for data transmission

Country Status (3)

Country Link
CN (1) CN109842653B (en)
TW (1) TWI701955B (en)
WO (1) WO2019100937A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187400B (en) * 2019-07-03 2022-04-12 大唐移动通信设备有限公司 Data transmission method and device
CN112333769B (en) * 2019-08-05 2022-10-11 华为技术有限公司 Communication method and device
CN112399400B (en) * 2019-08-14 2022-10-04 华为技术有限公司 Method and equipment for reporting UDC information by UE
CN112398790B (en) * 2019-08-15 2021-11-19 华为技术有限公司 Communication method, apparatus and computer-readable storage medium
CN111145849B (en) * 2019-11-13 2023-08-22 泰康保险集团股份有限公司 Medical information verification method, device, medium and electronic equipment
CN113079523B (en) * 2020-01-06 2023-01-13 中国移动通信有限公司研究院 Configuration method and device for Uplink Data Compression (UDC), base station and terminal
CN114070324A (en) * 2020-08-05 2022-02-18 大唐移动通信设备有限公司 Data compression method, device and storage medium
CN112803950A (en) * 2021-01-05 2021-05-14 上海臣星软件技术有限公司 Data compression method, device and equipment and computer storage medium
CN113377553B (en) * 2021-06-23 2024-03-22 浙江素泰智能电子有限公司 Online transmission compression mechanism based on compression dictionary
CN114449045A (en) * 2021-12-29 2022-05-06 深圳达实智能股份有限公司 Internet of things edge gateway data caching method and device

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6597812B1 (en) * 1999-05-28 2003-07-22 Realtime Data, Llc System and method for lossless data compression and decompression
EP2164176A1 (en) * 2008-09-12 2010-03-17 Thomson Licensing Method for lossless compressing prefix-suffix-codes, method for decompressing a bit sequence representing integers or symbols encoded in compressed prefix-suffix-codes and storage medium or signal carrying compressed prefix-suffix-codes
CN101847998A (en) * 2010-04-15 2010-09-29 同济大学 High-performance GML flow compression method
CN102546755A (en) * 2011-12-12 2012-07-04 华中科技大学 Data storage method of cloud storage system
TWI530105B (en) * 2012-11-26 2016-04-11 財團法人資訊工業策進會 Data processing apparatus and method
WO2014110773A1 (en) * 2013-01-17 2014-07-24 华为技术有限公司 Data packet processing method and device
CN103326732B (en) * 2013-05-10 2016-12-28 华为技术有限公司 The method of compression data, the decompression method of data, encoder
US9384204B2 (en) * 2013-05-22 2016-07-05 Amazon Technologies, Inc. Efficient data compression and analysis as a service
CN103347047B (en) * 2013-06-07 2017-02-08 南京交通职业技术学院 Lossless data compression method based on online dictionaries
CN104917786A (en) * 2014-03-11 2015-09-16 杭州雾隐美地传媒有限公司 Method and module for saving transmission flow during interaction of client and server
US10397377B2 (en) * 2016-03-27 2019-08-27 Qualcomm Incorporated Data compression for cellular internet of things (CIoT)
CN106506331B (en) * 2016-10-26 2019-10-22 宁波菊风系统软件有限公司 A kind of text information transmission method of low latency
CN106874437B (en) * 2017-02-04 2019-08-23 中国人民大学 The internal storage data warehouse ranks storage conversion implementation method of data base-oriented all-in-one machine
CN107094142B (en) * 2017-04-28 2020-11-27 电信科学技术研究院 Method and device for decompressing and compressing uplink data
CN107302585B (en) * 2017-07-11 2020-05-26 电信科学技术研究院 Preset dictionary synchronization method and device

Also Published As

Publication number Publication date
TWI701955B (en) 2020-08-11
CN109842653A (en) 2019-06-04
CN109842653B (en) 2022-04-01
WO2019100937A1 (en) 2019-05-31

Similar Documents

Publication Publication Date Title
TW201927020A (en) Method and apparatus for data transmission
US11729299B2 (en) Method for processing data packet and apparatus
RU2767981C2 (en) Information processing method and corresponding device
US20200022083A1 (en) Method for controlling status of terminal device, terminal device, and network device
KR20200074973A (en) Data transmission method, terminal device and network device
CN109479253A (en) The method and apparatus of storage for the UE context in the radio access network of inactive user equipment
CN101682577A (en) rrc messages and procedures
CN105580486A (en) Apparatus and method for perfoming switching operation between macro cell and small cell in mobile communication system
US10448362B2 (en) Paging message sending method and device
US20190239281A1 (en) Session management method and session management network element
JP2021513762A (en) Data transmission method, terminal device and network device
JP2020529784A (en) Core network access method by terminal, base station and terminal
WO2016119218A1 (en) Call supplementary service configuration synchronization method, apparatus and system
JP2020505812A (en) Multiple connection communication method, device, and terminal
CN111510419A (en) Data compression method and base station
KR20180035871A (en) Method and apparatus for updating a user plane gateway
CN110784912B (en) Management method of session correspondence and terminal equipment
CN109818901B (en) Method, device and system for determining message header compression mechanism
US11729604B2 (en) Apparatus, method and computer program
KR20190034157A (en) Communication method and communication device
KR102316348B1 (en) Communication method, network device and terminal device
TWI710257B (en) Uplink data compression configuration method and equipment
WO2021233689A1 (en) Method and apparatus for signalling network coding capabilities
KR102321699B1 (en) Paging failure handling method, access network device and core network device
WO2019153367A1 (en) Wireless communication method, terminal device and network device