CN119250046B - Intelligent design method for online form - Google Patents
Intelligent design method for online form Download PDFInfo
- Publication number
- CN119250046B CN119250046B CN202411773703.8A CN202411773703A CN119250046B CN 119250046 B CN119250046 B CN 119250046B CN 202411773703 A CN202411773703 A CN 202411773703A CN 119250046 B CN119250046 B CN 119250046B
- Authority
- CN
- China
- Prior art keywords
- user
- authority
- editing
- report
- data grid
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/174—Form filling; Merging
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/101—Collaborative creation, e.g. joint development of products or services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Artificial Intelligence (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- General Business, Economics & Management (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及智能报表处理技术领域,具体为一种在线表单智能设计方法。The present invention relates to the technical field of intelligent report processing, and in particular to an online form intelligent design method.
背景技术Background Art
在信息技术快速发展的背景下,企业运营中的数据管理和报表编辑变得越来越依赖于电子表格和智能表单,这些使得数据录入、处理和分析更加高效,但同时也带来了新的挑战,尤其是在多用户协作环境中,不同权限的用户在编辑同一报表时,如何有效解决数据冲突,确保数据的一致性和准确性,成为了一个亟待解决的问题。With the rapid development of information technology, data management and report editing in enterprise operations have become increasingly dependent on electronic spreadsheets and smart forms, which make data entry, processing and analysis more efficient, but also bring new challenges. Especially in a multi-user collaborative environment, when users with different permissions edit the same report, how to effectively resolve data conflicts and ensure data consistency and accuracy has become an urgent problem to be solved.
传统的报表编辑过程中,多个用户同时编辑同一数据格或同一行数据时,往往会出现“编辑冲突”,这种现象不仅会导致数据丢失或错误,还可能影响决策的准确性和及时性,现有的报表往往缺乏有效的冲突检测和解决机制,导致用户在不知情的情况下覆盖他人的更改,或者丢失自己的工作成果。In the traditional report editing process, when multiple users edit the same data grid or the same row of data at the same time, "editing conflicts" often occur. This phenomenon not only leads to data loss or errors, but may also affect the accuracy and timeliness of decision-making. Existing reports often lack effective conflict detection and resolution mechanisms, causing users to unknowingly overwrite others' changes or lose their own work results.
在多用户协作环境中,当不同权限的用户尝试同时编辑同一数据格时,缺乏实时的冲突提示和解决方案,可能会导致工作重复和沟通成本增加,此外,多个用户同时编辑同一行数据时,现有的方法往往无法提供直观的冲突标记和处理建议,使得用户难以快速识别和解决冲突。In a multi-user collaborative environment, when users with different permissions try to edit the same data grid at the same time, the lack of real-time conflict prompts and solutions may lead to duplication of work and increased communication costs. In addition, when multiple users edit the same row of data at the same time, existing methods often fail to provide intuitive conflict marking and handling suggestions, making it difficult for users to quickly identify and resolve conflicts.
此外,现有的技术中,无法根据之前已经完成好的报表来生成新的报表结构,导致每次报表制作都需要从头开始,效率低下,这意味着,尽管企业可能已经拥有了大量的历史报表数据和结构,但这些宝贵资源无法被有效利用来加速新报表的创建过程。In addition, existing technologies cannot generate new report structures based on previously completed reports, resulting in each report being created from scratch, which is inefficient. This means that although the company may already have a large amount of historical report data and structures, these valuable resources cannot be effectively used to speed up the creation of new reports.
因此,开发一种能够有效解决编辑冲突的智能表单方法,对于提高数据管理的效率、确保数据的准确性和完整性具有重要意义,需要能够在用户编辑报表时实时检测冲突、提供冲突解决策略,并允许不同权限的用户根据实际情况选择最合适的解决方案,通过这种方法,可以显著提高报表编辑的协作效率,减少因冲突导致的错误和延误,从而提升整个组织的工作效率和数据质量,同时,能够根据已有报表自动生成新报表结构的功能,将极大地提高报表制作的效率,减少重复劳动,加快决策过程。Therefore, developing an intelligent form method that can effectively resolve editing conflicts is of great significance to improving the efficiency of data management and ensuring the accuracy and integrity of data. It is necessary to be able to detect conflicts in real time when users edit reports, provide conflict resolution strategies, and allow users with different permissions to choose the most appropriate solution according to actual conditions. Through this method, the collaborative efficiency of report editing can be significantly improved, and errors and delays caused by conflicts can be reduced, thereby improving the work efficiency and data quality of the entire organization. At the same time, the function of automatically generating new report structures based on existing reports will greatly improve the efficiency of report production, reduce duplication of work, and speed up the decision-making process.
发明内容Summary of the invention
本发明提供了一种在线表单智能设计方法,用于促进解决上述背景技术中所提到的问题。The present invention provides an online form intelligent design method for facilitating solving the problems mentioned in the above background technology.
本发明提供如下技术方案:一种在线表单智能设计方法,The present invention provides the following technical solution: an online form intelligent design method,
可选的,设置报表结构;Optionally, set the report structure;
所述报表结构包含多个动态数据格;The report structure includes multiple dynamic data grids;
每个动态数据格对应一个位置信息标识;Each dynamic data grid corresponds to a location information identifier;
所述动态数据格用于存储用户编辑的数据,并且展示用户编辑的数据;The dynamic data grid is used to store the data edited by the user and display the data edited by the user;
所述位置信息标识包括行标识与列标识,位置信息标识表示为(,),其中列标识表示为,行标识表示为;The position information identifier includes a row identifier and a column identifier, and the position information identifier is expressed as ( , ), where the column identifier is represented by , the row identifier is represented by ;
若在动态数据格中存在用户编辑的数据,则将动态数据格标记为已编辑数据格;If there is data edited by the user in the dynamic data grid, the dynamic data grid is marked as an edited data grid;
设置列标题与行标题,用于标识已编辑数据格的内容;Set column and row headers to identify the contents of the edited data grid;
在一个报表中,若存在一个或者多个列标题,则获取列标题的位置信息,并组成列标题集合;In a report, if there are one or more column headers, the position information of the column headers is obtained and a column header set is formed;
根据列标题的位置信息,获取该位置信息所属的已编辑数据格内容,记为列标题内容;According to the position information of the column title, the content of the edited data grid to which the position information belongs is obtained and recorded as the column title content;
例如,列标题所属的已编辑数据格中的内容为“姓名”,则该列标题对应的列标题内容为“姓名”;For example, if the content in the edited data cell to which the column title belongs is "Name", then the column title content corresponding to the column title is "Name";
在一个报表中,若存在多个行标题,则组成行标题集合;In a report, if there are multiple row headers, they form a row header set;
设置报表信息;Set report information;
所述报表信息包括报表名称、列标题集合与行标题集合,每个报表对应一个报表信息;The report information includes a report name, a column title set and a row title set, and each report corresponds to a report information;
获取每个报表的报表名称,并根据报表名称执行报表归类策略;Get the report name of each report and execute the report classification strategy according to the report name;
所述报表归类策略用于对报表名称相似的报表进行归类,并组成集合,记为相似报表集合;The report classification strategy is used to classify reports with similar report names and form a set, which is recorded as a similar report set;
获取用户输入的关键词信息,并根据关键词信息获取对应的相似报表集合;Obtain the keyword information entered by the user, and obtain the corresponding similar report set based on the keyword information;
设置关键字字段,执行关键字字段标记策略,生成关键字字段集合;Set keyword fields, execute keyword field tagging strategy, and generate keyword field sets;
每个相似报表集合对应一个关键字字段集合;Each similarity report set corresponds to a keyword field set;
根据关键字字段集合与用户输入的关键词信息,执行报表生成策略,将新生成的报表标记为第一报表;Execute the report generation strategy according to the keyword field set and the keyword information input by the user, and mark the newly generated report as the first report;
设定监测时间段,每隔30s进行一次监测时间段的划分;Set the monitoring time period and divide the monitoring time period every 30 seconds;
针对第一报表,若多个用户在同一个监测时间段对同一个行标题所对应的动态数据格执行编辑操作,则执行行标题数据冲突策略;For the first report, if multiple users perform editing operations on the dynamic data grid corresponding to the same row title in the same monitoring time period, the row title data conflict strategy is executed;
针对第一报表,执行行数据整理策略。For the first report, execute the row data sorting strategy.
可选的,所述获取每个报表的报表名称,并根据报表名称执行报表归类策略,包括:Optionally, obtaining the report name of each report and executing the report classification strategy according to the report name includes:
所述报表归类策略具体步骤为;The specific steps of the report classification strategy are:
提取出每个报表名称中的关键词,组成集合,记为报表名称关键词集合;Extract the keywords in each report name and form a set, which is recorded as the report name keyword set;
获取报表名称关键词集合中,每个关键词对应的报表,并组成集合,记为相似报表集合;Obtain the report corresponding to each keyword in the report name keyword set, and form a set, which is recorded as a similar report set;
每个关键词对应一个相似报表集合;Each keyword corresponds to a similar report set;
设置报表结构提供报表制作框架,允许用户根据不同的需求定制报表结构,适应不同用户的数据输入需求,动态数据格可以根据用户的操作实时更新,提高了报表的实时性和灵活性,通过唯一标识每个数据格,确保了数据的定位和检索,提供了交互式的平台,用户可以直接在数据格中编辑数据,使得数据输入更加直观和便捷,通过行和列的标识,用户可以快速理解和识别数据格的内容和位置,将动态数据格标记为已编辑数据格,通过标记已编辑的数据格,可以展示哪些数据已经被修改,便于跟踪和审核,根据关键字字段集合和用户输入的关键词信息,执行报表生成策略,快速生成新的报表,提高了报表生成的效率,设定监测时间段,每隔30s进行一次监测时间段的划分,通过定期监测,执行行数据整理策略,将同一用户编辑的多行数据规整在一起,提高了报表的可读性和整洁度,如果一个用户编辑了多行数据,这些数据会被集中展示,而不是与其他用户的数据混杂;Set the report structure to provide a report making framework, allowing users to customize the report structure according to different needs and adapt to the data input needs of different users. The dynamic data grid can be updated in real time according to the user's operation, which improves the real-time and flexibility of the report. By uniquely identifying each data grid, the location and retrieval of data are ensured, and an interactive platform is provided. Users can edit data directly in the data grid, making data input more intuitive and convenient. Through the identification of rows and columns, users can quickly understand and identify the content and location of the data grid. Mark the dynamic data grid as the edited data grid. By marking the edited data grid, you can show which data has been modified, which is convenient for tracking and review. According to the keyword field set and the keyword information entered by the user, the report generation strategy is executed to quickly generate new reports, which improves the efficiency of report generation. Set the monitoring time period and divide the monitoring time period every 30 seconds. Through regular monitoring, the row data sorting strategy is executed to organize multiple rows of data edited by the same user together, which improves the readability and neatness of the report. If a user edits multiple rows of data, these data will be displayed together instead of being mixed with other users' data.
可选的,所述设置关键字字段,并执行关键字字段标记策略,生成关键字字段集合,包括:Optionally, the step of setting a keyword field and executing a keyword field marking strategy to generate a keyword field set includes:
所述关键字字段标记策略具体步骤为;The specific steps of the keyword field marking strategy are:
获取相似报表集合;Get a collection of similar reports;
将相似报表集合中每个报表包含的所有列标题内容组成列标题内容集合;All column header contents contained in each report in the similar report set are combined into a column header content set;
计算每个列标题内容出现的频率,记为列标题内容频率,公式为:列标题内容频率=;Calculate the frequency of occurrence of each column title content, recorded as column title content frequency, the formula is: column title content frequency = ;
根据每个列标题内容出现的频率,组成列标题内容频率集合,其中一个列标题内容对应一个列标题内容频率;According to the frequency of occurrence of each column title content, a column title content frequency set is formed, where one column title content corresponds to one column title content frequency;
根据列标题频率集合,获取每个列标题内容所对应的频率,并以频率从高到低进行排序,形成第一排序序列;According to the column title frequency set, obtain the frequency corresponding to each column title content, and sort them from high to low in frequency to form a first sorting sequence;
对第一排序序列中每个列标题内容进行关键字字段标记,标记顺序为从序列第一开始依次进行标记,具体为第一关键字字段、第二关键字字段……第Q关键字字段;Marking the content of each column header in the first sorting sequence with a keyword field, with the marking order starting from the first column in the sequence, specifically the first keyword field, the second keyword field, ... the Qth keyword field;
其中Q为列标题频率集合中的元素个数;Where Q is the number of elements in the column header frequency set;
将标记后的关键字字段组成集合,记为关键字字段集合;The marked keyword fields are grouped into a set, which is recorded as a keyword field set;
将所有标记后的关键字字段组成集合,通过将关键字字段集合中的每个元素分配具体的位置信息标识,并填充于新生成的报表中,确保关键字字段在报表中的正确放置,提高了报表的准确性,自动化地根据关键字字段集合填充报表,减少了人工输入的工作量,提高了报表生成的效率;All marked keyword fields are grouped into sets. By assigning specific location information identifiers to each element in the keyword field set and filling them in the newly generated report, the correct placement of the keyword fields in the report is ensured, the accuracy of the report is improved, and the report is automatically filled according to the keyword field set, which reduces the workload of manual input and improves the efficiency of report generation;
可选的,所述根据关键字字段集合与用户输入的关键词信息,执行报表生成策略,将新生成的报表标记为第一报表,包括:Optionally, executing a report generation strategy according to the keyword field set and the keyword information input by the user, and marking the newly generated report as the first report, includes:
所述报表生成策略具体步骤为;The specific steps of the report generation strategy are:
将关键字字段集合中的每个元素分配位置信息标识,并填充于新生成的报表中,具体为,第一关键字字段对应的位置信息标识为(,)、第二关键字字段对应的位置信息标识为(,)……第Q关键字字段对应的位置信息标识为(,);Assign a location information identifier to each element in the keyword field set and fill it in the newly generated report. Specifically, the location information identifier corresponding to the first keyword field is ( , ), the location information corresponding to the second keyword field is identified as ( , )...The location information corresponding to the Qth keyword field is identified as ( , );
其中(,)中的表示为第Q关键字字段对应的列标识,表示为第Q关键字字段对应的行标识;in( , ) Indicates the column identifier corresponding to the Qth keyword field. Indicates the row ID corresponding to the Qth keyword field;
将生成的报表标记为第一报表。Mark the generated report as the first report.
可选的,所述针对第一报表,若多个用户在同一个监测时间段对同一个行标题所对应的动态数据格执行编辑操作,则执行行标题数据冲突策略,包括:Optionally, for the first report, if multiple users perform editing operations on the dynamic data grid corresponding to the same row title in the same monitoring time period, the row title data conflict strategy is executed, including:
所述动态数据格执行编辑操作分为三种方式,具体为填写内容、删除内容与修改内容;The dynamic data grid can be edited in three ways, namely, filling in content, deleting content and modifying content;
当用户在报表中执行编辑操作时,获取用户标识ID与数据格操作信息;When a user performs an editing operation in a report, the user ID and data grid operation information are obtained;
所述数据格操作信息为用户进行编辑的动态数据格位置信息、编辑方式、编辑起始时间与编辑结束时间。The data grid operation information is the dynamic data grid position information, editing method, editing start time and editing end time edited by the user.
可选的,所述若多个用户在同一个监测时间段对同一个行标题所对应的动态数据格执行编辑操作,则执行行标题数据冲突策略,还包括:Optionally, if multiple users perform editing operations on the dynamic data grid corresponding to the same row title in the same monitoring time period, executing the row title data conflict strategy also includes:
所述行标题数据冲突策略分为同一数据格冲突策略与不同数据格冲突策略;The row header data conflict strategy is divided into the same data grid conflict strategy and the different data grid conflict strategy;
将在同一个监测时间段对同一个动态数据格执行编辑操作的多个用户进行标记,记为第一用户,并组成第一用户集合;Mark multiple users who perform editing operations on the same dynamic data grid in the same monitoring time period as first users and form a first user set;
针对第一用户集合执行同一数据格冲突策略;executing the same data grid conflict strategy for the first user set;
将在同一个监测时间段对不同的动态数据格执行编辑操作的多个用户进行标记,记为第二用户,并组成第二用户集合;Mark multiple users who perform editing operations on different dynamic data grids in the same monitoring time period as second users and form a second user set;
针对第二用户集合执行在同一行标题下的不同数据格冲突策略。The conflict strategy of different data grids under the same row header is executed for the second user set.
可选的,所述针对第一用户集合执行同一数据格冲突策略,包括:Optionally, executing the same data grid conflict strategy for the first user set includes:
将被多个第一用户编辑的动态数据格标记为第一数据格;marking the dynamic data grid edited by the plurality of first users as the first data grid;
获取第一数据格的位置信息标识,记为(,),其中为第一数据格的列标识,为第一数据格的行标识;Get the location information identifier of the first data grid, recorded as ( , ),in is the column identifier of the first data cell, is the row identifier of the first data cell;
设置用户权限级别,分为高权限级别与低权限级别;Set the user authority level, which is divided into high authority level and low authority level;
每个用户标识ID对应一个用户权限级别;Each user ID corresponds to a user permission level;
获取第一用户集合中每个第一用户的用户标识ID,并根据用户标识ID获取每个第一用户的用户权限级别;Obtaining a user identification ID of each first user in the first user set, and obtaining a user authority level of each first user according to the user identification ID;
若第一用户集合中存在一个高权限第一用户与一个或者多个低权限第一用户,则获取一个或者多个低权限第一用户的数据格操作信息,并根据数据格操作信息,获取每个低权限用户的编辑起始时间,若只存在一个低权限第一用户,则将该用户的编辑起始时间标记为第一起始时间;If there is a high-authority first user and one or more low-authority first users in the first user set, then obtain data grid operation information of the one or more low-authority first users, and obtain the editing start time of each low-authority user according to the data grid operation information; if there is only one low-authority first user, then mark the editing start time of the user as the first start time;
若存在多个低权限第一用户,则按照低权限第一用户的编辑起始时间先后的顺序进行排序,形成排序序列,记为第二排序序列;If there are multiple low-authority first users, they are sorted in the order of the editing start time of the low-authority first users to form a sorting sequence, which is recorded as the second sorting sequence;
获取第二排序序列中位序第一的编辑起始时间,标记为第一起始时间;Get the edit start time with the first position in the second sorting sequence, and mark it as the first start time;
获取第二排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the second sorting sequence and mark it as the second start time;
获取第二排序序列中位序第Z的编辑起始时间,标记为第Z起始时间;Get the edit start time of the Zth position in the second sorting sequence, and mark it as the Zth start time;
其中Z为第一用户集合中低权限第一用户的个数;Where Z is the number of low-authority first users in the first user set;
若第一用户集合中高权限第一用户数量等于1,并且低权限第一用户数量等于1,则高权限第一用户与低权限第一用户对第一数据格执行编辑操作,当高权限第一用户完成编辑操作时,获取高权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;当低权限第一用户完成编辑操作时,获取低权限第一用户的编辑方式以及对应的编辑内容,并更新到第一数据格正下方的动态数据格,该动态数据格的位置信息标识为(,);If the number of high-authority first users in the first user set is equal to 1, and the number of low-authority first users is equal to 1, the high-authority first user and the low-authority first user perform an editing operation on the first data grid. When the high-authority first user completes the editing operation, the editing method and corresponding editing content of the high-authority first user are obtained and updated to the first data grid; when the low-authority first user completes the editing operation, the editing method and corresponding editing content of the low-authority first user are obtained and updated to the dynamic data grid directly below the first data grid. The position information of the dynamic data grid is identified as ( , );
若第一用户集合中高权限第一用户数量等于1,并且低权限第一用户数量大于1,则一个高权限第一用户与多个低权限第一用户对第一数据格执行编辑操作,当高权限第一用户完成编辑操作时,获取高权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;当低权限第一用户完成编辑操作时,获取低权限第一用户的编辑起始时间,并根据编辑起始时间获取对应的第一目标数据格;If the number of high-authority first users in the first user set is equal to 1, and the number of low-authority first users is greater than 1, then one high-authority first user and multiple low-authority first users perform an editing operation on the first data grid, and when the high-authority first user completes the editing operation, the editing method and corresponding editing content of the high-authority first user are obtained, and updated to the first data grid; when the low-authority first user completes the editing operation, the editing start time of the low-authority first user is obtained, and the corresponding first target data grid is obtained according to the editing start time;
所述第一目标数据格为根据第二排序序列中的第一起始时间至第Z起始时间对应的第一目标数据格,每个起始时间对应一个第一目标数据格的位置信息标识,具体为第一起始时间对应(,),第二起始时间对应,)……第Z起始时间对应(,);The first target data grid is the first target data grid corresponding to the first starting time to the Zth starting time in the second sorting sequence, and each starting time corresponds to a position information identifier of a first target data grid, specifically, the first starting time corresponds to ( , ), the second start time corresponds to , )...The Zth starting time corresponds to ( , );
获取低权限第一用户的编辑方式以及对应的编辑内容,并更新到对应的第一目标数据格中。The editing mode and corresponding editing content of the low-authority first user are obtained, and updated into the corresponding first target data grid.
可选的,所述针对第一用户集合执行同一数据格冲突策略,还包括:Optionally, executing the same data grid conflict strategy for the first user set further includes:
若第一用户集合中高权限第一用户的数量大于1并且低权限第一用户数量等于0,则获取每个高权限第一用户的数据格操作信息,并根据数据格操作信息,获取每个高权限第一用户的编辑起始时间,并以时间的先后顺序进行排序,形成排序序列,记为第三排序序列;If the number of high-authority first users in the first user set is greater than 1 and the number of low-authority first users is equal to 0, then the data grid operation information of each high-authority first user is obtained, and according to the data grid operation information, the editing start time of each high-authority first user is obtained, and ...
获取第三排序序列中位序第一的编辑起始时间,标记为第一起始时间;Obtain the first edit start time in the third sorting sequence and mark it as the first start time;
获取第三排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the third sorting sequence and mark it as the second start time;
获取第三排序序列中位序第J的编辑起始时间,标记为第J起始时间;Obtain the edit start time of the Jth position in the third sorting sequence, and mark it as the Jth start time;
其中J为第一用户集合中高权限第一用户的个数;Where J is the number of high-authority first users in the first user set;
针对多个高权限第一用户对第一数据格执行编辑操作,当第三排序序列中第一起始时间对应的高权限第一用户完成编辑操作时,获取该高权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;Performing editing operations on the first data grid for multiple high-authority first users, when the high-authority first user corresponding to the first start time in the third sorting sequence completes the editing operation, obtaining the editing mode and corresponding editing content of the high-authority first user, and updating them to the first data grid;
当其余高权限第一用户完成编辑操作时,获取该高权限第一用户的编辑起始时间,并根据编辑起始时间获取对应的第二目标数据格;When the other high-authority first users complete the editing operation, the editing start time of the high-authority first users is obtained, and the corresponding second target data grid is obtained according to the editing start time;
所述其余高权限第一用户为在第一用户集合中第一起始时间对应的高权限第一用户以外的用户;The remaining high-authority first users are users other than the high-authority first users corresponding to the first starting time in the first user set;
所述第二目标数据格为根据第三排序序列中的第二起始时间至第J起始时间对应的第二目标数据格,每个起始时间对应一个第二目标数据格的位置信息标识,具体为,第二起始时间对应(,),第三起始时间对应,)……第J起始时间对应(,);The second target data grid is the second target data grid corresponding to the second starting time to the Jth starting time in the third sorting sequence, and each starting time corresponds to a position information identifier of a second target data grid. Specifically, the second starting time corresponds to ( , ), the third starting time corresponds to , )...The Jth starting time corresponds to ( , );
获取其余高权限第一用户的编辑方式以及对应的编辑内容,并更新到对应的第二目标数据格中;Obtain the editing methods and corresponding editing contents of other high-authority first users, and update them into the corresponding second target data grid;
若第一用户集合中高权限第一用户的数量等于0并且低权限第一用户数量大于1,则获取每个低权限第一用户的数据格操作信息,并根据数据格操作信息,获取每个低权限第一用户的编辑起始时间,并以时间的先后顺序进行排序,形成排序序列,记为第四排序序列;If the number of high-authority first users in the first user set is equal to 0 and the number of low-authority first users is greater than 1, then the data grid operation information of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained according to the data grid operation information, and the editing start time of each low-authority first user is obtained ..., and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first
获取第四排序序列中位序第一的编辑起始时间,标记为第一起始时间;Obtain the first edit start time in the fourth sorting sequence, and mark it as the first start time;
获取第四排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the fourth sorting sequence, and mark it as the second start time;
获取第四排序序列中位序第K的编辑起始时间,标记为第K起始时间;Obtain the Kth editing start time in the fourth sorting sequence, and mark it as the Kth start time;
其中K为第一用户集合中低权限第一用户的个数;Where K is the number of low-authority first users in the first user set;
针对多个低权限第一用户对第一数据格执行编辑操作,当第四排序序列中第一起始时间对应的低权限第一用户完成编辑操作时,获取该低权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;Performing editing operations on the first data grid for multiple low-authority first users, when the low-authority first user corresponding to the first start time in the fourth sorting sequence completes the editing operation, obtaining the editing mode and corresponding editing content of the low-authority first user, and updating them to the first data grid;
当其余低权限第一用户完成编辑操作时,获取低权限第一用户的编辑起始时间,并根据编辑起始时间获取对应的第三目标数据格;When the remaining low-authority first users complete the editing operation, the editing start time of the low-authority first users is obtained, and the corresponding third target data grid is obtained according to the editing start time;
所述其余低权限第一用户为在第一用户集合中第一起始时间对应的低权限第一用户以外的用户;The remaining low-authority first users are users other than the low-authority first users corresponding to the first starting time in the first user set;
所述第三目标数据格为根据第四排序序列中的第二起始时间至第K起始时间对应的第三目标数据格,每个起始时间对应一个第三目标数据格的位置信息标识,具体为,第二起始时间对应(,),第三起始时间对应,)……第K起始时间对应(,);The third target data grid is the third target data grid corresponding to the second starting time to the Kth starting time in the fourth sorting sequence, and each starting time corresponds to a position information identifier of the third target data grid. Specifically, the second starting time corresponds to ( , ), the third starting time corresponds to , )...The Kth starting time corresponds to ( , );
获取其余低权限第一用户的编辑方式以及对应的编辑内容,并更新到对应的第三目标数据格中。The editing methods and corresponding editing contents of the remaining low-authority first users are obtained, and updated into the corresponding third target data grid.
可选的,所述针对第二用户集合执行在同一行标题下的不同数据格冲突策略,包括:Optionally, executing different data grid conflict strategies under the same row title for the second user set includes:
将第二用户对动态数据格执行编辑操作时对应的行标题,标记为目标行标题;Mark the row title corresponding to the editing operation performed by the second user on the dynamic data grid as the target row title;
获取第二用户编辑的动态数据格对应的位置信息标识,并组成集合,记为位置信息标识集合,每个第二用户对应一个位置信息标识集合;Obtaining the location information identifiers corresponding to the dynamic data grid edited by the second user and forming a set, recorded as a location information identifier set, where each second user corresponds to a location information identifier set;
根据每个第二用户的位置信息标识集合,执行动态数据格冲突匹配策略;Executing a dynamic data grid conflict matching strategy according to the location information identifier set of each second user;
所述动态数据格冲突匹配策略为,获取每个第二用户的位置信息标识集合,判断每个位置信息标识集合是否与其他位置信息标识集合产生交集;The dynamic data grid conflict matching strategy is to obtain the location information identification set of each second user, and determine whether each location information identification set intersects with other location information identification sets;
若产生交集的位置信息标识集合数量等于0,则获取第二用户的编辑方式以及对应的编辑内容对位置信息标识集合中每个元素对应的动态数据格进行更新;If the number of the location information identification sets that generate the intersection is equal to 0, the editing mode and the corresponding editing content of the second user are obtained to update the dynamic data grid corresponding to each element in the location information identification set;
若产生交集的位置信息标识集合数量大于0,则对产生交集的位置信息标识集合进行标记,记为冲突集合,每个冲突集合对应一个第二用户;If the number of location information identification sets that generate the intersection is greater than 0, the location information identification sets that generate the intersection are marked as conflict sets, and each conflict set corresponds to a second user;
对冲突集合进行归类,将交集中包含一个或者多个相同元素的冲突集合归并为一类,并标记为第一分类;Classify the conflicting sets, merge the conflicting sets containing one or more identical elements in the intersection into one category, and mark it as the first category;
获取第一分类中每个冲突集合对应的第二用户,以及对应的编辑起始时间,以时间的先后顺序进行排序,形成排序序列,记为第五排序序列;Obtain the second user corresponding to each conflict set in the first category and the corresponding editing start time, and sort them in chronological order to form a sorted sequence, which is recorded as a fifth sorted sequence;
获取第五排序序列中位序第一的编辑起始时间,标记为第一起始时间;Get the first edit start time in the fifth sorting sequence and mark it as the first start time;
获取第五排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the fifth sorting sequence and mark it as the second start time;
获取第五排序序列中位序第L的编辑起始时间,标记为第L起始时间;Obtain the edit start time of the Lth position in the fifth sorting sequence, and mark it as the Lth start time;
其中L为一个类别下冲突集合的个数;Where L is the number of conflicting sets in a category;
根据第五排序序列,获取第一起始时间对应的第二用户的位置信息标记集合中每个元素的编辑方式以及对应的编辑内容,并更新至目标行标题对应的动态数据格中;According to the fifth sorting sequence, the editing mode and corresponding editing content of each element in the location information tag set of the second user corresponding to the first start time are obtained, and updated to the dynamic data grid corresponding to the target row title;
根据第五排序序列,获取第I起始时间对应的第二用户的位置信息标记集合中每个元素的编辑方式以及对应的编辑内容,将位置信息标识集合中的每个元素对应的行标识下标增加I-1,并更新至对应的动态数据格中;According to the fifth sorting sequence, the editing mode and corresponding editing content of each element in the location information tag set of the second user corresponding to the I start time are obtained, the row identifier subscript corresponding to each element in the location information identifier set is increased by I-1, and updated to the corresponding dynamic data grid;
其中I为在第五排序序列中,第I起始时间;Wherein I is the Ith starting time in the fifth sorting sequence;
通过设置不同的用户权限级别,能够优先考虑高权限用户的数据编辑操作,确保关键数据的优先更新,根据用户的编辑起始时间进行排序,合理地安排编辑操作的优先级,避免了编辑冲突。可以确保最早开始编辑的用户的数据首先被处理,根据用户的权限级别和编辑时间,将编辑内容分配到对应的动态数据格中,提高了数据处理的灵活性,低权限用户的编辑内容可以被放置在高权限用户编辑内容的下方,保持数据的层次结构,处理多个高权限或低权限用户对同一数据格的编辑操作,通过排序和分配机制,确保所有用户的编辑都被合理考虑,确保处理多个高权限或多个低权限用户之间的冲突,通过记录每个用户的编辑起始时间和编辑内容,保留了编辑历史,便于后续的追溯和审计。By setting different user permission levels, data editing operations of high-authority users can be given priority, ensuring priority updates of key data. Sorting is performed according to the user's editing start time, and the priority of editing operations is reasonably arranged to avoid editing conflicts. It can ensure that the data of the user who starts editing the earliest is processed first. According to the user's permission level and editing time, the editing content is allocated to the corresponding dynamic data grid, which improves the flexibility of data processing. The editing content of low-authority users can be placed below the editing content of high-authority users to maintain the hierarchical structure of the data, and handle the editing operations of multiple high-authority or low-authority users on the same data grid. Through the sorting and allocation mechanism, it is ensured that all users' edits are reasonably considered, and conflicts between multiple high-authority or multiple low-authority users are handled. By recording the editing start time and editing content of each user, the editing history is retained, which is convenient for subsequent tracing and auditing.
可选的,所述针对第一报表,执行行数据整理策略,包括:Optionally, executing the row data sorting strategy for the first report includes:
所述行数据整理策略具体包括以下步骤;The row data sorting strategy specifically includes the following steps:
所述行数据为在报表中,每个行标题所包括的所有已编辑数据格内容;The row data refers to all edited data grid contents included in each row title in the report;
将同一个用户进行编辑的行数据标记为目标行数据;Mark the row data edited by the same user as the target row data;
当第一报表生成时,以每五个监测时间段划分为一组,并对每组进行标记分别记为第一组监测时间段,第二组监测时间段……第H组监测时间段;When the first report is generated, every five monitoring time periods are divided into a group, and each group is marked as the first group of monitoring time periods, the second group of monitoring time periods, and the Hth group of monitoring time periods;
获取每组监测时间段内所有的目标行数据,并获取每个目标行数据对应的用户标识ID,组成集合,记为优化用户集合;Obtain all target row data in each monitoring time period, and obtain the user ID corresponding to each target row data to form a set, which is recorded as the optimized user set;
其中一组监测时间段对应一个优化用户集合,获取每个用户标识ID下所对应的目标行数据个数;One set of monitoring time periods corresponds to an optimized user set, and the number of target row data corresponding to each user ID is obtained;
若存在一个用户标识ID具有多个目标行数据,则获取目标行标题的个数,记为r;获取编辑起始时间最早的目标行数据对应的行标题,以及该行标题对应的位置信息,记为(,);将该用户标识ID下的目标行数据中包含的已编辑数据格对应的位置信息进行优化,该优化过程记为第一优化过程;If there is a user ID with multiple target row data, then obtain the number of target row titles, recorded as r; obtain the row title corresponding to the target row data with the earliest editing start time, and the position information corresponding to the row title, recorded as ( , ); optimizing the position information corresponding to the edited data cell contained in the target row data under the user identification ID, and the optimization process is recorded as the first optimization process;
所述第一优化过程具体表示为第一个目标行数据为(,),(,)……(,);第二个目标行数据为(,),(,)……(,);第r个目标行数据为(,),(,)……(,);The first optimization process is specifically expressed as follows: the first target row data is ( , ), , )……( , ); The second target row data is ( , ), , )……( , ); The rth target row data is ( , ), , )……( , );
其中a为目标行数据中已编辑数据格的数量减一;Where a is the number of edited data cells in the target row minus one;
若在第一优化过程中,存在其他用户标识ID下的目标行数据有位置信息的冲突,则将该目标行数据的位置信息放置在第r个目标行数据下方;If, in the first optimization process, there is a conflict in the position information of the target row data under other user identification IDs, the position information of the target row data is placed below the rth target row data;
若每个用户标识ID下只具有一个目标行数据,则不对目标行数据所对应的已编辑数据格的位置信息进行改动;If there is only one target row of data under each user identification ID, the position information of the edited data cell corresponding to the target row of data will not be changed;
通过将同一个用户进行编辑的行数据标记为目标行数据,在监测时间段内集中管理每个用户的编辑内容,以每五个监测时间段划分为一组,并对每组进行标记,这种分组策略有助于对不同时间段内的数据编辑进行管理,通过获取每组监测时间段内所有的目标行数据,并获取每个目标行数据对应的用户标识ID,形成优化用户集合,能够对每个用户的编辑行为进行分析,根据用户标识ID对目标行数据进行优化,特别是当一个用户标识ID具有多个目标行数据时,将这些行数据进行整理,提高了数据的可读性和整洁度,如果一个用户在多个行中进行了编辑,将这些行数据整理在一起,便于用户查看和分析,在第一优化过程中,如果存在位置信息的冲突,将冲突的目标行数据放置在最下方,避免了数据的覆盖和丢失,如果每个用户标识ID下只具有一个目标行数据,则不对已编辑数据格的位置信息进行改动,保持了数据的原始性和完整性。By marking the row data edited by the same user as the target row data, the editing content of each user is centrally managed within the monitoring time period, and every five monitoring time periods are divided into a group, and each group is marked. This grouping strategy is helpful to manage data editing in different time periods. By obtaining all the target row data in each group of monitoring time periods and obtaining the user identification ID corresponding to each target row data, an optimized user set is formed, and the editing behavior of each user can be analyzed. The target row data is optimized according to the user identification ID. In particular, when a user identification ID has multiple target row data, these row data are sorted to improve the readability and neatness of the data. If a user edits in multiple rows, these row data are sorted together for user viewing and analysis. In the first optimization process, if there is a conflict in position information, the conflicting target row data is placed at the bottom to avoid data overwriting and loss. If there is only one target row data under each user identification ID, the position information of the edited data grid is not changed, thereby maintaining the originality and integrity of the data.
本发明具备以下有益效果:The present invention has the following beneficial effects:
1、该在线表单智能设计方法,设置报表结构提供报表制作框架,允许用户根据不同的需求定制报表结构,适应不同用户的数据输入需求,动态数据格可以根据用户的操作实时更新,提高了报表的实时性和灵活性,通过唯一标识每个数据格,确保了数据的定位和检索,提供了交互式的平台,用户可以直接在数据格中编辑数据,使得数据输入更加直观和便捷,通过行和列的标识,用户可以快速理解和识别数据格的内容和位置,将动态数据格标记为已编辑数据格,通过标记已编辑的数据格,可以展示哪些数据已经被修改,便于跟踪和审核,根据关键字字段集合和用户输入的关键词信息,执行报表生成策略,快速生成新的报表,提高了报表生成的效率,设定监测时间段,每隔30s进行一次监测时间段的划分,通过定期监测,执行行数据整理策略,将同一用户编辑的多行数据规整在一起,提高了报表的可读性和整洁度,如果一个用户编辑了多行数据,这些数据会被集中展示,而不是与其他用户的数据混杂。1. The online form intelligent design method sets the report structure to provide a report making framework, allowing users to customize the report structure according to different needs and adapt to the data input needs of different users. The dynamic data grid can be updated in real time according to the user's operation, which improves the real-time and flexibility of the report. By uniquely identifying each data grid, the location and retrieval of data are ensured, and an interactive platform is provided. Users can edit data directly in the data grid, making data input more intuitive and convenient. Through the identification of rows and columns, users can quickly understand and identify the content and location of the data grid, mark the dynamic data grid as the edited data grid, and by marking the edited data grid, it can be shown which data has been modified, which is convenient for tracking and review. According to the keyword field set and the keyword information entered by the user, the report generation strategy is executed to quickly generate a new report, which improves the efficiency of report generation. The monitoring time period is set, and the monitoring time period is divided every 30 seconds. Through regular monitoring, the row data sorting strategy is executed to organize multiple rows of data edited by the same user together, which improves the readability and neatness of the report. If a user edits multiple rows of data, these data will be displayed in a centralized manner instead of being mixed with the data of other users.
2、该在线表单智能设计方法,通过提取报表名称中的关键词并组成集合,快速对报表进行归类,提高了报表管理的效率,用户可以通过任何一个关键词快速检索到相关的报表集合,提高了报表检索的灵活性和便捷性,该方法自动将包含相同关键词的报表组织成相似报表集合,通过报表归类策略,用户能够更直观地看到报表的分类和组织结构,优化了用户体验,通过执行关键字字段标记策略,识别和标记在相似报表集合中频繁出现的列标题内容,通过计算每个列标题内容的出现频率,能够确定哪些列标题内容是报表中的关键信息,根据列标题内容的频率从高到低进行排序,形成了一个优先级序列,按照排序序列对列标题内容进行关键字字段标记,2. The online form intelligent design method extracts keywords from the report name and forms a set to quickly classify the report, thereby improving the efficiency of report management. Users can quickly retrieve related report sets through any keyword, which improves the flexibility and convenience of report retrieval. The method automatically organizes reports containing the same keywords into similar report sets. Through the report classification strategy, users can more intuitively see the classification and organizational structure of the report, which optimizes the user experience. By executing the keyword field marking strategy, the column title content that frequently appears in the similar report set is identified and marked. By calculating the frequency of occurrence of each column title content, it can be determined which column title content is the key information in the report. The column title content is sorted from high to low according to its frequency, forming a priority sequence, and the column title content is marked with keyword fields according to the sorting sequence.
将所有标记后的关键字字段组成集合,通过将关键字字段集合中的每个元素分配具体的位置信息标识,并填充于新生成的报表中,确保关键字字段在报表中的正确放置,提高了报表的准确性,自动化地根据关键字字段集合填充报表,减少了人工输入的工作量,提高了报表生成的效率。All marked keyword fields are grouped into a set. By assigning specific location information identifiers to each element in the keyword field set and filling them in the newly generated report, the correct placement of the keyword fields in the report is ensured, the accuracy of the report is improved, and the report is automatically filled according to the keyword field set, which reduces the workload of manual input and improves the efficiency of report generation.
3、该在线表单智能设计方法,通过识别三种编辑操作(填写、删除、修改),这有助于处理数据冲突,确保数据的完整性和准确性,比如,如果用户A填写了数据而用户B尝试删除同一数据,能够识别这种冲突并采取相应措施,通过获取用户标识ID和数据格操作信息,能够追踪每个用户的编辑行为,包括位置、编辑方式和时间,用于解决冲突,在监测时间段内实时监控并解决数据冲突,避免了数据丢失或错误累积,提高了数据管理的实时性和响应速度,通过区分同一数据格冲突策略和不同数据格冲突策略,解决不同情况下的冲突,通过标记第一用户和第二用户并组成相应的用户集合,能够管理不同用户对数据格的操作,提高了冲突解决的效率,通过执行行标题数据冲突策略,优化了多人协作编辑的体验,减少了用户间的冲突和误解。3. The online form intelligent design method helps to handle data conflicts and ensure the integrity and accuracy of data by identifying three editing operations (filling, deleting, and modifying). For example, if user A fills in data and user B tries to delete the same data, it can identify this conflict and take corresponding measures. By obtaining the user identification ID and data grid operation information, it can track each user's editing behavior, including location, editing method and time, for conflict resolution. Data conflicts are monitored and resolved in real time during the monitoring period, avoiding data loss or error accumulation, and improving the real-time and response speed of data management. By distinguishing between the same data grid conflict strategy and different data grid conflict strategies, conflicts in different situations are resolved. By marking the first user and the second user and forming a corresponding user set, it can manage the operations of different users on the data grid, improving the efficiency of conflict resolution. By executing the row header data conflict strategy, the experience of multi-person collaborative editing is optimized and conflicts and misunderstandings between users are reduced.
4、该在线表单智能设计方法,通过设置不同的用户权限级别,能够优先考虑高权限用户的数据编辑操作,确保关键数据的优先更新,根据用户的编辑起始时间进行排序,合理地安排编辑操作的优先级,避免了编辑冲突。可以确保最早开始编辑的用户的数据首先被处理,根据用户的权限级别和编辑时间,将编辑内容分配到对应的动态数据格中,提高了数据处理的灵活性,低权限用户的编辑内容可以被放置在高权限用户编辑内容的下方,保持数据的层次结构,处理多个高权限或低权限用户对同一数据格的编辑操作,通过排序和分配机制,确保所有用户的编辑都被合理考虑,确保处理多个高权限或多个低权限用户之间的冲突,通过记录每个用户的编辑起始时间和编辑内容,保留了编辑历史,便于后续的追溯和审计。4. The online form intelligent design method can give priority to the data editing operations of high-authority users by setting different user authority levels, ensure the priority update of key data, sort according to the user's editing start time, reasonably arrange the priority of editing operations, and avoid editing conflicts. It can ensure that the data of the user who starts editing the earliest is processed first, and the editing content is allocated to the corresponding dynamic data grid according to the user's authority level and editing time, which improves the flexibility of data processing. The editing content of low-authority users can be placed below the editing content of high-authority users to maintain the hierarchical structure of data, and handle the editing operations of multiple high-authority or low-authority users on the same data grid. Through the sorting and allocation mechanism, it is ensured that the editing of all users is reasonably considered, and the conflicts between multiple high-authority or multiple low-authority users are handled. By recording the editing start time and editing content of each user, the editing history is retained, which is convenient for subsequent tracing and auditing.
5、该在线表单智能设计方法,通过将同一个用户进行编辑的行数据标记为目标行数据,在监测时间段内集中管理每个用户的编辑内容,以每五个监测时间段划分为一组,并对每组进行标记,这种分组策略有助于对不同时间段内的数据编辑进行管理,通过获取每组监测时间段内所有的目标行数据,并获取每个目标行数据对应的用户标识ID,形成优化用户集合,能够对每个用户的编辑行为进行分析,根据用户标识ID对目标行数据进行优化,特别是当一个用户标识ID具有多个目标行数据时,将这些行数据进行整理,提高了数据的可读性和整洁度,如果一个用户在多个行中进行了编辑,将这些行数据整理在一起,便于用户查看和分析,在第一优化过程中,如果存在位置信息的冲突,将冲突的目标行数据放置在最下方,避免了数据的覆盖和丢失,如果每个用户标识ID下只具有一个目标行数据,则不对已编辑数据格的位置信息进行改动,保持了数据的原始性和完整性。5. The online form intelligent design method marks the row data edited by the same user as the target row data, centrally manages the editing content of each user within the monitoring time period, divides every five monitoring time periods into a group, and marks each group. This grouping strategy is helpful to manage data editing in different time periods. By obtaining all the target row data in each group of monitoring time periods and obtaining the user identification ID corresponding to each target row data, an optimized user set is formed, and the editing behavior of each user can be analyzed. The target row data is optimized according to the user identification ID. In particular, when a user identification ID has multiple target row data, these row data are sorted to improve the readability and neatness of the data. If a user edits in multiple rows, these row data are sorted together for user viewing and analysis. In the first optimization process, if there is a conflict in position information, the conflicting target row data is placed at the bottom to avoid data coverage and loss. If there is only one target row data under each user identification ID, the position information of the edited data grid is not changed, thereby maintaining the originality and integrity of the data.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明步骤流程图。FIG. 1 is a flow chart of the steps of the present invention.
图2为报表结构示意图。Figure 2 is a schematic diagram of the report structure.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
参照图1,可选的,设置报表结构;Referring to FIG. 1 , optionally, setting a report structure;
所述报表结构包含多个动态数据格;The report structure includes multiple dynamic data grids;
每个动态数据格对应一个位置信息标识;Each dynamic data grid corresponds to a location information identifier;
所述动态数据格用于存储用户编辑的数据,并且展示用户编辑的数据;The dynamic data grid is used to store the data edited by the user and display the data edited by the user;
参照图2,所述位置信息标识包括行标识与列标识,位置信息标识表示为(,),其中列标识表示为,行标识表示为;2, the position information identifier includes a row identifier and a column identifier, and the position information identifier is represented as ( , ), where the column identifier is represented by , the row identifier is represented by ;
若在动态数据格中存在用户编辑的数据,则将动态数据格标记为已编辑数据格;If there is data edited by the user in the dynamic data grid, the dynamic data grid is marked as an edited data grid;
设置列标题与行标题,用于标识已编辑数据格的内容;Set column and row headers to identify the contents of the edited data grid;
在一个报表中,若存在一个或者多个列标题,则获取列标题的位置信息,并组成列标题集合;In a report, if there are one or more column headers, the position information of the column headers is obtained and a column header set is formed;
根据列标题的位置信息,获取该位置信息所属的已编辑数据格内容,记为列标题内容;According to the position information of the column title, the content of the edited data grid to which the position information belongs is obtained and recorded as the column title content;
例如,列标题所属的已编辑数据格中的内容为“姓名”,则该列标题对应的列标题内容为“姓名”;For example, if the content in the edited data cell to which the column title belongs is "Name", then the column title content corresponding to the column title is "Name";
在一个报表中,若存在多个行标题,则组成行标题集合;In a report, if there are multiple row headers, they form a row header set;
设置报表信息;Set report information;
所述报表信息包括报表名称、列标题集合与行标题集合,每个报表对应一个报表信息;The report information includes a report name, a column title set and a row title set, and each report corresponds to a report information;
获取每个报表的报表名称,并根据报表名称执行报表归类策略;Get the report name of each report and execute the report classification strategy according to the report name;
所述报表归类策略用于对报表名称相似的报表进行归类,并组成集合,记为相似报表集合;The report classification strategy is used to classify reports with similar report names and form a set, which is recorded as a similar report set;
获取用户输入的关键词信息,并根据关键词信息获取对应的相似报表集合;Obtain the keyword information entered by the user, and obtain the corresponding similar report set based on the keyword information;
设置关键字字段,执行关键字字段标记策略,生成关键字字段集合;Set keyword fields, execute keyword field tagging strategy, and generate keyword field sets;
每个相似报表集合对应一个关键字字段集合;Each similarity report set corresponds to a keyword field set;
根据关键字字段集合与用户输入的关键词信息,执行报表生成策略,将新生成的报表标记为第一报表;Execute the report generation strategy according to the keyword field set and the keyword information input by the user, and mark the newly generated report as the first report;
设定监测时间段,每隔30s进行一次监测时间段的划分;Set the monitoring time period and divide the monitoring time period every 30 seconds;
针对第一报表,若多个用户在同一个监测时间段对同一个行标题所对应的动态数据格执行编辑操作,则执行行标题数据冲突策略;For the first report, if multiple users perform editing operations on the dynamic data grid corresponding to the same row title in the same monitoring time period, the row title data conflict strategy is executed;
针对第一报表,执行行数据整理策略。For the first report, execute the row data sorting strategy.
可选的,所述获取每个报表的报表名称,并根据报表名称执行报表归类策略,包括:Optionally, obtaining the report name of each report and executing the report classification strategy according to the report name includes:
所述报表归类策略具体步骤为;The specific steps of the report classification strategy are:
提取出每个报表名称中的关键词,组成集合,记为报表名称关键词集合;Extract the keywords in each report name and form a set, which is recorded as the report name keyword set;
获取报表名称关键词集合中,每个关键词对应的报表,并组成集合,记为相似报表集合;Obtain the report corresponding to each keyword in the report name keyword set, and form a set, which is recorded as a similar report set;
每个关键词对应一个相似报表集合。Each keyword corresponds to a similarity report set.
可选的,所述设置关键字字段,并执行关键字字段标记策略,生成关键字字段集合,包括:Optionally, the step of setting a keyword field and executing a keyword field marking strategy to generate a keyword field set includes:
所述关键字字段标记策略具体步骤为;The specific steps of the keyword field marking strategy are:
获取相似报表集合;Get a collection of similar reports;
将相似报表集合中每个报表包含的所有列标题内容组成列标题内容集合;All column header contents contained in each report in the similar report set are combined into a column header content set;
计算每个列标题内容出现的频率,记为列标题内容频率,公式为:列标题内容频率=;Calculate the frequency of occurrence of each column title content, recorded as column title content frequency, the formula is: column title content frequency = ;
根据每个列标题内容出现的频率,组成列标题内容频率集合,其中一个列标题内容对应一个列标题内容频率;According to the frequency of occurrence of each column title content, a column title content frequency set is formed, where one column title content corresponds to one column title content frequency;
根据列标题频率集合,获取每个列标题内容所对应的频率,并以频率从高到低进行排序,形成第一排序序列;According to the column title frequency set, obtain the frequency corresponding to each column title content, and sort them from high to low in frequency to form a first sorting sequence;
对第一排序序列中每个列标题内容进行关键字字段标记,标记顺序为从序列第一开始依次进行标记,具体为第一关键字字段、第二关键字字段……第Q关键字字段;Marking the content of each column header in the first sorting sequence with a keyword field, with the marking order starting from the first column in the sequence, specifically the first keyword field, the second keyword field, ... the Qth keyword field;
其中Q为列标题频率集合中的元素个数;Where Q is the number of elements in the column header frequency set;
将标记后的关键字字段组成集合,记为关键字字段集合。The marked keyword fields are grouped into a set, which is recorded as a keyword field set.
可选的,所述根据关键字字段集合与用户输入的关键词信息,执行报表生成策略,将新生成的报表标记为第一报表,包括:Optionally, executing a report generation strategy according to the keyword field set and the keyword information input by the user, and marking the newly generated report as the first report, includes:
所述报表生成策略具体步骤为;The specific steps of the report generation strategy are:
将关键字字段集合中的每个元素分配位置信息标识,并填充于新生成的报表中,具体为,第一关键字字段对应的位置信息标识为(,)、第二关键字字段对应的位置信息标识为(,)……第Q关键字字段对应的位置信息标识为(,);Assign a location information identifier to each element in the keyword field set and fill it in the newly generated report. Specifically, the location information identifier corresponding to the first keyword field is ( , ), the location information corresponding to the second keyword field is identified as ( , )...The location information corresponding to the Qth keyword field is identified as ( , );
其中(,)中的表示为第Q关键字字段对应的列标识,表示为第Q关键字字段对应的行标识;in( , ) Indicates the column identifier corresponding to the Qth keyword field. Indicates the row ID corresponding to the Qth keyword field;
将生成的报表标记为第一报表。Mark the generated report as the first report.
可选的,所述针对第一报表,若多个用户在同一个监测时间段对同一个行标题所对应的动态数据格执行编辑操作,则执行行标题数据冲突策略,包括:Optionally, for the first report, if multiple users perform editing operations on the dynamic data grid corresponding to the same row title in the same monitoring time period, the row title data conflict strategy is executed, including:
所述动态数据格执行编辑操作分为三种方式,具体为填写内容、删除内容与修改内容;The dynamic data grid can be edited in three ways, namely, filling in content, deleting content and modifying content;
当用户在报表中执行编辑操作时,获取用户标识ID与数据格操作信息;When a user performs an editing operation in a report, the user ID and data grid operation information are obtained;
所述数据格操作信息为用户进行编辑的动态数据格位置信息、编辑方式、编辑起始时间与编辑结束时间。The data grid operation information is the dynamic data grid position information, editing method, editing start time and editing end time edited by the user.
可选的,所述若多个用户在同一个监测时间段对同一个行标题所对应的动态数据格执行编辑操作,则执行行标题数据冲突策略,还包括:Optionally, if multiple users perform editing operations on the dynamic data grid corresponding to the same row title in the same monitoring time period, executing the row title data conflict strategy also includes:
所述行标题数据冲突策略分为同一数据格冲突策略与不同数据格冲突策略;The row header data conflict strategy is divided into the same data grid conflict strategy and the different data grid conflict strategy;
将在同一个监测时间段对同一个动态数据格执行编辑操作的多个用户进行标记,记为第一用户,并组成第一用户集合;Mark multiple users who perform editing operations on the same dynamic data grid in the same monitoring time period as first users and form a first user set;
针对第一用户集合执行同一数据格冲突策略;executing the same data grid conflict strategy for the first user set;
将在同一个监测时间段对不同的动态数据格执行编辑操作的多个用户进行标记,记为第二用户,并组成第二用户集合;Mark multiple users who perform editing operations on different dynamic data grids in the same monitoring time period as second users and form a second user set;
针对第二用户集合执行在同一行标题下的不同数据格冲突策略。The conflict strategy of different data grids under the same row header is executed for the second user set.
可选的,所述针对第一用户集合执行同一数据格冲突策略,包括:Optionally, executing the same data grid conflict strategy for the first user set includes:
将被多个第一用户编辑的动态数据格标记为第一数据格;marking the dynamic data grid edited by the plurality of first users as the first data grid;
获取第一数据格的位置信息标识,记为(,),其中为第一数据格的列标识,为第一数据格的行标识;Get the location information identifier of the first data grid, recorded as ( , ),in is the column identifier of the first data cell, is the row identifier of the first data cell;
设置用户权限级别,分为高权限级别与低权限级别;Set the user authority level, which is divided into high authority level and low authority level;
每个用户标识ID对应一个用户权限级别;Each user ID corresponds to a user permission level;
获取第一用户集合中每个第一用户的用户标识ID,并根据用户标识ID获取每个第一用户的用户权限级别;Obtaining a user identification ID of each first user in the first user set, and obtaining a user authority level of each first user according to the user identification ID;
若第一用户集合中存在一个高权限第一用户与一个或者多个低权限第一用户,则获取一个或者多个低权限第一用户的数据格操作信息,并根据数据格操作信息,获取每个低权限用户的编辑起始时间,若只存在一个低权限第一用户,则将该用户的编辑起始时间标记为第一起始时间;If there is a high-authority first user and one or more low-authority first users in the first user set, then obtain data grid operation information of the one or more low-authority first users, and obtain the editing start time of each low-authority user according to the data grid operation information; if there is only one low-authority first user, then mark the editing start time of the user as the first start time;
若存在多个低权限第一用户,则按照低权限第一用户的编辑起始时间先后的顺序进行排序,形成排序序列,记为第二排序序列;If there are multiple low-authority first users, they are sorted in the order of the editing start time of the low-authority first users to form a sorting sequence, which is recorded as the second sorting sequence;
获取第二排序序列中位序第一的编辑起始时间,标记为第一起始时间;Get the edit start time with the first position in the second sorting sequence, and mark it as the first start time;
获取第二排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the second sorting sequence and mark it as the second start time;
获取第二排序序列中位序第Z的编辑起始时间,标记为第Z起始时间;Get the edit start time of the Zth position in the second sorting sequence, and mark it as the Zth start time;
其中Z为第一用户集合中低权限第一用户的个数;Where Z is the number of low-authority first users in the first user set;
若第一用户集合中高权限第一用户数量等于1,并且低权限第一用户数量等于1,则高权限第一用户与低权限第一用户对第一数据格执行编辑操作,当高权限第一用户完成编辑操作时,获取高权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;当低权限第一用户完成编辑操作时,获取低权限第一用户的编辑方式以及对应的编辑内容,并更新到第一数据格正下方的动态数据格,该动态数据格的位置信息标识为(,);If the number of high-authority first users in the first user set is equal to 1, and the number of low-authority first users is equal to 1, the high-authority first user and the low-authority first user perform an editing operation on the first data grid. When the high-authority first user completes the editing operation, the editing method and corresponding editing content of the high-authority first user are obtained and updated to the first data grid; when the low-authority first user completes the editing operation, the editing method and corresponding editing content of the low-authority first user are obtained and updated to the dynamic data grid directly below the first data grid. The position information of the dynamic data grid is identified as ( , );
若第一用户集合中高权限第一用户数量等于1,并且低权限第一用户数量大于1,则一个高权限第一用户与多个低权限第一用户对第一数据格执行编辑操作,当高权限第一用户完成编辑操作时,获取高权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;当低权限第一用户完成编辑操作时,获取低权限第一用户的编辑起始时间,并根据编辑起始时间获取对应的第一目标数据格;If the number of high-authority first users in the first user set is equal to 1, and the number of low-authority first users is greater than 1, then one high-authority first user and multiple low-authority first users perform an editing operation on the first data grid, and when the high-authority first user completes the editing operation, the editing method and corresponding editing content of the high-authority first user are obtained, and updated to the first data grid; when the low-authority first user completes the editing operation, the editing start time of the low-authority first user is obtained, and the corresponding first target data grid is obtained according to the editing start time;
所述第一目标数据格为根据第二排序序列中的第一起始时间至第Z起始时间对应的第一目标数据格,每个起始时间对应一个第一目标数据格的位置信息标识,具体为第一起始时间对应(,),第二起始时间对应,)……第Z起始时间对应(,);The first target data grid is the first target data grid corresponding to the first starting time to the Zth starting time in the second sorting sequence, and each starting time corresponds to a position information identifier of a first target data grid, specifically, the first starting time corresponds to ( , ), the second start time corresponds to , )...The Zth starting time corresponds to ( , );
获取低权限第一用户的编辑方式以及对应的编辑内容,并更新到对应的第一目标数据格中。The editing mode and corresponding editing content of the low-authority first user are obtained, and updated into the corresponding first target data grid.
可选的,所述针对第一用户集合执行同一数据格冲突策略,还包括:Optionally, executing the same data grid conflict strategy for the first user set further includes:
若第一用户集合中高权限第一用户的数量大于1并且低权限第一用户数量等于0,则获取每个高权限第一用户的数据格操作信息,并根据数据格操作信息,获取每个高权限第一用户的编辑起始时间,并以时间的先后顺序进行排序,形成排序序列,记为第三排序序列;If the number of high-authority first users in the first user set is greater than 1 and the number of low-authority first users is equal to 0, then the data grid operation information of each high-authority first user is obtained, and according to the data grid operation information, the editing start time of each high-authority first user is obtained, and ...
获取第三排序序列中位序第一的编辑起始时间,标记为第一起始时间;Obtain the first edit start time in the third sorting sequence and mark it as the first start time;
获取第三排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the third sorting sequence and mark it as the second start time;
获取第三排序序列中位序第J的编辑起始时间,标记为第J起始时间;Obtain the edit start time of the Jth position in the third sorting sequence, and mark it as the Jth start time;
其中J为第一用户集合中高权限第一用户的个数;Where J is the number of high-authority first users in the first user set;
针对多个高权限第一用户对第一数据格执行编辑操作,当第三排序序列中第一起始时间对应的高权限第一用户完成编辑操作时,获取该高权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;Performing editing operations on the first data grid for multiple high-authority first users, when the high-authority first user corresponding to the first start time in the third sorting sequence completes the editing operation, obtaining the editing mode and corresponding editing content of the high-authority first user, and updating them to the first data grid;
当其余高权限第一用户完成编辑操作时,获取该高权限第一用户的编辑起始时间,并根据编辑起始时间获取对应的第二目标数据格;When the other high-authority first users complete the editing operation, the editing start time of the high-authority first users is obtained, and the corresponding second target data grid is obtained according to the editing start time;
所述其余高权限第一用户为在第一用户集合中第一起始时间对应的高权限第一用户以外的用户;The remaining high-authority first users are users other than the high-authority first users corresponding to the first starting time in the first user set;
所述第二目标数据格为根据第三排序序列中的第二起始时间至第J起始时间对应的第二目标数据格,每个起始时间对应一个第二目标数据格的位置信息标识,具体为,第二起始时间对应(,),第三起始时间对应,)……第J起始时间对应(,);The second target data grid is the second target data grid corresponding to the second starting time to the Jth starting time in the third sorting sequence, and each starting time corresponds to a position information identifier of a second target data grid. Specifically, the second starting time corresponds to ( , ), the third starting time corresponds to , )...The Jth starting time corresponds to ( , );
获取其余高权限第一用户的编辑方式以及对应的编辑内容,并更新到对应的第二目标数据格中;Obtain the editing methods and corresponding editing contents of other high-authority first users, and update them into the corresponding second target data grid;
若第一用户集合中高权限第一用户的数量等于0并且低权限第一用户数量大于1,则获取每个低权限第一用户的数据格操作信息,并根据数据格操作信息,获取每个低权限第一用户的编辑起始时间,并以时间的先后顺序进行排序,形成排序序列,记为第四排序序列;If the number of high-authority first users in the first user set is equal to 0 and the number of low-authority first users is greater than 1, then the data grid operation information of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained according to the data grid operation information, and the editing start time of each low-authority first user is obtained ..., and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first user is obtained, and the editing start time of each low-authority first
获取第四排序序列中位序第一的编辑起始时间,标记为第一起始时间;Obtain the first edit start time in the fourth sorting sequence, and mark it as the first start time;
获取第四排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the fourth sorting sequence, and mark it as the second start time;
获取第四排序序列中位序第K的编辑起始时间,标记为第K起始时间;Obtain the Kth editing start time in the fourth sorting sequence, and mark it as the Kth start time;
其中K为第一用户集合中低权限第一用户的个数;Where K is the number of low-authority first users in the first user set;
针对多个低权限第一用户对第一数据格执行编辑操作,当第四排序序列中第一起始时间对应的低权限第一用户完成编辑操作时,获取该低权限第一用户的编辑方式以及对应的编辑内容,并更新至第一数据格;Performing editing operations on the first data grid for multiple low-authority first users, when the low-authority first user corresponding to the first start time in the fourth sorting sequence completes the editing operation, obtaining the editing mode and corresponding editing content of the low-authority first user, and updating them to the first data grid;
当其余低权限第一用户完成编辑操作时,获取低权限第一用户的编辑起始时间,并根据编辑起始时间获取对应的第三目标数据格;When the remaining low-authority first users complete the editing operation, the editing start time of the low-authority first users is obtained, and the corresponding third target data grid is obtained according to the editing start time;
所述其余低权限第一用户为在第一用户集合中第一起始时间对应的低权限第一用户以外的用户;The remaining low-authority first users are users other than the low-authority first users corresponding to the first starting time in the first user set;
所述第三目标数据格为根据第四排序序列中的第二起始时间至第K起始时间对应的第三目标数据格,每个起始时间对应一个第三目标数据格的位置信息标识,具体为,第二起始时间对应(,),第三起始时间对应,)……第K起始时间对应(,);The third target data grid is the third target data grid corresponding to the second starting time to the Kth starting time in the fourth sorting sequence, and each starting time corresponds to a position information identifier of the third target data grid. Specifically, the second starting time corresponds to ( , ), the third starting time corresponds to , )...The Kth starting time corresponds to ( , );
获取其余低权限第一用户的编辑方式以及对应的编辑内容,并更新到对应的第三目标数据格中。The editing methods and corresponding editing contents of the remaining low-authority first users are obtained, and updated into the corresponding third target data grid.
可选的,所述针对第二用户集合执行在同一行标题下的不同数据格冲突策略,包括:Optionally, executing different data grid conflict strategies under the same row title for the second user set includes:
将第二用户对动态数据格执行编辑操作时对应的行标题,标记为目标行标题;Mark the row title corresponding to the editing operation performed by the second user on the dynamic data grid as the target row title;
获取第二用户编辑的动态数据格对应的位置信息标识,并组成集合,记为位置信息标识集合,每个第二用户对应一个位置信息标识集合;Obtaining the location information identifiers corresponding to the dynamic data grid edited by the second user and forming a set, recorded as a location information identifier set, where each second user corresponds to a location information identifier set;
根据每个第二用户的位置信息标识集合,执行动态数据格冲突匹配策略;Executing a dynamic data grid conflict matching strategy according to the location information identifier set of each second user;
所述动态数据格冲突匹配策略为,获取每个第二用户的位置信息标识集合,判断每个位置信息标识集合是否与其他位置信息标识集合产生交集;The dynamic data grid conflict matching strategy is to obtain the location information identification set of each second user, and determine whether each location information identification set intersects with other location information identification sets;
若产生交集的位置信息标识集合数量等于0,则获取第二用户的编辑方式以及对应的编辑内容对位置信息标识集合中每个元素对应的动态数据格进行更新;If the number of the location information identification sets that generate the intersection is equal to 0, the editing mode and the corresponding editing content of the second user are obtained to update the dynamic data grid corresponding to each element in the location information identification set;
若产生交集的位置信息标识集合数量大于0,则对产生交集的位置信息标识集合进行标记,记为冲突集合,每个冲突集合对应一个第二用户;If the number of location information identification sets that generate the intersection is greater than 0, the location information identification sets that generate the intersection are marked as conflict sets, and each conflict set corresponds to a second user;
对冲突集合进行归类,将交集中包含一个或者多个相同元素的冲突集合归并为一类,并标记为第一分类;Classify the conflicting sets, merge the conflicting sets containing one or more identical elements in the intersection into one category, and mark it as the first category;
获取第一分类中每个冲突集合对应的第二用户,以及对应的编辑起始时间,以时间的先后顺序进行排序,形成排序序列,记为第五排序序列;Obtain the second user corresponding to each conflict set in the first category and the corresponding editing start time, and sort them in chronological order to form a sorted sequence, which is recorded as a fifth sorted sequence;
获取第五排序序列中位序第一的编辑起始时间,标记为第一起始时间;Get the first edit start time in the fifth sorting sequence and mark it as the first start time;
获取第五排序序列中位序第二的编辑起始时间,标记为第二起始时间;Obtain the second edit start time in the fifth sorting sequence and mark it as the second start time;
获取第五排序序列中位序第L的编辑起始时间,标记为第L起始时间;Obtain the edit start time of the Lth position in the fifth sorting sequence, and mark it as the Lth start time;
其中L为一个类别下冲突集合的个数;Where L is the number of conflicting sets in a category;
根据第五排序序列,获取第一起始时间对应的第二用户的位置信息标记集合中每个元素的编辑方式以及对应的编辑内容,并更新至目标行标题对应的动态数据格中;According to the fifth sorting sequence, the editing mode and corresponding editing content of each element in the location information tag set of the second user corresponding to the first start time are obtained, and updated to the dynamic data grid corresponding to the target row title;
根据第五排序序列,获取第I起始时间对应的第二用户的位置信息标记集合中每个元素的编辑方式以及对应的编辑内容,将位置信息标识集合中的每个元素对应的行标识下标增加I-1,并更新至对应的动态数据格中;According to the fifth sorting sequence, the editing mode and corresponding editing content of each element in the location information tag set of the second user corresponding to the I start time are obtained, the row identifier subscript corresponding to each element in the location information identifier set is increased by I-1, and updated to the corresponding dynamic data grid;
其中I为在第五排序序列中,第I起始时间。Wherein I is the Ith starting time in the fifth sorting sequence.
可选的,所述针对第一报表,执行行数据整理策略,包括:Optionally, executing the row data sorting strategy for the first report includes:
所述行数据整理策略具体包括以下步骤;The row data sorting strategy specifically includes the following steps:
所述行数据为在报表中,每个行标题所包括的所有已编辑数据格内容;The row data refers to all edited data grid contents included in each row title in the report;
将同一个用户进行编辑的行数据标记为目标行数据;Mark the row data edited by the same user as the target row data;
当第一报表生成时,以每五个监测时间段划分为一组,并对每组进行标记分别记为第一组监测时间段,第二组监测时间段……第H组监测时间段;When the first report is generated, every five monitoring time periods are divided into a group, and each group is marked as the first group of monitoring time periods, the second group of monitoring time periods, and the Hth group of monitoring time periods;
获取每组监测时间段内所有的目标行数据,并获取每个目标行数据对应的用户标识ID,组成集合,记为优化用户集合;Obtain all target row data in each monitoring time period, and obtain the user ID corresponding to each target row data to form a set, which is recorded as the optimized user set;
其中一组监测时间段对应一个优化用户集合,获取每个用户标识ID下所对应的目标行数据个数;One set of monitoring time periods corresponds to an optimized user set, and the number of target row data corresponding to each user ID is obtained;
若存在一个用户标识ID具有多个目标行数据,则获取目标行标题的个数,记为r;获取编辑起始时间最早的目标行数据对应的行标题,以及该行标题对应的位置信息,记为(,);将该用户标识ID下的目标行数据中包含的已编辑数据格对应的位置信息进行优化,该优化过程记为第一优化过程;If there is a user ID with multiple target row data, then obtain the number of target row titles, recorded as r; obtain the row title corresponding to the target row data with the earliest editing start time, and the position information corresponding to the row title, recorded as ( , ); optimizing the position information corresponding to the edited data cell contained in the target row data under the user identification ID, and the optimization process is recorded as the first optimization process;
所述第一优化过程具体表示为第一个目标行数据为(,),(,)……(,);第二个目标行数据为(,),(,)……(,);第r个目标行数据为(,),(,)……(,);The first optimization process is specifically expressed as follows: the first target row data is ( , ), , )……( , ); The second target row data is ( , ), , )……( , ); The rth target row data is ( , ), , )……( , );
其中a为目标行数据中已编辑数据格的数量减一;Where a is the number of edited data cells in the target row minus one;
若在第一优化过程中,存在其他用户标识ID下的目标行数据有位置信息的冲突,则将该目标行数据的位置信息放置在第r个目标行数据下方;If, in the first optimization process, there is a conflict in the position information of the target row data under other user identification IDs, the position information of the target row data is placed below the rth target row data;
若每个用户标识ID下只具有一个目标行数据,则不对目标行数据所对应的已编辑数据格的位置信息进行改动。If there is only one target row of data under each user identification ID, the position information of the edited data cell corresponding to the target row of data will not be changed.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411773703.8A CN119250046B (en) | 2024-12-05 | 2024-12-05 | Intelligent design method for online form |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411773703.8A CN119250046B (en) | 2024-12-05 | 2024-12-05 | Intelligent design method for online form |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN119250046A CN119250046A (en) | 2025-01-03 |
| CN119250046B true CN119250046B (en) | 2025-05-30 |
Family
ID=94028492
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411773703.8A Active CN119250046B (en) | 2024-12-05 | 2024-12-05 | Intelligent design method for online form |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN119250046B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103455498A (en) * | 2012-05-30 | 2013-12-18 | 重庆长安汽车股份有限公司 | Table keyword information locating method based on hypertext |
| CN114626352A (en) * | 2022-03-11 | 2022-06-14 | 平安科技(深圳)有限公司 | Report automatic generation method and device, computer equipment and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8307119B2 (en) * | 2006-03-31 | 2012-11-06 | Google Inc. | Collaborative online spreadsheet application |
| CN110109910A (en) * | 2018-01-08 | 2019-08-09 | 广东神马搜索科技有限公司 | Data processing method and system, electronic equipment and computer readable storage medium |
| CN117113948A (en) * | 2023-07-24 | 2023-11-24 | 深圳市世强元件网络有限公司 | Method, storage medium and computer for online collaborative editing of spreadsheets by multiple users |
| CN118839672A (en) * | 2024-07-10 | 2024-10-25 | 咪咕文化科技有限公司 | Method, system, equipment, medium and product for online form collaborative editing |
-
2024
- 2024-12-05 CN CN202411773703.8A patent/CN119250046B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103455498A (en) * | 2012-05-30 | 2013-12-18 | 重庆长安汽车股份有限公司 | Table keyword information locating method based on hypertext |
| CN114626352A (en) * | 2022-03-11 | 2022-06-14 | 平安科技(深圳)有限公司 | Report automatic generation method and device, computer equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119250046A (en) | 2025-01-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110443552B (en) | A method and device for automatic transmission of product master data information | |
| CN111125068A (en) | Metadata management method and system | |
| CN112199433A (en) | Data management system for city-level data middling station | |
| CN110866024B (en) | Vector database increment updating method and system | |
| CN104899143A (en) | Software peer review system realizing device for providing DM (Data Mining) | |
| CN110163268A (en) | A kind of image processing method, device and server, storage medium | |
| CN116881376A (en) | Automatic exploration method for enterprise data assets | |
| CN118410405A (en) | Intelligent identification system for hierarchical relationship of data assets | |
| CN116991931A (en) | Metadata management method and system | |
| CN115952160B (en) | Data checking method | |
| CN113342786A (en) | Model management and control-based online data management and management method and system | |
| CN114661704B (en) | Data resource full life cycle management method, system, terminal and medium | |
| CN119250046B (en) | Intelligent design method for online form | |
| CN111612438A (en) | A scientific research management system for a research group in a laboratory | |
| CN106611063A (en) | Method and device for correlating approval information of construction project | |
| CN114546985A (en) | Enterprise intelligent knowledge management system with learning ability | |
| CN113283239A (en) | Multi-source data fusion method and device based on spatio-temporal information weighting | |
| CN116501788B (en) | Storehouse lake integrated data management and control platform | |
| CN119669203A (en) | Multimodal data management system, method, device and medium | |
| CN118503429A (en) | Knowledge graph-based rapid classifying method and system for scientific and technological achievements | |
| CN115017251B (en) | A method and system for establishing a standard mapping map for smart cities | |
| CN118606268A (en) | A digital and intelligent archive management system | |
| CN117455630A (en) | A data processing method for non-standard parts of building materials | |
| CN102004727A (en) | Knowledge data processing system and method thereof | |
| CN108205564A (en) | Knowledge hierarchy construction method and system |
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 |