Multi-dimensional commercial management information dynamic storage and retrieval system

Through the multi-dimensional business management information dynamic storage and retrieval system, the problems of low memory resource utilization and low retrieval efficiency in the business management information storage system are solved, dynamic memory management and efficient retrieval are realized, and the system's memory resource utilization and Search speed.

CN119025599AInactive Publication Date: 2024-11-26SHENZHEN ZHONGTIAN YUNLIAN TECH DEV CO LTD

Patent Information

Application Number
CN202411512907.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing business management information storage system cannot dynamically allocate and free up memory space, resulting in low memory resource utilization and low retrieval efficiency. Especially when the memory space is occupied, it is difficult to quickly retrieve the required information.

Method used

A multi-dimensional business management information dynamic storage and retrieval system was designed, including data collection, dimension matching, index creation, data retrieval, memory allocation and memory release modules. Data preprocessing is carried out through ETL tools, and index creation is created to support rapid retrieval. And dynamically manage memory space through memory allocation and freeing modules, using frequency monitoring and memory sorting to improve memory utilization efficiency.

Benefits of technology

It realizes dynamic allocation and freeing of memory space according to data storage needs, improves memory resource utilization and retrieval speed, ensures efficient and accurate information retrieval, and avoids memory waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119025599A_ABST
    Figure CN119025599A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-dimensional business management information dynamic storage and retrieval system, which relates to the technical field of business management and comprises a data acquisition module, a dimension matching module, an index creation module, a data retrieval module, a memory allocation module, a memory release module and a frequency monitoring module. According to the multi-dimensional business management information dynamic storage and retrieval system, the memory space can be dynamically distributed and released according to changes of data storage requirements, and when the storage space is not needed any more, the memory space can be dynamically recycled and redistributed to other programs or data for use. Besides, dimension division is carried out on the business management information, index design is carried out on the business management information of different dimensions, the retrieval speed and accuracy can be improved, dynamic storage is matched, smooth execution of a retrieval program is further guaranteed, and therefore the purpose of efficient and accurate retrieval is achieved. And the user can quickly retrieve the target information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of business management technology, and in particular to a multi-dimensional business management information dynamic storage and retrieval system. Background Art

[0002] Business management information refers to various information generated, collected and used to guide and manage business operations in business activities, including but not limited to business intelligence, product information, service information, financial and securities information, trading information and various business activity information. This information is an important basis for business decision-making, market analysis, competitive strategy formulation, operation management and customer service.

[0003] In traditional business management, business management information is recorded in paper documents, such as sales records, financial statements, market analysis reports, etc. These documents need to be manually classified, filed and retrieved, which is inefficient and prone to errors. Therefore, with the continuous development of information technology, storage and retrieval systems have gradually replaced traditional business management information storage and management methods with their advantages of high efficiency, accuracy, low cost, easy sharing and collaboration, and will play an increasingly important role in the field of business management.

[0004] However, in actual use, the existing system usually allocates storage space when the program is written, and cannot dynamically allocate and release memory space according to changes in data storage needs, thus failing to meet the actual needs of program operation. In particular, when the storage space is no longer needed, it cannot be recovered and reallocated to other programs or data in a timely manner, resulting in low memory resource utilization and easy waste. In addition, since business management information often involves multiple aspects, the existing system retrieval methods are usually not targeted, resulting in low retrieval efficiency. In particular, when the memory space is occupied, the retrieval program is difficult to run, making it inconvenient for users to quickly retrieve the required information.

[0005] Therefore, there is an urgent need to improve this shortcoming. The present invention studies and improves the existing technology and its shortcomings, and provides a multi-dimensional business management information dynamic storage and retrieval system. Summary of the invention

[0006] The purpose of the present invention is to provide a multi-dimensional business management information dynamic storage and retrieval system to solve the problems raised in the above background technology.

[0007] To achieve the above objectives, the present invention provides the following technical solution: a multi-dimensional business management information dynamic storage and retrieval system, comprising: Data collection module: responsible for collecting business management information from various sources (such as databases, files, APIs, etc.), and performing pre-processing such as cleaning, sorting, and conversion to ensure that the quality and format of the data meet the requirements of storage and retrieval; Dimension matching module: responsible for dimension matching of collected business management information and determining information dimensions based on the content of business management information; Index creation module: responsible for creating indexes for stored data to support fast retrieval operations; Data retrieval module: responsible for providing a user-friendly retrieval interface or API, allowing users to search for information based on query conditions. After receiving the user's query request, it uses the index structure to locate the relevant data and returns the query results to the user. Memory allocation module: responsible for dynamically allocating memory space according to changes in data storage requirements; Memory release module: responsible for dynamically releasing memory space according to changes in data storage requirements; Frequency monitoring module: responsible for real-time statistics of the number of triggers of the memory allocation module and the memory release module to monitor the frequency of memory allocation and release operations. When the program continues to run and frequently performs memory allocation and release operations, the heap memory manager is used to organize the memory to improve memory utilization efficiency.

[0008] Furthermore, the data acquisition module extracts data from different data sources through ETL tools, performs necessary conversion processing, and finally loads it into the system; the functions of the ETL tool include: Data extraction (Extract): Extract useful data from the source system; Data transformation: clean, transform, integrate and process the extracted data; Data loading: Loading the processed data into the target system (such as a data warehouse, data lake, or other analytical platform).

[0009] Furthermore, the data cleaning in the preprocessing work is specifically performed by the following data cleaning algorithm: 1) Missing value processing algorithms: ignoring method (directly ignoring data records or attributes with missing values), filling method (using statistics such as mean, median, mode, etc. to fill missing values, or using classifiers or clustering algorithms to predict or infer missing values); 2) Noise data processing algorithms: binning method (dividing the data set into several boxes (or intervals), and applying smoothing techniques to the data in each box, including box mean smoothing, box median smoothing, and box boundary smoothing, to effectively remove noise data and improve data smoothness), regression method (fitting the data using a regression model, and replacing the noise values ​​in the original data with the model prediction values); 3) Duplicate record processing algorithms: sorting and comparison method (first sort the data set, then compare adjacent records one by one; if the values ​​of two records on key attributes are the same or similar, they are considered to be duplicate records), clustering-based algorithm (treat the data set as a collection of objects, and use clustering algorithms to group data objects, and objects in the same cluster are considered to be similar or duplicate); 4) Attribute value cleaning algorithms: formatting and standardization (converting attribute values ​​into a unified format and standard), error detection and correction (using statistical analysis, machine learning, or rule engines to detect and correct errors in attribute values).

[0010] Furthermore, the data conversion in the preprocessing work specifically includes: Data type conversion: based on the essential characteristics and objectives of the data, convert data from one data type to another, such as converting integers to floating-point numbers, converting strings to date types, etc. Data structure conversion: Change the organizational structure of data, such as converting arrays to lists, flattening multidimensional arrays to one-dimensional arrays, converting dictionaries to JSON objects, etc., in order to better organize and process complex data sets; Data layout conversion: adjust the physical layout or arrangement of data, such as converting row data into column data, converting table data into graphical data, etc., in order to optimize data storage and query efficiency; Data format encoding conversion: Converting data from one encoding format to another, such as converting text from ASCII encoding to UTF-8 encoding, is an important means to ensure data compatibility between different systems and platforms.

[0011] Furthermore, the business management information covers various data and information required by the enterprise during its operation, specifically including the following dimensional information: Financial information: used to assess the economic health, profitability, solvency and operational efficiency of an enterprise, and to provide decision support for managers, including the enterprise's financial statements (such as balance sheet, income statement, cash flow statement, etc.), budget execution, cost control data, return on investment (ROI), cash flow status, etc.; Market information: used to help enterprises understand the market environment, identify market opportunities and threats, and formulate and adjust market strategies, including market demand, market size, market share, market trends, competitor dynamics, consumer behavior analysis, market segmentation, etc.; Operational information: used to ensure smooth and efficient business operations, reduce costs, and improve the quality of products and services, including production processes, supply chain management, inventory status, logistics and transportation, production efficiency, quality control, etc.; Human resources information: used to optimize human resources allocation, improve employee satisfaction and loyalty, and enhance the competitiveness of enterprises, including basic employee information, recruitment and training, performance appraisal, salary and benefits, employee relations, talent development planning, etc.; Technical information: used to promote the technological progress and industrial upgrading of enterprises, increase the added value of products and services, and enhance the core competitiveness of enterprises, including technological innovation, product research and development, technology introduction, intellectual property protection, information system construction, etc.; Customer information: used to help enterprises understand customer needs, provide personalized products and services, enhance customer stickiness, and improve customer satisfaction and loyalty, including basic customer information, purchasing behavior, preferences, demand feedback, loyalty, etc.; Brand and marketing information: used to shape and enhance brand image, expand market share, increase brand awareness and reputation, and promote long-term development of the enterprise, including brand positioning, brand image, marketing strategy, sales channels, market promotion, customer feedback, etc.; Risk and compliance information: used to help enterprises identify and assess potential risks, develop risk management strategies, ensure compliance operations, and avoid legal disputes and reputational losses. It includes various risks faced by enterprises (such as market risk, credit risk, operational risk, compliance risk, etc.) and relevant laws, regulations, policy requirements, industry standards, etc.

[0012] Furthermore, the index types created by the index creation module include single-column index, joint index, and full-text index. When creating, the index type is selected based on the characteristics of the business management information of each dimension and the query requirements, and the single-column index, joint index, and full-text index can be used in combination and are not mutually exclusive.

[0013] Furthermore, the data retrieval module sorts and presents the search results according to the user's query requirements and relevance calculation model, and the result sorting adopts multiple algorithms such as PageRank and BM25 to ensure that the most relevant results are presented to the user first. At the same time, it provides result presentation methods including charts, lists, and maps to meet the different needs of users.

[0014] Furthermore, the memory allocation module specifically includes the following submodules: Demand analysis submodule: responsible for analyzing data storage requirements that change with business logic when the program is running, including the creation of new data, modification or deletion of old data, etc.; Allocation function call submodule: responsible for calling the allocation function to dynamically allocate memory space. The function searches and allocates a continuous memory space in the heap according to the memory size requested by the program (specified by parameters), and after the allocation is successful, the function returns a pointer to the starting address of the memory space; Memory usage submodule: responsible for using memory space according to the function processing results. Specifically, the program accesses and operates the allocated memory space through the returned pointer to store and process data.

[0015] Furthermore, the memory release module specifically includes the following submodules: Memory tracking submodule: responsible for tracking the allocated memory space to identify which memory space is no longer needed and can be released, ensuring that the memory space still in use is not accidentally released and that the memory space that should be released is not missed; Release function call submodule: responsible for calling the release function to release the memory space that is no longer needed. The function accepts a pointer to the starting address of the memory space to be released as a parameter and returns the memory space to the operating system or heap memory manager; Memory recovery submodule: responsible for adding the released memory space to the free memory list and waiting for subsequent memory allocation requests.

[0016] Furthermore, the memory arrangement specifically includes: 1) Memory fragmentation (memory fragmentation refers to the phenomenon that in the heap memory, the allocated and unallocated memory blocks are interlaced, resulting in a large number of small, discontinuous free memory blocks that cannot be effectively used): Merge adjacent free memory blocks: When releasing a memory block, if the adjacent memory blocks are also free, merge them into a large free memory block; Compress memory blocks: Compress memory blocks by moving them around, thus eliminating memory fragmentation; 2) Use memory pool technology: pre-allocate a continuous memory area as a memory pool, and allocate and recycle memory blocks from the pool when needed; 3) Memory alignment: Reduce memory fragmentation and improve memory access efficiency by ensuring that memory blocks are aligned according to specific boundaries; 4) Smart pointers: At the programming language level, use smart pointers to automatically manage the memory life cycle to reduce the risk of memory leaks.

[0017] The present invention provides a multi-dimensional business management information dynamic storage and retrieval system, which has the following beneficial effects: The system of the present invention can dynamically allocate and release memory space according to changes in data storage requirements, so as to dynamically allocate storage space to the program according to its actual needs when it is running, and can dynamically recycle and reallocate the storage space to other programs or data when it is no longer needed, thereby making more efficient use of memory resources and avoiding waste. In addition, the present invention divides business management information into dimensions and designs indexes for business management information of different dimensions, which helps to improve retrieval speed and accuracy, and cooperates with dynamic storage to further ensure the smooth execution of the retrieval program, thereby achieving the purpose of efficient and accurate retrieval, and helping users to quickly retrieve target information. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a logic block diagram of a multi-dimensional business management information dynamic storage and retrieval system of the present invention; Figure 2 A schematic diagram of business management information dimensions of a multi-dimensional business management information dynamic storage and retrieval system of the present invention; Figure 3 It is a schematic diagram of the operation flow of a memory allocation module-memory release module of a multi-dimensional business management information dynamic storage and retrieval system of the present invention; Figure 4 The present invention discloses an index design table for business management information of each dimension of a multi-dimensional business management information dynamic storage and retrieval system. DETAILED DESCRIPTION

[0019] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0020] like Figure 1-Figure 4 As shown, a multi-dimensional business management information dynamic storage and retrieval system includes: Data collection module: responsible for collecting business management information from various sources (such as databases, files, APIs, etc.), and performing pre-processing such as cleaning, sorting, and conversion to ensure that the quality and format of the data meet the requirements of storage and retrieval; In this embodiment, the data acquisition module extracts data from different data sources through the ETL tool, performs necessary conversion processing, and finally loads it into the system. The functions of the ETL tool include: Data extraction: Extract useful data from the source system. In this step, you must fully understand and determine the data source and establish a suitable extraction method to ensure that the extracted data is accurate, complete, and secure. Data conversion: Cleaning, converting, integrating and processing the extracted data; this step aims to convert the raw data into a format suitable for subsequent analysis and decision-making; Data loading: Loading the processed data into the target system (such as a data warehouse, data lake, or other analytical platform); In this embodiment, data cleaning in the preprocessing work is performed by the following data cleaning algorithm: 1) Missing value processing algorithms: Ignore method (directly ignore data records or attributes with missing values), fill method (use statistics such as mean, median, mode to fill missing values, or use classifiers such as decision trees, neural networks, or clustering algorithms such as K-means to predict or infer missing values); 2) Noise data processing algorithms: binning method (dividing the data set into several boxes (or intervals), and applying smoothing techniques to the data in each box, including box mean smoothing, box median smoothing, and box boundary smoothing, to effectively remove noise data and improve data smoothness), regression method (fitting the data using a regression model, and replacing the noise values ​​in the original data with the model prediction values); 3) Duplicate record processing algorithms: sorting and comparison method (first sort the data set, then compare adjacent records one by one; if the values ​​of two records on key attributes are the same or similar, that is, they reach the threshold, they are considered to be duplicate records), clustering-based algorithm (treat the data set as a collection of objects, and use clustering algorithms such as K-means and DBSCAN to group data objects, and objects in the same cluster are considered to be similar or duplicated); 4) Attribute value cleaning algorithms: formatting and standardization (converting attribute values ​​into a unified format and standard), error detection and correction (using techniques such as statistical analysis, machine learning, or rule engines to detect and correct errors in attribute values); In this embodiment, the data conversion in the preprocessing work specifically includes: Data type conversion: based on the essential characteristics and objectives of the data, convert data from one data type to another, such as converting integers to floating-point numbers, converting strings to date types, etc. Data structure conversion: Change the organizational structure of data, such as converting arrays to lists, flattening multidimensional arrays to one-dimensional arrays, converting dictionaries to JSON objects, etc., in order to better organize and process complex data sets; Data layout conversion: adjust the physical layout or arrangement of data, such as converting row data into column data, converting table data into graphical data, etc., in order to optimize data storage and query efficiency; Data format encoding conversion: converting data from one encoding format to another, such as converting text from ASCII encoding to UTF-8 encoding, is an important means to ensure data compatibility between different systems and platforms; Dimension matching module: responsible for dimension matching of collected business management information and determining information dimensions based on the content of business management information; In this embodiment, the business management information is specifically divided into the following dimensional information: Financial information: used to assess the economic health, profitability, solvency and operational efficiency of an enterprise, and to provide decision support for managers, including the enterprise's financial statements (such as balance sheet, income statement, cash flow statement, etc.), budget execution, cost control data, return on investment (ROI), cash flow status, etc.; Market information: used to help enterprises understand the market environment, identify market opportunities and threats, and formulate and adjust market strategies, including market demand, market size, market share, market trends, competitor dynamics, consumer behavior analysis, market segmentation, etc.; Operational information: used to ensure smooth and efficient business operations, reduce costs, and improve the quality of products and services, including production processes, supply chain management, inventory status, logistics and transportation, production efficiency, quality control, etc.; Human resources information: used to optimize human resources allocation, improve employee satisfaction and loyalty, and enhance the competitiveness of enterprises, including basic employee information, recruitment and training, performance appraisal, salary and benefits, employee relations, talent development planning, etc.; Technical information: used to promote the technological progress and industrial upgrading of enterprises, increase the added value of products and services, and enhance the core competitiveness of enterprises, including technological innovation, product research and development, technology introduction, intellectual property protection, information system construction, etc.; Customer information: used to help enterprises understand customer needs, provide personalized products and services, enhance customer stickiness, and improve customer satisfaction and loyalty, including basic customer information, purchasing behavior, preferences, demand feedback, loyalty, etc.; Brand and marketing information: used to shape and enhance brand image, expand market share, increase brand awareness and reputation, and promote long-term development of the enterprise, including brand positioning, brand image, marketing strategy, sales channels, market promotion, customer feedback, etc.; Risk and compliance information: used to help enterprises identify and assess potential risks, develop risk management strategies, ensure compliance operations, and avoid legal disputes and reputation losses, including various risks faced by enterprises (such as market risk, credit risk, operational risk, compliance risk, etc.) and relevant laws, regulations, policy requirements, industry standards, etc.; Index creation module: responsible for creating indexes for stored data to support fast retrieval operations; the index types created by the index creation module include single-column index, joint index, and full-text index. When creating, the index type is selected based on the characteristics of each dimension of business management information and query requirements. Single-column index, joint index, and full-text index can be used together and are not mutually exclusive. In this embodiment, the index design of each dimension of business management information is as follows: 1) Financial Information Index type: single column index, joint index; Key fields: financial statement number, accounting period, account code, amount, etc.; Strategy: Create single-column indexes for unique or frequently queried fields such as financial statement number and accounting period; Create joint indexes for complex queries involving multiple fields (such as filtering by account and amount range); Index the text content in financial statements using full-text indexing to support keyword searches; 2) Market information Index type: single column index, full text index; Key fields: market trends, competitor information, customer feedback, etc. Strategy: Create a single-column index for keywords or tags of market trends to facilitate filtering information by tag; Establish full-text indexes for competitor information, customer feedback and other text content to support complex text searches and queries; 3) Operational information Index type: single column index, joint index; Key fields: product code, production batch, sales quantity, inventory, etc.; Strategy: Create single-column indexes for unique identifiers such as product codes and production batches; Create joint indexes for queries involving multiple fields (such as filtering by product code and sales quantity); Considering the dynamic changes in inventory, the index is updated regularly to reflect the latest inventory status; 4) Human Resources Information Index type: single column index, joint index; Key fields: employee number, name, department, position, salary, etc. Strategy: Create single-column indexes for unique or frequently queried fields such as employee ID and name; Create a joint index for scenarios that require simultaneous query of multiple fields (such as filtering by department and position); Salary information may involve sensitive data. Consider encrypting the storage and limiting the scope of index use. 5) Technical information Index type: single column index, full text index; Key fields: technical document number, technical keywords, technical solutions, etc. Strategy: Create a single-column index for technical document numbers to facilitate quick locating; Establish full-text indexes for technical keywords and textual content of technical solutions to support complex technical searches and queries; 6) Customer information Index type: single column index, joint index; Key fields: customer number, name / company name, contact information, purchase history, etc. Strategy: Create single-column indexes for unique or frequently queried fields such as customer number, name / company name, etc. Create a joint index for scenarios that require simultaneous query of multiple fields (such as filtering by purchase history and contact information); Consider customer privacy protection and ensure that the use of the index complies with relevant laws and regulations; 7) Brand and marketing information Index type: single column index, full text index; Key fields: brand name, marketing campaign name, marketing channel, marketing effect, etc. Strategy: Create single-column indexes for unique or frequently queried fields such as brand names and marketing campaign names; Establish full-text indexes for text descriptions of marketing channels and marketing effects to support complex marketing analysis and strategy formulation; 8) Risk and compliance information Index type: single column index, joint index; Key fields: risk type, compliance requirements, violation records, etc. Strategy: Create a single-column index for keywords or tags of risk types and compliance requirements; Establish a joint index or full-text index for detailed information of violation records (such as violation time and violation content) to facilitate rapid location and handling of violation incidents; Data retrieval module: responsible for providing a user-friendly retrieval interface or API, allowing users to search for information based on query conditions. After receiving the user's query request, it uses the index structure to locate relevant data and returns the query results to the user. The data retrieval module sorts and presents the search results based on the user's query requirements and relevance calculation model, and the result sorting uses PageRank, BM25 and other algorithms to ensure that the most relevant results are presented to the user first. At the same time, it provides result presentation methods including charts, lists, and maps to meet the different needs of users. Memory allocation module: responsible for dynamically allocating memory space according to changes in data storage requirements; and the memory allocation module specifically includes the following sub-modules: Demand analysis submodule: responsible for analyzing data storage requirements that change with business logic when the program is running. Requirements include the creation of new data, modification or deletion of old data, etc. Allocation function call submodule: responsible for calling the allocation function to dynamically allocate memory space. The function searches and allocates a continuous memory space in the heap according to the memory size requested by the program (specified by parameters), and after the allocation is successful, the function returns a pointer to the starting address of the memory space. In this embodiment, in programming languages ​​such as C / C++, functions such as `malloc`, `calloc`, `realloc` (C++ also includes the `new` operator) are used to dynamically allocate memory space; Memory usage submodule: responsible for using memory space according to the function processing results. Specifically, the program accesses and operates the allocated memory space through the returned pointer to store and process data. Memory release module: responsible for dynamically releasing memory space according to changes in data storage requirements; and the memory release module specifically includes the following sub-modules: Memory tracking submodule: responsible for tracking the allocated memory space to identify which memory space is no longer needed and can be released, ensuring that the memory space still in use is not accidentally released and that the memory space that should be released is not missed; Release function call submodule: responsible for calling the release function to release the memory space that is no longer needed. The function accepts a pointer to the starting address of the memory space to be released as a parameter and returns the memory space to the operating system or heap memory manager. In this embodiment, the program calls functions such as `free` (in C / C++) or `delete` (in C++) to release the memory space. Memory recovery submodule: responsible for adding the released memory space to the free memory list and waiting for subsequent memory allocation requests; Frequency monitoring module: responsible for real-time statistics of the triggering times of the memory allocation module and the memory release module to monitor the frequency of memory allocation and release operations. When the program continues to run and frequently performs memory allocation and release operations, the heap memory manager is used to organize the memory to improve memory utilization efficiency. In this embodiment, memory arrangement specifically includes: 1) Memory fragmentation (memory fragmentation refers to the phenomenon that in the heap memory, the allocated and unallocated memory blocks are interlaced, resulting in a large number of small, discontinuous free memory blocks that cannot be effectively used): Merge adjacent free memory blocks: When releasing a memory block, if the adjacent memory blocks are also free, merge them into a large free memory block to reduce the amount of memory fragmentation and increase the proportion of available large memory blocks; Compressing memory blocks: Compressing memory blocks by moving them around eliminates memory fragmentation. This method requires pausing other parts of the program to avoid accessing memory blocks that are in use during the move. 2) Use memory pool technology: pre-allocate a continuous memory area as a memory pool, and allocate and recycle memory blocks from the pool when needed. Since the memory blocks in the memory pool are pre-allocated, the overhead of frequently calling system memory allocation functions (such as malloc / free) can be reduced. And since the memory blocks in the memory pool are allocated continuously, the fragmentation caused by frequent allocation and release of memory can be avoided. 3) Memory alignment: Reduce memory fragmentation and improve memory access efficiency by ensuring that memory blocks are aligned according to specific boundaries; 4) Smart pointers: At the programming language level, use smart pointers (such as std::unique_ptr and std::shared_ptr in C++) to automatically manage the life cycle of memory to reduce the risk of memory leaks.

[0021] The embodiments of the present invention are given for the purpose of illustration and description, and are not intended to be exhaustive or to limit the invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. A multi-dimensional business management information dynamic storage and retrieval system, characterized in that: include: Data collection module: responsible for collecting business management information from various sources and performing pre-processing work such as cleaning, sorting, and conversion to ensure that the quality and format of the data meet the requirements of storage and retrieval; Dimension matching module: responsible for dimension matching of collected business management information and determining information dimensions based on the content of business management information; Index creation module: responsible for creating indexes for stored data to support fast retrieval operations; Data retrieval module: responsible for providing a user-friendly retrieval interface or API, allowing users to search for information based on query conditions. After receiving the user's query request, it uses the index structure to locate the relevant data and returns the query results to the user. Memory allocation module: responsible for dynamically allocating memory space according to changes in data storage requirements; Memory release module: responsible for dynamically releasing memory space according to changes in data storage requirements; Frequency monitoring module: responsible for real-time statistics of the number of triggers of the memory allocation module and the memory release module to monitor the frequency of memory allocation and release operations. When the program continues to run and frequently performs memory allocation and release operations, the heap memory manager is used to organize the memory to improve memory utilization efficiency.

2. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The data acquisition module uses the ETL tool to extract data from different data sources, perform necessary conversion processing, and finally load it into the system. The functions of the ETL tool include: Data extraction: extract useful data from the source system; Data conversion: clean, convert, integrate and process the extracted data; Data loading: Loading the processed data into the target system.

3. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The data cleaning in the preprocessing work is specifically performed by the following data cleaning algorithm: 1) Missing value processing algorithm: ignoring method and filling method; 2) Noise data processing algorithm: binning method, regression method; 3) Duplicate record processing algorithms: sorting and comparison methods, clustering-based algorithms; 4) Attribute value cleaning algorithm: formatting and standardization, error detection and correction.

4. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The data conversion in the preprocessing work specifically includes: Data type conversion: converting data from one data type to another based on the essential characteristics and purpose of the data; Data structure transformation: changing the organizational structure of data; Data layout transformation: adjust the physical layout or arrangement of data; Data format encoding conversion: converting data from one encoding format to another.

5. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The business management information specifically includes the following dimensional information: Financial information: used to assess the economic health, profitability, solvency and operational efficiency of an enterprise, and to provide decision support for managers, including the enterprise's financial statements, budget execution, cost control data, return on investment, and cash flow status; Market information: used to help enterprises understand the market environment, identify market opportunities and threats, and formulate and adjust market strategies, including market demand, market size, market share, market trends, competitor dynamics, consumer behavior analysis, and market segmentation; Operational information: used to ensure smooth and efficient business operations, reduce costs, and improve the quality of products and services, including production processes, supply chain management, inventory status, logistics and transportation, production efficiency, and quality control; Human resources information: used to optimize human resources allocation, improve employee satisfaction and loyalty, and enhance the competitiveness of enterprises, including basic employee information, recruitment and training, performance appraisal, salary and benefits, employee relations, and talent development planning; Technical information: used to promote the technological progress and industrial upgrading of enterprises, increase the added value of products and services, and enhance the core competitiveness of enterprises, including technological innovation, product research and development, technology introduction, intellectual property protection, and information system construction; Customer information: used to help enterprises understand customer needs, provide personalized products and services, enhance customer stickiness, and improve customer satisfaction and loyalty, including basic customer information, purchasing behavior, preferences, demand feedback, and loyalty; Brand and marketing information: used to shape and enhance brand image, expand market share, increase brand awareness and reputation, and promote long-term development of the enterprise, including brand positioning, brand image, marketing strategy, sales channels, market promotion, and customer feedback; Risk and compliance information: used to help enterprises identify and assess potential risks, develop risk management strategies, ensure compliance operations, and avoid legal disputes and reputational losses, including various risks faced by enterprises and relevant laws, regulations, policy requirements, and industry standards.

6. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The index types created by the index creation module include single-column index, joint index, and full-text index. When creating, the index type is selected based on the characteristics of the business management information of each dimension and the query requirements. Single-column index, joint index, and full-text index can be used in combination and are not mutually exclusive.

7. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The data retrieval module sorts and presents the search results according to the user's query requirements and the relevance calculation model, and the result sorting adopts PageRank and BM25 algorithms, and provides result presentation methods including charts, lists, and maps.

8. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The memory allocation module specifically includes the following submodules: Demand analysis submodule: responsible for analyzing data storage requirements that change with business logic when the program is running, including the creation of new data and the modification or deletion of old data; Allocation function call submodule: responsible for calling the allocation function to dynamically allocate memory space. The function searches and allocates a continuous memory space in the heap area according to the memory size requested by the program, and after the allocation is successful, the function returns a pointer to the starting address of the memory space; Memory usage submodule: responsible for using memory space according to the function processing results. Specifically, the program accesses and operates the allocated memory space through the returned pointer to store and process data.

9. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The memory release module specifically includes the following submodules: Memory tracking submodule: responsible for tracking the allocated memory space to identify which memory space is no longer needed and can be released, ensuring that the memory space still in use is not accidentally released and that the memory space that should be released is not missed; Release function call submodule: responsible for calling the release function to release the memory space that is no longer needed. The function accepts a pointer to the starting address of the memory space to be released as a parameter and returns the memory space to the operating system or heap memory manager; Memory recovery submodule: responsible for adding the released memory space to the free memory list and waiting for subsequent memory allocation requests.

10. A multi-dimensional business management information dynamic storage and retrieval system according to claim 1, characterized in that: The memory arrangement specifically includes: 1) Memory defragmentation: Merge adjacent free memory blocks: When releasing a memory block, if the adjacent memory blocks are also free, merge them into a large free memory block; Compress memory blocks: Compress memory blocks by moving them around, thus eliminating memory fragmentation; 2) Use memory pool technology: pre-allocate a continuous memory area as a memory pool, and allocate and recycle memory blocks from the pool when needed; 3) Memory alignment: Reduce memory fragmentation and improve memory access efficiency by ensuring that memory blocks are aligned according to specific boundaries; 4) Smart pointers: At the programming language level, use smart pointers to automatically manage the memory life cycle to reduce the risk of memory leaks.

Citation Information

Patent Citations

  • Marketing analysis data market system

    CN104731791A

  • Embedded software memory management method

    CN108038002A

  • Embedded software memory management system

    CN108132842A

  • Distributed market data acquisition management system

    CN117876016A

Cited By

  • Data management method and system for automobile transaction platform

    CN119248794A

  • Data calculation and retrieval method and device for edges of Internet of Things

    CN119669210A

  • Monitoring management method for tunnel support construction

    CN120806746A

  • A monitoring management method for tunnel support construction

    CN120806746B