TWI701955B - Method and equipment for data transmission - Google Patents

Method and equipment for data transmission Download PDF

Info

Publication number
TWI701955B
TWI701955B TW107142185A TW107142185A TWI701955B TW I701955 B TWI701955 B TW I701955B TW 107142185 A TW107142185 A TW 107142185A TW 107142185 A TW107142185 A TW 107142185A TW I701955 B TWI701955 B TW I701955B
Authority
TW
Taiwan
Prior art keywords
cache
compression dictionary
compression
dictionary
terminal
Prior art date
Application number
TW107142185A
Other languages
Chinese (zh)
Other versions
TW201927020A (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • 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

Abstract

本發明實施例屬於一種進行資料傳輸的方法和設備,用以解決現有技術中在快取初始化或因為快取不同步進行重置後,如何進行資料傳輸還沒有明確方案的問題。本發明實施例網路側設備通過解壓快取中的目標壓縮字典對收到的UDC壓縮資料包進行解壓操作;終端通過壓縮快取中的目標壓縮字典對需要發送的資料包進行壓縮得到UDC壓縮資料包並發送。由於網路側設備和終端可以通過目標壓縮字典進行解壓操作和壓縮,從而在快取初始化或因為快取不同步進行重置後,提高了進行資料傳輸的成功率;進一步提高傳輸效率,節省空中介面資源。 The embodiments of the present invention belong to a method and device for data transmission, which are used to solve the problem that there is no clear solution for data transmission after cache initialization or reset because the cache is not synchronized in the prior art. In the embodiment of the present invention, the network side device decompresses the received UDC compressed data package by decompressing the target compression dictionary in the cache; the terminal compresses the data package to be sent by compressing the target compression dictionary in the cache to obtain the UDC compressed data Package and send. Since network-side devices and terminals can perform decompression and compression through the target compression dictionary, after the cache is initialized or reset because the cache is out of sync, the success rate of data transmission is improved; the transmission efficiency is further improved, and the air interface is saved Resources.

Description

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

本發明屬於無線通訊技術領域,特別是關於一種進行資料傳輸的方法和設備。 The invention belongs to the field of wireless communication technology, and particularly relates to a method and equipment for 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 be configured with an uplink data compression (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 decompresses the compressed data at the corresponding protocol layer. The purpose is to save the amount of data transmitted on the air interface, save uplink resources, and improve transmission efficiency. .

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

但是對於快取初始化或因為快取不同步快取進行重置後,如何進行資料傳輸還沒有明確的方案。 However, there is no clear plan for data transmission after the cache is initialized or the cache is reset because the cache is out of sync.

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

第一方面,本發明實施例提供的一種進行資料傳輸的方法,該方法包括:網路側設備將目標壓縮字典存儲到解壓快取中;該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 In the first aspect, an embodiment of the present invention provides a method for data transmission. The method includes: the network side device stores the target compression dictionary in a decompression cache; the network side device compresses the received UDC data through the decompression 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 locations Supplementary settings; where the remaining positions include the front and/or back of the decompression cache; or if the capacity of the decompression cache is not greater than the target compression dictionary, the network side device will set the first N bits or the last N bits of the target compression dictionary Bits or the middle N bits are stored in 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 selects an unused compression dictionary with the highest priority as the target compression dictionary according to the compression dictionary priority order; The network side device decompresses the received UDC compressed data package through the decompression cache. Before, it also includes: the network side device performs cache verification according to the received UDC compressed data packet, and determines that the cache verification is successful; the method also includes: if the cache verification fails, the network side device returns according to the Compression dictionary priority order The step of selecting an unused compression dictionary with the highest priority 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 will 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, it also includes: the network-side device configures a compression dictionary for the terminal to be used for transmission; the network-side device uses the compression dictionary configured for the terminal as the target Compression dictionary.

可選的,該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;該方法還包括:若快取校驗失敗,則該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功 或沒有未使用的壓縮字典。 Optionally, before the network-side device decompresses the received UDC compressed data package through the decompression cache, it also includes: the network-side device performs cache verification according to the received UDC compressed data package, and determines the cache The verification is successful; the method also includes: if the cache verification fails, the network side device 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.

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

可選的,該終端將目標壓縮字典存儲到壓縮快取中,包括:若壓縮快取的容量大於目標壓縮字典,則該終端將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則該終端將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 Optionally, the terminal storing the target compression dictionary in the compression cache includes: 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 are supplemented with set values; The remaining positions include the front and/or the back of the compressed cache; or if the capacity of the compressed cache is not greater than the target compression dictionary, the terminal will set the first N bits or the last N bits or the middle N bits of the target compression dictionary Meta is stored in the compressed cache, and N is the capacity of the decompressed cache.

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

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

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

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

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

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

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

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

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

600~601、700~702‧‧‧步驟 600~601、700~702‧‧‧Step

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

20‧‧‧終端 20‧‧‧Terminal

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

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

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

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

401‧‧‧解壓模組 401‧‧‧Unzip Module

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

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

502‧‧‧發送模組 502‧‧‧Send module

為了更清楚地說明本發明實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡要介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域的普通技術人員來講,在不付出進步性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly describe the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. Those of ordinary skill 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 diagram of the structure of a system for data transmission according to an embodiment of the present invention; FIG. 2 is a schematic diagram of the structure of a first network-side device according to an embodiment of the present invention; Figure 3 is a schematic diagram of the structure of the first type of terminal according to an embodiment of the present invention; Figure 4 is a schematic diagram of the structure of a second type of network-side device according to an embodiment of the present invention; Figure 5 is a schematic diagram of the structure of the second type of terminal according to an embodiment of the present invention; A schematic flowchart of a method for receiving data by a network side device in an embodiment of the present invention; FIG. 7 is a schematic flowchart of a method for sending data by a terminal according to an embodiment of the present invention.

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

為了使本發明的目的、技術方案和優點更加清楚,下面將結合附圖對本發明作進一步地詳細描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出進步性勞動前提下所獲得的所有其它實施例,都屬於本發明保護的範圍。 In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making progressive labor fall within the protection scope of the present invention.

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

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

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

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

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

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

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

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

標準壓縮字典一般用於比較特定的業務,比如針對基於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 Voice over IP (VoIP) services, and The Internet Engineering Task Organization (The Internet Engineering Task) Force, IETF) standardized a set of special compression dictionary RFC3485. The standard compression dictionary only needs the terminal and network side equipment to load the standard compression dictionary into the factory or update, and it can be used for subsequent use.

運營商自訂的壓縮字典一般可以更靈活的定義壓縮字典,比如運營商根據某種業務的大資料統計或者後臺統計,獲得高頻出現的內容將其做成運營商自訂的壓縮字典。運營商可以將不同業務適用的壓縮字典,標記成不同的ID,例如定義壓縮字典1用於檔案傳輸通訊協定(File Transfer Protocol,FTP)業務,壓縮字典2用於超級文本傳送協定(Hyper Text Transport Protocol,HTTP)業務,壓縮字典3用於及時消息業務等。運營商還可以對壓縮字典進行更新,並針對不同的更新,給予詳細的版本記錄,例如版本1是2017年6月發佈的,版本2是2017年10月發佈的。 The compression dictionary customized by the operator can generally be defined more flexibly. For example, the operator can obtain the frequently occurring content according to the big data statistics or background statistics of a certain business and make it into the compression dictionary customized by the operator. Operators can mark the compression dictionaries applicable to different services with different IDs. For example, define compression dictionary 1 for file transfer protocol (File Transfer Protocol, FTP) business, and compression dictionary 2 for Hyper Text Transport protocol (Hyper Text Transport). Protocol, HTTP) services, and compression dictionary 3 is used for instant messaging services. 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, the network manufacturer and the terminal manufacturer can respectively implement it according to the standard.

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

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

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

如果網路側設備採用單播的形式發送,網路側設備每次發送給一個使用者。對於單播形式發送的方式有很多,下面列舉幾種:1、當終端進行業務傳輸時,可以在需要發送給終端的資訊中攜帶字典資訊發送給終端;2、設置至少一個網路空閒時段,比如23點到5點,當處於空閒時段時,可以將壓縮字典發送給使用者;3、給終端發送通知,由終端通知使用者決定是否接收以及何時接收壓縮字典。 If the network-side device uses unicast transmission, the network-side device sends it to one user at a time. There are many ways to send in unicast form. Here are a few: 1. When the terminal is performing service transmission, it can carry dictionary information in the information that needs to be sent to the terminal and send it to the terminal; 2. Set at least one network idle period, For example, from 23:00 to 5:00, when it is in the idle period, the compression dictionary can be sent to the user; 3. Send a notification to the terminal, and the terminal informs 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 method capable of unicasting the compression dictionary to the terminal is applicable to the embodiment of the present invention.

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

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

快取方式一、解壓快取的容量大於目標壓縮字典的大小,即整個目標壓縮字典都可以存儲到解壓快取中,並且還會有剩餘位置。 Cache method 1: The capacity of the decompression cache is greater 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 setting values; the remaining positions include the front and/or the last of the decompression cache: 1. You can align the tail of the target compression dictionary information with the tail of the decompression cache, and supplement the setting value in the extra space before the decompression cache. For example, if the setting value is 0, the capacity of the decompression cache is 100, the size of the target compression dictionary is 80, the target compression dictionary occupies the position of 80 after the compression cache, and the first 20 positions can be filled with 0; 2. The header of the target compression dictionary information can be combined with the header of the decompression cache Align the placement and take actions to supplement the setting value in the extra space before the decompression cache. For example, the setting value is 0, the capacity of the decompression cache is 100, the size of the target compression dictionary is 80, and the target compression dictionary occupies the compression fast Take the first 80 position and add 0 to the last 20 position.

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

快取方式二、若解壓快取的容量不大於目標壓縮字典,則該網路側設備將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量:1、目標壓縮字典和解壓快取二者頭對齊,多餘目標壓縮字典內容刪除,保持解壓快取中的內容為目標壓縮字典前部的內容,比如解壓快取的容量是80,目標壓縮字典的大小是100,則將目標壓縮字典前80的位置存儲到解壓快取中;2、目標壓縮字典和解壓快取二者尾部對齊,多餘目標壓縮字典內容刪除,保持解壓快取中的內容為目標壓縮字典後部的內容, 比如解壓快取的容量是80,目標壓縮字典的大小是100,則將目標壓縮字典後80的位置存儲到解壓快取中;3、解壓快取從目標壓縮字典中間截取,多餘的兩頭目標壓縮字典的內容刪除,保持解壓快取中的內容為目標壓縮字典中部的內容,比如解壓快取的容量是80,目標壓縮字典的大小是100,則將目標壓縮字典第10~90的位置存儲到解壓快取中。這裡前後選取時也可以不對稱選取,但是需要保證終端和網路側設備選取的位置相同,如果解壓快取的容量等於目標壓縮字典,則將目標壓縮字典整個存儲到解壓快取中。 Cache method 2: If the capacity of the decompression cache is not greater than the target compression dictionary, the network side device will store the first N bits or the last N bits or the middle N bits of the target compression dictionary in the decompression cache, where N is fast decompression Capacity: 1. The headers of the target compression dictionary and the decompression cache are aligned, the redundant target compression dictionary content is deleted, and the content in the decompression cache is kept as the front content of the target compression dictionary. For example, the capacity of the decompression cache is 80. The size of the target compression dictionary is 100, then the first 80 positions of the target compression dictionary are stored in the decompression cache; 2. The end of the target compression dictionary and the decompression cache are aligned, and the redundant target compression dictionary content is deleted, and the decompression cache is kept The content is the content at the back 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, then the position of 80 after 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 redundant two ends are compressed. Delete the content of the dictionary, keep the content in the decompression cache as the content in the middle of the target compression dictionary. For example, if the capacity of the decompression cache is 80 and the size of the target compression dictionary is 100, then the 10th to 90th positions of the target compression dictionary are stored Unzipping the cache. Here, the front and back selection can also be selected asymmetrically, but it is necessary to ensure that the terminal and the network side device select the same position. If the capacity of the decompression cache is equal to the target compression dictionary, the entire target compression dictionary is stored in the decompression cache.

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

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

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

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

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

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

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

當一個HTTP業務到達時,UE(終端)又支援相關業務的預定義字典,則網路側可以配置UE把預定義字典1作為壓縮快取的初始值,開始最初的壓縮。 When an HTTP service arrives and the UE (terminal) supports the predefined dictionary of the related service, the network side can configure the UE to use the predefined dictionary 1 as the initial value of the compression cache and 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 can configure the terminal to use the standardized dictionary as the target compression dictionary; or the network side device can configure the terminal to set the default The padding information (such as all zeros) is stored in the compressed cache.

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

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

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

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

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

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

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

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

這裡有一種可能是終端沒有配置的壓縮字典,這時終端需要選擇一種壓縮字典作為目標壓縮字典:1、終端有配置的壓縮字典,終端將配置的壓縮字典作為目標壓縮字典存儲到壓縮快取中,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包,並發送該UDC 壓縮資料包;2、終端沒有配置的壓縮字典,即終端不支援配置的壓縮字典,這種情況一般發生在網路側設備對終端的字典支援能力情況瞭解不清楚,例如終端未上報字典支援的能力資訊,或者終端雖然上報了字典支援能力,但終端當前存儲的運營商自訂的壓縮字典只有1到5,但網路側設備要求用運營商自訂的壓縮字典8,而運營商自訂的壓縮字典8在終端並沒有獲得該內容。 There is a possibility that the terminal does not have a compression dictionary configured. At this time, 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 the target compression dictionary in the compression cache. Compress the data package that needs to be sent through the compression cache to obtain the UDC compressed data package, and send the UDC Compress the data package; 2. The terminal does not have a compression dictionary configured, that is, the terminal does not support the configured compression dictionary. This situation generally occurs when the network side device does not understand the dictionary support capability of the terminal, for example, the terminal does not report the dictionary support Capability information, or although the terminal reports the dictionary support capability, the operator-customized compression dictionary currently stored on the terminal is only 1 to 5, but the network-side equipment requires the operator-customized compression dictionary8, and the operator-customized The content of the compression dictionary 8 in the terminal is not obtained.

終端按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典存儲到壓縮快取中或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包,並發送該UDC壓縮資料包。 The terminal stores the compression dictionary with the highest priority as the target compression dictionary in the compression cache according to the priority order of the compression dictionary currently in use, 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. Compress the data package that needs to be sent through the compression cache to obtain the UDC compressed data package, and send the UDC compressed data package.

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

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

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

網路側設備配置的壓縮字典C的優先順序低於壓縮字典A高於壓縮字典B,則終端將運營商自訂的壓縮字典C作為目標壓縮字典存儲到壓縮快取中,通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓 縮資料包,並發送該UDC壓縮資料包。這裡也可以將標準壓縮字典作為目標壓縮字典存儲到壓縮快取中。 The priority of compression dictionary C configured on the network side device is lower than compression dictionary A and higher than compression dictionary B, and then the terminal will store the operator’s customized compression dictionary C as the target compression dictionary in the compression cache. Compress the sent data package to get UDC compression Shrink the data package and send the UDC compressed data package. Here, the standard compression dictionary can also be stored in the compression cache as the target compression dictionary.

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

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

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

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

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

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

可選的,終端如果是用目標壓縮字典進行壓縮,則終端還可以將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, if the terminal uses a target compression dictionary for compression, the terminal may also place the compression dictionary identifier corresponding to the target compression dictionary in the header of the UDC compression data package.

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

對於網路側設備,如果接收到的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 in the decompression cache Medium; Decompress the received UDC compressed data package 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 can 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 compression dictionary with the highest priority as the target compression dictionary until the cache check succeeds or there is no unused compression dictionary.

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

如果網路側設備為終端配置運營商自訂的壓縮字典A,網路側設備用運營商自訂的壓縮字典A快取校驗失敗,則網路側設備按照壓縮字典優先順序先選擇運營商自訂的壓縮字典B作為目標壓縮字典進行解壓操作;若快取校驗成功,則不再選擇,若快取校驗失敗,則繼續選擇標準 壓縮字典作為目標壓縮字典進行解壓操作。 If the network side device configures the operator-customized compression dictionary A for the terminal, and the network side device uses the operator-customized compression dictionary A to cache and fails, the network-side device first selects the operator-customized according to the priority order of the compression dictionary Compression dictionary B is used as the target compression dictionary for decompression operation; if the cache check succeeds, no longer select it, if the cache check fails, continue to select the standard The compression dictionary serves as the 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 default filling information in the decompression cache, and compresses the received UDC data package through the decompression cache Perform decompression operation.

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

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

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

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

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

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

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

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

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

不同基地台由於所屬的網路或者PLMN不同,所以對應的壓縮字典優先順序也可能不同。比如當UE處於本地基地台的覆蓋下時,可以將本地運營商預配置的字典作為最高優先順序,標準化字典作為次優先順序。而當該UE漫遊到別的地區,處於漫遊基地台的覆蓋之下時,這時候UE本地運營商預配置的字典就失效了,而漫遊地運營商的預配置字典UE沒有來得及獲取,此時可以將標準化字典作為最高優先順序。 Because different base stations belong to different networks or PLMNs, the priority order of the corresponding compression dictionary may also be different. For example, when the UE is under the coverage of the local base station, the dictionary pre-configured by the local operator may be taken as the highest priority order, and the standardized dictionary as the second priority order. When the UE roams to another area and is under the coverage of the roaming base station, the dictionary pre-configured by the local operator of the UE is invalid, and the pre-configured dictionary of the operator in the roaming area is not available for the UE. The standardized dictionary can be the highest priority.

可選的,終端如果是用目標壓縮字典進行壓縮,則終端還可以將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, if the terminal uses a target compression dictionary for compression, the terminal may also place the compression dictionary identifier corresponding to the target compression dictionary in the header of the UDC compression data package.

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

如果終端將預設填充資訊存儲到解壓快取中,則終端還可以在UDC壓縮資料包中攜帶通知資訊,用於通知網路側設備終端未使用壓縮字典進行壓縮或用於通知網路側設備終端使用預設填充資訊進行壓縮。 If the terminal stores the default filling information in the decompression cache, the terminal can also carry notification information in the UDC compressed data package, which is used to notify the network side equipment that the terminal is not compressed using the compression dictionary or to notify the network side equipment that the terminal uses The default filling information is compressed.

對於網路側設備,如果接收到的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 in the decompression cache Medium; Decompress the received UDC compressed data package by decompressing the cache.

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

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

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

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

網路側設備按照壓縮字典優先順序先選擇運營商自訂的壓縮字典A作為目標壓縮字典進行解壓操作;若快取校驗成功,則不再選擇,若快取校驗失敗,則網路側設備按照壓縮字典優先順序先選擇運營商自訂的壓縮字典B作為目標壓縮字典進行解壓操作;若快取校驗成功,則不再選擇,若快取校驗失敗,則繼續選擇標準壓縮字典作為目標壓縮字典進行解壓操作。 The network-side device first selects the operator-customized compression dictionary A as the target compression dictionary for the decompression operation according to the compression dictionary priority order; if the cache verification succeeds, it does not select any more; if the cache verification fails, the network-side device follows Compression dictionary priority order: First select the operator-defined compression dictionary B as the target compression dictionary for decompression; if the cache verification succeeds, no longer select it, if the cache verification fails, continue to select the standard compression dictionary 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 default filling information in the decompression cache, and compresses the received UDC data package through the decompression cache Perform decompression operation.

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

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

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

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

例如傳輸過程中資料丟失,造成壓縮快取和解壓快取中的資料不一樣,由於兩端所使用的快取不一致,在快取校驗環節中,就會失敗,這時候對於網路側設備就可以判斷出現了快取失步,需要啟動恢復過程重新獲得快取的同步。 For example, data loss during the transmission process causes the data in the compressed cache and the decompressed cache to be different. Because the caches used at both ends are inconsistent, the cache verification process will fail. At this time, the network side equipment It can be judged that a cache out-of-sync has occurred, and the recovery process needs to be initiated to regain the cache synchronization.

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

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

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

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

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

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

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

這裡的重定指示可以是一個指示資訊。 The reset instruction here can be an instruction message.

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

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

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

如圖2所示,本發明實施例第一種網路側設備包括:處理器200、記憶體201和收發機202。 As shown in FIG. 2, the first network-side device in 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 architecture and general processing, and the memory 201 can store data used by the processor 200 when performing operations. The transceiver 202 is used to receive and send 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. One or more processors represented by the processor 200 and various circuits of the memory represented by the memory 201 are connected together. The bus bar architecture can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, etc., which are all known in the art, and therefore, no further description will be given here. The bus interface provides an interface. The processor 200 is responsible for managing the bus architecture and general processing, and the memory 201 can store data used by the processor 200 when performing operations.

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

其中,處理器200,用於讀取記憶體201中的程式並執行下列過程:將目標壓縮字典存儲到解壓快取中;通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 The processor 200 is used to read the program in the memory 201 and execute the following process: store the target compression dictionary in the decompression cache; decompress the received UDC compressed data package through the decompression 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 the remaining positions are supplemented with set values; wherein the remaining positions 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 middle N bits of the target compression dictionary are stored in the decompression cache, where N is the decompression fast Take the capacity.

可選的,該處理器200還用於:按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;若快取校驗失敗,則返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, the processor 200 is further configured to: select an unused compression dictionary with the highest priority order as the target compression dictionary according to the priority order of the compression dictionary; before decompressing the received UDC compressed data package through the decompression cache , Perform cache verification according to the received UDC compressed data package, and determine that the cache verification is successful; if the cache verification fails, it will return to select an unused compression dictionary with the highest priority according to the compression dictionary priority order as The steps 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 a compression dictionary for sending and use for the terminal; and use the compression dictionary configured for 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 package through the decompression cache, according to the received The UDC compressed data package is cached, and the cache check is determined to be successful; 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 pair the received information through the decompression cache UDC compresses the data package for decompression operation.

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

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

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該處理器還用於:在確定壓縮快取和解壓快取不同步後,通知該終端進行快取重定。 Optionally, the first UDC compressed data package is the first UDC compressed data package after the compression cache reset; the processor is also used to: notify after determining that the compression cache and decompression cache are out of sync The terminal performs cache resetting.

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

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

可選的,該壓縮字典包括運營商自訂的壓縮字典; 該處理器200還用於:通過多播、廣播和單播中的部分或全部方式,為終端配置該運營商自訂的壓縮字典。 Optionally, the compression dictionary includes a compression dictionary customized by the operator; The processor 200 is further configured to configure a compression dictionary customized by the operator for the terminal through 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: a processor 300 is responsible for managing the bus architecture and general processing, and a memory 301 can store data used by the processor 300 when performing operations. The transceiver 302 is used to receive and transmit data under the control of the processor 300.

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

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

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

可選的,該處理器300具體用於:若壓縮快取的容量大於目標壓縮字典,則將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 Optionally, the processor 300 is specifically configured to: if the capacity of the compression cache is greater than the target compression dictionary, store the target compression dictionary in the compression cache, and supplement the set values in the remaining positions; wherein the remaining positions include the compression cache The 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 the middle N bits of the target compression dictionary are stored in the compression cache, where N is the decompression 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 priority order of the currently used compression dictionary.

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

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

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

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

可選的,該處理器300還用於:將字典支援能力資訊發送給該網路側設備。 Optionally, the processor 300 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 it supports a standard compression dictionary; whether it supports an operator-customized compression dictionary; and supports detailed information about an operator-customized compression dictionary.

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

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

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

可選的,該處理模組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 supplement the set values in the remaining positions; wherein the remaining positions include the decompression cache Take the first and/or last; 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 middle N bits of the target compression dictionary in the decompression cache, where N is decompression The capacity of the cache.

可選的,該處理模組400還用於:按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;該解壓模組401還用於:通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;若快取校驗失敗,則觸發處理模組400執行按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, the processing module 400 is also used to select an unused compression dictionary with the highest priority as the target compression dictionary according to the priority order of the compression dictionary; the decompression module 401 is also used to: decompress the cache Before the UDC compressed data package is decompressed, perform cache verification according to the received UDC compressed data package, and determine that the cache verification is successful; if the cache verification fails, trigger the processing module 400 to execute the compression dictionary The priority order selects an unused compression dictionary with the highest priority as the target compression dictionary step, until the cache verification 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 for sending and use for the terminal; and use the compression dictionary configured for the terminal as the target compression dictionary.

可選的,該解壓模組401還用於:通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;若快取校驗失敗,則觸發處理模組400按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 Optionally, the decompression module 401 is also used for: before decompressing the received UDC compressed data package by decompressing the cache, perform cache verification according to the received UDC compressed data package, and determine the cache verification Success; if the cache verification fails, the processing module 400 is triggered to select 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 store the preset filling information in the decompression cache if there is no unused compression dictionary after the cache verification of the decompression module 401 fails.

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

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

可選的,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該解壓模組401還用於:在確定壓縮快取和解壓快取不同步後,通知該終端進行快取重定。 Optionally, the first UDC compressed data package is the first UDC compressed data package after compression cache reset; the decompression module 401 is also used to: after determining that the compression cache and decompression cache are out of sync To notify the terminal to reset the cache.

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

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

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

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

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

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

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

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

可選的,該快取模組500還用於:若沒有該網路側設備配置的壓縮字典,則按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典。 Optionally, the cache module 500 is also used to: if there is no compression dictionary configured by the network side device, according to the priority order of the compression dictionary currently in use, the compression dictionary with the highest priority order is used as the target compression dictionary or will not be high The compression dictionary in 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 also used to store preset filling information in the compression 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 the header of the UDC compressed data package.

可選的,該發送模組502還用於:將字典支援能力資訊發送給該網路側設備。 Optionally, the sending module 502 is also used 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 customized compression dictionary; support the detailed information of the operator's customized compression dictionary.

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

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

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

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

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

如圖6所示,本發明實施例網路側設備進行資料接收的方法包括:步驟600、網路側設備將目標壓縮字典存儲到解壓快取中;步驟601、該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 As shown in FIG. 6, the method for receiving data by a 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 Decompress the UDC compressed data package.

可選的,該網路側設備將目標壓縮字典存儲到解壓快取中,包括:若解壓快取的容量大於目標壓縮字典,則該網路側設備將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓 快取最前面和/或最後面;或若解壓快取的容量不大於目標壓縮字典,則該網路側設備將目標壓縮字典前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 locations Supplement the set value; the remaining positions include the decompression The front and/or the last of the cache; 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 middle 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 selects an unused compression dictionary with the highest priority 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 decompressing the cache, it also includes: the network-side device performs a cache verification based on the received UDC compressed data packet, and determines that the cache verification is successful.

該方法還包括:若快取校驗失敗,則該網路側設備返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 The method also includes: if the cache check fails, the network side device returns to the step of selecting an unused compression dictionary with the highest priority as the target compression dictionary according to the priority order of the compression dictionary, until the cache check succeeds or fails 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 will 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, it also includes: The network side device configures the compression dictionary used for transmission for the terminal; the network side device uses the compression dictionary configured for the terminal as the target compression dictionary.

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

該方法還包括:若快取校驗失敗,則該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 The method also includes: if the cache verification fails, the network side device 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.

可選的,該方法還包括:在快取校驗失敗後,若沒有未使用的壓縮字典,則該網路側設備將預設填充資訊存儲到解壓快取中,並通過解壓快取對收到的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 it through the decompression cache pair Decompress the UDC compressed data package.

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

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

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

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

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

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

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

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

可選的,該終端將目標壓縮字典存儲到壓縮快取中,包括:若壓縮快取的容量大於目標壓縮字典,則該終端將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則該終端將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 Optionally, the terminal storing the target compression dictionary in the compression cache includes: 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 are supplemented with set values; The remaining positions include the front and/or the back of the compressed cache; or if the capacity of the compressed cache is not greater than the target compression dictionary, the terminal will set the first N bits or the last N bits or the middle N bits of the target compression dictionary Meta is stored in the compressed cache, and N is the capacity of the decompressed cache.

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

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

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

可選的,該終端將目標壓縮字典存儲到壓縮快取中之後,發送該UDC壓縮資料包之前,還包括:該終端將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 Optionally, after the terminal stores the target compression dictionary in the compression cache and before sending the UDC compressed data package, the method further includes: the terminal places 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 compression cache, the method further includes: the terminal sends dictionary support capability information to the network side device.

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

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

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

以上參照示出根據本發明實施例的方法、裝置(系統)和/或電腦程式產品的框圖和/或流程圖描述本發明。應理解,可以通過電腦程 式指令來實現框圖和/或流程圖示圖的一個塊以及框圖和/或流程圖示圖的塊的組合。可以將這些電腦程式指令提供給通用電腦、專用電腦的處理器和/或其它可程式設計資料處理裝置,以產生機器,使得經由電腦處理器和/或其它可程式設計資料處理裝置執行的指令創建用於實現框圖和/或流程圖塊中所指定的功能/動作的方法。 The present invention is described above with reference to block diagrams and/or flowcharts showing methods, devices (systems) and/or computer program products according to embodiments of the present invention. It should be understood that Type instructions to implement one block of the block diagram and/or flowchart diagram and a combination of the blocks in the block diagram and/or flowchart diagram. These computer program instructions can be provided to processors of general-purpose computers, special-purpose computers, and/or other programmable data processing devices to generate machines, so that instructions executed by the computer processor and/or other programmable data processing devices are created A method used to implement the functions/actions specified in the block diagrams and/or flowchart blocks.

相應地,還可以用硬體和/或軟體(包括固件、駐留軟體、微碼等)來實施本發明。更進一步地,本發明可以採取電腦可使用或電腦可讀存儲介質上的電腦程式產品的形式,其具有在介質中實現的電腦可使用或電腦可讀程式碼,以由指令執行系統來使用或結合指令執行系統而使用。在本發明上下文中,電腦可使用或電腦可讀介質可以是任意介質,其可以包含、存儲、通信、傳輸、或傳送程式,以由指令執行系統、裝置或設備使用,或結合指令執行系統、裝置或設備使用。 Correspondingly, hardware and/or software (including firmware, resident software, microcode, etc.) can also be used to implement the present invention. Furthermore, the present invention may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium for use by an 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, transmit, or transmit a program for use by an instruction execution system, device, or device, or in combination with an instruction execution system, Device or equipment use.

顯然,本領域的技術人員可以對本發明進行各種改動和變型而不脫離本發明的精神和範圍。這樣,倘若本發明的這些修改和變型屬於本發明申請專利範圍及其等同技術的範圍之內,則本發明也意圖包含這些改動和變型在內。 Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the patent application of the present invention and the equivalent technology, the present invention also intends to include these modifications and variations.

600~601‧‧‧步驟 600~601‧‧‧Step

Claims (25)

一種進行資料傳輸的方法,其特徵在於,該方法包括:網路側設備將目標壓縮字典存儲到解壓快取中;該網路側設備通過解壓快取對收到的上行資料壓縮UDC壓縮資料包進行解壓操作;其中,該網路側設備將目標壓縮字典存儲到解壓快取中,包括:若解壓快取的容量大於目標壓縮字典,則該網路側設備將目標壓縮字典存儲到解壓快取中,其餘位置補充設定值;其中該其餘位置包括該解壓快取最前面和/或最後面;或若解壓快取的容量不大於目標壓縮字典,則該網路側設備將目標壓縮字典前N位元或後N位元或中間N位元存儲到解壓快取,N為解壓快取的容量。 A method for data transmission, characterized in that the method includes: the network side device stores the target compression dictionary in a decompression cache; the network side device decompresses the received uplink data compression UDC compressed data package through the decompression cache Operation; where 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 locations Supplementary settings; where the remaining positions include the front and/or back of the decompression cache; or if the capacity of the decompression cache is not greater than the target compression dictionary, the network side device will set the first N bits or the last N bits of the target compression dictionary Bits or the middle N bits are stored in the decompression cache, and N is the capacity of the decompression cache. 如請求項1所述的進行資料傳輸的方法,其中,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典;該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;該方法還包括:若快取校驗失敗,則該網路側設備返回按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典的步驟,直到快取校驗成功或沒有未使用的壓縮字典。 The method for 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 selects an unused and prioritized one according to the priority order of the compression dictionary The compression dictionary with the highest order is used as the target compression dictionary; before the network side device decompresses the received UDC compressed data package through the decompression cache, it also includes: the network side device performs cache calibration according to the received UDC compressed data package The method also includes: if the cache verification fails, the network side device returns to select an unused compression dictionary with the highest priority order as the target compression dictionary according to the compression dictionary priority order. Steps until the cache check succeeds or there is no unused compression dictionary. 如請求項1所述的進行資料傳輸的方法,其中,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括: 若該網路側設備接收到的UDC壓縮資料包的頭部包括壓縮字典標識,則該網路側設備將該壓縮字典標識對應的壓縮字典作為目標壓縮字典。 The method for 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: If the header of the UDC compressed data packet received by the network side device includes a compression dictionary identifier, the network side device uses the compression dictionary corresponding to the compression dictionary identifier as the target compression dictionary. 如請求項1所述的進行資料傳輸的方法,其中,該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備為該終端配置發送使用的壓縮字典;該網路側設備將配置給終端的壓縮字典作為目標壓縮字典。 The method for 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 configures a compression dictionary for transmission for the terminal; The roadside device uses the compression dictionary configured for the terminal as the target compression dictionary. 如請求項4所述的進行資料傳輸的方法,其中,該網路側設備通過解壓快取對收到的UDC壓縮資料包進行解壓操作之前,還包括:該網路側設備根據收到的UDC壓縮資料包進行快取校驗,且確定快取校驗成功;該方法還包括:若快取校驗失敗,則該網路側設備按照壓縮字典優先順序選擇一個未使用的且優先順序最高的壓縮字典作為目標壓縮字典,直到快取校驗成功或沒有未使用的壓縮字典。 The method for data transmission according to claim 4, wherein, before the network side device decompresses the received UDC compressed data package through the decompression cache, it further includes: the network side device compresses the data according to the received UDC The packet is cached and verified, and it is determined that the cache verification is successful; the method also includes: if the cache verification fails, the network side device selects an unused and highest priority compression dictionary as the compression dictionary priority order The target compression dictionary until the cache check succeeds or there is no unused compression dictionary. 如請求項2所述的進行資料傳輸的方法,其中,該方法還包括:在快取校驗失敗後,若沒有未使用的壓縮字典,則該網路側設備將預設填充資訊存儲到解壓快取中,並通過解壓快取對收到的UDC壓縮資料包進行解壓操作。 The method for data transmission according to claim 2, wherein the method further includes: after the cache check fails, if there is no unused compression dictionary, the network side device stores the preset filling information in the decompression fast Fetch, and decompress the received UDC compressed data package by decompressing the cache. 如請求項4所述的進行資料傳輸的方法,其中,該網路側設備為該終端配置發送使用的壓縮字典,包括:該網路側設備根據該終端的字典支援能力資訊和/或業務資訊,為該終端配置發送使用的壓縮字典。 The method for data transmission according to claim 4, wherein the network side device configures a compression dictionary for the terminal to be used for sending, including: the network side device according to the dictionary support capability information and/or business information of the terminal, is The terminal configures the compression dictionary used for sending. 如請求項1所述的進行資料傳輸的方法,其中,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個UDC壓縮資料包。 The method for data transmission according to claim 1, wherein the UDC compressed data package is the first UDC compressed data package initially transmitted or the first UDC compressed data package after compression cache reset. 如請求項8所述的進行資料傳輸的方法,其中,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包; 該網路側設備將目標壓縮字典存儲到解壓快取中之前,還包括:該網路側設備在確定壓縮快取和解壓快取不同步後,通知該終端進行快取重定。 The method for data transmission according to claim 8, wherein the first UDC compressed data package is the first UDC compressed data package after compression cache reset; Before the network-side device stores the target compression dictionary in the decompression cache, it also includes: after the network-side device determines that the compression cache and the decompression cache are out of sync, notifying the terminal to perform a cache reset. 如請求項9所述的進行資料傳輸的方法,其中,該網路側設備通知該終端進行快取重定之前,還包括:該網路側設備在該通知中攜帶用於通知終端配置發送使用的壓縮字典或預設填充資訊的指示資訊。 The method for data transmission according to claim 9, wherein, before the network-side device notifies the terminal to perform cache reconfiguration, the method further includes: the network-side device carries a compression dictionary used to notify the terminal to configure and send in the notification Or preset instructions to fill in information. 如請求項1所述的進行資料傳輸的方法,其中,該壓縮字典包括標準壓縮字典和/或運營商自訂的壓縮字典。 The method for data transmission according to claim 1, wherein the compression dictionary includes a standard compression dictionary and/or a compression dictionary customized by an operator. 如請求項11所述的進行資料傳輸的方法,其中,該壓縮字典包括運營商自訂的壓縮字典;該方法還包括:該網路側設備通過多播、廣播和單播中的部分或全部方式,為終端配置該運營商自訂的壓縮字典。 The method for data transmission according to claim 11, wherein the compression dictionary includes a compression dictionary customized by an operator; the method further includes: the network side device uses some or all of multicast, broadcast, and unicast , Configure the compression dictionary customized by the operator for the terminal. 一種進行資料傳輸的方法,其特徵在於,該方法包括:終端將目標壓縮字典存儲到壓縮快取中;該終端通過壓縮快取對需要發送的資料包進行壓縮得到UDC壓縮資料包;該終端發送該UDC壓縮資料包;其中,該終端將目標壓縮字典存儲到壓縮快取中,包括:若壓縮快取的容量大於目標壓縮字典,則該終端將目標壓縮字典存儲到壓縮快取中,其餘位置補充設定值;其中該其餘位置包括該壓縮快取最前面和/或最後面;或若壓縮快取的容量不大於目標壓縮字典,則該終端將目標壓縮字典前N位元或後N位元或中間N位元存儲到壓縮快取,N為解壓快取的容量。 A method for data transmission, characterized in that the method includes: the terminal stores the target compression dictionary in a compression cache; the terminal compresses the data packet that needs to be sent through the compression cache to obtain the UDC compressed data package; the terminal sends The UDC compressed data package; where 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 locations Supplementary settings; where the remaining positions include the front and/or back of the compression cache; or if the capacity of the compression cache is not greater than the target compression dictionary, the terminal will set the first N bits or the last N bits of the target compression dictionary Or the middle N bits are stored in the compression cache, and N is the capacity of the decompression cache. 如請求項13所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括: 該終端按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典。 The method for data transmission according to claim 13, wherein, before the terminal stores the target compression dictionary in the compression cache, the method further includes: The terminal uses the compression dictionary with the highest priority as the target compression dictionary according to the priority of the currently used compression dictionary. 如請求項13所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端將該網路側設備配置的發送使用的壓縮字典作為目標壓縮字典。 The method for data transmission according to claim 13, wherein, before the terminal stores the target compression dictionary in the compression cache, the method further includes: the terminal uses the compression dictionary configured for transmission by the network side device as the target compression dictionary . 如請求項15所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:若該終端沒有該網路側設備配置的壓縮字典,則按照當前使用的壓縮字典優先順序,將優先順序最高的壓縮字典作為目標壓縮字典或將不高於網路側設備配置的壓縮字典的優先順序的壓縮字典作為目標壓縮字典。 The method for data transmission according to claim 15, 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, follow the currently used compression dictionary The priority of the compression dictionary is the compression dictionary with the highest priority as the target compression dictionary or the compression dictionary not higher than the priority of the compression dictionary configured on the network side device as the target compression dictionary. 如請求項14所述的進行資料傳輸的方法,其中,該方法還包括:若該終端沒有該網路側設備配置的壓縮字典,則將預設填充資訊存儲到壓縮快取中。 The method for data transmission according to claim 14, wherein the method further includes: if the terminal does not have a compression dictionary configured by the network side device, storing the preset filling information in the compression cache. 如請求項13所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之後,發送該UDC壓縮資料包之前,還包括:該終端將該目標壓縮字典對應的壓縮字典標識置於該UDC壓縮資料包的頭部。 The method for data transmission according to claim 13, wherein after the terminal stores the target compression dictionary in the compression cache, before sending the UDC compressed data package, the method further includes: the terminal compresses the target compression dictionary The dictionary identifier is placed at the head of the UDC compressed data package. 如請求項13所述的進行資料傳輸的方法,其中,該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端將字典支援能力資訊發送給該網路側設備。 The method for data transmission according to claim 13, wherein, before the terminal stores the target compression dictionary in the compression cache, the method further includes: the terminal sends dictionary support capability information to the network side device. 如請求項19所述的進行資料傳輸的方法,其中,該字典支援能力資訊包括下列中的部分或全部:是否支援標準壓縮字典;是否支援運營商自訂壓縮字典;支援運營商自訂的壓縮字典的詳細資訊。 The method for data transmission according to claim 19, wherein the dictionary support capability information includes some or all of the following: whether to support standard compression dictionaries; whether to support operator-defined compression dictionaries; support operator-defined compression Detailed information about the dictionary. 如請求項13所述的進行資料傳輸的方法,其中,該UDC壓縮資料包是初始傳輸的第一個UDC壓縮資料包或進行壓縮快取重置後的第一個 UDC壓縮資料包。 The method for data transmission according to claim 13, wherein the UDC compressed data packet is the first UDC compressed data packet initially transmitted or the first after compressed cache reset UDC compresses the data package. 如請求項21所述的進行資料傳輸的方法,其中,該第一個UDC壓縮資料包是進行壓縮快取重置後的第一個UDC壓縮資料包;該終端將目標壓縮字典存儲到壓縮快取中之前,還包括:該終端接收到該網路側設備通知的快取重定指示;該終端發送該UDC壓縮資料包之前,還包括:該終端在該UDC壓縮資料包的頭部攜帶重定指示和/或該目標壓縮字典對應的壓縮字典標識。 The method for data transmission according to claim 21, wherein, the first UDC compressed data package is the first UDC compressed data package after the compression cache reset; the terminal stores the target compression dictionary in the compression cache Before fetching, it also includes: the terminal receives a cache reset instruction notified by the network side device; before the terminal sends the UDC compressed data packet, it also includes: the terminal carries a reset instruction and a reset instruction in the header of the UDC compressed data packet. /Or the compression dictionary identifier corresponding to the target compression dictionary. 一種進行資料傳輸的網路側設備,其特徵在於,該網路側設備包括:處理器、記憶體和收發機;處理器,用於讀取記憶體中的程式並執行如請求項1至12中任一項所述的進行資料傳輸的方法的步驟。 A network-side device for data transmission, characterized in that the network-side device includes: a processor, a memory, and a transceiver; the processor is used to read the program in the memory and execute any of the request items 1 to 12 One of the steps of the method for data transmission. 一種進行資料傳輸的終端,其特徵在於,該終端包括:處理器、記憶體和收發機;處理器,用於讀取記憶體中的程式並執行如請求項13至22中任一項所述的進行資料傳輸的方法的步驟。 A terminal for data transmission, characterized in that the terminal includes: a processor, a memory, and a transceiver; the processor is used to read the program in the memory and execute the program as described in any one of request items 13 to 22 The steps of the method for data transmission. 一種快取同步異常設備可讀存儲介質,其特徵在於,包括程式碼,當該程式碼在計算設備上運行時,該程式碼用於使該計算設備執行請求項1至12中任一項所述的進行資料傳輸的方法的步驟或請求項13至22中任一項所述的進行資料傳輸的方法的步驟。 A readable storage medium for a cache synchronization abnormal device, which is characterized by comprising a program code, when the program code runs on a computing device, the program code is used to make the computing device execute any one of request items 1 to 12 The steps of the method for data transmission described above or the steps of the method for data transmission described in any one of request items 13 to 22.
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.2 2017-11-27
CN201711208102.2A CN109842653B (en) 2017-11-27 2017-11-27 Method and equipment for data transmission
??201711208102.2 2017-11-27

Publications (2)

Publication Number Publication Date
TW201927020A TW201927020A (en) 2019-07-01
TWI701955B true 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
CN115696312A (en) * 2019-08-14 2023-02-03 华为技术有限公司 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

Citations (7)

* 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
TW201012079A (en) * 2008-09-12 2010-03-16 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
CN103326732A (en) * 2013-05-10 2013-09-25 华为技术有限公司 Method for packing data, method for unpacking data, coder and decoder
CN103347047A (en) * 2013-06-07 2013-10-09 吴昊 Lossless data compression method based on online dictionaries
TW201421916A (en) * 2012-11-26 2014-06-01 Inst Information Industry Data processing apparatus and method
CN105339924A (en) * 2013-05-22 2016-02-17 亚马逊科技公司 Efficient data compression and analysis as a service
CN107302585A (en) * 2017-07-11 2017-10-27 电信科学技术研究院 A kind of preset dictionary synchronous method and equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
WO2014110773A1 (en) * 2013-01-17 2014-07-24 华为技术有限公司 Data packet processing method and device
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

Patent Citations (7)

* 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
TW201012079A (en) * 2008-09-12 2010-03-16 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
TW201421916A (en) * 2012-11-26 2014-06-01 Inst Information Industry Data processing apparatus and method
CN103326732A (en) * 2013-05-10 2013-09-25 华为技术有限公司 Method for packing data, method for unpacking data, coder and decoder
CN105339924A (en) * 2013-05-22 2016-02-17 亚马逊科技公司 Efficient data compression and analysis as a service
CN103347047A (en) * 2013-06-07 2013-10-09 吴昊 Lossless data compression method based on online dictionaries
CN107302585A (en) * 2017-07-11 2017-10-27 电信科学技术研究院 A kind of preset dictionary synchronous method and equipment

Also Published As

Publication number Publication date
CN109842653A (en) 2019-06-04
CN109842653B (en) 2022-04-01
WO2019100937A1 (en) 2019-05-31
TW201927020A (en) 2019-07-01

Similar Documents

Publication Publication Date Title
TWI701955B (en) Method and equipment for data transmission
US20230041734A1 (en) Wireless Communication Method and Device
US11330493B2 (en) Transmission control method, apparatus, and system
KR20190099308A (en) Communication methods, access network devices, and terminals
CN105282803A (en) Communication interface and information transfer method and system based on the same
CN114125821A (en) Method and device for reporting user equipment capability information
US11576030B2 (en) User plane gateway updating method and apparatus
US10405213B2 (en) Called service processing method, mobility management entity, and home subscriber server
KR101982425B1 (en) Method, apparatus and system
US10448362B2 (en) Paging message sending method and device
CN111510419A (en) Data compression method and base station
KR20210002544A (en) Method, equipment and apparatus for updating short message service capability
CN110875827A (en) Network slice management method and device
US20130150008A1 (en) Method and apparatus for signaling trace
CN111436161B (en) Session management method and SMF entity
CN109818901B (en) Method, device and system for determining message header compression mechanism
JP2019530992A (en) Communication method and communication apparatus
US20230188973A1 (en) Method and apparatus for signalling network coding capabilities
RU2742721C1 (en) Method of processing paging failures, network access device and core network device
WO2019153367A1 (en) Wireless communication method, terminal device and network device
WO2019153366A1 (en) Wireless communication method, network device, and terminal device
CN111247837B (en) Method and device for binding data stream and computer storage medium
CN111543030A (en) Information indication method and device and computer storage medium