Data processing method and device, electronic equipment and storage medium

By performing data type conversion and storage optimization for initial data in software development, the high memory overhead problem of general container libraries in memory management is solved, and memory savings and system performance are improved.

CN119690589AActive Publication Date: 2025-03-25BEIJING BAIDU NETCOM SCI & TECH CO LTD
8 Cites 0 Cited by

Patent Information

Application Number
CN202411848658.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-03-25
Estimated Expiration
2044-12-13

AI Technical Summary

Technical Problem

During the software development process, when using a general container library to manage memory and data, there is a high memory overhead, especially in data scenarios with low update frequency but frequent use, which leads to increased system resource consumption and affects performance.

Method used

The converted data is obtained by determining the target type from multiple candidate data types based on the data value for the initial data loaded into the target container, and converting the initial data from the initial type to the target type. The data length of the converted data is smaller than the data length of the initial data, and in response to detecting that the memory area capacity difference determined according to the target type meets the predetermined conditions, the converted data is stored in an available memory area other than the basic memory area.

Benefits of technology

It achieves the effect of saving memory, reduces the memory space required to store data, optimizes memory usage, improves cache hit rate, reduces memory waste, and improves system performance and stability.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides a data processing method and device, electronic equipment and a storage medium, relates to the technical field of data processing, in particular to the field of memory compression and the like, and can be applied to an intelligent recommendation scene. According to the specific implementation scheme, for initial data loaded into a target container, a target type is determined from a plurality of candidate data types according to a data value of the initial data; wherein the target container comprises a basic storage area used for storing the mark and an extended storage area used for storing the initial data, and the mark represents the address of the initial data in the extended storage area; the method comprises the following steps: converting initial data from an initial type to a target type to obtain converted data; the data length of the converted data is smaller than that of the initial data; and in response to detection that the capacity difference between the first demand storage area and the basic storage area determined according to the target type meets a first preset condition, storing the converted data to an available storage area except the basic storage area.
Need to check novelty before this filing date? Find Prior Art