WO2014183723A1 - Method and device for processing large volume of data based on table - Google Patents

Method and device for processing large volume of data based on table Download PDF

Info

Publication number
WO2014183723A1
WO2014183723A1 PCT/CN2014/079793 CN2014079793W WO2014183723A1 WO 2014183723 A1 WO2014183723 A1 WO 2014183723A1 CN 2014079793 W CN2014079793 W CN 2014079793W WO 2014183723 A1 WO2014183723 A1 WO 2014183723A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
memory database
tables
large amounts
function
Prior art date
Application number
PCT/CN2014/079793
Other languages
French (fr)
Chinese (zh)
Inventor
陈波
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to JP2016528157A priority Critical patent/JP6530390B2/en
Priority to KR1020167010536A priority patent/KR101777073B1/en
Publication of WO2014183723A1 publication Critical patent/WO2014183723A1/en

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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2219Large Object storage; 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Definitions

  • the present invention relates to the field of computer data processing technologies, and in particular, to a method and apparatus for implementing large data volume processing based on a table. Background technique
  • a telecommunication network management system usually needs to implement processing of a large amount of data.
  • the so-called large amount of data that is, the amount of data displayed far exceeds the capacity that can be supported by the memory
  • the report management in the network management system is taken as an example to illustrate that the report management is
  • the system administrator provides a unified report output function for important information of the network management system.
  • the report management function the system administrator can customize the report task and output the report data, which is convenient for monitoring the operation of the network management system.
  • the report management system is generally used to output the corresponding form. Process such data.
  • the functions provided by the prior art are relatively simple. If complex typographic functions are to be implemented on the basis of such a form, complex secondary development is required, but the secondary development of the form can realize complex typographic functions.
  • the so-called complex typesetting refers to the typesetting functions such as global real-time sorting, line number display, column freezing, column heading automatic line-feeding display, blank column filtering, and the like.
  • it is difficult to meet the requirements of complex typographic functions such as real-time sorting.
  • the problem of the present invention is to provide a method and apparatus for implementing large data volume processing based on a table.
  • a method for implementing large data volume processing based on a table comprising:
  • At least one large data volume operation command to the table is identified, and a large amount of data is obtained from the in-memory database and presented through the table in accordance with the large data volume operation command.
  • the method further includes: indexing the data in the in-memory database according to the row number of the table, and when the data needs to be displayed, according to the row number of the table to the memory The corresponding data is read in the database.
  • the redeveloped table has a column header sorting function; the column header sorting function is configured to bind the redeveloped table to an in-memory database for sorting a result set .
  • the method further includes: first buffering the large data volume to an intermediate file, and then presenting the file according to the intermediate file. Large amount of data.
  • the method further comprises: identifying at least one function customization command, and performing corresponding adding or deleting operations on the complex typesetting function supported by the table according to the function customization command.
  • An apparatus for implementing large data volume processing based on a table comprising:
  • a deployment module configured to deploy a secondary developed form that implements complex typographic functions
  • an association module configured to establish an association relationship between the form and the in-memory database
  • An identification module configured to identify at least one large data volume operation command for the form
  • the obtaining module is configured to obtain a large amount of data from the in-memory database according to the large data volume operation command;
  • a rendering module configured to present a large amount of data retrieved from the in-memory database through the table.
  • the association module is configured to index data in the in-memory database according to the row number of the table, so that when the data needs to be displayed, the obtaining module reads the corresponding data into the in-memory database according to the row number of the table.
  • the redeveloped table has a column header sorting function; the column header sorting function is configured to bind the redeveloped table to an in-memory database for sorting the result set.
  • the obtaining module is configured to cache the large amount of data to an intermediate file after acquiring a large amount of data from the in-memory database according to a large data operation command, and the rendering module is configured on the form according to the intermediate file. Present a large amount of data.
  • the device for implementing large data volume processing based on a table further includes:
  • the customization module is configured to identify at least one function customization command, and according to the function customization command, perform corresponding addition or deletion operations on the complex layout function supported by the table.
  • the method and device for realizing large data volume processing based on a table provided by the present invention can realize secondary development of a complex typesetting function by using a table, and the secondary developed form It is bound to the in-memory database.
  • the table can support complex layout, global real-time sorting, and large data volume presentation.
  • FIG. 1 is a schematic flowchart of a method for implementing large data volume processing based on a table according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method for implementing large data volume processing based on a table according to another embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for implementing large data volume processing based on a table according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an apparatus for implementing large data volume processing based on a table according to another embodiment of the present invention.
  • a method for implementing large data volume processing based on a table includes the following steps:
  • the complex typesetting function includes, but is not limited to, a global real-time sorting, a line number display, a column freeze, a column header automatic line feed display, and a blank column filter.
  • the pre-developed secondary development of the table may be performed according to the prior art that is known to those skilled in the art, and will not be described in detail herein.
  • the redeveloped table has a column head sorting function, and the column head sorting function is used to bind the redeveloped table and the in-memory database for sorting the result set.
  • the ordering operation instruction may be an Order by operation. This allows you to click on the header to perform global sorting.
  • the association relationship between the establishment table and the in-memory database may be an association relationship between the display logic of the table and the in-memory database.
  • the method may further include: indexing the data in the in-memory database according to the row number of the table, and reading the corresponding data according to the row number of the table to the in-memory database when the data needs to be displayed. .
  • the large data volume operation command is a variety of complex typesetting operation commands for the table input by the user.
  • the large The amount of data is cached to the intermediate file, and then the large amount of data is presented on the form according to the intermediate file, so that when the large amount of data is presented through the table and the complex typesetting function is performed on the large amount of data, the memory usage can be reduced, and the large size can be realized.
  • Data volume presentation and operation After obtaining a large amount of data from the in-memory database according to a large data operation command, the large The amount of data is cached to the intermediate file, and then the large amount of data is presented on the form according to the intermediate file, so that when the large amount of data is presented through the table and the complex typesetting function is performed on the large amount of data, the memory usage can be reduced, and the large size can be realized.
  • the method for implementing large data volume processing based on a table further includes:
  • the function customization command can add or delete column freeze, column width, header order, column hiding, etc. by the user clicking the right mouse button and selecting the corresponding custom menu input.
  • Typesetting function In other embodiments, the typesetting of the functions such as column freeze, column width, and header order can also be performed by the user directly dragging the header of the table, which is not described in detail herein.
  • the method for realizing large data volume processing based on the table provided by the embodiment of the present invention realizes column freezing by secondary development of the table; secondary development of the header, supporting column headings and sorting arrow display; and displaying the logic of the table
  • the in-memory database is bound, and when the specific data needs to be displayed, the records are read according to the line number to the in-memory database; the function of sorting the table column header is bound with the Order by operation of the in-memory database, so as to implement the click header globally. Sorting function; Cache in-memory database data into files, reduce memory usage, and realize large data volume rendering and operation. Therefore, the table provided by the embodiment of the present invention can simultaneously support functions of complex typesetting, global real-time sorting, and large data volume presentation.
  • an apparatus for implementing large data volume processing based on a table includes:
  • the deployment module 10 is configured to deploy a re-developed table that implements complex typographic functions; the association module 20 is configured to establish an association relationship between the display logic of the table and the in-memory database 40; and the identification module 30 is configured to identify the pair of tables At least one large data volume operation command 300;
  • the obtaining module 50 is configured to obtain a large amount of data from the in-memory database 40 according to the large data volume operation command 300;
  • a presentation module 60 configured to use the table to obtain a large amount of data obtained from the in-memory database 40 Presented.
  • the complex typesetting function includes, but is not limited to, a global real-time sorting, a line number display, a column freeze, a column header automatic line feed display, and a blank column filter.
  • the pre-developed secondary development of the form can be performed in accordance with the prior art already known to those skilled in the art.
  • the association module 20 is further configured to index the data in the in-memory database 40 according to the row number of the table, so that when the data needs to be displayed, the obtaining module 50 goes to the in-memory database according to the row number of the table. The corresponding data is read in 40.
  • the large data volume operation command 300 recognized by the identification module 30 is a user-entered various complex typesetting operation commands for the table.
  • the column header sorting function of the redeveloped table is configured to be bound to the Order by operation of the in-memory database 40 for sorting the result set, thereby implementing the click header For global sorting.
  • the obtaining module 50 caches the large data amount to an intermediate file (not shown),
  • the presentation module 60 presents a large amount of data on the form in accordance with the intermediate file. In this way, when a large amount of data is presented through a table and a complex typesetting function is performed on a large amount of data, the memory usage can be reduced, and a large amount of data can be presented and operated.
  • the apparatus for implementing large data volume processing based on a table further includes:
  • the customization module 70 is configured to identify at least one function customization command 700, and according to the function customization command 700, perform corresponding addition or deletion operations on the complex typesetting function supported by the table.
  • the customization module 70 can add or delete a column freeze, a column width, and a table by identifying at least one user-entered function customization command 700, for example, the function customization command 700 can be added or deleted by the user clicking the right mouse button and selecting a corresponding custom menu input.
  • Complex typographic features such as head order, column hiding, etc.
  • the typesetting of the column freeze, the column width, the header order, and the like may also be performed by the user directly dragging the header of the table, which is not described in detail herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and device for processing a large volume of data based on a table, the method comprising: deploying a table having gone through a customized development and being capable of realizing complex typesetting functions; establishing an association between the table and an in-memory database; identifying at least one large-volume-data operating command for the table, acquiring the large volume of data from the in-memory database according to the large-volume-data operating command, and displaying the large volume of data via the table.

Description

基于表格实现大数据量处理的方法及装置 技术领域  Method and device for realizing large data volume processing based on table
本发明涉及计算机数据处理技术领域, 具体而言, 涉及一种基于表格实现 大数据量处理的方法及装置。 背景技术  The present invention relates to the field of computer data processing technologies, and in particular, to a method and apparatus for implementing large data volume processing based on a table. Background technique
已知地, 电信网络管理系统通常需要实现对大数据量的处理, 所谓大数据 量, 即展现的数据量远远超过内存能支持的容量, 以网管系统中报表管理为例 说明,报表管理为系统管理员提供了对网管系统重要信息的统一报表输出功能。 利用报表管理功能, 系统管理员能定制报表任务、 输出报表数据, 从而方便监 控网管系统的运行。 为了更好的利用报表数据分析系统的运行情况, 常常需要 快速地统计大量性能、 告警、 配置等数据, 以便维护人员快速对系统运行情况 作出评估, 目前一般釆用报表管理系统输出相应表格的形式进行此类数据的处 理。  It is known that a telecommunication network management system usually needs to implement processing of a large amount of data. The so-called large amount of data, that is, the amount of data displayed far exceeds the capacity that can be supported by the memory, and the report management in the network management system is taken as an example to illustrate that the report management is The system administrator provides a unified report output function for important information of the network management system. With the report management function, the system administrator can customize the report task and output the report data, which is convenient for monitoring the operation of the network management system. In order to make better use of the report data analysis system, it is often necessary to quickly collect a large number of performance, alarm, configuration and other data, so that maintenance personnel can quickly evaluate the system operation. Currently, the report management system is generally used to output the corresponding form. Process such data.
但是, 现有技术提供的表格功能都比较简单, 如果要在该类表格的基础上 实现复杂的排版功能则需要进行复杂的二次开发, 但经二次开发的表格虽然能 实现复杂的排版功能, 但另一方面又难以支持大数据量的呈现。 其中, 对于所 谓的复杂排版指的是如全局实时排序、 行号显示、 列冻结、 列标题自动换行显 示、 空白列过滤等排版功能。 另外, 对于支持大数据量呈现的表格, 又难以满 足其能够实现实时排序等复杂排版功能的要求。  However, the functions provided by the prior art are relatively simple. If complex typographic functions are to be implemented on the basis of such a form, complex secondary development is required, but the secondary development of the form can realize complex typographic functions. However, on the other hand, it is difficult to support the presentation of large amounts of data. Among them, the so-called complex typesetting refers to the typesetting functions such as global real-time sorting, line number display, column freezing, column heading automatic line-feeding display, blank column filtering, and the like. In addition, for tables that support large data volume presentations, it is difficult to meet the requirements of complex typographic functions such as real-time sorting.
因此, 如何提供一种基于表格实现的既能支持复杂排版同时又能支持大数 据量呈现的方法便成了本领域技术人员亟需解决的一个技术问题。 发明内容  Therefore, how to provide a method based on table implementation that can support complex typesetting while supporting large data volume presentation has become a technical problem that those skilled in the art need to solve. Summary of the invention
为了克服现有的表格不能同时支持复杂排版功能、 全局实时排序、 大数据 量呈现的问题, 本发明实施例的目的在于提供一种基于表格实现大数据量处理 的方法及装置。 To overcome existing forms, you can't support complex typography at the same time, global real-time sorting, big data The problem of the present invention is to provide a method and apparatus for implementing large data volume processing based on a table.
为了达到本发明的目的, 本发明实施例釆用以下技术方案实现:  In order to achieve the object of the present invention, the embodiments of the present invention are implemented by the following technical solutions:
一种基于表格实现大数据量处理的方法, 其包括:  A method for implementing large data volume processing based on a table, comprising:
部署经二次开发的可实现复杂排版功能的表格;  Deploy a second-developed form that implements complex typographic features;
建立所述表格与内存数据库之间的关联关系;  Establishing an association relationship between the form and the in-memory database;
识别对所述表格的至少一个大数据量操作命令, 并依据所述大数据量操作 命令, 从所述内存数据库中获取大数据量并通过所述表格呈现。  At least one large data volume operation command to the table is identified, and a large amount of data is obtained from the in-memory database and presented through the table in accordance with the large data volume operation command.
优选地, 所述建立表格与内存数据库之间的关联关系之后, 所述方法还包 括: 依据表格的行号对内存数据库中的数据建立索引, 在需要显示数据时, 依 据表格的行号到内存数据库中读取相应的数据。  Preferably, after the establishing the association relationship between the table and the in-memory database, the method further includes: indexing the data in the in-memory database according to the row number of the table, and when the data needs to be displayed, according to the row number of the table to the memory The corresponding data is read in the database.
优选地,, 所述经二次开发的表格具备列头排序功能; 所述列头排序功能用 于将所述经二次开发的表格与内存数据库的用于对结果集的排序操作进行绑 定。  Preferably, the redeveloped table has a column header sorting function; the column header sorting function is configured to bind the redeveloped table to an in-memory database for sorting a result set .
优选地, 在依据大数据量操作命令, 从内存数据库中获取大数据量之后, 所述方法还包括: 先将所述大数据量緩存至中间文件, 然后再依据所述中间文 件在表格上呈现大数据量。  Preferably, after the large data volume is obtained from the in-memory database according to the large data volume operation command, the method further includes: first buffering the large data volume to an intermediate file, and then presenting the file according to the intermediate file. Large amount of data.
优选地, 所述方法还包括: 识别至少一个功能定制命令, 并依据所述功能 定制命令对表格支持的复杂排版功能进行相应的添加或删除操作。  Preferably, the method further comprises: identifying at least one function customization command, and performing corresponding adding or deleting operations on the complex typesetting function supported by the table according to the function customization command.
一种基于表格实现大数据量处理的装置, 其包括:  An apparatus for implementing large data volume processing based on a table, comprising:
部署模块, 配置为部署经二次开发的可实现复杂排版功能的表格; 关联模块, 配置为建立表格与内存数据库之间的关联关系;  a deployment module configured to deploy a secondary developed form that implements complex typographic functions; an association module configured to establish an association relationship between the form and the in-memory database;
识别模块, 配置为识别对表格的至少一个大数据量操作命令;  An identification module configured to identify at least one large data volume operation command for the form;
获取模块, 配置为依据所述大数据量操作命令从内存数据库中获取大数据 量;  The obtaining module is configured to obtain a large amount of data from the in-memory database according to the large data volume operation command;
呈现模块, 配置为通过所述表格将从内存数据库中获取的大数据量予以呈 现。 优选地, 所述关联模块, 配置为依据表格的行号对内存数据库中的数据建 立索引, 以便在需要显示数据时, 所述获取模块依据表格的行号到内存数据库 中读取相应的数据。 A rendering module configured to present a large amount of data retrieved from the in-memory database through the table. Preferably, the association module is configured to index data in the in-memory database according to the row number of the table, so that when the data needs to be displayed, the obtaining module reads the corresponding data into the in-memory database according to the row number of the table.
优选地, 所述经二次开发的表格具备列头排序功能; 所述列头排序功能用 于将所述经二次开发的表格与内存数据库的用于对结果集的排序操作进行绑 定。  Preferably, the redeveloped table has a column header sorting function; the column header sorting function is configured to bind the redeveloped table to an in-memory database for sorting the result set.
优选地, 所述获取模块, 配置为在依据大数据量操作命令从内存数据库中 获取大数据量之后, 将所述大数据量緩存至中间文件, 所述呈现模块依据所述 中间文件在表格上呈现大数据量。  Preferably, the obtaining module is configured to cache the large amount of data to an intermediate file after acquiring a large amount of data from the in-memory database according to a large data operation command, and the rendering module is configured on the form according to the intermediate file. Present a large amount of data.
优选地, 所述基于表格实现大数据量处理的装置还包括:  Preferably, the device for implementing large data volume processing based on a table further includes:
定制模块, 配置为识别至少一个功能定制命令, 并依据所述功能定制命令 对表格支持的复杂排版功能进行相应的添加或删除操作。  The customization module is configured to identify at least one function customization command, and according to the function customization command, perform corresponding addition or deletion operations on the complex layout function supported by the table.
通过上述本发明的技术方案可以看出, 本发明提供的基于表格实现大数据 量处理的方法及装置通过对表格进行可实现复杂排版功能的二次开发, 以及将 所述经二次开发的表格与内存数据库予以绑定, 在用户需要通过表格对大数据 量进行查阅、 分析等操作时, 该表格可同时支持复杂排版、 全局实时排序、 大 数据量呈现的功能。 附图说明  It can be seen from the above technical solution of the present invention that the method and device for realizing large data volume processing based on a table provided by the present invention can realize secondary development of a complex typesetting function by using a table, and the secondary developed form It is bound to the in-memory database. When users need to view and analyze large data volumes through tables, the table can support complex layout, global real-time sorting, and large data volume presentation. DRAWINGS
图 1是本发明实施例提供的基于表格实现大数据量处理的方法流程示意图; 图 2是本发明另一实施例提供的基于表格实现大数据量处理的方法流程示 意图;  1 is a schematic flowchart of a method for implementing large data volume processing based on a table according to an embodiment of the present invention; FIG. 2 is a flow chart of a method for implementing large data volume processing based on a table according to another embodiment of the present invention;
图 3是本发明实施例提供的基于表格实现大数据量处理的装置结构示意图; 图 4是本发明另一实施例提供的基于表格实现大数据量处理的装置结构示 意图。  FIG. 3 is a schematic structural diagram of an apparatus for implementing large data volume processing based on a table according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of an apparatus for implementing large data volume processing based on a table according to another embodiment of the present invention.
本发明目的的实现、 功能特点及优异效果, 下面将结合具体实施例以及附 图做进一步的说明。 具体实施方式 The realization, functional features and excellent effects of the object of the present invention will be further described below in conjunction with the specific embodiments and the accompanying drawings. detailed description
下面结合附图和具体实施例对本发明所述技术方案作进一步的详细描述, 以使本领域的技术人员可以更好的理解本发明并能予以实施, 但所举实施例不 作为对本发明的限定。  The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings and specific embodiments to enable those skilled in the art to understand the invention. .
如图 1所示, 本发明实施例提供的一种基于表格实现大数据量处理的方法, 其包括如下步骤:  As shown in FIG. 1 , a method for implementing large data volume processing based on a table according to an embodiment of the present invention includes the following steps:
S10、 部署经二次开发的可实现复杂排版功能的表格;  S10, deploying a secondary developed form that can implement complex typesetting functions;
S20、 建立表格与内存数据库之间的关联关系;  S20. Establish an association relationship between the table and the in-memory database.
S30、识别对表格的至少一个大数据量操作命令,并依据所述大数据量操作 命令从内存数据库中获取大数据量并通过所述表格呈现。  S30. Identify at least one large data volume operation command for the table, and obtain a large amount of data from the in-memory database according to the large data volume operation command and present through the table.
具体地, 在本发明实施例中, 所述复杂排版功能包括但不限于全局实时排 序、 行号显示、 列冻结、 列标题自动换行显示、 空白列过滤等排版功能。  Specifically, in the embodiment of the present invention, the complex typesetting function includes, but is not limited to, a global real-time sorting, a line number display, a column freeze, a column header automatic line feed display, and a blank column filter.
在所述步骤 S10中,对于所述表格的预先进行的二次开发可依照本领域技术 人员已掌握的现有技术进行, 本文对此不做详述。  In the step S10, the pre-developed secondary development of the table may be performed according to the prior art that is known to those skilled in the art, and will not be described in detail herein.
本实施例中, 所述经二次开发的表格具备列头排序功能, 所述列头排序功 能用于将所述经二次开发的表格与内存数据库的用于对结果集的排序操作进行 绑定; 其中, 所述排序操作指令可以为 Order by操作。 以此可以实现点击表头以 进行全局排序的功能。  In this embodiment, the redeveloped table has a column head sorting function, and the column head sorting function is used to bind the redeveloped table and the in-memory database for sorting the result set. The ordering operation instruction may be an Order by operation. This allows you to click on the header to perform global sorting.
本实施例中,对于所述步骤 S20, 所述建立表格与内存数据库之间的关联关 系可以为建立所述表格的显示逻辑与内存数据库之间的关联关系。  In this embodiment, for the step S20, the association relationship between the establishment table and the in-memory database may be an association relationship between the display logic of the table and the in-memory database.
建立表格与内存数据库之间的关联关系之后, 还可以包括: 依据表格的行 号对内存数据库中的数据建立索引, 在需要显示数据时, 依据表格的行号到内 存数据库中读取相应的数据。  After the association between the table and the in-memory database is established, the method may further include: indexing the data in the in-memory database according to the row number of the table, and reading the corresponding data according to the row number of the table to the in-memory database when the data needs to be displayed. .
本实施例中,对于所述步骤 S30, 所述大数据量操作命令为用户输入的针对 表格的各种复杂排版操作命令。  In this embodiment, for the step S30, the large data volume operation command is a variety of complex typesetting operation commands for the table input by the user.
在依据大数据量操作命令从内存数据库中获取大数据量之后, 先将所述大 数据量緩存至中间文件, 然后再依据所述中间文件在表格上呈现大数据量, 这 样在通过表格呈现大数据量并对大数据量进行复杂排版功能的时候, 能够降低 内存的占用, 实现大数据量呈现与操作。 After obtaining a large amount of data from the in-memory database according to a large data operation command, the large The amount of data is cached to the intermediate file, and then the large amount of data is presented on the form according to the intermediate file, so that when the large amount of data is presented through the table and the complex typesetting function is performed on the large amount of data, the memory usage can be reduced, and the large size can be realized. Data volume presentation and operation.
在本发明的另一实施例中, 参考图 2, 所述基于表格实现大数据量处理的方 法还包括:  In another embodiment of the present invention, referring to FIG. 2, the method for implementing large data volume processing based on a table further includes:
S40、识别至少一个功能定制命令,并依据所述功能定制命令对表格支持的 复杂排版功能进行相应的添加或删除操作。  S40. Identify at least one function customization command, and perform corresponding adding or deleting operations on the complex typesetting function supported by the table according to the function customization command.
通过识别至少一个用户输入的功能定制命令, 例如所述功能定制命令通过 用户点击鼠标右键并选择相应的定制菜单输入,则系统可以添加或删除列冻结、 列宽、 表头顺序、 列隐藏等复杂排版功能。 在其他实施例中, 所述列冻结、 列 宽、 表头顺序等功能的排版也可以通过用户直接拖拽表格的表头进行操作, 本 文对此不#丈细述。  By identifying at least one user-entered function customization command, for example, the function customization command can add or delete column freeze, column width, header order, column hiding, etc. by the user clicking the right mouse button and selecting the corresponding custom menu input. Typesetting function. In other embodiments, the typesetting of the functions such as column freeze, column width, and header order can also be performed by the user directly dragging the header of the table, which is not described in detail herein.
本发明实施例提供的基于表格实现大数据量处理的方法通过对表格进行二 次开发, 实现列冻结; 对表头进行二次开发, 支持列标题换行及排序箭头显示; 将表格的显示逻辑与内存数据库进行绑定, 在需要显示具体的数据时再根据行 号到内存数据库中读取这些记录; 将表格列头排序的功能与内存数据库的 Order by操作进行绑定, 以实现点击表头全局排序的功能; 将内存数据库数据緩存到 文件中, 降低内存的占用, 实现大数据量呈现与操作。 由此本发明实施例提供 的该表格可同时支持复杂排版、 全局实时排序、 大数据量呈现的功能。  The method for realizing large data volume processing based on the table provided by the embodiment of the present invention realizes column freezing by secondary development of the table; secondary development of the header, supporting column headings and sorting arrow display; and displaying the logic of the table The in-memory database is bound, and when the specific data needs to be displayed, the records are read according to the line number to the in-memory database; the function of sorting the table column header is bound with the Order by operation of the in-memory database, so as to implement the click header globally. Sorting function; Cache in-memory database data into files, reduce memory usage, and realize large data volume rendering and operation. Therefore, the table provided by the embodiment of the present invention can simultaneously support functions of complex typesetting, global real-time sorting, and large data volume presentation.
如图 3所示, 本发明实施例提供的一种基于表格实现大数据量处理的装置, 其包括:  As shown in FIG. 3, an apparatus for implementing large data volume processing based on a table according to an embodiment of the present invention includes:
部署模块 10, 用于部署经二次开发的可实现复杂排版功能的表格; 关联模块 20, 用于建立表格的显示逻辑与内存数据库 40之间的关联关系; 识别模块 30, 用于识别对表格的至少一个大数据量操作命令 300;  The deployment module 10 is configured to deploy a re-developed table that implements complex typographic functions; the association module 20 is configured to establish an association relationship between the display logic of the table and the in-memory database 40; and the identification module 30 is configured to identify the pair of tables At least one large data volume operation command 300;
获取模块 50,用于依据所述大数据量操作命令 300从内存数据库 40中获取大 数据量;  The obtaining module 50 is configured to obtain a large amount of data from the in-memory database 40 according to the large data volume operation command 300;
呈现模块 60, 用于通过所述表格将从内存数据库 40中获取的大数据量予以 呈现。 a presentation module 60, configured to use the table to obtain a large amount of data obtained from the in-memory database 40 Presented.
相应地, 在本发明实施例中, 所述复杂排版功能包括但不限于全局实时排 序、 行号显示、 列冻结、 列标题自动换行显示、 空白列过滤等排版功能。 对于 所述表格的预先进行的二次开发可依照本领域技术人员已掌握的现有技术进 行。  Correspondingly, in the embodiment of the present invention, the complex typesetting function includes, but is not limited to, a global real-time sorting, a line number display, a column freeze, a column header automatic line feed display, and a blank column filter. The pre-developed secondary development of the form can be performed in accordance with the prior art already known to those skilled in the art.
在本发明实施例中, 所述关联模块 20还用于依据表格的行号对内存数据库 40中的数据建立索引, 以便在需要显示数据时, 所述获取模块 50依据表格的行 号到内存数据库 40中读取相应的数据。  In the embodiment of the present invention, the association module 20 is further configured to index the data in the in-memory database 40 according to the row number of the table, so that when the data needs to be displayed, the obtaining module 50 goes to the in-memory database according to the row number of the table. The corresponding data is read in 40.
所述识别模块 30识别的所述大数据量操作命令 300 为用户输入的针对表格 的各种复杂排版操作命令。  The large data volume operation command 300 recognized by the identification module 30 is a user-entered various complex typesetting operation commands for the table.
在本发明实施例中, 所述经二次开发的表格的列头排序功能被配置为与内 存数据库 40的用于对结果集进行排序的 Order by操作进行绑定,以此可以实现点 击表头以进行全局排序的功能。  In the embodiment of the present invention, the column header sorting function of the redeveloped table is configured to be bound to the Order by operation of the in-memory database 40 for sorting the result set, thereby implementing the click header For global sorting.
在本发明实施例中, 所述获取模块 50在依据大数据量操作命令从内存数据 库 40中获取大数据量之后, 将所述大数据量緩存至中间文件(图中未示出), 所 述呈现模块 60依据所述中间文件在表格上呈现大数据量。 这样在通过表格呈现 大数据量并对大数据量进行复杂排版功能的时候, 能够降低内存的占用, 实现 大数据量呈现与操作。  In the embodiment of the present invention, after acquiring the large data amount from the in-memory database 40 according to the large data volume operation command, the obtaining module 50 caches the large data amount to an intermediate file (not shown), The presentation module 60 presents a large amount of data on the form in accordance with the intermediate file. In this way, when a large amount of data is presented through a table and a complex typesetting function is performed on a large amount of data, the memory usage can be reduced, and a large amount of data can be presented and operated.
如图 4所示,在本发明的另一实施例中, 所述基于表格实现大数据量处理的 装置还包括:  As shown in FIG. 4, in another embodiment of the present invention, the apparatus for implementing large data volume processing based on a table further includes:
定制模块 70, 用于识别至少一个功能定制命令 700, 并依据所述功能定制命 令 700对表格支持的复杂排版功能进行相应的添加或删除操作。  The customization module 70 is configured to identify at least one function customization command 700, and according to the function customization command 700, perform corresponding addition or deletion operations on the complex typesetting function supported by the table.
所述定制模块 70通过识别至少一个用户输入的功能定制命令 700,例如所述 功能定制命令 700通过用户点击鼠标右键并选择相应的定制菜单输入,则系统可 以添加或删除列冻结、 列宽、 表头顺序、 列隐藏等复杂排版功能。 在其他实施 例中, 所述列冻结、 列宽、 表头顺序等功能的排版也可以通过用户直接拖拽表 格的表头进行操作, 本文对此不做细述。 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡 是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间 接运用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。 The customization module 70 can add or delete a column freeze, a column width, and a table by identifying at least one user-entered function customization command 700, for example, the function customization command 700 can be added or deleted by the user clicking the right mouse button and selecting a corresponding custom menu input. Complex typographic features such as head order, column hiding, etc. In other embodiments, the typesetting of the column freeze, the column width, the header order, and the like may also be performed by the user directly dragging the header of the table, which is not described in detail herein. The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.

Claims

权利要求书 claims
1、 一种基于表格实现大数据量处理的方法, 包括: 1. A table-based method for processing large amounts of data, including:
部署经二次开发的可实现复杂排版功能的表格; Deploy secondary developed tables that can implement complex typesetting functions;
建立所述表格与内存数据库之间的关联关系; Establish an association between the table and the memory database;
识别对所述表格的至少一个大数据量操作命令, 并依据所述大数据量操作 命令, 从所述内存数据库中获取大数据量并通过所述表格呈现。 Identify at least one large data volume operation command for the table, and according to the large data volume operation command, obtain the large data volume from the memory database and present it through the table.
2、 如权利要求 1所述的基于表格实现大数据量处理的方法, 其中, 所述建 立表格与内存数据库之间的关联关系之后, 所述方法还包括: 依据表格的行号 对内存数据库中的数据建立索引, 在需要显示数据时, 依据表格的行号到内存 数据库中读取相应的数据。 2. The method for processing large amounts of data based on tables as claimed in claim 1, wherein after establishing the association between the table and the memory database, the method further includes: The data is indexed, and when the data needs to be displayed, the corresponding data is read from the memory database according to the row number of the table.
3、 如权利要求 1所述的基于表格实现大数据量处理的方法, 其中, 所述经 二次开发的表格具备列头排序功能; 所述列头排序功能用于将所述经二次开发 的表格与内存数据库的用于对结果集的排序操作进行绑定。 3. The method for processing large amounts of data based on tables as claimed in claim 1, wherein the secondary developed table has a column header sorting function; the column header sorting function is used to sort the secondary developed tables into The table is bound to the in-memory database for sorting the result set.
4、 如权利要求 1所述的基于表格实现大数据量处理的方法, 其中, 在依据 大数据量操作命令, 从内存数据库中获取大数据量之后, 所述方法还包括: 先 将所述大数据量緩存至中间文件, 然后再依据所述中间文件在表格上呈现大数 据量。 4. The method for processing large amounts of data based on tables as claimed in claim 1, wherein, after obtaining the large amount of data from the memory database according to the large amount of data operation command, the method further includes: first, converting the large amount of data into The data volume is cached into an intermediate file, and then the large data volume is presented on the table based on the intermediate file.
5、 如权利要求 1所述的基于表格实现大数据量处理的方法, 其中, 所述方 法还包括: 5. The method for processing large amounts of data based on tables as claimed in claim 1, wherein the method further includes:
识别至少一个功能定制命令, 并依据所述功能定制命令对表格支持的复杂 排版功能进行相应的添加或删除操作。 Identify at least one function customization command, and perform corresponding addition or deletion operations on the complex typesetting functions supported by the table according to the function customization command.
6、 一种基于表格实现大数据量处理的装置, 包括: 6. A device for processing large amounts of data based on tables, including:
部署模块, 配置为部署经二次开发的可实现复杂排版功能的表格; 关联模块, 配置为建立表格与内存数据库之间的关联关系; The deployment module is configured to deploy a secondary developed table that can realize complex typesetting functions; the association module is configured to establish an association between the table and the memory database;
识别模块, 配置为识别对表格的至少一个大数据量操作命令; An identification module configured to identify at least one large data volume operation command on the table;
获取模块, 配置为依据所述大数据量操作命令从内存数据库中获取大数据 量; Acquisition module, configured to obtain big data from the memory database according to the large data volume operation command quantity;
呈现模块, 配置为通过所述表格将从内存数据库中获取的大数据量予以呈 现。 A presentation module configured to present a large amount of data obtained from the in-memory database through the table.
7、 如权利要求 6所述的基于表格实现大数据量处理的装置, 其中, 所述关 联模块, 配置为依据表格的行号对内存数据库中的数据建立索引, 以便在需要 显示数据时, 所述获取模块依据表格的行号到内存数据库中读取相应的数据。 7. The device for processing large amounts of data based on tables as claimed in claim 6, wherein the association module is configured to index the data in the memory database according to the row number of the table, so that when the data needs to be displayed, the The above acquisition module reads the corresponding data from the memory database according to the row number of the table.
8、 如权利要求 6所述的基于表格实现大数据量处理的装置, 其中, 所述经 二次开发的表格具备列头排序功能; 所述列头排序功能用于将所述经二次开发 的表格与内存数据库的用于对结果集的排序操作进行绑定。 8. The device for processing large amounts of data based on tables as claimed in claim 6, wherein the secondary developed table has a column header sorting function; the column header sorting function is used to sort the secondary developed tables into The table is bound to the in-memory database for sorting the result set.
9、 如权利要求 6所述的基于表格实现大数据量处理的装置, 其中, 所述获 取模块, 配置为在依据大数据量操作命令从内存数据库中获取大数据量之后, 将所述大数据量緩存至中间文件, 所述呈现模块依据所述中间文件在表格上呈 现大数据量。 9. The device for processing large amounts of data based on tables as claimed in claim 6, wherein the acquisition module is configured to obtain the large amount of data from the memory database according to the large data amount operation command, and then convert the big data into The amount of data is cached into an intermediate file, and the presentation module presents the large amount of data on the table based on the intermediate file.
10、如权利要求 6所述的基于表格实现大数据量处理的装置,其中,还包括: 定制模块, 配置为识别至少一个功能定制命令, 并依据所述功能定制命令 对表格支持的复杂排版功能进行相应的添加或删除操作。 10. The device for processing large amounts of data based on tables as claimed in claim 6, further comprising: a customization module configured to identify at least one function customization command and configure the complex typesetting functions supported by the table according to the function customization command. Perform the corresponding addition or deletion operations.
PCT/CN2014/079793 2013-11-11 2014-06-12 Method and device for processing large volume of data based on table WO2014183723A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016528157A JP6530390B2 (en) 2013-11-11 2014-06-12 Method and apparatus for processing big data volume by table
KR1020167010536A KR101777073B1 (en) 2013-11-11 2014-06-12 Method and device for processing large volume of data based on table

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310557992.3A CN104636372B (en) 2013-11-11 2013-11-11 The method and device of big data quantity processing is realized based on table
CN201310557992.3 2013-11-11

Publications (1)

Publication Number Publication Date
WO2014183723A1 true WO2014183723A1 (en) 2014-11-20

Family

ID=51897782

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079793 WO2014183723A1 (en) 2013-11-11 2014-06-12 Method and device for processing large volume of data based on table

Country Status (4)

Country Link
JP (1) JP6530390B2 (en)
KR (1) KR101777073B1 (en)
CN (1) CN104636372B (en)
WO (1) WO2014183723A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837593A (en) * 2021-09-18 2021-12-24 北京百度网讯科技有限公司 Virtual data distribution method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107346312A (en) * 2016-05-05 2017-11-14 中国移动通信集团内蒙古有限公司 A kind of big data processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080168077A1 (en) * 2007-01-10 2008-07-10 Eric Lawrence Barsness Pre-loading of an in memory database
CN101526940B (en) * 2008-03-19 2011-03-16 中兴通讯股份有限公司 Method for synchronizing data of physical database and main memory database of application system
CN102411632A (en) * 2011-12-27 2012-04-11 北京人大金仓信息技术股份有限公司 Chain table-based memory database page type storage method
CN102769535A (en) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 Method and system for presenting alarm data statistical results

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09305616A (en) * 1996-05-10 1997-11-28 Hitachi Ltd Data analysis method
JP2003016108A (en) * 2001-06-29 2003-01-17 Casio Comput Co Ltd Data processor and program
JP2003238207A (en) * 2002-02-20 2003-08-27 Matsushita Electric Works Ltd Anti-fogging article and method of manufacturing the same
US7606792B2 (en) * 2004-03-19 2009-10-20 Microsoft Corporation System and method for efficient evaluation of a query that invokes a table valued function
US20060047696A1 (en) * 2004-08-24 2006-03-02 Microsoft Corporation Partially materialized views
JP4313845B2 (en) * 2004-09-27 2009-08-12 修平 西山 Multi-instance in-memory database
JP4939568B2 (en) * 2009-04-28 2012-05-30 インターナショナル・ビジネス・マシーンズ・コーポレーション Method for synchronizing data between databases, and computer system and computer program thereof
CN101727319A (en) * 2009-12-09 2010-06-09 上海宝信软件股份有限公司 Page-turning service-oriented data table control and implementation method thereof
CN101876971A (en) * 2010-06-22 2010-11-03 北京伟库电子商务科技有限公司 Report form showing method and device
JP5598279B2 (en) * 2010-11-16 2014-10-01 日本電気株式会社 Distributed memory database system, front database server, data processing method and program
JP5584917B2 (en) * 2011-05-12 2014-09-10 株式会社日立製作所 Data analysis system and data analysis method
US8839089B2 (en) * 2011-11-01 2014-09-16 Microsoft Corporation Multi-dimensional data manipulation and presentation
JP5527340B2 (en) * 2012-02-27 2014-06-18 日本電気株式会社 Vector processing apparatus and vector processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080168077A1 (en) * 2007-01-10 2008-07-10 Eric Lawrence Barsness Pre-loading of an in memory database
CN101526940B (en) * 2008-03-19 2011-03-16 中兴通讯股份有限公司 Method for synchronizing data of physical database and main memory database of application system
CN102769535A (en) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 Method and system for presenting alarm data statistical results
CN102411632A (en) * 2011-12-27 2012-04-11 北京人大金仓信息技术股份有限公司 Chain table-based memory database page type storage method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837593A (en) * 2021-09-18 2021-12-24 北京百度网讯科技有限公司 Virtual data distribution method, device, equipment and storage medium
CN113837593B (en) * 2021-09-18 2023-08-15 北京百度网讯科技有限公司 Virtual data distribution method, device, equipment and storage medium

Also Published As

Publication number Publication date
KR20160058928A (en) 2016-05-25
JP2016539415A (en) 2016-12-15
CN104636372B (en) 2019-04-26
KR101777073B1 (en) 2017-09-08
JP6530390B2 (en) 2019-06-12
CN104636372A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
US9696894B2 (en) Analytic process design
US9953066B2 (en) Automatically generating and reporting merged performance and capacity statistics
WO2019237532A1 (en) Service data monitoring method, storage medium, terminal device and apparatus
DE112016001737T5 (en) Systems and procedures for notifying users of changes to files in cloud-based file storage systems
WO2014079304A1 (en) Report creation method, device and system
CN108632100B (en) Method and system for discovering and presenting network application access information
JP2005198064A (en) File management program
US20150213066A1 (en) System and method for creating data models from complex raw log files
CN111078695B (en) Method and device for calculating association relation of metadata in enterprise
US11030254B2 (en) Storage estimation in a data indexing and query system
CN113688288B (en) Data association analysis method, device, computer equipment and storage medium
US11625526B2 (en) Systems and methods for displaying digital forensic evidence
CN106610774A (en) Webpage table editing method and device
CN103092997B (en) For interlock inquiry system and the interlock querying method of statement analysis
CN113138973A (en) Data management system and working method
JP2008310450A5 (en)
WO2014183723A1 (en) Method and device for processing large volume of data based on table
CN114185750A (en) Process monitoring method, device, equipment and storage medium
US20150356064A1 (en) Management system for displaying information relating to target
US20190340104A1 (en) Error finder tool
CN112527747A (en) Log template configuration and display method and device
JP2013025502A (en) Information processing device, information processing method, program and storage medium
CN109684159A (en) Method for monitoring state, device, equipment and the storage medium of distributed information system
KR102670058B1 (en) Method for providing user interface for collection of log
JP2003303197A (en) Knowledge information collecting system and knowledge information collecting method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14798583

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20167010536

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016528157

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14798583

Country of ref document: EP

Kind code of ref document: A1