CN117539870A - An entertainment venue data table management method and system - Google Patents

An entertainment venue data table management method and system Download PDF

Info

Publication number
CN117539870A
CN117539870A CN202410027152.4A CN202410027152A CN117539870A CN 117539870 A CN117539870 A CN 117539870A CN 202410027152 A CN202410027152 A CN 202410027152A CN 117539870 A CN117539870 A CN 117539870A
Authority
CN
China
Prior art keywords
data
data table
model
data set
fields
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.)
Granted
Application number
CN202410027152.4A
Other languages
Chinese (zh)
Other versions
CN117539870B (en
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.)
Fujian Yalarate Network Technology Service Co ltd
Original Assignee
Fujian Yalarate Network Technology Service 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 Fujian Yalarate Network Technology Service Co ltd filed Critical Fujian Yalarate Network Technology Service Co ltd
Priority to CN202410027152.4A priority Critical patent/CN117539870B/en
Publication of CN117539870A publication Critical patent/CN117539870A/en
Application granted granted Critical
Publication of CN117539870B publication Critical patent/CN117539870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供了娱乐场所数据表管理技术领域的一种娱乐场所数据表管理方法及系统,方法包括:步骤S10、设定数据源参数;步骤S20、基于数据源参数创建若干个数据模型;步骤S30、对各数据模型进行组合以创建若干个数据集;步骤S40、将各数据集中的字段添加到编辑区,并自动排版生成数据表,对生成的数据表进行编辑,保存编辑完成的数据表;步骤S50、基于筛选字段、剔除字段、时间段或者运算符对数据表进行查询,生成并保存为数据新表;步骤S60、对数据新表进行加密,生成加密后的数据新表的访问链接,基于访问链接对数据新表进行分享。本发明的优点在于:极大的提升了娱乐场所数据表管理的灵活性以及便捷性。

The present invention provides an entertainment venue data table management method and system in the technical field of entertainment venue data table management. The method includes: step S10, setting data source parameters; step S20, creating several data models based on the data source parameters; step S30 , combine each data model to create several data sets; step S40, add the fields in each data set to the editing area, automatically typeset and generate a data table, edit the generated data table, and save the edited data table; Step S50: Query the data table based on the filter field, elimination field, time period or operator, generate and save it as a new data table; Step S60: Encrypt the new data table, and generate an access link to the encrypted new data table. Share new tables of data based on access links. The invention has the advantage that it greatly improves the flexibility and convenience of data table management in entertainment venues.

Description

一种娱乐场所数据表管理方法及系统An entertainment venue data table management method and system

技术领域Technical field

本发明涉及娱乐场所数据表管理技术领域,特别指一种娱乐场所数据表管理方法及系统。The invention relates to the technical field of entertainment venue data table management, and in particular to an entertainment venue data table management method and system.

背景技术Background technique

娱乐场所在运营过程中,需要使用大量的数据表进行经营管理,例如进货表、点单表、工资表、业绩表、寄存酒存取记录表、寄存酒库存汇总表、借还酒库存明细表、出品数量明细表、出品账务明细表、入库单合并物品运费、仓库盘盈亏明细表、入库单运费表等等,通过这些数据表可掌握娱乐场所的运营情况。然而传统的数据表相互之间是孤立的,仅支持简单的查询、显示、隐藏等功能,无法进行数据表之间的交互,例如无法对工资表和业绩表中某员工的相关数据进行整合展示,且无法对数据表进行分享,导致用户体验低下;此外,当需要新增一张数据表时,传统上需要重新编写代码进行开发,以对数据表的各表参数进行定义,存在一定的门槛,不仅效率低下,而且开发成本高昂。During the operation of entertainment venues, a large number of data tables need to be used for operation and management, such as purchase tables, order tables, salary tables, performance tables, stored wine access records, stored wine inventory summary tables, and loan and return wine inventory details. , product quantity detail table, product account detail table, warehouse-in order consolidated item freight, warehouse inventory profit and loss detailed list, warehouse-in order freight table, etc. Through these data tables, the operation status of entertainment venues can be understood. However, traditional data tables are isolated from each other and only support simple query, display, hiding and other functions, and cannot interact between data tables. For example, it is impossible to integrate and display the relevant data of an employee in the salary table and performance table. , and the data table cannot be shared, resulting in poor user experience; in addition, when a new data table needs to be added, it is traditionally necessary to rewrite the code for development to define each table parameter of the data table, and there is a certain threshold. , which is not only inefficient but also costly to develop.

因此,如何提供一种娱乐场所数据表管理方法及系统,实现提升娱乐场所数据表管理的灵活性以及便捷性,成为一个亟待解决的技术问题。Therefore, how to provide an entertainment venue data table management method and system to improve the flexibility and convenience of entertainment venue data table management has become an urgent technical problem to be solved.

发明内容Contents of the invention

本发明要解决的技术问题,在于提供一种娱乐场所数据表管理方法及系统,实现提升娱乐场所数据表管理的灵活性以及便捷性。The technical problem to be solved by the present invention is to provide an entertainment venue data table management method and system to improve the flexibility and convenience of entertainment venue data table management.

第一方面,本发明提供了一种娱乐场所数据表管理方法,包括如下步骤:In a first aspect, the present invention provides an entertainment venue data table management method, which includes the following steps:

步骤S10、设定用于获取娱乐场所经营数据的数据源参数;Step S10: Set data source parameters for obtaining entertainment venue operation data;

步骤S20、基于所述数据源参数创建若干个数据模型;Step S20: Create several data models based on the data source parameters;

步骤S30、对各所述数据模型进行组合以创建若干个数据集;Step S30: Combine each of the data models to create several data sets;

步骤S40、通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,并自动排版生成数据表,对生成的所述数据表进行编辑,保存编辑完成的所述数据表;Step S40: Add the data set fields in each of the data sets to the editing area through drag-and-drop interaction, automatically type and generate a data table, edit the generated data table, and save the edited data table. ;

步骤S50、基于筛选字段、剔除字段、时间段或者运算符对所述数据表进行查询,生成并保存为数据新表;Step S50: Query the data table based on filter fields, elimination fields, time periods or operators, generate and save it as a new data table;

步骤S60、对所述数据新表进行加密,生成加密后的所述数据新表的访问链接,基于所述访问链接对数据新表进行分享。Step S60: Encrypt the new data table, generate an access link to the encrypted new data table, and share the new data table based on the access link.

进一步的,所述步骤S10中,所述数据源参数至少包括源名称、数据库类型、数据库IP、数据库端口、数据库名称、数据库用户名以及数据库密码。Further, in step S10, the data source parameters at least include source name, database type, database IP, database port, database name, database user name and database password.

进一步的,所述步骤S20具体为:Further, the step S20 is specifically:

通过可视化界面配置模型信息、模型字段以及模型关系,进而创建若干个数据模型;Configure model information, model fields and model relationships through the visual interface, and then create several data models;

所述模型信息至少包括数据源参数、分类、表名、标签、可见标识、排序以及更新时间;所述模数模型关系为不同数据模型之间的映射关系。The model information at least includes data source parameters, classification, table names, labels, visible identifiers, sorting and update time; the modular model relationship is a mapping relationship between different data models.

进一步的,所述步骤S30具体为:Further, the step S30 is specifically:

通过可视化界面配置数据集信息、数据集字段以及数据集关系,进而创建若干个数据集;Configure data set information, data set fields and data set relationships through the visual interface, and then create several data sets;

所述数据集信息至少包括标题、状态、首页信息、数据集分类、数据集类型、数据模型、数据模型的组合条件、数据模型的分组、数据模型的分组条件;所述数据集关系为不同数据集之间的映射关系。The data set information at least includes title, status, homepage information, data set classification, data set type, data model, data model combination conditions, data model grouping, and data model grouping conditions; the data set relationship is different data mapping relationship between sets.

进一步的,所述步骤S40具体为:Further, the step S40 is specifically:

通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,自动对存在映射关系的各所述数据集的数据集字段合并排版成一张数据表,对不存在映射关系的各所述数据集的数据集字段,以所述数据集为分组分别生成一张数据表;Through drag-and-drop interaction, the data set fields in each of the data sets are added to the editing area, and the data set fields of each of the data sets that have a mapping relationship are automatically merged and typed into a data table, and those that do not have a mapping relationship are automatically merged and typed into one data table. For the data set fields of each of the data sets, a data table is generated by grouping the data sets;

对生成的所述数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列或者取消所有隐藏的编辑,基于接收的保存指令保存编辑完成的所述数据表。Create columns, modify columns, delete columns, freeze, group subtotals, summarize statistics, hide this column, or cancel all hidden edits on the generated data table, and save the edited data table based on the received save instruction.

第二方面,本发明提供了一种娱乐场所数据表管理系统,包括如下模块:In a second aspect, the present invention provides an entertainment venue data table management system, including the following modules:

数据源参数设定模块,用于设定用于获取娱乐场所经营数据的数据源参数;The data source parameter setting module is used to set the data source parameters used to obtain entertainment venue operation data;

数据模型创建模块,用于基于所述数据源参数创建若干个数据模型;A data model creation module, used to create several data models based on the data source parameters;

数据集创建模块,用于对各所述数据模型进行组合以创建若干个数据集;A data set creation module, used to combine each of the data models to create several data sets;

数据表生成模块,用于通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,并自动排版生成数据表,对生成的所述数据表进行编辑,保存编辑完成的所述数据表;The data table generation module is used to add the data set fields in each data set to the editing area through drag-and-drop interaction, and automatically typeset and generate a data table, edit the generated data table, and save the edited results. the data table;

数据表查询模块,用于基于筛选字段、剔除字段、时间段或者运算符对所述数据表进行查询,生成并保存为数据新表;The data table query module is used to query the data table based on filter fields, elimination fields, time periods or operators, and generate and save it as a new data table;

数据新表分享模块,用于对所述数据新表进行加密,生成加密后的所述数据新表的访问链接,基于所述访问链接对数据新表进行分享。A new data table sharing module is used to encrypt the new data table, generate an access link to the encrypted new data table, and share the new data table based on the access link.

进一步的,所述数据源参数设定模块中,所述数据源参数至少包括源名称、数据库类型、数据库IP、数据库端口、数据库名称、数据库用户名以及数据库密码。Further, in the data source parameter setting module, the data source parameters at least include source name, database type, database IP, database port, database name, database user name and database password.

进一步的,所述数据模型创建模块具体用于:Further, the data model creation module is specifically used for:

通过可视化界面配置模型信息、模型字段以及模型关系,进而创建若干个数据模型;Configure model information, model fields and model relationships through the visual interface, and then create several data models;

所述模型信息至少包括数据源参数、分类、表名、标签、可见标识、排序以及更新时间;所述模数模型关系为不同数据模型之间的映射关系。The model information at least includes data source parameters, classification, table names, labels, visible identifiers, sorting and update time; the modular model relationship is a mapping relationship between different data models.

进一步的,所述数据集创建模块具体用于:Further, the data set creation module is specifically used for:

通过可视化界面配置数据集信息、数据集字段以及数据集关系,进而创建若干个数据集;Configure data set information, data set fields and data set relationships through the visual interface, and then create several data sets;

所述数据集信息至少包括标题、状态、首页信息、数据集分类、数据集类型、数据模型、数据模型的组合条件、数据模型的分组、数据模型的分组条件;所述数据集关系为不同数据集之间的映射关系。The data set information at least includes title, status, homepage information, data set classification, data set type, data model, data model combination conditions, data model grouping, and data model grouping conditions; the data set relationship is different data mapping relationship between sets.

进一步的,所述数据表生成模块具体用于:Further, the data table generation module is specifically used for:

通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,自动对存在映射关系的各所述数据集的数据集字段合并排版成一张数据表,对不存在映射关系的各所述数据集的数据集字段,以所述数据集为分组分别生成一张数据表;Through drag-and-drop interaction, the data set fields in each of the data sets are added to the editing area, and the data set fields of each of the data sets that have a mapping relationship are automatically merged and typed into a data table, and those that do not have a mapping relationship are automatically merged and typed into one data table. For the data set fields of each of the data sets, a data table is generated by grouping the data sets;

对生成的所述数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列或者取消所有隐藏的编辑,基于接收的保存指令保存编辑完成的所述数据表。Create columns, modify columns, delete columns, freeze, group subtotals, summarize statistics, hide this column, or cancel all hidden edits on the generated data table, and save the edited data table based on the received save instruction.

本发明的优点在于:The advantages of the present invention are:

通过设定数据源参数,基于数据源参数创建若干个数据模型,创建过程中设定不同数据模型之间的映射关系,对各数据模型进行组合以创建若干个数据集,创建过程中设定不同数据集之间的映射关系,再通过拖拉拽的交互方式,将各数据集中的数据集字段添加到编辑区,自动对存在映射关系的各数据集的数据集字段合并排版成一张数据表,对不存在映射关系的各数据集的数据集字段,以数据集为分组分别生成一张数据表,对生成的数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列或者取消所有隐藏的编辑,保存编辑完成的数据表;接着基于筛选字段、剔除字段、时间段或者运算符对数据表进行查询,生成并保存为数据新表;最后对数据新表进行加密,生成加密后的数据新表的访问链接,基于访问链接对数据新表进行分享;即不同的数据模型和数据集基于映射关系相互关联,后期通过拖拽数据集的数据集字段,即可按需组合生成新的数据表,无需像传统上重新编写代码进行开发,且支持对数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列以及取消所有隐藏的编辑,且最终查询(筛选)生成的数据新表可基于访问链接进行安全分享,最终极大的提升了娱乐场所数据表管理的灵活性以及便捷性,极大的降低了娱乐场所数据表管理的成本。By setting data source parameters, several data models are created based on the data source parameters. During the creation process, the mapping relationships between different data models are set, and each data model is combined to create several data sets. During the creation process, different data models are set. Mapping relationships between data sets, and then adding the data set fields in each data set to the editing area through drag-and-drop interaction, automatically merging and formatting the data set fields of each data set with mapping relationships into a data table, and For the data set fields of each data set that do not have a mapping relationship, a data table is generated by grouping the data sets. Create columns, modify columns, delete columns, freeze, group subtotals, summary statistics, and hide the generated data tables. This column can either cancel all hidden edits and save the edited data table; then query the data table based on filter fields, deleted fields, time periods or operators, generate and save a new data table; and finally encrypt the new data table. , generate an access link to the encrypted new data table, and share the new data table based on the access link; that is, different data models and data sets are related to each other based on mapping relationships. Later, by dragging the data set fields of the data set, you can press It needs to be combined to generate a new data table. There is no need to rewrite the code for development like traditional methods. It supports creating columns, modifying columns, deleting columns, freezing, grouping subtotals, summary statistics, hiding this column and canceling all hidden data tables. Edit, and the new data table generated by the final query (filtering) can be safely shared based on the access link, which ultimately greatly improves the flexibility and convenience of entertainment venue data table management, and greatly reduces the complexity of entertainment venue data table management. cost.

附图说明Description of drawings

下面参照附图结合实施例对本发明作进一步的说明。The present invention will be further described below with reference to the accompanying drawings and embodiments.

图1是本发明一种娱乐场所数据表管理方法的流程图。Figure 1 is a flow chart of an entertainment venue data table management method of the present invention.

图2是本发明一种娱乐场所数据表管理系统的结构示意图。Figure 2 is a schematic structural diagram of an entertainment venue data table management system of the present invention.

图3是本发明数据源参数设定的界面示意图。Figure 3 is a schematic diagram of the interface for setting data source parameters in the present invention.

图4是本发明数据模型创建的界面示意图。Figure 4 is a schematic diagram of the interface created by the data model of the present invention.

图5是本发明数据集创建的界面示意图。Figure 5 is a schematic diagram of the interface for data set creation in the present invention.

图6是本发明数据表编辑的界面示意图。Figure 6 is a schematic diagram of the interface for editing the data table of the present invention.

图7是本发明数据表查询的界面示意图。Figure 7 is a schematic interface diagram of the data table query according to the present invention.

图8是本发明数据新表分享的界面示意图。Figure 8 is a schematic diagram of the interface for sharing a new data table according to the present invention.

具体实施方式Detailed ways

本申请实施例中的技术方案,总体思路如下:不同的数据模型和数据集基于映射关系相互关联,后期通过拖拽数据集的数据集字段以按需组合生成新的数据表,无需像传统上重新编写代码进行开发,且支持对数据表多功能的编辑,且最终查询生成的数据新表可基于访问链接进行安全分享,以提升娱乐场所数据表管理的灵活性以及便捷性。The general idea of the technical solution in the embodiment of this application is as follows: different data models and data sets are related to each other based on mapping relationships. Later, by dragging and dropping the data set fields of the data set, new data tables can be generated on demand, without the need for traditional The code is rewritten for development and supports multi-functional editing of the data table. The new data table generated by the final query can be safely shared based on access links to improve the flexibility and convenience of entertainment venue data table management.

请参照图1至图8所示,本发明一种娱乐场所数据表管理方法的较佳实施例,包括如下步骤:Please refer to Figures 1 to 8, a preferred embodiment of an entertainment venue data table management method of the present invention includes the following steps:

步骤S10、设定用于获取娱乐场所经营数据的数据源参数;Step S10: Set data source parameters for obtaining entertainment venue operation data;

步骤S20、基于所述数据源参数创建若干个数据模型;Step S20: Create several data models based on the data source parameters;

步骤S30、对各所述数据模型进行组合以创建若干个数据集;Step S30: Combine each of the data models to create several data sets;

步骤S40、通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,并自动排版生成数据表,对生成的所述数据表进行编辑,保存编辑完成的所述数据表;Step S40: Add the data set fields in each of the data sets to the editing area through drag-and-drop interaction, automatically type and generate a data table, edit the generated data table, and save the edited data table. ;

步骤S50、基于筛选字段、剔除字段、时间段或者运算符对所述数据表进行查询,生成并保存为数据新表;Step S50: Query the data table based on filter fields, elimination fields, time periods or operators, generate and save it as a new data table;

例如设定所述筛选字段为员工ID、部门ID、营业日期、账单号、菜品ID、分类ID或者房台;设定所述剔除字段为员工ID、部门ID、菜品ID、分类ID或者房台;具体实施时,还可基于人物、数值、地点等条件进行查询(筛选);For example, the filtering field is set to employee ID, department ID, business date, bill number, dish ID, category ID, or room; the elimination field is set to employee ID, department ID, dish ID, category ID, or room ; During specific implementation, queries (filtering) can also be carried out based on characters, values, locations and other conditions;

具体实施时,可基于如下规则进行查询:(1)带有“剔除”字眼的条件表示剔除符合这个条件的数据;(2)输入框以“>、>=、<、AI!=、<>、~=”开头的查询表示运算后面的数据的条件,如: >100;(3)“=、!=、<>、~=”的运算支持使用逗号或Tab符号进行多条件匹配,如:=张三,李四,王五(4)下拉搜索框支持多条件匹配,如: 张三,李四,王五(5)日期过滤中带有“至”的表示进行日期范围查询(6)时分条件查询,将24小时制的小时数和分钟数拼接用数字气示,时间范围在0点至9点时进行相加2400,如:2200~2600。During specific implementation, the query can be based on the following rules: (1) The condition with the word "removal" means that data that meets this condition is eliminated; (2) The input box is marked with ">, >=, <, AI!=, <> The query starting with ,~=" indicates the condition of the data behind the operation, such as: >100; (3) The operation of "=, !=, <>, ~=" supports the use of commas or tab symbols for multi-condition matching, such as: = Zhang San, Li Si, Wang Wu (4) The drop-down search box supports multi-condition matching, such as: Zhang San, Li Si, Wang Wu (5) Date filtering with "to" means date range query (6) Time and minute condition query, the hours and minutes in the 24-hour format are spliced and displayed numerically. The time range is from 0 o'clock to 9 o'clock and the sum of 2400 is added, such as: 2200~2600.

步骤S60、对所述数据新表进行加密,生成加密后的所述数据新表的访问链接,基于所述访问链接对数据新表进行分享。具体实施时,可设置待分享的所述数据新表的别名以及有效期,限定访问用户。Step S60: Encrypt the new data table, generate an access link to the encrypted new data table, and share the new data table based on the access link. During specific implementation, the alias and validity period of the new data table to be shared can be set to limit access users.

所述步骤S10中,所述数据源参数至少包括源名称、数据库类型、数据库IP、数据库端口、数据库名称、数据库用户名以及数据库密码。In step S10, the data source parameters at least include source name, database type, database IP, database port, database name, database user name and database password.

所述步骤S20具体为:The step S20 is specifically:

通过可视化界面配置模型信息、模型字段以及模型关系,进而创建若干个数据模型;Configure model information, model fields and model relationships through the visual interface, and then create several data models;

所述模型信息至少包括数据源参数、分类、表名、标签、可见标识、排序以及更新时间;所述模数模型关系为不同数据模型之间的映射关系,具体实施时,可包括流水号、源模型、目标模型、源属性关系、关系类型等字段。The model information at least includes data source parameters, classification, table names, labels, visible identifiers, sorting, and update times; the modular model relationship is a mapping relationship between different data models. During specific implementation, it may include serial numbers, Fields such as source model, target model, source attribute relationship, relationship type, etc.

所述步骤S30具体为:The step S30 is specifically:

通过可视化界面配置数据集信息、数据集字段以及数据集关系,进而创建若干个数据集;Configure data set information, data set fields and data set relationships through the visual interface, and then create several data sets;

所述数据集信息至少包括标题、状态、首页信息、数据集分类、数据集类型、数据模型、数据模型的组合条件、数据模型的分组、数据模型的分组条件;所述数据集关系为不同数据集之间的映射关系,具体实施时,可包括流水号、源数据集、目标数据集、源属性、关系类型、分组标签等字段。The data set information at least includes title, status, homepage information, data set classification, data set type, data model, data model combination conditions, data model grouping, and data model grouping conditions; the data set relationship is different data The mapping relationship between sets, when implemented, can include fields such as serial number, source data set, target data set, source attributes, relationship type, grouping label, etc.

具体实施时,所述数据集字段可包括流水号、员工ID、员工姓名、部门ID、部门名称、酒吧营业额、夜总会营收、实收款、销售金额、落单金额、业绩、销售数量、单销数量、计开台数、订房人台数等等。During specific implementation, the data set fields may include serial number, employee ID, employee name, department ID, department name, bar turnover, nightclub revenue, actual receipts, sales amount, order amount, performance, sales quantity, Number of units sold, number of units opened, number of units booked, etc.

所述步骤S40具体为:The step S40 is specifically:

通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,自动对存在映射关系的各所述数据集的数据集字段合并排版成一张数据表,对不存在映射关系的各所述数据集的数据集字段,以所述数据集为分组分别生成一张数据表;Through drag-and-drop interaction, the data set fields in each of the data sets are added to the editing area, and the data set fields of each of the data sets that have a mapping relationship are automatically merged and typed into a data table, and those that do not have a mapping relationship are automatically merged and typed into one data table. For the data set fields of each of the data sets, a data table is generated by grouping the data sets;

对生成的所述数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列或者取消所有隐藏的编辑,基于接收的保存指令保存编辑完成的所述数据表。所述修改列,可基于设定的计算公式对不同列的数据进行计算,以生成新的列。保存所述数据表时,同步设定报表名称、报表分类以及报表排序。Create columns, modify columns, delete columns, freeze, group subtotals, summarize statistics, hide this column, or cancel all hidden edits on the generated data table, and save the edited data table based on the received save instruction. The modified column can calculate the data of different columns based on the set calculation formula to generate a new column. When saving the data table, the report name, report classification and report sorting are simultaneously set.

本发明一种娱乐场所数据表管理系统的较佳实施例,包括如下模块:A preferred embodiment of an entertainment venue data table management system of the present invention includes the following modules:

数据源参数设定模块,用于设定用于获取娱乐场所经营数据的数据源参数;The data source parameter setting module is used to set the data source parameters used to obtain entertainment venue operation data;

数据模型创建模块,用于基于所述数据源参数创建若干个数据模型;A data model creation module, used to create several data models based on the data source parameters;

数据集创建模块,用于对各所述数据模型进行组合以创建若干个数据集;A data set creation module, used to combine each of the data models to create several data sets;

数据表生成模块,用于通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,并自动排版生成数据表,对生成的所述数据表进行编辑,保存编辑完成的所述数据表;The data table generation module is used to add the data set fields in each data set to the editing area through drag-and-drop interaction, and automatically typeset and generate a data table, edit the generated data table, and save the edited results. the data table;

数据表查询模块,用于基于筛选字段、剔除字段、时间段或者运算符对所述数据表进行查询,生成并保存为数据新表;The data table query module is used to query the data table based on filter fields, elimination fields, time periods or operators, and generate and save it as a new data table;

例如设定所述筛选字段为员工ID、部门ID、营业日期、账单号、菜品ID、分类ID或者房台;设定所述剔除字段为员工ID、部门ID、菜品ID、分类ID或者房台;具体实施时,还可基于人物、数值、地点等条件进行查询(筛选);For example, the filtering field is set to employee ID, department ID, business date, bill number, dish ID, category ID, or room; the elimination field is set to employee ID, department ID, dish ID, category ID, or room ; During specific implementation, queries (filtering) can also be carried out based on characters, values, locations and other conditions;

具体实施时,可基于如下规则进行查询:(1)带有“剔除”字眼的条件表示剔除符合这个条件的数据;(2)输入框以“>、>=、<、AI!=、<>、~=”开头的查询表示运算后面的数据的条件,如: >100;(3)“=、!=、<>、~=”的运算支持使用逗号或Tab符号进行多条件匹配,如:=张三,李四,王五(4)下拉搜索框支持多条件匹配,如: 张三,李四,王五(5)日期过滤中带有“至”的表示进行日期范围查询(6)时分条件查询,将24小时制的小时数和分钟数拼接用数字气示,时间范围在0点至9点时进行相加2400,如:2200~2600。During specific implementation, the query can be based on the following rules: (1) The condition with the word "removal" means that data that meets this condition is eliminated; (2) The input box is marked with ">, >=, <, AI!=, <> The query starting with ,~=" indicates the condition of the data behind the operation, such as: >100; (3) The operation of "=, !=, <>, ~=" supports the use of commas or tab symbols for multi-condition matching, such as: = Zhang San, Li Si, Wang Wu (4) The drop-down search box supports multi-condition matching, such as: Zhang San, Li Si, Wang Wu (5) Date filtering with "to" means date range query (6) Time and minute condition query, the hours and minutes in the 24-hour format are spliced and displayed numerically. The time range is from 0 o'clock to 9 o'clock and the sum of 2400 is added, such as: 2200~2600.

数据新表分享模块,用于对所述数据新表进行加密,生成加密后的所述数据新表的访问链接,基于所述访问链接对数据新表进行分享。具体实施时,可设置待分享的所述数据新表的别名以及有效期,限定访问用户。The new data table sharing module is used to encrypt the new data table, generate an access link to the encrypted new data table, and share the new data table based on the access link. During specific implementation, the alias and validity period of the new data table to be shared can be set to limit access users.

所述数据源参数设定模块中,所述数据源参数至少包括源名称、数据库类型、数据库IP、数据库端口、数据库名称、数据库用户名以及数据库密码。In the data source parameter setting module, the data source parameters at least include source name, database type, database IP, database port, database name, database user name and database password.

所述数据模型创建模块具体用于:The data model creation module is specifically used for:

通过可视化界面配置模型信息、模型字段以及模型关系,进而创建若干个数据模型;Configure model information, model fields and model relationships through the visual interface, and then create several data models;

所述模型信息至少包括数据源参数、分类、表名、标签、可见标识、排序以及更新时间;所述模数模型关系为不同数据模型之间的映射关系,具体实施时,可包括流水号、源模型、目标模型、源属性关系、关系类型等字段。The model information at least includes data source parameters, classification, table names, labels, visible identifiers, sorting, and update times; the modular model relationship is a mapping relationship between different data models. During specific implementation, it may include serial numbers, Fields such as source model, target model, source attribute relationship, relationship type, etc.

所述数据集创建模块具体用于:The data set creation module is specifically used for:

通过可视化界面配置数据集信息、数据集字段以及数据集关系,进而创建若干个数据集;Configure data set information, data set fields and data set relationships through the visual interface, and then create several data sets;

所述数据集信息至少包括标题、状态、首页信息、数据集分类、数据集类型、数据模型、数据模型的组合条件、数据模型的分组、数据模型的分组条件;所述数据集关系为不同数据集之间的映射关系,具体实施时,可包括流水号、源数据集、目标数据集、源属性、关系类型、分组标签等字段。The data set information at least includes title, status, homepage information, data set classification, data set type, data model, data model combination conditions, data model grouping, and data model grouping conditions; the data set relationship is different data The mapping relationship between sets, when implemented, can include fields such as serial number, source data set, target data set, source attributes, relationship type, grouping label, etc.

具体实施时,所述数据集字段可包括流水号、员工ID、员工姓名、部门ID、部门名称、酒吧营业额、夜总会营收、实收款、销售金额、落单金额、业绩、销售数量、单销数量、计开台数、订房人台数等等。During specific implementation, the data set fields may include serial number, employee ID, employee name, department ID, department name, bar turnover, nightclub revenue, actual receipts, sales amount, order amount, performance, sales quantity, Number of units sold, number of units opened, number of units booked, etc.

所述数据表生成模块具体用于:The data table generation module is specifically used for:

通过拖拉拽的交互方式,将各所述数据集中的数据集字段添加到编辑区,自动对存在映射关系的各所述数据集的数据集字段合并排版成一张数据表,对不存在映射关系的各所述数据集的数据集字段,以所述数据集为分组分别生成一张数据表;Through drag-and-drop interaction, the data set fields in each of the data sets are added to the editing area, and the data set fields of each of the data sets that have a mapping relationship are automatically merged and typed into a data table, and those that do not have a mapping relationship are automatically merged and typed into one data table. For the data set fields of each of the data sets, a data table is generated by grouping the data sets;

对生成的所述数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列或者取消所有隐藏的编辑,基于接收的保存指令保存编辑完成的所述数据表。所述修改列,可基于设定的计算公式对不同列的数据进行计算,以生成新的列。保存所述数据表时,同步设定报表名称、报表分类以及报表排序。Create columns, modify columns, delete columns, freeze, group subtotals, summarize statistics, hide this column, or cancel all hidden edits on the generated data table, and save the edited data table based on the received save instruction. The modified column can calculate the data of different columns based on the set calculation formula to generate a new column. When saving the data table, the report name, report classification and report sorting are simultaneously set.

综上所述,本发明的优点在于:To sum up, the advantages of the present invention are:

通过设定数据源参数,基于数据源参数创建若干个数据模型,创建过程中设定不同数据模型之间的映射关系,对各数据模型进行组合以创建若干个数据集,创建过程中设定不同数据集之间的映射关系,再通过拖拉拽的交互方式,将各数据集中的数据集字段添加到编辑区,自动对存在映射关系的各数据集的数据集字段合并排版成一张数据表,对不存在映射关系的各数据集的数据集字段,以数据集为分组分别生成一张数据表,对生成的数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列或者取消所有隐藏的编辑,保存编辑完成的数据表;接着基于筛选字段、剔除字段、时间段或者运算符对数据表进行查询,生成并保存为数据新表;最后对数据新表进行加密,生成加密后的数据新表的访问链接,基于访问链接对数据新表进行分享;即不同的数据模型和数据集基于映射关系相互关联,后期通过拖拽数据集的数据集字段,即可按需组合生成新的数据表,无需像传统上重新编写代码进行开发,且支持对数据表进行创建列、修改列、删除列、冻结、分组小计、汇总统计、隐藏本列以及取消所有隐藏的编辑,且最终查询(筛选)生成的数据新表可基于访问链接进行安全分享,最终极大的提升了娱乐场所数据表管理的灵活性以及便捷性,极大的降低了娱乐场所数据表管理的成本。By setting data source parameters, several data models are created based on the data source parameters. During the creation process, the mapping relationships between different data models are set, and each data model is combined to create several data sets. During the creation process, different data models are set. Mapping relationships between data sets, and then adding the data set fields in each data set to the editing area through drag-and-drop interaction, automatically merging and formatting the data set fields of each data set with mapping relationships into a data table, and For the data set fields of each data set that do not have a mapping relationship, a data table is generated by grouping the data sets. Create columns, modify columns, delete columns, freeze, group subtotals, summary statistics, and hide the generated data tables. This column can either cancel all hidden edits and save the edited data table; then query the data table based on filter fields, deleted fields, time periods or operators, generate and save a new data table; and finally encrypt the new data table. , generate an access link to the encrypted new data table, and share the new data table based on the access link; that is, different data models and data sets are related to each other based on mapping relationships. Later, by dragging the data set fields of the data set, you can press It needs to be combined to generate a new data table. There is no need to rewrite the code for development like traditional methods. It supports creating columns, modifying columns, deleting columns, freezing, grouping subtotals, summary statistics, hiding this column and canceling all hidden data tables. Edit, and the new data table generated by the final query (filtering) can be safely shared based on the access link, which ultimately greatly improves the flexibility and convenience of entertainment venue data table management, and greatly reduces the complexity of entertainment venue data table management. cost.

虽然以上描述了本发明的具体实施方式,但是熟悉本技术领域的技术人员应当理解,我们所描述的具体的实施例只是说明性的,而不是用于对本发明的范围的限定,熟悉本领域的技术人员在依照本发明的精神所作的等效的修饰以及变化,都应当涵盖在本发明的权利要求所保护的范围内。Although the specific embodiments of the present invention have been described above, those skilled in the art should understand that the specific embodiments we have described are only illustrative and are not used to limit the scope of the present invention. Those skilled in the art Equivalent modifications and changes made by skilled persons in accordance with the spirit of the present invention shall be covered by the scope of protection of the claims of the present invention.

Claims (10)

1. A method for managing a data table of an entertainment venue, comprising the steps of: the method comprises the following steps:
step S10, setting data source parameters for acquiring operation data of the entertainment place;
step S20, creating a plurality of data models based on the data source parameters;
step S30, combining the data models to create a plurality of data sets;
s40, adding the data set fields in each data set into an editing area through a drag-and-drop interaction mode, automatically typesetting to generate a data table, editing the generated data table, and storing the edited data table;
s50, inquiring the data table based on the screening field, the reject field, the time period or the operator, and generating and storing the data table as a new data table;
and step S60, encrypting the new data table, generating an access link of the encrypted new data table, and sharing the new data table based on the access link.
2. A method of casino data table management as claimed in claim 1, wherein: in the step S10, the data source parameter includes at least a source name, a database type, a database IP, a database port, a database name, a database user name, and a database password.
3. A method of casino data table management as claimed in claim 1, wherein: the step S20 specifically includes:
configuring model information, model fields and model relations through a visual interface, and further creating a plurality of data models;
the model information at least comprises data source parameters, classification, table names, labels, visible identifiers, ordering and updating time; the modulus model relation is a mapping relation between different data models.
4. A method of casino data table management as claimed in claim 1, wherein: the step S30 specifically includes:
configuring data set information, data set fields and data set relations through a visual interface, and further creating a plurality of data sets;
the data set information at least comprises a title, a state, first page information, data set classification, data set type, a data model, a combination condition of the data model, grouping of the data model and a grouping condition of the data model; the data set relation is a mapping relation between different data sets.
5. A method of casino data table management as claimed in claim 1, wherein: the step S40 specifically includes:
the method comprises the steps of adding data set fields in data sets into an editing area in a dragging interaction mode, automatically merging and typesetting the data set fields of the data sets with mapping relations into a data table, and respectively generating the data table by taking the data sets as groups for the data set fields of the data sets without mapping relations;
and creating columns, modifying columns, deleting columns, freezing, grouping subtotals, summarizing statistics, hiding the columns or canceling all hidden editing on the generated data table, and storing the edited data table based on a received storage instruction.
6. A casino data sheet management system, characterized by: the device comprises the following modules:
the data source parameter setting module is used for setting data source parameters for acquiring the operation data of the entertainment place;
the data model creation module is used for creating a plurality of data models based on the data source parameters;
a data set creation module for combining the data models to create a plurality of data sets;
the data table generation module is used for adding the data set fields in each data set into the editing area through a drag interaction mode, automatically typesetting and generating a data table, editing the generated data table and storing the edited data table;
the data table query module is used for querying the data table based on the screening field, the eliminating field, the time period or the operator, and generating and storing the data table as a new data table;
and the data new table sharing module is used for encrypting the data new table, generating an access link of the encrypted data new table, and sharing the data new table based on the access link.
7. The casino data sheet management system as recited in claim 6, wherein: in the data source parameter setting module, the data source parameter at least comprises a source name, a database type, a database IP, a database port, a database name, a database user name and a database password.
8. The casino data sheet management system as recited in claim 6, wherein: the data model creation module is specifically configured to:
configuring model information, model fields and model relations through a visual interface, and further creating a plurality of data models;
the model information at least comprises data source parameters, classification, table names, labels, visible identifiers, ordering and updating time; the modulus model relation is a mapping relation between different data models.
9. The casino data sheet management system as recited in claim 6, wherein: the data set creation module is specifically configured to:
configuring data set information, data set fields and data set relations through a visual interface, and further creating a plurality of data sets;
the data set information at least comprises a title, a state, first page information, data set classification, data set type, a data model, a combination condition of the data model, grouping of the data model and a grouping condition of the data model; the data set relation is a mapping relation between different data sets.
10. The casino data sheet management system as recited in claim 6, wherein: the data table generation module is specifically configured to:
the method comprises the steps of adding data set fields in data sets into an editing area in a dragging interaction mode, automatically merging and typesetting the data set fields of the data sets with mapping relations into a data table, and respectively generating the data table by taking the data sets as groups for the data set fields of the data sets without mapping relations;
and creating columns, modifying columns, deleting columns, freezing, grouping subtotals, summarizing statistics, hiding the columns or canceling all hidden editing on the generated data table, and storing the edited data table based on a received storage instruction.
CN202410027152.4A 2024-01-09 2024-01-09 Entertainment place data table management method and system Active CN117539870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410027152.4A CN117539870B (en) 2024-01-09 2024-01-09 Entertainment place data table management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410027152.4A CN117539870B (en) 2024-01-09 2024-01-09 Entertainment place data table management method and system

Publications (2)

Publication Number Publication Date
CN117539870A true CN117539870A (en) 2024-02-09
CN117539870B CN117539870B (en) 2024-05-14

Family

ID=89792291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410027152.4A Active CN117539870B (en) 2024-01-09 2024-01-09 Entertainment place data table management method and system

Country Status (1)

Country Link
CN (1) CN117539870B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015783A1 (en) * 2002-06-20 2004-01-22 Canon Kabushiki Kaisha Methods for interactively defining transforms and for generating queries by manipulating existing query data
CN104361221A (en) * 2014-10-31 2015-02-18 沈阳锐易特软件技术有限公司 Heterogeneous system data mapping template-based medical data acquisition system and method
CN105447122A (en) * 2015-11-16 2016-03-30 中国人民解放军理工大学 Implementation method for autonomously creating file system based on multi-table association
CN110019555A (en) * 2017-12-26 2019-07-16 中国科学院沈阳自动化研究所 A kind of relation data semantization modeling method
CN112612835A (en) * 2020-12-23 2021-04-06 厦门市美亚柏科信息股份有限公司 Data model creating method and terminal
CN114328471A (en) * 2022-03-14 2022-04-12 杭州半云科技有限公司 Data model based on data virtualization engine and construction method thereof
CN116991923A (en) * 2023-06-21 2023-11-03 中国电子科技集团公司第十五研究所 Drag type data model visual modeling system and method based on browser
CN117093219A (en) * 2023-10-20 2023-11-21 成都华栖云科技有限公司 Visualization method based on data source, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015783A1 (en) * 2002-06-20 2004-01-22 Canon Kabushiki Kaisha Methods for interactively defining transforms and for generating queries by manipulating existing query data
CN104361221A (en) * 2014-10-31 2015-02-18 沈阳锐易特软件技术有限公司 Heterogeneous system data mapping template-based medical data acquisition system and method
CN105447122A (en) * 2015-11-16 2016-03-30 中国人民解放军理工大学 Implementation method for autonomously creating file system based on multi-table association
CN110019555A (en) * 2017-12-26 2019-07-16 中国科学院沈阳自动化研究所 A kind of relation data semantization modeling method
CN112612835A (en) * 2020-12-23 2021-04-06 厦门市美亚柏科信息股份有限公司 Data model creating method and terminal
EP4020253A1 (en) * 2020-12-23 2022-06-29 Xiamen Meiya Pico Information Co., Ltd A data model creation method and terminal thereof
CN114328471A (en) * 2022-03-14 2022-04-12 杭州半云科技有限公司 Data model based on data virtualization engine and construction method thereof
CN116991923A (en) * 2023-06-21 2023-11-03 中国电子科技集团公司第十五研究所 Drag type data model visual modeling system and method based on browser
CN117093219A (en) * 2023-10-20 2023-11-21 成都华栖云科技有限公司 Visualization method based on data source, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN117539870B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
CN105447122B (en) A kind of implementation method that archives economy can be independently created based on multilist association
US5870733A (en) Automated system and method for providing access data concerning an item of business property
US7505983B2 (en) Extending data flows
US7062502B1 (en) Automated generation of dynamic data entry user interface for relational database management systems
US7117215B1 (en) Method and apparatus for transporting data for data warehousing applications that incorporates analytic data interface
US6058391A (en) Enhanced user view/update capability for managing data from relational tables
US8903763B2 (en) Method, system, and program product for transferring document attributes
US7509327B2 (en) Business data migration using metadata
JPH04289920A (en) Method and device for controlling data object version affected by engineering change
US9223847B2 (en) Using dimension substitutions in OLAP cubes
US6823334B2 (en) Metadata system for managing data mining environments
WO2011091708A1 (en) Method for multi-dimensional database storage and inquiry
US20150186481A1 (en) Extract, transform and load (etl) system and method
CN103914765A (en) Enterprise invoicing system
CN102346744B (en) Device for processing materialized table in multi-tenancy (MT) application system
US8423564B1 (en) Methods and apparatus for managing and updating stored information
CA2733091A1 (en) System, method and computer program product for managing data storage and rule-driven communications for a plurality of tenants
US7958031B2 (en) Apparatus, system, and method for automated identity relationship maintenance
US8280907B2 (en) System and method for managing access to data in a database
KR20050061597A (en) System and method for generating reports for a versioned database
TW520476B (en) System and method for retrieving data from a database using a data management system
EP1672540A1 (en) Complex data access
CN117539870B (en) Entertainment place data table management method and system
CA2414230C (en) Computer method and device for transporting data
US20040143517A1 (en) System and method for managing material distribution and returned materials

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and system for managing entertainment venue data tables

Granted publication date: 20240514

Pledgee: Industrial and Commercial Bank of China Limited Fuzhou High tech Zone Branch

Pledgor: Fujian Yalarate Network Technology Service Co.,Ltd.

Registration number: Y2024980053263

PE01 Entry into force of the registration of the contract for pledge of patent right