CN109359142A - A kind of data processing method, data processing equipment, computer equipment and readable storage medium storing program for executing - Google Patents

A kind of data processing method, data processing equipment, computer equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109359142A
CN109359142A CN201811147551.5A CN201811147551A CN109359142A CN 109359142 A CN109359142 A CN 109359142A CN 201811147551 A CN201811147551 A CN 201811147551A CN 109359142 A CN109359142 A CN 109359142A
Authority
CN
China
Prior art keywords
report
data
elasticsearch
vue
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811147551.5A
Other languages
Chinese (zh)
Other versions
CN109359142B (en
Inventor
张毅
孙加光
喻波
王志海
董爱华
安鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wondersoft Technology Co Ltd
Original Assignee
Beijing Wondersoft Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wondersoft Technology Co Ltd filed Critical Beijing Wondersoft Technology Co Ltd
Priority to CN201811147551.5A priority Critical patent/CN109359142B/en
Publication of CN109359142A publication Critical patent/CN109359142A/en
Application granted granted Critical
Publication of CN109359142B publication Critical patent/CN109359142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method for processing report data, data processing equipment, computer equipment and readable storage medium storing program for executing, can under mass data can quickly, stablize, efficiently visualize the customized report of user by Web.The present invention is based on the method for processing report data of VUE.js, MYSQL and ELASTICSEARCH, including synchronize and be stored in report metadata in ELASTICSEARCH;Report page is configured in the form of VUE.js;The good report of storage configuration is into MYSQL database;Report data is handled in the way of ELASTICSEARCH.Method for processing report data of the present invention meets the looking into of big data quantity, polymerize and carry out by inquiry polymerization result and by various report the visual presentation of data and data show during the various complicated and urgent use needs that show of various data statistics and data visualization.

Description

A kind of data processing method, data processing equipment, computer equipment and readable storage Medium
Technical field
The present invention relates to computer data processing technology fields, and in particular to it is a kind of based on it is described based on VUE.js, Method for processing report data, data processing equipment, computer equipment and the readable storage medium storing program for executing of MYSQL and ELASTICSEARCH.
Background technique
The manager of enterprise in order to be better understood by enterprise business datum and Various types of data distribution trend and distribution ratio Example etc..It wants to generate intuitive data drawing list, in order to be able to intuitively see various business activity data Trend and statistical data, but under the current internet epoch, data volume caused by enterprise is all almost in explosive growth, is passed The relevant database ability of system is awkward, stores in a large amount of data and inquiry, polymerization all cannot meet the needs, It therefore can in order to what is solved the looking into of mass data, polymerize and carry out data by inquiry polymerization result and by various report Depending on change be illustrated as there is an urgent need to.Need are shown simultaneously in order to meet various data statistics and data visualization during data are shown It wants, then requires shown report flexibly can be configured and be defined as needed.So how providing one kind can have The problem of having universality, can satisfy the report configuration method of various displaying demands, be current urgent need to resolve.
Summary of the invention
The present invention provides a kind of method for processing report data based on VUE.js, MYSQL and ELASTICSEARCH, data Processing unit, computer system and readable storage medium storing program for executing can meet data as needed and drive in the wrong direction flexible configuration and definition Various data statistics and data visualization, which are shown, during displaying needs.
One embodiment of the invention provides a kind of report data processing side based on VUE.js, MYSQL and ELASTICSEARCH Method, comprising:
It synchronizes and is stored in report metadata in ELASTICSEARCH;
Report page is configured in the form of VUE.js;
The good report of storage configuration is into MYSQL database;
Report data is handled in the way of ELASTICSEARCH.Preferably, the mail self learning model base Function curve of the line between time and mail security.
Preferably, described synchronize is stored in report metadata in ELASTICSEARCH, specifically includes:
The basic structure for the data being stored in ELASTICSEARCH is synchronized to database by metadata synchronization module In.
Preferably, the basic structure of the data includes at least following one kind: ELASTICSEARCH index name, type Title, field name, field type.
Preferably, described that report page is configured in the form of VUE.js, it specifically includes:
It accesses report and configures the page, load the first synchronous metadata to the page and provide basic data for report configuration;
Configure report basic information;
Configure report screening conditions;
Configure report polymerizing condition.
Preferably, described that report data is handled in the way of ELASTICSEARCH, it specifically includes:
Configured report messages are read from MYSQL;
The screening conditions and polymerizing condition of the good report of package arrangements;
Generate the corresponding data query device of screening conditions and the corresponding data aggregator of the polymerizing condition of the report;
According to the data query device and the data aggregate, it is assembled into ELASTICSEARCH inquiry request, requests ELASTICSEARCH simultaneously encapsulates the obtained data for returning the result progress;
Described return the result is packaged into satisfactory data structure and return most according to the specific configuration information of report Terminate fruit;
To return the result return to front end transfer to browser by VUE.js gather third party visualize plug-in unit show or Generate corresponding report pdf document.
Another embodiment of the present invention provides the report datas based on VUE.js, MYSQL and ELASTICSEARCH to handle dress It sets, comprising:
Synchronization unit is stored in report metadata in ELASTICSEARCH for synchronizing;
Configuration unit, for configuring report page in the form of VUE.js;
Storage unit, the report good for storage configuration is into MYSQL database;
Processing unit, for being handled in the way of ELASTICSEARCH report data.
Preferably, the unit of the synchronization, including metadata synchronization module, are specifically used for:
The basic structure for the data being stored in ELASTICSEARCH is synchronized to database by metadata synchronization module In.
Preferably, the basic structure of the data includes at least following one kind: ELASTICSEARCH index name, type Title, field name, field type.
Preferably, the configuration unit, specifically includes:
Loading module, for accessing the report configuration page, loading the first synchronous metadata to the page is that report configuration mentions For basic data;
First configuration module, for configuring report basic information;
Second configuration module, for configuring report screening conditions;
Third configuration module, for configuring report polymerizing condition.
Preferably, the processing unit, specifically includes:
Read module, for reading configured report messages from MYSQL;
Package module, the screening conditions and polymerizing condition of the report good for package arrangements;
First generation module, the corresponding data query device of screening conditions and the polymerizing condition for generating the report Corresponding data aggregator;
Request module, for it to be assembled into ELASTICSEARCH and looks into according to the data query device and the data aggregate Request is ask, ELASTICSEARCH is requested and the obtained data for returning the result progress are encapsulated;
Described return the result is packaged into satisfactory data according to the specific configuration information of report by data return module Structure simultaneously returns to final result;
Second generation module, for will return the result return to front end transfer to browser by VUE.js gather third party can Corresponding report pdf document is shown or generated depending on changing plug-in unit.
Another embodiment of the present invention provides a kind of computer equipment, the computer equipment includes processor, the processing Realized when device is used to execute the computer program stored in memory as described in above-mentioned any one based on VUE.js, MYSQL With the method for processing report data of ELASTICSEARCH.
Another embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer program and (refer to Enable), it is characterised in that: when the computer program (instruction) is executed by processor realize as described in above-mentioned any one based on The method for processing report data of VUE.js, MYSQL and ELASTICSEARCH.
For the looking into of big data quantity, polymerize and carry out data by inquiry polymerization result and by various report can Various data statistics and data visualization, which are shown, during showing depending on change displaying and data needs, provided by the invention to be based on The method for processing report data based on VUE.js, MYSQL and ELASTICSEARCH, data processing equipment, computer are set Standby and readable storage medium storing program for executing, can under mass data can quickly, stablize, efficiently pass through the customized report of user Web is visualized.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is that a kind of method for processing report data one based on VUE.js, MYSQL and ELASTICSEARCH of the present invention is real Apply example;
Fig. 2 is that a kind of method for processing report data based on VUE.js, MYSQL and ELASTICSEARCH of the present invention is another Embodiment;
Fig. 3 is in the present invention based on the method for processing report data mould based on VUE.js, MYSQL and ELASTICSEARCH Type schematic diagram;
Fig. 4 is that a kind of method for processing report data one based on VUE.js, MYSQL and ELASTICSEARCH of the present invention is real Apply example;
Fig. 5 is computer equipment embodiment of the present invention;
Specific embodiment
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this hair The feature in embodiment and embodiment in bright can be combined with each other.
Based on the above the deficiencies in the prior art, the embodiment of the present invention one provide it is a kind of based on VUE.js, MYSQL and The method for processing report data of ELASTICSEARCH, this method comprises:
Step 101: synchronizing and be stored in report metadata in ELASTICSEARCH;
Step 103: report page is configured in the form of VUE.js;
Step 105: the good report of storage configuration is into MYSQL database;
Step 107: report data being handled in the way of ELASTICSEARCH.
The embodiment of the present invention is respectively by means of the simple small and exquisite core of: VUE.js, gradual technology stack, it is sufficient to deal with any The application of scale.Vue only focuses on view layer simultaneously, and is very easy to study, is very easy to whole with other libraries or existing project It closes, the data binding and combined view component of response can be realized by API as simple as possible.Therefore using VUE.js preceding Realize the visual presentation of the definition and configuration and final report of report in end.
MYSQL is then used to report definition data and configuration data carrying out persistence.Due to the configuration of report and fixed Adopted data volume is seldom, so using popular, open source, MYSQL database at low cost.
ElasticSearch is then used for the storage of mass data caused by enterprise.Elasticsearch is innately distribution Formula, it knows how management node to provide high extension and High Availabitity, therefore ElasticSearch has under big data quantity Stable, quick, powerful data query, polymerizing power.And these stabilizations, quick, powerful data query, polymerizing power are exactly Required for generating various statistical report form, therefore data storage is carried out using Elasticsearch.
For the looking into of big data quantity, polymerize and carry out data by inquiry polymerization result and by various report can Various data statistics and data visualization, which are shown, during showing depending on change displaying and data needs, base provided in this embodiment In the method for processing report data based on VUE.js, MYSQL and ELASTICSEARCH, data processing equipment, computer Equipment and readable storage medium storing program for executing, can under mass data can quickly, stablize, efficiently pass through the customized report of user Web is visualized.
The embodiment of the present invention 1 is a kind of based on the report data processing side based on VUE.js, MYSQL and ELASTICSEARCH Method, in the step 101, the basic structure by the stored data in ELASTICSEARCH of metadata synchronization module is same It walks in database.Main information includes ELASTICSEARCH index name (index in elasticsearch), typonym (type in elasticsearch), field name, field type (the field storage class in elasticsearch).
To those skilled in the art, the basic structure of the data in ELASTICSEARCH is stored in addition to above-mentioned It further include that other fields of other fields take the circumstances into consideration to need voluntarily to add according to business outside data structure information.
A kind of report data processing based on VUE.js, MYSQL and ELASTICSEARCH disclosed in the embodiment of the present invention 1 Method has following technical effect compared to existing method for processing report data:
1. can dynamically the data that needs count be carried out with the design and configuration of report.
2. realizing the configuration page by VUE.js, simple interface, close friend are easy to get started.
3. specific use to screening conditions package assembling, polymerizing condition package assembling and can return to knot according to demand Fruit transition components carry out the report type that the continuous abundant Report Engine of continuous extension is supported.
As shown in Fig. 2, second embodiment of the present invention provides a kind of reports based on VUE.js, MYSQL and ELASTICSEARCH Table data processing method, comprising: step 201: by metadata synchronization module by the data being stored in ELASTICSEARCH Basic structure is synchronized in database.
Wherein it should be noted that passing through the base of the stored data in elasticsearch of metadata synchronization module This structure synchronization is into database.Main information includes elasticsearch index name (index in elasticsearch), Typonym (type in elasticsearch), field name, (field in elasticsearch stores class to field type Type), other fields take the circumstances into consideration to need voluntarily to add according to business.
Step 203: report page is configured in the form of VUE.js;
It should be noted that 2 step 203 of the present embodiment specifically includes:
Step 2031: access report in browser and configure the page, load the synchronous metadata of the first step to the page be report Configuration provides basic data;
Step 2032: the configuration of report basic information:
It should be noted that the configuration of report basic information includes at least report name, report description (RD), report form type (cylindricality Figure, line chart, pie chart radar map, data list etc.).
Step 2033: report screening conditions configuration (can multiselect)
It should be noted that those skilled in the art, screening conditions may include matching as follows in the present embodiment Content at least one is set, equally includes being optionally combined for following various configurations content:
Screening field: synchronous metadata is provided to selection in the form of combobox
Screening field value: if in elasticsearch data the field be stored in business can comb for it is limited simultaneously And when substantially stationary value, it can be shown by combobox, other situations are input box type.
Screening type: be consistent with the screening type provided in elasticsearch (terms, prefix, Wildcard, range etc.)
With the relationship of other screening conditions: the relationship type between elasticsearch conditional be consistent (with: must;Or should;It is non-: mustnot)
Step 2034: the configuration of report polymerizing condition;
In the present embodiment, it may include following at least one or more of any combination that polymerizing condition, which mainly configures content:
Screening field: synchronous metadata is provided to selection in the form of combobox
Polymeric type: be consistent with the polymeric type provided in elasticsearch (terms, Datehistorgram, count etc.)
Son polymerization: the Aggregation field and polymeric type of recurrence configuration gametic union if necessary.It does not need then to match It sets.
Step 2035: saving corresponding report to MYSQL.
In the embodiment of the present invention, MySQL is a Relational DBMS, is developed by MySQLAB company of Sweden, Belong to product under Oracle at present.In terms of WEB application, MySQL is best RDBMS (Relational Database One of Management System, relational database management system) application software.Sql like language used in MySQL be with two, In the most frequently used standardized language of access database.MySQL software is since its is small in size, speed is fast, the total cost of ownership is low, especially It is this feature of open source code, and the exploitation of general middle-size and small-size website all selects MySQL as site databases.
Step 204: the good report of storage configuration is into MYSQL database.
It should be noted that step 204 specifically includes in the embodiment of the present invention 2:
Step 2041: report configuration reading assembly reads configured report messages from MYSQL;
Step 2042: between all screening conditions and screening conditions that screening conditions package assembling is configured according to report Relationship and combine elasticsearch inquiry (Query) api the screening conditions of configuration are packaged and are generated corresponding Data query device.
Step 2043: between all polymerizing conditions and polymerizing condition that polymerizing condition package assembling is configured according to report Relationship and combine elasticsearch polymerization (Aggregation) api the polymerizing condition of configuration is packaged and is generated Corresponding data aggregator.
Step 2044:Es returns the result package assembling and is assembled into packaged data query device and data aggregator Elasticsearch inquiry request requests elasticsearch and returns the result the simple data encapsulation of progress to what is obtained.
Step 2045: returning the result transition components and then will return the result to be packaged into according to the specific configuration information of report and meet It is required that data structure and return to final result.
Step 2046: will return the result return to front end transfer to browser by VUE.js gather other third parties visualization Plug-in unit (Echarts, Antv etc.) shows or generates corresponding report pdf document.
It is further to note that in the embodiment of the present invention 2, step 2045, the form and content returned the result, according to mesh The specific requirements of mark user voluntarily can be chosen and be arranged by developer, and the function part of plug-in unit is visualized by third party Part is completed to realize.Herein return the result concrete form be not exposed to the description of this embodiment and there are any restrictions, it is practical In environment according to the needs of users, it can customize selection setting.
Fig. 3 is in the present invention based on the method for processing report data mould based on VUE.js, MYSQL and ELASTICSEARCH Type schematic diagram.
According in ES mapper it is fixed to synchronize metadata, it should be noted that in ELASTICSEARCH model, when When creation is indexed or operated using put mapping Api, mapper module, which is mainly responsible for, adds the definition of Type mapping Onto index.Undefined dynamic mapping type in advance is also supported simultaneously.Synchronous metadata is stored to MYSQL, In the storage of MYSQL data, report configuration is on the one hand read from MYSQL, including report configuration component is read, report is screened Condition package assembling, report polymerizing condition package assembling, returns the result transition components etc.;On the other hand metadata is read to the page Configuration selection is provided.Then report configuration information is put in storage by browser, wherein report configuration information includes, data screening item Part, the as a result paradigmatic relation of Aggregation field and different field.
Final report engine is inquired from ELASTICSEARCH according to screening conditions and polymerizing condition as a result, simultaneously basis It returns the result transition components and is converted to browser or pdf document displaying.
For the looking into of big data quantity, polymerize and carry out data by inquiry polymerization result and by various report can Various data statistics and data visualization, which are shown, during showing depending on change displaying and data needs, the base of example offer of the present invention It can under mass data in the method for processing report data based on VUE.js, MYSQL and ELASTICSEARCH Quickly, stablize, efficiently visualize the customized report of user by Web.
The embodiment of the present invention three is as shown in figure 4, provide a kind of report based on VUE.js, MYSQL and ELASTICSEARCH Data processing equipment, comprising:
Synchronization unit 301 is stored in report metadata in ELASTICSEARCH for synchronizing;
It should be noted that in the embodiment of the present invention, the unit 301 of the synchronization, including metadata synchronization module, specifically For:
The basic structure for the data being stored in ELASTICSEARCH is synchronized to database by metadata synchronization module In.
The basic structure of the data includes at least following one kind: ELASTICSEARCH index name, typonym, word Name section, field type.
Configuration unit 303, for configuring report page in the form of VUE.js;
It should be noted that in the embodiment of the present invention,
Configuration unit 303 includes:
Loading module 3031 loads the first synchronous metadata and matches to the page for report for accessing the report configuration page Offer basic data is provided;
First configuration module 3032, for configuring report basic information;
Second configuration module 3033, for configuring report screening conditions;
Third configuration module 3034, for configuring report polymerizing condition.
Storage unit 305, the report good for storage configuration is into MYSQL database;
Processing unit 307, for being handled in the way of ELASTICSEARCH report data.It needs to illustrate It is the baseline of mail self learning model described in the present embodiment ground function curve, mail between time and mail security Safety is mail security value associated with mail features.
It should be noted that processing unit 307 includes: read module 3071, for reading from MYSQL in the present embodiment Take configured report messages;
Package module 3072, the screening conditions and polymerizing condition of the report good for package arrangements;
First generation module 3073, the corresponding data query device of screening conditions and the polymerization for generating the report The corresponding data aggregator of condition;
Request module 3074, for it to be assembled into according to the data query device and the data aggregate ELASTICSEARCH inquiry request is requested ELASTICSEARCH and is encapsulated to the obtained data for returning the result progress;
Data return module 3075, according to the specific configuration information of report by it is described return the result be packaged into it is satisfactory Data structure simultaneously returns to final result;
Second generation module 3076 returns to front end browser is transferred to gather third by VUE.js for that will return the result Side's visualization plug-in unit shows or generates corresponding report pdf document.
Fig. 5 is the schematic diagram for the computer equipment that an embodiment of the present invention provides.As shown in figure 4, computer equipment 1 to It less include: processor 20, memory 30, the computer that is stored in the memory 30 and can be run on the processor 20 Program 40 (such as control program of data processing method).
Wherein, the computer equipment 1 can be smart phone, tablet computer, laptop, desktop computer, service Device computer, personal digital assistant etc. have the computer equipment of shooting function.It will be understood by those skilled in the art that the signal Fig. 3 is only the example of computer equipment 1, does not constitute the restriction to computer equipment 1, may include more or more than illustrating Few component perhaps combines certain components or different components, such as the computer equipment 1 can also include that input is defeated Equipment, network access equipment, bus etc. out.
The processor 20 realized when executing the computer program 40 it is above-mentioned based on VUE.js, MYSQL and The step of method for processing report data of ELASTICSEARCH, for example, it is shown in FIG. 1 based on VUE.js, MYSQL and The step of method for processing report data of ELASTICSEARCH, it is shown in Fig. 2 based on VUE.js, MYSQL and The step of method for processing report data of ELASTICSEARCH.The realization when processor 20 executes the computer program 40 Each module/unit in above-mentioned each device embodiments, such as each unit/module function in attached drawing 4.
Illustratively, the computer program 40 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 30, and are executed by the processor 20, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, and described instruction section is used In implementation procedure of the description computer program 40 in the terminal 1.For example, the computer program 40 can be divided At the synchronization unit 301 in Fig. 3, configuration unit 303, storage unit 305, processing unit 307 and loading module 3031, One configuration module 3032, the second configuration module 3033, third configuration module 3034, package module 3072, the first generation module 3073, request module 3074, data return module 3075, the second generation module 3076.Before the concrete function of each unit refers to The specific introduction in face, for the sake of saving space and avoiding repetition, details are not described herein again.
Alleged processor 20 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 20 is also possible to any conventional processing Device etc., the processor 20 are the steps of the method for processing report data based on VUE.js, MYSQL and ELASTICSEARCH Suddenly/computer equipment control centre, using various interfaces and connection be entirely based on VUE.js, MYSQL and Report data processing unit/computer equipment 1 various pieces of ELASTICSEARCH.
For the memory 30 for storing the computer program 40 and/or module/unit, the processor 20 passes through fortune Row executes the computer program and/or module/unit being stored in the memory 30, and calls and be stored in the storage Data in device 30 realize the report data processing unit/computer based on VUE.js, MYSQL and ELASTICSEARCH The various functions of equipment 1.The memory 30 can mainly include storing program area and storage data area, wherein storing program area It can application program (such as sound-playing function, image player function etc.) needed for storage program area, at least one function etc.; Storage data area, which can be stored, uses created data etc. according to computer equipment 1.In addition, the memory 30 may include High-speed random access memory can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), extremely A few disk memory, flush memory device or other volatile solid-state parts.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the meter It realizes described in above embodiment when calculation machine program is executed by processor based on VUE.js, MYSQL and ELASTICSEARCH Method for processing report data the step of.
Report data processing unit // the computer equipment based on VUE.js, MYSQL and ELASTICSEARCH is integrated If module/unit be realized in the form of SFU software functional unit and when sold or used as an independent product, can store In a computer readable storage medium.Based on this understanding, the present invention realizes complete in above embodiment method Portion or part process can also instruct relevant hardware to complete by computer program, and the computer program can be deposited It is stored in a computer readable storage medium, the computer program is when being executed by processor, it can be achieved that above-mentioned each method The step of embodiment.Wherein, the computer program includes computer program code, and the computer program code can be Source code form, object identification code form, executable file or certain intermediate forms etc..The computer readable storage medium can be with It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program code Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer The content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as It does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium in certain jurisdictions.
In several specific embodiments provided by the present invention, it should be understood that disclosed computer installation and side Method may be implemented in other ways.For example, computer installation embodiment described above is only schematical, For example, the division of the module, only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in same treatment module It is that modules physically exist alone, can also be integrated in equal modules with two or more modules.Above-mentioned integrated mould Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that the embodiment of the present invention is not limited to the details of above-mentioned exemplary embodiment, And without departing substantially from the spirit or essential attributes of the embodiment of the present invention, this hair can be realized in other specific forms Bright embodiment.Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this The range of inventive embodiments is indicated by the appended claims rather than the foregoing description, it is intended that being equal for claim will be fallen in All changes in the meaning and scope of important document are included in the embodiment of the present invention.It should not be by any attached drawing mark in claim Note is construed as limiting the claims involved.Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for Plural number.Multiple units, module or the device stated in system, device or terminal claim can also be by the same units, mould Block or device are implemented through software or hardware.The first, the second equal words are used to indicate names, and are not offered as any specific Sequence.
Finally it should be noted that embodiment of above is only to illustrate the technical solution of the embodiment of the present invention rather than limits, Although the embodiment of the present invention is described in detail referring to the above better embodiment, those skilled in the art should Understand, can modify to the technical solution of the embodiment of the present invention or equivalent replacement should not all be detached from the skill of the embodiment of the present invention The spirit and scope of art scheme.

Claims (10)

1. a kind of method for processing report data characterized by comprising
The synchronous storage report metadata in distributed search server;
Report page is configured in the form of VUE.js;
The good report of storage configuration is into database;
Distributed treatment is carried out to report data.
2. the method as described in claim 1, which is characterized in that
The storage report metadata synchronous in distributed search server, specifically includes:
The basic structure for the data being stored in ELASTICSEARCH is synchronized in database by metadata synchronization module.
3. method according to claim 2, which is characterized in that
The basic structure of the data includes at least following one kind: ELASTICSEARCH index name, typonym, field name Claim, field type.
4. the method as described in claim 1, which is characterized in that
It is described that report page is configured in the form of VUE.js, it specifically includes:
It accesses report and configures the page, load the first synchronous metadata to the page and provide basic data for report configuration;Configuration report Table basic information;
Configure report screening conditions;
Configure report polymerizing condition.
5. the method as described in claim 1, which is characterized in that
It is described that distributed treatment is carried out to report data, it specifically includes:
Configured report messages are read from MYSQL;
The screening conditions and polymerizing condition of the good report of package arrangements;
Generate the corresponding data query device of screening conditions and the corresponding data aggregator of the polymerizing condition of the report;
According to the data query device and the data aggregate, it is assembled into ELASTICSEARCH inquiry request, requests ELASTICSEARCH simultaneously encapsulates the obtained data for returning the result progress;
According to the specific configuration information of report by it is described return the result be packaged into satisfactory data structure and return most terminate Fruit;
To return the result return to front end transfer to browser pass through VUE.js gather third party visualize plug-in unit show or generate Corresponding report pdf document.
6. a kind of report data processing unit characterized by comprising
Synchronization unit, for storage report metadata synchronous in distributed search server;
Configuration unit, for configuring report page in the form of VUE.js;
Storage unit, the report good for storage configuration is into database;
Processing unit, for carrying out distributed treatment to report data.
7. report data processing unit as claimed in claim 6, which is characterized in that
The unit of the synchronization, including metadata synchronization module, are specifically used for:
The basic structure for the data being stored in ELASTICSEARCH is synchronized in database by metadata synchronization module.
8. data processing equipment as claimed in claim 7, which is characterized in that
The basic structure of the data includes at least following one kind: ELASTICSEARCH index name, typonym, field name Claim, field type.
9. a kind of computer equipment, which is characterized in that the computer equipment includes processor, and the processor is for executing storage The method for processing report data as described in any one of claim 1-5 is realized when the computer program stored in device.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program The step of method for processing report data as described in any one of claim 1-5 is realized when being executed by processor.
CN201811147551.5A 2018-09-29 2018-09-29 Data processing method, data processing device, computer equipment and readable storage medium Active CN109359142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811147551.5A CN109359142B (en) 2018-09-29 2018-09-29 Data processing method, data processing device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811147551.5A CN109359142B (en) 2018-09-29 2018-09-29 Data processing method, data processing device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109359142A true CN109359142A (en) 2019-02-19
CN109359142B CN109359142B (en) 2020-11-27

Family

ID=65348070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811147551.5A Active CN109359142B (en) 2018-09-29 2018-09-29 Data processing method, data processing device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109359142B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688423A (en) * 2019-09-06 2020-01-14 中国平安财产保险股份有限公司 Data processing and displaying method, system, equipment and storage medium
CN111914192A (en) * 2020-07-08 2020-11-10 新奥数能科技有限公司 Method and device for displaying equipment data
CN112445464A (en) * 2020-11-27 2021-03-05 智业软件股份有限公司 Data statistics and display method, terminal equipment and storage medium
CN112861484A (en) * 2021-02-20 2021-05-28 山东旗帜信息有限公司 Method, equipment and storage medium for editing report form through headless browser
CN113032436A (en) * 2021-04-16 2021-06-25 苏州臻璇数据信息技术有限公司 Searching method and device based on article content and title

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170251003A1 (en) * 2016-02-29 2017-08-31 Palo Alto Networks, Inc. Automatically determining whether malware samples are similar
CN107577515A (en) * 2017-10-10 2018-01-12 北京小度信息科技有限公司 Extended method, device, electronic equipment and the storage medium of visualization component
CN107861859A (en) * 2017-11-22 2018-03-30 北京汇通金财信息科技有限公司 A kind of blog management method and system based on micro services framework
CN107958080A (en) * 2017-12-14 2018-04-24 上海特易信息科技有限公司 A kind of big data report processing method based on ElasticSearch
CN108170654A (en) * 2017-12-22 2018-06-15 北京鑫丰南格科技股份有限公司 A kind of electronic forms editing device and its development approach
CN108509326A (en) * 2018-04-09 2018-09-07 四川长虹电器股份有限公司 A kind of service state statistical method and system based on nginx daily records
CN108519967A (en) * 2018-04-08 2018-09-11 深圳乐信软件技术有限公司 Chart method for visualizing, device, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170251003A1 (en) * 2016-02-29 2017-08-31 Palo Alto Networks, Inc. Automatically determining whether malware samples are similar
CN107577515A (en) * 2017-10-10 2018-01-12 北京小度信息科技有限公司 Extended method, device, electronic equipment and the storage medium of visualization component
CN107861859A (en) * 2017-11-22 2018-03-30 北京汇通金财信息科技有限公司 A kind of blog management method and system based on micro services framework
CN107958080A (en) * 2017-12-14 2018-04-24 上海特易信息科技有限公司 A kind of big data report processing method based on ElasticSearch
CN108170654A (en) * 2017-12-22 2018-06-15 北京鑫丰南格科技股份有限公司 A kind of electronic forms editing device and its development approach
CN108519967A (en) * 2018-04-08 2018-09-11 深圳乐信软件技术有限公司 Chart method for visualizing, device, terminal and storage medium
CN108509326A (en) * 2018-04-09 2018-09-07 四川长虹电器股份有限公司 A kind of service state statistical method and system based on nginx daily records

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688423A (en) * 2019-09-06 2020-01-14 中国平安财产保险股份有限公司 Data processing and displaying method, system, equipment and storage medium
CN111914192A (en) * 2020-07-08 2020-11-10 新奥数能科技有限公司 Method and device for displaying equipment data
CN112445464A (en) * 2020-11-27 2021-03-05 智业软件股份有限公司 Data statistics and display method, terminal equipment and storage medium
CN112861484A (en) * 2021-02-20 2021-05-28 山东旗帜信息有限公司 Method, equipment and storage medium for editing report form through headless browser
CN112861484B (en) * 2021-02-20 2023-03-14 山东旗帜信息有限公司 Method, equipment and storage medium for editing report form through headless browser
CN113032436A (en) * 2021-04-16 2021-06-25 苏州臻璇数据信息技术有限公司 Searching method and device based on article content and title
CN113032436B (en) * 2021-04-16 2022-05-31 苏州臻璇数据信息技术有限公司 Searching method and device based on article content and title

Also Published As

Publication number Publication date
CN109359142B (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN109359142A (en) A kind of data processing method, data processing equipment, computer equipment and readable storage medium storing program for executing
US11789978B2 (en) System and method for load, aggregate and batch calculation in one scan in a multidimensional database environment
CN105183735B (en) The querying method and inquiry unit of data
US9418101B2 (en) Query optimization
CN110427438A (en) Data processing method and its device, electronic equipment and medium
US10838964B2 (en) Supporting a join operation against multiple NoSQL databases
CA2909257C (en) Combinatorial business intelligence
US9053134B2 (en) View variants in database schema mapping
CN102999574A (en) Positioning of relative content item via crossing plural different content sources
CN107229718A (en) The method and apparatus for handling report data
CN104699742A (en) Extreme visualization enabling extension for large data sets
US10262055B2 (en) Selection of data storage settings for an application
US10855637B2 (en) Architecture for large data management in communication applications through multiple mailboxes
CN109800269A (en) Data managing method, device, computer equipment and storage medium
WO2019127772A1 (en) Data dictionary display method and device, terminal device and storage medium
US11704327B2 (en) Querying distributed databases
CN109597825B (en) Rule engine calling method, device, equipment and computer readable storage medium
CN105184550B (en) Manage method, server and the system of waiting data
US9230022B1 (en) Customizable result sets for application program interfaces
US11727022B2 (en) Generating a global delta in distributed databases
CN112162731B (en) Data expansion method, device, storage medium and electronic device
WO2022220982A1 (en) Database query execution on multiple databases
CN111459907B (en) Method, system and storage medium for configuring main data through model
US9886520B2 (en) Exposing relationships between universe objects
CN113360517A (en) Data processing method and device, electronic equipment and storage medium

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