CN111242468A - Distributed automatic evaluation report generation method - Google Patents

Distributed automatic evaluation report generation method Download PDF

Info

Publication number
CN111242468A
CN111242468A CN202010019366.9A CN202010019366A CN111242468A CN 111242468 A CN111242468 A CN 111242468A CN 202010019366 A CN202010019366 A CN 202010019366A CN 111242468 A CN111242468 A CN 111242468A
Authority
CN
China
Prior art keywords
template
format
data
field
data template
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.)
Pending
Application number
CN202010019366.9A
Other languages
Chinese (zh)
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.)
Zoomlion Technology Co Ltd
Original Assignee
Zoomlion 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 Zoomlion Technology Co Ltd filed Critical Zoomlion Technology Co Ltd
Priority to CN202010019366.9A priority Critical patent/CN111242468A/en
Publication of CN111242468A publication Critical patent/CN111242468A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method for automatically generating an evaluation report based on distribution, which uses a template engine to combine business data to dynamically generate a document and supports online preview. The template used by the method is defined by a user and is divided into static content and dynamic content; static content is edited by a user and dynamic is called by a system dynamically. The dynamic content is mainly realized through self-defined association, supports the operations of adding, modifying and deleting, and is completely interfaced. The system supports super-large document operation, and when a user operates a large document, the system intelligently adopts a distributed loading mode, so that the data integrity is ensured, and the operation efficiency is greatly improved.

Description

Distributed automatic evaluation report generation method
Technical Field
The invention relates to a method for automatically generating an assessment report based on distribution.
Background
Based on machine learning and artificial intelligence technology, the system can automatically generate an asset assessment report and an assessment instruction according to the industry, asset type and scale condition of the enterprise of an asset assessment project. The evaluation method covers all links of evaluation ranges, evaluation bases, evaluation algorithms, asset cases and other evaluation reports, and dynamically associates and synchronizes pricing data in the asset detail list and data in the evaluation report specification in real time, so that an evaluator is not limited by the complicated affairs of compiling hundreds of evaluation reports and evaluation descriptions, and the productivity of the evaluator is greatly liberated.
In the real-world work of asset valuation, most asset evaluators in the process of compiling valuation reports and descriptions often encounter problems such as uncertain what type of valuation template to use, the need for extensive asset data acquisition and calculation, and the complete single-person independent completion of the compilation and modification of the entire asset valuation report and description, which are very labor-intensive and extremely slow.
Disclosure of Invention
In view of the above problems, the present invention provides a method for automatically generating an evaluation report based on a distributed system, comprising the following steps:
s1, defining fields required by custom association;
s2, defining a data template class;
s3, initializing a custom association field in the data template;
s4, searching a custom association field in the data template;
s5, searching a corresponding field value in a distributed mode according to the self-defined associated field name;
and S6, the content of each chapter is loaded in a distributed mode and is sent to the front-end browser and other consumption ends through a message channel.
The automatic generation of the report is divided into 4 processes and 2 stages, and the processes comprise:
4 processes are as follows:
firstly, defining static content and custom associated fields contained in reports and descriptions;
secondly, initializing a custom association field in the data template;
thirdly, searching the self-defined associated fields in the data template and replacing the self-defined associated fields with corresponding values
And fourthly, the content of each chapter of the document is loaded in a distributed mode and is broadcast to the appointed consumption end.
The definition report describes custom association fields: the document dynamic association field needs to define the variable KEY in the system in advance as: "{ $ [ variable name ] }.
Define reports and explain static templates: all reported and described template contents are sequentially put in storage and embedded with proper variable names of the process 1 at corresponding positions, and complete matching is required.
And performing VALUE taking on each system according to the dynamic variable name during running to form a KEY-VALUE form, and contents of a distributed rendering report and description.
2 stages:
firstly, extracting a numerical value according to a defined variable path during dynamic operation;
and secondly, loading each directory in a distributed mode, and informing each client through a message server.
Further, the evaluation report generation is realized by the following steps:
s1.1 defining custom associated fields according to the requirements of the data template
S1.2 initializing the data template with the custom association field defined by S1.1
S2.1, initializing data template classification, such as: XXX evaluation template
S4.1, splitting the template into N parts according to an algorithm, distributing a node execution program (distributed cluster node server) for each split document by the system, and searching corresponding associated fields;
s5.1, searching corresponding associated field values in a multi-node and multi-thread mode according to the user-defined associated field names found in the S4.1, and storing the associated field values in NOSQL
S6.1 the execution result after the steps of S1-S5 is informed to the monitoring client through a message routing mechanism, and the client aggregates the result and displays the result to a front-end interface.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention combines the dynamic data distributed loading and self-defining correlation technology based on the static template, and solves the problem of higher content layered loading speed.
2. The invention solves the problems of higher efficiency and the like of online multi-person collaborative operation.
3. The invention solves the problem that an evaluator needs to go to each complicated template table to extract data when compiling reports and descriptions, and avoids data errors caused by repeated copying.
Drawings
FIG. 1 is a flow diagram of a method of automatically generating an assessment report;
FIG. 2 is a call flow diagram of a method for automatically generating an assessment report;
FIG. 3 is a block diagram of a structural framework for a method of automatically generating an assessment report.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a distributed automatic generation evaluation report, and with reference to fig. 1-3, the specific steps are as follows:
s1, presetting the dynamic self-defined associated field according to the requirement of the data template and initializing the content of the data template, such as:
"{ $ [ company name ] }:
XXXXXX receives the entrustment of the noble company, and according to the law and the assets evaluation criteria, the evaluation is performed on { $ [ evaluation mode ] } on the evaluation reference day { $ [ evaluation reference day ] }. The asset assessment scenario is now reported as follows: … …. ";
s2, defining the custom association fields needed to be used in the data template and inserting the custom association fields into the report and description contents at the specified positions, such as: "{ $ [ evaluated unit name ] }: XXX was evaluated at { $ [ evaluation mode ] } on evaluation reference day { $ [ evaluation reference day ] } { $ { [ evaluation mode ] } "
And S3, the system divides the data template content into N parts through an average distribution algorithm, each part is analyzed into the NOSQL database by the node server and further through an extraction algorithm. Such as: KEY: { $ [ evaluated unit name ] }, VALUE: YY group
And S4, selecting a system according to the user role and other conditions to dynamically extract related data from each system when the user views the report specification, and loading the catalogue and the content in a distributed mode.
S2 requires the administrator role to pre-configure the report and description template format, including:
converting the template file in other format into standard HTML.
S5 selects the dynamic distributed loading report specification data according to the user condition, and the specific operations are:
s5.1, dynamically requesting a directory described by a report according to the user role and the target company selected by the user in combination with the user-selected evaluation method, and asynchronously sending the directory to a client browser through a message to update the directory loading state in real time;
s5.2, sending the catalog generated by the user to the front end and sending the message to a content generation server at the same time according to S3.1, and generating corresponding catalog content according to the sent parameters after the content server receives the message;
s5.3, after each directory is generated, a successful state is sent to the message server, and after the client receives the loading completion state, the client can browse the current directory content;
s6, after the success of the distributed loading report and the description chapter, the report needs to be sent to the listening client in a broadcast message manner, which includes:
s6.1 the browser consumes all the chapter completion states, and when the END mark is received, the browser disconnects the connection and releases the connection resources.
S6.2 the distributed loading service starts to load the report or the description content of the corresponding chapter when consuming the chapter loading command, and sends the completed message to the monitoring client after the loading is completed.
S6.3 all chapters are loaded and all listening clients are finished. Closing the connection and deleting the queue, and further releasing the connection resources.
The present invention is not limited to the embodiments described above, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention, and these equivalent modifications or substitutions are included in the scope defined by the claims of the present application.

Claims (7)

1. A method for automated generation of assessment reports on a distributed basis, comprising the steps of:
s1, defining fields required by custom association;
s2, defining a data template class;
s3, initializing a custom association field in the data template;
s4, searching a custom association field in the data template;
s5, searching a corresponding field value in a distributed mode according to the self-defined associated field name;
and S6, the content of each chapter is loaded in a distributed mode and is sent to the front-end browser and other consumption ends through a message channel.
2. The method of claim 1, wherein the data template format comprises:
the data template format is a standard hypertext protocol format (HTML) format, and format generation may be generated with third party tools or system-in-line rich text editors.
3. The method of claim 1, wherein customizing the associated format in the data template content comprises:
the custom association is a basic carrier for displaying dynamic contents in an automatic generation report, and the format of the associated field is a specific format of the system, so that the system can conveniently search and analyze in operation, for example: "{ $ [ variable name ] }".
4. The method of claim 2, wherein the data template engine de-customizing the association parsing process comprises:
the system searches the corresponding data template according to the condition, after the template is loaded, the template is split into N parts according to a searching algorithm, and the system allocates an execution program for each part of template data to search the corresponding self-defined associated field.
5. The method of claim 3 or 4, wherein resolving the variable name comprises:
after the system searches the self-defined associated fields in a distributed mode, the field names found by all the execution programs are cached in the NOSQL database.
6. The method of claim 5, wherein the obtaining the corresponding value according to the defined association field comprises:
and (4) extracting relevant data from all the searched user-defined associated fields by the system in a distributed loading mode and carrying out operation, and merging the relevant data into the specified template after the operation is finished.
7. The method of claim 6, wherein the system distributing the document chapter generation results via a message comprises:
after each node program participating in document generation completes a chapter generation task, the node program is broadcasted to each consumption end in a message mode.
CN202010019366.9A 2020-01-08 2020-01-08 Distributed automatic evaluation report generation method Pending CN111242468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010019366.9A CN111242468A (en) 2020-01-08 2020-01-08 Distributed automatic evaluation report generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010019366.9A CN111242468A (en) 2020-01-08 2020-01-08 Distributed automatic evaluation report generation method

Publications (1)

Publication Number Publication Date
CN111242468A true CN111242468A (en) 2020-06-05

Family

ID=70864250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010019366.9A Pending CN111242468A (en) 2020-01-08 2020-01-08 Distributed automatic evaluation report generation method

Country Status (1)

Country Link
CN (1) CN111242468A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112507682A (en) * 2020-12-15 2021-03-16 福建捷宇电脑科技有限公司 Document generation method and device for reducing server and network load

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112507682A (en) * 2020-12-15 2021-03-16 福建捷宇电脑科技有限公司 Document generation method and device for reducing server and network load

Similar Documents

Publication Publication Date Title
CN111666401B (en) Document recommendation method, device, computer equipment and medium based on graph structure
CN107784026B (en) ETL data processing method and device
US20030204485A1 (en) Gathering change data from information provider network indicative of event changes at information provider node relative to pre-stored information in the database by information collection agents
WO2020006827A1 (en) Method and apparatus for intelligent response
CN105956087A (en) Data and code version management system and method
CN105786941B (en) Information mining method and device
CN113378579A (en) Method, system and electronic equipment for voice input of structured data
CN111242468A (en) Distributed automatic evaluation report generation method
CN112818026A (en) Data integration method and device
CN107832342B (en) Robot chatting method and system
CN115935493B (en) Method and system for converting two-dimensional CAD drawing into BIM model
CN110365809B (en) Distributed server address configuration system and method
CN112231344A (en) Real-time stream data query method and device
CN107505852B (en) Method for constructing cloud manufacturing service description file containing simulation information
CN111783391B (en) Online artificial text marking system and method
US11334719B2 (en) Systems and methods for predicting mapping between named entities and parameters using a model based on same predefined number of words that occur prior to the named entity via machine learning techniques
CN111400608B (en) Data processing method and device, storage medium and electronic equipment
CN113347075A (en) WeChat group message response method and device
US11087095B1 (en) Platform for quality assurance in natural language generation frameworks
CN110569274A (en) Distributed real-time log analysis method and computer-readable storage medium
US20240169361A1 (en) Systems and methods for capturing sentiments and delivering elevated proactive user experience
Pravan et al. INSIGHTS!-a modern deep learning approach to data analysis using Feature Name Substitution Network
CN112632133B (en) Data link query method and device
CN115052035B (en) Message pushing method, device and storage medium
CN116303262A (en) Recommended information log landing method, device, 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