CN115759028A - Free report model setting method and system and readable storage medium - Google Patents

Free report model setting method and system and readable storage medium Download PDF

Info

Publication number
CN115759028A
CN115759028A CN202211565400.8A CN202211565400A CN115759028A CN 115759028 A CN115759028 A CN 115759028A CN 202211565400 A CN202211565400 A CN 202211565400A CN 115759028 A CN115759028 A CN 115759028A
Authority
CN
China
Prior art keywords
design
cell
block
cells
design block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211565400.8A
Other languages
Chinese (zh)
Inventor
邓江华
屈国星
赵国滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN202211565400.8A priority Critical patent/CN115759028A/en
Publication of CN115759028A publication Critical patent/CN115759028A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a method and a system for setting a model of a free report and a readable storage medium, wherein the method for setting the model of the free report comprises the following steps: acquiring a cell list, wherein the cell list comprises a plurality of design cells; converting the design cell to obtain a service cell; carrying out structuralization processing on the service cell to obtain a design block; and sequentially processing the cell information in the design block, and collecting the cells on the same link together according to the cell information to form a design path. According to the technical scheme, the server is additionally provided with the design block layer and the design path layer during operation, the execution level is clear, a service scene with finer granularity is supported, and subsequent code maintenance and expansion are facilitated.

Description

Free report model setting method and system and readable storage medium
Technical Field
The application relates to the technical field of computers, in particular to a method and a system for setting a model of a free report and a readable storage medium.
Background
The free report is a statistical form designed based on a form sample or a template, shows a query type cell form similar to Excel, and customizes various Chinese style complex reports through flexible configuration of cells. The common free report model comprises a report object model, an object tab model and an area cell model from top to bottom in sequence. Common report model levels cannot meet the business requirements of the tab region level and cannot support a finer-grained business scene.
Disclosure of Invention
The present application aims to solve or improve the above technical problems.
Therefore, a first object of the present application is to provide a model setting method for a free report.
A second object of the present application is to provide a model setting system of a free report.
A third object of the present application is to provide a model setting system of a free report.
A fourth object of the present application is to provide a readable storage medium.
In order to achieve the first object of the present application, a technical solution of a first aspect of the present application provides a model setting method for a free report, including: acquiring a cell list, wherein the cell list comprises a plurality of design cells; converting the design cell to obtain a service cell; carrying out structuralization processing on the service cell to obtain a design block; and sequentially processing the cell information in the design block, and collecting the cells on the same link together according to the cell information to form a design path.
According to the model setting method of the free report, a cell list is obtained at first, and the cell list comprises a plurality of design cells. And then converting the design cells in the cell list to obtain the service cells. When the design cell is converted, the condition information of the design cell is acquired. The business cells are then structured to form a design block. After the block identification is finished, the cell information in the design block is processed one by one, and the cells of the same design link are identified together to form a design path. By adding the design block layer and the design path layer, the design concept of the free report is better met, the execution level is clear, and the maintenance and the expansion of the follow-up codes are convenient. The requirement that the client cell conditions act on the whole block is met, and meanwhile, the functional characteristics of the free report can be enriched in a finer-grained manner based on the expanded levels. And the space use controllability of the free report and the execution time control of the free report within a certain range can be ensured, and the problem of server breakdown caused by long-term service is avoided.
The design cell refers to a cell model formed when a user designs in the report designer. The service cell means that a server constructs a new service object model based on the received cell model in order to guarantee the consistency, integrity and isolation of parameters, and the service cell encapsulates the complete information of the originally designed cell. The link depends on the inter-cell relation, is used for showing the cell information in the same design direction, and is usually expressed as a row design. The inter-grid relationship indicates the logical precedence relationship of the two cells on the link, the cell with the logical relationship in the front is called a father grid, the cell with the logical relationship in the back is called a child grid, and the cell with the logical relationship in the back is commonly expressed as a left father and an upper father. The design block refers to a model expression formed logically by gathering and collecting the cells with the inter-cell relation. The design path refers to a model expression formed logically by gathering and collecting cells on a link together in a design block by organizing inter-cell relations with finer granularity.
In addition, the technical scheme provided by the application can also have the following additional technical characteristics:
in the above technical solution, the performing structural processing on the service cell to obtain the design block specifically includes: traversing the cell list; judging whether the current business cell has an inter-cell relation father cell; if not, constructing a design block and recording the service cell into the design block; if yes, obtaining the design block of the parent cell of the inter-cell relation.
In the technical scheme, the business cell is structured to obtain a design block, specifically a traversal cell list. If the current cell is the root, i.e. there is no parent cell of the inter-cell relationship, a design block is constructed for the current cell, and the cell is recorded in the design block, and then the processing of other cells is continued. And if the current cell is not the root, namely the parent cell of the inter-cell relation exists, acquiring the design block of the parent cell of the inter-cell relation. After all the cells are processed, a design block list can be obtained.
In the foregoing technical solution, if yes, obtaining a design block of a parent lattice of an inter-lattice relationship specifically includes: judging whether a design block of a parent lattice of the inter-lattice relationship exists or not; if yes, recording the service cell into a design block of the inter-cell relation father cell; if not, constructing the design block of the parent cell of the inter-cell relation.
In the technical scheme, the design block of the parent lattice of the inter-lattice relationship is obtained, specifically, whether the design block of the parent lattice of the inter-lattice relationship exists is judged, if the design block of the parent lattice already exists, the cell is directly recorded in the design block of the parent lattice, otherwise, the design block needs to be constructed for the parent lattice, and the processing logic is the same as that of the cell.
In the above technical solution, sequentially processing cell information in a design block, and grouping cells on the same link together according to the cell information to form a design path, specifically including: judging whether the current design block is an unbound block; if not, obtaining calculation optimization configuration, and grouping the service cells in the design block according to the model source; sequentially traversing the cell list of each model source to obtain cell list data; constructing a main design path according to the cell list data; and constructing an optimized design path according to the calculation optimization configuration, wherein the construction method of the optimized design path comprises a complex design block method and/or a simple design block method.
In the technical scheme, cell information in a design block is processed in sequence, cells on the same link are collected together according to the cell information to form a design path, and specifically, whether the current design block is an unbound block is judged. If the current processing block is an unbundled block, no processing is required. Otherwise, acquiring the calculation optimization configuration of the system in advance, and then grouping the cells in the design block according to the model source. And traversing the cell lists under each model source one by one to obtain cell list data. And constructing a main design path according to the cell list data. And constructing an optimized design path by a complex design block method or a simple design block method according to the calculation optimization configuration. By performing calculation optimization based on the design path alone, the accuracy of the calculation result can be ensured.
In the above technical solution, constructing an optimal design path according to the calculation optimization configuration specifically includes: extracting leaf nodes; constructing a path according to the leaf nodes; and after construction, carrying out optimization processing to obtain an optimized design path.
In the technical scheme, an optimized design path is constructed by a complex design block method. Specifically, leaf nodes are extracted firstly, then paths are constructed according to the leaf nodes, and optimization processing is carried out after construction to obtain an optimized design path. The complex design block method is used for constructing a design path from the final stage to the root node according to the leaf nodes, and the accuracy of a calculation result can be ensured by constructing an optimized design path through the complex design block method.
In the above technical solution, constructing an optimal design path according to the calculation optimization configuration specifically includes: extracting a root node; constructing a path according to the root node; and after construction, carrying out optimization processing to obtain an optimized design path.
In the technical scheme, an optimized design path is constructed by a simple design block method. Specifically, the root node is extracted first. A path is then constructed from the root nodes. And after construction, carrying out optimization processing to obtain an optimized design path. The simple block design method is used for constructing the design path from the root node to the child node, and the accuracy of the calculation result can be ensured by constructing the optimized design path through the simple block design method.
In the above technical solution, the structuring the service cell to obtain the design block further includes: and acquiring the conditions of the design block.
In the technical scheme, the design block condition is recorded in the process of structuring the service cell, so that preparation can be made for filtering the subsequent design block-level service data.
To achieve the second object of the present application, a technical solution of a second aspect of the present application provides a model setting system for free report, including: the device comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring a cell list, and the cell list comprises a plurality of design cells; the conversion module is used for converting the design cells to obtain service cells; the design block forming module is used for carrying out structuralization processing on the service cell to obtain a design block; and the design path forming module is used for sequentially processing the cell information in the design block and collecting the cells on the same link together according to the cell information to form a design path.
The model setting system of the free report provided by the application comprises an acquisition module, a conversion module, a design block forming module and a design path forming module. The obtaining module is used for obtaining a cell list, and the cell list comprises a plurality of design cells. The conversion module is used for converting the design cells to obtain the service cells. The design block forming module is used for carrying out structuralization processing on the service cell to obtain a design block. The design path forming module is used for sequentially processing the cell information in the design block and collecting the cells on the same link together according to the cell information to form a design path. By adding the design block layer and the design path layer, the design concept of the free report is better met, the execution level is clear, and the maintenance and the expansion of subsequent codes are convenient. The requirement that the client cell conditions act on the whole block is met, and meanwhile, the functional characteristics of the free report can be enriched in a finer-grained manner based on the expanded levels. And the space use controllability of the free report and the execution time control of the free report within a certain range can be ensured, and the problem of server breakdown caused by long-time service is avoided.
To achieve the third object of the present application, a technical solution of the third aspect of the present application provides a model setting system for a free report, including: the method for setting the free report according to the first aspect of the present invention includes a memory and a processor, where the memory stores a program or an instruction that can be executed on the processor, and the processor implements the method for setting the free report according to any one of the first aspect of the present invention when executing the program or the instruction.
To achieve the fourth object of the present application, in a fourth aspect of the present application, a readable storage medium is provided, where a program or an instruction is stored, and the program or the instruction is executed by a processor to implement the step of the model setting method for a free report according to any one of the first aspect of the present application, so that the method has the technical effect of any one of the first aspect of the present application, and is not described herein again.
Additional aspects and advantages of the present application will be set forth in part in the description which follows, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flowchart illustrating steps of a model setting method for a free form according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a method for setting a free form model according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of a method for setting a model of a free form according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating steps of a model setting method for a free form according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating steps of a method for setting a model of a free form according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating steps of a method for setting a free form model according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating steps of a method for setting a free form model according to an embodiment of the present application;
FIG. 8 is a block diagram illustrating the structure of a model setup system for a free-form report according to an embodiment of the present application;
FIG. 9 is a block diagram illustrating the structure of a model setup system for a free-form report according to another embodiment of the present application;
FIG. 10 is a flowchart illustrating steps of a method for model setup of a free-form report according to an embodiment of the present application;
FIG. 11 is a flowchart illustrating steps of a method for model setup of a free-form report according to an embodiment of the present application;
FIG. 12 is an experimental verification diagram of a model setup method for a free form according to an embodiment of the present application;
FIG. 13 is an experimental verification diagram of a model setup method for a free form according to an embodiment of the present application;
FIG. 14 is an experimental verification diagram of a model setup method for a free form according to an embodiment of the present application;
fig. 15 is an experimental verification diagram of a model setting method of a free report according to an embodiment of the present application.
Wherein, the correspondence between the reference numbers and the part names in fig. 8 and 9 is:
10: a model setting system of the free report; 110: an acquisition module; 120: a conversion module; 130: designing a block forming module; 140: a design path forming module; 20: a model setting system of the free report; 300: a memory; 400: a processor.
Detailed Description
In order that the above objects, features and advantages of the present application can be more clearly understood, the present application will be described in further detail with reference to the accompanying drawings and detailed description. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, however, the present application may be practiced in other ways than those described herein, and therefore the scope of the present application is not limited by the specific embodiments disclosed below.
A method and system for setting a free form model and a readable storage medium according to some embodiments of the present application are described below with reference to fig. 1 to 15.
As shown in fig. 1, an embodiment of a first aspect of the present application provides a method for setting a model of a free report, including the following steps:
step S102: acquiring a cell list, wherein the cell list comprises a plurality of design cells;
step S104: converting the design cells to obtain service cells;
step S106: carrying out structuralization processing on the service cell to obtain a design block;
step S108: and sequentially processing the cell information in the design block, and collecting the cells on the same link together according to the cell information to form a design path.
According to the model setting method of the free report provided by the embodiment, the cell list is obtained firstly, and the cell list comprises a plurality of design cells. And then converting the design cells in the cell list to obtain the service cells. When the design cell is converted, the condition information of the design cell is acquired. The business cells are then structured to form a design block. After the block identification is finished, the cell information in the design block is processed one by one, and the cells of the same design link are identified together to form a design path. By adding the design block layer and the design path layer, the design concept of the free report is better met, the execution level is clear, and the maintenance and the expansion of subsequent codes are convenient. The requirement that the client cell conditions act on the whole block is met, and meanwhile, the functional characteristics of the free report can be enriched in a finer-grained manner based on the expanded levels. And the space use controllability of the free report and the execution time control of the free report within a certain range can be ensured, and the problem of server breakdown caused by long-term service is avoided.
The design cell refers to a cell model formed when a user designs in the report designer. The service cell means that a server constructs a new service object model based on the received cell model in order to guarantee the consistency, integrity and isolation of parameters, and the service cell encapsulates the complete information of the originally designed cell. The link depends on the inter-cell relation, is used for showing the cell information in the same design direction, and is usually expressed as a row design. The inter-grid relationship indicates the logical precedence relationship of the two cells on the link, the cell with the logical relationship in the front is called a father grid, the cell with the logical relationship in the back is called a child grid, and the cell with the logical relationship in the back is commonly expressed as a left father and an upper father. The design block refers to a model expression formed logically by gathering and collecting cells with inter-cell relation. The design path refers to a model expression formed logically by gathering and collecting cells on a link together in a design block by organizing the inter-cell relation with finer granularity.
As shown in fig. 2, according to the model setting method for a free report provided in an embodiment of the present application, a business cell is structured to obtain a design block, which specifically includes the following steps:
step S202: traversing the cell list;
step S204: judging whether the current business cell has an inter-cell relation father cell;
step S206: if not, constructing a design block and recording the service cell into the design block;
step S208: if yes, obtaining the design block of the parent lattice of the inter-lattice relationship.
In this embodiment, the business cells are structured to obtain a design block, specifically, a traversal cell list. If the current cell is the root, i.e. there is no parent cell of the inter-cell relationship, a design block is constructed for the current cell, and the cell is recorded in the design block, and then the processing of other cells is continued. And if the current cell is not the root, namely the parent cell of the inter-cell relation exists, acquiring the design block of the parent cell of the inter-cell relation. After all the cells are processed, a list of design blocks can be obtained.
As shown in fig. 3, according to the model setting method for a free report in an embodiment of the present application, if yes, the method obtains a design block of a parent lattice of an inter-lattice relationship, which specifically includes the following steps:
step S302: judging whether a design block of a parent lattice of the inter-lattice relationship exists or not;
step S304: if yes, recording the service cell into a design block of the inter-cell relation father cell;
step S306: if not, constructing the design block of the parent cell of the inter-cell relation.
In this embodiment, the design block of the parent cell of the inter-cell relationship is obtained, specifically, it is determined whether the design block of the parent cell of the inter-cell relationship exists, if the design block of the parent cell already exists, the cell is directly recorded in the design block of the parent cell, otherwise, the design block needs to be constructed for the parent cell, and the processing logic is the same as that of the cell.
As shown in fig. 4, according to the model setting method for a free report provided by an embodiment of the present application, cell information in a design block is sequentially processed, and cells on the same link are grouped together according to the cell information to form a design path, which specifically includes the following steps:
step S402: judging whether the current design block is an unbound block;
step S404: if not, obtaining calculation optimization configuration, and grouping the service cells in the design block according to the model source;
step S406: sequentially traversing the cell list of each model source to obtain cell list data;
step S408: constructing a main design path according to the cell list data;
step S410: and constructing an optimized design path according to the calculation optimization configuration, wherein the construction method of the optimized design path comprises a complex design block method and/or a simple design block method.
In this embodiment, the cell information in the design block is sequentially processed, and the cells on the same link are grouped together according to the cell information to form a design path, specifically, whether the current design block is an unbound block is determined. If the current processing block is an unbundled block, no processing is required. Otherwise, obtaining the calculation optimization configuration of the system in advance, and then grouping the cells in the design block according to the model source. And traversing the cell list under each model source one by one to obtain cell list data. And constructing a main design path according to the cell list data. And constructing an optimized design path by a complex design block method or a simple design block method according to the calculation optimization configuration. By performing calculation optimization based on the design path alone, the accuracy of the calculation result can be ensured.
As shown in fig. 5, according to the model setting method for a free report provided by an embodiment of the present application, an optimal design path is constructed according to a computational optimization configuration, which specifically includes the following steps:
step S502: extracting leaf nodes;
step S504: constructing a path according to the leaf nodes;
step S506: and after construction, carrying out optimization processing to obtain an optimized design path.
In this embodiment, the optimized design path is constructed by a complex design block method. Specifically, leaf nodes are extracted firstly, then paths are constructed according to the leaf nodes, and optimization processing is carried out after construction to obtain an optimized design path. The complex design block method is used for constructing a design path from the final stage to the root node according to the leaf nodes, and the accuracy of a calculation result can be ensured by constructing an optimized design path through the complex design block method.
As shown in fig. 6, according to the model setting method for a free report according to another embodiment provided by the present application, an optimized design path is constructed according to a calculation optimization configuration, which specifically includes the following steps:
step S602: extracting a root node;
step S604: constructing a path according to the root node;
step S606: and after construction, carrying out optimization processing to obtain an optimized design path.
In this embodiment, the optimized design path is constructed by a simple design block method. Specifically, the root node is extracted first. A path is then constructed from the root nodes. And after construction, carrying out optimization processing to obtain an optimized design path. The simple block design method is used for constructing the design path from the root node to the child node, and the accuracy of the calculation result can be ensured by constructing the optimized design path through the simple block design method.
As shown in fig. 7, according to the method for setting a free report model according to an embodiment of the present application, a business cell is subjected to a structural processing to obtain a design block, and the method further includes the following steps:
step S702: and acquiring the conditions of the design block.
In this embodiment, recording the design block condition during the structuring process of the service cell can provide for subsequent design block level service data filtering.
As shown in fig. 8, an embodiment of the second aspect of the present application provides a free report model setting system 10, including: an obtaining module 110, configured to obtain a cell list, where the cell list includes a plurality of design cells; a conversion module 120, configured to convert the design cells to obtain service cells; a design block forming module 130, configured to perform structuring processing on the service cells to obtain a design block; and a design path forming module 140, configured to sequentially process the cell information in the design block, and collect the cells on the same link together according to the cell information to form a design path.
The model setting system 10 for a free-form report according to the present embodiment includes an obtaining module 110, a converting module 120, a design block forming module 130, and a design path forming module 140. The obtaining module 110 is configured to obtain a cell list, where the cell list includes a plurality of design cells. The conversion module 120 is configured to convert the design cells to obtain the service cells. The design block forming module 130 is configured to perform a structuring process on the service cells to obtain a design block. The design path forming module 140 is configured to sequentially process the cell information in the design block, and group the cells on the same link together according to the cell information to form a design path. By adding the design block layer and the design path layer, the design concept of the free report is better met, the execution level is clear, and the maintenance and the expansion of the follow-up codes are convenient. The requirement that the client cell conditions act on the whole block is met, and meanwhile, the functional characteristics of the free report can be enriched in a finer-grained manner based on the expanded levels. And the space use controllability of the free report and the execution time control of the free report within a certain range can be ensured, and the problem of server breakdown caused by long-time service is avoided.
As shown in fig. 9, an embodiment of the third aspect of the present application provides a model setting system 20 for free report, including: the memory 300 and the processor 400, wherein a program or an instruction capable of being executed on the processor 400 is stored in the memory 300, and when the processor 400 executes the program or the instruction, the step of the model setting method for a free report according to any embodiment of the first aspect is implemented, so that the technical effects of any embodiment of the first aspect are achieved, and details are not repeated here.
An embodiment of the fourth aspect of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and the program or the instruction, when executed by a processor, implements the steps of the model setting method for a free report according to any one of the embodiments of the first aspect, so that the method has the technical effects of any one of the embodiments of the first aspect, and details are not described herein again.
As shown in fig. 10 to fig. 15, according to the model setting method of a free report according to an embodiment provided by the present application, after receiving a cell list, a server performs service cell conversion, and collects condition information on cells in advance in a conversion process. And then, carrying out structural processing on the service cells to form a design block, and simultaneously recording the conditions of the design block in the structural processing process to prepare for filtering the subsequent design block-level service data. After the block identification is finished, the cell information in the design block is processed one by one, and the cells of the same design link are identified together to form a design path.
As shown in fig. 10, the process of constructing the design block is as follows: the list of cells is traversed. If the current cell is the root (there is no inter-cell relationship parent), then a design block is constructed for it and this cell is recorded into the design block, followed by continued processing of other cells. Otherwise, the cell is not the root (the parent cell with the inter-cell relation exists), the design block of the parent cell with the inter-cell relation is obtained, if the parent cell design block already exists, the cell is directly recorded into the parent cell design block, otherwise, the design block needs to be constructed for the parent cell, and the processing logic is the same as the cell. And after all the cell processing is finished, obtaining a design block list, and then performing other business processing.
As shown in fig. 11, the process of constructing the design block is as follows: if the current processing block is an unbundled block, no processing is required. Otherwise, obtaining the calculation optimization configuration of the system in advance, and then grouping the cells in the design block according to the model source. And traversing the cell list under each model source one by one. And constructing a main design path, then constructing an optimized design path according to the calculated optimized configuration value if true, or not constructing the optimized design path. The construction of the optimized path is divided into: the complex design block and the simple design block have two different processing modes. The complex design path is constructed from the final stage to the root node according to the leaf nodes, and the simple design block is constructed from the root node to the child node. And (5) after construction, performing optimization splitting inside each path, such as trying splitting processing of avg and discover. After processing is complete, attempts are made to merge the design paths. The branch path is different from the main path, and then the branch path is marked as needing optimization calculation.
As shown in FIG. 12, FIG. 13, FIG. 14, and FIG. 15, the entire chunk is validated based on free-form report testcase verification header filtering. The browsing state effect is shown in fig. 13, the effect after header filtering is performed is shown in fig. 14, and the effect after header filtering of old logic is shown in fig. 15.
To sum up, the beneficial effect of this application embodiment is:
1. the model is clear and distinct in layer, the server is additionally provided with a design block layer and a design path layer during operation on the basis of the original model layer, the design concept of the free report is better met, the execution layer is distinct, and subsequent code maintenance and expansion are facilitated.
2. The requirement that the client cell conditions act on the whole block is met, and meanwhile, the functional characteristics of the free report can be enriched in a finer-grained manner based on the expanded levels.
3. And calculation optimization can be independently performed based on the design path, so that the accuracy of the calculation result is ensured.
4. And ensuring that the space use of the free report is controllable, wherein the space use comprises controlling the maximum service data of each cell and controlling the total service data of one block.
5. The execution time of the free report is controlled within a certain range, and the problem of server breakdown caused by long-time service is avoided.
In this application, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are used broadly and should be construed to include, for example, "connected" may be a fixed connection, a detachable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", "front", "rear", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the referred device or module must have a specific direction, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present application.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A model setting method of a free report is characterized by comprising the following steps:
obtaining a cell list, wherein the cell list comprises a plurality of design cells;
converting the design cells to obtain service cells;
carrying out structuralization processing on the service cell to obtain a design block;
and sequentially processing the cell information in the design block, and collecting the cells on the same link together according to the cell information to form a design path.
2. The method for setting a free-form report model according to claim 1, wherein the structuring the service cell to obtain a design block specifically comprises:
traversing the cell list;
judging whether the current business cell has an inter-cell relation father cell;
if not, constructing a design block, and recording the service cell into the design block;
and if so, acquiring the design block of the parent lattice of the inter-lattice relationship.
3. The method for setting a model of a free report according to claim 2, wherein said obtaining a design block of said parent cell of an inter-cell relationship comprises:
judging whether a design block of the inter-cell relation father cell exists or not;
if yes, recording the service cell into the design block of the inter-cell relation father cell;
if not, constructing the design block of the parent cell of the inter-cell relation.
4. The model setting method for free form statements according to claim 1, wherein the sequentially processing the cell information in the design block, and grouping the cells on the same link together according to the cell information to form a design path specifically comprises:
judging whether the current design block is an unbound block;
if not, obtaining calculation optimization configuration, and grouping the service cells in the design block according to the model source;
sequentially traversing the cell list of each model source to obtain cell list data;
constructing a main design path according to the cell list data;
and constructing an optimized design path according to the calculation optimization configuration, wherein the construction method of the optimized design path comprises a complex design block method and/or a simple design block method.
5. The model setting method for free-form statements according to claim 4, wherein the constructing an optimized design path according to the calculation optimization configuration specifically comprises:
extracting leaf nodes;
constructing a path according to the leaf nodes;
and after construction, carrying out optimization processing to obtain an optimized design path.
6. The method for setting a free-form report model according to claim 4, wherein the constructing an optimal design path according to the calculation optimization configuration specifically includes:
extracting a root node;
constructing a path according to the root node;
and after construction, carrying out optimization processing to obtain an optimized design path.
7. The model setting method for free report according to any one of claims 2 to 6, wherein said structuring the business cells to obtain design blocks further comprises:
the design block condition is obtained.
8. A model setting system for free reporting, comprising:
an acquisition module (110) for acquiring a cell list, the cell list comprising a plurality of design cells;
a conversion module (120) for converting the design cells to obtain service cells;
a design block forming module (130) for performing structuring processing on the service cell to obtain a design block;
and the design path forming module (140) is used for sequentially processing the cell information in the design block and grouping the cells on the same link together according to the cell information to form a design path.
9. A model setting system for free reporting, comprising:
memory (300) and a processor (400), wherein the memory (300) has stored thereon a program or instructions executable on the processor (400), the processor (400) when executing the program or instructions implementing the steps of the model setup method of a free report according to any of claims 1 to 7.
10. A readable storage medium on which a program or instructions are stored, characterized in that the program or instructions, when executed by a processor, implement the steps of the model setup method of a free-form report according to any one of claims 1 to 7.
CN202211565400.8A 2022-12-07 2022-12-07 Free report model setting method and system and readable storage medium Pending CN115759028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211565400.8A CN115759028A (en) 2022-12-07 2022-12-07 Free report model setting method and system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211565400.8A CN115759028A (en) 2022-12-07 2022-12-07 Free report model setting method and system and readable storage medium

Publications (1)

Publication Number Publication Date
CN115759028A true CN115759028A (en) 2023-03-07

Family

ID=85344150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211565400.8A Pending CN115759028A (en) 2022-12-07 2022-12-07 Free report model setting method and system and readable storage medium

Country Status (1)

Country Link
CN (1) CN115759028A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116776843A (en) * 2023-06-19 2023-09-19 北京水脉科技有限公司 Information form data renewing and merging method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116776843A (en) * 2023-06-19 2023-09-19 北京水脉科技有限公司 Information form data renewing and merging method

Similar Documents

Publication Publication Date Title
CN107343302B (en) Sensor network routing structure optimization method based on multi-core processor
CN111506950B (en) BIM structure transformation increment information generation and storage system and method
CN115759028A (en) Free report model setting method and system and readable storage medium
JP5427640B2 (en) Decision tree generation apparatus, decision tree generation method, and program
CN107229414B (en) Storage space recovery method and device
CN102521218B (en) File combining method and file combining device
CN103092866B (en) Data monitoring method and supervising device
CN110659284A (en) Block sequencing method and system based on tree graph structure and data processing terminal
CN106599016A (en) Front-end element maintenance method based on virtual DOM
CN103218753A (en) Modeling method and information interaction method of ultra-high voltage grid information model
CN113094355A (en) Model instantiation method, device, equipment and medium based on domestic communication protocol
CN110941676A (en) Configuration method, device, equipment and medium
CN113947181A (en) Neural network accelerator model conversion method and device
CN109669967A (en) A kind of space-time data association analysis method based on big data technology
CN106529044A (en) Compliant mechanism 0-1 variable configuration type topology graph extraction method
CN110162716B (en) Influence community searching method and system based on community retrieval
CN103400050B (en) The nuclear reactor risk defining method of a kind of multi-person synergy and system
CN116860860B (en) All-engineering data streaming method and equipment based on substation electrical equipment model
TW200952459A (en) Algorithm for hybrid connected-component-labeling
CN110825935A (en) Community core character mining method, system, electronic equipment and readable storage medium
CN109740763A (en) A kind of quantum wire neighbourization two-dimensional grid form selection method
CN111597397B (en) Mining method of important node group suitable for multi-layer converged complex network
CN104932982B (en) A kind of Compilation Method and relevant apparatus of message memory access
CN112232026A (en) Meteorological field data conversion method suitable for HYSPLIT atmospheric diffusion model
CN110889250A (en) Steel truss structure damage identification method based on mixed element heuristic algorithm

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