Text compression encoding method and device for large language model and computer device
By using a text compression encoding method for large language models, data is collected and segmented, candidate encoding sequences are generated, and numbering and encoding packaging are performed. This solves the problems of high cost, limited window, and cache invalidation when large language models process highly redundant data, and achieves a synergistic improvement in cost, efficiency, and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING RISING NETWORK SECURITY TECH CO LTD
- Filing Date
- 2026-03-26
- Publication Date
- 2026-07-14
AI Technical Summary
Large language models face challenges such as high token costs, limited windows, and cache invalidation when processing highly redundant log data. Existing compression technologies suffer from lossy compression and wasted computing resources, failing to effectively reduce input costs.
By collecting input data, performing extraction and segmentation processing, generating a candidate coding sequence list, assigning numbers and packaging codes, ensuring lossless data compression and reusing historical symbols, a rigorous closed-loop process is formed to avoid redundant calculations and ambiguity.
It reduces the input cost of large language models, improves data compression efficiency and accuracy, meets the data originality requirements of different scenarios, and solves the triangular problem of high cost, limited window and cache invalidation.
Smart Images

Figure CN122394564A_ABST