CN115658682A - Data storage method, data storage device, computer storage medium and computer program product - Google Patents

Data storage method, data storage device, computer storage medium and computer program product Download PDF

Info

Publication number
CN115658682A
CN115658682A CN202211173272.2A CN202211173272A CN115658682A CN 115658682 A CN115658682 A CN 115658682A CN 202211173272 A CN202211173272 A CN 202211173272A CN 115658682 A CN115658682 A CN 115658682A
Authority
CN
China
Prior art keywords
index
data
index item
stored
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211173272.2A
Other languages
Chinese (zh)
Inventor
张永朋
罗亚
杨龙
汪连洲
张耘逸
杨双明
肖健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shuhui System Technology Co ltd
Original Assignee
Shanghai Shuhui System Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Shuhui System Technology Co ltd filed Critical Shanghai Shuhui System Technology Co ltd
Priority to CN202211173272.2A priority Critical patent/CN115658682A/en
Publication of CN115658682A publication Critical patent/CN115658682A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a data storage method, a device, a computer storage medium and a computer program product, wherein the method comprises the following steps: after the data to be stored is obtained, determining element data of the data to be stored corresponding to each index element according to a preset index element template, generating an index item containing the element data of the data to be stored corresponding to each index element, obtaining a target index item corresponding to the data to be stored, and storing the data contained in the target index item based on a preset non-relational data storage structure. The method and the device have the advantages that the index items of multi-element dimensionality corresponding to the data to be stored are dynamically constructed, the target index items are stored by adopting a non-relational data storage structure, the problems that index warehousing is difficult, query is difficult, index attribute expansion cannot be dynamically supported, dynamic table adding is difficult to maintain and the like in a traditional relational database storage mode can be effectively solved, index data bases of users can be normalized, and business system construction is better supported.

Description

Data storage method, data storage device, computer storage medium and computer program product
Technical Field
The present application relates to the field of data storage technologies, and in particular, to a data storage method and apparatus, a computer storage medium, and a computer program product.
Background
The business system usually provides a large amount of index data for space calculation or data calculation and displays the statistics and calculation results to the user, or serves as the base data of the system to provide data support for the system.
The traditional method generally adopts a relational database (such as oracle, mysql and the like) to store index data, but the storage logic of the method is complex, the computational rendering efficiency is low, and a series of problems that the index data is difficult to store, difficult to query, unable to dynamically support index attribute expansion, difficult to maintain dynamically added tables and the like are brought.
Disclosure of Invention
In view of the above, the present application provides a data storage method, an apparatus, a computer storage medium, and a computer program product, so as to solve at least some of the defects of difficult index storage, difficult query, and inability to dynamically support index attribute expansion in the conventional relational database storage manner, and to normalize the index data base of the user, thereby better supporting the construction of the business system.
The specific scheme is as follows:
a method of data storage, comprising:
acquiring data to be stored;
determining element data of the data to be stored corresponding to each index item element according to a preset index item element template;
generating index items comprising element data of the data to be stored corresponding to each index item element to obtain target index items corresponding to the data to be stored;
and storing the data contained in the target index item based on a preset non-relational data storage structure.
Optionally, the determining, according to a preset index item element template, element data of the data to be stored corresponding to each index item element includes:
and extracting element data of at least part of elements in the data to be stored, which correspond to the basic attribute of the index, the dimension of the index, the index value and the calculation rule, according to a preset index item element template.
The index dimension is used for describing index information from the specific characteristic angle, the basic index attribute of the index is constructed based on preconfigured metadata and a dictionary table, the metadata is used for indicating the basic attribute required by the index item, and the dictionary table is used for storing keywords under different index dimensions and/or different basic attributes which are required by different index items correspondingly.
Optionally, the storing the data included in the target indicator item based on a preset non-relational data storage structure includes:
based on a plurality of different level nodes preset in a storage structure of a document type non-relational database, storing identifiers of the target index items, each index item element contained in the target index items and element data corresponding to each index item element in a grading manner;
and storing the incidence relation between different levels of nodes corresponding to the target index item based on the preset relation node in the storage structure of the document type non-relation type database.
Optionally, the method further includes:
when the data contained in the target index item is stored, the target index item and the related index items are organized into a corresponding directory for storage.
Optionally, organizing the target index items and the index items related thereto into corresponding directories for storage includes:
hanging a hierarchical storage structure corresponding to the target index item under a corresponding system node of an index system to which the target index item belongs so as to organize the target index item and each existing index item in the index system to which the target index item belongs into a corresponding directory for storage;
wherein each existing index item in the index system is an index item related to the target index item.
Optionally, the nodes of the plurality of different hierarchies include table nodes, field nodes and field value description nodes with sequentially lower hierarchies.
Optionally, the method further includes:
and adding corresponding check rules for the corresponding keywords in the dictionary table so as to check the numerical values of the keywords based on the corresponding check rules.
A data storage device, comprising:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring data to be stored;
the determining unit is used for determining the element data of the data to be stored corresponding to each index item element according to a preset index item element template;
the generating unit is used for generating index items of element data containing the to-be-stored data corresponding to each index item element to obtain target index items corresponding to the to-be-stored data;
a storage unit, configured to store data included in the target index item based on a preset non-relational data storage structure
A computer-readable medium, having stored thereon a computer program comprising program code for performing the method of any of the above.
10. A computer program product, characterized in that it comprises a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method according to any of the above.
To sum up, according to the data storage method, the data storage device, the computer storage medium, and the computer program product provided by the present application, after obtaining the data to be stored, according to the preset index item element template, the element data of the data to be stored corresponding to each index item element is determined, the index item including the element data of the data to be stored corresponding to each index item element is generated, the target index item corresponding to the data to be stored is obtained, and the data included in the target index item is stored based on the preset non-relational data storage structure. According to the method and the device, the target index items are stored by dynamically constructing the index items of multiple element dimensions corresponding to the data to be stored and adopting a non-relational data storage structure, so that the problems of difficult index storage, difficult query, incapability of dynamically supporting index attribute expansion, difficult maintenance of dynamically increasing tables and the like in the conventional relational database storage mode can be effectively solved, the index data base of a user can be normalized, and the construction of a business system can be better supported.
Drawings
The above and other features, advantages and aspects of various embodiments of the present application will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a schematic flow chart diagram of a data storage method provided herein;
FIG. 2 is an exemplary functional interface for dictionary management provided herein;
FIG. 3 is an example of keywords in a time granularity dimension in dictionary management provided herein;
FIG. 4 is an exemplary management function interface for the keyword "year" in the time granularity dimension provided herein;
FIG. 5 is an exemplary functional interface for index item basic attribute construction based on metadata management functionality as provided herein;
FIG. 6 is an example of extracting index element data of data to be stored based on an index element template provided in the present application;
FIG. 7 is an example of storing the index item/index hierarchy in a non-relational data storage structure as provided herein;
fig. 8 is a block diagram of the data storage device according to the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustration purposes only and are not intended to limit the scope of the present application.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present application are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this application are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The embodiment of the application provides a data storage method, a data storage device, a computer storage medium and a computer program product, which are used for solving the problems of difficult index storage, difficult query, incapability of dynamically supporting index attribute expansion and the like in the traditional relational database storage mode by providing and realizing a scheme for storing index data based on a non-relational data storage structure, and further supporting the construction of a business system better by regulating an index data base of a user.
Referring to a flow chart of a data storage method shown in fig. 1, the data storage method provided by the present application includes the following processing flows:
step 101, data to be stored are obtained.
The data to be stored may be, but is not limited to, index data to be stored provided by a business system, and specifically, may be related index data used for space calculation or data calculation, or may be related index data used as system base information and correspondingly providing data support for the system, without limitation.
The data to be stored is specifically unstructured index data, and examples thereof include: [ constant population urbanization rate, in city, target value of 2035 years long shot is 75% ], [ track traffic station 800 m radius service coverage: xxx ], and the like.
And step 102, determining element data of the data to be stored corresponding to each index item element according to a preset index item element template.
The embodiment of the application proposes and defines the following series of basic concepts in advance to support index data storage based on a non-relational data storage structure:
dictionary management, metadata, index dimensions, index items, an index system and index values.
The dictionary management is used for solving the storage and management problems of index data dictionary values, storing keywords such as units, time, regions and other dimensions or self-defined dimensions required by each index item through a dictionary table, and storing and managing the keywords under the basic attributes of each index item.
Optionally, the dictionary management further supports adding a corresponding check rule to the corresponding keyword in the dictionary table, so as to support checking the value of the corresponding keyword based on the check rule.
Referring to fig. 2, an exemplary functional interface for dictionary management is provided, including but not limited to, key configuration, storage and management functions in dimensions of units of measure, time granularity, region division, land use classification, service, function, etc. based on a dictionary table.
As shown in FIG. 3, examples of keywords in the time granularity dimension are further provided. Fig. 4 provides a management function interface for a field of the keyword "year" in the time granularity dimension, and based on the management function corresponding to the function interface, the relevant information of the unit field of the "year" in the unit dimension for dynamically displaying the index value can be realized.
The metadata is used for constructing basic attributes of the index items, and specifically, the basic attributes of the index items can be constructed and maintained through corresponding metadata management functions, as shown in fig. 5, so that the index items are dynamically constructed.
The index dimension is used to describe the index information from a specific feature angle to describe which attributes the index has at the corresponding feature angle/dimension.
The index item is an index item, and is a basic unit of the index. The index value is an index value associated with different index dimensions based on the index item.
For example, the index term corresponding to the data is [ secular population township ], and includes a space dimension [ city ], a time dimension [ 2035-year long-term target value ], and an index value [ 75 ], in units of [ 75 ].
The index system is used for organizing index items needing to be associated into a directory, and the index items needing to be involved in calculation of different business systems and the corresponding index values of the index items are different and can be defined through the index system.
Based on the above-described series of basic concepts defined, each constituent element included in the index item is further set. The index item includes a component element of an index value, and may include, but is not limited to, component elements such as basic attributes, dimensions, and calculation rules, where the attributes are constructed by dictionary tables and metadata. The basic attribute can comprise a fixed attribute and a dynamic extension attribute so as to support the dynamic extension of the attribute of the index item by dynamically adding required attribute fields.
In order to facilitate dynamic construction of index items corresponding to data to be stored, an index item element template provided with each component element of the index items is pre-formulated in the embodiment of the application, and after the data to be stored is obtained, element data of the data to be stored corresponding to each index item element in the template, such as extraction of element data corresponding to each index element such as index basic attributes, index dimensions, index values, calculation rules, and the like, can be extracted based on the template. Referring to fig. 6, an index item-based element template is provided, and [ the track traffic station 800 m radius service coverage rate: xxx is an example of each index element data of this data to be stored.
103, generating an index item containing element data of each index item element corresponding to the data to be stored, and obtaining a target index item corresponding to the data to be stored.
After extraction of each index item element data of the data to be stored is completed based on the index item element template, a target index item corresponding to the data to be stored can be generated, and the generated target index item correspondingly comprises element data of each component element of the data to be stored, such as basic attribute, index dimension, index value, calculation rule and the like of the data to be stored.
And step 104, storing the data contained in the target index item based on a preset non-relational data storage structure.
Optionally, in the present application, a document-type non-relational database storage structure is adopted to store data included in the target index item, that is, in this embodiment of the present application, the non-relational database storage structure is a non-relational database storage structure document.
The method includes the steps that various different levels of nodes are preset in a storage structure of a document type non-relational database in advance, wherein the nodes include but are not limited to table nodes, field nodes and field value description nodes with sequentially-reduced levels. The table nodes are nodes set for multiple data objects, where the multiple data objects refer to objects containing multiple data, such as but not limited to an index system, index items (index items), a dictionary (dictionary table), and the like, the field nodes are nodes set for index attributes, index dimensions, or key fields in the dictionary table, and the field value description nodes are used to store values corresponding to the fields.
Meanwhile, a relationship node is also preset in the storage structure of the document type non-relational database and is used for storing relationships among the index system, the index items, the basic attributes, the dimensions, the dictionaries and the like, including but not limited to the relationships of containing, owning, belonging to, relying on and the like.
Correspondingly, after the target index item corresponding to the data to be stored is obtained, the method and the device store the identification of the target index item, each index item element contained in the target index item and the element data corresponding to each index item element in a grading manner on the basis of different hierarchy nodes such as tables, fields and field value descriptions preset in a storage structure of a document type non-relational database, and store the association relationship between different hierarchy nodes corresponding to the target index item on the basis of the preset relationship nodes, so that the dynamic index item construction of the data to be stored and the non-relational data structure storage of the constructed index item are realized.
For example, the target index item is first constructed as a table node, the table node is adopted to store the identifier of the target index item, then the field nodes are adopted to store different keyword fields under each basic attribute/dimension of the target index item, the field values are adopted to explain that the nodes store the values of different keyword fields, and the like, and the association relationship between each level of nodes corresponding to the stored target index item is constructed based on the relationship nodes, such as the association relationship between the table node and the field nodes under each attribute/dimension, and the association relationship between each field node and the field value explanation node, and the like.
In addition, optionally, when data included in the target index item is stored, the target index item and the index items related to the target index item may be organized into corresponding directories for storage.
The method comprises the following steps that a hierarchical storage structure corresponding to a target index item is hung under a corresponding system node of an index system to which the hierarchical storage structure belongs, so that the target index item and each existing index item in the index system to which the target index item belongs are organized into a corresponding directory to be stored; it is easy to understand that each existing index item in the index system to which the target index item belongs constitutes an index item related to the target index item.
Referring to FIG. 7, an example of storing the index item, index hierarchy, based on the above-described non-relational data storage structure is provided. Compared with a relational database storage mode in the prior art, the non-relational data storage structure provided by the embodiment of the application is more beneficial to the warehousing and query of indexes, can support the dynamic expansion of the attributes of the index items by dynamically adding required attribute fields into an index item element template, and can dynamically increase and maintain the database table by hooking a hierarchical storage structure of a required table to a non-relational database storage structure document, so that the problems that the indexes in the traditional relational database are difficult to warehouse, query, cannot dynamically support the expansion of the attributes of the indexes, and the dynamically increased table is difficult to maintain are effectively solved.
In summary, according to the data storage method provided by the application, after the data to be stored is obtained, the element data of the data to be stored corresponding to each index element is determined according to the preset index element template, the index item including the element data of the data to be stored corresponding to each index element is generated, the target index item corresponding to the data to be stored is obtained, and the data included in the target index item is stored based on the preset non-relational data storage structure. According to the method and the device, the target index items are stored by dynamically constructing the index items of multiple element dimensions corresponding to the data to be stored and adopting a non-relational data storage structure, so that the problems of difficult index storage, difficult query, incapability of dynamically supporting index attribute expansion, difficult maintenance of dynamically increasing tables and the like in the conventional relational database storage mode can be effectively solved, the index data base of a user can be normalized, and the construction of a business system can be better supported.
Corresponding to the above data storage method, the present application also provides a data storage device, the structure of which is shown in fig. 8, and the data storage device comprises:
an acquisition unit 10 for acquiring data to be stored;
the determining unit 20 is configured to determine, according to a preset index item element template, element data of each index item element corresponding to the data to be stored;
the generating unit 30 is configured to generate an index item that includes element data of each index item element corresponding to the data to be stored, and obtain a target index item corresponding to the data to be stored;
a storage unit 40, configured to store data included in the target index item based on a preset non-relational data storage structure
In an embodiment, the determining unit 20 is specifically configured to:
and extracting element data of at least part of elements in the data to be stored, which correspond to the basic attribute of the index, the dimension of the index, the index value and the calculation rule according to a preset index item element template.
The index dimension is used for describing index information from the specific characteristic angle, the basic index attribute of the index is constructed based on preconfigured metadata and a dictionary table, the metadata is used for indicating the basic attribute required by the index item, and the dictionary table is used for storing keywords under different index dimensions and/or different basic attributes which are required by different index items correspondingly.
In an embodiment, the storage unit 40 is specifically configured to:
based on a plurality of different level nodes preset in a storage structure of a document type non-relational database, storing identifiers of the target index items, each index item element contained in the target index items and element data corresponding to each index item element in a grading manner;
and storing the incidence relation between different levels of nodes corresponding to the target index item based on the preset relation node in the storage structure of the document type non-relation type database.
In one embodiment, the storage unit 40 is further configured to:
when the data contained in the target index item is stored, the target index item and the related index items are organized into a corresponding directory for storage.
In an embodiment, when organizing and storing the target index item and the index item related thereto into a corresponding directory, the storage unit 40 is specifically configured to:
hanging a hierarchical storage structure corresponding to the target index item under a corresponding system node of an index system to which the target index item belongs so as to organize the target index item and each existing index item in the index system to which the target index item belongs into a corresponding directory for storage;
wherein, each existing index item in the index system is an index item related to the target index item.
In one embodiment, the plurality of different level nodes include a table node, a field node, and a field value specification node, which are lower in level in order.
In one embodiment, the apparatus further comprises: and the rule configuration unit is used for adding corresponding verification rules for the corresponding keywords in the dictionary table so as to verify the numerical values of the keywords based on the corresponding verification rules.
For the data storage device provided by the embodiment of the present application, since it corresponds to the data storage method provided by the above method embodiment, the description is relatively simple, and for the relevant similarities, please refer to the description of the above method embodiment, and the detailed description is omitted here.
The present application also provides a computer-readable medium having stored thereon a computer program comprising program code for performing the data storage method as provided by the above method embodiments.
In the context of this application, a computer-readable medium (machine-readable medium) may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in an electronic device; or may be separate and not incorporated into the electronic device.
The present application also provides a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the data storage method as provided by the above method embodiments.
In particular, the processes described above with reference to the flowcharts may be implemented as computer software programs according to embodiments of the present application. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the method of the embodiments of the present application.
It is noted that, although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the application. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments with a particular combination of the above-mentioned features, but also encompasses other embodiments with any combination of the above-mentioned features or their equivalents without departing from the scope of the application. For example, the above features and the technical features (but not limited to) having similar functions in the present application are mutually replaced to form the technical solution.

Claims (10)

1. A method of storing data, comprising:
acquiring data to be stored;
determining element data of the data to be stored corresponding to each index item element according to a preset index item element template;
generating index items of element data containing the data to be stored corresponding to each index item element to obtain target index items corresponding to the data to be stored;
and storing the data contained in the target index item based on a preset non-relational data storage structure.
2. The method according to claim 1, wherein the determining, according to a preset index item element template, that the data to be stored corresponds to element data of each index item element comprises:
and extracting element data of at least part of elements in the data to be stored, which correspond to the basic attribute of the index, the dimension of the index, the index value and the calculation rule according to a preset index item element template.
The index dimension is used for describing index information from the specific characteristic angle, the basic index attribute of the index is constructed based on preconfigured metadata and a dictionary table, the metadata is used for indicating the basic attribute required by the index item, and the dictionary table is used for storing keywords under different index dimensions and/or different basic attributes which are required by different index items correspondingly.
3. The method according to claim 1, wherein the storing the data included in the target index item based on a preset non-relational data storage structure comprises:
based on a plurality of different levels of nodes preset in a storage structure of a document type non-relational database, hierarchically storing the identification of the target index item, each index item element contained in the target index item and element data corresponding to each index item element;
and storing the incidence relation between different levels of nodes corresponding to the target index item based on the preset relation node in the storage structure of the document type non-relation type database.
4. The method of claim 3, further comprising:
when the data contained in the target index item is stored, the target index item and the related index items are organized into a corresponding directory for storage.
5. The method of claim 4, wherein organizing the target metric items and their associated metric items into corresponding directories for storage comprises:
hanging a hierarchical storage structure corresponding to the target index item under a corresponding system node of an index system to which the target index item belongs so as to organize the target index item and each existing index item in the index system to which the target index item belongs into a corresponding directory for storage;
wherein, each existing index item in the index system is an index item related to the target index item.
6. The method of claim 5, wherein the plurality of different level nodes includes table nodes, field nodes and field value description nodes with successively lower levels.
7. The method of claim 2, further comprising:
and adding corresponding check rules for the corresponding keywords in the dictionary table so as to check the numerical values of the keywords based on the corresponding check rules.
8. A data storage device, comprising:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring data to be stored;
the determining unit is used for determining the element data of the data to be stored corresponding to each index item element according to a preset index item element template;
the generating unit is used for generating index items of element data which comprise the data to be stored and correspond to each index item element to obtain target index items corresponding to the data to be stored;
and the storage unit is used for storing the data contained in the target index item based on a preset non-relational data storage structure.
9. A computer-readable medium, characterized in that a computer program is stored thereon, the computer program comprising program code for performing the method according to any of claims 1-7.
10. A computer program product, characterized in that it comprises a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method according to any one of claims 1-7.
CN202211173272.2A 2022-09-26 2022-09-26 Data storage method, data storage device, computer storage medium and computer program product Pending CN115658682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211173272.2A CN115658682A (en) 2022-09-26 2022-09-26 Data storage method, data storage device, computer storage medium and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211173272.2A CN115658682A (en) 2022-09-26 2022-09-26 Data storage method, data storage device, computer storage medium and computer program product

Publications (1)

Publication Number Publication Date
CN115658682A true CN115658682A (en) 2023-01-31

Family

ID=84985640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211173272.2A Pending CN115658682A (en) 2022-09-26 2022-09-26 Data storage method, data storage device, computer storage medium and computer program product

Country Status (1)

Country Link
CN (1) CN115658682A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117312319A (en) * 2023-10-09 2023-12-29 中科院成都信息技术股份有限公司 Metadata-based data storage method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117312319A (en) * 2023-10-09 2023-12-29 中科院成都信息技术股份有限公司 Metadata-based data storage method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109388637B (en) Data warehouse information processing method, device, system and medium
CN110168529B (en) Data storage method, device and storage medium
CN107729399B (en) Data processing method and device
CN111414352B (en) Database information management method and device
CN112000773B (en) Search engine technology-based data association relation mining method and application
CN103577440A (en) Data processing method and device in non-relational database
US20190362017A1 (en) Differential support for frequent pattern analysis
CN111506559A (en) Data storage method and device, electronic equipment and storage medium
CN109062936B (en) Data query method, computer readable storage medium and terminal equipment
CN111737393A (en) Vector data self-adaptive management method and system under web environment
CN102999637B (en) According to the method and system that file eigenvalue is file automatic powder adding add file label
WO2023138505A1 (en) Methods, systems, and devices for data query
CN110851663B (en) Method and device for managing metadata
CN106605222A (en) Guided data exploration
CN115658682A (en) Data storage method, data storage device, computer storage medium and computer program product
CN104965846B (en) Visual human's method for building up in MapReduce platform
CN112363996B (en) Method, system and medium for establishing physical model of power grid knowledge graph
CN105159898A (en) Searching method and searching device
Mouratidis et al. Tree-based partition querying: a methodology for computing medoids in large spatial datasets
CN106845787A (en) A kind of data method for automatically exchanging and device
CN116303628A (en) Alarm data query method, system and equipment based on elastic search
Li et al. Answering why-not questions on top-k augmented spatial keyword queries
CN117009430A (en) Data management method, device, storage medium and electronic equipment
CN113934729A (en) Data management method based on knowledge graph, related equipment and medium
CN104660428B (en) A kind of management method and device of performance data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination