US 11,809,807 B1
Method and device for processing data overflow in decompression process
Shuqing Li, Shandong (CN); Jiang Wang, Shandong (CN); and Huajin Sun, Shandong (CN)
Assigned to SHANDONG YINGXIN COMPUTER TECHNOLOGIES CO., LTD., Shandong (CN)
Appl. No. 18/039,478
Filed by SHANDONG YINGXIN COMPUTER TECHNOLOGIES CO., LTD., Shandong (CN)
PCT Filed Jan. 26, 2022, PCT No. PCT/CN2022/074067
§ 371(c)(1), (2) Date May 30, 2023,
PCT Pub. No. WO2022/174731, PCT Pub. Date Aug. 25, 2022.
Claims priority of application No. 202110197520.6 (CN), filed on Feb. 22, 2021.
Int. Cl. H03M 7/00 (2006.01); G06F 40/126 (2020.01); H03M 7/30 (2006.01)
CPC G06F 40/126 (2020.01) [H03M 7/6005 (2013.01)] 20 Claims
OG exemplary drawing
 
13. A device for processing data overflow in a decompression process, wherein the device comprises:
a detecting module, wherein the detecting module is configured to decompress an original text, and detect whether a data overflow event occurs in the decompression process;
a closing module, wherein the closing module is configured to, in response to detecting the data overflow event, store first data obtained by decompression in a host cache into a target memory, and close a data read-in port of a decoding engine;
a storage module, wherein the storage module is configured to decompress data which is being decompressed in the decoding engine to obtain second data, and store the second data into a cache of the decoding engine;
a calculation module, wherein the calculation module is configured to calculate a position of the decompressed data in the original text;
a decompression module, wherein the decompression module is configured to obtain, on the basis of the position, data which is not decompressed in the original text, re-decompress the data which is not decompressed to obtain third data, and store the second data and the third data into the target memory; and
a splicing module, wherein the splicing module is configured to splice the first data, the second data, and the third data to obtain complete decompressed data.