Data resource classification and data display method and system

文档序号:1889416 发布日期:2021-11-26 浏览:4次 中文

阅读说明:本技术 一种数据资源分类及数据展现方法及系统 (Data resource classification and data display method and system ) 是由 李光鹏 宋海涛 李蒙 于 2021-08-11 设计创作,主要内容包括:本发明涉及互联网行业领域,具体提供了一种数据资源分类及数据展现方法,具有以下步骤:S1、对数据资源进行分类,按数据资源分类建表并将对应数据加工导入;S2、创建资源目录配置表;S3、创建字段配置表;S4、创建查询项配置表。与现有技术相比,本发明能够通过存储、修改以及删除配置信息的方式来达到数据资源分类以及展现内容的个性化设置,从而提高效率和产能,降低成本,便于操作和后期维护。(The invention relates to the field of Internet industry, and particularly provides a data resource classification and data display method, which comprises the following steps: s1, classifying the data resources, building a table according to the data resource classification and importing the corresponding data; s2, creating a resource directory configuration table; s3, creating a field configuration table; and S4, creating a query item configuration table. Compared with the prior art, the invention can achieve the data resource classification and the personalized setting of the display content by storing, modifying and deleting the configuration information, thereby improving the efficiency and the productivity, reducing the cost and being convenient for operation and later maintenance.)

1. A data resource classification and data display method is characterized by comprising the following steps:

s1, classifying the data resources;

s2, creating a resource directory configuration table;

s3, creating a field configuration table;

and S4, creating a query item configuration table.

2. The method for classifying data resources and displaying data as claimed in claim 1, wherein in step S1, the data is divided into multi-level directories according to need, a data table is created according to the resource directories, and the corresponding data is automatically imported after being cleaned and processed, and is updated periodically.

3. The method for classifying data resources and displaying data as claimed in claim 2, wherein in step S2, the last-level directory and the corresponding table name are stored in the directory configuration table, and the system can query the corresponding data table name according to the directory name, so as to query the data in the corresponding data table and display the data.

4. The method for classifying data resources and displaying data as claimed in claim 3, wherein in step S3, the information of the field information, the sorting rule and the formatting method that each directory wants to display is stored in the field configuration table, so that the field display, the content sorting and the formatting method can be adjusted according to personal requirements.

5. The method for data resource classification and data representation according to claim 4, wherein in step S4, the query component can be set up in a personalized manner to support fuzzy query, the configuration information is stored in the query item configuration table, and the option of the drop-down box establishes the dictionary table for configuration.

6. A data resource classification and data display system is characterized by comprising a data resource classification module, a resource directory configuration module, a field configuration module and a query item configuration module;

the data resource classification module is used for performing multi-level distribution on the catalogues, the resource catalog configuration module is used for storing the last-level catalogues and corresponding table names of the catalogues which are subjected to multi-level distribution in a catalog configuration table, the field configuration module is used for storing information which each catalog needs to be displayed, and the query item configuration module is used for setting a query component in a personalized mode.

7. The data resource classification and data presentation system according to claim 6, wherein the data resource classification module is configured to classify the data into a multi-level directory according to a requirement, create a data table according to the resource directory, automatically import the corresponding data after cleaning and processing, and update the corresponding data at regular time.

8. The system according to claim 7, wherein the resource directory configuration module is configured to store the last-level directory and the corresponding table name in a directory configuration table, and the system can query the corresponding data table name according to the directory name, so as to query and display data in the corresponding data table.

9. The system for data resource classification and data presentation according to claim 7, wherein the field configuration module is configured to store the information to be presented in each directory in a field configuration table, so that the field presentation, content ordering and formatting method can be adjusted according to individual needs.

10. The system for data resource classification and data presentation of claim 9, wherein the query term configuration module is configured to set the query component to support fuzzy query, and the configuration information is stored in the query term configuration table.

Technical Field

The invention relates to the field of Internet industry, and particularly provides a data resource classification and data display method and system.

Background

In the current data classification and display mode, when a tree plug-in is used as a directory menu for display, a data display page needs to be developed for each menu, that is, how many pages need to be developed for how many directories. If a single page is used, the contents such as the query conditions and the number of data items displayed on the page are single, and personalized setting cannot be performed.

Meanwhile, if the display or fine adjustment of data types, fields and query conditions is increased or decreased, the research personnel are required to modify codes to achieve the expected effect, so that the production capacity is low, the efficiency is low, the operation is inconvenient, the cost is high, the maintenance is difficult, and the like.

Disclosure of Invention

Aiming at the defects of the prior art, the invention provides a data resource classification and data display method with strong practicability.

The invention further aims to provide a data resource classification and data display system which is reasonable in design, safe and applicable.

The technical scheme adopted by the invention for solving the technical problems is that

A data resource classification and data display method comprises the following steps:

s1, classifying the data resources;

s2, creating a resource directory configuration table;

s3, creating a field configuration table;

and S4, creating a query item configuration table.

Further, in step S1, the data is divided into multi-level directories as necessary, a data table is created according to the resource directory, and the corresponding data is automatically imported after being cleaned and processed, and is updated at regular time.

Further, in step S2, the last-level directory and the corresponding table name are stored in the directory configuration table, and the system can query the corresponding data table name according to the directory name, so as to query and display the data in the corresponding data table.

Further, in step S3, the information of the fields, the sorting rules and the formatting methods that each directory wants to display is stored in the field configuration table, so that the field display, the content sorting and the formatting methods can be adjusted according to personal needs.

Further, in step S4, the query component may be set up in a personalized manner, fuzzy query is supported, the configuration information is stored in the query item configuration table, and the option of the drop-down box establishes the dictionary table for configuration.

A data resource classification and data display system comprises a data resource classification module, a resource directory configuration module, a field configuration module and a query item configuration module;

the data resource classification module is used for performing multi-level distribution on the catalogues, the resource catalog configuration module is used for storing the last-level catalogues and corresponding table names of the catalogues which are subjected to multi-level distribution in a catalog configuration table, the field configuration module is used for storing information which each catalog needs to be displayed, and the query item configuration module is used for setting a query component in a personalized mode.

Further, the data resource classification module is used for dividing the data into multi-level catalogs according to requirements, creating a data table according to the resource catalogs, automatically importing the corresponding data after cleaning and processing, and updating the corresponding data at regular time.

Further, the resource directory configuration module is used for storing the last-level directory and the corresponding table name in a directory configuration table, and the system can query the corresponding data table name according to the directory name, so as to query data in the corresponding data table and display the data.

Further, the field configuration module is used for storing the information to be displayed in each directory in a field configuration table, and can adjust the field display, content sequencing and formatting method according to personal requirements.

Further, the query item configuration module is used for setting a query component, supporting fuzzy query, and storing configuration information in a query item configuration table.

Compared with the prior art, the data resource classification and data display method and system have the following outstanding beneficial effects:

the invention can achieve the data resource classification and the personalized setting of the display content by storing, modifying and deleting the configuration information, thereby improving the efficiency and the productivity, reducing the cost and being convenient for operation and later maintenance.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

FIG. 1 is a display diagram of a data resource classification and data presentation method on a page.

Detailed Description

The present invention will be described in further detail with reference to specific embodiments in order to better understand the technical solutions of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

A preferred embodiment is given below:

in the data resource classification and data display method in this embodiment, the configuration information of data classification, display and query is stored, and the purposes of classification display, content ordering, content adjustment and query are embodied by querying the configuration information.

The method comprises the following specific steps:

s1, classifying the data resources:

the data resources are classified into a first-level catalog, a second-level catalog and other multi-level catalogs according to the requirements, a data table is created according to the resource catalogs, corresponding data are automatically imported after being cleaned and processed, and the data are updated regularly.

S2, creating a resource directory configuration table:

and creating a resource directory configuration table, storing the last-level directory and the corresponding table name in the directory configuration table, and inquiring the corresponding data table name by the system according to the directory name so as to inquire and display data in the corresponding data table.

S3, creating a field configuration table:

information such as field information, sequencing rules, formatting methods and the like which are required to be displayed by each directory are stored in a field configuration table, so that field display, content sequencing and formatting methods can be adjusted according to personal requirements;

s4, creating a query item configuration table:

query components such as a drop-down box, a time control, an input box and the like can be set in a personalized manner, fuzzy query is supported, configuration information is stored in a query item configuration table to achieve the above query configuration effect, and a dictionary table is established for configuration by options of the drop-down box.

A data resource classification and data display system comprises a data resource classification module, a resource directory configuration module, a field configuration module and a query item configuration module;

the data resource classification module is used for dividing the data into a first-level catalog, a second-level catalog and other multi-level catalogs according to the requirements of the data resource classification module, creating a data table according to the resource catalogs, automatically importing the corresponding data after cleaning and processing, and updating the corresponding data at regular time.

The resource catalog configuration module is used for storing the last-level catalog and the corresponding table name in a catalog configuration table, and the system can inquire the corresponding data table name according to the catalog name so as to inquire and display data in the corresponding data table.

The field configuration module is used for storing information such as field information, sequencing rules, formatting methods and the like which are required to be displayed by each directory in a field configuration table, so that the field display, content sequencing and formatting methods can be adjusted according to personal requirements.

The query item configuration module is used for setting query components such as a drop-down box, a time control, an input box and the like in a personalized manner, supporting fuzzy query, storing configuration information in a query item configuration table to achieve the above query configuration effect, and establishing a dictionary table for configuration by options of the drop-down box.

As shown in fig. 1:

the left side of the figure is the classification of data resources, the data resources are displayed in a directory tree mode, corresponding directories are clicked, the data resources can be folded and unfolded, if the data resources cannot be unfolded, the data resources represent the last-level directories, and corresponding data information is displayed when the data resources are clicked.

The table on the right side of the figure shows data information corresponding to the directory, the displayed information can be rearranged according to the current column by configuring default display field information, sorting and the like and clicking the table head, and a corresponding paging jump function is arranged below the table.

The data query function of the table corresponds to the upper part of the chart table, a plurality of drop-down frames can be set for query or query without the drop-down frames according to own requirements, time selection frames can also be set to be available or unavailable, search frames exist by default, and corresponding data information can be queried by clicking a query button according to query conditions.

The above embodiments are only specific examples, and the scope of the present invention includes but is not limited to the above embodiments, and any suitable changes or substitutions that are consistent with the claims of the data resource classification and data presentation method and system of the present invention and are made by those skilled in the art should fall within the scope of the present invention.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:搜索系统及搜索方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!