Data storage method and apparatus, computer device, and computer readable storage medium

By constructing a storage directory tree in the data platform and dynamically adjusting the mounting relationships between data warehouse elements and data metrics, the problem of poor data storage performance was solved, achieving efficient and clear data management and access, and improving user experience and data accuracy.

WO2026108757A1PCT designated stage Publication Date: 2026-05-28CHINA TELECOM CLOUD TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
CHINA TELECOM CLOUD TECH CO LTD
Filing Date
2025-11-17
Publication Date
2026-05-28

AI Technical Summary

Technical Problem

Existing data storage methods suffer from poor storage performance in data platforms, failing to effectively meet the information and digital transformation needs of enterprises with large data volumes and complex business requirements.

Method used

By acquiring current application environment information and user requirements information, configuration information is generated, including data warehouse elements, mounting relationships and display layers. A storage directory tree is constructed, and the data to be stored is stored in the corresponding data storage nodes. The mounting relationships are dynamically adjusted to adapt to changes in business needs.

Benefits of technology

It improves the adaptability and efficiency of data storage, reduces operational complexity, ensures clarity in data access and management, and enhances user experience and data accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025135301_28052026_PF_FP_ABST
    Figure CN2025135301_28052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a data storage method and apparatus, a computer device, and a computer readable storage medium. The method comprises: a data middle platform first acquiring current application environment information, user requirement information, and data information to be stored, and generating corresponding configuration information on the basis of the current application environment information and the user requirement information; constructing a corresponding storage directory tree on the basis of the configuration information; and finally storing said data information into a corresponding data storage node on the basis of data warehouse elements and data indicators of said data information.
Need to check novelty before this filing date? Find Prior Art

Description

Data storage methods, apparatus, computer equipment and computer-readable storage media

[0001] Related applications

[0002] This application claims priority to Chinese patent application filed on November 21, 2024, application number 202411668058.3, entitled “Data storage method, apparatus, computer equipment and computer-readable storage medium”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the fields of data management and data platform technology, and in particular to a data storage method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology

[0004] In the major trend of enterprise informatization and digital transformation, with the massive growth of data volume and the increasing complexity of business needs, traditional data management and analysis methods have gradually revealed their limitations. Data platform, as an emerging data management and analysis architecture, stores data by building a unified, standardized, efficient and secure data management system. Data indicator construction is a key technology of data platform, which involves the standardization, normalization and management and use of data indicators.

[0005] The metrics used in data metrics development are closely related to data warehouse elements (business categories, data domains, business processes, data marts, and analysis topics).

[0006] However, current data storage methods suffer from poor storage performance. Summary of the Invention

[0007] Therefore, it is necessary to provide a data storage method, apparatus, computer equipment, computer-readable storage medium, and computer program product to address the aforementioned technical problems.

[0008] Firstly, this application provides a data storage method applied to a data platform, including:

[0009] Obtain current application environment information, user requirement information, and data to be stored, and generate corresponding configuration information based on the current application environment information and user requirement information; the configuration information includes data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers;

[0010] Based on data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer, a corresponding storage directory tree is constructed;

[0011] Based on the data warehouse elements and data metrics of the data to be stored, the data to be stored is stored into the corresponding data storage nodes.

[0012] In one embodiment, the method further includes:

[0013] Based on the pre-set rules for acquiring tiling tree data information and any current data storage node, the number of data indicators attached to the current data storage node is acquired and displayed. The number of data indicators includes the number of first data indicators and the number of second data indicators. The number of first data indicators is the number of data indicators attached to the current data storage node, and the number of second data indicators is the number of data indicators attached to the data storage child nodes of the current data storage node.

[0014] In one embodiment, based on pre-set tiled tree data information acquisition rules and any current data storage node, the number of data metrics mounted on the current data storage node is acquired and displayed, including:

[0015] Retrieve the current data warehouse elements and current level information corresponding to the current data storage node;

[0016] Based on the tiled tree data information acquisition rules, current data warehouse elements, and current level information, the node tiled tree data information of the current data storage node is obtained;

[0017] Based on the node tiled tree data information, the target data indicator tiled tree data information is searched from the pre-built list of data indicator tiled tree data information; the target data indicator tiled tree data information is information prefixed with the node tiled tree data information.

[0018] The number of data points in the target data metric tiled tree is determined as the number of data metrics mounted on the current data storage node and then displayed.

[0019] In one embodiment, the current level information includes the current level information and the current grade information;

[0020] Based on the tiled tree data information acquisition rules, current data warehouse elements, and current level information, the tiled tree data information of the current data storage node is obtained, including:

[0021] According to the rules for obtaining data information from the tiling tree, the current data warehouse elements, current level information, and current grade information are symbolized to obtain the symbolized current data warehouse elements, symbolized current level information, and symbolized current grade information.

[0022] By connecting the symbolized current data warehouse element and the corresponding data ID of the current data warehouse element through a pre-defined connection symbol, the identifier information of the current data warehouse element is obtained.

[0023] Based on the identifier information, the symbolized current level information, and the symbolized current grade information, the node tiling tree data information of the current data storage node is obtained.

[0024] In one embodiment, the data metric tiled tree data information list is constructed through the following steps:

[0025] Obtain the mounting type information, mounting type name information, mounted data storage node information, and data warehouse element and level information corresponding to each mounted data storage node for each data indicator;

[0026] Based on the tiled tree data information acquisition rules, mounting type information, mounting type name information, data warehouse elements and hierarchical information, the tiled tree data information of each data indicator is obtained;

[0027] Based on the tiled tree data of each data indicator, a list of tiled tree data information of the data indicators is constructed.

[0028] In one exemplary embodiment, the method further includes:

[0029] Based on the rules for obtaining tiled tree data information, the data warehouse elements and hierarchical information corresponding to each data storage node, the first prefix information of each data storage node is obtained; the first prefix information is other tiled tree data information preceding the tiled tree data information corresponding to the currently mounted data warehouse element.

[0030] If a change in user demand information is detected, the second prefix information of each data storage node is obtained based on the tiled tree data information acquisition rules, the latest data warehouse elements corresponding to each data storage node, and the hierarchical information. The second prefix information is other tiled tree data information that precedes the tiled tree data information corresponding to the latest data warehouse element currently mounted.

[0031] If the first prefix information and the second prefix information are the same, then the data warehouse elements currently mounted on each data storage node will be updated to the latest data warehouse elements;

[0032] If the first prefix information is different from the second prefix information, update the data warehouse elements currently mounted on each data storage node to the latest data warehouse elements, and update the data indicator tiled tree data information corresponding to each data indicator based on the first prefix information, the second prefix information and the latest data warehouse elements.

[0033] In one embodiment, the data indicator tiled tree data information corresponding to each data indicator is updated based on the first prefix information, the second prefix information, and the latest data warehouse elements, including:

[0034] According to the rules for obtaining data information from the tiling tree, the latest data warehouse elements are symbolized to obtain the symbolized latest data warehouse elements;

[0035] By connecting the symbolized latest data warehouse element and the corresponding data ID of the latest data warehouse element through a pre-defined connection symbol, the identifier information of the latest data warehouse element is obtained.

[0036] By using the symbolized hierarchical information, the first prefix information and the identifier information are connected to obtain the data index tiling tree prefix information;

[0037] Based on the prefix information of the data indicator tiled tree, the data indicator tiled tree data information to be updated is obtained from the list of data indicator tiled tree data information;

[0038] Update the first prefix information contained in the tiled tree data information of the data indicators to be updated to the second prefix information.

[0039] Secondly, this application also provides a data storage device for use in a data platform, comprising:

[0040] The configuration information generation module is configured to obtain current application environment information, user requirement information, and data to be stored information, and generate corresponding configuration information based on the current application environment information and user requirement information; the configuration information includes data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers;

[0041] The directory tree construction module is configured to construct the corresponding storage directory tree based on data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer.

[0042] The data storage module is configured to store the data to be stored into the corresponding data storage node based on the data warehouse elements and data indicators of the data information to be stored.

[0043] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0044] Obtain current application environment information, user requirement information, and data to be stored, and generate corresponding configuration information based on the current application environment information and user requirement information; the configuration information includes data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers;

[0045] Based on data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer, a corresponding storage directory tree is constructed;

[0046] Based on the data warehouse elements and data metrics of the data to be stored, the data to be stored is stored into the corresponding data storage nodes.

[0047] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0048] Obtain current application environment information, user requirement information, and data to be stored, and generate corresponding configuration information based on the current application environment information and user requirement information; the configuration information includes data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers;

[0049] Based on data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer, a corresponding storage directory tree is constructed;

[0050] Based on the data warehouse elements and data metrics of the data to be stored, the data to be stored is stored into the corresponding data storage nodes.

[0051] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0052] Obtain current application environment information, user requirement information, and data to be stored, and generate corresponding configuration information based on the current application environment information and user requirement information; the configuration information includes data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers;

[0053] Based on data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer, a corresponding storage directory tree is constructed;

[0054] Based on the data warehouse elements and data metrics of the data to be stored, the data to be stored is stored into the corresponding data storage nodes.

[0055] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description

[0056] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the disclosed drawings without creative effort.

[0057] Figure 1 is an application environment diagram of one or more embodiments / some embodiments of the data storage method;

[0058] Figure 2 is a flowchart illustrating a data storage method of one or more embodiments / some embodiments;

[0059] Figure 3 is a schematic diagram of the hierarchical relationship of data warehouse elements in one or more embodiments / some embodiments;

[0060] Figure 4 is a schematic diagram of the atomic indicator-business classification process management directory tree of one or more embodiments / some embodiments;

[0061] Figure 5 is a schematic diagram of the derived indicators - analysis topic directory tree management of derived indicators in one or more embodiments / some embodiments;

[0062] Figure 6 is a schematic diagram of derived metrics for data mart directory tree management in one or more embodiments / some embodiments;

[0063] Figure 7 is a schematic diagram of the tiled tree structure in the directory tree and table storage of one or more embodiments / some embodiments;

[0064] Figure 8 is a structural block diagram of a data storage device in one or more embodiments;

[0065] Figure 9 is an internal structure diagram of a computer device according to one or more embodiments / some embodiments. Detailed Implementation

[0066] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0067] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0068] The data storage method provided in this application embodiment can be applied to the application environment shown in Figure 1. The terminal 102 communicates with the data platform 104 via a network. The data storage system can store the data that the data platform 104 needs to process. The data storage system can be integrated into the data platform 104 or placed on the cloud or other network servers. The data platform 104 obtains the current application environment information, user requirement information, and data information to be stored from the terminal 102. Based on the current application environment information and user requirement information, it generates data warehouse elements, a first mounting relationship between data warehouse elements, a second mounting relationship between data indicators and data warehouse elements, and a display layer number. Further, based on the data warehouse elements, data indicators, the first mounting relationship, the second mounting relationship, and the display layer number, it constructs a corresponding storage directory tree. Finally, based on the data warehouse elements and data indicators of the data information to be stored, it stores the data information to be stored into the corresponding data storage node. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The data platform 104 can be a data management architecture, with a server cluster or distributed system consisting of multiple physical servers providing the underlying computing logic.

[0069] In an exemplary embodiment, as shown in FIG2, a data storage method is provided. Taking the application of this method to the data platform 104 in FIG1 as an example, the method includes the following steps 201 to 203. Wherein:

[0070] Step 201: Obtain the current application environment information, user requirement information, and data to be stored, and generate corresponding configuration information based on the current application environment information and user requirement information; the configuration information includes data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers.

[0071] Among them, data warehouse elements can be understood as information related to the nature of data, such as business domains, business themes, and business processes, as stored in the database. The first attachment relationship can be understood as the movement and transformation relationship between data warehouse elements, that is, the hierarchical relationship between data warehouse elements. The second attachment relationship can be understood as which data warehouse element a data indicator belongs to.

[0072] Optionally, the data platform 104 obtains the terminal's current application environment information, user demand information, and data to be stored information through the network. Based on the current environment information and user demand information, it generates corresponding data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers. Each time data needs to be stored, the data platform does not directly use the previously generated storage directory tree for storage. Instead, it re-obtains the current application environment information and user demand information to generate new configuration information. This avoids hard-coding a fixed-architecture directory tree, thereby reducing the operational complexity of data storage and laying the data foundation for the subsequent construction of the corresponding storage directory tree.

[0073] Step 202: Based on data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer, construct the corresponding storage directory tree.

[0074] The storage directory tree can be understood as a tree-like structure for storing and managing data, with a hierarchical structure that makes data storage clearer.

[0075] For example, the data platform 104 first determines the hierarchical relationship of data warehouse elements based on the first mounting relationship. It then uses the hierarchical relationship between data warehouse elements to build the basic framework of the storage directory tree. Next, it uses the second mounting relationship to mount data metrics to the corresponding data storage nodes, resulting in the completed storage directory tree. Finally, it uses the displayed layer number to obtain the final storage directory tree. Through the hierarchical relationship and clear directory tree structure, data storage and management are optimized. Furthermore, mounting metrics to specific nodes ensures that users can quickly access the data they need. The clear architecture facilitates the addition of new data warehouse elements and data metrics in the future.

[0076] Step 203: Based on the data warehouse elements and data indicators of the data information to be stored, store the data information to be stored into the corresponding data storage node.

[0077] In this context, the target data storage node can be understood as a node that is identical to the data warehouse element corresponding to the data information to be stored.

[0078] Optionally, data station 104 first locates the corresponding data storage node from the storage directory tree based on the data warehouse elements of the data information to be stored. Then, based on the data indicators of the data information to be stored, it stores the data information under the corresponding mounted data indicators of the aforementioned data storage node. Mapping the data information to be stored to clear storage nodes and data indicators simplifies data access and retrieval, allows for rapid location of required information, improves data retrieval speed, and enhances the user's service experience.

[0079] In the aforementioned data storage method, the data platform first acquires the current application environment information, user requirement information, and data to be stored. Based on these information, it generates corresponding configuration information, including data warehouse elements, the first mounting relationships between these elements, the second mounting relationships between data metrics and data warehouse elements, and the display layer. Then, based on these elements, data metrics, the first and second mounting relationships, and the display layer, a corresponding storage directory tree is constructed. Finally, based on the data warehouse elements and data metrics of the data to be stored, the data is stored in the corresponding data storage nodes. By generating adaptive configuration information based on the current application environment and user requirement information, configuring the corresponding storage directory tree, and storing the data in the corresponding data storage nodes based on the data warehouse elements and data metrics, the platform reconstructs an adaptive storage directory tree according to the current scenario, rather than using a fixed structure. This makes the mounting relationships between various data warehouse elements and data metrics more suitable for the current application scenario, resulting in better data storage performance. It also eliminates the need for hard-coding modifications to a fixed directory tree architecture, reducing data storage costs.

[0080] In one embodiment, the method further includes: acquiring and displaying the number of data indicators mounted on the current data storage node according to a pre-set tiled tree data information acquisition rule and any current data storage node; the number of data indicators includes a first number of data indicators and a second number of data indicators, wherein the first number of data indicators is the number of data indicators mounted on the current data storage node, and the second number of data indicators is the number of data indicators mounted on the data storage child nodes of the current data storage node.

[0081] Among them, the rules for acquiring data information in the flat tree can be understood as the rules that define how the hierarchical relationship between data warehouse elements is symbolized; the number of data indicators can be understood as the number of data indicators attached to the current data storage node itself, and the sum of the number of data indicators attached to the child nodes of the current data storage node.

[0082] For example, the data platform 104 retrieves the tiled tree data information corresponding to any current data storage node according to pre-set tiled tree data information acquisition rules. It then uses this tiled tree data information as a prefix to search a pre-built list of data metric tiled tree data information, counts the number of searched data metrics, and displays them under the corresponding data storage node. Introducing tiled tree data information helps query and display the number of metrics attached to the current data storage node, improving the data display effect of the storage directory tree and allowing users to more intuitively understand the storage location of relevant data.

[0083] In one embodiment, based on pre-set tiled tree data information acquisition rules and any current data storage node, the number of data metrics mounted on the current data storage node is acquired and displayed, including:

[0084] Obtain the current data warehouse elements and current level information corresponding to the current data storage node; based on the tiled tree data information acquisition rules, the current data warehouse elements, and the current level information, obtain the node tiled tree data information of the current data storage node; search for the target data indicator tiled tree data information from the pre-built list of data indicator tiled tree data information according to the node tiled tree data information; the target data indicator tiled tree data information is prefixed with the node tiled tree data information; determine the number of target data indicator tiled tree data information as the number of data indicators attached to the current data storage node and display it.

[0085] Among them, the target data indicator tiled tree data information can be understood as tiled tree data information with the tiled tree data information of the node corresponding to the current data storage node as a prefix; the data indicator tiled tree data information list can be understood as a list that stores the tiled tree data information corresponding to all data indicators mounted on the current storage directory tree.

[0086] Optionally, the data platform 104 obtains the current data warehouse elements and current level information corresponding to the current data storage node. Then, based on the tiled tree data information acquisition rules, the current data warehouse elements, and the current level information, it obtains the node tiled tree data information corresponding to the current data storage node. Next, based on the node tiled tree data information, it searches from a pre-built list of data indicator tiled tree data information to find target data indicator tiled tree data information prefixed with the node tiled tree data information. Finally, it counts the number of target data indicator tiled tree data information found and determines this number as the number of data indicators attached to the current data storage node, then displays it. Introducing a tiled tree structure into the storage directory tree and using the tiled tree data information corresponding to each element to count and display the number of data indicators attached to the data storage node reduces errors that may arise from manual counting, improves the data display effect, and enhances the availability of the storage directory tree. This effectively avoids situations where a single node is overloaded, ensuring the security of the stored data.

[0087] In one exemplary embodiment, the current level information includes the current level information and the current sublevel information;

[0088] Based on the tiled tree data information acquisition rules, current data warehouse elements, and current level information, the tiled tree data information of the current data storage node is obtained, including:

[0089] According to the rules for obtaining tiled tree data information, the current data warehouse element, current level information, and current grade information are symbolized to obtain the symbolized current data warehouse element, symbolized current level information, and symbolized current grade information. Through pre-defined connection symbols, the symbolized current data warehouse element and the corresponding data ID are connected to obtain the identifier information of the current data warehouse element. Based on the identifier information, the symbolized current level information, and the symbolized current grade information, the tiled tree data information of the current data storage node is obtained.

[0090] Among them, the current level information can be understood as the position of the current data storage node in the storage directory tree, emphasizing the hierarchical relationship between data storage nodes; the current sub-level information can be understood as the horizontal positioning or classification at the same level; and the data ID (Identification) can be understood as the digital information corresponding to the data warehouse element.

[0091] For example, the data platform 104 symbolizes the current data warehouse element, current level information, and current grade information according to the tiled tree data information acquisition rules, obtaining symbolized current data warehouse element, symbolized current level information, and symbolized current grade information. Then, using a pre-defined connection symbol such as @, it connects the symbolized current data warehouse element with its corresponding data ID to obtain the unique identifier information of the current data warehouse element in this storage directory tree. Finally, based on the identifier information, the symbolized current level information, and the symbolized current grade information, it obtains the node tiled tree data information of the current data storage node. The node tiled tree data information corresponding to the data storage node is not stored or reflected in the storage directory tree, but is calculated according to preset rules and nodes when the relevant node tiled tree data information is needed. This real-time acquisition method saves storage space in the storage directory tree and also ensures the reliability and timeliness of the obtained node tiled tree data information.

[0092] In one embodiment, the data indicator tiled tree data information list is constructed through the following steps: obtaining the mounting type information, mounting type name information, mounted data storage node, and data warehouse elements and hierarchical information corresponding to each data indicator; obtaining the data indicator tiled tree data information for each data indicator based on the tiled tree data information acquisition rules, mounting type information, mounting type name information, data warehouse elements, and hierarchical information; and constructing the data indicator tiled tree data information list based on the data indicator tiled tree data information.

[0093] The mount type information can be understood as the data integration or connection method selected for a specific analysis, such as analysis topic, data mart, etc.; the mount type name information can be understood as the name of the specific data integration or connection method. Taking analysis topic as an example, it can be sales performance analysis topic, sales trend analysis topic, etc.

[0094] Optionally, the data platform obtains the mounting type information, mounting type name information, mounted data storage nodes, and data warehouse elements and hierarchical information corresponding to each data indicator. Based on the tiled tree data information acquisition rules, mounting type information, mounting type name information, data warehouse elements, and hierarchical information, it obtains the data indicator tiled tree data information for each data indicator. Based on the tiled tree data information for each data indicator, it constructs a list of data indicator tiled tree data information. The data indicator tiled tree data information of each data indicator is associated with the node tiled tree data information of the mounted data storage nodes. This facilitates subsequent searching of data indicators using the node tiled tree data information as a prefix, obtaining the number of data indicators mounted on each data storage node, thus laying the foundation for the search process.

[0095] In one embodiment, the method further includes: obtaining first prefix information for each data storage node based on the tiled tree data information acquisition rules, the data warehouse elements and hierarchical information corresponding to each data storage node; the first prefix information is other tiled tree data information preceding the tiled tree data information corresponding to the currently mounted data warehouse element; if a change in user demand information is detected, obtaining second prefix information for each data storage node based on the tiled tree data information acquisition rules, the latest data warehouse elements corresponding to each data storage node, and hierarchical information; the second prefix information is other tiled tree data information preceding the tiled tree data information corresponding to the latest currently mounted data warehouse element; if the first prefix information and the second prefix information are the same, updating the data warehouse elements currently mounted on each data storage node to the latest data warehouse element; if the first prefix information and the second prefix information are different, updating the data warehouse elements currently mounted on each data storage node to the latest data warehouse element, and updating the data indicator tiled tree data information corresponding to each data indicator based on the first prefix information, the second prefix information, and the latest data warehouse element.

[0096] For example, the data platform 104 obtains the first prefix information of each data storage node before the tiled tree data information corresponding to the currently mounted data warehouse element, according to the tiled tree data information acquisition rules, the data warehouse elements and hierarchical information corresponding to each data storage node, and the node tiled tree data information acquisition method mentioned in the aforementioned embodiment. If a change in user demand information is detected, the second prefix information of each data storage node before the tiled tree data information corresponding to the currently mounted data warehouse element is obtained based on the tiled tree data information, the latest data warehouse elements and hierarchical information corresponding to each data storage node, and the node tiled tree data information acquisition method mentioned in the aforementioned embodiment.

[0097] Subsequently, if the first prefix information and the second prefix information are the same, it indicates that the mounting relationship between data warehouse elements has not changed. In this case, the data warehouse elements currently mounted on each data storage node are updated to the latest data warehouse elements. Alternatively, if the first prefix information and the second prefix information are different, it indicates that the mounting relationship between data warehouse elements has changed. First, the data warehouse elements currently mounted on each data storage node are updated to the latest data warehouse elements. The aforementioned update of data warehouse elements not only applies to the storage directory tree but also requires updating the data warehouse elements in the data indicator tiled tree data information list. Then, based on the first prefix information, the second prefix information, and the latest data warehouse elements, the data indicator tiled tree data information corresponding to each data indicator is updated.

[0098] The above method can achieve the following technical effects:

[0099] 1. By monitoring changes in user needs, the system can dynamically adjust the mounting relationships of data storage nodes to adapt to new business requirements.

[0100] 2. Ensure that each data storage node receives the latest data warehouse elements in a timely manner, thereby ensuring that data analysis and decision-making are based on accurate information, and improving the accuracy and consistency of data.

[0101] In an exemplary embodiment, the data indicator tiling tree data information corresponding to each data indicator is updated based on the first prefix information, the second prefix information, and the latest data warehouse elements, including:

[0102] According to the rules for obtaining tiling tree data information, the latest data warehouse elements are symbolized to obtain the symbolized latest data warehouse elements; the symbolized latest data warehouse elements and their corresponding data IDs are connected using pre-defined connection symbols to obtain the identifier information of the latest data warehouse elements; the first prefix information and the identifier information are connected using the symbolized hierarchical information to obtain the data indicator tiling tree prefix information; the data indicator tiling tree data information to be updated is searched from the data indicator tiling tree data information list based on the data indicator tiling tree prefix information; the first prefix information contained in the data indicator tiling tree data information to be updated is updated with the second prefix information.

[0103] Optionally, the data platform 104 symbolizes the latest data warehouse elements according to the tiled tree data information acquisition rules, obtaining symbolized latest data warehouse elements. Then, using pre-defined connection symbols, it connects the symbolized latest data warehouse elements with their corresponding data IDs to obtain unique identifier information for the latest data warehouse elements in this storage directory tree. Subsequently, using the symbolized hierarchical information, it connects the first prefix information and the identifier information to obtain the data indicator tiled tree prefix information. Based on the data indicator tiled tree prefix information, it searches the data indicator tiled tree data information list to obtain the data indicator tiled tree data information to be updated. Finally, it updates the first prefix information contained in the data indicator tiled tree data information to be updated with the second prefix information. Since the latest data warehouse elements have already been updated, this step only updates the mounting relationship of the data warehouse elements. Through the above method, using the pre-imported tiled tree data, the data indicator tiled tree data information can be quickly updated in batches when the mounting relationship between data warehouse elements changes, ensuring the timeliness and effectiveness of the data indicator tiled tree data information.

[0104] In one exemplary embodiment, a specific implementation process of a data storage method is provided. The specific name elements appearing below are examples of a specific scenario in which this method is implemented, and are not limited to this scenario in which this solution can be successfully executed.

[0105] 1. Configuration of dynamic directory tree scheme design and implementation:

[0106] 1.1 Scheme Design:

[0107] To achieve refined classification and management of indicators, support multi-dimensional analysis of indicator systems, and enhance the flexibility and scalability of the directory tree, the classification management directory tree is designed to be configurable. Configurable parameters include:

[0108] 1) Add or modify data warehouse elements, and adjust the data warehouse elements and the number of sub-levels of the data warehouse elements according to business needs.

[0109] 2) Configure the mounting relationships between data warehouse elements.

[0110] 3) Configure the mounting relationship between data metrics and data warehouse elements.

[0111] 4) Configure the number of levels displayed in the directory tree.

[0112] In this application, business categories, data domains, and data marts are collectively referred to as data warehouse elements. The mounting relationships between data warehouse elements determine the hierarchical relationships between them. For example, in a configuration case where the data domain is mounted to the business category, the business process is mounted to the data domain, the data mart is mounted to the business category, and the analysis topic is mounted to the data mart, the relationships between data warehouse elements can be presented using a tree structure as shown in Figure 3.

[0113] The configuration of data metrics and their mounting relationships facilitates the refined classification and management of business metric data, enabling querying and analysis of metric data from different dimensions. Furthermore, configuring the display hierarchy of the directory tree allows for the creation of a multi-level data organization structure.

[0114] If the atomic metrics are configured to be mounted in the business process, the directory tree is configured to have 1 level. Atomic metrics can be managed by category through the "Business Process Directory Tree" on the left side of the atomic metrics menu page, and the root node of the directory tree is the business process.

[0115] If the above mounting relationships remain unchanged, adjust the directory tree to 2 levels. As can be seen from the mounting relationships of data warehouse elements, the root node of the directory tree is the data domain, and the leaf nodes are the business processes. Other scenarios can refer to the hierarchical relationships of data warehouse elements and so on.

[0116] 1.2 Example:

[0117] Atomic indicator directory tree configuration: Atomic indicators are mounted in the business process and displayed in a two-level directory tree as shown in Figure 4:

[0118] The root node of the directory tree on the left represents the data domain, and the leaf nodes represent business processes. The quantity displayed on a leaf node equals the number of metrics directly attached to that node; for example, "Order Generation" has 2 atomic metrics attached. The quantity of non-leaf nodes equals the sum of the quantities of their child nodes and the total number of metrics directly attached to the current node.

[0119] Derivative indicator category management directory tree configuration: The mounting relationship is configured to be mounted on both the analysis topic and the data mart, with the directory tree level set to 1 level for both. Therefore, derived indicators can be managed through either the "analysis topic directory tree" or the "data mart directory tree" in the derived indicator category management.

[0120] Figure 5 shows the derived indicators for managing the "Analysis Topic Directory Tree":

[0121] Figure 6 shows the data mart directory tree management of derived metrics. Since the sales analysis topic is a subdirectory of the product sales data mart, the derived metrics under the product sales data mart include those attached to the sales analysis topic and those directly attached to the mart. As shown in the table on the right, the number is 5.

[0122] 2. Structural design and implementation examples of tiled trees in directory tree nodes:

[0123] 2.1 Structural Design:

[0124] In order to meet the requirements of fast search and counting at the same time, when the indicators are classified and managed, the tree structure of the nodes on the tree is stored when the indicators are selected to be mounted on specific data warehouse element instances. This facilitates the query and statistics of indicators under the nodes on the directory tree. In this patent, the structure of the strings of the nodes on the tree is collectively referred to as a tiling tree.

[0125] The design rules for tiled trees are as follows:

[0126] 1) Symbolize the data warehouse elements. Business category is a fixed element of the data warehouse elements, and it is symbolized as bc; the data domain is the first data warehouse element customized by the planning template, and it is coded as dwe1; the business process is the second data warehouse element of the planning template, and it is coded as dwe2; and so on. The data mart is coded as dwe3 and the analysis topic is dwe4.

[0127] 2) Use conformation + "@" + data ID as the unique identifier of data in the tree. For example, if the data ID of the e-commerce category in the business category is 1, then bc@1 uniquely identifies the e-commerce category.

[0128] 3) Use "||" for layer isolation. For example, if the data ID of the sales domain is 20 and the sales domain is attached to the e-commerce category, then the unique identifier of the sales domain in the tree is bc@1||dwe1@20.

[0129] 4) Use " / " to isolate different sub-levels within the same layer: For example, a data domain can be configured with up to two levels in the planning configuration. If a sales domain is an element within a data domain, then sub-levels such as product sales domain (assuming data ID is 21) and regional sales domain (assuming data ID is 22) can be added to the sales domain. The unique identifier of the product sales domain in the tree is then bc@1||dwe1@20 / dwe1@21; the unique identifier of the regional sales domain in the tree is bc@1||dwe1@20 / dwe1@22.

[0130] Based on the above rules, when constructing the directory tree, the tiling tree of the directory tree nodes is calculated, and when an indicator is attached to a node on the tree, the tiling tree structure of the currently attached tree node is recorded in the indicator table.

[0131] 2.2 Example:

[0132] Figure 7 shows an example of a tiled tree structure of data indicators in the directory tree and table storage.

[0133] In the above embodiments, the directory tree node identifies the tiled tree structure of the current node, and the derived indicator table records the tiled tree structure attached to the nodes on the tree. The data warehouse element type of the currently displayed directory tree is a data mart, so the leaf nodes of the directory tree are data marts. From the last record in the table, we know that when the derived indicator is attached to the "Product Sales Data Mart", the tiled tree structure recorded in the table is the tiled tree structure on the left-hand directory tree.

[0134] 3. Search Implementation Scheme:

[0135] 1) According to the design of the tiled tree, when constructing indicators, when the indicators are attached to a certain data warehouse element, the corresponding tiled tree after attachment is entered into the database.

[0136] 2) When the corresponding data warehouse element is selected as the directory tree for display, construct the current data warehouse element directory tree.

[0137] 3) Traverse the tree to calculate the tiling tree for each node.

[0138] 4) When clicking on a directory tree node to perform a search, the flattenTree value of the current node is used as the search condition.

[0139] 5) Use prefix matching to match the indicator data attached to the current directory tree node.

[0140] 4. Directory tree counting and statistics implementation scheme:

[0141] 1) First, construct the entire directory tree.

[0142] 2) Traverse the tree to calculate the tiling tree for each node.

[0143] 3) Obtain the tiled tree of all nodes in the tree to count the number of indicators attached to all nodes.

[0144] 4) Calculate the level of the leaf node based on the number of "||". The level is equal to the number of "||" + 1, and put nodes at the same level into the same set.

[0145] 5) Calculate the number of leaf nodes with the same layer number that are attached. The counting method is as follows:

[0146] 5.1) Query all metrics in the tiling tree whose leaf node tiling tree is the prefix by prefix matching.

[0147] 5.2) Cut the matching index tiling tree. Assuming the current leaf node level is n=1, the cutting condition is that the tiling tree stops when the nth "||" is encountered from left to right. The cut object is the string before "||", and the cut string is the tiling tree of the directory leaf node.

[0148] 5.3) After slicing all the indicators into groups based on the strings of the flat tree, the number of each group is equal to the number of indicators under the corresponding leaf node.

[0149] 5.4) Iterate through the leaf node sets at different levels and calculate the data of the indicators under all leaf nodes.

[0150] 6) Recursively calculate the number of indicators for each node in the tree. The calculation rule is: the number of indicators for the current node + the number of indicators for all child nodes.

[0151] 6. Design of batch update scheme for tiled trees:

[0152] To enable fast searching and counting, a tiled tree structure is stored in the database when metrics and data warehouse elements are built. However, due to business changes, customers may need to update the tiled tree of all metrics synchronously when the mounting relationships between data warehouse elements change.

[0153] 1) Get the preFlattenTree, the tiled tree of the current data warehouse elements before the update.

[0154] 2) Calculate the curFlattenTree, which is the current data warehouse feature mounted after the update.

[0155] 3) Determine if preFlattenTree is equal to curFlattenTree.

[0156] 4) If preFlattenTree == curFlattenTree, then only the data warehouse elements are updated to complete the update operation.

[0157] 5) if preFlattenTree! = curFlattenTree, it means that the mounting relationship has been changed and the indicator system needs to be notified to update the tiled tree of indicator data synchronously.

[0158] 5.1) Calculate the tiled tree prefix attached to the current data warehouse element: dwElementFlattentree = preFlattenTree + "||" + the unique identifier of the current data on the tree (e.g., dwe3@1).

[0159] 5.2) Calculate the tiling tree prefix before replacement: preParentFlattenTree = preFlattenTree + "||".

[0160] 5.3) Calculate the replaced flattened tree prefix: curParentFlattentree = curFlattenTree + "||".

[0161] 5.4) Send a tile tree update event.

[0162] 6) Metric monitoring events: When an event is detected, make the following changes:

[0163] 6.1) Use a prefix to match all metrics that need to be changed, with the prefix being: dwElementFlattentree.

[0164] 6.2) Replace the tiled tree prefix of the indicator with preParentFlattenTree.

[0165] 6.3) Complete the batch update operation of the indicator tile tree.

[0166] Compared with the prior art, this application has the following advantages:

[0167] 1. Improve data management efficiency: The combination of dynamic configuration mechanism and multi-level directory display makes the creation, management and query of data indicators more efficient, reduces human error and improves the overall efficiency of data processing.

[0168] 2. Enhanced data analysis capabilities: The quick query and statistical functions enable users to examine data from multiple perspectives, helping to discover correlations and patterns between data, and providing strong support for more in-depth data analysis and business decision-making.

[0169] 3. Promote data governance: Through detailed indicator classification and management, it helps maintain data consistency and accuracy, promotes effective data governance, and reduces the risk of data chaos and redundancy.

[0170] 4. Enhanced user experience: The user interface is user-friendly and can be customized to display data according to users' query habits and business needs, thereby improving user satisfaction and work efficiency.

[0171] 5. Support business innovation: A flexible data management framework provides a solid foundation for business innovation, enabling enterprises to respond to market changes more quickly and leverage data to drive the iterative upgrades of products and services.

[0172] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0173] Based on the same inventive concept, this application also provides a data storage device for implementing the data storage method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more data storage device embodiments provided below can be found in the limitations of the data storage method described above, and will not be repeated here.

[0174] In an exemplary embodiment, as shown in FIG8, a data storage device is provided, including: a configuration information generation module 801, a directory tree construction module 802, and a data storage module 803, wherein:

[0175] The configuration information generation module is configured to obtain current application environment information, user requirement information, and data to be stored information, and generate corresponding configuration information based on the current application environment information and user requirement information; the configuration information includes data warehouse elements, the first mounting relationship between data warehouse elements, the second mounting relationship between data indicators and data warehouse elements, and the number of display layers;

[0176] The directory tree construction module is configured to construct the corresponding storage directory tree based on data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer.

[0177] The data storage module is configured to store the data to be stored into the corresponding data storage node based on the data warehouse elements and data indicators of the data information to be stored.

[0178] In one embodiment, the data storage device further includes a module for displaying the number of mounted indicators, configured to acquire and display the number of data indicators mounted on the current data storage node according to a pre-set tiled tree data information acquisition rule and any current data storage node; the number of data indicators includes a first number of data indicators and a second number of data indicators, the first number of data indicators being the number of data indicators mounted on the current data storage node, and the second number of data indicators being the number of data indicators mounted on the data storage child nodes of the current data storage node.

[0179] In one embodiment, the module for displaying the number of mounted indicators further includes:

[0180] The acquisition submodule is configured to acquire the current data warehouse elements and current level information corresponding to the current data storage node.

[0181] The node tiled tree generation submodule is configured to obtain the node tiled tree data information of the current data storage node based on the tiled tree data information acquisition rules, the current data warehouse elements, and the current level information.

[0182] The search submodule is configured to search for target data indicator tiled tree data from a pre-built list of data indicator tiled tree data based on node tiled tree data information; the target data indicator tiled tree data information is prefixed with node tiled tree data information.

[0183] The display submodule is configured to determine the number of data indicators mounted on the current data storage node by the number of target data indicators tiled in the tree data information and then display them.

[0184] In an exemplary embodiment, the current level information includes current level information and current grade information. The node tiled tree generation submodule is further configured to symbolize the current data warehouse element, current level information, and current grade information according to the tiled tree data information acquisition rules, to obtain the symbolized current data warehouse element, symbolized current level information, and symbolized current grade information; to connect the symbolized current data warehouse element and the data ID corresponding to the current data warehouse element through a pre-defined connection symbol, to obtain the identifier information of the current data warehouse element; and to obtain the node tiled tree data information of the current data storage node based on the identifier information, the symbolized current level information, and the symbolized current grade information.

[0185] In one embodiment, the data storage device further includes a list construction module configured to obtain the mounting type information, mounting type name information, mounted data storage node, and data warehouse elements and hierarchical information corresponding to each data indicator; obtain the data indicator tiled tree data information for each data indicator based on the tiled tree data information acquisition rules, mounting type information, mounting type name information, data warehouse elements and hierarchical information; and construct a list of data indicator tiled tree data information based on the tiled tree data information for each data indicator.

[0186] In one embodiment, the data storage device further includes an update module configured to obtain first prefix information for each data storage node based on the tiled tree data information acquisition rules, the data warehouse elements and hierarchical information corresponding to each data storage node at present; the first prefix information is other tiled tree data information preceding the tiled tree data information corresponding to the currently mounted data warehouse element; if a change in user demand information is detected, a second prefix information for each data storage node is obtained based on the tiled tree data information acquisition rules, the latest data warehouse elements corresponding to each data storage node, and hierarchical information; the second prefix information is other tiled tree data information preceding the tiled tree data information corresponding to the latest currently mounted data warehouse element; if the first prefix information and the second prefix information are the same, the data warehouse elements currently mounted on each data storage node are updated to the latest data warehouse elements; if the first prefix information and the second prefix information are different, the data warehouse elements currently mounted on each data storage node are updated to the latest data warehouse elements, and the data indicator tiled tree data information corresponding to each data indicator is updated based on the first prefix information, the second prefix information, and the latest data warehouse elements.

[0187] In one exemplary embodiment, the update module is further configured to: symbolize the latest data warehouse element according to the tiled tree data information acquisition rules to obtain the symbolized latest data warehouse element; connect the symbolized latest data warehouse element and the corresponding data ID of the latest data warehouse element through a pre-defined connection symbol to obtain the identifier information of the latest data warehouse element; connect the first prefix information and the identifier information using the symbolized hierarchical information to obtain the data indicator tiled tree prefix information; search for the data indicator tiled tree data information to be updated from the data indicator tiled tree data information list based on the data indicator tiled tree prefix information; and update the first prefix information contained in the data indicator tiled tree data information to be updated to the second prefix information.

[0188] Each module in the aforementioned data storage device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0189] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram is shown in Figure 9. The computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is connected to the system bus via the I / O interfaces. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device stores current application environment information, user requirement information, data to be stored, configuration information, and a storage directory tree. The I / O interfaces of the computer device are used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a data storage method.

[0190] Those skilled in the art will understand that the structure shown in Figure 9 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.

[0191] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the data storage method of the above embodiment.

[0192] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the data storage method of the above embodiment.

[0193] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the data storage method of the above embodiments.

[0194] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0195] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0196] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0197] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A data storage method, characterized in that, Applied to a data platform, the method includes: Obtain current application environment information, user requirement information, and data to be stored; Based on the current application environment information and the user requirement information, corresponding configuration information is generated; the configuration information includes data warehouse elements, a first mounting relationship between data warehouse elements, a second mounting relationship between data indicators and data warehouse elements, and the number of display layers; Based on the data warehouse elements, data metrics, first mounting relationship, second mounting relationship, and display layer number, a corresponding storage directory tree is constructed; and Based on the data warehouse elements and data indicators of the data information to be stored, the data information to be stored is stored in the corresponding data storage node.

2. The method according to claim 1, characterized in that, The method further includes: Based on pre-set tiled tree data information acquisition rules and any current data storage node, the number of data indicators mounted on the current data storage node is obtained; the number of data indicators includes a first data indicator number and a second data indicator number, wherein the first data indicator number is the number of data indicators mounted under the current data storage node, and the second data indicator number is the number of data indicators mounted on the data storage child nodes of the current data storage node; and Displays the number of data metrics currently mounted on the data storage node.

3. The method according to claim 2, characterized in that, The step of acquiring and displaying the number of data indicators mounted on the current data storage node based on pre-set tiled tree data information acquisition rules and any current data storage node includes: Obtain the current data warehouse elements and current level information corresponding to the current data storage node; Based on the tiled tree data information acquisition rules, the current data warehouse elements, and the current level information, the node tiled tree data information of the current data storage node is obtained; Based on the node tiled tree data information, the target data indicator tiled tree data information is searched from the pre-constructed list of data indicator tiled tree data information; the target data indicator tiled tree data information is information prefixed with the node tiled tree data information. The number of data points in the target data indicator's tiled tree is determined as the number of data indicators mounted on the current data storage node; and Displays the number of data metrics currently mounted on the data storage node.

4. The method according to claim 3, characterized in that, The current level information includes the current level information and the current sublevel information; The process of obtaining the node tiled tree data information of the current data storage node based on the tiled tree data information acquisition rules, the current data warehouse elements, and the current level information includes: According to the tiling tree data information acquisition rules, the current data warehouse elements, current level information and current grade information are symbolized to obtain the symbolized current data warehouse elements, symbolized current level information and symbolized current grade information; By connecting the symbolized current data warehouse element and its corresponding data ID using pre-defined connection symbols, the identifier information of the current data warehouse element is obtained; and Based on the identifier information, the symbolized current level information, and the symbolized current grade information, the node tiling tree data information of the current data storage node is obtained.

5. The method according to claim 3, characterized in that, The data index tiled tree data information list is constructed through the following steps: Obtain the mounting type information, mounting type name information, mounted data storage node, and data warehouse elements and hierarchical information corresponding to each of the data indicators; Based on the tiled tree data information acquisition rules, mounting type information, mounting type name information, data warehouse elements and hierarchical information, the tiled tree data information of each data indicator is obtained. and Based on the tiled tree data information of each data indicator, a list of tiled tree data information of the data indicators is constructed.

6. The method according to claim 5, characterized in that, The method further includes: Based on the tiled tree data information acquisition rules, the data warehouse elements and hierarchical information corresponding to each of the current data storage nodes, the first prefix information of each of the data storage nodes is obtained; the first prefix information is other tiled tree data information preceding the tiled tree data information corresponding to the currently mounted data warehouse element. When a change in the user demand information is detected, the second prefix information of each data storage node is obtained based on the tiled tree data information acquisition rules, the latest data warehouse elements corresponding to each data storage node, and the hierarchical information; the second prefix information is other tiled tree data information preceding the tiled tree data information corresponding to the latest data warehouse element currently mounted. If the first prefix information is the same as the second prefix information, the data warehouse elements currently mounted on each of the data storage nodes will be updated to the latest data warehouse elements; and If the first prefix information is different from the second prefix information, the data warehouse elements currently attached to each data storage node are updated to the latest data warehouse elements. Based on the first prefix information, the second prefix information and the latest data warehouse elements, the data indicator tiling tree data information corresponding to each data indicator is updated.

7. The method according to claim 6, characterized in that, The step of updating the data indicator tiling tree data information corresponding to each data indicator based on the first prefix information, the second prefix information, and the latest data warehouse element includes: According to the rules for obtaining the tiling tree data information, the latest data warehouse elements are symbolized to obtain the symbolized latest data warehouse elements; By connecting the symbolized latest data warehouse element and the data ID corresponding to the latest data warehouse element through a pre-defined connection symbol, the identifier information of the latest data warehouse element is obtained; Using the symbolized hierarchical information, the first prefix information and the identifier information are connected to obtain the data index tiling tree prefix information; Based on the prefix information of the data indicator tiled tree, the data indicator tiled tree data information to be updated is searched from the list of data indicator tiled tree data information; and The first prefix information contained in the tiled tree data information of the data indicator to be updated is updated to the second prefix information.

8. A data storage device, characterized in that, The device, applied to a data middle platform, includes: The configuration information generation module is configured to acquire current application environment information, user requirement information, and data to be stored, and generate corresponding configuration information based on the current application environment information and the user requirement information; the configuration information includes data warehouse elements, a first mounting relationship between data warehouse elements, a second mounting relationship between data indicators and data warehouse elements, and the number of display layers; The directory tree construction module is configured to construct a corresponding storage directory tree based on the data warehouse elements, data indicators, first mounting relationship, second mounting relationship, and display layer number; The data storage module is configured to store the data information to be stored into the corresponding data storage node based on the data warehouse elements and data indicators of the data information to be stored.

9. The apparatus according to claim 8, characterized in that, The device further includes: The module for displaying the number of mounted metrics is configured to obtain the number of data metrics mounted on the current data storage node based on pre-set tiling tree data information acquisition rules and any current data storage node; the number of data metrics includes a first number of data metrics and a second number of data metrics, wherein the first number of data metrics is the number of data metrics mounted under the current data storage node, and the second number of data metrics is the number of data metrics mounted on the data storage child nodes of the current data storage node; and display the number of data metrics mounted on the current data storage node.

10. The apparatus according to claim 9, characterized in that, The module for displaying the number of mounted indicators also includes: The acquisition submodule is configured to acquire the current data warehouse elements and current level information corresponding to the current data storage node; The node tiled tree generation submodule is configured to obtain the node tiled tree data information of the current data storage node based on the tiled tree data information acquisition rules, the current data warehouse elements, and the current level information. The search submodule searches for target data indicator tiled tree data from a pre-built list of data indicator tiled tree data based on the node tiled tree data information; the target data indicator tiled tree data is information prefixed with the node tiled tree data information. The display submodule determines the number of data indicators mounted on the current data storage node as the number of data indicators in the target data indicator tiled tree data information, and displays the number of data indicators mounted on the current data storage node.

11. The apparatus according to claim 10, characterized in that, The current level information includes current level information and current grade information; the node tiling tree generation submodule is further configured to: According to the tiled tree data information acquisition rules, the current data warehouse element, current level information and current grade information are symbolized to obtain the symbolized current data warehouse element, symbolized current level information and symbolized current grade information; the symbolized current data warehouse element and the corresponding data ID are connected by a pre-set connection symbol to obtain the identifier information of the current data warehouse element. Based on the identifier information, the symbolized current level information, and the symbolized current grade information, the node tiling tree data information of the current data storage node is obtained.

12. The apparatus according to claim 8, characterized in that, The device further includes: The list construction module is configured to obtain the mounting type information, mounting type name information, mounted data storage node, and data warehouse elements and hierarchical information corresponding to each data indicator; based on the tiled tree data information acquisition rules, mounting type information, mounting type name information, data warehouse elements and hierarchical information, obtain the data indicator tiled tree data information of each data indicator; and construct the data indicator tiled tree data information list based on the data indicator tiled tree data information.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

15. This application also provides a computer program product, including a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for showing screening and classification of data set in PDM (Product Data Management) system

    CN105279232A

  • Data storage method and device, computer storage medium and computer program product

    CN115658682A

  • Data storage method and device, electronic equipment and storage medium

    CN117235203A

  • Business data processing method and device, computer equipment and storage medium

    CN117827902A

  • Dynamic extensible index tree generation and display method based on Web technology stack

    CN118885543A