CN114048722B - Method and system for designing and dynamically rendering electronic report form template - Google Patents

Method and system for designing and dynamically rendering electronic report form template Download PDF

Info

Publication number
CN114048722B
CN114048722B CN202111392643.1A CN202111392643A CN114048722B CN 114048722 B CN114048722 B CN 114048722B CN 202111392643 A CN202111392643 A CN 202111392643A CN 114048722 B CN114048722 B CN 114048722B
Authority
CN
China
Prior art keywords
acquiring
item
design operation
design
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111392643.1A
Other languages
Chinese (zh)
Other versions
CN114048722A (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 SunwayWorld Science and Technology Co Ltd
Original Assignee
Beijing SunwayWorld Science and 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 SunwayWorld Science and Technology Co Ltd filed Critical Beijing SunwayWorld Science and Technology Co Ltd
Priority to CN202111392643.1A priority Critical patent/CN114048722B/en
Publication of CN114048722A publication Critical patent/CN114048722A/en
Application granted granted Critical
Publication of CN114048722B publication Critical patent/CN114048722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/183Tabulation, i.e. one-dimensional positioning

Abstract

The invention provides a method and a system for electronic report template design and dynamic rendering, wherein the method comprises the following steps: step S1: acquiring an electronic report template generated by a first user on-line report design based on an on-line report designer; step S2: and inputting the electronic report template into a preset report rendering engine for rendering, and outputting a rendering result. According to the method and the system for designing and dynamically rendering the electronic report template, a user can log in the online report designer to perform design operation, electronic report design software does not need to be installed in a computer, and convenience is improved; meanwhile, the electronic report form template input rendering engine input by the user is rendered, the design intention of the user is identified, and the electronic report form template input rendering engine automatically expands based on the design intention, is more humanized and improves the user experience.

Description

Method and system for designing and dynamically rendering electronic report form template
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for designing and dynamically rendering an electronic report form template.
Background
At present, when a user designs an electronic report, electronic report design software in a computer needs to be opened, and after the design is finished, the electronic report needs to be sent to a receiver in a networking way, so that the design is complicated; in addition, when the user uses the electronic report design software, the user inputs the electronic report template prepared by the user, and the electronic report design software only supports some simple editing operations (such as setting functions, setting rules and the like) and is not humanized enough.
Therefore, a solution is needed.
Disclosure of Invention
One of the purposes of the invention is to provide a method and a system for electronic report template design and dynamic rendering, wherein a user can log in an online report designer to perform design operation on a preprocessing result, electronic report design software does not need to be installed in a computer, and the electronic report template is directly stored in a cloud or sent to a receiving party after the design is finished, so that the convenience is improved; meanwhile, the electronic report form template input rendering engine input by the user is rendered, the design intention of the user is identified, and the electronic report form template input rendering engine automatically expands based on the design intention, is more humanized and improves the user experience.
The embodiment of the invention provides a method for designing and dynamically rendering an electronic report form template, which comprises the following steps:
step S1: acquiring an electronic report template generated by a first user on-line report design based on an on-line report designer;
step S2: and inputting the electronic report template into a preset report rendering engine for rendering, and outputting a rendering result.
Preferably, step S2: the method comprises the following steps of preprocessing the electronic report form template and outputting a preprocessing result, wherein the preprocessing result comprises the following steps:
step S201: identifying expandable cells in the electronic report template, sequencing the expandable cells according to the corresponding original sequence to obtain a set Z, and simultaneously obtaining a main grid line formed by the expandable cells;
step S202: selecting the expandable cells which are not expanded from the set Z and using the expandable cells as current cells;
step S203: if the left side of the current cell on the main grid line does not have an expandable cell which is not expanded yet, executing step S205, otherwise executing step S204;
step S204: taking the expandable cell adjacent to the left side of the current cell on the main grid line as a new current cell, and executing the step S203;
step S205: determining the number of data in the current cell, expanding the current cell, copying the continuous rows and the continuous columns corresponding to the main grid lines in the electronic report template for a number of times, and taking the current cell as an expanded state;
step S206: and (6) repeatedly executing the step (S202) to the step (S205), finishing preprocessing when no extensible unit cell which is not expanded yet exists in the set Z, and taking the electronic report form template as a preprocessing result.
Preferably, step S1: the method for acquiring the electronic report template generated by the online report design of the first user based on the online report designer comprises the following steps:
constructing a report parameter library and generating a report parameter list corresponding to the report parameter library;
acquiring the operation type performed by a first user, and acquiring report parameters selected by the first user from a report parameter list;
generating a first design operation based on the operation type and the report parameters, and responding to the first design operation;
and when the first user inputs a design finishing instruction, generating an electronic report form template and finishing the acquisition.
Preferably, when responding to the first design operation, recommending the design operation to the first user;
the design operation recommendation of the first user comprises the following steps:
acquiring at least one first design operation record item corresponding to a first user;
determining at least one second user associated with the first user based on a preset associated user library;
acquiring at least one second design operation record item corresponding to a second user;
randomly setting a target to be eliminated, wherein the target to be eliminated comprises the following steps: a first design operation entry and a second design operation entry;
acquiring a first source scene of a target to be eliminated;
determining a source area corresponding to a target to be removed in a first source scene, and simultaneously determining at least one adjacent area adjacent to the source area in the first source scene;
acquiring at least one first triggerable item arranged on the adjacent area;
acquiring a region association library corresponding to a first source scene, and determining at least one association region associated with the source region in the first source scene based on the region association library;
acquiring at least one second triggerable item set on the associated area;
randomly setting a target to be triggered, wherein the target to be triggered comprises: a first triggerable item and a second triggerable item;
acquiring a preset trigger space, and placing a source region and a target to be triggered in the trigger space;
acquiring a preset trigger mode set, wherein the trigger mode set comprises: a plurality of first trigger modes;
traversing a first trigger mode in the trigger mode set and using the first trigger mode as a second trigger mode;
attempting to trigger the target to be triggered by using a second triggering mode, if the triggering is successful, capturing at least one first triggering behavior generated after the target to be triggered is triggered, and meanwhile, using the used second triggering mode as a third triggering mode;
acquiring at least one first malicious behavior corresponding to the third triggering mode;
performing behavior matching on the first malicious behavior and the first trigger behavior, if the matching is in accordance with the first malicious behavior, taking the first trigger behavior matched with the first malicious behavior as a second trigger behavior, and simultaneously taking the first malicious behavior matched with the first malicious behavior as a second malicious behavior;
acquiring a preset intrusion direction determination model, and inputting a source region and a second malicious behavior into the intrusion direction determination model to acquire at least one intrusion direction;
acquiring a behavior direction of a first trigger behavior, carrying out direction matching on the behavior direction and an invasion direction, and if the behavior direction and the invasion direction are matched, rejecting a corresponding target to be rejected;
when the targets to be eliminated are all eliminated, eliminating the remaining first design operation record item and the second design operation record item as a third design operation record item;
acquiring a provider corresponding to the third design operation record item, and acquiring a first source scene corresponding to the third design operation record item as a second source scene;
acquiring a guarantee value for guaranteeing the provider by the second source scene, and if the guarantee value is less than or equal to a preset guarantee value threshold, rejecting a corresponding third design operation record item;
when all the third design operation record items needing to be removed are removed, the remaining third design operation record items are removed to be used as fourth design operation record items;
acquiring a preset neural network model, inputting a fourth design operation record item into the neural network model for model training, and acquiring a design operation prediction model;
acquiring a first design operation input by a first user within a preset time period, and taking the first design operation as a second design operation;
classifying the second design operation based on a preset classification rule to obtain a plurality of design operation sets;
inputting the design operation set into a design operation prediction model to obtain a plurality of first prediction items, wherein the first prediction items comprise: a third design operation, at least one fourth design operation corresponding to the third design operation, and an execution order of the third design operation and the fourth design operation;
acquiring a current design result of a first user;
acquiring a preset effect evaluation model, inputting a current design result and a first prediction item into the effect evaluation model, acquiring an evaluation value, and associating the evaluation value with the first prediction item;
if the evaluation value associated with the first prediction item is greater than or equal to a preset evaluation threshold value, taking the first prediction item as a second prediction item;
integrating the second prediction items to obtain a recommendation list, and outputting the recommendation list;
acquiring a second prediction item selected from the recommendation list by the first user, and taking the second prediction item as a third prediction item;
and responding to the third design operation and the fourth design operation in the third prediction item in sequence based on the execution sequence in the third prediction item.
Preferably, in step S2, the outputting the rendering result includes:
acquiring identities of a plurality of third users needing to check rendering results, and acquiring first important values corresponding to the identities;
taking the third user corresponding to the maximum first importance value as a fourth user, and taking the rest third users as fifth users;
performing importance analysis on each first result item in the rendering result to obtain a second importance value of each first display block in the first result item;
taking the first display block corresponding to the maximum second importance value as a second display block, and taking the rest first display blocks as third display blocks;
judging whether a fourth user watches any first display block or not based on an attention analysis technology;
if so, acquiring the watching position of the fourth user, and simultaneously taking the corresponding first result item as a second result item;
determining a display position corresponding to the watching position, and moving a second display block in the second result item to the display position for displaying;
and randomly displaying the third display block in the second result item.
The system for electronic report template design and dynamic rendering provided by the embodiment of the invention comprises:
the system comprises a design module, a report generation module and a report generation module, wherein the design module is used for acquiring an electronic report template generated by a first user for online report design based on an online report designer;
and the rendering module is used for inputting the electronic report template into a preset report rendering engine for rendering and outputting a rendering result.
Preferably, the rendering module performs the following operations:
step S201: identifying expandable cells in the electronic report template, sequencing the expandable cells according to the corresponding original sequence to obtain a set Z, and simultaneously obtaining a main grid line formed by the expandable cells;
step S202: selecting the expandable cells which are not expanded from the set Z and using the expandable cells as current cells;
step S203: if the left side of the current cell on the main grid line does not have an expandable cell which is not expanded yet, executing step S205, otherwise executing step S204;
step S204: taking the expandable cell adjacent to the left side of the current cell on the main grid line as a new current cell, and executing the step S203;
step S205: determining the number of data in the current cell, expanding the current cell, copying the continuous rows and the continuous columns corresponding to the main grid lines in the electronic report template for a number of times, and taking the current cell as an expanded state;
step S206: and (6) repeatedly executing the step (S202) to the step (S205), finishing preprocessing when no extensible unit cell which is not expanded yet exists in the set Z, and taking the electronic report form template as a preprocessing result.
Preferably, the design module performs the following operations:
constructing a report parameter library and generating a report parameter list corresponding to the report parameter library;
acquiring the operation type performed by a first user, and acquiring report parameters selected by the first user from a report parameter list;
generating a first design operation based on the operation type and the report parameters, and responding to the first design operation;
and when the first user inputs a design finishing instruction, generating an electronic report template and finishing acquisition.
Preferably, the design module performs the following operations:
acquiring at least one first design operation record item corresponding to a first user;
determining at least one second user associated with the first user based on a preset associated user library;
acquiring at least one second design operation record item corresponding to a second user;
randomly setting a target to be eliminated, wherein the target to be eliminated comprises the following steps: a first design operation entry and a second design operation entry;
acquiring a first source scene of a target to be eliminated;
determining a source area corresponding to a target to be removed in a first source scene, and simultaneously determining at least one adjacent area adjacent to the source area in the first source scene;
acquiring at least one first triggerable item arranged on the adjacent area;
acquiring a region association library corresponding to a first source scene, and determining at least one association region associated with the source region in the first source scene based on the region association library;
acquiring at least one second triggerable item set on the associated area;
randomly setting a target to be triggered, wherein the target to be triggered comprises: a first triggerable item and a second triggerable item;
acquiring a preset trigger space, and placing a source region and a target to be triggered in the trigger space;
acquiring a preset trigger mode set, wherein the trigger mode set comprises: a plurality of first trigger modes;
traversing a first trigger mode in the trigger mode set and using the first trigger mode as a second trigger mode;
attempting to trigger the target to be triggered by using a second triggering mode, if the triggering is successful, capturing at least one first triggering behavior generated after the target to be triggered is triggered, and meanwhile, using the used second triggering mode as a third triggering mode;
acquiring at least one first malicious behavior corresponding to the third triggering mode;
performing behavior matching on the first malicious behavior and the first trigger behavior, if the matching is in accordance with the first malicious behavior, taking the first trigger behavior matched with the first malicious behavior as a second trigger behavior, and simultaneously taking the first malicious behavior matched with the first malicious behavior as a second malicious behavior;
acquiring a preset intrusion direction determination model, and inputting a source region and a second malicious behavior into the intrusion direction determination model to acquire at least one intrusion direction;
acquiring a behavior direction of a first trigger behavior, carrying out direction matching on the behavior direction and an invasion direction, and if the behavior direction and the invasion direction are matched, rejecting a corresponding target to be rejected;
when the targets to be eliminated are all eliminated, eliminating the remaining first design operation record items and the second design operation record items as third design operation record items;
acquiring a provider corresponding to the third design operation record item, and acquiring a first source scene corresponding to the third design operation record item as a second source scene;
acquiring a guarantee value for guaranteeing the provider by the second source scene, and if the guarantee value is less than or equal to a preset guarantee value threshold, rejecting a corresponding third design operation record item;
when all the third design operation record items needing to be removed are removed, the remaining third design operation record items are removed to be used as fourth design operation record items;
acquiring a preset neural network model, inputting a fourth design operation record item into the neural network model for model training, and acquiring a design operation prediction model;
acquiring a first design operation input by a first user within a preset time period, and taking the first design operation as a second design operation;
classifying the second design operation based on a preset classification rule to obtain a plurality of design operation sets;
inputting the design operation set into a design operation prediction model to obtain a plurality of first prediction items, wherein the first prediction items comprise: a third design operation, at least one fourth design operation corresponding to the third design operation, and an execution order of the third design operation and the fourth design operation;
acquiring a current design result of a first user;
acquiring a preset effect evaluation model, inputting a current design result and a first prediction item into the effect evaluation model, acquiring an evaluation value, and associating the evaluation value with the first prediction item;
if the evaluation value associated with the first prediction item is greater than or equal to a preset evaluation threshold value, taking the first prediction item as a second prediction item;
integrating the second prediction items to obtain a recommendation list, and outputting the recommendation list;
acquiring a second prediction item selected from the recommendation list by the first user, and taking the second prediction item as a third prediction item;
and responding to the third design operation and the fourth design operation in the third prediction item in sequence based on the execution sequence in the third prediction item.
Preferably, the rendering module performs the following operations:
acquiring identities of a plurality of third users needing to check rendering results, and acquiring first important values corresponding to the identities;
taking the third user corresponding to the maximum first importance value as a fourth user, and taking the rest third users as fifth users;
performing importance analysis on each first result item in the rendering result to obtain a second importance value of each first display block in the first result item;
taking the first display block corresponding to the maximum second importance value as a second display block, and taking the rest first display blocks as third display blocks;
judging whether a fourth user watches any first display block or not based on an attention analysis technology;
if so, acquiring the watching position of the fourth user, and simultaneously taking the corresponding first result item as a second result item;
determining a display position corresponding to the watching position, and moving a second display block in the second result item to the display position for displaying;
and randomly displaying the third display block in the second result item.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flowchart of a method for electronic report template design and dynamic rendering according to an embodiment of the present invention;
FIGS. 2 to 9 are schematic diagrams illustrating an embodiment of a method for electronic report template design and dynamic rendering according to the present invention;
FIG. 10 is a diagram of a system for electronic report template design and dynamic rendering according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides a method for designing and dynamically rendering an electronic report template, which comprises the following steps as shown in figure 1:
step S1: acquiring an electronic report template generated by a first user on-line report design based on an on-line report designer;
step S2: and inputting the electronic report template into a preset report rendering engine for rendering, and outputting a rendering result.
The working principle and the beneficial effects of the technical scheme are as follows:
a user logs in an online report designer to perform online report design operation, an electronic report template input by the user is obtained, the electronic report template is input to a preset report rendering engine to be rendered (the purpose of rendering is to identify the design intention of the user in the electronic report template and automatically extend the electronic report template based on the design intention), when the rendering is completed, a rendering result is obtained, and finally, the rendering result is output;
according to the embodiment of the invention, a user can log in the online report designer to perform report design operation online, electronic report design software does not need to be installed in a computer, and after the design is finished, the report is directly stored in a cloud or sent to a receiving party, so that the convenience is improved; meanwhile, the electronic report form template input rendering engine input by the user is rendered, the design intention of the user is identified, and the electronic report form template input rendering engine automatically expands based on the design intention, is more humanized and improves the user experience.
The embodiment of the invention provides a method for designing and dynamically rendering an electronic report template, which comprises the following steps of S2: inputting the electronic report template into a preset report rendering engine for rendering, and outputting a rendering result, wherein the rendering result comprises the following steps:
step S201: identifying expandable cells in the electronic report template, sequencing the expandable cells according to the corresponding original sequence to obtain a set Z, and simultaneously obtaining a main grid line formed by the expandable cells;
step S202: selecting the expandable cells which are not expanded from the set Z and using the expandable cells as current cells;
step S203: if the left side of the current cell on the main grid line does not have an expandable cell which is not expanded yet, executing step S205, otherwise executing step S204;
step S204: taking the expandable cell adjacent to the left side of the current cell on the main grid line as a new current cell, and executing the step S203;
step S205: determining the number of data in the current cell, expanding the current cell, copying the continuous rows and the continuous columns corresponding to the main grid lines in the electronic report template for a number of times, and taking the current cell as an expanded state;
step S206: and (6) repeatedly executing the step (S202) to the step (S205), finishing preprocessing when no extensible unit cell which is not expanded yet exists in the set Z, and taking the electronic report form template as a rendering result.
The working principle and the beneficial effects of the technical scheme are as follows:
for convenience of description, some concepts of the electronic report are described as follows:
row (column) number: the number of rows and columns of the spreadsheet is the same as the row and column number generation rule in the common office software Excel;
expandable cells: the user indicates that the data within the cell needs to be expanded in the portrait (or landscape) orientation. We also call the expandable cell as the master;
father grid: the system allows the user to designate a cell as the parent of the current cell. The values in the parent cells become the screening conditions when calculating the current cell data; as shown in FIG. 2, the parent of Z is set to Y, and the parent of Y is set to X;
main grid lines: refers to a chain formed by the definitions of an expandable cell and its parent. When a certain expandable cell on the main grid line is expanded, the data of the expandable cell is screened by all cells on the left side of the current cell on the main grid line; as shown in fig. 2, since the parent lattice of Z is Y and the parent lattice of Y is X, one main lattice line (X, Y, Z) is obtained;
the original order refers to a cell arrangement order formed by all extensible cells in the report model from left to right and from top to bottom;
as shown in FIG. 2, all 3 elements in set C (X, Y, Z) are marked as expanded downward, all belonging to an expandable cell; since the parent lattice of Y is X and the parent lattice of Z is Y, a main lattice line, i.e., (X, Y, Z), is obtained. In addition, the arrangement sequence of all the expandable cells according to the original sequence is XYZ;
the above pretreatment process is explained below by way of example:
if there is a set C (X, Y) [ {1, a }, {1, b }, {2, C } {2, d }, {3, e } ], the reporting template is designed in the layout form as shown in fig. 3:
first, determining original sequence set Z ═ XIs not expanded,YNot expanded]. Since the parent lattice of Y is X, the main lattice line is (X, Y).
In the second step, find the first unexpanded cell in Z, i.e. X, and determine its corresponding data set as [1,2,3] (the set obtained after all X values are de-duplicated), since the set size is 3, the 1 st line will be copied 3 times when expanded.
Third, expand the X cell, as shown in FIG. 4; while X was spreading, Y was also replicated 3 times at the same time. Each copy of Y is a cell pointing to the corresponding position after X expansion (i.e., Y points to a cell with coordinates A1, Y1Pointing direction A2, Y2Pointing at a 3). Each copy of Y is still considered an extensible cell. The newly generated expandable cell is added to the Z set, where Z ═ XHas been expanded,YThe expansion of the composite material is not carried out,Y1 is not expanded, and the expansion rate of the chip is not increased,Y2 is not expanded]。
And fourthly, finding out the first unexpanded cell in the Z, namely Y. Since X on the left side of Y in the main ruled line (X, Y) has already completed expansion, it is determined that Y can be expanded. Since the value of X corresponding to Y is 1 at this time, the value set of Y is a set of non-overlapping Y values under the condition that X is 1 in the set C, that is, [ a, b ].
And fifthly, unfolding the Y cell. Such asAs shown in fig. 4, since the main gridline of the Y cell covers the 1 st row and the number of data in the Y cell is 2, the 1 st row is copied 2 times. The intermediate table after the Y cells are expanded is shown in FIG. 5; when Y is completely unfolded, Z ═ XHas been expanded,YThe process has been extended to include the steps of,Y1 is not expanded, and the expansion rate of the expansion rate is not increased,Y2 is not expanded]。
Sixthly, finding out the first unexpanded cell in Z, namely Y1. Since the expansion of X on the left side of Y in the main grid line (X, Y) is completed, Y is judged1It can be expanded. Since at this time Y1The corresponding value of X is 2, so Y1The value set of (C) is a set of non-repeating Y values under the condition that X is 2 in the set C, i.e., [ C, d]。
Seventh, expand Y1And (4) cell. As shown in FIG. 9, since Y1The main grid line of the unit cell covers the 3 rd row, and Y1The number of data in the cell is 2, so row 3 will be copied 2 times. Y is1The intermediate table after the cells are expanded is shown in fig. 6; when Y is1After being unfolded, Z ═ XHas been expanded,YThe method has been expanded and the device has been expanded,Y1 has been expanded by the number of cells in the cell,Y2 is not expanded]。
Eighth, find the first unexpanded cell in Z, Y2. Since the expansion of X on the left side of Y in the main grid line (X, Y) is completed, Y is judged2It can be expanded. Since at this time Y2The corresponding value of X is 3, so Y2The value set of (a) is a set of non-repeating Y values under the condition that X is 3 in the set C, i.e., [ e ]]。
The ninth step of unfolding Y2And (4) cell. As shown in FIG. 10, since Y2The main grid line of the unit cell covers the 5 th row, and Y2The number of data in a cell is 1, so line 5 will be copied 1 time. Y is2The intermediate table after the cells are expanded is shown in FIG. 7; when Y is2After being unfolded, Z ═ XHas been expanded,YThe method has been expanded and the device has been expanded,Y1 has been expanded, and the number of the channels is 1,Y2 has been expanded]。
And step ten, finding out the first unexpanded cell in the Z. Because there are no expandable cells in Z, the report instance is considered to have been generated. As shown in fig. 7, is the final rendering result of the report.
The embodiment of the invention carries out rendering on the electronic report template input rendering engine input by the user, identifies the design intention of the user in the electronic report template, and automatically expands based on the design intention, supports a more free report design mode, completely does not limit the layout of the report template, allows the user to change the design of the report without modifying the code of the system; meanwhile, the user experience is improved, and the method is more humanized.
The embodiment of the invention provides a method for designing and dynamically rendering an electronic report template, which comprises the following steps of S1: the method for acquiring the electronic report template generated by the online report design of the first user based on the online report designer comprises the following steps:
constructing a report parameter library and generating a report parameter list corresponding to the report parameter library;
acquiring the operation type performed by a first user, and acquiring report parameters selected by the first user from a report parameter list;
generating a first design operation based on the operation type and the report parameters, and responding to the first design operation;
and when the first user inputs a design finishing instruction, generating an electronic report template and finishing acquisition.
The working principle and the beneficial effects of the technical scheme are as follows:
a report parameter library is constructed in advance (parameters contained in the database are, for example, functions, rules and the like), and a corresponding report parameter list is generated for a user to select (for example, the report parameter list is displayed by a floating window); obtaining the operation type (for example, defining a formula in a table column) performed by a user, obtaining a report parameter (for example, a formula) selected by the user, generating a first design operation and responding;
the parameters are defined in the online report designer provided by the invention, the defined parameters can participate in a plurality of links of report design, and the scope of the defined parameters is the whole report. When generating SQL (structured query language) of database, the support refers to the defined parameter; as shown in FIG. 8, in configuring the rule conditions in the report, support refers to the defined parameters; the parameters are allowed to be transmitted into the functions defined by the system and participate in formula operation; the parameters can be bound with form controls defined by the system, so that specific values of the parameters can be collected from a browser end; and when the user jumps out of the current report interface through clicking action, the parameter is transmitted to the target interface in a supporting way. After the report is designed, the detailed configuration information of the report is stored in the database software system. And generating a unique network access address for the current report. The user accesses the interface calling layer, requests to access the report and transmits the unique access identifier and the dynamic parameters of the report. The system loads the configuration information of the specified report form from the database system software. And loading the configuration information and the dynamic parameters of the specified report by the report rendering engine, judging the validity of the parameters, and rendering an example of the current report. The instance is returned to the caller. The importance of the parameters is that the report form is provided with great flexibility in design; meanwhile, the system is better integrated with a third-party system; for example, an integration scenario of the independent business system B and the report F designed for its order module is shown in fig. 9. The "order unique identifier" is a predefined parameter in the report F. The different parameter values cause the rendering engine to load different data from the specified data source, thereby generating a corresponding report instance for each order.
The embodiment of the invention provides a method for designing and dynamically rendering an electronic report form template, which is used for recommending design operation to a first user when responding to first design operation and recommending the design operation to the first user;
the design operation recommendation of the first user comprises the following steps:
acquiring at least one first design operation record item corresponding to a first user;
determining at least one second user associated with the first user based on a preset associated user library;
acquiring at least one second design operation record item corresponding to a second user;
randomly setting a target to be eliminated, wherein the target to be eliminated comprises the following steps: a first design operation record item and a second design operation record item;
acquiring a first source scene of a target to be eliminated;
determining a source area corresponding to a target to be removed in a first source scene, and simultaneously determining at least one adjacent area adjacent to the source area in the first source scene;
acquiring at least one first triggerable item arranged on the adjacent area;
acquiring a region association library corresponding to a first source scene, and determining at least one association region associated with the source region in the first source scene based on the region association library;
acquiring at least one second triggerable item set on the associated area;
randomly setting a target to be triggered, wherein the target to be triggered comprises: a first triggerable item and a second triggerable item;
acquiring a preset trigger space, and placing a source region and a target to be triggered in the trigger space;
acquiring a preset trigger mode set, wherein the trigger mode set comprises: a plurality of first trigger modes;
traversing a first trigger mode in the trigger mode set and using the first trigger mode as a second trigger mode;
attempting to trigger the target to be triggered by using a second triggering mode, if the triggering is successful, capturing at least one first triggering behavior generated after the target to be triggered is triggered, and meanwhile, using the used second triggering mode as a third triggering mode;
acquiring at least one first malicious behavior corresponding to the third triggering mode;
performing behavior matching on the first malicious behavior and the first trigger behavior, if the matching is in accordance with the first malicious behavior, taking the first trigger behavior matched with the first malicious behavior as a second trigger behavior, and simultaneously taking the first malicious behavior matched with the first malicious behavior as a second malicious behavior;
acquiring a preset intrusion direction determination model, and inputting a source region and a second malicious behavior into the intrusion direction determination model to acquire at least one intrusion direction;
acquiring a behavior direction of a first trigger behavior, carrying out direction matching on the behavior direction and an invasion direction, and if the behavior direction and the invasion direction are matched, rejecting a corresponding target to be rejected;
when the targets to be eliminated are all eliminated, eliminating the remaining first design operation record item and the second design operation record item as a third design operation record item;
acquiring a provider corresponding to the third design operation record item, and acquiring a first source scene corresponding to the third design operation record item as a second source scene;
acquiring a guarantee value for guaranteeing the provider by the second source scene, and if the guarantee value is less than or equal to a preset guarantee value threshold, rejecting a corresponding third design operation record item;
when all the third design operation record items needing to be removed are removed, the remaining third design operation record items are removed to be used as fourth design operation record items;
acquiring a preset neural network model, inputting a fourth design operation record item into the neural network model for model training, and acquiring a design operation prediction model;
acquiring a first design operation input by a first user within a preset time period, and taking the first design operation as a second design operation;
classifying the second design operation based on a preset classification rule to obtain a plurality of design operation sets;
inputting the design operation set into a design operation prediction model to obtain a plurality of first prediction items, wherein the first prediction items comprise: a third design operation, at least one fourth design operation corresponding to the third design operation, and an execution order of the third design operation and the fourth design operation;
acquiring a current design result of a first user;
acquiring a preset effect evaluation model, inputting a current design result and a first prediction item into the effect evaluation model, acquiring an evaluation value, and associating the evaluation value with the first prediction item;
if the evaluation value associated with the first prediction item is greater than or equal to a preset evaluation threshold value, taking the first prediction item as a second prediction item;
integrating the second prediction items to obtain a recommendation list, and outputting the recommendation list;
acquiring a second prediction item selected from the recommendation list by the first user, and taking the second prediction item as a third prediction item;
and responding to the third design operation and the fourth design operation in the third prediction item in sequence based on the execution sequence in the third prediction item.
The working principle and the beneficial effects of the technical scheme are as follows:
when the first user designs the preprocessing result based on the online report designer, design operation recommendation can be carried out on the first user; when the design operation recommendation is carried out, the design habit of the first user needs to be captured, and the design operation which is possibly carried out by the first user is presumed based on the design habit, so that a first design operation record item (historically, a design operation record generated by the first user) of the first user is obtained; in order to improve the speculation capacity, a second user related to the first user is determined based on a preset related first user library (comprising a database of first users having different association relations with different first users, wherein the association relations are specifically guided by a guide person when the first user library and the second user library are used for learning the operation of the online report designer), and a second design operation record item of the second user is obtained; however, since different users may use online report designers of different development companies, and the sources of design operation records are different, in order to ensure the reliability of the source of the design operation record item, the source of the design operation record item needs to be verified; setting a target to be eliminated, and determining a first source scene (such as a certain webpage); determining a source area (e.g., a location area in a web page); when the target to be removed is obtained, data crawling is necessarily performed from a source region, however, invasion (for example, trojan implantation) may be performed in the crawling process, and a malicious source capable of invading the source region may be located in an adjacent region of the source region or a related region of the source region; therefore, the adjacent area is determined, and the associated area is determined based on the corresponding area association library (a database containing the association relation among different areas in the webpage, wherein the association relation is specifically, for example, jumping and the like); determining a first triggerable item (such as a clickable item in a webpage, for example, certain hidden data which is sensed to be accessed by sensitive data, automatically triggered and prepared for intrusion) and a second triggerable item (the same as the first triggerable item); setting a target to be triggered, and placing a source region and the target to be triggered in a preset triggering space (a virtual space which is isolated from the outside for ensuring the safety); triggering a target to be triggered based on a first triggering mode (such as clicking, simulating access and the like), and capturing a first triggering behavior if the triggering is successful; acquiring a first malicious behavior (such as data stealing, attachment and the like) corresponding to a first trigger mode which is successfully used for triggering, matching the first malicious behavior with the first trigger behavior, and if the first malicious behavior is matched with the first trigger behavior, indicating that the first trigger behavior has the possibility of being invaded, but the direction of the first trigger behavior is not necessarily specific to a source region, so that the source region and the second malicious behavior are input into a preset invasion direction determination model (a model generated after a large number of records for manually determining the invasion direction of the malicious behavior are learned by using a machine learning algorithm, for example, the malicious behavior is stealing, the invasion direction is capturing access ip and connecting with the local), if the behavior direction is matched with the invasion direction, the malicious behavior is malicious behavior, and a target to be removed is not credible and is removed; the source scene is only a platform for data release, when the source scene is determined to be credible, a provider corresponding to the third design operation record item still needs to be verified, a guarantee value for guaranteeing the third design operation record item by the source scene is obtained (the provider needs to release data and needs to guarantee the source scene, the guarantee value is larger, the guarantee strength is larger), and if the guarantee value is smaller, the corresponding third design operation record item is removed; after double verification, inputting the fourth design operation record item into the neural network model for model training to obtain a design operation prediction model for predicting the design operation which the first user may want to perform next; when the design operation is predicted, not only the design operation generated by the user in a preset time period (for example, within about 15 minutes) but also the matching degree of the predicted design operation and the current design whole body are considered; therefore, a design operation set is obtained based on a preset classification rule (for example, operations performed by a user on a certain line fall into a class); setting an effect evaluation model (a model generated after learning a record of evaluating the matching degree of a current design whole by a large amount of manual work on a certain design operation by using a machine learning algorithm), and determining an evaluation value; determining a recommendation list based on the evaluation value, and recommending;
according to the embodiment of the invention, design operation recommendation is carried out on the first user, so that the user experience is improved, and the method is more humanized and helps the first user to carry out electronic form design operation; when design operation recommendation is carried out, not only a first design operation record item of a first user is obtained, but also a second design operation record item of a second user associated with the first user is obtained, a design operation prediction model is prepared to be trained, and the capability of design operation prediction is improved; meanwhile, the first design operation record item and the second design operation record item are screened, double verification is carried out aiming at a source scene and a provider, the reliability of a source is ensured, and the verification process is fine and reasonable; in addition, when the recommendation is prepared, the matching degree of the predicted design operation and the current design is considered, so that the method is more reasonable, and the auxiliary design is more efficient.
The embodiment of the invention provides a method for designing and dynamically rendering an electronic report form template, which further comprises the following steps:
supplementing the trigger mode set at regular time;
wherein, regularly supplementing the trigger mode set includes:
acquiring at least one fourth trigger mode to be supplemented;
obtaining at least one test record corresponding to the fourth trigger mode, where the test record includes: at least one tester, a test strategy and a test result adopted by the tester;
acquiring an experience value of the tester, and acquiring the feasibility degree of the test strategy;
extracting a plurality of result values in the test result;
calculating a judgment index of the fourth trigger mode based on the empirical value, the feasibility degree and the result value, wherein the calculation formula is as follows:
Figure GDA0003569498740000181
wherein σ is a determination index of the fourth trigger mode, δ1、δ2And delta3Is a preset weight value, PJ,dThe empirical value L of the d test person in the J test record corresponding to the fourth trigger modeJThe total number beta of the testers in the J test record corresponding to the fourth trigger modeJThe feasibility degree, K, of the test strategy adopted by the tester in the J test record corresponding to the fourth trigger modeJ,tThe result value R is the t-th result value in the test result in the J-th test record corresponding to the fourth trigger modeJThe total number of the result values in the test result in the jth test record corresponding to the fourth trigger mode is Q, which is the total number of the test records corresponding to the fourth trigger mode;
if the judgment index is larger than or equal to a preset judgment index threshold value, supplementing the corresponding fourth trigger mode to the trigger mode set;
and when the fourth trigger modes needing to be supplemented to the trigger mode set are all supplemented, completing the supplementation of the trigger mode set.
The working principle and the beneficial effects of the technical scheme are as follows:
in order to ensure the availability of the trigger mode set and improve the capability of triggering malicious triggerable items, the trigger mode set needs to be expanded regularly; when the trigger mode set is expanded, at least one newly generated fourth trigger mode is obtained, and a test record of the fourth trigger mode is obtained, wherein the test record comprises the participating testers, the adopted test strategy and the test result; acquiring experience values of testers and the feasibility of a test strategy (the higher the feasibility is, the more credible the test result is), and extracting result values in the test result (the larger the result value is, the more feasible the triggering mode is); calculating a judgment index based on the empirical value, the feasibility degree and the result value, and supplementing the trigger mode set corresponding to the fourth trigger mode when the judgment index is greater than or equal to a preset judgment index threshold value;
in the formula, the empirical value, the feasibility degree and the result value are all in positive correlation with the judgment index and are reasonably set.
The embodiment of the invention provides a method for designing and dynamically rendering an electronic report form template, wherein in the step S2, a rendering result is output, and the method comprises the following steps:
acquiring identities of a plurality of third users needing to check rendering results, and acquiring first important values corresponding to the identities;
taking the third user corresponding to the maximum first importance value as a fourth user, and taking the rest third users as fifth users;
performing importance analysis on each first result item in the rendering result to obtain a second importance value of each first display block in the first result item;
taking the first display block corresponding to the maximum second importance value as a second display block, and taking the rest first display blocks as third display blocks;
judging whether a fourth user watches any first display block or not based on an attention analysis technology;
if so, acquiring the watching position of the fourth user, and simultaneously taking the corresponding first result item as a second result item;
determining a display position corresponding to the watching position, and moving a second display block in the second result item to the display position for displaying;
and randomly displaying the third display block in the second result item.
The working principle and the beneficial effects of the technical scheme are as follows:
acquiring identities (setting a camera, acquiring face information and determining the identities), acquiring first important values corresponding to the identities, and determining the most important fourth user based on the first important values; performing importance analysis (for example, analyzing data needing leader check) on each first result item (for example, a histogram set and the like) in the rendering result, determining a second importance value of each first display block in the result item, and determining the most important second display block based on the second importance value; when a fourth user watches any one first display block, the most important corresponding second display block is moved to a display position (position on a display screen) corresponding to the watching position of the fourth user, so that important items can be guaranteed to be watched by the important user, and the display efficiency is improved; in addition, the user can set the importance value of each display block during design.
The embodiment of the invention provides a system for electronic report template design and dynamic rendering, as shown in fig. 10, comprising:
the system comprises a design module 1, a report generation module and a report generation module, wherein the design module is used for acquiring an electronic report template generated by a first user for online report design based on an online report designer;
and the rendering module 2 is used for inputting the electronic report template into a preset report rendering engine for rendering and outputting a rendering result.
The embodiment of the invention provides a system for designing and dynamically rendering an electronic report form template, wherein a rendering module 2 executes the following operations:
step S201: identifying expandable cells in the electronic report template, sequencing the expandable cells according to the corresponding original sequence to obtain a set Z, and simultaneously obtaining a main grid line formed by the expandable cells;
step S202: selecting the expandable cells which are not expanded from the set Z and using the expandable cells as current cells;
step S203: if the left side of the current cell on the main grid line does not have an expandable cell which is not expanded yet, executing step S205, otherwise executing step S204;
step S204: taking the expandable cell adjacent to the left side of the current cell on the main grid line as a new current cell, and executing the step S203;
step S205: determining the number of data in the current cell, expanding the current cell, copying the continuous rows and the continuous columns corresponding to the main grid lines in the electronic report template for a number of times, and taking the current cell as an expanded state;
step S206: and (6) repeatedly executing the step (S202) to the step (S205), finishing preprocessing when no extensible unit cell which is not expanded yet exists in the set Z, and taking the electronic report form template as a preprocessing result.
The embodiment of the invention provides a system for designing and dynamically rendering an electronic report form template, wherein a design module 1 executes the following operations:
constructing a report parameter library and generating a report parameter list corresponding to the report parameter library;
acquiring the operation type performed by a first user, and acquiring report parameters selected by the first user from a report parameter list;
generating a first design operation based on the operation type and the report parameters, and responding to the first design operation;
and when the first user inputs a design finishing instruction, generating an electronic report form template and finishing the acquisition.
The embodiment of the invention provides a system for designing and dynamically rendering an electronic report form template, wherein a design module 1 executes the following operations:
acquiring at least one first design operation record item corresponding to a first user;
determining at least one second user associated with the first user based on a preset associated user library;
acquiring at least one second design operation record item corresponding to a second user;
randomly setting a target to be eliminated, wherein the target to be eliminated comprises the following steps: a first design operation record item and a second design operation record item;
acquiring a first source scene of a target to be eliminated;
determining a source area corresponding to a target to be removed in a first source scene, and simultaneously determining at least one adjacent area adjacent to the source area in the first source scene;
acquiring at least one first triggerable item arranged on the adjacent area;
acquiring a region association library corresponding to a first source scene, and determining at least one association region associated with the source region in the first source scene based on the region association library;
acquiring at least one second triggerable item set on the associated area;
randomly setting a target to be triggered, wherein the target to be triggered comprises: a first triggerable item and a second triggerable item;
acquiring a preset trigger space, and placing a source region and a target to be triggered in the trigger space;
acquiring a preset trigger mode set, wherein the trigger mode set comprises: a plurality of first trigger modes;
traversing a first trigger mode in the trigger mode set and using the first trigger mode as a second trigger mode;
attempting to trigger the target to be triggered by using a second triggering mode, if the triggering is successful, capturing at least one first triggering behavior generated after the target to be triggered is triggered, and meanwhile, using the used second triggering mode as a third triggering mode;
acquiring at least one first malicious behavior corresponding to the third triggering mode;
performing behavior matching on the first malicious behavior and the first trigger behavior, if the matching is in accordance, taking the first trigger behavior matched with the first malicious behavior as a second trigger behavior, and simultaneously taking the first malicious behavior matched with the first malicious behavior as a second malicious behavior;
acquiring a preset intrusion direction determination model, and inputting a source region and a second malicious behavior into the intrusion direction determination model to acquire at least one intrusion direction;
acquiring a behavior direction of a first trigger behavior, carrying out direction matching on the behavior direction and an invasion direction, and if the behavior direction and the invasion direction are matched, rejecting a corresponding target to be rejected;
when the targets to be eliminated are all eliminated, eliminating the remaining first design operation record item and the second design operation record item as a third design operation record item;
acquiring a provider corresponding to the third design operation record item, and acquiring a first source scene corresponding to the third design operation record item as a second source scene;
acquiring a guarantee value for guaranteeing the provider by the second source scene, and if the guarantee value is less than or equal to a preset guarantee value threshold, rejecting a corresponding third design operation record item;
when all the third design operation record items needing to be removed are removed, the remaining third design operation record items are removed to be used as fourth design operation record items;
acquiring a preset neural network model, inputting a fourth design operation record item into the neural network model for model training, and acquiring a design operation prediction model;
acquiring a first design operation input by a first user within a preset time period, and taking the first design operation as a second design operation;
classifying the second design operation based on a preset classification rule to obtain a plurality of design operation sets;
inputting the design operation set into a design operation prediction model to obtain a plurality of first prediction items, wherein the first prediction items comprise: a third design operation, at least one fourth design operation corresponding to the third design operation, and an execution order of the third design operation and the fourth design operation;
acquiring a current design result of a first user;
acquiring a preset effect evaluation model, inputting a current design result and a first prediction item into the effect evaluation model, acquiring an evaluation value, and associating the evaluation value with the first prediction item;
if the evaluation value associated with the first prediction item is greater than or equal to a preset evaluation threshold value, taking the first prediction item as a second prediction item;
integrating the second prediction items to obtain a recommendation list, and outputting the recommendation list;
acquiring a second prediction item selected from the recommendation list by the first user, and taking the second prediction item as a third prediction item;
and responding to the third design operation and the fourth design operation in the third prediction item in sequence based on the execution sequence in the third prediction item.
The embodiment of the invention provides a system for designing and dynamically rendering an electronic report form template, which further comprises:
the supplementing module is used for supplementing the triggering mode set at regular time;
the supplementary module performs the following operations:
acquiring at least one fourth trigger mode to be supplemented;
obtaining at least one test record corresponding to the fourth trigger mode, where the test record includes: at least one tester, a test strategy and a test result adopted by the tester;
acquiring an experience value of the tester, and acquiring the feasibility degree of the test strategy;
extracting a plurality of result values in the test result;
calculating a judgment index of the fourth trigger mode based on the empirical value, the feasibility degree and the result value, wherein the calculation formula is as follows:
Figure GDA0003569498740000231
wherein σ is a determination index of the fourth trigger mode, δ1、δ2And delta3Is a preset weight value, PJ,dThe empirical value L of the d test person in the J test record corresponding to the fourth trigger modeJThe total number beta of the testers in the J test record corresponding to the fourth trigger modeJThe feasibility degree, K, of the test strategy adopted by the tester in the J test record corresponding to the fourth trigger modeJ,tThe result value R is the t-th result value in the test result in the J-th test record corresponding to the fourth trigger modeJThe total number of the result values in the test result in the jth test record corresponding to the fourth trigger mode is Q, which is the total number of the test records corresponding to the fourth trigger mode;
if the judgment index is larger than or equal to a preset judgment index threshold value, supplementing the corresponding fourth trigger mode to the trigger mode set;
and when the fourth trigger modes needing to be supplemented to the trigger mode set are all supplemented, completing the supplementation of the trigger mode set.
The embodiment of the invention provides a system for designing and dynamically rendering an electronic report form template, wherein a rendering module 2 executes the following operations:
acquiring identities of a plurality of third users needing to check rendering results, and acquiring first important values corresponding to the identities;
taking the third user corresponding to the maximum first importance value as a fourth user, and taking the rest third users as fifth users;
performing importance analysis on each first result item in the rendering result to obtain a second importance value of each first display block in the first result item;
taking the first display block corresponding to the maximum second important value as a second display block, and simultaneously taking the rest first display blocks as third display blocks;
judging whether a fourth user watches any first display block or not based on an attention analysis technology;
if so, acquiring the watching position of the fourth user, and simultaneously taking the corresponding first result item as a second result item;
determining a display position corresponding to the watching position, and moving a second display block in the second result item to the display position for displaying;
and randomly displaying the third display block in the second result item.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for electronic report template design and dynamic rendering is characterized by comprising the following steps:
step S1: acquiring an electronic report template generated by a first user on-line report design based on an on-line report designer;
step S2: inputting the electronic report template into a preset report rendering engine for rendering, and outputting a rendering result;
the step S2: inputting the electronic report template into a preset report rendering engine for rendering, and outputting a rendering result, wherein the rendering result comprises the following steps:
step S201: identifying expandable cells in the electronic report template, sequencing the expandable cells according to a corresponding original sequence to obtain a set Z, and simultaneously obtaining a main grid line formed by the expandable cells, wherein the original sequence is a cell arrangement sequence formed by all the expandable cells in the report model according to the sequence from left to right and from top to bottom, and the main grid line is a chain formed by the definition of the expandable cells and parent grids thereof;
step S202: selecting the expandable cells which are not expanded from the set Z and using the expandable cells as current cells;
step S203: if the left side of the current cell on the main grid line does not have the expandable cell which is not expanded yet, executing step S205, otherwise executing step S204;
step S204: taking the expandable cell adjacent to the left side of the current cell on the main grid line as a new current cell, and executing step S203;
step S205: determining the number of data in the current cell, expanding the current cell, copying the number of times in continuous rows and continuous columns corresponding to the main grid lines in the electronic report template, and taking the current cell as an expanded state;
step S206: and repeatedly executing the step S202 to the step S205, finishing preprocessing when no expandable cell which is not expanded yet exists in the set Z, and taking the electronic report form template as a rendering result.
2. The method for electronic report template design and dynamic rendering according to claim 1, wherein the step S1: the method for acquiring the electronic report template generated by the online report design of the first user based on the online report designer comprises the following steps:
constructing a report parameter library and generating a report parameter list corresponding to the report parameter library;
acquiring the operation type performed by the first user, and acquiring the report parameters selected by the first user from the report parameter list;
generating a first design operation based on the operation type and the report parameters, and responding to the first design operation;
and when the first user inputs a design finishing instruction, generating an electronic report template and finishing acquisition.
3. The method of claim 2, wherein in response to the first design operation, a recommendation of design operations is made to the first user;
wherein the recommending design operation for the first user comprises:
acquiring at least one first design operation record item corresponding to the first user;
determining at least one second user associated with the first user based on a preset associated user library;
acquiring at least one second design operation record item corresponding to the second user;
randomly setting a target to be eliminated, wherein the target to be eliminated comprises: the first design operation entry and the second design operation entry;
acquiring a first source scene of the target to be eliminated;
determining a source area corresponding to the target to be removed in the first source scene, and simultaneously determining at least one adjacent area adjacent to the source area in the first source scene;
acquiring at least one first triggerable item arranged on the adjacent area;
acquiring a region association library corresponding to the first source scene, and determining at least one association region associated with the source region in the first source scene based on the region association library;
acquiring at least one second triggerable item set on the associated area;
randomly setting a target to be triggered, wherein the target to be triggered comprises: the first triggerable item and the second triggerable item;
acquiring a preset trigger space, and placing the source area and the target to be triggered in the trigger space;
acquiring a preset trigger mode set, wherein the trigger mode set comprises: a plurality of first trigger modes;
traversing the first trigger mode in the trigger mode set and using the first trigger mode as a second trigger mode;
attempting to trigger the target to be triggered by using the second triggering mode, if the triggering is successful, capturing at least one first triggering behavior generated after the target to be triggered is triggered, and meanwhile, using the second triggering mode as a third triggering mode;
acquiring at least one first malicious behavior corresponding to the third trigger mode;
performing behavior matching on the first malicious behavior and the first trigger behavior, if the matching is in accordance with the first malicious behavior, taking the first trigger behavior matched with the first malicious behavior as a second trigger behavior, and simultaneously taking the first malicious behavior matched with the first malicious behavior as a second malicious behavior;
acquiring a preset intrusion direction determining model, inputting the source area and the second malicious behavior into the intrusion direction determining model, and acquiring at least one intrusion direction;
acquiring the behavior direction of the first trigger behavior, performing direction matching on the behavior direction and the intrusion direction, and if the behavior direction and the intrusion direction are matched, removing the target to be removed;
when the targets to be eliminated are all eliminated, eliminating the remaining first design operation record items and the second design operation record items as third design operation record items;
acquiring a provider corresponding to the third design operation record item, and acquiring a first source scene corresponding to the third design operation record item as a second source scene;
acquiring a guarantee value for guaranteeing the provider by the second source scene, and if the guarantee value is less than or equal to a preset guarantee value threshold, rejecting the corresponding third design operation record item;
when the third design operation record items needing to be removed are all removed, the remaining third design operation record items are removed to be used as fourth design operation record items;
acquiring a preset neural network model, inputting the fourth design operation record item into the neural network model for model training, and acquiring a design operation prediction model;
acquiring the first design operation input by the first user within a preset time period, and taking the first design operation as a second design operation;
classifying the second design operation based on a preset classification rule to obtain a plurality of design operation sets;
inputting the design operation set into the design operation prediction model to obtain a plurality of first prediction items, wherein the first prediction items comprise: a third design operation, at least one fourth design operation corresponding to the third design operation, and an execution order of the third design operation and the fourth design operation;
acquiring a current design result of the first user;
acquiring a preset effect evaluation model, inputting the current design result and the first prediction item into the effect evaluation model, acquiring an evaluation value, and associating the evaluation value with the first prediction item;
if the evaluation value associated with the first prediction item is greater than or equal to a preset evaluation threshold value, taking the first prediction item as a second prediction item;
integrating the second prediction items to obtain a recommendation list, and outputting the recommendation list;
acquiring the second prediction item selected from the recommendation list by the first user, and taking the second prediction item as a third prediction item;
sequentially responding to the third design operation and the fourth design operation in the third prediction item based on the execution order in the third prediction item.
4. The method for electronic report template design and dynamic rendering as claimed in claim 1, wherein in step S2, outputting the rendering result comprises:
acquiring identities of a plurality of third users needing to view the rendering result, and acquiring a first important value corresponding to the identities;
taking the third user corresponding to the maximum first importance value as a fourth user, and taking the rest of the third users as fifth users;
performing importance analysis on each first result item in the rendering result to obtain a second importance value of each first display block in the first result item;
taking the first display block corresponding to the maximum second importance value as a second display block, and taking the rest first display blocks as third display blocks;
determining whether the fourth user gazes at any of the first display blocks based on an attention analysis technique;
if so, acquiring the watching position of the fourth user, and simultaneously taking the corresponding first result item as a second result item;
determining a display position corresponding to the watching position, and moving the second display block in the second result item to the display position for displaying;
and randomly displaying the third display block in the second result item.
5. A system for electronic report template design and dynamic rendering is characterized by comprising:
the system comprises a design module, a report generation module and a report generation module, wherein the design module is used for acquiring an electronic report template generated by a first user for online report design based on an online report designer;
the rendering module is used for inputting the electronic report template into a preset report rendering engine for rendering and outputting a rendering result;
the rendering module performs the following operations:
step S201: identifying expandable cells in the electronic report template, sequencing the expandable cells according to a corresponding original sequence to obtain a set Z, and simultaneously obtaining a main grid line formed by the expandable cells, wherein the original sequence is a cell arrangement sequence formed by all the expandable cells in the report model according to the sequence from left to right and from top to bottom, and the main grid line is a chain formed by the expandable cells and parent grids thereof;
step S202: selecting the expandable cells which are not expanded from the set Z and using the expandable cells as current cells;
step S203: if the left side of the current cell on the main grid line does not have the expandable cell which is not expanded yet, executing step S205, otherwise executing step S204;
step S204: taking the expandable cell adjacent to the left side of the current cell on the main grid line as a new current cell, and executing step S203;
step S205: determining the number of data in the current cell, expanding the current cell, copying the number of times in continuous rows and continuous columns corresponding to the main grid lines in the electronic report template, and taking the current cell as an expanded state;
step S206: and repeatedly executing the step S202 to the step S205, finishing preprocessing when no extensible unit cell which is not expanded yet exists in the set Z, and taking the electronic report template as a preprocessing result.
6. The system for electronic report template design and dynamic rendering of claim 5, wherein the design module performs the following operations:
constructing a report parameter library and generating a report parameter list corresponding to the report parameter library;
acquiring the operation type performed by the first user, and acquiring the report parameters selected by the first user from the report parameter list;
generating a first design operation based on the operation type and the report parameters, and responding to the first design operation;
and when the first user inputs a design finishing instruction, generating an electronic report template and finishing acquisition.
7. The system for electronic report template design and dynamic rendering of claim 6, wherein the design module performs the following operations:
acquiring at least one first design operation record item corresponding to the first user;
determining at least one second user associated with the first user based on a preset associated user library;
acquiring at least one second design operation record item corresponding to the second user;
randomly setting a target to be eliminated, wherein the target to be eliminated comprises: the first design operation record item and the second design operation record item;
acquiring a first source scene of the target to be eliminated;
determining a source area corresponding to the target to be removed in the first source scene, and simultaneously determining at least one adjacent area adjacent to the source area in the first source scene;
acquiring at least one first triggerable item arranged on the adjacent area;
acquiring a region association library corresponding to the first source scene, and determining at least one association region associated with the source region in the first source scene based on the region association library;
acquiring at least one second triggerable item set on the associated area;
randomly setting a target to be triggered, wherein the target to be triggered comprises: the first triggerable item and the second triggerable item;
acquiring a preset trigger space, and placing the source area and the target to be triggered in the trigger space;
acquiring a preset trigger mode set, wherein the trigger mode set comprises: a plurality of first trigger modes;
traversing the first trigger mode in the trigger mode set and using the first trigger mode as a second trigger mode;
attempting to trigger the target to be triggered by using the second triggering mode, if the triggering is successful, capturing at least one first triggering behavior generated after the target to be triggered is triggered, and meanwhile, using the second triggering mode as a third triggering mode;
acquiring at least one first malicious behavior corresponding to the third trigger mode;
performing behavior matching on the first malicious behavior and the first trigger behavior, if the matching is in accordance with the first malicious behavior, taking the first trigger behavior matched with the first malicious behavior as a second trigger behavior, and simultaneously taking the first malicious behavior matched with the first malicious behavior as a second malicious behavior;
acquiring a preset intrusion direction determining model, inputting the source area and the second malicious behavior into the intrusion direction determining model, and acquiring at least one intrusion direction;
acquiring the behavior direction of the first trigger behavior, performing direction matching on the behavior direction and the intrusion direction, and if the behavior direction and the intrusion direction are matched, removing the target to be removed;
when the targets to be eliminated are all eliminated, eliminating the remaining first design operation record item and the second design operation record item to be used as a third design operation record item;
acquiring a provider corresponding to the third design operation record item, and acquiring a first source scene corresponding to the third design operation record item as a second source scene;
acquiring a guarantee value for guaranteeing the provider by the second source scene, and if the guarantee value is less than or equal to a preset guarantee value threshold, rejecting the corresponding third design operation record item;
when the third design operation record items needing to be removed are all removed, the remaining third design operation record items are removed to be used as fourth design operation record items;
acquiring a preset neural network model, inputting the fourth design operation record item into the neural network model for model training, and acquiring a design operation prediction model;
acquiring the first design operation input by the first user within a preset time period, and taking the first design operation as a second design operation;
classifying the second design operation based on a preset classification rule to obtain a plurality of design operation sets;
inputting the design operation set into the design operation prediction model to obtain a plurality of first prediction items, wherein the first prediction items comprise: a third design operation, at least one fourth design operation corresponding to the third design operation, and an execution order of the third design operation and the fourth design operation;
acquiring a current design result of the first user;
acquiring a preset effect evaluation model, inputting the current design result and the first prediction item into the effect evaluation model, acquiring an evaluation value, and associating the evaluation value with the first prediction item;
if the evaluation value associated with the first prediction item is greater than or equal to a preset evaluation threshold value, taking the first prediction item as a second prediction item;
integrating the second prediction items to obtain a recommendation list, and outputting the recommendation list;
acquiring the second prediction item selected from the recommendation list by the first user, and taking the second prediction item as a third prediction item;
sequentially responding to the third design operation and the fourth design operation in the third prediction item based on the execution order in the third prediction item.
8. The system for electronic report template design and dynamic rendering of claim 5, wherein the rendering module performs the following operations:
acquiring identities of a plurality of third users needing to view the rendering result, and acquiring a first importance value corresponding to the identities;
taking the third user corresponding to the maximum first importance value as a fourth user, and taking the rest of the third users as fifth users;
performing importance analysis on each first result item in the rendering result to obtain a second importance value of each first display block in the first result item;
taking the first display block corresponding to the maximum second importance value as a second display block, and taking the rest first display blocks as third display blocks;
determining whether the fourth user gazes at any of the first display blocks based on an attention analysis technique;
if so, acquiring the watching position of the fourth user, and simultaneously taking the corresponding first result item as a second result item;
determining a display position corresponding to the watching position, and moving the second display block in the second result item to the display position for displaying;
and randomly displaying the third display block in the second result item.
CN202111392643.1A 2021-11-23 2021-11-23 Method and system for designing and dynamically rendering electronic report form template Active CN114048722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111392643.1A CN114048722B (en) 2021-11-23 2021-11-23 Method and system for designing and dynamically rendering electronic report form template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111392643.1A CN114048722B (en) 2021-11-23 2021-11-23 Method and system for designing and dynamically rendering electronic report form template

Publications (2)

Publication Number Publication Date
CN114048722A CN114048722A (en) 2022-02-15
CN114048722B true CN114048722B (en) 2022-05-24

Family

ID=80210487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111392643.1A Active CN114048722B (en) 2021-11-23 2021-11-23 Method and system for designing and dynamically rendering electronic report form template

Country Status (1)

Country Link
CN (1) CN114048722B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199928A (en) * 2020-10-16 2021-01-08 深圳无域科技技术有限公司 Report system based on machine learning and report generation method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046824A (en) * 2007-04-18 2007-10-03 北京润乾信息系统技术有限公司 Data association method based on unlinear report generation method
US20110088011A1 (en) * 2009-10-14 2011-04-14 Vermeg Sarl Automated Enterprise Software Development
CN103019728B (en) * 2012-12-20 2015-07-15 厦门亿力吉奥信息科技有限公司 Effective complex report parsing engine and parsing method thereof
CN104281447B (en) * 2014-09-01 2017-10-10 国家电网公司 The system and method that a kind of form is quickly generated and issued
US20210174004A1 (en) * 2019-12-05 2021-06-10 Brad Sherp Methods and systems for dynamic customization of independent webpage section templates
CN112395846B (en) * 2020-03-17 2021-07-06 北京三维天地科技股份有限公司 Electronic experiment record report generation system capable of configuring template

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199928A (en) * 2020-10-16 2021-01-08 深圳无域科技技术有限公司 Report system based on machine learning and report generation method

Also Published As

Publication number Publication date
CN114048722A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN110348562A (en) The quantization strategy of neural network determines method, image-recognizing method and device
CN108228873A (en) Object recommendation, publication content delivery method, device, storage medium and equipment
CN101324937B (en) System and method for roughening picture
CN106293074A (en) A kind of Emotion identification method and mobile terminal
CN109919304A (en) Neural network searching method, device, readable storage medium storing program for executing and computer equipment
CN110008455A (en) Table edit method, apparatus, computer equipment and storage medium
CN110889450B (en) Super-parameter tuning and model construction method and device
CN108304371A (en) Method, apparatus, computer equipment and the storage medium that Hot Contents excavate
CN113536097B (en) Recommendation method and device based on automatic feature grouping
CN109886415A (en) Data processing method, device, computer equipment and storage medium
CN113591215B (en) Abnormal satellite component layout detection method based on uncertainty
CN111008522A (en) Automatic article writing method and device, computer equipment and storage medium
CN114881343B (en) Short-term load prediction method and device for power system based on feature selection
Tran et al. Radflow: A recurrent, aggregated, and decomposable model for networks of time series
CN110516164A (en) A kind of information recommendation method, device, equipment and storage medium
CN114048722B (en) Method and system for designing and dynamically rendering electronic report form template
CN114707685A (en) Event prediction method and device based on big data modeling analysis
CN103902582A (en) Data warehouse redundancy reduction method and device
CN112749328B (en) Searching method, searching device and computer equipment
Yaghmaei-Sabegh A new method for ranking and weighting of earthquake ground-motion prediction models
CN116225567A (en) Page loading method and device, storage medium and computer equipment
CN110532448A (en) Document Classification Method, device, equipment and storage medium neural network based
CN110377741A (en) File classification method, intelligent terminal and computer readable storage medium
CN115576834A (en) Software test multiplexing method, system, terminal and medium for supporting fault recovery
Masrur et al. Spatiotemporal attention ConvLSTM networks for predicting and physically interpreting wildfire spread

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