A method, device, and storage medium for generating a model design report

By obtaining the model design report template and automatically generating the model design report in combination with hierarchical architecture and attribute information, the problems of low generation efficiency and difficult to guarantee quality are solved, and efficient and accurate report updates are achieved.

CN117610534BActive Publication Date: 2025-07-11SHENZHEN SHIGUAN DIGITAL INTELLIGENCE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311790673.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2025-07-11
Estimated Expiration
2043-12-22

AI Technical Summary

Technical Problem

In the graphical modeling platform, the generation efficiency of model design reports is low and the quality is difficult to guarantee, especially during the iterative change of the model, it is easily affected by human factors.

Method used

By obtaining the model design report template, combining the model hierarchical architecture information and the module's attribute setting information, automatically modify and fill the content to generate a model design report.

Benefits of technology

Improve the generation efficiency and quality of model design reports, ensuring that reports are automatically updated when model iterative changes are made, and avoiding the influence of human factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117610534B_ABST
    Figure CN117610534B_ABST
Patent Text Reader

Abstract

An embodiment of the present application discloses a method, apparatus, and storage medium for generating a model design report. Among them, the method includes: obtaining a model design report template; obtaining the hierarchical architecture information of the model and the attribute setting information of the module; modifying the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report. It can be seen that in the embodiment of the present application, by obtaining the model design report template as the basic framework and the basic information source of the model design report, and obtaining the hierarchical architecture information of the model built in the graphical modeling platform and the attribute setting information of the module in the built model as the detailed information supplement of the model design report template, modifying the model design report template, realizing the automatic generation of the model design report, thereby improving the generation efficiency of the model design report.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, and storage medium for generating a model design report. Background Art

[0002] In a graphical modeling platform, after a model is constructed, a model design report corresponding to the model needs to be written to describe and explain the designed model and guide the application of the model.

[0003] Currently, model designers manually write model design reports. In this way, when the model is relatively complex, the workload of manually writing the model design report is large and the efficiency is low. Moreover, during the process of model iteration and modification, the model design report also needs to be updated accordingly. During the modification process, due to the influence of human factors, it is very easy to make mistakes and it is difficult to ensure the quality of the model design report. Summary of the Invention

[0004] In view of this, embodiments of this application disclose a method, apparatus, and storage medium for generating a model design report, which improve the generation efficiency and quality of the model design report.

[0005] The technical solutions provided by the embodiments of this application are as follows:

[0006] In a first aspect, embodiments of this application provide a method for generating a model design report, the method including:

[0007] Obtain a model design report template;

[0008] Obtain the hierarchical architecture information of the model and the attribute setting information of the module; the model includes at least one of the modules;

[0009] Modify the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report.

[0010] In a possible implementation manner, the modifying the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report includes:

[0011] Modify the title of the model design report template according to the hierarchical architecture information to obtain a modified model design report template;

[0012] Fill in the content of the modified model design report template according to the attribute setting information to generate a model design report.

[0013] In a possible implementation manner, the method further includes:

[0014] Obtain the name of the module;

[0015] Modify the title of the model design report template according to the hierarchical architecture information to obtain the modified model design report template, including:

[0016] Modify the title hierarchy of the model design report template according to the hierarchical architecture information, and modify the title name of the model design report template according to the name of the module to obtain the modified model design report template.

[0017] In a possible implementation, the attribute setting information includes: refinement setting information, attribute description information, and detail information;

[0018] Fill the content of the modified model design report template according to the attribute setting information to generate a model design report, including:

[0019] Determine whether the module needs to expand to the next level for refinement according to the refinement setting information;

[0020] If it is determined that the module needs to expand to the next level for refinement, refine the title hierarchy of the modified model design report template according to the detail information to obtain the refined model design report template, and fill the content of the refined model design report template according to the attribute description information and the detail information to generate a model design report;

[0021] If it is determined that the module does not need to expand to the next level for refinement, fill the content of the modified model design report template according to the attribute description information to generate a model design report.

[0022] In a possible implementation, if the model includes at least one state diagram module, the method further includes:

[0023] Obtain the element information of the state diagram module; the element information includes: state information, condition information, and transition information;

[0024] Draw a flowchart according to the element information;

[0025] Modify the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report, including:

[0026] Modify the model design report template according to the hierarchical architecture information, the attribute setting information, and the flowchart to generate a model design report.

[0027] In a possible implementation, the method further includes:

[0028] Obtain the interface information of the module;

[0029] Generate an interface information list according to the said interface information;

[0030] The modification of the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report includes:

[0031] Modify the model design report template according to the hierarchical architecture information, the attribute setting information and the interface information list to generate a model design report.

[0032] In a possible implementation manner, the method further includes:

[0033] Receive an editing instruction;

[0034] Modify the model design report according to the editing instruction.

[0035] In a second aspect, an embodiment of the present application provides a model design report generation device, which includes:

[0036] An acquisition module, configured to acquire a model design report template;

[0037] The acquisition module is further configured to acquire the hierarchical architecture information of the model and the attribute setting information of the module; the model includes at least one of the modules;

[0038] A generation module, configured to modify the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report.

[0039] In a third aspect, an embodiment of the present application provides a model design report generation device, including:

[0040] A memory, configured to store instructions;

[0041] A processor, configured to execute the instructions in the memory to execute the model design report generation method according to any one of the above first aspects.

[0042] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions, which when running on a computer, cause the computer to execute the model design report generation method according to any one of the above first aspects.

[0043] In a fifth aspect, an embodiment of the present application provides a computer program product, which when running on a terminal device, causes the terminal device to execute the model design report generation method according to any one of the above first aspects.

[0044] Based on the above technical solutions, the present application has the following beneficial effects:

[0045] An embodiment of the present application discloses a method, apparatus, and storage medium for generating a model design report. Among them, the method includes: obtaining a model design report template; obtaining the hierarchical architecture information of the model and the attribute setting information of the module; modifying the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report. It can be seen that in the embodiment of the present application, by obtaining the model design report template as the basic framework and basic information source of the model design report, and obtaining the hierarchical architecture information of the model constructed in the graphical modeling platform and the attribute setting information of the module in the constructed model as the detailed information supplement of the model design report template, modifying the model design report template to realize the automatic generation of the model design report, thereby improving the generation efficiency of the model design report. Moreover, during the model iteration and change process, it can automatically generate the model design report corresponding to the updated model, avoiding the influence of human factors, thereby improving the quality of the model design report. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on the disclosed drawings.

[0047] Figure 1 It is a flowchart of a method for generating a model design report disclosed in an embodiment of the present application;

[0048] Figure 2 It is a schematic diagram of a model design report template disclosed in an embodiment of the present application;

[0049] Figure 3 It is a flowchart corresponding to a state diagram module disclosed in an embodiment of the present application;

[0050] Figure 4 It is a schematic diagram of the elements corresponding to a state diagram module disclosed in an embodiment of the present application;

[0051] Figure 5 It is a structural diagram of a model disclosed in an embodiment of the present application;

[0052] Figure 6 It is an interface diagram of a model disclosed in an embodiment of the present application;

[0053] Figure 7 It is a flowchart of another method for generating a model design report disclosed in an embodiment of the present application;

[0054] Figure 8Schematic diagram of a device for generating a model design report disclosed in an embodiment of the present application. Detailed implementation manners

[0055] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0056] See Figure 1 , a flowchart of a method for generating a model design report disclosed in an embodiment of the present application, the method includes:

[0057] S101. Obtain a model design report template.

[0058] In an embodiment of the present application, the model design report template can be preset in the graphical modeling platform, and the model design report template can be obtained by clicking the corresponding button on the software interface; or the model design report template can be obtained by importing the model design report template into the window of the graphical modeling platform, etc. The specific manner of obtaining the model design report template in the embodiments of the present application is not limited and can be set according to actual needs.

[0059] See Figure 2 , a schematic diagram of a model design report template disclosed in an embodiment of the present application, Figure 2 The model design report template in can provide a basic framework and basic information for the final model design report. It can be understood that Figure 2 is an exemplary illustration and should not be construed as a limitation on the embodiments of the present application. The model design report template in the embodiments of the present application can be designed according to actual needs.

[0060] S102. Obtain the hierarchical architecture information of the model and the attribute setting information of the module.

[0061] Wherein, the model includes at least one module. The type of the module can be any one of the following: subsystem type, state diagram type, basic type. Correspondingly, the module can be any one of the following: subsystem module, state diagram module, basic module. The basic module cannot be further expanded, and the inside of the subsystem module and the inside of the state diagram module can be nested with basic modules, subsystem modules, and state diagram modules in multiple layers. It should be noted that the basic module refers to the modules built in the modeling software such as the addition module and the gain module, which are the most basic modeling elements.

[0062] S103. Modify the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report.

[0063] In the embodiment of the present application, S103 may include: modifying the title of the model design report template according to the hierarchical architecture information to obtain a modified model design report template; filling the content of the modified model design report template according to the attribute setting information to generate a model design report. In this way, the title of the generated model design report can correspond to the hierarchical architecture of the model, the overall structure of the model design report is clear and understandable, and the content of the model design report can accurately describe the attributes of the model, so as to obtain a model design report with a clear structure and accurate content.

[0064] It can be seen that in the embodiment of the present application, by obtaining the model design report template as the basic framework and basic information source of the model design report, and obtaining the hierarchical architecture information of the model constructed in the graphical modeling platform and the attribute setting information of the modules in the constructed model as the detailed information supplement of the model design report template, the model design report template is modified to realize the automatic generation of the model design report, thereby improving the generation efficiency of the model design report. Moreover, during the model iteration and modification process, an updated model design report corresponding to the updated model can be automatically generated, avoiding the influence of human factors, thereby improving the quality of the model design report.

[0065] In a possible implementation manner, the model design report generation method provided in the embodiment of the present application further includes:

[0066] Obtaining the name of the module;

[0067] Correspondingly, modifying the title of the model design report template according to the hierarchical architecture information to obtain a modified model design report template includes:

[0068] Modifying the title level of the model design report template according to the hierarchical architecture information, and modifying the title name of the model design report template according to the name of the module to obtain a modified model design report template.

[0069] It can be seen that in the embodiment of the present application, the title of the model design report template is modified according to the hierarchical architecture information and the name of the module of the model, so that the modules in the model can be described in independent chapters corresponding to the model design report, and a model design report with a clear structure can be obtained, which is convenient for relevant personnel to read and understand the specific situation of the model.

[0070] In a possible implementation manner, the attribute setting information in the model design report generation method provided in the embodiment of the present application includes: refinement setting information, attribute description information, and detail information, and S103 includes:

[0071] Determining whether the module needs to be expanded to the next level for refinement according to the refinement setting information;

[0072] If it is determined that the module needs to expand to the next level for detailed description, the title hierarchy of the modified model design report template is refined according to the detailed information to obtain the refined model design report template. The refined model design report template is filled with content according to the attribute description information and the detailed information to generate a model design report.

[0073] If it is determined that the module does not need to expand to the next level for detailed description, the modified model design report template is filled with content according to the attribute description information to generate a model design report.

[0074] Combined with Figure 2 For illustration, in the example of this application, the attribute setting information of the module refers to the attribute setting information of the first-level module. The attribute setting information of the first-level module includes: the refinement setting information of the first-level module, the attribute description information of the first-level module, and the detailed information of the first-level module. The refinement setting information of the first-level module is used to indicate whether the first-level module needs to expand to the next level for detailed description, that is, whether the relevant information of the second-level module needs to be written in the model design report. The detailed information of the first-level module may include: the attribute setting information of the second-level module, and the attribute setting information of the second-level module includes: the refinement setting information of the second-level module, the attribute description information of the second-level module, and the detailed information of the second-level module. It can be understood that if the second-level module includes a third-level module, the detailed information of the second-level module may include: the attribute setting information of the third-level module, and so on for more multi-level modules. If the first-level module does not include a second-level module, there is no corresponding detailed information of the first-level module. If the second-level module does not include a third-level module, there is no corresponding detailed information of the second-level module, and so on.

[0075] It should be noted that during modeling, the attribute description information corresponding to each level of the module will be stated on the attribute page. The attribute description information may include: the type of the module, the principle of the module, the function of the module, the use of the module, the formula corresponding to the module, and so on.

[0076] In the embodiment of this application, it is also possible to determine whether it is possible to expand to the next level for detailed description according to the type of the module. If the type of the module is a basic type, it is determined that it is not possible to expand to the next level for detailed description. If the type of the module is a subsystem type or a state diagram type, it is determined that it is possible to expand to the next level for detailed description, and then it is determined whether the subsystem module or the state diagram module needs to expand to the next level for detailed description according to the refinement setting information.

[0077] It can be seen that in the embodiment of this application, it is possible to determine whether it is possible to expand to the next level for detailed description according to the type of the module, determine whether the module needs to expand to the next level for detailed description according to the refinement setting information, and perform corresponding content filling, so that the generated model design report better meets the user's requirements.

[0078] In a possible implementation, in the method for generating a model design report provided in the embodiments of the present application, if the model includes at least one state diagram module, the method further includes:

[0079] Obtain the element information of the state diagram module; the element information includes: state information, condition information, and transition information;

[0080] Draw a flowchart based on the element information;

[0081] Correspondingly, S103 includes:

[0082] Modify the model design report template according to the hierarchical architecture information, attribute setting information, and flowchart to generate a model design report.

[0083] It should be noted that the model including at least one state diagram module is not understood as the model only including state diagram modules. The model in the embodiments of the present application including at least one state diagram module can be understood as the model only including one state module, or as the model including multiple state diagram modules, or as the model including one state diagram module and at least one subsystem module, or as the model including one state diagram module and at least one basic module, or as the model including multiple state diagram modules, at least one basic module, and at least one subsystem module, etc., as long as the model includes one state diagram module.

[0084] In the embodiments of the present application, an element schematic diagram can also be drawn based on the element information. Correspondingly, modify the model design report template according to the hierarchical architecture information, attribute setting information, flowchart, and element schematic diagram to generate a model design report.

[0085] See Figure 3 , which is a flowchart corresponding to a state diagram module disclosed in the embodiments of the present application, that is, the flowchart drawn based on the element information, Figure 3 includes 3 states: state ZT1, state ZT2, and state ZT3, Figure 3 indicating the working process between the 3 states, and the flowchart shown in Figure 3 can be correspondingly replaced with Figure 2 (flowchart) in to implement the corresponding modification of the model design report template. See Figure 4 , which is an element schematic diagram corresponding to a state diagram module disclosed in the embodiments of the present application. The element schematic diagram shown in Figure 4 can be correspondingly replaced with Figure 2 (basis module elements) in to implement the corresponding modification of the model design report template. It can be understood that the above is an exemplary illustration and should not be construed as a limitation to the present application.

[0086] It can be seen that in the embodiments of the present application, the flowchart and element schematic diagram corresponding to the state diagram module can be automatically drawn, making the content of the generated model design report richer and more intuitive, and further meeting the needs of users.

[0087] In a possible implementation manner, the model design report generation method provided in the embodiments of the present application further includes:

[0088] Obtain the interface information of the module;

[0089] Generate an interface information list according to the interface information;

[0090] Correspondingly, S103 includes:

[0091] Modify the model design report template according to the hierarchical architecture information, attribute setting information, and interface information list to generate a model design report.

[0092] It can be seen that in the embodiments of the present application, the interface information list corresponding to the report generation module can be obtained, making the content of the generated model design report richer and more intuitive, and further meeting the needs of users.

[0093] In a possible implementation manner, the model design report generation method provided in the embodiments of the present application further includes:

[0094] Obtain the structure schematic diagram of the model and the interface schematic diagram of the model;

[0095] Correspondingly, S103 includes:

[0096] Modify the model design report template according to the hierarchical architecture information, attribute setting information, the structure schematic diagram of the model, and the interface schematic diagram of the model to generate a model design report.

[0097] See Figure 5 , which is a structure schematic diagram of a model disclosed in the embodiments of the present application. Figure 5 The model mainly includes two modules: the subsystem module M1 and the state diagram module M2, and Figure 5 The structure schematic diagram of the model shown can be correspondingly replaced Figure 2 in (the structure schematic diagram of the model) in Figure 6 , which is an interface schematic diagram of a model disclosed in the embodiments of the present application. Figure 6 The interfaces of the model A in Figure 6 mainly include a, b, m, and y, and the interface schematic diagram of the model shown can be correspondingly replaced Figure 2 in (the interface schematic diagram of the model) in

[0098] It can be seen that in the embodiments of the present application, the model design report template can be modified according to the structural schematic diagram of the model and the interface schematic diagram of the model, so that the content of the generated model design report is richer and more intuitive, further meeting the needs of users.

[0099] It can be understood that in the embodiments of the present application, the model design report template can also be modified according to the hierarchical architecture information, attribute setting information, element information of the state diagram module, and interface information of the module to generate a module design report; it can also be modified according to the hierarchical architecture information, attribute setting information, element information of the state diagram module, interface information of the module, structural schematic diagram of the model, and interface schematic diagram of the model to generate a module design report; it can also be modified according to the hierarchical architecture information, attribute setting information, flowchart, and interface information list to generate a model design report; it can also be modified according to the hierarchical architecture information, attribute setting information, flowchart, interface information list, structural schematic diagram of the model, and interface schematic diagram of the model to generate a model design report, and so on.

[0100] In a possible implementation manner, the model design report generation method provided in the embodiments of the present application further includes:

[0101] Receiving an editing instruction;

[0102] Modifying the model design report according to the editing instruction.

[0103] It can be seen that in the embodiments of the present application, the automatically generated model design report can be edited secondly, so that the user can further modify the automatically generated model design report according to actual needs, meeting the needs of the user.

[0104] See Figure 7 , which is a flowchart of another model design report generation method disclosed in the embodiments of the present application. This method mainly includes three parts: obtaining a model design report template, constructing a model, and extracting information required for the model design report.

[0105] The first part: Obtaining a model design report template.

[0106] In the embodiments of the present application, the model design report template can be obtained by designing a file format in software or importing a template file through a window, etc., providing a basic framework and basic information for the final model design report.

[0107] The second part: Constructing a model.

[0108] Based on the graphical modeling platform, the model construction process needs to consider overall: ① The hierarchical structure of model construction needs to be consistent with the title hierarchy of the model design report to be generated; ② Whether to expand the detailed information of each module in the model and to which level it needs to be reflected in the report. For example, if the detailed information of the module is not selected to be expanded, the description section of this module in the model design report will not be refined further, and only the attribute description information of the module will be extracted for descriptive explanation; if the detailed information of the module is selected to be expanded, the description section of this module in the report will be refined further. ③ The attribute description information of each module in the model needs to include text and formula explanations, etc., as the model description content for generating the report.

[0109] Part Three: Extract the information required for the model design report.

[0110] Mainly classified into 3 types according to the module type: subsystem type, state diagram type, and basic type.

[0111] ① Extract the hierarchical structure of the model as the title hierarchy of the model design report.

[0112] ② Extract the names of each hierarchical module of the model as the title names of the descriptions of each hierarchical module in the model design report.

[0113] ③ For the subsystem type and state diagram type, it is necessary to extract the refined setting information in the model attribute setting information to determine whether to expand the detailed information, as the basis for which level the title hierarchy in the model design report is refined to; for the basic type, the title hierarchy in the model design report cannot be further refined and expanded.

[0114] ④ For all types, extract the attribute description information and detailed information in the attribute setting information of the module, including functions, uses, formulas, etc., as the specific content of the descriptions of each hierarchical module in the model design report.

[0115] ⑤ For the state diagram type, extract the elements information such as model states, conditions, transitions, etc., as the basis for drawing the flow chart in the report.

[0116] ⑥ For all types, extract the interface information of the model as the interface information list of the modules in the model design report.

[0117] ⑦ Based on the information extracted above, combined with the model design report template, code to implement the information extraction and writing functions, generate a complete design report, and additional design report preview and secondary editing functions can be added.

[0118] Based on fully considering the information that needs to be included in the model design report in the embodiments of the present application, the ways to extract various required information from the model in the model design report are sorted out. By obtaining the model design report template as the basic framework and basic information source of the model design report, extracting the hierarchical architecture information of the model in the graphical modeling platform, the attribute setting information of the model, the element information of the state diagram module, the interface information of the module, etc. as the detailed information supplement of the model design report, and integrating the above detailed information supplement into the model design report template, the automatic generation of the model design report is realized, and the generation of the model design report can be quickly completed. After the model design is updated, clicking the automatic generation of the model design report again can quickly complete the change of the model design report. In this way, while improving the efficiency, the consistency between the model design report and the model can be better ensured.

[0119] See Figure 8 , a schematic structural diagram of a model design report generation device disclosed in the embodiments of the present application. The device includes:

[0120] An acquisition module 801, configured to acquire a model design report template;

[0121] The acquisition module 801 is further configured to acquire the hierarchical architecture information of the model and the attribute setting information of the module; the model includes at least one of the modules;

[0122] A report generation module 802, configured to modify the model design report template according to the hierarchical architecture information and the attribute setting information, and generate a model design report.

[0123] It can be seen that in the embodiments of the present application, by obtaining the model design report template as the basic framework and basic information source of the model design report, and by obtaining the hierarchical architecture information of the built model in the graphical modeling platform and the attribute setting information of the modules in the built model as the detailed information supplement of the model design report template, modifying the model design report template, the automatic generation of the model design report is realized, thereby improving the generation efficiency of the model design report. Moreover, during the process of model iteration and change, the model design report corresponding to the updated model can be automatically generated, avoiding the influence of human factors, thereby improving the quality of the model design report.

[0124] In a possible implementation manner, in the model design report generation device provided in the embodiments of the present application, the report generation module includes:

[0125] A modification unit, configured to modify the title of the model design report template according to the hierarchical architecture information to obtain a modified model design report template;

[0126] A filling unit for filling the content of the modified model design report template according to the attribute setting information to generate a model design report.

[0127] In a possible implementation, the obtaining module in the model design report generation device provided in the embodiments of the present application is further configured to obtain the name of the module;

[0128] The modification unit is specifically configured to modify the title hierarchy of the model design report template according to the hierarchical architecture information, and modify the title name of the model design report template according to the name of the module to obtain a modified model design report template.

[0129] In a possible implementation, the attribute setting information in the model design report generation device provided in the embodiments of the present application includes: refinement setting information, attribute description information, and detail information;

[0130] The filling unit includes:

[0131] A determination subunit for determining whether the module needs to expand to the next level for detailed description according to the refinement setting information;

[0132] A filling subunit for, if it is determined that the module needs to expand to the next level for detailed description, refining the title hierarchy of the modified model design report template according to the detail information to obtain a refined model design report template, and filling the content of the refined model design report template according to the attribute description information and the detail information to generate a model design report;

[0133] The filling subunit is further configured to, if it is determined that the module does not need to expand to the next level for detailed description, fill the content of the modified model design report template according to the attribute description information to generate a model design report.

[0134] In a possible implementation, in the model design report generation device provided in the embodiments of the present application, if the module includes at least one state diagram module;

[0135] The obtaining module is further configured to obtain the element information of the state diagram module; the element information includes: state information, condition information, and transition information;

[0136] A drawing module for drawing a flowchart according to the element information;

[0137] The report generation module is specifically configured to modify the model design report template according to the hierarchical architecture information, the attribute setting information, and the flowchart to generate a model design report.

[0138] In a possible implementation, in the model design report generation device provided in the embodiments of the present application, an acquisition module is configured to acquire the interface information of the module;

[0139] A list generation module is configured to generate an interface information list according to the interface information;

[0140] A report generation module is specifically configured to modify the model design report template according to the hierarchical architecture information, the attribute setting information, and the interface information list to generate a model design report.

[0141] In a possible implementation, the model design report generation device provided in the embodiments of the present application further includes:

[0142] A receiving module is configured to receive an editing instruction;

[0143] A modification module is configured to modify the model design report according to the editing instruction.

[0144] Furthermore, the embodiments of the present application further provide a model design report generation device, including:

[0145] A memory is configured to store instructions;

[0146] A processor is configured to execute the instructions in the memory to execute any one of the implementation methods of the above model design report generation method.

[0147] Furthermore, the embodiments of the present application further provide a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are run on a terminal device, the terminal device is caused to execute any one of the implementation methods of the above model design report generation method.

[0148] Furthermore, the embodiments of the present application further provide a computer program product. When the computer program product runs on a terminal device, the terminal device is caused to execute any one of the implementation methods of the above model design report generation method.

[0149] Through the description of the above embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present application.

[0150] It should be noted that the various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.

[0151] Finally, it should also be noted that in this text, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.

[0152] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other.

[0153] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for generating a model design report, characterized in that The method includes: Obtaining a model design report template; Obtaining the hierarchical architecture information of the model and the attribute setting information of the module, where the model includes at least one of the following modules: subsystem module, state diagram module, basic module; Modifying the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report, which is used to guide the application of the model; The method further includes: Obtaining the interface information of the module; Generating an interface information list according to the interface information; Obtaining the element information of the state diagram module, where the element information includes: state information, condition information, transition information; Drawing a flowchart and an element schematic diagram according to the element information; Obtaining the structure schematic diagram of the model and the interface schematic diagram of the model; The modifying the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report includes: Modifying the model design report template according to the hierarchical architecture information, the attribute setting information, the interface information list, the flowchart, the element schematic diagram, the structure schematic diagram and the interface schematic diagram to generate a model design report.

2. The method according to claim 1, wherein The modifying the model design report template according to the hierarchical architecture information and the attribute setting information to generate a model design report includes: Modifying the title of the model design report template according to the hierarchical architecture information to obtain a modified model design report template; Filling the content of the modified model design report template according to the attribute setting information to generate a model design report.

3. The method according to claim 2, wherein The method further includes: Obtaining the name of the module; Modifying the title of the model design report template according to the hierarchical architecture information to obtain a modified model design report template, including: Modifying the title level of the model design report template according to the hierarchical architecture information and modifying the title name of the model design report template according to the name of the module to obtain a modified model design report template.

4. The method according to claim 2, wherein The attribute setting information includes: refinement setting information, attribute description information and detail information; The filling the content of the modified model design report template according to the attribute setting information to generate a model design report includes: Determining whether the module needs to expand to the next level for detailed description according to the refinement setting information; If it is determined that the module needs to expand to the next level for detailed description, then refining the title level of the modified model design report template according to the detail information to obtain a refined model design report template, and filling the content of the refined model design report template according to the attribute description information and the detail information to generate a model design report; If it is determined that the module does not need to expand to the next level for detailed description, then filling the content of the modified model design report template according to the attribute description information to generate a model design report.

5. The method according to claim 1, characterized in that, The method further includes: Receiving an editing instruction; Modify the model design report according to the editing instruction.

6. A model design report generation device, characterized in that, The device includes: An acquisition module, configured to acquire a model design report template; The acquisition module is further configured to acquire the hierarchical architecture information of the model and the attribute setting information of the module, the model includes at least one of the modules, and the module is at least one of the following: a subsystem module, a state diagram module, a basic module; The acquisition module is further configured to acquire the interface information of the module; A list generation module, configured to generate an interface information list according to the interface information; The acquisition module is further configured to acquire the element information of the state diagram module, and the element information includes: state information, condition information, transition information; A drawing module, configured to draw a flow chart and an element schematic diagram according to the element information; The acquisition module is further configured to acquire the structural schematic diagram of the model and the interface schematic diagram of the model; A report generation module, configured to modify the model design report template according to the hierarchical architecture information, the attribute setting information, the interface information list, the flow chart, the element schematic diagram, the structural schematic diagram and the interface schematic diagram, and generate a model design report, where the model design report is used to guide the application of the model.

7. A model design report generation device, characterized in that, Including: A memory, configured to store instructions; A processor, configured to execute the instructions in the memory to execute the model design report generation method according to any one of claims 1 to 5.

8. A computer-readable storage medium, including instructions, which when running on a computer, cause the computer to execute the model design report generation method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Report generation method and device, template customizing method and device and monitoring system

    CN112035313A